/* Stimulsoft.Reports.JS ES5 Version: 2020.4.1 Build date: 2020.08.07 License: https://www.stimulsoft.com/en/licensing/reports */ var Stimulsoft;(function(Stimulsoft){var ExternalLibrary;(function(ExternalLibrary){})(ExternalLibrary=Stimulsoft.ExternalLibrary||(Stimulsoft.ExternalLibrary={}));})(Stimulsoft||(Stimulsoft={}));!function(e,t){Stimulsoft.ExternalLibrary.Moment = t()}(this,function(){"use strict";var e,i;function c(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,s=[];for(n=0;n>>0,s=0;sDe(e)?(r=e+1,a=o-De(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Ie(e,t,n){var s,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ae(i=e.year()-1,t,n):a>Ae(e.year(),t,n)?(s=a-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ae(e,t,n){var s=Ve(e,t,n),i=Ve(e+1,t,n);return(De(e)-s+i)/7}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),L("week",5),L("isoWeek",5),ue("w",B),ue("ww",B,z),ue("W",B),ue("WW",B,z),fe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=k(e)});I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),ue("d",B),ue("e",B),ue("E",B),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,s){t[s]=k(e)});var je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var $e=ae;var qe=ae;var Je=ae;function Be(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=de(o[t]),u[t]=de(u[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Qe),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),H("hour","h"),L("hour",13),ue("a",Ke),ue("A",Ke),ue("H",B),ue("h",B),ue("k",B),ue("HH",B,z),ue("hh",B,z),ue("kk",B,z),ue("hmm",Q),ue("hmmss",X),ue("Hmm",Q),ue("Hmmss",X),ce(["H","HH"],ge),ce(["k","kk"],function(e,t,n){var s=k(e);t[ge]=24===s?0:s}),ce(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce(["h","hh"],function(e,t,n){t[ge]=k(e),g(n).bigHour=!0}),ce("hmm",function(e,t,n){var s=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s)),g(n).bigHour=!0}),ce("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i)),g(n).bigHour=!0}),ce("Hmm",function(e,t,n){var s=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s))}),ce("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i))});var et,tt=Te("Hours",!0),nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:He,monthsShort:Re,week:{dow:0,doy:6},weekdays:je,weekdaysMin:ze,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},st={},it={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(e){var t=null;if(!st[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=et._abbr,require("./locale/"+e),ot(t)}catch(e){}return st[e]}function ot(e,t){var n;return e&&((n=l(t)?lt(e):ut(e,t))?et=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),et._abbr}function ut(e,t){if(null!==t){var n,s=nt;if(t.abbr=e,null!=st[e])T("defineLocaleOverride","use moment_mod.updateLocale(localeName, config) to change an existing locale. moment_mod.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])s=st[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;s=n._config}return st[e]=new P(b(s,t)),it[e]&&it[e].forEach(function(e){ut(e.name,e.config)}),ot(e),st[e]}return delete st[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return et;if(!o(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&a(i,n,!0)>=t-1)break;t--}r++}return et}(e)}function dt(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[_e]<0||11Pe(n[me],n[_e])?ye:n[ge]<0||24Ae(n,r,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[me]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=ht(e._a[me],s[me]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[pe]&&0===e._a[ve]&&0===e._a[we]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&0<=e&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(g(e).iso=!0,t=0,n=yt.length;tn.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=Vt,ln.isUTC=Vt,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=n("dates accessor is deprecated. Use date instead.",nn),ln.months=n("months accessor is deprecated. Use month instead",Fe),ln.years=n("years accessor is deprecated. Use year instead",Oe),ln.zone=n("moment_mod().zone is deprecated, use moment_mod().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),ln.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Yt(e))._a){var t=e._isUTC?y(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&0>>=1,t}function i(e,t,r){if(!t)return r;while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<>>16-t;return e.tag>>>=t,e.bitcount-=t,n+r}function u(e,t){while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<>>=1,++a,r+=t.table[a],n-=t.table[a]}while(n>=0);return e.tag=o,e.bitcount-=a,t.trans[r+n]}function l(e,t,r){var n,a,s,l,p,c;for(n=i(e,5,257),a=i(e,5,1),s=i(e,4,4),l=0;l<19;++l)ko[l]=0;for(l=0;l8)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(r=256*(r=e.source[e.sourceIndex+3])+e.source[e.sourceIndex+2])))return fo;for(e.sourceIndex+=4,n=t;n;--n)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,ho}function h(e,t){var n=new r(e,t),a,o,u;do{switch(a=s(n),o=i(n,2,0)){case 0:u=c(n);break;case 1:u=p(n,vo,go);break;case 2:l(n,n.ltree,n.dtree),u=p(n,n.ltree,n.dtree);break;default:u=fo}if(u!==ho)throw new Error("Data error")}while(!a);if(n.destLen=-128&&e<=127}function S(e,t,r){var n=0,a=e.length;while(t>8&255,u+256&255)}return o}function k(e,t,r){for(var n=this,a=0;a>1,t.skip("uShort",3),e.glyphIndexMap={};for(var s=new Ho.Parser(r,n+a+14),i=new Ho.Parser(r,n+a+16+2*o),u=new Ho.Parser(r,n+a+16+4*o),l=new Ho.Parser(r,n+a+16+6*o),p=n+a+16+8*o,c=0;c=0;a-=1){var o=Ho.getUShort(e,t+4+8*a),s=Ho.getUShort(e,t+4+8*a+2);if(3===o&&(0===s||1===s||10===s)||0===o&&(0===s||1===s||2===s||3===s||4===s)){n=Ho.getULong(e,t+4+8*a+4);break}}if(-1===n)throw new Error("No valid cmap sub-tables found.");var i=new Ho.Parser(e,t+n);if(r.format=i.parseUShort(),12===r.format)z(r,i);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");W(r,i,e,t,n)}return r}function q(e,t,r){e.segments.push({end:t,start:t,delta:-(t-r),offset:0,glyphIndex:r})}function X(e){e.segments.push({end:65535,start:65535,delta:1,offset:0})}function V(e){var t=!0,r;for(r=e.length-1;r>0;r-=1){var n;if(e.get(r).unicode>65535){console.log("Adding CMAP format 12 (needed!)"),t=!1;break}}var a=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:t?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:t?12:12+8}];t||(a=a.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),a=a.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}]);var o=new Fo.Table("cmap",a);for(o.segments=[],r=0;r>4,s=15&a;if(o===r)break;if(t+=n[o],s===r)break;t+=n[s]}return parseFloat(t)}function de(e,t){var r,n,a,o;if(28===t)return(r=e.parseByte())<<8|(n=e.parseByte());if(29===t)return(r=e.parseByte())<<24|(n=e.parseByte())<<16|(a=e.parseByte())<<8|(o=e.parseByte());if(30===t)return fe(e);if(t>=32&&t<=246)return t-139;if(t>=247&&t<=250)return 256*(t-247)+(r=e.parseByte())+108;if(t>=251&&t<=254)return 256*-(t-251)-(r=e.parseByte())-108;throw new Error("Invalid b0 "+t)}function ve(e){for(var t={},r=0;r>1,c.length=0,f=!0}function o(r){var v,S,T,k,O,E,w,R,L,C,D,I,M=0;while(M1&&!f&&(U=c.shift()+x,f=!0),m+=c.pop(),n(g,m);break;case 5:while(c.length>0)g+=c.shift(),m+=c.shift(),p.lineTo(g,m);break;case 6:while(c.length>0){if(g+=c.shift(),p.lineTo(g,m),0===c.length)break;m+=c.shift(),p.lineTo(g,m)}break;case 7:while(c.length>0){if(m+=c.shift(),p.lineTo(g,m),0===c.length)break;g+=c.shift(),p.lineTo(g,m)}break;case 8:while(c.length>0)s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l+c.shift(),p.curveTo(s,i,u,l,g,m);break;case 10:O=c.pop()+b,(E=y[O])&&o(E);break;case 11:return;case 12:switch(B=r[M],M+=1,B){case 35:s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),w=u+c.shift(),R=l+c.shift(),L=w+c.shift(),C=R+c.shift(),D=L+c.shift(),I=C+c.shift(),g=D+c.shift(),m=I+c.shift(),c.shift(),p.curveTo(s,i,u,l,w,R),p.curveTo(L,C,D,I,g,m);break;case 34:s=g+c.shift(),i=m,u=s+c.shift(),l=i+c.shift(),w=u+c.shift(),R=l,L=w+c.shift(),C=l,D=L+c.shift(),I=m,g=D+c.shift(),p.curveTo(s,i,u,l,w,R),p.curveTo(L,C,D,I,g,m);break;case 36:s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),w=u+c.shift(),R=l,L=w+c.shift(),C=l,D=L+c.shift(),I=C+c.shift(),g=D+c.shift(),p.curveTo(s,i,u,l,w,R),p.curveTo(L,C,D,I,g,m);break;case 37:s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),w=u+c.shift(),R=l+c.shift(),L=w+c.shift(),C=R+c.shift(),D=L+c.shift(),I=C+c.shift(),Math.abs(D-g)>Math.abs(I-m)?g=D+c.shift():m=I+c.shift(),p.curveTo(s,i,u,l,w,R),p.curveTo(L,C,D,I,g,m);break;default:console.log("Glyph "+t.index+": unknown operator "+1200+B),c.length=0}break;case 14:c.length>0&&!f&&(U=c.shift()+x,f=!0),d&&(p.closePath(),d=!1);break;case 18:a();break;case 19:case 20:a(),M+=h+7>>3;break;case 21:c.length>2&&!f&&(U=c.shift()+x,f=!0),m+=c.pop(),n(g+=c.pop(),m);break;case 22:c.length>1&&!f&&(U=c.shift()+x,f=!0),n(g+=c.pop(),m);break;case 23:a();break;case 24:while(c.length>2)s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l+c.shift(),p.curveTo(s,i,u,l,g,m);g+=c.shift(),m+=c.shift(),p.lineTo(g,m);break;case 25:while(c.length>6)g+=c.shift(),m+=c.shift(),p.lineTo(g,m);s=g+c.shift(),i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l+c.shift(),p.curveTo(s,i,u,l,g,m);break;case 26:c.length%2&&(g+=c.shift());while(c.length>0)s=g,i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u,m=l+c.shift(),p.curveTo(s,i,u,l,g,m);break;case 27:c.length%2&&(m+=c.shift());while(c.length>0)s=g+c.shift(),i=m,u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l,p.curveTo(s,i,u,l,g,m);break;case 28:v=r[M],S=r[M+1],c.push((v<<24|S<<16)>>16),M+=2;break;case 29:O=c.pop()+e.gsubrsBias,(E=e.gsubrs[O])&&o(E);break;case 30:while(c.length>0){if(s=g,i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l+(1===c.length?c.shift():0),p.curveTo(s,i,u,l,g,m),0===c.length)break;s=g+c.shift(),i=m,u=s+c.shift(),l=i+c.shift(),m=l+c.shift(),g=u+(1===c.length?c.shift():0),p.curveTo(s,i,u,l,g,m)}break;case 31:while(c.length>0){if(s=g+c.shift(),i=m,u=s+c.shift(),l=i+c.shift(),m=l+c.shift(),g=u+(1===c.length?c.shift():0),p.curveTo(s,i,u,l,g,m),0===c.length)break;s=g,i=m+c.shift(),u=s+c.shift(),l=i+c.shift(),g=u+c.shift(),m=l+(1===c.length?c.shift():0),p.curveTo(s,i,u,l,g,m)}break;default:B<32?console.log("Glyph "+t.index+": unknown operator "+B):B<247?c.push(B-139):B<251?(v=r[M],M+=1,c.push(256*(B-247)+v+108)):B<255?(v=r[M],M+=1,c.push(256*-(B-251)-v-108)):(v=r[M],S=r[M+1],T=r[M+2],k=r[M+3],M+=4,c.push((v<<24|S<<16|T<<8|k)/65536))}}}var s,i,u,l,p=new v,c=[],h=0,f=!1,d=!1,g=0,m=0,y,b,S,x;if(e.isCIDFont){var T=e.tables.cff.topDict._fdSelect[t.index],k=e.tables.cff.topDict._fdArray[T];y=k._subrs,b=k._subrsBias,S=k._defaultWidthX,x=k._nominalWidthX}else y=e.tables.cff.topDict._subrs,b=e.tables.cff.topDict._subrsBias,S=e.tables.cff.topDict._defaultWidthX,x=e.tables.cff.topDict._nominalWidthX;var U=S;return o(r),t.advanceWidth=U,p}function Ee(e,t,r,n){var a=[],o,s=new Ho.Parser(e,t),i=s.parseCard8();if(0===i)for(var u=0;u=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+o+" (FD count "+n+")");a.push(o)}else{if(3!==i)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+i);var l=s.parseCard16(),p=s.parseCard16(),c;if(0!==p)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+p);for(var h=0;h=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+o+" (FD count "+n+")");if(c>r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+c);for(;p=0&&(r=n),(n=t.indexOf(e))>=0?r=n+Wo.length:(r=Wo.length+t.length,t.push(e)),r}function Le(){return new Fo.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 Ce(e){var t=new Fo.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);t.names=[];for(var r=0;r=r.begin&&e=1&&(r.ulCodePageRange1=n.parseULong(),r.ulCodePageRange2=n.parseULong()),r.version>=2&&(r.sxHeight=n.parseShort(),r.sCapHeight=n.parseShort(),r.usDefaultChar=n.parseUShort(),r.usBreakChar=n.parseUShort(),r.usMaxContent=n.parseUShort()),r}function lt(e){return new Fo.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}],e)}function pt(e,t){var r={},n=new Ho.Parser(e,t);switch(r.version=n.parseVersion(),r.italicAngle=n.parseFixed(),r.underlinePosition=n.parseShort(),r.underlineThickness=n.parseShort(),r.isFixedPitch=n.parseULong(),r.minMemType42=n.parseULong(),r.maxMemType42=n.parseULong(),r.minMemType1=n.parseULong(),r.maxMemType1=n.parseULong(),r.version){case 1:r.names=Xo.slice();break;case 2:r.numberOfGlyphs=n.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var a=0;a=Xo.length){var s=n.parseChar();r.names.push(n.parseString(s))}break;case 2.5:r.numberOfGlyphs=n.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var i=0;it.value.tag?1:-1})),t.fields=t.fields.concat(n),t.fields=t.fields.concat(a),t}function St(e,t,r){for(var n=0;n0)return e.glyphs.get(a).getMetrics()}return r}function xt(e){for(var t=0,r=0;rg||void 0===u)&&g>0&&(u=g),l 123 are reserved for internal usage");f|=1<0?es.make(I):void 0,G=hs.make(),A=Qo.make(e.glyphs,{version:e.getEnglishName("version"),fullName:R,familyName:E,weightName:w,postScriptName:L,unitsPerEm:e.unitsPerEm,fontBBox:[0,b.yMin,b.ascender,b.advanceWidthMax]}),F=e.metas&&Object.keys(e.metas).length>0?ms.make(e.metas):void 0,N=[S,x,T,k,M,O,G,A,U];B&&N.push(B),e.tables.gsub&&N.push(gs.make(e.tables.gsub)),F&&N.push(F);for(var P=bt(N),H,z=mt(P.encode()),W=P.fields,_=!1,q=0;q>>1,o=e[a].tag;if(o===t)return a;o>>1,o=e[a];if(o===t)return a;o>>1,s=(r=e[o]).start;if(s===t)return r;s0){if(t>(r=e[n-1]).end)return 0;return r}}function Et(e,t){this.font=e,this.tableName=t}function wt(e){Et.call(this,e,"gpos")}function Rt(e){Et.call(this,e,"gsub")}function Lt(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n0?(o=e.parseByte(),0==(t&a)&&(o=-o),o=r+o):o=(t&a)>0?r:r+e.parseShort(),o}function At(e,t,r){var n=new Ho.Parser(t,r),a,o;if(e.numberOfContours=n.parseShort(),e._xMin=n.parseShort(),e._yMin=n.parseShort(),e._xMax=n.parseShort(),e._yMax=n.parseShort(),e.numberOfContours>0){for(var s=e.endPointIndices=[],i=0;i0)for(var c=n.parseByte(),h=0;h0){var f=[],d;if(l>0){for(var v=0;v=0,f.push(d);for(var g=0,m=0;m0?(2&a)>0?(x.dx=n.parseShort(),x.dy=n.parseShort()):x.matchedPoints=[n.parseUShort(),n.parseUShort()]:(2&a)>0?(x.dx=n.parseChar(),x.dy=n.parseChar()):x.matchedPoints=[n.parseByte(),n.parseByte()],(8&a)>0?x.xScale=x.yScale=n.parseF2Dot14():(64&a)>0?(x.xScale=n.parseF2Dot14(),x.yScale=n.parseF2Dot14()):(128&a)>0&&(x.xScale=n.parseF2Dot14(),x.scale01=n.parseF2Dot14(),x.scale10=n.parseF2Dot14(),x.yScale=n.parseF2Dot14()),e.components.push(x),S=!!(32&a)}if(256&a){e.instructionLength=n.parseUShort(),e.instructions=[];for(var T=0;Tt.points.length-1||n.matchedPoints[1]>a.points.length-1)throw Error("Matched points out of range in "+t.name);var s=t.points[n.matchedPoints[0]],i=a.points[n.matchedPoints[1]],u={xScale:n.xScale,scale01:n.scale01,scale10:n.scale10,yScale:n.yScale,dx:0,dy:0};i=Ft([i],u)[0],u.dx=s.x-i.x,u.dy=s.y-i.y,o=Ft(a.points,u)}t.points=t.points.concat(o)}}return Pt(t.points)}function zt(e,t,r,n){for(var a=new Yo.GlyphSet(n),o=0;o=176&&o<=183)n+=o-176+1;else if(o>=184&&o<=191)n+=2*(o-184+1);else if(t&&1===a&&27===o)break}while(a>0);e.ip=n}function nr(t,r){e.DEBUG&&console.log(r.step,"SVTCA["+t.axis+"]"),r.fv=r.pv=r.dpv=t}function ar(t,r){e.DEBUG&&console.log(r.step,"SPVTCA["+t.axis+"]"),r.pv=r.dpv=t}function or(t,r){e.DEBUG&&console.log(r.step,"SFVTCA["+t.axis+"]"),r.fv=t}function sr(t,r){var n=r.stack,a=n.pop(),o=n.pop(),s=r.z2[a],i=r.z1[o],u,l;e.DEBUG&&console.log("SPVTL["+t+"]",a,o),t?(u=s.y-i.y,l=i.x-s.x):(u=i.x-s.x,l=i.y-s.y),r.pv=r.dpv=Jt(u,l)}function ir(t,r){var n=r.stack,a=n.pop(),o=n.pop(),s=r.z2[a],i=r.z1[o],u,l;e.DEBUG&&console.log("SFVTL["+t+"]",a,o),t?(u=s.y-i.y,l=i.x-s.x):(u=i.x-s.x,l=i.y-s.y),r.fv=Jt(u,l)}function ur(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"SPVFS[]",n,a),t.pv=t.dpv=Jt(a,n)}function lr(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"SPVFS[]",n,a),t.fv=Jt(a,n)}function pr(t){var r=t.stack,n=t.pv;e.DEBUG&&console.log(t.step,"GPV[]"),r.push(16384*n.x),r.push(16384*n.y)}function cr(t){var r=t.stack,n=t.fv;e.DEBUG&&console.log(t.step,"GFV[]"),r.push(16384*n.x),r.push(16384*n.y)}function hr(t){t.fv=t.pv,e.DEBUG&&console.log(t.step,"SFVTPV[]")}function fr(t){var r=t.stack,n=r.pop(),a=r.pop(),o=r.pop(),s=r.pop(),i=r.pop(),u=t.z0,l=t.z1,p=u[n],c=u[a],h=l[o],f=l[s],d=t.z2[i];e.DEBUG&&console.log("ISECT[], ",n,a,o,s,i);var v=p.x,g=p.y,m=c.x,y=c.y,b=h.x,S=h.y,x=f.x,T=f.y,k=(v-m)*(S-T)-(g-y)*(b-x),U=v*y-g*m,O=b*T-S*x;d.x=(U*(b-x)-O*(v-m))/k,d.y=(U*(S-T)-O*(g-y))/k}function dr(t){t.rp0=t.stack.pop(),e.DEBUG&&console.log(t.step,"SRP0[]",t.rp0)}function vr(t){t.rp1=t.stack.pop(),e.DEBUG&&console.log(t.step,"SRP1[]",t.rp1)}function gr(t){t.rp2=t.stack.pop(),e.DEBUG&&console.log(t.step,"SRP2[]",t.rp2)}function mr(t){var r=t.stack.pop();switch(e.DEBUG&&console.log(t.step,"SZP0[]",r),t.zp0=r,r){case 0:t.tZone||tr(t),t.z0=t.tZone;break;case 1:t.z0=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function yr(t){var r=t.stack.pop();switch(e.DEBUG&&console.log(t.step,"SZP1[]",r),t.zp1=r,r){case 0:t.tZone||tr(t),t.z1=t.tZone;break;case 1:t.z1=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function br(t){var r=t.stack.pop();switch(e.DEBUG&&console.log(t.step,"SZP2[]",r),t.zp2=r,r){case 0:t.tZone||tr(t),t.z2=t.tZone;break;case 1:t.z2=t.gZone;break;default:throw new Error("Invalid zone pointer")}}function Sr(t){var r=t.stack.pop();switch(e.DEBUG&&console.log(t.step,"SZPS[]",r),t.zp0=t.zp1=t.zp2=r,r){case 0:t.tZone||tr(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 xr(t){t.loop=t.stack.pop(),e.DEBUG&&console.log(t.step,"SLOOP[]",t.loop)}function Tr(t){e.DEBUG&&console.log(t.step,"RTG[]"),t.round=Vt}function kr(t){e.DEBUG&&console.log(t.step,"RTHG[]"),t.round=jt}function Ur(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"SMD[]",r),t.minDis=r/64}function Or(t){e.DEBUG&&console.log(t.step,"ELSE[]"),rr(t,!1)}function Er(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"JMPR[]",r),t.ip+=r-1}function wr(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"SCVTCI[]",r),t.cvCutIn=r/64}function Rr(t){var r=t.stack;e.DEBUG&&console.log(t.step,"DUP[]"),r.push(r[r.length-1])}function Lr(t){e.DEBUG&&console.log(t.step,"POP[]"),t.stack.pop()}function Cr(t){e.DEBUG&&console.log(t.step,"CLEAR[]"),t.stack.length=0}function Dr(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"SWAP[]"),r.push(n),r.push(a)}function Ir(t){var r=t.stack;e.DEBUG&&console.log(t.step,"DEPTH[]"),r.push(r.length)}function Mr(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"LOOPCALL[]",n,a);var o=t.ip,s=t.prog;t.prog=t.funcs[n];for(var i=0;i1?"loop "+(r.loop-u)+": ":"")+"SHP["+(t?"rp1":"rp2")+"]",p)}r.loop=1}function zr(t,r){var n=r.stack,a=t?r.rp1:r.rp2,o=(t?r.z0:r.z1)[a],s=r.fv,i=r.pv,u=n.pop(),l=r.z2[r.contours[u]],p=l;e.DEBUG&&console.log(r.step,"SHC["+t+"]",u);var c=i.distance(o,o,!1,!0);do{p!==o&&s.setRelative(p,p,c,i),p=p.nextPointOnContour}while(p!==l)}function Wr(t,r){var n=r.stack,a=t?r.rp1:r.rp2,o=(t?r.z0:r.z1)[a],s=r.fv,i=r.pv,u=n.pop(),l,p;switch(e.DEBUG&&console.log(r.step,"SHZ["+t+"]",u),u){case 0:l=r.tZone;break;case 1:l=r.gZone;break;default:throw new Error("Invalid zone")}for(var c=i.distance(o,o,!1,!0),h=l.length-2,f=0;f1?"loop "+(t.loop-n)+": ":"")+"SHPIX[]",i,o),a.setRelative(u,u,o),a.touch(u)}t.loop=1}function qr(t){var r=t.stack,n=t.rp1,a=t.rp2,o=t.loop,s=t.z0[n],i=t.z1[a],u=t.fv,l=t.dpv,p=t.z2;while(o--){var c=r.pop(),h=p[c];e.DEBUG&&console.log(t.step,(t.loop>1?"loop "+(t.loop-o)+": ":"")+"IP[]",c,n,"<->",a),u.interpolate(h,s,i,l),u.touch(h)}t.loop=1}function Xr(t,r){var n=r.stack,a=n.pop()/64,o=n.pop(),s=r.z1[o],i=r.z0[r.rp0],u=r.fv,l=r.pv;u.setRelative(s,i,a,l),u.touch(s),e.DEBUG&&console.log(r.step,"MSIRP["+t+"]",a,o),r.rp1=r.rp0,r.rp2=o,t&&(r.rp0=o)}function Vr(t){var r=t.stack,n=t.rp0,a=t.z0[n],o=t.loop,s=t.fv,i=t.pv,u=t.z1;while(o--){var l=r.pop(),p=u[l];e.DEBUG&&console.log(t.step,(t.loop>1?"loop "+(t.loop-o)+": ":"")+"ALIGNRP[]",l),s.setRelative(p,a,0,i),s.touch(p)}t.loop=1}function Yr(t){e.DEBUG&&console.log(t.step,"RTDG[]"),t.round=Yt}function jr(t,r){var n=r.stack,a=n.pop(),o=n.pop(),s=r.z0[o],i=r.fv,u=r.pv,l=r.cvt[a];e.DEBUG&&console.log(r.step,"MIAP["+t+"]",a,"(",l,")",o);var p=u.distance(s,ws);t&&(Math.abs(p-l)",u),r.stack.push(Math.round(64*u))}function nn(t){e.DEBUG&&console.log(t.step,"MPPEM[]"),t.stack.push(t.ppem)}function an(t){e.DEBUG&&console.log(t.step,"FLIPON[]"),t.autoFlip=!0}function on(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"LT[]",n,a),r.push(an?1:0)}function ln(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"GTEQ[]",n,a),r.push(a>=n?1:0)}function pn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"EQ[]",n,a),r.push(n===a?1:0)}function cn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"NEQ[]",n,a),r.push(n!==a?1:0)}function hn(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"ODD[]",n),r.push(Math.trunc(n)%2?1:0)}function fn(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"EVEN[]",n),r.push(Math.trunc(n)%2?0:1)}function dn(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"IF[]",r),r||(rr(t,!0),e.DEBUG&&console.log(t.step,"EIF[]"))}function vn(t){e.DEBUG&&console.log(t.step,"EIF[]")}function gn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"AND[]",n,a),r.push(n&&a?1:0)}function mn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"OR[]",n,a),r.push(n||a?1:0)}function yn(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"NOT[]",n),r.push(n?0:1)}function bn(t,r){var n=r.stack,a=n.pop(),o=r.fv,s=r.pv,i=r.ppem,u=r.deltaBase+16*(t-1),l=r.deltaShift,p=r.z0;e.DEBUG&&console.log(r.step,"DELTAP["+t+"]",a,n);for(var c=0;c>4)!==i)continue;var v=(15&f)-8;v>=0&&v++,e.DEBUG&&console.log(r.step,"DELTAPFIX",h,"by",v*l);var g=p[h];o.setRelative(g,g,v*l,s)}}function Sn(t){var r,n=t.stack.pop();e.DEBUG&&console.log(t.step,"SDB[]",n),t.deltaBase=n}function xn(t){var r,n=t.stack.pop();e.DEBUG&&console.log(t.step,"SDS[]",n),t.deltaShift=Math.pow(.5,n)}function Tn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"ADD[]",n,a),r.push(a+n)}function kn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"SUB[]",n,a),r.push(a-n)}function Un(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"DIV[]",n,a),r.push(64*a/n)}function On(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"MUL[]",n,a),r.push(a*n/64)}function En(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"ABS[]",n),r.push(Math.abs(n))}function wn(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"NEG[]",n),r.push(-n)}function Rn(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"FLOOR[]",n),r.push(64*Math.floor(n/64))}function Ln(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"CEILING[]",n),r.push(64*Math.ceil(n/64))}function Cn(t,r){var n=r.stack,a=n.pop();e.DEBUG&&console.log(r.step,"ROUND[]"),n.push(64*r.round(a/64))}function Dn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"WCVTF[]",n,a),t.cvt[a]=n*t.ppem/t.font.unitsPerEm}function In(t,r){var n=r.stack,a=n.pop(),o=r.ppem,s=r.deltaBase+16*(t-1),i=r.deltaShift;e.DEBUG&&console.log(r.step,"DELTAC["+t+"]",a,n);for(var u=0;u>4)!==o)continue;var h=(15&p)-8;h>=0&&h++;var f=h*i;e.DEBUG&&console.log(r.step,"DELTACFIX",l,"by",f),r.cvt[l]+=f}}function Mn(t){var r=t.stack.pop(),n;switch(e.DEBUG&&console.log(t.step,"SROUND[]",r),t.round=Us,192&r){case 0:n=.5;break;case 64:n=1;break;case 128:n=2;break;default:throw new Error("invalid SROUND value")}switch(t.srPeriod=n,48&r){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*n;break;case 32:t.srPhase=.5*n;break;case 48:t.srPhase=.75*n;break;default:throw new Error("invalid SROUND value")}r&=15,t.srThreshold=0===r?0:(r/8-.5)*n}function Bn(t){var r=t.stack.pop(),n;switch(e.DEBUG&&console.log(t.step,"S45ROUND[]",r),t.round=Us,192&r){case 0:n=Math.sqrt(2)/2;break;case 64:n=Math.sqrt(2);break;case 128:n=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(t.srPeriod=n,48&r){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*n;break;case 32:t.srPhase=.5*n;break;case 48:t.srPhase=.75*n;break;default:throw new Error("invalid S45ROUND value")}r&=15,t.srThreshold=0===r?0:(r/8-.5)*n}function Gn(t){e.DEBUG&&console.log(t.step,"ROFF[]"),t.round=Xt}function An(t){e.DEBUG&&console.log(t.step,"RUTG[]"),t.round=Zt}function Fn(t){e.DEBUG&&console.log(t.step,"RDTG[]"),t.round=Qt}function Nn(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"SCANCTRL[]",r)}function Pn(t,r){var n=r.stack,a=n.pop(),o=n.pop(),s=r.z2[a],i=r.z1[o],u,l;e.DEBUG&&console.log(r.step,"SDPVTL["+t+"]",a,o),t?(u=s.y-i.y,l=i.x-s.x):(u=i.x-s.x,l=i.y-s.y),r.dpv=Jt(u,l)}function Hn(t){var r=t.stack,n=r.pop(),a=0;e.DEBUG&&console.log(t.step,"GETINFO[]",n),1&n&&(a=35),32&n&&(a|=4096),r.push(a)}function zn(t){var r=t.stack,n=r.pop(),a=r.pop(),o=r.pop();e.DEBUG&&console.log(t.step,"ROLL[]"),r.push(a),r.push(n),r.push(o)}function Wn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"MAX[]",n,a),r.push(Math.max(a,n))}function _n(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"MIN[]",n,a),r.push(Math.min(a,n))}function qn(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"SCANTYPE[]",r)}function Xn(t){var r=t.stack.pop(),n=t.stack.pop();switch(e.DEBUG&&console.log(t.step,"INSTCTRL[]",r,n),r){case 1:return void(t.inhibitGridFit=!!n);case 2:return void(t.ignoreCvt=!!n);default:throw new Error("invalid INSTCTRL[] selector")}}function Vn(t,r){var n=r.stack,a=r.prog,o=r.ip;e.DEBUG&&console.log(r.step,"PUSHB["+t+"]");for(var s=0;s=0?1:-1,m=Math.abs(m),t&&(b=s.cvt[u],a&&Math.abs(m-b)":"_")+(a?"R":"_")+(0===o?"Gr":1===o?"Bl":2===o?"Wh":"")+"]",t?u+"("+s.cvt[u]+","+b+")":"",l,"(d =",g,"->",y*m,")"),s.rp1=s.rp0,s.rp2=l,r&&(s.rp0=l)}function Zn(e){this.char=e,this.state={},this.activeState=null}function Qn(e,t,r){this.contextName=r,this.startIndex=e,this.endOffset=t}function Kn(e,t,r){this.contextName=e,this.openRange=null,this.ranges=[],this.checkStart=t,this.checkEnd=r}function Jn(e,t){this.context=e,this.index=t,this.length=e.length,this.current=e[t],this.backtrack=e.slice(0,t),this.lookahead=e.slice(t+1)}function $n(e){this.eventId=e,this.subscribers=[]}function ea(e){var t=this,r=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"],n;r.forEach((function(e){Object.defineProperty(t.events,e,{value:new $n(e)})})),e&&r.forEach((function(r){var n=e[r];"function"==typeof n&&t.events[r].subscribe(n)})),["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach((function(e){t.events[e].subscribe(t.updateContextsRanges)}))}function ta(e){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],ea.call(this,e)}function ra(e){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(e)}function na(e){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(e)}function aa(e){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(e)}function oa(e){return/[A-z]/.test(e)}function sa(e){return/\s/.test(e)}function ia(e){this.font=e,this.features={}}function ua(e){this.id=e.id,this.tag=e.tag,this.substitution=e.substitution}function la(e,t){if(!e)return-1;switch(t.format){case 1:return t.glyphs.indexOf(e);case 2:for(var r=t.ranges,n=0;n=a.start&&e<=a.end){var o=e-a.start;return a.index+o}}break;default:return-1}return-1}function pa(e,t){var r;if(-1===la(e,t.coverage))return null;return e+t.deltaGlyphId}function ca(e,t){var r=la(e,t.coverage);if(-1===r)return null;return t.substitute[r]}function ha(e,t){for(var r=[],n=0;n=0;r--){var n=t[r],a=na(n),o=aa(n);if(!a&&!o)return!0;if(a)return!1}return!1}function Ea(e){if(na(e.current))return!1;for(var t=0;t1&&console.warn("Only the first kern subtable is supported."),e.skip("uLong");var n,a=255&e.parseUShort();if(e.skip("uShort"),0===a){var o=e.parseUShort();e.skip("uShort",3);for(var s=0;s=r)return;var a=t.charCodeAt(n),o;if(a>=55296&&a<=56319&&r>n+1&&(o=t.charCodeAt(n+1))>=56320&&o<=57343)return 1024*(a-55296)+o-56320+65536;return a},po?po(String.prototype,"codePointAt",{value:co,configurable:!0,writable:!0}):String.prototype.codePointAt=co);var ho=0,fo=-3,vo=new t,go=new t,mo=new Uint8Array(30),yo=new Uint16Array(30),bo=new Uint8Array(30),So=new Uint16Array(30),xo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),To=new t,ko=new Uint8Array(288+32),Uo=new Uint16Array(16);a(vo,go),n(mo,yo,4,3),n(bo,So,2,1),mo[28]=0,yo[28]=258;var Oo=h;d.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},d.prototype.addPoint=function(e,t){"number"==typeof e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),ethis.x2&&(this.x2=e)),"number"==typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),tthis.y2&&(this.y2=t))},d.prototype.addX=function(e){this.addPoint(e,null)},d.prototype.addY=function(e){this.addPoint(null,e)},d.prototype.addBezier=function(e,t,r,n,a,o,s,i){var u=this,l=[e,t],p=[r,n],c=[a,o],h=[s,i];this.addPoint(e,t),this.addPoint(s,i);for(var d=0;d<=1;d++){var v=6*l[d]-12*p[d]+6*c[d],g=-3*l[d]+9*p[d]-9*c[d]+3*h[d],m=3*p[d]-3*l[d];if(0===g){if(0===v)continue;var y=-m/v;0=0&&n>0&&(r+=" "),r+=t(a)}return r}var n=this;e=void 0!==e?e:2;for(var a="",o=0;o=0&&e<=255,"Byte value should be between 0 and 255."),[e]},Do.BYTE=y(1),Co.CHAR=function(e){return[e.charCodeAt(0)]},Do.CHAR=y(1),Co.CHARARRAY=function(e){for(var t=[],r=0;r>8&255,255&e]},Do.USHORT=y(2),Co.SHORT=function(e){return e>=wo&&(e=-(2*wo-e)),[e>>8&255,255&e]},Do.SHORT=y(2),Co.UINT24=function(e){return[e>>16&255,e>>8&255,255&e]},Do.UINT24=y(3),Co.ULONG=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},Do.ULONG=y(4),Co.LONG=function(e){return e>=Ro&&(e=-(2*Ro-e)),[e>>24&255,e>>16&255,e>>8&255,255&e]},Do.LONG=y(4),Co.FIXED=Co.ULONG,Do.FIXED=Do.ULONG,Co.FWORD=Co.SHORT,Do.FWORD=Do.SHORT,Co.UFWORD=Co.USHORT,Do.UFWORD=Do.USHORT,Co.LONGDATETIME=function(e){return[0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e]},Do.LONGDATETIME=y(8),Co.TAG=function(e){return Eo.argument(4===e.length,"Tag should be exactly 4 ASCII characters."),[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]},Do.TAG=y(4),Co.Card8=Co.BYTE,Do.Card8=Do.BYTE,Co.Card16=Co.USHORT,Do.Card16=Do.USHORT,Co.OffSize=Co.BYTE,Do.OffSize=Do.BYTE,Co.SID=Co.USHORT,Do.SID=Do.USHORT,Co.NUMBER=function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[((e-=108)>>8)+247,255&e]:e>=-1131&&e<=-108?[((e=-e-108)>>8)+251,255&e]:e>=-32768&&e<=32767?Co.NUMBER16(e):Co.NUMBER32(e)},Do.NUMBER=function(e){return Co.NUMBER(e).length},Co.NUMBER16=function(e){return[28,e>>8&255,255&e]},Do.NUMBER16=y(3),Co.NUMBER32=function(e){return[29,e>>24&255,e>>16&255,e>>8&255,255&e]},Do.NUMBER32=y(5),Co.REAL=function(e){var t=e.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);if(r){var n=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length));t=(Math.round(e*n)/n).toString()}for(var a="",o=0,s=t.length;o>8&255,t[t.length]=255&n}return t},Do.UTF16=function(e){return 2*e.length};var Io={"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":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};Lo.MACSTRING=function(e,t,r,n){var a=Io[n];if(void 0===a)return;for(var o="",s=0;s=128&&void 0===(o=r[o]))return;n[a]=o}return n},Do.MACSTRING=function(e,t){var r=Co.MACSTRING(e,t);return void 0!==r?r.length:0},Co.VARDELTAS=function(e){var t=0,r=[];while(t=-128&&n<=127?x(e,t,r):T(e,t,r)}return r},Co.INDEX=function(e){for(var t=1,r=[t],n=[],a=0;a>8,t[c+1]=255&h,t=t.concat(n[p])}return t},Do.TABLE=function(e){for(var t=0,r=e.fields.length,n=0;n0)return new H(this.data,this.offset+t).parseStruct(e);return},H.prototype.parsePointer32=function(e){var t=this.parseOffset32();if(t>0)return new H(this.data,this.offset+t).parseStruct(e);return},H.prototype.parseListOfLists=function(e){for(var t=this,r=this.parseOffset16List(),n=r.length,a=this.relativeOffset,o=new Array(n),s=0;s=0)return n[a].script;if(t){var o={tag:e,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return n.splice(-1-a,0,o),o.script}}},getLangSysTable:function(e,t,r){var n=this.getScriptTable(e,r);if(n){if(!t||"dflt"===t||"DFLT"===t)return n.defaultLangSys;var a=kt(n.langSysRecords,t);if(a>=0)return n.langSysRecords[a].langSys;if(r){var o={tag:t,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return n.langSysRecords.splice(-1-a,0,o),o.langSys}}},getFeatureTable:function(e,t,r,n){var a=this.getLangSysTable(e,t,n);if(a){for(var o,s=a.featureIndexes,i=this.font.tables[this.tableName].features,u=0;u=i[l-1].tag,"Features must be added in alphabetical order."),o={tag:r,feature:{params:0,lookupListIndexes:[]}},i.push(o),s.push(l),o.feature}}},getLookupTables:function(e,t,r,n,a){var o=this.getFeatureTable(e,t,r,a),s=[];if(o){for(var i,u=o.lookupListIndexes,l=this.font.tables[this.tableName].lookups,p=0;p=0?r:-1;case 2:var n=Ot(e.ranges,t);return n?n.index+t-n.start:-1}},expandCoverage:function(e){if(1===e.format)return e.glyphs;for(var t=[],r=e.ranges,n=0;n=0){for(var p=o.ligatureSets[l],c=0;c2)return;var n=this.font,a=this._prepState;if(!a||a.ppem!==r){var o=this._fpgmState;if(!o){er.prototype=Rs,(o=this._fpgmState=new er("fpgm",n.tables.fpgm)).funcs=[],o.font=n,e.DEBUG&&(console.log("---EXEC FPGM---"),o.step=-1);try{xs(o)}catch(e){return console.log("Hinting error in FPGM:"+e),void(this._errorState=3)}}er.prototype=o,(a=this._prepState=new er("prep",n.tables.prep)).ppem=r;var s=n.tables.cvt;if(s)for(var i=a.cvt=new Array(s.length),u=r/n.unitsPerEm,l=0;l1)return;try{return Ts(t,a)}catch(e){return this._errorState<1&&(console.log("Hinting error:"+e),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}},Ts=function(t,r){var n=r.ppem/r.font.unitsPerEm,a=n,o=t.components,s,i,u;if(er.prototype=r,o){var l=r.font;i=[],s=[];for(var p=0;p=0&&e0&&e<=this.lookahead.length:return this.lookahead[e-1];default:return null}},ta.prototype.rangeToText=function(e){if(e instanceof Qn)return this.getRangeTokens(e).map((function(e){return e.char})).join("")},ta.prototype.getText=function(){return this.tokens.map((function(e){return e.char})).join("")},ta.prototype.getContext=function(e){var t=this.registeredContexts[e];return t||null},ta.prototype.on=function(e,t){var r=this.events[e];return r?r.subscribe(t):null},ta.prototype.dispatch=function(e,t){var r=this,n=this.events[e];n instanceof $n&&n.subscribers.forEach((function(e){e.apply(r,t||[])}))},ta.prototype.registerContextChecker=function(e,t,r){if(this.getContext(e))return{FAIL:"context name '"+e+"' is already registered."};if("function"!=typeof t)return{FAIL:"missing context start check."};if("function"!=typeof r)return{FAIL:"missing context end check."};var n=new Kn(e,t,r);return this.registeredContexts[e]=n,this.contextCheckers.push(n),n},ta.prototype.getRangeTokens=function(e){var t=e.startIndex+e.endOffset;return[].concat(this.tokens.slice(e.startIndex,t))},ta.prototype.getContextRanges=function(e){var t=this.getContext(e);return t?t.ranges:{FAIL:"context checker '"+e+"' is not registered."}},ta.prototype.resetContextsRanges=function(){var e=this.registeredContexts;for(var t in e){var r;if(e.hasOwnProperty(t))e[t].ranges=[]}},ta.prototype.updateContextsRanges=function(){var e=this;this.resetContextsRanges();for(var t=this.tokens.map((function(e){return e.char})),r=0;r. See LICENSE.txt. */ function(t){"use strict";function e(t){return parseInt(t)===t}function r(t){if(!e(t.length))return!1;for(var r=0;r255)return!1;return!0}function i(t,i){if(t.buffer&&"Uint8Array"===t.name)return i&&(t=t.slice?t.slice():Array.prototype.slice.call(t)),t;if(Array.isArray(t)){if(!r(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(e(t.length)&&r(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function n(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)}function o(t){for(var e=[],r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,o=0;o191&&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("")}return{toBytes:t,fromBytes:e}}(),u=function(){function t(t){for(var e=[],r=0;r>4]+r[15&n])}return e.join("")}var r="0123456789abcdef";return{toBytes:t,fromBytes:e}}(),c={16:10,24:12,32:14},l=[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],p=[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],y=[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],g=[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],d=[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],v=[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],_=[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],m=[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],b=[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],E=[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],S=[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],C=[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],z=[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],x=[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],A=function(t){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:i(t,!0)}),this._prepare()};A.prototype._prepare=function(){var t=c[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=o(this.key),s,e=0;e>2,this._Ke[s][e%4]=n[e],this._Kd[t-s][e%4]=n[e];var h=0,a=i,f;while(a>16&255]<<24^p[f>>8&255]<<16^p[255&f]<<8^p[f>>24&255]^l[h]<<24,h+=1,8!=i)for(var e=1;e>8&255]<<8^p[f>>16&255]<<16^p[f>>24&255]<<24;for(var e=i/2+1;e>2,y=a%4,this._Ke[u][y]=n[e],this._Kd[t-u][y]=n[e++],a++}for(var u=1;u>24&255]^C[f>>16&255]^z[f>>8&255]^x[255&f]},A.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=o(t),s=0;s<4;s++)i[s]^=this._Ke[0][s];for(var h=1;h>24&255]^d[i[(s+1)%4]>>16&255]^v[i[(s+2)%4]>>8&255]^_[255&i[(s+3)%4]]^this._Ke[h][s];i=r.slice()}for(var a=n(16),f,s=0;s<4;s++)f=this._Ke[e][s],a[4*s]=255&(p[i[s]>>24&255]^f>>24),a[4*s+1]=255&(p[i[(s+1)%4]>>16&255]^f>>16),a[4*s+2]=255&(p[i[(s+2)%4]>>8&255]^f>>8),a[4*s+3]=255&(p[255&i[(s+3)%4]]^f);return a},A.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=o(t),s=0;s<4;s++)i[s]^=this._Kd[0][s];for(var h=1;h>24&255]^m[i[(s+3)%4]>>16&255]^b[i[(s+2)%4]>>8&255]^E[255&i[(s+1)%4]]^this._Kd[h][s];i=r.slice()}for(var a=n(16),f,s=0;s<4;s++)f=this._Kd[e][s],a[4*s]=255&(y[i[s]>>24&255]^f>>24),a[4*s+1]=255&(y[i[(s+3)%4]>>16&255]^f>>16),a[4*s+2]=255&(y[i[(s+2)%4]>>8&255]^f>>8),a[4*s+3]=255&(y[255&i[(s+1)%4]]^f);return a};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 A(t)};K.prototype.encrypt=function(t){if((t=i(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=n(t.length),r=n(16),o=0;oNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var e=15;e>=0;--e)this._counter[e]=t%256,t=parseInt(t/256)},j.prototype.setBytes=function(t){if(16!=(t=i(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},j.prototype.increment=function(){for(var t=15;t>=0;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var R=function(t,e){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof j||(e=new j(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new A(t)};R.prototype.encrypt=function(t){for(var e=i(t,!0),r=0;r * @link http://www.phpied.com/rgb-color-parser-in-javascript/ * @license Use it if you like it */ !function(e){function f(e){this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var a={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",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"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",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var r in a)e==r&&(e=a[r]);for(var t=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],d=0;d255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),f=this.g.toString(16),a=this.b.toString(16);return 1==e.length&&(e="0"+e),1==f.length&&(f="0"+f),1==a.length&&(a="0"+a),"#"+e+f+a},this.getHelpXML=function(){for(var e=new Array,r=0;r "+s.toRGB()+" -> "+s.toHex());o.appendChild(c),o.appendChild(b),l.appendChild(o)}catch(e){}return l}}"undefined"!=typeof define&&define.amd?define((function(){return f})):"undefined"!=typeof module&&module.exports&&(module.exports=f),e.RGBColor=f}("undefined"!=typeof window?window:this);; !function(e){function t(e){for(var t=e.data,a=e.width*e.height*4,r=0;r>Z,h[y+1]=B*Y>>Z,h[y+2]=E*Y>>Z,h[y+3]=C*Y>>Z,I-=D,B-=N,E-=R,C-=P,D-=V.r,N-=V.g,R-=V.b,P-=V.a,v=p+((v=m+d+1)>Z,h[v+1]=B*Y>>Z,h[v+2]=E*Y>>Z,h[v+3]=C*Y>>Z,I-=D,B-=N,E-=R,C-=P,D-=V.r,N-=V.g,R-=V.b,P-=V.a,v=m+((v=x+L)>Q,s[v+1]=p*O>>Q,s[v+2]=I*O>>Q,y-=B,p-=E,I-=C,B-=K.r,E-=K.g,C-=K.b,x=w+((x=u+o+1)>Q,s[x+1]=p*O>>Q,s[x+2]=I*O>>Q,y-=B,p-=E,I-=C,B-=K.r,E-=K.g,C-=K.b,x=u+((x=h+j)t)throw new RangeError('"size" argument must not be negative')}function u(t,r,i,e){return a(r),0>=r?h(t,r):void 0!==i?"string"==typeof e?h(t,r).fill(i,e):h(t,r).fill(i):h(t,r)}function f(t,r){if(a(r),t=h(t,0>r?0:0|y(r)),!n.TYPED_ARRAY_SUPPORT)for(var i=0;r>i;++i)t[i]=0;return t}function l(t,r,i){if(("string"!=typeof i||""===i)&&(i="utf8"),!n.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var e=0|d(r,i);t=h(t,e);var o=t.write(r,i);return o!==e&&(t=t.slice(0,o)),t}function c(t,r){var i=r.length<0?0:0|y(r.length);t=h(t,i);for(var e=0;i>e;e+=1)t[e]=255&r[e];return t}function p(t,r,i,e){if(r.byteLength,0>i||r.byteLength=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),n.alloc(+t)}function d(t,r){if(n.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Z(t).length;default:if(e)return H(t).length;r=(""+r).toLowerCase(),e=!0}}function g(t,r,i){var e=!1;if((void 0===r||0>r)&&(r=0),r>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),0>=i)return"";if(i>>>=0,r>>>=0,r>=i)return"";for(t||(t="utf8");;)switch(t){case"hex":return z(this,r,i);case"utf8":case"utf-8":return P(this,r,i);case"ascii":return S(this,r,i);case"latin1":case"binary":return I(this,r,i);case"base64":return T(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,r,i);default:if(e)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),e=!0}}function w(t,r,i){var e=t[r];t[r]=t[i],t[i]=e}function v(t,r,i,e,o){if(0===t.length)return-1;if("string"==typeof i?(e=i,i=0):i>2147483647?i=2147483647:-2147483648>i&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:t.length-1),0>i&&(i=t.length+i),i>=t.length){if(o)return-1;i=t.length-1}else if(0>i){if(!o)return-1;i=0}if("string"==typeof r&&(r=n.from(r,e)),n.isBuffer(r))return 0===r.length?-1:A(t,r,i,e,o);if("number"==typeof r)return r=255&r,n.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):A(t,[r],i,e,o);throw new TypeError("val must be string, number or Buffer")}function A(t,r,i,e,o){function h(t,r){return 1===n?t[r]:t.readUInt16BE(r*n)}var n=1,s=t.length,a=r.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(t.length<2||r.length<2)return-1;n=2,s/=2,a/=2,i/=2}var u;if(o){var f=-1;for(u=i;s>u;u++)if(h(t,u)===h(r,-1===f?0:u-f)){if(-1===f&&(f=u),u-f+1===a)return f*n}else-1!==f&&(u-=u-f),f=-1}else for(i+a>s&&(i=s-a),u=i;u>=0;u--){for(var l=!0,c=0;a>c;c++)if(h(t,u+c)!==h(r,c)){l=!1;break}if(l)return u}return-1}function C(t,r,i,e){i=Number(i)||0;var o=t.length-i;e?(e=Number(e),e>o&&(e=o)):e=o;var h=r.length;if(h%2!==0)throw new TypeError("Invalid hex string");e>h/2&&(e=h/2);for(var n=0;e>n;++n){var s=parseInt(r.substr(2*n,2),16);if(isNaN(s))return n;t[i+n]=s}return n}function b(t,r,i,e){return G(H(r,t.length-i),t,i,e)}function E(t,r,i,e){return G(V(r),t,i,e)}function R(t,r,i,e){return E(t,r,i,e)}function x(t,r,i,e){return G(Z(r),t,i,e)}function B(t,r,i,e){return G(J(r,t.length-i),t,i,e)}function T(t,r,i){return Q.fromByteArray(0===r&&i===t.length?t:t.slice(r,i))}function P(t,r,i){i=Math.min(t.length,i);for(var e=[],o=r;i>o;){var h=t[o],n=null,s=h>239?4:h>223?3:h>191?2:1;if(i>=o+s){var a,u,f,l;switch(s){case 1:128>h&&(n=h);break;case 2:a=t[o+1],128===(192&a)&&(l=(31&h)<<6|63&a,l>127&&(n=l));break;case 3:a=t[o+1],u=t[o+2],128===(192&a)&&128===(192&u)&&(l=(15&h)<<12|(63&a)<<6|63&u,l>2047&&(55296>l||l>57343)&&(n=l));break;case 4:a=t[o+1],u=t[o+2],f=t[o+3],128===(192&a)&&128===(192&u)&&128===(192&f)&&(l=(15&h)<<18|(63&a)<<12|(63&u)<<6|63&f,l>65535&&1114112>l&&(n=l))}}null===n?(n=65533,s=1):n>65535&&(n-=65536,e.push(n>>>10&1023|55296),n=56320|1023&n),e.push(n),o+=s}return U(e)}function U(t){var r=t.length;if(tt>=r)return String.fromCharCode.apply(String,t);for(var i="",e=0;r>e;)i+=String.fromCharCode.apply(String,t.slice(e,e+=tt));return i}function S(t,r,i){var e="";i=Math.min(t.length,i);for(var o=r;i>o;++o)e+=String.fromCharCode(127&t[o]);return e}function I(t,r,i){var e="";i=Math.min(t.length,i);for(var o=r;i>o;++o)e+=String.fromCharCode(t[o]);return e}function z(t,r,i){var e=t.length;(!r||0>r)&&(r=0),(!i||0>i||i>e)&&(i=e);for(var o="",h=r;i>h;++h)o+=X(t[h]);return o}function Y(t,r,i){for(var e=t.slice(r,i),o="",h=0;ht)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}function L(t,r,i,e,o,h){if(!n.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||h>r)throw new RangeError('"value" argument is out of bounds');if(i+e>t.length)throw new RangeError("Index out of range")}function O(t,r,i,e){0>r&&(r=65535+r+1);for(var o=0,h=Math.min(t.length-i,2);h>o;++o)t[i+o]=(r&255<<8*(e?o:1-o))>>>8*(e?o:1-o)}function N(t,r,i,e){0>r&&(r=4294967295+r+1);for(var o=0,h=Math.min(t.length-i,4);h>o;++o)t[i+o]=r>>>8*(e?o:3-o)&255}function D(t,r,i,e){if(i+e>t.length)throw new RangeError("Index out of range");if(0>i)throw new RangeError("Index out of range")}function k(t,r,i,e,o){return o||D(t,r,i,4,3.4028234663852886e38,-3.4028234663852886e38),W.write(t,r,i,e,23,4),i+4}function j(t,r,i,e,o){return o||D(t,r,i,8,1.7976931348623157e308,-1.7976931348623157e308),W.write(t,r,i,e,52,8),i+8}function F(t){if(t=q(t).replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return 16>t?"0"+t.toString(16):t.toString(16)}function H(t,r){r=r||1/0;for(var i,e=t.length,o=null,h=[],n=0;e>n;++n){if(i=t.charCodeAt(n),i>55295&&57344>i){if(!o){if(i>56319){(r-=3)>-1&&h.push(239,191,189);continue}if(n+1===e){(r-=3)>-1&&h.push(239,191,189);continue}o=i;continue}if(56320>i){(r-=3)>-1&&h.push(239,191,189),o=i;continue}i=(o-55296<<10|i-56320)+65536}else o&&(r-=3)>-1&&h.push(239,191,189);if(o=null,128>i){if((r-=1)<0)break;h.push(i)}else if(2048>i){if((r-=2)<0)break;h.push(i>>6|192,63&i|128)}else if(65536>i){if((r-=3)<0)break;h.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(1114112>i))throw new Error("Invalid code point");if((r-=4)<0)break;h.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return h}function V(t){for(var r=[],i=0;i>8,o=i%256,h.push(o),h.push(e);return h}function Z(t){return Q.toByteArray(F(t))}function G(t,r,i,e){for(var o=0;e>o&&!(o+i>=r.length||o>=t.length);++o)r[o+i]=t[o];return o}function K(t){return t!==t}var Q=i(5),W=i(6),$=i(7);r.Buffer=n,r.SlowBuffer=_,r.INSPECT_MAX_BYTES=50,n.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:e(),r.kMaxLength=o(),n.poolSize=8192,n._augment=function(t){return t.__proto__=n.prototype,t},n.from=function(t,r,i){return s(null,t,r,i)},n.TYPED_ARRAY_SUPPORT&&(n.prototype.__proto__=Uint8Array.prototype,n.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&n[Symbol.species]===n&&Object.defineProperty(n,Symbol.species,{value:null,configurable:!0})),n.alloc=function(t,r,i){return u(null,t,r,i)},n.allocUnsafe=function(t){return f(null,t)},n.allocUnsafeSlow=function(t){return f(null,t)},n.isBuffer=function(t){return!(null==t||!t._isBuffer)},n.compare=function(t,r){if(!n.isBuffer(t)||!n.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var i=t.length,e=r.length,o=0,h=Math.min(i,e);h>o;++o)if(t[o]!==r[o]){i=t[o],e=r[o];break}return e>i?-1:i>e?1:0},n.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}},n.concat=function(t,r){if(!$(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return n.alloc(0);var i;if(void 0===r)for(r=0,i=0;ir;r+=2)w(this,r,r+1);return this},n.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 r=0;t>r;r+=4)w(this,r,r+3),w(this,r+1,r+2);return this},n.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 r=0;t>r;r+=8)w(this,r,r+7),w(this,r+1,r+6),w(this,r+2,r+5),w(this,r+3,r+4);return this},n.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):g.apply(this,arguments)},n.prototype.equals=function(t){if(!n.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===n.compare(this,t)},n.prototype.inspect=function(){var t="",i=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},n.prototype.compare=function(t,r,i,e,o){if(!n.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===e&&(e=0),void 0===o&&(o=this.length),0>r||i>t.length||0>e||o>this.length)throw new RangeError("out of range index");if(e>=o&&r>=i)return 0;if(e>=o)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,e>>>=0,o>>>=0,this===t)return 0;for(var h=o-e,s=i-r,a=Math.min(h,s),u=this.slice(e,o),f=t.slice(r,i),l=0;a>l;++l)if(u[l]!==f[l]){h=u[l],s=f[l];break}return s>h?-1:h>s?1:0},n.prototype.includes=function(t,r,i){return-1!==this.indexOf(t,r,i)},n.prototype.indexOf=function(t,r,i){return v(this,t,r,i,!0)},n.prototype.lastIndexOf=function(t,r,i){return v(this,t,r,i,!1)},n.prototype.write=function(t,r,i,e){if(void 0===r)e="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)e=r,i=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r=0|r,isFinite(i)?(i=0|i,void 0===e&&(e="utf8")):(e=i,i=void 0)}var o=this.length-r;if((void 0===i||i>o)&&(i=o),t.length>0&&(0>i||0>r)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return C(this,t,r,i);case"utf8":case"utf-8":return b(this,t,r,i);case"ascii":return E(this,t,r,i);case"latin1":case"binary":return R(this,t,r,i);case"base64":return x(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r,i);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;n.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,0>t?(t+=i,0>t&&(t=0)):t>i&&(t=i),0>r?(r+=i,0>r&&(r=0)):r>i&&(r=i),t>r&&(r=t);var e;if(n.TYPED_ARRAY_SUPPORT)e=this.subarray(t,r),e.__proto__=n.prototype;else{var o=r-t;e=new n(o,void 0);for(var h=0;o>h;++h)e[h]=this[h+t]}return e},n.prototype.readUIntLE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t],o=1,h=0;++h0&&(o*=256);)e+=this[t+--r]*o;return e},n.prototype.readUInt8=function(t,r){return r||M(t,1,this.length),this[t]},n.prototype.readUInt16LE=function(t,r){return r||M(t,2,this.length),this[t]|this[t+1]<<8},n.prototype.readUInt16BE=function(t,r){return r||M(t,2,this.length),this[t]<<8|this[t+1]},n.prototype.readUInt32LE=function(t,r){return r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},n.prototype.readUInt32BE=function(t,r){return r||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},n.prototype.readIntLE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t],o=1,h=0;++h=o&&(e-=Math.pow(2,8*r)),e},n.prototype.readIntBE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=r,o=1,h=this[t+--e];e>0&&(o*=256);)h+=this[t+--e]*o;return o*=128,h>=o&&(h-=Math.pow(2,8*r)),h},n.prototype.readInt8=function(t,r){return r||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},n.prototype.readInt16LE=function(t,r){r||M(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},n.prototype.readInt16BE=function(t,r){r||M(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},n.prototype.readInt32LE=function(t,r){return r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},n.prototype.readInt32BE=function(t,r){return r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},n.prototype.readFloatLE=function(t,r){return r||M(t,4,this.length),W.read(this,t,!0,23,4)},n.prototype.readFloatBE=function(t,r){return r||M(t,4,this.length),W.read(this,t,!1,23,4)},n.prototype.readDoubleLE=function(t,r){return r||M(t,8,this.length),W.read(this,t,!0,52,8)},n.prototype.readDoubleBE=function(t,r){return r||M(t,8,this.length),W.read(this,t,!1,52,8)},n.prototype.writeUIntLE=function(t,r,i,e){if(t=+t,r=0|r,i=0|i,!e){var o=Math.pow(2,8*i)-1;L(this,t,r,i,o,0)}var h=1,n=0;for(this[r]=255&t;++n=0&&(n*=256);)this[r+h]=t/n&255;return r+i},n.prototype.writeUInt8=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,1,255,0),n.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},n.prototype.writeUInt16LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):O(this,t,r,!0),r+2},n.prototype.writeUInt16BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):O(this,t,r,!1),r+2},n.prototype.writeUInt32LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):N(this,t,r,!0),r+4},n.prototype.writeUInt32BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):N(this,t,r,!1),r+4},n.prototype.writeIntLE=function(t,r,i,e){if(t=+t,r=0|r,!e){var o=Math.pow(2,8*i-1);L(this,t,r,i,o-1,-o)}var h=0,n=1,s=0;for(this[r]=255&t;++ht&&0===s&&0!==this[r+h-1]&&(s=1),this[r+h]=(t/n>>0)-s&255;return r+i},n.prototype.writeIntBE=function(t,r,i,e){if(t=+t,r=0|r,!e){var o=Math.pow(2,8*i-1);L(this,t,r,i,o-1,-o)}var h=i-1,n=1,s=0;for(this[r+h]=255&t;--h>=0&&(n*=256);)0>t&&0===s&&0!==this[r+h+1]&&(s=1),this[r+h]=(t/n>>0)-s&255;return r+i},n.prototype.writeInt8=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,1,127,-128),n.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[r]=255&t,r+1},n.prototype.writeInt16LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):O(this,t,r,!0),r+2},n.prototype.writeInt16BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):O(this,t,r,!1),r+2},n.prototype.writeInt32LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):N(this,t,r,!0),r+4},n.prototype.writeInt32BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):N(this,t,r,!1),r+4},n.prototype.writeFloatLE=function(t,r,i){return k(this,t,r,!0,i)},n.prototype.writeFloatBE=function(t,r,i){return k(this,t,r,!1,i)},n.prototype.writeDoubleLE=function(t,r,i){return j(this,t,r,!0,i)},n.prototype.writeDoubleBE=function(t,r,i){return j(this,t,r,!1,i)},n.prototype.copy=function(t,r,i,e){if(i||(i=0),e||0===e||(e=this.length),r>=t.length&&(r=t.length),r||(r=0),e>0&&i>e&&(e=i),e===i)return 0;if(0===t.length||0===this.length)return 0;if(0>r)throw new RangeError("targetStart out of bounds");if(0>i||i>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),t.length-ri&&e>r)for(o=h-1;o>=0;--o)t[o+r]=this[o+i];else if(1e3>h||!n.TYPED_ARRAY_SUPPORT)for(o=0;h>o;++o)t[o+r]=this[o+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+h),r);return h},n.prototype.fill=function(t,r,i,e){if("string"==typeof t){if("string"==typeof r?(e=r,r=0,i=this.length):"string"==typeof i&&(e=i,i=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!n.isEncoding(e))throw new TypeError("Unknown encoding: "+e)}else"number"==typeof t&&(t=255&t);if(0>r||this.length=i)return this;r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0);var h;if("number"==typeof t)for(h=r;i>h;++h)this[h]=t;else{var s=n.isBuffer(t)?t:H(new n(t,e).toString()),a=s.length;for(h=0;i-r>h;++h)this[h+r]=s[h%a]}return this};var rt=/[^+\/0-9A-Za-z-_]/g}).call(r,i(4))},function(t,r,i){r.UINT32=i(8),r.UINT64=i(9)},function(t,r,i){t.exports={h32:i(3),h64:i(10)}},function(t,r,i){(function(r){function e(t){for(var r=[],i=0,e=t.length;e>i;i++){var o=t.charCodeAt(i);128>o?r.push(o):2048>o?r.push(192|o>>6,128|63&o):55296>o||o>=57344?r.push(224|o>>12,128|o>>6&63,128|63&o):(i++,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),r.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(r)}function o(){return 2==arguments.length?new o(arguments[1]).update(arguments[0]).digest():this instanceof o?void h.call(this,arguments[0]):new o(arguments[0])}function h(t){return this.seed=t instanceof n?t.clone():n(t),this.v1=this.seed.clone().add(s).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}var n=i(1).UINT32;n.prototype.xxh_update=function(t,r){var i,e,o=a._low,h=a._high;e=t*o,i=e>>>16,i+=r*o,i&=65535,i+=t*h;var n=this._low+(65535&e),u=n>>>16;u+=this._high+(65535&i);var f=u<<16|65535&n;f=f<<13|f>>>19,n=65535&f,u=f>>>16,o=s._low,h=s._high,e=n*o,i=e>>>16,i+=u*o,i&=65535,i+=n*h,this._low=65535&e,this._high=65535&i};var s=n("2654435761"),a=n("2246822519"),u=n("3266489917"),f=n("668265263"),l=n("374761393");o.prototype.init=h,o.prototype.update=function(t){var i,o="string"==typeof t;o&&(t=e(t),o=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var h=0,n=t.length,s=h+n;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=o?"":i?new Uint8Array(16):new r(16)),this.memsize+n<16)return o?this.memory+=t:i?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(this.memsize>0){o?this.memory+=t.slice(0,16-this.memsize):i?this.memory.set(t.subarray(0,16-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,16-this.memsize);var a=0;o?(this.v1.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v2.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v3.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v4.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2))):(this.v1.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v2.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v3.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v4.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2])),h+=16-this.memsize,this.memsize=0,o&&(this.memory="")}if(s-16>=h){var u=s-16;do o?(this.v1.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v2.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v3.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v4.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2))):(this.v1.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v2.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v3.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v4.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2])),h+=4;while(u>=h)}return s>h&&(o?this.memory+=t.slice(h):i?this.memory.set(t.subarray(h,s),this.memsize):t.copy(this.memory,this.memsize,h,s),this.memsize=s-h),this},o.prototype.digest=function(){var t,r,i=this.memory,e="string"==typeof i,o=0,h=this.memsize,c=new n;for(t=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(l),t.add(c.fromNumber(this.total_len));h-4>=o;)e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2)):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2]),t.add(c.multiply(u)).rotl(17).multiply(f),o+=4;for(;h>o;)c.fromBits(e?i.charCodeAt(o++):i[o++],0),t.add(c.multiply(l)).rotl(11).multiply(s);return r=t.clone().shiftRight(15),t.xor(r).multiply(a),r=t.clone().shiftRight(13),t.xor(r).multiply(u),r=t.clone().shiftRight(16),t.xor(r),this.init(this.seed),t},t.exports=o}).call(r,i(0).Buffer)},function(t){var r;r=function(){return this}();try{r=r||Function("return this")()||(1,eval)("this")}catch(i){"object"==typeof window&&(r=window)}t.exports=r},function(t,r){"use strict";function i(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[r-2]?2:"="===t[r-1]?1:0}function e(t){return 3*t.length/4-i(t)}function o(t){var r,e,o,h,n,s=t.length;h=i(t),n=new f(3*s/4-h),e=h>0?s-4:s;var a=0;for(r=0;e>r;r+=4)o=u[t.charCodeAt(r)]<<18|u[t.charCodeAt(r+1)]<<12|u[t.charCodeAt(r+2)]<<6|u[t.charCodeAt(r+3)],n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=255&o;return 2===h?(o=u[t.charCodeAt(r)]<<2|u[t.charCodeAt(r+1)]>>4,n[a++]=255&o):1===h&&(o=u[t.charCodeAt(r)]<<10|u[t.charCodeAt(r+1)]<<4|u[t.charCodeAt(r+2)]>>2,n[a++]=o>>8&255,n[a++]=255&o),n}function h(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function n(t,r,i){for(var e,o=[],n=r;i>n;n+=3)e=(t[n]<<16)+(t[n+1]<<8)+t[n+2],o.push(h(e));return o.join("")}function s(t){for(var r,i=t.length,e=i%3,o="",h=[],s=16383,u=0,f=i-e;f>u;u+=s)h.push(n(t,u,u+s>f?f:u+s));return 1===e?(r=t[i-1],o+=a[r>>2],o+=a[r<<4&63],o+="=="):2===e&&(r=(t[i-2]<<8)+t[i-1],o+=a[r>>10],o+=a[r>>4&63],o+=a[r<<2&63],o+="="),h.push(o),h.join("")}r.byteLength=e,r.toByteArray=o,r.fromByteArray=s;for(var a=[],u=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,p=l.length;p>c;++c)a[c]=l[c],u[l.charCodeAt(c)]=c;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(t,r){r.read=function(t,r,i,e,o){var h,n,s=8*o-e-1,a=(1<>1,f=-7,l=i?o-1:0,c=i?-1:1,p=t[r+l];for(l+=c,h=p&(1<<-f)-1,p>>=-f,f+=s;f>0;h=256*h+t[r+l],l+=c,f-=8);for(n=h&(1<<-f)-1,h>>=-f,f+=e;f>0;n=256*n+t[r+l],l+=c,f-=8);if(0===h)h=1-u;else{if(h===a)return n?0/0:(p?-1:1)*(1/0);n+=Math.pow(2,e),h-=u}return(p?-1:1)*n*Math.pow(2,h-e)},r.write=function(t,r,i,e,o,h){var n,s,a,u=8*h-o-1,f=(1<>1,c=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=e?0:h-1,m=e?1:-1,y=0>r||0===r&&0>1/r?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(s=isNaN(r)?1:0,n=f):(n=Math.floor(Math.log(r)/Math.LN2),r*(a=Math.pow(2,-n))<1&&(n--,a*=2),r+=n+l>=1?c/a:c*Math.pow(2,1-l),r*a>=2&&(n++,a/=2),n+l>=f?(s=0,n=f):n+l>=1?(s=(r*a-1)*Math.pow(2,o),n+=l):(s=r*Math.pow(2,l-1)*Math.pow(2,o),n=0));o>=8;t[i+p]=255&s,p+=m,s/=256,o-=8);for(n=n<0;t[i+p]=255&n,p+=m,n/=256,u-=8);t[i+p-m]|=128*y}},function(t){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,r){var i,e;!function(o){function h(t,r){return this instanceof h?(this._low=0,this._high=0,this.remainder=null,"undefined"==typeof r?s.call(this,t):"string"==typeof t?a.call(this,t,r):void n.call(this,t,r)):new h(t,r)}function n(t,r){return this._low=0|t,this._high=0|r,this}function s(t){return this._low=65535&t,this._high=t>>>16,this}function a(t,r){var i=parseInt(t,r||10);return this._low=65535&i,this._high=i>>>16,this}({36:h(Math.pow(36,5)),16:h(Math.pow(16,7)),10:h(Math.pow(10,9)),2:h(Math.pow(2,30))}),{36:h(36),16:h(16),10:h(10),2:h(2)};h.prototype.fromBits=n,h.prototype.fromNumber=s,h.prototype.fromString=a,h.prototype.toNumber=function(){return 65536*this._high+this._low},h.prototype.toString=function(t){return this.toNumber().toString(t||10)},h.prototype.add=function(t){var r=this._low+t._low,i=r>>>16;return i+=this._high+t._high,this._low=65535&r,this._high=65535&i,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var r,i,e=this._high,o=this._low,h=t._high,n=t._low;return i=o*n,r=i>>>16,r+=e*n,r&=65535,r+=o*h,this._low=65535&i,this._high=65535&r,this},h.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 h(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 h(0),this._low=1,this._high=0,this;for(var r=t.clone(),i=-1;!this.lt(r);)r.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._low=0,this._high=0;i>=0;i--)r.shiftRight(1),this.remainder.lt(r)||(this.remainder.subtract(r),i>=16?this._high|=1<>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},h.prototype.greaterThan=h.prototype.gt=function(t){return this._high>t._high?!0:this._hight._low},h.prototype.lessThan=h.prototype.lt=function(t){return this._hight._high?!1:this._low16?(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},h.prototype.shiftLeft=h.prototype.shiftl=function(t,r){return t>16?(this._high=this._low<>16-t,this._low=this._low<>>32-t,this._low=65535&r,this._high=r>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){var r=this._high<<16|this._low;return r=r>>>t|r<<32-t,this._low=65535&r,this._high=r>>>16,this},h.prototype.clone=function(){return new h(this._low,this._high)},i=[],e=function(){return h}.apply(r,i),!(void 0!==e&&(t.exports=e))}(this)},function(t,r){var i,e;!function(o){function h(t,r,i,e){return this instanceof h?(this.remainder=null,"string"==typeof t?a.call(this,t,r):"undefined"==typeof r?s.call(this,t):void n.apply(this,arguments)):new h(t,r,i,e)}function n(t,r,i,e){return"undefined"==typeof i?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&r,this._a48=r>>>16,this):(this._a00=0|t,this._a16=0|r,this._a32=0|i,this._a48=0|e,this)}function s(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function a(t,r){r=r||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var i=u[r]||new h(Math.pow(r,5)),e=0,o=t.length;o>e;e+=5){var n=Math.min(5,o-e),s=parseInt(t.slice(e,e+n),r);this.multiply(5>n?new h(Math.pow(r,n)):i).add(new h(s))}return this}var u={16:h(Math.pow(16,5)),10:h(Math.pow(10,5)),2:h(Math.pow(2,5))},f={16:h(16),10:h(10),2:h(2)};h.prototype.fromBits=n,h.prototype.fromNumber=s,h.prototype.fromString=a,h.prototype.toNumber=function(){return 65536*this._a16+this._a00},h.prototype.toString=function(t){t=t||10; var r=f[t]||new h(t);if(!this.gt(r))return this.toNumber().toString(t);for(var i=this.clone(),e=new Array(64),o=63;o>=0&&(i.div(r),e[o]=i.remainder.toNumber().toString(t),i.gt(r));o--);return e[o-1]=i.toNumber().toString(t),e.join("")},h.prototype.add=function(t){var r=this._a00+t._a00,i=r>>>16;i+=this._a16+t._a16;var e=i>>>16;e+=this._a32+t._a32;var o=e>>>16;return o+=this._a48+t._a48,this._a00=65535&r,this._a16=65535&i,this._a32=65535&e,this._a48=65535&o,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var r=this._a00,i=this._a16,e=this._a32,o=this._a48,h=t._a00,n=t._a16,s=t._a32,a=t._a48,u=r*h,f=u>>>16;f+=r*n;var l=f>>>16;f&=65535,f+=i*h,l+=f>>>16,l+=r*s;var c=l>>>16;return l&=65535,l+=i*n,c+=l>>>16,l&=65535,l+=e*h,c+=l>>>16,c+=r*a,c&=65535,c+=i*s,c&=65535,c+=e*n,c&=65535,c+=o*h,this._a00=65535&u,this._a16=65535&f,this._a32=65535&l,this._a48=65535&c,this},h.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 h(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 h(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var r=t.clone(),i=-1;!this.lt(r);)r.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;i>=0;i--)r.shiftRight(1),this.remainder.lt(r)||(this.remainder.subtract(r),i>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},h.prototype.greaterThan=h.prototype.gt=function(t){return this._a48>t._a48?!0:this._a48t._a32?!0:this._a32t._a16?!0:this._a16t._a00},h.prototype.lessThan=h.prototype.lt=function(t){return this._a48t._a48?!1:this._a32t._a32?!1:this._a16t._a16?!1:this._a00=48?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):t>=32?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):t>=16?(t-=16,this._a00=65535&(this._a16>>t|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},h.prototype.shiftLeft=h.prototype.shiftl=function(t,r){return t%=64,t>=48?(this._a48=this._a00<=32?(t-=32,this._a48=this._a16<>16-t,this._a32=this._a00<=16?(t-=16,this._a48=this._a32<>16-t,this._a32=65535&(this._a16<>16-t),this._a16=this._a00<>16-t,this._a32=65535&(this._a32<>16-t),this._a16=65535&(this._a16<>16-t),this._a00=this._a00<=32){var r=this._a00;if(this._a00=this._a32,this._a32=r,r=this._a48,this._a48=this._a16,this._a16=r,32==t)return this;t-=32}var i=this._a48<<16|this._a32,e=this._a16<<16|this._a00,o=i<>>32-t,h=e<>>32-t;return this._a00=65535&h,this._a16=h>>>16,this._a32=65535&o,this._a48=o>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){if(t%=64,0==t)return this;if(t>=32){var r=this._a00;if(this._a00=this._a32,this._a32=r,r=this._a48,this._a48=this._a16,this._a16=r,32==t)return this;t-=32}var i=this._a48<<16|this._a32,e=this._a16<<16|this._a00,o=i>>>t|e<<32-t,h=e>>>t|i<<32-t;return this._a00=65535&h,this._a16=h>>>16,this._a32=65535&o,this._a48=o>>>16,this},h.prototype.clone=function(){return new h(this._a00,this._a16,this._a32,this._a48)},i=[],e=function(){return h}.apply(r,i),!(void 0!==e&&(t.exports=e))}(this)},function(t,r,i){(function(r){function e(t){for(var r=[],i=0,e=t.length;e>i;i++){var o=t.charCodeAt(i);128>o?r.push(o):2048>o?r.push(192|o>>6,128|63&o):55296>o||o>=57344?r.push(224|o>>12,128|o>>6&63,128|63&o):(i++,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),r.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(r)}function o(){return 2==arguments.length?new o(arguments[1]).update(arguments[0]).digest():this instanceof o?void h.call(this,arguments[0]):new o(arguments[0])}function h(t){return this.seed=t instanceof n?t.clone():n(t),this.v1=this.seed.clone().add(s).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}var n=i(1).UINT64,s=n("11400714785074694791"),a=n("14029467366897019727"),u=n("1609587929392839161"),f=n("9650029242287828579"),l=n("2870177450012600261");o.prototype.init=h,o.prototype.update=function(t){var i,o="string"==typeof t;o&&(t=e(t),o=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var h=0,u=t.length,f=h+u;if(0==u)return this;if(this.total_len+=u,0==this.memsize&&(this.memory=o?"":i?new Uint8Array(32):new r(32)),this.memsize+u<32)return o?this.memory+=t:i?this.memory.set(t.subarray(0,u),this.memsize):t.copy(this.memory,this.memsize,0,u),this.memsize+=u,this;if(this.memsize>0){o?this.memory+=t.slice(0,32-this.memsize):i?this.memory.set(t.subarray(0,32-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,32-this.memsize);var l=0;if(o){var c;c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v1.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v2.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v3.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}else{var c;c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v1.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v2.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v3.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}h+=32-this.memsize,this.memsize=0,o&&(this.memory="")}if(f-32>=h){var p=f-32;do{if(o){var c;c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v1.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v2.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v3.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}else{var c;c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v1.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v2.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v3.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}h+=8}while(p>=h)}return f>h&&(o?this.memory+=t.slice(h):i?this.memory.set(t.subarray(h,f),this.memsize):t.copy(this.memory,this.memsize,h,f),this.memsize=f-h),this},o.prototype.digest=function(){var t,r,i=this.memory,e="string"==typeof i,o=0,h=this.memsize,c=new n;for(this.total_len>=32?(t=this.v1.clone().rotl(1),t.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(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v2.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v3.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v4.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f)):t=this.seed.clone().add(l),t.add(c.fromNumber(this.total_len));h-8>=o;)e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2),i.charCodeAt(o+5)<<8|i.charCodeAt(o+4),i.charCodeAt(o+7)<<8|i.charCodeAt(o+6)):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2],i[o+5]<<8|i[o+4],i[o+7]<<8|i[o+6]),c.multiply(a).rotl(31).multiply(s),t.xor(c).rotl(27).multiply(s).add(f),o+=8;for(h>=o+4&&(e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2),0,0):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2],0,0),t.xor(c.multiply(s)).rotl(23).multiply(a).add(u),o+=4);h>o;)c.fromBits(e?i.charCodeAt(o++):i[o++],0,0,0),t.xor(c.multiply(l)).rotl(11).multiply(s);return r=t.clone().shiftRight(33),t.xor(r).multiply(a),r=t.clone().shiftRight(29),t.xor(r).multiply(u),r=t.clone().shiftRight(32),t.xor(r),this.init(this.seed),t},t.exports=o}).call(r,i(0).Buffer)}])});; !function(t,e){if("undefined"==typeof window)return;"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("rgbcolor"),require("stackblur-canvas")):"function"==typeof define&&define.amd?define(["rgbcolor","stackblur-canvas"],e):t.canvgv2=e(t.RGBColor,t.StackBlur)}(this,(function(t,e){"use strict";function i(t,e){return t(e={exports:{}},e.exports),e.exports}var n;return t=t&&t.hasOwnProperty("default")?t["default"]:t,e=e&&e.hasOwnProperty("default")?e["default"]:e,i((function(i){function n(t,e){var i;return(i=l.createElement("canvas")).width=t,i.height=e,i}function s(t){var e=[0,0,0],i=function(i,n){var s=t.match(i);if(null==s)return;e[n]+=s.length,t=t.replace(i," ")};return t=(t=t.replace(/:not\(([^\)]*)\)/g," $1 ")).replace(/{[\s\S]*/gm," "),i(d,1),i(m,0),i(y,1),i(v,2),i(g,1),i(x,1),t=(t=t.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),i(b,2),e.join("")}function a(i){var a={opts:i,FRAMERATE:30,MAX_VIRTUAL_PIXELS:3e4,rootEmSize:12,emSize:12,log:function(){}};1==a.opts["log"]&&"undefined"!=typeof console&&(a.log=function(t){console.log(t)}),a.init=function(t){var e=0;a.UniqueId=function(){return"canvg"+ ++e},a.Definitions={},a.Styles={},a.StylesSpecificity={},a.Animations=[],a.Images=[],a.ctx=t,a.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(t,e){this.viewPorts.push({width:t,height:e})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(t){if(null!=t&&"number"==typeof t)return t;if("x"==t)return this.width();if("y"==t)return this.height();return Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},a.init(),a.ImagesLoaded=function(){for(var t=0;t]*>/,""),(e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t),e;try{var s=i.xmldom?new h.DOMParser(i.xmldom):new h.DOMParser;return s.parseFromString(t,"image/svg+xml")}catch(e){return(s=i.xmldom?new h.DOMParser(i.xmldom):new h.DOMParser).parseFromString(t,"text/xml")}},a.Property=function(t,e){this.name=t,this.value=e},a.Property.prototype.getValue=function(){return this.value},a.Property.prototype.hasValue=function(){return null!=this.value&&""!==this.value},a.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var t=parseFloat(this.value);return(this.value+"").match(/%$/)&&(t/=100),t},a.Property.prototype.valueOrDefault=function(t){if(this.hasValue())return this.value;return t},a.Property.prototype.numValueOrDefault=function(t){if(this.hasValue())return this.numValue();return parseFloat(t)},a.Property.prototype.addOpacity=function(e){var i=this.value;if(null!=e.value&&""!=e.value&&"string"==typeof this.value){var n=new t(this.value);n.ok&&(i="rgba("+n.r+", "+n.g+", "+n.b+", "+e.numValue()+")")}return new a.Property(this.name,i)},a.Property.prototype.getDefinition=function(){var t=this.value.match(/#([^\)'"]+)/);return t&&(t=t[1]),t||(t=this.value),a.Definitions[t]},a.Property.prototype.isUrlDefinition=function(){return 0==this.value.indexOf("url(")},a.Property.prototype.getFillStyleDefinition=function(t,e){var i=this.getDefinition();if(null!=i&&i.createGradient)return i.createGradient(a.ctx,t,e);if(null!=i&&i.createPattern){if(i.getHrefAttribute().hasValue()){var n=i.attribute("patternTransform");i=i.getHrefAttribute().getDefinition(),n.hasValue()&&(i.attribute("patternTransform",!0).value=n.value)}return i.createPattern(a.ctx,t,e)}return null},a.Property.prototype.getDPI=function(){return 96},a.Property.prototype.getREM=function(){return a.rootEmSize},a.Property.prototype.getEM=function(){return a.emSize},a.Property.prototype.getUnits=function(){var t;return(this.value+"").replace(/[0-9\.\-]/g,"")},a.Property.prototype.isPixels=function(){if(!this.hasValue())return!1;var t=this.value+"";if(t.match(/px$/))return!0;if(t.match(/^[0-9]+$/))return!0;return!1},a.Property.prototype.toPixels=function(t,e){if(!this.hasValue())return 0;var i=this.value+"";if(i.match(/rem$/))return this.numValue()*this.getREM(t);if(i.match(/em$/))return this.numValue()*this.getEM(t);if(i.match(/ex$/))return this.numValue()*this.getEM(t)/2;if(i.match(/px$/))return this.numValue();if(i.match(/pt$/))return this.numValue()*this.getDPI(t)*(1/72);if(i.match(/pc$/))return 15*this.numValue();if(i.match(/cm$/))return this.numValue()*this.getDPI(t)/2.54;if(i.match(/mm$/))return this.numValue()*this.getDPI(t)/25.4;if(i.match(/in$/))return this.numValue()*this.getDPI(t);if(i.match(/%$/))return this.numValue()*a.ViewPort.ComputeSize(t);var n=this.numValue();if(e&&n<1)return n*a.ViewPort.ComputeSize(t);return n},a.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var t;if((this.value+"").match(/ms$/))return this.numValue();return 1e3*this.numValue()},a.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var t=this.value+"";if(t.match(/deg$/))return this.numValue()*(Math.PI/180);if(t.match(/grad$/))return this.numValue()*(Math.PI/200);if(t.match(/rad$/))return this.numValue();return this.numValue()*(Math.PI/180)};var r={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return a.Property.prototype.toTextBaseline=function(){if(!this.hasValue())return null;return r[this.value]},a.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(t,e,i,n,s,r){var o=null!=r?this.Parse(r):this.CreateFont("","","","","",a.ctx.font);return{fontFamily:s=s||o.fontFamily,fontSize:n||o.fontSize,fontStyle:t||o.fontStyle,fontWeight:i||o.fontWeight,fontVariant:e||o.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var t=this;this.Parse=function(e){for(var i={},n=a.trim(a.compressSpaces(e||"")).split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},r="",o=0;othis.x2&&(this.x2=t)),null!=e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))},this.addX=function(t){this.addPoint(t,null)},this.addY=function(t){this.addPoint(null,t)},this.addBoundingBox=function(t){this.addPoint(t.x1,t.y1),this.addPoint(t.x2,t.y2)},this.addQuadraticCurve=function(t,e,i,n,s,a){var r=t+2/3*(i-t),o=e+2/3*(n-e),h=r+1/3*(s-t),l=o+1/3*(a-e);this.addBezierCurve(t,e,r,h,o,l,s,a)},this.addBezierCurve=function(t,e,i,n,s,a,r,o){var h=[t,e],l=[i,n],u=[s,a],c=[r,o];this.addPoint(h[0],h[1]),this.addPoint(c[0],c[1]);for(var f=0;f<=1;f++){var p=function(t){return Math.pow(1-t,3)*h[f]+3*Math.pow(1-t,2)*t*l[f]+3*(1-t)*Math.pow(t,2)*u[f]+Math.pow(t,3)*c[f]},d=6*h[f]-12*l[f]+6*u[f],m=-3*h[f]+9*l[f]-9*u[f]+3*c[f],y=3*l[f]-3*h[f];if(0==m){if(0==d)continue;var v=-y/d;0=0;e--)this.transforms[e].unapply(t)},this.applyToPoint=function(t){for(var e=0;e=r&&(this.styles[s]=i[s],this.stylesSpecificity[s]=n)}}};var e=new RegExp("^[A-Z-]+$"),i=function(t){if(e.test(t))return t.toLowerCase();return t};if(null!=t&&1==t.nodeType){for(var n=0;n0&&n>0&&(t.moveTo(e+r,i),t.lineTo(e+n-r,i),t.bezierCurveTo(e+n-r+h*r,i,e+n,i+o-h*o,e+n,i+o),t.lineTo(e+n,i+s-o),t.bezierCurveTo(e+n,i+s-o+h*o,e+n-r+h*r,i+s,e+n-r,i+s),t.lineTo(e+r,i+s),t.bezierCurveTo(e+r-h*r,i+s,e,i+s-o+h*o,e,i+s-o),t.lineTo(e,i+o),t.bezierCurveTo(e,i+o-h*o,e+r-h*r,i,e+r,i),t.closePath())}return new a.BoundingBox(e,i,e+n,i+s)}},a.Element.rect.prototype=new a.Element.PathElementBase,a.Element.circle=function(t){this.base=a.Element.PathElementBase,this.base(t),this.path=function(t){var e=this.attribute("cx").toPixels("x"),i=this.attribute("cy").toPixels("y"),n=this.attribute("r").toPixels();return null!=t&&n>0&&(t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()),new a.BoundingBox(e-n,i-n,e+n,i+n)}},a.Element.circle.prototype=new a.Element.PathElementBase,a.Element.ellipse=function(t){this.base=a.Element.PathElementBase,this.base(t),this.path=function(t){var e=4*((Math.sqrt(2)-1)/3),i=this.attribute("rx").toPixels("x"),n=this.attribute("ry").toPixels("y"),s=this.attribute("cx").toPixels("x"),r=this.attribute("cy").toPixels("y");return null!=t&&(t.beginPath(),t.moveTo(s+i,r),t.bezierCurveTo(s+i,r+e*n,s+e*i,r+n,s,r+n),t.bezierCurveTo(s-e*i,r+n,s-i,r+e*n,s-i,r),t.bezierCurveTo(s-i,r-e*n,s-e*i,r-n,s,r-n),t.bezierCurveTo(s+e*i,r-n,s+i,r-e*n,s+i,r),t.closePath()),new a.BoundingBox(s-i,r-n,s+i,r+n)}},a.Element.ellipse.prototype=new a.Element.PathElementBase,a.Element.line=function(t){this.base=a.Element.PathElementBase,this.base(t),this.getPoints=function(){return[new a.Point(this.attribute("x1").toPixels("x"),this.attribute("y1").toPixels("y")),new a.Point(this.attribute("x2").toPixels("x"),this.attribute("y2").toPixels("y"))]},this.path=function(t){var e=this.getPoints();return null!=t&&(t.beginPath(),t.moveTo(e[0].x,e[0].y),t.lineTo(e[1].x,e[1].y)),new a.BoundingBox(e[0].x,e[0].y,e[1].x,e[1].y)},this.getMarkers=function(){var t=this.getPoints(),e=t[0].angleTo(t[1]);return[[t[0],e],[t[1],e]]}},a.Element.line.prototype=new a.Element.PathElementBase,a.Element.polyline=function(t){this.base=a.Element.PathElementBase,this.base(t),this.points=a.CreatePath(this.attribute("points").value),this.path=function(t){var e=new a.BoundingBox(this.points[0].x,this.points[0].y);null!=t&&(t.beginPath(),t.moveTo(this.points[0].x,this.points[0].y));for(var i=1;i0&&t.push([this.points[this.points.length-1],t[t.length-1][1]]),t}},a.Element.polyline.prototype=new a.Element.PathElementBase,a.Element.polygon=function(t){this.base=a.Element.polyline,this.base(t),this.basePath=this.path,this.path=function(t){var e=this.basePath(t);return null!=t&&(t.lineTo(this.points[0].x,this.points[0].y),t.closePath()),e}},a.Element.polygon.prototype=new a.Element.polyline,a.Element.path=function(t){this.base=a.Element.PathElementBase,this.base(t);var e=this.attribute("d").value;e=e.replace(/,/gm," ");for(var i=0;i<2;i++)e=e.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");e=(e=e.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2");for(var i=0;i<2;i++)e=e.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");e=e.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),e=a.compressSpaces(e),e=a.trim(e),this.PathParser=new function(t){this.tokens=t.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new a.Point(0,0),this.control=new a.Point(0,0),this.current=new a.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){if(this.isEnd())return!0;return null!=this.tokens[this.i+1].match(/^[A-Za-z]$/)},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new a.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var t=this.getPoint();return this.control=t,t},this.getAsCurrentPoint=function(){var t=this.getPoint();return this.current=t,t},this.getReflectedControlPoint=function(){if("c"!=this.previousCommand.toLowerCase()&&"s"!=this.previousCommand.toLowerCase()&&"q"!=this.previousCommand.toLowerCase()&&"t"!=this.previousCommand.toLowerCase())return this.current;var t;return new a.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(t){return this.isRelativeCommand()&&(t.x+=this.current.x,t.y+=this.current.y),t},this.addMarker=function(t,e,i){null!=i&&this.angles.length>0&&null==this.angles[this.angles.length-1]&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(i)),this.addMarkerAngle(t,null==e?null:e.angleTo(t))},this.addMarkerAngle=function(t,e){this.points.push(t),this.angles.push(e)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var t=0;t1&&(c*=Math.sqrt(v),f*=Math.sqrt(v));var g=(d==m?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(f,2)-Math.pow(c,2)*Math.pow(y.y,2)-Math.pow(f,2)*Math.pow(y.x,2))/(Math.pow(c,2)*Math.pow(y.y,2)+Math.pow(f,2)*Math.pow(y.x,2)));isNaN(g)&&(g=0);var x=new a.Point(g*c*y.y/f,g*-f*y.x/c),b=new a.Point((o.x+u.x)/2+Math.cos(p)*x.x-Math.sin(p)*x.y,(o.y+u.y)/2+Math.sin(p)*x.x+Math.cos(p)*x.y),P=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))},E=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(P(t)*P(e))},w=function(t,e){return(t[0]*e[1]=1&&(T=0);var S=1-m?1:-1,V=C+S*(T/2),k=new a.Point(b.x+c*Math.cos(V),b.y+f*Math.sin(V));if(e.addMarkerAngle(k,V-S*Math.PI/2),e.addMarkerAngle(u,V-S*Math.PI),i.addPoint(u.x,u.y),null!=t&&!isNaN(C)&&!isNaN(T)){var E=c>f?c:f,A=c>f?1:c/f,D=c>f?f/c:1;t.translate(b.x,b.y),t.rotate(p),t.scale(A,D),t.arc(0,0,E,C,C+T,1-m),t.scale(1/A,1/D),t.rotate(-p),t.translate(-b.x,-b.y)}}break;case"Z":case"z":null!=t&&i.x1!==i.x2&&i.y1!==i.y2&&t.closePath(),e.current=e.start}return i},this.getMarkers=function(){for(var t=this.PathParser.getMarkerPoints(),e=this.PathParser.getMarkerAngles(),i=[],n=0;n1&&(this.offset=1);var e=this.style("stop-color",!0);""===e.value&&(e.value="#000"),this.style("stop-opacity").hasValue()&&(e=e.addOpacity(this.style("stop-opacity"))),this.color=e.value},a.Element.stop.prototype=new a.Element.ElementBase,a.Element.AnimateBase=function(t){this.base=a.Element.ElementBase,this.base(t),a.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var t=this.attribute("attributeType").value,e=this.attribute("attributeName").value;if("CSS"==t)return this.parent.style(e,!0);return this.parent.attribute(e,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(t){if(null==this.initialValue&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if("indefinite"==this.attribute("repeatCount").value||"indefinite"==this.attribute("repeatDur").value)this.duration=0;else if("freeze"!=this.attribute("fill").valueOrDefault("remove")||this.frozen){if("remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+t;var e=!1;if(this.begini&&r.attribute("x").hasValue())break;s+=r.measureTextRecursive(t)}return-1*("end"==n?s:s/2)}return 0},this.adjustChildCoordinates=function(t,e,i,n){var s=i.children[n];if("function"!=typeof s.measureText)return s;if(s.attribute("x").hasValue()){s.x=s.attribute("x").toPixels("x")+e.getAnchorDelta(t,i,n);var a=s.attribute("text-anchor").valueOrDefault("start");if("start"!==a){var r=s.measureTextRecursive(t);s.x+=-1*("end"==a?r:r/2)}s.attribute("dx").hasValue()&&(s.x+=s.attribute("dx").toPixels("x"))}else s.attribute("dx").hasValue()&&(e.x+=s.attribute("dx").toPixels("x")),s.x=e.x;return e.x=s.x+s.measureText(t),s.attribute("y").hasValue()?(s.y=s.attribute("y").toPixels("y"),s.attribute("dy").hasValue()&&(s.y+=s.attribute("dy").toPixels("y"))):(s.attribute("dy").hasValue()&&(e.y+=s.attribute("dy").toPixels("y")),s.y=e.y),e.y=s.y,s},this.getChildBoundingBox=function(t,e,i,n){for(var s=this.adjustChildCoordinates(t,e,i,n),a=s.getBoundingBox(t),n=0;n0&&" "!=e[i-1]&&i0&&" "!=e[i-1]&&(i==e.length-1||" "==e[i+1])&&(a="initial"),void 0!==t.glyphs[n]&&null==(s=t.glyphs[n][a])&&"glyph"==t.glyphs[n].type&&(s=t.glyphs[n])}else s=t.glyphs[n];return null==s&&(s=t.missingGlyph),s},this.renderChildren=function(t){var e=this.parent.style("font-family").getDefinition();if(null!=e){var i=this.parent.style("font-size").numValueOrDefault(a.Font.Parse(a.ctx.font).fontSize),n=this.parent.style("font-style").valueOrDefault(a.Font.Parse(a.ctx.font).fontStyle),s=this.getText();e.isRTL&&(s=s.split("").reverse().join(""));for(var r=a.ToNumberArray(this.parent.attribute("dx").value),o=0;o0)return"";return this.text}},a.Element.tspan.prototype=new a.Element.TextElementBase,a.Element.tref=function(t){this.base=a.Element.TextElementBase,this.base(t),this.getText=function(){var t=this.getHrefAttribute().getDefinition();if(null!=t)return t.children[0].getText()}},a.Element.tref.prototype=new a.Element.TextElementBase,a.Element.a=function(t){this.base=a.Element.TextElementBase,this.base(t),this.hasText=t.childNodes.length>0;for(var e=0;e0){var i=new a.Element.g;i.children=this.children,i.parent=this,i.render(t)}},this.onclick=function(){h.open(this.getHrefAttribute().value)},this.onmousemove=function(){a.ctx.canvas.style.cursor="pointer"}},a.Element.a.prototype=new a.Element.TextElementBase,a.Element.textPath=function(t){this.base=a.Element.TextElementBase,this.base(t);var e=this.getHrefAttribute().getDefinition();this.text=a.compressSpaces(t.value||t.text||t.textContent||""),this.renderChildren=function(t){this.setTextData(t),t.save();var e=this.parent.style("text-decoration").value,i=this.fontSize(),n=this.glyphInfo,s=t.fillStyle;"underline"===e&&t.beginPath();for(var r=0;rh?o:h,d=o>h?1:o/h,m=o>h?h/o:1;null!=t&&(t.translate(a,r),t.rotate(c),t.scale(d,m),t.arc(0,0,p,l,l+u,1-f),t.scale(1/d,1/m),t.rotate(-c),t.translate(-a,-r));break;case"z":null!=t&&t.closePath();break}}},this.getText=function(){return this.text},this.fontSize=function(){return this.parent.style("font-size").numValueOrDefault(a.Font.Parse(a.ctx.font).fontSize)},this.measureText=function(t,e){var i=this.parent.style("font-family").getDefinition();if(e=e||this.getText(),null!=i){var n=this.fontSize(),s=0;i.isRTL&&(e=e.split("").reverse().join(""));for(var r=a.ToNumberArray(this.parent.attribute("dx").value),o=0;o-1&&(m+=y(s));var r=e.textHeight/20,h={p0:e.getEquidistantPointOnPath(m,r),p1:e.getEquidistantPointOnPath(m+a,r)};return m+=a,h},u=0;u1&&(m*=Math.sqrt(P),y*=Math.sqrt(P));var E=(g==x?-1:1)*Math.sqrt((Math.pow(m,2)*Math.pow(y,2)-Math.pow(m,2)*Math.pow(b.y,2)-Math.pow(y,2)*Math.pow(b.x,2))/(Math.pow(m,2)*Math.pow(b.y,2)+Math.pow(y,2)*Math.pow(b.x,2)));isNaN(E)&&(E=0);var w=new a.Point(E*m*b.y/y,E*-y*b.x/m),C=new a.Point((d.x+p.x)/2+Math.cos(v)*w.x-Math.sin(v)*w.y,(d.y+p.y)/2+Math.sin(v)*w.x+Math.cos(v)*w.y),B=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))},M=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(B(t)*B(e))},T=function(t,e){return(t[0]*e[1]=1&&(A=0),0===x&&A>0&&(A-=2*Math.PI),1===x&&A<0&&(A+=2*Math.PI),n=[C.x,C.y,m,y,S,A,v,x]}break;case"Z":case"z":i.current=i.start}"Z"!==h?e.push({command:s||h,points:n,start:{x:r,y:o},pathLength:this.calcLength(r,o,s||h,n)}):e.push({command:"z",points:[],start:void 0,pathLength:0})}return e},this.getPathLength=function(){if(void 0===this.pathLength||null===this.pathLength||isNaN(this.pathLength)){this.pathLength=0;for(var t=0;t0&&(this.pathLength+=this.dataArray[t].pathLength)}return this.pathLength},this.getPointOnPath=function(t){var e=0,i=this.getPathLength(),n=void 0;if(t<-5e-5||t-5e-5>i)return;for(var s=0;s=0&&o>u)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],o,a.points[6]);break;case"C":(o=r/a.pathLength)>1&&(o=1),n=this.getPointOnCubicBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case"Q":(o=r/a.pathLength)>1&&(o=1),n=this.getPointOnQuadraticBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3]);break}if(void 0!==n&&n!=={})return n;break}},this.buildEquidistantCache=function(t,e){var i=this.getPathLength();if(e=e||.25,t=t||i/100,this.equidistantCache=this.equidistantCache||{},!this.equidistantCache.hasOwnProperty("points")||this.equidistantCache.step!=t||this.equidistantCache.precision!=e){this.equidistantCache={step:t,precision:e,points:[]};for(var n=0,s=0;s<=i;s+=e){var a=this.getPointOnPath(s),r=this.getPointOnPath(s+e);if(void 0===a||void 0===r)continue;(n+=this.getLineLength(a.x,a.y,r.x,r.y))>=t&&(this.equidistantCache.points.push({x:a.x,y:a.y,distance:s}),n-=t)}}},this.getEquidistantPointOnPath=function(t,e,i){if(this.buildEquidistantCache(e,i),t<0||t-this.getPathLength()>5e-5)return;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||void 0},this.getLineLength=function(t,e,i,n){return Math.sqrt((i-t)*(i-t)+(n-e)*(n-e))},this.getPointOnLine=function(t,e,i,n,s,a,r){void 0===a&&(a=e),void 0===r&&(r=i);var o=(s-i)/(n-e+1e-8),h=Math.sqrt(t*t/(1+o*o));nu;o-=c)r=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;else for(o=h+c;o0){var b=a.ParseExternalUrl(g[x]);if(b)for(var P,E=a.parseXml(a.ajax(b)).getElementsByTagName("font"),w=0;w~\.\[:]+)/g,y=/(\.[^\s\+>~\.\[:]+)/g,v=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,g=/(:[\w-]+\([^\)]*\))/gi,x=/(:[^\s\+>~\.\[:]+)/g,b=/([^\s\+>~\.\[:]+)/g;"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.drawSvg=function(t,e,i,n,s,a){var r={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:e,offsetY:i,scaleWidth:n,scaleHeight:s};for(var o in a)a.hasOwnProperty(o)&&(r[o]=a[o]);f(this.canvas,t,r)}),f._build=a,i.exports=f}))}));; var Stimulsoft;!function(t){var e;e=t.ExternalLibrary||(t.ExternalLibrary={})}(Stimulsoft||(Stimulsoft={})),function(t){Stimulsoft.ExternalLibrary.JSZip=t()}((function(){var t,e,r;return function t(e,r,n){function i(s,o){if(!r[s]){if(!e[s]){var h="function"==typeof require&&require;if(!o&&h)return h(s,!0);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}var d=r[s]={exports:{}};e[s][0].call(d.exports,(function(t){var r=e[s][1][t];return i(r||t)}),d,d.exports,t,e,r,n)}return r[s].exports}for(var a="function"==typeof require&&require,s=0;s>2,h=(3&i)<<4|(a=t.charCodeAt(u++))>>4,d=(15&a)<<2|(s=t.charCodeAt(u++))>>6,l=63&s,isNaN(a)?d=l=64:isNaN(s)&&(l=64),r=r+n.charAt(o)+n.charAt(h)+n.charAt(d)+n.charAt(l);return r},r.decode=function(t,e){var r="",i,a,s,o,h,d,l,u=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u>4,a=(15&h)<<4|(d=n.indexOf(t.charAt(u++)))>>2,s=(3&d)<<6|(l=n.indexOf(t.charAt(u++))),r+=String.fromCharCode(i),64!=d&&(r+=String.fromCharCode(a)),64!=l&&(r+=String.fromCharCode(s));return r}},{}],2:[function(t,e,r){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=n},{}],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 n=t("./utils"),i=[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 a="string"!==n.getTypeOf(e);void 0===r&&(r=0);var s=0,o=0,h=0;r^=-1;for(var d=0,l=e.length;d>>8^(s=i[o=255&(r^h)]);return-1^r}},{"./utils":21}],5:[function(t,e,r){"use strict";function n(t){this.data=null,this.length=0,this.index=0}var i=t("./utils");n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length=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 n=t("./utils");r.string2binary=function(t){return n.string2binary(t)},r.string2Uint8Array=function(t){return n.transformTo("uint8array",t)},r.uint8Array2String=function(t){return n.transformTo("string",t)},r.string2Blob=function(t){var e=n.transformTo("arraybuffer",t);return n.arrayBuffer2Blob(e)},r.arrayBuffer2Blob=function(t){return n.arrayBuffer2Blob(t)},r.transformTo=function(t,e){return n.transformTo(t,e)},r.getTypeOf=function(t){return n.getTypeOf(t)},r.checkSupport=function(t){return n.checkSupport(t)},r.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,r.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,r.pretty=function(t){return n.pretty(t)},r.findCompression=function(t){return n.findCompression(t)},r.isRegExp=function(t){return n.isRegExp(t)}},{"./utils":21}],8:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako");r.uncompressInputType=n?"uint8array":"array",r.compressInputType=n?"uint8array":"array",r.magic="\b\0",r.compress=function(t,e){return i.deflateRaw(t,{level:e.level||-1})},r.uncompress=function(t){return i.inflateRaw(t)}},{pako:24}],9:[function(t,e,r){"use strict";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;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}var i=t("./base64");n.prototype=t("./object"),n.prototype.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 n=t("./base64"),i=t("./zipEntries");e.exports=function(t,e){var r,a,s,o;for((e=e||{}).base64&&(t=n.decode(t)),r=(a=new i(t,e)).files,s=0;s>>=8;return r},v=function(){var t={},e,r;for(e=0;e0?t.substring(0,e):""},z=function(t){return"/"!=t.slice(-1)&&(t+="/"),t},C=function(t,e){return e=void 0!==e&&e,t=z(t),this.files[t]||k.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},A=function(t,e,r){var n=new l,s;return t._data instanceof l?(n.uncompressedSize=t._data.uncompressedSize,n.crc32=t._data.crc32,0===n.uncompressedSize||t.dir?(e=d["STORE"],n.compressedContent="",n.crc32=0):t._data.compressionMethod===e.magic?n.compressedContent=t._data.getCompressedContent():(s=t._data.getContent(),n.compressedContent=e.compress(i.transformTo(e.compressInputType,s),r))):((s=m(t))&&0!==s.length&&!t.dir||(e=d["STORE"],s=""),n.uncompressedSize=s.length,n.crc32=a(s),n.compressedContent=e.compress(i.transformTo(e.compressInputType,s),r)),n.compressedSize=n.compressedContent.length,n.compressionMethod=e.magic,n},E=function(t,e){var r=t;return t||(r=e?16893:33204),(65535&r)<<16},S=function(t,e){return 63&(t||0)},B=function(t,e,r,n,o){var h=r.compressedContent,d=i.transformTo("string",f.utf8encode(e.name)),l=e.comment||"",u=i.transformTo("string",f.utf8encode(l)),c=d.length!==e.name.length,p=u.length!==l.length,_=e.options,m,g,b="",v="",y="",k,x;k=e._initialMetadata.dir!==e.dir?e.dir:_.dir,x=e._initialMetadata.date!==e.date?e.date:_.date;var z=0,C=0;k&&(z|=16),"UNIX"===o?(C=798,z|=E(e.unixPermissions,k)):(C=20,z|=S(e.dosPermissions,k)),m=x.getHours(),m<<=6,m|=x.getMinutes(),m<<=5,m|=x.getSeconds()/2,g=x.getFullYear()-1980,g<<=4,g|=x.getMonth()+1,g<<=5,g|=x.getDate(),c&&(v=w(1,1)+w(a(d),4)+d,b+="up"+w(v.length,2)+v),p&&(y=w(1,1)+w(this.crc32(u),4)+u,b+="uc"+w(y.length,2)+y);var A="",B,I;return A+="\n\0",A+=c||p?"\0\b":"\0\0",A+=r.compressionMethod,A+=w(m,2),A+=w(g,2),A+=w(r.crc32,4),A+=w(r.compressedSize,4),A+=w(r.uncompressedSize,4),A+=w(d.length,2),A+=w(b.length,2),{fileRecord:s.LOCAL_FILE_HEADER+A+d+b,dirRecord:s.CENTRAL_FILE_HEADER+w(C,2)+A+w(u.length,2)+"\0\0"+"\0\0"+w(z,4)+w(n,4)+d+b+u,compressedObject:r}},I={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,n,i,a;for(r in this.files){if(!this.files.hasOwnProperty(r))continue;i=this.files[r],a=new b(i.name,i._data,v(i.options)),n=r.slice(this.root.length,r.length),r.slice(0,this.root.length)===this.root&&t(n,a)&&e.push(a)}return e},file:function(t,e,r){if(1===arguments.length){if(i.isRegExp(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}return this.filter((function(e,r){return!r.dir&&e===t}))[0]||null}return t=this.root+t,k.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(i.isRegExp(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=C.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!=t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n=0;--a)if(this.data[a]===e&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a;return-1},n.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=n},{"./dataReader":5}],19:[function(t,e,r){"use strict";var n=t("./utils"),i=function(t){this.data=new Uint8Array(t),this.index=0};i.prototype={append:function(t){0!==t.length&&(t=n.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},e.exports=i},{"./utils":21}],20:[function(t,e,r){"use strict";for(var n=t("./utils"),i=t("./support"),a=t("./nodeBuffer"),s=new Array(256),o=0;o<256;o++)s[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;s[254]=s[254]=1;var h=function(t){var e,r,n,a,s,o=t.length,h=0;for(a=0;a>>6,e[s++]=128|63&r):r<65536?(e[s++]=224|r>>>12,e[s++]=128|r>>>6&63,e[s++]=128|63&r):(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63,e[s++]=128|r>>>6&63,e[s++]=128|63&r);return e},d=function(t,e){var r;(e=e||t.length)>t.length&&(e=t.length),r=e-1;while(r>=0&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+s[t[r]]>e?r:e},l=function(t){var e,r,i,a,o,h=t.length,d=new Array(2*h);for(i=0,r=0;r4){d[i++]=65533,r+=o-1;continue}a&=2===o?31:3===o?15:7;while(o>1&&r1){d[i++]=65533;continue}a<65536?d[i++]=a:(a-=65536,d[i++]=55296|a>>10&1023,d[i++]=56320|1023&a)}return d.length!==i&&(d.subarray?d=d.subarray(0,i):d.length=i),n.applyFromCharCode(d)};r.utf8encode=function t(e){if(i.nodebuffer)return a(e,"utf-8");return h(e)},r.utf8decode=function t(e){if(i.nodebuffer)return n.transformTo("nodebuffer",e).toString("utf-8");var r=[],a=0,s=(e=n.transformTo(i.uint8array?"uint8array":"array",e)).length,o=65536;while(a1)try{"array"===a||"nodebuffer"===a?n.push(String.fromCharCode.apply(null,t.slice(s,Math.min(s+e,i)))):n.push(String.fromCharCode.apply(null,t.subarray(s,Math.min(s+e,i)))),s+=e}catch(t){e=Math.floor(e/2)}return n.join("")}function s(t,e){for(var r=0;r1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t>8;this.dir=!!(16&this.externalFileAttributes),t===h&&(this.dosPermissions=63&this.externalFileAttributes),t===d&&(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,n,i;this.extraFields=this.extraFields||{};while(t.index0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=s.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==c)throw new Error(d[r]);e.header&&s.deflateSetHeader(this.strm,e.header)};b.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=e===~~e?e:!0===e?f:u,r.input="string"==typeof t?h.string2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new o.Buf8(n),r.next_out=0,r.avail_out=n),(i=s.deflate(r,a))!==p&&i!==c)return this.onEnd(i),this.ended=!0,!1;(0===r.avail_out||0===r.avail_in&&a===f)&&("string"===this.options.to?this.onData(h.buf2binstring(o.shrinkBuf(r.output,r.next_out))):this.onData(o.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&i!==p);if(a===f)return i=s.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===c;return!0},b.prototype.onData=function(t){this.chunks.push(t)},b.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=b,r.deflate=n,r.deflateRaw=i,r.gzip=a},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(t,e,r){"use strict";function n(t,e){var r=new f(e);if(r.push(t,!0),r.err)throw r.msg;return r.result}function i(t,e){return(e=e||{}).raw=!0,n(t,e)}var a=t("./zlib/inflate.js"),s=t("./utils/common"),o=t("./utils/strings"),h=t("./zlib/constants"),d=t("./zlib/messages"),l=t("./zlib/zstream"),u=t("./zlib/gzheader"),f=function(t){this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=a.inflateInit2(this.strm,e.windowBits);if(r!==h.Z_OK)throw new Error(d[r]);this.header=new u,a.inflateGetHeader(this.strm,this.header)};f.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,d,l,u,f;if(this.ended)return!1;d=e===~~e?e:!0===e?h.Z_FINISH:h.Z_NO_FLUSH,r.input="string"==typeof t?o.binstring2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new s.Buf8(n),r.next_out=0,r.avail_out=n),(i=a.inflate(r,h.Z_NO_FLUSH))!==h.Z_STREAM_END&&i!==h.Z_OK)return this.onEnd(i),this.ended=!0,!1;r.next_out&&(0===r.avail_out||i===h.Z_STREAM_END||0===r.avail_in&&d===h.Z_FINISH)&&("string"===this.options.to?(l=o.utf8border(r.output,r.next_out),u=r.next_out-l,f=o.buf2string(r.output,l),r.next_out=u,r.avail_out=n-u,u&&s.arraySet(r.output,r.output,l,u,0),this.onData(f)):this.onData(s.shrinkBuf(r.output,r.next_out)))}while(r.avail_in>0&&i!==h.Z_STREAM_END);if(i===h.Z_STREAM_END&&(d=h.Z_FINISH),d===h.Z_FINISH)return i=a.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===h.Z_OK;return!0},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===h.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=f,r.inflate=n,r.inflateRaw=i,r.ungzip=n},{"./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 n="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();if(!r)continue;if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}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 i={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+n),i);for(var a=0;a=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;o[254]=o[254]=1,r.string2buf=function(t){var e,r,n,a,s,o=t.length,h=0;for(a=0;a>>6,e[s++]=128|63&r):r<65536?(e[s++]=224|r>>>12,e[s++]=128|r>>>6&63,e[s++]=128|63&r):(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63,e[s++]=128|r>>>6&63,e[s++]=128|63&r);return e},r.buf2binstring=function(t){return n(t,t.length)},r.binstring2buf=function(t){for(var e=new i.Buf8(t.length),r=0,n=e.length;r4){d[i++]=65533,r+=s-1;continue}a&=2===s?31:3===s?15:7;while(s>1&&r1){d[i++]=65533;continue}a<65536?d[i++]=a:(a-=65536,d[i++]=55296|a>>10&1023,d[i++]=56320|1023&a)}return n(d,i)},r.utf8border=function(t,e){var r;(e=e||t.length)>t.length&&(e=t.length),r=e-1;while(r>=0&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+o[t[r]]>e?r:e}},{"./common":27}],29:[function(t,e,r){"use strict";function n(t,e,r,n){var i=65535&t|0,a=t>>>16&65535|0,s=0;while(0!==r){r-=s=r>2e3?2e3:r;do{a=a+(i=i+e[n++]|0)|0}while(--s);i%=65521,a%=65521}return i|a<<16|0}e.exports=n},{}],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 n(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}function i(t,e,r,n){var i=a,s=n+r;t^=-1;for(var o=n;o>>8^i[255&(t^e[o])];return-1^t}var a=n();e.exports=i},{}],32:[function(t,e,r){"use strict";function n(t,e){return t.msg=T[e],e}function i(t){return(t<<1)-(t>4?9:0)}function a(t){var e=t.length;while(--e>=0)t[e]=0}function s(t){var e=t.state,r=e.pending;if(r>t.avail_out&&(r=t.avail_out),0===r)return;E.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 o(t,e){S._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,s(t.strm)}function h(t,e){t.pending_buf[t.pending++]=e}function d(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function l(t,e,r,n){var i=t.avail_in;if(i>n&&(i=n),0===i)return 0;return t.avail_in-=i,E.arraySet(e,t.input,t.next_in,i,r),1===t.state.wrap?t.adler=B(t.adler,e,i,r):2===t.state.wrap&&(t.adler=I(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i}function u(t,e){var r=t.max_chain_length,n=t.strstart,i,a,s=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-ht?t.strstart-(t.w_size-ht):0,d=t.window,l=t.w_mask,u=t.prev,f=t.strstart+ot,c=d[n+s-1],p=d[n+s];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do{if(d[(i=e)+s]!==p||d[i+s-1]!==c||d[i]!==d[n]||d[++i]!==d[n+1])continue;n+=2,i++;do{}while(d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&ns){if(t.match_start=e,s=a,a>=o)break;c=d[n+s-1],p=d[n+s]}}while((e=u[e&l])>h&&0!=--r);if(s<=t.lookahead)return s;return t.lookahead}function f(t){var e=t.w_size,r,n,i,a,s;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-ht)){E.arraySet(t.window,t.window,e,e,0),t.match_start-=e,t.strstart-=e,t.block_start-=e,r=n=t.hash_size;do{i=t.head[--r],t.head[r]=i>=e?i-e:0}while(--n);r=n=e;do{i=t.prev[--r],t.prev[r]=i>=e?i-e:0}while(--n);a+=e}if(0===t.strm.avail_in)break;if(n=l(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=n,t.lookahead+t.insert>=st){s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(f(t),0===t.lookahead&&e===O)return gt;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,o(t,!1),0===t.strm.avail_out))return gt;if(t.strstart-t.block_start>=t.w_size-ht&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.strstart>t.block_start&&(o(t,!1),0===t.strm.avail_out))return gt;return gt}function p(t,e){for(var r,n;;){if(t.lookahead=st&&(t.ins_h=(t.ins_h<=st)if(n=S._tr_tally(t,t.strstart-t.match_start,t.match_length-st),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=st){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=st&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=st-1)),t.prev_length>=st&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-st,n=S._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-st),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<=st&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+ot;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&it.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=st?(r=S._tr_tally(t,1,t.match_length-st),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function g(t,e){for(var r;;){if(0===t.lookahead&&(f(t),0===t.lookahead)){if(e===O)return gt;break}if(t.match_length=0,r=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function b(t){t.window_size=2*t.w_size,a(t.head),t.max_lazy_match=xt[t.level].max_lazy,t.good_match=xt[t.level].good_length,t.nice_match=xt[t.level].nice_length,t.max_chain_length=xt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=st-1,t.match_available=0,t.ins_h=0}function w(){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=q,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 E.Buf16(2*it),this.dyn_dtree=new E.Buf16(2*(2*rt+1)),this.bl_tree=new E.Buf16(2*(2*nt+1)),a(this.dyn_ltree),a(this.dyn_dtree),a(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new E.Buf16(at+1),this.heap=new E.Buf16(2*et+1),a(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new E.Buf16(2*et+1),a(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 v(t){var e;if(!t||!t.state)return n(t,Z);return t.total_in=t.total_out=0,t.data_type=W,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?lt:_t,t.adler=2===e.wrap?0:1,e.last_flush=O,S._tr_init(e),U}function y(t){var e=v(t);return e===U&&b(t.state),e}function k(t,e){if(!t||!t.state)return Z;if(2!==t.state.wrap)return Z;return t.state.gzhead=e,U}function x(t,e,r,i,a,s){if(!t)return Z;var o=1;if(e===j&&(e=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>G||r!==q||i<8||i>15||e<0||e>9||s<0||s>V)return n(t,Z);8===i&&(i=9);var h=new w;return t.state=h,h.strm=t,h.wrap=o,h.gzhead=null,h.w_bits=i,h.w_size=1<>1,h.l_buf=(1+2)*h.lit_bufsize,h.level=e,h.strategy=s,h.method=r,y(t)}function z(t,e){return x(t,e,q,J,Q,Y)}function C(t,e){var r,o,l,u;if(!t||!t.state||e>N||e<0)return t?n(t,Z):Z;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===mt&&e!==D)return n(t,0===t.avail_out?M:Z);if(o.strm=t,r=o.last_flush,o.last_flush=e,o.status===lt)if(2===o.wrap)t.adler=0,h(o,31),h(o,139),h(o,8),o.gzhead?(h(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),h(o,255&o.gzhead.time),h(o,o.gzhead.time>>8&255),h(o,o.gzhead.time>>16&255),h(o,o.gzhead.time>>24&255),h(o,9===o.level?2:o.strategy>=X||o.level<2?4:0),h(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(h(o,255&o.gzhead.extra.length),h(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=I(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=ut):(h(o,0),h(o,0),h(o,0),h(o,0),h(o,0),h(o,9===o.level?2:o.strategy>=X||o.level<2?4:0),h(o,yt),o.status=_t);else{var f=q+(o.w_bits-8<<4)<<8,c=-1;f|=(c=o.strategy>=X||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(f|=dt),f+=31-f%31,o.status=_t,d(o,f),0!==o.strstart&&(d(o,t.adler>>>16),d(o,65535&t.adler)),t.adler=1}if(o.status===ut)if(o.gzhead.extra){l=o.pending;while(o.gzindex<(65535&o.gzhead.extra.length)){if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>l&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),s(t),l=o.pending,o.pending===o.pending_buf_size))break;h(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++}o.gzhead.hcrc&&o.pending>l&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=ft)}else o.status=ft;if(o.status===ft)if(o.gzhead.name){l=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>l&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),s(t),l=o.pending,o.pending===o.pending_buf_size)){u=1;break}u=o.gzindexl&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),0===u&&(o.gzindex=0,o.status=ct)}else o.status=ct;if(o.status===ct)if(o.gzhead.comment){l=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>l&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),s(t),l=o.pending,o.pending===o.pending_buf_size)){u=1;break}u=o.gzindexl&&(t.adler=I(t.adler,o.pending_buf,o.pending-l,l)),0===u&&(o.status=pt)}else o.status=pt;if(o.status===pt&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&s(t),o.pending+2<=o.pending_buf_size&&(h(o,255&t.adler),h(o,t.adler>>8&255),t.adler=0,o.status=_t)):o.status=_t),0!==o.pending){if(s(t),0===t.avail_out)return o.last_flush=-1,U}else if(0===t.avail_in&&i(e)<=i(r)&&e!==D)return n(t,M);if(o.status===mt&&0!==t.avail_in)return n(t,M);if(0!==t.avail_in||0!==o.lookahead||e!==O&&o.status!==mt){var p=o.strategy===X?g(o,e):o.strategy===K?m(o,e):xt[o.level].func(o,e);if(p!==wt&&p!==vt||(o.status=mt),p===gt||p===wt)return 0===t.avail_out&&(o.last_flush=-1),U;if(p===bt&&(e===R?S._tr_align(o):e!==N&&(S._tr_stored_block(o,0,0,!1),e===L&&(a(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),s(t),0===t.avail_out))return o.last_flush=-1,U}if(e!==D)return U;if(o.wrap<=0)return F;return 2===o.wrap?(h(o,255&t.adler),h(o,t.adler>>8&255),h(o,t.adler>>16&255),h(o,t.adler>>24&255),h(o,255&t.total_in),h(o,t.total_in>>8&255),h(o,t.total_in>>16&255),h(o,t.total_in>>24&255)):(d(o,t.adler>>>16),d(o,65535&t.adler)),s(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?U:F}function A(t){var e;if(!t||!t.state)return Z;if((e=t.state.status)!==lt&&e!==ut&&e!==ft&&e!==ct&&e!==pt&&e!==_t&&e!==mt)return n(t,Z);return t.state=null,e===_t?n(t,P):U}var E=t("../utils/common"),S=t("./trees"),B=t("./adler32"),I=t("./crc32"),T=t("./messages"),O=0,R=1,L=3,D=4,N=5,U=0,F=1,Z=-2,P=-3,M=-5,j=-1,H=1,X=2,K=3,V=4,Y=0,W=2,q=8,G=9,J=15,Q=8,$,tt,et=256+1+29,rt=30,nt=19,it=2*et+1,at=15,st=3,ot=258,ht=ot+st+1,dt=32,lt=42,ut=69,ft=73,ct=91,pt=103,_t=113,mt=666,gt=1,bt=2,wt=3,vt=4,yt=3,kt=function(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i},xt;xt=[new kt(0,0,0,0,c),new kt(4,4,8,4,p),new kt(4,5,16,8,p),new kt(4,6,32,32,p),new kt(4,4,16,16,_),new kt(8,16,32,32,_),new kt(8,16,128,128,_),new kt(8,32,128,256,_),new kt(32,128,258,1024,_),new kt(32,258,258,4096,_)],r.deflateInit=z,r.deflateInit2=x,r.deflateReset=y,r.deflateResetKeep=v,r.deflateSetHeader=k,r.deflate=C,r.deflateEnd=A,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 n(){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=n},{}],34:[function(t,e,r){"use strict";var n=30,i=12;e.exports=function t(e,r){var a,s,o,h,d,l,u,f,c,p,_,m,g,b,w,v,y,k,x,z,C,A,E,S,B;a=e.state,s=e.next_in,S=e.input,o=s+(e.avail_in-5),h=e.next_out,B=e.output,d=h-(r-e.avail_out),l=h+(e.avail_out-257),u=a.dmax,f=a.wsize,c=a.whave,p=a.wnext,_=a.window,m=a.hold,g=a.bits,b=a.lencode,w=a.distcode,v=(1<>>=x=k>>>24,g-=x,0===(x=k>>>16&255))B[h++]=65535&k;else{if(!(16&x)){if(0==(64&x)){k=b[(65535&k)+(m&(1<>>=x,g-=x),g<15&&(m+=S[s++]<>>=x=k>>>24,g-=x,!(16&(x=k>>>16&255))){if(0==(64&x)){k=w[(65535&k)+(m&(1<u){e.msg="invalid distance too far back",a.mode=n;break t}if(m>>>=x,g-=x,C>(x=h-d)){if((x=C-x)>c&&a.sane){e.msg="invalid distance too far back",a.mode=n;break t}if(A=0,E=_,0===p){if(A+=f-x,x2)B[h++]=E[A++],B[h++]=E[A++],B[h++]=E[A++],z-=3;z&&(B[h++]=E[A++],z>1&&(B[h++]=E[A++]))}else{A=h-C;do{B[h++]=B[A++],B[h++]=B[A++],B[h++]=B[A++],z-=3}while(z>2);z&&(B[h++]=B[A++],z>1&&(B[h++]=B[A++]))}break}}break}}while(s>3,m&=(1<<(g-=z<<3))-1,e.next_in=s,e.next_out=h,e.avail_in=s>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function i(){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 _.Buf16(320),this.work=new _.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(t){var e;if(!t||!t.state)return B;return e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=L,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new _.Buf32(ft),e.distcode=e.distdyn=new _.Buf32(ct),e.sane=1,e.back=-1,A}function s(t){var e;if(!t||!t.state)return B;return(e=t.state).wsize=0,e.whave=0,e.wnext=0,a(t)}function o(t,e){var r,n;if(!t||!t.state)return B;if(n=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))return B;return null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,s(t)}function h(t,e){var r,n;if(!t)return B;return n=new i,t.state=n,n.window=null,(r=o(t,e))!==A&&(t.state=null),r}function d(t){return h(t,_t)}function l(t){if(mt){var e;gt=new _.Buf32(512),bt=new _.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;w(y,t.lens,0,288,gt,0,t.work,{bits:9}),e=0;while(e<32)t.lens[e++]=5;w(k,t.lens,0,32,bt,0,t.work,{bits:5}),mt=!1}t.lencode=gt,t.lenbits=9,t.distcode=bt,t.distbits=5}function u(t,e,r,n){var i,a=t.state;return null===a.window&&(a.wsize=1<=a.wsize?(_.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),_.arraySet(a.window,e,r-n,i,a.wnext),(n-=i)?(_.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=g(r.check,Ct,2,0),f=0,c=0,r.mode=D;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&f)<<8)+(f>>8))%31){t.msg="incorrect header check",r.mode=dt;break}if((15&f)!==R){t.msg="unknown compression method",r.mode=dt;break}if(c-=4,xt=(15&(f>>>=4))+8,0===r.wbits)r.wbits=xt;else if(xt>r.wbits){t.msg="invalid window size",r.mode=dt;break}r.dmax=1<>8&1),512&r.flags&&(Ct[0]=255&f,Ct[1]=f>>>8&255,r.check=g(r.check,Ct,2,0)),f=0,c=0,r.mode=N;case N:while(c<32){if(0===h)break t;h--,f+=i[s++]<>>8&255,Ct[2]=f>>>16&255,Ct[3]=f>>>24&255,r.check=g(r.check,Ct,4,0)),f=0,c=0,r.mode=U;case U:while(c<16){if(0===h)break t;h--,f+=i[s++]<>8),512&r.flags&&(Ct[0]=255&f,Ct[1]=f>>>8&255,r.check=g(r.check,Ct,2,0)),f=0,c=0,r.mode=F;case F:if(1024&r.flags){while(c<16){if(0===h)break t;h--,f+=i[s++]<>>8&255,r.check=g(r.check,Ct,2,0)),f=0,c=0}else r.head&&(r.head.extra=null);r.mode=Z;case Z:if(1024&r.flags&&((ct=r.length)>h&&(ct=h),ct&&(r.head&&(xt=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),_.arraySet(r.head.extra,i,s,ct,xt)),512&r.flags&&(r.check=g(r.check,i,ct,s)),h-=ct,s+=ct,r.length-=ct),r.length))break t;r.length=0,r.mode=P;case P:if(2048&r.flags){if(0===h)break t;ct=0;do{xt=i[s+ct++],r.head&&xt&&r.length<65536&&(r.head.name+=String.fromCharCode(xt))}while(xt&&ct>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=K;break;case H:while(c<32){if(0===h)break t;h--,f+=i[s++]<>>=7&c,c-=7&c,r.mode=st;break}while(c<3){if(0===h)break t;h--,f+=i[s++]<>>=1)){case 0:r.mode=Y;break;case 1:if(l(r),r.mode=$,e===C){f>>>=2,c-=2;break t}break;case 2:r.mode=G;break;case 3:t.msg="invalid block type",r.mode=dt}f>>>=2,c-=2;break;case Y:f>>>=7&c,c-=7&c;while(c<32){if(0===h)break t;h--,f+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=dt;break}if(r.length=65535&f,f=0,c=0,r.mode=W,e===C)break t;case W:r.mode=q;case q:if(ct=r.length){if(ct>h&&(ct=h),ct>d&&(ct=d),0===ct)break t;_.arraySet(a,i,s,ct,o),h-=ct,s+=ct,d-=ct,o+=ct,r.length-=ct;break}r.mode=K;break;case G:while(c<14){if(0===h)break t;h--,f+=i[s++]<>>=5,c-=5,r.ndist=(31&f)+1,f>>>=5,c-=5,r.ncode=(15&f)+4,f>>>=4,c-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=dt;break}r.have=0,r.mode=J;case J:while(r.have>>=3,c-=3}while(r.have<19)r.lens[St[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,At={bits:r.lenbits},zt=w(v,r.lens,0,19,r.lencode,0,r.work,At),r.lenbits=At.bits,zt){t.msg="invalid code lengths set",r.mode=dt;break}r.have=0,r.mode=Q;case Q:while(r.have>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<>>=gt,c-=gt,r.lens[r.have++]=wt;else{if(16===wt){Et=gt+2;while(c>>=gt,c-=gt,0===r.have){t.msg="invalid bit length repeat",r.mode=dt;break}xt=r.lens[r.have-1],ct=3+(3&f),f>>>=2,c-=2}else if(17===wt){Et=gt+3;while(c>>=gt)),f>>>=3,c-=3}else{Et=gt+7;while(c>>=gt)),f>>>=7,c-=7}if(r.have+ct>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=dt;break}while(ct--)r.lens[r.have++]=xt}}if(r.mode===dt)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=dt;break}if(r.lenbits=9,At={bits:r.lenbits},zt=w(y,r.lens,0,r.nlen,r.lencode,0,r.work,At),r.lenbits=At.bits,zt){t.msg="invalid literal/lengths set",r.mode=dt;break}if(r.distbits=6,r.distcode=r.distdyn,At={bits:r.distbits},zt=w(k,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,At),r.distbits=At.bits,zt){t.msg="invalid distances set",r.mode=dt;break}if(r.mode=$,e===C)break t;case $:r.mode=tt;case tt:if(h>=6&&d>=258){t.next_out=o,t.avail_out=d,t.next_in=s,t.avail_in=h,r.hold=f,r.bits=c,b(t,ft),o=t.next_out,a=t.output,d=t.avail_out,s=t.next_in,i=t.input,h=t.avail_in,f=r.hold,c=r.bits,r.mode===K&&(r.back=-1);break}for(r.back=0;;){if(bt=(mt=r.lencode[f&(1<>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<>vt)])>>>16&255,wt=65535&mt,vt+(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<>>=vt,c-=vt,r.back+=vt}if(f>>>=gt,c-=gt,r.back+=gt,r.length=wt,0===bt){r.mode=at;break}if(32&bt){r.back=-1,r.mode=K;break}if(64&bt){t.msg="invalid literal/length code",r.mode=dt;break}r.extra=15&bt,r.mode=et;case et:if(r.extra){Et=r.extra;while(c>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=rt;case rt:for(;;){if(bt=(mt=r.distcode[f&(1<>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<>vt)])>>>16&255,wt=65535&mt,vt+(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<>>=vt,c-=vt,r.back+=vt}if(f>>>=gt,c-=gt,r.back+=gt,64&bt){t.msg="invalid distance code",r.mode=dt;break}r.offset=wt,r.extra=15&bt,r.mode=nt;case nt:if(r.extra){Et=r.extra;while(c>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=dt;break}r.mode=it;case it:if(0===d)break t;if(ct=ft-d,r.offset>ct){if((ct=r.offset-ct)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=dt;break}ct>r.wnext?(ct-=r.wnext,pt=r.wsize-ct):pt=r.wnext-ct,ct>r.length&&(ct=r.length),_t=r.window}else _t=a,pt=o-r.offset,ct=r.length;ct>d&&(ct=d),d-=ct,r.length-=ct;do{a[o++]=_t[pt++]}while(--ct);0===r.length&&(r.mode=tt);break;case at:if(0===d)break t;a[o++]=r.length,d--,r.mode=tt;break;case st:if(r.wrap){while(c<32){if(0===h)break t;h--,f|=i[s++]<=1;z--)if(0!==Z[z])break;if(C>z&&(C=z),0===z)return m[g++]=1<<24|64<<16|0,m[g++]=1<<24|64<<16|0,w.bits=1,0;for(x=1;x0&&(e===o||1!==z))return-1;for(P[1]=0,y=1;ya||e===d&&B>s)return 1;for(var V=0;;){V++,H=y-E,b[k]F?(X=M[j+b[k]],K=N[U+b[k]]):(X=32+64,K=0),T=1<>E)+(O-=T)]=H<<24|X<<16|K|0}while(0!==O);T=1<>=1;if(0!==T?(I&=T-1,I+=T):I=0,k++,0==--Z[y]){if(y===z)break;y=r[p+b[k]]}if(y>C&&(I&L)!==R){0===E&&(E=C),D+=x,S=1<<(A=y-E);while(A+Ea||e===d&&B>s)return 1;m[R=I&L]=C<<24|A<<16|D-g|0}}return 0!==I&&(m[D+I]=y-E<<24|64<<16|0),w.bits=C,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";function n(t){var e=t.length;while(--e>=0)t[e]=0}function i(t){return t<256?st[t]:st[256+(t>>>7)]}function a(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function s(t,e,r){t.bi_valid>Y-r?(t.bi_buf|=e<>Y-t.bi_valid,t.bi_valid+=r-Y):(t.bi_buf|=e<>>=1,r<<=1}while(--e>0);return r>>>1}function d(t){16===t.bi_valid?(a(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function l(t,e){var r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,h=e.stat_desc.max_length,d,l,u,f,c,p,_=0;for(f=0;f<=V;f++)t.bl_count[f]=0;for(r[2*t.heap[t.heap_max]+1]=0,d=t.heap_max+1;dh&&(f=h,_++),r[2*l+1]=f,l>n)continue;t.bl_count[f]++,c=0,l>=o&&(c=s[l-o]),p=r[2*l],t.opt_len+=p*(f+c),a&&(t.static_len+=p*(i[2*l+1]+c))}if(0===_)return;do{f=h-1;while(0===t.bl_count[f])f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[h]--,_-=2}while(_>0);for(f=h;0!==f;f--){l=t.bl_count[f];while(0!==l){if((u=t.heap[--d])>n)continue;r[2*u+1]!==f&&(t.opt_len+=(f-r[2*u+1])*r[2*u],r[2*u+1]=f),l--}}}function u(t,e,r){var n=new Array(V+1),i=0,a,s;for(a=1;a<=V;a++)n[a]=i=i+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[2*s+1];if(0===o)continue;t[2*s]=h(n[o]++,o)}}function f(){var t,e,r,n,i,a=new Array(V+1);for(r=0,n=0;n>=7;n8?a(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function _(t,e,r,n){p(t),n&&(a(t,r),a(t,~r)),I.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function m(t,e,r,n){var i=2*e,a=2*r;return t[i]>1;s>=1;s--)g(t,r,s);d=a;do{s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],g(t,r,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,r[2*d]=r[2*s]+r[2*o],t.depth[d]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,r[2*s+1]=r[2*o+1]=d,t.heap[1]=d++,g(t,r,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],l(t,e),u(r,h,t.bl_count)}function v(t,e,r){var n,i=-1,a,s=e[0*2+1],o=0,h=7,d=4;for(0===s&&(h=138,d=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++){if(a=s,s=e[2*(n+1)+1],++o=3;e--)if(0!==t.bl_tree[2*rt[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function x(t,e,r,n){var i;for(s(t,e-257,5),s(t,r-1,5),s(t,n-4,4),i=0;i>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return O;if(0!==t.dyn_ltree[9*2]||0!==t.dyn_ltree[10*2]||0!==t.dyn_ltree[13*2])return R;for(r=32;r0?(t.strm.data_type===L&&(t.strm.data_type=z(t)),w(t,t.l_desc),w(t,t.d_desc),o=k(t),i=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==e?A(t,e,r,n):t.strategy===T||a===i?(s(t,(N<<1)+(n?1:0),3),b(t,it,at)):(s(t,(U<<1)+(n?1:0),3),x(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),b(t,t.dyn_ltree,t.dyn_dtree)),c(t),n&&p(t)}function B(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*(ot[r]+M+1)]++,t.dyn_dtree[2*i(e)]++),t.last_lit===t.lit_bufsize-1}var I=t("../utils/common"),T=4,O=0,R=1,L=2,D=0,N=1,U=2,F=3,Z=258,P=29,M=256,j=M+1+P,H=30,X=19,K=2*j+1,V=15,Y=16,W=7,q=256,G=16,J=17,Q=18,$=[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],tt=[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],et=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],nt=512,it=new Array(2*(j+2));n(it);var at=new Array(2*H);n(at);var st=new Array(nt);n(st);var ot=new Array(Z-F+1);n(ot);var ht=new Array(P);n(ht);var dt=new Array(H);n(dt);var lt=function(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length},ut,ft,ct,pt=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e},_t=!1;r._tr_init=C,r._tr_stored_block=A,r._tr_flush_block=S,r._tr_tally=B,r._tr_align=E},{"../utils/common":27}],39:[function(t,e,r){"use strict";function n(){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=n},{}]},{},[9])(9)})),"object"==typeof module&&(module.exports=Stimulsoft);; !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n()}(0,function(){"use strict";function e(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){return n.reject(t)})})}function n(e){return!(!e||"undefined"==typeof e.length)}function t(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],c(e,this)}function r(e,n){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn(function(){var t=1===e._state?n.onFulfilled:n.onRejected;if(null!==t){var o;try{o=t(e._value)}catch(r){return void f(n.promise,r)}i(n.promise,o)}else(1===e._state?i:f)(n.promise,e._value)})):e._deferreds.push(n)}function i(e,n){try{if(n===e)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var t=n.then;if(n instanceof o)return e._state=3,e._value=n,void u(e);if("function"==typeof t)return void c(function(e,n){return function(){e.apply(n,arguments)}}(t,n),e)}e._state=1,e._value=n,u(e)}catch(r){f(e,r)}}function f(e,n){e._state=2,e._value=n,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var n=0,t=e._deferreds.length;t>n;n++)r(e,e._deferreds[n]);e._deferreds=null}function c(e,n){var t=!1;try{e(function(e){t||(t=!0,i(n,e))},function(e){t||(t=!0,f(n,e))})}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}(e,n,o)),o},o.prototype["finally"]=e,o.all=function(e){return new o(function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,function(n){r(e,n)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(n){n(e)})},o.reject=function(e){return new o(function(n,t){t(e)})},o.race=function(e){return new o(function(t,r){if(!n(e))return r(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)})},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype["finally"]||(l.Promise.prototype["finally"]=e):l.Promise=o}); ; function __default(e){return Stimulsoft.System.Activator.createInstance(e)}var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),__read=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{while((void 0===t||t-- >0)&&!(i=n.next()).done)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n["return"])&&r.call(n)}finally{if(o)throw o.error}}return a},__spread=this&&this.__spread||function(){for(var e=[],t=0;t=0&&this.list.splice(t,1)},e.prototype.removeAt=function(e){e>=0&&this.list.splice(e,1)},e.prototype.indexOf=function(e){return this.list.indexOf(e)},e.prototype.getByIndex=function(e){return this.list[e]},e.prototype.setByIndex=function(e,t){this.list[e]=t},e.prototype.insert=function(e,t){this.list.splice(e,0,t)},e.prototype.contains=function(e){return this.list.indexOf(e)>=0},e}();e.CollectionBase=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){this.keys=new e.List,this.values=new e.List}return Object.defineProperty(t.prototype,"count",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pairs",{get:function(){var e=this;return this.keys.map((function(t,r){return{key:t,value:e.values[r]}}))},enumerable:!1,configurable:!0}),t.prototype.contains=function(e){if(null==e)throw new Error("key is null.");var t;if(this.keys.indexOf(e)>=0)return!0;return!1},t.prototype.get=function(e){if(null==e)throw new Error("key is null.");var t=this.keys.indexOf(e);if(t>=0)return this.values[t];return null},t.prototype.set=function(e,t){if(null==e)throw new Error("key is null.");var r=this.keys.indexOf(e);r>=0?this.values[r]=t:(this.keys.push(e),this.values.push(t))},t.prototype.add=function(e,t){if(null==e)throw new Error("key is null.");if(this.keys.indexOf(e)>=0)throw new Error("An element with the same key already exists in the Hashtable.");this.keys.push(e),this.values.push(t)},t.prototype.remove=function(e){if(null==e)throw new Error("key is null.");var t=this.keys.indexOf(e);if(t<0)throw new Error("");this.keys.removeAt(t),this.values.removeAt(t)},t.prototype.clear=function(){this.keys=new e.List,this.values=new e.List},t.prototype.tryGetValue=function(e,t){var r=this.keys.indexOf(e);return t.ref=r>=0?this.values[r]:null,r>=0},t}();e.Dictionary=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e}();e.DictionaryEntry=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){function r(e){return function(t,r,n){n.enumerable=e}}t.enumerable=r;var n=function(){function t(e){this.value=e,Object.defineProperty(t.prototype,"stimulsoft",{value:void 0,configurable:!0,enumerable:!1})}return t.prototype.is=function(t){if(this.value["is"])return this.value.is(t);if(t==Array&&"undefined"!=typeof Buffer&&this.value instanceof Buffer&&(t=Buffer),"string"==typeof t){if(this.value instanceof String)return!0;if(this.value.implements)return-1!=this.value.implements().indexOf(t)}if(!e.System.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("string"==typeof this.value&&t==String)return!0;if("number"==typeof this.value&&t==Number)return!0;if("boolean"==typeof this.value&&t==Boolean)return!0;if("function"==typeof t)return this.value instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},t.prototype.as=function(e){if(this.is(e))return this.value;return null},t.prototype.memberwiseClone=function(e){var r,n;if(void 0===e&&(e=!1),!e&&this.value["memberwiseClone"])return this.value.memberwiseClone();var i=t.getOwnPropertyNames(this.value),a=new(this.value.stimulsoft.getType());try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var u=s.value;a[u]=this.value[u]}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},t.prototype.equals=function(){for(var e,r,n,i=[],a=0;a=0)return parseFloat(this.value.split(",").join("."));return parseFloat(this.value)},t.prototype.toString=function(){return this.value.toString()},t.prototype.getType=function(){if(this.value["getType"])return this.value.getType();if("function"==typeof this.value)return this.value;return this.value.constructor},t.prototype.getTypeName=function(){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"},t.prototype.getNetTypeName=function(){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"},t.referenceEquals=function(e,t){return e==t},t.addEvent=function(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on"+t,r)},t.equals=function(e,r){if(t.referenceEquals(e,r))return!0;if(null==e||null==r)return!1;return e.stimulsoft.equals(r)},t.disableAllEnumerable=function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!1})},t.keys=function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);for(var r in e.__proto__)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},t.getOwnPropertyNames=function(e){return this.keys(e)},t.saveAs=function(r,n,i){if(void 0===i&&(i="application/octet-stream"),!r)return;r.stimulsoft.is(Array)&&(r=new Uint8Array(r));var a=new Blob([r],{type:i});"internalSaveAs"in t||Object.defineProperty(t,"internalSaveAs",{value:function(t){if(void 0===t)return null;if("undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))return null;var r=t.document,n=function(){return t.webkitURL||t.URL||t},i=r.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in i,o=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},s=t.webkitRequestFileSystem,u=t.requestFileSystem||s||t.mozRequestFileSystem,l=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},m="application/octet-stream",y=0,d=500,f=function(e){var r=function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()};t.chrome?r():setTimeout(r,d)},h=function(t,r,n){var i=(r=[].concat(r)).length;while(i--){var a=t["on"+r[i]];if("function"==typeof a)try{a.call(t,n||t)}catch(t){e.System.StiError.showError(t.message,!1),l(t)}}},c=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type))return new Blob(["\ufeff",e],{type:e.type});return e},p=function(e,r,l){var d=this;l||(e=c(e));var p=this,M=e.type,b=!1,g,v,S=function(){h(d,"writestart progress write writeend".split(" "),void 0)},w=function(){if(b||!g)try{g=n().createObjectURL(e)}catch(e){g=n()}if(v)v.location.href=g;else{var r,i=i||void 0;null==t.open(g,"_blank")&&void 0!==i&&(t.location.href=g)}d.readyState=d.DONE,S(),f(g)},N=function(e){return function(){if(this.readyState!==this.DONE)return e.apply(this,arguments)}},j={create:!0,exclusive:!1},I;if(this.readyState=this.INIT,r||(r="download"),a){try{g=n().createObjectURL(e)}catch(e){g=n()}return i.href=g,i.download=r,void setTimeout((function(){o(i),S(),f(g),d.readyState=d.DONE}))}if(t.chrome&&M&&M!==m&&(I=e.slice||e.webkitSlice,e=I.call(e,0,e.size,m),b=!0),s&&"download"!==r&&(r+=".download"),(M===m||s)&&(v=t),!u)return void w();y+=e.size,u(t.TEMPORARY,y,N((function(t){t.root.getDirectory("saved",j,N((function(t){var n=function(){t.getFile(r,j,N((function(t){t.createWriter(N((function(r){r.onwriteend=function(e){v.location.href=t.toURL(),this.readyState=this.DONE,h(this,"writeend",e),f(t)},r.onerror=function(){var e=r.error;e.code!==e.ABORT_ERR&&w()},"writestart progress write abort".split(" ").forEach((function(e){r["on"+e]=this["on"+e]})),r.write(e),this.abort=function(){r.abort(),this.readyState=this.DONE},this.readyState=this.WRITING})),w)})),w)};t.getFile(r,{create:!1},N((function(e){e.remove(),n()})),N((function(e){e.code===e.NOT_FOUND_ERR?n():w()})))})),w)})),w)},M=p.prototype,b=function(e,t,r){return new p(e,t,r)};if("undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob)return function(e,t,r){return r||(e=c(e)),navigator.msSaveOrOpenBlob(e,t||"download")};return M.abort=function(){var e=this;this.readyState=this.DONE,h(this,"abort",void 0)},M.readyState=M.INIT=0,M.WRITING=1,M.DONE=2,M.error=M.onwritestart=M.onprogress=M.onwrite=M.onabort=M.onerror=M.onwriteend=null,b}("undefined"!=typeof self&&self||void 0!==window&&window),enumerable:!1}),t.internalSaveAs(a,n)},t.init=function(){Object.defineProperty(Object.prototype,"stimulsoft",{get:function(){return new e.System.StiObject("function"==typeof this.valueOf?this.valueOf():null)},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Number.prototype,"stimulsoft",{get:function(){return new e.System.StiNumber(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(String.prototype,"stimulsoft",{get:function(){return new e.System.StiString(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Boolean.prototype,"stimulsoft",{get:function(){return new e.System.StiBoolean(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Array.prototype,"stimulsoft",{get:function(){return new e.System.StiArray("function"==typeof this.valueOf?this.valueOf():null)},set:function(){},configurable:!0,enumerable:!1})},t.isNullOrUndefined=function(e){return null==e||void 0===e},t}();t.StiObject=n;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getHashCode=function(){for(var e,t=[],r=0;re?1:0},t.prototype.toShort=function(){if(this.value>32767)return(this.value-65536).stimulsoft.toShort();if(this.value<-32768)return(this.value+65536).stimulsoft.toShort();return this.value.valueOf()},t.prototype.toStringFormat=function(e){return a.parseFormatString(e,[this.value])},t.prototype.getType=function(){return Number},t.prototype.getTypeName=function(){return"Decimal"},t.prototype.getNetTypeName=function(){return"System.Decimal"},t.tryParse=function(e){var t=e.stimulsoft.toNumber();return{result:t,successfully:!isNaN(t)}},t}(n);t.StiNumber=i;var a=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.is=function(e){if(e==String)return!0;return!1},r.prototype.as=function(e){if(e==String)return this.value;return null},r.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},r.prototype.replaceAll=function(e,t,r,n){if(null!=r){null==n&&(n=this.value.length);var i=this.value.substr(0,r),a=this.value.substr(r+n),o;return i+this.value.substr(r,n).split(e).join(t)+a}return this.value.split(e).join(t)},r.prototype.contains=function(e){return-1!=this.value.indexOf(e)},r.prototype.compareTo=function(e){return this.value.localeCompare(e)},r.prototype.isBase64String=function(){var e;return/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/.test(this.value)},r.prototype.remove=function(e,t){return void 0===t&&(t=Number.MAX_VALUE),this.value.substr(0,e)+this.value.substring(e+t)},r.prototype.insert=function(e,t,r){return void 0===r&&(r=0),this.value.substring(0,e)+t+this.value.substring(e+r,this.value.length)},r.prototype.padLeft=function(e,t){void 0===t&&(t=" ");var n=e-this.value.length;if(n>0){if(1==n)return t+this.value;return r.repeat(t,n)+this.value}return this.value},r.prototype.startsWith=function(e,t){if(void 0===t&&(t=!1),null==e)return!1;if(t)return this.value.toLowerCase().substr(0,e.length)==e.toLowerCase();return this.value.substr(0,e.length)==e},r.prototype.endsWith=function(e,t){if(void 0===t&&(t=!1),null==e)return!1;if(t)return this.value.toLowerCase().substr(this.value.length-e.length,e.length)==e.toLowerCase();return this.value.substr(this.value.length-e.length,e.length)==e},r.prototype.trimStart=function(e){void 0===e&&(e=" ");var t=this.value;while(t.length>0&&t.charAt(0)==e)t=t.substr(1);return t},r.prototype.trimEnd=function(e){void 0===e&&(e=" ");var t=this.value;while(t.length>0&&t.charAt(t.length-1)==e)t=t.substr(0,t.length-1);return t},r.prototype.getHashCode=function(){for(var t=[],r=0;r=0?r+(t||0):r},r.prototype.regexLastIndexOf=function(e,t){e=e.global?e:new RegExp(e.source,"g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")),void 0===t?t=this.value.length:t<0&&(t=0);var r=this.value.substring(0,t+1),n=-1,i=0,a;while(null!=(a=e.exec(r)))n=a.index,e.lastIndex=++i;return n},r.prototype.split=function(){for(var e=[],t=0;to&&(i+=e.substring(o,a-1)),o=a;while(ao&&(i+=r.parseFormatString(e.substring(o,a),t)),o=++a}else a++;return a>o&&(i+=e.substring(o,a)),i},r.format1=function(e,t){var n="",i=0,a=0;while(ia&&(n+=e.substring(a,i-1)),a=i;while(ia&&(n+=r.parseFormatString(e.substring(a,i),t)),a=++i}else i++;return i>a&&(n+=e.substring(a,i)),n},r.parseFormatString=function(t,n){var i=0;while(i0){var a=parseInt(t.substring(0,i),10),o="",s=-1,u=null;if(i+1l&&(s=parseInt(t.substring(l,i),10))}if(0==o.length)return n[a];if(u.stimulsoft.startsWith("dd"))return null==n[a]?"":n[a];switch(o){case"F":case"f":var m=r.formatNumber(n[a],s,!1,!0);return null==m?n[a]:m;case"N":case"n":var y=r.formatNumber(n[a],s,!0,!0);return null==y?n[a]:y;case"P":case"p":var d=r.formatNumber(100*n[a],s,!0,!0);return null==d?n[a]:d+"%";case"C":case"c":var f=r.formatNumber(n[a],s,!0,!1);return null==f?n[a]:(n[a]<0?"-$":"$")+f;case"D":case"d":var h=Math.abs(n[a]).toString().stimulsoft.padLeft(s,"0");return"NaN"==h?n[a]:(n[a]<0?"-":"")+h;case"X":return n[a]<0&&(n[a]=4294967295+n[a]+1),n[a].toString(16).toUpperCase().stimulsoft.padLeft(s,"0");case"x":return n[a]<0&&(n[a]=4294967295+n[a]+1),n[a].toString(16).toLowerCase().stimulsoft.padLeft(s,"0");default:return r.customFormat(n[a],u)}}return""},r.formatNumber=function(t,r,n,i){var a=e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,o=e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSeparator,s=e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSizes[0];-1==r&&(r=2);var u="";if(!t.stimulsoft.is(Number))return null;t=Math.round2(t,r);var l=Math.abs(t).toString().replace(".",",").replace(",",a),m=t<0,y=l.substring(0,l.indexOf(a));if(0==y.length&&(y=l),s>0&&n){var d=y.length-s;while(d>=0)u=(d>0?o:"")+y.substr(d,s)+u,d-=s;d<0&&(u=y.substring(0,d+s)+u)}else u=y;if(r>0){var f=l.substring(l.indexOf(a)+1);f=f.substr(0,r),-1==l.indexOf(a)&&(f="");while(f.length=I&&(j++,k=0);var _=j.toString();if(_.length0)if(p>0){h=_.length-p;while(h>=0)S=(h>0?o:"")+_.substr(h,p)+S,h-=p;h<0&&(S=_.substring(0,h+p)+S)}else S=_;if(M>0){g=(_=k.toString()).length;while(g>b&&"0"==_.charAt(g-1))g--;g!=_.length&&(_=_.substr(0,g));while(_.length=0},r.prototype.remove=function(e){this.contains(e)&&this.removeAt(this.value.indexOf(e))},r.prototype.removeAt=function(e){e<0?delete this.value[this.getByIndex(e)]:this.value.splice(e,1)},r.prototype.insert=function(e,t){this.value.splice(e,0,t)},r.prototype.clear=function(){this.value.splice(0,this.value.length)},r.prototype.clone=function(){var e,t,r=[];try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},r.prototype.addRange=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.value.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},r.prototype.removeRange=function(e,t){this.value.splice(e,t)},r.prototype.copyTo=function(e,t){void 0===t&&(t=0);for(var r=t,n=0;n+t?1:0}))},r.prototype.getByIndex=function(e,t){return void 0===t&&(t=null),null==t&&(t=this.getKeys()),this.value[t[e]]},r.prototype.setByIndex=function(e,t){var r=n.keys(this.value);this.value[r[e]]=t},r.prototype.removeByIndex=function(e){var t=this.value.indexOf(this.getByIndex(e));return delete this.value[t],this.value},r.prototype.sort2=function(e){return this.value.sort((function(t,r){return e.compare(t,r)}))},r.prototype.getLength=function(e){if(e>0)return this.value[0].stimulsoft.getLength(e-1);return this.value.length},r.prototype.toArray=function(){var e,t,r=[];try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},r.prototype.peek=function(){return this.value[this.value.length-1]},r.prototype.toList=function(){return new e.System.Collections.List(this.value)},r.create=function(e,t,r){void 0===r&&(r=!1);for(var n=[],i=0;it)return 1;if(e0?1:-1)*Math.floor(Math.abs(t))},n=Math.pow(2,53)-1,i=function(e){var t=r(e);return Math.min(Math.max(t,0),n)};return function e(r){var n=this,a=Object(r);if(null==r)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o=arguments.length>1?arguments[1]:void 0,s;if(void 0!==o){if(!t(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(s=arguments[2])}var u=i(a.length),l=t(n)?Object(new n(u)):new Array(u),m=0,y;while(m=2)switch(o[0]=o[0].trim().toLowerCase(),o[1]=o[1].trim(),o[0]){case"server":case"host":case"location":case"datasource":case"data source":t["host"]=o[1];break;case"port":t["port"]=o[1];break;case"database":t["database"]=o[1],r=!0;break;case"uid":case"user":case"user id":t["userId"]=o[1];break;case"pwd":case"password":t["password"]=o[1];break;case"charset":t["charset"]=o[1];break}}}if(!r)return n("Connection String parse error"),null;return t},l=require("node-firebird");if(e.connectionStringInfo=u(e.connectionString),e.connectionStringInfo){var m={host:e.connectionStringInfo.host,port:e.connectionStringInfo.port,database:e.connectionStringInfo.database,user:e.connectionStringInfo.userId,password:e.connectionStringInfo.password,charset:e.connectionStringInfo.charset},y;i()}}catch(e){Stimulsoft.System.StiError.showError(e,!1),n(e.stack)}},t.processMsSql=function(e,t){var r=function(e){try{d&&d.close(),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},n=function(e){r({success:!1,notice:e})};try{var i=function(){d=new m.ConnectionPool(y,(function(e){e?n(e.message):o()}))},a=function(e){var t;d.request().query(e,(function(e,t){e?n(e.message):s(t)}))},o=function(){e.queryString?a(e.queryString):r({success:!0})},s=function(e){e=e.recordset;var t=[],n=[],i=[];for(var a in e.length>0&&Array.isArray(e[0])&&(e=e[0]),e.columns){var o=e.columns[a],s=o.index;switch(t.push(o.name),o.type){case m.Bit:case m.SmallInt:case m.Int:case m.BigInt:i[s]="int";break;case m.Decimal:case m.Float:case m.Money:case m.Numeric:case m.SmallMoney:case m.Real:i[s]="number";break;case m.TinyInt:i[s]="boolean";break;case m.Char:case m.NChar:case m.Text:case m.NText:case m.VarChar:case m.NVarChar:case m.Xml:i[s]="string";break;case m.Time:case m.Date:case m.DateTime:case m.DateTime2:case m.DateTimeOffset:case m.SmallDateTime:i[s]="datetime";break;case m.UniqueIdentifier:i[s]="string";break;case m.Variant:i[s]="string";break;case m.Binary:case m.VarBinary:case m.Image:i[s]="string";break;case m.UDT:case m.Geography:case m.Geometry:i[s]="string";break}}for(var u in e.length>0&&Array.isArray(e[0])&&(e=e[0]),e){var l=[];for(var a in e[u]){var s;"array"!=i[s=t.indexOf(a)]&&(i[s]=typeof e[u][a]),e[u][a]instanceof Uint8Array&&(i[s]="array",e[u][a]=Buffer.from(e[u][a]).toString("base64")),null!=e[u][a]&&"function"==typeof e[u][a].toISOString&&(e[u][a]=e[u][a].toISOString(),i[s]="datetime"),l[s]=e[u][a]}n.push(l)}r({success:!0,columns:t,rows:n,types:i})},u=function(e){var t={},r,n=/(.*),([0-9]+)/.exec(e);n&&(t.port=n[2].trim(),e=n[1].trim());var i,a=/(.*)\\(.*)/.exec(e);return a&&(t.instanceName=a[2].trim(),e=a[1].trim()),t.host=e,t},l=function(e){var t={options:{}};for(var r in e.split(";")){var n=e.split(";")[r];if(n){var i=n.split("=");if(i&&i.length>=2)switch(i[0]=i[0].trim().toLowerCase(),i[1]=i[1].trim(),i[0]){case"data source":case"server":var a=u(i[1]);t["server"]=a.host,"port"in a&&(t["port"]=+a.port),"instanceName"in a&&(t.options["instanceName"]=a.instanceName);break;case"database":case"initial catalog":t["database"]=i[1];break;case"uid":case"user":case"user id":t["user"]=i[1];break;case"pwd":case"password":t["password"]=i[1];break;case"encrypt":t.options["encrypt"]=i[1];break}}}return t},m=require("mssql"),y=l(e.connectionString),d;i()}catch(e){Stimulsoft.System.StiError.showError(e,!1),n(e.stack)}},t.processMySql=function(e,t){var r=function(e){try{m&&(m.end(),m.destroy()),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},n=function(e){r({success:!1,notice:e})};try{var i=function(){m.connect((function(e){e?n(e.message):o()}))},a=function(t){m.query("USE "+e.connectionStringInfo.database),m.query(t,(function(e,t,r){e?n(e.message):s(t,r)}))},o=function(){e.queryString?a(e.queryString):r({success:!0})},s=function(e,t){var n=[],i=[],a=[],o;for(o in t.length>0&&Array.isArray(t[0])&&(t=t[0]),t){var s=t[o];switch(n.push(s.name),s.type){case 1:a[o]="boolean";break;case 2:case 3:case 5:case 8:case 9:case 16:a[o]="int";break;case 0:case 246:case 4:a[o]="number";break;case 15:case 253:case 254:a[o]="string";break;case 10:case 11:case 19:case 12:case 18:case 13:case 14:a[o]="datetime";break;case 7:case 17:case 245:case 6:case 247:case 248:case 255:a[o]="string";break}}for(var u in e.length>0&&Array.isArray(e[0])&&(e=e[0]),e){var l=[];for(var m in e[u]){var y=n.indexOf(m);"array"!=a[y]&&(a[y]=typeof e[u][m]),e[u][m]instanceof Uint8Array&&(a[y]="array",e[u][m]=Buffer.from(e[u][m]).toString("base64")),null!=e[u][m]&&"function"==typeof e[u][m].toISOString&&(e[u][m]=e[u][m].toISOString(),a[y]="datetime"),l[y]=e[u][m]}i.push(l)}r({success:!0,columns:n,rows:i,types:a})},u=function(e){var t={host:"localhost",port:"3306",charset:"utf8"};for(var r in e.split(";")){var n=e.split(";")[r];if(n){var i=n.split("=");if(i&&i.length>=2)switch(i[0]=i[0].trim().toLowerCase(),i[1]=i[1].trim(),i[0]){case"server":case"host":case"location":t["host"]=i[1];break;case"port":t["port"]=i[1];break;case"database":case"data source":t["database"]=i[1];break;case"uid":case"user":case"username":case"userid":case"user id":t["userId"]=i[1];break;case"pwd":case"password":t["password"]=i[1];break;case"charset":t["charset"]=i[1];break}}}return t},l=require("mysql");e.connectionStringInfo=u(e.connectionString);var m=l.createConnection({host:e.connectionStringInfo.host,user:e.connectionStringInfo.userId,password:e.connectionStringInfo.password,port:e.connectionStringInfo.port,charset:e.connectionStringInfo.charset,database:e.connectionStringInfo.database});i()}catch(e){Stimulsoft.System.StiError.showError(e,!1),n(e.stack)}},t.processPostgreSQL=function(e,t){var r=function(e){try{m&&m.end(),t(e)}catch(e){}},n=function(e){r({success:!1,notice:e})};try{var i=function(){m.connect((function(e){e?n(e):o()}))},a=function(e){m.query(e,(function(e,t){e?n(e):s(t)}))},o=function(){e.queryString?a(e.queryString):r({success:!0})},s=function(e){var t=[],n=[],i=[];for(var a in e.fields){var o=e.fields[a];switch(t.push(o.name),o.dataTypeID){case 16:i[a]="boolean";break;case 17:case 18:case 19:i[a]="string";break;case 20:case 21:case 23:i[a]="int";break;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:i[a]="string";break;case 700:case 701:i[a]="number";break;case 702:case 703:case 704:case 718:case 774:i[a]="string";break;case 790:i[a]="number";break;case 829:case 869:case 1033:case 1042:case 1043:i[a]="string";break;case 1082:case 1083:i[a]="datetime";break;case 1114:case 1184:case 1186:case 1266: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:i[a]="string";break;default:i[a]="string";break}}for(var s in e.rows.length>0&&Array.isArray(e.rows[0])&&(e.rows=e.rows[0]),e.rows){var u=[];for(var l in e.rows[s]){var a;"array"!=i[a=t.indexOf(l)]&&(i[a]=typeof e.rows[s][l]),e.rows[s][l]instanceof Uint8Array&&(i[a]="array",e.rows[s][l]=Buffer.from(e.rows[s][l]).toString("base64")),null!=e.rows[s][l]&&"function"==typeof e.rows[s][l].toISOString&&(e.rows[s][l]=e.rows[s][l].toISOString(),i[a]="datetime"),u[a]=e.rows[s][l]}n.push(u)}r({success:!0,columns:t,rows:n,types:i})},u=function(e){var t={port:5432};for(var r in e.split(";")){var n=e.split(";")[r];if(n){var i=n.split("=");if(i&&i.length>=2)switch(i[0]=i[0].trim().toLowerCase(),i[1]=i[1].trim(),i[0]){case"data source":case"server":case"host":t["host"]=i[1];break;case"port":t["port"]=i[1];break;case"database":case"location":t["database"]=i[1];break;case"uid":case"user":case"user id":t["userId"]=i[1];break;case"pwd":case"password":t["password"]=i[1];break;case"ssl":t["ssl"]=i[1];break;case"sslmode":"require"==i[1]?t["ssl"]=1:"disable"==i[1]&&(t["ssl"]=0);break}}}return t},l=require("pg");e.connectionString.startsWith("postgres://")?e.postgreConnectionString=e.connectionString:(e.connectionStringInfo=u(e.connectionString),e.postgreConnectionString="postgres://"+e.connectionStringInfo.userId+":"+e.connectionStringInfo.password+"@"+e.connectionStringInfo.host,null!=e.connectionStringInfo.port&&(e.postgreConnectionString+=":"+e.connectionStringInfo.port),e.postgreConnectionString+="/"+e.connectionStringInfo.database);var m=new l.Client(e.postgreConnectionString);i()}catch(e){n(e.stack)}},t._isNodeJs=!1,t.isStandaloneVersion=!1,t.useWebKit=!0,t.consoleLog=!0,t.localizationPath="locales",t}();e.NodeJs=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.toTitleCase=function(e){if(null==e)return e;var t=e.split(" ");for(var r in t){if(0==t[r].length)continue;t[r]=t[r].stimulsoft.insert(0,t[r][0].toUpperCase(),1)}return t.join(" ")},e}();e.TextInfo=t}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e,t,r,n,i,a,o,s,u,l,m,y,d,f,h,c,p,M,b,g,v,S,w,N,j){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="-",!e)return;this.numberDecimalSeparator=e,this.numberDecimalDigits=t,this.numberGroupSeparator=r,this.numberGroupSizes=n,this.numberNegativePattern=i,this.currencyDecimalDigits=a,this.currencyDecimalSeparator=o,this.currencyGroupSeparator=s,this.currencyGroupSizes=u,this.currencyNegativePattern=l,this.currencyPositivePattern=m,this.currencySymbol=y,this.percentDecimalDigits=d,this.percentDecimalSeparator=f,this.percentGroupSeparator=h,this.percentGroupSizes=c,this.percentNegativePattern=p,this.percentPositivePattern=M,this.percentSymbol=b,this.perMilleSymbol=g,this.positiveInfinitySymbol=v,this.positiveSign=S,this.NaNSymbol=w,this.negativeInfinitySymbol=N,this.negativeSign=j}return e.prototype.getFormat=function(t){return t instanceof e?this:null},e}();e.NumberFormatInfo=t}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e,t,r,n,i,a,o,s,u,l,m,y,d,f,h){this.shortDatePattern=e,this.dateSeparator=t,this.longDatePattern=r,this.dayNames=n,this.monthNames=i,this.shortestDayNames=a,this.abbreviatedMonthNames=o,this.monthGenitiveNames=s,this.timeSeparator=u,this.AMDesignator=l,this.PMDesignator=m,this.fullDateTimePattern=y,this.shortTimePattern=d,this.longTimePattern=f,this.yearMonthPattern=h}return e}();e.DateTimeFormatInfo=t}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=function(){function r(e,n,i){if(void 0===n&&(n=null),void 0===i&&(i=null),this.textInfo=new t.TextInfo,this.name=e,null!=n)this.numberFormat=n,this.dateTimeFormat=i;else{var a=r.cultures[e];null==a&&(a=r.currentCulture),this.numberFormat=a.numberFormat,this.dateTimeFormat=a.dateTimeFormat}}return Object.defineProperty(r,"currentCulture",{get:function(){if(!this._currentCulture){var t="en";e.System.NodeJs.useWebKit&&(t=navigator.language||navigator["userLanguage"]),this.cultures[t]?this._currentCulture=this.cultures[t]:t&&t.indexOf("-")>0&&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},set:function(e){this._currentCulture=e},enumerable:!1,configurable:!0}),Object.defineProperty(r,"cultures",{get:function(){if(null==this._cultures)for(var n in this._cultures={},this._cultures["ar"]=new r("ar",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MMMM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","ص","م","dd/MMMM/yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["bg"]=new r("bg",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new t.DateTimeFormatInfo("d.M.yyyy [г.]",".","dd MMMM yyyy [г.]",["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],["н","п","в","с","ч","п","с"],["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],":","","","dd MMMM yyyy [г.] HH:mm:ss 'ч.'","HH:mm 'ч.'","HH:mm:ss 'ч.'","MMMM yyyy [г.]")),this._cultures["ca"]=new r("ca",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ / ]MMMM[ / ]yyyy",["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],["dg","dl","dt","dc","dj","dv","ds"],["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],":","","","dddd, d[ / ]MMMM[ / ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ / ]yyyy")),this._cultures["zh-Hans"]=new r("zh-Hans",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["cs"]=new r("cs",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],["ne","po","út","st","čt","pá","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],":","dop.","odp.","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["da"]=new r("da",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["de"]=new r("de",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["el"]=new r("el",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM yyyy",["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""],["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"],["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""],["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""],":","πμ","μμ","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["en"]=new r("en",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es"]=new r("es",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["fi"]=new r("fi",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM[ta ]yyyy",["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],["su","ma","ti","ke","to","pe","la"],["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],":","","","d. MMMM[ta ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fr"]=new r("fr",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["he"]=new r("he",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd dd MMMM yyyy",["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],["א","ב","ג","ד","ה","ו","ש"],["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],":","AM","PM","dddd dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hu"]=new r("hu",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new t.DateTimeFormatInfo("yyyy.MM.dd.",".","yyyy. MMMM d.",["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],["V","H","K","Sze","Cs","P","Szo"],["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],":","de.","du.","yyyy. MMMM d. H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["is_"]=new r("is",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],["su","má","þr","mi","fi","fö","la"],["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it"]=new r("it",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ja"]=new r("ja",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","yyyy[年]M[月]d[日]",["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],["日","月","火","水","木","金","土"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],":","午前","午後","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["ko"]=new r("ko",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy[년] M[월] d[일] dddd",["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],["일","월","화","수","목","금","토"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],":","오전","오후","yyyy[년] M[월] d[일] dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[년] M[월]")),this._cultures["nl"]=new r("nl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["no"]=new r("no",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pl"]=new r("pl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""],["N","Pn","Wt","Śr","Cz","Pt","So"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt"]=new r("pt",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],["D","S","T","Q","Q","S","S"],["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["rm"]=new r("rm",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d MMMM yyyy",["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],["du","gli","ma","me","gie","ve","so"],["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],":","","","dddd, d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ro"]=new r("ro",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],["D","L","Ma","Mi","J","V","S"],["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ru"]=new r("ru",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [г.]",["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],":","","","d MMMM yyyy [г.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["hr"]=new r("hr",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sk"]=new r("sk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","d. MMMM yyyy",["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""],["ne","po","ut","st","št","pi","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sq"]=new r("sq",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy-MM-dd",["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],["Di","Hë","Ma","Më","En","Pr","Sh"],["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],":","PD","MD","yyyy-MM-dd h:mm:ss.tt","h:mm.tt","h:mm:ss.tt","yyyy-MM")),this._cultures["sv"]=new r("sv",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["th"]=new r("th",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","d MMMM yyyy",["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],["อ","จ","อ","พ","พ","ศ","ส"],["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],":","AM","PM","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tr"]=new r("tr",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dd MMMM yyyy dddd",["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],":","","","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ur"]=new r("ur",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["ا","پ","م","ب","ج","ج","ه"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],":","AM","PM","dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["id"]=new r("id",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],["M","S","S","R","K","J","S"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uk"]=new r("uk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy[ р.]",["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"],["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""],["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""],":","","","d MMMM yyyy[ р.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[ р.]")),this._cultures["be"]=new r("be",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""],["нд","пн","аў","ср","чц","пт","сб"],["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""],["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sl"]=new r("sl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],["ne","po","to","sr","če","pe","so"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["et"]=new r("et",new t.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new t.DateTimeFormatInfo("d.MM.yyyy",".","d. MMMM yyyy[. a.]",["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],["P","E","T","K","N","R","L"],["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],":","EL","PL","d. MMMM yyyy[. a.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[. a.]")),this._cultures["lv"]=new r("lv",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new t.DateTimeFormatInfo("yyyy.MM.dd.",".","dddd, yyyy[. gada ]d. MMMM",["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""],["sv","pr","ot","tr","ce","pk","se"],["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""],["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""],":","","","dddd, yyyy[. gada ]d. MMMM H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["lt"]=new r("lt",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new t.DateTimeFormatInfo("yyyy.MM.dd",".","yyyy [m.] MMMM d [d.]",["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],["S","P","A","T","K","Pn","Š"],["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""],["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],":","","","yyyy [m.] MMMM d [d.] HH:mm:ss","HH:mm","HH:mm:ss","yyyy [m.] MMMM")),this._cultures["tg"]=new r("tg",new t.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fa"]=new r("fa",new t.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],":","ق.ظ","ب.ظ","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["vi"]=new r("vi",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],["C","H","B","T","N","S","B"],["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],":","SA","CH","dd MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["hy"]=new r("hy",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM, yyyy",["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],":","","","d MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["az"]=new r("az",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["eu"]=new r("eu",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dddd, yyyy.[eko] MMMM[k ]d",["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],["ig","al","as","az","og","or","lr"],["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],":","","","dddd, yyyy.[eko] MMMM[k ]d H:mm:ss","HH:mm","H:mm:ss","yyyy.[eko] MMMM")),this._cultures["hsb"]=new r("hsb",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"],["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","š","p","s"],["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [hodź.]","H:mm:ss","MMMM yyyy")),this._cultures["mk"]=new r("mk",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd MMMM yyyy",["недела","понеделник","вторник","среда","четврток","петок","сабота"],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],["не","по","вт","ср","че","пе","са"],["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],":","","","dddd, dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tn"]=new r("tn",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],["Lp","Ms","Lb","Lr","Ln","Lt","Lm"],["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["xh"]=new r("xh",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],["Ca","Mv","Lb","Lt","Ln","Lh","Mg"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["zu"]=new r("zu",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["af"]=new r("af",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],["So","Ma","Di","Wo","Do","Vr","Sa"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ka"]=new r("ka",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [წლის] dd MM, dddd",["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],["კ","ო","ს","ო","ხ","პ","შ"],["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],":","","","yyyy [წლის] dd MM, dddd H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fo"]=new r("fo",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],["su","má","tý","mi","hó","fr","ley"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hi"]=new r("hi",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mt"]=new r("mt",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ ta' ]MMMM yyyy",["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],["I","I","I","L","I","I","I"],["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],":","AM","PM","dddd, d[ ta' ]MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["se"]=new r("se",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["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",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ga"]=new r("ga",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","d MMMM yyyy",["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],["Do","Lu","Má","Cé","De","Ao","Sa"],["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],":","r.n.","i.n.","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms"]=new r("ms",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["kk"]=new r("kk",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [ж.]",["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],":","","","d MMMM yyyy [ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ky"]=new r("ky",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d[-]MMMM yyyy[-ж.]",["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Жш","Дш","Шш","Шр","Бш","Жм","Иш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],":","","","d[-]MMMM yyyy[-ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[-ж.]")),this._cultures["sw"]=new r("sw",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],["P","T","N","T","A","I","M"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tk"]=new r("tk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","yyyy [ý.] MMMM d",["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],["D","S","Ç","P","A","Ş","Ý"],["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],":","","","yyyy [ý.] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [ý.] MMMM")),this._cultures["uz"]=new r("uz",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tt"]=new r("tt",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"],["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Я","Д","С","Ч","П","Җ","Ш"],["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""],["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["bn"]=new r("bn",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["pa"]=new r("pa",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy dddd",["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],":","ਸਵੇਰ","ਸ਼ਾਮ","dd MMMM yyyy dddd tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","MMMM, yyyy")),this._cultures["gu"]=new r("gu",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],["ર","સ","મ","બ","ગ","શ","શ"],["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],":","પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["or"]=new r("or",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ta"]=new r("ta",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஞா","தி","செ","பு","வி","வெ","ச"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],":","காலை","மாலை","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["te"]=new r("te",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["ఆ","సో","మం","బు","గు","శు","శ"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],":","పూర్వాహ్న","అపరాహ్న","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["kn"]=new r("kn",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],":","ಪೂರ್ವಾಹ್ನ","ಅಪರಾಹ್ನ","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ml"]=new r("ml",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ഞ","ത","ച","ബ","വ","വെ","ശ"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],".","AM","PM","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["as_"]=new r("as",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,1,"₹",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","yyyy,MMMM dd, dddd",["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],["সো","ম","বু","বৃ","শু","শ","র"],["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],":","ৰাতিপু","আবেলি","yyyy,MMMM dd, dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","MMMM,yy")),this._cultures["mr"]=new r("mr",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],["र","स","म","ब","ग","श","श"],["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sa"]=new r("sa",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy dddd",["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mn"]=new r("mn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["bo"]=new r("bo",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ལོའི་ཟླ] M[ཚེས] d",["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],["༧","༡","༢","༣","༤","༥","༦"],["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],":","སྔ་དྲོ","ཕྱི་དྲོ","yyyy[ལོའི་ཟླ] M[ཚེས] d HH:mm:ss","HH:mm","HH:mm:ss","yyyy.M")),this._cultures["cy"]=new r("cy",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],["Su","Ll","Ma","Me","Ia","Gw","Sa"],["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],":","a.m.","p.m.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["km"]=new r("km",new t.NumberFormatInfo(".",2,",",[3,0],2,2,".",",",[3],5,1,"៛",2,".",",",[3,0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],["អា","ច","អ","ពុ","ព្","សុ","ស"],["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],":","ព្រឹក","ល្ងាច","d MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","[ខែ] MM [ឆ្នាំ] yyyy")),this._cultures["lo"]=new r("lo",new t.NumberFormatInfo(".",2,",",[3,0],0,2,".",",",[3,0],4,1,"₭",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],":","ເຊົ້າ","ແລງ","dd MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","MMMM yyyy")),this._cultures["gl"]=new r("gl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","luns","martes","mércores","xoves","venres","sábado"],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],["do","lu","ma","mé","xo","ve","sá"],["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["kok"]=new r("kok",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["आ","स","म","ब","ब","स","श"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["syr"]=new r("syr",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"],["܏ܟܢ ܏ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","܏ܬܫ ܏ܐ","܏ܬܫ ܏ܒ","܏ܟܢ ܏ܐ",""],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],":","ܩ.ܛ","ܒ.ܛ","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["si"]=new r("si",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3,2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd",["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්‍රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],["ජනවාරි","පෙබරවාරි","මාර්තු","අ‌ප්‍රේල්","මැයි","ජූනි","ජූලි","අ‌ගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],["ඉ","ස","අ","බ","බ්‍ර","සි","සෙ"],["ජන.","පෙබ.","මාර්තු.","අප්‍රේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""],["ජනවාරි","පෙබරවාරි","මාර්තු","අ‌ප්‍රේල්","මැයි","ජූනි","ජූලි","අ‌ගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],":","පෙ.ව.","ප.ව.","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd h:mm:ss tt","h:mm tt","h:mm:ss tt","yyyy MMMM")),this._cultures["iu"]=new r("iu",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["am"]=new r("am",new t.NumberFormatInfo(".",1,",",[3,0],1,2,".",",",[3,0],1,0,"ETB",1,".",",",[3,0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd [፣] MMMM d [ቀን] yyyy",["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"],["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],":","ጡዋት","ከሰዓት","dddd [፣] MMMM d [ቀን] yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["tzm"]=new r("tzm",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["ne"]=new r("ne",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],1,0,"रु",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],["आ","सो","म","बु","बि","शु","श"],["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],":","विहानी","बेलुकी","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["fy"]=new r("fy",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],["S","M","T","W","T","F","S"],["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ps"]=new r("ps",new t.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fil"]=new r("fil",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],["L","L","M","M","H","B","S"],["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["dv"]=new r("dv",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],":","މކ","މފ","dd/MM/yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ha"]=new r("ha",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["yo"]=new r("yo",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],["A","A","I","O","O","E","A"],["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],":","Owuro","Ale","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["quz"]=new r("quz",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["nso"]=new r("nso",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],["L","M","L","L","L","L","M"],["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ba"]=new r("ba",new t.NumberFormatInfo(",",2," ",[3,0],1,2,","," ",[3,0],8,3,"₽",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy [й]",["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],["Йш","Дш","Шш","Шр","Кс","Йм","Шб"],["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],":","","","d MMMM yyyy [й] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["lb"]=new r("lb",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mé","Dë","Më","Do","Fr","Sa"],["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["kl"]=new r("kl",new t.NumberFormatInfo(",",2,".",[3,0],1,2,",",".",[3,0],12,2,"kr.",2,",",".",[3,0],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],["sa","at","ma","pi","si","ta","ar"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ig"]=new r("ig",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],["A","A","I","O","O","E","A"],["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],":","Ututu","Efifie","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["ii"]=new r("ii",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ꈎ] M[ꆪ] d[ꑍ]",["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],":","ꂵꆪꈌꈐ","ꂵꆪꈌꉈ","yyyy[ꈎ] M[ꆪ] d[ꑍ] H:mm:ss","tt h:mm","H:mm:ss","yyyy[ꈎ] M[ꆪ]")),this._cultures["arn"]=new r("arn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["moh"]=new r("moh",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["br"]=new r("br",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],["Su","Lu","Mz","Mc","Ya","Gw","Sa"],["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ug"]=new r("ug",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new t.DateTimeFormatInfo("yyyy-M-d","-","yyyy-[يىلى] MMMM d-[كۈنى،]",["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["ي","د","س","چ","پ","ج","ش"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],":","چۈشتىن بۇرۇن","چۈشتىن كېيىن","yyyy-[يىلى] MMMM d-[كۈنى،] H:mm:ss","H:mm","H:mm:ss","yyyy-[يىلى] MMMM")),this._cultures["mi"]=new r("mi",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM, yyyy",["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],["Ta","Hi","Tū","Aa","Pa","Me","Ho"],["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],":","a.m.","p.m.","dddd, dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yy")),this._cultures["oc"]=new r("oc",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd,[ lo ]d MMMM[ de ]yyyy",["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"],["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""],["di","lu","ma","mè","jò","ve","sa"],["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""],["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""],":","","","dddd,[ lo ]d MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["co"]=new r("co",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],["du","lu","ma","me","gh","ve","sa"],["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["gsw"]=new r("gsw",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],["Su","Mo","Di","Mi","Du","Fr","Sà"],["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sah"]=new r("sah",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new t.DateTimeFormatInfo("MM.dd.yyyy",".","MMMM d yyyy [с.]",["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"],["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""],["Бс","Бн","Оп","Ср","Чп","Бт","Сб"],["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""],["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""],":","","","MMMM d yyyy [с.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy [с.]")),this._cultures["qut"]=new r("qut",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],["ju","ka","ox","ka","jo","wa","wu"],["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["rw"]=new r("rw",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],["mb","ka","ga","ka","ga","ga","cy"],["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],":","saa moya z.m.","saa moya z.n.","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["wo"]=new r("wo",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["prs"]=new r("prs",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["gd"]=new r("gd",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],["D","L","M","C","A","H","S"],["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],":","m","f","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-SA"]=new r("ar-SA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MMMM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","ص","م","dd/MMMM/yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["bg-BG"]=new r("bg-BG",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new t.DateTimeFormatInfo("d.M.yyyy [г.]",".","dd MMMM yyyy [г.]",["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],["н","п","в","с","ч","п","с"],["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],":","","","dd MMMM yyyy [г.] HH:mm:ss 'ч.'","HH:mm 'ч.'","HH:mm:ss 'ч.'","MMMM yyyy [г.]")),this._cultures["ca-ES"]=new r("ca-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ / ]MMMM[ / ]yyyy",["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],["dg","dl","dt","dc","dj","dv","ds"],["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],":","","","dddd, d[ / ]MMMM[ / ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ / ]yyyy")),this._cultures["zh-TW"]=new r("zh-TW",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"NT$",2,".",",",[3],1,1,"%","‰","正無窮大","+","不是一個數字","負無窮大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","yyyy[年]M[月]")),this._cultures["cs-CZ"]=new r("cs-CZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],["ne","po","út","st","čt","pá","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],":","dop.","odp.","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["da-DK"]=new r("da-DK",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["de-DE"]=new r("de-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["el-GR"]=new r("el-GR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM yyyy",["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""],["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"],["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""],["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""],":","πμ","μμ","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["en-US"]=new r("en-US",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fi-FI"]=new r("fi-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM[ta ]yyyy",["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],["su","ma","ti","ke","to","pe","la"],["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],":","","","d. MMMM[ta ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fr-FR"]=new r("fr-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["he-IL"]=new r("he-IL",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd dd MMMM yyyy",["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],["א","ב","ג","ד","ה","ו","ש"],["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],":","AM","PM","dddd dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hu-HU"]=new r("hu-HU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new t.DateTimeFormatInfo("yyyy.MM.dd.",".","yyyy. MMMM d.",["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],["V","H","K","Sze","Cs","P","Szo"],["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],":","de.","du.","yyyy. MMMM d. H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["is-IS"]=new r("is-IS",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],["su","má","þr","mi","fi","fö","la"],["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it-IT"]=new r("it-IT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ja-JP"]=new r("ja-JP",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","yyyy[年]M[月]d[日]",["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],["日","月","火","水","木","金","土"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],":","午前","午後","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["ko-KR"]=new r("ko-KR",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy[년] M[월] d[일] dddd",["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],["일","월","화","수","목","금","토"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],":","오전","오후","yyyy[년] M[월] d[일] dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[년] M[월]")),this._cultures["nl-NL"]=new r("nl-NL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["nb-NO"]=new r("nb-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pl-PL"]=new r("pl-PL",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""],["N","Pn","Wt","Śr","Cz","Pt","So"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt-BR"]=new r("pt-BR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],["D","S","T","Q","Q","S","S"],["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["rm-CH"]=new r("rm-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d MMMM yyyy",["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],["du","gli","ma","me","gie","ve","so"],["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],":","","","dddd, d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ro-RO"]=new r("ro-RO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],["D","L","Ma","Mi","J","V","S"],["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ru-RU"]=new r("ru-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [г.]",["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],":","","","d MMMM yyyy [г.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["hr-HR"]=new r("hr-HR",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sk-SK"]=new r("sk-SK",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","d. MMMM yyyy",["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""],["ne","po","ut","st","št","pi","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sq-AL"]=new r("sq-AL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy-MM-dd",["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],["Di","Hë","Ma","Më","En","Pr","Sh"],["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],":","PD","MD","yyyy-MM-dd h:mm:ss.tt","h:mm.tt","h:mm:ss.tt","yyyy-MM")),this._cultures["sv-SE"]=new r("sv-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["th-TH"]=new r("th-TH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","d MMMM yyyy",["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],["อ","จ","อ","พ","พ","ศ","ส"],["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],":","AM","PM","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tr-TR"]=new r("tr-TR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dd MMMM yyyy dddd",["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],":","","","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ur-PK"]=new r("ur-PK",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["ا","پ","م","ب","ج","ج","ه"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],":","AM","PM","dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["id-ID"]=new r("id-ID",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],["M","S","S","R","K","J","S"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uk-UA"]=new r("uk-UA",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy[ р.]",["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"],["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""],["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""],":","","","d MMMM yyyy[ р.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[ р.]")),this._cultures["be-BY"]=new r("be-BY",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""],["нд","пн","аў","ср","чц","пт","сб"],["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""],["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sl-SI"]=new r("sl-SI",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],["ne","po","to","sr","če","pe","so"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["et-EE"]=new r("et-EE",new t.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new t.DateTimeFormatInfo("d.MM.yyyy",".","d. MMMM yyyy[. a.]",["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],["P","E","T","K","N","R","L"],["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],":","EL","PL","d. MMMM yyyy[. a.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[. a.]")),this._cultures["lv-LV"]=new r("lv-LV",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new t.DateTimeFormatInfo("yyyy.MM.dd.",".","dddd, yyyy[. gada ]d. MMMM",["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""],["sv","pr","ot","tr","ce","pk","se"],["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""],["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""],":","","","dddd, yyyy[. gada ]d. MMMM H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["lt-LT"]=new r("lt-LT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new t.DateTimeFormatInfo("yyyy.MM.dd",".","yyyy [m.] MMMM d [d.]",["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],["S","P","A","T","K","Pn","Š"],["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""],["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],":","","","yyyy [m.] MMMM d [d.] HH:mm:ss","HH:mm","HH:mm:ss","yyyy [m.] MMMM")),this._cultures["tg-Cyrl-TJ"]=new r("tg-Cyrl-TJ",new t.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fa-IR"]=new r("fa-IR",new t.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],":","ق.ظ","ب.ظ","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["vi-VN"]=new r("vi-VN",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],["C","H","B","T","N","S","B"],["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],":","SA","CH","dd MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["hy-AM"]=new r("hy-AM",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM, yyyy",["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],":","","","d MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["az-Latn-AZ"]=new r("az-Latn-AZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["eu-ES"]=new r("eu-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dddd, yyyy.[eko] MMMM[k ]d",["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],["ig","al","as","az","og","or","lr"],["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],":","","","dddd, yyyy.[eko] MMMM[k ]d H:mm:ss","HH:mm","H:mm:ss","yyyy.[eko] MMMM")),this._cultures["hsb-DE"]=new r("hsb-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"],["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","š","p","s"],["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [hodź.]","H:mm:ss","MMMM yyyy")),this._cultures["mk-MK"]=new r("mk-MK",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd MMMM yyyy",["недела","понеделник","вторник","среда","четврток","петок","сабота"],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],["не","по","вт","ср","че","пе","са"],["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],":","","","dddd, dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tn-ZA"]=new r("tn-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],["Lp","Ms","Lb","Lr","Ln","Lt","Lm"],["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["xh-ZA"]=new r("xh-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],["Ca","Mv","Lb","Lt","Ln","Lh","Mg"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["zu-ZA"]=new r("zu-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["af-ZA"]=new r("af-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],["So","Ma","Di","Wo","Do","Vr","Sa"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ka-GE"]=new r("ka-GE",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [წლის] dd MM, dddd",["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],["კ","ო","ს","ო","ხ","პ","შ"],["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],":","","","yyyy [წლის] dd MM, dddd H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fo-FO"]=new r("fo-FO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],["su","má","tý","mi","hó","fr","ley"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hi-IN"]=new r("hi-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mt-MT"]=new r("mt-MT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ ta' ]MMMM yyyy",["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],["I","I","I","L","I","I","I"],["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],":","AM","PM","dddd, d[ ta' ]MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["se-NO"]=new r("se-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["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",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms-MY"]=new r("ms-MY",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["kk-KZ"]=new r("kk-KZ",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [ж.]",["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],":","","","d MMMM yyyy [ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ky-KG"]=new r("ky-KG",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d[-]MMMM yyyy[-ж.]",["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Жш","Дш","Шш","Шр","Бш","Жм","Иш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],":","","","d[-]MMMM yyyy[-ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[-ж.]")),this._cultures["sw-KE"]=new r("sw-KE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],["P","T","N","T","A","I","M"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tk-TM"]=new r("tk-TM",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","yyyy [ý.] MMMM d",["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],["D","S","Ç","P","A","Ş","Ý"],["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],":","","","yyyy [ý.] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [ý.] MMMM")),this._cultures["uz-Latn-UZ"]=new r("uz-Latn-UZ",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tt-RU"]=new r("tt-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"],["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Я","Д","С","Ч","П","Җ","Ш"],["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""],["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["bn-IN"]=new r("bn-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["pa-IN"]=new r("pa-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy dddd",["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],":","ਸਵੇਰ","ਸ਼ਾਮ","dd MMMM yyyy dddd tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","MMMM, yyyy")),this._cultures["gu-IN"]=new r("gu-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],["ર","સ","મ","બ","ગ","શ","શ"],["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],":","પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["or-IN"]=new r("or-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍‌","ମେ","ଜୁନ୍‌","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ta-IN"]=new r("ta-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஞா","தி","செ","பு","வி","வெ","ச"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],":","காலை","மாலை","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["te-IN"]=new r("te-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["ఆ","సో","మం","బు","గు","శు","శ"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],":","పూర్వాహ్న","అపరాహ్న","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["kn-IN"]=new r("kn-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],":","ಪೂರ್ವಾಹ್ನ","ಅಪರಾಹ್ನ","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ml-IN"]=new r("ml-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ഞ","ത","ച","ബ","വ","വെ","ശ"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],".","AM","PM","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["as-IN"]=new r("as-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,1,"₹",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","yyyy,MMMM dd, dddd",["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],["সো","ম","বু","বৃ","শু","শ","র"],["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],":","ৰাতিপু","আবেলি","yyyy,MMMM dd, dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","MMMM,yy")),this._cultures["mr-IN"]=new r("mr-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],["र","स","म","ब","ग","श","श"],["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sa-IN"]=new r("sa-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy dddd",["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mn-MN"]=new r("mn-MN",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["bo-CN"]=new r("bo-CN",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ལོའི་ཟླ] M[ཚེས] d",["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],["༧","༡","༢","༣","༤","༥","༦"],["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],":","སྔ་དྲོ","ཕྱི་དྲོ","yyyy[ལོའི་ཟླ] M[ཚེས] d HH:mm:ss","HH:mm","HH:mm:ss","yyyy.M")),this._cultures["cy-GB"]=new r("cy-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],["Su","Ll","Ma","Me","Ia","Gw","Sa"],["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],":","a.m.","p.m.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["km-KH"]=new r("km-KH",new t.NumberFormatInfo(".",2,",",[3,0],2,2,".",",",[3],5,1,"៛",2,".",",",[3,0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],["អា","ច","អ","ពុ","ព្","សុ","ស"],["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],":","ព្រឹក","ល្ងាច","d MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","[ខែ] MM [ឆ្នាំ] yyyy")),this._cultures["lo-LA"]=new r("lo-LA",new t.NumberFormatInfo(".",2,",",[3,0],0,2,".",",",[3,0],4,1,"₭",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],":","ເຊົ້າ","ແລງ","dd MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","MMMM yyyy")),this._cultures["gl-ES"]=new r("gl-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","luns","martes","mércores","xoves","venres","sábado"],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],["do","lu","ma","mé","xo","ve","sá"],["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["kok-IN"]=new r("kok-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["आ","स","म","ब","ब","स","श"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["syr-SY"]=new r("syr-SY",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"],["܏ܟܢ ܏ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","܏ܬܫ ܏ܐ","܏ܬܫ ܏ܒ","܏ܟܢ ܏ܐ",""],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],":","ܩ.ܛ","ܒ.ܛ","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["si-LK"]=new r("si-LK",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3,2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd",["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්‍රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],["ජනවාරි","පෙබරවාරි","මාර්තු","අ‌ප්‍රේල්","මැයි","ජූනි","ජූලි","අ‌ගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],["ඉ","ස","අ","බ","බ්‍ර","සි","සෙ"],["ජන.","පෙබ.","මාර්තු.","අප්‍රේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""],["ජනවාරි","පෙබරවාරි","මාර්තු","අ‌ප්‍රේල්","මැයි","ජූනි","ජූලි","අ‌ගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],":","පෙ.ව.","ප.ව.","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd h:mm:ss tt","h:mm tt","h:mm:ss tt","yyyy MMMM")),this._cultures["iu-Cans-CA"]=new r("iu-Cans-CA",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],0,0,"$",2,".",",",[3,0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd,MMMM dd,yyyy",["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"],["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],":","AM","PM","dddd,MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["am-ET"]=new r("am-ET",new t.NumberFormatInfo(".",1,",",[3,0],1,2,".",",",[3,0],1,0,"ETB",1,".",",",[3,0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd [፣] MMMM d [ቀን] yyyy",["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"],["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],":","ጡዋት","ከሰዓት","dddd [፣] MMMM d [ቀን] yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["ne-NP"]=new r("ne-NP",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],1,0,"रु",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],["आ","सो","म","बु","बि","शु","श"],["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],":","विहानी","बेलुकी","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["fy-NL"]=new r("fy-NL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],["S","M","T","W","T","F","S"],["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ps-AF"]=new r("ps-AF",new t.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fil-PH"]=new r("fil-PH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],["L","L","M","M","H","B","S"],["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["dv-MV"]=new r("dv-MV",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],":","މކ","މފ","dd/MM/yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ha-Latn-NG"]=new r("ha-Latn-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["yo-NG"]=new r("yo-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],["A","A","I","O","O","E","A"],["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],":","Owuro","Ale","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["quz-BO"]=new r("quz-BO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["nso-ZA"]=new r("nso-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],["L","M","L","L","L","L","M"],["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ba-RU"]=new r("ba-RU",new t.NumberFormatInfo(",",2," ",[3,0],1,2,","," ",[3,0],8,3,"₽",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy [й]",["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],["Йш","Дш","Шш","Шр","Кс","Йм","Шб"],["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],":","","","d MMMM yyyy [й] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["lb-LU"]=new r("lb-LU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mé","Dë","Më","Do","Fr","Sa"],["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["kl-GL"]=new r("kl-GL",new t.NumberFormatInfo(",",2,".",[3,0],1,2,",",".",[3,0],12,2,"kr.",2,",",".",[3,0],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],["sa","at","ma","pi","si","ta","ar"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ig-NG"]=new r("ig-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],["A","A","I","O","O","E","A"],["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],":","Ututu","Efifie","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["ii-CN"]=new r("ii-CN",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ꈎ] M[ꆪ] d[ꑍ]",["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],":","ꂵꆪꈌꈐ","ꂵꆪꈌꉈ","yyyy[ꈎ] M[ꆪ] d[ꑍ] H:mm:ss","tt h:mm","H:mm:ss","yyyy[ꈎ] M[ꆪ]")),this._cultures["arn-CL"]=new r("arn-CL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["moh-CA"]=new r("moh-CA",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["br-FR"]=new r("br-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],["Su","Lu","Mz","Mc","Ya","Gw","Sa"],["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ug-CN"]=new r("ug-CN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new t.DateTimeFormatInfo("yyyy-M-d","-","yyyy-[يىلى] MMMM d-[كۈنى،]",["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["ي","د","س","چ","پ","ج","ش"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],":","چۈشتىن بۇرۇن","چۈشتىن كېيىن","yyyy-[يىلى] MMMM d-[كۈنى،] H:mm:ss","H:mm","H:mm:ss","yyyy-[يىلى] MMMM")),this._cultures["mi-NZ"]=new r("mi-NZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM, yyyy",["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],["Ta","Hi","Tū","Aa","Pa","Me","Ho"],["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],":","a.m.","p.m.","dddd, dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yy")),this._cultures["oc-FR"]=new r("oc-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd,[ lo ]d MMMM[ de ]yyyy",["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"],["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""],["di","lu","ma","mè","jò","ve","sa"],["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""],["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""],":","","","dddd,[ lo ]d MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["co-FR"]=new r("co-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],["du","lu","ma","me","gh","ve","sa"],["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["gsw-FR"]=new r("gsw-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],["Su","Mo","Di","Mi","Du","Fr","Sà"],["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sah-RU"]=new r("sah-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new t.DateTimeFormatInfo("MM.dd.yyyy",".","MMMM d yyyy [с.]",["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"],["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""],["Бс","Бн","Оп","Ср","Чп","Бт","Сб"],["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""],["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""],":","","","MMMM d yyyy [с.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy [с.]")),this._cultures["qut-GT"]=new r("qut-GT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],["ju","ka","ox","ka","jo","wa","wu"],["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["rw-RW"]=new r("rw-RW",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],["mb","ka","ga","ka","ga","ga","cy"],["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],":","saa moya z.m.","saa moya z.n.","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["wo-SN"]=new r("wo-SN",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["prs-AF"]=new r("prs-AF",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["gd-GB"]=new r("gd-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],["D","L","M","C","A","H","S"],["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],":","m","f","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-IQ"]=new r("ar-IQ",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ع.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-CN"]=new r("zh-CN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-CH"]=new r("de-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"Fr.",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-GB"]=new r("en-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["es-MX"]=new r("es-MX",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-BE"]=new r("fr-BE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it-CH"]=new r("it-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["nl-BE"]=new r("nl-BE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],1,1,"%","‰","oneindig","+","NaN (Niet-een-getal)","-oneindig","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["nn-NO"]=new r("nn-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","må","ty","on","to","fr","la"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt-PT"]=new r("pt-PT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""],["D","S","T","Q","Q","S","S"],["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez",""],["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["sr-Latn-CS"]=new r("sr-Latn-CS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sv-FI"]=new r("sv-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["az-Cyrl-AZ"]=new r("az-Cyrl-AZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"],["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""],["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"],["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""],["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["dsb-DE"]=new r("dsb-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"],["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","s","p","s"],["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [goź.]","H:mm:ss","MMMM yyyy")),this._cultures["se-SE"]=new r("se-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["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",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ga-IE"]=new r("ga-IE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","d MMMM yyyy",["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],["Do","Lu","Má","Cé","De","Ao","Sa"],["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],":","r.n.","i.n.","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms-BN"]=new r("ms-BN",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"$",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uz-Cyrl-UZ"]=new r("uz-Cyrl-UZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [йил] d-MMMM",["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["я","д","с","ч","п","ж","ш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""],":","","","yyyy [йил] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bn-BD"]=new r("bn-BD",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"৳",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["mn-Mong-CN"]=new r("mn-Mong-CN",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷ᠎ᠠ  ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ]",["ᠭᠠᠷᠠᠭ ᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],["ᠡ‍","ᠨᠢ‍","ᠬᠣ‍","ᠭᠤ‍","ᠳᠥ‍","ᠲᠠ‍","ᠵᠢ‍"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],":","","","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷ᠎ᠠ  ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ] H:mm:ss","H:mm","H:mm:ss","yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'")),this._cultures["iu-Latn-CA"]=new r("iu-Latn-CA",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tzm-Latn-DZ"]=new r("tzm-Latn-DZ",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["quz-EC"]=new r("quz-EC",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["ar-EG"]=new r("ar-EG",new t.NumberFormatInfo(".",3,",",[3],3,2,".",",",[3],3,2,"ج.م.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-HK"]=new r("zh-HK",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-AT"]=new r("de-AT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, dd. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-AU"]=new r("en-AU",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","dddd, d MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["es-ES"]=new r("es-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["fr-CA"]=new r("fr-CA",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],15,3,"$",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sr-Cyrl-CS"]=new r("sr-Cyrl-CS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["se-FI"]=new r("se-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["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",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["quz-PE"]=new r("quz-PE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-LY"]=new r("ar-LY",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,0,"د.ل.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-SG"]=new r("zh-SG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","AM","PM","yyyy[年]M[月]d[日] tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[年]M[月]")),this._cultures["de-LU"]=new r("de-LU",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-CA"]=new r("en-CA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","MMMM-dd-yy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","MMMM-dd-yy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-GT"]=new r("es-GT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-CH"]=new r("fr-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hr-BA"]=new r("hr-BA",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["smj-NO"]=new r("smj-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sådnåbiejvve","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["s","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-DZ"]=new r("ar-DZ",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ج.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["zh-MO"]=new r("zh-MO",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"MOP",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-LI"]=new r("de-LI",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"CHF",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-NZ"]=new r("en-NZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","dddd, d MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","a.m.","p.m.","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["es-CR"]=new r("es-CR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],0,0,"₡",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-LU"]=new r("fr-LU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bs-Latn-BA"]=new r("bs-Latn-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smj-SE"]=new r("smj-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["á","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-MA"]=new r("ar-MA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.م.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["en-IE"]=new r("en-IE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","","","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["es-PA"]=new r("es-PA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],14,2,"B/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-MC"]=new r("fr-MC",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sr-Latn-BA"]=new r("sr-Latn-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sma-NO"]=new r("sma-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-TN"]=new r("ar-TN",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ت.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["en-ZA"]=new r("en-ZA",new t.NumberFormatInfo(".",2," ",[3],1,2,","," ",[3],2,2,"R",2,"."," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-DO"]=new r("es-DO",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RD$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-BA"]=new r("sr-Cyrl-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sma-SE"]=new r("sma-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-OM"]=new r("ar-OM",new t.NumberFormatInfo(".",2,",",[3],3,3,".",",",[3],3,2,"ر.ع.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-JM"]=new r("en-JM",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"J$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-VE"]=new r("es-VE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"Bs. F.",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["bs-Cyrl-BA"]=new r("bs-Cyrl-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sms-FI"]=new r("sms-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"],["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""],["p","v","m","s","n","p","s"],["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""],["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-YE"]=new r("ar-YE",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ي.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-029"]=new r("en-029",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-CO"]=new r("es-CO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Latn-RS"]=new r("sr-Latn-RS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smn-FI"]=new r("smn-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],["p","v","m","k","t","v","l"],["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-SY"]=new r("ar-SY",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-BZ"]=new r("en-BZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"BZ$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-PE"]=new r("es-PE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-RS"]=new r("sr-Cyrl-RS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-JO"]=new r("ar-JO",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ا.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-TT"]=new r("en-TT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"TT$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-AR"]=new r("es-AR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],2,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Latn-ME"]=new r("sr-Latn-ME",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-LB"]=new r("ar-LB",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.ل.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-ZW"]=new r("en-ZW",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Z$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-EC"]=new r("es-EC",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-ME"]=new r("sr-Cyrl-ME",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-KW"]=new r("ar-KW",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ك.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-PH"]=new r("en-PH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Php",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-CL"]=new r("es-CL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["ar-AE"]=new r("ar-AE",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.إ.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-UY"]=new r("es-UY",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$U",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-BH"]=new r("ar-BH",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ب.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-PY"]=new r("es-PY",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"Gs",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-QA"]=new r("ar-QA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ق.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-IN"]=new r("en-IN",new t.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["es-BO"]=new r("es-BO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["en-MY"]=new r("en-MY",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RM",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-SV"]=new r("es-SV",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["en-SG"]=new r("en-SG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-HN"]=new r("es-HN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],12,2,"L.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-NI"]=new r("es-NI",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],14,2,"C$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-PR"]=new r("es-PR",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],14,2,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-US"]=new r("es-US",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sa"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["bs-Cyrl"]=new r("bs-Cyrl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["bs-Latn"]=new r("bs-Latn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sr-Cyrl"]=new r("sr-Cyrl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sr-Latn"]=new r("sr-Latn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smn"]=new r("smn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],["p","v","m","k","t","v","l"],["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["az-Cyrl"]=new r("az-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"],["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""],["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"],["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""],["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sms"]=new r("sms",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"],["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""],["p","v","m","s","n","p","s"],["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""],["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["zh"]=new r("zh",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["nn"]=new r("nn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","må","ty","on","to","fr","la"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bs"]=new r("bs",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["az-Latn"]=new r("az-Latn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sma"]=new r("sma",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")), this._cultures["uz-Cyrl"]=new r("uz-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [йил] d-MMMM",["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["я","д","с","ч","п","ж","ш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""],":","","","yyyy [йил] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["mn-Cyrl"]=new r("mn-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["iu-Cans"]=new r("iu-Cans",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],0,0,"$",2,".",",",[3,0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd,MMMM dd,yyyy",["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"],["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],":","AM","PM","dddd,MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["zh-Hant"]=new r("zh-Hant",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["nb"]=new r("nb",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sr"]=new r("sr",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tg-Cyrl"]=new r("tg-Cyrl",new t.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["dsb"]=new r("dsb",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new t.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"],["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","s","p","s"],["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [goź.]","H:mm:ss","MMMM yyyy")),this._cultures["smj"]=new r("smj",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["á","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["uz-Latn"]=new r("uz-Latn",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["mn-Mong"]=new r("mn-Mong",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷ᠎ᠠ  ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ]",["ᠭᠠᠷᠠᠭ ᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],["ᠡ‍","ᠨᠢ‍","ᠬᠣ‍","ᠭᠤ‍","ᠳᠥ‍","ᠲᠠ‍","ᠵᠢ‍"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""],":","","","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷ᠎ᠠ  ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ] H:mm:ss","H:mm","H:mm:ss","yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'")),this._cultures["iu-Latn"]=new r("iu-Latn",new t.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tzm-Latn"]=new r("tzm-Latn",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["ha-Latn"]=new r("ha-Latn",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["zh-CHS"]=new r("zh-CHS",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["zh-CHT"]=new r("zh-CHT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures){var i=this._cultures[n];e.ExternalLibrary.Moment.defineLocale("sti_"+n,{parentLocale:"en",months:i.dateTimeFormat.monthNames,monthsShort:i.dateTimeFormat.abbreviatedMonthNames,weekdays:i.dateTimeFormat.dayNames,weekdaysShort:i.dateTimeFormat.shortestDayNames,weekdaysMin:i.dateTimeFormat.shortestDayNames,longDateFormat:{LT:i.dateTimeFormat.shortTimePattern,LTS:i.dateTimeFormat.longTimePattern,L:i.dateTimeFormat.shortDatePattern,LL:i.dateTimeFormat.longDatePattern,LLLL:i.dateTimeFormat.fullDateTimePattern},meridiem:{AM:i.dateTimeFormat.AMDesignator,PM:i.dateTimeFormat.PMDesignator}})}return this._cultures},enumerable:!1,configurable:!0}),Object.defineProperty(r,"InvariantCulture",{get:function(){return r.currentCulture},enumerable:!1,configurable:!0}),r.getCultureInfo=function(e){var t=this.cultures[e];if(null!=t)return t;return r.currentCulture},r}();t.CultureInfo=r}(r=t.Globalization||(t.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Globalization.CultureInfo,n=function(){function n(e,t,r,n,i,a,o){void 0===e?this.innerDate=new Date:"number"!=typeof e&&e.stimulsoft.is(Date)?this.innerDate=e:t?(this.innerDate=new Date(0),this.innerDate.setDate(1),this.innerDate.setMonth(0),this.innerDate.setFullYear(e),this.innerDate.setMonth(t-1),null!=r&&this.innerDate.setDate(r),null!=n&&this.innerDate.setHours(n),null!=i&&this.innerDate.setMinutes(i),null!=a&&this.innerDate.setSeconds(a),null!=o&&this.innerDate.setMilliseconds(o)):(this.innerDate=new Date,this.innerDate.setTime(e))}return n.getNetTypeName=function(){return"System.DateTime"},Object.defineProperty(n.prototype,"year",{get:function(){return this.innerDate.getFullYear()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"month",{get:function(){return this.innerDate.getMonth()+1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"monthName",{get:function(){return r.currentCulture.dateTimeFormat.monthNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"monthGenitiveName",{get:function(){return r.currentCulture.dateTimeFormat.monthGenitiveNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"monthShortName",{get:function(){return r.currentCulture.dateTimeFormat.abbreviatedMonthNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"day",{get:function(){return this.innerDate.getDate()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dayOfWeek",{get:function(){return this.innerDate.getDay()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dayName",{get:function(){return r.currentCulture.dateTimeFormat.dayNames[this.dayOfWeek]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dayShortName",{get:function(){return r.currentCulture.dateTimeFormat.shortestDayNames[this.dayOfWeek]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hour",{get:function(){return this.innerDate.getHours()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minute",{get:function(){return this.innerDate.getMinutes()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"second",{get:function(){return this.innerDate.getSeconds()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"millisecond",{get:function(){return this.innerDate.getMilliseconds()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ticks",{get:function(){return this.innerDate.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dayOfYear",{get:function(){var e=new Date(this.innerDate.getFullYear(),0,1),t=this.innerDate.getTime()-e.getTime();return Math.ceil(t/864e5)+1},enumerable:!1,configurable:!0}),n.prototype.firstDayOfWeek=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("week").toDate())},n.prototype.lastDayOfWeek=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("week").toDate())},n.prototype.firstDayOfMonth=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("month").toDate())},n.prototype.lastDayOfMonth=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("month").toDate())},n.prototype.firstDayOfQuarter=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("quarter").toDate())},n.prototype.lastDayOfQuarter=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("quarter").toDate())},n.prototype.firstDayOfFirthQuarter=function(){var t=e.ExternalLibrary.Moment().month(0);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("quarter").toDate())},n.prototype.lastDayOfFirthQuarter=function(){var t=e.ExternalLibrary.Moment().month(0);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("quarter").toDate())},n.prototype.firstDayOfSecondQuarter=function(){var t=e.ExternalLibrary.Moment().month(3);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("quarter").toDate())},n.prototype.lastDayOfSecondQuarter=function(){var t=e.ExternalLibrary.Moment().month(3);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("quarter").toDate())},n.prototype.firstDayOfThirdQuarter=function(){var t=e.ExternalLibrary.Moment().month(6);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("quarter").toDate())},n.prototype.lastDayOfThirdQuarter=function(){var t=e.ExternalLibrary.Moment().month(6);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("quarter").toDate())},n.prototype.firstDayOfFourthQuarter=function(){var t=e.ExternalLibrary.Moment().month(9);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("quarter").toDate())},n.prototype.lastDayOfFourthQuarter=function(){var t=e.ExternalLibrary.Moment().month(9);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("quarter").toDate())},n.prototype.firstDayOfYear=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.startOf("year").toDate())},n.prototype.lastDayOfYear=function(){var t=e.ExternalLibrary.Moment(this.innerDate);return t.locale("sti_"+r.currentCulture.name),new n(t.endOf("year").toDate())},n.prototype.toShortDateString=function(){return this.toString(r.currentCulture.dateTimeFormat.shortDatePattern)},Object.defineProperty(n,"now",{get:function(){return new n(new Date)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"today",{get:function(){var e=new n(new Date);return new n(e.year,e.month,e.day,0,0,0,0)},enumerable:!1,configurable:!0}),n.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},n.daysInMonth=function(e,t){return 33-new Date(e,t-1,33).getDate()},n.compare=function(e,t){if(e.tickst.ticks)return 1;return 0},n.doubleDateToTicks=function(e){if(e>=this.oADateMaxAsDouble||e<=this.oADateMinAsDouble)return null;var t=e*this.millisPerDay+(e>=0?.5:-.5);if(t<0&&(t-=t%this.millisPerDay*2),(t+=this.doubleDateOffset/this.ticksPerMillisecond)<0||t>=this.maxMillis)return null;return t*this.ticksPerMillisecond},n.ticksToOADate=function(e){if(0==e)return 0;ee.ticks)return 1;return 0},n.prototype.subtract=function(e){return new t.TimeSpan(this.ticks-e.ticks)},Object.defineProperty(n.prototype,"date",{get:function(){return this.innerDate},enumerable:!1,configurable:!0}),n.prototype.toString=function(t){void 0===t&&(t="G");var n=e.ExternalLibrary.Moment(this.innerDate);if(!n.isValid())return"";switch(n.locale("sti_"+r.currentCulture.name),t){case"t":t=r.currentCulture.dateTimeFormat.shortTimePattern;break;case"T":t=r.currentCulture.dateTimeFormat.longTimePattern;break;case"d":t=r.currentCulture.dateTimeFormat.shortDatePattern;break;case"D":t=r.currentCulture.dateTimeFormat.longDatePattern;break;case"f":t=r.currentCulture.dateTimeFormat.longDatePattern+" "+r.currentCulture.dateTimeFormat.shortTimePattern;break;case"F":t=r.currentCulture.dateTimeFormat.fullDateTimePattern;break;case"g":t=r.currentCulture.dateTimeFormat.shortDatePattern+" "+r.currentCulture.dateTimeFormat.shortTimePattern;break;case"G":t=r.currentCulture.dateTimeFormat.shortDatePattern+" "+r.currentCulture.dateTimeFormat.longTimePattern;break;case"y":case"Y":t=r.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=r.currentCulture.name.stimulsoft.contains("en")||r.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"),n.format(t)},n.prototype.toOADate=function(){return n.ticksToOADate(this.ticks)},n.prototype.toOADate2=function(e){var t=n.ticksToOADate(this.ticks);if(e)return Math.round(t);return t},n.prototype.toNetJsonString=function(){return"\\/Date("+this.ticks.toString()+")\\/"},n.tryParseExact=function(t,r){void 0===t&&(t="2015-12-31");try{var i=e.ExternalLibrary.Moment(t,r);if(0==i.isValid()||i.parsingFlags().unusedTokens.length>0)return{result:null,successfully:!1};return{result:new n(i.toDate()),successfully:!0}}catch(e){return{result:null,successfully:!1}}},n.fromNetJsonString=function(e){var t=/-?\d+/.exec(e),r;return new n(new Date(parseInt(t[0])))},n.fromOADate=function(e){return new n(864e5*(e-25569))},n.fromString=function(r,i){void 0===r&&(r="2015-12-31"),void 0===i&&(i=!0);try{var a=(r=r.trim()).split(".").join("-").split("\\").join("-").split(" ").join("-"),o=void 0;if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YYYY",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YYYY",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YY",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YY",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D-H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D-H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D-H:mm:ss-SSS",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D-H:mm:ss-SSSSSSS",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-M-D-h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YYYY-H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YYYY-H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YYYY-h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YYYY-H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YYYY-H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YYYY-h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YY-H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YY-H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"M/D/YY-h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YY-H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YY-H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"D-M-YY-h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"H:mm",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"H:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"h:mm:ss-a",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ssZ",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ss-SSSZ",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ss-SSSSSSSZ",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ss",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ss-SSS",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());if((o=e.ExternalLibrary.Moment(a,"YYYY-MM-DDTHH:mm:ss-SSSSSSS",!0)).isValid()&&0==o.parsingFlags().unusedTokens.length)return new n(o.toDate());return i&&t.StiError.showError("Parse DateTime Error ("+r+")",!1),null}catch(e){return i&&t.StiError.showError("Parse DateTime Error ("+r+")",!1),null}},n.fromString2=function(r,i,a){void 0===r&&(r="2015-12-31"),void 0===a&&(a=!0);try{var o=e.ExternalLibrary.Moment(i,[r]);if(0==o.isValid()||o.parsingFlags().unusedTokens.length>0)return a&&t.StiError.showError("Parse DateTime Error ("+i+")",!1),null;return new n(o.toDate())}catch(e){}return null},n.isISO8601String=function(t){try{t=t.trim();var r=void 0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mm",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mmZ",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mm:ss",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mm:ss.SSS",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mm:ssZ",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0;if((r=e.ExternalLibrary.Moment(t,"YYYY-MM-DDTHH:mm:ss.SSSZ",!0)).isValid()&&0==r.parsingFlags().unusedTokens.length)return!0}catch(e){}return!1},Object.defineProperty(n.prototype,"timeOfDay",{get:function(){return new t.TimeSpan(this.ticks-new n(this.year,this.month,this.day,0,0,0,0).ticks)},enumerable:!1,configurable:!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),n}();t.DateTime=n}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=e.System.DateTime,i=function(e){function i(t){var r=e.call(this)||this;"number"==typeof t||t&&t.forEach((function(e){return r.push(e)}));try{r.__proto__=i.prototype,Object.defineProperty(r,"__proto__",{enumerable:!1})}catch(e){Object.defineProperty(r,"__proto__",{enumerable:!1,writable:!0}),r.__proto__=i.prototype}return r}return __extends(i,e),i.create=function(e){for(var t=[],r=1;rthis.length&&(t=this.length-e),new i(this.slice(e,e+t))},i.prototype.add=function(e){this.push(e)},i.prototype.insert=function(e,t){this.splice(e,0,t)},i.prototype.getKeys=function(){return t.StiObject.keys(this).sort((function(e,t){return e.stimulsoft.toNumber().stimulsoft.compareTo(t.stimulsoft.toNumber())}))},i.prototype.getByIndex=function(e,t){return void 0===t&&(t=null),null==t&&(t=this.getKeys()),this[t[e]]},i.prototype.setByIndex=function(e,r){var n;this[t.StiObject.keys(this)[e]]=r},i.prototype.removeByIndex=function(e){var t;return delete this[this.indexOf(this.getByIndex(e,null))],this},i.prototype.copyTo=function(e,t){void 0===t&&(t=0);for(var r=t,n=0;n=0&&this.removeAt(t)},i.prototype.removeAt=function(e){this.splice(e,1)},i.prototype.exists=function(e){var t,r;try{for(var n=__values(this),i=n.next();!i.done;i=n.next()){var a;if(e(i.value))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},i.prototype.fullOuterJoin=function(e,t,r,n,a){var o=e.toLookup(r,a),s=this.toLookup(t,a),u=e.where((function(e){return!s.contains(r.apply(a,[e]))})).select((function(e){return n.apply(a,[null,e])}));return this.selectMany2((function(e){var r=o.get(t.apply(a,[e]));return r.any()?r:new i}),n,a).concat(u)},i.prototype.toList=function(){return new i(this)},i.prototype.findIndex2=function(e){for(var t=0;t=0?e:t}),"number"==typeof t&&(r=Math.max),t.stimulsoft.is(n)&&(r=function(e,t){return n.compare(e,t)>=0?e:t});for(var i=1;i=0},i.prototype.skip=function(e){for(var t=new i,r=e;rthis.length&&(e=this.length);for(var r=0;r0)return this;return new i([null])},i.prototype.distinct=function(){var e=new i;return this.forEach((function(t){return e.indexOf(t)<0?e.push(t):null})),e},i.prototype.except=function(e){var t,r,n=new i;try{for(var a=__values(this),o=a.next();!o.done;o=a.next()){var s=o.value;-1==e.indexOf(s)&&n.add(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},i.prototype.union=function(e){var t=new i;return this.forEach((function(e){return t.add(e)})),e.forEach((function(e){return t.add(e)})),t.distinct()},i.prototype.first=function(e,t){var r,n;null==e&&(e=function(e){return!0});try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var o=a.value;if(e.apply(t,[o]))return o}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},i.prototype.firstOrDefault=function(e){var t,r;try{for(var n=__values(this),i=n.next();!i.done;i=n.next()){var a=i.value;if(null==e)return a;if(e(a))return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},i.prototype.lastOrDefault=function(){var e,t,r;try{for(var n=__values(this),i=n.next();!i.done;i=n.next()){var a;r=i.value}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},i.prototype.whereEqualsTo=function(e,t){return null},i.prototype.whereArrayItemEqualsTo=function(e,t){return null},i.prototype.whereArrayItemStringEqualsTo=function(e,t){return null},i.prototype.whereFirstOrDefaultArrayItemStringEqualsTo=function(e,t){return null},i.toString2=function(e){return null},i.prototype.getArrayItem=function(e){return null},i.prototype.tryCastValueOrFirstDefaultToNullableNumber=function(){return null},i.prototype.tryCastToNullableNumber=function(){return null},i.prototype.tryCastToNumber=function(){return null},i.prototype.tryCastToBool=function(){return null},i.prototype.tryCastToDateTime=function(){return null},i.prototype.tryCastToNullableDateTime=function(){return null},i.prototype.tryCastToTimeSpan=function(){return null},i.prototype.tryCastToNullableTimeSpan=function(){return null},i.prototype.tryCastToString=function(){return null},i.prototype.firstOrDefaultAsNullableNumber=function(){return null},i.prototype.firstOrDefaultAsNumber=function(){return null},i.getValueOrFirstOrDefault=function(e){return null},i.add2=function(e,t){return null},i.sub=function(e,t){return null},i.mult=function(e,t){return null},i.bitwiseAnd=function(e,t){return null},i.bitwiseXOr=function(e,t){return null},i.bitwiseOr=function(e,t){return null},i.div=function(e,t){return null},i}(Array);r.List=i,t.StiObject.disableAllEnumerable(i.prototype,new i)}(r=t.Collections||(t.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(e.List);e.Grouping=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){this.isSimpleKeys=!1,this.keys=new e.List,this.values=new e.List,this.indexObject={}}return t.prototype.get=function(e){if(this.isSimpleKeys)return this.values[this.indexObject[e]];return this.values[this.keys.indexOf(e)]},t.prototype.set=function(e,t){var r;if(this.isSimpleKeys)"string"!=(r=typeof e)&&"number"!=r&&(this.isSimpleKeys=!1,this.indexObject={});else if(0==this.keys.length){var r;"string"!=(r=typeof e)&&"number"!=r||(this.isSimpleKeys=!0)}var n=-1;(n=this.isSimpleKeys?this.indexObject[e]:this.keys.indexOf(e))>=0?this.values[n]=t:(this.isSimpleKeys&&(this.indexObject[e]=this.keys.length),this.keys.push(e),this.values.push(t))},t.prototype.add=function(e,t){this.set(e,t)},t.prototype.contains=function(e){if(this.isSimpleKeys)return null!=this.indexObject[e];return this.keys.contains(e)},t.prototype.containsKey=function(e){if(this.isSimpleKeys)return null!=this.indexObject[e];return this.keys.contains(e)},t.prototype.containsValue=function(e){return this.values.contains(e)},t.prototype.remove=function(e){var t;if((t=this.isSimpleKeys?this.indexObject[e]:this.keys.indexOf(e))>=0&&(this.keys.removeAt(t),this.values.removeAt(t),this.isSimpleKeys)){this.indexObject={};for(var r=0;rt?e[t]=o:e.push(o),t++}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Object.defineProperty(t.prototype,"count",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),t.prototype.clone=function(){var e=new t;return this.keys.copyTo(e.keys),this.values.copyTo(e.values),e},t}();e.Hashtable=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.ICollection="ICollection"}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IComparer="IComparer"}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IEnumerator="IEnumerator"}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IEqualityComparer="IEqualityComparer"}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.dequeue=function(){return null},e.prototype.enqueue=function(e){},Object.defineProperty(e.prototype,"count",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.clear=function(){},e}();e.Queue=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.pop=function(){return null},e.prototype.push=function(e){},e.prototype.clear=function(){},e}();e.Stack=t}(t=e.Collections||(e.Collections={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){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];for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,this.SBOX[r]=i,this.INV_SBOX[i]=r;var a=e[r],o=e[a],s=e[o],u=257*e[i]^16843008*i;this.SUB_MIX_0[r]=u<<24|u>>>8,this.SUB_MIX_1[r]=u<<16|u>>>16,this.SUB_MIX_2[r]=u<<8|u>>>24,this.SUB_MIX_3[r]=u,u=16843009*s^65537*o^257*a^16843008*r,this.INV_SUB_MIX_0[i]=u<<24|u>>>8,this.INV_SUB_MIX_1[i]=u<<16|u>>>16,this.INV_SUB_MIX_2[i]=u<<8|u>>>24,this.INV_SUB_MIX_3[i]=u,r?(r=a^e[e[e[s^a]]],n^=e[e[n]]):r=n=1}}return e.prototype.doReset=function(){var e=this.key.sigBytes/4;this.nRounds=e+6;var t=4*(this.nRounds+1);this.keySchedule=[];for(var r=0;r6&&r%e==4&&(n=this.SBOX[n>>>24]<<24|this.SBOX[n>>>16&255]<<16|this.SBOX[n>>>8&255]<<8|this.SBOX[255&n]):(n=n<<8|n>>>24,n=this.SBOX[n>>>24]<<24|this.SBOX[n>>>16&255]<<16|this.SBOX[n>>>8&255]<<8|this.SBOX[255&n],n^=this.RCON[r/e|0]<<24),this.keySchedule[r]=this.keySchedule[r-e]^n}this.invKeySchedule=[];for(var i=0;i>>24]]^this.INV_SUB_MIX_1[this.SBOX[n>>>16&255]]^this.INV_SUB_MIX_2[this.SBOX[n>>>8&255]]^this.INV_SUB_MIX_3[this.SBOX[255&n]]}},e.prototype.process=function(){var e=this.data.sigBytes/this.blockSize*4,t=(e=Math.ceil(e))*this.blockSize,n=Math.min(4*t,this.data.sigBytes),i;if(t){for(var a=0;a>>2];e.sigBytes-=t},e.prototype.encryptBlock=function(e,t){this.doCryptBlock(e,t,this.keySchedule,this.SUB_MIX_0,this.SUB_MIX_1,this.SUB_MIX_2,this.SUB_MIX_3,this.SBOX)},e.prototype.decryptBlock=function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this.doCryptBlock(e,t,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=e[t+1],e[t+1]=e[t+3],e[t+3]=r},e.prototype.doCryptBlock=function(e,t,r,n,i,a,o,s){for(var u=e[t]^r[0],l=e[t+1]^r[1],m=e[t+2]^r[2],y=e[t+3]^r[3],d=4,f=1;f>>24]^i[l>>>16&255]^a[m>>>8&255]^o[255&y]^r[d++],c=n[l>>>24]^i[m>>>16&255]^a[y>>>8&255]^o[255&u]^r[d++],p=n[m>>>24]^i[y>>>16&255]^a[u>>>8&255]^o[255&l]^r[d++],M=n[y>>>24]^i[u>>>16&255]^a[l>>>8&255]^o[255&m]^r[d++];u=h,l=c,m=p,y=M}var b=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[m>>>8&255]<<8|s[255&y])^r[d++],g=(s[l>>>24]<<24|s[m>>>16&255]<<16|s[y>>>8&255]<<8|s[255&u])^r[d++],v=(s[m>>>24]<<24|s[y>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[d++],S=(s[y>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&m])^r[d++];e[t]=b,e[t+1]=g,e[t+2]=v,e[t+3]=S},e.encrypt=function(t,r){return(new e).encrypt(i.parse(t),i.parse(r)).toString()},e.prototype.encrypt=function(e,t){this.key=t,this.data=new r,this.nDataBytes=0,this.doReset();var i=n.parse("0000000000000000"),a;return this.iv=i&&i.words,this.data.concat(e),this.nDataBytes+=e.sigBytes,this.pkcs7pad(this.data),this.process()},e.decrypt=function(t,r){return(new e).decrypt(i.parse(t),i.parse(r)).toString()},e.prototype.decrypt=function(e,t){this.key=t,this.data=new r,this.nDataBytes=0,this.doReset();var i=n.parse("0000000000000000");this.iv=i&&i.words,this.data.concat(e),this.nDataBytes+=e.sigBytes;var a=this.process();return this.pkcs7Unpad(a),a},e}();e.AES=t;var r=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=null),e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}return e.prototype.toString=function(){for(var e=[],t=0;t>>2]>>>24-t%4*8&255;e.push(String.fromCharCode(r))}return e.join("").stimulsoft.fromUnicodeString()},e.prototype.concat=function(e){var t;if(this.clamp(),this.sigBytes%4)for(var r=0;r>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=n<<24-(this.sigBytes+r)%4*8}else if(e.words.length>65535)for(var r=0;r>>2]=e.words[r>>>2];else(t=this.words.push).call.apply(t,__spread([this.words],e.words));return this.sigBytes+=e.sigBytes,this},e.prototype.clamp=function(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)},e}(),n=function(){function e(){}return e.parse=function(e){for(var t=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new r(t,e.length/2)},e}(),i=function(){function e(){}return e.parse=function(t){var n=t.length,i=e.map.charAt(64);if(i){var a=t.indexOf(i);-1!=a&&(n=a)}for(var o=[],s=0,u=0;u>>6-u%4*2;o[s>>>2]|=(l|m)<<24-s%4*8,s++}return new r(o,s)},e.map="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e}()}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this.BI_FP=52}return e.staticConstructor=function(){for(var t="0".charCodeAt(0),r=0;r<=9;++r)e.BI_RC[t++]=r;t="a".charCodeAt(0);for(var r=10;r<36;++r)e.BI_RC[t++]=r;t="A".charCodeAt(0);for(var r=10;r<36;++r)e.BI_RC[t++]=r},e.fromInt=function(t){var r=new e;return r.fromInt(t),r},Object.defineProperty(e.prototype,"DV",{get:function(){return 1<>14;while(--a>=0){var u=16383&this[e],l=this[e++]>>14,m=s*u+l*o;i=((u=o*u+((16383&m)<<14)+r[n]+i)>>28)+(m>>14)+s*l,r[n++]=268435455&u}return i},e.int2char=function(t){return(new e).int2char(t)},e.prototype.int2char=function(t){return e.BI_RM.charAt(t)},e.prototype.intAt=function(t,r){var n=e.BI_RC[t.charCodeAt(r)];return null==n?-1:n},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.fromString=function(t,r){void 0===r&&(r=256);var n=new e;return n.fromString(t,r),n},e.prototype.fromString=function(t,r){var n;if(void 0===r&&(r=256),16==r)n=4;else if(8==r)n=3;else if(256==r)n=8;else if(2==r)n=1;else if(32==r)n=5;else{if(4!=r)return void this.fromRadix(t,r);n=2}this.t=0,this.s=0;var i=t.length,a=!1,o=0;while(--i>=0){var s=8==n?255&Number(t[i]):this.intAt(t,i);if(s<0){"-"==t.charAt(i)&&(a=!0);continue}a=!1,0==o?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<>this.DB-o):this[this.t-1]|=s<=this.DB&&(o-=this.DB)}8==n&&0!=(128&Number(t[0]))&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e)--this.t},e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(2==e)t=1;else if(4==e)t=2;else if(8==e)t=3;else if(16==e)t=4;else{if(32!=e)return this.toRadix(e);t=5}var r=(1<0){s>s)>0&&(i=!0,a=this.int2char(n));while(o>=0)s>(s+=this.DB-t)):(n=this[o]>>(s-=t)&r,s<=0&&(s+=this.DB,--o)),n>0&&(i=!0),i&&(a+=this.int2char(n))}return i?a:"0"},e.prototype.negate=function(){var t=new e;return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;while(--r>=0)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.nbits=function(e){var t=1,r;return 0!=(r=e>>>16)&&(e=r,t+=16),0!=(r=e>>8)&&(e=r,t+=8),0!=(r=e>>4)&&(e=r,t+=4),0!=(r=e>>2)&&(e=r,t+=2),0!=(r=e>>1)&&(e=r,t+=1),t},e.prototype.bitLength=function(){if(this.t<=0)return 0;return this.DB*(this.t-1)+this.nbits(this[this.t-1]^this.s&this.DM)},e.prototype.dlShiftTo=function(e,t){for(var r=this.t-1;r>=0;--r)t[r+e]=this[r];for(var r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var r=e;r=0;--s)t[s+a+1]=this[s]>>n|o,o=(this[s]&i)<=0;--s)t[s]=0;t[a]=o,t.t=this.t+a+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)return void(t.t=0);var n=e%this.DB,i=this.DB-n,a=(1<>n;for(var o=r+1;o>n;n>0&&(t[this.t-r-1]|=(this.s&a)<>=this.DB;if(e.t>=this.DB;n+=this.s}else{n+=this.s;while(r>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),a=n.t;r.t=a+i.t;while(--a>=0)r[a]=0;for(var o=0;o=0)e[r]=0;for(r=0;r=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,r,n){var i=t.abs();if(i.t<=0)return;var a=this.abs();if(a.t0?(i.lShiftTo(l,o),a.lShiftTo(l,n)):(i.copyTo(o),a.copyTo(n));var m=o.t,y=o[m-1];if(0==y)return;var d=y*(1<1?o[m-2]>>this.F2:0),f=this.FV/d,h=(1<=0&&(n[n.t++]=1,n.subTo(b,n)),e.ONE.dlShiftTo(m,b),b.subTo(o,o);while(o.t=0){var g=n[--p]==y?this.DM:Math.floor(n[p]*f+(n[p-1]+c)*h);if((n[p]+=o.am(0,g,n,M,0,m))0&&n.rShiftTo(l,n),s<0&&e.ZERO.subTo(n,n)},e.prototype.mod=function(t){var r=new e;return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=new e,i=new e,a=r.convert(this),o=this.nbits(t)-1;a.copyTo(n);while(--o>=0)if(r.sqrTo(n,i),(t&1<0)r.mulTo(i,a,n);else{var s=n;n=i,i=s}return r.revert(n)},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new r(t):new i(t),this.exp(e,n)},e.prototype.clone=function(){var t=new e;return this.copyTo(t),t},e.prototype.intValue=function(){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)<>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var r=this.chunkSize(t),n=Math.pow(t,r),i=e.fromInt(n),a=new e,o=new e,s="";this.divRemTo(i,a,o);while(a.signum()>0)s=(n+o.intValue()).toString(t).substr(1)+s,a.divRemTo(i,a,o);return o.intValue().toString(t)+s},e.prototype.fromRadix=function(t,r){this.fromInt(0),null==r&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),a=!1,o=0,s=0,u=0;u=n&&(this.multiply2(i),this.addOffset2(s,0),o=0,s=0)}o>0&&(this.multiply2(Math.pow(r,o)),this.addOffset2(s,0)),a&&e.ZERO.subTo(this,this)},e.fromNumber=function(t,r,n){var i=new e;return i.fromNumber(t,r,n),i},e.prototype.fromNumber=function(t,r,n){if(t<2)this.fromInt(1);else{this.fromNumber2(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),this.op_or,this),this.isEven()&&this.addOffset2(1,0);while(!this.isProbablePrime(r))this.addOffset2(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this)}},e.prototype.fromNumber2=function(e,t){var r=[],n=7&e;r.length=(e>>3)+1,t.nextBytes(r),n>0?r[0]&=(1<0){r>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<=0)r<8?(n=(this[e]&(1<>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n)}return t},e.prototype.bitwiseTo=function(e,t,r){for(var n,i=Math.min(e.t,this.t),a=0;a>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t},e.prototype.getLowestSetBit=function(){for(var e=0;e=this.t)return 0!=this.s;return 0!=(this[t]&1<>=this.DB;if(e.t>=this.DB;n+=this.s}else{n+=this.s;while(r>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},e.prototype.add=function(t){var r=new e;return this.addTo(t,r),r},e.prototype.subtract=function(t){var r=new e;return this.subTo(t,r),r},e.prototype.multiply=function(t){var r=new e;return this.multiplyTo(t,r),r},e.prototype.square=function(){var t=new e;return this.squareTo(t),t},e.prototype.divide=function(t){var r=new e;return this.divRemTo(t,r,null),r},e.prototype.remainder=function(t){var r=new e;return this.divRemTo(t,null,r),r},e.prototype.multiply2=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.addOffset2=function(e,t){if(0==e)return;while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]},e.prototype.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);r.s=0,r.t=n;while(n>0)r[--n]=0;for(var i=r.t-this.t;n=0)r[n]=0;for(var i=Math.max(t-this.t,0);i1){var h=new e;l.sqrTo(m[1],h);while(y<=f)m[y]=new e,l.mulTo(h,m[y-2],m[y]),y+=2}var c=t.t-1,p,M=!0,b=new e,g;o=this.nbits(t[c])-1;while(c>=0){o>=d?p=t[c]>>o-d&f:(p=(t[c]&(1<0&&(p|=t[c-1]>>this.DB+o-d)),y=s;while(0==(1&p))p>>=1,--y;if((o-=y)<0&&(o+=this.DB,--c),M)m[p].copyTo(u),M=!1;else{while(y>1)l.sqrTo(u,b),l.sqrTo(b,u),y-=2;y>0?l.sqrTo(u,b):(g=u,u=b,b=g),l.mulTo(b,m[p],u)}while(c>=0&&0==(t[c]&1<0&&(t.rShiftTo(a,t),r.rShiftTo(a,r));while(t.signum()>0)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return a>0&&r.lShiftTo(a,r),r},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0){if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r}return 0},e.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||0==t.signum())return e.ZERO;var n=t.clone(),i=this.clone(),a=e.fromInt(1),o=e.fromInt(0),s=e.fromInt(0),u=e.fromInt(1);while(0!=n.signum()){while(n.isEven())n.rShiftTo(1,n),r?(a.isEven()&&o.isEven()||(a.addTo(this,a),o.subTo(t,o)),a.rShiftTo(1,a)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);while(i.isEven())i.rShiftTo(1,i),r?(s.isEven()&&u.isEven()||(s.addTo(this,s),u.subTo(t,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);n.compareTo(i)>=0?(n.subTo(i,n),r&&a.subTo(s,a),o.subTo(u,o)):(i.subTo(n,i),r&&s.subTo(a,s),u.subTo(o,u))}if(0!=i.compareTo(e.ONE))return e.ZERO;if(u.compareTo(t)>=0)return u.subtract(t);if(!(u.signum()<0))return u;return u.addTo(t,u),u.signum()<0?u.add(t):u},e.prototype.isProbablePrime=function(t){var r,n=this.abs();if(1==n.t&&n[0]<=e.lowprimes[e.lowprimes.length-1]){for(var i=0;i>1)>e.lowprimes.length&&(t=e.lowprimes.length);for(var a=new e,o=0;o=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),n=function(e){function r(r){var n=e.call(this,r)||this;return n.r2=new t,n.q3=new t,n.r2=new t,n.q3=new t,t.ONE.dlShiftTo(2*r.t,n.r2),n.mu=n.r2.divide(r),n}return __extends(r,e),r.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=new t;return e.copyTo(r),this.reduce(r),r},r.prototype.revert=function(e){return e},r.prototype.reduce=function(e){e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.addOffset2(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)},r.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},r}(r),i=function(e){function r(t){var r=e.call(this,t)||this;return r.mp=t.invDigit(),r.mpl=32767&r.mp,r.mph=r.mp>>15,r.um=(1<0&&this.m.subTo(r,r),r},r.prototype.revert=function(e){var r=new t;return e.copyTo(r),this.reduce(r),r},r.prototype.reduce=function(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);while(e[r]>=e.DV)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},r.prototype.montSqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.montMulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},r}(r),a=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.nop=function(e){return e},t.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},t.prototype.sqrTo=function(e,t){e.squareTo(t)},t}(r);t.staticConstructor()}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){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}return t.prototype.verifyString=function(t,r){return 1;r=this.base64toHex(r);var n=this.parseBigInt(r,16),i,a=this.doPublic(n).toString(16).replace(/^1f+00/,""),o,s;if(a.substring(0,e.SHA1.signature.length)!=e.SHA1.signature)return!1;return a.substring(e.SHA1.signature.length)==e.SHA1.hex(t.stimulsoft.toUnicodeString())},t.prototype.base64toHex=function(t){for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="=",i="",a=0,o,s=0;s>2),o=3&u,a=1):1==a?(i+=e.BigInteger.int2char(o<<2|u>>4),o=15&u,a=2):2==a?(i+=e.BigInteger.int2char(o),i+=e.BigInteger.int2char(u>>2),o=3&u,a=3):(i+=e.BigInteger.int2char(o<<2|u>>4),i+=e.BigInteger.int2char(15&u),a=0)}return 1==a&&(i+=e.BigInteger.int2char(o<<2)),i},t.prototype.parseBigInt=function(t,r){return e.BigInteger.fromString(t,r)},t.prototype.pkcs1pad2=function(t,r){if(r=0&&r>0){var a=t.charCodeAt(i--);a<128?n[--r]=a:a>127&&a<2048?(n[--r]=63&a|128,n[--r]=a>>6|192):(n[--r]=63&a|128,n[--r]=a>>6&63|128,n[--r]=a>>12|224)}n[--r]=0;var o=new e.SecureRandom,s=[];while(r>2){s[0]=0;while(0==s[0])o.nextBytes(s);n[--r]=s[0]}return n[--r]=2,n[--r]=0,e.BigInteger.fromString(n)},t.prototype.pkcs1unpad2=function(e,t){var r=e.toByteArray(),n=0;while(n=r.length)return null;var i="";while(++n191&&a<224?(i+=String.fromCharCode((31&a)<<6|63&r[n+1]),++n):(i+=String.fromCharCode((15&a)<<12|(63&r[n+1])<<6|63&r[n+2]),n+=2)}return i},t.prototype.setPublic=function(e,t){null!=(e=this.base64toHex(e))&&null!=t&&e.length>0&&t.length>0&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16))},t.prototype.setPrivate=function(e,t,r){null!=e&&null!=t&&e.length>0&&t.length>0&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16),this.d=this.parseBigInt(r,16))},t.prototype.setPrivateEx=function(e,t,r,n,i,a,o,s){null!=e&&null!=t&&e.length>0&&t.length>0&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16),this.d=this.parseBigInt(r,16),this.p=this.parseBigInt(n,16),this.q=this.parseBigInt(i,16),this.dmp1=this.parseBigInt(a,16),this.dmq1=this.parseBigInt(o,16),this.coeff=this.parseBigInt(s,16))},t.prototype.generate=function(t,r){var n=new e.SecureRandom,i=t>>1;this.e=parseInt(r,16);for(var a=e.BigInteger.fromString(r,16);;){for(;;)if(this.p=e.BigInteger.fromNumber(t-i,1,n),0==this.p.subtract(e.BigInteger.ONE).gcd(a).compareTo(e.BigInteger.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=e.BigInteger.fromNumber(i,1,n),0==this.q.subtract(e.BigInteger.ONE).gcd(a).compareTo(e.BigInteger.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var s=this.p.subtract(e.BigInteger.ONE),u=this.q.subtract(e.BigInteger.ONE),l=s.multiply(u);if(0==l.gcd(a).compareTo(e.BigInteger.ONE)){this.n=this.p.multiply(this.q),this.d=a.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(u),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),r=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(r)<0)t=t.add(this.p);return t.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},t.prototype.encrypt=function(e){var t=this.pkcs1pad2(e,this.n.bitLength()+7>>3);if(null==t)return null;var r=this.doPublic(t);if(null==r)return null;var n=r.toString(16);return 0==(1&n.length)?n:"0"+n},t.prototype.decrypt=function(e){var t=this.parseBigInt(e,16),r=this.doPrivate(t);if(null==r)return null;return this.pkcs1unpad2(r,this.n.bitLength()+7>>3)},t}();e.RSAKey=t}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this.blockLength=64,this.state=[1732584193,4023233417,2562383102,271733878,3285377520],this.K=[1518500249,1859775393,2400959708,3395469782]}return e.hex=function(t){return(new e).hex(t)},e.prototype.hex=function(e){return this.toHex(this.getMD(e))},e.prototype.getMD=function(e){var t=[];return t=this.unpack(e),t=this.paddingData(t),this.round(t)},e.prototype.rotl=function(e,t){return e<>>32-t},e.prototype.round=function(e){for(var t=[],r=[],n,i=[],a=0;a15?"":"0")+e[r].toString(16);return t},e.prototype.fromBigEndian32=function(e){for(var t=[],r=0,n=0;n>>24&255,t[r++]=e[n]>>>16&255,t[r++]=e[n]>>>8&255,t[r++]=255&e[n];return t},e.prototype.toBigEndian32=function(e){for(var t=[],r=0,n=0;n>>8,t[r++]=255&n);return t},e.prototype.pack=function(e){var t="";for(var r in e)t+=String.fromCharCode(e[r]);return t},e.signature="3021300906052b0e03021a05000414",e}();e.SHA1=t}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.rotate=function(e,t){return e>>>t|e<<32-t},e.prototype.sigma=function(e,t,r,n){return this.rotate(e,t)^this.rotate(e,r)^e>>>n},e.prototype.sum=function(e,t){return e[15&t]+=this.sigma(e[t+14&15],17,19,10)+e[t+9&15]+this.sigma(e[t+1&15],7,18,3)},e.prototype.aggregate=function(e,t){var r=(65535&e)+(65535&t);return(t=(e>>16)+(t>>16)+(r>>16))<<16|65535&r},e.prototype.conglomerate=function(e,t){for(var r=[],n=2;n>>16;for(s+=o>>>16,e[t+1]=s<<16|65535&o,o=s>>>16,s=0;i>>16;s+=o>>>16,e[t]=s<<16|65535&o},e.prototype.compress=function(t,r){var n=[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]],i=[],a=0;while(a<16)i[a]=r[(a<<2)+3]|r[(a<<2)+2]<<8|r[(a<<2)+1]<<16|r[a<<2]<<24,a++;for(a=0;a<64;a++)for(var o=n[0],s=n[1],u=n[2],l=n[4],m=n[7]+(this.rotate(l,6)^this.rotate(l,11)^this.rotate(l,25))+(l&n[5]^~l&n[6])+e.ROUNDS_256[a]+(a<16?i[a]:this.sum(i,a)),y=7;y>=0;y--)n[y]=4===y?this.aggregate(n[3],m):0===y?this.aggregate(m,(this.rotate(o,2)^this.rotate(o,13)^this.rotate(o,22))+(o&s^o&u^s&u)):n[y-1];for(a=0;a<8;a++)t[a]+=n[a]},e.prototype.hash=function(t,r,n){var i="",a=(r?224===n?e.HASH_512_224:256===n?e.HASH_512_256:384===n?e.HASH_384:e.HASH_512:224===n?e.HASH_224:e.HASH_256).slice(),o=t.length,s=[],u=0,l=!0,m=0,y=0,d=0,f=0,h=0,c,p;if(r){var M=[0,0,0,0,0,0,0,0],b=[24,16,8,0],g=void 0;do{for(s[0]=u,c=1;c<=32;c++)s[c]=0;if("string"==typeof t)for(c=d;m>2]|=v<>2]|=(192|v>>6)<>2]|=(128|63&v)<=57344?(s[c>>2]|=(224|v>>12)<>2]|=(128|v>>6&63)<>2]|=(128|63&v)<>2]|=(240|v>>18)<>2]|=(128|v>>12&63)<>2]|=(128|v>>6&63)<>2]|=(128|63&v)<>2]|=t[m]<>2]|=[-2147483648,8388608,32768,128][3&c],++m),u=s[32],m>o&&c<112&&(s[31]=y<<3,l=!1),p=32;p<160;p+=2){var S=s[p-30],w=s[p-29],N=s[p-4],j=s[p-3];this.conglomerate(s,p,s[p-13],s[p-31],(w>>>1|S<<31)^(w>>>8|S<<24)^(w>>>7|S<<25),(j>>>19|N<<13)^(N>>>29|j<<3)^(j>>>6|N<<26),s[p-14],s[p-32],(S>>>1|w<<31)^(S>>>8|w<<24)^S>>>7,(N>>>19|j<<13)^(j>>>29|N<<3)^N>>>6)}for(g=a.slice(),M[6]=g[2]&g[4],M[7]=g[3]&g[5],c=0;c<160;c+=8)for(p=0;p<8;p+=2){var I=p>0?8-p:0,k=[0,0,0,0];this.conglomerate(k,0,e.ROUNDS_512[c+p+1],s[c+p+1],g[9+I]&g[2===p?9:11+I]^~g[9+I]&g[6===p?15:13-p],(g[9+I]>>>14|g[8+I]<<18)^(g[9+I]>>>18|g[8+I]<<14)^(g[8+I]>>>9|g[9+I]<<23),g[15-p],e.ROUNDS_512[c+p],s[c+p],g[8+I]&g[2===p?8:10+I]^~g[8+I]&g[6===p?14:12-p],(g[8+I]>>>14|g[9+I]<<18)^(g[8+I]>>>18|g[9+I]<<14)^(g[9+I]>>>9|g[8+I]<<23),g[14-p]),this.conglomerate(k,2,(M[p+1]=g[1+I]&g[2===p?1:3+I])^g[1+I]&g[(6===p?p:4-p)+1]^M[7-I],(g[1+I]>>>28|g[I]<<4)^(g[I]>>>2|g[1+I]<<30)^(g[I]>>>7|g[1+I]<<25),(M[p]=g[I]&g[2===p?0:2+I])^g[I]&g[6===p?p:4-p]^M[6-I],(g[I]>>>28|g[1+I]<<4)^(g[1+I]>>>2|g[I]<<30)^(g[1+I]>>>7|g[I]<<25)),this.conglomerate(g,14-p,g[7-p],k[1],g[6-p],k[0]),this.conglomerate(g,6-p,k[3],k[1],k[2],k[0])}for(c=0;c<16;c+=2)this.conglomerate(a,c,a[c+1],g[c+1],a[c],g[c])}while(l)}else{for(m=f>>3&63,d=63&o,(f+=o<<3)>29,c=0;c+63>3&63,s[m++]=128,c=m;c<(m>56?64:56);c++)s[c]=0;if(m>56)for(this.compress(a,s),c=0;c<56;c++)s[c]=0;while(c<64)for(p=24;p>=0;p-=8,c++)s[c]=(c>=60?f:h)>>>p&255;this.compress(a,s)}if("string"==typeof t){for(c=0;c<(512===n?16:384===n?12:256===n?8:7);c++)for(p=28;p>=0;p-=4)i+=e.HEX_DIGITS.charAt(a[c]>>>p&15);return i}var _=[];for(c=0;c<(512===n?16:384===n?12:256===n?8:7);c++)for(p=24;p>=0;p-=8)_.push(a[c]>>>p&255);return _},e.prototype.SHA2_224=function(e){return this.hash(e,!1,224)},e.prototype.SHA2_256=function(e){return this.hash(e,!1,256)},e.prototype.SHA2_384=function(e){return this.hash(e,!0,384)},e.prototype.SHA2_512=function(e){return this.hash(e,!0,512)},e.prototype.SHA2_512_224=function(e){return this.hash(e,!0,224)},e.prototype.SHA2_512_256=function(e){return this.hash(e,!0,256)},e.SHA256=function(t){var r;return(new e).hash(t,!1,256)},e.HASH_224=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],e.HASH_256=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],e.HASH_384=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428],e.HASH_512=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],e.HASH_512_224=[2352822216,424955298,1944164710,2312950998,502970286,855612546,1738396948,1479516111,258812777,2077511080,2011393907,79989058,1067287976,1780299464,286451373,2446758561],e.HASH_512_256=[573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882],e.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],e.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],e.HEX_DIGITS="0123456789abcdef",e}();e.SHA2=t}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){if(null==this.pool){this.pool=[],this.position=0;var e=void 0;while(this.position>>8,this.pool[this.position++]=255&e;this.position=0,this.seedTime()}}return e.prototype.seedInteger=function(e){this.pool[this.position++]^=255&e,this.pool[this.position++]^=e>>8&255,this.pool[this.position++]^=e>>16&255,this.pool[this.position++]^=e>>24&255,this.position>=r.poolSize&&(this.position-=r.poolSize)},e.prototype.seedTime=function(){this.seedInteger((new Date).getTime())},e.prototype.getByte=function(){if(null==this.state){for(this.seedTime(),this.state=new r,this.state.init(this.pool),this.position=0;this.position1)for(var n=1;n0)for(var r=this.list.length,n=0;n=0;return e.prototype.contains.call(this,t)},t.prototype.getByName=function(e){var t,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.relationName==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},t.prototype.getDataSet=function(){return null},t}(e.System.Collections.CollectionBase);t.DataRelationCollection=n}(r=t.Data||(t.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){this.recordIndex=-1}return t.create=function(e){var r=new t;return r.table=e,r.columns=e.columns,r},t.prototype.getColumnIndex=function(t){if("number"==typeof t)return t;if("string"==typeof t)return this.columns.getIndexByName(t);if(t.stimulsoft.is(e.DataColumn))return this.columns.indexOf(t);return-1},t.prototype.gett=function(e){return this.getValue(e)},t.prototype.sett=function(e,t){this.setValue(e,t)},Object.defineProperty(t.prototype,"itemArray",{get:function(){var e,t,r=[];try{for(var n=__values(this.columns.list),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(this.getValue(a))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!1,configurable:!0}),t.prototype.getValue=function(e){var t=this.getColumnIndex(e),r=this.columns.getByIndex(t);-1==this.recordIndex&&(this.recordIndex=this.table.rows.indexOf(this));var n=this.recordIndex;if(null!=r)return r.getRecord(n);return null},t.prototype.setValue=function(e,t){var r=this.getColumnIndex(e),n=this.columns.getByIndex(r);-1==this.recordIndex&&(this.recordIndex=this.table.rows.indexOf(this)),-1==this.recordIndex&&(this.recordIndex=this.table.rows.length);var i=this.recordIndex;null!=n&&n.setRecord(i,t)},t.prototype.getValueByIndex=function(e){var t=this.columns.getByIndex(e),r=this.table.rows.indexOf(this);if(null!=t)return t.getRecord(r);return null},t.prototype.setValueByIndex=function(e,t){var r=this.columns.getByIndex(e),n=this.table.rows.indexOf(this);null!=r&&r.setRecord(n,t)},t.prototype.getDataColumn=function(e){return this.columns.getByName(e)},t.prototype.getChildRows=function(t){var r=this.table.childRelations.getByName(t);if(null==r)return[];return e.DataRelation.getChildRows(r.parentKey,r.childKey,this)},t.prototype.getParentRow=function(t){var r=this.table.parentRelations.getByName(t);if(null==r)return null;return e.DataRelation.getParentRows(r.parentKey,r.childKey,this)[0]},t.prototype.getParentRows=function(t){var r=this.table.parentRelations.getByName(t);if(null==r)return[];return e.DataRelation.getParentRows(r.parentKey,r.childKey,this)},t.prototype.getKeyValues=function(e){var t=this.table.rows.indexOf(this);return e.getKeyValues(t)},t.copyToDataTable=function(t){var r,n,i,a,o=new e.DataTable;try{for(var s=__values(t.firstOrDefault().columns.list),u=s.next();!u.done;u=s.next()){var l=u.value;o.columns.add(new e.DataColumn(l.columnName,l.dataType))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var m=__values(t),y=m.next();!y.done;y=m.next()){var d=y.value;o.loadDataRow(d.itemArray)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}return o},t}();e.DataRow=t}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r,n=function(e){function r(t){var r=e.call(this)||this;return r.table=t,r}return __extends(r,e),r.prototype.add=function(e){return this.table.addRow(e)},r.prototype.remove=function(e){this.table.removeRow(e)},r.prototype.addArray=function(e){return e.recordIndex=this.list.push(e)-1,e.recordIndex},r.prototype.removeArray=function(e){var t=this.list.lastIndexOf(e);-1!=t&&this.list.splice(t,1)},r.prototype.copyTo=function(e,t){for(var r=0;r0){var n=null,i=null,a=1;if(null!=e&&e.length>0&&("function"==typeof e[0]?n=e[0]:i=e[0].toString(),e.length>1&&!e[1]&&(a=-1)),null==i&&(i=this.table.columns.getByIndex(0).columnName),null==n)switch(this.table.columns.getByName(i).storage.stimulsoft.getType()){case t.NumberStorage:n=function(e,t){var r=e.getValue(i),n=t.getValue(i);if(rn)return 1*a;return 0};break;case t.StringStorage:n=function(e,t){var r=e.getValue(i).toString(),n=t.getValue(i).toString();return r.toLocaleLowerCase().localeCompare(n.toLocaleLowerCase())*a};break;case t.DateTimeStorage:n=function(e,t){var r=e.getValue(i),n=t.getValue(i);if(r.ticksn.ticks)return 1*a;return 0};break}this.quickSort(n,0,this.list.length-1)}},r.prototype.gett=function(e,t){return this.getByIndex(e).gett(t)},r}(e.System.Collections.CollectionBase);t.DataRowCollection=n}(r=t.Data||(t.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.encodeName=function(e){if(null==e||0==e.length)return"";var t="",r=/_[Xx]([0-9a-fA-F]{4})_/g,n=0,i=0,a=r.exec(e);while(a)t+=e.substring(i,a.index),t+="_x005F_x",i=a.index+2,a=r.exec(e);for(t+=e.substring(i,e.length),e=t,t="",e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57&&(t+="_",t+=this.toHex(e.charCodeAt(0)),t+="_",n++);n57&&o<65||o>90&&o<95||o>122&&o<160?(t+="_",t+=this.toHex(o),t+="_"):t+=e.substr(n,1)}return t},e.decodeName=function(e){if(null==e||0==e.length)return"";if(e.indexOf("_")<0)return e;var t="",r=e.length,n=0,i=/_[Xx]([0-9a-fA-F]{4})_/g,a=i.exec(e);while(a){t+=e.substring(n,a.index);var o=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));t+=String.fromCharCode(o),n=a.index+7,a=i.exec(e)}return t+=e.substring(n,r)},e.fromHex=function(e){if(e>"9")return(e<="F"?e.charCodeAt(0)-"A".charCodeAt(0):e.charCodeAt(0)-"a".charCodeAt(0))+10;return e.charCodeAt(0)-"0".charCodeAt(0)},e.toHex=function(e){var t=e.toString(16).toUpperCase(),r="";switch(t.length){case 1:r+="x000"+t;break;case 2:r+="x00"+t;break;case 3:r+="x0"+t;break;case 4:r+="x"+t;break}return r},e}();e.XMLConvert=t}(t=e.Text||(e.Text={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Collections.List,n=function(){function e(){this.nodeName="",this.childNodes=new r,this.localName="",this.textContent="",this.attributes=new t.XmlAttrCollection}return Object.defineProperty(e.prototype,"firstChild",{get:function(){if(this.childNodes.length>0)return this.childNodes[0];return null},enumerable:!1,configurable:!0}),e.prototype.setParentNode=function(e){this.parentNode=e},e.prototype.getAttribute=function(e){if(null!=this.attributes)for(var t=0;t=0)return e.name.substring(e.name.indexOf(":")+1);return e.name},n.getNodeLocalName=function(e){return e.localName},n.getNodeTextContent=function(e){for(var t=e.textContent.split("_amp#x"),r=1;r0&&(p[F.tableName+"."+A.columnName]={childColumn:A,childTable:F,parentTableName:R[0].collectionName})}else 0!=A.initType||t.StiString.isNullOrEmpty(C)||(delete A.initType,"number"==H?A.changeType(e.System.Decimal):"boolean"==H?A.changeType(Boolean):"string"==H&&this.tryParseDateTime&&t.DateTime.isISO8601String(C)&&A.changeType(t.DateTime)),P.setValue(A,C)}}}catch(e){u={error:e}}finally{try{_&&!_.done&&(l=k.return)&&l.call(k)}finally{if(u)throw u.error}}}for(var W in p){var z=p[W].childColumn,J=this.tables.getByName(p[W].parentTableName),G=J.columns.getByName("relationId");i==s.ChildToParent?this.relations.add(new r.DataRelation(J.tableName,[G],[z])):this.relations.add(new r.DataRelation(J.tableName,[z],[G]));for(var B=0;B0){o=!0,a.columns.add(new r.DataColumn("key")),a.columns.add(new r.DataColumn("value"));try{for(var s=__values(e.keys),u=s.next();!u.done;u=s.next()){var l=u.value,m=a.newRow();a.rows.add(m),m.sett("key",l);var y=e.get(l);m.sett("value",y)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}o&&this.tables.add(a)},u.prototype.processArray=function(e,t){var n,a,o,s,u,l,m=new i;try{for(var y=__values(e),d=y.next();!d.done;d=y.next()){var f=d.value;for(var h in f){var c;if(Object.prototype.hasOwnProperty.call(f,h))null!=(c=f[h])&&m.add(h,"")}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=y.return)&&a.call(y)}finally{if(n)throw n.error}}var p=new r.DataTable(t);try{for(var M=__values(m.keys),b=M.next();!b.done;b=M.next()){var g=b.value;p.columns.add(new r.DataColumn(g))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=M.return)&&s.call(M)}finally{if(o)throw o.error}}try{for(var v=__values(e),S=v.next();!S.done;S=v.next()){var f=S.value,w=p.newRow(),N=p.rows.add(w);for(var h in f){var c;if(Object.prototype.hasOwnProperty.call(f,h))null==(c=f[h])||c.stimulsoft.is(String)||c.stimulsoft.is(Number)||c.stimulsoft.is(Boolean)||(c=JSON.stringify(c,null,2)),w.setValue(h,c)}}}catch(e){u={error:e}}finally{try{S&&!S.done&&(l=v.return)&&l.call(v)}finally{if(u)throw u.error}}this.tables.add(p)},u.prototype.fillDataSet=function(){null==this.schemaNode&&"xs:schema"==this.dataNode.firstChild.nodeName&&(this.schemaNode=this.dataNode.firstChild,this.dataNode.childNodes.removeAt(0)),null!=this.schemaNode?this.parseSchema():this.fillDataTables(),null!=this.dataNode&&(this.dataNode.childNodes.length>0||this.dataNode.attributes.length>0)&&!this.isRetrieveColumns&&this.fillTable(this.dataNode),this.dataNode=null,this.schemaNode=null},u.prototype.fillDataTables=function(){for(var e=0;ethis.columns.length)throw new Error("The array is larger than the number of columns in the table.");for(var r=this.addNewRow(),n=0;n0;t||(o=!o);var s=this.table.rows.getByIndex(a),u=0;while(u0&&(d["value"]=c);else d["value"]=d["value1"]}var p=s.gett(f),c;if(this.isString(p))(c=(p=p.toUpperCase()).trim()).length>0&&(p=c);t||(m=!1);var M=d["value"],b=d["operator"];("EqualTo"==b&&p==M||"NotEqualTo"==b&&p!=M||"GreaterThan"==b&&p>M||"GreaterThanOrEqualTo"==b&&p>=M||"LessThanOrEqualTo"==b&&p<=M||"LessThan"==b&&p=0||"BeginningWith"==b&&0==(null==p?void 0:p.indexOf(M))||"EndingWith"==b&&(null==p?void 0:p.lastIndexOf(M))==p.length-M.length||"IsNull"==b&&null==p||"IsNotNull"==b&&null!=p||"NotContaining"==b&&-1==(null==p?void 0:p.indexOf(M))||"IsBlank"==b&&0==(null==p?void 0:p.trim().length)||"IsNotBlank"==b&&(null==p?void 0:p.trim().length)>0||"EqualToDate"==b&&(null==p?void 0:p.toString("MM/DD/YYYY hh:mm:ss"))==(null==M?void 0:M.toString("MM/DD/YYYY hh:mm:ss"))||"NotEqualToDate"==b&&(null==p?void 0:p.toString("MM/DD/YYYY hh:mm:ss"))!=(null==M?void 0:M.toString("MM/DD/YYYY hh:mm:ss"))||"GreaterThanDate"==b&&(null==p?void 0:p.ticks)>(null==M?void 0:M.ticks)||"GreaterThanOrEqualToDate"==b&&(null==p?void 0:p.ticks)>=(null==M?void 0:M.ticks)||"LessThanOrEqualToDate"==b&&(null==p?void 0:p.ticks)<=(null==M?void 0:M.ticks)||"LessThanDate"==b&&(null==p?void 0:p.ticks)<(null==M?void 0:M.ticks))&&(m=!0)}catch(e){}y++}o=m,u++}o&&i.loadDataRow(s.itemArray)}if(!e.StiString.isNullOrEmpty(this.sort)){var g=this.sort.split(",");try{for(var v=__values(this.sort.split(",")),S=v.next();!S.done;S=v.next()){var w=S.value,N=this.sort.split(" ");i.rows.sort(N[0].trim(),"asc"==N[1].trim().toLowerCase())}}catch(e){r={error:e}}finally{try{S&&!S.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}}return i},t.prototype.isString=function(e){return"string"==typeof e||e instanceof String},t.prototype.parseConditions=function(e){this.ands=[];for(var t=0;t"?(a["operator"]="NotEqualTo",a["value1"]=i.substr(3)):i[0]+i[1]==">="?(a["operator"]="GreaterThanOrEqualTo",a["value1"]=i.substr(3)):i[0]+i[1]=="<="?(a["operator"]="LessThanOrEqualTo",a["value1"]=i.substr(3)):">"==i[0]?(a["operator"]="GreaterThan",a["value1"]=i.substr(2)):"<"==i[0]?(a["operator"]="LessThan",a["value1"]=i.substr(2)):0==i.indexOf("LIKE '*")&&i.lastIndexOf("*'")==i.length-2?(a["operator"]="Containing",a["value1"]=i.substr(7,i.lastIndexOf("'")-8)):0==i.indexOf("LIKE '")&&i.lastIndexOf("*'")==i.length-2?(a["operator"]="BeginningWith",a["value1"]=i.substr(6,i.lastIndexOf("'")-7)):0==i.indexOf("LIKE '*")&&i.lastIndexOf("'")==i.length-1?(a["operator"]="EndingWith",a["value1"]=i.substr(7,i.lastIndexOf("'")-7)):0==i.indexOf("IS NULL")?a["operator"]="IsNull":0==i.indexOf("IS NOT NULL")&&(a["operator"]="IsNotNull")):0==i.indexOf("Convert([")?(a["operator"]="EqualTo",a["field"]=i.substr(9,i.indexOf("]")-9),i=i.substr(i.indexOf("LIKE '")+6),a["value1"]=i.substr(0,i.length-2)):0==i.indexOf("NOT (Convert([")?(a["operator"]="NotEqualTo",a["field"]=i.substr(14,i.indexOf("]")-14),i=i.substr(i.indexOf("LIKE '")+6),a["value1"]=i.substr(0,i.length-3)):0==i.indexOf("NOT ([")?(a["operator"]="NotContaining",a["field"]=i.substr(6,i.indexOf("]")-6),i=i.substr(i.indexOf("LIKE '*")+7),a["value1"]=i.substr(0,i.length-3)):0==i.indexOf("TRIM([")&&i.indexOf(") = ''")==i.length-6?(a["operator"]="IsBlank",a["field"]=i.substr(6,i.indexOf("]")-6)):0==i.indexOf("TRIM([")&&i.indexOf(") <> ''")==i.length-7&&(a["operator"]="IsNotBlank",a["field"]=i.substr(6,i.indexOf("]")-6)),a["operator"]){var o=a["value1"];null!=o&&(o.length>2&&(o=o.split("''").join("'")),o.length>1&&"'"==o[0]&&"'"==o[o.length-1]&&(o=o.substr(1,o.length-2)),a["value1"]=o),r.push(a)}}r.length>0&&this.ands.push(r)}},t.prototype.parse=function(e,t,r){if("("==(e=e.trim())[0]&&")"==e[e.length-1]){for(var n=!1,i=1,a=1;a=9&&a<=13||160==a&&i||133==a)return!0;var o=t.Chars.getUnicodeCategory(a);return o==r.SpaceSeparator||o==r.LineSeparator||o==r.ParagraphSeparator},e.checkLetter=function(e){return e==r.UppercaseLetter||e==r.LowercaseLetter||e==r.TitlecaseLetter||e==r.ModifierLetter||e==r.OtherLetter},e.getUnicodeCategory=function(e,n){if(void 0===n&&(n=0),null==e||e.lengthe.maxMilliSeconds)return e.maxMilliSeconds;if(t=0?.5:-.5))*e.ticksPerMillisecond)},e.fromTicks=function(t){return new e(t)},e.fromSeconds=function(e){return this.interval(e,this.millisPerSecond)},e.fromMilliseconds=function(e){return this.interval(e,1)},e.prototype.add=function(t){return new e(this.ticks+t)},e.prototype.add2=function(t){return new e(this.ticks+t.ticks)},e.prototype.toString=function(r){var n=!1;t.StiString.isNullOrEmpty(r)&&(r="hh:mm:ss",this.days>=1&&(r="d.hh:mm:ss"),r=r.stimulsoft.replaceAll("h","H"));var i=new Date;i.setTime(0);var a,o,s,u,l,m,y=1440*(i.getDay()-i.getUTCDay()+1)+60*(i.getHours()-i.getUTCHours())+(i.getMinutes()-i.getUTCMinutes()),d=e.ticksPerMinute*y,f=new t.DateTime(this.ticks-d).toString(r);if(this.ticks<0)return"-"+f;return f},e.prototype.negate=function(){if(this.ticks==e.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new e(-this._ticks)},e.timeToTicks=function(t,r,n,i,a){var o;return(86400*t+3600*r+60*n+i)*e.ticksPerSecond},e.create=function(t,r,n,i,a){return void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===i&&(i=0),void 0===a&&(a=0),new e(e.timeToTicks(t,r,n,i,a))},e.ticksPerMillisecond=1,e.millisecondsPerTick=1/e.ticksPerMillisecond,e.ticksPerSecond=1e3*e.ticksPerMillisecond,e.secondsPerTick=1/e.ticksPerSecond,e.ticksPerMinute=60*e.ticksPerSecond,e.minutesPerTick=1/e.ticksPerMinute,e.ticksPerHour=60*e.ticksPerMinute,e.hoursPerTick=1/e.ticksPerHour,e.ticksPerDay=24*e.ticksPerHour,e.daysPerTick=1/e.ticksPerDay,e.millisPerSecond=1e3,e.millisPerMinute=60*e.millisPerSecond,e.millisPerHour=60*e.millisPerMinute,e.millisPerDay=24*e.millisPerHour,e.maxSeconds=Number.MAX_VALUE/e.ticksPerSecond,e.minSeconds=Number.MIN_VALUE/e.ticksPerSecond,e.maxMilliSeconds=Number.MAX_VALUE/e.ticksPerMillisecond,e.minMilliSeconds=Number.MIN_VALUE/e.ticksPerMillisecond,e.ticksPerTenthSecond=100*e.ticksPerMillisecond,e._minValue=null,e._maxValue=null,e}();t.TimeSpan=n}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.setValue=function(e,t){this.values[e]="string"==typeof t?r.fromString(t):"number"==typeof t?r.fromTicks(+t):t},t}(t.DataStorage);t.TimeSpanStorage=n}(r=t.Data||(t.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Solid"]=0]="Solid",e[e["Dash"]=1]="Dash",e[e["Dot"]=2]="Dot",e[e["DashDot"]=3]="DashDot",e[e["DashDotDot"]=4]="DashDotDot",e[e["Custom"]=5]="Custom"}(t=e.DashStyle||(e.DashStyle={}))}(t=e.Drawing2D||(e.Drawing2D={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Min"]=0]="Min",e[e["Horizontal"]=0]="Horizontal",e[e["Vertical"]=1]="Vertical",e[e["ForwardDiagonal"]=2]="ForwardDiagonal",e[e["BackwardDiagonal"]=3]="BackwardDiagonal",e[e["Max"]=4]="Max",e[e["Cross"]=4]="Cross",e[e["LargeGrid"]=4]="LargeGrid",e[e["DiagonalCross"]=5]="DiagonalCross",e[e["Percent05"]=6]="Percent05",e[e["Percent10"]=7]="Percent10",e[e["Percent20"]=8]="Percent20",e[e["Percent25"]=9]="Percent25",e[e["Percent30"]=10]="Percent30",e[e["Percent40"]=11]="Percent40",e[e["Percent50"]=12]="Percent50",e[e["Percent60"]=13]="Percent60",e[e["Percent70"]=14]="Percent70",e[e["Percent75"]=15]="Percent75",e[e["Percent80"]=16]="Percent80",e[e["Percent90"]=17]="Percent90",e[e["LightDownwardDiagonal"]=18]="LightDownwardDiagonal",e[e["LightUpwardDiagonal"]=19]="LightUpwardDiagonal",e[e["DarkDownwardDiagonal"]=20]="DarkDownwardDiagonal",e[e["DarkUpwardDiagonal"]=21]="DarkUpwardDiagonal",e[e["WideDownwardDiagonal"]=22]="WideDownwardDiagonal",e[e["WideUpwardDiagonal"]=23]="WideUpwardDiagonal",e[e["LightVertical"]=24]="LightVertical",e[e["LightHorizontal"]=25]="LightHorizontal",e[e["NarrowVertical"]=26]="NarrowVertical",e[e["NarrowHorizontal"]=27]="NarrowHorizontal",e[e["DarkVertical"]=28]="DarkVertical",e[e["DarkHorizontal"]=29]="DarkHorizontal",e[e["DashedDownwardDiagonal"]=30]="DashedDownwardDiagonal",e[e["DashedUpwardDiagonal"]=31]="DashedUpwardDiagonal",e[e["DashedHorizontal"]=32]="DashedHorizontal",e[e["DashedVertical"]=33]="DashedVertical",e[e["SmallConfetti"]=34]="SmallConfetti",e[e["LargeConfetti"]=35]="LargeConfetti",e[e["ZigZag"]=36]="ZigZag",e[e["Wave"]=37]="Wave",e[e["DiagonalBrick"]=38]="DiagonalBrick",e[e["HorizontalBrick"]=39]="HorizontalBrick",e[e["Weave"]=40]="Weave",e[e["Plaid"]=41]="Plaid",e[e["Divot"]=42]="Divot",e[e["DottedGrid"]=43]="DottedGrid",e[e["DottedDiamond"]=44]="DottedDiamond",e[e["Shingle"]=45]="Shingle",e[e["Trellis"]=46]="Trellis",e[e["Sphere"]=47]="Sphere",e[e["SmallGrid"]=48]="SmallGrid",e[e["SmallCheckerBoard"]=49]="SmallCheckerBoard",e[e["LargeCheckerBoard"]=50]="LargeCheckerBoard",e[e["OutlinedDiamond"]=51]="OutlinedDiamond",e[e["SolidDiamond"]=52]="SolidDiamond"}(t=e.HatchStyle||(e.HatchStyle={}))}(t=e.Drawing2D||(e.Drawing2D={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["AnchorMask"]=240]="AnchorMask",e[e["ArrowAnchor"]=20]="ArrowAnchor",e[e["Custom"]=255]="Custom",e[e["DiamondAnchor"]=19]="DiamondAnchor",e[e["Flat"]=0]="Flat",e[e["NoAnchor"]=16]="NoAnchor",e[e["Round"]=2]="Round",e[e["RoundAnchor"]=18]="RoundAnchor",e[e["Square"]=1]="Square",e[e["SquareAnchor"]=17]="SquareAnchor",e[e["Triangle"]=3]="Triangle"}(t=e.LineCap||(e.LineCap={}))}(t=e.Drawing2D||(e.Drawing2D={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r;!function(t){var r=function(){function t(){for(var e=[],r=0;r5&&"<"==String.fromCharCode(e[0])&&"s"==String.fromCharCode(e[1])&&"v"==String.fromCharCode(e[2])&&"g"==String.fromCharCode(e[3])&&t.Char.isWhitespace(String.fromCharCode(e[4])))return n._svg;var i=[],a=!1,o=0,s=0;while(s"==String.fromCharCode(e[s])&&(s>1&&"/"==String.fromCharCode(e[s-1])||a)&&(o--,a=i.pop());s++}}catch(e){}return null}),this._svg},enumerable:!1,configurable:!0}),r.getImageFormat=function(e){if(r.Bmp.checkHeader(e))return r.Bmp;if(r.Gif.checkHeader(e))return r.Gif;if(r.Jpeg.checkHeader(e))return r.Jpeg;if(r.Png.checkHeader(e))return r.Png;if(r.Tiff.checkHeader(e))return r.Tiff;if(r.Svg.checkHeader(e))return r.Svg;return null},r.prototype.checkHeader=function(e){for(var t=0;t7&&(r=2,n=t.substr(1,2));var i=t.substr(1+r,2),a=t.substr(3+r,2),o=t.substr(5+r,2),s=parseInt(n,16),u=parseInt(i,16),l=parseInt(a,16),m=parseInt(o,16),y;return e.Color.fromArgb(s,u,l,m)},t}();e.ColorTranslator=t}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["TopLeft"]=1]="TopLeft",e[e["TopCenter"]=2]="TopCenter",e[e["TopRight"]=4]="TopRight",e[e["MiddleLeft"]=16]="MiddleLeft",e[e["MiddleCenter"]=32]="MiddleCenter",e[e["MiddleRight"]=64]="MiddleRight",e[e["BottomLeft"]=256]="BottomLeft",e[e["BottomCenter"]=512]="BottomCenter",e[e["BottomRight"]=1024]="BottomRight"}(t=e.ContentAlignment||(e.ContentAlignment={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(e,r,n,i){void 0===e&&(e="Arial"),void 0===r&&(r=10),this._style=t.FontStyle.Regular,this._unit=t.GraphicsUnit.Point,this._fontFamily=new t.FontFamily(e),this._size=r,void 0!==n&&(this._style=n),void 0!==i&&(this._unit=i)}return r.prototype.clone=function(e,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var n=this.stimulsoft.memberwiseClone();return n._fontFamily=new t.FontFamily(this.fontFamily.name),n},Object.defineProperty(r.prototype,"fontFamily",{get:function(){return this._fontFamily},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._fontFamily.name},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sizeInPoints",{get:function(){switch(this.unit){case t.GraphicsUnit.Pixel:return.75*this.size}return this.size},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"style",{get:function(){return this._style},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"unit",{get:function(){return this._unit},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bold",{get:function(){return 0!=(this._style&t.FontStyle.Bold)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"italic",{get:function(){return 0!=(this._style&t.FontStyle.Italic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"strikeout",{get:function(){return 0!=(this._style&t.FontStyle.Strikeout)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underline",{get:function(){return 0!=(this._style&t.FontStyle.Underline)},enumerable:!1,configurable:!0}),r.prototype.toString=function(){if(null!=this._toString)return this._toString;return this._toString=e.StiString.format("{0} {1} {2} {3}",this.style==t.FontStyle.Italic?"italic":"normal",this.style==t.FontStyle.Bold?"bold":"normal",this.sizeInPoints.toString()+"pt",this.fontFamily.name),this._toString},r.prototype.getHeight=function(){return this._size},r.prototype.getHashCode=function(){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?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},r}();t.Font=r}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e){this._name=e}return Object.defineProperty(e,"families",{get:function(){return null==e._families&&(e._families=[],e._families.push(new e("Agency FB")),e._families.push(new e("Aharoni")),e._families.push(new e("Algerian")),e._families.push(new e("Andalus")),e._families.push(new e("Angsana New")),e._families.push(new e("AngsanaUPC")),e._families.push(new e("Aparajita")),e._families.push(new e("Arabic Typesetting")),e._families.push(new e("Arial")),e._families.push(new e("Arial Black")),e._families.push(new e("Arial Narrow")),e._families.push(new e("Arial Rounded MT Bold")),e._families.push(new e("Arial Unicode MS")),e._families.push(new e("Baskerville Old Face")),e._families.push(new e("Batang")),e._families.push(new e("BatangChe")),e._families.push(new e("Bauhaus 93")),e._families.push(new e("Bell MT")),e._families.push(new e("Berlin Sans FB")),e._families.push(new e("Berlin Sans FB Demi")),e._families.push(new e("Bernard MT Condensed")),e._families.push(new e("Blackadder ITC")),e._families.push(new e("Bodoni MT")),e._families.push(new e("Bodoni MT Black")),e._families.push(new e("Bodoni MT Condensed")),e._families.push(new e("Bodoni MT Poster Compressed")),e._families.push(new e("Book Antiqua")),e._families.push(new e("Bookman Old Style")),e._families.push(new e("Bookshelf Symbol 7")),e._families.push(new e("Bradley Hand ITC")),e._families.push(new e("Britannic Bold")),e._families.push(new e("Broadway")),e._families.push(new e("Browallia New")),e._families.push(new e("BrowalliaUPC")),e._families.push(new e("Brush Script MT")),e._families.push(new e("Buxton Sketch")),e._families.push(new e("Calibri")),e._families.push(new e("Calibri Light")),e._families.push(new e("Californian FB")),e._families.push(new e("Calisto MT")),e._families.push(new e("Cambria")),e._families.push(new e("Cambria Math")),e._families.push(new e("Candara")),e._families.push(new e("Castellar")),e._families.push(new e("Centaur")),e._families.push(new e("Century")),e._families.push(new e("Century Gothic")),e._families.push(new e("Century Schoolbook")),e._families.push(new e("Chiller")),e._families.push(new e("Colonna MT")),e._families.push(new e("Comic Sans MS")),e._families.push(new e("Consolas")),e._families.push(new e("Constantia")),e._families.push(new e("Cooper Black")),e._families.push(new e("Copperplate Gothic Bold")),e._families.push(new e("Copperplate Gothic Light")),e._families.push(new e("Corbel")),e._families.push(new e("Cordia New")),e._families.push(new e("CordiaUPC")),e._families.push(new e("Courier New")),e._families.push(new e("Curlz MT")),e._families.push(new e("DaunPenh")),e._families.push(new e("David")),e._families.push(new e("DejaVu Sans")),e._families.push(new e("DengXian")),e._families.push(new e("DFKai-SB")),e._families.push(new e("DilleniaUPC")),e._families.push(new e("DokChampa")),e._families.push(new e("Dotum")),e._families.push(new e("DotumChe")),e._families.push(new e("Ebrima")),e._families.push(new e("Edwardian Script ITC")),e._families.push(new e("Elephant")),e._families.push(new e("Engravers MT")),e._families.push(new e("Eras Bold ITC")),e._families.push(new e("Eras Demi ITC")),e._families.push(new e("Eras Light ITC")),e._families.push(new e("Eras Medium ITC")),e._families.push(new e("Estrangelo Edessa")),e._families.push(new e("EucrosiaUPC")),e._families.push(new e("Euphemia")),e._families.push(new e("FangSong")),e._families.push(new e("Felix Titling")),e._families.push(new e("Footlight MT Light")),e._families.push(new e("Forte")),e._families.push(new e("Franklin Gothic Book")),e._families.push(new e("Franklin Gothic Demi")),e._families.push(new e("Franklin Gothic Demi Cond")),e._families.push(new e("Franklin Gothic Heavy")),e._families.push(new e("Franklin Gothic Medium")),e._families.push(new e("Franklin Gothic Medium Cond")),e._families.push(new e("FrankRuehl")),e._families.push(new e("FreesiaUPC")),e._families.push(new e("Freestyle Script")),e._families.push(new e("French Script MT")),e._families.push(new e("Gabriola")),e._families.push(new e("Garamond")),e._families.push(new e("Gautami")),e._families.push(new e("Georgia")),e._families.push(new e("Gigi")),e._families.push(new e("Gill Sans MT")),e._families.push(new e("Gill Sans MT Condensed")),e._families.push(new e("Gill Sans MT Ext Condensed Bold")),e._families.push(new e("Gill Sans Ultra Bold")),e._families.push(new e("Gill Sans Ultra Bold Condensed")),e._families.push(new e("Gisha")),e._families.push(new e("Gloucester MT Extra Condensed")),e._families.push(new e("Goudy Old Style")),e._families.push(new e("Goudy Stout")),e._families.push(new e("Gulim")),e._families.push(new e("GulimChe")),e._families.push(new e("Gungsuh")),e._families.push(new e("GungsuhChe")),e._families.push(new e("Haettenschweiler")),e._families.push(new e("Harlow Solid Italic")),e._families.push(new e("Harrington")),e._families.push(new e("High Tower Text")),e._families.push(new e("Impact")),e._families.push(new e("Imprint MT Shadow")),e._families.push(new e("Informal Roman")),e._families.push(new e("IrisUPC")),e._families.push(new e("Iskoola Pota")),e._families.push(new e("JasmineUPC")),e._families.push(new e("Jokerman")),e._families.push(new e("Juice ITC")),e._families.push(new e("KaiTi")),e._families.push(new e("Kalinga")),e._families.push(new e("Kartika")),e._families.push(new e("Khmer UI")),e._families.push(new e("KodchiangUPC")),e._families.push(new e("Kokila")),e._families.push(new e("Kristen ITC")),e._families.push(new e("Kunstler Script")),e._families.push(new e("Lao UI")),e._families.push(new e("Latha")),e._families.push(new e("Leelawadee")),e._families.push(new e("Levenim MT")),e._families.push(new e("LilyUPC")),e._families.push(new e("Lucida Bright")),e._families.push(new e("Lucida Calligraphy")),e._families.push(new e("Lucida Console")),e._families.push(new e("Lucida Fax")),e._families.push(new e("Lucida Handwriting")),e._families.push(new e("Lucida Sans")),e._families.push(new e("Lucida Sans Typewriter")),e._families.push(new e("Lucida Sans Unicode")),e._families.push(new e("Magneto")),e._families.push(new e("Maiandra GD")),e._families.push(new e("Malgun Gothic")),e._families.push(new e("Mangal")),e._families.push(new e("Marlett")),e._families.push(new e("Matura MT Script Capitals")),e._families.push(new e("Meiryo")),e._families.push(new e("Meiryo UI")),e._families.push(new e("Microsoft Himalaya")),e._families.push(new e("Microsoft JhengHei")),e._families.push(new e("Microsoft MHei")),e._families.push(new e("Microsoft NeoGothic")),e._families.push(new e("Microsoft New Tai Lue")),e._families.push(new e("Microsoft PhagsPa")),e._families.push(new e("Microsoft Sans Serif")),e._families.push(new e("Microsoft Tai Le")),e._families.push(new e("Microsoft Uighur")),e._families.push(new e("Microsoft YaHei")),e._families.push(new e("Microsoft Yi Baiti")),e._families.push(new e("MingLiU")),e._families.push(new e("MingLiU_HKSCS")),e._families.push(new e("MingLiU_HKSCS-ExtB")),e._families.push(new e("MingLiU-ExtB")),e._families.push(new e("Miriam")),e._families.push(new e("Miriam Fixed")),e._families.push(new e("Mistral")),e._families.push(new e("Modern No. 20")),e._families.push(new e("Mongolian Baiti")),e._families.push(new e("Monotype Corsiva")),e._families.push(new e("MoolBoran")),e._families.push(new e("MS Gothic")),e._families.push(new e("MS Mincho")),e._families.push(new e("MS Outlook")),e._families.push(new e("MS PGothic")),e._families.push(new e("MS PMincho")),e._families.push(new e("MS Reference Sans Serif")),e._families.push(new e("MS Reference Specialty")),e._families.push(new e("MS UI Gothic")),e._families.push(new e("MT Extra")),e._families.push(new e("MV Boli")),e._families.push(new e("Narkisim")),e._families.push(new e("Niagara Engraved")),e._families.push(new e("Niagara Solid")),e._families.push(new e("Nina")),e._families.push(new e("NSimSun")),e._families.push(new e("Nyala")),e._families.push(new e("OCR A Extended")),e._families.push(new e("Old English Text MT")),e._families.push(new e("Onyx")),e._families.push(new e("Palace Script MT")),e._families.push(new e("Palatino Linotype")),e._families.push(new e("Papyrus")),e._families.push(new e("Parchment")),e._families.push(new e("Perpetua")),e._families.push(new e("Perpetua Titling MT")),e._families.push(new e("Plantagenet Cherokee")),e._families.push(new e("Playbill")),e._families.push(new e("PMingLiU")),e._families.push(new e("PMingLiU-ExtB")),e._families.push(new e("Poor Richard")),e._families.push(new e("Pristina")),e._families.push(new e("Raavi")),e._families.push(new e("Rage Italic")),e._families.push(new e("Ravie")),e._families.push(new e("Rockwell")),e._families.push(new e("Rockwell Condensed")),e._families.push(new e("Rockwell Extra Bold")),e._families.push(new e("Rod")),e._families.push(new e("Sakkal Majalla")),e._families.push(new e("Script MT Bold")),e._families.push(new e("Segoe Condensed")),e._families.push(new e("Segoe Marker")),e._families.push(new e("Segoe Print")),e._families.push(new e("Segoe Script")),e._families.push(new e("Segoe UI")),e._families.push(new e("Segoe UI Light")),e._families.push(new e("Segoe UI Semibold")),e._families.push(new e("Segoe UI Symbol")),e._families.push(new e("Segoe WP")),e._families.push(new e("Segoe WP Black")),e._families.push(new e("Segoe WP Light")),e._families.push(new e("Segoe WP Semibold")),e._families.push(new e("Segoe WP SemiLight")),e._families.push(new e("Shonar Bangla")),e._families.push(new e("Showcard Gothic")),e._families.push(new e("Shruti")),e._families.push(new e("SimHei")),e._families.push(new e("Simplified Arabic")),e._families.push(new e("Simplified Arabic Fixed")),e._families.push(new e("SimSun")),e._families.push(new e("SimSun-ExtB")),e._families.push(new e("SketchFlow Print")),e._families.push(new e("Snap ITC")),e._families.push(new e("Stencil")),e._families.push(new e("Sylfaen")),e._families.push(new e("Symbol")),e._families.push(new e("Tahoma")),e._families.push(new e("Tempus Sans ITC")),e._families.push(new e("Times New Roman")),e._families.push(new e("Traditional Arabic")),e._families.push(new e("Trebuchet MS")),e._families.push(new e("Tunga")),e._families.push(new e("Tw Cen MT")),e._families.push(new e("Tw Cen MT Condensed")),e._families.push(new e("Tw Cen MT Condensed Extra Bold")),e._families.push(new e("Utsaah")),e._families.push(new e("Vani")),e._families.push(new e("Verdana")),e._families.push(new e("Vijaya")),e._families.push(new e("Viner Hand ITC")),e._families.push(new e("Vivaldi")),e._families.push(new e("Vladimir Script")),e._families.push(new e("Vrinda")),e._families.push(new e("Webdings")),e._families.push(new e("Wide Latin")),e._families.push(new e("Wingdings")),e._families.push(new e("Wingdings 2")),e._families.push(new e("Wingdings 3")),e._families.push(new e("Yu Gothic"))),e._families},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e.prototype.isStyleAvailable=function(e){return!0},e.cleanFamilies=function(){this._families=[]},e}();e.FontFamily=t}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){}return t.getSize=function(t,r){var n,i,a,o,s,u,l,m,y,d,f=new e.Size(0,0),h=0;try{for(var c=__values(this.family_Helvetica),p=c.next();!p.done;p=c.next()){var M=p.value;t.name==M&&(h=0)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var b=__values(this.family_Times_Roman),g=b.next();!g.done;g=b.next()){var M=g.value;t.name==M&&(h=4)}}catch(e){a={error:e}}finally{try{g&&!g.done&&(o=b.return)&&o.call(b)}finally{if(a)throw a.error}}try{for(var v=__values(this.family_Courier),S=v.next();!S.done;S=v.next()){var M=S.value;t.name==M&&(h=8)}}catch(e){s={error:e}}finally{try{S&&!S.done&&(u=v.return)&&u.call(v)}finally{if(s)throw s.error}}h<12&&(1==t.bold&&(h+=1),1==t.italic&&(h+=2));try{for(var w=__values(r.split("\n")),N=w.next();!N.done;N=w.next()){var j=N.value;try{for(var I=(y=void 0,__values(j.split(""))),k=I.next();!k.done;k=I.next()){var _=k.value;f.width+=this.standardFontWidths[_.charCodeAt(0)][h]/1e3*t.size}}catch(e){y={error:e}}finally{try{k&&!k.done&&(d=I.return)&&d.call(I)}finally{if(y)throw y.error}}f.height+=this.standardFontInfo[7][h]/1e3*t.size}}catch(e){l={error:e}}finally{try{N&&!N.done&&(m=w.return)&&m.call(w)}finally{if(l)throw l.error}}return f},Object.defineProperty(t,"standardFontWidths",{get:function(){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},enumerable:!1,configurable:!0}),Object.defineProperty(t,"standardFontInfo",{get:function(){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},enumerable:!1,configurable:!0}),t.family_Helvetica=["Arial","Arial Black","Arial Narrow","Century Gothic","Comic Sans MS","Impact","Microsoft Sans Serif","Tahoma","Verdana"],t.family_Courier=["Courier New","Lucida Console"],t.family_Times_Roman=["Book Antiqua","Bookman Old Style","Garamond","Georgia","Times New Roman"],t.fontName=["Helvetica","Helvetica-Bold","Helvetica-Oblique","Helvetica-BoldOblique","Times-Roman","Times-Bold","Times-Italic","Times-BoldItalic","Courier","Courier-Bold","Courier-Oblique","Courier-BoldOblique"],t}();e.FontResources=t}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Regular"]=0]="Regular",e[e["Bold"]=1]="Bold",e[e["Italic"]=2]="Italic",e[e["Strikeout"]=4]="Strikeout",e[e["Underline"]=8]="Underline"}(t=e.FontStyle||(e.FontStyle={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=e.System.Collections.Hashtable,i=function(){function i(e){this.context=e,this.context.translate(.5,.5)}return i.prototype.drawImage=function(e,t){},i.prototype.drawRectangle=function(e,t){this.context.strokeStyle=e.color.toString(),this.context.lineWidth=e.width,this.context.strokeRect(t.x,t.y,t.width,t.height)},i.prototype.fillRectangle=function(e,t,r,n,i){this.context.fillStyle=e.color.toString(),this.context.fillRect(t,r,n,i)},i.prototype.drawLine=function(e,t,r,n,i){this.context.strokeStyle=e.color.toString(),this.context.lineWidth=e.width,this.context.beginPath(),this.context.moveTo(t,r),this.context.lineTo(n,i),this.context.stroke()},i.prototype.drawString=function(e,t,r,n,i){this.context.fillStyle="#000000",this.context.textBaseline="top",this.context.font=t.toString(),this.context.fillText(e,n,i)},i.prototype.translateTransform=function(e,t){this.context.translate(e,t)},i.getOpentypeFont=function(t,r){var n=i.opentypeFonts.get(t),a,o;return null!=n&&(o=n.containsKey(r)?n.get(r):n.get(n.keys[0])),1==e.System.NodeJs.isNodeJs()&&null!=o&&null==o.font&&(this.addOpentypeFontFile(o.filePath,t,r,!0),(o=n.get(r)).autoLoad=!0),o&&(o.used=!0,a=o.font),null==a&&1==e.System.NodeJs.isNodeJs()&&i.opentypeFonts.count>0&&(a=(n=i.opentypeFonts.get(i.opentypeFonts.keys[0])).get(n.keys[0]).font),a},i.clearAutoLoadFonts=function(){var e,t,r,n;try{for(var a=__values(this.opentypeFonts.keys),o=a.next();!o.done;o=a.next()){var s=o.value,u=i.opentypeFonts.get(s);if(null!=u)try{for(var l=(r=void 0,__values(u.keys)),m=l.next();!m.done;m=l.next()){var y=m.value;if(u.containsKey(y)){var d=u.get(y);(null==d?void 0:d.autoLoad)&&(d.used||(d.font=null,d.data=null),d.used=!1)}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},i.addOpentypeFont=function(t,i,a,o,s,u){if(void 0===i&&(i=null),void 0===a&&(a=null),void 0===o&&(o=null),void 0===s&&(s=r.FontStyle.Regular),void 0===u&&(u=!0),null==i&&(i=t.names.fontFamily.en),0==u&&(t=null,a=null),e.System.Drawing.Graphics.opentypeFonts.containsKey(i)){var l=e.System.Drawing.Graphics.opentypeFonts.get(i),m=l.get(s).filesPath;m.push(o),l.set(s,{font:t,data:a,filesPath:m})}else{var y=new n;y.set(s,{font:t,data:a,filesPath:[o]}),e.System.Drawing.Graphics.opentypeFonts.add(i,y),r.FontFamily.families.push(new r.FontFamily(i))}},i.addOpentypeFontFile=function(t,n,i,a){void 0===n&&(n=null),void 0===i&&(i=r.FontStyle.Regular),void 0===a&&(a=!0);var o=e.System.IO.File.getFile(t,!0);if(null!=o){var s=e.ExternalLibrary.Opentype.parse(o.buffer);this.addOpentypeFont(s,n,o,t,i,a)}},i.addOpentypeFontFileAsync=function(t,n,a,o,s){void 0===a&&(a=null),void 0===o&&(o=r.FontStyle.Regular),void 0===s&&(s=!0),e.System.IO.File.getFileAsync((function(r){if(null!=r){var u=e.ExternalLibrary.Opentype.parse(r.buffer);i.addOpentypeFont(u,a,r,n,o,s)}t()}),n,!0)},i.getCustomFontsCss=function(){var e,n,a,o,s="";try{for(var u=__values(i.opentypeFonts.keys),l=u.next();!l.done;l=u.next())for(var m=l.value,y=i.opentypeFonts.get(m),d=0;d0&&(h=t.Enum.getName(r.FontStyle,f)+"_"+m),s+="@font-face {font-family: '"+h+"';src: ";try{for(var c=(a=void 0,__values(i.opentypeFonts.get(m).get(f).filesPath)),p=c.next();!p.done;p=c.next()){var M;s+='url("'+p.value+'"), '}}catch(e){a={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(a)throw a.error}}s=s.substr(0,s.length-2)+";}"}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return s},i.getCustomFontName=function(e,n){var a=i.opentypeFonts.get(e);if(a)for(var o=0;o0?o:null,p;if(s&&(f=""+a.getHashCode()+u+c+m,p=i.measureHash[f])){var M=p[n];if(M)return this.rotate(M,l,!0)}if(" "==n){var b=i.measureString("a a",a,null,!1,1),g=i.measureString("aa",a,null,!1,1),v=new r.Size(b.width-g.width,b.height),p;if(s)(p=i.measureHash[f])||(p={},i.measureHash[f]=p),p[n]=v;return this.rotate(v,l,s)}var S=new r.Size(0,0),w=i.getOpentypeFont(a.fontFamily.name,a.style),p;if(null!=w){var N=0,j=0,I=.977,k=96*a.sizeInPoints/(72*w.unitsPerEm),_=k*I,T=w.ascender-w.descender,D=w.tables["hhea"],F;if(null!=D)T+=D["lineGap"];var P=w.tables["os2"];if(null!=P){var O=P["sTypoAscender"]-P["sTypoDescender"]+P["sTypoLineGap"];O>T&&(T=O)}T*=k;var C=n.split("\n");C.length>1&&""==C[C.length-1]&&C.pop();try{for(var H=__values(C),A=H.next();!A.done;A=H.next()){for(var E=A.value,x=0,B=w.stringToGlyphs(E),L=t.StiArray.create(Number,B.length),R=t.StiArray.create(Number,B.length),W=0,z=0;z0&&W++,R[z]=W)}if(c&&x>c){var K=0;while(Kq)if(R[K]!=R[K-1])while(K0&&R[K]==R[K-1])x-=L[--K];else x+=L[K],K++;N=Math.max(N,x),j+=T}}else N=Math.max(N,x),j+=T}}catch(e){y={error:e}}finally{try{A&&!A.done&&(d=H.return)&&d.call(H)}finally{if(y)throw y.error}}S=new r.Size(N,j)}else if(e.System.NodeJs.useWebKit){var U=void 0;null==i.measureDiv?(i.measureDiv=document.createElement("div"),i.measureDiv.style.flexDirection="row",i.measureDiv.style.visibility="hidden",(U=document.createElement("div")).style.wordWrap="break-word",U.style.display="inline-block",U.style.lineHeight="normal",document.body.appendChild(i.measureDiv),i.measureDiv.appendChild(U)):U=i.measureDiv.firstElementChild;var V=a.unit==r.GraphicsUnit.Pixel?.98:1/.955;if(U.style.fontFamily=a.fontFamily.name,U.style.fontSize=(a.size*u).toString()+h,U.style.maxWidth=null!=c?(c*u/V).toString()+"px":null,U.style.fontWeight=a.bold?"bold":"normal",U.style.fontStyle=a.italic?"italic":"normal",a.underline||a.strikeout){var Y="";a.underline&&(Y="underline"),a.strikeout&&(Y+=" line-through"),U.style.textDecoration=Y}else U.style.textDecoration="none";if(U.style.height="",U.style.width="",U.style.display="inline-block",U.style.overflow="",U.innerHTML=m?n.split("<").join("<").split(">").join(">").split("\n").join("
").split("\r").join(""):n.split("\n").join("").split("\r").join(""),S=new r.Size(U.scrollWidth/u*V,U.scrollHeight/u*V),s&&n.length>1){var X=i.measureString(" ",a);if(S.width+=X.width+1,!m){var Z=S.height/X.height;S.height+=Z>10?.25*X.height:X.height*(Z/40)}}null!=c&&S.width>c&&(S.width=c),U.style.height="0px",U.style.width="0px",U.style.display="none",U.style.overflow="hidden",U.innerHTML=""}s&&((p=i.measureHash[f])||(p={},i.measureHash[f]=p),p[n]=S);return this.rotate(S,l,s)},i.isWordWrapSymbol=function(e,r){var n=e.charCodeAt(r),i=e.charAt(r);if(n>=12288&&n<=55215||t.Char.isWhitespace(e,r)&&160!=n||"("==i||"{"==i)return!0;if(r>0){var a=e.charAt(r-1);if("!"==a||"%"==a||")"==a||"}"==a||"-"==a||"?"==a)return!0}return!1},i.measureChars=function(e,t,n){for(var a,o=.998,s=.977,u=32;u=1611&&l<=1631?new r.Size(0,0):i.measureString(String.fromCharCode(l),n,null,!0,1);e[u]=a.width*o}var h=a.height;return a=i.measureString("1\n2\n3\n4\n5\n6\n7\n8\n9\n10",n,null,!0,1,0,!0),new r.Size(a.height/10*s,h*s)},i.rotate=function(e,t,n){if(0==t){if(n)return new r.Size(e.width,e.height);return e}if(t%180!=0&&t%90==0){if(n)return new r.Size(e.height,e.width);return e.swap()}while(t>360)t-=360;var i=Math.abs(t)*Math.PI/180,a=(90-Math.abs(t))*Math.PI/180,o=e.width*Math.sin(i),s=e.width*Math.cos(i),u=e.height*Math.sin(a),l=e.height*Math.cos(a);return new r.Size(Math.abs(l+s),Math.abs(u+o))},i.clearCache=function(){this.measureHash={},this.measureDiv&&this.measureDiv.remove(),this.measureDiv=null},i.measureBearingScale=.8,i.opentypeFonts=new n,i.measureHash={},i}();r.Graphics=i}(r=t.Drawing||(t.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Pixel"]=2]="Pixel",e[e["Point"]=3]="Point"}(t=e.GraphicsUnit||(e.GraphicsUnit={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=e.System.Drawing.Imaging.ImageFormat,i=function(){function r(){this.data={},this._isConverting=!1,this.aspectRatio=!0,this.multipleFactor=1,this.horAlignment=1,this.vertAlignment=0,this.imageRotation=0,this.stretch=!1,this.zoom=1}return Object.defineProperty(r.prototype,"imageFormat",{get:function(){return this._imageFormat},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"horizontalResolution",{get:function(){return this._horizontalResolution},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"verticalResolution",{get:function(){return this._verticalResolution},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isConverting",{get:function(){return this._isConverting},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"base64",{get:function(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return"";return this.data[this.imageFormat.toString()].base64},set:function(t){var r=t.match(",");null!=r&&(t=t.substr(r.index+1));var n=e.System.Convert.fromBase64String(t);this.setData(n,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bytes",{get:function(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return null;return this.data[this.imageFormat.toString()].bytes},set:function(t){if(t){var r=e.System.Convert.toBase64String(t);this.setData(t,r)}},enumerable:!1,configurable:!0}),r.fromFile=function(n){if(t.StiString.isNullOrEmpty(n))return null;var i=new r;return i.bytes=e.System.IO.File.getFile(n,!0),i},r.fromBytes=function(e){var t=new r;return t.bytes=e,t},r.fromBase64=function(e){var t=new r;return t.base64=e,t},r.prototype.setData=function(e,t){this._imageFormat=n.getImageFormat(e),null!=this._imageFormat&&(this.data[this.imageFormat.toString()]={imageFormat:this.imageFormat,base64:"data:"+this.imageFormat.mimeType+";base64,"+t,bytes:e},this._width=this.imageFormat.getWidth(e,t),this._height=this.imageFormat.getHeight(e,t),this._horizontalResolution=this.imageFormat.getHorizontalResolution(e),this._verticalResolution=this.imageFormat.getVerticalResolution(e))},r.prototype.convert=function(e,r){var i=this;void 0===r&&(r=!1);var a=new t.StiPromise;try{var o=this.data[e.toString()];if(null!=o)return this._imageFormat=e,a.callTry(this),a;if(null==o&&(o=this.data[n.Png.toString()]),null==o&&(o=this.data[n.Bmp.toString()]),null==o&&(o=this.data[n.Jpeg.toString()]),null==o&&(o=this.data[n.Gif.toString()]),null==o&&(o=this.data[n.Svg.toString()]),null!=o){this._isConverting=!0;var s=document.createElement("canvas");s.width=this.width,s.height=this.height;var u=s.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,s.width,s.height);var l=new window.Image;l.onload=function(){try{u.drawImage(l,0,0,s.width,s.height);var t=s.toDataURL(e.mimeType);r&&(i.imageData=u.getImageData(0,0,s.width,s.height).data);var n=i._horizontalResolution,o=i._verticalResolution;i.base64=t,i._horizontalResolution=n,i._verticalResolution=o,i._isConverting=!1,a.callTry(i)}catch(e){a.callCatch(e.message)}},l.src=o.base64}else a.callCatch("No Image")}catch(e){return a.callCatch(e.message),a}return a},r.prototype.tryConvertSync=function(e){try{var t;if(null!=this.data[e.toString()])return this._imageFormat=e,!0}catch(e){}return!1},r.prototype.dispose=function(){this.data=null,this._imageFormat=null,this._width=NaN,this._height=NaN},r.prototype.clone=function(){var e=new r;return e.data=this.data,e._imageFormat=this._imageFormat,e._width=this._width,e._height=this._height,e._horizontalResolution=this._horizontalResolution,e._verticalResolution=this._verticalResolution,e._isConverting=this._isConverting,e},r}();r.Image=i}(r=t.Drawing||(t.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Horizontal"]=0]="Horizontal",e[e["Vertical"]=1]="Vertical"}(t=e.Orientation||(e.Orientation={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e){this.color=e}return e}();e.Pen=t}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function t(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.x=e,this.y=t}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.x&&0==this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"empty",{get:function(){return new t},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return e.StiString.format("{{X={0}, Y={1}}}",this.x,this.y)},t.prototype.equals=function(e){if(e.x==this.x&&e.y==this.y)return!0;return!1},t}();t.Point=r}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.x=e,this.y=t,this.width=r,this.height=n}return t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t,"empty",{get:function(){return new t(0,0,0,0)},enumerable:!1,configurable:!0}),t.union=function(e,r){var n=Math.min(e.x,r.x),i=Math.max(e.x+e.width,r.x+r.width),a=Math.min(e.y,r.y),o;return new t(n,a,i-n,Math.max(e.y+e.height,r.y+r.height)-a)},t.prototype.inflate=function(e,t){return this.x-=e,this.y-=t,this.width+=2*e,this.height+=2*t,this},t.prototype.normalize=function(){var e=this.clone();return e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height),e},t.prototype.multiply=function(e){return new t(this.x*e,this.y*e,this.width*e,this.height*e)},t.prototype.offsetRect=function(e){return new t(this.x-e.x,this.y-e.y,this.width+e.width,this.height+e.height)},t.prototype.intersectsWith=function(e){var t=Math.round2(e.x,2),r=Math.round2(e.y,2),n=Math.round2(e.right,2),i=Math.round2(e.bottom,2),a=Math.round2(this.x,2),o=Math.round2(this.y,2),s=Math.round2(this.right,2),u=Math.round2(this.bottom,2);return ta&&i>o},t.prototype.alignToGrid=function(e,r){return r?new t(Math.round(this.x/e)*e,Math.round(this.y/e)*e,Math.round(this.width/e)*e,Math.round(this.height/e)*e):new t(this.left,this.top,this.width,this.height)},t.prototype.fitToRectangle=function(e){if(this.isEmpty)return e;if(e.isEmpty)return this;var t=this;return this.left>e.left&&(this.width+=this.left-e.left,this.x=e.left),this.top>e.top&&(this.height+=this.top-e.top,this.y=e.top),this.right=r&&(o-=7);var s=i-o;if(s>=0)return Math.trunc(s/7)+1;var u=e.year;return 0!=(o=(t-(a-=(i=u<=1?n:this.getDaysInYear(u-1))%7)+14)%7)&&o>=r&&(o-=7),s=i-o,Math.trunc(s/7)+1},r.getDaysInYear=function(e){return e%4!=0||e%100==0&&e%400!=0?365:366},r.getWeekOfMonth=function(r,n,i){void 0===n&&(n=t.CalendarWeekRule.FirstDay),void 0===i&&(i=e.DayOfWeek.Monday);var a=this.getWeekOfYear(new e.DateTime(r.year,r.month,1,0,0,0,0),n,i),o=this.getWeekOfYear(r,n,i);return 1==r.month&&a>10&&(a=a<=o?this.getWeekOfYear(new e.DateTime(r.year-1,12,1,0,0,0,0),n,i):1),o-a+1},r}();t.Calendar=r}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["FirstDay"]=0]="FirstDay",e[e["FirstFullWeek"]=1]="FirstFullWeek",e[e["FirstFourDayWeek"]=2]="FirstFourDayWeek"}(t=e.CalendarWeekRule||(e.CalendarWeekRule={}))}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e){this.name="",this.nativeName="",this.threeLetterISORegionName="",this.threeLetterWindowsRegionName="",this.twoLetterISORegionName="",this.name=e,this.nativeName=e,this.threeLetterISORegionName=e,this.threeLetterWindowsRegionName=e,this.twoLetterISORegionName=e}return e}();e.RegionInfo=t}(t=e.Globalization||(e.Globalization={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["Begin"]=0]="Begin",e[e["Current"]=1]="Current",e[e["End"]=2]="End"}(t=e.SeekOrigin||(e.SeekOrigin={}))}(t=e.IO||(e.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){}return t.getFile=function(t,r,n,i){return void 0===r&&(r=!1),void 0===n&&(n=""),void 0===i&&(i=null),e.Http.getFile(t,r,n,i)},t.getFileAsync=function(t,r,n,i){void 0===n&&(n=!1),void 0===i&&(i=""),e.Http.getFileAsync(t,r,n,i)},t.saveFile=function(e,t){},t.getFilesNames=function(e){return[]},t}();e.File=t}(t=e.IO||(e.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=function(){function r(){}return r.getFile=function(r,n,i,a){var o,s;void 0===n&&(n=!1),void 0===i&&(i=""),void 0===a&&(a=null);try{var u=new XMLHttpRequest;try{if(u.open("get",r,!1),t.StiString.isNullOrEmpty(i)||u.setRequestHeader("Content-Type",i),a)try{for(var l=__values(a),m=l.next();!m.done;m=l.next()){var y=m.value;u.setRequestHeader(y.key,y.value)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}catch(t){e.System.StiError.showError('File "'+r+'" not found',!0)}var d=!1;if(n){try{u.responseType="arraybuffer",d=!0}catch(e){d=!1}d||("overrideMimeType"in u?u.overrideMimeType("text/plain; charset=x-user-defined"):u.setRequestHeader("Accept-Charset","x-user-defined"))}if(u.send(),200==u.status){if(n){var f=u.response,h;if(d)return new Uint8Array(f,0);for(var c=new ArrayBuffer(f.length),p=new Uint8Array(c),M=0,b=f.length;Mthis.length)return n-t;e[n]=this._buffer[this._position++]}return r},r.prototype.seek=function(e,n){if(e>r.memStreamMaxLength)throw new Error("ArgumentOutOfRange_StreamLength");var i;switch(n){case t.SeekOrigin.Begin:if(i=this._origin+e,e<0||i0&&(e=e.substr(0,t)),(t=e.lastIndexOf("/"))>0&&(e=e.substring(t+1)),(t=e.lastIndexOf("\\"))>0&&(e=e.substring(t+1)),e},e.getExtension=function(e){var t=e.lastIndexOf(".");if(t>0)return e.substr(t);return""},e.getSep=function(){return"\\"},e}();e.Path=t}(t=e.IO||(e.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(e,r){void 0===r&&(r=null),this.stream=e,this.stream.seek(0,t.SeekOrigin.Begin),this.encoding=r}return r.prototype.read=function(){var e=[],t;if(this.stream.read(e,0,1)>0)return String.fromCharCode(e[0]);return null},r.prototype.readLine=function(){var t=this.readLineInternal();if(null!=this.encoding&&!e.StiString.isNullOrEmpty(t))return this.encoding.getString(t.stimulsoft.toBytesArray());return t},r.prototype.readLineInternal=function(){var e,r="",n=!1;while(null!=(e=this.read())){if(n){if("\n"==e)return r;return this.stream.seek(-1,t.SeekOrigin.Current),r}if("\r"==e)n=!0;else{if("\n"==e)return r;r+=e}}if(r.length>0)return r;return null},r}();t.StreamReader=r}(t=e.IO||(e.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e,t){void 0===t&&(t=null),this._webName="",this._encodingName=e,this._webName=null==t||""==t?e:t}return Object.defineProperty(e.prototype,"webName",{get:function(){return this._webName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"encodingName",{get:function(){return this._encodingName},enumerable:!1,configurable:!0}),e.prototype.getBytes=function(e){if("ASCII"==this._encodingName)return e.stimulsoft.toBytesArray();return e.stimulsoft.toUnicodeString().stimulsoft.toBytesArray()},e.prototype.getString=function(t){var r,n;if("Windows-1251"==this._encodingName)return e.fromCodePageToUnicode(1251,t);var i="";try{for(var a=__values(t),o=a.next();!o.done;o=a.next()){var s=o.value;i+=String.fromCharCode(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}if("ASCII"==this._encodingName)return i;return 65279==(i=i.stimulsoft.fromUnicodeString()).charCodeAt(0)&&(i=i.substring(1)),i},e.getEncoding=function(t){switch(t){case e.CodePageDefault:return e.Default;case e.CodePageUnicode:return e.Unicode;case e.CodePageBigEndian:return e.BigEndianUnicode;case e.CodePageUTF7:return e.UTF7;case e.CodePageUTF8:return e.UTF8;case e.CodePageWindows1251:return e.Windows1251;case e.CodePageASCII:return e.ASCII;default:return e.Default}},e.fromCodePageToUnicode=function(e,t){var r,n,i=null;1251==e&&(i=this._windows_1251);var a="";try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var u=s.value;a+=String.fromCharCode(u<128?u:i[u-128])}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},e.CodePageDefault=0,e.CodePageNoOEM=1,e.CodePageNoMac=2,e.CodePageNoThread=3,e.CodePageNoSymbol=42,e.CodePageUnicode=1200,e.CodePageBigEndian=1201,e.CodePageWindows1251=1251,e.CodePageWindows1252=1252,e.CodePageMacGB2312=10008,e.CodePageGB2312=20936,e.CodePageMacKorean=10003,e.CodePageDLLKorean=20949,e.ISO2022JP=50220,e.ISO2022JPESC=50221,e.ISO2022JPSISO=50222,e.ISOKorean=50225,e.ISOSimplifiedCN=50227,e.EUCJP=51932,e.ChineseHZ=52936,e.DuplicateEUCCN=51936,e.EUCCN=936,e.EUCKR=51949,e.CodePageASCII=20127,e.ISO_8859_1=28591,e.ISCIIAssemese=57006,e.ISCIIBengali=57003,e.ISCIIDevanagari=57002,e.ISCIIGujarathi=57010,e.ISCIIKannada=57008,e.ISCIIMalayalam=57009,e.ISCIIOriya=57007,e.ISCIIPanjabi=57011,e.ISCIITamil=57004,e.ISCIITelugu=57005,e.GB18030=54936,e.ISO_8859_8I=38598,e.ISO_8859_8_Visual=28598,e.ENC50229=50229,e.CodePageUTF7=65e3,e.CodePageUTF8=65001,e.CodePageUTF32=12e3,e.CodePageUTF32BE=12001,e.ASCII=new e("ASCII","US-ASCII"),e.BigEndianUnicode=new e("BigEndianUnicode"),e.Default=new e("Unicode","utf-8"),e.Unicode=new e("Unicode","utf-8"),e.UTF32=new e("UTF32","utf-32"),e.UTF7=new e("UTF7","utf-7"),e.UTF8=new e("UTF8","utf-8"),e.Windows1251=new e("Windows-1251","windows-1251"),e._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],e}();e.Encoding=t}(t=e.Text||(e.Text={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function t(e){void 0===e&&(e=null),this.isNew=!0,this.partArray=null!=e?[e]:[],this.isNew=!0}return t.prototype.appendSingle=function(e){null!=e&&(e=e.toString(),this.partArray.push(e),this.isNew=!0)},t.prototype.appendThese=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.appendSingle(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},t.prototype.append=function(){for(var e=[],t=0;tt){for(var r="",n=0;n0?r.substring(0,e):"")+t+(e+10)try{for(var i=__values(e.split(",")),a=i.next();!a.done;a=i.next()){var o=a.value;n.push(this.convertStringToColor(o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},t.convertStringToColor=function(t){if(0==t.length)return r.transparent;if(-1!=t.indexOf(";")){var n=(t=t.trim()).split(";");try{if(4==n.length){var i;if(0==(i=r.fromArgb(n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber(),n[3].stimulsoft.toNumber())).r&&0==i.g&&0==i.b&&0==i.a)return r.transparent;return i}return 3==n.length?r.fromArgb(255,n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber()):r.empty}catch(t){return e.System.StiError.showError(t,!1),r.empty}}else if(-1!=t.indexOf("[")){var n=(t=t.trim().substring(1,t.length-1).replace("]","")).split(":");try{if(4==n.length){var i;if(0==(i=r.fromArgb(n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber(),n[3].stimulsoft.toNumber())).r&&0==i.g&&0==i.b&&0==i.a)return r.transparent;return i}var i;if(3==n.length)return i=r.fromArgb(255,n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber());return r.empty}catch(t){return e.System.StiError.showError(t,!1),r.empty}}else{if(-1==t.indexOf(", "))return this.getByName(t);var n=(t=t.trim()).split(", ");try{return 4==n.length?r.fromArgb(n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber(),n[3].stimulsoft.toNumber()):3==n.length?r.fromArgb(255,n[0].stimulsoft.toNumber(),n[1].stimulsoft.toNumber(),n[2].stimulsoft.toNumber()):r.empty}catch(t){return e.System.StiError.showError(t,!1),r.empty}}},t.getByName=function(e){switch(e.trim()){case"AliceBlue":case"Alice Blue":return r.aliceBlue;case"AntiqueWhite":case"Antique White":return r.antiqueWhite;case"Aqua":return r.aqua;case"Aquamarine":return r.aquamarine;case"Azure":return r.azure;case"Beige":return r.beige;case"Bisque":return r.bisque;case"Black":return r.black;case"BlanchedAlmond":case"Blanched Almond":return r.blanchedAlmond;case"Blue":return r.blue;case"BlueViolet":case"Blue Violet":return r.blueViolet;case"Brown":return r.brown;case"BurlyWood":case"Burly Wood":return r.burlyWood;case"CadetBlue":case"Cadet Blue":return r.cadetBlue;case"Chartreuse":return r.chartreuse;case"Chocolate":return r.chocolate;case"Coral":return r.coral;case"CornflowerBlue":case"Cornflower Blue":return r.cornflowerBlue;case"Cornsilk":return r.cornsilk;case"Crimson":return r.crimson;case"Cyan":return r.cyan;case"DarkBlue":case"Dark Blue":return r.darkBlue;case"DarkCyan":case"Dark Cyan":return r.darkCyan;case"DarkGoldenrod":case"Dark Goldenrod":return r.darkGoldenrod;case"DarkGray":case"Dark Gray":return r.darkGray;case"DarkGreen":case"Dark Green":return r.darkGreen;case"DarkKhaki":case"Dark Khaki":return r.darkKhaki;case"DarkMagenta":case"Dark Magenta":return r.darkMagenta;case"DarkOliveGreen":case"Dark Olive Green":return r.darkOliveGreen;case"DarkOrange":case"Dark Orange":return r.darkOrange;case"DarkOrchid":case"Dark Orchid":return r.darkOrchid;case"DarkRed":case"Dark Red":return r.darkRed;case"DarkSalmon":case"Dark Salmon":return r.darkSalmon;case"DarkSeaGreen":case"Dark Sea Green":return r.darkSeaGreen;case"DarkSlateBlue":case"Dark Slate Blue":return r.darkSlateBlue;case"DarkSlateGray":case"Dark Slate Gray":return r.darkSlateGray;case"DarkTurquoise":case"Dark Turquoise":return r.darkTurquoise;case"DarkViolet":case"Dark Violet":return r.darkViolet;case"DeepPink":case"Deep Pink":return r.deepPink;case"DeepSkyBlue":case"Deep Sky Blue":return r.deepSkyBlue;case"DimGray":case"Dim Gray":return r.dimGray;case"DodgerBlue":case"Dodger Blue": return r.dodgerBlue;case"Firebrick":return r.firebrick;case"FloralWhite":case"Floral White":return r.floralWhite;case"ForestGreen":case"Forest Green":return r.forestGreen;case"Fuchsia":return r.fuchsia;case"Gainsboro":return r.gainsboro;case"GhostWhite":case"Ghost White":return r.ghostWhite;case"Gold":return r.gold;case"Goldenrod":return r.goldenrod;case"Gray":return r.gray;case"Green":return r.green;case"GreenYellow":case"Green Yellow":return r.greenYellow;case"Honeydew":return r.honeydew;case"HotPink":case"Hot Pink":return r.hotPink;case"IndianRed":case"Indian Red":return r.indianRed;case"Indigo":return r.indigo;case"Ivory":return r.ivory;case"Khaki":return r.khaki;case"Lavender":return r.lavender;case"LavenderBlush":case"Lavender Blush":return r.lavenderBlush;case"LawnGreen":case"Lawn Green":return r.lawnGreen;case"LemonChiffon":case"Lemon Chiffon":return r.lemonChiffon;case"LightBlue":case"Light Blue":return r.lightBlue;case"LightCoral":case"Light Coral":return r.lightCoral;case"LightCyan":case"Light Cyan":return r.lightCyan;case"LightGoldenrodYellow":case"Light Goldenrod Yellow":return r.lightGoldenrodYellow;case"LightGray":case"Light Gray":return r.lightGray;case"LightGreen":case"Light Green":return r.lightGreen;case"LightPink":case"Light Pink":return r.lightPink;case"LightSalmon":case"Light Salmon":return r.lightSalmon;case"LightSeaGreen":case"Light Sea Green":return r.lightSeaGreen;case"LightSkyBlue":case"Light Sky Blue":return r.lightSkyBlue;case"LightSlateGray":case"Light Slate Gray":return r.lightSlateGray;case"LightSteelBlue":case"Light Steel Blue":return r.lightSteelBlue;case"LightYellow":case"Light Yellow":return r.lightYellow;case"Lime":return r.lime;case"LimeGreen":case"Lime Green":return r.limeGreen;case"Linen":return r.linen;case"Magenta":return r.magenta;case"Maroon":return r.maroon;case"MediumAquamarine":case"Medium Aquamarine":return r.mediumAquamarine;case"MediumBlue":case"Medium Blue":return r.mediumBlue;case"MediumOrchid":case"Medium Orchid":return r.mediumOrchid;case"MediumPurple":case"Medium Purple":return r.mediumPurple;case"MediumSeaGreen":case"Medium Sea Green":return r.mediumSeaGreen;case"MediumSlateBlue":case"Medium Slate Blue":return r.mediumSlateBlue;case"MediumSpringGreen":case"Medium Spring Green":return r.mediumSpringGreen;case"MediumTurquoise":case"Medium Turquoise":return r.mediumTurquoise;case"MediumVioletRed":case"Medium Violet Red":return r.mediumVioletRed;case"MidnightBlue":case"Midnight Blue":return r.midnightBlue;case"MintCream":case"Mint Cream":return r.mintCream;case"MistyRose":case"Misty Rose":return r.mistyRose;case"Moccasin":return r.moccasin;case"NavajoWhite":case"Navajo White":return r.navajoWhite;case"Navy":return r.navy;case"OldLace":case"Old Lace":return r.oldLace;case"Olive":return r.olive;case"OliveDrab":case"Olive Drab":return r.oliveDrab;case"Orange":return r.orange;case"OrangeRed":case"Orange Red":return r.orangeRed;case"Orchid":return r.orchid;case"PaleGoldenrod":case"Pale Goldenrod":return r.paleGoldenrod;case"PaleGreen":case"Pale Green":return r.paleGreen;case"PaleTurquoise":case"Pale Turquoise":return r.paleTurquoise;case"PaleVioletRed":case"Pale Violet Red":return r.paleVioletRed;case"PapayaWhip":case"Papaya Whip":return r.papayaWhip;case"PeachPuff":case"Peach Puff":return r.peachPuff;case"Peru":return r.peru;case"Pink":return r.pink;case"Plum":return r.plum;case"PowderBlue":case"Powder Blue":return r.powderBlue;case"Purple":return r.purple;case"Red":return r.red;case"RosyBrown":case"Rosy Brown":return r.rosyBrown;case"RoyalBlue":case"Royal Blue":return r.royalBlue;case"SaddleBrown":case"Saddle Brown":return r.saddleBrown;case"Salmon":return r.salmon;case"SandyBrown":case"Sandy Brown":return r.sandyBrown;case"SeaGreen":case"Sea Green":return r.seaGreen;case"SeaShell":case"Sea Shell":return r.seaShell;case"Sienna":return r.sienna;case"Silver":return r.silver;case"SkyBlue":case"Sky Blue":return r.skyBlue;case"SlateBlue":case"Slate Blue":return r.slateBlue;case"SlateGray":case"Slate Gray":return r.slateGray;case"Snow":return r.snow;case"SpringGreen":case"Spring Green":return r.springGreen;case"SteelBlue":case"Steel Blue":return r.steelBlue;case"Tan":return r.tan;case"Teal":return r.teal;case"Thistle":return r.thistle;case"Tomato":return r.tomato;case"Turquoise":return r.turquoise;case"Violet":return r.violet;case"Wheat":return r.wheat;case"White":return r.white;case"WhiteSmoke":case"White Smoke":return r.whiteSmoke;case"Yellow":return r.yellow;case"YellowGreen":case"Yellow Green":return r.yellowGreen;case"Transparent":return r.transparent}return r.transparent},t}();t.StiReportObjectStringConverter=n}(r=t.Text||(t.Text={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=e.System.Text.StringBuilder,i=e.System.Char,a=function(){function r(){}return r.splitString=function(e,t){for(var r=new Array,a=new n,o=0;o0&&r.push(this.trimEndWhiteSpace2(a.toString(),t)),0==r.length&&r.push(""),r},r.trimEndWhiteSpace=function(e){return this.trimEndWhiteSpace2(e,!0)},r.trimEndWhiteSpace2=function(e,t){var r="",n=e.length;while(n>0&&i.isWhitespace(e[n-1])&&(t||e.charCodeAt(n-1)>=32))n--;return n==e.length?r=e:n>0&&(r=e.substring(0,n)),r},r.isWordWrapSymbol=function(e,t){var r=e.charCodeAt(t),n=e.charAt(t);if(r>=12288&&r<=55215||i.isWhitespace(e,t)&&160!=r||"("==n||"{"==n)return!0;if(t>0){var a=e.charAt(t-1);if("!"==a||"%"==a||")"==a||"}"==a||"-"==a||"?"==a)return!0}return!1},r.getWordWrapTextLines=function(r,a,o,s){var u=this.splitString(r,!1),l=1;null!=a&&(l=a.sizeInPoints);for(var m=0;m=0&&(S+=1e3*e.System.Drawing.Graphics.measureString(String.fromCharCode(c[w]),a).width/l),b[w]=Math.trunc(S),this.isWordWrapSymbol(y,w)&&w>0&&v++,g[w]=v;if(S*l/1e3>s){var w=y.length-1,N=Math.trunc(1e3*s/l);while(b[w]>N&&w>0)w--;var j=w;if(g[w]>0)if(g[w]!=g[w+1]){j=w++;while(i.isWhitespace(y,w)&&"\t"!=y.charAt(w))w++}else{while(!this.isWordWrapSymbol(y,w))w--;j=w-1;while(i.isWhitespace(y,j)&&j>0)j--;while(i.isWhitespace(y,w)&&"\t"!=d.charAt(w))w++}else w++;u[m]=o?y.substr(0,j+1)+"a":y.substr(0,j+1),u.stimulsoft.insert(m+1,y.substr(w,y.length-w).stimulsoft.trimStart(" "))}}return u},r}();r.TextUtils=a}(r=t.Text||(t.Text={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["None"]=0]="None",e[e["Indented"]=1]="Indented"}(t=e.Formatting||(e.Formatting={}))}(t=e.Xml||(e.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this._name="",this._value=""}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),e}();e.XmlAttr=t}(t=e.Xml||(e.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r,n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getNamedItem=function(e){var t,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.name==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},t}(e.System.Collections.CollectionBase);t.XmlAttrCollection=n}(r=t.Xml||(t.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function t(e){this.charProperties=e}return Object.defineProperty(t,"instance",{get:function(){return null==t.s_CharProperties&&t.initInstance(),new t(t.s_CharProperties)},enumerable:!1,configurable:!0}),t.initInstance=function(){if(null!=t.s_CharProperties)return;var r=e.StiArray.create(Object,t.charPropertiesSize);t.s_CharProperties=r,t.setProperties(t.s_Whitespace,t.fWhitespace),t.setProperties(t.s_Letter,t.fLetter),t.setProperties(t.s_NCStartName,t.fNCStartName),t.setProperties(t.s_NCName,t.fNCName),t.setProperties(t.s_CharData,t.fCharData),t.setProperties(t.s_PublicID,t.fPublicId),t.setProperties(t.s_Text,t.fText),t.setProperties(t.s_AttrValue,t.fAttrValue)},t.setProperties=function(e,r){for(var n=0;nthis.surLowEnd||t.charCodeAt(0)/g,">").replace(/"/g,""").replace(/'/g,"'"))},e.prototype.writeRawWithSurrogateChecking=function(e){if(null==e)return;this.cacheAttrValue&&this.attrValue.append(e);var t=e.length,r=0,n=0;this.textWriter.write(e)},e.prototype.writeStringFragment=function(e,t,r,n){var i=n.length;while(r>0){var a=r;a>i&&(a=i),t+=a,r-=a}},e.prototype.writeCharEntityImpl=function(e){this.textWriter.write("&#x"),this.textWriter.write(e),this.textWriter.write(";")},e.prototype.writeEntityRefImpl=function(e){this.textWriter.write("&"),this.textWriter.write(e),this.textWriter.write(";")},e}();t.XmlTextEncoder=n}(r=t.Xml||(t.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=e.System.IO.TextWriter,i=e.System.Collections.Hashtable,a=e.System.Text.StringBuilder,o=e.System.IO.StreamWriter,s;!function(e){e[e["Uninitialized"]=0]="Uninitialized",e[e["NotDeclaredButInScope"]=1]="NotDeclaredButInScope",e[e["DeclaredButNotWrittenOut"]=2]="DeclaredButNotWrittenOut",e[e["DeclaredAndWrittenOut"]=3]="DeclaredAndWrittenOut"}(s||(s={}));var u=function(){function e(){}return e.prototype.init=function(e){this.name=null,this.defaultNs="",this.defaultNsState=s.Uninitialized,this.xmlSpace=r.XmlSpace.None,this.xmlLang=null,this.prevNsTop=e,this.prefixCount=0,this.mixed=!1},e}(),l=function(){function e(){}return e.prototype.set=function(e,t,r){this.prefix=e,this.ns=t,this.declared=r,this.prevNsIndex=-1},e}(),m,y,d;!function(e){e[e["None"]=0]="None",e[e["XmlSpace"]=1]="XmlSpace",e[e["XmlLang"]=2]="XmlLang",e[e["XmlNs"]=3]="XmlNs"}(m||(m={})),function(e){e[e["Start"]=0]="Start",e[e["Prolog"]=1]="Prolog",e[e["PostDTD"]=2]="PostDTD",e[e["Element"]=3]="Element",e[e["Attribute"]=4]="Attribute",e[e["Content"]=5]="Content",e[e["AttrOnly"]=6]="AttrOnly",e[e["Epilog"]=7]="Epilog",e[e["Error"]=8]="Error",e[e["Closed"]=9]="Closed"}(y||(y={})),function(e){e[e["PI"]=0]="PI",e[e["Doctype"]=1]="Doctype",e[e["Comment"]=2]="Comment",e[e["CData"]=3]="CData",e[e["StartElement"]=4]="StartElement",e[e["EndElement"]=5]="EndElement",e[e["LongEndElement"]=6]="LongEndElement",e[e["StartAttribute"]=7]="StartAttribute",e[e["EndAttribute"]=8]="EndAttribute",e[e["Content"]=9]="Content",e[e["Base64"]=10]="Base64",e[e["RawData"]=11]="RawData",e[e["Whitespace"]=12]="Whitespace",e[e["Empty"]=13]="Empty"}(d||(d={}));var f=function(){function f(e,t){this.xmlCharType=r.XmlCharType.instance,this.namespaceStackInitialSize=8,this.maxNamespacesWalkCount=16,this.constructor_(e),t&&(this.encoding=e,this.textWriter=null!=e?new o(t,e):new o(t),this.xmlEncoder=new r.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar)}return f.prototype.writeStartDocument=function(e){null==e?this.startDocument(-1):this.startDocument(e?1:0)},f.prototype.writeEndDocument=function(){try{this.autoCompleteAll(),this.currentState,y.Epilog,this.stateTable=f.stateTableDefault,this.currentState=y.Start,this.lastToken=d.Empty}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeDocType=function(t,r,n,i){try{this.validateName(t,!1),this.autoComplete(d.Doctype)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeStartElement=function(e){this.writeStartElement3(null,e,null)},f.prototype.writeStartElement3=function(t,r,n){try{if(this.autoComplete(d.StartElement),this.pushStack(),this.textWriter.write("<"),this.namespaces){if(this.stack[this.top].defaultNs=this.stack[this.top-1].defaultNs,this.stack[this.top-1].defaultNsState!=s.Uninitialized&&(this.stack[this.top].defaultNsState=s.NotDeclaredButInScope),this.stack[this.top].mixed=this.stack[this.top-1].mixed,null==n)null!=t&&0!=t.length&&this.lookupNamespace(t);else if(null==t){var i=this.findPrefix(n);null!=i?t=i:this.pushNamespace(null,n,!1)}else 0==t.length?this.pushNamespace(null,n,!1):(0==n.length&&(t=null),this.verifyPrefixXml(t,n),this.pushNamespace(t,n,!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(":"))}else null!=n&&0!=n.length||null!=t&&t.length;this.stack[this.top].name=r,this.textWriter.write(r)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeEndElement=function(){this.internalWriteEndElement(!1)},f.prototype.writeFullEndElement=function(){this.internalWriteEndElement(!0)},f.prototype.writeStartAttribute=function(t,n,i){try{if(this.autoComplete(d.StartAttribute),this.specialAttr=m.None,this.namespaces){if(null!=t&&0==t.length&&(t=null),i==r.XmlReservedNs.NsXmlNs&&null==t&&"xmlns"!=n&&(t="xmlns"),"xml"==t)"lang"==n?this.specialAttr=m.XmlLang:"space"==n&&(this.specialAttr=m.XmlSpace);else if("xmlns"==t)r.XmlReservedNs.NsXmlNs,null==n||0==n.length?(n=t,t=null,this.prefixForXmlNs=null):this.prefixForXmlNs=n,this.specialAttr=m.XmlNs;else if(null==t&&"xmlns"==n)r.XmlReservedNs.NsXmlNs,this.specialAttr=m.XmlNs,this.prefixForXmlNs=null;else if(null==i)null!=t&&this.lookupNamespace(t);else if(0==i.length)t="";else{this.verifyPrefixXml(t,i),null!=t&&-1!=this.lookupNamespaceInCurrentScope(t)&&(t=null);var a=this.findPrefix(i);null==a||null!=t&&t!=a?(null==t&&(t=this.generatePrefix()),this.pushNamespace(t,i,!1)):t=a}null!=t&&0!=t.length&&(this.textWriter.write(t),this.textWriter.write(":"))}else null!=i&&0!=i.length||null!=t&&t.length,"xml:lang"==n?this.specialAttr=m.XmlLang:"xml:space"==n&&(this.specialAttr=m.XmlSpace);this.xmlEncoder.startAttribute(this.specialAttr!=m.None),this.textWriter.write(n),this.textWriter.write("="),this.curQuoteChar!=this.quoteChar&&(this.curQuoteChar=this.quoteChar,this.xmlEncoder.quoteChar=this.quoteChar),this.textWriter.write(this.curQuoteChar)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeEndAttribute=function(){try{this.autoComplete(d.EndAttribute)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeString=function(t){try{null!=t&&0!=t.length&&(this.autoComplete(d.Content),this.xmlEncoder.write(t))}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeRaw=function(t){try{this.autoComplete(d.RawData),this.xmlEncoder.writeRawWithSurrogateChecking(t)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.close=function(){try{this.autoCompleteAll()}finally{this.currentState=y.Closed,this.textWriter.close()}},f.prototype.flush=function(){this.textWriter.flush()},f.prototype.writeName=function(t){try{this.autoComplete(d.Content),this.internalWriteName(t,!1)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeQualifiedName=function(t,r){try{if(this.autoComplete(d.Content),this.namespaces){if(null!=r&&0!=r.length&&r!=this.stack[this.top].defaultNs){var n=this.findPrefix(r);null==n&&(this.currentState,y.Attribute,n=this.generatePrefix(),this.pushNamespace(n,r,!1)),0!=n.length&&(this.internalWriteName(n,!0),this.textWriter.write(":"))}}else null!=r&&r.length;this.internalWriteName(t,!0)}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.startDocument=function(t){try{this.currentState,y.Start,this.stateTable=f.stateTableDocument,this.currentState=y.Prolog;var r=new a;r.append("version="+this.quoteChar+"1.0"+this.quoteChar),null!=this.encoding&&(r.append(" encoding="),r.append(this.quoteChar),r.append(this.encoding.webName),r.append(this.quoteChar)),t>=0&&(r.append(" standalone="),r.append(this.quoteChar),r.append(0==t?"no":"yes"),r.append(this.quoteChar)),this.internalWriteProcessingInstruction("xml",r.toString())}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.autoComplete=function(e){this.currentState==y.Closed||(this.currentState,y.Error);var t=this.stateTable[8*e+this.currentState];switch(y.Error,e){case d.Doctype:this.indented&&this.currentState!=y.Start&&this.indent(!1);break;case d.StartElement:case d.Comment:case d.PI:case d.CData:this.currentState==y.Attribute?(this.writeEndAttributeQuote(),this.writeEndStartTag(!1)):this.currentState==y.Element&&this.writeEndStartTag(!1),e==d.CData?this.stack[this.top].mixed=!0:this.indented&&this.currentState!=y.Start&&this.indent(!1);break;case d.EndElement:case d.LongEndElement:this._flush&&this.flushEncoders(),this.currentState==y.Attribute&&this.writeEndAttributeQuote(),this.currentState==y.Content?e=d.LongEndElement:this.writeEndStartTag(e==d.EndElement),f.stateTableDocument==this.stateTable&&1==this.top&&(t=y.Epilog);break;case d.StartAttribute:this._flush&&this.flushEncoders(),this.currentState==y.Attribute?(this.writeEndAttributeQuote(),this.textWriter.write(" ")):this.currentState==y.Element&&this.textWriter.write(" ");break;case d.EndAttribute:this._flush&&this.flushEncoders(),this.writeEndAttributeQuote();break;case d.Whitespace:case d.Content:case d.RawData:case d.Base64:e!=d.Base64&&this._flush&&this.flushEncoders(),this.currentState==y.Element&&this.lastToken!=d.Content&&this.writeEndStartTag(!1),t==y.Content&&(this.stack[this.top].mixed=!0);break;default:}this.currentState=t,this.lastToken=e},f.prototype.autoCompleteAll=function(){this._flush&&this.flushEncoders();while(this.top>0)this.writeEndElement()},f.prototype.internalWriteEndElement=function(t){try{this.top,this.autoComplete(t?d.LongEndElement:d.EndElement),this.lastToken==d.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 r=this.stack[this.top].prevNsTop;this.useNsHashtable&&rthis.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==s.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=s.DeclaredAndWrittenOut),this.xmlEncoder.endAttribute(),e&&this.textWriter.write(" /"),this.textWriter.write(">")},f.prototype.writeEndAttributeQuote=function(){this.specialAttr!=m.None&&this.handleSpecialAttribute(),this.xmlEncoder.endAttribute(),this.textWriter.write(this.curQuoteChar)},f.prototype.indent=function(e){if(0==this.top)this.textWriter.writeLine();else if(!this.stack[this.top].mixed){this.textWriter.writeLine();var t=e?this.top-1:this.top;for(t*=this.indentation;t>0;t--)this.textWriter.write(this.indentChar)}},f.prototype.pushNamespace=function(e,t,n){if(r.XmlReservedNs.NsXmlNs,null==e){switch(this.stack[this.top].defaultNsState){case s.DeclaredButNotWrittenOut:break;case s.Uninitialized:case s.NotDeclaredButInScope:this.stack[this.top].defaultNs=t;break;default:return}this.stack[this.top].defaultNsState=n?s.DeclaredAndWrittenOut:s.DeclaredButNotWrittenOut}else{0!=e.length&&t.length;var i=this.lookupNamespace(e);-1!=i&&this.nsStack[i].ns==t?n&&(this.nsStack[i].declared=!0):(n&&-1!=i&&i>this.stack[this.top].prevNsTop&&(this.nsStack[i].declared=!0),this.addNamespace(e,t,n))}},f.prototype.addNamespace=function(e,r,n){var a=++this.nsTop;if(a==this.nsStack.length){var o=t.StiArray.create(l,2*a,!0);t.StiArray.copy(this.nsStack,0,o,a),this.nsStack=o}if(this.nsStack[a].set(e,r,n),this.useNsHashtable)this.addToNamespaceHashtable(a);else if(a==this.maxNamespacesWalkCount){this.nsHashtable=new i;for(var s=0;s<=a;s++)this.addToNamespaceHashtable(s);this.useNsHashtable=!0}},f.prototype.addToNamespaceHashtable=function(e){var t=this.nsStack[e].prefix,r=this.nsHashtable.get(t);null!=r&&(this.nsStack[e].prevNsIndex=r),this.nsHashtable.set(t,e)},f.prototype.popNamespaces=function(e,t){for(var r=t;r>=e;r--)-1==this.nsStack[r].prevNsIndex?this.nsHashtable.remove(this.nsStack[r].prefix):this.nsHashtable.set(this.nsStack[r].prefix,this.nsStack[r].prevNsIndex)},f.prototype.generatePrefix=function(){var e=this.stack[this.top].prefixCount+++1;return"d"+this.top.toString()+"p"+e.toString()},f.prototype.internalWriteProcessingInstruction=function(e,t){this.textWriter.write("")},f.prototype.lookupNamespace=function(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t)return t}else for(var r=this.nsTop;r>=0;r--)if(this.nsStack[r].prefix==e)return r;return-1},f.prototype.lookupNamespaceInCurrentScope=function(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t&&t>this.stack[this.top].prevNsTop)return t}else for(var r=this.nsTop;r>this.stack[this.top].prevNsTop;r--)if(this.nsStack[r].prefix==e)return r;return-1},f.prototype.findPrefix=function(e){for(var t=this.nsTop;t>=0;t--)if(this.nsStack[t].ns==e&&this.lookupNamespace(this.nsStack[t].prefix)==t)return this.nsStack[t].prefix;return null},f.prototype.internalWriteName=function(e,t){this.validateName(e,t),this.textWriter.write(e)},f.prototype.validateName=function(e,t){null==e||e.length;var n=e.length,i=0,a=-1;if(this.namespaces){if(0!=(this.xmlCharType.charProperties[e.charCodeAt(i)]&r.XmlCharType.fNCStartName)){var o=!0;while(o){i++;while(i0&&t.StiArray.copy(this.stack,0,e,this.top+1),this.stack=e}this.top++,this.stack[this.top].init(this.nsTop)},f.prototype.flushEncoders=function(){this._flush=!1},f.prototype.writeAttributeString=function(e,t){this.writeStartAttribute(null,e,null),this.writeString(t),this.writeEndAttribute()},f.prototype.writeElementString=function(e,t){this.writeElementString2(e,null,t)},f.prototype.writeElementString2=function(e,t,r){this.writeStartElement3(null,e,t),null!=r&&0!=r.length&&this.writeString(r),this.writeEndElement()},f.prototype.writeElementString3=function(e,t,r,n){this.writeStartElement3(e,t,r),null!=n&&0!=n.length&&this.writeString(n),this.writeEndElement()},f.prototype.constructor_=function(e,i){this.namespaces=!0,this.formatting=r.Formatting.None,this.indentation=2,this.indentChar=" ",this.nsStack=t.StiArray.create(l,this.namespaceStackInitialSize,!0),this.nsTop=-1,this.stack=t.StiArray.create(u,10,!0),this.top=0,this.stack[this.top].init(-1),this.quoteChar='"',this.stateTable=f.stateTableDefault,this.currentState=y.Start,this.lastToken=d.Empty,this.encoding=e,this.textWriter=new n,this.xmlEncoder=new r.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar},f.stateTableDefault=[y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.PostDTD,y.PostDTD,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Content,y.Content,y.Error,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Element,y.Element,y.Element,y.Element,y.Element,y.Element,y.Error,y.Element,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.AttrOnly,y.Error,y.Error,y.Attribute,y.Attribute,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Element,y.Error,y.Epilog,y.Error,y.Content,y.Content,y.Error,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Content,y.Content,y.Error,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog],f.stateTableDocument=[y.Error,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Error,y.PostDTD,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Element,y.Element,y.Element,y.Element,y.Element,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Attribute,y.Attribute,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Element,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Attribute,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Attribute,y.Content,y.Error,y.Error,y.Error,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Error,y.Epilog,y.Error,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Error,y.Epilog],f}();r.XmlTextWriter=f}(r=t.Xml||(t.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.createInstance=function(e){return new e},e}();e.Activator=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={}));var window=window||null,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;(window||global)._default=__default,function(e){var t;!function(e){var t=function(){function e(){}return e}();e.Attribute=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.encode=function(t){var r="",n,i,a,o,s,u,l,m=0;t=e.utf8_encode(t);while(m>2,s=(3&n)<<4|(i=t.charCodeAt(m++))>>4,u=(15&i)<<2|(a=t.charCodeAt(m++))>>6,l=63&a,isNaN(i)?u=l=64:isNaN(a)&&(l=64),r=r+e.keyStr.charAt(o)+e.keyStr.charAt(s)+e.keyStr.charAt(u)+e.keyStr.charAt(l);return r},e.decode=function(t){var r="",n,i,a,o,s,u,l,m=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(m>4,i=(15&s)<<4|(u=this.keyStr.indexOf(t.charAt(m++)))>>2,a=(3&u)<<6|(l=this.keyStr.indexOf(t.charAt(m++))),r+=String.fromCharCode(n),64!=u&&(r+=String.fromCharCode(i)),64!=l&&(r+=String.fromCharCode(a));return r=e.utf8_decode(r)},e.utf8_encode=function(e){var t="";e=e.replace(/\r\n/g,"\n");for(var r=0;r127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},e.utf8_decode=function(e){var t="",r=0,n,i,a,o=0;while(r191&&n<224?(a=e.charCodeAt(r+1),t+=String.fromCharCode((31&n)<<6|63&a),r+=2):(a=e.charCodeAt(r+1),o=e.charCodeAt(r+2),t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o),r+=3);return t},e.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e}();e.Base64=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Globalization.UnicodeCategory,n=function(){function e(){}return e.getUnicodeCategory=function(e){if(e<13312)return this._table_0[e];if(e<19894)return r.OtherLetter;if(e<19904)return r.OtherNotAssigned;if(e<19968)return r.OtherSymbol;if(e<40896)return r.OtherLetter;if(e<44032)return this._table_9fc0[e-40896];if(e<55168)return r.OtherLetter;if(e<55296)return this._table_d780[e-55168];if(e<57344)return r.Surrogate;if(e<63744)return r.PrivateUse;if(e<64064)return r.OtherLetter;if(e<65536)return this._table_fa40[e-64064];return r.OtherNotAssigned},e._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,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29,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,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,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4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,24,24,4,4,4,4,4,4,4,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,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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,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],e._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,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4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,4,4,29,29,29,29,29,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,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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],e._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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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,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],e}();t.Chars=n}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function r(){}return r.changeType=function(e,r){switch(r){case String:return e.toString();case Boolean:return e.stimulsoft.toBoolean();case Number:return e.stimulsoft.toNumber();case t.TimeSpan:return t.TimeSpan.fromString(e.toString());case t.DateTime:return t.DateTime.fromString(e.toString())}return e},r.changeType2=function(e,r){switch(r){case t.TypeCode.Empty:return e;case t.TypeCode.Object:return e;case t.TypeCode.DBNull:return e;case t.TypeCode.Boolean:return e.stimulsoft.toBoolean();case t.TypeCode.Char:return e.toString();case t.TypeCode.SByte:return e.stimulsoft.toNumber();case t.TypeCode.Byte:return e.stimulsoft.toNumber();case t.TypeCode.Int16:return e.stimulsoft.toNumber();case t.TypeCode.UInt16:return e.stimulsoft.toNumber();case t.TypeCode.Int32:return e.stimulsoft.toNumber();case t.TypeCode.UInt32:return e.stimulsoft.toNumber();case t.TypeCode.Int64:return e.stimulsoft.toNumber();case t.TypeCode.UInt64:return e.stimulsoft.toNumber();case t.TypeCode.Single:return e.stimulsoft.toNumber();case t.TypeCode.Double:return e.stimulsoft.toNumber();case t.TypeCode.Decimal:return e.stimulsoft.toNumber();case t.TypeCode.DateTime:return t.DateTime.fromString(e.toString());case t.TypeCode.String:return e.toString()}return e},r.toDateTime=function(e){if(e.stimulsoft.is(t.DateTime))return e;if(e.stimulsoft.is(String))return t.DateTime.fromString(e);var r=Date.parse(e);if(isNaN(r))return e;return new t.DateTime(r)},r.toString=function(e){if(null==e)return"";return e.toString()},r.toFont=function(r){var n=r.split(",");if(2==n.length)return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber());if(3==n.length)return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),t.Enum.parse(t.Drawing.FontStyle,n[2].stimulsoft.replaceAll("|",",")));if(n.length>=4)return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),t.Enum.parse(t.Drawing.FontStyle,n[2].stimulsoft.replaceAll("|",",")),t.Enum.parse(t.Drawing.GraphicsUnit,n[3]));return null},r.toBoolean=function(e){return!!e},r.toNumber=function(e){return+e},r.toDouble=function(e){return r.toNumber(e)},r.toInt32=function(e,t){return t?parseInt(e,t):r.toNumber(e)},r.toInt64=function(e){return r.toNumber(e)},r.toUInt64=function(e){return r.toNumber(e)},r.toUInt32=function(e){return r.toNumber(e)},r.toBase64String=function(e){if(void 0===e||null==e)return null;var r="";if(e.stimulsoft.is(String))r=e,window&&window.atob&&(r=r.stimulsoft.toUnicodeString());else for(var n=new Uint8Array(e),i=0;i0?", ":"")+e[i])}return 0==r.length&&(r=e[0]),r}return e[t]},t.parse=function(r,n,i){void 0===i&&(i=!1),("number"==typeof n||e.Char.isDigit(n))&&(n=t.getName(r,+n));for(var a=n.toString().split(", "),o,s=0;s0){var n=Math.pow(10,t);return Math.round(Math.round2(e*n,t-1))/n*r}return Math.round(e)*r},Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)},Math.sign=function(e){if(0==e||isNaN(e))return e;return e>0?1:-1},Math.log10=function(e){return Math.log(e)/Math.LN10},function(e){var t;!function(e){var t;!function(e){e[e["ToEven"]=0]="ToEven",e[e["AwayFromZero"]=1]="AwayFromZero"}(t=e.MidpointRounding||(e.MidpointRounding={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),null!==Object.saveAs&&void 0!==Object.saveAs||(Object.saveAs=function(e,t,r){void 0===r&&(r="application/octet-stream"),Stimulsoft.System.StiError.showError("The 'Object.saveAs' method is obsolete. Please use the 'Stimulsoft.System.StiObject.saveAs' method instead."),Stimulsoft.System.StiObject.saveAs(e,t,r)},Object.defineProperty(Object.prototype,"saveAs",{enumerable:!1,writable:!0})),function(e){var t;!function(t){var r=e.System.StiString,n=function(){function t(){return}return t.isRangeType=function(t){switch(t){case i:case a:case o:case s:case u:case l:case m:case y:case d:case f:case h:case c:case e.System.StimulsoftByteRange:case e.System.StimulsoftCharRange:case e.System.StimulsoftDateTimeRange:case e.System.StimulsoftDecimalRange:case e.System.StimulsoftDoubleRange:case e.System.StimulsoftFloatRange:case e.System.StimulsoftGuidRange:case e.System.StimulsoftIntRange:case e.System.StimulsoftLongRange:case e.System.StimulsoftShortRange:case e.System.StimulsoftStringRange:case e.System.StimulsoftTimeSpanRange:return!0}return!1},Object.defineProperty(t.prototype,"rangeName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeType",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fromObject",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toObject",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),t.prototype.parse=function(t,n){if(this.rangeType==e.System.Char)r.isNullOrEmpty(t)||(this.fromObject=t[0]),r.isNullOrEmpty(n)||(this.toObject=n[0]);else if(this.rangeType==e.System.DateTime)try{r.isNullOrEmpty(t.trim())?this.fromObject=null:this.fromObject=new e.System.DateTime(Date.parse(t)),r.isNullOrEmpty(n.trim())?this.toObject=null:this.toObject=new e.System.DateTime(Date.parse(n))}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.TimeSpan)try{r.isNullOrEmpty(t.trim())?this.fromObject=null:this.fromObject=e.System.TimeSpan.fromString(t),r.isNullOrEmpty(n.trim())?this.toObject=null:this.toObject=e.System.TimeSpan.fromString(n)}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Decimal)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Single)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Double)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Byte)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(!1),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber(!1)}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Int16)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(!1),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber(!1)}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Int32)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(!1),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber(!1)}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Int64)try{r.isNullOrEmpty(t.trim())?this.fromObject=0:this.fromObject=t.stimulsoft.toNumber(!1),r.isNullOrEmpty(n.trim())?this.toObject=0:this.toObject=n.stimulsoft.toNumber(!1)}catch(t){e.System.StiError.showError(t,!1)}else if(this.rangeType==e.System.Guid)try{this.fromObject=new e.System.Guid(t),this.toObject=new e.System.Guid(n)}catch(t){e.System.StiError.showError(t,!1)}else this.rangeType==String&&(this.fromObject=t,this.toObject=n)},t.prototype.equals=function(e){var r=e.stimulsoft.as(t);if(null==r)return!1;return this.fromObject==r.fromObject&&0==this.fromObject.stimulsoft.compareTo(r.fromObject)&&0==this.toObject.stimulsoft.compareTo(r.toObject)},Object.defineProperty(t.prototype,"fromStrLoc",{get:function(){if(e["Base"])return e["Base"].Localization.StiLocalization.get("PropertyMain","RangeFrom");return"From"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toStrLoc",{get:function(){if(e["Base"])return e["Base"].Localization.StiLocalization.get("PropertyMain","RangeTo");return"To"},enumerable:!1,configurable:!0}),t.prototype.getHashCode=function(){return null},t}();t.Range=n;var i=function(t){function r(e,r){var n=t.call(this)||this;return n.from="A",n.to="Z",null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"CharRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Char},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(String)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(String)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.CharRange=i;var a=function(t){function n(e,r){var n=t.call(this)||this;return n.from=null,n.to=null,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(n,t),Object.defineProperty(n.prototype,"rangeName",{get:function(){return"DateTimeRange"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeType",{get:function(){return e.System.DateTime},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fromObject",{get:function(){return this.from},set:function(t){null!=t&&t.stimulsoft.is(e.System.DateTime)&&(this.from=t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toObject",{get:function(){return this.to},set:function(t){null!=t&&t.stimulsoft.is(e.System.DateTime)&&(this.to=t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fromDate",{get:function(){if(null==this.from)return e.System.DateTime.minValue;return this.from},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toDate",{get:function(){if(null==this.to)return e.System.DateTime.maxValue;return this.to},enumerable:!1,configurable:!0}),n.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!1;if(null==this.from&&null!=this.to)return this.to>=e;if(null!=this.from&&null==this.to)return this.from<=e;return this.from<=e&&this.to>=e},n.prototype.toString=function(){var e=null!=this.from?r.format("{0:d}",this.from):"-",t=null!=this.to?r.format("{0:d}",this.to):"-";return r.format("{0} {1} {2} {3}",this.fromStrLoc,e,this.toStrLoc.toLowerCase(),t)},n}(n);t.DateTimeRange=a;var o=function(t){function n(e,r){var n=t.call(this)||this;return n.from=null,n.to=null,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(n,t),Object.defineProperty(n.prototype,"rangeName",{get:function(){return"TimeSpanRange"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeType",{get:function(){return e.System.TimeSpan},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fromObject",{get:function(){return this.from},set:function(t){null!=t&&t.stimulsoft.is(e.System.TimeSpan)&&(this.from=t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toObject",{get:function(){return this.to},set:function(t){null!=t&&t.stimulsoft.is(e.System.TimeSpan)&&(this.to=t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fromTime",{get:function(){if(null==this.from)return e.System.TimeSpan.minValue;return this.from},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toTime",{get:function(){if(null==this.to)return e.System.TimeSpan.maxValue;return this.to},enumerable:!1,configurable:!0}),n.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!1;if(null==this.from&&null!=this.to)return this.to>=e;if(null!=this.from&&null==this.to)return this.from<=e;return this.from<=e&&this.to>=e},n.prototype.toString=function(){var e=null!=this.from?r.format("{0}",this.from):"-",t=null!=this.to?r.format("{0}",this.to):"-";return r.format("{0} {1} {2} {3}",this.fromStrLoc,e,this.toStrLoc.toLowerCase(),t)},n}(n);t.TimeSpanRange=o;var s=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"DecimalRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Decimal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.DecimalRange=s;var u=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"FloatRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Single},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.FloatRange=u;var l=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"DoubleRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Double},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.DoubleRange=l;var m=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"ByteRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Byte},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.ByteRange=m;var y=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"ShortRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Int16},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.ShortRange=y;var d=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"IntRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Int32},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.IntRange=d;var f=function(t){function r(e,r){var n=t.call(this)||this;return n.from=0,n.to=0,null!=e&&(n.from=e),null!=r&&(n.to=r),n}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"LongRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Int64},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(Number)&&(this.to=e)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from<=e&&this.to>=e},r}(n);t.LongRange=f;var h=function(t){function r(r,n){var i=t.call(this)||this;return i.from=e.System.Guid.empty,i.to=e.System.Guid.empty,null!=r&&(i.from=r),null!=n&&(i.to=n),i}return __extends(r,t),Object.defineProperty(r.prototype,"rangeName",{get:function(){return"GuidRange"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeType",{get:function(){return e.System.Guid},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fromObject",{get:function(){return this.from},set:function(t){null!=t&&t.stimulsoft.is(e.System.Guid)&&(this.from=t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"toObject",{get:function(){return this.to},set:function(t){null!=t&&t.stimulsoft.is(e.System.Guid)&&(this.to=t)},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.from.stimulsoft.compareTo(e)<=0&&this.to.stimulsoft.compareTo(e)>=0},r}(n);t.GuidRange=h;var c=function(e){function t(t,r){var n=e.call(this)||this;return n.from="",n.to="",null!=t&&(n.from=t),null!=r&&(n.to=r),n}return __extends(t,e),Object.defineProperty(t.prototype,"rangeName",{get:function(){return"StringRange"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeType",{get:function(){return String},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fromObject",{get:function(){return this.from},set:function(e){null!=e&&e.stimulsoft.is(String)&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toObject",{get:function(){return this.to},set:function(e){null!=e&&e.stimulsoft.is(String)&&(this.to=e)},enumerable:!1,configurable:!0}),t.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!0;if(null==this.from&&null!=this.to)return this.to.stimulsoft.compareTo(e.toString())>=0;if(null!=this.from&&null==this.to)return this.from.stimulsoft.compareTo(e.toString())<=0;return this.from.stimulsoft.compareTo(e.toString())<=0&&this.to.stimulsoft.compareTo(e.toString())>=0},t}(n);t.StringRange=c}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){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"}]}return e.prototype.getString=function(e,t){var r,n;try{for(var i=__values(this.resource),a=i.next();!a.done;a=i.next()){var o=a.value;if(o.name==e)return o.value}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return""},e}();e.ResourceManager=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function t(){}return t.showError=function(r,n){void 0===n&&(n=!0);var i=r;null!=r&&null!=r["message"]&&(i=r.message),n&&this.lastErrorMessage!=i&&t.errorMessageForm&&(t.errorMessageForm.show(i,!1),this.lastErrorMessage=i),e.System.NodeJs.consoleLog&&console.log(i)},t.lastErrorMessage="",t}();t.StiError=r}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){this._timeout=-1,this._callTry=!1,this._callCatch=!1,this._callFinaly=!1,this._callTimeout=!0,this.promise=this,this.assignFunction=!1,this._catchFunctions=[],this.nextPromises=[],this._startTime=Date.now(),this._tryFunctions=[]}return e.prototype.try=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this.assignFunction=!0,this._tryFunctions.push(e),this._callTry&&this.callTry(this.returnValue),this},e.prototype.catch=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this.assignFunction=!0,this._catchFunctions.push(e),this._callCatch&&this.callCatch(this._catchArgument),this},e.prototype.finally=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this._finallyFunction=e,this._callFinaly&&this.callFinally(this._finalyArgument),this},e.prototype.this=function(e){return this._this=e,this},e.prototype.timeout=function(e){var t=this;return this._callTimeout&&(this._timeout=e,this.timeoutHanderId=setTimeout((function(){t.callCatch("Timeout response from the server.")}),this._timeout)),this},e.prototype.callTry=function(e){var t,r;if(void 0===e&&(e=null),this.returnValue=e,this._tryFunctions.length>0){clearTimeout(this.timeoutHanderId);try{for(var n=__values(this._tryFunctions),i=n.next();!i.done;i=n.next()){var a;i.value.apply(this._this,[this.returnValue])}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}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},e.prototype.callCatch=function(e){var t,r;if(void 0===e&&(e=null),this._catchArgument=e,this._catchFunctions.length>0){clearTimeout(this.timeoutHanderId);try{for(var n=__values(this._catchFunctions),i=n.next();!i.done;i=n.next()){var a;(0,i.value)(this._catchArgument)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.callFinally(this._catchArgument)}else this.assignFunction?this.callFinally(this._catchArgument):(this._callCatch=!0,this._callFinaly=!0,this._callTimeout=!1,this._finalyArgument=this._catchArgument)},e.prototype.callFinally=function(e){this._callFinaly=!1,this._callTimeout=!1,this._finalyArgument=e,this._finallyFunction?this._finallyFunction(this._finalyArgument):this._callFinaly=!0},e.prototype.callTimeout=function(){if(-1!=this._timeout&&Date.now()-this._startTime>this._timeout)throw new Error("")},e.prototype.abort=function(e){var t,r;if(void 0===e&&(e=null),null!=e)e.nextPromises.push(this);else{try{for(var n=__values(this.nextPromises),i=n.next();!i.done;i=n.next()){var a;i.value.abort()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null!=this.abortFunction&&this.abortFunction(),clearTimeout(this.timeoutHanderId)}return this},e.prototype.onAbort=function(e){this.abortFunction=e},e}();e.StiPromise=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e[e["CurrentCulture"]=0]="CurrentCulture",e[e["CurrentCultureIgnoreCase"]=1]="CurrentCultureIgnoreCase",e[e["InvariantCulture"]=2]="InvariantCulture",e[e["InvariantCultureIgnoreCase"]=3]="InvariantCultureIgnoreCase",e[e["Ordinal"]=4]="Ordinal",e[e["OrdinalIgnoreCase"]=5]="OrdinalIgnoreCase"}(t=e.StringComparison||(e.StringComparison={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(e){void 0===e&&(e="#"),this.numberSymbol=e,this.isValid=!0}return e.prototype.formatValue=function(e,t){for(var r="",n=0,i=e.length,a=0;a=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),__read=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],a;try{while((void 0===t||t-- >0)&&!(n=i.next()).done)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(a)throw a.error}}return o},__spread=this&&this.__spread||function(){for(var e=[],t=0;t0){var C={ref:b};if(v=this.splitToColumns(C,y,S),b=C.ref,r.isNullOrEmpty(c)&&1==v.length){var T={ref:b};if(v=this.splitToColumns(T,y,"\t"),b=T.ref,v.length>1)S="\t";else{var w={ref:b};if(v=this.splitToColumns(w,y,";"),b=w.ref,v.length>1)S=";";else{var D={ref:b};v=this.splitToColumns(D,y,","),b=D.ref,v.length>1&&(S=",")}}}}var P=new u;if(null!=v)for(var x=0;x1&&d.stimulsoft.startsWith('"')&&d.stimulsoft.endsWith('"')&&(n[c]=d.substr(1,d.length-2).replace('""','"'))}return e.ref=i,n},c.codePageCodes=[0,1,65e3,65001,1200,1250,1251,1252,1253,1254,1255,1256],c.codePageNames=["Default","System","UTF7","UTF8","Unicode","1250","1251","1252","1253","1254","1255","1256"],c}();t.StiCsvHelper=c}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Char,i=function(){function e(){}return e.correct=function(e){for(var t=e,i=0;i0&&r.isDigit(e[0])&&(e="n"+e),e},e}();t.StiDataNameValidator=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.defaultCsvTableName="CSV-Table",e.defaultDBaseTableName="DBase-Table",e}();e.StiFileItemTable=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.List,i=e.System.StiString,n=function(){function n(e){this.urlBase="https://api.data.world/v0/",this.connectionString=e}return n.prototype.getDefaultWebClient=function(){var e={downloadString:function(e,t){try{var r=new XMLHttpRequest;if(r.open("Get",e,!1),r.setRequestHeader("Authorization","Bearer "+t),r.send(),200==r.status)return r.responseText;throw new Error}catch(e){throw e}}};return e},n.prototype.getTableNames=function(){var e,t,i=this.getDefaultWebClient(),n="SELECT * FROM Tables",o="sql/"+this.owner+"/"+this.database+"?query="+encodeURIComponent(n),a=this.urlBase+o,s=i.downloadString(a,this.token),l=JSON.parse(s),u=new r;try{for(var c=__values(l.stimulsoft.value),d=c.next();!d.done;d=c.next()){var h=d.value;u.add(h["tableId"])}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}return u},n.prototype.getColumns=function(e){var i,n,o=this.getDataTable(e,"select * from "+e+" limit 29"),a=new r;if(null!=o)try{for(var s=__values(o.columns.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.add(new t.StiDataColumnSchema(u.columnName,u.dataType))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return a},n.prototype.getDataTable=function(r,n){try{var o="sql/"+this.owner+"/"+this.database;i.isNullOrEmpty(n)&&(n="select * from "+r);var a=this.urlBase+o+"?query="+encodeURIComponent(n),s,l=this.getDefaultWebClient().downloadString(a,this.token),u=t.StiJsonToDataSetConverter.getDataSet(l);return null!=u&&u.tables.count>0?u.tables.list[0].copy():null}catch(t){throw e.System.StiError.showError(t,!1),t}},n.prototype.testConnection=function(){try{var r=this.getDefaultWebClient(),i=this.urlBase+"users/"+this.owner,n=r.downloadString(i,this.token)}catch(r){return e.System.StiError.showError(r,!1),t.StiTestConnectionResult.makeWrong(r.message)}return t.StiTestConnectionResult.makeFine()},n.prototype.retrieveSchema=function(){var e,r;if(i.isNullOrEmpty(this.connectionString))return null;var n=new t.StiDataSchema(t.StiConnectionIdent.DataWorldDataSource);try{var o=this.getTableNames();try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=t.StiDataTableSchema.newTable(l);try{var c=this.getColumns(l);null!=c&&(u.columns=c)}catch(e){}n.tables.add(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n.sort()}catch(e){return null}},n.prototype.getConnectionStringKey=function(e){if(i.isNullOrWhiteSpace(this.connectionString))return null;var t,r=this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault((function(t){return t.toLowerCase().stimulsoft.startsWith(e.toLowerCase())}));if(null==r)return null;var n=r.split("=");if(2!=n.length)return null;var o=n[1];return o.stimulsoft.startsWith('"')&&o.stimulsoft.endsWith('"')&&(o=o.substr(0,o.length-2)),o},n.prototype.getConnectionStringKey1=function(){if(i.isNullOrWhiteSpace(this.connectionString))return null;var e;return this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault((function(e){return!e.stimulsoft.contains("=")}))},Object.defineProperty(n.prototype,"owner",{get:function(){return this.getConnectionStringKey("Owner")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"token",{get:function(){return this.getConnectionStringKey("Token")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"database",{get:function(){return this.getConnectionStringKey("Database")},enumerable:!1,configurable:!0}),n}();t.StiDataWorldHelper=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(e){this.connectionString=e}return t.prototype.getColumns=function(t){return new e.StiDataWorldHelper(this.connectionString).getColumns(t)},t.prototype.getDataTable=function(t,r){return new e.StiDataWorldHelper(this.connectionString).getDataTable(t,r)},t.prototype.getSampleConnectionString=function(){return"Owner=;Database=;Token="},t.prototype.retrieveSchema=function(t){return void 0===t&&(t=!1),new e.StiDataWorldHelper(this.connectionString).retrieveSchema()},t.prototype.testConnection=function(){return new e.StiDataWorldHelper(this.connectionString).testConnection()},t.get=function(e){return new t(e)},t}();e.StiDataWorldConnector=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e}();e.StiObjectSchema=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.List,i=e.System.Data.DataRelation,n=e.System.Data.DataColumn,o=e.System.Data.DataSet,a=e.System.Data.DataTable,s=function(s){function l(e){void 0===e&&(e=t.StiConnectionIdent.Unspecified);var i=s.call(this)||this;return i.connectionIdent=e,i.tables=new r,i.views=new r,i.queries=new r,i.storedProcedures=new r,i.relations=new r,i}return __extends(l,s),l.prototype.isEmpty=function(){return this.tables.length<=0&&this.views.length<=0&&this.storedProcedures.length<=0&&this.relations.length<=0&&this.queries.length<=0},l.prototype.getDataSet=function(){var t=new o;return null!=this.tables&&this.tables.forEach((function(e){var r=new a(e.name);e.columns.forEach((function(e){r.columns.add(new n(e.name,e.type))})),t.tables.add(r)})),null!=this.views&&this.views.forEach((function(e){var r=new a(e.name);e.columns.forEach((function(e){r.columns.add(new n(e.name,e.type))})),t.tables.add(r)})),null!=this.storedProcedures&&this.storedProcedures.forEach((function(e){var r=new a(e.name);e.columns.forEach((function(e){r.columns.add(new n(e.name,e.type))})),t.tables.add(r)})),null!=this.queries&&this.queries.forEach((function(e){var r=new a(e.name);e.columns.forEach((function(e){r.columns.add(new n(e.name,e.type))})),t.tables.add(r)})),null!=this.relations&&this.relations.forEach((function(r){var n,o,a,s;try{var l=t.tables.getByName(r.parentSourceName),u=t.tables.getByName(r.childSourceName);if(null==l||null==u)return;var c=[],d=[];try{for(var h=__values(r.parentColumns),m=h.next();!m.done;m=h.next()){var f=m.value,p;if(null==(p=l.columns.getByName(f)))return;c.push(p)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}try{for(var S=__values(r.childColumns),g=S.next();!g.done;g=S.next()){var f=g.value,p;if(null==(p=u.columns.getByName(f)))return;d.push(p)}}catch(e){a={error:e}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}t.relations.add(new i(r.name,c.stimulsoft.toArray(),d.stimulsoft.toArray()))}catch(t){e.System.StiError.showError(t,!1)}})),t},l.prototype.sort=function(){return this.tables=this.tables.orderBy((function(e){return e.name})),this.views=this.views.orderBy((function(e){return e.name})),this.queries=this.queries.orderBy((function(e){return e.name})),this.storedProcedures=this.storedProcedures.orderBy((function(e){return e.name})),this.relations=this.relations.orderBy((function(e){return e.name})),this},l}(t.StiObjectSchema);t.StiDataSchema=s}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=e.System.Collections.Hashtable,n=e.System.Xml.XmlConverter,o=e.System.Xml.XmlNode,a=function(){function a(e){this.headers=[],this.connectionString=e}return Object.defineProperty(a.prototype,"address",{get:function(){var e=null!=this.getConnectionStringKey("Address")?this.getConnectionStringKey("Address"):this.getConnectionStringKey1(),t;return null!=e?e:this.connectionString},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"userName",{get:function(){return this.getConnectionStringKey("UserName")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"password",{get:function(){return this.getConnectionStringKey("Password")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"addressBearer",{get:function(){return this.getConnectionStringKey("AddressBearer")},enumerable:!1,configurable:!0}),a.prototype.getConnectionStringKey=function(e){if(r.isNullOrWhiteSpace(this.connectionString))return null;var t,i=this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault((function(t){return t.toLowerCase().stimulsoft.startsWith(e.toLowerCase())}));if(null==i)return null;var n=i.split("=");if(2!=n.length)return null;var o=n[1];return o.stimulsoft.startsWith('"')&&o.stimulsoft.endsWith('"')&&(o=o.substr(0,o.length-2)),o},a.prototype.getConnectionStringKey1=function(){if(r.isNullOrWhiteSpace(this.connectionString))return null;var e;return this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault((function(e){return!e.stimulsoft.contains("=")}))},a.prototype.retrieveSchema=function(){var s,l,u,c,d,h,m,f,p,S,g,y,v,b,C,T,w,D,P,x,B,L,N,A,F,R;if(r.isNullOrEmpty(this.connectionString))return null;var k=new t.StiDataSchema(t.StiConnectionIdent.ODataDataSource);try{var O,M=this.getDefaultWebClient().downloadString(t.StiUrl.combine([this.address,"$metadata"]),this.userName,this.password,this.bearerAccessToken),E=n.toXml(M),H=new i,I=new i;try{for(var z=__values(E.getNodeByName("edmx:DataServices").childNodes),W=z.next();!W.done;W=z.next()){var G=W.value,j=null!=G.getAttribute("Namespace")?G.getAttribute("Namespace"):null;try{for(var V=(u=void 0,__values(G.childNodes.where((function(e){return"EntityType"==e.localName||"ComplexType"==e.localName})))),X=V.next();!X.done;X=V.next()){var q=X.value;try{var U=q.stimulsoft.as(o),Y=U.getAttribute("Name"),Z=null!=U.getAttribute("BaseType")?U.getAttribute("BaseType"):null;if(r.isNullOrWhiteSpace(Y))continue;var J=U.getNodesByName("Property"),K=new t.StiDataTableSchema(Y,Y);if(null!=Z){var Q=Z.stimulsoft.replaceAll(j+".","");I.set(Q,K)}if(null!=J)try{for(var _=(d=void 0,__values(J)),$=_.next();!$.done;$=_.next()){var ee=$.value;try{var te=ee.getAttribute("Name");if(r.isNullOrWhiteSpace(te))continue;var re=null!=ee.getAttribute("Nullable")&&"true"==ee.getAttribute("Nullable"),ie=ee.getAttribute("Type"),ne=a.getNetType(ie),oe=new t.StiDataColumnSchema(te,ne);K.columns.push(oe)}catch(t){e.System.StiError.showError(t,!1)}}}catch(e){d={error:e}}finally{try{$&&!$.done&&(h=_.return)&&h.call(_)}finally{if(d)throw d.error}}H.set(j+"."+K.name,K)}catch(t){e.System.StiError.showError(t,!1)}try{for(var ae=(m=void 0,__values(I.keys)),se=ae.next();!se.done;se=ae.next()){var le,ue=le=se.value,K=I.get(ue),ce=void 0;try{for(var de=(p=void 0,__values(k.tables)),he=de.next();!he.done;he=de.next()){var me;if((me=he.value).name==ue){ce=me;break}}}catch(e){p={error:e}}finally{try{he&&!he.done&&(S=de.return)&&S.call(de)}finally{if(p)throw p.error}}if(null==ce)continue;try{for(var fe=(g=void 0,__values(ce.columns)),pe=fe.next();!pe.done;pe=fe.next()){var Se=pe.value,ge=!0;try{for(var ye=(v=void 0,__values(K.columns)),ve=ye.next();!ve.done;ve=ye.next()){var oe=ve.value;if(Se.name==oe.name){ge=!1;break}}}catch(e){v={error:e}}finally{try{ve&&!ve.done&&(b=ye.return)&&b.call(ye)}finally{if(v)throw v.error}}K.columns.push(Se)}}catch(e){g={error:e}}finally{try{pe&&!pe.done&&(y=fe.return)&&y.call(fe)}finally{if(g)throw g.error}}}}catch(e){m={error:e}}finally{try{se&&!se.done&&(f=ae.return)&&f.call(ae)}finally{if(m)throw m.error}}}}catch(e){u={error:e}}finally{try{X&&!X.done&&(c=V.return)&&c.call(V)}finally{if(u)throw u.error}}try{for(var be=(C=void 0,__values(G.childNodes.where((function(e){return"EntityContainer"==e.localName})))),Ce=be.next();!Ce.done;Ce=be.next()){var Te=Ce.value;try{for(var we=(w=void 0,__values(Te.childNodes.where((function(e){return"EntitySet"==e.localName})))),De=we.next();!De.done;De=we.next()){var Pe=De.value;try{var xe=Pe.getAttribute("Name"),Be=Pe.getAttribute("EntityType");if(r.isNullOrWhiteSpace(xe))continue;var K=new t.StiDataTableSchema(xe,xe),Le=H.get(Be);null!=Le&&K.columns.stimulsoft.addRange(Le.columns),k.tables.add(K)}catch(t){e.System.StiError.showError(t,!1)}try{for(var Ne=(P=void 0,__values(I.keys)),Ae=Ne.next();!Ae.done;Ae=Ne.next()){var le,ue=le=Ae.value,K=I.get(ue),ce=void 0;try{for(var Fe=(B=void 0,__values(k.tables)),Re=Fe.next();!Re.done;Re=Fe.next()){var me;if((me=Re.value).name==ue){ce=me;break}}}catch(e){B={error:e}}finally{try{Re&&!Re.done&&(L=Fe.return)&&L.call(Fe)}finally{if(B)throw B.error}}if(null==ce)continue;try{for(var ke=(N=void 0,__values(ce.columns)),Oe=ke.next();!Oe.done;Oe=ke.next()){var Se=Oe.value,ge=!0;try{for(var Me=(F=void 0,__values(K.columns)),Ee=Me.next();!Ee.done;Ee=Me.next()){var oe=Ee.value;if(Se.name==oe.name){ge=!1;break}}}catch(e){F={error:e}}finally{try{Ee&&!Ee.done&&(R=Me.return)&&R.call(Me)}finally{if(F)throw F.error}}K.columns.push(Se)}}catch(e){N={error:e}}finally{try{Oe&&!Oe.done&&(A=ke.return)&&A.call(ke)}finally{if(N)throw N.error}}}}catch(e){P={error:e}}finally{try{Ae&&!Ae.done&&(x=Ne.return)&&x.call(Ne)}finally{if(P)throw P.error}}}}catch(e){w={error:e}}finally{try{De&&!De.done&&(D=we.return)&&D.call(we)}finally{if(w)throw w.error}}}}catch(e){C={error:e}}finally{try{Ce&&!Ce.done&&(T=be.return)&&T.call(be)}finally{if(C)throw C.error}}}}catch(e){s={error:e}}finally{try{W&&!W.done&&(l=z.return)&&l.call(z)}finally{if(s)throw s.error}}return k}catch(t){throw e.System.StiError.showError(t,!1),t}},a.prototype.fillDataTable=function(i,o){var a,s,l,u,c,d;if(r.isNullOrEmpty(this.connectionString))return;try{var h=this.getDefaultWebClient(),m=t.StiUrl.combine([this.address,o]),f=h.downloadString(m,this.userName,this.password,this.bearerAccessToken);if(f.trim().stimulsoft.startsWith("0?o.tables.getByIndex(0).copy():new i}catch(e){}},e.prototype.fillDataTable=function(e,t){var r,i,n,o,a=this.getDataTable(null,t);try{for(var s=__values(a.rows.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=e.newRow();try{for(var d=(n=void 0,__values(e.columns.list)),h=d.next();!h.done;h=d.next()){var m=h.value;a.columns.contains(m.columnName)&&a.columns.getByName(m.columnName).dataType==m.dataType&&c.sett(m,u.gett(a.columns.getByName(m.columnName)))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}e.rows.add(c)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},e.prototype.executeQuery=function(e){try{a.isNullOrWhiteSpace(this.realmId)&&this.fillAuthorizationCode(),a.isNullOrWhiteSpace(this.accessToken)&&(a.isNullOrWhiteSpace(this.refreshToken)?a.isNullOrWhiteSpace(this.authorizationCode)?(this.fillAuthorizationCode(),this.fillTokens()):this.fillTokens():this.refreshAccessToken());var t=this.getDefaultWebClient(),r=this.baseUrl+"/company/"+this.realmId+"/query?query="+e.stimulsoft.toUnicodeString(),i=t.downloadString(r),n=JSON.parse(i)["QueryResponse"].First;if(null!=n)return this.removeUnsupportedColumns(n.First),this.correctRefColumns(n.First),"{"+n.toString()+"}";return"{}"}catch(e){}return"{}"},e.prototype.removeUnsupportedColumns=function(e){},e.prototype.correctRefColumns=function(e){},e.prototype.getSampleConnectionString=function(){return""},e.Get=function(t){return void 0===t&&(t=null),new e(t)},e}();t.StiQuickBooksConnector=c}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=e.System.IO.File,n=e.System.IO.Path,o=function(){function e(e,t){this.name=e,this.array=t}return e.prototype.toList=function(){return[this]},e}();t.StiDataLoaderHelperData=o;var a=function(){function e(){}return e.loadMultiple=function(e,t,a,s){var l,u;if(r.isNullOrEmpty(e))return null;var c=this.loadSingle(e,a,s);if(null!=c&&null!=c.array)return c.toList();var d=i.getFilesNames(e);if(d&&d.length>0){var h=[];try{for(var m=__values(d),f=m.next();!f.done;f=m.next()){var p=f.value;if(p&&p.toLowerCase().stimulsoft.endsWith(t)){var S=e+n.getSep()+p;h.push(new o(n.getFileNameWithoutExtension(S),i.getFile(S,a)))}}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return h}return null},e.loadSingle=function(e,t,r){return new o(n.getFileNameWithoutExtension(e),i.getFile(e,t,"",r))},e}();t.StiDataLoaderHelper=a}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=function(){function t(){}return t.get=function(t){if(r.isNullOrWhiteSpace(t))return null;var i=null;return i=e.System.IO.File.getFile(t,!0)},t}();t.StiFileUrlHelper=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.makeWrong=function(t){var r=new e;return r.success=!1,r.notice=t,r},e.makeWrong2=function(t){var r=new e;return r.success=!1,r.notice=t,r},e.makeWrong3=function(){var t=new e;return t.success=!1,t},e.makeFine=function(){var t=new e;return t.success=!0,t},e}();e.StiTestConnectionResult=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(e){function t(t,r){void 0===t&&(t=null),void 0===r&&(r=null);var i=e.call(this)||this;return i.name=t,i.type=r,i}return __extends(t,e),t}(e.StiObjectSchema);e.StiDataColumnSchema=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(e){function t(t,r){void 0===t&&(t=null),void 0===r&&(r=null);var i=e.call(this)||this;return i.name=t,i.type=r,i}return __extends(t,e),t}(e.StiObjectSchema);e.StiDataParameterSchema=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e}();e.StiDataRelationSchema=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(e){function t(t,r){void 0===t&&(t=null),void 0===r&&(r=null);var i=e.call(this)||this;return i.columns=[],i.parameters=[],i.name=t,i.query=r,i}return __extends(t,e),t.newTableOrView=function(e){return this.newTable(e)},t.newTable=function(e){return new t(e)},t.newView=function(e){return new t(e)},t.newProcedure=function(e){return new t(e)},t}(e.StiObjectSchema);e.StiDataTableSchema=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t,r,i,n,o;!function(e){e[e["Xml"]=0]="Xml",e[e["Json"]=1]="Json"}(t=e.StiDataFormatType||(e.StiDataFormatType={})),function(e){e[e["KeyInfo"]=0]="KeyInfo",e[e["SchemaOnly"]=1]="SchemaOnly",e[e["FillSchema"]=2]="FillSchema"}(r=e.StiRetrieveColumnsMode||(e.StiRetrieveColumnsMode={})),function(e){e[e["Db2DataSource"]=1]="Db2DataSource",e[e["InformixDataSource"]=2]="InformixDataSource",e[e["MsAccessDataSource"]=3]="MsAccessDataSource",e[e["MsSqlDataSource"]=4]="MsSqlDataSource",e[e["MySqlDataSource"]=5]="MySqlDataSource",e[e["OdbcDataSource"]=6]="OdbcDataSource",e[e["OleDbDataSource"]=7]="OleDbDataSource",e[e["FirebirdDataSource"]=8]="FirebirdDataSource",e[e["PostgreSqlDataSource"]=9]="PostgreSqlDataSource",e[e["OracleDataSource"]=10]="OracleDataSource",e[e["SqlCeDataSource"]=11]="SqlCeDataSource",e[e["SqLiteDataSource"]=12]="SqLiteDataSource",e[e["SybaseDataSource"]=13]="SybaseDataSource",e[e["TeradataDataSource"]=14]="TeradataDataSource",e[e["VistaDbDataSource"]=15]="VistaDbDataSource",e[e["UniversalDevartDataSource"]=16]="UniversalDevartDataSource",e[e["ODataDataSource"]=17]="ODataDataSource",e[e["CsvDataSource"]=18]="CsvDataSource",e[e["DBaseDataSource"]=19]="DBaseDataSource",e[e["DynamicsNavDataSource"]=20]="DynamicsNavDataSource",e[e["ExcelDataSource"]=21]="ExcelDataSource",e[e["JsonDataSource"]=22]="JsonDataSource",e[e["XmlDataSource"]=23]="XmlDataSource",e[e["DropboxCloudStorage"]=24]="DropboxCloudStorage",e[e["GoogleDriveCloudStorage"]=25]="GoogleDriveCloudStorage",e[e["OneDriveCloudStorage"]=26]="OneDriveCloudStorage",e[e["SharePointCloudStorage"]=27]="SharePointCloudStorage",e[e["DataWorldDataSource"]=28]="DataWorldDataSource",e[e["QuickBooksDataSource"]=29]="QuickBooksDataSource",e[e["Unspecified"]=30]="Unspecified"}(i=e.StiConnectionIdent||(e.StiConnectionIdent={})),function(e){e[e["MsSqlDataSource"]=10]="MsSqlDataSource",e[e["MySqlDataSource"]=20]="MySqlDataSource",e[e["OdbcDataSource"]=30]="OdbcDataSource",e[e["OleDbDataSource"]=40]="OleDbDataSource",e[e["OracleDataSource"]=50]="OracleDataSource",e[e["MsAccessDataSource"]=60]="MsAccessDataSource",e[e["PostgreSqlDataSource"]=70]="PostgreSqlDataSource",e[e["FirebirdDataSource"]=80]="FirebirdDataSource",e[e["SqlCeDataSource"]=90]="SqlCeDataSource",e[e["SqLiteDataSource"]=100]="SqLiteDataSource",e[e["Db2DataSource"]=110]="Db2DataSource",e[e["InformixDataSource"]=120]="InformixDataSource",e[e["SybaseDataSource"]=130]="SybaseDataSource",e[e["TeradataDataSource"]=140]="TeradataDataSource",e[e["VistaDbDataSource"]=150]="VistaDbDataSource",e[e["UniversalDevartDataSource"]=160]="UniversalDevartDataSource",e[e["ODataDataSource"]=170]="ODataDataSource",e[e["ExcelDataSource"]=180]="ExcelDataSource",e[e["JsonDataSource"]=190]="JsonDataSource",e[e["XmlDataSource"]=200]="XmlDataSource",e[e["CsvDataSource"]=210]="CsvDataSource",e[e["DBaseDataSource"]=220]="DBaseDataSource",e[e["DynamicsNavDataSource"]=230]="DynamicsNavDataSource",e[e["DropboxCloudStorage"]=240]="DropboxCloudStorage",e[e["GoogleDriveCloudStorage"]=250]="GoogleDriveCloudStorage",e[e["OneDriveCloudStorage"]=260]="OneDriveCloudStorage",e[e["SharePointCloudStorage"]=270]="SharePointCloudStorage",e[e["DataWorldDataSource"]=330]="DataWorldDataSource",e[e["QuickBooksDataSource"]=340]="QuickBooksDataSource",e[e["Unspecified"]=0]="Unspecified"}(n=e.StiConnectionOrder||(e.StiConnectionOrder={})),function(e){e[e["Unknown"]=1]="Unknown",e[e["ReportSnapshot"]=2]="ReportSnapshot",e[e["Pdf"]=3]="Pdf",e[e["Xps"]=4]="Xps",e[e["PowerPoint"]=5]="PowerPoint",e[e["Html"]=6]="Html",e[e["Text"]=7]="Text",e[e["RichText"]=8]="RichText",e[e["Word"]=9]="Word",e[e["OpenDocumentWriter"]=10]="OpenDocumentWriter",e[e["Excel"]=11]="Excel",e[e["OpenDocumentCalc"]=12]="OpenDocumentCalc",e[e["Data"]=13]="Data",e[e["Image"]=14]="Image",e[e["Xml"]=15]="Xml",e[e["Xsd"]=16]="Xsd",e[e["Csv"]=17]="Csv",e[e["Dbf"]=18]="Dbf",e[e["Sylk"]=19]="Sylk",e[e["Dif"]=20]="Dif",e[e["Json"]=21]="Json"}(o=e.StiFileType||(e.StiFileType={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiBIDataCache="IStiBIDataCache"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Exception,i=function(){function e(){}return e.checkInitialization=function(){if(null==t.StiBIDataCacheOptions.cache)throw new r("The StiBIDataCacheHelper.Cache property is not initialized!")},e.exists=function(e){return this.checkInitialization(),t.StiBIDataCacheOptions.cache.exists2(e)},e.remove=function(e){this.checkInitialization(),t.StiBIDataCacheOptions.cache.remove(e)},e.clean=function(e){this.checkInitialization(),t.StiBIDataCacheOptions.cache.clean(e)},e.cleanAll=function(){this.checkInitialization(),t.StiBIDataCacheOptions.cache.cleanAll()},e.getTableCount=function(){return this.checkInitialization(),t.StiBIDataCacheOptions.cache.getTableCount()},e.getRowCount=function(e){return this.checkInitialization(),t.StiBIDataCacheOptions.cache.getRowCount(e)},e.runQuery=function(e){return this.checkInitialization(),t.StiBIDataCacheOptions.cache.runQuery(e)},e.get=function(e,r){return void 0===r&&(r=!1),this.checkInitialization(),r?t.StiBIDataCacheOptions.cache.getData(e):t.StiBIDataCacheOptions.cache.getSchema(e)},e.add=function(e,r,i){var n=t.StiAppKey.getOrGeneratedKey2(e);this.add2(n,r,i)},e.add2=function(e,r,i){this.checkInitialization(),t.StiBIDataCacheOptions.cache.add(e,r,i)},e.getTableName=function(e,r){return t.StiBIDataCacheOptions.cache.getTableName(e,r)},e}();t.StiBIDataCacheHelper=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e}();e.StiBIDataCacheOptions=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiDefault="IStiDefault"}(t=e.Design||(e.Design={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t,r,i,n,o,a,s,l,u,c,d,h,m;!function(e){e[e["Unchecked"]=1]="Unchecked",e[e["Checked"]=2]="Checked",e[e["Indeterminate"]=3]="Indeterminate"}(t=e.StiCheckState||(e.StiCheckState={})),function(e){e[e["None"]=0]="None",e[e["Move"]=1]="Move",e[e["Select"]=2]="Select",e[e["SizeLeft"]=3]="SizeLeft",e[e["SizeRight"]=4]="SizeRight",e[e["SizeTop"]=5]="SizeTop",e[e["SizeBottom"]=6]="SizeBottom",e[e["SizeLeftTop"]=7]="SizeLeftTop",e[e["SizeLeftBottom"]=8]="SizeLeftBottom",e[e["SizeRightTop"]=9]="SizeRightTop",e[e["SizeRightBottom"]=10]="SizeRightBottom",e[e["ResizeColumns"]=11]="ResizeColumns",e[e["ResizeRows"]=12]="ResizeRows",e[e["SelectColumn"]=13]="SelectColumn",e[e["SelectRow"]=14]="SelectRow"}(r=e.StiAction||(e.StiAction={})),function(e){e[e["None"]=0]="None",e[e["All"]=15]="All",e[e["Top"]=1]="Top",e[e["Left"]=2]="Left",e[e["Right"]=4]="Right",e[e["Bottom"]=8]="Bottom"}(i=e.StiBorderSides||(e.StiBorderSides={})),function(e){e[e["Solid"]=0]="Solid",e[e["Dash"]=1]="Dash",e[e["DashDot"]=2]="DashDot",e[e["DashDotDot"]=3]="DashDotDot",e[e["Dot"]=4]="Dot",e[e["Double"]=5]="Double",e[e["None"]=6]="None"}(n=e.StiPenStyle||(e.StiPenStyle={})),function(e){e[e["LeftTop"]=0]="LeftTop",e[e["LeftCenter"]=1]="LeftCenter",e[e["LeftBottom"]=2]="LeftBottom",e[e["CenterTop"]=3]="CenterTop",e[e["CenterCenter"]=4]="CenterCenter",e[e["CenterBottom"]=5]="CenterBottom",e[e["RightTop"]=6]="RightTop",e[e["RightCenter"]=7]="RightCenter",e[e["RightBottom"]=8]="RightBottom"}(o=e.StiRotationMode||(e.StiRotationMode={})),function(e){e[e["Top"]=1]="Top",e[e["Right"]=2]="Right",e[e["Edge"]=4]="Edge",e[e["Bottom"]=8]="Bottom",e[e["Left"]=16]="Left",e[e["All"]=31]="All"}(a=e.StiShadowSides||(e.StiShadowSides={})),function(e){e[e["Top"]=0]="Top",e[e["Center"]=1]="Center",e[e["Bottom"]=2]="Bottom"}(s=e.StiVertAlignment||(e.StiVertAlignment={})),function(e){e[e["Left"]=0]="Left",e[e["Center"]=1]="Center",e[e["Right"]=2]="Right",e[e["Width"]=3]="Width"}(l=e.StiTextHorAlignment||(e.StiTextHorAlignment={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=3]="Right"}(u=e.StiHorAlignment||(e.StiHorAlignment={})),function(e){e[e["Top"]=0]="Top",e[e["Bottom"]=1]="Bottom",e[e["Left"]=2]="Left",e[e["Right"]=3]="Right"}(c=e.StiTextDockMode||(e.StiTextDockMode={})),function(e){e[e["Empty"]=1]="Empty",e[e["Solid"]=2]="Solid",e[e["Gradient"]=3]="Gradient",e[e["Glare"]=4]="Glare",e[e["Glass"]=5]="Glass",e[e["Hatch"]=6]="Hatch"}(d=e.StiBrushIdent||(e.StiBrushIdent={})),function(e){e[e["Border"]=1]="Border",e[e["AdvancedBorder"]=2]="AdvancedBorder"}(h=e.StiBorderIdent||(e.StiBorderIdent={})),function(e){e[e["None"]=0]="None",e[e["Arrow"]=1]="Arrow",e[e["Open"]=2]="Open",e[e["Stealth"]=3]="Stealth",e[e["Diamond"]=4]="Diamond",e[e["Square"]=5]="Square",e[e["Oval"]=6]="Oval"}(m=e.StiCapStyle||(e.StiCapStyle={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){t.PointD=e.System.Drawing.Point}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){t.RectangleD=e.System.Drawing.Rectangle}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){t.SizeD=e.System.Drawing.Size}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.pointInEdge=function(e,t,r,i){var n=Math.round2(r.x,2),o=Math.round2(r.y,2),a=Math.round2(e,2),s=Math.round2(t,2),l=Math.round2(i,2);return n-l<=a&&o-l<=s&&n+l>=a&&o+l>=s},e.pointInRect=function(e,t,r){var i=Math.round2(r.left,2),n=Math.round2(r.top,2),o=Math.round2(r.right,2),a=Math.round2(r.bottom,2),s=Math.round2(e,2),l=Math.round2(t,2);return i<=s&&n<=l&&a>l&&o>s},e}();e.StiActionUtils=t}(t=e.Drawing||(e.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=e.System.Drawing.Color,n=e.System.Drawing.SolidBrush,o=e.System.Enum,a=e.System.Drawing.Drawing2D.HatchStyle,s=e.System.Text.StiReportObjectStringConverter,l=function(){function l(){}return l.prototype.implements=function(){return[r]},l.prototype.is=function(e){var t=typeof e;if("string"==t)return this.implements().indexOf(e)>=0;if("function"==t)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},l.prototype.as=function(e){if(this.is(e))return this;return null},l.prototype.clone=function(){return this.memberwiseClone()},l.prototype.memberwiseClone=function(){return this.stimulsoft.memberwiseClone(!0)},l.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;return!1},l.convertToBrush=function(r){if(r.stimulsoft.startsWith("[")&&r.stimulsoft.endsWith("]"))return new t.StiSolidBrush(s.convertStringToColor(r));if("EmptyBrush"==r)return new t.StiEmptyBrush;if(r.stimulsoft.startsWith("HatchBrush")){var i=r.split(",");return new t.StiHatchBrush(o.parse(a,i[1]),s.convertStringToColor(i[2]),s.convertStringToColor(i[3]))}if(r.stimulsoft.startsWith("GradientBrush")){var i=r.split(",");return new t.StiGradientBrush(s.convertStringToColor(i[1]),s.convertStringToColor(i[2]),i[3].stimulsoft.toNumber())}if(r.stimulsoft.startsWith("GlassBrush")){var i=r.split(",");return new t.StiGlassBrush(s.convertStringToColor(i[1]),"true"==i[2].toLowerCase(),i[3].stimulsoft.toNumber())}if(r.stimulsoft.startsWith("GlareBrush")){var i=r.split(",");return new t.StiGlareBrush(s.convertStringToColor(i[1]),s.convertStringToColor(i[2]),i[3].stimulsoft.toNumber(),i[4].stimulsoft.toNumber(),i[5].stimulsoft.toNumber())}return new t.StiSolidBrush(e.System.Text.StiReportObjectStringConverter.convertStringToColor(r))},l.loadFromXml=function(e){if("EmptyBrush"==e)return new t.StiEmptyBrush;if(e.stimulsoft.startsWith("HatchBrush")){var r=e.split(",");return new t.StiHatchBrush(o.parse(a,r[1]),s.convertStringToColor(r[2]),s.convertStringToColor(r[3]))}if(e.stimulsoft.startsWith("GradientBrush")){var r=e.split(",");return new t.StiGradientBrush(s.convertStringToColor(r[1]),s.convertStringToColor(r[2]),r[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlassBrush")){var r=e.split(",");return new t.StiGlassBrush(s.convertStringToColor(r[1]),"true"==r[2].toLowerCase(),r[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlareBrush")){var r=e.split(",");return new t.StiGlareBrush(s.convertStringToColor(r[1]),s.convertStringToColor(r[2]),r[3].stimulsoft.toNumber(),r[4].stimulsoft.toNumber(),r[5].stimulsoft.toNumber())}return new t.StiSolidBrush(s.convertStringToColor(e))},l.light=function(e,r){if(e&&e.is(t.StiSolidBrush))return new t.StiSolidBrush(t.StiColorUtils.light(e.color,r));if(e&&e.is(t.StiGradientBrush)){var i=e;return new t.StiGradientBrush(t.StiColorUtils.light(i.startColor,r),t.StiColorUtils.light(i.endColor,r),i.angle)}if(e&&e.is(t.StiHatchBrush)){var n=e;return new t.StiHatchBrush(n.style,t.StiColorUtils.light(n.foreColor,r),t.StiColorUtils.light(n.backColor,r))}if(e&&e.is(t.StiGlareBrush)){var o=e;return new t.StiGlareBrush(t.StiColorUtils.light(o.startColor,r),t.StiColorUtils.light(o.endColor,r),o.angle)}if(e&&e.is(t.StiGlassBrush)){var a=e;return new t.StiGlassBrush(t.StiColorUtils.light(a.color,r),a.drawHatch,a.blend)}return e},l.dark=function(e,r){if(e&&e.is(t.StiSolidBrush))return new t.StiSolidBrush(t.StiColorUtils.dark(e.color,r));if(e&&e.is(t.StiGradientBrush)){var i=e;return new t.StiGradientBrush(t.StiColorUtils.dark(i.startColor,r),t.StiColorUtils.dark(i.endColor,r),i.angle)}if(e&&e.is(t.StiHatchBrush)){var n=e;return new t.StiHatchBrush(n.style,t.StiColorUtils.dark(n.foreColor,r),t.StiColorUtils.dark(n.backColor,r))}if(e&&e.is(t.StiGlareBrush)){var o=e;return new t.StiGlareBrush(t.StiColorUtils.dark(o.startColor,r),t.StiColorUtils.dark(o.endColor,r),o.angle)}if(e&&e.is(t.StiGlassBrush)){var a=e;return new t.StiGlassBrush(t.StiColorUtils.dark(a.color,r),a.drawHatch,a.blend)}return e},l.getBrush=function(e,r){if(e.is(t.StiEmptyBrush))return new n(i.transparent);if(e.is(t.StiSolidBrush))return new n(e.color);return e.is(t.StiGradientBrush)||e.is(t.StiHatchBrush)||e.is(t.StiGlareBrush)||e.is(t.StiGlassBrush),null},l.toColor=function(e){if(e&&e.is(t.StiEmptyBrush))return i.transparent;if(e&&e.is(t.StiSolidBrush))return e.color;if(e&&e.is(t.StiGradientBrush))return e.startColor;if(e&&e.is(t.StiGlareBrush))return e.startColor;if(e&&e.is(t.StiGlassBrush))return e.color;if(e&&e.is(t.StiHatchBrush))return e.foreColor;return i.empty},l}();t.StiBrush=l}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Color,i=function(e){function t(t){void 0===t&&(t=r.transparent);var i=e.call(this)||this;return i._color=t,i}return __extends(t,e),t.prototype.memberwiseClone=function(){return new t(this._color)},Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),t}(t.StiBrush);t.StiSolidBrush=i}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.System.Drawing.Color,n=e.System.ICloneable,o=e.System.Enum,a=e.System.Drawing.Pen,s=e.System.Drawing.Drawing2D.LineCap,l=e.System.Text.StiReportObjectStringConverter,u=function(){function e(e,r,i,n,o,a,s){this.side=t.StiBorderSides.None,this.size=1,this.style=t.StiPenStyle.Solid,this.shadowSize=4,this.dropShadow=!1,this.topmost=!1,this.side=e,this.color=r,this.size=i,this.style=n,this.shadowSize=o,this.dropShadow=a,this.topmost=s}return e.prototype.clone=function(){return new e(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},e.prototype.equals=function(t){if(null==t)return!1;if(this==t)return!0;var r=t.stimulsoft.as(e);return null!=r&&this.side==r.side&&this.color.equals(r.color)&&this.size==r.size&&this.style==r.style&&this.shadowSize==r.shadowSize&&this.topmost==r.topmost&&this.dropShadow==r.dropShadow},e.prototype.getHashCode=function(){var e=this.side;return e=397*(e=397*(e=397*(e=397*(e=397*(e=397*e^this.color.stimulsoft.getHashCode())^this.size.stimulsoft.getHashCode())^this.style)^this.shadowSize.stimulsoft.getHashCode())^this.topmost.stimulsoft.getHashCode())^this.dropShadow.stimulsoft.getHashCode(),Math.abs(e)},e.isDefault=function(t,r,i,n,o,a,s){return t.stimulsoft.is(e)&&(r=t.color,i=t.size,n=t.style,o=t.dropShadow,a=t.shadowSize,s=t.topmost,t=t.side),this.isDefault2(t,r,i,n,o,a,s)},e.isDefault2=function(e,r,n,o,a,s,l){if(r.equals(i.black)&&!a&&!l&&4==s&&e==t.StiBorderSides.None&&1==n&&o==t.StiPenStyle.Solid)return!0;return!1},e}(),c=function(){function e(e,r,n,o,a,s,l,c){void 0===e&&(e=t.StiBorderSides.None),void 0===r&&(r=i.black),void 0===n&&(n=1),void 0===o&&(o=t.StiPenStyle.Solid),void 0===a&&(a=!1),void 0===s&&(s=4),void 0===l&&(l=new t.StiSolidBrush(i.black)),void 0===c&&(c=!1),this.bits=null,this.defaultHashCode=this.stimulsoft.getHashCode(),u.isDefault2(e,r,n,o,a,s,c)?this.bits=null:this.bits=new u(e,r,n,o,s,a,c),this._shadowBrush=l}return e.prototype.implements=function(){return[n]},e.prototype.clone=function(){return new e(this.side,this.color,this.size,this.style,this.dropShadow,this.shadowSize,null!=this._shadowBrush?this._shadowBrush.clone():null,this.topmost)},e.prototype.equals=function(t){if(null==t)return!1;if(this==t)return!0;var r=t.stimulsoft.as(e);return null!=r&&(null!=this.bits?this.bits.equals(r.bits):null==r.bits)&&(null!=this._shadowBrush?this._shadowBrush.equals(r._shadowBrush):null==r._shadowBrush)},e.prototype.getSizeOffset=function(){return this.size/2},e.prototype.getHashCode=function(){return 397*(397*this.defaultHashCode^(null!=this.bits?this.bits.stimulsoft.getHashCode():0))^(null!=this._shadowBrush?this._shadowBrush.stimulsoft.getHashCode():0)},e.prototype.getSizeIncludingSide=function(){if(this.style==t.StiPenStyle.None)return 0;if(this.style==t.StiPenStyle.Double)return 3;if(this.side==t.StiBorderSides.None)return 0;return this.size},e.prototype.draw=function(e,r,n,o,l,u){if(void 0===o&&(o=i.white),void 0===l&&(l=!0),void 0===u&&(u=!0),null==this.bits)return;if(this.isDefault())return;if(l&&this.drawBorderShadow(e,r,n),u){var c=null,d=new a(this.bits.color);if(this.bits.style==t.StiPenStyle.Double&&(c=new a(o)),d.dashStyle=t.StiPenUtils.getPenStyle(this.bits.style),this.bits.style!=t.StiPenStyle.None){d.width=Math.trunc(this.bits.size*n),d.startCap=s.Square,d.endCap=s.Square;var h=r.clone(),m=r.clone();this.bits.style==t.StiPenStyle.Double&&(h.inflate(-1,-1),m.inflate(1,1),d.width=1);var f=0,p=0,S=0,g=0;this.isAllBorderSidesPresent?this.bits.style==t.StiPenStyle.Double?(e.drawRectangle(c,r),e.drawRectangle(d,h),e.drawRectangle(d,m)):e.drawRectangle(d,r):(this.isTopBorderSidePresent&&(f=h.left,p=h.right,this.isLeftBorderSidePresent||(f=m.left),this.isRightBorderSidePresent||(p=m.right),this.bits.style==t.StiPenStyle.Double?(e.drawLine(c,r.left,r.top,r.right,r.top),e.drawLine(d,f,h.top,p,h.top),e.drawLine(d,m.left,m.top,m.right,m.top)):e.drawLine(d,r.left,r.top,r.right,r.top)),this.isLeftBorderSidePresent&&(S=h.top,g=h.bottom,this.isTopBorderSidePresent||(S=m.top),this.isBottomBorderSidePresent||(g=m.bottom),this.style==t.StiPenStyle.Double?(e.drawLine(c,r.left,r.top,r.left,r.bottom),e.drawLine(d,h.left,S,h.left,g),e.drawLine(d,m.left,m.top,m.left,m.bottom)):e.drawLine(d,r.left,r.top,r.left,r.bottom)),this.isBottomBorderSidePresent&&(f=h.left,p=h.right,this.isLeftBorderSidePresent||(f=m.left),this.isRightBorderSidePresent||(p=m.right),this.bits.style==t.StiPenStyle.Double?(e.drawLine(c,r.left,r.bottom,r.right,r.bottom),e.drawLine(d,f,h.bottom,p,h.bottom),e.drawLine(d,m.left,m.bottom,m.right,m.bottom)):e.drawLine(d,r.left,r.bottom,r.right,r.bottom)),this.isRightBorderSidePresent&&(S=h.top,g=h.bottom,this.isTopBorderSidePresent||(S=m.top),this.isBottomBorderSidePresent||(g=m.bottom),this.bits.style==t.StiPenStyle.Double?(e.drawLine(c,r.right,r.top,r.right,r.bottom),e.drawLine(d,h.right,S,h.right,g),e.drawLine(d,m.right,m.top,m.right,m.bottom)):e.drawLine(d,r.right,r.top,r.right,r.bottom))),null!=c&&(c=null)}}},e.prototype.drawBorderShadow=function(e,i,n){if(this.isDefault())return;if(null==this.bits)return;if(this.bits.dropShadow){var o=this.bits.shadowSize*n,a=new r(i.left+o,i.top+o,i.width,i.height),s=t.StiBrush.getBrush(this.shadowBrush,a);e.fillRectangle(s,i.right,i.top+o,o,i.height-o),e.fillRectangle(s,i.left+o,i.bottom,i.width,o)}},Object.defineProperty(e.prototype,"isTopBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&t.StiBorderSides.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isBottomBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&t.StiBorderSides.Bottom)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLeftBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&t.StiBorderSides.Left)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRightBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&t.StiBorderSides.Right)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAllBorderSidesPresent",{get:function(){if(null==this.bits)return!1;return this.bits.side==t.StiBorderSides.All},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDefaultShadowBrush",{get:function(){return this.shadowBrush.stimulsoft.is(t.StiSolidBrush)&&this.shadowBrush.color.stimulsoft.equals(i.black)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"side",{get:function(){if(null==this.bits)return t.StiBorderSides.None;return this.bits.side},set:function(e){if(e==t.StiBorderSides.None&&null==this.bits)return;null!=this.bits?this.bits.side=e:this.bits=new u(e,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){if(null==this.bits)return i.black;return this.bits.color},set:function(e){if(i.black.stimulsoft.equals(e)&&null==this.bits)return;null!=this.bits?this.bits.color=e:this.bits=new u(this.side,e,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(null==this.bits)return 1;return this.bits.size},set:function(e){if(1==e&&null==this.bits)return;null!=this.bits?this.bits.size=e:this.bits=new u(this.side,this.color,e,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){if(null==this.bits)return t.StiPenStyle.Solid;return this.bits.style},set:function(e){if(e==t.StiPenStyle.Solid&&null==this.bits)return;null!=this.bits?this.bits.style=e:this.bits=new u(this.side,this.color,this.size,e,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shadowBrush",{get:function(){return this._shadowBrush},set:function(e){this._shadowBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shadowSize",{get:function(){if(null==this.bits)return 4;return this.bits.shadowSize},set:function(e){if(4==e&&null==this.bits)return;null!=this.bits?this.bits.shadowSize=e:this.bits=new u(this.side,this.color,this.size,this.style,e,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dropShadow",{get:function(){if(null==this.bits)return!1;return this.bits.dropShadow},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.dropShadow=e:this.bits=new u(this.side,this.color,this.size,this.style,this.shadowSize,e,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"topmost",{get:function(){if(null==this.bits)return!1;return this.bits.topmost},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.topmost=e:this.bits=new u(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,e)},enumerable:!1,configurable:!0}),e.prototype.isDefault=function(){return this.isDefaultShadowBrush&&null==this.bits},e.loadFromXml=function(r){var n=r.split(";");if(r.stimulsoft.startsWith("Adv")){var a=!1;return 16==n.length&&(a="true"==n[15].toLowerCase()),new t.StiAdvancedBorder(new t.StiBorderSide(l.convertStringToColor(n[0].substring(3)),n[1].stimulsoft.toNumber(),o.parse(t.StiPenStyle,n[2])),new t.StiBorderSide(l.convertStringToColor(n[3]),n[4].stimulsoft.toNumber(),o.parse(t.StiPenStyle,n[5])),new t.StiBorderSide(l.convertStringToColor(n[6]),n[7].stimulsoft.toNumber(),o.parse(t.StiPenStyle,n[8])),new t.StiBorderSide(l.convertStringToColor(n[9]),n[10].stimulsoft.toNumber(),o.parse(t.StiPenStyle,n[11])),"true"==n[12].toLowerCase(),n[13].stimulsoft.toNumber(),t.StiBrush.convertToBrush(n[14]),a)}var a=!1;return 8==n.length&&(a="true"==n[7].toLowerCase()),new e(o.parse(t.StiBorderSides,n[0]),l.convertStringToColor(n[1]),n[2].stimulsoft.toNumber(),o.parse(t.StiPenStyle,n[3]),n.length>4&&"true"==n[4].toLowerCase(),n.length>5?n[5].stimulsoft.toNumber():4,n.length>6?t.StiBrush.convertToBrush(n[6]):new t.StiSolidBrush(i.black),a)},e}();t.StiBorder=c}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiObject,i=e.System.Drawing.Color,n=function(e){function n(r,n,o,a,s,l,u,c){void 0===r&&(r=new t.StiBorderSide),void 0===n&&(n=new t.StiBorderSide),void 0===o&&(o=new t.StiBorderSide),void 0===a&&(a=new t.StiBorderSide),void 0===s&&(s=!1),void 0===l&&(l=4),void 0===u&&(u=new t.StiSolidBrush(i.black)),void 0===c&&(c=!1);var d=e.call(this)||this;return d._topSide=r,d._bottomSide=n,d._leftSide=o,d._rightSide=a,d._leftSide.side=t.StiBorderSides.Left,d._rightSide.side=t.StiBorderSides.Right,d._topSide.side=t.StiBorderSides.Top,d._bottomSide.side=t.StiBorderSides.Bottom,d.shadowBrush=u,d.shadowSize=l,d.dropShadow=s,d.topmost=c,d}return __extends(n,e),n.prototype.clone=function(){var t=e.prototype.clone.call(this);return t._topSide=this._topSide.clone(),t._bottomSide=this._bottomSide.clone(),t._leftSide=this._leftSide.clone(),t._rightSide=this._rightSide.clone(),t},n.prototype.equals=function(t){if(r.referenceEquals(null,t))return!1;if(r.referenceEquals(this,t))return!0;if(t.stimulsoft.getType()!=this.stimulsoft.getType())return!1;return e.prototype.equals.call(this,t)&&r.stimulsoft.equals(this._bottomSide,t._bottomSide)&&r.stimulsoft.equals(this._topSide,t._topSide)&&r.stimulsoft.equals(this._leftSide,t._leftSide)&&r.stimulsoft.equals(this._rightSide,t._rightSide)},n.prototype.getHashCode=function(){var t=e.prototype.getHashCode.call(this);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)},Object.defineProperty(n.prototype,"leftSide",{get:function(){return this._leftSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightSide",{get:function(){return this._rightSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"topSide",{get:function(){return this._topSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bottomSide",{get:function(){return this._bottomSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isTopBorderSidePresent",{get:function(){return this.topSide.style!=t.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isBottomBorderSidePresent",{get:function(){return this.bottomSide.style!=t.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftBorderSidePresent",{get:function(){return this.leftSide.style!=t.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isRightBorderSidePresent",{get:function(){return this.rightSide.style!=t.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isAllBorderSidesPresent",{get:function(){return this.isLeftBorderSidePresent&&this.isRightBorderSidePresent&&this.isTopBorderSidePresent&&this.isBottomBorderSidePresent},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"side",{get:function(){var e=t.StiBorderSides.None;return this.isLeftBorderSidePresent&&(e|=t.StiBorderSides.Left),this.isRightBorderSidePresent&&(e|=t.StiBorderSides.Right),this.isTopBorderSidePresent&&(e|=t.StiBorderSides.Top),this.isBottomBorderSidePresent&&(e|=t.StiBorderSides.Bottom),e},set:function(e){(e&t.StiBorderSides.Left)>0?this.isLeftBorderSidePresent||(this.leftSide.style=t.StiPenStyle.Solid):this.leftSide.style=t.StiPenStyle.None,(e&t.StiBorderSides.Right)>0?this.isRightBorderSidePresent||(this.rightSide.style=t.StiPenStyle.Solid):this.rightSide.style=t.StiPenStyle.None,(e&t.StiBorderSides.Top)>0?this.isTopBorderSidePresent||(this.topSide.style=t.StiPenStyle.Solid):this.topSide.style=t.StiPenStyle.None,(e&t.StiBorderSides.Bottom)>0?this.isBottomBorderSidePresent||(this.bottomSide.style=t.StiPenStyle.Solid):this.bottomSide.style=t.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"color",{get:function(){return this.leftSide.color},set:function(e){this.leftSide.color=e,this.rightSide.color=e,this.topSide.color=e,this.bottomSide.color=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"size",{get:function(){return this.leftSide.size},set:function(e){this.leftSide.size=e,this.rightSide.size=e,this.topSide.size=e,this.bottomSide.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"style",{get:function(){return this.leftSide.style},set:function(e){this.leftSide.style=e,this.rightSide.style=e,this.topSide.style=e,this.bottomSide.style=e},enumerable:!1,configurable:!0}),n.prototype.isDefault=function(){return!this.dropShadow&&!this.topmost&&4==this.shadowSize&&this.shadowBrush.stimulsoft.is(t.StiSolidBrush)&&this.shadowBrush.color.stimulsoft.equals(i.black)&&this.leftSide.isDefault()&&this.rightSide.isDefault()&&this.topSide.isDefault()&&this.bottomSide.isDefault()},n}(t.StiBorder);t.StiAdvancedBorder=n}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=e.System.Drawing.Color,n=function(){function e(e,r,n){void 0===e&&(e=i.black),void 0===r&&(r=1),void 0===n&&(n=t.StiPenStyle.None),this.side=t.StiBorderSides.None,this._color=i.black,this._size=1,this._style=t.StiPenStyle.None,this._color=e,this._size=r,this._style=n}return e.prototype.implements=function(){return[r]},e.prototype.clone=function(){return new e(this._color,this._size,this._style)},e.prototype.equals=function(t){if(null==t)return!1;if(this==t)return!0;var r=t.stimulsoft.as(e);return null!=r&&this._size==r._size&&this._color.equals(r._color)&&this.side==r.side&&this._style==r._style},e.prototype.getHashCode=function(){var e=this._size.stimulsoft.getHashCode();return e=397*(e=397*(e=397*e^this._color.stimulsoft.getHashCode())^this.side)^this._style,Math.abs(e)},e.prototype.getSizeOffset=function(){if(this.style==t.StiPenStyle.None)return 0;if(this.style==t.StiPenStyle.Double)return 1;return this.size/2},Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),e.prototype.isDefault=function(){return this.color.stimulsoft.equals(i.black)&&1==this.size&&this.style==t.StiPenStyle.None},e}();t.StiBorderSide=n}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Enum,i=e.System.Drawing.Color,n=e.System.ICloneable,o=e.System.Text.StiReportObjectStringConverter,a=function(){function e(e,r,n,o,a){void 0===e&&(e=10),void 0===r&&(r=t.StiCapStyle.None),void 0===n&&(n=10),void 0===o&&(o=!0),void 0===a&&(a=i.black),this._width=10,this._style=t.StiCapStyle.None,this._height=10,this._fill=!0,this._color=i.black,this._width=e,this._style=r,this._height=n,this._fill=o,this._color=a}return e.prototype.implements=function(){return[n]},e.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e._width=this.width,e._height=this.height,e._style=this.style,e._fill=this.fill,e._color=this.color,e},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this._fill},set:function(e){this._fill=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),e.prototype.loadFromXml=function(e){for(var i=0;i255?i=255:i+=t,n+t>255?n=255:n+=t,o+t>255?o=255:o+=t,r.fromArgb(i,n,o)},e.mixingColors=function(e,t,i){var n=t.r*i/255+e.r*(255-i)/255,o=t.g*i/255+e.g*(255-i)/255,a=t.b*i/255+e.b*(255-i)/255;return r.fromArgb(255,n,o,a)},e.dark=function(e,t){var i=e.r,n=e.g,o=e.b;return i-t<0?i=0:i-=t,n-t<0?n=0:n-=t,o-t<0?o=0:o-=t,r.fromArgb(i,n,o)},e}();t.StiColorUtils=i}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=function(){function e(){}return e.fillRectangle=function(e,t,i,n,o,a){var s=i;if(i.stimulsoft.is(r)){var l=i;s=l.x,n=l.y,o=l.width,a=l.height}e.fillRectangle(t,s,n,o,a)},e}();t.StiDrawing=i}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultHashCode=0,t}return __extends(t,e),t.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;return!0},t.prototype.getHashCode=function(){return this.defaultHashCode},t}(e.StiBrush);e.StiEmptyBrush=t}(t=e.Drawing||(e.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Drawing.Font,n=e.System.Drawing.FontStyle,o=e.System.Drawing.FontFamily,a=function(){function e(){}return e.correctStyle=function(e,t){var r=new o(e);try{if(r.isStyleAvailable(t))return t;if(!r.isStyleAvailable(n.Bold)&&(t&n.Bold)>0&&(t-=n.Bold),!r.isStyleAvailable(n.Italic)&&(t&n.Italic)>0&&(t-=n.Italic),!r.isStyleAvailable(n.Strikeout)&&(t&n.Strikeout)>0&&(t-=n.Strikeout),!r.isStyleAvailable(n.Underline)&&(t&n.Underline)>0&&(t-=n.Underline),!r.isStyleAvailable(t)){if(r.isStyleAvailable(n.Bold))return n.Bold;if(r.isStyleAvailable(n.Italic))return n.Italic;if(r.isStyleAvailable(n.Underline))return n.Underline;if(r.isStyleAvailable(n.Strikeout))return n.Strikeout}return t}finally{}},e.changeFontName=function(e,t){if(r.isNullOrEmpty(t))return e;return new i(t,e.size,e.style,e.unit)},e.changeFontSize=function(e,t){return t<1&&(t=1),new i(e.fontFamily.name,t,e.style,e.unit)},e.changeFontStyle=function(e,t){return new i(e.fontFamily.name,e.size,t,e.unit)},e.changeFontStyle2=function(e,t,r){return new i(e,t,r)},e.changeFontStyleBold=function(e,t){var r=n.Regular;return t&&(r|=n.Bold),e.italic&&(r|=n.Italic),e.underline&&(r|=n.Underline),new i(e.fontFamily.name,e.size,r,e.unit)},e.changeFontStyleItalic=function(e,t){var r=n.Regular;return e.bold&&(r|=n.Bold),t&&(r|=n.Italic),e.underline&&(r|=n.Underline),new i(e.fontFamily.name,e.size,r,e.unit)},e.changeFontStyleUnderline=function(e,t){var r=n.Regular;return e.bold&&(r|=n.Bold),e.italic&&(r|=n.Italic),t&&(r|=n.Underline),new i(e.fontFamily.name,e.size,r,e.unit)},e.changeFontStyleStrikeout=function(e,t){var r=n.Regular;return e.bold&&(r|=n.Bold),e.italic&&(r|=n.Italic),e.underline&&(r|=n.Underline),t&&(r|=n.Strikeout),new i(e.fontFamily.name,e.size,r,e.unit)},e}();t.StiFontUtils=a}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Color,i=function(e){function t(t,i,n,o,a){void 0===t&&(t=r.black),void 0===i&&(i=r.white),void 0===n&&(n=0),void 0===o&&(o=.5),void 0===a&&(a=1);var s=e.call(this)||this;return s._focus=.5,s._scale=1,s.defaultHashCode=0,s._startColor=t,s._endColor=i,s._angle=n,s._focus=o,s._scale=a,s}return __extends(t,e),t.prototype.memberwiseClone=function(){return new t(this._startColor,this._endColor,this._angle,this._focus,this.scale)},Object.defineProperty(t.prototype,"startColor",{get:function(){return this._startColor},set:function(e){this._startColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endColor",{get:function(){return this._endColor},set:function(e){this._endColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focus",{get:function(){return this._focus},set:function(e){if(this._focus!=e){if(e>1||e<0)throw new Error("Focus must be in range between 0 and 1!");this._focus=e}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(e){if(this._scale!=e){if(e>1||e<0)throw new Error("Scale must be in range between 0 and 1!");this._scale=e}},enumerable:!1,configurable:!0}),t.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var r=e.stimulsoft.as(t);return this.startColor.equals(r.startColor)&&this.endColor.equals(r.endColor)&&this.angle==r.angle&&this.focus==r.focus&&this.scale==r.scale},t.prototype.getHashCode=function(){var e=this.defaultHashCode;return e=397*(e=397*(e=397*(e=397*(e=397*e^this.startColor.stimulsoft.getHashCode())^this.endColor.stimulsoft.getHashCode())^this.angle.stimulsoft.getHashCode())^this.focus.stimulsoft.getHashCode())^this.scale.stimulsoft.getHashCode(),Math.abs(e)},t}(t.StiBrush);t.StiGlareBrush=i}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Color,i=function(e){function i(t,i,n){void 0===t&&(t=r.silver),void 0===i&&(i=!0),void 0===n&&(n=.2);var o=e.call(this)||this;return o._color=r.silver,o._drawHatch=!0,o._blend=.2,o.defaultHashCode=o.stimulsoft.getHashCode(),o._color=t,o._drawHatch=i,o._blend=n,o}return __extends(i,e),i.prototype.memberwiseClone=function(){return new i(this._color,this._drawHatch,this._blend)},Object.defineProperty(i.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"drawHatch",{get:function(){return this._drawHatch},set:function(e){this._drawHatch=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"blend",{get:function(){return this._blend},set:function(e){if(this._blend!=e){if(e>1||e<0)throw new Error("Value must be in range between 0 and 1.");this._blend=e}},enumerable:!1,configurable:!0}),i.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var t=e.stimulsoft.as(i);return this.color.equals(t.color)&&this.drawHatch==t.drawHatch&&this.blend==t.blend},i.prototype.getHashCode=function(){var e=this.defaultHashCode;return e=397*(e=397*(e=397*e^this.color.stimulsoft.getHashCode())^this.drawHatch.stimulsoft.getHashCode())^this.blend.stimulsoft.getHashCode(),Math.abs(e)},i.prototype.getTopColor=function(){return t.StiColorUtils.light(this.color,Math.round(64*this.blend))},i.prototype.getTopColorLight=function(){return t.StiColorUtils.light(t.StiColorUtils.light(this.color,Math.round(64*this.blend)),5)},i.prototype.getBottomColor=function(){return this.color},i.prototype.getBottomColorLight=function(){return t.StiColorUtils.light(this.getBottomColor(),2)},i.prototype.getTopRectangle=function(e){var t=e.clone();return t.height/=2,2*t.height",r+6);if(i>0){var n,o=t.substring(r+6,i).indexOf("size=");if(o>0){var a=t.indexOf('"',o+5),s=t.indexOf('"',a+1),l,u='style="font-size:'+t.substring(a+1,s)+';"';t=t.substring(0,o)+t.substring(s,i)+u+t.substring(i)}}r+=6}}catch(r){t=e}return t},d.splitTextWordwrap=function(e,r,i,n,o,a,s){null==o&&(o=new t.StiTextOptions);var l=10,u=this.getStringFormat2(o,t.StiTextHorAlignment.Left,t.StiVertAlignment.Top,s,l);return this.splitTextWordwrap2(e,r,i,n,u,a==t.StiTextHorAlignment.Width)},d.splitTextWordwrap2=function(a,l,c,d,h,m){void 0===m&&(m=!1);for(var f=new s,p=(h.formatFlags&o.NoWrap)===o.NoWrap?999999:d.width,S=10,g=new n(0,0,p*S,999999),y=t.StiFontUtils.changeFontSize(c,c.size*S),v=0,b=r.create(Number,33),C=e.System.Text.TextUtils.getWordWrapTextLines(a,c,!1,p),T=0;Tg.width&&(x=0,B+=N.height)}if((h.formatFlags&o.NoWrap)!==o.NoWrap){for(var A=P[0],F=A.top+A.height/2,R=0,k=0,L=1;Lw.length-1&&(O=w.length-L-1),O>0){if((A=P[L+O]).topF&&(f.add(this.makeLineInfo(w,R,L-R,P,m)),R=L,F=A.top+A.height/2,k=0)}R0&&o[i+n-1].isEmpty)n--;var s=new t.LineInfo;s.text=e.substr(i,n),s.needWidthAlign=a,s.widths=r.create(Number,n);for(var l=0;l0&&n.add(o.stimulsoft.trimEnd()),0==n.length&&n.add(""),n},d.getStringFormat=function(e,t,r,i){return this.getStringFormat2(e,t,r,!1,i)},d.getAlignment=function(e){switch(e){case t.StiTextHorAlignment.Center:case t.StiTextHorAlignment.Width:return c.Center;case t.StiTextHorAlignment.Right:return c.Far;default:return c.Near}},d.getAlignment2=function(e){switch(e){case t.StiVertAlignment.Center:return c.Center;case t.StiVertAlignment.Bottom:return c.Far;default:return c.Near}},d.getStringFormat2=function(e,t,r,i,n){var a=e.getStringFormat(i,n);return a.alignment=this.getAlignment(t),a.lineAlignment=this.getAlignment2(r),this.measureTrailingSpaces&&(a.formatFlags|=o.MeasureTrailingSpaces),a},d}();t.StiTextDrawing=d}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.List,i=e.System.StiString,n=e.System.DateTime,o=e.System.Enum,a=function(){function e(e,t,r){void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=!1),this.isProperty=!1,this.isArray=!1,this.name=e,null!=t&&"string"==typeof t&&(t=t.replace(/#!rn#/gi,"\r\n").replace(/#!q#/gi,'"').replace(/#!t#/gi,"\t").replace(/#!!#/gi,"\\")),this.value=t,this.isProperty=r}return e.dateToJsonDate=function(e){var t=-1*e.date.getTimezoneOffset(),r=Math.abs(Math.floor(t/60)).toString(),i=Math.abs(t%60).toString();return 1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"/Date("+Date.parse(e.date.toString()).toString()+(t>=0?"+":"-")+r+i+")/"},e.jsonDateFormatToDate=function(e){var t=e.split("/Date(").join("").split(")/").join(""),r=new n(new Date(parseInt(t))),i=t.indexOf("+");-1==i&&(i=t.indexOf("-"));var o=r.date.getTimezoneOffset();-1!=i&&(o=0);var a=Math.floor(o/60),s=o%60,l,u,c=(o>=0?"+":"-")+((Math.abs(a)<10?"0":"")+Math.abs(a).toString())+((Math.abs(s)<10?"0":"")+Math.abs(s).toString()),d=1;return-1!=i&&(c=t.substring(i)),"-"==c.substr(0,1)&&(d=-1),r.addHours(a+parseInt(c.substr(1,2))*d),r.addMinutes(s+parseInt(c.substr(3,2))*d),r},e.prototype.properties=function(){if(!this.isProperty)return this.value.stimulsoft.is(r)?this.value:this.value.value;return new r},e.prototype.removeProperty=function(e){if(null!=e||""!=e){var t=this.value.value.filter((function(t){return t.name==e}));t.length>0&&this.value.value.remove(t[0])}},e.prototype.addPropertyNumber=function(t,i,n){if(void 0===n&&(n=0),null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),i==n)return;this.value.value.push(new e(t,i,!0))},e.prototype.addPropertyNumberNoDefaultValue=function(t,i){null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),this.value.value.push(new e(t,i,!0))},e.prototype.addPropertyJObject=function(t,i){if(null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),null==i||0==i.count)return;this.value.value.push(new e(t,i))},e.prototype.addPropertyJObjectArray=function(t,i){if(null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),null==i||0==i.length)return;var n=new e(t,i);n.isArray=!0,this.value.value.push(n)},e.prototype.addPropertyIdent=function(t,i){null==this.value&&(this.value=new e("",new r)),this.value.value.push(new e(t,i,!0))},e.prototype.addPropertyBool=function(t,i,n){if(void 0===n&&(n=!1),null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),i==n)return;this.value.value.push(new e(t,i,!0))},e.prototype.addPropertyDateTime=function(t,i){null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),this.value.value.push(new e(t,e.dateToJsonDate(i),!0))},e.prototype.addPropertyEnum=function(t,i,n,a){if(void 0===a&&(a=null),null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),void 0!==a&&n==a)return;this.value.value.push(new e(t,o.getName(i,n),!0))},e.prototype.addPropertyString=function(t,i,n){if(null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),i==n)return;this.value.value.push(new e(t,i,!0))},e.prototype.addPropertyStringNullOrEmpty=function(t,n){if(null==this.value&&(this.value=new e("",new r)),this.removeProperty(t),i.isNullOrEmpty(n))return;this.value.value.push(new e(t,n,!0))},Object.defineProperty(e.prototype,"count",{get:function(){var e,t,r=0;if(!this.isProperty&&null!=this.value)try{for(var i=__values(this.value.value),n=i.next();!n.done;n=i.next()){var o=n.value;r++}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},enumerable:!1,configurable:!0}),e.prototype.serialize=function(t){var r,i,n,o;void 0===t&&(t=0);var a="",s=e.prettyPrint?Array(t+1).join(" "):"";try{for(var l=__values(this.value.properties()),u=l.next();!u.done;u=l.next()){var c=u.value,d="";if(c.isProperty)d=null!=c.value&&"string"==typeof c.value?'"'+c.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")+'"':c.value;else if(c.isArray){try{for(var h=(n=void 0,__values(c.value)),m=h.next();!m.done;m=h.next()){var f=m.value;d+=d?",":"[",d+=f.serialize(t+4)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}d+="]"}else d=c.value.serialize(t+2);a&&(a+=","),e.prettyPrint&&(a+="\n"+s+" "),a+='"'+c.name+'":',e.prettyPrint&&(a+=" "),a+=d}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}if(!a)return"";if(e.prettyPrint)return"{"+a+"\n"+s+"}";return"{"+a+"}"},e.prototype.deserialize=function(e){if("string"==typeof e){var t=0,r=-1;while(t0&&"\\"!=e[t-1]||t>1&&"\\"==e[t-2]&&t>2&&"\\"!=e[t-3]))if(r>-1){var i=e.substring(r,t),n=i.replace(/\\\\/gi,"#!!#").replace(/\\t/gi,"#!t#").replace(/\\\"/gi,"#!q#").replace(/\\r\\n/gi,"#!rn#").replace(/\\r/gi,"#!rn#").replace(/\\n/gi,"#!rn#");n.length!=i.length&&(e=e.substring(0,r)+n+e.substring(t),t+=n.length-i.length),r=-1}else r=t+1;t++}}var o="object"==typeof e?e:JSON.parse(e);this.deserializeFromObject(o),this.value=this.value.value},e.prototype.deserializeFromObject=function(t){for(var i in t)if("object"==typeof t[i]){var n=new e(i);null==this.value&&(this.value=new e(null,new r)),this.value.value.push(n),n.deserializeFromObject(t[i])}else if("function"!=typeof t[i]){var n=new e(i,t[i],!0);null==this.value&&(this.value=new e(null,new r)),this.value.value.push(n)}},e.prototype.toString=function(){return this.name},e.prettyPrint=!0,e}();t.StiJson=a}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiJsonReportObject="IStiJsonReportObject"}(t=e.JsonReportObject||(e.JsonReportObject={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringFormatFlags,i=e.System.Drawing.StringFormat,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.Drawing.StringTrimming,a=e.System.Drawing.Text.HotkeyPrefix,s=e.Base.StiJson,l=e.System.ICloneable,u=e.System.Enum,c=function(){function e(e,t,r,i,n,s,l){this.rightToLeft=!1,this.lineLimit=!1,this.angle=0,this.firstTabOffset=40,this.distanceBetweenTabs=20,this.hotkeyPrefix=a.None,this.trimming=o.None,this.rightToLeft=e,this.lineLimit=t,this.angle=r,this.firstTabOffset=i,this.distanceBetweenTabs=n,this.hotkeyPrefix=s,this.trimming=l}return e.prototype.implements=function(){return[l]},e.prototype.getHashCode=function(){var e=this.rightToLeft?1231:1237;return e=397*(e=397*(e=397*(e=397*(e=397*(e=397*e^(this.lineLimit?1231:1237))^this.angle)^this.firstTabOffset)^this.distanceBetweenTabs)^this.hotkeyPrefix)^this.trimming,Math.abs(e)},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e}(),d=function(){function e(e,t,r,i,n,s,l,u){void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===n&&(n=a.None),void 0===s&&(s=o.None),void 0===l&&(l=40),void 0===u&&(u=20),this.bits=null,this._wordWrap=!1,this._wordWrap=r,0==e&&0==t&&0==i&&n==a.None&&s==o.None&&40==l&&20==u?this.bits=null:this.bits=new c(e,t,i,l,u,n,s)}return e.prototype.implements=function(){return[l,n]},e.prototype.saveToJsonObject=function(){var e=new s;if(e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyBool("LineLimit",this.lineLimit),e.addPropertyNumber("Angle",this.angle,0),e.addPropertyNumber("FirstTabOffset",this.firstTabOffset,40),e.addPropertyNumber("DistanceBetweenTabs",this.distanceBetweenTabs,20),e.addPropertyEnum("HotkeyPrefix",a,this.hotkeyPrefix,a.None),e.addPropertyEnum("Trimming",o,this.trimming,o.None),e.addPropertyBool("WordWrap",this.wordWrap),e.count>0)return e;return null},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"RightToLeft":this.rightToLeft=s.value.stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=s.value.stimulsoft.toBoolean();break;case"Angle":this.angle=s.value;break;case"FirstTabOffset":this.firstTabOffset=s.value;break;case"DistanceBetweenTabs":this.distanceBetweenTabs=s.value;break;case"HotkeyPrefix":this.hotkeyPrefix=u.parse(a,s.value);break;case"Trimming":this.trimming=u.parse(o,s.value);break;case"WordWrap":this.wordWrap=s.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.loadFromXml=function(t){var r=new e,i=t.split(",");i[0].indexOf("Hide")>=0?r.hotkeyPrefix=a.Hide:i[0].indexOf("Show")>=0?r.hotkeyPrefix=a.Show:r.hotkeyPrefix=a.None,r.lineLimit=i[1].indexOf("True")>=0,r.rightToLeft=i[2].indexOf("True")>=0,i[3].indexOf("EllipsisCharacter")>=0?r.trimming=o.EllipsisCharacter:i[3].indexOf("Character")>=0?r.trimming=o.Character:i[3].indexOf("EllipsisPath")>=0?r.trimming=o.EllipsisPath:i[3].indexOf("EllipsisWord")>=0?r.trimming=o.EllipsisWord:i[3].indexOf("None")>=0?r.trimming=o.None:i[3].indexOf("Word")>=0&&(r.trimming=o.Word),r.wordWrap=i[4].indexOf("True")>=0;var n=i[5].split("=");if(r.angle=n[1].trim().stimulsoft.toNumber(),i.length>6){var s=i[6].split("=");r.firstTabOffset=s[1].trim().stimulsoft.toNumber();var l=i[7].split("=");r.distanceBetweenTabs=l[1].trim().stimulsoft.toNumber()}return r},e.prototype.loadFromXml=function(e){if(e.textContent.length>0){for(var t=e.textContent.split(","),r=0;r0)switch(t[r].split("=")[0].trim()){case"RightToLeft":this.rightToLeft=t[r].split("=")[1].trim().stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=t[r].split("=")[1].trim().stimulsoft.toBoolean();break;case"Angle":case"A":this.angle=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"FirstTabOffset":this.firstTabOffset=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=u.parse(a,t[r].split("=")[1].trim());break;case"Trimming":this.trimming=u.parse(o,t[r].split("=")[1].trim());break;case"WordWrap":this.wordWrap=t[r].split("=")[1].trim().stimulsoft.toBoolean();break}}else for(var r=0;r0){var u=Math.trunc((r-s)/a);o=s+ ++u*a}return Math.round(o-r)},b.getFontIndex=function(e,t,r,i,n,o,a,s){var l=this.getFontIndex2(e,t,r,i,n,o,s);if(a){var u=s[l].superOrSubscriptIndex;-1==u&&(u=this.getFontIndex2(e,t/1.5,r,i,n,o,s),s[l].superOrSubscriptIndex=u,s[u].parentFontIndex=l),l=u}return l},b.getFontIndex2=function(e,t,r,i,n,o,s){var l,u;if(s.length>0)for(var c=0;c0&&(o.push(a),(a=new L(a)).posBegin=l,a.ts.tag.tag==D.ListItem&&(a.ts.tag=new x(D.None)));while(l"!=e.charAt(h))h++;var m=e.substr(l,h-l);l=h,l++;var f=this.convertStringToTag(m);if(f.isEndTag(D.P)){if(a.text.append("\n"),o.push(a),(a=new L(a)).posBegin=l,u=!0,a.ts.tag=new x(D.P,P.End),l0&&a.text.append(this.getIndentString(a.ts.indent))}else if(f.isStartTag(D.P)){var y;if(!(o.length>0&&o[o.length-1].ts.tag.isEndTag(D.P))){(o.length>1||1==o.length&&0!=o[0].text.toString().trim().length)&&(a.text.append("\n"),o.push(a),a=new L(a)),a.posBegin=l,u=!0,a.text.append("\n");var g=a.ts.lineHeight;a.ts.lineHeight=.8,a.ts.tag=new x(D.P),o.push(a),(a=new L(a)).ts.lineHeight=g,a.posBegin=l,a.ts.indent>0&&a.text.append(this.getIndentString(a.ts.indent))}}else if(f.tag==D.Br)u=!0,a.text.append("\n"),o.push(a),(a=new L(a)).posBegin=l,a.ts.indent>0&&a.text.append(this.getIndentString(a.ts.indent));else if(f.isStartTag(D.ListItem)){var v;(v=o.length>0&&o[o.length-1].ts.tag.tag==D.ListItem)||(u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.text.append(this.getIndentString(a.ts.indent)),o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l),0==a.ts.indent&&a.ts.indent++,null==a.listLevels&&(a.listLevels=new Array);while(a.ts.indent>a.listLevels.length)a.listLevels.push(0);var b=o[o.length-1];a=this.parseMarkerTypeAttribute(f.attributes,a),this.insertMarker(b.text,a.listLevels[a.ts.indent-1],a.ts.indent),a.listLevels[a.ts.indent-1]>0&&(r.copy(a.listLevels,0,a.listLevels,a.listLevels.length),a.listLevels[a.ts.indent-1]++),o[o.length-1]=b}else if(f.isEndTag(D.ListItem)){var v;(v=o.length>0&&o[o.length-1].ts.tag.tag==D.ListItem)||(u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.text.append(this.getIndentString(a.ts.indent)),o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l)}else if(f.isStartTag(D.UnorderedList)){var v,b;if(v=o.length>0&&o[o.length-1].ts.tag.tag==D.ListItem)a.ts.indent++,(b=o[o.length-1]).text.append(this.getIndentString(1)),b.ts.indent++,o[o.length-1]=b;else u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.text.append(this.getIndentString(a.ts.indent+1)),a.ts.indent++,o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l;null==a.listLevels&&(a.listLevels=new Array);while(a.listLevels.length0&&o[o.length-1].ts.tag.tag==D.ListItem)a.ts.indent>0&&a.ts.indent--,(b=o[o.length-1]).ts.indent>0&&b.ts.indent--,b.text=new c(this.getIndentString(b.ts.indent)),0==a.ts.indent&&(a.listLevels=null,b.listLevels=null),o[o.length-1]=b;else u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.ts.indent>0&&a.ts.indent--,a.text.append(this.getIndentString(a.ts.indent)),0==a.ts.indent&&(a.listLevels=null),o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l}else if(f.isStartTag(D.OrderedList)){var v,b;if(v=o.length>0&&o[o.length-1].ts.tag.tag==D.ListItem)a.ts.indent++,(b=o[o.length-1]).text.append(this.getIndentString(1)),b.ts.indent++,o[o.length-1]=b;else u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.text.append(this.getIndentString(a.ts.indent+1)),a.ts.indent++,o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l;null==a.listLevels&&(a.listLevels=new Array);while(a.listLevels.length0&&o[o.length-1].ts.tag.tag==D.ListItem)a.ts.indent>0&&a.ts.indent--,(b=o[o.length-1]).ts.indent>0&&b.ts.indent--,b.text=new c(this.getIndentString(b.ts.indent)),0==a.ts.indent&&(a.listLevels=null,b.listLevels=null),o[o.length-1]=b;else u=!0,a.text.append("\n"),a.ts.tag=new x(D.ListItem),o.push(a),(a=new L(a)).ts.tag=new x(D.ListItem),a.posBegin=l,a.ts.indent>0&&a.ts.indent--,a.text.append(this.getIndentString(a.ts.indent)),0==a.ts.indent&&(a.listLevels=null),o.push(a),(a=new L(a)).ts.tag=new x(D.None),a.posBegin=l}else f.tag!=D.None&&(a=this.parseHtmlTag(f,a,s,t)),n&&(a.tagsStack=new Array,s.forEach((function(e){a.tagsStack.push(new B(e))})))}}return a.text.length>0&&o.push(a),0==o.length&&o.push(a),o},b.prepareStateText=function(e){var t=new c,r=0,i=e.length;while(r0&&o0&&o0&&o").stimulsoft.replaceAll(""",'"').stimulsoft.replaceAll("&","&");return new c(l)},b.stateToHtml=function(e,r,n,a){var s="";s+=i.format('',e.ts.fontName,e.ts.fontSize),e.ts.isColorChanged&&(s+=i.format('',o.toHtml(e.ts.fontColor))),e.ts.isBackcolorChanged&&(s+=i.format('',o.toHtml(e.ts.backColor))),s+=i.format("<{0}b>",e.ts.bold?"":"/"),s+=i.format("<{0}i>",e.ts.italic?"":"/"),s+=i.format("<{0}u>",e.ts.underline?"":"/"),s+=i.format("<{0}s>",e.ts.strikeout?"":"/"),s+=i.format("<{0}sup>",e.ts.superscript?"":"/"),s+=i.format("<{0}sub>",e.ts.subsript?"":"/"),s+=i.format('',e.ts.letterSpacing),s+=i.format('',e.ts.wordSpacing),s+=i.format('',e.ts.lineHeight);var l="left";return e.ts.textAlign==t.StiTextHorAlignment.Center&&(l="center"),e.ts.textAlign==t.StiTextHorAlignment.Right&&(l="right"),e.ts.textAlign==t.StiTextHorAlignment.Width&&(l="justify"),s+=i.format('',l),s+="",r.ts.indent>0&&(s+=i.format("",a,this.listLevelsToString(r.listLevels,r.ts.indent))),null!=n&&(s+=n.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">")),s},b.getIndentString=function(e){for(var t=new c,r=0;r0?i=t.toString()+".":1==(0-t)%2&&(i=this.bulletWhite);var o=t>0?2:3;if(e.length>3)if(i.length>=e.length-o){var a=i+e.toString().substr(e.length-o);e.clear(),e.append(a)}else for(var s=e.length-o-i.length,l=0;ls&&t.append(";")}while(t.length>1&&";"==t.charAt(t.length-1))t.length--}catch(e){}return t.toString()},b.listLevelsToString=function(e,t){null!=e&&0!=e.length||(e=new s);var r=new c;try{for(var i=0;i1)for(var f=1;f0&&"href"==r.attributes[1].key){var y=r.attributes[1].value;i.isNullOrWhiteSpace(y)||(n.ts.href=y.trim(),n.ts.fontColor=u.blue,n.ts.isColorChanged=!0)}}catch(e){}break;case D.Unknown:if("stihtml"==r.tagName){o.stimulsoft.clear();try{r.attributes.length>1&&null!=r.attributes[1].key&&o.stimulsoft.addRange(this.stringToStack(r.attributes[1].key.toString(),a.ts))}catch(t){e.System.StiError.showError(t,!1)}}if("stihtml2"==r.tagName)try{if(r.attributes.length>2&&null!=r.attributes[2].key){n.listLevels=this.stringToListLevels(r.attributes[2].key),null!=n.listLevels&&(n.ts.indent=n.listLevels.length);var v=r.attributes[1].key.stimulsoft.toNumber();v>0&&(n.ts.indent=-v)}}catch(t){e.System.StiError.showError(t,!1)}break}if(r.isEnd){if(o.length>0)for(var b=o.length-1;b>=0;b--){var C=o[b];if(C.tag.equals(r)){n.ts=C,o.stimulsoft.removeRange(b,o.length-b);break}}}else r.tag!=D.None&&(s.tag=r,o.push(s));if(r.isStart&&r.attributes.length>1)for(var f=1;f1,s=o[0].trim(),l=a?o[1].trim():null;switch(s){case"color":try{i.ts.fontColor=b.parseColor(l),i.ts.isColorChanged=!0}catch(t){e.System.StiError.showError(t,!1)}break;case"background-color":try{i.ts.backColor=b.parseColor(l),i.ts.isBackcolorChanged=!0}catch(t){e.System.StiError.showError(t,!1)}break;case"text-decoration":"underline"==l&&(i.ts.underline=!0),"line-through"==l&&(i.ts.strikeout=!0),"none"==l&&(i.ts.underline=!1,i.ts.strikeout=!1);break;case"font-weight":i.ts.bold="bold"==l||"bolder"==l||"600"==l||"700"==l||"800"==l||"900"==l;break;case"font-style":"normal"==l&&(i.ts.italic=!1),"italic"!=l&&"oblique"!=l||(i.ts.italic=!0);break;case"font-size":var u=n.parseFontSize(l);i.ts.fontSize=u;break;case"vertical-align":"baseline"==l&&(i.ts.subsript=!1,i.ts.superscript=!1),"sub"==l&&(i.ts.subsript=!0,i.ts.superscript=!1),"super"==l&&(i.ts.subsript=!1,i.ts.superscript=!0);break;case"letter-spacing":var c=0;"normal"!=l&&(c=parseFloat(l.stimulsoft.replaceAll(",",".")),isNaN(c)&&(c=0)),i.ts.letterSpacing=c;break;case"word-spacing":var d=0;"normal"!=l&&(d=parseFloat(l.stimulsoft.replaceAll(",",".")),isNaN(d)&&(c=0)),i.ts.wordSpacing=d;break;case"line-height":var h=1;"normal"!=l&&(h=parseFloat(l.stimulsoft.replaceAll(",",".")),isNaN(h)&&(c=1)),h<=0&&(h=1),i.ts.lineHeight=h;break;case"text-align":var m=l.toLowerCase();"left"==m&&(i.ts.textAlign=t.StiTextHorAlignment.Left),"right"==m&&(i.ts.textAlign=t.StiTextHorAlignment.Right),"center"==m&&(i.ts.textAlign=t.StiTextHorAlignment.Center),"justify"==m&&(i.ts.textAlign=t.StiTextHorAlignment.Width);break}}))},b.stringToListLevels=function(t){var r=new Array;try{var i;t.split(";").forEach((function(e){r.push(parseInt(e))}))}catch(t){e.System.StiError.showError(t,!1)}return r},b.stringToStack=function(t,r){var i=this,o=new B(r),a=new Array;try{var s;t.split(";").forEach((function(e){var t=new B(o),r;e.split(":").forEach((function(e){var r=e.substring(2);switch(e.substring(0,2)){case"bc":t.backColor=u.fromArgb(parseInt(r.substr(0,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(4,2),16),parseInt(r.substr(6,2),16)),t.isBackcolorChanged=!0;break;case"bd":t.bold=!0;break;case"fc":t.fontColor=u.fromArgb(parseInt(r.substr(0,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(4,2),16),parseInt(r.substr(6,2),16)),t.isColorChanged=!0;break;case"fn":t.fontName=r;break;case"fs":t.fontSize=parseFloat(r);break;case"it":t.italic=!0;break;case"ls":t.letterSpacing=parseInt(r);break;case"lh":t.lineHeight=parseInt(r);break;case"st":t.strikeout=!0;break;case"sb":t.subsript=!0;break;case"sp":t.superscript=!0;break;case"tg":r.stimulsoft.startsWith("'")?t.tag=i.convertStringToTag(r.substr(1,r.length-2)):t.tag=new x(n.parse(D,r));break;case"ta":t.textAlign=parseInt(r);break;case"un":t.underline=!0;break;case"ws":t.wordSpacing=parseFloat(r);break}})),a.push(t),o=t}))}catch(t){e.System.StiError.showError(t,!1)}return a},b.parseFontSize=function(t){var r=e.System.Drawing.GraphicsUnit.Point;t.stimulsoft.endsWith("px")&&(r=e.System.Drawing.GraphicsUnit.Pixel,t=t.substring(0,t.length-2));var i=t.stimulsoft.toNumber();if(isNaN(i)&&(i=8),i<.5&&(i=.5),this.interpreteFontSizeInHtmlTagsAsInHtml)switch(Math.round(i)){case 1:i=7;break;case 2:i=10;break;case 3:i=12;break;case 4:i=14;break;case 5:i=16;break;case 6:i=22;break;case 7:i=36;break}return r==e.System.Drawing.GraphicsUnit.Pixel&&(i*=.75),i},b.parseColor=function(e){var t=u.transparent;if(e.length>1)if("#"==e[0]){for(var n=e.substring(1).toLowerCase(),o=new c,a=0;a>16&255,l>>8&255,255&l)}}else if(e.stimulsoft.startsWith("rgb")){var d=e.trim().substr(4,e.length-5).split(",");if(3==d.length){var h=r.create(Number,3);d[0].stimulsoft.endsWith("%")?h[0]=Math.round(2.55*y.toInt32(d[0].substr(0,d[0].length-1))):h[0]=y.toInt32(d[0]),d[1].stimulsoft.endsWith("%")?h[1]=Math.round(2.55*y.toInt32(d[1].substr(0,d[1].length-1))):h[1]=y.toInt32(d[1]),d[2].stimulsoft.endsWith("%")?h[2]=Math.round(2.55*y.toInt32(d[2].substr(0,d[2].length-1))):h[2]=y.toInt32(d[2]),t=u.fromArgb(255,h[0],h[1],h[2])}}else{if(null==this.htmlNameToColor){var m=[["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 g;for(var f=0;f>16&255,l>>8&255,255&l);this.htmlNameToColor.set(p,S)}}var n=e.toLowerCase();this.htmlNameToColor.containsKey(n)&&(t=this.htmlNameToColor.get(n))}return t},b.measureString=function(e,t,r,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var o=d.measureString(r,t,e,!0,1,i,!n);return new m(o.width,o.height)},b.getTextLinesAndWidths=function(r,i,n,o,a,s,l,u,c,h,m,f,p){var S,g;if(c%180!=0&&c%90==0){var y=o.clone();o.width=y.height,o.height=y.width}var v=i.ref;null==v&&(v="");var b=(v=(v=v.replace(/\r\n/gi,"\n")).replace(/\r/gi,"\n")).split(new RegExp("\n")),C=f.ref,T=p.ref,w=[];if(s)for(var D=0;D1e-5){y==t.StiTextHorAlignment.Width&&(P=!0);var $=n.ref.stimulsoft.endsWith(this.StiForceWidthAlignTag);$&&(n.ref=n.ref.substr(0,n.ref.length-this.StiForceWidthAlignTag.length),U=n.ref);var ee=n.ref,te=new B(X.bold,X.italic,X.underline,X.strikeout,X.sizeInPoints,X.name,c,m,!1,!1,0,0,g,y),re=new L(te,0);if(H){var ie=this.parseHtmlToStates(n.ref,re,!O);K=r.create(L,ie.length);for(var ne="",oe=new s,ae=0;ae45&&A<135||A>225&&A<315){var fe=V.width;V.width=V.height,V.height=fe}var pe=-A*Math.PI/180;O&&this.compatibility2009;var Se=new s,ge=0;while(geye.begin+1&&p.isWhitespace(n.ref[ye.end-1]))ye.end--;Se.add(ye),++ge0&&K[0].ts.indent<0&&Se.length>0&&(Se[0].indent=-K[0].ts.indent,null!=K[0].listLevels&&(K[0].ts.indent=K[0].listLevels.length));var ve=d.measureString("…",J[0].fontBase).width*N,be=1,Ce=(V.height-J[0].lineHeight)/(J[0].lineHeight*g)+1,Te=Math.trunc(Ce);R||(H?Te=Se.length:Te++);for(var we=Te,De=new s,Pe=0,xe=0;xe0,Me=!1;if(Be.indent>0&&(ke=Be.indent,Re=Be.indent,Me=!0),0==Ne){var Ee;(Ee=new T).begin+=Be.begin,De.add(Ee),Pe=De.length;continue}if(Ne>0){var He=r.create(Number,Ne),Ie=0;while(Ie=0){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))!=S.SpaceSeparator)break;Ie--}while(Ie>=0){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))==S.SpaceSeparator||0!=He[Ie]||this.isCJKWordWrap(Le,Ie))break;Ie--}We=Ie+(this.isCJKWordWrap(Le,Ie)?0:1),Ie=Ge;while(IeWe&&p.getUnicodeCategory(Le[Ge-1])==S.SpaceSeparator)Ge--;He[We]=2;for(var je=We+1;je0&&p.isLetterOrDigit(Le[qe-1])){if(0!=He[--qe]){Ue=!1;break}He[qe]=1}Ue&&(He[qe]=2),qe=Xe;while(qe+10&&this.isNotWordWrapSymbol2(Le,Xe-1)){He[Xe]=1;var qe=Xe;if(!this.isWordWrapSymbol2(Le,qe)&&!this.isCJKSymbol(Le,qe)){qe++;while(qe0&&this.isNotWordWrapSymbol2(Le,qe-1)&&!this.isWordWrapSymbol2(Le,qe-1)&&Ye){if(Ue=!0,0!=He[--qe]){Ue=!1;break}He[qe]=1,Ye=!this.isCJKSymbol(Le,qe)}Ue&&(He[qe]=2)}else if(Xe0;$e--){var tt=Je[$e].iCharPos;(tt==Je[$e+1].iCharPos-1&&"-"==Le[tt]&&p.isLetter(Le,tt-1)||p.isDigit(Le,tt)&&p.isLetter(Le,tt-1))&&_e.removeAt($e)}if(_e.length0&&Q[Be.begin+Xe]!=Q[Be.begin+Xe-1]){var nt;(nt=Je[it].clone()).iCharPos=Xe,et.add(nt);continue}}et.add(Je[Ke].clone()),Je=r.create(v,et.length,!0);for(var ot=0;ot0)for(var Tt=this.maxFontSize/yt.emValue,wt=0;wt=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]=xt&&xt++,mt[wt]=xt}else{var Bt=mt[wt]/Pt;mt[wt]-Pt>1&&Bt>1.1&&(mt[wt]=Math.ceil(Pt))}}if(0!=K[_].ts.letterSpacing)for(var Lt=1.35*yt.emValue*K[_].ts.letterSpacing,Nt=0,At=0,wt=0;wtIt){if(zt){if(F!=f.Character&&F!=f.EllipsisCharacter||0==(Ne=pt+Xe)&&Ne++,F!=f.Word&&F!=f.EllipsisWord||(0==(Ne=pt+jt)&&(Ne=pt+Xe),0==Ne&&Ne++),ot=Ke,st0&&"­"==gt[Vt-1]&&Vt--):Vt=jt,(Ee=new T).begin=st,Ee.end=pt+Vt,Ee.needWidthAlign=!0,De.add(Ee),Me&&(Ee.indent=Re),Ee.end-1>0&&"­"==n.ref[Ee.end-1]&&ct>=0&&(Ze[Ee.end-1]=ct),ke=Re,Me=!0;while(Ee.end>Ee.begin+1&&p.isWhitespace(Le[Ee.end-1]))Ee.end--;while(VtEe.begin+1&&p.isWhitespace(Le[Ee.end-1]))Ee.end--;break}lt=0,ut=0}}at+=Wt}}if(st0){var $t=(V.width-Jt.width-Jt.indent)/Qt;$t>0?Jt.justifyOffset=$t:Jt.needWidthAlign=!1}}Pe=De.length}}Se=De,R||F!=f.None||(we=Se.length);var er=0,tr=0;Te=0;for(var xe=0;xe0&&sr--,or=K[Q[sr]].ts.lineHeight;rr.lineHeight=J[ir].lineHeight*or,((tr+=rr.lineHeight)0?1:0)]].ts.textAlign}if(R&&(we=Te),k.ref.width=er,k.ref.height=Math.round(tr),0==Se.length&&(k.ref.height=0),this.optimizeBottomMargin?1==Se.length?k.ref.height+=.07*J[0].lineHeight:2==Se.length?k.ref.height+=.085*J[0].lineHeight:Se.length>2&&(k.ref.height+=.1*J[0].lineHeight):(1==Se.length&&(k.ref.height+=.1*J[0].lineHeight),Se.length>1&&(k.ref.height+=.4*J[0].lineHeight)),A>45&&A<135||A>225&&A<315){var fe=k.ref.width;k.ref.width=k.ref.height,k.ref.height=fe,k.ref.height>j.height&&P&&(k.ref.height=j.height),k.ref.width>j.width&&(k.ref.width=j.width)}else k.ref.width>j.width&&P&&(k.ref.width=j.width),k.ref.height>j.height&&(k.ref.height=j.height);if(k.ref.width+=3*N,null!=M)for(var ae=0;ae0&&"­"==Le[Le.length-1];Le=Le.stimulsoft.replaceAll("­","")+(lr?"-":""),rr.indent>0&&(Le=this.getIndentString(rr.indent)+Le),M.add(Le),null!=E&&E.add(rr)}if(O){this.compatibility2009;var ur=Se.length;ur>we&&(ur=we);for(var cr=0,dr=0,xe=0;xe0){var Le=n.ref.substr(fr.begin,fr.length);null!=fr.text&&(Le=fr.text),-1!=Le.indexOf("‑")&&(Le=Le.stimulsoft.replaceAll("‑","-")),Le=Le.substr(0,Le.length-1).stimulsoft.replaceAll("­","​")+Le[Le.length-1];var pr=fr.indent*N,Sr=fr.width,gr=fr.textAlignment;switch(x&&(fr.textAlignment==t.StiTextHorAlignment.Left&&(gr=t.StiTextHorAlignment.Right),fr.textAlignment==t.StiTextHorAlignment.Right&&(gr=t.StiTextHorAlignment.Left)),$&&xe==Se.length-1&&(fr.needWidthAlign=!0),gr!=t.StiTextHorAlignment.Width||fr.needWidthAlign||(gr=x?t.StiTextHorAlignment.Right:t.StiTextHorAlignment.Left),gr){case t.StiTextHorAlignment.Center:pr+=(V.width-Sr)/2;break;case t.StiTextHorAlignment.Right:pr+=V.width-Sr;break}var Je=void 0,Ke=1;(Je=r.create(v,Ke+1,!0))[1].iCharPos=Le.length;var yr=Ke,et,Ne,Qe;(et=new s).add(Je[0].clone());for(var it=0,Xe=0;Xe0&&Q[fr.begin+Xe]!=Q[fr.begin+Xe-1]){var nt;(nt=Je[it].clone()).iCharPos=Xe,et.add(nt);continue}}et.add(Je[Ke].clone()),Je=r.create(v,et.length,!0);for(var ot=0;ot0)for(var Tt=this.maxFontSize/yt.emValue,wt=0;wt=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]=xt&&xt++,mt[wt]=xt}else{var Bt=mt[wt]/Pt;mt[wt]-Pt>1&&Bt>1.1&&(mt[wt]=Math.ceil(Pt))}}for(var wt=0;wt0)for(var Tt=this.maxFontSize/yt.emValue/N,wt=0;wt=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]=xt&&xt++,mt[wt]=xt}else{var Bt=mt[wt]/Pt;mt[wt]-Pt>1&&Bt>1.1&&(mt[wt]=Math.ceil(Pt))}}if(Cr){for(var xr=0,wt=0;wt0)for(var Br=Pr*N/xr,Nt=0,At=0,wt=0;wt1&&(Ar=!1)}kt+=Ot}var Rr=0,kr=0;if(gr==t.StiTextHorAlignment.Width)for(var Xe=0;Xe1){for(var Ot=0,wt=Et;wtwe)if($=we>0&&Se[we-1].needWidthAlign,H){var rr,Vr=Q[(rr=Se[we]).begin],se=K[Vr],Xr=rr.begin;while(Xr>0&&Q[Xr-1]==Q[Xr])Xr--;var qr=rr.begin-Xr,Ur=this.prepareStateText(se.text).toString();if(we>0){var Yr=null;Yr=Vr>0&&K[Vr-1].ts.tag.tag==D.ListItem&&se.ts.tag.tag==D.ListItem?null==K[Vr-1].listLevels||null==se.listLevels||K[Vr-1].listLevels.length==se.listLevels.length?"
  • "+Ur.substr(0,qr):(se.listLevels[se.listLevels.length-1]>0?"
      ":"
        ")+Ur.substr(0,qr):this.stateToHtml(se,se,Ur.substr(0,qr),rr.indent),U=ee.substr(0,se.posBegin)+(qr>0?Yr:"")+($?this.StiForceWidthAlignTag:"")}else U="";var sr=Q[rr.begin]+1;Y=this.stateToHtml(se,se.ts.tag.tag==D.ListItem||se.ts.tag.tag==D.P?K[sr]:se,Ur.substr(qr),rr.indent),se.ts.tag.tag==D.ListItem&&sr0?(rr=Se[we-1],U=n.ref.substr(0,rr.end)+($?this.StiForceWidthAlignTag:"")):U="",rr=Se[we],Y=n.ref.substr(rr.begin)}}catch(e){}finally{for(var me=0;me0&&null!=I&&(I.clear(),I.addRange(Z),z.clear(),z.addRange(J))}catch(e){}finally{for(var me=0;me0&&this.isWordWrapSymbol2(e,t-1)&&(i=!1),i},b.isNotWordWrapSymbol2=function(e,t){var r=p.getUnicodeCategory(e[t]),i;return r==S.OtherPunctuation||r==S.MathSymbol||r==S.CurrencySymbol||p.isLetterOrDigit(e[t])},b.isCJKWordWrap=function(e,t){if(t>0&&this.isCJKSymbol(e,t))return this.isCJKSymbol(e,t-1);return!1},b.isCJKSymbol=function(e,t){var r=e.charCodeAt(t);return r>=19968&&r<=40908||r>=13312&&r<=19893},b.precisionDigits=5,b.precisionModeFactor=4,b.precisionModeEnabled=!1,b.correctionEnabled=!0,b.maxFontSize=1024,b.compatibility2009=!1,b.optimizeBottomMargin=!0,b.htmlNameToColor=null,b.interpreteFontSizeInHtmlTagsAsInHtml=!1,b._htmlEscapeSequence=null,b.bulletBlack="•",b.bulletWhite="◦",b.StiForceWidthAlignTag="",b}();t.StiTextRenderer=b;var C=function(){function e(){this.elipsisWidth=0,this._fontNameReal=null}return Object.defineProperty(e.prototype,"fontNameReal",{get:function(){return null!=this._fontNameReal?this._fontNameReal:this._fontNameReal=this.fontBase.name},enumerable:!1,configurable:!0}),e}();t.StiFontState=C;var T=function(){function e(){this.begin=0,this.length=0,this.needWidthAlign=!1,this.width=0,this.justifyOffset=0,this.indexOfMaxFont=0,this.lineHeight=0,this.textAlignment=t.StiTextHorAlignment.Left,this.indent=0}return Object.defineProperty(e.prototype,"end",{get:function(){return this.begin+this.length},set:function(e){this.length=e-this.begin},enumerable:!1,configurable:!0}),e}();t.LineInfo=T;var w=function(){function e(){}return e}(),D,P;t.RunInfo=w,function(e){e[e["None"]=0]="None",e[e["B"]=1]="B",e[e["I"]=2]="I",e[e["U"]=3]="U",e[e["S"]=4]="S",e[e["Sup"]=5]="Sup",e[e["Sub"]=6]="Sub",e[e["Font"]=7]="Font",e[e["FontName"]=8]="FontName",e[e["FontSize"]=9]="FontSize",e[e["FontColor"]=10]="FontColor",e[e["Backcolor"]=11]="Backcolor",e[e["LetterSpacing"]=12]="LetterSpacing",e[e["WordSpacing"]=13]="WordSpacing",e[e["LineHeight"]=14]="LineHeight",e[e["TextAlign"]=15]="TextAlign",e[e["P"]=16]="P",e[e["Br"]=17]="Br",e[e["OrderedList"]=18]="OrderedList",e[e["UnorderedList"]=19]="UnorderedList",e[e["ListItem"]=20]="ListItem",e[e["A"]=21]="A",e[e["Unknown"]=22]="Unknown"}(D=t.StiHtmlTag||(t.StiHtmlTag={})),function(e){e[e["Start"]=0]="Start",e[e["End"]=1]="End",e[e["Empty"]=2]="Empty"}(P=t.StiHtmlTag2State||(t.StiHtmlTag2State={}));var x=function(){function e(e,t){void 0===e&&(e=D.None),void 0===t&&(t=P.Start),this.tag=e,this.state=t}return Object.defineProperty(e.prototype,"isStart",{get:function(){return this.state==P.Start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEnd",{get:function(){return this.state==P.End},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.state==P.Empty},enumerable:!1,configurable:!0}),e.prototype.isStartTag=function(e){return this.tag==e&&this.state==P.Start},e.prototype.isEndTag=function(e){return this.tag==e&&this.state==P.End},e.prototype.equals=function(e){if(this.tag!=e.tag)return!1;if(this.tag==D.Unknown)return this.tagName==e.tagName;return!0},e.prototype.toString=function(){return this.tag==D.Unknown?"'"+this.tagName+"'":this.tag.toString()},e}();t.StiHtmlTag2=x;var B=function(){function e(t,r,i,n,o,a,s,l,u,c,d,h,m,f){if(t.stimulsoft.is(e)){var p=t.stimulsoft.as(e);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}else this.bold=t,this.italic=r,this.underline=i,this.strikeout=n,this.fontSize=o,this.fontName=a,this.fontColor=s,this.backColor=l,this.subsript=c,this.superscript=u,this.letterSpacing=d,this.wordSpacing=h,this.lineHeight=m,this.textAlign=f,this.isColorChanged=!1,this.isBackcolorChanged=!1,this.tag=new x,this.indent=0,this.htmlStyle="",this.href=null}return e.prototype.clone=function(){var t=new e(!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},e}();t.StiHtmlTagsState=B;var L=function(){function e(t,r){if(t.stimulsoft.is(String))this.ts=new B(!1),this.ts.tag=new x,this.text=new c(t),this.fontIndex=0,this.posBegin=0,this.tagsStack=null,this.listLevels=null;else if(t.stimulsoft.is(B))this.ts=t.stimulsoft.as(B),this.text=new c,this.fontIndex=0,this.posBegin=r,this.tagsStack=null,this.listLevels=null;else{var i=t.stimulsoft.as(e);this.ts=new B(i.ts),this.text=new c,this.fontIndex=0,this.posBegin=i.posBegin,this.tagsStack=null,this.listLevels=i.listLevels,this.ts.indent<0&&(null!=this.listLevels?this.ts.indent=this.listLevels.length:this.ts.indent=0)}}return e.prototype.clone=function(){var t=new e(this.ts);return t.ts=this.ts.clone(),t.text=new c(this.text.toString()),t.fontIndex=this.fontIndex,t.posBegin=this.posBegin,t.tagsStack=this.tagsStack,t.listLevels=this.listLevels,t},e.prototype.toString=function(){return'"'+this.text.toString().stimulsoft.replaceAll("\n","\\n")+'" '+(this.ts.tag.tag==D.None?"":this.ts.tag.toString())},e}();t.StiHtmlState=L;var N=function(){function e(){}return e}();t.TagPair=N}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t,r;!function(e){e[e["OnlineTrial"]=100]="OnlineTrial",e[e["OnlineStandard"]=101]="OnlineStandard",e[e["ServerTrial"]=200]="ServerTrial",e[e["ServerTeam5"]=201]="ServerTeam5",e[e["ServerTeam10"]=202]="ServerTeam10",e[e["ServerTeam25"]=203]="ServerTeam25",e[e["ServerTeam50"]=204]="ServerTeam50",e[e["ServerBusiness"]=205]="ServerBusiness",e[e["ServerEnterprise"]=206]="ServerEnterprise",e[e["ServerWorldWide"]=207]="ServerWorldWide",e[e["Test"]=300]="Test"}(t=e.StiPlanIdent||(e.StiPlanIdent={})),function(e){e[e["Cycles"]=1]="Cycles"}(r=e.StiPlanFeatureIdent||(e.StiPlanFeatureIdent={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.DateTime,n=e.System.TimeSpan,o;!function(e){e[e["USA_DATE"]=0]="USA_DATE",e[e["UK_DATE"]=1]="UK_DATE"}(o=t.DateTimeFormat||(t.DateTimeFormat={}));var a=function(){function e(e,t,r,o,a,s){if(this.indexOfDate=e,this.lengthOfDate=t,this.indexOfTime=r,this.lengthOfTime=o,this.dateTime=a,this.isDateFound=e>-1,this.isTimeFound=r>-1,null==s)this.utcOffset=new n(25,0,0),this.isUtcOffsetFound=!1,this.utcDateTime=new i(1,1,1,0,0,0,0);else if(this.utcOffset=s,this.isUtcOffsetFound=Math.abs(s.totalHours)<12,this.isUtcOffsetFound)if(e<0){var l=a.timeOfDay.ticks+s.ticks;this.utcDateTime=l<0?new i(1,1,2,0,0,0,0).addTicks(l):new i(1,1,1,0,0,0,0).addTicks(l)}else this.utcDateTime=a.addTicks(s.ticks);else this.utcDateTime=new i(1,1,1,0,0,0,0)}return e}();t.ParsedDateTime=a;var s=function(){function t(){}return Object.defineProperty(t,"defaultDate",{get:function(){return this.defaultDateIsNow?i.now:this._defaultDate},set:function(e){this._defaultDate=e,this.defaultDateIsNow=!1},enumerable:!1,configurable:!0}),t.tryParseDateTime=function(e,t,r){var n={ref:null};if(this.tryParseDateTime2(e,t,n))return r.ref=n.ref.dateTime,!0;return r.ref=new i(1,1,1,0,0,0,0),!1},t.tryParseDateTime2=function(e,t,r){if(this.tryParseDateOrTime2(e,t,r))return!0;return r.ref=null,!1},t.tryParseDateOrTime2=function(e,t,r){var n=null,o={ref:null},s={ref:null};if(this.tryParseDate2(e,t,o))if(this.tryParseTime2(e,t,s,o.ref)){var l=new i(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,s.ref.dateTime.hour,s.ref.dateTime.minute,s.ref.dateTime.second,0);n=new a(o.ref.indexOfDate,o.ref.lengthOfDate,s.ref.indexOfTime,s.ref.lengthOfTime,l,s.ref.utcOffset)}else{var l=new i(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,0,0,0,0);n=new a(o.ref.indexOfDate,o.ref.lengthOfDate,-1,-1,l)}else{if(!this.tryParseTime2(e,t,s,null))return!1;var l=new i(this.defaultDate.year,this.defaultDate.month,this.defaultDate.day,s.ref.dateTime.hour,s.ref.dateTime.minute,s.ref.dateTime.second,0);n=new a(-1,-1,s.ref.indexOfTime,s.ref.lengthOfTime,l,s.ref.utcOffset)}return r.ref=n,!0},t.tryParseTime2=function(e,t,s,l){s.ref=null;var u=t==o.USA_DATE?"(?:\\s*(UTC|GMT|CST|EST))?":"(?:\\s*(UTC|GMT))?",c,d,h=null,m=null,f=null,p=null,S=null,g=null,y=null,v=null;if(null!=l&&l.indexOfDate>-1?(c=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})(?=$|[^\\d\\w])",""),null!=(d=e.substr(l.indexOfDate+l.lengthOfDate).match(c))&&(h=d[1],m=d[2],f=d[3],S=d[5],g=d[6],v=d[4]),null==d&&(c=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+u+"(?=$|[^\\d\\w])",""),null!=(d=e.substr(l.indexOfDate+l.lengthOfDate).match(c))&&(h=d[1],m=d[2],f=d[3],p=d[4],y=d[5])),null==d&&(c=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+u+"(?=$|[\\s,]+)",""),null!=(d=e.substr(0,l.indexOfDate).match(c))&&(h=d[1],m=d[2],f=d[3],p=d[4],y=d[5])),null==d&&(c=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+u+"(?=$|[\\s,]+)",""),null!=(d=e.substr(l.indexOfDate,l.lengthOfDate).match(c))&&(h=d[1],m=d[2],f=d[3],p=d[4],y=d[5]))):(c=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})?(?=$|[^\\d\\w])",""),null!=(d=e.match(c))&&(h=d[1],m=d[2],f=d[3],S=d[5],g=d[6],v=d[4]),null==d&&(c=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+u+"(?=$|[^\\d\\w])",""),null!=(d=e.match(c))&&(h=d[1],m=d[2],f=d[3],p=d[4],y=d[5]))),null==d)return!1;var b=parseInt(h);if(b<0||b>23)return!1;var C=parseInt(m);if(C<0||C>59)return!1;var T=0;if(!r.isNullOrEmpty(f)&&((T=parseInt(f))<0||T>59))return!1;null!=p&&"PM"==p.toUpperCase()&&b<12?b+=12:null!=p&&"AM"==p.toUpperCase()&&12==b&&(b-=12);var w=new i(1,1,1,b,C,T,0);if(!r.isNullOrWhiteSpace(S)){var D=parseInt(S),P=0;r.isNullOrWhiteSpace(g)||(P=parseInt(g));var x=new n(D,P,0);return"-"==v&&(x=new n(-x.ticks)),s.ref=new a(-1,-1,d.index,d[0].length,w,x),!0}if(!r.isNullOrWhiteSpace(y)){var x=void 0;switch(y){case"UTC":case"GMT":x=new n(0,0,0);break;case"CST":x=new n(-6,0,0);break;case"EST":x=new n(-5,0,0);break;default:throw new Error("Time zone: "+y+" is not defined.")}return s.ref=new a(-1,-1,d.index,d[0].length,w,x),!0}return s.ref=new a(-1,-1,d.index,d[0].length,w),!0},t.tryParseDate2=function(t,i,n){if(n.ref=null,r.isNullOrEmpty(t))return!1;var s=new RegExp("(\\d{4})\\s*([\\/])\\s*(\\d{1,2})\\s*[\\/]+\\s*(\\d{1,2})(?=$|[^\\d])","i"),l=t.match(s);if(null!=l){var u={ref:null};if(!this.convertToDate(parseInt(l[1]),parseInt(l[3]),parseInt(l[4]),u))return!1;return n.ref=new a(l.index,l[0].length,-1,-1,u.ref),!0}if(s=new RegExp("(\\d{1,2})\\s*([\\\\\\/\\.])+\\s*(\\d{1,2})\\s*[\\\\\\/\\.]+\\s*(\\d{2}|\\d{4})(?=$|[^\\d])","i"),null!=(l=t.match(s))){var u={ref:null};if((i^o.USA_DATE)==o.USA_DATE){if(!this.convertToDate(parseInt(l[4]),parseInt(l[1]),parseInt(l[3]),u))return!1}else if(!this.convertToDate(parseInt(l[4]),parseInt(l[3]),parseInt(l[1]),u))return!1;return n.ref=new a(l.index,l[0].length,-1,-1,u.ref),!0}if(s=new RegExp("(\\d{2}|\\d{4})\\s*([\\-])\\s*(\\d{1,2})\\s*[\\-]+\\s*(\\d{1,2})(?=$|[^\\d])","i"),null!=(l=t.match(s))){var u={ref:null};if(!this.convertToDate(parseInt(l[1]),parseInt(l[3]),parseInt(l[4]),u))return!1;return n.ref=new a(l.index,l[0].length,-1,-1,u.ref),!0}var c=e.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.abbreviatedMonthNames.stimulsoft.toList().where((function(e){return!r.isNullOrWhiteSpace(e)})).select((function(e){return e.length>3?e.substr(0,3):e})).select((function(e){return e.substr(0,1).toUpperCase()+e.substr(1,e.length-1).toLowerCase()})).toList();if(this.tryParseDateInternal(t,n,c))return!0;return c=e.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.monthNames.stimulsoft.toList().where((function(e){return!r.isNullOrWhiteSpace(e)})).select((function(e){return e.substr(0,1).toUpperCase()+e.substr(1,e.length-1).toLowerCase()})).toList(),this.tryParseDateInternal(t,n,c)},t.tryParseDateInternal=function(e,t,i){var n=r.join("|",i),o=null,s=null,l=null,u=new RegExp("(?:^|[^\\d\\w])("+n+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?\\s*,?\\s*(\\d{4})(?=$|[^\\d\\w])","i"),c=e.match(u);if(null!=c&&(s=c[1],l=c[2],o=c[3]),null==c&&(u=new RegExp("(?:^|[^\\d\\w:])(\\d{1,2})(?:-?st\\s+|-?th\\s+|-?rd\\s+|-?nd\\s+|-|\\s+)("+n+")[uarychilestmbro]*(?:\\s*,?\\s*|-)'?(\\d{2}|\\d{4})(?=$|[^\\d\\w])","i"),null!=(c=e.match(u))&&(l=c[1],s=c[2],o=c[3])),null==c&&(u=new RegExp("(?:^|[^\\d\\w])(\\d{4})\\s+("+n+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?=$|[^\\d\\w])","i"),null!=(c=e.match(u))&&(o=c[1],s=c[2],l=c[3])),null==c&&(u=new RegExp("(?:^|[^\\d\\w])("+n+")[uarychilestmbro]*\\s+(\\d{1,2})\\s+\\d{2}\\:\\d{2}\\:\\d{2}\\s+(?:MDT|UTC)\\s+(\\d{4})(?=$|[^\\d\\w])","i"),null!=(c=e.match(u))&&(s=c[1],l=c[2])),null==c&&(u=new RegExp("(?:^|[^\\d\\w])("+n+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?:\\s*,?\\s*(\\d{4}))?(?=$|[^\\d\\w])","i"),null!=(c=e.match(u))&&(s=c[1],l=c[2],o=c[3])),null!=c){var d=c.index,h=c[0].length;s=s.toLowerCase();var m=i.firstOrDefault((function(e){return e.toLowerCase()==s}));if(null==m)return!1;var f=i.indexOf(m)+1,p=r.isNullOrEmpty(o)?this.defaultDate.year:parseInt(o),S={ref:null};if(!this.convertToDate(p,f,parseInt(l),S))return!1;return t.ref=new a(d,h,-1,-1,S.ref),!0}return!1},t.convertToDate=function(e,t,r,n){if(e>=100){if(e<1e3)return n.ref=new i(1,1,1,0,0,0,0),!1}else e+=e>30?1900:2e3;try{if(t<1||t>12||r<1||r>31)return n.ref=new i(1,1,1,0,0,0,0),!1;n.ref=new i(e,t,r,0,0,0,0)}catch(e){return n.ref=new i(1,1,1,0,0,0,0),!1}return!0},t._defaultDate=i.now,t.defaultDateIsNow=!0,t}();t.DateTimeRoutines=s}(r=t.Helpers||(t.Helpers={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Collections.Hashtable,n=e.System.Drawing.Size,o=e.System.Text.StringBuilder,a=e.System.StiPromise,s=function(){function e(){}return e.getImageAsync=function(t,r){void 0===r&&(r=null);var i=new a;t.width<50&&(t=new n(50,t.height)),t.height<50&&(t=new n(t.width,50)),t.width=Math.trunc(t.width),t.height=Math.trunc(t.height);var s=new o,l=r.length;if(l>100&&(l=100),r.length>0)for(var u=0;u';i.callTry(n)}else i.callTry(null)},c.send(s.toString()),i},e.base64ArrayBuffer=function(e){for(var t="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(e),n=i.byteLength,o=n%3,a=n-o,s,l,u,c,d,h=0;h>18]+r[l=(258048&d)>>12]+r[u=(4032&d)>>6]+r[c=63&d];return 1==o?t+=r[s=(252&(d=i[a]))>>2]+r[l=(3&d)<<4]+"==":2==o&&(t+=r[s=(64512&(d=i[a]<<8|i[a+1]))>>10]+r[l=(1008&d)>>4]+r[u=(15&d)<<2]+"="),t},e.getBingUrl=function(e){return"https://dev.virtualearth.net/REST/v1/Imagery/Map/CanvasLight/?mapSize="+e.width+","+e.height+"&key="+this.BingKey},e.getScript=function(r){var i=new o(t.StiGZipHelper.unpack(e.Script));if(null!=r["locations"]){var n=JSON.stringify(r["locations"]);i.replace("_DATA_",n);var a=r["locationType"].toString();"Auto"!=a?i.replace("_entityType_",a):i.replace("entityType: '_entityType_',","")}else if(null!=r["pushpins"]){var n=JSON.stringify(r["pushpins"]);i.replace("_DATA_",n),i.replace("document.mapType = 'locations';","document.mapType = 'pushpins';")}else i.replace("_DATA_","[]"),i.replace("entityType: '_entityType_',","");return i.replace("_KEY_",e.BingKey),i.replace("_THEME_",r["theme"]),i.replace("_LANGUAGE_",r["culture"]),i.replace("_BACKGROUND_COLOR_",'"'+r["backgroundColor"]+'"'),null!=r["outerStyle"]&&i.replace("display: table;",r["outerStyle"].toString()),null!=r["title"]&&i.replace("display:none'>",r["title"].toString()),null!=r["customIcon"]&&(i.replace("document.customIcon = null","document.customIcon = '"+r["customIcon"].toString()+"'"),i.replace("document.customIconAnchorX = null","document.customIconAnchorX = '"+r["customIconAnchorX"].toString()+"'"),i.replace("document.customIconAnchorY = null","document.customIconAnchorY = '"+r["customIconAnchorY"].toString()+"'")),i.replace("&(*","&(*"),i.toString().substr(1)},e.getCacheKey=function(e,t){var r,n;try{for(var o=__values(e.keys),a=o.next();!a.done;a=o.next()){var s=a.value;t=397*t^s.stimulsoft.getHashCode();var l=e[s];t=l.stimulsoft.is(i)?397*t^this.getCacheKey(l,t):397*t^l.toString().stimulsoft.getHashCode()}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t},e.BingKey="AjGy60ciMrcB7Acfl0kqPEAS2zNzuISiRVr7GUmKCFUTELF9fIj7tGshe6oJVmbS", e.Script="H4sIAAAAAAAEAOy925LqSpIo+D5m8w81/XLGTKdMQCq59Ok+NhFS6AYSCiEB4g2UEOIqSBIEzKedh/NJ8wvjHhIJmSv3ql1V3TM2ZpN7s0Qo7h4efgsP5//6H//z3/43o69HScD+kn1sN//9f/1f/u3zOZ++wfMv8PdvH8uPzfy//5taPquX2/nH9C9pNn0/zj/+/V9OH4u/tv/lL+pvc7OPj/1f54fT8vzv/zL+a0z+qufb/fRjOdvM/+Uvab77mO+gsMP+ff4m5k+NHT+un/3i3/+xgLJ/XUzT+V/+z8db/KsytsvN9V//8l8GH8vtaXPMFx//5b99LXd8T//1L6f3zf/+Nv2Y/ivWUj8+Fv9tNj3Om9p/JYQR+OsRB/4tSBHVvbOX143VTIMXDP8hieV/JGODe9vRCJL+Dl926C4Z+4WqtrGefmQFvnUmjcvr5FSIE4X3tF4jxD02rGyTjLh3tT9esNAZ/zEm+dQaZsZ53W0JSAcc366nVr02Nw56b4/jshL4x6PW5Zw0mCFqFNoj4QyrkwzGlBWkkes21gyxESJmW/NjMnnd8Y1HSL73sGhtR8/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rVhtEFHHHReXWQMDxnQkuXhFlAtMxglYZ4fdalh5S8Sl7h3lTJ3B/PHA9Vaauxmlj4UT7A81X1V5lAlVMctsyyg4+hILSwpTNFp1GdSGvxdw67yLrdW/j7cQt2LzoAB9Oq/oGFAFJLxAwA=",e}();r.StiBingMapHelper=s}(r=t.Helpers||(t.Helpers={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this.progressDelta=10,this.timerInterval=20}return e.add=function(e){},e}();e.StiComponentProgressHelper=t}(t=e.Helpers||(e.Helpers={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this.timerInterval=500,this.browserLifetime=1e3*60*5}return e.init=function(){},e.fetchAllComponents=function(e){return null},e.clean=function(e){},e}();e.StiOnlineMapRepaintHelper=t;var r=function(){function e(){this.elementKey=""}return e}()}(t=e.Helpers||(e.Helpers={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=e.System.Convert,n=function(){function e(){}return e.pack=function(e){if(null==e||0==e.length||!this.allowPacking)return e;return this.addZipSignature(t.StiGZipHelper.pack(e))},e.unpack=function(e){if(null==e||0==e.length||!this.isPacked(e))return e;try{return t.StiGZipHelper.unpack(e)}catch(t){return e}},e.packAndEncrypt=function(e,r){return t.StiEncryption.encrypt2(this.pack(e),this.encryptedId)},e.unpackAndDecrypt=function(e,r){return this.unpack(t.StiEncryption.decrypt2(e,this.encryptedId))},e.packAndEncryptToString=function(e){return e=this.pack(e),null!=(e=t.StiEncryption.encrypt2(e,this.encryptedId))?i.toBase64String(e):null},e.unpackAndDecrypt2=function(e){if(r.isNullOrWhiteSpace(e))return null;var n=i.fromBase64String(e);return n=t.StiEncryption.decrypt2(n,this.encryptedId),this.unpack(n)},e.packToString=function(e){return null!=(e=this.pack(e))?i.toBase64String(e):null},e.unpackFromString=function(e){if(r.isNullOrWhiteSpace(e))return null;var t=i.fromBase64String(e);return this.unpack(t)},e.packToBytes=function(e,t){if(void 0===t&&(t=!0),r.isNullOrEmpty(e))return null;var i;return i},e.unpackToString=function(e){if(null==e||0==e.length)return null;return e=this.unpack(e),null},e.addZipSignature=function(e){return e[e.length-3]="Z".charCodeAt(0),e[e.length-2]="I".charCodeAt(0),e[e.length-1]="P".charCodeAt(0),e},e.isPacked=function(e){return e.length>3&&this.isPacked2(e[e.length-3],e[e.length-2],e[e.length-1])},e.isPacked2=function(e,t,r){return e=="Z".charCodeAt(0)&&t=="I".charCodeAt(0)&&r=="P".charCodeAt(0)},e.encryptedId="8pTP&%#5uK889910",e.allowPacking=!0,e}();t.StiPacker=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Type,i=function(){function e(){}return e.equalValues=function(e,i){if(null==e&&null==i)return!0;if(null==e||null==i)return!1;if(e.stimulsoft.is(Array)&&i.stimulsoft.is(Array))return this.compareArrays(e,i);if(r.isNumericType(r.getType(e))&&r.isNumericType(r.getType(i)))return t.StiValueHelper.tryToNumber(e)==t.StiValueHelper.tryToNumber(i);if(e.stimulsoft.is(String))return e==i.toString();return e==i},e.compareArrays=function(e,t){if(e.length!=t.length)return!1;for(var r=0;r4&&!r.isNullOrEmpty(o[4])&&(c.shadowSize=parseFloat(o[4])),r.isNullOrEmpty(o[5])||(c.dropShadow=!0),r.isNullOrEmpty(o[6])||(c.topmost=!0),r.isNullOrEmpty(o[7])||(c.shadowBrush=e.brush(o[7])),c},e.simpleBorder=function(t){var o=t.split(";"),a=new B;return r.isNullOrEmpty(o[0])||(a.side=l.parse(i,o[0])),r.isNullOrEmpty(o[1])||(a.color=e.color(o[1])),r.isNullOrEmpty(o[2])||(a.size=parseFloat(o[2])),r.isNullOrEmpty(o[3])||(a.style=l.parse(n,o[3])),a},e.color=function(e){if(-1!=e.indexOf(",")){var t;if(4==(t=e.split(",")).length)return y.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return y.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(":")){var t;if(4==(t=e.substring(1,e.length-1).split(":")).length)return y.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return y.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()))}return y.fromName(e)},e.brush=function(t){var i=t.split(":");switch(i[0]){case"empty":return new C;case"glass":var n=new w;return r.isNullOrEmpty(i[1])||(n.color=e.color(i[1])),r.isNullOrEmpty(i[2])||(n.drawHatch=!0),r.isNullOrEmpty(i[3])||(n.blend=parseFloat(i[3])),n;case"glare":var o=new T;return r.isNullOrEmpty(i[1])||(o.startColor=e.color(i[1])),r.isNullOrEmpty(i[2])||(o.endColor=e.color(i[2])),r.isNullOrEmpty(i[3])||(o.angle=parseFloat(i[3])),r.isNullOrEmpty(i[4])||(o.focus=parseFloat(i[4])),r.isNullOrEmpty(i[5])||(o.scale=parseFloat(i[5])),o;case"hatch":var s=new P;return r.isNullOrEmpty(i[1])||(s.backColor=e.color(i[1])),r.isNullOrEmpty(i[2])||(s.foreColor=e.color(i[2])),r.isNullOrEmpty(i[3])||(s.style=l.parse(a,i[3])),s;case"gradient":var u=new D;return r.isNullOrEmpty(i[1])||(u.startColor=e.color(i[1])),r.isNullOrEmpty(i[2])||(u.endColor=e.color(i[2])),r.isNullOrEmpty(i[3])||(u.angle=parseFloat(i[3])),u;case"solid":var c=new x;return r.isNullOrEmpty(i[1])||(c.color=e.color(i[1])),c}return null},e.colorArray=function(t){var r,i,n=[],o=0;try{for(var a=__values(t.properties()),s=a.next();!s.done;s=a.next()){var l,u=s.value.value,c=e.color(u);n[o]=c,o++}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return n},e.size=function(e){var t,r,i=new v(0,0);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Width":i.width=a.value;break;case"Height":i.height=a.value;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},e.rectangleD=function(e){var t=e.split(",");if(4!=t.length)throw new Error("Parsing Error");return new m(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]))},e.sizeD=function(e){var t=e.split(",");if(2!=t.length)throw new Error("Parsing Error");return new v(parseFloat(t[0]),parseFloat(t[1]))},e.point=function(e){var t,r,i=new b;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"X":i.x=a.value;break;case"Y":i.y=a.value;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},e}();t.Deserialize=N}(r=t.StiJsonReportObjectHelper||(t.StiJsonReportObjectHelper={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Data.DataSet,i=e.System.Data.JsonRelationDirection,n=function(){function e(){}return e.getDataSet=function(e,t){void 0===t&&(t=i.ChildToParent);var n=new r;return n.readJson(e,t),n},e}();t.StiJsonToDataSetConverter=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t,r;!function(e){e[e["Ultimate"]=1]="Ultimate",e[e["Net"]=2]="Net",e[e["Wpf"]=3]="Wpf",e[e["Web"]=4]="Web",e[e["Silverlight"]=5]="Silverlight",e[e["Js"]=6]="Js",e[e["Java"]=7]="Java",e[e["Php"]=8]="Php",e[e["NetCore"]=9]="NetCore",e[e["Uwp"]=10]="Uwp",e[e["Flex"]=11]="Flex",e[e["BIDesigner"]=12]="BIDesigner",e[e["DbsJs"]=13]="DbsJs",e[e["DbsWin"]=14]="DbsWin",e[e["DbsWeb"]=15]="DbsWeb",e[e["BIDesktop"]=16]="BIDesktop",e[e["BIServer"]=17]="BIServer",e[e["BICloud"]=18]="BICloud",e[e["CloudReports"]=20]="CloudReports",e[e["CloudDashboards"]=21]="CloudDashboards",e[e["Angular"]=22]="Angular",e[e["DbsAngular"]=23]="DbsAngular"}(t=e.HllkI||(e.HllkI={})),function(e){e[e["Server"]=1]="Server",e[e["Developer"]=2]="Developer"}(r=e.Jpjhl||(e.Jpjhl={}))}(t=e.izjrG||(e.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=function(){function t(){}return t.decrypt=function(t,r){return e.System.Crypt.AES.decrypt(t,r)},t.encrypt=function(t,r){return void 0===r&&(r=null),e.System.Crypt.AES.encrypt(t,r)},t.recrypt=function(e,t,r){return e=this.decrypt(e,t),this.encrypt(e,r)},t}();t.RWNpQ=r}(r=t.izjrG||(t.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.getKey=function(){return{RSAKeyValue:{Modulus:"iyWINuM1TmfC9bdSA3uVpBG6cAoOakVOt+juHTCw/gxz/wQ9YZ+Dd9vzlMTFde6HAWD9DC1IvshHeyJSp8p4H3qXUKSC8n4oIn4KbrcxyLTy17l8Qpi0E3M+CI9zQEPXA6Y1Tg+8GVtJNVziSmitzZddpMFVr+6q8CRi5sQTiTs=",Exponent:"10001"}}},e}();e.eoHsm=t}(t=e.izjrG||(e.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Collections.List,i=e.System.StiString,n=e.System.DateTime,o=e.System.Enum,a=function(){function e(){this.encryptKey="ieICWsADhNJQBsVv63j/tA=="}return e.prototype.loadFromString=function(e){var i=JSON.parse(e);for(var a in this["activationDate"]=n.fromNetJsonString(i["ActivationDate"]),this["products"]=new r,i["Products"])this["products"][a]=new t.aLkCe,this["products"][a]["expirationDate"]=n.fromNetJsonString(i["Products"][a]["ExpirationDate"]),this["products"][a]["ident"]=o.parse(t.HllkI,i["Products"][a]["Ident"]);this["owner"]=i["Owner"],this["userName"]=i["UserName"],this["signature"]=i["Signature"],this["deviceId"]=i["DeviceId"]},e.prototype.saveToString=function(){var e="";for(var r in e+="{\r\n",e+=i.format(' "ActivationDate": "{0}",\r\n',this["activationDate"].toNetJsonString()),null!=this["signature"]&&(e+=i.format(' "Signature": "{0}",\r\n',this["signature"])),e+=i.format(' "Owner": "{0}",\r\n',this["owner"]),e+=i.format(' "UserName": "{0}",\r\n',this["userName"]),e+=' "Products": [',this["products"].length>0&&(e+="\r\n"),this["products"])e+=" {\r\n",e+=i.format(' "ExpirationDate": "{0}",\r\n',this["products"][r]["expirationDate"].toNetJsonString()),e+=i.format(' "Ident": "{0}"\r\n',o.getName(t.HllkI,this["products"][r]["ident"])),r.stimulsoft.toNumber()0&&(e+=" "),e+="]",null!=this["deviceId"]&&(e+=i.format(',\r\n "DeviceId": "{0}"',this["deviceId"])),e+="\r\n}"},e.prototype.loadFromBytes=function(e){var t=i.fromBytesArray(e);this.loadFromString(t)},e.prototype.decryptFromBytes=function(e){this.decryptFromString(i.fromBytesArray(e))},e.prototype.decryptFromString=function(e){this.loadFromString(t.RWNpQ.decrypt(e,this.encryptKey))},e}();t.odfNV=a}(r=t.izjrG||(t.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.DateTime,i=function(e){function t(){var t=e.call(this)||this;return t.owner="",t.userName="",t.activationDate=r.today,t.owner="",t.userName="",t}return __extends(t,e),t.prototype.clone=function(){var e=new t;return e.loadFromString(this.saveToString()),e},t.get1=function(e){var r=new t;return r.decryptFromBytes(e),r},t.get2=function(e){var r=new t;return r.decryptFromString(e),r},t}(t.odfNV);t.Hqemu=i}(r=t.izjrG||(t.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=function(){function t(){}return Object.defineProperty(t,"key",{get:function(){return this._key},set:function(e){t.pxPHW(e,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Key",{get:function(){return this.key},set:function(e){this.key=e},enumerable:!1,configurable:!0}),t.pxPHW=function(i,n){if(void 0===n&&(n=!0),r.isNullOrWhiteSpace(i))this._key=null,this[["li","ce","ns","eK","ey"].join("")]=null;else{var o=e.Base.izjrG.Hqemu.get2(i);if(t.mlLtb(o))this[["li","ce","ns","eK","ey"].join("")]=o,this._key=i;else{if(n)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}}},t.mlLtb=function(t){try{if(null==t)return!1;if(null==t.signature)return!1;var r=t.clone();r.signature=null;var i=new e.System.Crypt.RSAKey,n=e.Base.izjrG.eoHsm.getKey();return i.setPublic(n.RSAKeyValue.Modulus,n.RSAKeyValue.Exponent),i.verifyString(r.saveToString(),t.signature)}catch(e){return!1}},t.loadFromFile=function(t){this.loadFromString(e.System.IO.File.getFile(t))},t.loadFromString=function(e){this.key=e},t}();t[["St","iL","ic","en","se"].join("")]=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.encryptKey="aoc#wm5eoAtrr$a5@m9w",t}return __extends(t,e),t}(e.odfNV);e.QYMFp=t}(t=e.izjrG||(e.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(){this.key=e.StiKeyHelper.generateKey()}return t}();e.StiKeyObject=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(e.StiKeyObject);t.Zilwl=r}(t=e.izjrG||(e.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.StiString,n=e.Base.izjrG.HllkI,o=function(){function r(){}return r.mkConOn=function(t){var o=r.LnCqr();return 1;return null!=o&&!i.isNullOrWhiteSpace(o.signature)&&null!=o.products&&o.products.any((function(r){return(r.ident==t||r.ident==n.Ultimate)&&r.expirationDate.ticks>e.StiVersion.created.ticks}))},r.AWlWm=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return r.PGXJd(t.ident)&&t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.ohwaJ=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return r.WbfkP(t.ident)&&t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.TvUDM=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return r.aLCpf(t.ident)&&t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.yoidW=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return r.vhoOn(t.ident)&&t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.fKHzo=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.ekkVf=function(){var t=r.LnCqr();return 1;return null!=t&&!i.isNullOrWhiteSpace(t.signature)&&null!=t.products&&t.products.any((function(t){return r.FnSfl(t.ident)&&t.expirationDate.ticks>e.StiVersion.created.ticks}))},r.aLCpf=function(e){return e==n.Js||e==n.Php||e==n.NetCore||e==n.Ultimate},r.WbfkP=function(e){return e==n.DbsJs||e==n.DbsWeb||e==n.DbsWin||e==n.CloudDashboards||e==n.DbsAngular||e==n.Ultimate},r.vhoOn=function(e){return e==n.Flex||e==n.Java||e==n.Net||e==n.NetCore||e==n.Php||e==n.Silverlight||e==n.Uwp||e==n.Web||e==n.Wpf||e==n.Js||e==n.CloudReports||e==n.Angular||e==n.Ultimate},r.PGXJd=function(e){return e==n.DbsJs||e==n.Ultimate},r.FnSfl=function(e){return e==n.BIDesigner||e==n.BIDesktop||e==n.BIServer||e==n.BICloud},r.LnCqr=function(){if(i.isNullOrWhiteSpace(t[["St","iL","ic","en","se"].join("")].key))return null;if(10==this.indexValidator?(t[["St","iL","ic","en","se"].join("")].pxPHW(t[["St","iL","ic","en","se"].join("")].key),this.indexValidator=0):this.indexValidator++,null==t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")])return null;if(null==t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].signature)return null;if(!i.isNullOrEmpty(t[["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("")]!=t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].deviceId)return null;return t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]},r}();r.dVOOk=o}(r=t.izjrG||(t.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e}();e.aLkCe=t}(t=e.izjrG||(e.izjrG={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.StiString,n=e.System.Xml.XmlConverter,o=function(){function r(){}return r.setLocalization=function(e,t){if(void 0===t&&(t=!1),t)r.languages={};else{var i=r.loadLocalization(e);r.cultureName=i}},Object.defineProperty(r,"cultureName",{get:function(){return i.isNullOrEmpty(r._cultureName)&&(r._cultureName=t.StiSettings.get("cultureName","English"),null==r.languages[r._cultureName]&&(r._cultureName="English")),r._cultureName},set:function(e){r._cultureName!=e&&t.StiSettings.set("cultureName",e),r._cultureName=e},enumerable:!1,configurable:!0}),r.addLocalizationFile=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=""),t){var o=r.loadLocalizationFile(e),a=r[o]["@language"];return r.languages[o]={language:a,cultureName:o,filePath:e,jsonString:JSON.stringify(r[o])},a}return i.isNullOrEmpty(n)?r.languages[e]={language:n,cultureName:"",filePath:e}:r.languages[n]={language:n,cultureName:"",filePath:e},""},r.setLocalizationFile=function(e,t){if(void 0===t&&(t=!1),t)r.languages={};else for(var n in r.languages){var o=r.languages[n];if(o.filePath==e){if(i.isNullOrEmpty(o.cultureName)){delete r.languages[n];break}return void(r.cultureName=o.cultureName)}}r.cultureName=r.addLocalizationFile(e,!0)},r.getJsonStringLocalization=function(){var e=r.languages[r.cultureName];return null==r[e.language]&&(r.setLocalizationFile(e.filePath),delete r.languages[e.filePath],e=r.languages[r.cultureName]),null==e.jsonString&&(e.jsonString=JSON.stringify(r[r.cultureName])),e.jsonString},r.loadLocalization=function(t,i){void 0===i&&(i=!1);try{if(null!=t&&t.trim().stimulsoft.startsWith("Overlay Legend at Center
        Show Legend at center of the chart

        without resizing
        ",HorAlLeft:"Overlay Legend at Left
        Show Legend at left of the chart

        without resizing
        ",HorAlLeftOutside:"Show Legend at Left
        Show Legend and align left
        ",HorAlRight:"Overlay Legend at Right
        Show Legend at right of the chart

        without resizing
        ",HorAlRightOutside:"Show Legend at Right
        Show Legend and align right
        ",HorizontalMajor:"Major
        Display Horizontal Gridlines for Major units
        ",HorizontalMajorMinor:"Major && Minor Gridlines
        Display Horizontal Gridlines for Major and Minor units
        ",HorizontalMinor:"Minor
        Display Horizontal Gridlines for Minor units
        ",HorizontalNone:"None
        Do not display Horizontal Grirdlines
        ",InsideBaseLabels:"Inside Base",InsideEndLabels:"Inside End",Labels:"Series Labels",Legend:"Legend",LegendHorizontalAlignment:"Horizontal Alignment",LegendMarker:"Marker",LegendMarkerAlignmentLeft:"Left",LegendMarkerAlignmentRight:"Right",LegendMarkerVisible:"Visible",LegendVerticalAlignment:"Vertical Alignment",LegendVisible:"Visible",NoneLabels:"None",OutsideBaseLabels:"Outside Base",OutsideEndLabels:"Outside End",OutsideLabels:"Outside",ribbonBarAxis:"Axes",ribbonBarChartStyles:"Chart Styles",ribbonBarChartType:"Chart Type",ribbonBarLabels:"Labels",ribbonBarLegend:"Legend",Style:"Change Style",TwoColumnsPieLabels:"Two Columns",VertAlBottom:"Overlay Legend at Bottom
        Show Legend at bottom of the chart

        without resizing
        ",VertAlBottomOutside:"Show Legend at Bottom
        Show Legend and align bottom
        ",VertAlCenter:"Overlay Legend at Center
        Show Legend at center of the chart

        without resizing
        ",VertAlTop:"Overlay Legend at Top
        Show Legend at top of the chart

        without resizing
        ",VertAlTopOutside:"Show Legend at Top
        Show Legend and align top
        ",VerticalMajor:"Major
        Display Vertical Gridlines for Major units
        ",VerticalMajorMinor:"Major && Minor Gridlines
        Display Vertical Gridlines for Major and Minor units
        ",VerticalMinor:"Minor
        Display Vertical Gridlines for Minor units
        ",VerticalNone:"None
        Do not display Vertical Gridlines
        "},Cloud:{AcceptTermsAndPrivacyPolicy:"I read and accept the {0} and {1}",Account:"Account",AccountSettings:"Account Settings",AddAPlace:"Add a Place",AreYouSureYouWantDeleteReport:'Are you sure you want to delete "{0}" report from disk?',Authorize:"Authorize",AuthorizeWithLicenseKey:"Authorize with License Key",ButtonChangePassword:"Change Password",ButtonDeleteAll:"Delete All",ButtonDesign:"Design Report",ButtonLater:"Later",ButtonLogInWith:"Log In with {0}",ButtonLogout:"Logout",ButtonPublish:"Publish",ButtonPurchase:"Purchase",ButtonRecover:"Recover",ButtonRenew:"Renew",ButtonResendEmail:"Resend Email",ButtonResetPassword:"Reset Password",ButtonRun:"Run",ButtonShare:"Share",ButtonSignUp:"Sign Up",ButtonSignUpWith:"Sign Up with {0}",ButtonSkip:"Skip",ButtonView:"View",ButtonWhereUsed:"Where is it used?",Cancel:"Cancel",CheckBoxMoveToRecycleBin:"Move to Recycle Bin",CheckBoxRememberMe:"Remember Me",CheckForUpdate:"Check for Update",Cloud:"Cloud",Collection:"Collection",Create:"Create",CreateError:"Error while creating report!",CreateNewCollection:"Create New Collection",CreatingReport:"Creating report...",DashboardWindowTitleNew:"New Dashboard",DeleteFile:"Delete File",DoNotAskMe:"Do not ask me again",ExecutionError:"Execution error",ExpiredDate:"Expired Date",FileStorageWindowTitleEdit:"Edit File Storage",FileStorageWindowTitleNew:"New File Storage",FolderWindowTitleEdit:"Edit Folder",FolderWindowTitleNew:"New Folder",ForExample:"For example",GroupBoxAttachedItems:"Attached Items",HyperlinkAgreeToTerms:"By registering you agree to Terms.",HyperlinkAlreadyHaveAccount:"Already have account",HyperlinkForgotPassword:"Forgot password",HyperlinkHavePassword:"Have password",HyperlinkRegisterAccount:"Register FREE account",InstallSamples:"Install Samples",LabelAddCloudFolder:"Connect your Stimulsoft Cloud folder with reports and dashboards.",LabelAddFolder:"Add your local folder with reports and dashboards.",labelCollectionName:"Collection Name:",LabelCreated:"Created:",LabelCreateFolder:"Create a new category in which you can place other items.",LabelCreateNewDashboard:"Create new dashboard.",LabelCreateReportTemplate:"Create report template.",LabelCurrentPassword:"Current Password:",LabelDataFile:"Data File:",LabelDataUrl:"Data URL:",LabelEndDate:"End Date:",labelFileName:"File Name:",LabelForeground:"Foreground:",LabelFromReport:"From Report",LabelFromReportCode:"From Report (define in code)",LabelLastLogin:"Last Log In:",LabelLastTime:"Last Time:",LabelModified:"Modified:",LabelNewPassword:"New Password:",LabelNextTime:"Next Time:",labelPassword:"Password:",LabelPermission:"Permission:",LabelPicture:"Picture:",LabelRenderedReport:"Rendered report",LabelResponseAsFile:"Response as File",LabelResultType:"Result Type:",LabelSeparateReport:"Separate report (and scripts) file",LabelShowReport:"Show report:",labelUserName:"User Name:",License:"License",LicenseInformation:"License Information",LicenseKey:"License Key",Login:"Log In",NofM:"{0}: {1} of {2}",Open:"Open",OpenFile:"Open File",OperationCreate:"Create '{0}'",OperationDelete:"Delete '{0}' from Server",OperationDownload:"Download from Server",OperationGetList:"Get List of Files from Server",OperationLogin:"Log In to Server",OperationRename:"Rename '{0}' to '{1}'",OperationUpload:"Upload '{0}' to Server",page:"page",Platforms:"Platforms",Port:"Port",PrivacyPolicy:"Privacy",Products:"Products",Proxy:"Proxy",PublishMessage:"In order to publish this report you should submit it to our service publish.stimulsoft.com",questionOpenThisFile:"Are you sure want to open '{0}' item?",questionOverrideItem:"Do you really want to override '{0}' item?",questionRemoveItem:"Do you really want to remove '{0}' item?",RefreshList:"Refresh List",ReportDocumentFormatNotRecognized:"Format of '{0}' item is not recognized as rendered report format!",ReportTemplateFormatNotRecognized:"Format of '{0}' item is not recognized as report template format!",RequestChangesWhenSavingToCloud:"Request Changes when Saving to Stimulsoft Cloud",RibbonButtonAddRole:"Add Role",RibbonButtonAddUser:"Add User",RibbonButtonAddWorkspace:"Add Workspace",RibbonButtonFolder:"Folder",RibbonTabUsers:"Users",Root:"Root",RootFolder:"Root Folder",Save:"Save",SaveAccountSettings:"Save Account Settings",SaveAsType:"Save as type",SaveFile:"Save File",SavingToStimulsoftCloudPleaseWait:"Saving the report to Stimulsoft Cloud. Please wait!",SearchForOnlineTemplates:"Search for online templates",ShareWindowTitleNew:"Share",ShowAllFiles:"Show All Files",ShowNotificationMessages:"Show Notification Messages",Subscriptions:"Subscriptions",TabItemEmbedCode:"Embed Code",TabItemQRCode:"QR Code",TabItemShare:"Link to Share",TermsOfUse:"Terms",TextActivated:"Activated",TextActivationDate:"Activation Date",TextDelete:"Delete",TextDeletingItems:"Deleting items...",TextDescriptionChanges:"Please, type a description of the changes:",TextFirstName:"First Name",TextFromTo:"From {0} to {1} (Total - {2})",TextItemsWorkspace:"Workspace",TextLastName:"Last Name",TextModify:"Modify",TextNoFavoriteFiles:"No favorite files",TextNoFiles:"No files",TextNoNotifications:"No Notifications",TextNoRecentFiles:"No recent files",TextOwner:"Owner",TextProfile:"Profile",TextReports:"Reports",TextRestoringItems:"Restoring items...",TextRole:"Role",TextRun:"Run",TextUser:"User",TextUserName:"User Name (Email)",TimeHoursAgoFive:"Five hours ago, {0:t}",TimeHoursAgoFour:"Four hours ago, {0:t}",TimeHoursAgoOne:"One hour ago, {0:t}",TimeHoursAgoThree:"Three hours ago, {0:t}",TimeHoursAgoTwo:"Two hours ago, {0:t}",TimeMinutesAgoFive:"Five minutes ago, {0:t}",TimeMinutesAgoFour:"Four minutes ago, {0:t}",TimeMinutesAgoLessOne:"Less than a minute ago",TimeMinutesAgoN:"{0} minutes ago, {1:t}",TimeMinutesAgoOne:"One minute ago, {0:t}",TimeMinutesAgoThree:"Three minutes ago, {0:t}",TimeMinutesAgoTwo:"Two minutes ago, {0:t}",TimeToday:"Today, {0:t}",TimeYesterday:"Yesterday, {0:t}",ToolTipAddRole:"Creating a new role in the workspace.",ToolTipAddUser:"Creating a new user in the selected role.",ToolTipAspNet:"Publish the selected report to the ASP.NET application.",ToolTipAspNetMvc:"Publish the selected report to the ASP.NET MVC application.",ToolTipAttach:"Attach items to the selected report.",ToolTipCreate:"Create a new item.",ToolTipDelete:"Delete the selected items.",ToolTipDeleted:"Show deleted items",ToolTipDownload:"Download the selected item.",ToolTipEdit:"Edit the selected item.",ToolTipGridMode:"List view",ToolTipInfo:"View details",ToolTipJs:"Publish the selected report as the HTML page",ToolTipPublish:"Prepare the selected report to be deployed in your application.",ToolTipRecover:"Recover the selected items.",ToolTipRunWithoutPreview:"Render the selected report without preview",ToolTipShare:"Share the selected file.",ToolTipSort:"Sort options",ToolTipThumbnailMode:"Thumbnail View",ToolTipViewFile:"Show the selected file.",ToolTipViewReport:"Show the selected report in the viewer.",WeDidntFindAnything:"We didn't find anything to show here.",WindowDescriptionDelete:"Are you sure you want to delete the selected items?",WindowDescriptionRecover:"Selected items will be recovered from the Recycle Bin.",WindowTitleDelete:"Delete Items",WindowTitleForgotPassword:"Forgot Password",WindowTitleLogin:"Log In",WindowTitleRecover:"Recover Items",WindowTitleRoleEdit:"Edit Role",WindowTitleRoleNew:"New Role",WindowTitleSignUp:"Sign Up",WindowTitleUserEdit:"Edit User",WindowTitleUserNew:"New User",WindowTitleWorkspaceEdit:"Edit Workspace",WindowTitleWorkspaceNew:"New Workspace",WizardBlankReportDescription:"Create a blank report",WizardExcelDescription:"Create a report with Excel data.",WizardJsonDescription:"Create a report with JSON data.",WizardPrivateShare:"No Access",WizardPrivateShareDescription:"External access to the item is restricted.",WizardPublicShare:"Public Access",WizardPublicShareDescription:"External access for any unauthorized user.",WizardRegisteredShare:"Authorized Access",WizardRegisteredShareDescription:"External access only for registered users from any workspace.",WizardXmlDescription:"Create a report with XML data."},Components:{StiBarCode:"Bar Code",StiChart:"Chart",StiCheckBox:"Check Box",StiChildBand:"Child",StiClone:"Clone",StiColumnFooterBand:"Column Footer",StiColumnHeaderBand:"Column Header",StiComboBox:"Combo Box",StiComponent:"Component",StiContainer:"Container",StiContourText:"Contour Text",StiCrossColumn:"Cross-Column",StiCrossColumnTotal:"Cross-Column Total",StiCrossDataBand:"Cross-Data",StiCrossFooterBand:"Cross-Footer",StiCrossGroupFooterBand:"Cross-Group Footer",StiCrossGroupHeaderBand:"Cross-Group Header",StiCrossHeaderBand:"Cross-Header",StiCrossRow:"Cross-Row",StiCrossRowTotal:"Cross-Row Total",StiCrossSummary:"Cross-Summary",StiCrossSummaryHeader:"Cross-Summary Header",StiCrossTab:"Cross-Tab",StiCrossTitle:"Cross-Title",StiDashboard:"Dashboard",StiDataBand:"Data",StiDatePicker:"Date Picker",StiEmptyBand:"Empty Data",StiFooterBand:"Footer",StiGauge:"Gauge",StiGroupFooterBand:"Group Footer",StiGroupHeaderBand:"Group Header",StiHeaderBand:"Header",StiHierarchicalBand:"Hierarchical Data",StiHorizontalLinePrimitive:"Horizontal Line",StiImage:"Image",StiIndicator:"Indicator",StiListBox:"List Box",StiMap:"Map",StiOnlineMap:"Online Map",StiOverlayBand:"Overlay",StiPage:"Page",StiPageFooterBand:"Page Footer",StiPageHeaderBand:"Page Header",StiPanel:"Panel",StiPivotColumn:"Pivot Column",StiPivotRow:"Pivot Row",StiPivotSummary:"Pivot Summary",StiPivotTable:"Pivot Table",StiProgress:"Progress",StiRectanglePrimitive:"Rectangle",StiRegionMap:"Region Map",StiReport:"Report",StiReportSummaryBand:"Report Summary",StiReportTitleBand:"Report Title",StiRichText:"Rich Text",StiRoundedRectanglePrimitive:"Rounded Rectangle",StiShape:"Shape",StiSparkline:"Sparkline",StiSubReport:"Sub-Report",StiSystemText:"System Text",StiTable:"Table",StiText:"Text",StiTextInCells:"Text in Cells",StiTreeView:"Tree View",StiTreeViewBox:"Tree View Box",StiVerticalLinePrimitive:"Vertical Line",StiWinControl:"Win Control",StiZipCode:"ZIP Code"},Dashboard:{DashboardsNotSupportedIntheWPFDesigner:"Dashboards are not supported in the WPF Designer.",DataFilterGrouping:"This operation is used for grouping different columns only.",ViewEditCompilationNotice:"You can't edit the report which has the 'Report.CalculationMode' property equals to 'Compilation' value. Please set that property to an 'Interpretation' value.",AddRange:"Add Range",AfterGroupingData:"Apply after grouping data",AllowUserDrillDown:"Allow User Drill-Down",AllowUserFiltering:"Allow User Filtering",AllowUserSorting:"Allow User Sorting",Blank:"(Blank)",Blanks:"(Blanks)",BooleanFilters:"Boolean Filters",CannotLoadDashboard:"You cannot load a report with dashboards.",ChangeChartType:"Change Chart Type",ChangeMapType:"Change Map Type",ClearAllFormatting:"Clear All Formatting",ClearFilterFrom:"Clear Filter from '{0}'",ColorScale:"Color Scale",ColumnInteractions:"Column Interactions",CustomFilter:"Custom &Filter...",DataBars:"Data Bars",DataNotDefined:"Data is not defined",DateFilters:"Date Filters",Dimension:"Dimension",Dimensions:"Dimensions",DragDropData:"Drag & drop data",DragDropDataFromDictionary:"Drag & drop data from Dictionary",DrillDown:"Drill-Down",DrillDownFiltered:"Drill-Down Filtered",DrillDownSelected:"Drill-Down Selected",DrillUp:"Drill Up",DuplicateField:"Duplicate Field",EditExpression:"Edit Expression",EditField:"Edit Field",EmptyDashboardFooter:"Drag & drop component from ToolBox or data from Dictionary",EmptyDashboardHeader:"Dashboard is empty",FieldInteractions:"Field Interactions",FieldTypeRestrictionHint:"Only '{0}' type field can be used!",FirstLastPoints:"First / Last Points",FirstRowIndex:"First Row Index",FullRowSelect:"Full Row Select",HighLowPoints:"High / Low Points",ImageNotSpecified:"Image not specified",Indicator:"Indicator",InitialValue:"Initial Value",LimitRows:"Skip and Limit Rows",Measure:"Measure",Measures:"Measures",NewDimension:"New Dimension",NewField:"New Field",NewMeasure:"New Measure",NoRanges:"No Ranges",NoResult:"No Result",NSelected:"{0} selected",Nulls:"(Nulls)",NumberFilters:"Number Filters",ParentElement:"Parent Element",RangeMode:"Range Mode",RangeType:"Range Type",RemoveActions:"R&emove Actions",RemoveAllFields:"Remove All Fields",RemoveField:"Remove Field",RemoveMobileSurface:"Remove Mobile Surface",ReplaceValues:"Replace Values",ReportSnapshot:"Report Snapshot",RowsCount:"Rows Count",RunFieldsEditor:"Run Fields Editor",RunFieldsEditorInfo:"Run the Fields Editor to change interaction of each table column.",SelectAll:"(Select &All)",ShowAllValue:"Show (All) Value",ShowBlanks:"Show Blanks",ShowAsPercentages:"Show as Percentages",SkipFirstRows:"Skip First Rows",SortAZ:"Sort A to Z",SortLargestToSmallest:"Sort Largest to Smallest",SortNewestToOldest:"Sort Newest to Oldest",SortOldestToNewest:"Sort Oldest to Newest",SortSmallestToLargest:"Sort Smallest to Largest",SortZA:"Sort Z to A",Sparklines:"Sparklines",StringFilters:"String Filters",TransformationHint:"Click on the table header to apply sorting, filtering or change data. This transformation will be applied only to the data of this item.",Trend:"Trend",ViewModeDesktop:"Desktop",ViewModeMobile:"Mobile"},Database:{Connection:"Connection",Database:"{0} Connection",DatabaseDB2:"IBM DB2 Connection",DatabaseFirebird:"Firebird Connection",DatabaseInformix:"Informix Connection",DatabaseJson:"JSON Data",DatabaseMySQL:"MySQL Connection",DatabaseOdbc:"ODBC Connection",DatabaseOleDb:"OLE DB Connection",DatabaseOracle:"Oracle Connection",DatabaseOracleODP:"Oracle ODP.NET Connection",DatabasePostgreSQL:"PostgreSQL Connection",DatabaseSql:"SQL Connection",DatabaseSqlCe:"SQLServerCE Connection",DatabaseSQLite:"SQLite Connection",DatabaseTeradata:"Teradata Connection",DatabaseUniDirect:"Uni Direct Connection",DatabaseVistaDB:"VistaDB Connection",DatabaseXml:"XML Data"},DatePickerRanges:{CurrentMonth:"Current Month",CurrentQuarter:"Current Quarter",CurrentWeek:"Current Week",CurrentYear:"Current Year",FirstQuarter:"First Quarter",FourthQuarter:"Fourth Quarter",Index:"Index",Last14Days:"Last 14 Days",Last30Days:"Last 30 Days",Last7Days:"Last 7 Days",MonthToDate:"Month To Date",NextMonth:"Next Month",NextQuarter:"Next Quarter",NextWeek:"Next Week",NextYear:"Next Year",PreviousMonth:"Previous Month",PreviousQuarter:"Previous Quarter",PreviousWeek:"Previous Week",PreviousYear:"Previous Year",Quarter:"Quarter",QuarterToDate:"Quarter To Date",SecondQuarter:"Second Quarter",ThirdQuarter:"Third Quarter",Today:"Today",Tomorrow:"Tomorrow",WeekToDate:"Week To Date",Year:"Year",YearToDate:"Year To Date",Yesterday:"Yesterday"},DesignerFx:{AlreadyExists:"'{0}' already exists.",CanNotLoadThisReportTemplate:"Can't load this report template.",CloseDataSourceEditor:"Do you want to close data source editor?",CloseEditor:"Do you want to close editor?",CompilingReport:"Compiling Report",Connecting:"Connecting to Server",ConnectionError:"Connection error",ConnectionSuccessfull:"Connection was successful",Continue:"Continue",DecryptionError:"Decryption error: Wrong password or corrupted file.",EmailSuccessfullySent:"The Email has been successfully sent.",ErrorAtSaving:"Error at saving",ErrorCode:"Error at saving. Error code: {0}",ErrorServer:"Error at saving. Server doesn't respond.",ExportingReport:"Exporting Report",LoadingCode:"Loading Code",LoadingConfiguration:"Loading Configuration",LoadingData:"Loading Data",LoadingDocument:"Loading Document",LoadingImages:"Loading Images",LoadingLanguage:"Loading Language",LoadingReport:"Loading Report",PreviewAs:"Preview as {0}",RenderingReport:"Rendering Report",ReportSuccessfullySaved:"Report is successfully saved.",RetrieveError:"Retrieve columns error",RetrievingColumns:"Retrieving Columns",SavingConfiguration:"Saving Configuration",SavingReport:"Saving Report",TestConnection:"Test Connection",TextNotFound:"The specified text was not found. Text : {0}"},Desktop:{Beginner:"Beginner",ButtonAddCloud:"Add Cloud Folder",ButtonAddFolder:"Add Folder",ButtonCreateDashboard:"Create Dashboard",ButtonCreateReport:"Create Report",Creator:"Creator",Developer:"Developer",DoYouWantToInstallReports:"Do you want to install templates of reports and dashboards?",InstallSamplesDesc:"Let's install our sample projects. They will help you learn the basics of working with our software.",PleaseAnswerWhoAreYou:"Please, answer who you are?",WhoAreYou:"Who Are you?",WhoAreYouBeginnerDescription:"Perfect fit if you are doing the first run of the designer.",WhoAreYouCreatorDescription:"Perfect fit for creating reports. The necessary functionality for design is available.",WhoAreYouDeveloperDescription:"Perfect fit for creating applications. Complete functionality for the report design and embedding components included.",SkillLevel:"Skill Level",ChooseYourSkillLevel:"Choose your skill level"},Dialogs:{StiButtonControl:"Button",StiCheckBoxControl:"Check Box",StiCheckedListBoxControl:"Checked List Box",StiComboBoxControl:"Combo Box",StiDateTimePickerControl:"Date Time Picker",StiForm:"Form",StiGridControl:"Grid",StiGroupBoxControl:"Group Box",StiLabelControl:"Label",StiListBoxControl:"List Box",StiListViewControl:"List View",StiLookUpBoxControl:"LookUp Box",StiNumericUpDownControl:"Numeric Up Down",StiPanelControl:"Panel",StiPictureBoxControl:"Picture Box",StiRadioButtonControl:"Radio Button",StiReportControl:"Report Control",StiRichTextBoxControl:"Rich Text Box",StiTextBoxControl:"Text Box",StiTreeViewControl:"Tree View"},Editor:{CantFind:"Cannot find the data you're searching for.",CollapseToDefinitions:"C&ollapse to Definitions",Column:"Column: {0}",EntireScope:"&Entire Scope",Find:"&Find",FindNext:"&Find Next",FindWhat:"Find What:",FromCursor:"From Cursor",GotoLine:"Go To &Line",InsertLink:"Insert Link",InsertSymbol:"Insert Symbol",Line:"Line: {0}",LineNumber:"Line Number:",LineNumberIndex:"Line Number ({0} - {1})",MarkAll:"&Mark All",MatchCase:"Match &Case",MatchWholeWord:"Match &Whole Word",Outlining:"Out&lining",PromptOnReplace:"Prompt on Replace",Replace:"&Replace",ReplaceAll:"Replace &All",ReplaceWith:"Replace With:",Search:"Search",SearchHiddenText:"Hidden Text",SearchUp:"Search &Up",SelectionOnly:"Selection &Only",ShowAutoGeneratedCode:"Show Auto Generated Code",ShowLineNumbers:"Show Line Numbers",StopOutlining:"Sto&p Outlining",titleFind:"Find",titleGotoLine:"Go To Line",titleReplace:"Replace",ToggleAllOutlining:"Toggle A&ll Outlining",ToggleOutliningExpansion:"&Toggle Outlining Expansion",TypeToSearch:"Type to search",UseRegularExpressions:"Use &Regular Expressions"},Errors:{ComponentIsNotRelease:'Component is not release "{0}".',ContainerIsNotValidForComponent:"Container {0} is not valid for component {1}.",DataNotFound:"Data not found.",DataNotLoaded:"No data loaded.",Error:"Error!",ErrorsList:"Errors List",FieldRequire:'Field "{0}" required filling.',FileNotFound:'File "{0}" not found.',IdentifierIsNotValid:"Identifier '{0}' is not valid.",ImpossibleFindDataSource:"Impossible to Find Data Source.",NameExists:"There is already an object named '{0}'. Objects must have unique names.",NoServices:"Services are not found in '{0}'",NotAssign:"Data Source is not specified.",NotCorrectFormat:"Input string was not in a correct format.",PrimaryColumnAction:"Unable to apply this action to the primary column of the '{0}'.",RelationsNotFound:"Relations not found.",ReportCannotBeSaveDueToErrors:"Report cannot be saved due to errors!",ServiceNotFound:"'{0}' Service not found."},Export:{AddPageBreaks:"Add Page Breaks",AllBands:"All bands",AllowAddOrModifyTextAnnotations:"Allow Add or Modify Text Annotations",AllowCopyTextAndGraphics:"Allow Copy Text and Graphics",AllowEditable:"Allow Editable:",AllowModifyContents:"Allow Modify Contents",AllowPrintDocument:"Allow Print Document",Auto:"Auto",BandsFilter:"Bands Filter:",CancelExport:"Cancel Export",Color:"Color",Compressed:"Compressed",CompressToArchive:"Compress to Archive",ContinuousPages:"Continuous Pages",DataAndHeaders:"Data and Headers",DataAndHeadersFooters:"Data and Headers/Footers",DataOnly:"Data only",DigitalSignature:"Digital Signature",DigitalSignatureCertificateNotSelected:"Certificate is not selected",DigitalSignatureError:"Digital Signature error at step",DocumentSecurity:"Document Security",DotMatrixMode:"Dot-Matrix Mode",EmbeddedFonts:"Embedded Fonts",EmbeddedImageData:"Embedded Image Data",Encoding:"Encoding:",EncryptionError:"Encryption error at step",EscapeCodes:"Escape Codes",Exactly:"Exactly",ExceptEditableFields:"Except Editable Fields",ExportDataOnly:"Export Data Only",ExportEachPageToSheet:"Export Each Page to Sheet",Exporting:"Exporting",ExportingCalculatingCoordinates:"Calculating Coordinates",ExportingCreatingDocument:"Creating Document",ExportingFormatingObjects:"Formatting Objects",ExportingReport:"Exporting Report",ExportMode:"Export Mode:",ExportModeFrame:"Frame",ExportModeTable:"Table",ExportObjectFormatting:"Export Object Formatting",ExportPageBreaks:"Export Page Breaks",ExportRtfTextAsImage:"Export Rich Text as Image",ExportTypeBmpFile:"BMP Image...",ExportTypeCalcFile:"OpenDocument Calc File...",ExportTypeCsvFile:"CSV File...",ExportTypeDataFile:"Data File...",ExportTypeDbfFile:"dBase DBF File...",ExportTypeDifFile:"Data Interchange Format (DIF) File...",ExportTypeExcel2007File:"Microsoft Excel 2007 File...",ExportTypeExcelFile:"Microsoft Excel File...",ExportTypeExcelXmlFile:"Microsoft Excel XML File...",ExportTypeGifFile:"GIF Image...",ExportTypeHtml5File:"HTML5 File...",ExportTypeHtmlFile:"HTML File...",ExportTypeImageFile:"Image File...",ExportTypeJpegFile:"JPEG Image...",ExportTypeJsonFile:"JSON File...",ExportTypeMetafile:"Windows Metafile...",ExportTypeMhtFile:"MHT Web Archive...",ExportTypePcxFile:"PCX Image...",ExportTypePdfFile:"Adobe PDF File...",ExportTypePngFile:"PNG Image...",ExportTypePpt2007File:"Microsoft PowerPoint File...",ExportTypeRtfFile:"Rich Text File...",ExportTypeSvgFile:"Scalable Vector Graphics (SVG) File...",ExportTypeSvgzFile:"Compressed SVG (SVGZ) File...",ExportTypeSylkFile:"Symbolic Link (SYLK) File...",ExportTypeTiffFile:"TIFF Image...",ExportTypeTxtFile:"Text File...",ExportTypeWord2007File:"Microsoft Word File...",ExportTypeWriterFile:"OpenDocument Writer File...",ExportTypeXmlFile:"XML File...",ExportTypeXpsFile:"Microsoft XPS File...",GetCertificateFromCryptoUI:"Get Certificate from Crypto UI",ImageCompressionMethod:"Image Compression Method:",ImageCutEdges:"Cut Edges",ImageFormat:"Image Format:",ImageGrayscale:"Grayscale",ImageMonochrome:"Monochrome",ImageQuality:"Image Quality:",ImageResolution:"Image Resolution:",ImageResolutionMode:"Image Resolution Mode:",ImageType:"Image Type",labelEncryptionKeyLength:"Encryption Key Length:",labelOwnerPassword:"Owner Password:",labelSubjectNameString:"Subject Name String:",labelUserPassword:"User Password:",MonochromeDitheringType:"Monochrome Dithering Type:",MoreSettings:"More Settings",MultipleFiles:"Multiple Files",NoMoreThan:"No More Than",OpenAfterExport:"Open After Export",PdfACompliance:"PDF/A Compliance",PrintingReport:"Printing Report",RemoveEmptySpaceAtBottom:"Remove Empty Space at Bottom of Page",RestrictEditing:"Restrict Editing:",Scale:"Scale:",Separator:"Separator:",Settings:"Settings",SkipColumnHeaders:"Skip Column Headers",StandardPDFFonts:"Standard PDF Fonts",TiffCompressionScheme:"TIFF Compression Scheme:",title:"Export Settings",TxtBorderType:"Border Type",TxtBorderTypeDouble:"Unicode-Double",TxtBorderTypeSimple:"Simple",TxtBorderTypeSingle:"Unicode-Single",TxtCutLongLines:"Cut Long Lines",TxtDrawBorder:"Draw Border",TxtKillSpaceGraphLines:"Kill Space Graph Lines",TxtKillSpaceLines:"Kill Space Lines",TxtPutFeedPageCode:"Put Feed Page Code",Type:"Type:",UseDefaultSystemEncoding:"Use Default System Encoding",UseDigitalSignature:"Use Digital Signature",UseEscapeCodes:"Use Escape Codes",UseOnePageHeaderAndFooter:"Use One Page Header and Footer",UsePageHeadersAndFooters:"Use Page Headers and Footers",UseUnicode:"Use Unicode",X:"X:",Y:"Y:",Zoom:"Zoom:"},FileFilters:{AllFiles:"All Files",AllImageFiles:"All Image Files",BitmapFiles:"Bitmap Files",BmpFiles:"BMP Images (*.bmp)|*.bmp",CalcFiles:"OpenDocument Calc Files (*.ods)|*.ods",CsvFiles:"CSV Files (*.csv)|*.csv",DashboardTemplates:"Dashboard Templates (*.sbi)|*.sbi",DataSetXmlData:"DataSet XML Data (*.xml)|*.xml",DataSetXmlSchema:"DataSet XML Schema (*.xsd)|*.xsd",DbfFiles:"DBF Files (*.dbf)|*.dbf",DictionaryFiles:"Report Dictionaries (*.dct)|*.dct",DifFiles:"DIF Files (*.dif)|*.dif",DllFiles:"DLL Files (*.dll)|*.dll",DocumentFiles:"Report Documents (*.mdc)|*.mdc",EmfFiles:"Metafiles (*.emf)|*.emf",EncryptedDocumentFiles:"Encrypted Report Documents (*.mdx)|*.mdx",EncryptedReportFiles:"Encrypted Report Templates (*.mrx)|*.mrx",Excel2007Files:"Microsoft Excel files (*.xlsx)|*.xlsx",ExcelAllFiles:"Microsoft Excel files (*.xlsx;*.xls)|*.xlsx;*.xls",ExcelFiles:"Microsoft Excel 97-2003 files (*.xls)|*.xls",ExcelXmlFiles:"Microsoft Excel XML files (*.xml)|*.xml",ExeFiles:"EXE Files (*.exe)|*.exe",GifFiles:"GIF Image (*.gif)|*.gif",HtmlFiles:"HTML Files (*.html)|*.html",InheritedLanguageFiles:"{0} Classes for Inherited Reports (*.{1})|*.{2}",JpegFiles:"JPEG image (*.jpg;*.jpeg)|*.jpg;*.jpeg",JsonDocumentFiles:"JSON Report Documents (*.mdc)|*.mdc",JsonFiles:"JSON Files (*.json)|*.json",JsonReportFiles:"JSON Report Templates (*.mrt)|*.mrt",LanguageFiles:"{0} Classes (*.{1})|*.{2}",LanguageForSilverlightFiles:"{0} Classes for Silverlight Reports (*.{1})|*.{2}",MetaFiles:"Metafiles",MhtFiles:"MHT Web Archives (*.mht)|*.mht",PackedDocumentFiles:"Packed Report Documents (*.mdz)|*.mdz",PackedReportFiles:"Packed Report Templates (*.mrz)|*.mrz",PageFiles:"Report Pages (*.pg)|*.pg",PcxFiles:"PCX Images (*.pcx)|*.pcx",PdfFiles:"Adobe PDF Files (*.pdf)|*.pdf",PngFiles:"PNG Images (*.png)|*.png",Ppt2007Files:"Microsoft PowerPoint 2007/2013 Files (*.pptx)|*.pptx",ReportEmbededDataFiles:"Report Templates with Embedded Data (*.mrt)|*.mrt",ReportFiles:"Report Templates (*.mrt)|*.mrt",RtfFiles:"Rich Text (*.rtf)|*.rtf",StandaloneReportFiles:"Standalone Reports (*.exe)|*.exe",StylesFiles:"Report Styles (*.sts)|*.sts",SvgFiles:"SVG Images (*.svg)|*.svg",SvgzFiles:"Compressed SVG Images (*.svgz)|*.svgz",SylkFiles:"SYLK Files (*.slk)|*.slk",TiffFiles:"TIFF Images (*.tiff)|*.tiff",TxtFiles:"Plain Text Files (*.txt)|*.txt",Word2007Files:"Microsoft Word 2007-2016 Files (*.docx)|*.docx",WordFiles:"Microsoft Word 97-2003 Files (*.doc)|*.doc",WriterFiles:"OpenDocument Writer Files (*.odt)|*.odt",XmlFiles:"XML Files (*.xml)|*.xml",XpsFiles:"Microsoft XPS Files (*.xps)|*.xps",ZipArchives:"ZIP Archives (*.zip)|*.zip"},Formats:{custom01:"d",custom02:"D",custom03:"f",custom04:"F",custom05:"yy/MM/dd",custom06:"yyyy/MM/dd",custom07:"G",custom08:"$0.00",custom09:"$0",custom10:"c",custom11:"c1",custom12:"c2",custom13:"#.00",custom14:"#,#",custom15:"n",custom16:"n1",custom17:"n2",custom18:"(###) ### - ####",date01:"*d",date02:"*D",date03:"M.dd",date04:"yy.M.dd",date05:"yy.MM.dd",date06:"MMM.dd",date07:"yy.MMM.dd",date08:"yyyy, MMMM",date09:"*f",date10:"*F",date11:"MM.dd.yyyy",date12:"dd/MM/yyyy",date13:"*g",date14:"*G",date15:"*y",date16:"*m",date17:"s",date18:"u",date19:"*Q",date20:"*YQ",date21:"QI",date22:"YQI",time01:"*t",time02:"*T",time03:"HH:mm",time04:"H:mm",time06:"HH:mm:ss"},FormBand:{AddFilter:"&Add Filter",AddGroup:"&Add Group",AddResult:"&Add Result",AddSort:"&Add Sort",And:"and",Ascending:"Ascending",Descending:"Descending",NoFilters:"No Filters",NoSort:"No Sorting",RemoveFilter:"&Remove Filter",RemoveGroup:"&Remove Group",RemoveResult:"&Remove Result",RemoveSort:"&Remove Sort",SortBy:"Sort by",ThenBy:"Then by",title:"Data Setup"},FormColorBoxPopup:{Color:"Color",Custom:"Custom",NoColor:"No Color",Others:"Others...",System:"System",Web:"Web"},FormConditions:{AaBbCcYyZz:"AaBbCcYyZz",AddCondition:"&Add Condition",AddLevel:"Add Level",AssignExpression:"Assign Expression",BreakIfTrue:"Break if True",BreakIfTrueToolTip:"Breaks condition processing if current one is fulfilled",ChangeFont:"Change Font...",ComponentIsEnabled:"Component is Enabled",NoConditions:"No Conditions",RemoveCondition:"&Remove Condition",SelectStyle:"Select Style",title:"Conditions"},FormCrossTabDesigner:{Columns:"Columns:",DataSource:"Data Source:",Properties:"Properties:",Rows:"Rows:",Summary:"Summary:",Swap:"Swap Rows / Columns",title:"Cross-Tab Designer"},FormDatabaseEdit:{_:"\n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n\t\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t ;\n \n \n \n \n \n ",AccessToken:"Access token",AuthorizationCode:"Authorization Code",ClientId:"Client Id",ClientSecret:"Client Secret",ConnectionString:"Connection String:",DashboardConnections:"Dashboard Connections",DB2Edit:"Edit IBM DB2 Connection",DB2New:"New IBM DB2 Connection",EditConnection:"Edit {0} Connection",Favorites:"Favorites",FirebirdEdit:"Edit Firebird Connection",FirebirdNew:"New Firebird Connection",FirstRowIsHeader:"First Row is Header",GetAuthorizationCode:"Get authorization code",GetTokens:"Get tokens",ImportData:"Import Data",InformixEdit:"Edit Informix Connection",InformixNew:"New Informix Connection",InitialCatalog:"Initial Catalog:",JsonEdit:"Edit JSON Data",JsonNew:"New JSON Data",MySQLEdit:"Edit MySQL Connection",MySQLNew:"New MySQL Connection",NewConnection:"New {0} Connection",OdbcEdit:"Edit ODBC Connection",OdbcNew:"New ODBC Connection",OleDbEdit:"Edit OLE DB Connection",OleDbNew:"New OLE DB Connection",OracleEdit:"Edit Oracle Connection",OracleNew:"New Oracle Connection",OracleODPEdit:"Edit Oracle ODP.NET Connection",OracleODPNew:"New Oracle ODP.NET Connection",PathData:"Path to XML Data:",PathJsonData:"Path to JSON Data:",PathSchema:"Path to XSD Schema:",PathToData:"Path to Data:",Pin:"Pin",PostgreSQLEdit:"Edit PostgreSQL Connection",PostgreSQLNew:"New PostgreSQL Connection",PromptUserNameAndPassword:"Prompt User Name and Password",RecentConnections:"Recent",RedirectUrl:"Redirect URL",RefreshToken:"Refresh token",RefreshAccessToken:"Refresh access token",RelationDirection:"Relation Direction:",ReportConnections:"Report Connections",SelectData:"Select Data",SpreadsheetId:"Spreadsheet Id",SqlCeEdit:"Edit SQLServerCE Connection",SqlCeNew:"New SQLServerCE Connection",SqlEdit:"Edit SQL Connection",SQLiteEdit:"Edit SQLite Connection",SQLiteNew:"New SQLite Connection",SqlNew:"New SQL Connection",TeradataEdit:"Edit Teradata Connection",TeradataNew:"New Teradata Connection",Token:"Token",UniDirectEdit:"Edit Uni Direct Connection",UniDirectNew:"New Uni Direct Connection",Unpin:"Unpin",UseBearerAuthentication:"Use Bearer Authentication",UseToken:"Use Token",UseOwnClientID:'Use own "Client ID" and "Client Secret"',VistaDBEdit:"Edit VistaDB Connection",VistaDBNew:"New VistaDB Connection",XmlEdit:"Edit XML Data",XmlNew:"New XML Data",XmlType:"XML Type:"},FormDesigner:{Code:"Code",ColumnsOne:"One",ColumnsThree:"Three",ColumnsTwo:"Two",CompilingReport:"Compiling Report",DockingPanels:"Panels",HtmlPreview:"HTML Preview",JsPreview:"JS Preview",labelPleaseSelectTypeOfInterface:"Please, select type of interface",LoadImage:"Load Image...",LocalizePropertyGrid:"Localize Property Grid",MarginsNarrow:"Narrow",MarginsNormal:"Normal",MarginsWide:"Wide",OrderToolbars:"Order Toolbars",Others:"Others",Pages:"Pages",Preview:"Preview",PropertyChange:"Change of property '{0}'",RTPreview:"WinRT Preview",SetupToolbox:"Setup Toolbox",ShowDescription:"Show Description",SLPreview:"Silverlight Preview",title:"Designer",WebPreview:"Flash Preview"},FormDictionaryDesigner:{Actions:"Actions",AutoSort:"Auto Sort",BusinessObjectEdit:"Edit Business Object",CalcColumnEdit:"Edit Calculated Column",CalcColumnNew:"New Calculated Column",CategoryEdit:"Edit Category",CategoryNew:"New Category",Child:"Child",ChildOfBusinessObject:"Child of Business Object",ChildSource:"Child Data Source:",ClickHere:"Click here",ColumnEdit:"Edit Column",ColumnNew:"New Column",CreateNewDataSource:"to create the new data source",CreateNewReport:"to create the new report",CsvSeparatorComma:"Comma",CsvSeparatorOther:"Other",CsvSeparatorSemicolon:"Semicolon",CsvSeparatorSpace:"Space",CsvSeparatorSystem:"System",CsvSeparatorTab:"Tab",DatabaseEdit:"Edit Database",DatabaseNew:"New Database",DataParameterEdit:"Edit Parameter",DataParameterNew:"New Parameter",DataSetToBusinessObjects:"DataSet To Business Objects",DataSourceEdit:"Edit Data Source",DataSourceNew:"New Data Source",DataSourcesNew:"New Data Sources",DataTransformationEdit:"Edit Data Transformation",DataTransformationNew:"New Data Transformation",Delete:"Delete",DesignTimeQueryText:"Design-Time Query Text",DictionaryMerge:"Merge Dictionary...",DictionaryNew:"New Dictionary...",DictionaryOpen:"Open Dictionary...",DictionarySaveAs:"Save Dictionary As...",DragNewDataSource:"drag your data directly to this panel",DragNewReport:"drag your report directly to this panel",EditQuery:"Edit Query",ExecutedSQLStatementSuccessfully:"SQL statement executed successfully",ExpressionNew:"New Expression",GetColumnsFromAssembly:"Get Columns from Assembly",ImportRelations:"Import Relations",LabelSeparator:"Separator:",MarkUsedItems:"Mark Used Items",NewBusinessObject:"New Business Object",NewItem:"New Item",OpenAssembly:"Open Assembly",Parent:"Parent",ParentSource:"Parent Source:",Queries:"Queries",QueryNew:"New Query",QueryText:"Query Text",QueryTimeout:"Query Timeout",RelationEdit:"Edit Relation",RelationNew:"New Relation",ResourceEdit:"Edit Resource",ResourceNew:"New Resource",RetrieveColumns:"Retrieve Columns",RetrieveColumnsAllowRun:"Allow Run StoredProc",RetrieveColumnsAndParameters:"Retrieve Columns and Parameters",RetrieveParameters:"Retrieve Parameters",RetrievingDatabaseInformation:"Retrieving database information...",Run:"Run",SelectTypeOfBusinessObject:"Select Type of Business Object",SkipSchemaWizard:"Skip Schema Wizard",SortItems:"Sort Items",Synchronize:"Synchronize",SynchronizeHint:"Synchronizes contents of the Data Store and contents of the Dictionary",TextDropDataFileHere:"Drop Data File Here",TextDropFileHere:"Drop File Here",TextDropImageHere:"Drop Image File Here",title:"Dictionary Designer",ValueNew:"New Value",VariableEdit:"Edit Variable",VariableNew:"New Variable",ViewData:"View Data",ViewQuery:"View Query"},FormFormatEditor:{Boolean:"Boolean",BooleanDisplay:"Display:",BooleanValue:"Value:",Currency:"Currency",CurrencySymbol:"Currency Symbol:",Custom:"Custom",Date:"Date",DateTimeFormat:"Date Time Format",DecimalDigits:"Decimal Digits:",DecimalSeparator:"Decimal Separator:",FormatMask:"Format Mask:",Formats:"Formats",General:"General",GroupSeparator:"Group Separator:",GroupSize:"Group Size:",nameFalse:"False",nameNo:"No",nameOff:"Off",nameOn:"On",nameTrue:"True",nameYes:"Yes",NegativeInRed:"Negative in Red",NegativePattern:"Negative Pattern:",Number:"Number",Percentage:"Percentage",PercentageSymbol:"Percentage Symbol:",PositivePattern:"Positive Pattern:",Properties:"Properties",Sample:"Sample",SampleText:"Sample Text",TextFormat:"Text Format",Time:"Time",title:"Format",UseAbbreviation:"Use Abbreviation",UseGroupSeparator:"Use Group Separator",UseLocalSetting:"Use Local Setting"},FormGlobalizationEditor:{AddCulture:"&Add Culture",AutoLocalizeReportOnRun:"Auto Localize Report on Run",CreateNewCulture:"to create the new culture",GetCulture:"Get Culture Settings from Report",qnGetCulture:"Do you really want to get culture settings from report and override current culture settings?",qnSetCulture:"Do you really want to set culture settings to report components?",RemoveCulture:"&Remove Culture",SetCulture:"Set Culture Settings to Report",title:"Globalization Editor"},FormInteraction:{HyperlinkExternalDocuments:"Hyperlink to External Document",HyperlinkUsingInteractionBookmark:"Hyperlink using Bookmark",HyperlinkUsingInteractionTag:"Hyperlink using Tag"},FormOptions:{AutoSave:"Auto Save",AutoSaveReportToReportClass:"Auto Save Report to C# or VB.NET File",BlankDashboard:"Blank Dashboard",BlankReport:"Blank Report",Default:"Default",Drawing:"Drawing",DrawMarkersWhenMoving:"Draw Markers When Moving",EditAfterInsert:"Edit After Insert",EnableAutoSaveMode:"Enable Auto Save Mode",FillBands:"Fill Bands",FillComponents:"Fill Components",FillContainers:"Fill Containers",FillCrossBands:"Fill Cross Bands",GenerateLocalizedName:"Generate Localized Name",Grid:"Grid",GridDots:"Dots",GridLines:"Lines",GridMode:"Grid Mode",GridSize:"Grid Size",groupAutoSaveOptions:"Auto save options",groupColorScheme:"Please select color scheme of GUI",groupGridDrawingOptions:"Grid drawing options",groupGridOptions:"Grid options",groupGridSize:"Grid size",groupMainOptions:"Main options for working with report designer",groupMarkersStyle:"Marker style",groupOptionsOfQuickInfo:"Options of Quick Info",groupPleaseSelectTypeOfGui:"Please, select the type of GUI",groupReportDisplayOptions:"Report display options",labelColorScheme:"Color Scheme:",labelInfoAutoSave:"Change parameters of reports autosaving",labelInfoDrawing:"Setting parameters of report drawing",labelInfoGrid:"How Grid is shown and used in a report",labelInfoGui:"Select the mode of using GUI in the report designer",labelInfoMain:"Setting basic parameters of the report designer",labelInfoQuickInfo:"Components Quick Info on a page",Main:"Main",MarkersStyle:"Markers Style",MarkersStyleCorners:"Corners",MarkersStyleDashedRectangle:"Dashed Rectangle",MarkersStyleNone:"None",MessageLeftRightNotValid:"Left and Right value is not a valid.",MessageTopBottomNotValid:"Top and Bottom value is not a valid.",Minutes:"{0} minutes",SaveReportEvery:"Save Report Every:",ScaleMode:"Scale Mode",SelectUILanguage:"Select UI Language",ShowDialogForms:"Show Dialog Forms",ShowDimensionLines:"Show Dimension Lines",ShowOldGaugeEditor:"Show Old Gauge Editor",StartScreen:"Start Screen",title:"Options",UseComponentColor:"Use Component Color for Filling",UseLastFormat:"Use Last Format",Welcome:"Welcome"},FormPageSetup:{ApplyTo:"Apply to",Bottom:"Bottom:",Columns:"Columns",groupColumns:"Page columns",groupImage:"Watermark image",groupMargins:"Page margins",groupOrientation:"Paper orientation",groupPaper:"Paper size",groupPaperSource:"Paper source",groupText:"Watermark text",Height:"Height:",labelAngle:"Angle:",labelColumnGaps:"Column Gaps:",labelColumnWidth:"Column Width:",labelImageAlignment:"Image Alignment:",labelImageTransparency:"Image Transparency:",labelInfoColumns:"Setting page columns",labelInfoPaper:"Setting size and orientation for the current page",labelInfoUnit:"Page margins are specified in the current units",labelInfoWatermark:"Setting parameters for showing watermark",labelMultipleFactor:"Multiple Factor:",labelPaperSourceOfFirstPage:"Paper Source of First Page:",labelPaperSourceOfOtherPages:"Paper Source of Other Pages:",labelSelectBrush:"Select Brush:",labelSelectColor:"Select Color:",labelSelectFont:"Select Font:",labelSelectImage:"Select Image:",labelText:"Text:",Left:"Left:",Margins:"Margins",NumberOfColumns:"Number of Columns:",Orientation:"Orientation",PageOrientationLandscape:"Landscape",PageOrientationPortrait:"Portrait",Paper:"Paper:",RebuildReport:"Rebuild Report",Right:"Right:",ScaleContent:"Scale Content",Size:"Size:",title:"Page Setup",Top:"Top:",Width:"Width:"},FormReportSetup:{groupDates:"A date of report creation and a date of the last report change",groupDescription:"Report description",groupMainParameters:"Parameters which effect on report rendering",groupNames:"Report name, report alias, and report author",groupScript:"Script language of your report",groupUnits:"Size and coordinates in a report will be in specified units",labelInfoDescription:"Indicate the information of a report",labelInfoMain:"Change of basic report parameters",labelNumberOfPass:"Number of Pass:",labelReportCacheMode:"Report Cache Mode:",ReportChanged:"Report Changed:",ReportCreated:"Report Created:",title:"Report Options"},FormRichTextEditor:{Bullets:"Bullets",FontName:"Font Name",FontSize:"Font Size",Insert:"Insert Expression",title:"Rich Text Editor"},FormStyleDesigner:{Add:"Add Style",AddCollectionName:"Add Collection Name",ApplyStyleCollectionToReportComponents:"Apply Style Collection to Report Components",ApplyStyles:"Apply Styles",ColorCollectionEditor:"Color Collection Editor",CreateStyleOnBase:"Create a style based on another style",CreateNewComponentStyle:"to create the new component style",CreateStyleCollection:"Create Style Collection",Duplicate:"Duplicate Style",EditColors:"[Edit Colors]",FromStyle:"From Style",GetStyle:"Get Style from Selected Components",MoreStyles:"More Styles",NotSpecified:"Not Specified",Open:"Open Style",Predefined:"Predefined",qnApplyStyleCollection:"Do you want to apply style collection to report components?",Remove:"Remove Style",RemoveExistingStyles:"Remove Existing Styles",Save:"Save Style",Style:"Style",StyleCollectionsNotFound:"Style Collections Not Found!",title:"Style Designer"},FormSystemTextEditor:{Condition:"Condition",LabelDataBand:"Data Band:",LabelDataColumn:"Data Column:",LabelShowInsteadNullValues:"Show Instead Null Values:",LabelSummaryFunction:"Summary Function:",pageExpression:"Expression",pageSummary:"Summary",pageSystemVariable:"System Variable",RunningTotal:"Running Total",SummaryRunning:"Summary Running",SummaryRunningByColumn:"Column",SummaryRunningByPage:"Page",SummaryRunningByReport:"Report"},FormTitles:{ChartWizardForm:"Chart Wizard",ConditionEditorForm:"Condition",ConnectionSelectForm:"Select Type of Connection",ContainerSelectForm:"Select Container",DataAdapterServiceSelectForm:"Select Type of Data",DataRelationSelectForm:"Select Data Relation",DataSetName:"Enter DataSet Name",DataSourceSelectForm:"Select Data Source",DataSourcesNewForm:"New Data Sources",DataStoreViewerForm:"Data Store Viewer",DesignerApplication:"Report Designer",EventEditorForm:"Event Editor",ExpressionEditorForm:"Expression Editor",GroupConditionForm:"Group",InteractionDrillDownPageSelectForm:"Select Drill-Down Page",MasterComponentSelectForm:"Select Master Component",PageAddForm:"Add Page",PageSizeForm:"Page Size",PagesManagerForm:"Pages Manager",PromptForm:"Enter information to logon on to the database",ReportWizard:"Report Wizard",ServiceSelectForm:"Select Service",SqlExpressionsForm:"SQL Expressions",SubReportPageSelectForm:"Select Sub-Report Page",TextEditorForm:"Text Editor",ViewDataForm:"View Data",ViewerApplication:"Report Viewer"},FormViewer:{Bookmarks:"Bookmarks",Close:"Close",CollapseAll:"Collapse All",CompressedDocumentFile:"Compressed Document File",ContextMenu:"Context Menu",DocumentFile:"Document File...",Editor:"Editor",EncryptedDocumentFile:"Encrypted Document File",ExpandAll:"Expand All",Export:"Export...",Find:"Find",FirstPage:"First Page",FullScreen:"Full Screen",GoToPage:"Go To Page",HorScrollBar:"Horizontal Scroll Bar",LabelPageN:"Page:",LastPage:"Last Page",NextPage:"Next Page",Open:"Open...",PageControl:"Page Control",PageDelete:"Delete Page",PageDesign:"Edit Page...",PageNew:"New Page",PageNofM:"Page {0} of {1}",PageofM:"of {0}",PageSize:"Page Size...",PageViewModeContinuous:"Continuous",PageViewModeMultiplePages:"Multiple Pages",PageViewModeSinglePage:"Single Page",Parameters:"Parameters",PrevPage:"Previous Page",Print:"Print...",qnPageDelete:"Do you want to delete page?",Save:"Save...",SendEMail:"Send Email...",StatusBar:"Status Bar",Thumbnails:"Thumbnails",title:"Viewer",titlePageSettings:"Page Settings",Toolbar:"Tool Bar",VerScrollBar:"Vertical Scroll Bar",ViewMode:"View Mode",Zoom:"Zoom",ZoomMultiplePages:"Multiple Pages",ZoomOnePage:"One Page",ZoomPageWidth:"Page Width",ZoomTwoPages:"Two Pages",ZoomXXPages:"{0} X {1} Pages",ZoomXXPagesCancel:"Cancel"},FormViewerFind:{Close:"Close",FindNext:"Find Next",FindPrevious:"Find Previous",FindWhat:"Find What:"},Gauge:{AddNewItem:"Add New Item",BarRangeList:"Bar Range List",GaugeEditorForm:"Gauge Editor",Kind:"Kind",LinearBar:"Linear Bar",LinearMarker:"Linear Marker",LinearRange:"Linear Range",LinearRangeList:"Linear Range List",LinearScale:"Linear Scale",LinearTickLabelCustom:"Linear Tick Label Custom",LinearTickLabelMajor:"Linear Tick Label Major",LinearTickLabelMinor:"Linear Tick Label Minor",LinearTickMarkCustom:"Linear Tick Mark Custom",LinearTickMarkMajor:"Linear Tick Mark Major",LinearTickMarkMinor:"Linear Tick Mark Minor",Needle:"Needle",RadialBar:"Radial Bar",RadialMarker:"Radial Marker",RadialRange:"Radial Range",RadialRangeList:"Radial Range List",RadialScale:"Radial Scale",RadialTickLabelCustom:"Radial Tick Label Custom",RadialTickLabelMajor:"Radial Tick Label Major",RadialTickLabelMinor:"Radial Tick Label Minor",RadialTickMarkCustom:"Radial Tick Mark Custom",RadialTickMarkMajor:"Radial Tick Mark Major",RadialTickMarkMinor:"Radial Tick Mark Minor",StateIndicator:"State Indicator",StateIndicatorFilter:"State Indicator Filter",TickCustomValue:"Tick Custom Value"},Gui:{barname_cancel:"Cancel",barname_caption:"New Toolbar",barname_msginvalidname:"Toolbar name cannot be empty.",barname_name:"&Toolbar Name:",barname_ok:"OK",barrename_caption:"Rename Toolbar",barsys_autohide_tooltip:"Auto-Hide",barsys_close_tooltip:"Close",barsys_customize_tooltip:"Customize",colorpicker_morecolors:"&More Colors...",colorpicker_nofill:"&No Fill",colorpicker_standardcolorslabel:"Standard Colors",colorpicker_themecolorslabel:"Theme Colors",colorpickerdialog_bluelabel:"&Blue:",colorpickerdialog_cancelbutton:"Cancel",colorpickerdialog_caption:"Colors",colorpickerdialog_colormodellabel:"Color Model:",colorpickerdialog_currentcolorlabel:"Current",colorpickerdialog_customcolorslabel:"Colors:",colorpickerdialog_greenlabel:"&Green:",colorpickerdialog_newcolorlabel:"New",colorpickerdialog_okbutton:"OK",colorpickerdialog_redlabel:"&Red:",colorpickerdialog_alphalabel:"&Alpha:",colorpickerdialog_rgblabel:"RGB",colorpickerdialog_standardcolorslabel:"Colors:",colorpickerdialog_tabcustom:"Custom",colorpickerdialog_tabstandard:"Standard",cust_btn_close:"Close",cust_btn_delete:"Delete",cust_btn_keyboard:"&Keyboard...",cust_btn_new:"&New...",cust_btn_rename:"&Rename...",cust_btn_reset:"&Reset...",cust_btn_resetusage:"&Reset my usage data",cust_caption:"Customize",cust_cbo_fade:"Fade",cust_cbo_none:"(None)",cust_cbo_random:"Random",cust_cbo_slide:"Slide",cust_cbo_system:"System Default",cust_cbo_unfold:"Unfold",cust_chk_delay:"Show full menus after a short delay",cust_chk_fullmenus:"Always show full menus",cust_chk_showsk:"Show &Shortcut Keys in ScreenTips",cust_chk_showst:"Show Screen&Tips on Toolbars",cust_lbl_cats:"Cate&gories:",cust_lbl_cmds:"Comman&ds:",cust_lbl_cmdsins:"To add a command to Bar select the category and drag the command out of this box to a Bar.",cust_lbl_menuan:"Menu Animation:",cust_lbl_other:"Other:",cust_lbl_pmt:"Personalized Menus and Toolbars",cust_lbl_tlbs:"Toolb&ars:",cust_mnu_addremove:"&Add or Remove Buttons",cust_mnu_cust:"Customize...",cust_mnu_reset:"Reset Bar",cust_mnu_tooltip:"Bar Options",cust_msg_delete:"Are you sure you want to delete the toolbar?",cust_pm_begingroup:"Begin Group",cust_pm_delete:"Delete",cust_pm_name:"Name:",cust_pm_reset:"Reset",cust_pm_stydef:"Default Style",cust_pm_styimagetext:"Image and Text (Always)",cust_pm_stytextonly:"Text Only (Always)",cust_tab_commands:"Commands",cust_tab_options:"Options",cust_tab_toolbars:"Toolbars",mdisysmenu_close:"Close",mdisysmenu_maximize:"Maximize",mdisysmenu_minimize:"Minimize",mdisysmenu_move:"Move",mdisysmenu_next:"Next",mdisysmenu_restore:"Restore",mdisysmenu_size:"Size",mdisystt_close:"Close",mdisystt_minimize:"Minimize",mdisystt_restore:"Restore",monthcalendar_clearbutton:"Clear",monthcalendar_todaybutton:"Today",navbar_navpaneoptions:"Na&vigation Pane Options...",navbar_showfewerbuttons:"Show &Fewer Buttons",navbar_showmorebuttons:"Show &More Buttons",navPaneCollapseTooltip:"Collapse the Navigation Pane",navPaneExpandTooltip:"Expand the Navigation Pane",sys_custombar:"Custom Bar",sys_morebuttons:"More Buttons"},HelpComponents:{StiBarCode:"This component allows showing bar codes in a report. Bar code data are sent to an object as a string. The string may contain any symbols but only allowed symbols for the selected chart can be displayed.",StiChart:"This component allows showing charts in a report. Different types of charts are available. Among them are bar, line, pie, doughnut, lines, areas, Gantt, scatter charts etc. ",StiChartElement:"This element allows showing charts in a dashboard. Different types of charts are available.",StiCheckBox:'This component allows showing a checkbox in a report. It can display two modes: "enable" or "disable".',StiChildBand:"The Child band can be used to output two bands on one data row.",StiClone:"This component is used to clone parts of a report into a required part of a report. Cloning can be applied only to the panel contents.",StiColumnFooterBand:"This band is used to output footers of columns on the Data band. The Column Footer band is output once under each column. All components which are placed on this band will also be output under each column.",StiColumnHeaderBand:"This band is used to output column headers. The Column Header band is used to output only once. All components which are placed on the band can be output above each column.",StiComboBoxElement:"Represents the ComboBox that is used to either type a value directly into the control or choose from the list of existing options.",StiContainer:"This is the rectangular region where other components, including bands, can be placed. When moving the container the components in it will be moved too. The container can be placed both on a band and on a page.",StiCrossDataBand:"This band is connected to the data source. It is output as many times as there are rows in the data source. A Cross band is output from left to right.",StiCrossFooterBand:"This band is used to output footers of the Cross-Data band. The band is output once after all rows of the Data band. A Cross band is output from left to right.",StiCrossGroupFooterBand:"This band is used to output footers of a group. It is placed under the Cross-Data band. Each Cross-Footer belongs to the specified Cross-Header band. A Cross band is output from left to right.",StiCrossGroupHeaderBand:"This band is the basic one for the report rendering with grouping, when Cross-Data are used. It is impossible to create grouping without this band. The components for showing information by the group are placed on the group header. The information can be group name, date, condition of grouping etc. The band is output in the beginning of each group. A Cross band is output from left to right.",StiCrossHeaderBand:"This band is used to output headers. It is used in association with the Cross band. A Cross band is output from left to right.",StiCrossTab:"The cross-tab component is used for the structured data representation as a table.",StiDataBand:"The Data band is connected to the data source and is output as many times as there are rows in the data source.",StiDatePickerElement:"The element is used to select the date and time.",StiEmptyBand:"This band is used to fill free space on the bottom of a page. This band fills free space on each page of a report.",StiFilterCategory:"A group of elements used for selecting and filtering values.",StiFooterBand:"This band is used to output summary by the Data band. It is placed under the Data band and is output once after all data rows which Data band outputs.",StiGauge:"The component allows you to display a value within a predefined range. It can have different graphical representation.",StiGaugeElement:"The element allows you to display a value within a predefined range. It can have different graphical representation.",StiGroupFooterBand:"The Group Footer band is used to output the group footer. This band is placed after the Data band. And this is the Data band with what the Group Header band is bound. Each Group Footer band belongs to the specified Group Header band. The Group Footer band will not be output without the Group Header band.",StiGroupHeaderBand:"This band is the basic band for rendering reports with grouping. The components for showing information by this group are placed on the group header. It can be group name, date, condition of grouping etc. This band is output once in the beginning of each group.",StiHeaderBand:"This band is used to output headers. It is used together with the data band.",StiHierarchicalBand:"This band is connected to the data source and output as many times as there are rows in the data source. Data are output as a tree.",StiHorizontalLinePrimitive:"This component is used to output a line.",StiImage:"This component is used to output images.",StiImageElement:"This element is used to output images. It supports the following graphic formats, such as BMP, JPG, JPEG, GIF, TIFF, PNG, ICO, WMF, EMF.",StiIndicatorElement:"The element displays the difference in values between the input data.",StiListBoxElement:"The element allows selecting items from a list.",StiMap:"This component is used to display data that is geographically targeted.",StiMapCategory:"Group of elements for working with maps and data.",StiMapElement:"This element is used to display data that is geographically targeted.",StiOnlineMapElement:"This element is used to display geographic markers on the online map.",StiOverlayBand:"This band is used to output watermarks on a page.",StiPageFooterBand:"This band is used to output the information on the bottom of each page such as page numbers, dates, and other additional information.",StiPageHeaderBand:"This band is used to output the page header such as page numbers, dates, and other additional information. It is output on the top of each page.",StiPanel:"A rectangular region that can contain other components, including bands. When the panel is moved the components in it are moved too. A panel can be placed either on a band or on a page.",StiPanelElement:"A rectangular region that can contain other elements. When the panel is moved the elements in it are moved too.",StiPivotTableElement:"The pivot table element is used for the structured data representation as a table.",StiProgressElement:"The element displays the ratio of the input data. It can be presented in different modes - a pie, donut, bars.",StiRectanglePrimitive:"This component is used to output rectangles.",StiRegionMapElement:"This element is used to display data that is geographically targeted.",StiReportSummaryBand:"This band is used to output summaries through the entire report. It is output once in the end of a report.",StiReportTitleBand:"This band is used to output the report title. It is output in the beginning of a report.",StiRichText:"This component is used to output and edit the RTF text. It also supports loading and saving files in the RTF format.",StiRoundedRectanglePrimitive:"This component is used to output rounded rectangles.",StiShape:"This component is used to insert ready-made shapes, such as arrows, diagonal line down, diagonal line up, horizontal line, left and right lines, oval, rectangle, rounded rectangle, top and bottom lines, triangle, vertical line.",StiShapeElement:"This element is used to insert ready-made shapes, such as arrows, diagonal line down, diagonal line up, horizontal line, left and right lines, oval, rectangle, rounded rectangle, top and bottom lines, triangle, vertical line.",StiSubReport:"This component is used to output additional data in different places of a report.",StiTable:"This component is a set of data elements that is organized using a model of vertical columns and horizontal rows.",StiTableElement:"This element is a set of data elements that is organized using a model of vertical columns and horizontal rows.",StiText:"This component is a basic object to output data as a text.",StiTextElement:"This element is a basic object to output data as a text.",StiTextInCells:"The component is used to output a text in cells. It is frequently used for creating forms.",StiTreeViewBoxElement:"The element is used to select values with a drop-down list as a tree.",StiTreeViewElement:"Represents the element that is used to show the hierarchical data as a tree.",StiVerticalLinePrimitive:"This component is used to output vertical lines.",StiWinControl:"The component allows showing visual controls from .NET Framework.",StiZipCode:"This component is used to output the ZIP code."},HelpDesigner:{ActiveRelation:"Sets the priority Relation to bind two tables. It is used in Data Transformation and Dashboards. Only one Relation in each Data Source can be active.",Align:"Change the location of selected components.",AlignBottom:"Align the contents of a component to bottom.",AlignCenter:"Align the contents of a component to center.",AlignComponentBottom:"Allows you to align objects horizontally along the bottom edge of selected components.",AlignComponentCenter:"Allows you to align objects horizontally along the center edge of selected components.",AlignComponentLeft:"Allows you to align objects vertically along the left edge of selected components.",AlignComponentMiddle:"Allows you to align objects vertically along the center edge of selected components.",AlignComponentRight:"Allows you to align objects vertically along the right edge of selected components.",AlignComponentTop:"Allows you to align objects horizontally along the top edge of selected components.",AlignLeft:"Align the contents of a component to left.",AlignMiddle:"Center the contents by the top and bottom borders of a component.",AlignRight:"Align contents of a component to right.",AlignToGrid:"Align the selected components to grid nodes.",AlignTop:"Align the contents of a component to top.",AlignWidth:"Justify the contents of a component.",Angle:"Rotate the contents of the component.",AngleWatermark:"The watermark text rotation angle.",Background:"Change the background of the selected components.",biConditions:"Control list of conditions of the selected components.",BorderColor:"Select the border color of the selected component.",BorderSidesAll:"Switch on all borders sides of the selected components.",BorderSidesBottom:"Switch on bottom border side of the selected components.",BorderSidesLeft:"Switch on left border side of the selected components.",BorderSidesNone:"Switch off all borders sides of the selected components.",BorderSidesRight:"Switch on right border side of the selected components.",BorderSidesTop:"Switch on top border side of the selected components.",BorderStyle:"Select the border style of the selected components.",BringToFront:"Bring the selected component to front.",CenterHorizontally:"Allows you to align a component horizontally relative to container edges in what it is placed.",CenterVertically:"Allows you to align a component vertically relative to container edges in what it is placed.",Close:"Close the Report Designer.",Columns:"Split a page into columns.",ComponentSize:"Change the size of the selected components.",CopyStyle:"Copy Style",CopyToClipboard:"Copy to Clipboard",CurrencySymbol:"Select the currency symbol.",DashboardNew:"Create a new dashboard.",DataStore:"Show data, registered in a report.",DateTimeFormat:"Select the date and time format for the selected components.",DockingPanels:"Panel settings.",DockStyleBottom:"Dock selected components to the bottom side.",DockStyleFill:"Dock selected components to all sides.",DockStyleLeft:"Dock selected components to the left side.",DockStyleNone:"Undock selected components.",DockStyleRight:"Dock selected components to the right side.",DockStyleTop:"Dock selected components to the top side.",FontGrow:"Make the text size larger.",FontName:"The text font.",FontNameWatermark:"The watermark text font.",FontShrink:"Make the text size smaller.",FontSize:"Font size.",FontSizeWatermark:"Change the font size.",FontStyleBold:"Make the text bold.",FontStyleBoldWatermark:"Make the text of the watermark bold.",FontStyleItalic:"Make the text Italic.",FontStyleItalicWatermark:"Make the watermark text Italic.",FontStyleUnderline:"Make the text underlined.",FontStyleUnderlineWatermark:"Make the watermark text underlined.",FormatBoolean:"This format is used to format values of the boolean type.",FormatCurrency:"Display a value as currency. It allows you to display a number with the default currency symbol.",FormatCustom:"This type is used to show values according to custom requirements. This type allows data formatting in the Format Mask.",FormatDate:"Display a value as date. The date format is based on the regional date settings.",FormatGeneral:"Display a value without specific format.",FormatNumber:"It is used for general display of numbers.",FormatPercentage:"Display a value as percentage. Numbers are multiplied by 100 to convert them to percentages.",FormatTime:"Display a value as time. The time format is based on the regional time settings.",FormNew:"Create a new dialog form.",GridMode:"Show grid in lines or dots.",ImageAlignment:"Put a watermark image on a page.",ImageTransparency:"Change the transparency of the watermark image.",Interaction:"Control an interaction of the selected components.",LineSpacing:"Choose how much space appears between lines of text or between paragraphs.",Link:"Link the component to the current container.",LoadImage:"Load watermark images from the file.",Lock:"Lock the component. The component cannot be moved and resized.",MainMenu:"Click here to see the list of possible operations with a report, including opening, closing, and previewing.",MakeHorizontalSpacingEqual:"Allows you to set equal horizontal spacing between selected components.",MakeVerticalSpacingEqual:"Allows you to set equal vertical spacing between selected components.",Margins:"Select the margins of the current page.",menuCheckIssues:"Check through a report to find errors, warnings and get recommendations.",menuDesignerOptions:"Setup report designer options.",menuEditClearContents:"Clear the contents.",menuEditCopy:"Copy the selected components and put them on the Clipboard.",menuEditCut:"Cut the selected components from a report and put them on the Clipboard.",menuEditDelete:"Delete selected components.",menuEditPaste:"Paste the contents of the Clipboard into report.",menuFAQPage:"Go to the web page with frequently asked questions.",menuGlobalizationStrings:"Call the Globalization Strings editor of the current report.",menuHelpAboutProgramm:"Get information about the version of report generator and the version of .NET Framework.",menuHomePage:"Go to the Home page of the product.",menuPageOptions:"Setup the basic parameters of the current page. All page options can be changed using the Property panel.",menuPagesManager:"Run the Pages Manager. It allows moving pages, deleting pages, and creating new pages.",menuPreviewSettings:"Call the Preview Settings editor of the current report. Settings will be applied only when viewing the current report.",menuPrint:"Select a printer, number of copies, and other printing options before printing.",menuPrintPreview:"Preview a report before printing.",menuPrintQuick:"Print a report directly to the default printer. The printing dialog is not displayed.",menuReportOptions:"Setup the basic report options. All options can be changed using the Property panel.",menuStyleDesigner:"Call the Style Designer of the current report.",menuSupport:"Go to the support page to ask a question.",menuViewAlignToGrid:"Align components to grid.",menuViewNormal:"Normal view of a page.",menuViewPageBreakPreview:"The mode of showing a page with borders of segments.",menuViewQuickInfo:"Show quick information of components: component name, alias, contents, events etc.",menuViewShowGrid:"Turn on grid lines to which you can align objects in a report.",menuViewShowHeaders:"Show headers of bands.",menuViewShowOrder:"Show order of components on a page.",menuViewShowRulers:"View the rulers, used to measure and line up objects on a page.",MoveBackward:"Move a component to one level higher in order of placing components on a page.",MoveForward:"Move a component to one level lower in order of placing components on a page.",Orientation:"Switch the pages between portrait and landscape layouts.",PageDelete:"Delete current page from a report.",PageNew:"Create a new page.",PageSetup:"Show the Page Setup dialog box.",PageSize:"Choose the paper size for the current page of a report.",PagesManager:"Run the Pages Manager.",PressF1:"Press F1 for More Details",Redo:"Redo the previously canceled change in a report.",ReportNew:"Create a new report.",ReportOpen:"Open a report in the designer.",ReportPreview:"Preview an edited report in the viewer.",ReportSave:"Save currently edited report.",SelectAll:"Select all components on the current page.",SelectUILanguage:"Select the UI language.",SendToBack:"Move the selected component to back relative to other components.",ServicesConfigurator:"Run the Services Configurator.",Shadow:"Show the shadow of a component.",ShowBehind:"Show the watermark text behind the components.",ShowImageBehind:"Put the watermark image behind all components on a page.",ShowToolbox:"Show the toolbox.",StimulsoftHelp:"Stimulsoft Help",StyleDesigner:"Run Style Designer.",TellMeMore:"Tell me more",Text:"Watermark text.",TextBrush:"Change the text color.",TextBrushWatermark:"Change the text color of the watermark.",TextColor:"Change the text color.",TextFormat:"Select the format of values.",ToolbarStyle:"Set selected style to all selected components.",Undo:"Undo the latest change in a report.",WordWrap:"Wrap the text of a component.",Zoom:"Specify the zoom level of the report."},HelpDialogs:{StiButtonControl:"Represents the Button control.",StiCheckBoxControl:"Represents the Flag control.",StiCheckedListBoxControl:"Shows the List object, in what a flag on the left is shown for each elements.",StiComboBoxControl:"Represents the ComboBox that is used to either type a value directly into the control or choose from the list of existing options.",StiDateTimePickerControl:"Represents the control that allows selecting the date and time. It also allows you to output the date and time in specified format.",StiGridControl:"Represents the Grid control that consist of rows and columns.",StiGroupBoxControl:"Represents the control that creates a container with borders and a header for the UI content.",StiLabelControl:"A label is an user interface control which displays text on a form. It is usually a static control having no interactivity.",StiListBoxControl:"Contains the list of elements for selection.",StiListViewControl:"Represents the ListView control that shows the list of data elements.",StiLookUpBoxControl:"Contains the list of elements for selection.",StiNumericUpDownControl:"Represents the control that shows numeric values.",StiPanelControl:"The Panel elements are used for placing and arrangement objects.",StiPictureBoxControl:"Represents the control for showing an image.",StiRadioButtonControl:"Represents the Radio button control that allows the user to choose only one of a predefined set of options. ",StiRichTextBoxControl:"Represents the RichText control with widen editing.",StiTextBoxControl:"Represents the Text control that is used for showing or editing a text.",StiTreeViewControl:"Represents the control that is used to show the hierachical data as a tree."},HelpViewer:{AddPageBreaks:"Visual separator of report pages.",AllowAddOrModifyTextAnnotations:"Limited access to work with annotations in the document.",AllowCopyTextAndGraphics:"Limited access to copying information.",AllowEditable:"Allows changing components with the Editable property enabled.",AllowModifyContents:"Limited access to the text editing.",AllowPrintDocument:"Limited access to the print operation.",Bookmarks:"Show the bookmark panel that is used for quick navigation to jump directly to a bookmarked location.",BorderType:"The border type of components: simple - drawing borders of components with characters +, -, |; Unicode single - drawing the borders with single box-drawing characters, Unicode double - drawing the borders with double box-drawing characters.",Close:"Close the Report Preview.",CloseDotMatrix:"Close the Dot Matrix Viewer.",Compressed:"Compression of the ready document. It is recommended to always include file compression.",CompressToArchive:"Pack all files and folders in the zip archive.",ContinuousPages:"The mode of placing report pages as a vertical strip.",CurrentPage:"Processing the current page. If this option is selected, then a selected report page will be processed.",CutEdges:"Trim the borders of report pages.",CutLongLines:"Trim the long lines (text lines) by the borders of components.",DigitalSignature:"The digital signature of the file.",DitheringType:"Dithering type: None - no dithering, Ordered, FloydSt. - with dithering.",DotMatrixMode:"This mode allows you to see how will a report look like if to print it on a dot matrix printer.",DrawBorder:"Drawing the borders of components with graphic characters.",Edit:"Edit components.",EmbeddedFonts:"Embed the font files into a PDF file.",EmbeddedImageData:"Embed images directly into the HTML file.",Encoding:"Encoding the report text after export.",EncodingData:"Encoding data file.",EncryptionKeyLength:"The length of the encryption key. The longer the length is, the more difficult it is to decrypt the document, and, accordingly, the document security is on higher priority.",ExportDataOnly:"Export only Data bands (the Table component, Hierachical band).",ExportEachPageToSheet:"Export each report page in a separate Excel sheet.",ExportMode:"Apply a filter condition when exporting. Data Only - only data bands (Table component, Hierarchical Band) will be exported. Data and Headers/Footers - data bands (Table component, Hierarchical Band) and their headers/footers will be exported. All Bands - All the report bands will be exported.",ExportModeHtml:"The way of the HTML page markup.",ExportModeRtf:"Presentation of the report data after export. The Table - the report will look like a table, where each report component is a table cell. Frame - each component will look like a single frame, but without any relationship between them.",ExportObjectFormatting:"Apply formatting to export data from Data bands (Table component, Hierachical band).",ExportPageBreaks:"Show the borders of the report pages on the Excel sheet.",ExportRtfTextAsImage:"Convert the RTF text into the image. If the option is enabled, then, when exporting, RichText decomposes into simpler primitives supported by the PDF format. RichText with complex formatting (embedded images, tables) cannot always be converted correctly. In this case it is recommended to enable this option.",Find:"Find a text in the report.",FullScreen:"Full screen reading.",GetCertificateFromCryptoUI:"Using the interface of the system cryptography library.",ImageCompressionMethod:"The compression method: JPEG - this may cause loss of quality, Flate – no quality loss, Simple, Ordered, FloydSt. - images are output in monochrome.",ImageFormat:"The image format in the finished file.",ImageQuality:"Allows you to choose the ratio of the image quality/size of the file. The higher the quality is, the larger is the size of the finished file.",ImageQualityPdf:"The option is available only in JPEG compression, and allows you to select the ratio of the image quality/size of the file. The higher the quality is, the larger is the size of the finished file.",ImageResolution:"The number of pixels per inch. The higher the number of pixels is, the better is the quality of the image. The size of the finished file is much larger.",ImageType:"The color scheme of the image: color - image after exporting will fully match the image in the viewer; gray – an image after exporting will be of the gray shade; monochrome - the images will be strictly black and white. At the same time, it should be considered that the monochrome has three modes None, Ordered, FloydSt.",KillSpaceLines:"Remove blank lines (rows) in the document.",MultipleFiles:"Each report page can be a separate file.",Open:"Open the previously saved report in the window of preview.",OpenAfterExport:"Automatic opening of the created document (after export) by the program set for these file types.",OwnerPassword:"The password to access operations with files.",PageAll:"Processing of all report pages.",PageDelete:"Delete the selected report page.",PageDesign:"Edit the selected page in the report designer.",PageFirst:"Go to the first report page.",PageGoTo:"Go to the specified report page.",PageLast:"Go to the last report page.",PageNew:"Add a new page to a report.",PageNext:"Go to the next report page.",PagePrevious:"Go to the previous report page.",PageSize:"Change the page parameters in a report.",Parameters:"Showing parameters panel which is used when report rendering.",PdfACompliance:"Support for the standard of the long-term archiving and storing of electronic documents.",Print:"Print a report.",PutFeedPageCode:"Feed pages in the final document with a special character.",RangePages:'The page numbers to be processed. You can specify a single page, a list of pages (using a comma as the separator), as well as specify the range by setting the start page of the range separated by "-" and the end page of the range. For example: 1,3,5-12.',RemoveEmptySpaceAtBottom:"Minimize the empty space at the bottom of the page.",Resources:"Showing resources panel",RestrictEditing:"Limits on changes in a Word document.",Save:"Save a report for further using.",ScaleHtml:"The size (scale) of report pages and items after the export.",ScaleImage:"The size (scale) of the report after exporting. The lower scale is, the greater is the number of pixels per inch, and vice versa.",SendEMail:"Send a report via Email.",Separator:"Separator between the data in the CSV file.",SkipColumnHeaders:"Enable/disable the column headers.",StandardPdfFonts:"14 standard Adobe fonts. If this option is enabled, then only standard 14 fonts will be used in the PDF file. All report fonts are converted into them.",SubjectNameString:"Certificate identifier. The identifier is the name of the certificate owner (full line) or a part of the name (substring).",Thumbnails:"Show the thumbnails that can be used for quick navigation to find the section of the report that you want to jump to.",TiffCompressionScheme:"Compression scheme for TIFF files.",ToolEditor:"This tool allows you to edit contents of text components directly in the report viewer.",TypeExport:"The file the report will be converted into.",UseDefaultSystemEncoding:"Use system coding by default or specify the encoding by standard.",UseOnePageHeaderAndFooter:"Define the page bands Header and Footer as the header and footer of the Microsoft Word document.",UsePageHeadersAndFooters:"Define the bands Page Header and Footer as the header and footer of the document in Microsoft Word.",UserPassword:"The password required to open the document.",UseUnicode:"Extended support for encoding characters. It affects on the internal character encoding within the PDF file, and improves the copying of the text from the PDF file.",ViewModeContinuous:"Show all report pages as a vertical ribbon.",ViewModeMultiplePages:"Zoom the report so that as many pages as can be fit in window are displayed.",ViewModeSinglePage:"Show a single page in the window of preview.",ZoomMultiplePages:"Zoom the report so that the selected pages fit in the window.",ZoomOnePage:"Zoom the report so that an entire page fits in the window.",ZoomPageWidth:"Zoom the report so that the width of the page matches the width of the window.",ZoomTwoPages:"Zoom the report so that two pages fit in the window.",ZoomTxt:"The report size (scale): X - change the horizontal scale, Y - to change the vertical scale."},Interface:{Mouse:"Mouse",MouseDescription:"Optimized for used with mouse",Touch:"Touch",TouchDescription:"Optimized for used with touch"},MainMenu:{menuCheckIssues:"Check for Issues",menuContextClone:"Clone...",menuContextDesign:"Design...",menuContextTextFormat:"Text Format...",menuConvertToCheckBox:"Convert to CheckBox",menuConvertToImage:"Convert to Image",MenuConvertToRichText:"Convert to RichText",menuConvertToText:"Convert to Text",menuDeleteColumn:"Delete Column",menuDeleteRow:"Delete Row",menuEdit:"&Edit",menuEditBusinessObjectFromDataSetNew:"New Business Object From DataSet...",menuEditBusinessObjectNew:"New Business Object...",menuEditCalcColumnNew:"New Calculated Column...",menuEditCantRedo:"Can't Redo",menuEditCantUndo:"Can't Undo",menuEditCategoryNew:"New Category...",menuEditClearContents:"Clear Contents",menuEditColumnNew:"New Column...",menuEditConnectionNew:"New Connection...",menuEditCopy:"&Copy",menuEditCut:"Cu&t",menuEditDataParameterNew:"New Parameter...",menuEditDataSourceNew:"New Data Source...",menuEditDataSourcesNew:"New Data Sources...",menuEditDataTransformationNew:"New Data Transformation...",menuEditDelete:"&Delete",menuEditEdit:"Edit",menuEditImportRelations:"Import Relations...",menuEditPaste:"&Paste",menuEditRedo:"&Redo",menuEditRedoText:"&Redo {0}",menuEditRelationNew:"New Relation...",menuEditRemoveUnused:"Remove Unused Items",menuEditResourceNew:"New Resource...",menuEditSelectAll:"Select &All",menuEditSynchronize:"Synchronize",menuEditUndo:"&Undo",menuEditUndoText:"&Undo {0}",menuEditVariableNew:"New Variable...",menuEditViewData:"View Data...",menuEmbedAllDataToResources:"Embed all data to resources",menuFile:"&File",menuFileClose:"&Close",menuFileDashboardDelete:"Delete Dashboard",menuFileDashboardNew:"New Dashboard",menuFileDashboardOpen:"&Open Dashboard...",menuFileDashboardSaveAs:"Save Dashboard &As...",menuFileExit:"E&xit",menuFileExportXMLSchema:"Export XML Schema...",menuFileFormNew:"New Form",menuFileImportXMLSchema:"Import XML Schema...",menuFileMerge:"Merge...",menuFileMergeXMLSchema:"Merge XML Schema...",menuFileNew:"&New",menuFileOpen:"&Open...",menuFilePageDelete:"Delete Page",menuFilePageNew:"New Page",menuFilePageOpen:"Open Page...",menuFilePageSaveAs:"Save Page As...",menuFilePageSetup:"Page Setup...",menuFileRecentDocuments:"Recent Documents",menuFileRecentLocations:"Recent Locations",menuFileReportNew:"&New Report...",menuFileReportOpen:"&Open Report...",menuFileReportOpenFromGoogleDocs:"Open Report from Google Docs...",menuFileReportPreview:"&Preview",menuFileReportSave:"&Save Report",menuFileReportSaveAs:"Save Report &As...",menuFileReportSaveAsToGoogleDocs:"Save Report As to Google Docs...",menuFileReportSetup:"Report &Setup...",menuFileReportWizardNew:"New Report with &Wizard...",menuFileSave:"&Save",menuFileSaveAs:"Save As...",menuHelp:"&Help",menuHelpAboutProgramm:"&About...",menuHelpContents:"&Contents",menuHelpDemos:"Demos",menuHelpDocumentation:"Documentation",menuHelpFAQPage:"FAQ Page",menuHelpForum:"Forum",menuHelpHowToRegister:"How to Register",menuHelpProductHomePage:"Product Home Page",menuHelpSamples:"Samples",menuHelpSupport:"&Support",menuHelpTrainingCourses:"Training Courses",menuHelpVideos:"Videos",menuInsertColumnToLeft:"Insert Column To Left",menuInsertColumnToRight:"Insert Column To Right",menuInsertRowAbove:"Insert Row Above",menuInsertRowBelow:"Insert Row Below",menuJoinCells:"Join Cells",menuMakeThisRelationActive:"Make This Relation Active",menuSelectColumn:"Select Column",menuSelectRow:"Select Row",menuTable:"Table",menuTools:"&Tools",menuToolsDataStore:"Data &Store...",menuToolsDictionary:"&Dictionary...",menuToolsOptions:"&Options...",menuToolsPagesManager:"&Pages Manager...",menuToolsServicesConfigurator:"Services &Configurator...",menuToolsStyleDesigner:"Style &Designer...",menuView:"&View",menuViewAlignToGrid:"Align to Grid",menuViewNormal:"&Normal",menuViewOptions:"Options",menuViewPageBreakPreview:"Page &Break Preview",menuViewQuickInfo:"Quick Info",menuViewQuickInfoNone:"None",menuViewQuickInfoOverlay:"Display Over Components",menuViewQuickInfoShowAliases:"Show Aliases",menuViewQuickInfoShowComponentsNames:"Show Components Names",menuViewQuickInfoShowContent:"Show Content",menuViewQuickInfoShowEvents:"Show Events",menuViewQuickInfoShowFields:"Show Fields",menuViewQuickInfoShowFieldsOnly:"Show Fields Only",menuViewShowGrid:"Show Grid",menuViewShowHeaders:"Show Headers",menuViewShowInsertTab:"Show 'Insert' Tab",menuViewShowOrder:"Show Order",menuViewShowRulers:"Show Rulers",menuViewShowToolbox:"Show Toolbox",menuViewToolbars:"Toolbars"},Map:{LinkDataForm:"Link Data",MapEditorForm:"Map Editor"},Messages:{ChangeRequestTimeout:"The request timeout for SQL queries exceeds the request timeout of the report designer. Set the request timeout for the designer component in no less than {0} seconds.",DoNotShowAgain:"Do not show again",MessageTimeOutExpired:"Command timeout has expired!",RenderingWillOccurInTheInterpretationMode:"When viewing the shared report, the rendering will occur in the interpretation mode!",ResourceCannotBeDeleted:'The resource "{0}" cannot be deleted, because it is used in the report!',ShareURLOfTheItemHasBeenUpdated:"The share URL of the item has been updated!",ShareYourReportYouShouldSave:"To share your report you should save the report to Stimulsoft Cloud!",TextRegistrationSuccessfully:'\n Registration completed successfully!\n\n The Email was sent to "{0}".\n It contains a link to confirm your registration. To complete the registration please follow the link from the email you received.\n ',ThisFieldIsNotSpecified:"This Field is Not Specified!",ThisFunctionEmbedsAllReportDataToTheReport:"This function embeds all report data to the report resources and makes your report standalone. Be careful! All your data settings will be changed and can't be restored.Please, make a backup copy of your report firstly.{0}Are you sure?",YouNeedToLoginFirstToStartUsingTheSoftware:"You need to login first to start using the software. The application will close if you quit the login form."},Notices:{AccessDenied:"Access Denied!",AccountLocked:"Your account is locked! In order to resolve it, please send your request to sales@stimulsoft.com!",ActivationExpiriedBeforeFirstRelease:"Your Subscription of Stimulsoft Reports.Ultimate expired earlier than the first version of our Stimulsoft Server was released!",ActivationLicenseIsNotCorrect:"License file is not correct! Please contact our sales department at sales@stimulsoft.com!",ActivationLockedAccount:"Your account is locked. Please contact our sales department at sales@stimulsoft.com!",ActivationLockedAccountExt:"Your account is locked.",ActivationMaxActivationsReached:"You reached the maximum number of activations. Please contact our sales department at sales@stimulsoft.com!",ActivationMaxComputersReached:"You’ve already registered the maximum number of computers available for your subscription.",ActivationServerIsNotAvailableNow:"Stimulsoft Activation Server is not available now! Please try again later.",ActivationServerVersionNotAllowed:"You cannot activate this version of Stimulsoft Server because your Subscription Program expired! Please log in to your account and check which version of the Stimulsoft Server you can install and activate.",ActivationSomeTroublesOccurred:"An error occurred during activation. Please try again later.",ActivationTrialExpired:"You can continue to use Stimulsoft Designer by purchasing the software.", ActivationUserNameOrPasswordIsWrong:"Your user name (Email) or password is wrong!",ActivationWrongAccountType:"Your account type does not allow to activate Stimulsoft Server!",Alert:"Alert",AuthAccountCantBeUsedNow:"The account cannot be used now!",AuthAccountIsNotActivated:"The account is not activated yet! Please follow the instructions sent to the Email during registration.",AuthCantChangeRoleBecauseLastAdministratorUser:"The user role cannot be changed because this is the last administrator user in this workspace!",AuthCantChangeRoleBecauseLastSupervisorUser:"The user role cannot be changed because this is the last supervisor user at this server!",AuthCantChangeSystemRole:"The system role cannot be changed!",AuthCantDeleteHimselfUser:"The user cannot delete himself!",AuthCantDeleteLastAdministratorUser:"The user cannot be deleted because this is the last administrator user in this workspace!",AuthCantDeleteLastSupervisorUser:"The user cannot be deleted because this is the last supervisor user at this server!",AuthCantDeleteSystemRole:"Cannot delete this role, because it is a system role!",AuthCantDisableUserBecauseLastAdministratorUser:"The user cannot be disabled because this is the last administrator user in this workspace!",AuthCantDisableUserBecauseLastSupervisorUser:"The user cannot be disabled because this is the last supervisor user at this server!",AuthFirstNameIsNotSpecified:"The first name is not specified!",AuthLastNameIsNotSpecified:"The last name is not specified!",AuthOAuthIdNotSpecified:"The OAuth identificator is not specified!",AuthPasswordIsNotCorrect:"The password is not correct!",AuthPasswordIsNotSpecified:"The password is not specified!",AuthPasswordIsTooShort:"The password is too short (a minimum length is 6 chars)!",AuthRoleCantBeDeletedBecauseUsedByUsers:"You cannot delete the role because it is used by other users.",AuthRoleNameAlreadyExists:'The role with the specified name "{0}" already exists!',AuthRoleNameIsSystemRole:'The role with the specified name "{0}" is a system role!',AuthSendMessageWithInstructions:'A message with further instructions is sent to "{0}"!',AuthTokenIsNotCorrect:"Token is not correct!",AuthUserHasLoggedOut:"You have logged out!",AuthUserNameAlreadyExists:"The username (Email) is already in use!",AuthUserNameIsNotSpecified:"The username (Email) is not specified!",AuthUserNameNotAssociatedWithYourAccount:"Username (email) {0} is not associated with your {1} account!",AuthUserNameOrPasswordIsNotCorrect:"The username (Email) or password is incorrect!",AuthUserNameShouldLookLikeAnEmailAddress:"The username should be similar to the Email address!",AuthWorkspaceNameAlreadyInUse:"The workspace name is already in use!",CommandTimeOut:"Waiting time of processing the command is elapsed!",Congratulations:"Congratulations!",EndDateShouldBeGreaterThanCurrentDate:"The end date should be greater than the current date!",EndDateShouldBeGreaterThanStartDate:"The end date should be greater than start date!",ExecutionError:"Execution error",IsIdentical:'"{0}" and "{1}" are identical."',IsNotAuthorized:'No access to "{0}"!',IsNotCorrect:'"{0}" is incorrect!',IsNotDeleted:'"{0}" is not deleted!',IsNotEqual:'"{0}" is not equal!',IsNotFound:'"{0}" is not found!',IsNotRecognized:'"{0}" is not recognized!',IsNotSpecified:'"{0}" is not specified!',IsRequiredFile:"You should add at least one file!",ItemCantBeAttachedToItself:"The item cannot be attached to itself!",ItemCantBeDeletedBecauseItemIsAttachedToOtherItems:'The elements "{0}" cannot be deleted because they are attached to other elements!',ItemCantBeMovedToSpecifiedPlace:"The item cannot be moved to a specified place!",ItemDoesNotSupport:'The item does not support "{0}"!',KeyAndToKeyAreEqual:"A Key and ToKey are equal!",MaximumComputers:"Maximum of Computers",MessageMaximumFileSizeExceeded:"Attention! The size of the file that you are trying to add exceeds the maximum-allowed size. Do you want to add this file anyway (report processing may slow down significantly)?",NewDesignerAvailable:"Stimulsoft Designer {0} is available.",NewProduct:"The new product is added to your subscription!",NewVersionsAvailable:"New version",NotificationFailed:"Failed result!",NotificationFailedAddFollowingFiles:"Failed to add the following files. Exceeded the size {0} MB.",NotificationFilesUploadingComplete:"The files uploaded successfully.",NotificationFileUploading:'The file "{0}" is uploading.',NotificationItemDelete:"The items are deleting.",NotificationItemDeleteComplete:"The items are deleted successfully.",NotificationItemRestore:"The items are restoring.",NotificationItemRestoreComplete:"The items are restored successfully.",NotificationItemTransfer:"The items are transferring.",NotificationItemTransferComplete:"The items are transferred successfully.",NotificationItemWaitingProcessing:"The items are waiting processing.",NotificationMailing:"Sending",NotificationMailingComplete:'The mailing "{0}" is complete.',NotificationMailingWaitingProcessing:'The mailing "{0}" is waiting processing.',NotificationOperationAborted:"Operation aborted!",NotificationRecycleBinCleaning:"The Recycle Bin is cleaning.",NotificationRecycleBinCleaningComplete:"The Recycle Bin is cleaned successfully.",NotificationRecycleBinWaitingProcessing:"The Recycle Bin cleaning is waiting processing.",NotificationReportExporting:'The report "{0}" is exporting',NotificationReportExportingComplete:'The report "{0}" is exported successfully.',NotificationReportRendering:'The report "{0}" is rendering',NotificationReportRenderingComplete:'The report "{0}" is rendered.',NotificationReportWaitingProcessing:'The report "{0}" is waiting processing.',NotificationSchedulerRunning:'The scheduler "{0}" is running.',NotificationSchedulerRunningComplete:'The scheduler "{0}" running complete.',NotificationSchedulerWaitingProcessing:'The scheduler "{0}" is waiting processing.',NotificationTitleFilesUploading:"Uploading files",NotificationTitleItemRefreshing:'Refreshing item "{0}"',NotificationTitleItemTransferring:'Transferring item "{0}"',NotificationTitleMailing:'Mailing "{0}"',NotificationTitleReportExporting:'Exporting report "{0}"',NotificationTitleReportRendering:'Rendering report "{0}"',NotificationTitleSchedulerRunning:'Running scheduler "{0}"',NotificationTransferring:'The "{0}" is tranferring to "{1}".',NotificationTransferringComplete:'The "{0}" is succesfully transffered to "{1}".',NotificationValueIsNotCorrect:"This value is not correct for the type {0}",OutOfRange:'Out of range ("{0}")!',ParsingCommandException:"An exception of processing the command in the specified xml: {0}",PleaseLogin:"Please login using your Stimulsoft account credentials or register a new account before publishing report.",QuotaMaximumComputingCyclesCountExceeded:"Maximum computing cycles exceeded.",QuotaMaximumDataRowsCountExceeded:"Maximum data rows in one data source exceeded.",QuotaMaximumFileSizeExceeded:"Maximum file size exceeded.",QuotaMaximumItemsCountExceeded:"Maximum items exceeded.",QuotaMaximumRefreshCountExceeded:"Maximum refresh count exceeded",QuotaMaximumReportPagesCountExceeded:"Maximum report pages exceeded.",QuotaMaximumResourcesCountExceeded:"Maximum resources exceeded.",QuotaMaximumResourceSizeExceeded:"Maximum resource size exceeded.",QuotaMaximumUsersCountExceeded:"Maximum users exceeded.",QuotaMaximumWorkspacesCountExceeded:"Maximum workspaces exceeded.",SchedulerCantRunItSelf:"The scheduler cannot run itself!",SessionTimeOut:"Session timeout",SnapshotAlreadyProcessed:"The report snapshot is already processed!",SpecifiedItemIsNot:'The specified item is not "{0}"!',SubscriptionExpired:"Your subscription has expired!",SubscriptionExpiredDate:"Your subscription will expire on {0}",SubscriptionExpiredExt:"Your subscription has expired. Update your subscription to get the last version.",SubscriptionsOut10:"10 days left when the subscription expires!",SubscriptionsOut20:"The subscription period will expire in 20 days!",SuccessfullyRenewed:"Your subscription has been successfully updated!",TrialToLicense:"We would like to thank you for choosing our software!",VersionCopyFromItem:'Copy from item "{0}".',VersionCreatedFromFile:'Created from file "{0}".',VersionCreatedFromItem:'Created from item "{0}".',VersionLoadedFromFile:'Loaded from file "{0}".',VersionNewItemCreation:"New item creation.",Warning:"Warning",WindowClosePreventWhileUploading:"Some files are uploading now, if you close page they will lost. Are you sure you want to close page?",WithSpecifiedKeyIsNotFound:'"{0}" with the specified key is not found!',WouldYouLikeToUpdateNow:"Would you like to update now?",YourTimeSessionHasExpired:"Your time session has expired!",YourTrialHasExpired:"Your trial has expired",YourTrialWillExpire:"Your trial will expire in {0} days.",YouUsingTrialVersion:"You are using a trial version!"},NuGet:{AlreadyDownloaded:"Already Downloaded",AssemblyLoadedSuccessfully:"The assembly is loaded successfully.",AssemblyNotFound:"It is impossible to find {0} assembly to use the {1} connection!",Author:"Author",Dependencies:"Dependencies:",Download:"Download",DownloadAll:"Download All",DownloadAndInstall:"Download and Install",DownloadDataAdapter:"Download Data Adapter",Downloads:"Downloads:",IAccept:"I Accept",IDecline:"I Decline",LicenceFormDesc:"The following package require that you accept their license terms before installing.",LicenceFormDesc1:'By clicking "I Accept" you agree to the license terms for the package listed above. If you do not agree to the license terms, click "I Decline".',LicenceFormTitle:"Licence Acceptance",License:"License:",ProjectUrl:"Project URL:",ReportAbuse:"Report Abuse:",RetrievingInformation:"Retrieving information...",Tags:"Tags:",Title:"Data Adapter from NuGet",ViewLicense:"View License"},Panels:{Dictionary:"Dictionary",Messages:"Messages",Properties:"Properties",ReportTree:"Report Tree"},Password:{gbPassword:"Encrypting of the file",lbPasswordLoad:"Enter the password to open the file",lbPasswordSave:"Password:",PasswordNotEntered:"The password is not entered",StiLoadPasswordForm:"Document encrypting",StiSavePasswordForm:"Password"},Permissions:{AdminAPI:"API",AdminBackgroundTasks:"Background Tasks",AdminPermissions:"Permissions",AdminRecycleBin:"Recycle Bin",AdminShare:"Share",AdminTransfers:"Transfers",ItemCalendars:"Calendars",ItemCloudStorages:"Cloud Storages",ItemContactLists:"Contact Lists",ItemDashboards:"Dashboards",ItemDataSources:"Data Sources",ItemFiles:"Files",ItemFolders:"Folders",ItemReportSnapshots:"Report Snapshots",ItemReportTemplates:"Report Templates",ItemSchedulers:"Schedulers",ReportDesignerBusinessObjects:"Business Objects",ReportDesignerDataColumns:"Data Columns",ReportDesignerDataConnections:"Data Connections",ReportDesignerDataRelations:"Data Relations",ReportDesignerDataSources:"Data Sources",ReportDesignerDictionaryActions:"Dictionary Actions",ReportDesignerRestrictions:"Restrictions",ReportDesignerVariables:"Variables",SystemBackupRestore:"Backup & Restore",SystemEmailTemplates:"Email Templates",SystemLicensing:"Licensing",SystemMonitoring:"Monitoring",SystemUpdate:"Update",SystemWorkspaces:"Workspaces",TextAdministration:"Administration",TextItems:"Items",TextReportDesigner:"Report Designer",TextSystem:"System",TextUsers:"Users",UserHimself:"Himself",UserRoles:"Roles",Users:"Users",UserWorkspace:"Workspace"},PlacementComponent:{MoveLeftFreeSpace:"Moves a component to the left side of a free space, increasing the height of the component to the height of free space.",MoveRightFreeSpace:"Moves a component to the right side of a free space, increasing the height of the component to the height of free space."},PropertyCategory:{AppearanceCategory:"Appearance",AreaCategory:"Area",ArgumentCategory:"Argument",AxisCategory:"Axis",BarCodeAdditionalCategory:"Bar Code Additional",BarCodeCategory:"Bar Code",BehaviorCategory:"Behavior",CapNeedle:"Cap Needle",CellCategory:"Cell",ChartAdditionalCategory:"Chart Additional",ChartCategory:"Chart",ChartMap:"Map",CommonCategory:"Common",CheckCategory:"Check",ColorsCategory:"Colors",ColumnsCategory:"Columns",ComboBoxCategory:"Combo Box",ControlCategory:"Control",ControlsEventsCategory:"Controls Events",CrossTabCategory:"Cross-Tab",DashboardCategory:"Dashboard",DataCategory:"Data",DataCells:"Data Cells",DatePickerCategory:"Date Picker",DescriptionCategory:"Description",DesignCategory:"Design",DisplayCategory:"Display",EngineCategory:"Engine",ExportCategory:"Export",ExportEventsCategory:"Export Events",FooterTableCategory:"Footer Table",GaugeCategory:"Gauge",GlobalizationCategory:"Globalization",GridLinesCategory:"Grid Lines",HeaderTableCategory:"Header Table",HierarchicalCategory:"Hierarchical",ImageAdditionalCategory:"Image Additional",ImageCategory:"Image",IndicatorCategory:"Indicator",InterlacingCategory:"Interlacing",LabelsCategory:"Labels",LegendCategory:"Legend",ListBoxCategory:"List Box",MainCategory:"Main",MarkerCategory:"Marker",MiscCategory:"Misc",MouseEventsCategory:"Mouse Events",NavigationCategory:"Navigation",NavigationEventsCategory:"Navigation Events",Needle:"Needle",OnlineMapCategory:"Online Map",OptionsCategory:"Options",PageAdditionalCategory:"Page Additional",PageCategory:"Page",PageColumnBreakCategory:"Page and Column Break",ParametersCategory:"Parameters",PivotTableCategory:"Pivot Table",PositionCategory:"Position",PrimitiveCategory:"Primitive",PrintEventsCategory:"Print Events",ProgressCategory:"Progress",RegionMapCategory:"Region Map",RenderEventsCategory:"Render Events",SeriesCategory:"Series",SeriesLabelsCategory:"Series Labels",ShapeCategory:"Shape",Size:"Size",SubReportCategory:"Sub-Report",TableCategory:"Table",TextAdditionalCategory:"Text Additional",TextCategory:"Text",TitleCategory:"Title",TreeViewBoxCategory:"Tree View Box",TreeViewCategory:"Tree View",TrendLineCategory:"Trend Line",ValueCategory:"Value",ValueCloseCategory:"Value Close",ValueEndCategory:"Value End",ValueEventsCategory:"Value Events",ValueHighCategory:"Value High",ValueLowCategory:"Value Low",ValueOpenCategory:"Value Open",ViewCategory:"View",WeightCategory:"Weight",WinControlCategory:"Win Control",ZipCodeCategory:"ZIP Code"},PropertyColor:{AliceBlue:"Alice Blue",AntiqueWhite:"Antique White",Aqua:"Aqua",Aquamarine:"Aquamarine",Azure:"Azure",Beige:"Beige",Bisque:"Bisque",Black:"Black",BlanchedAlmond:"Blanched Almond",Blue:"Blue",BlueViolet:"Blue Violet",Brown:"Brown",BurlyWood:"Burly Wood",CadetBlue:"Cadet Blue",Carmine:"Carmine",Chartreuse:"Chartreuse",Chocolate:"Chocolate",Coral:"Coral",CornflowerBlue:"Cornflower Blue",Cornsilk:"Cornsilk",Crimson:"Crimson",Cyan:"Cyan",DarkBlue:"Dark Blue",DarkCyan:"Dark Cyan",DarkGoldenrod:"Dark Goldenrod",DarkGray:"Dark Gray",DarkGreen:"Dark Green",DarkKhaki:"Dark Khaki",DarkMagenta:"Dark Magenta",DarkOliveGreen:"Dark Olive Green",DarkOrange:"Dark Orange",DarkOrchid:"Dark Orchid",DarkRed:"Dark Red",DarkSalmon:"Dark Salmon",DarkSeaGreen:"Dark Sea Green",DarkSlateBlue:"Dark Slate Blue",DarkSlateGray:"Dark Slate Gray",DarkTurquoise:"Dark Turquoise",DarkViolet:"Dark Violet",DeepPink:"Deep Pink",DeepSkyBlue:"Deep Sky Blue",DimGray:"Dim Gray",DodgerBlue:"Dodger Blue",Firebrick:"Firebrick",FloralWhite:"Floral White",ForestGreen:"Forest Green",Fuchsia:"Fuchsia",Gainsboro:"Gainsboro",GhostWhite:"Ghost White",Gold:"Gold",Goldenrod:"Goldenrod",Gray:"Gray",Green:"Green",GreenYellow:"Green Yellow",Honeydew:"Honeydew",HotPink:"Hot Pink",IndianRed:"Indian Red",Indigo:"Indigo",Ivory:"Ivory",Khaki:"Khaki",Lavender:"Lavender",LavenderBlush:"Lavender Blush",LawnGreen:"Lawn Green",LemonChiffon:"Lemon Chiffon",LightBlue:"Light Blue",LightCoral:"Light Coral",LightCyan:"Light Cyan",LightGoldenrodYellow:"Light Goldenrod Yellow",LightGray:"Light Gray",LightGreen:"Light Green",LightPink:"Light Pink",LightSalmon:"Light Salmon",LightSeaGreen:"Light Sea Green",LightSkyBlue:"Light Sky Blue",LightSlateGray:"Light Slate Gray",LightSteelBlue:"Light Steel Blue",LightYellow:"Light Yellow",Lime:"Lime",LimeGreen:"Lime Green",Linen:"Linen",Magenta:"Magenta",Maroon:"Maroon",MediumAquamarine:"Medium Aquamarine",MediumBlue:"Medium Blue",MediumOrchid:"Medium Orchid",MediumPurple:"Medium Purple",MediumSeaGreen:"Medium Sea Green",MediumSlateBlue:"Medium Slate Blue",MediumSpringGreen:"Medium Spring Green",MediumTurquoise:"Medium Turquoise",MediumVioletRed:"Medium Violet Red",MidnightBlue:"Midnight Blue",MintCream:"Mint Cream",MistyRose:"Misty Rose",Moccasin:"Moccasin",NavajoWhite:"Navajo White",Navy:"Navy",OldLace:"Old Lace",Olive:"Olive",OliveDrab:"Olive Drab",Orange:"Orange",OrangeRed:"Orange Red",Orchid:"Orchid",PaleGoldenrod:"Pale Goldenrod",PaleGreen:"Pale Green",PaleTurquoise:"Pale Turquoise",PaleVioletRed:"Pale Violet Red",PapayaWhip:"Papaya Whip",PeachPuff:"Peach Puff",Peru:"Peru",Pink:"Pink",Plum:"Plum",PowderBlue:"Powder Blue",Purple:"Purple",Red:"Red",RosyBrown:"Rosy Brown",RoyalBlue:"Royal Blue",SaddleBrown:"Saddle Brown",Salmon:"Salmon",SandyBrown:"Sandy Brown",SeaGreen:"Sea Green",SeaShell:"Sea Shell",Sienna:"Sienna",Silver:"Silver",SkyBlue:"Sky Blue",SlateBlue:"Slate Blue",SlateGray:"Slate Gray",Snow:"Snow",SpringGreen:"Spring Green",SteelBlue:"Steel Blue",Tan:"Tan",Teal:"Teal",Thistle:"Thistle",Tomato:"Tomato",Transparent:"Transparent",Turquoise:"Turquoise",VeryDarkGray:"Very Dark Gray",Violet:"Violet",Wheat:"Wheat",White:"White",WhiteSmoke:"White Smoke",Yellow:"Yellow",YellowGreen:"Yellow Green"},PropertyEnum:{StiEmptyCellsAsGap:"Gap",StiEmptyCellsAsZero:"Zero",StiEmptyCellsAsConnectPointsWithLine:"Connect Points with Line",boolFalse:"False",boolTrue:"True",BorderStyleFixed3D:"Fixed 3D",BorderStyleFixedSingle:"Fixed Single",BorderStyleNone:"None",ChartAxesTicksAll:"All",ChartAxesTicksMajor:"Major",ChartAxesTicksNone:"None",ChartGridLinesAll:"All",ChartGridLinesMajor:"Major",ChartGridLinesNone:"None",ComboBoxStyleDropDown:"Drop Down",ComboBoxStyleDropDownList:"Drop Down List",ComboBoxStyleSimple:"Simple",ContentAlignmentBottomCenter:"Bottom Center",ContentAlignmentBottomLeft:"Bottom Left",ContentAlignmentBottomRight:"Bottom Right",ContentAlignmentMiddleCenter:"Middle Center",ContentAlignmentMiddleLeft:"Middle Left",ContentAlignmentMiddleRight:"Middle Right",ContentAlignmentTopCenter:"Top Center",ContentAlignmentTopLeft:"Top Left",ContentAlignmentTopRight:"Top Right",DataGridLineStyleNone:"None",DataGridLineStyleSolid:"Solid",DateTimePickerFormatCustom:"Custom",DateTimePickerFormatLong:"Long",DateTimePickerFormatShort:"Short",DateTimePickerFormatTime:"Time",DialogResultAbort:"Abort",DialogResultCancel:"Cancel",DialogResultIgnore:"Ignore",DialogResultNo:"No",DialogResultNone:"None",DialogResultOK:"OK",DialogResultRetry:"Retry",DialogResultYes:"Yes",DuplexDefault:"Default",DuplexHorizontal:"Horizontal",DuplexSimplex:"Simplex",DuplexVertical:"Vertical",FormStartPositionCenterParent:"Center Parent",FormStartPositionCenterScreen:"Center Screen",FormStartPositionManual:"Manual",FormStartPositionWindowsDefaultBounds:"Windows Default Bounds",FormStartPositionWindowsDefaultLocation:"Windows Default Location",FormWindowStateMaximized:"Maximized",FormWindowStateMinimized:"Minimized",FormWindowStateNormal:"Normal",HorizontalAlignmentCenter:"Center",HorizontalAlignmentLeft:"Left",HorizontalAlignmentRight:"Right",HotkeyPrefixHide:"Hide",HotkeyPrefixNone:"None",HotkeyPrefixShow:"Show",LeftRightAlignmentLeft:"Left",LeftRightAlignmentRight:"Right",PictureBoxSizeModeAutoSize:"Auto Size",PictureBoxSizeModeCenterImage:"Center Image",PictureBoxSizeModeNormal:"Normal",PictureBoxSizeModeStretchImage:"Stretch Image",RelationDirectionChildToParent:"Child-To-Parent",RelationDirectionParentToChild:"Parent-To-Child",RightToLeftInherit:"Inherit",RightToLeftNo:"No",RightToLeftYes:"Yes",SelectionModeMultiExtended:"Multi Extended",SelectionModeMultiSimple:"Multi Simple",SelectionModeNone:"None",SelectionModeOne:"One",StiAnchorModeBottom:"Bottom",StiAnchorModeLeft:"Left",StiAnchorModeRight:"Right",StiAnchorModeTop:"Top",StiAngleAngle0:"0 Degrees",StiAngleAngle180:"180 Degrees",StiAngleAngle270:"270 Degrees",StiAngleAngle45:"45 Degrees",StiAngleAngle90:"90 Degrees",StiArrowStyleArc:"Arc",StiArrowStyleArcAndCircle:"Arc and Circle",StiArrowStyleCircle:"Circle",StiArrowStyleLines:"Lines",StiArrowStyleNone:"None",StiArrowStyleTriangle:"Triangle",StiBorderSidesAll:"All",StiBorderSidesBottom:"Bottom",StiBorderSidesLeft:"Left",StiBorderSidesNone:"None",StiBorderSidesRight:"Right",StiBorderSidesTop:"Top",StiBorderStyleBump:"Bump",StiBorderStyleEtched:"Etched",StiBorderStyleFlat:"Flat",StiBorderStyleNone:"None",StiBorderStyleRaised:"Raised",StiBorderStyleRaisedInner:"Raised Inner",StiBorderStyleRaisedOuter:"Raised Outer",StiBorderStyleSunken:"Sunken",StiBorderStyleSunkenInner:"Sunken Inner",StiBorderStyleSunkenOuter:"Sunken Outer",StiBrushTypeGlare:"Glare Brush",StiBrushTypeGradient0:"Gradient Brush, Angle 0",StiBrushTypeGradient180:"Gradient Brush, Angle 180",StiBrushTypeGradient270:"Gradient Brush, Angle 270",StiBrushTypeGradient45:"Gradient Brush, Angle 45",StiBrushTypeGradient90:"Gradient Brush, Angle 90",StiBrushTypeSolid:"Solid Brush",StiCalculationModeCompilation:"Compilation",StiCalculationModeInterpretation:"Interpretation",StiCapStyleArrow:"Arrow",StiCapStyleDiamond:"Diamond",StiCapStyleNone:"None",StiCapStyleOpen:"Open",StiCapStyleOval:"Oval",StiCapStyleSquare:"Square",StiCapStyleStealth:"Stealth",StiChartLabelsStyleCategory:"Category",StiChartLabelsStyleCategoryPercentOfTotal:"Category - Percent Of Total",StiChartLabelsStyleCategoryValue:"Category - Value",StiChartLabelsStylePercentOfTotal:"Percent Of Total",StiChartLabelsStyleValue:"Value",StiChartTitleDockBottom:"Bottom",StiChartTitleDockLeft:"Left",StiChartTitleDockRight:"Right",StiChartTitleDockTop:"Top",StiChartTrendLineTypeExponential:"Exponential",StiChartTrendLineTypeLinear:"Linear",StiChartTrendLineTypeLogarithmic:"Logarithmic",StiChartTrendLineTypeNone:"None",StiCheckStyleCheck:"Check",StiCheckStyleCheckRectangle:"Check Rectangle",StiCheckStyleCross:"Cross",StiCheckStyleCrossCircle:"Cross Circle",StiCheckStyleCrossRectangle:"Cross Rectangle",StiCheckStyleDotCircle:"Dot Circle",StiCheckStyleDotRectangle:"Dot Rectangle",StiCheckStyleNone:"None",StiCheckStyleNoneCircle:"None Circle",StiCheckStyleNoneRectangle:"None Rectangle",StiCheckSumNo:"No",StiCheckSumYes:"Yes",StiCode11CheckSumAuto:"Auto",StiCode11CheckSumNone:"None",StiCode11CheckSumOneDigit:"One Digit",StiCode11CheckSumTwoDigits:"Two Digits",StiColorScaleTypeColor2:"2-Color Scale",StiColorScaleTypeColor3:"3-Color Scale",StiColumnDirectionAcrossThenDown:"Across Then Down",StiColumnDirectionDownThenAcross:"Down Then Across",StiCrossHorAlignmentCenter:"Center",StiCrossHorAlignmentLeft:"Left",StiCrossHorAlignmentNone:"None",StiCrossHorAlignmentRight:"Right",StiDateSelectionModeAutoRange:"Auto Range",StiDateSelectionModeRange:"Range",StiDateSelectionModeSingle:"Single",StiDateTimeTypeDate:"Date",StiDateTimeTypeDateAndTime:"Date and Time",StiDateTimeTypeTime:"Time",StiDesignerScaleModeAutomaticScaling:"Automatic Scaling",StiDesignerScaleModeScaling100:"100% Scaling",StiDesignerSpecificationAuto:"Determine Automatically",StiDesignerSpecificationBeginner:"I'm Beginner",StiDesignerSpecificationBICreator:"I'm Creator",StiDesignerSpecificationDeveloper:"I'm Developer",StiDisplayNameTypeFull:"Full",StiDisplayNameTypeNone:"None",StiDisplayNameTypeShort:"Short",StiDockStyleBottom:"Bottom",StiDockStyleFill:"Fill",StiDockStyleLeft:"Left",StiDockStyleNone:"None",StiDockStyleRight:"Right",StiDockStyleTop:"Top",StiDrillDownModeMultiPage:"Multi Page",StiDrillDownModeSinglePage:"Single Page",StiEanSupplementTypeFiveDigit:"FiveDigit",StiEanSupplementTypeNone:"None",StiEanSupplementTypeTwoDigit:"TwoDigit",StiEmptySizeModeAlignFooterToBottom:"Align Footer to Bottom",StiEmptySizeModeAlignFooterToTop:"Align Footer to Top",StiEmptySizeModeDecreaseLastRow:"Decrease Last Row",StiEmptySizeModeIncreaseLastRow:"Increase Last Row",StiEnumeratorTypeABC:"ABC",StiEnumeratorTypeArabic:"Arabic",StiEnumeratorTypeNone:"None",StiEnumeratorTypeRoman:"Roman",StiExtendedStyleBoolFalse:"False",StiExtendedStyleBoolFromStyle:"From Style",StiExtendedStyleBoolTrue:"True",StiFilterConditionBeginningWith:"beginning with",StiFilterConditionBetween:"between",StiFilterConditionContaining:"containing",StiFilterConditionEndingWith:"ending with",StiFilterConditionEqualTo:"equal to",StiFilterConditionGreaterThan:"greater than",StiFilterConditionGreaterThanOrEqualTo:"greater than or equal to",StiFilterConditionIsBlank:"is blank",StiFilterConditionIsNotBlank:"is not blank",StiFilterConditionIsNotNull:"is not null",StiFilterConditionIsNull:"is null",StiFilterConditionLessThan:"less than",StiFilterConditionLessThanOrEqualTo:"less than or equal to",StiFilterConditionNotBetween:"not between",StiFilterConditionNotContaining:"not containing",StiFilterConditionNotEqualTo:"not equal to",StiFilterDataTypeBoolean:"Boolean",StiFilterDataTypeDateTime:"DateTime",StiFilterDataTypeExpression:"Expression",StiFilterDataTypeNumeric:"Numeric",StiFilterDataTypeString:"String",StiFilterEngineReportEngine:"Report Engine",StiFilterEngineSQLQuery:"SQL Query",StiFilterItemArgument:"Argument",StiFilterItemExpression:"Expression",StiFilterItemValue:"Value",StiFilterItemValueClose:"Value Close",StiFilterItemValueEnd:"Value End",StiFilterItemValueHigh:"Value High",StiFilterItemValueLow:"Value Low",StiFilterItemValueOpen:"Value Open",StiFilterModeAnd:"And",StiFilterModeOr:"Or",StiFontIconGroupAccessibilityIcons:"Accessibility",StiFontIconGroupBrandIcons:"Brand",StiFontIconGroupDirectionalIcons:"Directional",StiFontIconGroupGenderIcons:"Gender",StiFontIconGroupMedicalIcons:"Medical",StiFontIconGroupPaymentIcons:"Payment",StiFontIconGroupSpinnerIcons:"Spinner",StiFontIconGroupTransportationIcons:"Transportation",StiFontIconGroupVideoPlayerIcons:"Video",StiFontIconGroupWebApplicationIcons:"Application",StiFontSizeModeAuto:"Auto",StiFontSizeModeTarget:"Target",StiFontSizeModeValue:"Value",StiFormStartModeOnEnd:"On End",StiFormStartModeOnPreview:"On Preview",StiFormStartModeOnStart:"On Start",StiGaugeCalculationModeAuto:"Auto",StiGaugeCalculationModeCustom:"Custom",StiGaugeRangeModePercentage:"Percentage",StiGaugeRangeModeValue:"Value",StiGaugeRangeTypeColor:"Color",StiGaugeRangeTypeNone:"None",StiGaugeTypeBullet:"Bullet",StiGaugeTypeFullCircular:"Full Circular",StiGaugeTypeHalfCircular:"Half-Circular",StiGaugeTypeHorizontalLinear:"Horizontal Linear",StiGaugeTypeLinear:"Vertical Linear",StiGroupSortDirectionAscending:"Ascending",StiGroupSortDirectionDescending:"Descending",StiGroupSortDirectionNone:"None",StiHorAlignmentCenter:"Center",StiHorAlignmentLeft:"Left",StiHorAlignmentRight:"Right",StiIconAlignmentBottom:"Bottom",StiIconAlignmentLeft:"Left",StiIconAlignmentNone:"None",StiIconAlignmentRight:"Right",StiIconAlignmentTop:"Top",StiImageProcessingDuplicatesTypeGlobalHide:"Global Hide",StiImageProcessingDuplicatesTypeGlobalMerge:"Global Merge",StiImageProcessingDuplicatesTypeGlobalRemoveImage:"Global Remove Image",StiImageProcessingDuplicatesTypeHide:"Hide",StiImageProcessingDuplicatesTypeMerge:"Merge",StiImageProcessingDuplicatesTypeNone:"None",StiImageProcessingDuplicatesTypeRemoveImage:"Remove Image",StiImageRotationFlipHorizontal:"Flip Horizontal",StiImageRotationFlipVertical:"Flip Vertical",StiImageRotationNone:"None",StiImageRotationRotate180:"Rotate 180°",StiImageRotationRotate90CCW:"Rotate 90° CCW",StiImageRotationRotate90CW:"Rotate 90° CW",StiInteractionOnClick:"None",StiInteractionOnClickApplyFilter:"Apply Filter",StiInteractionOnClickDrillDown:"Drill-Down",StiInteractionOnClickOpenHyperlink:"Open Hyperlink",StiInteractionOnClickShowDashboard:"Show Dashboard",StiInteractionOnHoverNone:"None",StiInteractionOnHoverShowHyperlink:"Show Hyperlink",StiInteractionOnHoverShowToolTip:"Show Tool Tip",StiInteractionOpenHyperlinkDestinationCurrentTab:"Current Tab",StiInteractionOpenHyperlinkDestinationNewTab:"New Tab",StiItemSelectionModeMulti:"Multi",StiItemSelectionModeOne:"One",StiKeepDetailsKeepDetailsTogether:"Keep Details Together",StiKeepDetailsKeepFirstDetailTogether:"Keep First Detail Together",StiKeepDetailsKeepFirstRowTogether:"Keep First Row Together",StiKeepDetailsNone:"None",StiLabelsPlacementAutoRotation:"Auto Rotation",StiLabelsPlacementNone:"None",StiLabelsPlacementOneLine:"One Line",StiLabelsPlacementTwoLines:"Two Lines",StiLegendDirectionBottomToTop:"Bottom to Top",StiLegendDirectionLeftToRight:"Left to Right",StiLegendDirectionRightToLeft:"Right to Left",StiLegendDirectionTopToBottom:"Top to Bottom",StiLegendHorAlignmentCenter:"Center",StiLegendHorAlignmentLeft:"Left",StiLegendHorAlignmentLeftOutside:"Left Outside",StiLegendHorAlignmentRight:"Right",StiLegendHorAlignmentRightOutside:"Right Outside",StiLegendVertAlignmentBottom:"Bottom",StiLegendVertAlignmentBottomOutside:"Bottom Outside",StiLegendVertAlignmentCenter:"Center",StiLegendVertAlignmentTop:"Top",StiLegendVertAlignmentTopOutside:"Top Outside",StiMapModeChoropleth:"Choropleth",StiMapModeOnline:"Online",StiMapTypeGroup:"Group",StiMapTypeHeatmap:"Heatmap",StiMapTypeHeatmapWithGroup:"Heatmap With Group",StiMapTypeIndividual:"Individual",StiMapTypeNone:"None",StiMapTypePoints:"Points",StiMarkerAlignmentCenter:"Center",StiMarkerAlignmentLeft:"Left",StiMarkerAlignmentRight:"Right",StiMarkerTypeCircle:"Circle",StiMarkerTypeHalfCircle:"Half Circle",StiMarkerTypeHexagon:"Hexagon",StiMarkerTypeRectangle:"Rectangle",StiMarkerTypeStar5:"Star 5",StiMarkerTypeStar6:"Star 6",StiMarkerTypeStar7:"Star 7",StiMarkerTypeStar8:"Star 8",StiMarkerTypeTriangle:"Triangle",StiNestedFactorHigh:"High",StiNestedFactorLow:"Low",StiNestedFactorNormal:"Normal",StiNumberOfPassDoublePass:"Double Pass",StiNumberOfPassSinglePass:"Single Pass",StiOnlineMapHeatmapColorGradientTypeBlackAquaWhite:"Black Aqua White",StiOnlineMapHeatmapColorGradientTypeBlueRed:"Blue Red",StiOnlineMapHeatmapColorGradientTypeColorSpectrum:"Color Spectrum",StiOnlineMapHeatmapColorGradientTypeDeepSea:"Deep Sea",StiOnlineMapHeatmapColorGradientTypeHeatedMetal:"Heated Metal",StiOnlineMapHeatmapColorGradientTypeIncandescent:"Incandescent",StiOnlineMapHeatmapColorGradientTypeSteppedColors:"Stepped Colors",StiOnlineMapHeatmapColorGradientTypeSunrise:"Sunrise",StiOnlineMapHeatmapColorGradientTypeVisibleSpectrum:"Visible Spectrum",StiOnlineMapLocationTypeAdminDivision1:"AdminDivision1",StiOnlineMapLocationTypeAdminDivision2:"AdminDivision2",StiOnlineMapLocationTypeAuto:"Auto",StiOnlineMapLocationTypeCountryRegion:"CountryRegion",StiOnlineMapLocationTypeNeighborhood:"Neighborhood",StiOnlineMapLocationTypePopulatedPlace:"PopulatedPlace",StiOnlineMapLocationTypePostcode1:"Postcode1",StiOnlineMapLocationTypePostcode2:"Postcode2",StiOnlineMapLocationTypePostcode3:"Postcode3",StiOnlineMapLocationTypePostcode4:"Postcode4",StiOrientationHorizontal:"Horizontal",StiOrientationHorizontalRight:"Horizontal Right",StiOrientationVertical:"Vertical",StiPageOrientationLandscape:"Landscape",StiPageOrientationPortrait:"Portrait",StiPenStyleDash:"Dash",StiPenStyleDashDot:"Dash Dot",StiPenStyleDashDotDot:"Dash Dot Dot",StiPenStyleDot:"Dot",StiPenStyleDouble:"Double",StiPenStyleNone:"None",StiPenStyleSolid:"Solid",StiPlesseyCheckSumModulo10:"Modulo10",StiPlesseyCheckSumModulo11:"Modulo11",StiPlesseyCheckSumNone:"None",StiPreviewModeDotMatrix:"Dot-Matrix",StiPreviewModeStandard:"Standard",StiPreviewModeStandardAndDotMatrix:"Standard and Dot-Matrix",StiPrintOnEvenOddPagesTypeIgnore:"Ignore",StiPrintOnEvenOddPagesTypePrintOnEvenPages:"Print on Even Pages",StiPrintOnEvenOddPagesTypePrintOnOddPages:"Print on Odd Pages",StiPrintOnTypeAllPages:"All Pages",StiPrintOnTypeExceptFirstAndLastPage:"Except First and Last Page",StiPrintOnTypeExceptFirstPage:"Except First Page",StiPrintOnTypeExceptLastPage:"Except Last Page",StiPrintOnTypeOnlyFirstAndLastPage:"Only First and Last Page",StiPrintOnTypeOnlyFirstPage:"Only First Page",StiPrintOnTypeOnlyLastPage:"Only Last Page",StiProcessAtEndOfPage:"End of Page",StiProcessAtEndOfReport:"End of Report",StiProcessAtNone:"None",StiProcessingDuplicatesTypeBasedOnTagHide:"Hide based on Tag",StiProcessingDuplicatesTypeBasedOnTagMerge:"Merge based on Tag",StiProcessingDuplicatesTypeBasedOnTagRemoveText:"Remove Text based on Tag",StiProcessingDuplicatesTypeBasedOnValueAndTagHide:"Hide based on Value and Tag",StiProcessingDuplicatesTypeBasedOnValueAndTagMerge:"Merge based on Value and Tag",StiProcessingDuplicatesTypeBasedOnValueRemoveText:"Remove based on Value Text",StiProcessingDuplicatesTypeGlobalBasedOnValueAndTagHide:"Global Hide based on Value and Tag",StiProcessingDuplicatesTypeGlobalBasedOnValueAndTagMerge:"Global Merge based on Value and Tag",StiProcessingDuplicatesTypeGlobalBasedOnValueRemoveText:"Global Remove based on Value Text",StiProcessingDuplicatesTypeGlobalHide:"Global Hide",StiProcessingDuplicatesTypeGlobalMerge:"Global Merge",StiProcessingDuplicatesTypeGlobalRemoveText:"Global Remove Text",StiProcessingDuplicatesTypeHide:"Hide",StiProcessingDuplicatesTypeMerge:"Merge",StiProcessingDuplicatesTypeNone:"None",StiProcessingDuplicatesTypeRemoveText:"Remove Text",StiProgressElementModeCircle:"Circle",StiProgressElementModeDataBars:"DataBars",StiProgressElementModePie:"Pie",StiRadarStyleXFCircle:"Circle",StiRadarStyleXFPolygon:"Polygon",StiReportCacheModeAuto:"Auto",StiReportCacheModeOff:"Off",StiReportCacheModeOn:"On",StiReportUnitTypeCentimeters:"Centimeters",StiReportUnitTypeHundredthsOfInch:"Hundredths of Inch",StiReportUnitTypeInches:"Inches",StiReportUnitTypeMillimeters:"Millimeters",StiReportUnitTypePixels:"Pixels",StiRestrictionsAll:"All",StiRestrictionsAllowChange:"Allow Change",StiRestrictionsAllowDelete:"Allow Delete",StiRestrictionsAllowMove:"Allow Move",StiRestrictionsAllowResize:"Allow Resize",StiRestrictionsAllowSelect:"Allow Select",StiRestrictionsNone:"None",StiSelectionModeFirst:"First",StiSelectionModeFromVariable:"From Variable",StiSelectionModeNothing:"Nothing",StiSeriesLabelsValueTypeArgument:"Argument",StiSeriesLabelsValueTypeArgumentValue:"Argument - Value",StiSeriesLabelsValueTypeSeriesTitle:"Series Title",StiSeriesLabelsValueTypeSeriesTitleArgument:"Series Title - Argument",StiSeriesLabelsValueTypeSeriesTitleValue:"Series Title - Value",StiSeriesLabelsValueTypeTag:"Tag",StiSeriesLabelsValueTypeValue:"Value",StiSeriesLabelsValueTypeValueArgument:"Value - Argument",StiSeriesLabelsValueTypeWeight:"Weight",StiSeriesSortDirectionAscending:"Ascending",StiSeriesSortDirectionDescending:"Descending",StiSeriesSortTypeArgument:"Argument",StiSeriesSortTypeNone:"None",StiSeriesSortTypeValue:"Value",StiSeriesXAxisBottomXAxis:"Bottom X Axis",StiSeriesXAxisTopXAxis:"Top X Axis",StiSeriesYAxisLeftYAxis:"Left Y Axis",StiSeriesYAxisRightYAxis:"Right Y Axis",StiShapeDirectionDown:"Down",StiShapeDirectionLeft:"Left",StiShapeDirectionRight:"Right",StiShapeDirectionUp:"Up",StiShiftModeDecreasingSize:"Decreasing Size",StiShiftModeIncreasingSize:"Increasing Size",StiShiftModeNone:"None",StiShiftModeOnlyInWidthOfComponent:"Only in Width of Component",StiShowSeriesLabelsFromChart:"From Chart",StiShowSeriesLabelsFromSeries:"From Series",StiShowSeriesLabelsNone:"None",StiShowXAxisBoth:"Both",StiShowXAxisBottom:"Bottom",StiShowXAxisCenter:"Center",StiShowYAxisBoth:"Both",StiShowYAxisCenter:"Center",StiShowYAxisLeft:"Left",StiSizeModeAutoSize:"Auto Size",StiSizeModeFit:"Fit",StiSortDirectionAsc:"Ascending",StiSortDirectionDesc:"Descending",StiSortDirectionNone:"None",StiSortTypeByDisplayValue:"by Display Value",StiSortTypeByValue:"by Value",StiSqlSourceTypeStoredProcedure:"Stored Procedure",StiSqlSourceTypeTable:"Query",StiStyleComponentTypeChart:"Chart",StiStyleComponentTypeCheckBox:"Check Box",StiStyleComponentTypeCrossTab:"Cross-Tab",StiStyleComponentTypeImage:"Image",StiStyleComponentTypePrimitive:"Primitive",StiStyleComponentTypeText:"Text",StiStyleConditionTypeComponentName:"Component Name",StiStyleConditionTypeComponentType:"Component Type",StiStyleConditionTypeLocation:"Location",StiStyleConditionTypePlacement:"Placement",StiSummaryValuesAllValues:"All Values",StiSummaryValuesSkipNulls:"Skip Nulls",StiSummaryValuesSkipZerosAndNulls:"Skip Zeros and Nulls",StiTablceCellTypeCheckBox:"CheckBox",StiTablceCellTypeImage:"Image",StiTablceCellTypeRichText:"RichText",StiTablceCellTypeText:"Text",StiTableAutoWidthNone:"None",StiTableAutoWidthPage:"Page",StiTableAutoWidthTable:"Table",StiTableAutoWidthTypeFullTable:"Full Table",StiTableAutoWidthTypeLastColumns:"Last Columns",StiTableAutoWidthTypeNone:"None",StiTargetModePercentage:"Percentage",StiTargetModeVariation:"Variation",StiTextHorAlignmentCenter:"Center",StiTextHorAlignmentLeft:"Left",StiTextHorAlignmentRight:"Right",StiTextHorAlignmentWidth:"Width",StiTextPositionCenterBottom:"Center Bottom",StiTextPositionCenterTop:"Center Top",StiTextPositionLeftBottom:"Left Bottom",StiTextPositionLeftTop:"Left Top",StiTextPositionRightBottom:"Right Bottom",StiTextPositionRightTop:"Right Top",StiTextQualityStandard:"Standard",StiTextQualityTypographic:"Typographic",StiTextQualityWysiwyg:"Wysiwyg",StiTitlePositionInside:"Inside",StiTitlePositionOutside:"Outside",StiTypeModeList:"List",StiTypeModeNullableValue:"Nullable Value",StiTypeModeRange:"Range",StiTypeModeValue:"Value",StiVertAlignmentBottom:"Bottom",StiVertAlignmentCenter:"Center",StiVertAlignmentTop:"Top",StiViewModeNormal:"Normal",StiViewModePageBreakPreview:"Page Break Preview",StiXmlTypeAdoNetXml:"ADO.NET XML",StiXmlTypeXml:"XML",StringAlignmentCenter:"Center",StringAlignmentFar:"Far",StringAlignmentNear:"Near",StringTrimmingCharacter:"Character",StringTrimmingEllipsisCharacter:"Ellipsis Character",StringTrimmingEllipsisPath:"Ellipsis Path",StringTrimmingEllipsisWord:"Ellipsis Word",StringTrimmingNone:"None",StringTrimmingWord:"Word"},PropertyEvents:{AfterPrintEvent:"After Print",AfterSelectEvent:"After Select",BeforePrintEvent:"Before Print",BeginRenderEvent:"Begin Render",CheckedChangedEvent:"Checked Changed",ClickEvent:"Click",ClosedFormEvent:"Closed Form",ClosingFormEvent:"Closing Form",ColumnBeginRenderEvent:"Column Begin Render",ColumnEndRenderEvent:"Column End Render",ConnectedEvent:"ConnectedEvent",ConnectingEvent:"ConnectingEvent",DisconnectedEvent:"Disconnected",DisconnectingEvent:"Disconnecting",DoubleClickEvent:"Double Click",EndRenderEvent:"End Render",EnterEvent:"Enter",ExportedEvent:"Exported",ExportingEvent:"Exporting",GetArgumentEvent:"Get Argument",GetBookmarkEvent:"Get Bookmark",GetCollapsedEvent:"Get Collapsed",GetCrossValueEvent:"Get Cross Value",GetCutPieListEvent:"Get Cut Pie List",GetDataUrlEvent:"Get DataUrl",GetDisplayCrossValueEvent:"Get Display Cross Value",GetDrillDownReportEvent:"Get Drill-Down Report",GetExcelSheetEvent:"Get Excel Sheet",GetExcelValueEvent:"Get Excel Value",GetHyperlinkEvent:"Get Hyperlink",GetImageDataEvent:"Get Image Data",GetImageURLEvent:"Get Image URL",GetListOfArgumentsEvent:"Get List of Arguments",GetListOfHyperlinksEvent:"Get List of Hyperlinks",GetListOfTagsEvent:"Get List of Tags",GetListOfToolTipsEvent:"Get List of Tool Tips",GetListOfValuesEndEvent:"Get List of Values End",GetListOfValuesEvent:"Get List of Values",GetListOfWeights:"Get List of Weights",GetListOfWeightsEvent:"Get List of Weights",GetSummaryExpressionEvent:"Get Summary Expression",GetTagEvent:"Get Tag",GetTitleEvent:"Get Title",GetToolTipEvent:"Get Tool Tip",GetValueEndEvent:"Get Value End",GetValueEvent:"Get Value",GetWeightEvent:"Get Weight",LeaveEvent:"Leave",LoadFormEvent:"Load Form",MouseDownEvent:"Mouse Down",MouseEnterEvent:"Mouse Enter",MouseLeaveEvent:"Mouse Leave",MouseMoveEvent:"Mouse Move",MouseUpEvent:"Mouse Up",NewAutoSeriesEvent:"New Auto Series",PositionChangedEvent:"Position Changed",PrintedEvent:"Printed",PrintingEvent:"Printing",ProcessCellEvent:"Process Cell",ProcessChartEvent:"Process Chart",RenderingEvent:"Rendering",ReportCacheProcessingEvent:"Report Cache Processing",SelectedIndexChangedEvent:"Selected Index Changed",StateRestoreEvent:"State Restore",StateSaveEvent:"State Save",ValueChangedEvent:"Value Changed"},PropertyHatchStyle:{BackwardDiagonal:"Backward Diagonal",Cross:"Cross",DarkDownwardDiagonal:"Dark Downward Diagonal",DarkHorizontal:"Dark Horizontal",DarkUpwardDiagonal:"Dark Upward Diagonal",DarkVertical:"Dark Vertical",DashedDownwardDiagonal:"Dashed Downward Diagonal",DashedHorizontal:"Dashed Horizontal",DashedUpwardDiagonal:"Dashed Upward Diagonal",DashedVertical:"Dashed Vertical",DiagonalBrick:"Diagonal Brick",DiagonalCross:"Diagonal Cross",Divot:"Divot",DottedDiamond:"Dotted Diamond",DottedGrid:"Dotted Grid",ForwardDiagonal:"Forward Diagonal",Horizontal:"Horizontal",HorizontalBrick:"Horizontal Brick",LargeCheckerBoard:"Large Checker Board",LargeConfetti:"Large Confetti",LargeGrid:"Large Grid",LightDownwardDiagonal:"Light Downward Diagonal",LightHorizontal:"Light Horizontal",LightUpwardDiagonal:"Light Upward Diagonal",LightVertical:"Light Vertical",NarrowHorizontal:"Narrow Horizontal",NarrowVertical:"Narrow Vertical",OutlinedDiamond:"Outlined Diamond",Percent05:"Percent05",Percent10:"Percent10",Percent20:"Percent20",Percent25:"Percent25",Percent30:"Percent30",Percent40:"Percent40",Percent50:"Percent50",Percent60:"Percent60",Percent70:"Percent70",Percent75:"Percent75",Percent80:"Percent80",Percent90:"Percent90",Plaid:"Plaid",Shingle:"Shingle",SmallCheckerBoard:"Small Checker Board",SmallConfetti:"Small Confetti",SmallGrid:"Small Grid",SolidDiamond:"Solid Diamond",Sphere:"Sphere",Trellis:"Trellis",Vertical:"Vertical",Wave:"Wave",Weave:"Weave",WideDownwardDiagonal:"Wide Downward Diagonal",WideUpwardDiagonal:"Wide Upward Diagonal",ZigZag:"Zig Zag"},PropertyMain:{NoElements:"No Elements",AcceptsReturn:"Accepts Return",AcceptsTab:"Accepts Tab",Actual:"Actual",AddClearZone:"Add Clear Zone",Advanced:"Advanced",AggregateFunction:"Aggregate Function",AggregateFunctions:"Aggregate Functions",Alias:"Alias",Alignment:"Alignment",AllowApplyBorderColor:"Allow Apply Border Color",AllowApplyBrush:"Allow Apply Brush",AllowApplyBrushNegative:"Allow Apply Brush Negative",AllowApplyColorNegative:"Allow Apply Color Negative",AllowApplyLineColor:"Allow Apply Line Color",AllowApplyStyle:"Allow Apply Style",AllowExpressions:"Allow Expressions",AllowHtmlTags:"Allow HTML Tags",AllowSeries:"Allow Series",AllowSeriesElements:"Allow Series Elements",AllowSorting:"Allow Sorting",AllowUseBackColor:"Allow Use Back Color",AllowUseBorder:"Allow Use Border",AllowUseBorderFormatting:"Allow Use Border Formatting",AllowUseBorderSides:"Allow Use Border Sides",AllowUseBorderSidesFromLocation:"Allow Use Border Sides from Location",AllowUseBrush:"Allow Use Brush",AllowUseFont:"Allow Use Font",AllowUseForeColor:"Allow Use Fore Color",AllowUseHorAlignment:"Allow Use Hor Alignment",AllowUseImage:"Allow Use Image",AllowUseNegativeTextBrush:"Allow Use Negative Text Brush",AllowUserValues:"Allow User Values",AllowUseTextBrush:"Allow Use Text Brush",AllowUseTextFormat:"Allow Use Text Format",AllowUseTextOptions:"Allow Use Text Options",AllowUseVertAlignment:"Allow Use Vert Alignment",AllowUsingAsSqlParameter:"Allow using as SQL parameter",AlternatingBackColor:"Alternating Back Color",AlternatingCellBackColor:"Alternating Cell Back Color",AlternatingCellForeColor:"Alternating Cell Fore Color",AlternatingDataColor:"Alternating Data Color",AlternatingDataForeground:"Alternating Data Foreground",Anchor:"Anchor",Angle:"Angle",Antialiasing:"Antialiasing",Area:"Area",Argument:"Argument",ArgumentDataColumn:"Argument Data Column",ArgumentFormat:"Argument Format",Arguments:"Arguments",ArrowHeight:"Arrow Height",ArrowStyle:"Arrow Style",ArrowWidth:"Arrow Width",AspectRatio:"Aspect Ratio",Author:"Author",Auto:"Auto",AutoCalculateCenterPoint:"Auto Calculate Center Point",AutoDataColumns:"Auto Data Columns",AutoDataRows:"Auto Data Rows",AutoLocalizeReportOnRun:"Auto Localize Report on Run",AutoRefresh:"Auto Refresh",AutoRotate:"Auto Rotate",AutoScale:"Auto Scale",AutoSeriesColorDataColumn:"Auto Series Color Data Column",AutoSeriesKeyDataColumn:"Auto Series Key Data Column",AutoSeriesTitleDataColumn:"Auto Series Title Data Column",AutoWidth:"Auto Width",AutoWidthType:"Auto Width Type",AvailableInTheViewer:"Available in the Viewer",AxisLabelsColor:"Axis Labels Color",AxisLineColor:"Axis Line Color",AxisTitleColor:"Axis Title Color",AxisValue:"Axis Value",BackColor:"Back Color",Background:"Background",BackgroundColor:"Background Color",BandColor:"Band Color",BarCodeType:"Bar Code Type",BasicStyleColor:"Basic Style Color",Blend:"Blend",Bold:"Bold",Bookmark:"Bookmark",Border:"Border",BorderBrush:"Border Brush",BorderColor:"Border Color",BorderColorNegative:"Border Color Negative",Borders:"Borders",BorderSize:"Border Size",BorderStyle:"Border Style",BorderWidth:"Border Width",Bottom:"Bottom",BottomSide:"Bottom Side",BreakIfLessThan:"Break if Less Than",Brush:"Brush",BrushNegative:"Brush Negative",BrushType:"Brush Type",BubbleBackColor:"Bubble Back Color",BubbleBorderColor:"Bubble Border Color",BusinessObject:"Business Object",CacheAllData:"Cache All Data",CacheTotals:"Cache Totals",CalcInvisible:"Calc Invisible",CalculatedDataColumn:"Calculated Data Column",CalculationMode:"Calculation Mode",CanBreak:"Can Break",Cancel:"Cancel",CanGrow:"Can Grow",CanShrink:"Can Shrink",Categories:"Categories",Category:"Category",CategoryConnections:"Connections",CellBackColor:"Cell Back Color",CellDockStyle:"Cell Dock Style",CellForeColor:"Cell Fore Color",CellHeight:"Cell Height",CellType:"Cell Type",CellWidth:"Cell Width",Center:"Center",CenterPoint:"Center Point",ChartAreaBorderColor:"Chart Area Border Color",ChartAreaBrush:"Chart Area Brush",ChartAreaShowShadow:"Chart Area Show Shadow",ChartType:"Chart Type",Checked:"Checked",CheckOnClick:"Check on Click",CheckStyle:"Check Style",CheckStyleForFalse:"Check Style for False",CheckStyleForTrue:"Check Style for True",Checksum:"Checksum",CheckSum:"CheckSum",CheckSum1:"CheckSum1",CheckSum2:"CheckSum2",Child:"Child",ChildColumns:"Child Columns",ChildSource:"Child Source",ClearFormat:"Clear Format",CloneContainer:"Clone Container",CloseValues:"Close Values",Code:"Code",CodePage:"Code Page",Collapsed:"Collapsed",CollapseGroupFooter:"Collapse Group Footer",CollapsingEnabled:"Collapsing Enabled",Collate:"Collate",CollectionName:"Collection Name",Color:"Color",ColorDataColumn:"Color Data Column",ColorEach:"Color Each",ColorMeter:"Color Meter",Colors:"Colors",ColorScaleCondition:"Color Scale Condition",ColorScaleType:"Color Scale Type",Column:"Column",ColumnCount:"Column Count",ColumnDirection:"Column Direction",ColumnGaps:"Column Gaps",ColumnHeaderBackColor:"Column Header Back Color",ColumnHeaderForeColor:"Column Header Fore Color",ColumnHeadersVisible:"Column Headers Visible",Columns:"Columns",ColumnWidth:"Column Width",CommandTimeout:"Command Timeout",CompanyPrefix:"Company Prefix",ComponentStyle:"Component Style",Condition:"Condition",ConditionOptions:"Condition Options",Conditions:"Conditions",ConnectionString:"Connection String",ConnectOnStart:"Connect on Start",ConstantLines:"Constant Lines",Container:"Container",ContinuousText:"Continuous Text",ContourColor:"Contour Color",Converting:"Converting",ConvertNulls:"Convert Nulls",Copies:"Copies",Count:"Count",CountData:"Count Data",Create:"Create",CreateFieldOnDoubleClick:"Create Field on Double Click",CreateLabel:"Create Label",Culture:"Culture",CustomFonts:"Custom Fonts",CustomFormat:"Custom Format",CutPieList:"Cut Pie List",Data:"Data",DataAdapter:"Data Adapter",DataAdapters:"Data Adapters",DataBarCondition:"Data Bar Condition",DataBindings:"Data Bindings",DataColor:"Data Color",DataColumn:"Data Column",DataColumns:"Data Columns",DataField:"Data Field",DataForeground:"Data Foreground",DataRelation:"Data Relation",DataRows:"Data Rows",DataSource:"Data Source",DataSources:"Data Sources",DataTextField:"Data Text Field",DataTransformation:"Data Transformation",DataType:"Data Type",DataUrl:"Data URL",DateInfo:"Date Info",DateTimeStep:"Date Time Step",Default:"Default",DefaultColor:"Default Color",DefaultHeightCell:"Default Height of Cell",DefaultNamespace:"Default Namespace",DependentColumn:"Dependent Column",DependentValue:"Dependent Value",Description:"Description",Destination:"Destination",DetectUrls:"Detect URLs",DeviceWidth:"Device Width",DialogResult:"Dialog Result",Diameter:"Diameter",Direction:"Direction",Disabled:"Disabled",DisplayNameType:"Display Name Type",DisplayValue:"Display Value",Distance:"Distance",DistanceBetweenTabs:"Distance Between Tabs",Dock:"Dock",DockableTable:"Dockable Table",DockStyle:"Dock Style",DrawBorder:"Draw Border",DrawHatch:"Draw Hatch",DrawLine:"Draw Line",DrillDown:"Drill-Down",DrillDownEnabled:"Drill-Down Enabled",DrillDownMode:"Drill-Down Mode",DrillDownPage:"Drill-Down Page",DrillDownParameter1:"Drill-Down Parameter 1",DrillDownParameter2:"Drill-Down Parameter 2",DrillDownParameter3:"Drill-Down Parameter 3",DrillDownParameter4:"Drill-Down Parameter 4",DrillDownParameter5:"Drill-Down Parameter 5",DrillDownParameters:"Drill-Down Parameters",DrillDownReport:"Drill-Down Report",DropDownAlign:"Drop Down Align",DropDownStyle:"Drop Down Style",DropDownWidth:"Drop Down Width",DropShadow:"Drop Shadow",Duplex:"Duplex",Editable:"Editable",Effects:"Effects",EmptyBorderBrush:"Empty Border Brush",EmptyBorderWidth:"Empty Border Width",EmptyBrush:"Empty Brush",EmptyValue:"Empty Value",Enabled:"Enabled",EnableLog:"Enabled Log",EncodingMode:"Encoding Mode",EncodingType:"Encoding Type",EndCap:"End Cap",EndColor:"End Color",EndValue:"End Value",EndValues:"End Values",EndWidth:"End Width",EngineVersion:"Engine Version",EnumeratorSeparator:"Enumerator Separator",EnumeratorType:"Enumerator Type",ErrorCorrectionLevel:"Error Correction Level",ErrorsCorrectionLevel:"Errors Correction Level",EvenStyle:"Even Style",ExcelSheet:"Excel Sheet",ExcelValue:"Excel Value",Exponential:"Exponential",ExportAsImage:"Export as Image",Expression:"Expression",ExtensionDigit:"Extension Digit",FaqPage:"FAQ Page",Field:"Field",FieldIs:"Field Is",File:"File",Fill:"Fill",FillColor:"Fill Color",Filter:"Filter",FilterElements:"Filter Elements",FilterEngine:"Filter Engine",FilterMode:"Filter Mode",FilterOn:"Filter On",Filters:"Filters",FirstTabOffset:"First Tab Offset",FixedWidth:"Fixed Width",Flat:"Flat",FlatMode:"Flat Mode",Focus:"Focus",Font:"Font",FontBold:"Font Bold",FontItalic:"Font Italic",FontName:"Font Name",FontSize:"Font Size",FontSizeMode:"Font Size Mode",FontStrikeout:"Font Strikeout",FontSubscript:"Subscript",FontSuperscript:"Superscript",FontUnderline:"Font Underline",FontUnit:"Font Unit",FooterCanBreak:"Footer Can Break",FooterCanGrow:"Footer Can Grow",FooterCanShrink:"Footer Can Shrink",FooterColor:"Footer Color",FooterFont:"Footer Font",FooterForeColor:"Footer Fore Color",FooterForeground:"Footer Foreground",FooterPrintAtBottom:"Footer Print At Bottom",FooterPrintIfEmpty:"Footer Print If Empty",FooterPrintOn:"Footer Print On",FooterPrintOnAllPages:"Footer Print On All Pages",FooterPrintOnEvenOddPages:"Footer Print On Even Odd Pages",FooterRowsCount:"Footer Rows Count",Footers:"Footers",ForeColor:"Fore Color",Format:"Format",From:"From",FullConvertExpression:"Full Convert Expression",Function:"Function",Functions:"Functions",GlobalizationStrings:"Globalization Strings",GlobalizedName:"Globalized Name",GlyphColor:"Glyph Color",GridColor:"Grid Color",GridLineColor:"Grid Line Color",GridLinesHor:"Grid Lines Horizontal",GridLinesHorColor:"Grid Lines Horizontal Color",GridLinesHorRight:"Grid Lines Horizontal Right",GridLineStyle:"Grid Line Style",GridLinesVert:"Grid Lines Vertical",GridLinesVertColor:"Grid Lines Vertical Color",GridOutline:"Grid Outline",Group:"Group",GroupDataColumn:"Group Data Column",GroupMeter:"Group Meter",GrowToHeight:"Grow to Height",HeaderBackColor:"Header Back Color",HeaderCanBreak:"Header Can Break",HeaderCanGrow:"Header Can Grow",HeaderCanShrink:"Header Can Shrink",HeaderColor:"Header Color",HeaderFont:"Header Font",HeaderForeColor:"Header Fore Color",HeaderForeground:"Header Foreground",HeaderPrintAtBottom:"Header Print At Bottom",HeaderPrintIfEmpty:"Header Print If Empty",HeaderPrintOn:"Header Print On",HeaderPrintOnAllPages:"Header Print On All Pages",HeaderPrintOnEvenOddPages:"Header Print On Even Odd Pages",HeaderRowsCount:"Header Rows Count",Headers:"Headers",HeaderText:"Header Text",HeatmapColors:"Heatmap Colors",Height:"Height",HideSeriesWithEmptyTitle:"Hide Series with Empty Title",HideZeros:"Hide Zeros",High:"High",HighlightCondition:"Highlight Condition",HighValues:"High Values",HorAlignment:"Horizontal Alignment",HorSpacing:"Horizontal Spacing",HotBackColor:"Hot Back Color",HotColumnHeaderBackColor:"Hot Column Header Back Color",HotForeColor:"Hot Fore Color",HotGlyphColor:"Hot Glyph Color",HotHeaderColor:"Hot Header Color",HotkeyPrefix:"Hotkey Prefix",HotRowHeaderBackColor:"Hot Row Header Back Color",HotSelectedBackColor:"Hot Selected Back Color",HotSelectedForeColor:"Hot Selected Fore Color",HotSelectedGlyphColor:"Hot Selected Glyph Color",HtmlTags:"HTML Tags",Hyperlink:"Hyperlink",HyperlinkDataColumn:"Hyperlink Data Column",Icon:"Icon",IconAlignment:"Icon Alignment",IconSet:"Icon Set",IconSetCondition:"Icon Set Condition",Idents:"Indents",Image:"Image",ImageAlign:"Image Align",ImageAlignment:"Image Alignment",ImageData:"Image Data",ImageHorAlignment:"Image Horizontal Alignment",ImageMultipleFactor:"Image Multiple Factor",ImageRotation:"Image Rotation",ImageStretch:"Image Stretch",ImageTiling:"Image Tiling",ImageTransparency:"Image Transparency",ImageURL:"Image URL",ImageVertAlignment:"Image Vertical Alignment",ImportRelations:"Import Relations",Increment:"Increment",Indent:"Indent",IndividualColor:"Individual Color",InitBy:"Init by",InitialSelection:"Initial Selection",InitialSelectionSource:"Initial Selection Source",Insert:"Insert",Interaction:"Interaction",InterlacedBrush:"Interlaced Brush",InterlacingHor:"Interlacing Horizontal",InterlacingHorBrush:"Interlacing Horizontal Brush",InterlacingVert:"Interlacing Vertical",InterlacingVertBrush:"Interlacing Vertical Brush",Interpolation:"Interpolation",IsReversed:"Is Reversed",Italic:"Italic",Item:"Item",ItemHeight:"Item Height",Items:"Items",KeepChildTogether:"Keep Child Together",KeepCrossTabTogether:"Keep Cross-Tab Together",KeepDetails:"Keep Details",KeepDetailsTogether:"Keep Details Together",KeepFooterTogether:"Keep Footer Together",KeepGroupFooterTogether:"Keep Group Footer Together",KeepGroupHeaderTogether:"Keep Group Header Together",KeepGroupTogether:"Keep Group Together",KeepHeaderTogether:"Keep Header Together",KeepMergedCellsTogether:"Keep Merged Cells Together",KeepReportSummaryTogether:"Keep Report Summary Together",KeepSubReportTogether:"Keep Sub-Report Together",Key:"Key",KeyDataColumn:"Key Data Column",KeyMeter:"Key Meter",KeyMeters:"Key Meters",Keys:"Keys",Label:"Label",LabelColor:"Label Color",LabelForeground:"Label Foreground",LabelRotationMode:"Label Rotation Mode",Labels:"Labels",LabelsColor:"Labels Color",LabelShadowForeground:"Label Shadow Foreground",LabelsOffset:"Labels Offset",Language:"Language",LargeHeight:"Large Height",LargeHeightFactor:"Large Height Factor",Latitude:"Latitude",Layout:"Layout",Left:"Left",LeftSide:"Left Side",Legend:"Legend",LegendBorderColor:"Legend Border Color",LegendBrush:"Legend Brush",LegendLabelsColor:"Legend Labels Color",LegendTitleColor:"Legend Title Color",LegendValueType:"Legend Value Type",Length:"Length",LengthUnderLabels:"Length under Labels",Lighting:"Lighting",LimitRows:"Limit Rows",Linear:"Linear",LinearBarBorderBrush:"Linear Bar Border Brush",LinearBarBrush:"Linear Bar Brush",LinearBarEmptyBorderBrush:"Linear Bar Empty Border Brush",LinearBarEmptyBrush:"Linear Bar Empty Brush",LineColor:"Line Color",LineColorNegative:"Line Color Negative",LineLimit:"Line Limit",LineMarker:"Line Marker",LinesOfUnderline:"Lines of Underline",LineSpacing:"Line Spacing",LineStyle:"Line Style",LineWidth:"Line Width",Linked:"Linked",ListOfArguments:"List of Arguments",ListOfHyperlinks:"List of Hyperlinks",ListOfTags:"List of Tags",ListOfToolTips:"List of Tooltips",ListOfValues:"List of Values",ListOfValuesClose:"List of Values Close",ListOfValuesEnd:"List of Values End",ListOfValuesHigh:"List of Values High",ListOfValuesLow:"List of Values Low",ListOfValuesOpen:"List of Values Open",ListOfWeights:"List of Weights",Localizable:"Localizable",Location:"Location",Locked:"Locked",Logarithmic:"Logarithmic",LogarithmicScale:"Logarithmic Scale",Longitude:"Longitude",Low:"Low",LowValues:"Low Values",MajorInterval:"Major Interval",MapID:"Map ID",Maps:"Maps",MapStyle:"Map Style",MapType:"Map Type",Margin:"Margin",Margins:"Margins",Marker:"Marker",MarkerAlignment:"Marker Alignment",MarkerAngle:"Marker Angle",MarkerBorder:"Marker Border",MarkerBrush:"Marker Brush",MarkerColor:"Marker Color",MarkerSize:"Marker Size",MarkerType:"Marker Type",MarkerVisible:"Marker Visible",MasterComponent:"Master Component",MasterKeyDataColumn:"Master Key Data Column",MatrixSize:"Matrix Size",MaxDate:"Max Date",MaxDropDownItems:"Max Drop Down Items",MaxHeight:"Max Height",Maximum:"Maximum",MaximumValue:"Maximum Value",MaxLength:"Max Length",MaxNumberOfLines:"Max Number of Lines",MaxSize:"Max Size",MaxValue:"Max Value",MaxWidth:"Max Width",MergeDuplicates:"Merge Duplicates",MergeHeaders:"Merge Headers",Mid:"Mid",MinDate:"Min Date",MinHeight:"Min Height",Minimum:"Minimum",MinimumFontSize:"Minimum Font Size",MinimumValue:"Minimum Value",MinorColor:"Minor Color",MinorCount:"Minor Count",MinorInterval:"Minor Interval",MinorLength:"Minor Length",MinorStyle:"Minor Style",MinorVisible:"Minor Visible",MinRowsInColumn:"Min Rows in Column",MinSize:"Min Size",MinValue:"Min Value",MinWidth:"Min Width",MirrorMargins:"Mirror Margins",Mode:"Mode",Module:"Module",Move:"Move",Multiline:"Multiline",MultipleFactor:"Multiple Factor",Name:"Name",NameDataColumn:"Name Data Column",NameInSource:"Name in Source",NameMeter:"Name Meter",NameParent:"Parent Name",Namespaces:"Namespaces",NeedleBorderBrush:"Needle Border Brush",NeedleBorderWidth:"Needle Border Width",NeedleBrush:"Needle Brush",NeedleCapBorderBrush:"Needle Cap Border Brush",NeedleCapBrush:"Needle Cap Brush",Negative:"Negative",NegativeColor:"Negative Color",NegativeSeriesColors:"Negative Series Colors",NegativeTextBrush:"Negative Text Brush",NestedLevel:"Nested Level",NewColumnAfter:"New Column After",NewColumnBefore:"New Column Before",NewPageAfter:"New Page After",NewPageBefore:"New Page Before",NextPage:"Next Page",NoIcon:"No Icon",NullText:"Null Text",NumberOfColumns:"Number of Columns",NumberOfCopies:"Number of Copies",NumberOfPass:"Number of Pass",NumberOfValues:"Number of Values",OddStyle:"Odd Style",Offset:"Offset",OffsetAngle:"Offset Angle",OnClick:"On Click",OnDataManipulation:"On Data Manipulation",OnHover:"On Hover",OnlyText:"Only Text",OpenValues:"Open Values",Operation:"Operation",Options:"Options",Orientation:"Orientation",OthersText:"Others Text",Padding:"Padding",PageHeight:"Page Height",PageNumbers:"Page Numbers",PageWidth:"Page Width",Paper:"Paper",PaperSize:"Paper Size",PaperSourceOfFirstPage:"Paper Source of First Page",PaperSourceOfOtherPages:"Paper Source of Other Pages",Parameter:"Parameter",Parameters:"Parameters",ParametersDateFormat:"Parameters Date Format",ParametersOrientation:"Parameters Orientation",ParentColumns:"Parent Columns",ParentSource:"Parent Data Source",ParentValue:"Parent Value",ParetoSeriesColors:"Pareto Series Colors",PasswordChar:"Password Char",Path:"Path",PathData:"Path Data",PathSchema:"Path Schema",Pattern:"Pattern",Placement:"Placement",PlaceOnToolbox:"Place on Toolbox",PointAtCenter:"Point at Center",Position:"Position",Positive:"Positive",PositiveColor:"Positive Color",PreferredColumnWidth:"Preferred Column Width",PreferredRowHeight:"Preferred Row Height",PreventIntersection:"Prevent Intersection",PreviewMode:"Preview Mode",PreviewSettings:"Preview Settings",Printable:"Printable",PrintAtBottom:"Print at Bottom",PrinterName:"Printer Name",PrinterSettings:"Printer Settings",PrintHeadersFootersFromPreviousPage:"Print Headers and Footers from Previous Page",PrintIfDetailEmpty:"Print if Detail Empty",PrintIfEmpty:"Print if Empty",PrintIfParentDisabled:"Print if Parent Disabled",PrintOn:"Print on",PrintOnAllPages:"Print on All Pages",PrintOnEvenOddPages:"Print on Even Odd Pages",PrintOnPreviousPage:"Print on Previous Page",PrintTitleOnAllPages:"Print Title On All Pages",PrintVerticalBars:"Print Vertical Bars",ProcessAt:"Process at",ProcessAtEnd:"Process at End",ProcessingDuplicates:"Processing Duplicates",ProcessTilde:"Process Tilde",ProductHomePage:"Product Home Page",RadarStyle:"Radar Style",RadialBarBorderBrush:"Radial Bar Border Brush",RadialBarBrush:"Radial Bar Brush",RadialBarEmptyBorderBrush:"Radial Bar Empty Border Brush",RadialBarEmptyBrush:"Radial Bar Empty Brush",Radius:"Radius",RadiusMode:"Radius Mode",Range:"Range",RangeColorMode:"Range Color Mode",RangeFrom:"From",RangeMode:"Range Mode",RangeScrollEnabled:"Range Scroll Enabled",RangeTo:"To",RangeType:"Range Type",Ratio:"Ratio",RatioY:"Ratio Y",ReadOnly:"Read Only",RecentFonts:"Recent Fonts",ReconnectOnEachRow:"Reconnect on Each Row",ReferencedAssemblies:"Referenced Assemblies",Refresh:"Refresh",RefreshTime:"Refresh Time",Regular:"Regular",Relation:"Relation",RelationName:"Relation Name",Relations:"Relations",RelativeHeight:"Relative Height",RelativeWidth:"Relative Width",RemoveUnusedDataBeforeStart:"Remove Unused Data Before Start",RenderTo:"Render to",ReportAlias:"Report Alias",ReportAuthor:"Report Author",ReportCacheMode:"Report Cache Mode",ReportDescription:"Report Description",ReportIcon:"Report Icon",ReportImage:"Report Image",ReportName:"Report Name",ReportUnit:"Report Unit",RequestFromUser:"Request from User",RequestParameters:"Request Parameters",ResetDataSource:"Reset Data Source",ResetPageNumber:"Reset Page Number",Resize:"Resize",Resource:"Resource",Resources:"Resources",Restrictions:"Restrictions",RetrieveOnlyUsedData:"Retrieve Only Used Data",ReturnValue:"Return Value",ReverseHor:"Reverse Horizontal",ReverseVert:"Reverse Vertical",Right:"Right",RightSide:"Right Side",RightToLeft:"Right to Left",RotationMode:"Rotation Mode",Rotation:"Rotation",RotationLabels:"Rotation Labels",Round:"Round",RoundValues:"Round Values",RowCount:"Row Count",RowHeaderBackColor:"Row Header Back Color",RowHeaderForeColor:"Row Header Fore Color",RowHeadersVisible:"Row Headers Visible",RowHeaderWidth:"Row Header Width",Rows:"Rows",Scale:"Scale",ScaleHor:"Scale Hor",ScriptLanguage:"Script Language",SegmentPerHeight:"Segment per Height",SegmentPerWidth:"Segment per Width",SelectedBackColor:"Selected Back Color",SelectedCellBackColor:"Selected Cell Back Color",SelectedCellForeColor:"Selected Cell Fore Color",SelectedDataColor:"Selected Data Color",SelectedDataForeground:"Selected Data Foreground",SelectedForeColor:"Selected Fore Color",SelectedGlyphColor:"Selected Glyph Color",SelectedIndex:"Selected Index",SelectedItem:"Selected Item",SelectedKey:"Selected Key",SelectedValue:"Selected Value",Selection:"Selection",SelectionBackColor:"Selection Back Color",SelectionEnabled:"Selection Enabled",SelectionForeColor:"Selection Fore Color",SelectionMode:"Selection Mode",SeparatorColor:"Separator Color",SerialNumber:"Serial Number",Series:"Series",SeriesColors:"Series Colors",SeriesLabels:"Series Labels",SeriesLabelsBorderColor:"Series Labels Border Color",SeriesLabelsBrush:"Series Labels Brush",SeriesLabelsColor:"Series Labels Color",SeriesLabelsLineColor:"Series Labels Line Color",SeriesLighting:"Series Lighting",SeriesShowBorder:"Series Show Border",SeriesShowShadow:"Series Show Shadow",SeriesTitle:"Series Title",Shadow:"Shadow",ShadowBrush:"Shadow Brush",ShadowColor:"Shadow Color",ShadowSize:"Shadow Size",ShapeType:"Shape Type",Shift:"Shift",ShiftMode:"Shift Mode",ShortName:"Short Name",ShortValue:"Short Value",ShowAllValue:"Show All Value",ShowBehind:"Show Behind",ShowBubble:"Show Bubble",ShowDialog:"Show Dialog",ShowEdgeValues:"Show Edge Values",ShowImageBehind:"Show Image Behind",ShowInLegend:"Show in Legend",ShowInPercent:"Show in Percent",ShowLabels:"Show Labels",ShowLabelText:"Show Label Text",ShowLegend:"Show Legend",ShowMarker:"Show Marker",ShowNulls:"Show Nulls",ShowOthers:"Show Others",ShowPercents:"Show Percents",ShowQuietZoneIndicator:"Show Quiet Zone Indicator",ShowQuietZones:"Show Quiet Zones",ShowScrollBar:"Show Scroll Bar",ShowSelectAll:"Show Select All",ShowSeriesLabels:"Show Series Labels",ShowShadow:"Show Shadow",ShowTotal:"Show Total",ShowUpDown:"Show Up Down",ShowValue:"Show Value",ShowXAxis:"Show X Axis",ShowYAxis:"Show Y Axis",ShowZeros:"Show Zeros",ShrinkFontToFit:"Shrink Font to Fit",ShrinkFontToFitMinimumSize:"Shrink Font to Fit Minimum Size",Side:"Side",Sides:"Sides",Simple:"Simple",Size:"Size",SizeMode:"Size Mode",Skin:"Skin",SkipFirst:"Skip First",SkipIndices:"Skip Indices",SkipIndicesObj:"Skip Indices",SkipMajorValues:"Skip Major Values",SkipValues:"Skip Values",SkipValuesObj:"Skip Values",Smoothing:"Smoothing",Sort:"Sort",SortBy:"Sort by",SortDirection:"Sort Direction",Sorted:"Sorted",SortingColumn:"Sorting Column",SortingEnabled:"Sorting Enabled",SortType:"Sort Type",Space:"Space",Spacing:"Spacing",SqlCommand:"Sql Command",StartAngle:"Start Angle",StartCap:"Start Cap",StartColor:"Start Color",StartFromZero:"Start From Zero",StartMode:"Start Mode",StartNewPage:"Start New Page",StartNewPageIfLessThan:"Start New Page if Less Than",StartPosition:"Start Position",StartValue:"Start Value",StartWidth:"Start Width",Step:"Step",Stop:"Stop",StopBeforePage:"Stop Before Page",StopBeforePrint:"Stop Before Print",StoreImagesInResources:"Store Images in Resources",Stretch:"Stretch",StretchToPrintArea:"Stretch to Print Area",Strikeout:"Strikeout",StripBrush:"Strip Brush",Strips:"Strips",Stroke:"Stroke",StructuredAppendPosition:"Structured Append Position",StructuredAppendTotal:"Structured Append Total",Style:"Style",StyleColors:"Style Colors",Styles:"Styles",SubReportPage:"Sub Report",Summaries:"Summaries",Summary:"Summary",SummaryExpression:"Summary Expression",SummarySortDirection:"Summary Sort Direction",SummaryType:"Summary Type",SummaryValues:"Summary Values",SupplementCode:"Supplement Code",SupplementType:"Supplement Type",SweepAngle:"Sweep Angle",SystemFonts:"System Fonts",SystemVariable:"System Variable",SystemVariables:"System Variables",Table:"Table",Tag:"Tag",TagDataColumn:"Tag Data Column",TagValue:"Tag Value",Target:"Target",TargetIcon:"Target Icon",TargetMode:"Target Mode",Tension:"Tension",Text:"Text",TextAfter:"Text After",TextAlign:"Text Align",TextAlignment:"Text Alignment",TextBefore:"Text Before",TextBrush:"Text Brush",TextColor:"Text Color",TextFormat:"Text Format",TextOnly:"Text Only",TextOptions:"Text Options",TextQuality:"Text Quality",TickLabelMajorFont:"Tick Label Major Font",TickLabelMajorTextBrush:"Tick Label Major Text Brush",TickLabelMinorFont:"Tick Label Minor Font",TickLabelMinorTextBrush:"Tick Label Minor Text Brush",TickMarkMajorBorder:"Tick Mark Major Border",TickMarkMajorBorderWidth:"Tick Mark Major Border Width",TickMarkMajorBrush:"Tick Mark Major Brush",TickMarkMinorBorder:"Tick Mark Minor Border",TickMarkMinorBorderWidth:"Tick Mark Minor Border Width",TickMarkMinorBrush:"Tick Mark Minor Brush",Ticks:"Ticks",Title:"Title",TitleBeforeHeader:"Title before Header",TitleColor:"Title Color",TitleDirection:"TitleDirection",TitleFont:"Title Font",TitleVisible:"Title Visible",To:"To",Today:"Today",ToolTip:"Tool Tip",ToolTipDataColumn:"Tool Tip Data Column",Top:"Top",Topmost:"Topmost",TopmostLine:"Topmost Line",TopN:"Top N",TopSide:"Top Side",Total:"Total",Totals:"Totals",TrackColor:"Track Color",TransparentColor:"Transparent Color",TrendLine:"Trend Line",TrendLineColor:"Trend Line Color",TrendLines:"Trend Lines",TrendLineShowShadow:"Trend Line Show Shadow",TrimExcessData:"Trim Excess Data",Trimming:"Trimming",Type:"Type",TypeName:"Type Name",Types:"Types",Underline:"Underline",UndoLimit:"Undo Limit",Unit:"Unit",UnlimitedBreakable:"Unlimited Breakable",UnlimitedHeight:"Unlimited Height",UnlimitedWidth:"Unlimited Width",UseAliases:"Use Aliases",UseExternalReport:"Use External Report",UseParentStyles:"Use Parent Styles",UseRangeColor:"Use Range Color",UseRectangularSymbols:"Use Rectangular Symbols",UseSeriesColor:"Use Series Color",UseStyleOfSummaryInColumnTotal:"Use Style of Summary in Column Total",UseStyleOfSummaryInRowTotal:"Use Style of Summary in Row Total",UseValuesFromTheSpecifiedRange:"Use Values From The Specified Range",Value:"Value",ValueClose:"Value Close",ValueDataColumn:"Value Data Column",ValueDataColumnClose:"Value Data Column Close",ValueDataColumnEnd:"Value Data Column End",ValueDataColumnHigh:"Value Data Column High",ValueDataColumnLow:"Value Data Column Low",ValueDataColumnOpen:"Value Data Column Open",ValueEnd:"Value End",ValueFormat:"Value Format",ValueHigh:"Value High",ValueLow:"Value Low",ValueMeter:"Value Meter",ValueOpen:"Value Open",Values:"Values",ValueType:"Value Type",ValueTypeSeparator:"Value Type Separator",Variable:"Variable",Variables:"Variables",Variation:"Variation",Version:"Version",VertAlignment:"Vertical Alignment",VertSpacing:"Vertical Spacing",ViewMode:"View Mode",Visible:"Visible",Watermark:"Watermark",Weight:"Weight",WeightDataColumn:"Weight Data Column",Weights:"Weights",Width:"Width",WindowState:"Window State",WordWrap:"Word Wrap",Wrap:"Wrap",WrapGap:"WrapGap",XAxis:"X Axis",XTopAxis:"X Top Axis",YAxis:"Y Axis",YRightAxis:"Y Right Axis",Zoom:"Zoom"},PropertySystemColors:{ActiveBorder:"Active Border",ActiveCaption:"Active Caption",ActiveCaptionText:"Active Caption Text",AppWorkspace:"App Workspace",Control:"Control",ControlDark:"Control Dark",ControlDarkDark:"Control Dark Dark",ControlLight:"Control Light",ControlLightLight:"Control Light Light",ControlText:"Control Text",Desktop:"Desktop",GrayText:"Gray Text",Highlight:"Highlight",HighlightText:"Highlight Text",HotTrack:"Hot Track",InactiveBorder:"Inactive Border",InactiveCaption:"Inactive Caption",InactiveCaptionText:"Inactive Caption Text",Info:"Info",InfoText:"Info Text",Menu:"Menu",MenuText:"Menu Text",ScrollBar:"Scroll Bar",Window:"Window",WindowFrame:"Window Frame",WindowText:"Window Text"},QueryBuilder:{AddObject:"Add Object",AddSubQuery:"Add Derived Table",AllObjects:"(All objects)",BadFromObjectExpression:"Invalid FROM object expression!",BadObjectName:"Invalid object name!",BadSelectStatement:"Invalid SELECT statement!",Collections:"Collections",CreateLinksFromForeignKeys:"Create Links from Foreign Keys",CriteriaAlias:"Alias",CriteriaCriteria:"Criteria",CriteriaExpression:"Expression",CriteriaGroupBy:"Group By",CriteriaOr:"Or...",CriteriaOutput:"Output",CriteriaSortOrder:"Sort Order",CriteriaSortType:"Sort Type",Database:"Database",DataSourceProperties:"Data Source Properties",DialectDontSupportDatabases:"The server does not support queries with objects from different databases.",DialectDontSupportSchemas:"The server does not support schemas.",DialectDontSupportUnions:"This server does not support unions.",DialectDontSupportUnionsBrackets:"This server does not support brackets in unions.",DialectDontSupportUnionsBracketsInSubQuery:"This server doesn't support brackets in unions in subqueries.",DialectDontSupportUnionsInSubQueries:"This server does not support unions in subqueries.",Edit:"Edit",EncloseWithBrackets:"Enclose with brackets",Expressions:"Expressions",InsertEmptyItem:"Insert Empty Item",JoinExpression:"Join Expression",LabelAlias:"Alias:",LabelFilterObjectsBySchemaName:"Filter Objects by Schema Name:",LabelJoinExpression:"Join Expression:",LabelLeftColumn:"Left Column:",LabelLeftObject:"Left Object:",LabelObject:"Object:",LabelRightColumn:"Right Column:",LabelRightObject:"Right Object:",LinkProperties:"Link Properties",MetadataProviderCantExecSQL:"Used metadata provider cannot execute SQL queries.",MetaProviderCantLoadMetadata:"Used metadata provider cannot automatically load metadata.",MetaProviderCantLoadMetadataForDatabase:"Used metadata provider cannot automatically load metadata for database: {0}",MoveDown:"Move Down",MoveUp:"Move Up",NewUnionSubQuery:"New union sub-query",NoConnectionObject:"No connection object (property {0} not assigned).",NoTransactionObject:"No transaction object (property {0} not assigned).",Objects:"Objects",ProcedureParameters:"Procedure Parameters",Procedures:"Procedures",qnSaveChanges:"Do you want to save changes of query?",Query:"Query",QueryBuilder:"Query Builder",QueryParameters:"Query Parameters",QueryProperties:"Query Properties",Remove:"Remove",RemoveBrackets:"Remove brackets",RunQueryBuilder:"Run Query Builder",SelectAllFromLeft:"Select All from Left",SelectAllFromRight:"Select All from Right",SwitchToDerivedTable:"Switch to Derived Table",Tables:"Tables",UnexpectedTokenAt:'Unexpected token "{0}" at line {1}, pos {2}!',Unions:"Unions",UnionSubMenu:"Union",ViewQuery:"View Query",Views:"Views"},Questions:{qnConfiguration:"Please choose the type of configuration for the properties panel. The type of the selected configuration depends on the number of visible properties and their complexity for the developer of reports. You can always change the configuration type from the context menu of the properties panel.",qnDictionaryNew:"Do you want to create new Dictionary?",qnLanguageNew:"You have changed the language of the report. This will lead to the new report code generation. Are you certain you want to save the new language?",qnPageDelete:"Do you want to delete page?",qnRemove:"Do you want to remove?",qnRemoveService:"Do you want to remove Service?",qnRemoveServiceCategory:"Do you want to remove Category?",qnRemoveUnused:"Do you want to remove Unused?",qnReplace:"Do you want to replace the existing item {0}?",qnRestoreDefault:"Restore defaults?",qnSaveChanges:"Save changes in {0}?",qnSaveChangesToPreviewPage:"Do you want to save page changes?",qnSynchronize:"Synchronized contents of the Data Store and contents of the Dictionary?",qnSynchronizeServices:"Synchronized services?"},Report:{ActiveRelation:"Active Relation",Address:"Address",Alphabetical:"Alphabetical",Bands:"Bands",Basic:"Basic",BasicConfiguration:"Minimal number of object properties, which are necessary for rendering the basic report types.",BusinessObjects:"Business Objects",Categorized:"Categorized",Charts:"Charts",Checking:"Checking...",ClickForMoreDetails:"Click for More Details",CollapseAll:"Collapse All",Collection:"Collection",CompilingReport:"Compiling Report",Complete:"Complete",Components:"Components",ConnectingToData:"Connecting to Data",CopyOf:"Copy",CreateNewReportPageForm:"Create a new report, add a page, add a form",CreatingReport:"Creating Report",CrossBands:"Cross",Dialogs:"Dialogs",EditStyles:"[Edit Styles]",Enhancements:"Enhancements",Errors:"Errors",EventsTab:"Events Tab",ExpandAll:"Expand All",FilterAnd:"And",FilterOr:"Or",FinishingReport:"Finishing Report",FirstPass:"First Pass",FixedBugs:"Fixed Bugs",Gallery:"Gallery",GenerateNewCode:"Generate New Code",History:"History",Infographics:"Infographics",InfoMessage:"{0} - {1} found.",InformationMessages:"Information Messages",LabelAlias:"Alias:",LabelAuthor:"Author:",LabelBackground:"Background:",LabelCategory:"Category:",LabelCentimeters:"Centimeters:",LabelCollectionName:"Collection Name:",LabelColor:"Color:",LabelCountData:"Count Data:",LabelDataBand:"DataBand:",LabelDataColumn:"Data Column:",LabelDefaultValue:"Default Value:",LabelExpression:"Expression:",LabelFactorLevel:"Nested Factor:",LabelFontName:"Font Name:",LabelFunction:"Function:",LabelHundredthsOfInch:"Hundredths of Inch:",LabelInches:"Inches:",LabelMillimeters:"Millimeters:",LabelName:"Name:",LabelNameInSource:"Name in Source:",LabelNestedLevel:"Nested Level:",LabelPassword:"Password:",LabelPixels:"Pixels:",LabelQueryTimeout:"Query Timeout:",LabelSystemVariable:"System Variable:",LabelTotals:"Totals",LabelType:"Type:",LabelUserName:"User Name:",LabelValue:"Value:",LoadingReport:"Loading Report",nameAssembly:"Assembly",NewFeatures:"New Features",No:"No",NoFixes:"There are no fixes or updates for this version!",NoIssues:"No Issues",NoNewVersions:"There are no new versions available!",NotAssigned:"Not Assigned",Null:"Null",Office2010Back:"Back",PageNofM:"Page {0} of {1}",PreparingReport:"Preparing Report",Professional:"Professional",ProfessionalConfiguration:"All object properties.",PropertiesTab:"Properties Tab",RangeAll:"All",RangeCurrentPage:"Current Page",RangeInfo:"Enter page number and/or pages ranges separated by commas. For example: 1, 3, 5-12",RangePage:"Page Range",RangePages:"Pages:",ReportChecker:"Report Checker",ReportRenderingMessages:"Report Rendering Messages",RestartDesigner:"You need to restart the report designer",SaveReportPagesOrFormsFromReport:"Save the report, pages or forms",SavingReport:"Saving Report",SecondPass:"Second Pass",Shapes:"Shapes",Standard:"Standard",StandardConfiguration:"Main object properties except rarely used ones.",StiEmptyBrush:"Empty",StiGlareBrush:"Glare",StiGlassBrush:"Glass",StiGradientBrush:"Gradient",StiHatchBrush:"Hatch",StiSolidBrush:"Solid",StyleBad:"Bad",StyleGood:"Good",StyleNeutral:"Neutral",StyleNormal:"Normal",StyleNote:"Note",StyleWarning:"Warning",Warnings:"Warnings",WhatsNewInVersion:"What's New in {0}",When:"when {0} {1}",WhenAnd:"when {0} {1} and",WhenValueIs:"when value is"},ReportInfo:{CheckIssuesAdditionalDescription:"Check the report for errors and find inaccuracies in it.",EncryptWithPassword:"Encrypt with Password",EncryptWithPasswordAdditionalDescription:"Set the password to prevent unauthorized working with the report.",EncryptWithPasswordDescription:"Protect Report",Info:"Info",ReportOptions:"Report Options",ReportOptionsAdditionalDescription:"Setup the basic information and parameters in the report."},ReportOpen:{Browse:"Browse",Import:"Import"},Services:{categoryContextTools:"Context Tools",categoryDesigner:"Designer",categoryDictionary:"Dictionary",categoryExport:"Exports",categoryLanguages:"Languages",categoryPanels:"Panels",categoryRender:"Render",categoryShapes:"Shapes",categorySL:"Save / Load",categorySystem:"System",categoryTextFormat:"Text Format"},Shapes:{Arrow:"Arrow",BasicShapes:"Basic Shapes",BentArrow:"Bent Arrow",BlockArrows:"Block Arrows",Chevron:"Chevron",ComplexArrow:"Complex Arrow",DiagonalDownLine:"Diagonal Line Down",DiagonalUpLine:"Diagonal Line Up",Division:"Division",Equal:"Equal",EquationShapes:"Equation Shapes",Flowchart:"Flowchart",FlowchartCard:"Flowchart: Card",FlowchartCollate:"Flowchart: Collate",FlowchartDecision:"Flowchart: Decision",FlowchartManualInput:"Flowchart: Manual Input",FlowchartOffPageConnector:"Flowchart: Off Page Connector",FlowchartPreparation:"Flowchart: Preparation",FlowchartSort:"Flowchart: Sort",Frame:"Frame",HorizontalLine:"Horizontal Line",InsertShapes:"Insert Shapes",LeftAndRightLine:"Left and Right Line",Lines:"Lines",Minus:"Minus",Multiply:"Multiply",Octagon:"Octagon",Oval:"Oval",Parallelogram:"Parallelogram",Plus:"Plus",Rectangle:"Rectangle",Rectangles:"Rectangles",RegularPentagon:"Regular: Pentagon",RoundedRectangle:"Rounded Rectangle",ServiceCategory:"Shapes",ShapeStyles:"Shape Styles",SnipDiagonalSideCornerRectangle:"Snip Diagonal Side Corner Rectangle",SnipSameSideCornerRectangle:"Snip Same Side Corner Rectangle",TopAndBottomLine:"Top and Bottom Line",Trapezoid:"Trapezoid",Triangle:"Triangle",VerticalLine:"Vertical Line"},SystemVariables:{Column:"Returns the current column number (starts from 1).",GroupLine:"Returns the current group line number (starts from 1).",IsFirstPage:"Returns true, if, in the current moment, the first page of a report is printed.",IsFirstPageThrough:"Returns true, if, in the current moment, the first report page is printed. When calculating the IsFirstPageThrough, all ResetPageNumber properties are ignored and numbering starts from the beginning of report. For correct calculation of a variable it is required to execute two passes.",IsLastPage:"Returns true, if, in the current moment, the last page of a report is printed. For correct calculation of a variable it is required to execute two passes.",IsLastPageThrough:"Returns true, if, in the current moment, the last page of a report is printed. When calculating the IsLastPageThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of report. For correct calculation of a variable it is required to execute two passes.",Line:"Returns the current line number (starts from 1).",LineABC:"Returns the alphabetical analogue of the current line number.",LineRoman:"Returns the current line number in Roman numerals.",LineThrough:"Returns the current line number (starts from 1). When calculating the number, all groupings are ignored and numbering starts from the beginning of printing.",PageCopyNumber:"Return a number of a current copy of a page (starts from 1).",PageNofM:'Returns a localized string, showing "Page N of M" where N is the current page number and M is the TotalPageCount of a report.',PageNofMThrough:'Returns a localized string, showing "Page N of M" where N is the current page number and M is the TotalPageCount of a report. When calculating the PageNofMThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of a report.',PageNumber:"Returns the current page number (starts from 1).",PageNumberThrough:"Returns the current page number (starts from 1). When calculating the PageNumberThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of a report.",ReportAlias:"Returns the report alias. You can change the ReportAlias with help of the ReportAlias property of a report.",ReportAuthor:"Returns the report author. You can change ReportAuthor with help of the ReportAuthor property of a report.",ReportChanged:"The Date when a report was changed.",ReportCreated:"The Date when a report was created.",ReportDescription:"Returns the report description. You can change the ReportName with help of the ReportDescription property of a report.",ReportName:"Returns the report name. You can change the ReportName with help of the ReportName property of a report.",Time:"Returns the current time.",Today:"Returns the current date.",TotalPageCount:"Returns the number of pages in a report.",TotalPageCountThrough:"Returns the number of pages in a report. When calculating the TotalPageCountThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of report."},TableRibbon:{BuiltIn:"Built-In",Delete:"Delete",DeleteColumns:"Delete Columns",DeleteRows:"Delete Rows",DeleteTable:"Delete Table",DistributeColumns:"Distribute Columns",DistributeRows:"Distribute Rows",InsertAbove:"Insert Above",InsertBelow:"Insert Below",InsertLeft:"Insert Left",InsertRight:"Insert Right",PlainTables:"Plain Tables",ribbonBarRowsColumns:"Rows and Columns",ribbonBarTable:"Table",ribbonBarTableStyles:"Table Styles",Select:"Select",SelectColumn:"Select Column",SelectRow:"Select Row",SelectTable:"Select Table"},Toolbars:{Align:"Align",AlignBottom:"Align Bottom",AlignCenter:"Align Center",AlignLeft:"Align Left",AlignMiddle:"Align Middle",AlignRight:"Align Right",AlignToGrid:"Align to Grid",AlignTop:"Align Top",AlignWidth:"Justify",BringToFront:"Bring to Front",CenterHorizontally:"Center Horizontally",CenterVertically:"Center Vertically",Conditions:"Conditions",FontGrow:"Grow Font",FontName:"Font Name",FontShrink:"Shrink Font",FontSize:"Font Size",FontStyleBold:"Font Style Bold",FontStyleItalic:"Font Style Italic",FontStyleUnderline:"Font Style Underline",Link:"Link",Lock:"Lock",MakeHorizontalSpacingEqual:"Make Horizontal Spacing Equal",MakeSameHeight:"Make Same Height as {0}",MakeSameSize:"Make Same Size as {0}",MakeSameWidth:"Make Same Width as {0}",MakeVerticalSpacingEqual:"Make Vertical Spacing Equal",MoveBackward:"Move Backward",MoveForward:"Move Forward",Order:"Order",SendToBack:"Send to Back",Size:"Size",StyleDesigner:"Style Designer",Styles:"List of the styles",TabHome:"Home",TabLayout:"Layout",TabPage:"Page",TabView:"View",TextBrush:"Text Brush",ToolbarAlignment:"Alignment",ToolbarArrange:"Arrange",ToolbarBorders:"Borders",ToolbarClipboard:"Clipboard",ToolbarDockStyle:"Dock Style",ToolbarFont:"Font",ToolbarFormatting:"Formatting",ToolbarLayout:"Layout",ToolbarPageSetup:"Page Setup",ToolbarStandard:"Standard",ToolbarStyle:"Style",ToolbarTextFormat:"Text Format",ToolbarTools:"Tools",ToolbarViewOptions:"View Options",ToolbarWatermarkImage:"Watermark Image",ToolbarWatermarkText:"Watermark Text"},Toolbox:{Create:"Creation components",Hand:"Hand",Select:"Select",Style:"Copy Style",TextEditor:"Text Editor",title:"Toolbox"},WelcomeScreen:{AllDownloadsWillCanceled:"Are you sure you want to close this window? All downloads will be canceled.",Description:"We have selected for you reports that we think are the best for a quick start.",GetStarted:"Get Started",GetStartedWithDashboards:"Get Started with Dashboards",GetStartedWithReports:"Get Started with Reports",MoreReports:"More Reports",ShowNextTime:"Show '{0}' next time",Title:"Welcome to Stimulsoft Demo"},Wizards:{BlankDashboard:"Blank Dashboard",BlankReport:"Blank Report",ButtonBack:"< &Back",ButtonCancel:"Cancel",ButtonFinish:"&Finish",ButtonNext:"&Next >",ColumnsOrder:"Columns Order",Company:"Company",Custom:"Custom",DataRelation:"Relation",DataSource:"Data Source",DataSources:"Data Sources",DefaultThemes:"Default Themes",Filters:"Filters",FromReportTemplate:"From Report Template",GetData:"Get Data",groupCreateNewDashboard:"Create a New Dashboard",groupCreateNewPageOrForm:"Create a New Page or Form",groupCreateNewReport:"Create a New Report",Groups:"Groups",groupTemplates:"Templates",groupWizards:"Wizards",infoColumnsOrder:"Arrange columns in the necessary order.",infoCompanyInfo:"Enter your company information.",infoDataSource:"Select one Data Source from available.",infoDataSources:"Select Data Sources from available. The first selected one will be the Master data source.",infoFilters:"Filter Data for your report",infoGroups:"Select columns on which necessary to group.",infoLabelSettings:"Set the settings of labels.",infoLanguages:"Select the report culture.",infoLayout:"Specify layout of report.",infoRelation:"Select one Data Relation from available.",infoSelectColumns:"Select columns from which the information will be displayed.",infoSelectTemplate:"Choose the appropriate template for your needs.",infoSort:"Set the sorting of data. You can sort immediately on multiple columns.",infoThemes:"Select theme for your report.",infoTotals:"Add summary information to your report.",LabelDirection:"Direction:",LabelHeight:"Height:",LabelHorizontalGap:"Horizontal Gap:",LabelLabelType:"Label Type:",LabelLeftMargin:"Left Margin:",LabelNumberOfColumns:"Number of Columns:",LabelNumberOfRows:"Number of Rows:",LabelPageHeight:"Page Height:",LabelPageWidth:"Page Width:",LabelReport:"Label Report",LabelSettings:"Label Settings",LabelSize:"Size:",LabelTopMargin:"Top Margin:",LabelVerticalGap:"Vertical Gap:",LabelWidth:"Width:",Layout:"Layout",Mapping:"Mapping",MarkAll:"Mark &All",MasterDetailReport:"Master-Detail Report",NoFunction:"[None]",OpenExistingReport:"Open Existing File",OpenFrom:"Open from {0}",Preview:"Preview",Reset:"&Reset",Results:"Results",RunWizard:"Run Wizard",SelectColumns:"Select Columns",SelectTemplate:"Template",Sort:"Sort",StandardReport:"Standard Report",Themes:"Themes",title:"New Report",Totals:"Totals",UseDemoData:"Use Demo Data",UsingReportWizard:"Using Report Wizard",YouHaveNotOpenedAnyReportRecently:"You haven't opened any report recently. To browse for a report, start by clicking on Open Existing File."},Zoom:{EmptyValue:"Empty Value",MultiplePages:"Multiple Pages",OnePage:"One Page",PageHeight:"Page Height",PageWidth:"Page Width",TwoPages:"Two Pages",ZoomTo100:"Zoom to 100%"}},r._cultureName="",r}();r.StiLocalization=o}(r=t.Localization||(t.Localization={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiMapKeyHelper="IStiMapKeyHelper"}(t=e.Map||(e.Map={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiArgumentMeter="IStiArgumentMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiColorMapMeter="IStiColorMapMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiColorScaleColumn="IStiColorScaleColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiDataBarsColumn="IStiDataBarsColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiDimensionColumn="IStiDimensionColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiDimensionMeter="IStiDimensionMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiGroupMapMeter="IStiGroupMapMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiIndicatorColumn="IStiIndicatorColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiKeyMapMeter="IStiKeyMapMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiLocalizedMeter="IStiLocalizedMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiMeasureColumn="IStiMeasureColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiMeasureMeter="IStiMeasureMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiMeter="IStiMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiNameMapMeter="IStiNameMapMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiPivotColumn="IStiPivotColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiPivotRow="IStiPivotRow"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiPivotSummary="IStiPivotSummary"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiSeriesMeter="IStiSeriesMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiSparklinesColumn="IStiSparklinesColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiTableColumn="IStiTableColumn"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiTargetMeter="IStiTargetMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiValueMapMeter="IStiValueMapMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiValueMeter="IStiValueMeter"}(t=e.Meters||(e.Meters={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e[e["ActivationMaxActivationsReached"]=1]="ActivationMaxActivationsReached",e[e["ActivationExpiriedBeforeFirstRelease"]=2]="ActivationExpiriedBeforeFirstRelease",e[e["ActivationLicenseIsNotCorrect"]=3]="ActivationLicenseIsNotCorrect",e[e["ActivationLockedAccount"]=4]="ActivationLockedAccount",e[e["ActivationServerVersionNotAllowed"]=5]="ActivationServerVersionNotAllowed",e[e["ActivationServerIsNotAvailableNow"]=6]="ActivationServerIsNotAvailableNow",e[e["ActivationSomeTroublesOccurred"]=7]="ActivationSomeTroublesOccurred",e[e["ActivationUserNameOrPasswordIsWrong"]=8]="ActivationUserNameOrPasswordIsWrong",e[e["ActivationWrongAccountType"]=9]="ActivationWrongAccountType",e[e["AuthAccountCantBeUsedNow"]=10]="AuthAccountCantBeUsedNow",e[e["AuthAccountIsNotActivated"]=11]="AuthAccountIsNotActivated",e[e["AuthCantChangeSystemRole"]=12]="AuthCantChangeSystemRole",e[e["AuthCantChangeRoleBecauseLastAdministratorUser"]=13]="AuthCantChangeRoleBecauseLastAdministratorUser",e[e["AuthCantChangeRoleBecauseLastSupervisorUser"]=14]="AuthCantChangeRoleBecauseLastSupervisorUser",e[e["AuthCantDeleteHimselfUser"]=15]="AuthCantDeleteHimselfUser",e[e["AuthCantDeleteLastAdministratorUser"]=16]="AuthCantDeleteLastAdministratorUser",e[e["AuthCantDeleteLastSupervisorUser"]=17]="AuthCantDeleteLastSupervisorUser",e[e["AuthCantDeleteSystemRole"]=18]="AuthCantDeleteSystemRole",e[e["AuthCantDisableUserBecauseLastAdministratorUser"]=19]="AuthCantDisableUserBecauseLastAdministratorUser",e[e["AuthCantDisableUserBecauseLastSupervisorUser"]=20]="AuthCantDisableUserBecauseLastSupervisorUser",e[e["AuthOAuthIdNotSpecified"]=21]="AuthOAuthIdNotSpecified",e[e["AuthPasswordIsTooShort"]=22]="AuthPasswordIsTooShort",e[e["AuthPasswordIsNotSpecified"]=23]="AuthPasswordIsNotSpecified",e[e["AuthPasswordIsNotCorrect"]=24]="AuthPasswordIsNotCorrect",e[e["AuthRequestsLimitIsExceeded"]=25]="AuthRequestsLimitIsExceeded",e[e["AuthRoleCantBeDeletedBecauseUsedByUsers"]=26]="AuthRoleCantBeDeletedBecauseUsedByUsers",e[e["AuthRoleNameAlreadyExists"]=27]="AuthRoleNameAlreadyExists",e[e["AuthRoleNameIsSystemRole"]=28]="AuthRoleNameIsSystemRole",e[e["AuthUserHasLoggedOut"]=29]="AuthUserHasLoggedOut",e[e["AuthUserNameAlreadyExists"]=30]="AuthUserNameAlreadyExists",e[e["AuthUserNameIsNotSpecified"]=31]="AuthUserNameIsNotSpecified",e[e["AuthUserNameOrPasswordIsNotCorrect"]=32]="AuthUserNameOrPasswordIsNotCorrect",e[e["AuthUserNameShouldLookLikeAnEmailAddress"]=33]="AuthUserNameShouldLookLikeAnEmailAddress",e[e["AuthWorkspaceNameAlreadyInUse"]=34]="AuthWorkspaceNameAlreadyInUse",e[e["CommandTimeOut"]=35]="CommandTimeOut",e[e["CustomMessage"]=36]="CustomMessage",e[e["ExecutionError"]=37]="ExecutionError",e[e["IsNotAuthorized"]=38]="IsNotAuthorized",e[e["IsNotDeleted"]=39]="IsNotDeleted",e[e["IsNotCorrect"]=40]="IsNotCorrect",e[e["IsNotEqual"]=41]="IsNotEqual",e[e["IsNotFound"]=42]="IsNotFound",e[e["IsNotRecognized"]=43]="IsNotRecognized",e[e["IsNotSpecified"]=44]="IsNotSpecified",e[e["ItemCantBeDeletedBecauseItemIsAttachedToOtherItems"]=45]="ItemCantBeDeletedBecauseItemIsAttachedToOtherItems",e[e["ItemCantBeMovedToSpecifiedPlace"]=46]="ItemCantBeMovedToSpecifiedPlace",e[e["ItemDoesNotSupport"]=47]="ItemDoesNotSupport",e[e["KeyAndToKeyIsEqual"]=48]="KeyAndToKeyIsEqual",e[e["NotificationFailed"]=49]="NotificationFailed",e[e["NotificationFileUploading"]=50]="NotificationFileUploading",e[e["NotificationFilesUploadingComplete"]=51]="NotificationFilesUploadingComplete",e[e["NotificationItemDelete"]=52]="NotificationItemDelete",e[e["NotificationItemDeleteComplete"]=53]="NotificationItemDeleteComplete",e[e["NotificationItemRestore"]=54]="NotificationItemRestore",e[e["NotificationItemRestoreComplete"]=55]="NotificationItemRestoreComplete",e[e["NotificationItemTransfer"]=56]="NotificationItemTransfer",e[e["NotificationItemTransferComplete"]=57]="NotificationItemTransferComplete",e[e["NotificationItemWaitingProcessing"]=58]="NotificationItemWaitingProcessing",e[e["NotificationOperationAborted"]=59]="NotificationOperationAborted",e[e["NotificationRecycleBinCleaning"]=60]="NotificationRecycleBinCleaning",e[e["NotificationRecycleBinCleaningComplete"]=61]="NotificationRecycleBinCleaningComplete",e[e["NotificationRecycleBinWaitingProcessing"]=62]="NotificationRecycleBinWaitingProcessing",e[e["NotificationReportCompiling"]=63]="NotificationReportCompiling",e[e["NotificationReportDataProcessing"]=64]="NotificationReportDataProcessing",e[e["NotificationReportExporting"]=65]="NotificationReportExporting",e[e["NotificationReportExportingComplete"]=66]="NotificationReportExportingComplete",e[e["NotificationReportRendering"]=67]="NotificationReportRendering",e[e["NotificationReportRenderingComplete"]=68]="NotificationReportRenderingComplete",e[e["NotificationReportSaving"]=69]="NotificationReportSaving",e[e["NotificationReportWaitingProcessing"]=70]="NotificationReportWaitingProcessing",e[e["NotificationSchedulerRunning"]=71]="NotificationSchedulerRunning",e[e["NotificationSchedulerRunningComplete"]=72]="NotificationSchedulerRunningComplete",e[e["NotificationSchedulerWaitingProcessing"]=73]="NotificationSchedulerWaitingProcessing",e[e["NotificationTransferring"]=74]="NotificationTransferring",e[e["NotificationTransferringComplete"]=75]="NotificationTransferringComplete",e[e["NotificationTitleFilesUploading"]=76]="NotificationTitleFilesUploading",e[e["NotificationTitleItemRefreshing"]=77]="NotificationTitleItemRefreshing",e[e["NotificationTitleItemTransferring"]=78]="NotificationTitleItemTransferring",e[e["NotificationTitleReportExporting"]=79]="NotificationTitleReportExporting",e[e["NotificationTitleReportRendering"]=80]="NotificationTitleReportRendering",e[e["NotificationTitleSchedulerRunning"]=81]="NotificationTitleSchedulerRunning",e[e["QuotaMaximumComputingCyclesCountExceeded"]=82]="QuotaMaximumComputingCyclesCountExceeded",e[e["QuotaMaximumFileSizeExceeded"]=83]="QuotaMaximumFileSizeExceeded",e[e["QuotaMaximumItemsCountExceeded"]=84]="QuotaMaximumItemsCountExceeded",e[e["QuotaMaximumReportPagesCountExceeded"]=85]="QuotaMaximumReportPagesCountExceeded",e[e["QuotaMaximumUsersCountExceeded"]=86]="QuotaMaximumUsersCountExceeded",e[e["QuotaMaximumWorkspacesCountExceeded"]=87]="QuotaMaximumWorkspacesCountExceeded",e[e["AccessDenied"]=88]="AccessDenied",e[e["OutOfRange"]=89]="OutOfRange",e[e["ParsingCommandException"]=90]="ParsingCommandException",e[e["SchedulerCantRunItSelf"]=91]="SchedulerCantRunItSelf",e[e["SessionTimeOut"]=92]="SessionTimeOut",e[e["SnapshotAlreadyProcessed"]=93]="SnapshotAlreadyProcessed",e[e["SpecifiedItemIsNot"]=94]="SpecifiedItemIsNot",e[e["WithSpecifiedKeyIsNotFound"]=95]="WithSpecifiedKeyIsNotFound",e[e["VersionCopyFromItem"]=96]="VersionCopyFromItem",e[e["VersionCreatedFromFile"]=97]="VersionCreatedFromFile",e[e["VersionCreatedFromItem"]=98]="VersionCreatedFromItem",e[e["VersionNewItemCreation"]=99]="VersionNewItemCreation",e[e["VersionLoadedFromFile"]=100]="VersionLoadedFromFile"}(t=e.StiNoticeIdent||(e.StiNoticeIdent={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e}();e.StiNotice=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.Hashtable,i=e.System.ICloneable,n=function(){function e(){this.items=null,this.valueBoolFalse=!1,this.valueBoolTrue=!0}return e.prototype.implements=function(){return[i]},e.prototype.clone=function(){var t=new e;return null!=this.items&&(t.items=this.items.clone()),t},e.prototype.setNumber=function(e,t,i){if(t==i){if(null==this.items)return;null!=this.items.get(e)&&this.items.remove(e)}else null==this.items&&(this.items=new r),this.items.set(e,t)},e.prototype.getNumber=function(e,t){if(null==this.items)return t;var r=this.items.get(e);return null==r?t:r},e.prototype.setBool=function(e,t,i){if(t==i){if(null==this.items)return;null!=this.items.get(e)&&this.items.remove(e)}else null==this.items&&(this.items=new r),t?this.items.set(e,this.valueBoolTrue):this.items.set(e,this.valueBoolFalse)},e.prototype.getBool=function(e,t){if(null==this.items)return t;var r=this.items.get(e);if(r==this.valueBoolFalse)return!1;if(r==this.valueBoolTrue)return!0;return t},e.prototype.set=function(e,t,i){if(null==this.items&&(this.items=new r),null==t||t==i)return void(null!=this.items.get(e)&&this.items.remove(e));this.items.set(e,t)},e.prototype.get=function(e,t){if(null==this.items)return t;var r=this.items.get(e);if(null==r)return t;return r},e.prototype.isPresent=function(e){if(null==this.items)return!1;return this.items.containsKey(e)},e}();t.StiRepositoryItems=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.StiRepositoryItems,i=e.System.ICloneable,n=function(){function e(){this._properties=null}return e.prototype.clone=function(e,t,r){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),this.memberwiseClone(r)},e.prototype.memberwiseClone=function(e){var t;return void 0===e&&(e=!0),(t=e?this.stimulsoft.memberwiseClone(!0):new(this.stimulsoft.getType()))._properties=this._properties,t},e.prototype.implements=function(){return[i]},e.prototype.is=function(e){var t=typeof e;if("string"==t)return this.implements().indexOf(e)>=0;if("function"==t)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},e.prototype.as=function(e){if(this.is(e))return this;return null},e.prototype.isPropertyPresent=function(e){if(null==this.properties)return!1;return this.properties.isPresent(e)},Object.defineProperty(e.prototype,"properties",{get:function(){return null==this._properties&&(this._properties=new r),this._properties},set:function(e){this._properties=e},enumerable:!1,configurable:!0}),e.prototype.isPropertiesInitializedProtected=function(){return null!=this.properties},Object.defineProperty(e.prototype,"serviceCategory",{get:function(){return"Misc"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceName",{get:function(){return this.stimulsoft.getType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceInfo",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceType",{get:function(){return this.stimulsoft.getType()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceEnabled",{get:function(){return this.properties.getBool("ServiceEnabled",!0)},set:function(e){this.properties.setBool("ServiceEnabled",e,!0)},enumerable:!1,configurable:!0}),e}();t.StiService=n}(r=t.Services||(t.Services={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i;!function(e){e[e["FText"]=1]="FText",e[e["FHcrc"]=2]="FHcrc",e[e["FExtra"]=4]="FExtra",e[e["FName"]=8]="FName",e[e["FComment"]=16]="FComment"}(i||(i={}));var n=function(){function t(){}return Object.defineProperty(t,"crcTable",{get:function(){if(null==this._crcTable){this._crcTable=new Array(256);for(var e=void 0,t=0;t<256;t++){e=t;for(var r=0;r<8;r++)e=0!=(1&e)?3988292384^e>>>1:e>>>1;this._crcTable[t]=e}}return this._crcTable},enumerable:!1,configurable:!0}),t.crc32=function(e){for(var t=0^-1,r=0;r>>8^this.crcTable[255&(t^e[r])];return(-1^t)>>>0},t.putByte=function(e,t){t.push(255&e)},t.putShort=function(e,t){t.push(255&e),t.push(e>>>8)},t.putLong=function(e,r){t.putShort(65535&e,r),t.putShort(e>>>16,r)},t.putString=function(e,r){for(var i=0;i32768)return((i-=32768)<<16|r)+32768*Math.pow(2,16);return i<<16|r},t.readString=function(e){var t=[];while(0!==e[0])t.push(String.fromCharCode(e.shift()));return e.shift(),t.join("")},t.readBytes=function(e,t){for(var r=[],i=0;i>1},t.prototype.begin=function(t,r){if(this._mainStream=t,null==this._mainStream)throw new Error("Output stream is null");this.zip=e.ExternalLibrary.JSZip()},t.prototype.addFile=function(e,t,r){void 0===r&&(r=!1),this.zip.file(e,t.toArray())},t.prototype.end=function(){for(var e=this.zip.generate({type:"arraybuffer",compression:"DEFLATE"}),t=new Int8Array(e),r=[],i=0;i0){var n;i=i[r.splice(0,1)[0]]}if(i!=e)return new i;return null},t}();t.StiActivator=r}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.alignToMaxGrid=function(e,t,r){if(r){var i=Math.round(e/t)*t;e>i&&(i+=t),e=i}return e},e.alignToMinGrid=function(e,t,r){if(r){var i=Math.round(e/t)*t;e=t.length&&(n=0),r[i]=e[i]^t[n],i++,n++;return r},e.cryptShift=function(e,t,r){var i=[],n=0,o=0;while(n=t.length&&(o=0),i[n]=r?this.shiftLeft(e[n],t[o]):this.shiftRight(e[n],t[o]),n++,o++;return i},e.shiftLeft=function(e,t){var r=e<<(7&t);return r=255&r|(65280&r)>>8},e.shiftRight=function(e,t){var r=e<<8-(7&t);return r=255&r|(65280&r)>>8},e.cryptRandom=function(e,t,r){var i=[],n=0;this.setRandomSeed(t);var o=this.getMixArray(e.length);while(n0)for(var l=0;l0)for(var l=0;l'+"All;[255:0:0];2;Solid;False;4;[0:0:0]"+"[46:117:181]"+"[46:117:181]"+""+e.childNodes.firstOrDefault((function(e){return"ClientRectangle"==e.nodeName})).textContent+""+"Arial,10"+"Center"+""+e.nodeName+""+""+this.message+""+",,,,WordWrap=True,A=0"+"Center"+""';return r.toXml(t).firstChild},Object.defineProperty(e.prototype,"message",{get:function(){return e.message},enumerable:!1,configurable:!0}),e.message="The chart library was not loaded. Include stimulsoft.reports.chart.js to use charts.",e}();t.StiChartNotSupportedException=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Drawing.ColorTranslator,n=e.System.Drawing.Color,o=function(){function e(){}return e.get=function(e){if(r.isNullOrWhiteSpace(e))return n.transparent;if((e=e.toLowerCase()).stimulsoft.startsWith("#"))return i.fromHtml("0x"+e.substr(1,e.length-1));return i.fromHtml(e.stimulsoft.startsWith("0x")?e:"0x"+e)},e.get2=function(){for(var e=[],t=0;t19)return new t.StiToken(t.StiTokenType.Value,e,this.positionInText-e,o);var a=o.stimulsoft.toNumber();return new t.StiToken(t.StiTokenType.Value,e,this.positionInText-e,a)}catch(e){throw new Error("")}},e.prototype.scanIdent=function(){var e=this.positionInText,r="";while(this.positionInText!=this.text.length&&(i.isLetterOrDigit(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]))r+=this.text[this.positionInText++];return new t.StiToken(t.StiTokenType.Ident,e,this.positionInText-e,r)},e.prototype.scanString=function(){var e=this.positionInText;this.positionInText++;var r="";while(this.positionInText!=this.text.length&&'"'!=this.text[this.positionInText])r+=this.text[this.positionInText++];if(this.positionInText==this.text.length)return new t.StiToken(t.StiTokenType.Value,e,this.positionInText-e,r);return this.positionInText++,new t.StiToken(t.StiTokenType.Value,e,this.positionInText-e,r)},e.prototype.scanChar=function(){if(++this.positionInText==this.text.length)return new t.StiToken(t.StiTokenType.Value,this.positionInText-3,3," ");var e=this.text[this.positionInText++];if(this.positionInText==this.text.length||"'"!=this.text[this.positionInText])return new t.StiToken(t.StiTokenType.Value,this.positionInText-3,3,e);return this.positionInText++,new t.StiToken(t.StiTokenType.Value,this.positionInText-3,3,e)},e.prototype.ungetToken=function(){this.positionInText=this.positions[this.positions.length-1],this.positions.removeAt(this.positions.length-1)},e.prototype.getToken=function(){if(this.skip(),this.text.length<=this.positionInText)return new t.StiToken(t.StiTokenType.EOF,this.positionInText,0);if(i.isLetter(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]){var e=this.positionInText;this.savePosToken();var r=this.scanIdent();switch(r.data){case"true":return new t.StiToken(t.StiTokenType.Value,e,4,!0);case"false":return new t.StiToken(t.StiTokenType.Value,e,5,!1)}return r}if(i.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 t.StiToken(t.StiTokenType.Euro,this.positionInText-1,1);case"®":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Copyright,this.positionInText-1,1);case"(":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.LPar,this.positionInText-1,1);case")":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.RPar,this.positionInText-1,1);case"{":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.LBrace,this.positionInText-1,1);case"}":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.RBrace,this.positionInText-1,1);case",":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Comma,this.positionInText-1,1);case".":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Dot,this.positionInText-1,1);case";":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.SemiColon,this.positionInText-1,1);case":":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Colon,this.positionInText-1,1);case"!":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Minus,this.positionInText-1,1);case"*":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Mult,this.positionInText-1,1);case"^":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Not,this.positionInText-1,1);case"/":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Div,this.positionInText-1,1);case"\\":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Splash,this.positionInText-1,1);case"%":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Percent,this.positionInText-1,1);case"#":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Sharp,this.positionInText-1,1);case"$":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Dollar,this.positionInText-1,1);case"@":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Ampersand,this.positionInText-1,1);case"[":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.LBracket,this.positionInText-1,1);case"]":return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.RBracket,this.positionInText-1,1);case"?":return this.savePosToken(),this.positionInText++,new t.StiToken(t.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 t.StiToken(t.StiTokenType.DoubleOr,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.DoubleAnd,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.DoublePlus,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.DoubleMinus,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.Equal,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.LeftEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&"<"==this.text[this.positionInText])return this.positionInText++,new t.StiToken(t.StiTokenType.Shl,this.positionInText-2,2);return new t.StiToken(t.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 t.StiToken(t.StiTokenType.RightEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&">"==this.text[this.positionInText])return this.positionInText++,new t.StiToken(t.StiTokenType.Shr,this.positionInText-2,2);return new t.StiToken(t.StiTokenType.Right,this.positionInText-1,1);default:return this.savePosToken(),this.positionInText++,new t.StiToken(t.StiTokenType.Unknown,this.positionInText-1,1)}},e.prototype.reset=function(){this.positions.clear(),this.positionInText=0},e.replaceWithPrefix=function(r,i,n,o){var a=r,s=new e(r),l=s.getToken();if(l.type==t.StiTokenType.EOF)return r;var u=null;do{(u=s.getToken()).type==t.StiTokenType.Ident&&l.type==t.StiTokenType.Ident&&l.data==i&&u.data==n&&(a=a.stimulsoft.replaceAll(n,o,u.index,u.length),s.positionInText+=o.length),l=u}while(u.type!=t.StiTokenType.EOF);return a},e.prototype.replaceWithPrefix=function(e,r,i){this.reset();var n=this.getToken();if(n.type==t.StiTokenType.EOF)return;var o=null;do{(o=this.getToken()).type==t.StiTokenType.Ident&&n.type==t.StiTokenType.Ident&&n.data==e&&o.data==r&&(this.text=this.text.stimulsoft.replaceAll(r,i,o.index,o.length),this.positionInText+=i.length),n=o}while(o.type!=t.StiTokenType.EOF);this.baseText=this.text},e.prototype.replaceWithNotEqualPrefix=function(e,r,i){this.reset();var n=this.getToken();if(n.type==t.StiTokenType.EOF)return;var o=null;do{(o=this.getToken()).type==t.StiTokenType.Ident&&n.type!=e&&o.data==r&&(this.text=this.text.stimulsoft.replaceAll(r,i,o.index,o.length),this.positionInText+=i.length),n=o}while(o.type!=t.StiTokenType.EOF);this.baseText=this.text},e.identExists=function(r,i,n){var o=new e(r);while(1){var a=o.getToken();if(null==a||a.type==t.StiTokenType.EOF)return!1;if(a.type==t.StiTokenType.Ident&&null!=a.data){if(n&&a.data==i)return!0;if(!n&&a.data.toLowerCase()==i.toLowerCase())return!0}}},e.getAllTokens=function(i){var n=new r,o=new e(i);while(1){var a=o.getToken();if(null==a||a.type==t.StiTokenType.EOF)return n;n.add(a)}},e}();t.StiLexer=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.MD5=function(e,t){function r(e,t){return e<>>32-t}function i(e,t){var r,i,n,o,a;if(n=2147483648&e,o=2147483648&t,a=(1073741823&e)+(1073741823&t),(r=1073741824&e)&(i=1073741824&t))return 2147483648^a^n^o;return r|i?1073741824&a?3221225472^a^n^o:1073741824^a^n^o:a^n^o}function n(e,t,r){return e&t|~e&r}function o(e,t,r){return e&r|t&~r}function a(e,t,r){return e^t^r}function s(e,t,r){return t^(e|~r)}function l(e,t,o,a,s,l,u){return e=i(e,i(i(n(t,o,a),s),u)),i(r(e,l),t)}function u(e,t,n,a,s,l,u){return e=i(e,i(i(o(t,n,a),s),u)),i(r(e,l),t)}function c(e,t,n,o,s,l,u){return e=i(e,i(i(a(t,n,o),s),u)),i(r(e,l),t)}function d(e,t,n,o,a,l,u){return e=i(e,i(i(s(t,n,o),a),u)),i(r(e,l),t)}function h(e){var t,r=e.length,i=r+8,n,o=16*((i-i%64)/64+1),a=Array(o-1),s=0,l=0;while(l>>29,a}function m(e){var t="",r="",i,n;for(n=0;n<=3;n++)t+=(r="0"+(i=e>>>8*n&255).toString(16)).substr(r.length-2,2);return t}function f(e,t,r){t[r]=255&e,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255}function p(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t}void 0===t&&(t=!0);var S=[],g,y,v,b,C,T,w,D,P,x=7,B=12,L=17,N=22,A=5,F=9,R=14,k=20,O=4,M=11,E=16,H=23,I=6,z=10,W=15,G=21;for(t&&(e=p(e)),S=h(e),T=1732584193,w=4023233417,D=2562383102,P=271733878,g=0;g0){var i=["\\","/"];null==e[0]&&(e[0]=""),t=(t=e[0].stimulsoft.trimEnd(i[0])).stimulsoft.trimEnd(i[1]);for(var n=1;n0)&&!(i=r.next()).done)o.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(a)throw a.error}}return o},__spread=this&&this.__spread||function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},__awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):i(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))},__generator=this&&this.__generator||function(t,e){function n(t){return function(e){return r([t,e])}}function r(n){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,a&&(s=2&n[0]?a["return"]:n[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,n[1])).done)return s;switch(a=0,s&&(n=[2&n[0],s.value]),n[0]){case 0:case 1:s=n;break;case 4:return i.label++,{value:n[1],done:!1};case 5:i.label++,a=n[1],n=[0];continue;case 7:n=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==n[0]&&2!==n[0])){i=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]e.length)return 1;return 0},e.default=new e,e}();e.StiObjectComparer=c}(n=e.Comparers||(e.Comparers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Comparers.StiObjectComparer,r=function(){function t(){}return t.prototype.compare=function(t,e){if(null==t||null==e)return 0;if(t.length!=e.length)return-1;for(var r=0;re.type)return 1;if(t.typet.length||null==n)return t;return t.stimulsoft.insert(e,n,0)},t.insertObject=function(e,n,r){return m.isList(e)?m.toStringList(e).select((function(e){return t.insert(e,n,r)})):t.insert(v.tryToString(e),n,r)},t.isDataEqual=function(e,n,r){if(t.toDataName(n)==t.toDataName(r))return!0;if(!r.stimulsoft.contains("."))return!1;return t.toDataName(e.getName()+"."+n)==r},t.left=function(t,e){if(void 0===e&&(e=-1),null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(0,e)},t.leftObject=function(e,n){return void 0===n&&(n=-1),m.isList(e)?m.toStringList(e).select((function(e){return t.left(e,n)})):t.left(v.tryToString(e),n)},t.length2=function(t){return null==t?0:t.length},t.lengthObject=function(e){return m.isList(e)?m.toStringList(e).select(t.length2).cast():t.length2(v.tryToString(e))},t.remove=function(t,e,n){if(null==t)return null;if(n<=0||e<0||e>=t.length)return t;return e+n>t.length&&(n=t.length-e),t.stimulsoft.remove(e,n)},t.removeObject=function(e,n,r){return m.isList(e)?m.toStringList(e).select((function(e){return t.remove(e,n,r)})):t.remove(v.tryToString(e),n,r)},t.replace=function(t,e,n){if(null==t)return null;if(null==e)return t;return null==n&&(n=""),t.stimulsoft.replaceAll(e,n)},t.replaceObject=function(e,n,r){return m.isList(e)?m.toStringList(e).select((function(e){return t.replace(e,n,r)})):t.replace(v.tryToString(e),n,r)},t.right=function(t,e){if(void 0===e&&(e=-1),null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(t.length-e,e)},t.rightObject=function(e,n){return void 0===n&&(n=-1),m.isList(e)?m.toStringList(e).select((function(e){return t.right(e,n)})):t.right(v.tryToString(e),n)},t.toDataName=function(e){if(null==e)return null;if(t.toDataNameCache.contains(e))return t.toDataNameCache.get(e);var n=e.toLowerCase().stimulsoft.replaceAll(" ","");return n.stimulsoft.startsWith("[")&&(n=n.substring(1)),n.stimulsoft.endsWith("]")&&(n=n.substring(0,n.length-1)),t.toDataNameCache.add(e,n),n},t.toExpression=function(e){return t.toExpression2(e,null)},t.toExpression2=function(t,e){if(null==t)return null;if(0==t.length)return"";if(!n.isNullOrEmpty(e)){if(t.split("").stimulsoft.toList().any((function(t){return!(p.isLetterOrDigit(t)||"_"==t)}))||e.split("").stimulsoft.toList().any((function(t){return!(p.isLetterOrDigit(t)||"_"==t)}))||p.isDigit(t[0])||p.isDigit(e[0]))return"["+t+"."+e+"]";return t+"."+e}if(t.split("").stimulsoft.toList().any((function(t){return!(p.isLetterOrDigit(t)||"."==t||"_"==t)}))||p.isDigit(t[0]))return"["+t+"]";return t},t.toLowerCase=function(e){if(null==e)return null;if(t.toLowerCaseCache.contains(e))return t.toLowerCaseCache.get(e);var n=e.toLowerCase();return t.toLowerCaseCache.add(e,n),n},t.toLowerCaseObject=function(e){return m.isList(e)?m.toStringList(e).select(t.toLowerCase):t.toLowerCase(v.tryToString(e))},t.toProperCase=function(e){if(null==e)return null;if(t.toProperCaseCache.contains(e))return t.toProperCaseCache.get(e);var n=l.InvariantCulture.textInfo.toTitleCase(e.toLowerCase());return t.toProperCaseCache.add(e,n),n},t.toProperCaseObject=function(e){return m.isList(e)?m.toStringList(e).select(t.toProperCase):t.toProperCase(v.tryToString(e))},t.toString=function(t){return null==t?"":t.Funcs.toString()},t.toStringObject=function(e){return m.isList(e)?m.toList(e).select(t.toString):t.toString(e)},t.toUpperCase=function(e){if(null==e)return null;if(t.toUpperCaseCache.contains(e))return t.toUpperCaseCache.get(e);var n=e.toUpperCase();return t.toUpperCaseCache.add(e,n),n},t.toUpperCaseObject=function(e){return m.isList(e)?m.toStringList(e).select(t.toUpperCase):t.toUpperCase(v.tryToString(e))},t.trim=function(t){return null!=t?t.trim():null},t.trimObject=function(e){return m.isList(e)?m.toStringList(e).select(t.trim):t.trim(v.tryToString(e))},t.trimStart=function(t){return null!=t?t.stimulsoft.trimStart():null},t.trimStartObject=function(e){return m.isList(e)?m.toStringList(e).select(t.trimStart):t.trimStart(v.tryToString(e))},t.trimEnd=function(t){return null!=t?t.stimulsoft.trimEnd():null},t.trimEndObject=function(e){return m.isList(e)?m.toStringList(e).select(t.trimEnd):t.trimEnd(v.tryToString(e))},t.substring=function(t,e,n){if(void 0===n&&(n=-1),null==t)return null;if(e<-1)return"";if(-1==n)return e>=t.length?"":t.substring(e);if(e>=t.length)return"";return e+n>t.length?t.substring(e):t.substring(e,n)},t.substringObject=function(e,n,r){return void 0===r&&(r=-1),m.isList(e)?m.toStringList(e).select((function(e){return t.substring(e,n,r)})):t.substring(v.tryToString(e),n,r)},t.getSystemVariable=function(n,r){switch(n){case e.StiSystemVariableObject.Line:return r;case e.StiSystemVariableObject.LineABC:return t.toABC(r);case e.StiSystemVariableObject.LineRoman:return t.toRoman(r);default:throw new Error("NotImplementedException")}},t.existsCustomFunction=function(t){return this.getCustomFunctions(t).any()},t.getCustomFunctions=function(t){var e=s.getFunctions2(t,!0,!1);if(null!=e)return e.stimulsoft.toList();return new f},t.getCustomFunction=function(t,e){var n;return this.getCustomFunctions(t).firstOrDefault()},t.invokeCustomFunction=function(t,e){var n=this.getCustomFunctions(t);if(1==n.count2())return n.firstOrDefault().invoke(e);var r=this.getCustomFunction(t,e.select((function(t){return null!=t?t.getType():null})));if(null==r)throw new u(t);return r.invoke(e)},t.skipNulls=function(t){return t&&t.where((function(t){return null!=t}))},t.optionalSkipNulls=function(e){return S.allowNulls?e:t.skipNulls(e)},t.toRoman=function(t){var e="";while(t>0)for(var n=5;n>=0;n--){if(t>=this.arabics[n]){e+=this.romans[n],t-=this.arabics[n];break}for(var r=!1,i=this.subs[n];i=this.arabics[n]-this.arabics[i]){e+=this.romans[i],e+=this.romans[n],t-=this.arabics[n]-this.arabics[i],r=!0;break}}if(r)break}return e},t.toABC=function(t){if(t<1)return"";var e=0;while(t>26)e++,t-=26;return n.fill(this.abc[t-1],e+1)},t.toABCNumeric=function(t){var e=0;while(t>26)e++,t-=26;return 0==e?String.fromCharCode(t+64):String.fromCharCode(t+64)+e.toString()},t.toABCRu=function(t){if(t<1)return"";var e=0;while(t>26)e++,t-=26;return n.fill(this.abcRu[t-1],e+1)},t.toArabic=function(t,e){t=t.toString();for(var n="",r=0;r=48&&i<=57&&(i+=1632-48,e&&(i+=1776-1632)),n+=String.fromCharCode(i)}return n},t.iso2Cache=new c,t.toProperCaseCache=new c,t.toLowerCaseCache=new c,t.toUpperCaseCache=new c,t.toDataNameCache=new c,t.arabics=[1,5,10,50,100,1e3],t.romans=["I","V","X","L","C","M"],t.subs=[0,0,0,2,2,4],t.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"],t.abcRu=["¿","¡","¬","√","ƒ","≈","∆","«","»"," ","À","Ã","Õ","Œ","œ","–","—","“","”","‘","’","÷","◊","ÿ","Ÿ","›","fi","fl"],t}();e.Funcs=x}(n=e.Functions||(e.Functions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Enum,r;!function(t){t[t["Q1"]=1]="Q1",t[t["Q2"]=2]="Q2",t[t["Q3"]=3]="Q3",t[t["Q4"]=4]="Q4"}(r=e.StiQuarter||(e.StiQuarter={}));var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.January=new e("January",1),e.February=new e("February",2),e.March=new e("March",3),e.April=new e("April",4),e.May=new e("May",5),e.June=new e("June",6),e.July=new e("July",7),e.August=new e("August",8),e.September=new e("September",9),e.October=new e("October",10),e.November=new e("November",11),e.December=new e("December",12),e[1]=e.January,e[2]=e.February,e[3]=e.March,e[4]=e.April,e[5]=e.May,e[6]=e.June,e[7]=e.July,e[8]=e.August,e[9]=e.September,e[10]=e.October,e[11]=e.November,e[12]=e.December,e}(n);e.StiMonth=i;var o=function(){function t(t){this.value="",this.value=t}return t.Line=new t("Line"),t.LineABC=new t("LineABC"),t.LineRoman=new t("LineRoman"),t}();e.StiSystemVariableObject=o}(n=e.Functions||(e.Functions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Functions.StiSystemVariableObject,r=t.System.StiString,i=t.System.TimeSpan,o=t.Data.Exceptions.StiArgumentNotFoundException,a=t.Data.Exceptions.StiFunctionNotFoundException,s=t.Data.Exceptions.StiArgumentCountException,u=t.Data.Functions.Funcs,l=t.Base.Meters.IStiDimensionMeter,c=t.System.Collections.Dictionary,h=t.System.DateTime,p=t.Base.Helpers.StiValueHelper,f=function(){function t(t,e,n){this.nameToIndex=new c,this.nameToValue=new c,this.nameToVariable=new c,this.dictionary=t,this.table=e,this.meters=n}return t.prototype.runFunction=function(e,n){var r;switch(u.toLowerCase(e)){case"all":return n.parameters.length>0?u.all(t.getDataColumnFromArg0(e,n)):null;case"avg":return u.avg(t.getDataColumnFromArg0(e,n));case"avgnulls":return u.avgNulls(t.getDataColumnFromArg0(e,n));case"avgd":return u.avg(t.getDataColumnFromArg0(e,n));case"avgi":return u.avg(t.getDataColumnFromArg0(e,n));case"avgdate":return u.avgDate(t.getDataColumnFromArg0(e,n));case"avgtime":return u.avgTime(t.getDataColumnFromArg0(e,n));case"count":return n.parameters.length>0?u.count(t.getDataColumnFromArg0(e,n)):0;case"countif":return n.parameters.length>0?u.countIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"distinct":return n.parameters.length>0?u.distinct(t.getDataColumnFromArg0(e,n)):0;case"distinctcount":return n.parameters.length>0?u.distinctCount(t.getDataColumnFromArg0(e,n)):0;case"distinctcountif":return n.parameters.length>0?u.distinctCountIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"grandtotal":if(n.parameters.length>0){this.isGrandTotal=!0;var o=u.sum(t.getDataColumnFromArg0(e,n));return this.isGrandTotal=!1,o}return 0;case"first":return n.parameters.length>0?u.first(t.getDataColumnFromArg0(e,n)):null;case"last":return n.parameters.length>0?u.last(t.getDataColumnFromArg0(e,n)):null;case"median":return u.median(t.getDataColumnFromArg0(e,n));case"max":return n.parameters.length>0?u.max(t.getDataColumnFromArg0(e,n)):0;case"maxnulls":return n.parameters.length>0?u.maxNulls(t.getDataColumnFromArg0(e,n)):null;case"maxd":return n.parameters.length>0?u.maxD(t.getDataColumnFromArg0(e,n)):0;case"maxi":return n.parameters.length>0?u.maxI(t.getDataColumnFromArg0(e,n)):0;case"maxdate":return n.parameters.length>0?u.maxDate(t.getDataColumnFromArg0(e,n)):null;case"maxtime":return n.parameters.length>0?u.maxTime(t.getDataColumnFromArg0(e,n)):null;case"maxstr":return n.parameters.length>0?u.maxStr(t.getDataColumnFromArg0(e,n)):null;case"min":return n.parameters.length>0?u.min(t.getDataColumnFromArg0(e,n)):0;case"minnulls":return n.parameters.length>0?u.minNulls(t.getDataColumnFromArg0(e,n)):null;case"mind":return n.parameters.length>0?u.min(t.getDataColumnFromArg0(e,n)):0;case"mini":return n.parameters.length>0?u.min(t.getDataColumnFromArg0(e,n)):0;case"mindate":return n.parameters.length>0?u.minDate(t.getDataColumnFromArg0(e,n)):null;case"minmaxdatestring":return n.parameters.length>0?u.minMaxDateString(t.getDataColumnFromArg0(e,n)):null;case"mintime":return n.parameters.length>0?u.minTime(t.getDataColumnFromArg0(e,n)):null;case"minstr":return n.parameters.length>0?u.minStr(t.getDataColumnFromArg0(e,n)):null;case"sum":return n.parameters.length>0?u.sum(t.getDataColumnFromArg0(e,n)):0;case"sumnulls":return n.parameters.length>0?u.sumNulls(t.getDataColumnFromArg0(e,n)):0;case"sumd":return n.parameters.length>0?u.sumD(t.getDataColumnFromArg0(e,n)):0;case"sumi":return n.parameters.length>0?u.sumI(t.getDataColumnFromArg0(e,n)):0;case"sumdistinct":return n.parameters.length>0?u.sumDistinct(t.getDataColumnFromArg0(e,n)):0;case"sumtime":return n.parameters.length>0?u.sumTime(t.getDataColumnFromArg0(e,n)):new i;case"sumif":return n.parameters.length>0?u.sumIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"sumdif":return n.parameters.length>0?u.sumDIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"sumiif":return n.parameters.length>0?u.sumIIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"sumdistinctif":return n.parameters.length>0?u.sumDistinctIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"sumtimeif":return n.parameters.length>0?u.sumTimeIf(t.getDataColumnFromArg0(e,n),t.getObjectFromArg1("condition",e,n)):0;case"addmonths":var l=t.getObjectFromArg(0,"date",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"months",e,n));return u.addMonthsObject(l,c);case"addyear":var l=t.getObjectFromArg(0,"date",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"years",e,n));return u.addYearsObject(l,c);case"datediff":return u.dateDiffObject(t.getObjectFromArg0("date1",e,n),t.getObjectFromArg1("date2",e,n));case"datetime":return n.parameters.length>0?u.dateTime(t.getDataColumnFromArg0(e,n)):null;case"day":return u.dayObject(t.getObjectFromArg0("date",e,n));case"daysinmonth":return 1==n.parameters.length?u.daysInMonthObject2(t.getObjectFromArg0("date",e,n)):u.daysInMonthObject(t.getObjectFromArg0("year",e,n),t.getObjectFromArg1("month",e,n));case"daysinyear":var f;return(f=t.getObjectFromArg0("value",e,n)).stimulsoft.is(h)?u.daysInYearObject(f):u.daysInYearObject(p.tryToNumber(f));case"dayofweek":var l=t.getObjectFromArg0("date",e,n),c;if(1==n.parameters.length)return u.dayOfWeekObject(l);if(2==n.parameters.length)return(c=t.getObjectFromArg1("localized",e,n)).stimulsoft.is(Boolean)?u.dayOfWeekObject2(l,c):u.dayOfWeekObject2(l,c.toString());if(3==n.parameters.length){var c=t.getObjectFromArg1("culture",e,n),m=t.getObjectFromArg2("upperCase",e,n);return u.dayOfWeekObject4(l,c.toString(),m.stimulsoft.is(Boolean)&&m)}throw new s(e);case"dayofweekident":return u.dayOfWeekIdentObject(t.getObjectFromArg0("date",e,n));case"dayofweekindex":return u.dayOfWeekIndexObject(t.getObjectFromArg0("date",e,n));case"dayofyear":return u.dayOfYearObject(t.getObjectFromArg0("date",e,n));case"financialquarter":return u.financialQuarterObject(t.getObjectFromArg0("date",e,n));case"financialquarterindex":return u.financialQuarterIndexObject(t.getObjectFromArg0("date",e,n));case"hour":return u.hourObject(t.getObjectFromArg0("date",e,n));case"makedate":case"dateserial":var l=t.getObjectFromArg(0,"year",e,n),c=t.getObjectFromArg(1,"months",e,n),m=t.getObjectFromArg(2,"day",e,n);return u.makeDateObject(l,c,m);case"makedatetime":var l=t.getObjectFromArg(0,"year",e,n),c=t.getObjectFromArg(1,"months",e,n),m=t.getObjectFromArg(2,"day",e,n),d=t.getObjectFromArg(3,"hour",e,n),y=t.getObjectFromArg(4,"minute",e,n),v=t.getObjectFromArg(5,"second",e,n);return u.makeDateTimeObject(l,c,m,d,y,v);case"maketime":case"timeserial":var l=t.getObjectFromArg(0,"hour",e,n),c=t.getObjectFromArg(1,"minute",e,n),m=t.getObjectFromArg(2,"second",e,n);return u.makeTimeObject(l,c,m);case"minute":return u.minuteObject(t.getObjectFromArg0("date",e,n));case"month":return u.monthObject(t.getObjectFromArg0("date",e,n));case"monthident":return u.monthIdentObject(t.getObjectFromArg0("date",e,n));case"monthname":var l=t.getObjectFromArg0("date",e,n),c;if(1==n.parameters.length)return u.monthNameObject(l);if(2==n.parameters.length)return(c=t.getObjectFromArg1("localized",e,n)).stimulsoft.is(Boolean)?u.monthNameObject2(l,c):u.monthNameObject2(l,c.toString());if(3==n.parameters.length){var c=t.getObjectFromArg1("culture",e,n),m=t.getObjectFromArg2("upperCase",e,n);return u.monthNameObject4(l,c.toString(),m.stimulsoft.is(Boolean)&&m)}throw new s(e);case"now":return u.now();case"quarter":return u.quarterObject(t.getObjectFromArg0("date",e,n));case"quarterindex":return u.quarterIndexObject(t.getObjectFromArg0("date",e,n));case"quartername":var l=t.getObjectFromArg0("date",e,n),c;if(1==n.parameters.length)return u.quarterNameObject(l,!1);if(2==n.parameters.length)return(c=t.getObjectFromArg1("localized",e,n)).stimulsoft.is(Boolean)?u.quarterNameObject(l,c):u.quarterNameObject(l);throw new s(e);case"second":return u.secondObject(t.getObjectFromArg0("date",e,n));case"time":return n.parameters.length>0?u.time(t.getDataColumnFromArg0(e,n)):null;case"year":return u.yearObject(t.getObjectFromArg0("date",e,n));case"yearmonth":return u.yearMonthObject(t.getObjectFromArg0("date",e,n));case"insert":var l=t.getObjectFromArg0("str",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"startIndex",e,n)),m=p.tryToString(t.getObjectFromArg(2,"value",e,n));return u.insertObject(l,c,m);case"iso2":var l=t.getObjectFromArg0("name",e,n),c=n.parameters.length>1?p.tryToString(t.getObjectFromArg(1,"mapId",e,n)):null;return u.iso2Object(l,c);case"iso2toname":var l=t.getObjectFromArg0("alpha2",e,n),c=n.parameters.length>1?p.tryToString(t.getObjectFromArg(1,"mapId",e,n)):null;return u.iso2ToNameObject(l,c);case"iso3":var l=t.getObjectFromArg0("name",e,n),c=n.parameters.length>1?p.tryToString(t.getObjectFromArg(1,"mapId",e,n)):null;return u.iso3Object(l,c);case"iso3toname":var l=t.getObjectFromArg0("alpha2",e,n),c=n.parameters.length>1?p.tryToString(t.getObjectFromArg(1,"mapId",e,n)):null;return u.iso3ToNameObject(l,c);case"left":var l=t.getObjectFromArg0("str",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"length",e,n));return u.leftObject(l,c);case"length":return u.lengthObject(t.getObjectFromArg0("str",e,n));case"normalizename":var l=t.getObjectFromArg0("name",e,n),c=n.parameters.length>1?p.tryToString(t.getObjectFromArg(1,"mapId",e,n)):null;return u.normalizeNameObject(l,c);case"remove":var l=t.getObjectFromArg0("str",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"startIndex",e,n)),m=p.tryToNumber(t.getObjectFromArg(2,"count",e,n));return u.removeObject(l,c,m);case"replace":var l=t.getObjectFromArg0("str",e,n),c=p.tryToString(t.getObjectFromArg(1,"oldValue",e,n)),m=p.tryToString(t.getObjectFromArg(2,"newValue",e,n));return u.replaceObject(l,c,m);case"right":var l=t.getObjectFromArg0("str",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"length",e,n));return u.rightObject(l,c);case"topropercase":return u.toProperCaseObject(t.getObjectFromArg0("str",e,n));case"tolowercase":return u.toLowerCaseObject(t.getObjectFromArg0("str",e,n));case"tostring":return u.toStringObject(t.getObjectFromArg0("value",e,n));case"touppercase":return u.toUpperCaseObject(t.getObjectFromArg0("str",e,n));case"substring":var l=t.getObjectFromArg0("str",e,n),c=p.tryToNumber(t.getObjectFromArg(1,"index",e,n)),m=n.parameters.length>2?p.tryToNumber(t.getObjectFromArg(2,"length",e,n)):-1;return u.substringObject(l,c,m);case"trim":return u.trimObject(t.getObjectFromArg0("str",e,n));case"trimstart":return u.trimStartObject(t.getObjectFromArg0("str",e,n));case"trimend":return u.trimEndObject(t.getObjectFromArg0("str",e,n));case"array":return n.parameters.select((function(t){return t.evaluate()})).stimulsoft.toArray();case"list":return n.parameters.select((function(t){return t.evaluate()})).toList();case"iif":var g=t.getObjectFromArg0("condition",e,n);return p.tryToBool(g)?t.getObjectFromArg1("truePart",e,n):t.getObjectFromArg2("falsePart",e,n);case"choose":var S=t.getObjectFromArg0("index",e,n),b=p.tryToNumber(S),x;if(0==(x=n.parameters.skip(1).select((function(t){return t.evaluate()})).toList()).length)return null;if(b<1||b>x.length)return null;return x[b-1];case"switch":for(var x=n.parameters.select((function(t){return t.evaluate()})).toList(),b=0;b=r.parameters.length)throw new o(n,e);return r.parameters[t].evaluate()},t.evaluateArgs=function(t){return t.parameters.toList().select((function(t){return t.evaluate()}))},t.getObjectFromArg0=function(e,n,r){return t.getObjectFromArg(0,e,n,r)},t.getObjectFromArg1=function(e,n,r){return t.getObjectFromArg(1,e,n,r)},t.getObjectFromArg2=function(e,n,r){return t.getObjectFromArg(2,e,n,r)},t.getDataColumnFromArg0=function(e,n){return t.getObjectFromArg0("dataColumn",e,n)},t.prototype.getDataColumnIndex=function(t){var e=this;if(null==this.table)return-1;if(this.nameToIndex.contains(t))return this.nameToIndex.get(t);var n=u.toDataName(t),r=this.table.columns.toList().cast().firstOrDefault((function(t){return e.dataEqual(t,n)}));if(null==r)return-1;var i=this.table.columns.indexOf(r);if(-1==i)return-1;return this.nameToIndex.add(t,i),i},t.prototype.dataEqual=function(t,e){var n=u.toDataName(t.columnName);if(!e.stimulsoft.contains("."))return!1;return n==e},t.prototype.getDimensionIndex=function(t){return this.meters.where((function(t){return t.stimulsoft.is(l)})).indexOf(t)},t}();e.StiDataParser=f}(n=e.Parsers||(e.Parsers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Exception,i=t.Data.Types.DateTimeValue,o=t.Data.Types.SimpleValue,a=t.Data.Helpers.StiExpressionHelper,s=t.Data.Functions.Funcs,u=t.Base.Meters.IStiDimensionMeter,l=t.Base.Meters.IStiMeasureMeter,c=t.System.Collections.Dictionary,h=function(t){function h(e,n,r,i){var o=t.call(this,e,n,r)||this;return o.queryToExpression=new c,o.expressionToPair=new c,o.grandRows=i,o}return __extends(h,t),h.prototype.calculate=function(){var t=this;return this.grandRows.select((function(e){return t.meters.select((function(n){return t.calculateMeter(n,e.key,e)}),t)}),this)},h.prototype.calculateMeter=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null);var i=t.stimulsoft.as(u);if(null!=i)return this.calculateDimension(i,e);var o=t.stimulsoft.as(l);if(null!=o){var a=this.getMeasureColumn(o);return null==a?this.calculateMeasureExpression(o,n):this.calculateMeasureFunction(a.function,a.columnName,n)}throw new r("NotSupportedException")},h.prototype.calculateDimension=function(t,e){var n=this.getDimensionIndex(t);if(-1==n)return null;var r=e&&e[n];return(null!=r&&r.stimulsoft.is(o)||null!=r&&r.stimulsoft.is(i))&&(r=r.value),r},h.prototype.calculateMeasureFunction=function(t,e,n){var r=this.getDataColumnIndex(e);if(-1==r)return null;var i=n.select((function(t){return t[r]}));return s.calculate(t,i)},h.prototype.calculateMeasureExpression=function(t,e){if(n.isNullOrWhiteSpace(t.expression))return null;var r=this.getExpression(t.expression);return this.currentRows=e,r.evaluate()},h.prototype.getMeasureColumn=function(t){var r,i;if(null==this.table)return null;if(n.isNullOrWhiteSpace(t.expression))return null;if(this.expressionToPair.contains(t.expression))return this.expressionToPair.get(t.expression);var o=t.expression.trim().toLowerCase(),a=s.getMeasureFunctions(),u=this,l=function(n){var r=s.toLowerCase(n),i=u.table.columns.toList().cast().firstOrDefault((function(t){return r+"("+s.toLowerCase(t.columnName).trim()+")"==o||r+"(["+s.toLowerCase(t.columnName).trim()+"])"==o}));if(null!=i){var a=new e.StiFunctionColumnPair;return a.function=n,a.columnName=i.columnName,u.expressionToPair.add(t.expression,a),{value:a}}};try{for(var c=__values(a),h=c.next();!h.done;h=c.next()){var p,f=l(h.value);if("object"==typeof f)return f.value}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return null},h.prototype.getExpression=function(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);var e=a.newExpression(t),n=this;return e.evaluateFunction=function(t,e){return e.result=n.runFunction(t,e)},e.evaluateParameter=function(t,e){n.isSystemVariable(t)?e.result=n.getSystemVariableValue(t):n.isVariable(t)?e.result=n.getVariableValue(t):e.result=n.isGrandTotal?n.grandRows.selectMany((function(e){return e.select((function(e){return n.getDataRowValue(t,e)}))})):null!=n.currentRows?n.currentRows.select((function(e){return n.getDataRowValue(t,e)})):null},this.queryToExpression.set(t,e),e},h.prototype.getDataRowValue=function(t,e){var n;return-1==this.getDataColumnIndex(t)?null:e[this.getDataColumnIndex(t)]},h}(e.StiDataParser);e.StiMeasureDataParser=h}(n=e.Parsers||(e.Parsers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.Data.Helpers.StiDateTimeCorrector,i=t.Data.Helpers.StiExpressionHelper,o=t.System.Collections.Dictionary,a=t.System.DateTime,s=t.Base.Meters.IStiDimensionMeter,u=t.Data.Functions.Funcs,l=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.queryToExpression=new o,i.expressionToColumn=new o,i.dimensions=r.where((function(t){return t.stimulsoft.is(s)})).cast(),i}return __extends(e,t),e.prototype.calculate=function(t,n){return this.currentRow=t,e.normalizeDates(this.dimensions.select(this.calculateDimension,this).stimulsoft.toArray(),n)},e.normalizeDates=function(t,e){if(null==e)return t;return t.stimulsoft.toList().select((function(t){return null!=t&&t.stimulsoft.is(a)?r.correct(t):t})).stimulsoft.toArray()},e.prototype.calculateDimension=function(t){if(n.isNullOrWhiteSpace(t.expression))return null;try{var e=this.getDimensionGroupColumn(t);return null==e?this.calculateDimensionExpression(t):this.calculateDimensionGroup(e)}catch(t){return null}},e.prototype.getDimensionGroupColumn=function(t){if(null==this.table)return null;if(n.isNullOrWhiteSpace(t.expression))return null;if(this.expressionToColumn.contains(t.expression))return this.expressionToColumn.get(t.expression);var e=u.toDataName(t.expression),r=this.table.columns.toList().cast().firstOrDefault((function(t){return u.toDataName(t.columnName)==e})),i=null!=r?r.columnName:null;return this.expressionToColumn.add(t.expression,null!=i?i:null),i},e.prototype.calculateDimensionExpression=function(t){var e=this.getExpression(t.expression);if(null==e)return null;return e.evaluate()},e.prototype.calculateDimensionGroup=function(t){var e=this.getDataColumnIndex(t),n=this.currentRow[e];return this.normalizeEnum(n,e)},e.prototype.normalizeEnum=function(t,e){return t},e.prototype.getExpression=function(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);var e=i.newExpression(t),n=this;return e.evaluateFunction=function(t,e){return e.result=n.runFunction(t,e)},e.evaluateParameter=function(t,e){if(n.isSystemVariable(t))e.result=n.getSystemVariableValue(t);else if(n.isVariable(t))e.result=n.getVariableValue(t);else{var r=n.getDataColumnIndex(t);r>=0&&r "+i;case e.StiDataFilterCondition.GreaterThan:return t+" > "+i;case e.StiDataFilterCondition.GreaterThanOrEqualTo:return t+" >= "+i;case e.StiDataFilterCondition.LessThan:return t+" < "+i;case e.StiDataFilterCondition.LessThanOrEqualTo:return t+" <= "+i;case e.StiDataFilterCondition.BeginningWith:return t+" "+a.get("PropertyEnum","StiFilterConditionBeginningWith")+" "+i;case e.StiDataFilterCondition.EndingWith:return t+" "+a.get("PropertyEnum","StiFilterConditionEndingWith")+" "+i;case e.StiDataFilterCondition.Between:return t+" "+a.get("PropertyEnum","StiFilterConditionBetween")+" "+i+" "+a.get("PropertyEnum","StiFilterModeAnd").toLowerCase()+" "+o;case e.StiDataFilterCondition.NotBetween:return t+" "+a.get("PropertyEnum","StiFilterConditionNotBetween")+" "+i+" "+a.get("PropertyEnum","StiFilterModeAnd").toLowerCase()+" "+o;default:return""}},l.prototype.getValue=function(t){t=t||"";var e=i.fromString2("MM/dd/yyyy",t,!1);if(null!=e)return"'"+e.toShortDateString()+"'";var n=r.tryParse(t);if(n.successfully)return""+n.result;if(null!=t&&("true"==t.toLowerCase()||"false"==t.toLowerCase()))return t;return"'"+t+"'"},l}(e.StiDataRule);e.StiDataFilterRule=l}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e){return t.call(this,"'"+e+"' Is Not Recognized!")||this}return __extends(e,t),e}(t.StiDataException);t.StiTypeNotRecognizedException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.StiNumber,i=t.Base.Helpers.StiValueHelper,o=t.System.Globalization.CultureInfo,a=t.System.Enum,s=t.System.Type,u=t.Base.StiKeyHelper,l=t.Data.Helpers.StiExpressionHelper,c=t.Data.Exceptions.StiTypeNotRecognizedException,h=t.System.DateTime,p=function(){function t(){}return t.toList=function(){for(var t=[],e=0;e0&&(c.length>0&&(c+=" AND "),e.count2()>1&&h.count2()>1&&(c+="("),c=c+=n,e.count2()>1&&h.count2()>1&&(c+=")"))},f=this;try{for(var m=__values(h),d=m.next();!d.done;d=m.next()){var y;p(d.value)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}return c},t.getFullPath=function(t){return null==t.elementKey?t.path:t.path+t.elementKey},t.getFilterGroupQuery=function(t,n,r,i){var o,s,u=this,c="",h=t.where((function(t){return u.getFilterOperation(t)==e.StiDataFilterOperation.OR})),p=t.where((function(t){return u.getFilterOperation(t)==e.StiDataFilterOperation.AND})),f=!1;try{for(var m=__values(h.concat(p)),d=m.next();!d.done;d=m.next()){var y=d.value,v=null!=n?this.getColumnIndex(n,y):0,g=v;y.condition==e.StiDataFilterCondition.PairEqualTo&&(g=null!=n?this.getColumnIndex2(n,y):0);var S=this.getFilterOperation(y);c.length>0?(f&&S==e.StiDataFilterOperation.AND&&(f=!1,c+=")"),c+=" "+a.getName(e.StiDataFilterOperation,S)+" "):S==e.StiDataFilterOperation.OR&&p.any()&&(f=!0,c+="(");var b=null!=n&&-1!=v?n[v]:y.path,x=null!=r&&-1!=v?r[v]:Object,T=b,E=x;y.condition==e.StiDataFilterCondition.PairEqualTo&&(T=null!=n&&-1!=g?n[g]:y.path2,E=null!=r&&-1!=g?r[g]:Object);var w=y.isExpression?l.parseReportExpression(i,y.value,!1):this.getValue(x,y.value),D=y.isExpression?l.parseReportExpression(i,y.value2,!1):this.getValue(x,y.value2),_;c=c+=this.getCondition(b,T,y.condition,w,D,x,E)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}return f&&(c+=")"),c},t.getValue=function(t,e){if(t==String)return e;if(t!=Number)return null==e?"":e;var n=o.currentCulture;try{if(o.currentCulture=o.cultures["en-US"],t==Number){var r=i.tryToNullableNumber(e);if(null!=r)return r.toString()}return e}finally{o.currentCulture=n}},t.getColumnIndex=function(t,e){var n=e.path,r=t.indexOf(n);if(-1!=r)return r;if(-1!=(r=(t=t.select((function(t){return t.stimulsoft.replaceAll(" ","")}))).indexOf(n)))return r;return n.stimulsoft.startsWith("[")&&(n=n.substring(1)),n.stimulsoft.endsWith("]")&&(n=n.substring(0,n.length-1)),t.indexOf(n)},t.getColumnIndex2=function(t,e){var r=e.path2;if(n.isNullOrEmpty(r))return 0;var i=t.indexOf(r);if(-1!=i)return i;if(-1!=(i=(t=t.select((function(t){return t.stimulsoft.replaceAll(" ","")}))).indexOf(r)))return i;return r.stimulsoft.startsWith("[")&&(r=r.substring(1)),r.stimulsoft.endsWith("]")&&(r=r.substring(0,r.length-1)),t.indexOf(r)},t.getCondition=function(t,n,r,i,o,a,u){var l=e.StiDataColumnRuleHelper.getGoodColumnName(t),h=s.isDateType(a);switch(r){case e.StiDataFilterCondition.EqualTo:return i=this.getQueryValue(i,a,!0),h?"("+l+" >= "+i+" 00:00:00 AND "+l+" <= "+i+" 23:59:59)":l+" = "+i;case e.StiDataFilterCondition.NotEqualTo:return i=this.getQueryValue(i,a,!0),h?"("+l+" < "+i+" 00:00:00 OR "+l+" > "+i+" 23:59:59)":l+" <> "+i;case e.StiDataFilterCondition.GreaterThan:return i=this.getQueryValue(i,a,!0),h?l+" > "+i+" 23:59:59":l+" > "+i;case e.StiDataFilterCondition.GreaterThanOrEqualTo:return i=this.getQueryValue(i,a,!0),h?l+" >= "+i+" 00:00:00":l+" >= "+i;case e.StiDataFilterCondition.LessThan:return i=this.getQueryValue(i,a,!0),h?l+" < "+i+" 00:00:00":l+" < "+i;case e.StiDataFilterCondition.LessThanOrEqualTo:return i=this.getQueryValue(i,a,!0),h?l+" <= "+i+" 23:59:59":l+" <= "+i;case e.StiDataFilterCondition.Between:return i=this.getQueryValue(i,a,!0),o=this.getQueryValue(o,a,!0),h?"("+l+" >= "+i+" 00:00:00 AND "+l+" <= "+o+" 23:59:59)":"("+l+" >= "+i+" AND "+l+" <= "+o+")";case e.StiDataFilterCondition.NotBetween:return i=this.getQueryValue(i,a,!0),o=this.getQueryValue(o,a,!0),h?"("+l+" < "+i+" 00:00:00 OR "+l+" > "+o+" 23:59:59)":"("+l+" < "+i+" OR "+l+" > "+o+")";case e.StiDataFilterCondition.Containing:return l+" LIKE '*"+(i=this.getQueryValue(i,a,!1))+"*'";case e.StiDataFilterCondition.NotContaining:return"NOT ("+l+" LIKE '*"+(i=this.getQueryValue(i,a,!1))+"*')";case e.StiDataFilterCondition.BeginningWith:return l+" LIKE '"+(i=this.getQueryValue(i,a,!1))+"*'";case e.StiDataFilterCondition.EndingWith:return l+" LIKE '*"+(i=this.getQueryValue(i,a,!1))+"'";case e.StiDataFilterCondition.IsNull:return l+" IS NULL";case e.StiDataFilterCondition.IsNotNull:return l+" IS NOT NULL";case e.StiDataFilterCondition.IsBlank:return"TRIM("+l+") = ''";case e.StiDataFilterCondition.IsNotBlank:return"TRIM("+l+") <> ''";case e.StiDataFilterCondition.IsBlankOrNull:return"(TRIM("+l+") = '' OR "+l+" IS NULL)";case e.StiDataFilterCondition.IsFalse:return"FALSE";case e.StiDataFilterCondition.PairEqualTo:var p=e.StiDataColumnRuleHelper.getGoodColumnName(n),f=null==i?"IS":"=",m=null==o?"IS":"=";i=null!=i||s.isDateType(a)?this.getQueryValue(i,a,!0):"NULL",o=null!=o||s.isDateType(u)?this.getQueryValue(o,u,!0):"NULL";var d=s.isDateType(a)?l+" >= "+i+" 00:00:00 AND "+l+" <= "+i+" 23:59:59 AND ":l+" "+f+" "+i+" AND ";return s.isDateType(u)?d+(p+" >= ")+o+" 00:00:00 AND "+p+" <= "+o+" 23:59:59#":d+(p+" ")+m+" "+o;default:throw new c(r).message}},t.getQueryValue=function(t,e,i){if(null==t&&(t=""),null==e)return t;if(s.isNumericType(e)){if(n.isNullOrEmpty(t))return"0";var o=void 0;if(!r.tryParse(t).successfully)return"0";return t}if(e==Boolean)return(null!=t&&"true"==t.toLowerCase()).toString();if(s.isDateType(e)){var a=void 0,u=h.tryParseExact(t,["MM/DD/YYYY"]);return(a=u.successfully?u.result:new h(1800,1,1,0,0,0,0)).toString("MM/dd/yyyy")}if(n.isNullOrEmpty(t)||(t=t.stimulsoft.replaceAll("'","''")),i)return"'"+t+"'";return t},t.getFilterOperation=function(t){return t.condition==e.StiDataFilterCondition.EqualTo||t.condition==e.StiDataFilterCondition.BeginningWith||t.condition==e.StiDataFilterCondition.EndingWith||t.condition==e.StiDataFilterCondition.Between||t.condition==e.StiDataFilterCondition.Containing||t.condition==e.StiDataFilterCondition.GreaterThan||t.condition==e.StiDataFilterCondition.GreaterThanOrEqualTo||t.condition==e.StiDataFilterCondition.LessThan||t.condition==e.StiDataFilterCondition.LessThanOrEqualTo||t.condition==e.StiDataFilterCondition.IsNull||t.condition==e.StiDataFilterCondition.IsBlank||t.condition==e.StiDataFilterCondition.PairEqualTo?e.StiDataFilterOperation.OR:e.StiDataFilterOperation.AND},t.getFilterRulesHash=function(t,e){var n=this;if(null==e||!e.any())return 0;var r=null!=t?t.getDictionary().fetchVariables():null;if(null==r||!r.any())return 0;return e.select((function(t){return n.getFilterRulesHash2(r,t)})).aggregate2(0,(function(t,e){return t+e}))},t.getFilterRulesHash2=function(t,n){if(!n.isExpression)return 0;switch(n.condition){case e.StiDataFilterCondition.Between:case e.StiDataFilterCondition.NotBetween:return this.getFilterRuleHash3(t,n.value)+this.getFilterRuleHash3(t,n.value2);default:return this.getFilterRuleHash3(t,n.value)}},t.getFilterRuleHash3=function(t,e){var r,i;if(n.isNullOrWhiteSpace(e))return 0;e=e.toLowerCase();var o=0;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.stimulsoft.contains(u.getName().toLowerCase())){var l=u.getValue().toString(),c;o+=null!=l?l.stimulsoft.getHashCode():0}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o},t}();e.StiDataFilterRuleHelper=p}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Collections.Dictionary,i=t.Data.Extensions.DataTableExt,o=t.Data.Engine.StiDataFilterRuleHelper,a=t.Base.StiKeyHelper,s=t.Data.Extensions.StiDataTableExt,u=function(){function t(){}return t.filter=function(t,e,r,a){if(null==e||!e.any())return t;var s=t.toList().cast().select((function(t){return t.columnName})),u=t.toList().cast().select((function(t){return t.dataType})),l=o.getDataTableFilterQuery2(e,s,u,r);if(n.isNullOrWhiteSpace(l))return t;var c=this.getFromCache(t,r,a);if(c==i.nullTable)return null;if(null!=c)return c;return t.defaultView.rowFilter=l,c=t.defaultView.toTable(!0),this.addToCache(t,r,a,c),c},t.filter2=function(t,r,i,a){if(null==r||!r.any())return t;var u=s.toNetTable(t),l=u.toList().cast().select((function(t){return t.columnName})),c=u.toList().cast().select((function(t){return t.dataType})),h=o.getDataTableFilterQuery2(r,l,c,i);if(n.isNullOrWhiteSpace(h))return t;var p=this.getFromCache2(t,i,a);if(p==e.StiDataTable.nullTable)return null;if(null!=p)return p;u.defaultView.rowFilter=h;var f=u.defaultView.toTable().rows.toList().select((function(t){return t.itemArray}));return p=new e.StiDataTable(t.meters,f),this.addToCache2(t,i,a,p),p},t.cleanCache=function(e){var n=this;null==e?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.toList().where((function(t){return t.stimulsoft.startsWith(e)})).forEach((function(t){return n.netCache.remove(t)})),this.meterCache.keys.toList().where((function(t){return t.stimulsoft.startsWith(e)})).forEach((function(e){return t.meterCache.remove(e)})))},t.getCacheKey=function(t,e,n){var r,i;return e.setKey(a.getOrGeneratedKey(e.getKey())),(e.getKey()||"")+"."+(t.toList().cast().select((function(t){return t.stimulsoft.getHashCode()})).aggregate2(0,(function(t,e){return t+e}))+n)},t.getCacheKey2=function(t,e,n){var r,i;return e.setKey(a.getOrGeneratedKey(e.getKey())),(e.getKey()||"")+"."+(t.meters.select((function(t){return t.getUniqueCode()})).aggregate2(0,(function(t,e){return t+e}))+n)},t.getFromCache=function(e,n,r){var i=this.getCacheKey(e,n,r);return this.netCache.contains(i)?t.netCache.get(i):null},t.getFromCache2=function(e,n,r){var i=this.getCacheKey2(e,n,r);return this.meterCache.contains(i)?t.meterCache.get(i):null},t.addToCache=function(t,e,n,r){var o=this.getCacheKey(t,e,n);null==r&&(r=i.nullTable),this.netCache.set(o,r)},t.addToCache2=function(t,n,r,i){var o=this.getCacheKey2(t,n,r);null==i&&(i=e.StiDataTable.nullTable),this.meterCache.set(o,i)},t.lockObject={},t.meterCache=new r,t.netCache=new r,t}();e.StiDataFiltrator=u}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Parsers.StiDimensionDataParser,r=t.Data.Parsers.StiMeasureDataParser,i=t.Data.Comparers.StiArrayEqualityComparer,o=t.Data.Comparers.StiArrayComparer,a=function(){function t(){}return t.group=function(t,a,s){var u=new n(t,a,s),l=s.toList();s.any((function(t){return t.stimulsoft.is(e.IStiSkipNormalizeDate)}))&&(l=null);var c=a.rows.toList().select((function(t){return t.itemArray})).groupBy((function(t){return u.calculate(t,l)}),new i).orderBy((function(t){return t.key}),new o),h=new r(t,a,s,c).calculate();return new e.StiDataTable(s,h)},t}();e.StiDataGrouper=a}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Data.DataRow,r=t.Data.Extensions.DataTableExt,i=t.System.Collections.Dictionary,o=t.System.Collections.List,a=t.System.Data.DataTable,s=t.System.Collections.Hashtable,u=t.System.Data.DataColumn,l=t.Base.StiKeyHelper,c=function(){function t(){}return t.join=function(t,i,u,l){var c,h,p=this;if(t.count2()<2)return t.firstOrDefault();var f=this.getFromCache(t,l);if(f==r.nullTable)return null;if(null!=f)return f;var m=t,d=m.first();m=m.skip(1);var y=new s,v=new o;f=d.copy(),this.copyColumns(d,f);var g=new o([d]),S=0,b=function(){var t=m[0];if(null==t)return"continue";var r=g.firstOrDefault((function(e){return null!=p.findLink(t,e,i)})),o=x.findLink(r,t,i);if((x.joinEngine==e.StiDataJoinEngine.V2||x.joinEngine==e.StiDataJoinEngine.V3)&&null==o&&m.length>2&&S0)b();try{for(var T=__values(v),E=T.next();!E.done;E=T.next()){var w=E.value;f=this.mergeInSequence(f,w)}}catch(t){c={error:t}}finally{try{E&&!E.done&&(h=T.return)&&h.call(T)}finally{if(c)throw c.error}}return this.addToCache(t,f,l),f},t.copyColumns=function(t,e){var n,r;if(null==t||null==e)return;try{for(var i=__values(t.columns.list),o=i.next();!o.done;o=i.next()){var a=o.value;e.columns.contains(a.columnName)||e.columns.add(new u(a.columnName,a.dataType))}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.mergeInSequence=function(t,e){var n=new a;this.copyColumns(t,n),this.copyColumns(e,n);for(var r=0;r"+this.nullStr(this.childTable)+" : "+this.nullStr(this.parentColumn)+"->"+this.nullStr(this.childColumn)},t.prototype.nullStr=function(t){return t||""},t}();e.StiDataLink=i}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.getLinks=function(e){return e.fetchDataRelations().select((function(e){return new t.StiDataLink(e.getParentDataSource().getName(),e.getChildDataSource().getName(),e.fetchParentColumns().firstOrDefault(),e.fetchChildColumns().firstOrDefault(),e.getActiveState(),e.getKey())}))},e}();t.StiDataLinkHelper=e}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Collections.Hashtable,r=t.Base.StiBIDataCacheOptions,i=t.System.Data.DataColumn,o=t.Base.IStiAppCalcDataColumn,a=t.Data.Extensions.DataTableExt,s=t.System.Collections.Dictionary,u=t.System.Collections.List,l=t.Base.StiAppKey,c=function(){function t(){}return t.fetch=function(n,r,i,o,a){return void 0===i&&(i=e.StiDataRequestOption.All),void 0===o&&(o=null),void 0===a&&(a=null),__awaiter(this,void 0,void 0,(function(){var s,l,c,h,p,f,m,d,y,v,g,S,b,x,T=this;return __generator(this,(function(E){switch(E.label){case 0:if(null==n)return[2,null];if(s=n.retrieveUsedDataNames(r),null!=o&&(s=s.union(o)),null==(l=n.getDataSources(s))||!l.any())return[2,null];if(l=e.StiDataJoiner.joinEngine==e.StiDataJoinEngine.V1?l:l.orderBy((function(t){return T.getRelationLevel(t,a)})),l=e.StiDataSourceChainFinder.find(l),c=l.select((function(t){return t.getConnection()})).where((function(t){return null!=t})),l.all(t.existsInCache)&&!n.isDataSource)return[2,l.select(t.getFromCache)];h=n.getDictionary(),p=null,p=(i&e.StiDataRequestOption.AllowOpenConnections)>0?h.openConnections(c):null,f=new u,E.label=1;case 1:E.trys.push([1,6,7,8]),m=__values(l),d=m.next(),E.label=2;case 2:if(d.done)return[3,5];return y=d.value,[4,this.getDataTable2(i,y)];case 3:v=E.sent(),g={ref:v},this.addToCache(y,g),null!=(v=g.ref)&&(f.add(v),this.addTableNameToColumnNames(v,y)),E.label=4;case 4:return d=m.next(),[3,2];case 5:return[3,8];case 6:return S=E.sent(),b={error:S},[3,8];case 7:try{d&&!d.done&&(x=m.return)&&x.call(m)}finally{if(b)throw b.error}return[7];case 8:return[2,f]}}))}))},t.getRelationLevel=function(t,e){var r;if(!e.any((function(e){return e.parentTable==t.getName()||e.childTable==t.getName()})))return 100;var i=new n,o=0,a=t.getName();while(1){if(null!=i.get(a))break;if(i.set(a,a),null==(a=null===(r=e.firstOrDefault((function(t){return t.childTable==a})))||void 0===r?void 0:r.parentTable))break;if(++o>100)return 100}return o},t.retrieveUsedDataSources=function(t,n,r){if(null==t)return null;var i=t.retrieveUsedDataNames(n);null!=r&&(i=i.union(r));var o=t.getDataSources(i);if(null==o||!o.any())return null;return e.StiDataSourceChainFinder.find(o)},t.fetch2=function(t,n,r){return void 0===r&&(r=e.StiDataRequestOption.All),__awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:return e=t.getDictionary().getDataSourceByName(n),[4,this.fetch3(t,e,r)];case 1:return[2,i.sent()]}}))}))},t.fetch3=function(t,n,r){return void 0===r&&(r=e.StiDataRequestOption.All),__awaiter(this,void 0,void 0,(function(){var e,i,o,a,s;return __generator(this,(function(l){switch(l.label){case 0:if(e=t.getDictionary(),this.existsInCache(n))return[3,5];i=n.getConnection(),e.openConnections(new u([i])),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.getDataTable2(r,n)];case 2:o=l.sent();try{return a={ref:o},this.addToCache(n,a),o=a.ref,this.addTableNameToColumnNames(o,n),e.closeConnections(new u([i])),[2,o]}finally{e.closeConnections(new u([i]))}return[3,4];case 3:return s=l.sent(),e.closeConnections(new u([i])),[3,4];case 4:return[3,6];case 5:return[2,this.getFromCache(n)];case 6:return[2]}}))}))},t.isAllBICached=function(t,n,i){if(void 0===i&&(i=e.StiDataRequestOption.All),!r.enabled)return!1;if(null==t)return!1;var o=t.retrieveUsedDataNames(n),a=t.getDataSources(o);if(null==a||!a.any())return!1;return(a=e.StiDataSourceChainFinder.find(a)).all((function(t){return r.cache.exists(t)}))},t.getDataTable=function(t,n,r){return void 0===r&&(r=e.StiDataRequestOption.All),__awaiter(this,void 0,void 0,(function(){var e,i,o;return __generator(this,(function(a){switch(a.label){case 0:return e=t.getDictionary(),i=n.getConnection(),e.openConnections(new u([i])),[4,this.getDataTable2(r,n)];case 1:return o=a.sent(),e.closeConnections(new u([i])),[2,o]}}))}))},t.getDataTable2=function(t,n){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,n.getDataTable2((t&e.StiDataRequestOption.AllowOpenConnections)>0)];case 1:return null!=(r=i.sent())&&((r=r.copy()).tableName=n.getName()),[2,this.processCalculatedColumns(r,n)]}}))}))},t.processCalculatedColumns=function(t,e){var n,r,a,s,u=e.getDictionary(),l=e.fetchColumns().where((function(t){return t.stimulsoft.is(o)}));if(!l.any())return t;l.forEach((function(e){return t.columns.add(new i(e.getName(),e.getDataType()))}));var c=l.select((function(t){return t.getName()})),h=e.fetchColumnValues(c);if(!h.any())return t;try{var p=l.select((function(e){return t.columns.getIndexByName(e.getName())})),f=0;try{for(var m=__values(t.rows.list),d=m.next();!d.done;d=m.next()){var y=d.value;try{var v=f>=h.length?h[h.length-1]:h[f],g=0;try{for(var S=(a=void 0,__values(p)),b=S.next();!b.done;b=S.next()){var x=b.value;y.sett(x,v[g++])}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}}catch(t){}f++}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}}finally{}return t},t.addTableNameToColumnNames=function(t,e){var n,r,i=e.fetchColumns(),o=t.tableName+".",a=function(t){if(t.columnName.stimulsoft.startsWith(o))return"continue";var e=i.firstOrDefault((function(e){return e.getNameInSource()==t.columnName}));t.columnName=(null==e?void 0:e.getName())!=(null==e?void 0:e.getNameInSource())?""+o+e.getName():""+o+t.columnName};try{for(var s=__values(t.columns.list),u=s.next();!u.done;u=s.next()){var l;a(u.value)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},t.getFromCache=function(e){var n=t.getCacheKey(e);return t.cache.contains(n)?t.cache.get(n):null},t.existsInCache=function(e){var n=t.getCacheKey(e);return t.cache.contains(n)},t.addToCache=function(e,n){null==n.ref&&(n.ref=a.nullTable);var r=t.getCacheKey(e);t.cache.set(r,n.ref)},t.getCacheKey=function(t){var e=l.getOrGeneratedKey4(t),n=t.getConnection(),r=t.getNameInSource()==t.getName()?t.getName():t.getNameInSource()+"."+t.getName();return null==n?e+"."+r:e+"."+n.getName()+"."+r},t.cleanCache=function(e){null==e?t.cache.clear():t.cache.keys.where((function(t){return t.stimulsoft.startsWith(e)})).forEach((function(e){return t.cache.remove(e)}))},t.lockObject={},t.cache=new s,t}();e.StiDataPicker=c}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiArray,r=t.System.StiString,i=t.Data.Helpers.StiExpressionHelper,o=t.System.Collections.Hashtable,a=t.Base.Meters.IStiMeasureMeter,s=t.System.Type,u=t.System.Exception,l=t.System.Collections.List,c=function(){function t(t,e,n){var r,i,o,a,s,u;this.resultColumnIndexes={},this.column1Indexes={},this.column2Indexes={},this.resultTable=t,this.table1=e,this.table2=n;try{for(var l=__values(t.columns.list),c=l.next();!c.done;c=l.next()){var h=c.value;this.resultColumnIndexes[h.columnName]=t.columns.getIndexByName(h.columnName)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}try{for(var p=__values(e.columns.list),f=p.next();!f.done;f=p.next()){var h=f.value;this.column1Indexes[h.columnName]=e.columns.getIndexByName(h.columnName)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}try{for(var m=__values(n.columns.list),d=m.next();!d.done;d=m.next()){var h=d.value;this.column2Indexes[h.columnName]=n.columns.getIndexByName(h.columnName)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}}return t.prototype.join=function(t,n,r){switch(t){case e.StiDataJoinType.Inner:return this.innerJoinRows(n);case e.StiDataJoinType.Left:return this.leftJoinRows(n,r);case e.StiDataJoinType.Cross:return this.crossJoinRows();case e.StiDataJoinType.Full:return this.fullJoinRows(n);default:throw new u("NotSupportedException")}},t.prototype.leftJoinRows=function(t,n){if(e.StiDataJoiner.joinEngine==e.StiDataJoinEngine.V1)return this.leftJoinRowsV1(t);if(null==n||!n.where((function(t){return t.stimulsoft.is(a)})).any())return this.leftJoinRowsV1(t);return this.leftJoinRowsV2V3(t,n)},t.prototype.innerJoinRows=function(t){var e=this,n=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList(),o=this.table2.rows.toList();return i.join2(o,(function(t){return e.stimulsoft.getHashCode(t,n)}),(function(t){return e.stimulsoft.getHashCode(t,r)}),this.splitRows,this)},t.prototype.leftJoinRowsV1=function(t){var e=this,n=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList(),o=this.table2.rows.toList();return i.groupJoin(o,(function(t){return e.stimulsoft.getHashCode(t,n)}),(function(t){return e.stimulsoft.getHashCode(t,r)}),(function(t,e){return{key:t,rows:e}}),this).selectMany2((function(t){return t.rows.defaultIfEmpty()}),(function(t,n){return e.splitRows(t.key,n)}),this)},t.prototype.leftJoinRowsV2V3=function(t,r){var i,o,a,s,u=this,c=this.getFieldIndex(this.table1,t),h=this.getFieldIndex(this.table2,t),p=this.table1.rows.toList(),f=this.table2.rows.toList(),m=p.groupJoin(f,(function(t){return u.getHashCode(t,c)}),(function(t){return u.getHashCode(t,h)}),(function(t,e){return{key:t,rows:e}}),this),d=this.calculateIndexes(r),y=new l;try{for(var v=__values(m),g=v.next();!g.done;g=v.next()){var S=g.value,b=!0;try{for(var x=(a=void 0,__values(S.rows.defaultIfEmpty())),T=x.next();!T.done;T=x.next()){var E=T.value;if(b)y.add(this.splitRows(S.key,E));else{for(var w=S.key.itemArray,D=n.create(Object,w.length),_=0;_0&&(s+=", ");var h=r.indexOf(c.key);if(-1==h&&-1==(h=i.indexOf(c.key)))continue;var p=e.StiDataColumnRuleHelper.getGoodColumnName(i[h]);c.direction==e.StiDataSortDirection.Descending?s+=p+" DESC":s+=p}}catch(t){o={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return s},t.getSortDirection=function(t,n){var r=t.firstOrDefault((function(t){return t.key.toLowerCase()==n.toLowerCase()}));return null==r?e.StiDataSortDirection.None:r.direction},t.setSortDirection=function(t,n,r,i){var o=(t=this.validate(t,n)).firstOrDefault((function(t){return t.key.toLowerCase()==r.toLowerCase()}));return null==o&&i!=e.StiDataSortDirection.None?(o=new e.StiDataSortRule(r,i),t.add(o)):i==e.StiDataSortDirection.None?t.remove(o):o.direction=i,t},t}();e.StiDataSortRuleHelper=i}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Collections.List,r=function(){function t(){}return t.isVariationSort=function(t){var e=this;return null!=t&&t.any((function(t){return t.key==e.ident}))},t.createVariationSort=function(t){return new n([new e.StiDataSortRule(this.ident,t)])},t.ident="#Variation#",t}();e.StiDataSortVariation=r}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Engine.StiDataSortVariation,r=t.System.StiString,i=t.Data.Extensions.StiDataTableExt,o=t.System.Collections.Dictionary,a=t.Base.StiKeyHelper,s=function(){function t(){}return t.sort=function(t,o,a,s,u){if(void 0===u&&(u=e.StiDataRequestOption.All),n.isVariationSort(o))return t;var l=(u&e.StiDataRequestOption.AllowDataSort)>0;if(null==o||!o.any()||!l)return t;var c=i.toNetTable(t),h=t.meters.select((function(t){return t.key})),p=c.columns.toList().cast().select((function(t){return t.columnName}));o=this.getFixedDataSortRules(o,p,h);var f=e.StiDataSortRuleHelper.getDataTableSortQuery2(o,h,p);if(r.isNullOrWhiteSpace(f))return t;var m=this.getFromCache(t,a,s);if(m==e.StiDataTable.nullTable)return null;if(null!=m)return m;for(var d=c.rows.toList().select((function(t){return t.itemArray})),y=function(t){var n=h.indexOf(o[t].key);o[t].direction==e.StiDataSortDirection.Ascending?d=d.orderBy((function(t){return t[n]})):o[t].direction==e.StiDataSortDirection.Descending&&(d=d.orderByDescending((function(t){return t[n]})))},v=o.length-1;v>=0;v--)y(v);return m=new e.StiDataTable(t.meters,d),this.addToCache(t,a,s,m),m},t.getFixedDataSortRules=function(t,n,r){var i,o,a=t.select((function(t){return t.clone().stimulsoft.as(e.StiDataSortRule)}));try{for(var s=__values(a),u=s.next();!u.done;u=s.next()){var l=u.value,c=n.indexOf(l.key);-1!=c&&(l.key=r[c])}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a},t.cleanCache=function(t){var e=this;null==t?this.hashCache.clear():this.hashCache.keys.toList().where((function(e){return e.stimulsoft.startsWith(t)})).forEach((function(t){return e.hashCache.remove(t)}))},t.getCacheKey=function(t,e,n){var r,i;return e&&e.setKey(a.getOrGeneratedKey(e.getKey())),(e&&e.getKey()||"")+"."+(t.meters.select((function(t){return t.stimulsoft.getHashCode()})).aggregate2(0,(function(t,e){return t+e}))+n)},t.getFromCache=function(t,e,n){var r=this.getCacheKey(t,e,n);return this.hashCache.contains(r)?this.hashCache.get(r):null},t.addToCache=function(t,n,r,i){var o=this.getCacheKey(t,n,r);null==i&&(i=e.StiDataTable.nullTable),this.hashCache.set(o,i)},t.lockObject={},t.hashCache=new o,t}();e.StiDataSorter=s}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Collections.List,r=function(){function t(){}return t.find=function(t){var e=this;return t.selectMany((function(n){return t.where((function(t){return t!=n})).select((function(t){return e.find3(n,t)})).where((function(t){return null!=t})).selectMany((function(t){return t})).where((function(e){return!t.contains(e)})).distinct()})).union(t.distinct())},t.find3=function(t,e){var n=this.findInParent(t,e),r=this.findInChild(t,e);if(null==n&&null==r)return null;if(null!=n&&null==r)return n;if(null==n&&null!=r)return r;return n.length>=r.length?r:n},t.findInParent=function(t,e){var r,i,o=t.fetchParentRelations(!0),a;if(!o.any())return null;if(o.where((function(t){return t.getParentDataSource()==e})).any())return new n([t,e]);try{for(var s=__values(this.getActiveRelations(o)),u=s.next();!u.done;u=s.next()){var l=u.value,c=this.findInParent(l.getParentDataSource(),e);if(null==c)continue;return c.insert(0,l.getChildDataSource()),c}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return null},t.findInChild=function(t,e){var r,i,o=t.fetchChildRelations(!0),a;if(!o.any())return this.findInParent(t,e);if(null!=o.firstOrDefault((function(t){return t.getChildDataSource()==e})))return new n([t,e]);try{for(var s=__values(this.getActiveRelations(o)),u=s.next();!u.done;u=s.next()){var l=u.value,c=this.findInChild(l.getChildDataSource(),e);if(null==c)continue;return c.insert(0,l.getParentDataSource()),c}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return null},t.getActiveRelations=function(t){return t.any((function(t){return t.getActiveState()}))?t.where((function(t){return t.getActiveState()})):t},t}();e.StiDataSourceChainFinder=r}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.Data.Functions.Funcs,i=function(){function t(){}return t.fetch=function(t,e,i,o){null==i&&(i=t.retrieveUsedDataNames(e)),i=i.where((function(t){return!n.isNullOrWhiteSpace(t)})).select(r.toDataName);var a=o.selectMany((function(t){return t.fetchColumns().select((function(e){return{dataSource:t,name:r.toDataName(e.getName())}}))}));return i.selectMany((function(t){return a.where((function(e){return r.isDataEqual(e.dataSource,e.name,t)})).select((function(t){return t.dataSource}))})).distinct()},t}();e.StiDataSourcePicker=i}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Collections.List,r=function(){function t(e,r){void 0===e&&(e=new n),void 0===r&&(r=new n),this.isNull=this==t.nullTable,this.isEmpty=this.isNull||null==this.meters||0==this.meters.count2()||null==this.rows||0==this.rows.count2(),this.meters=e,this.rows=r}return t.nullTable=new t,t}();e.StiDataTable=r}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Enum,i=t.Base.StiJson,o=t.Base.Localization.StiLocalization,a=function(){function t(t,n,r,i,o){this.mode=e.StiDataTopNMode.None,this.count=5,this.showOthers=!0,this.othersText="",this.measureField="",null!=t&&(this.mode=t),null!=n&&(this.count=n),null!=r&&(this.showOthers=r),null!=i&&(this.othersText=i),null!=o&&(this.measureField=o)}return t.prototype.saveToJsonObject=function(t){var n=new i;return n.addPropertyEnum("Mode",e.StiDataTopNMode,this.mode,e.StiDataTopNMode.None),n.addPropertyNumber("Count",this.count,5),n.addPropertyBool("ShowOthers",this.showOthers,!0),n.addPropertyString("OthersText",this.othersText,""),n.addPropertyString("MeasureField",this.measureField,""),n},t.prototype.loadFromJsonObject=function(t){var n,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Mode":s.value&&(this.mode=r.parse(e.StiDataTopNMode,s.value.toString()));break;case"Count":this.count=s.value.stimulsoft.toNumber();break;case"ShowOthers":this.showOthers=s.value.stimulsoft.toBoolean();break;case"OthersText":this.othersText=s.value.toString();break;case"MeasureField":null!=s.value&&(this.measureField=s.value.toString());break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.loadFromXml=function(t){for(var n=0;n=this._data.length)throw new Error("queue index "+e+" > last index "+(this._data.length-1));if(e<0)throw new Error("queue index "+e+" < 0");return e>this.range&&(this.range=e),this._data[e]},t.prototype.dequeue=function(){if(0==this.count)throw new n("InvalidOperationException");var t=this.get(0);return this._p++,this._p==this._data.length&&this.clear(),t},t.prototype.enqueue=function(t){this._data.add(t)},t.prototype.peek=function(){return this.get(0)},t.prototype.clear=function(){this._p=0,this._data.clear()},t.prototype.toString=function(){for(var t="",e=this.count,n=0;n=this.length)return!1;return e.item=this[this.length-t-1],!0},e.prototype.pop=function(){var t;if(!this.tryPop({item:t}))throw new n("InvalidOperationException");return t},e.prototype.tryPop=function(t){if(0==this.length)return!1;return t.item=this[this.length-1],this.removeAt(this.length-1),!0},e}(t.System.Collections.List);e.ListStack=i}(n=e.Misc||(e.Misc={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentElementIndex=0,e._eof=null,e}return __extends(e,t),Object.defineProperty(e.prototype,"endOfFile",{get:function(){return this._eof},set:function(t){this._eof=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousElement",{get:function(){return this._previousElement},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.clear(),this._currentElementIndex=0,this._p=0,this._previousElement=null},e.prototype.nextElement=function(){return null},e.prototype.isEndOfFile=function(t){return null},e.prototype.dequeue=function(){var t=this.get(0);return this._p++,this._p==this._data.length&&0==this._markDepth&&(this._previousElement=t,this.clear()),t},e.prototype.consume=function(){this.syncAhead(1),this.dequeue(),this._currentElementIndex++},e.prototype.syncAhead=function(t){var e=this._p+t-1-this._data.length+1;e>0&&this.fill(e)},e.prototype.fill=function(t){for(var e=0;ethis._data.length)return this._eof;return this[t-1]},Object.defineProperty(e.prototype,"index",{get:function(){return this._currentElementIndex},enumerable:!1,configurable:!0}),e.prototype.mark=function(){return this._markDepth++,this._lastMarker=this._p,this._lastMarker},e.prototype.release=function(t){if(0==this._markDepth)throw new n("InvalidOperationException");this._markDepth--},e.prototype.rewind2=function(t){this._markDepth--;var e=this._p-t;this._currentElementIndex-=e,this._p=t},e.prototype.rewind=function(){var t=this._p-this._lastMarker;this._currentElementIndex-=t,this._p=this._lastMarker},e.prototype.seek=function(t){if(t<0)throw new n("ArgumentOutOfRangeException");var e=this._currentElementIndex-t;if(this._p-e<0)throw new n("can't seek before the beginning of this stream's buffer");this._p-=e,this._currentElementIndex=t},e.prototype.lb=function(t){var e=this._p-t;if(-1==e)return this._previousElement;if(e>=0)return this._data[e];if(e<-1)throw new n("can't look more than one token before the beginning of this stream's buffer");throw new n("can't look past the end of this stream's buffer using LB(int)")},e}(e.FastQueue);e.LookaheadStream=r}(n=e.Misc||(e.Misc={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.RegexOptionsHelper=e}(e=t.Misc||(t.Misc={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiArray,r=function(){function t(t){this._tree=t}return Object.defineProperty(t.prototype,"children",{get:function(){if(null==this._tree||null==this._tree.children)return null;var t=n.create(null,this._tree.children.length);return this._tree.children.copyTo(t,0),t},enumerable:!1,configurable:!0}),t}();e.AntlrRuntime_BaseTreeDebugView=r}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(){function e(){}return e.prototype.implements=function(){return e.ImplementsTreeRuleReturnScope||(e.ImplementsTreeRuleReturnScope=[t.IRuleReturnScope]),e.ImplementsTreeRuleReturnScope},e}();e.TreeRuleReturnScope=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.implements=function(){return n.ImplementsAstTreeRuleReturnScope||(n.ImplementsAstTreeRuleReturnScope=e.prototype.implements.call(this).concat([t.IAstRuleReturnScope,t.IAstRuleReturnScope])),n.ImplementsAstTreeRuleReturnScope},n}(e.TreeRuleReturnScope);e.AstTreeRuleReturnScope=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=t.System.Collections.List,i=function(){function t(t){this.parent=null,this.childIndex=0}return t.prototype.implements=function(){return t.ImplementsBaseTree||(t.ImplementsBaseTree=[e.ITree]),t.ImplementsBaseTree},Object.defineProperty(t.prototype,"childCount",{get:function(){if(null==this.children)return 0;return this.children.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNil",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getChild=function(t){if(t<0)throw new n("ArgumentOutOfRangeException");if(null==this.children||t>=this.children.length)return null;return this.children[t]},t.prototype.getFirstChildWithType=function(t){var e,n;try{for(var r=__values(this.children),i=r.next();!i.done;i=r.next()){var o=i.value;if(o.type==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.addChild=function(e){if(null==e)return;if(e.isNil){var r=e.stimulsoft.as(t);if(null!=r&&null!=this.children&&this.children==r.children)throw new n("attempt to add child list to itself");if(e.childCount>0)if(null!=this.children||null==r){null==this.children&&(this.children=this.createChildrenList());for(var i=e.childCount,o=0;othis.childCount)throw new n("ArgumentException");if(t==this.childCount)return void this.addChild(e);this.children.insert(t,e),this.freshenParentAndChildIndexes(t)},t.prototype.deleteChild=function(t){if(t<0)throw new n("ArgumentOutOfRangeException");if(t>=this.childCount)throw new n("ArgumentException");if(null==this.children)return null;var e=this.children[t];return this.children.removeAt(t),this.freshenParentAndChildIndexes(t),e},t.prototype.replaceChildren=function(e,i,o){if(e<0)throw new n("ArgumentOutOfRangeException");if(i<0)throw new n("ArgumentOutOfRangeException");if(null==o)throw new n("ArgumentNullException");if(i0){for(var d=0;d0&&(t+=" "),t+=this.children[e].toStringTree()}return this.isNil||(t+=")"),t},t.prototype.toString=function(){return null},t.prototype.dupNode=function(){return null},t}();e.BaseTree=i}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(n){var r=t.System.Exception,i=t.System.Collections.Dictionary,o=function(){function t(){this.uniqueNodeID=1}return t.prototype.implements=function(){return t.ImplementsBaseTreeAdaptor||(t.ImplementsBaseTreeAdaptor=[n.ITreeAdaptor]),t.ImplementsBaseTreeAdaptor},t.prototype.nil=function(){return this.create(null)},t.prototype.errorNode=function(t,e,r,i){var o;return new n.CommonErrorNode(t,e,r,i)},t.prototype.isNil=function(t){return t.isNil},t.prototype.dupNode=function(t,e,n){var r=this.dupNode2(e);return this.setType(r,t),this.setText(r,n),r},t.prototype.dupTree=function(t,e){if(null==t)return null;var n=this.dupNode2(t);this.setChildIndex(n,this.getChildIndex(t)),this.setParent(n,e);for(var r=this.getChildCount(t),i=0;i1)throw new r("more than one node as root (TODO: make exception hierarchy)")}return n.addChild(i),n},t.prototype.rulePostProcessing=function(t){var e=t;return null!=e&&e.isNil&&(0==e.childCount?e=null:1==e.childCount&&((e=e.getChild(0)).parent=null,e.childIndex=-1)),e},t.prototype.becomeRoot2=function(t,e){return this.becomeRoot(this.create(t),e)},t.prototype.create5=function(t,e){var n;return(e=this.createToken(e)).type=t,this.create(e)},t.prototype.create2=function(t,e,n){if(null==e)return this.create4(t,n);var r;return(e=this.createToken(e)).type=t,e.text=n,this.create(e)},t.prototype.create3=function(t,e){if(null==t)throw new r("ArgumentNullException");var n;return(t=this.createToken(t)).text=e,this.create(t)},t.prototype.create4=function(t,e){var n=this.createToken2(t,e),r;return this.create(n)},t.prototype.getType=function(t){var n=this.getTree(t);if(null==n)return e.TokenTypes.invalid;return n.type},t.prototype.setType=function(t,e){throw new r("don't know enough about Tree node")},t.prototype.getText=function(t){var e=this.getTree(t);if(null==e)return null;return e.text},t.prototype.setText=function(t,e){throw new r("don't know enough about Tree node")},t.prototype.getChild=function(t,e){var n=this.getTree(t);if(null==n)return null;return n.getChild(e)},t.prototype.setChild=function(t,e,n){var r=this.getTree(t);if(null==r)return;var i=this.getTree(n);r.setChild(e,i)},t.prototype.deleteChild=function(t,e){return t.deleteChild(e)},t.prototype.getChildCount=function(t){var e=this.getTree(t);if(null==e)return 0;return e.childCount},t.prototype.getUniqueID=function(t){null==this.treeToUniqueIDMap&&(this.treeToUniqueIDMap=new i);var e={ref:null};if(this.treeToUniqueIDMap.tryGetValue(t,e))return e.ref;var n=this.uniqueNodeID;return this.treeToUniqueIDMap.set(t,n),this.uniqueNodeID++,n},t.prototype.createToken2=function(t,e){return null},t.prototype.createToken=function(t){return null},t.prototype.create=function(t){return null},t.prototype.dupNode2=function(t){var e=this.getTree(t);if(null==e)return null;return e.dupNode()},t.prototype.getToken=function(t){return null},t.prototype.setTokenBoundaries=function(t,e,n){var r=this.getTree(t);if(null==r)return;var i=0,o=0;null!=e&&(i=e.tokenIndex),null!=n&&(o=n.tokenIndex),r.tokenStartIndex=i,r.tokenStopIndex=o},t.prototype.getTokenStartIndex=function(t){var e=this.getTree(t);if(null==e)return-1;return e.tokenStartIndex},t.prototype.getTokenStopIndex=function(t){var e=this.getTree(t);if(null==e)return-1;return e.tokenStopIndex},t.prototype.getParent=function(t){var e=this.getTree(t);if(null==e)return null;return e.parent},t.prototype.setParent=function(t,e){var n=this.getTree(t);if(null==n)return;var r=this.getTree(e);n.parent=r},t.prototype.getChildIndex=function(t){var e=this.getTree(t);if(null==e)return 0;return e.childIndex},t.prototype.setChildIndex=function(t,e){var n=this.getTree(t);if(null==n)return;n.childIndex=e},t.prototype.replaceChildren=function(t,e,n,r){var i=this.getTree(t);if(null==i)return;i.replaceChildren(e,n,r)},t.prototype.getTree=function(t){if(null==t)return null;var e=t.stimulsoft.as(n.ITree);if(null==e)throw new r("NotSupportedException");return e},t}();n.BaseTreeAdaptor=o}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(n){var r=t.System.Exception,i=t.System.Collections.List,o=t.System.Collections.Stack,a=function(){function t(t,r,o){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 n.CommonTreeAdaptor),null==o&&(o=this.DEFAULT_INITIAL_BUFFER_SIZE),this.root=r,this.adaptor=t,this.nodes=new i(o),this.down=t.create4(e.TokenTypes.down,"DOWN"),this.up=t.create4(e.TokenTypes.up,"UP"),this.eof=t.create4(e.TokenTypes.endOfFile,"EOF")}return t.prototype.implements=function(){return t.ImplementsBufferedTreeNodeStream||(t.ImplementsBufferedTreeNodeStream=[n.ITreeNodeStream,e.ITokenStreamInformation]),t.ImplementsBufferedTreeNodeStream},Object.defineProperty(t.prototype,"count",{get:function(){if(-1==this.p)throw new r("Cannot determine the Count before the buffer is filled.");return this.nodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"treeSource",{get:function(){return this.root},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sourceName",{get:function(){return this.tokenStream.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenStream",{get:function(){return this.tokens},set:function(t){this.tokens=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"treeAdaptor",{get:function(){return this.adaptor},set:function(t){this.adaptor=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastToken",{get:function(){return this.treeAdaptor.getToken(this.lb(1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastRealToken",{get:function(){var t=0,e;do{t++,e=this.treeAdaptor.getToken(this.lb(t))}while(null!=e&&e.line<=0);return e},enumerable:!1,configurable:!0}),t.prototype.fillBuffer=function(){this.fillBuffer2(this.root),this.p=0},t.prototype.fillBuffer2=function(t){var n=this.adaptor.isNil(t);n||this.nodes.add(t);var r=this.adaptor.getChildCount(t);!n&&r>0&&this.addNavigationNode(e.TokenTypes.down);for(var i=0;i0&&this.addNavigationNode(e.TokenTypes.up)},t.prototype.getNodeIndex=function(t){-1==this.p&&this.fillBuffer();for(var e=0;e=this.nodes.length)return this.eof;return this.nodes[this.p+t-1]},t.prototype.getCurrentSymbol=function(){return this.lt(1)},t.prototype.lb=function(t){if(0==t)return null;if(this.p-t<0)return null;return this.nodes[this.p-t]},t.prototype.consume=function(){-1==this.p&&this.fillBuffer(),this.p++},t.prototype.la=function(t){return this.adaptor.getType(this.lt(t))},t.prototype.mark=function(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker},t.prototype.release=function(t){},Object.defineProperty(t.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),t.prototype.rewind2=function(t){this.seek(t)},t.prototype.rewind=function(){this.seek(this.lastMarker)},t.prototype.seek=function(t){-1==this.p&&this.fillBuffer(),this.p=t},t.prototype.push=function(t){null==this.calls&&(this.calls=new o),this.calls.push(this.p),this.seek(t)},t.prototype.pop=function(){var t=this.calls.pop();return this.seek(t),t},t.prototype.reset=function(){this.p=0,this.lastMarker=0,null!=this.calls&&this.calls.clear()},t.prototype.iterator=function(){return-1==this.p&&this.fillBuffer(),new s(this)},t.prototype.replaceChildren=function(t,e,n,r){null!=t&&this.adaptor.replaceChildren(t,e,n,r)},t.prototype.toTokenTypeString=function(){-1==this.p&&this.fillBuffer();for(var t="",e=0;e=0&&this.stopIndex>=0)return;if(this.children.length>0){var s=this.children[0],u=this.children[this.children.length-1];this.startIndex=s.tokenStartIndex,this.stopIndex=u.tokenStopIndex}},n.prototype.toString=function(){if(this.isNil)return"nil";if(this.type==e.TokenTypes.invalid)return"";if(null==this.token)return"";return this.token.text},n}(n.BaseTree);n.CommonTree=i}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(n){function r(e,r,i,o){var a=n.call(this)||this;return(null==i||i.tokenIndex";return n},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"type",{get:function(){return t.TokenTypes.invalid},enumerable:!1,configurable:!0}),r.prototype.toString=function(){if(this.trappedException.stimulsoft.is(t.MissingTokenException))return"";if(this.trappedException.stimulsoft.is(t.UnwantedTokenException))return"";if(this.trappedException.stimulsoft.is(t.MismatchedTokenException))return"";if(this.trappedException.stimulsoft.is(t.NoViableAltException))return"";return""},r}(e.CommonTree);e.CommonErrorNode=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return __extends(r,n),r.prototype.create=function(t){return new e.CommonTree(t)},r.prototype.createToken2=function(e,n){return t.CommonToken.create3(e,n)},r.prototype.createToken=function(e){return t.CommonToken.create4(e)},r.prototype.getToken=function(t){if(t.stimulsoft.is(e.CommonTree))return t.token;return null},r}(e.BaseTreeAdaptor);e.CommonTreeAdaptor=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(n){var r=t.System.Collections.Stack,i=function(t){function i(e,r){var i=t.call(this)||this;return i.DEFAULT_INITIAL_BUFFER_SIZE=100,i.INITIAL_CALL_STACK_SIZE=10,i._hasNilRoot=!1,i._level=0,i.uniqueNavigationNodes=!1,i._root=r,i._adaptor=e,i._it=new n.TreeIterator(e,i._root),i}return __extends(i,t),i.prototype.implements=function(){return i.ImplementsCommonTreeNodeStream||(i.ImplementsCommonTreeNodeStream=[n.ITreeNodeStream,n.IPositionTrackingStream]),i.ImplementsCommonTreeNodeStream},Object.defineProperty(i.prototype,"sourceName",{get:function(){if(null==this.tokenStream)return null;return this.tokenStream.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"tokenStream",{get:function(){return this.tokens},set:function(t){this.tokens=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"treeAdaptor",{get:function(){return this._adaptor},set:function(t){this._adaptor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"treeSource",{get:function(){return this._root},enumerable:!1,configurable:!0}),i.prototype.reset=function(){t.prototype.reset.call(this),this._it.reset(),this._hasNilRoot=!1,this._level=0,this._previousLocationElement=null,null!=this._calls&&this._calls.clear()},i.prototype.nextElement=function(){this._it.moveNext();var 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},i.prototype.dequeue=function(){var e=t.prototype.dequeue.call(this);return 0==this._p&&this.hasPositionInformation(this.previousElement)&&(this._previousLocationElement=this.previousElement),e},i.prototype.isEndOfFile=function(t){return this.treeAdaptor.getType(t)==e.CharStreamConstants.endOfFile},i.prototype.la=function(t){return this.treeAdaptor.getType(this.lt(t))},i.prototype.push=function(t){null==this._calls&&(this._calls=new r),this._calls.push(this._p),this.seek(t)},i.prototype.pop=function(){var t=this._calls.pop();return this.seek(t),t},i.prototype.getKnownPositionElement=function(t){var e=this._data[this._p];if(this.hasPositionInformation(e))return e;if(!t)return null;for(var n=this._p-1;n>=0;n--)if(e=this._data[n],this.hasPositionInformation(e))return e;return this._previousLocationElement},i.prototype.hasPositionInformation=function(t){var e=this.treeAdaptor.getToken(t);if(null==e)return!1;if(e.line<=0)return!1;return!0},i.prototype.replaceChildren=function(t,e,n,r){null!=t&&this.treeAdaptor.replaceChildren(t,e,n,r)},i.prototype.toString1=function(t,e){return"n/a"},i.prototype.toTokenTypeString=function(){this.reset();var t="",n=this.lt(1),r=this.treeAdaptor.getType(n);while(r!=e.TokenTypes.endOfFile)t+=" ",t+=r,this.consume(),n=this.lt(1),r=this.treeAdaptor.getType(n);return t},i}(e.Misc.LookaheadStream);n.CommonTreeNodeStream=i}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Collections.Dictionary,i=function(){function t(){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 r,this.nodeNumber=0}return t.prototype.toDot2=function(t,e){var n,r,i,o,a,s,u="";try{for(var l=__values(this.headerLines),c=l.next();!c.done;c=l.next()){var h;u+=c.value+"\r\n"}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}this.nodeNumber=0;var p=this.defineNodes(t,e);this.nodeNumber=0;var f=this.defineEdges(t,e);try{for(var m=__values(p),d=m.next();!d.done;d=m.next()){var y;u+=(y=d.value)+"\r\n"}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}u+="\r\n";try{for(var v=__values(f),g=v.next();!g.done;g=v.next()){var y;u+=(y=g.value)+"\r\n"}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}return u+="\r\n",u+=this.footer+"\r\n"},t.prototype.toDot=function(t){return this.toDot2(t,new e.CommonTreeAdaptor)},t.prototype.defineNodes=function(t,e){return null},t.prototype.defineEdges=function(t,e){return null},t.prototype.getNodeText=function(t,e){var r=t.getText(e),i="n"+this.getNodeNumber(e).toString();return n.format(this.nodeFormat,i,this.fixString(r))},t.prototype.getNodeNumber=function(t){var e={ref:null};return this.nodeToNumberMap.tryGetValue(t,e)?e.ref:(this.nodeToNumberMap.set(t,this.nodeNumber),this.nodeNumber++,this.nodeNumber-1)},t.prototype.fixString=function(t){return null!=t&&(t=(t=(t=(t=t.stimulsoft.replaceAll('"','\\\\"')).stimulsoft.replaceAll("\\t"," ")).stimulsoft.replaceAll("\\n","\\\\n")).stimulsoft.replaceAll("\\r","\\\\r")).length>20&&(t=t.substring(0,8)+"..."+t.substring(t.length-8)),t},t}();e.DotTreeGenerator=i}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IPositionTrackingStream="IPositionTrackingStream"}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.ITree="ITree"}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.ITreeAdaptor="ITreeAdaptor"}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.ITreeNodeStream="ITreeNodeStream"}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.ITreeVisitorAction="ITreeVisitorAction";var e=function(){function e(){}return e.prototype.implements=function(){return e.ImplementsTreeVisitorAction||(e.ImplementsTreeVisitorAction=[t.ITreeVisitorAction]),e.ImplementsTreeVisitorAction},e.prototype.pre=function(t){return t},e.prototype.post=function(t){return t},e}();t.TreeVisitorAction=e}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(e){function n(t){var n=e.call(this)||this;return n.tokenStartIndex=0,n.tokenStopIndex=0,n.type=0,n.payload=t,n}return __extends(n,e),Object.defineProperty(n.prototype,"text",{get:function(){return this.toString()},enumerable:!1,configurable:!0}),n.prototype.dupNode=function(){return null},n.prototype.toString=function(){if(this.payload.stimulsoft.is(t.IToken)){var e=this.payload;if(e.type==t.TokenTypes.endOfFile)return"";return e.text}return this.payload.toString()},n.prototype.toStringWithHiddenTokens=function(){var t="";if(null!=this.hiddenTokens)for(var e=0;e"!=r&&(t+=r),t},n.prototype.toInputString=function(){var t="";return this.toStringLeaves(t),t},n.prototype.toStringLeaves=function(e){if(this.payload.stimulsoft.is(t.IToken))return void(e+=this.toStringWithHiddenTokens());for(var n=0;null!=this.children&&n=t&&1==t){var n=this.nextCore();return this.dup(n)}return this.nextCore()},t.prototype.nextCore=function(){var t=this.count;if(0==t)throw new e.RewriteEmptyStreamException(this.elementDescription);if(this.cursor>=t){if(1==t)return this.toTree(this.singleElement);throw new e.RewriteCardinalityException(this.elementDescription)}if(null!=this.singleElement)return this.cursor++,this.toTree(this.singleElement);var n=this.toTree(this.elements[this.cursor]);return this.cursor++,n},t.prototype.dup=function(t){return null},t.prototype.toTree=function(t){return t},Object.defineProperty(t.prototype,"hasNext",{get:function(){return null!=this.singleElement&&this.cursor<1||null!=this.elements&&this.cursor=t&&1==t){var e=this.nextCore();return this.adaptor.dupNode(e)}var n=this.nextCore(),r;while(this.adaptor.isNil(n)&&1==this.adaptor.getChildCount(n))n=this.adaptor.getChild(n,0);return this.adaptor.dupNode(n)},e.prototype.dup=function(t){return this.adaptor.dupTree(t)},e}(t.RewriteRuleElementStream);t.RewriteRuleSubtreeStream=e}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=function(t){function e(e,n,r,i){return t.call(this,e,n,r,i)||this}return __extends(e,t),e.prototype.nextNode=function(){var t=this.nextCore();return this.adaptor.create(t)},e.prototype.nextToken=function(){return this.nextCore()},e.prototype.toTree=function(t){return t},e.prototype.dup=function(t){throw new n("dup can't be called for a token stream.")},e}(e.RewriteRuleElementStream);e.RewriteRuleTokenStream=r}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.implements=function(){return n.ImplementsTemplateTreeRuleReturnScope||(n.ImplementsTemplateTreeRuleReturnScope=e.prototype.implements.call(this).concat([t.ITemplateRuleReturnScope,t.ITemplateRuleReturnScope])),n.ImplementsTemplateTreeRuleReturnScope},n}(e.TreeRuleReturnScope);e.TemplateTreeRuleReturnScope=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiArray,r=t.System.Collections.List,i=t.System.Collections.Dictionary,o=function(){function t(t){this.memoRuleFailed=-2,this.memoRuleUnknown=-1,this.defaultTokenChannel=e.TokenChannels.default,this.hidden=e.TokenChannels.hidden,this.nextTokenRuleName="nextToken",this.tokenNames=null,null==t&&(t=new e.RecognizerSharedState),this.state=t,this.initDFAs()}return t.prototype.setState=function(t){this.state=t},t.prototype.initDFAs=function(){},t.prototype.reset=function(){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(var t=0;null!=this.state.ruleMemo&&t0)return this.state.failed=!0,r;return r=this.recoverFromMismatchedToken(t,e,n)},t.prototype.matchAny=function(t){this.state.errorRecovery=!1,this.state.failed=!1,t.consume()},t.prototype.mismatchIsUnwantedToken=function(t,e){return t.la(2)==e},t.prototype.mismatchIsMissingToken=function(t,n){if(null==n)return!1;if(n.member(e.TokenTypes.endOfRule)){var r=this.computeContextSensitiveRuleFOLLOW();n=n.or(r),this.state._fsp>=0&&n.remove(e.TokenTypes.endOfRule)}if(n.member(t.la(1))||n.member(e.TokenTypes.endOfRule))return!0;return!1},t.prototype.reportError=function(t){if(this.state.errorRecovery)return;this.state.syntaxErrors++,this.state.errorRecovery=!0,this.displayRecognitionError(this.tokenNames,t)},t.prototype.displayRecognitionError=function(t,e){var n=this.getErrorHeader(e),r=this.getErrorMessage(e,t);this.emitErrorMessage(n+" "+r)},t.prototype.getErrorMessage=function(t,n){var r=t.message;if(t.stimulsoft.is(e.UnwantedTokenException)){var i=t,o="";o=i.expecting==e.TokenTypes.endOfFile?"EndOfFile":n[i.expecting],r="extraneous input "+this.getTokenErrorDisplay(i.unexpectedToken)+" expecting "+o}else if(t.stimulsoft.is(e.MissingTokenException)){var a,o="";r="missing "+(o=(a=t).expecting==e.TokenTypes.endOfFile?"EndOfFile":n[a.expecting])+" at "+this.getTokenErrorDisplay(t.token)}else if(t.stimulsoft.is(e.MismatchedTokenException)){var a,o="";o=(a=t).expecting==e.TokenTypes.endOfFile?"EndOfFile":n[a.expecting],r="mismatched input "+this.getTokenErrorDisplay(t.token)+" expecting "+o}else if(t.stimulsoft.is(e.MismatchedTreeNodeException)){var s=t,o="",u;o=s.expecting==e.TokenTypes.endOfFile?"EndOfFile":n[s.expecting],r="mismatched tree node: "+(null!=s.node?s.node.toString():"")+" expecting "+o}else if(t.stimulsoft.is(e.NoViableAltException))r="no viable alternative at input "+this.getTokenErrorDisplay(t.token);else if(t.stimulsoft.is(e.EarlyExitException))r="required (...)+ loop did not match anything at input "+this.getTokenErrorDisplay(t.token);else if(t.stimulsoft.is(e.MismatchedSetException)){var l=t;r="mismatched input "+this.getTokenErrorDisplay(t.token)+" expecting set "+l.expecting.toString()}else if(t.stimulsoft.is(e.MismatchedNotSetException)){var l=t;r="mismatched input "+this.getTokenErrorDisplay(t.token)+" expecting set "+l.expecting.toString()}else if(t.stimulsoft.is(e.FailedPredicateException)){var c=t;r="rule "+c.ruleName+" failed predicate: {"+c.predicateText+"}?"}return r},Object.defineProperty(t.prototype,"numberOfSyntaxErrors",{get:function(){return this.state.syntaxErrors},enumerable:!1,configurable:!0}),t.prototype.getErrorHeader=function(t){var e=null!=this.sourceName?this.sourceName:"";return e.length>0&&(e+=" "),e+"line "+t.line+":"+(t.charPositionInLine+1)},t.prototype.getTokenErrorDisplay=function(t){var n=t.text;return null==n&&(n=t.type==e.TokenTypes.endOfFile?"":"<"+t.type.toString()+">"),"'"+(n=(n=(n=n.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"))+"'"},t.prototype.emitErrorMessage=function(t){},t.prototype.recover=function(t,e){this.state.lastErrorIndex==t.index&&t.consume(),this.state.lastErrorIndex=t.index;var n=this.computeErrorRecoverySet();this.beginResync(),this.consumeUntil2(t,n),this.endResync()},t.prototype.beginResync=function(){},t.prototype.endResync=function(){},t.prototype.computeErrorRecoverySet=function(){return this.combineFollows(!1)},t.prototype.computeContextSensitiveRuleFOLLOW=function(){return this.combineFollows(!0)},t.prototype.combineFollows=function(t){for(var n=this.state._fsp,r=new e.BitSet,i=n;i>=0;i--){var o=this.state.following[i];if(r.orInPlace(o),t){if(!o.member(e.TokenTypes.endOfRule))break;i>0&&r.remove(e.TokenTypes.endOfRule)}}return r},t.prototype.recoverFromMismatchedToken=function(t,n,r){var i=null;if(this.mismatchIsUnwantedToken(t,n)){i=new e.UnwantedTokenException(null,n,t,this.tokenNames.stimulsoft.toList()),this.beginResync(),t.consume(),this.endResync(),this.reportError(i);var o=this.getCurrentInputSymbol(t);return t.consume(),o}if(this.mismatchIsMissingToken(t,r)){var a=this.getMissingSymbol(t,i,n,r);return i=new e.MissingTokenException(null,n,t,a),this.reportError(i),a}throw i=new e.MismatchedTokenException(null,n,t,this.tokenNames.stimulsoft.toList())},t.prototype.recoverFromMismatchedSet=function(t,n,r){if(this.mismatchIsMissingToken(t,r))return this.reportError(n),this.getMissingSymbol(t,n,e.TokenTypes.invalid,r);throw n},t.prototype.getCurrentInputSymbol=function(t){return null},t.prototype.getMissingSymbol=function(t,e,n,r){return null},t.prototype.consumeUntil=function(t,n){var r=t.la(1);while(r!=e.TokenTypes.endOfFile&&r!=n)t.consume(),r=t.la(1)},t.prototype.consumeUntil2=function(t,n){var r=t.la(1);while(r!=e.TokenTypes.endOfFile&&!n.member(r))t.consume(),r=t.la(1)},t.prototype.pushFollow=function(t){this.state._fsp+1>=this.state.following.length&&this.state.following.stimulsoft.addRange(n.create(e.BitSet,this.state.following.length)),this.state.following[++this.state._fsp]=t},t.prototype.popFollow=function(){this.state._fsp--},Object.defineProperty(t.prototype,"backtrackingLevel",{get:function(){return this.state.backtracking},set:function(t){this.state.backtracking=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"failed",{get:function(){return this.state.failed},enumerable:!1,configurable:!0}),t.prototype.toStrings=function(t){var e,n;if(null==t)return null;var i=new r(t.length);try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;i.add(s.text)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i},t.prototype.getRuleMemoization=function(t,e){null==this.state.ruleMemo[t]&&(this.state.ruleMemo[t]=new i);var n={ref:null};if(!this.state.ruleMemo[t].tryGetValue(e,n))return this.memoRuleUnknown;return n.ref},t.prototype.alreadyParsedRule=function(t,e){var n=this.getRuleMemoization(e,t.index);if(n==this.memoRuleUnknown)return!1;return n==this.memoRuleFailed?this.state.failed=!0:t.seek(n+1),!0},t.prototype.memoize=function(t,e,n){var r=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(n,r)},t.prototype.getRuleMemoizationCacheSize=function(){for(var t=0,e=0;null!=this.state.ruleMemo&&e",a;return n.input.treeAdaptor.create(t.CommonToken.create3(r,o))},n.prototype.matchAny=function(e){var n;if(this.state.errorRecovery=!1,this.state.failed=!1,this.input.consume(),this.input.la(1)==this.DOWN){this.input.consume();var r=1;while(r>0){switch(this.input.la(1)){case this.DOWN:r++;break;case this.UP:r--;break;case t.TokenTypes.endOfFile:return;default:break}this.input.consume()}}},n.prototype.recoverFromMismatchedToken=function(e,n,r){throw new t.MismatchedTreeNodeException("",n,e)},n.prototype.getErrorHeader=function(t){return this.grammarFileName+": node from "+(t.approximateLineInfo?"after ":"")+"line "+t.line.toString()+":"+t.charPositionInLine.toString()},n.prototype.getErrorMessage=function(r,i){if(this.stimulsoft.is(n)){var o=r.input.treeAdaptor;r.token=o.getToken(r.node),null==r.token&&(r.token=t.CommonToken.create3(o.getType(r.node),o.getText(r.node)))}return e.prototype.getErrorMessage.call(this,r,i)},n.dotdot=".*[^.]\\.\\.[^.].*",n.doubleEtc=".*\\.\\.\\.\\s+\\.\\.\\..*",n}(t.BaseRecognizer);e.TreeParser=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(e){function n(n,r){var i=this;return null==r&&(r=new t.RecognizerSharedState),(i=e.call(this,n,r)||this).originalAdaptor=n.treeAdaptor,i.originalTokenStream=n.tokenStream,i}return __extends(n,e),n.prototype.applyOnce=function(t,e){},n.prototype.downup=function(t){},n.prototype.topdown=function(){},n.prototype.bottomup=function(){},n}(e.TreeParser);e.TreeFilter=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(n){var r=t.System.Collections.List,i=t.System.Collections.Queue,o=function(t){function n(n,r){var o=t.call(this)||this;return o.firstTime=!0,o.adaptor=n,o.tree=r,o.root=r,o.nodes=new i,o.down=n.create4(e.TokenTypes.down,"DOWN"),o.up=n.create4(e.TokenTypes.up,"UP"),o.eof=n.create4(e.TokenTypes.endOfFile,"EOF"),o}return __extends(n,t),n.prototype.dispose=function(){},n.prototype.moveNext=function(){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&&this.nodes.count>0)this.current=this.nodes.dequeue();else if(null==this.tree)this.current=this.eof;else if(this.adaptor.getChildCount(this.tree)>0)this.tree=this.adaptor.getChild(this.tree,0),this.nodes.enqueue(this.tree),this.current=this.down;else{var 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);if(null==t)this.tree=null,this.nodes.enqueue(this.eof),this.current=this.nodes.dequeue();else{var 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 n=this.current!=this.eof||!this.reachedEof;return this.reachedEof=this.current==this.eof,n},n.prototype.reset=function(){this.firstTime=!0,this.tree=this.root,this.nodes.clear()},n}(r);n.TreeIterator=o}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(){function e(t){this.p=-1,this.sval="",this.error=!1,this.pattern=t,this.n=t.length,this.consume()}return e.prototype.nextToken=function(){this.sval="";while(this.c!=t.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 e.id}if(this.c=="(".charCodeAt(0))return this.consume(),e.begin;if(this.c==")".charCodeAt(0))return this.consume(),e.end;if(this.c=="%".charCodeAt(0))return this.consume(),e.percent;if(this.c==":".charCodeAt(0))return this.consume(),e.colon;if(this.c==".".charCodeAt(0))return this.consume(),e.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.sval+=String.fromCharCode(this.c),this.consume();return this.consume(),e.arg}return this.consume(),this.error=!0,t.CharStreamConstants.endOfFile}return t.CharStreamConstants.endOfFile},e.prototype.consume=function(){this.p++,this.p>=this.n?this.c=t.CharStreamConstants.endOfFile:this.c=this.pattern[this.p].charCodeAt(0)},e.begin=1,e.end=2,e.id=3,e.arg=4,e.percent=5,e.colon=6,e.dot=7,e}();e.TreePatternLexer=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n;!function(n){var r=t.System.Exception,i=t.System.Type,o=function(){function t(t,e,n){this.tokenizer=t,this.wizard=e,this.adaptor=n,this.ttype=t.nextToken()}return t.prototype.pattern=function(){if(this.ttype==n.TreePatternLexer.begin)return this.parseTree();if(this.ttype==n.TreePatternLexer.id){var t=this.parseNode();if(this.ttype==e.CharStreamConstants.endOfFile)return t;return null}return null},t.prototype.parseTree=function(){if(this.ttype!=n.TreePatternLexer.begin)throw new r("No beginning.");this.ttype=this.tokenizer.nextToken();var t=this.parseNode();if(null==t)return null;while(this.ttype==n.TreePatternLexer.begin||this.ttype==n.TreePatternLexer.id||this.ttype==n.TreePatternLexer.percent||this.ttype==n.TreePatternLexer.dot)if(this.ttype==n.TreePatternLexer.begin){var e=this.parseTree();this.adaptor.addChild(t,e)}else{var i=this.parseNode();if(null==i)return null;this.adaptor.addChild(t,i)}if(this.ttype!=n.TreePatternLexer.end)throw new r("No end.");return this.ttype=this.tokenizer.nextToken(),t},t.prototype.parseNode=function(){var t=null;if(this.ttype==n.TreePatternLexer.percent){if(this.ttype=this.tokenizer.nextToken(),this.ttype!=n.TreePatternLexer.id)return null;if(t=this.tokenizer.sval.toString(),this.ttype=this.tokenizer.nextToken(),this.ttype!=n.TreePatternLexer.colon)return null;this.ttype=this.tokenizer.nextToken()}if(this.ttype==n.TreePatternLexer.dot){this.ttype=this.tokenizer.nextToken();var r=e.CommonToken.create3(0,"."),o=new n.WildcardTreePattern(r);return null!=t&&(o.label=t),o}if(this.ttype!=n.TreePatternLexer.id)return null;var a=this.tokenizer.sval.toString();if(this.ttype=this.tokenizer.nextToken(),"nil"==a)return this.adaptor.nil();var s=a,u=null;this.ttype==n.TreePatternLexer.arg&&(s=u=this.tokenizer.sval.toString(),this.ttype=this.tokenizer.nextToken());var l=this.wizard.getTokenType(a),c;if(l==e.TokenTypes.invalid)return null;return c=this.adaptor.create4(l,s),null!=t&&i.getType(c)==n.TreePattern&&(c.label=t),null!=u&&i.getType(c)==n.TreePattern&&(c.hasTextArg=!0),c},t}();n.TreePatternParser=o}(n=e.Tree||(e.Tree={}))}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(e){var n=function(n){function r(t,e){var r=n.call(this,t,e)||this;return r.originalAdaptor=t.treeAdaptor,r.originalTokenStream=t.tokenStream,r.topdown_func=function(){return r.topdown()},r.bottomup_func=function(){return r.bottomup()},r}return __extends(r,n),r.prototype.applyOnce=function(n,r){if(null==n)return null;try{this.setState(new t.RecognizerSharedState),this.setTreeNodeStream(new e.CommonTreeNodeStream(this.originalAdaptor,n)),this.input.tokenStream=this.originalTokenStream,this.backtrackingLevel=1;var i=r();if(this.backtrackingLevel=0,this.failed)return n;return this.showTransformations&&null!=i&&!n.Equals(i.Tree)&&null!=i.Tree&&this.reportTransformation(n,i.Tree),null!=i&&null!=i.Tree?i.Tree:n}catch(t){}return n},r.prototype.applyRepeatedly=function(t,e){var n=!0;while(n){var r=this.applyOnce(t,e);n=!t.equals(r),t=r}return t},r.prototype.downup=function(t,n){void 0===n&&(n=!1),this.showTransformations=n;var r=new e.TreeVisitor(new e.CommonTreeAdaptor);return t},r.prototype.topdown=function(){return null},r.prototype.bottomup=function(){return null},r.prototype.reportTransformation=function(t,n){var r=t.stimulsoft.as(e.ITree),i=n.stimulsoft.as(e.ITree),o=null!=r?r.toStringTree():"??",a=null!=i?i.toStringTree():"??"},r}(e.TreeParser);e.TreeRewriter=n}(e=t.Tree||(t.Tree={}))}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(e){null==e&&(e=new t.CommonTreeAdaptor),this.adaptor=e}return e.prototype.visit=function(t,e){var n=this.adaptor.isNil(t);null==e||n||(t=e.pre(t));for(var r=0;re.length)throw new n("ArgumentException");this.data=e,this.n=r,this.name=i}return t.prototype.implements=function(){return t.ImplementsANTLRStringStream||(t.ImplementsANTLRStringStream=[e.ICharStream]),t.ImplementsANTLRStringStream},Object.defineProperty(t.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.p=0,this.line=1,this.charPositionInLine=0,this.markDepth=0},t.prototype.consume=function(){this.p=this.n)return e.CharStreamConstants.endOfFile;return this.data[this.p+t-1].charCodeAt(0)},t.prototype.lt=function(t){return this.la(t)},Object.defineProperty(t.prototype,"count",{get:function(){return this.n},enumerable:!1,configurable:!0}),t.prototype.mark=function(){null==this.markers&&(this.markers=new r,this.markers.add(null)),this.markDepth++;var t=null;return this.markDepth>=this.markers.length?(t=new e.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},t.prototype.rewind=function(t){if(void 0===t&&(t=this.lastMarker),t<0)throw new n("ArgumentOutOfRangeException");var e=this.markers[t];this.seek(e.p),this.line=e.line,this.charPositionInLine=e.charPositionInLine,this.release(t)},t.prototype.release=function(t){this.markDepth=t,this.markDepth--},t.prototype.seek=function(t){if(t<=this.p)return void(this.p=t);while(this.pthis.data.length)throw new n("ArgumentException");if(0==e)return"";return this.data.join("").substr(t,e)},Object.defineProperty(t.prototype,"sourceName",{get:function(){return this.name},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return this.data.join("")},t}();e.ANTLRStringStream=i}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.readBufferSize=1024,e.initialBufferSize=1024,e}return __extends(e,t),e}(t.ANTLRStringStream);t.ANTLRReaderStream=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.ANTLRReaderStream);t.ANTLRInputStream=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.prototype.implements=function(){return e.ImplementsParserRuleReturnScope||(e.ImplementsParserRuleReturnScope=[t.IRuleReturnScope]),e.ImplementsParserRuleReturnScope},e}();t.ParserRuleReturnScope=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.implements=function(){return n.ImplementsAstParserRuleReturnScope||(n.ImplementsAstParserRuleReturnScope=e.prototype.implements.call(this).concat([t.IAstRuleReturnScope,t.IAstRuleReturnScope])),n.ImplementsAstParserRuleReturnScope},n}(t.ParserRuleReturnScope);t.AstParserRuleReturnScope=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiArray,r=t.System.Exception,i=function(){function t(e){null==e&&(e=t.BITS),this._bits=n.create(Number,(e-1>>t.LOG_BITS)+1)}return t.create=function(e){var n=new t;return n._bits=e,n},t.of=function(e){var n=new t(e+1);return n.add(e),n},t.of2=function(e,n){var r=new t(Math.max(e,n)+1);return r.add(e),r.add(n),r},t.of3=function(e,n,r){var i=new t;return i.add(e),i.add(n),i.add(r),i},t.of4=function(e,n,r,i){var o=new t;return o.add(e),o.add(n),o.add(r),o.add(i),o},t.prototype.or=function(t){if(null==t)return this;var e=this.clone();return e.orInPlace(t),e},t.prototype.add=function(e){var n=t.wordNumber(e);n>=this._bits.length&&this.growToInclude(e),this._bits[n]|=t.bitMask(e)},t.prototype.growToInclude=function(e){var n=Math.max(this._bits.length<<1,t.numWordsToHold(e));this.setSize(n)},t.prototype.orInPlace=function(t){if(null==t)return;t._bits.length>this._bits.length&&this.setSize(t._bits.length);for(var e,n=Math.min(this._bits.length,t._bits.length)-1;n>=0;n--)this._bits[n]|=t._bits[n]},t.prototype.setSize=function(t){this._bits.stimulsoft.addRange(n.create(Number,t-this._bits.length))},t.bitMask=function(t){var e;return 1<<(t&this.MOD_MASK)},t.prototype.clone=function(){return t.create(this._bits.stimulsoft.clone())},t.prototype.size=function(){for(var e=0,n=this._bits.length-1;n>=0;n--){var r=this._bits[n];if(0!=r)for(var i=t.BITS-1;i>=0;i--)0!=(r&1<r){for(var i=r+1;ir)for(var i=r+1;i=this._bits.length)return!1;return 0!=(this._bits[n]&t.bitMask(e))},t.prototype.remove=function(e){var n=t.wordNumber(e);this._bits.length},t.prototype.isNil=function(){for(var t=this._bits.length-1;t>=0;t--)if(0!=this._bits[t])return!1;return!0},t.numWordsToHold=function(t){return(t>>this.LOG_BITS)+1},t.prototype.numBits=function(){return this._bits.length<>this.LOG_BITS},t.prototype.toString=function(e){void 0===e&&(e=null);var n="",r=",",i=!1;n+="{";for(var o=0;o0&&i&&(n+=r),n+=null!=e?e[o]:o,i=!0);return n+="}"},t.BITS=64,t.LOG_BITS=6,t.MOD_MASK=t.BITS-1,t}();e.BitSet=i}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=t.System.Collections.List,i=function(){function t(t){this._tokens=new r(100),this._p=-1,this.range=0,this.maxLookBehind=Number.MAX_VALUE,this._tokenSource=t}return t.prototype.implements=function(){return t.ImplementsBufferedTokenStream||(t.ImplementsBufferedTokenStream=[e.ITokenStream,e.ITokenStreamInformation]),t.ImplementsBufferedTokenStream},Object.defineProperty(t.prototype,"tokenSource",{get:function(){return this._tokenSource},set:function(t){this._tokenSource=t,this._tokens.clear(),this._p=-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._p},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this._tokens.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sourceName",{get:function(){return this._tokenSource.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastToken",{get:function(){return this.lb(1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastRealToken",{get:function(){var t=0,e;do{t++,e=this.lb(t)}while(null!=e&&e.line<=0);return e},enumerable:!1,configurable:!0}),t.prototype.mark=function(){return-1==this._p&&this.setup(),this._lastMarker=this.index,this._lastMarker},t.prototype.release=function(t){},t.prototype.rewind=function(t){void 0===t&&(t=this._lastMarker),this.seek(t)},t.prototype.reset=function(){this._p=0,this._lastMarker=0},t.prototype.seek=function(t){this._p=t},t.prototype.consume=function(){-1==this._p&&this.setup(),this._p++,this.sync(this._p)},t.prototype.sync=function(t){var e=t-this._tokens.length+1;e>0&&this.fetch(e)},t.prototype.fetch=function(t){for(var n=0;n=this._tokens.length)throw new n("token index "+t.toString()+" out of range 0.."+(this._tokens.length-1).toString());return this._tokens[t]},t.prototype.la=function(t){return this.lt(t).type},t.prototype.lb=function(t){if(this._p-t<0)return null;return this._tokens[this._p-t]},t.prototype.lt=function(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]},t.prototype.setup=function(){this.sync(0),this._p=0},t.prototype.getTokens=function(t,e,n){if(-1==this._p&&this.setup(),e>=this._tokens.length&&(e=this._tokens.length-1),t<0&&(t=0),t>e)return null;for(var i=new r,o=t;o<=e;o++){var a=this._tokens[o];(null==n||n.member(a.type))&&i.add(a)}return 0==i.length&&(i=null),i},t.prototype.toString=function(){return-1==this._p&&this.setup(),this.fill(),this.toString2(0,this._tokens.length-1)},t.prototype.toString2=function(t,n){if(t<0||n<0)return null;-1==this._p&&this.setup(),n>=this._tokens.length&&(n=this._tokens.length-1);for(var r="",i=t;i<=n;i++){var o=this._tokens[i];if(o.type==e.CharStreamConstants.endOfFile)break;r+=o.text}return r},t.prototype.fill=function(){if(-1==this._p&&this.setup(),this._tokens[this._p].type==e.CharStreamConstants.endOfFile)return;var t=this._p+1;this.sync(t);while(this._tokens[t].type!=e.CharStreamConstants.endOfFile)t++,this.sync(t)},t}();e.BufferedTokenStream=i}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.endOfFile=-1,t}();t.CharStreamConstants=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.CharStreamState=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(e,n,r){this.channel=t.TokenChannels.default,this.startIndex=-1,this.stopIndex=-1,this.inputStream=null,this.type=e,this.text=n,this.channel=r}return e.prototype.implements=function(){return e.ImplementsClassicToken||(e.ImplementsClassicToken=[t.IToken]),e.ImplementsClassicToken},Object.defineProperty(e.prototype,"tokenIndex",{get:function(){return this.index},set:function(t){this.index=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t="";this.channel>0&&(t=",channel="+this.channel.toString());var e=this.text;return e=null!=e?(e=(e=e.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"):"","[@"+this.tokenIndex.toString()+",'"+e+"',<"+this.type.toString()+">"+t+","+this.line.toString()+":"+this.charPositionInLine.toString()+"]"},e}();t.ClassicToken=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){this.index=-1,this.charPositionInLine=-1,this.channel=t.TokenChannels.default}return e.prototype.implements=function(){return e.ImplementsCommonToken||(e.ImplementsCommonToken=[t.IToken]),e.ImplementsCommonToken},e.create1=function(t){var n=new e;return n.type=t,n},e.create2=function(t,n,r,i,o){var a=new e;return a.input=t,a.type=n,a.channel=r,a.start=i,a.stop=o,a},e.create3=function(n,r){var i=new e;return i.type=n,i.channel=t.TokenChannels.default,i.text=r,i},e.create4=function(t){var n=new e;return n._text=t.text,n.type=t.type,n.line=t.line,n.index=t.tokenIndex,n.charPositionInLine=t.charPositionInLine,n.channel=t.channel,n.input=t.inputStream,t.stimulsoft.is(e)&&(n.start=t.start,n.stop=t.stop),n},Object.defineProperty(e.prototype,"text",{get:function(){if(null!=this._text)return this.text;if(null==this.input)return null;if(this.start<=this.stop&&this.stop"},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this.start},set:function(t){this.start=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stopIndex",{get:function(){return this.stop},set:function(t){this.stop=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenIndex",{get:function(){return this.index},set:function(t){this.index=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputStream",{get:function(){return this.input},set:function(t){this.input=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t="";this.channel>0&&(t=",channel="+this.channel.toString());var e=this.text;return e=null!=e?(e=(e=e.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+t+","+this.line+":"+this.charPositionInLine+"]"},e}();t.CommonToken=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function n(n,r){void 0===r&&(r=t.TokenChannels.default);var i=e.call(this,n)||this;return i.channel=r,i}return __extends(n,e),n.prototype.consume=function(){-1==this._p&&this.setup(),this._p++,this._p=this.skipOffTokenChannels(this._p)},n.prototype.lb=function(t){if(0==t||this._p-t<0)return null;var e=this._p,n=1;while(n<=t)e=this.skipOffTokenChannelsReverse(e-1),n++;if(e<0)return null;return this._tokens[e]},n.prototype.lt=function(t){if(-1==this._p&&this.setup(),0==t)return null;if(t<0)return this.lb(-t);var e=this._p,n=1;while(nthis.range&&(this.range=e),this._tokens[e]},n.prototype.skipOffTokenChannels=function(t){this.sync(t);while(this._tokens[t].channel!=this.channel)t++,this.sync(t);return t},n.prototype.skipOffTokenChannelsReverse=function(t){while(t>=0&&this._tokens[t].channel!=this.channel)t--;return t},n.prototype.reset=function(){e.prototype.reset.call(this),this._p=this.skipOffTokenChannels(0)},n.prototype.setup=function(){this._p=0,this._p=this.skipOffTokenChannels(this._p)},n}(t.BufferedTokenStream);t.CommonTokenStream=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiArray,r=t.System.Exception,i=function(){function t(){this.debug=!1,this.description="n/a"}return t.prototype.predict=function(t){if(null==t)throw new r("ArgumentNullException");this.dfaDebugMessage("Enter DFA.Predict for decision {0}",this.decisionNumber);var n=t.mark(),i=0;try{while(1){this.dfaDebugMessage("DFA {0} state {1} LA(1)={2}({3}), index={4}",this.decisionNumber,i,String.fromCharCode(t.la(1)),String.fromCharCode(t.la(1)),String.fromCharCode(t.index));var o=this.special[i];if(o>=0){if(this.dfaDebugMessage("DFA {0} state {1} is special state {2}",this.decisionNumber,i,o),this.dfaDebugMessage("DFA {0} returns from special state {1} to {2}",this.decisionNumber,o,i),-1==i)return this.noViableAlt(i,t),0;t.consume();continue}if(this.accept[i]>=1)return this.dfaDebugMessage("accept; predict {0} from state {1}",this.accept[i],i),this.accept[i];var a=String.fromCharCode(t.la(1));if(a>=this.min[i]&&a<=this.max[i]){var s=this.transition[i][a.charCodeAt(0)-this.min[i].charCodeAt(0)];if(s<0){if(this.eot[i]>=0){this.dfaDebugMessage("EOT transition"),i=this.eot[i],t.consume();continue}return this.noViableAlt(i,t),0}i=s,t.consume();continue}if(this.eot[i]>=0){this.dfaDebugMessage("EOT transition"),i=this.eot[i],t.consume();continue}if(a.charCodeAt(0)==e.TokenTypes.endOfFile&&this.eof[i]>=0)return this.dfaDebugMessage("accept via EOF; predict {0} from {1}",this.accept[this.eof[i]],this.eof[i]),this.accept[this.eof[i]];return this.dfaDebugInvalidSymbol(i),this.noViableAlt(i,t),0}}finally{t.rewind(n)}},t.prototype.dfaDebugMessage=function(t){for(var e=[],n=1;n0)return void(this.recognizer.state.failed=!0);var r=new e.NoViableAltException("",this.description,this.decisionNumber,t,n);throw this.error(r),r},t.prototype.error=function(t){},t.specialStateTransitionDefault=function(t,e,n){return-1},t.unpackEncodedString=function(t){for(var e=0,r=0;r0){this.line=m.line,this.charPositionInLine=m.charPositionInLine,this.approximateLineInfo=!0;break}--p;try{f=t.lt(p)}catch(t){f=null}}}else this.line=h.line,this.charPositionInLine=h.charPositionInLine;else if(this.node.stimulsoft.is(o))this.line=this.node.line,this.charPositionInLine=this.node.charPositionInLine,this.node.stimulsoft.is(a)&&(this.token=this.node.token);else{var d=c.getType(this.node),y=c.getText(this.node);this.token=e.CommonToken.create3(d,y)}}},n.prototype.extractInformationFromTreeNodeStream2=function(t,e){var n=t.mark();try{for(var r=0;r=0&&this.tokens[t].channel!=this.channel)t--;return t},t.prototype.setTokenTypeChannel=function(t,e){null==this.channelOverrideMap&&(this.channelOverrideMap=new i),this.channelOverrideMap.set(t,e)},t.prototype.discardTokenType=function(t){null==this.discardSet&&(this.discardSet=new r),this.discardSet.add(t)},t.prototype.setDiscardOffChannelTokens=function(t){this.discardOffChannelTokens=t},t.prototype.getTokens=function(){return-1==this.p&&this.fillBuffer(),this.tokens},t.prototype.getTokens2=function(t,e,n){if(-1==this.p&&this.fillBuffer(),e>=this.tokens.length&&(e=this.tokens.length-1),t<0&&(t=0),t>e)return null;for(var i=new r,o=t;o<=e;o++){var a=this.tokens[o];(null==n||n.member(a.type))&&i.add(a)}return 0==i.length&&(i=null),i},t.prototype.lt=function(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];var e=this.p,n=1;while(n=this.tokens.length)return this.tokens[this.tokens.length-1];return e>this.range&&(this.range=e),this.tokens[e]},t.prototype.lb=function(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(this.p-t<0)return null;var e=this.p,n=1;while(n<=t)e=this.skipOffTokenChannelsReverse(e-1),n++;if(e<0)return null;return this.tokens[e]},t.prototype.get=function(t){return this.tokens[t]},t.prototype.la=function(t){return this.lt(t).type},t.prototype.mark=function(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker},t.prototype.release=function(t){},Object.defineProperty(t.prototype,"count",{get:function(){return this.tokens.length},enumerable:!1,configurable:!0}),t.prototype.rewind=function(t){null==t&&(t=this.lastMarker),this.seek(t)},t.prototype.reset=function(){this.p=0,this.lastMarker=0},t.prototype.seek=function(t){this.p=t},Object.defineProperty(t.prototype,"sourceName",{get:function(){return this.tokenSource.sourceName},enumerable:!1,configurable:!0}),t.prototype.toString=function(){if(-1==this.p)throw new n("Buffer is not yet filled.");return this.toString2(0,this.tokens.length-1)},t.prototype.toString2=function(t,e){if(t<0||e<0)return null;if(-1==this.p)throw new n("Buffer is not yet filled.");e>=this.tokens.length&&(e=this.tokens.length-1);for(var r="",i=t;i<=e;i++){var o;r+=this.tokens[i].text}return r},t.prototype.toString3=function(t,e){if(null!=t&&null!=e)return this.toString2(t.tokenIndex,e.tokenIndex);return null},t}();e.LegacyCommonTokenStream=o}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function n(t,n){var r=e.call(this,n)||this;return r.input=t,r}return __extends(n,e),n.prototype.implements=function(){return n.ImplementsLexer||(n.ImplementsLexer=[t.ITokenSource]),n.ImplementsLexer},Object.defineProperty(n.prototype,"text",{get:function(){if(null!=this.state.text)return this.state.text;return this.input.substring(this.state.tokenStartCharIndex,this.charIndex-this.state.tokenStartCharIndex)},set:function(t){this.state.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"line",{get:function(){return this.input.line},set:function(t){this.input.line=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"charPositionInLine",{get:function(){return this.input.charPositionInLine},set:function(t){this.input.charPositionInLine=t},enumerable:!1,configurable:!0}),n.prototype.reset=function(){if(e.prototype.reset.call(this),null!=this.input&&this.input.seek(0),null==this.state)return;this.state.token=null,this.state.type=t.TokenTypes.invalid,this.state.channel=t.TokenChannels.default,this.state.tokenStartCharIndex=-1,this.state.tokenStartCharPositionInLine=-1,this.state.tokenStartLine=-1,this.state.text=null},n.prototype.nextToken=function(){for(;;){if(this.state.token=null,this.state.channel=t.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)==t.CharStreamConstants.endOfFile)return this.getEndOfFileToken();try{if(this.parseNextToken(),null==this.state.token)this.emit();else if(this.state.token==t.Tokens.skip)continue;return this.state.token}catch(t){this.reportError(t)}}},n.prototype.getEndOfFileToken=function(){var e=t.CommonToken.create2(this.input,t.CharStreamConstants.endOfFile,t.TokenChannels.default,this.input.index,this.input.index);return e.line=this.line,e.charPositionInLine=this.charPositionInLine,e},n.prototype.skip=function(){this.state.token=t.Tokens.skip},n.prototype.mTokens=function(){},Object.defineProperty(n.prototype,"charStream",{get:function(){return this.input},set:function(t){this.input=null,this.reset(),this.input=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),n.prototype.emit2=function(t){this.state.token=t},n.prototype.emit=function(){var e=t.CommonToken.create2(this.input,this.state.type,this.state.channel,this.state.tokenStartCharIndex,this.charIndex-1);return e.line=this.state.tokenStartLine,e.text=this.state.text,e.charPositionInLine=this.state.tokenStartCharPositionInLine,this.emit2(e),e},n.prototype.match3=function(e){var n=0;while(n0)return void(this.state.failed=!0);var r=new t.MismatchedTokenException("",e.charCodeAt(n),this.input,this.tokenNames.stimulsoft.toList());throw this.recover2(r),r}n++,this.input.consume(),this.state.failed=!1}},n.prototype.matchAny=function(){this.input.consume()},n.prototype.match2=function(e){if(this.input.la(1)!=e){if(this.state.backtracking>0)return void(this.state.failed=!0);var n=new t.MismatchedTokenException("",e,this.input,this.tokenNames.stimulsoft.toList());throw this.recover2(n),n}this.input.consume(),this.state.failed=!1},n.prototype.matchRange=function(e,n){if(this.input.la(1)n){if(this.state.backtracking>0)return void(this.state.failed=!0);var r=new t.MismatchedRangeException("",e,n,this.input);throw this.recover2(r),r}this.input.consume(),this.state.failed=!1},Object.defineProperty(n.prototype,"charIndex",{get:function(){return this.input.index},enumerable:!1,configurable:!0}),n.prototype.reportError=function(t){this.displayRecognitionError(this.tokenNames,t)},n.prototype.getErrorMessage=function(n,r){var i=null;if(n.stimulsoft.is(t.MismatchedTokenException)){var o=n;i="mismatched character "+this.getCharErrorDisplay(n.character.charCodeAt(0))+" expecting "+this.getCharErrorDisplay(o.expecting)}else if(n.stimulsoft.is(t.NoViableAltException)){var a=n;i="no viable alternative at character "+this.getCharErrorDisplay(n.character.charCodeAt(0))}else if(n.stimulsoft.is(t.EarlyExitException)){var s=n;i="required (...)+ loop did not match anything at character "+this.getCharErrorDisplay(n.character.charCodeAt(0))}else if(n.stimulsoft.is(t.MismatchedNotSetException)){var u=n;i="mismatched character "+this.getCharErrorDisplay(n.character.charCodeAt(0))+" expecting set "+u.expecting.toString()}else if(n.stimulsoft.is(t.MismatchedSetException)){var u=n;i="mismatched character "+this.getCharErrorDisplay(n.character.charCodeAt(0))+" expecting set "+u.expecting.toString()}else if(n.stimulsoft.is(t.MismatchedRangeException)){var l=n;i="mismatched character "+this.getCharErrorDisplay(n.character.charCodeAt(0))+" expecting set "+this.getCharErrorDisplay(l.a)+".."+this.getCharErrorDisplay(l.b)}else i=e.prototype.getErrorMessage.call(this,n,r);return i},n.prototype.getCharErrorDisplay=function(e){var n=String.fromCharCode(e);switch(e){case t.TokenTypes.endOfFile:n="";break;case"\n".charCodeAt(0):n="\\n";break;case"\t".charCodeAt(0):n="\\t";break;case"\r".charCodeAt(0):n="\\r";break}return"'"+n+"'"},n.prototype.recover2=function(t){this.input.consume()},n.prototype.parseNextToken=function(){this.mTokens()},n}(t.BaseRecognizer);t.Lexer=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e,n,r,i){var o=t.call(this,e,r,1,i)||this;return o.expecting=n,o}return __extends(e,t),e.prototype.toString=function(){return"MismatchedSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},e}(t.RecognitionException);t.MismatchedSetException=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e,n,r,i){return t.call(this,e,n,r,i)||this}return __extends(e,t),e.prototype.toString=function(){return"MismatchedNotSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},e}(t.MismatchedSetException);t.MismatchedNotSetException=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e,n,r,i,o){var a=t.call(this,e,i,1,o)||this;return a.a=n,a.b=r,a}return __extends(e,t),e.prototype.toString=function(){return"MismatchedRangeException("+this.unexpectedType.toString()+" not in ["+this.a.toString()+","+this.b.toString()+"])"},e}(t.RecognitionException);t.MismatchedRangeException=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Collections.List,r=function(t){function e(e,r,i,o,a){var s=t.call(this,e,i,null,a)||this;return s.expecting=r,null!=o&&(s.tokenNames=new n(o)),s}return __extends(e,t),e.prototype.toString=function(){var t=this.unexpectedType,e,n;return"MismatchedTokenException("+(null!=this.tokenNames&&t>=0&&t=0&&this.expecting":"";var a=t.CommonToken.create3(r,o),s=e.lt(1);return s.type==t.TokenTypes.endOfFile&&(s=e.lt(-1)),a.line=s.line,a.charPositionInLine=s.charPositionInLine,a.channel=this.defaultTokenChannel,a.inputStream=s.inputStream,a},Object.defineProperty(n.prototype,"tokenStream",{get:function(){return this.input},set:function(t){this.input=null,this.reset(),this.input=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),n}(t.BaseRecognizer);t.Parser=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiArray,r=t.System.Exception,i=function(){function t(){this.following=n.create(e.BitSet,e.BaseRecognizer.initialFollowStackSize),this._fsp=-1,this.lastErrorIndex=-1,this.tokenStartCharIndex=-1}return t.recognizerSharedState=function(e){if(null==e)throw new r("ArgumentNullException");var n=new t;return n.following=e.following.stimulsoft.clone(),n._fsp=e._fsp,n.errorRecovery=e.errorRecovery,n.lastErrorIndex=e.lastErrorIndex,n.failed=e.failed,n.syntaxErrors=e.syntaxErrors,n.backtracking=e.backtracking,null!=e.ruleMemo&&(n.ruleMemo=e.ruleMemo.stimulsoft.clone()),n.token=e.token,n.tokenStartCharIndex=e.tokenStartCharIndex,n.tokenStartCharPositionInLine=e.tokenStartCharPositionInLine,n.channel=e.channel,n.type=e.type,n.text=e.text,n},t}();e.RecognizerSharedState=i}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.implements=function(){return n.ImplementsTemplateParserRuleReturnScope||(n.ImplementsTemplateParserRuleReturnScope=e.prototype.implements.call(this).concat([t.ITemplateRuleReturnScope,t.ITemplateRuleReturnScope])),n.ImplementsTemplateParserRuleReturnScope},n}(t.ParserRuleReturnScope);t.TemplateParserRuleReturnScope=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.default=0,t.hidden=99,t}();t.TokenChannels=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=t.System.Type,i=t.System.Collections.Dictionary,o=t.System.Collections.List,a=function(t){function a(e,n){var r=t.call(this,e,n)||this;return r.DEFAULT_PROGRAM_NAME="default",r.PROGRAM_INIT_SIZE=100,r.MIN_TOKEN_INDEX=0,r.programs=null,r.lastRewriteTokenIndexes=null,r.init(),r}return __extends(a,t),a.prototype.init=function(){this.programs=new i,this.programs.set(this.DEFAULT_PROGRAM_NAME,new o(this.PROGRAM_INIT_SIZE)),this.lastRewriteTokenIndexes=new i},a.prototype.rollback=function(t,e){var n={ref:null};if(this.programs.tryGetValue(t,n)&&null!=n.ref){for(var r=new o,i=this.MIN_TOKEN_INDEX;i<=e;i++)r.add(n.ref[i]);this.programs.set(t,r)}},a.prototype.deleteProgram=function(t){void 0===t&&(t=this.DEFAULT_PROGRAM_NAME),this.rollback(t,this.MIN_TOKEN_INDEX)},a.prototype.unsertAfter=function(t,e,n){this.insertBefore(t,e+1,n)},a.prototype.insertBefore=function(t,e,n){var r=new u(this,e,n),i=this.getProgram(t);r.instructionIndex=i.length,i.add(r)},a.prototype.replace=function(t,e,r,i){if(e>r||e<0||r<0||r>=this._tokens.length)throw new n("replace: range invalid: "+e.toString()+".."+r.toString()+"(size="+this._tokens.length.toString()+")");var o=new l(this,e,r,i),a=this.getProgram(t);o.instructionIndex=a.length,a.add(o)},a.prototype.replace2=function(t,e,n,r){this.replace(t,e.tokenIndex,n.tokenIndex,r)},a.prototype.delete=function(t,e,n){this.replace2(t,e,n,null)},a.prototype.getLastRewriteTokenIndex=function(t){var e={ref:null};if(this.lastRewriteTokenIndexes.tryGetValue(t,e))return e.ref;return-1},a.prototype.setLastRewriteTokenIndex=function(t,e){this.lastRewriteTokenIndexes.set(t,e)},a.prototype.getProgram=function(t){var e={ref:null};return this.programs.tryGetValue(t,e)&&null!=e.ref||(e.ref=this.initializeProgram(t)),e.ref},a.prototype.initializeProgram=function(t){var e=new o(this.PROGRAM_INIT_SIZE);return this.programs.set(t,e),e},a.prototype.toOriginalString=function(){return this.fill(),this.toOriginalString2(this.MIN_TOKEN_INDEX,this.count-1)},a.prototype.toOriginalString2=function(t,n){for(var r="",i=t;i>=this.MIN_TOKEN_INDEX&&i<=n&&ithis._tokens.length-1&&(r=this._tokens.length-1),n<0&&(n=0),null==a.ref||0==a.ref.length)return this.toOriginalString2(n,r);var s="",u=this.reduceToSingleOperationPerIndex(a.ref),l=n;while(l<=r&&l=this._tokens.length-1&&(s+=c.text)}}catch(t){i={error:t}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}return s},a.prototype.reduceToSingleOperationPerIndex=function(t){for(var e=0;eo.index&&c.index<=o.lastIndex&&(t[c.instructionIndex]=null)}for(var h=this.getKindOfOps(t,l,e),s=0;s=o.index&&p.lastIndex<=o.lastIndex){t[p.instructionIndex]=null;continue}var f=p.lastIndexo.lastIndex,m=p.index==o.index&&p.lastIndex==o.lastIndex;if(null!=p.text||null!=o.text||f){if(!f&&!m)throw new n("replace op boundaries of "+o.toString()+" overlap with previous "+p.toString())}else t[p.instructionIndex]=null,o.index=Math.min(p.index,o.index),o.lastIndex=Math.max(p.lastIndex,o.lastIndex)}}for(var e=0;e=o.index&&c.index<=o.lastIndex)throw new n("insert op "+c.toString()+" within boundaries of previous "+o.toString())}}for(var v=new i,e=0;e=this.MIN_TOKEN_INDEX&&r<=e&&r"'},t}();e.RewriteOperation=s;var u=function(t){function n(e,n,r){return t.call(this,e,n,r)||this}return __extends(n,t),n.prototype.execute=function(t){return t+=this.text,this.stream._tokens[this.index].type!=e.CharStreamConstants.endOfFile&&(t+=this.stream._tokens[this.index].text),this.index+1},n}(s);e.InsertBeforeOp=u;var l=function(t){function e(e,n,r,i){var o=t.call(this,e,n,i)||this;return o.lastIndex=r,o}return __extends(e,t),e.prototype.execute=function(t){return null!=this.text&&(t+=this.text),this.lastIndex+1},e.prototype.toString=function(){if(null==this.text)return"";return"'},e}(s);e.ReplaceOp=l}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.endOfFile=t.CharStreamConstants.endOfFile,e.invalid=0,e.endOfRule=1,e.down=2,e.up=3,e.min=e.up+1,e}();t.TokenTypes=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.skip=t.CommonToken.create1(t.TokenTypes.invalid),e}();t.Tokens=e}(e=t.Runtime||(t.Runtime={}))}(e=t.Antlr||(t.Antlr={}))}(e=t.Expressions||(t.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=t.Data.Expressions.Antlr.Runtime.Misc.LookaheadStream,i=t.Data.Expressions.Antlr.Runtime.Misc.ListStack,o=function(t){function r(n){var r=t.call(this)||this;return r.channel=e.TokenChannels.default,r._realTokens=new i,r.maxLookBehind=1,r.tokenSource=n,r}return __extends(r,t),r.prototype.implements=function(){return r.ImplementsUnbufferedTokenStream||(r.ImplementsUnbufferedTokenStream=[e.ITokenStream,e.ITokenStreamInformation]),r.ImplementsUnbufferedTokenStream},Object.defineProperty(r.prototype,"sourceName",{get:function(){return this.tokenSource.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastToken",{get:function(){return this.lb(1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastRealToken",{get:function(){return this._realTokens.stimulsoft.peek()},enumerable:!1,configurable:!0}),r.prototype.mark=function(){return this._realTokens.push(this._realTokens.stimulsoft.peek()),t.prototype.mark.call(this)},r.prototype.release=function(e){t.prototype.release.call(this,e),this._realTokens.pop()},r.prototype.clear=function(){this._realTokens.clear(),this._realTokens.push(null)},r.prototype.consume=function(){t.prototype.consume.call(this),null!=this.previousElement&&this.previousElement.line>0&&(this._realTokens[this._realTokens.length-1]=this.previousElement)},r.prototype.extElement=function(){var t=this.tokenSource.nextToken();return t.tokenIndex=this.tokenIndex++,t},r.prototype.isEndOfFile=function(t){return t.type==e.CharStreamConstants.endOfFile},r.prototype.get=function(t){throw new n("Absolute token indexes are meaningless in an unbuffered stream")},r.prototype.la=function(t){return this.lt(t).type},r.prototype.toString2=function(t,e){return"n/a"},r}(r);e.UnbufferedTokenStream=o}(n=e.Runtime||(e.Runtime={}))}(n=e.Antlr||(e.Antlr={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function n(t,n,r,i,o){return e.call(this,t,n,r,i,o)||this}return __extends(n,e),Object.defineProperty(n.prototype,"unexpectedToken",{get:function(){return this.token},enumerable:!1,configurable:!0}),n.prototype.toString=function(){var e,n=", expected "+(null!=this.tokenNames&&this.expecting>=0&&this.expecting0);break;case n.BinaryExpressionType.GreaterOrEqual:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(l=this.result)||void 0===l?void 0:l.stimulsoft.is(Number))&&(this.result=this.result>=0);break;case n.BinaryExpressionType.Lesser:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(c=this.result)||void 0===c?void 0:c.stimulsoft.is(Number))&&(this.result=this.result<0);break;case n.BinaryExpressionType.LesserOrEqual:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(h=this.result)||void 0===h?void 0:h.stimulsoft.is(Number))&&(this.result=this.result<=0);break;case n.BinaryExpressionType.Minus:this.result=e.Numbers.soustract(d(),v());break;case n.BinaryExpressionType.Modulo:this.result=e.Numbers.modulo(d(),v());break;case n.BinaryExpressionType.NotEqual:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(p=this.result)||void 0===p?void 0:p.stimulsoft.is(Number))&&(this.result=0!=this.result);break;case n.BinaryExpressionType.Plus:this.result=d().stimulsoft.is(String)?d()+v():e.Numbers.add(d(),v());break;case n.BinaryExpressionType.Times:this.result=e.Numbers.multiply(d(),v());break;case n.BinaryExpressionType.BitwiseAnd:var g=d(),S=v();a.isList(g)||a.isList(S)?this.result=i.bitwiseAnd(g,S):this.result=o.toUInt32(g)&o.toUInt32(S);break;case n.BinaryExpressionType.BitwiseOr:var b=d(),x=v();a.isList(b)||a.isList(x)?this.result=i.bitwiseOr(b,x):this.result=o.toUInt32(b)|o.toUInt32(x);break;case n.BinaryExpressionType.BitwiseXOr:var T=d(),E=v();a.isList(T)||a.isList(E)?this.result=i.bitwiseXOr(T,E):this.result=o.toUInt32(T)|o.toUInt32(E);break;case n.BinaryExpressionType.LeftShift:this.result=o.toUInt32(d())<>o.toUInt32(v());break}},s.prototype.visit4=function(t){switch(t.expression.accept(this),t.type){case n.UnaryExpressionType.Not:a.isList(this.result)?this.result=i.bitwiseXOr(this.result,1):this.result=!o.toBoolean(this.result);break;case n.UnaryExpressionType.Negate:this.result=e.Numbers.soustract(0,this.result);break;case n.UnaryExpressionType.BitwiseNot:this.result=~o.toUInt32(this.result);break}},s.prototype.visit5=function(t){this.result=t.value},s.prototype.visit6=function(t){var n=new e.FunctionArgs;n.parameters=i.create(e.Expression,t.expressions.length);for(var a=0;a"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__36=function(){try{var t=this.T__36,e=this.defaultTokenChannel;this.match3("="),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__37=function(){try{var t=this.T__37,e=this.defaultTokenChannel;this.match3("=="),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__38=function(){try{var t=this.T__38,e=this.defaultTokenChannel;this.match3(">"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__39=function(){try{var t=this.T__39,e=this.defaultTokenChannel;this.match3(">="),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__40=function(){try{var t=this.T__40,e=this.defaultTokenChannel;this.match3(">>"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__41=function(){try{var t=this.T__41,e=this.defaultTokenChannel;this.match3("?"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__42=function(){try{var t=this.T__42,e=this.defaultTokenChannel;this.match3("^"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__43=function(){try{var t=this.T__43,e=this.defaultTokenChannel;this.match3("and"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__44=function(){try{var t=this.T__44,e=this.defaultTokenChannel;this.match3("not"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.enterRule_T__45=function(){},e.prototype.leaveRule_T__45=function(){},e.prototype.mT__45=function(){try{var t=this.T__45,e=this.defaultTokenChannel;this.match3("or"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__46=function(){try{var t=this.T__46,e=this.defaultTokenChannel;this.match3("|"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__47=function(){try{var t=this.T__47,e=this.defaultTokenChannel;this.match3("||"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__48=function(){try{var t=this.T__48,e=this.defaultTokenChannel;this.match3("~"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mTRUE=function(){try{var t=this.TRUE,e=this.defaultTokenChannel;this.match3("true"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mFALSE=function(){try{var t=this.FALSE,e=this.defaultTokenChannel;this.match3("false"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mID=function(){try{var t=this.ID,e=this.defaultTokenChannel;this.mLETTER();try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1);(i>="0".charCodeAt(0)&&i<="9".charCodeAt(0)||i>="A".charCodeAt(0)&&i<="Z".charCodeAt(0)||i=="_".charCodeAt(0)||i>="a".charCodeAt(0)&&i<="z".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.state.type=t,this.state.channel=e}finally{}},e.prototype.mINTEGER=function(){try{var t=this.INTEGER,e=this.defaultTokenChannel,n=0;try{var r=!1;while(!r){var i=2;try{var a=this.input.la(1);a>="0".charCodeAt(0)&&a<="9".charCodeAt(0)&&(i=1)}finally{}switch(i){case 1:this.input.consume();break;default:if(n>=1){r=!0;break}var s;throw new o(null,2,this.input)}n++}}finally{}this.state.type=t,this.state.channel=e}finally{}},e.prototype.mFLOAT=function(){try{var t=this.FLOAT,e=this.defaultTokenChannel,n=2;try{try{n=this.dfa7.predict(this.input)}catch(t){}}finally{}switch(n){case 1:try{var r=!1;while(!r){var i=2;try{var a=this.input.la(1);a>="0".charCodeAt(0)&&a<="9".charCodeAt(0)&&(i=1)}finally{}switch(i){case 1:this.input.consume();break;default:r=!0}}}finally{}this.match3(".");var s=0;try{var r=!1;while(!r){var u=2;try{var l=this.input.la(1);l>="0".charCodeAt(0)&&l<="9".charCodeAt(0)&&(u=1)}finally{}switch(u){case 1:this.input.consume();break;default:if(s>=1){r=!0;break}var c;throw new o(null,4,this.input)}s++}}finally{}var h=2;try{try{var p=this.input.la(1);p!="E".charCodeAt(0)&&p!="e".charCodeAt(0)||(h=1)}finally{}switch(h){case 1:this.mE();break}}finally{}break;case 2:var f=0;try{var r=!1;while(!r){var m=2;try{var d=this.input.la(1);d>="0".charCodeAt(0)&&d<="9".charCodeAt(0)&&(m=1)}finally{}switch(m){case 1:this.input.consume();break;default:if(f>=1){r=!0;break}var y;throw new o(null,6,this.input)}f++}}finally{}this.mE();break}this.state.type=t,this.state.channel=e}finally{}},e.prototype.mSTRING=function(){try{var t=this.STRING,e=this.defaultTokenChannel;this.match3("'");try{var n=!1;while(!n){var r=3;try{var i=this.input.la(1);i=="\\".charCodeAt(0)?r=1:(i>=" ".charCodeAt(0)&&i<="&".charCodeAt(0)||i>="(".charCodeAt(0)&&i<="[".charCodeAt(0)||i>="]".charCodeAt(0)&&i<="￿".charCodeAt(0))&&(r=2)}finally{}switch(r){case 1:this.mEscapeSequence();break;case 2:this.input.consume();break;default:n=!0}}}finally{}this.match3("'"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mDATETIME=function(){try{var t=this.DATETIME,e=this.defaultTokenChannel;this.match3("#");try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1);(i>="\0".charCodeAt(0)&&i<='"'.charCodeAt(0)||i>="$".charCodeAt(0)&&i<="￿".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.match3("#"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mNAME=function(){try{var t=this.NAME,e=this.defaultTokenChannel;this.match3("[");try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1) ;(i>="\0".charCodeAt(0)&&i<="\\".charCodeAt(0)||i>="^".charCodeAt(0)&&i<="￿".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.match3("]"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mE=function(){try{if(this.input.la(1)!="E".charCodeAt(0)&&this.input.la(1)!="e".charCodeAt(0)){var t=new i(null,null,this.input);throw this.recover2(t),t}this.input.consume();var e=2;try{try{var n=this.input.la(1);n!="+".charCodeAt(0)&&n!="-".charCodeAt(0)||(e=1)}finally{}switch(e){case 1:this.input.consume();break}}finally{}var r=0;try{var a=!1;while(!a){var s=2;try{var u=this.input.la(1);u>="0".charCodeAt(0)&&u<="9".charCodeAt(0)&&(s=1)}finally{}switch(s){case 1:this.input.consume();break;default:if(r>=1){a=!0;break}var l;throw new o(null,12,this.input)}r++}}finally{}}finally{}},e.prototype.mLETTER=function(){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 i(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},e.prototype.mDIGIT=function(){try{if(!(this.input.la(1)>="0".charCodeAt(0)&&this.input.la(1)<="9".charCodeAt(0))){var t=new i(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},e.prototype.mEscapeSequence=function(){try{this.match3("\\");var 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 r("",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{}},e.prototype.mHexDigit=function(){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 i(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},e.prototype.mUnicodeEscape=function(){try{this.match3("u"),this.mHexDigit(),this.mHexDigit(),this.mHexDigit(),this.mHexDigit()}finally{}},e.prototype.mWS=function(){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 n=new i(null,null,this.input);throw this.recover2(n),n}this.input.consume(),e=this.hidden,this.state.type=t,this.state.channel=e}finally{}},e.prototype.mTokens=function(){var 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}},e.prototype.initDFAs=function(){t.prototype.initDFAs.call(this),this.dfa7=new u(this),this.dfa14=new l(this)},e}(t.Data.Expressions.Antlr.Runtime.Lexer);e.NCalcLexer=s;var u=function(t){function e(n){var r=t.call(this)||this;return r.description="252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );",r.recognizer=n,r.decisionNumber=7,r.eot=e.DFA7_eot,r.eof=e.DFA7_eof,r.min=e.DFA7_min,r.max=e.DFA7_max,r.accept=e.DFA7_accept,r.special=e.DFA7_special,r.transition=e.DFA7_transition,r}return __extends(e,t),e.initialize=function(){var t=this.DFA7_transitionS.length;e.DFA7_transition=[];for(var r=0;r",e.DFA7_transitionS=["￿\n","￿\n\v￿￿","",""],e.DFA7_eot=n.unpackEncodedString(e.DFA7_eotS),e.DFA7_eof=n.unpackEncodedString(e.DFA7_eofS),e.DFA7_min=n.unpackEncodedStringToUnsignedChars(e.DFA7_minS),e.DFA7_max=n.unpackEncodedStringToUnsignedChars(e.DFA7_maxS),e.DFA7_accept=n.unpackEncodedString(e.DFA7_acceptS),e.DFA7_special=n.unpackEncodedString(e.DFA7_specialS),e}(n);u.initialize();var l=function(t){function e(n){var r=t.call(this)||this;return r.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 );",r.recognizer=n,r.decisionNumber=14,r.eot=e.DFA14_eot,r.eof=e.DFA14_eof,r.min=e.DFA14_min,r.max=e.DFA14_max,r.accept=e.DFA14_accept,r.special=e.DFA14_special,r.transition=e.DFA14_transition,r}return __extends(e,t),e.initialize=function(){var t=e.DFA14_transitionS.length;e.DFA14_transition=[];for(var r=0;r","","\n￿￿￿",""],e.DFA14_eot=n.unpackEncodedString(e.DFA14_eotS),e.DFA14_eof=n.unpackEncodedString(e.DFA14_eofS),e.DFA14_min=n.unpackEncodedStringToUnsignedChars(e.DFA14_minS),e.DFA14_max=n.unpackEncodedStringToUnsignedChars(e.DFA14_maxS),e.DFA14_accept=n.unpackEncodedString(e.DFA14_acceptS),e.DFA14_special=n.unpackEncodedString(e.DFA14_specialS),e}(n);l.initialize()}(n=e.NCalc||(e.NCalc={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Exception,i=t.System.Collections.Dictionary,o=t.System.Collections.List,a=t.Data.Expressions.NCalc.Domain.EvaluationVisitor,s=t.System.Environment,u=t.Data.Expressions.Antlr.Runtime.CommonTokenStream,l=t.Data.Expressions.Antlr.Runtime.ANTLRStringStream,c=t.Data.Expressions.NCalc.NCalcLexer,h=function(){function t(){}return t.prototype.releaseReaderLock=function(){},t.prototype.releaseWriterLock=function(){},t.prototype.acquireReaderLock=function(t){},t.prototype.acquireWriterLock=function(t){},t}();e.ReaderWriterLock=h;var p=function(){function t(t){this.isAlive=!1}return t}();e.WeakReference=p;var f=function(){function t(){this.parameters=new i}return t.create1=function(i,o){if(n.isNullOrEmpty(i))throw new r("Expression can't be empty");null==o&&(o=e.EvaluateOptions.None);var a=new t;return a.originalExpression=i,a.options=o,a},t.create2=function(n,i){if(null==n)throw new r("Expression can't be null");null==i&&(i=e.EvaluateOptions.None);var o=new t;return o.parsedExpression=n,o.options=i,o},Object.defineProperty(t,"cacheEnabled",{get:function(){return t._cacheEnabled},set:function(e){t._cacheEnabled=e,t.cacheEnabled||(t._compiledExpressions=new i)},enumerable:!1,configurable:!0}),t.cleanCache=function(){var e,n,r,i,a=new o;try{t.rwl.acquireWriterLock(this.Timeout.Infinite);try{for(var s=__values(t._compiledExpressions.pairs),u=s.next();!u.done;u=s.next()){var l=u.value;l.value.isAlive||a.add(l.key)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}try{for(var c=__values(a),h=c.next();!h.done;h=c.next()){var p=h.value;t._compiledExpressions.remove(p)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}finally{t.rwl.releaseReaderLock()}},t.compile=function(i,o){var a=null;if(t._cacheEnabled&&!o)try{var h;if(t.rwl.acquireReaderLock(this.Timeout.Infinite),t._compiledExpressions.contains(i))if(t._compiledExpressions.get(i).isAlive&&null!=a)return a}finally{t.rwl.releaseReaderLock()}if(null==a){var f=new c(new l(i)),m=new e.NCalcParser(new u(f));if(a=m.ncalcExpression().value,null!=m.errors&&m.errors.length>0)throw new r(n.join(s.newLine,m.errors));if(t._cacheEnabled&&!o){try{t.rwl.acquireWriterLock(this.Timeout.Infinite),t._compiledExpressions.set(i,new p(a))}finally{t.rwl.releaseWriterLock()}t.cleanCache()}}return a},t.prototype.hasErrors=function(){try{return null==this.parsedExpression&&(this.parsedExpression=t.compile(this.originalExpression,(this.options&e.EvaluateOptions.NoCache)==e.EvaluateOptions.NoCache)),null!=this.parsedExpression&&null!=this.error}catch(t){return this.error=t.message,!0}},t.prototype.evaluate=function(){var n,s,u,l,c,h,p,f,m,d;if(this.hasErrors())throw new e.EvaluationException(this.error);null==this.parsedExpression&&(this.parsedExpression=t.compile(this.originalExpression,(this.options&e.EvaluateOptions.NoCache)==e.EvaluateOptions.NoCache));var y=new a(this.options);if(y.evaluateFunction=this.evaluateFunction,y.evaluateParameter=this.evaluateParameter,y.parameters=this.parameters,(this.options&e.EvaluateOptions.IterateParameters)==e.EvaluateOptions.IterateParameters){var v=-1;this.parametersBackup=new i;try{for(var g=__values(this.parameters.keys),S=g.next();!S.done;S=g.next()){var b=S.value;this.parametersBackup.add(b,this.parameters.get(b))}}catch(t){n={error:t}}finally{try{S&&!S.done&&(s=g.return)&&s.call(g)}finally{if(n)throw n.error}}this.parameterEnumerators=new i;try{for(var x=__values(this.parameters.values),T=x.next();!T.done;T=x.next()){var E;if((E=T.value).stimulsoft.is(o)){var w=0;try{for(var D=(c=void 0,__values(E)),_=D.next();!_.done;_=D.next()){var C=_.value;w++}}catch(t){c={error:t}}finally{try{_&&!_.done&&(h=D.return)&&h.call(D)}finally{if(c)throw c.error}}if(-1==v)v=w;else if(w!=v)throw new r("When IterateParameters option is used, IEnumerable parameters must have the same number of items")}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(l=x.return)&&l.call(x)}finally{if(u)throw u.error}}try{for(var k=__values(this.parameters.keys),N=k.next();!N.done;N=k.next()){var b=N.value,E;null!=(E=this.parameters.get(b).stimulsoft.as(o))&&this.parameterEnumerators.add(b,E.getEnumerator())}}catch(t){p={error:t}}finally{try{N&&!N.done&&(f=k.return)&&f.call(k)}finally{if(p)throw p.error}}for(var I=new o,O=0;O","","","","DATETIME","DIGIT","E","EscapeSequence","FALSE","FLOAT","HexDigit","ID","INTEGER","LETTER","NAME","STRING","TRUE","UnicodeEscape","WS","'!'","'!='","'%'","'&&'","'&'","'('","')'","'*'","'+'","','","'-'","'/'","':'","'<'","'<<'","'<='","'<>'","'='","'=='","'>'","'>='","'>>'","'?'","'^'","'and'","'not'","'or'","'|'","'||'","'~'"],r.EOF=-1,r.DATETIME=4,r.DIGIT=5,r.E=6,r.EscapeSequence=7,r.FALSE=8,r.FLOAT=9,r.HexDigit=10,r.ID=11,r.INTEGER=12,r.LETTER=13,r.NAME=14,r.STRING=15,r.TRUE=16,r.UnicodeEscape=17,r.WS=18,r.T__19=19,r.T__20=20,r.T__21=21,r.T__22=22,r.T__23=23,r.T__24=24,r.T__25=25,r.T__26=26,r.T__27=27,r.T__28=28,r.T__29=29,r.T__30=30,r.T__31=31,r.T__32=32,r.T__33=33,r.T__34=34,r.T__35=35,r.T__36=36,r.T__37=37,r.T__38=38,r.T__39=39,r.T__40=40,r.T__41=41,r.T__42=42,r.T__43=43,r.T__44=44,r.T__45=45,r.T__46=46,r.T__47=47,r.T__48=48,r.grammarFileName="C:\\Work\\Projects\\OSS\\NCalc\\Grammar\\NCalc.g",r.bs="\\";var i={ref:null};return r.createTreeAdaptor(i),r.adaptor=null!=i.ref?i.ref:new f,r.onCreated(),r}return __extends(e,t),e.prototype.createTreeAdaptor=function(t){},e.prototype.extractString=function(t){var e=t,r=1,i=-1;while(-1!=(i=e.indexOf(this.bs,r))){var o=e[i+1];switch(o){case"u":var a=e[i+4]+e[i+5],s=e[i+2]+e[i+3];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 n("Unvalid escape sequence: \\"+o)}r=i+1}return e=(e=e.stimulsoft.remove(0,1)).stimulsoft.remove(e.length-1,1)},e.prototype.displayRecognitionError=function(e,n){t.prototype.displayRecognitionError.call(this,e,n),null==this.errors&&(this.errors=new d);var r=this.getErrorHeader(n),i=this.getErrorMessage(n,e);this.errors.add(i+" at "+r)},e.prototype.onCreated=function(){},e.prototype.enterRule=function(t,e){},e.prototype.leaveRule=function(t,e){},e.prototype.traceIn=function(t,e){},e.prototype.enterRule_ncalcExpression=function(){},e.prototype.leaveRule_ncalcExpression=function(){},e.prototype.ncalcExpression=function(){var t=new b(this),e,n,r,i;t.start=this.input.lt(1);try{try{e=this.adaptor.nil(),this.pushFollow(M._logicalExpression_in_ncalcExpression52),r=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),n=this.match(this.input,this.EOF,M._EOF_in_ncalcExpression54),t.value=null!=r?r.value:{},t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_logicalExpression=function(){},e.prototype.leaveRule_logicalExpression=function(){},e.prototype.logicalExpression=function(){var t=new x(this),e,n,r,i,o,a,u,l;t.start=this.input.lt(1);try{try{e=this.adaptor.nil(),this.pushFollow(M._conditionalExpression_in_logicalExpression74),i=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=null!=i?i.value:{};var c=2;try{try{var h;41==this.input.la(1)&&(c=1)}finally{}switch(c){case 1:n=this.match(this.input,41,M._41_in_logicalExpression80),u=this.adaptor.create(n),this.adaptor.addChild(e,u),this.pushFollow(M._conditionalExpression_in_logicalExpression84),o=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(e,o.tree),r=this.match(this.input,31,M._31_in_logicalExpression86),l=this.adaptor.create(r),this.adaptor.addChild(e,l),this.pushFollow(M._conditionalExpression_in_logicalExpression90),a=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(e,a.tree),t.value=new s(null!=i?i.value:{},null!=o?o.value:{},null!=a?a.value:{});break}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_conditionalExpression=function(){},e.prototype.leaveRule_conditionalExpression=function(){},e.prototype.conditionalExpression=function(){var t=new T(this),e,n,r,i,o;t.start=this.input.lt(1);var s=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._booleanAndExpression_in_conditionalExpression117),r=this.booleanAndExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),t.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c=this.input.la(1);45!=c&&47!=c||(l=1)}finally{}switch(l){case 1:var p;if(n=this.input.lt(1),45!=this.input.la(1)&&47!=this.input.la(1))throw new h(null,null,this.input);this.input.consume(),this.adaptor.addChild(e,this.adaptor.create(n)),this.state.errorRecovery=!1,s=v.Or,this.pushFollow(M._conditionalExpression_in_conditionalExpression142),i=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=new a(s,t.value,null!=i?i.value:{});break;default:u=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_booleanAndExpression=function(){},e.prototype.leaveRule_booleanAndExpression=function(){},e.prototype.booleanAndExpression=function(){var t=new E(this),e,n,r,i,o;t.start=this.input.lt(1);var s=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._bitwiseOrExpression_in_booleanAndExpression176),r=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),t.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c=this.input.la(1);22!=c&&43!=c||(l=1)}finally{}switch(l){case 1:var p;if(n=this.input.lt(1),22!=this.input.la(1)&&43!=this.input.la(1))throw new h(null,null,this.input);this.input.consume(),this.adaptor.addChild(e,this.adaptor.create(n)),this.state.errorRecovery=!1,s=v.And,this.pushFollow(M._bitwiseOrExpression_in_booleanAndExpression201),i=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=new a(s,t.value,null!=i?i.value:{});break;default:u=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_bitwiseOrExpression=function(){},e.prototype.leaveRule_bitwiseOrExpression=function(){},e.prototype.bitwiseOrExpression=function(){var t=new w(this),e,n,r,i,o;t.start=this.input.lt(1);var s=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._bitwiseXOrExpression_in_bitwiseOrExpression233),r=this.bitwiseXOrExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),t.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c;46==this.input.la(1)&&(l=1)}finally{}switch(l){case 1:n=this.match(this.input,46,M._46_in_bitwiseOrExpression242),o=this.adaptor.create(n),this.adaptor.addChild(e,o),s=v.BitwiseOr,this.pushFollow(M._bitwiseOrExpression_in_bitwiseOrExpression252),i=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=new a(s,t.value,null!=i?i.value:{});break;default:u=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_bitwiseXOrExpression=function(){},e.prototype.leaveRule_bitwiseXOrExpression=function(){},e.prototype.bitwiseXOrExpression=function(){var t=new D(this),e,n,r,i,o;t.start=this.input.lt(1);var s=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._bitwiseAndExpression_in_bitwiseXOrExpression286),r=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),t.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c;42==this.input.la(1)&&(l=1)}finally{}switch(l){case 1:n=this.match(this.input,42,M._42_in_bitwiseXOrExpression295),o=this.adaptor.create(n),this.adaptor.addChild(e,o),s=v.BitwiseXOr,this.pushFollow(M._bitwiseAndExpression_in_bitwiseXOrExpression305),i=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=new a(s,t.value,null!=i?i.value:{});break;default:u=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_bitwiseAndExpression=function(){},e.prototype.leaveRule_bitwiseAndExpression=function(){},e.prototype.bitwiseAndExpression=function(){var t=new _(this),e,n,r,i,o;t.start=this.input.lt(1);var s=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._equalityExpression_in_bitwiseAndExpression337),r=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),t.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c;23==this.input.la(1)&&(l=1)}finally{}switch(l){case 1:n=this.match(this.input,23,M._23_in_bitwiseAndExpression346),o=this.adaptor.create(n),this.adaptor.addChild(e,o),s=v.BitwiseAnd,this.pushFollow(M._equalityExpression_in_bitwiseAndExpression356),i=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=new a(s,t.value,null!=i?i.value:{});break;default:u=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_equalityExpression=function(){},e.prototype.leaveRule_equalityExpression=function(){},e.prototype.equalityExpression=function(){var t=new C(this),e,n,r,i,o,s,u;t.start=this.input.lt(1);var l=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._relationalExpression_in_equalityExpression390),i=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=null!=i?i.value:{};try{var p=!1;while(!p){var f=2;try{var m=this.input.la(1);(20==m||m>=35&&m<=37)&&(f=1)}finally{}switch(f){case 1:var d=2;try{try{var y=this.input.la(1);if(y>=36&&y<=37)d=1;else{var g;if(20!=y&&35!=y)throw new c("",null,7,0,this.input,1);d=2}}finally{}switch(d){case 1:var S;if(n=this.input.lt(1),!(this.input.la(1)>=36&&this.input.la(1)<=37))throw S=new h(null,null,this.input);this.input.consume(),this.adaptor.addChild(e,this.adaptor.create(n)),this.state.errorRecovery=!1,l=v.Equal;break;case 2:var S;if(r=this.input.lt(1),20!=this.input.la(1)&&35!=this.input.la(1))throw S=new h(null,null,this.input);this.input.consume(),this.adaptor.addChild(e,this.adaptor.create(r)),this.state.errorRecovery=!1,l=v.NotEqual;break}}finally{}this.pushFollow(M._relationalExpression_in_equalityExpression437),o=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(e,o.tree),t.value=new a(l,t.value,null!=o?o.value:{});break;default:p=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_relationalExpression=function(){},e.prototype.leaveRule_relationalExpression=function(){},e.prototype.relationalExpression=function(){var t=new k(this),e,n,r,i,o,s,u,l,h,p,f;t.start=this.input.lt(1);var m=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._shiftExpression_in_relationalExpression470),s=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(e,s.tree),t.value=null!=s?s.value:{};try{var d=!1;while(!d){var y=2;try{var g=this.input.la(1);(32==g||34==g||g>=38&&g<=39)&&(y=1)}finally{}switch(y){case 1:var S=4;try{try{switch(this.input.la(1)){case 32:S=1;break;case 34:S=2;break;case 38:S=3;break;case 39:S=4;break;default:var b;throw new c("",null,9,0,this.input,1)}}finally{}switch(S){case 1:n=this.match(this.input,32,M._32_in_relationalExpression481),l=this.adaptor.create(n),this.adaptor.addChild(e,l),m=v.Lesser;break;case 2:r=this.match(this.input,34,M._34_in_relationalExpression491),h=this.adaptor.create(r),this.adaptor.addChild(e,h),m=v.LesserOrEqual;break;case 3:i=this.match(this.input,38,M._38_in_relationalExpression502),p=this.adaptor.create(i),this.adaptor.addChild(e,p),m=v.Greater;break;case 4:o=this.match(this.input,39,M._39_in_relationalExpression512),f=this.adaptor.create(o),this.adaptor.addChild(e,f),m=v.GreaterOrEqual;break}}finally{}this.pushFollow(M._shiftExpression_in_relationalExpression524),u=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(e,u.tree),t.value=new a(m,t.value,null!=u?u.value:{});break;default:d=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_shiftExpression=function(){},e.prototype.leaveRule_shiftExpression=function(){},e.prototype.shiftExpression=function(){var t=new N(this),e,n,r,i,o,s,u;t.start=this.input.lt(1);var l=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._additiveExpression_in_shiftExpression556),i=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=null!=i?i.value:{};try{var h=!1;while(!h){var p=2;try{var f=this.input.la(1);33!=f&&40!=f||(p=1)}finally{}switch(p){case 1:var m=2;try{try{var d=this.input.la(1);if(33==d)m=1;else{var y;if(40!=d)throw new c("",null,11,0,this.input,1);m=2}}finally{}switch(m){case 1:n=this.match(this.input,33,M._33_in_shiftExpression567),s=this.adaptor.create(n),this.adaptor.addChild(e,s),l=v.LeftShift;break;case 2:r=this.match(this.input,40,M._40_in_shiftExpression577),u=this.adaptor.create(r),this.adaptor.addChild(e,u),l=v.RightShift;break}}finally{}this.pushFollow(M._additiveExpression_in_shiftExpression589),o=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(e,o.tree),t.value=new a(l,t.value,null!=o?o.value:{});break;default:h=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_additiveExpression=function(){},e.prototype.leaveRule_additiveExpression=function(){},e.prototype.additiveExpression=function(){var t=new I(this),e,n,r,i,o,s,u;t.start=this.input.lt(1);var l=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._multiplicativeExpression_in_additiveExpression621),i=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=null!=i?i.value:{};try{var h=!1;while(!h){var p=2;try{var f=this.input.la(1);27!=f&&29!=f||(p=1)}finally{}switch(p){case 1:var m=2;try{try{var d=this.input.la(1);if(27==d)m=1;else{var y;if(29!=d)throw new c("",null,13,0,this.input,1);m=2}}finally{}switch(m){case 1:n=this.match(this.input,27,M._27_in_additiveExpression632),s=this.adaptor.create(n),this.adaptor.addChild(e,s),l=v.Plus;break;case 2:r=this.match(this.input,29,M._29_in_additiveExpression642),u=this.adaptor.create(r),this.adaptor.addChild(e,u),l=v.Minus;break}}finally{}this.pushFollow(M._multiplicativeExpression_in_additiveExpression654),o=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(e,o.tree),t.value=new a(l,t.value,null!=o?o.value:{});break;default:h=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_multiplicativeExpression=function(){},e.prototype.leaveRule_multiplicativeExpression=function(){},e.prototype.multiplicativeExpression=function(){var t=new O(this),e,n,r,i,o,s,u,l,h;t.start=this.input.lt(1);var p=v.Unknown;try{try{e=this.adaptor.nil(),this.pushFollow(M._unaryExpression_in_multiplicativeExpression686),o=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(e,o.tree),t.value=null!=o?o.value:{};try{var f=!1;while(!f){var m=2;try{var d=this.input.la(1);21!=d&&26!=d&&30!=d||(m=1)}finally{}switch(m){case 1:var y=3;try{try{switch(this.input.la(1)){case 26:y=1;break;case 30:y=2;break;case 21:y=3;break;default:var g;throw new c("",null,15,0,this.input,1)}}finally{}switch(y){case 1:n=this.match(this.input,26,M._26_in_multiplicativeExpression697),u=this.adaptor.create(n),this.adaptor.addChild(e,u),p=v.Times;break;case 2:r=this.match(this.input,30,M._30_in_multiplicativeExpression707),l=this.adaptor.create(r),this.adaptor.addChild(e,l),p=v.Div;break;case 3:i=this.match(this.input,21,M._21_in_multiplicativeExpression717),h=this.adaptor.create(i),this.adaptor.addChild(e,h),p=v.Modulo;break}}finally{}this.pushFollow(M._unaryExpression_in_multiplicativeExpression729),s=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(e,s.tree),t.value=new a(p,t.value,null!=s?s.value:{});break;default:f=!0}}}finally{}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_unaryExpression=function(){},e.prototype.leaveRule_unaryExpression=function(){},e.prototype.unaryExpression=function(){var t=new A(this),e,n,r,a,s,u,l,p,f,m,d;t.start=this.input.lt(1);try{try{var y=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:y=1;break;case 19:case 44:y=2;break;case 48:y=3;break;case 29:y=4;break;default:var v;throw new c("",null,17,0,this.input,1)}}finally{}switch(y){case 1:e=this.adaptor.nil(),this.pushFollow(M._primaryExpression_in_unaryExpression756),s=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(e,s.tree),t.value=null!=s?s.value:{};break;case 2:var g;if(e=this.adaptor.nil(),n=this.input.lt(1),19!=this.input.la(1)&&44!=this.input.la(1))throw new h(null,null,this.input);this.input.consume(),this.adaptor.addChild(e,this.adaptor.create(n)),this.state.errorRecovery=!1,this.pushFollow(M._primaryExpression_in_unaryExpression775),u=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(e,u.tree),t.value=new o(i.Not,null!=u?u.value:{});break;case 3:e=this.adaptor.nil(),r=this.match(this.input,48,M._48_in_unaryExpression787),m=this.adaptor.create(r),this.adaptor.addChild(e,m),this.pushFollow(M._primaryExpression_in_unaryExpression790),l=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(e,l.tree),t.value=new o(i.BitwiseNot,null!=l?l.value:{});break;case 4:e=this.adaptor.nil(),a=this.match(this.input,29,M._29_in_unaryExpression801),d=this.adaptor.create(a),this.adaptor.addChild(e,d),this.pushFollow(M._primaryExpression_in_unaryExpression803),p=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(e,p.tree),t.value=new o(i.Negate,null!=p?p.value:{});break}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_primaryExpression=function(){},e.prototype.leaveRule_primaryExpression=function(){},e.prototype.primaryExpression=function(){var t=new F(this),e,n,i,o,a,s,u,l,h;t.start=this.input.lt(1);try{try{var p=3;try{switch(this.input.la(1)){case 24:p=1;break;case this.DATETIME:case this.FALSE:case this.FLOAT:case this.INTEGER:case this.STRING:case this.TRUE:p=2;break;case this.ID:case this.NAME:p=3;break;default:var f;throw new c("",null,19,0,this.input,1)}}finally{}switch(p){case 1:e=this.adaptor.nil(),n=this.match(this.input,24,M._24_in_primaryExpression825),l=this.adaptor.create(n),this.adaptor.addChild(e,l),this.pushFollow(M._logicalExpression_in_primaryExpression827),a=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(e,a.tree),i=this.match(this.input,25,M._25_in_primaryExpression829),h=this.adaptor.create(i),this.adaptor.addChild(e,h),t.value=null!=a?a.value:{};break;case 2:e=this.adaptor.nil(),this.pushFollow(M._value_in_primaryExpression839),o=this.value(),this.popFollow(),this.adaptor.addChild(e,o.tree),t.value=null!=o?o.value:{};break;case 3:e=this.adaptor.nil(),this.pushFollow(M._identifier_in_primaryExpression847),s=this.identifier(),this.popFollow(),this.adaptor.addChild(e,s.tree),t.value=null!=s?s.value:{};var m=2;try{try{var d;24==this.input.la(1)&&(m=1)}finally{}switch(m){case 1:this.pushFollow(M._arguments_in_primaryExpression852),u=this.arguments(),this.popFollow(),this.adaptor.addChild(e,u.tree),t.value=new r(null!=s?s.value:{},(null!=u?u.value:{}).stimulsoft.toArray());break}}finally{}break}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_value=function(){},e.prototype.leaveRule_value=function(){},e.prototype.value=function(){var t=new L(this),e,n,r,i,o,a,s,l,h,p,f,m,d;t.start=this.input.lt(1);try{try{var y=6;try{switch(this.input.la(1)){case this.INTEGER:y=1;break;case this.FLOAT:y=2;break;case this.STRING:y=3;break;case this.DATETIME:y=4;break;case this.TRUE:y=5;break;case this.FALSE:y=6;break;default:var v;throw new c("",null,20,0,this.input,1)}}finally{}switch(y){case 1:e=this.adaptor.nil(),n=this.match(this.input,this.INTEGER,M._INTEGER_in_value872),l=this.adaptor.create(n),this.adaptor.addChild(e,l);try{t.value=new u(null!=n?n.text.stimulsoft.toNumber():0)}catch(t){}break;case 2:e=this.adaptor.nil(),r=this.match(this.input,this.FLOAT,M._FLOAT_in_value880),h=this.adaptor.create(r),this.adaptor.addChild(e,h),t.value=new u(null!=r?r.text.stimulsoft.toNumber():0);break;case 3:e=this.adaptor.nil(),i=this.match(this.input,this.STRING,M._STRING_in_value888),p=this.adaptor.create(i),this.adaptor.addChild(e,p),t.value=new u(this.extractString(null!=i?i.text:{}));break;case 4:e=this.adaptor.nil(),o=this.match(this.input,this.DATETIME,M._DATETIME_in_value897),f=this.adaptor.create(o),this.adaptor.addChild(e,f),t.value=new u(g.fromString((null!=o?o.text:{}).substring(1,(null!=o?o.text:{}).length-2)));break;case 5:e=this.adaptor.nil(),a=this.match(this.input,this.TRUE,M._TRUE_in_value904),m=this.adaptor.create(a),this.adaptor.addChild(e,m),t.value=new u(!0);break;case 6:e=this.adaptor.nil(),s=this.match(this.input,this.FALSE,M._FALSE_in_value912),d=this.adaptor.create(s),this.adaptor.addChild(e,d),t.value=new u(!1);break}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_identifier=function(){},e.prototype.leaveRule_identifier=function(){},e.prototype.identifier=function(){var t=new R(this),e,n,r,i,o;t.start=this.input.lt(1);try{try{var a=2;try{var s=this.input.la(1);if(s==this.ID)a=1;else{var u;if(s!=this.NAME)throw new c("",null,21,0,this.input,1);a=2}}finally{}switch(a){case 1:e=this.adaptor.nil(),n=this.match(this.input,this.ID,M._ID_in_identifier930),i=this.adaptor.create(n),this.adaptor.addChild(e,i),t.value=new l(null!=n?n.text:{});break;case 2:e=this.adaptor.nil(),r=this.match(this.input,this.NAME,M._NAME_in_identifier938),o=this.adaptor.create(r),this.adaptor.addChild(e,o),t.value=new l((null!=r?r.text:{}).substr(1,(null!=r?r.text:{}).length-2));break}t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_expressionList=function(){},e.prototype.leaveRule_expressionList=function(){},e.prototype.expressionList=function(){var t=new B(this),e,n,r,i,o;t.start=this.input.lt(1);var a=new d;try{try{e=this.adaptor.nil(),this.pushFollow(M._logicalExpression_in_expressionList962),r=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(e,r.tree),a.add(null!=r?r.value:{});try{var s=!1;while(!s){var u=2;try{var l;28==this.input.la(1)&&(u=1)}finally{}switch(u){case 1:n=this.match(this.input,28,M._28_in_expressionList969),o=this.adaptor.create(n),this.adaptor.addChild(e,o),this.pushFollow(M._logicalExpression_in_expressionList973),i=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(e,i.tree),a.add(null!=i?i.value:{});break;default:s=!0}}}finally{}t.value=a,t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e.prototype.enterRule_arguments=function(){},e.prototype.leaveRule_arguments=function(){},e.prototype.arguments=function(){var t=new P(this),e,n,r,i,o,a;t.start=this.input.lt(1),t.value=new d;try{try{e=this.adaptor.nil(),n=this.match(this.input,24,M._24_in_arguments1002),o=this.adaptor.create(n),this.adaptor.addChild(e,o);var s=2;try{try{var u=this.input.la(1);(u==this.DATETIME||u>=this.FALSE&&u<=this.FLOAT||u>=this.ID&&u<=this.INTEGER||u>=this.NAME&&u<=this.TRUE||19==u||24==u||29==u||44==u||48==u)&&(s=1)}finally{}switch(s){case 1:this.pushFollow(M._expressionList_in_arguments1006),i=this.expressionList(),this.popFollow(),this.adaptor.addChild(e,i.tree),t.value=null!=i?i.value:{};break}}finally{}r=this.match(this.input,25,M._25_in_arguments1013),a=this.adaptor.create(r),this.adaptor.addChild(e,a),t.stop=this.input.lt(-1),t.tree=this.adaptor.rulePostProcessing(e),this.adaptor.setTokenBoundaries(t.tree,t.start,t.stop)}catch(e){this.reportError(e),this.recover(this.input,e),t.tree=this.adaptor.errorNode(this.input,t.start,this.input.lt(-1),e)}}finally{}return t},e}(m);e.NCalcParser=S;var b=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),x=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),T=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),E=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),w=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),D=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),_=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),C=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),k=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),N=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),I=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),O=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),A=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),F=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),L=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),R=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),B=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),P=function(t){function e(e){var n=t.call(this)||this;return n.onCreated(e),n}return __extends(e,t),e.prototype.onCreated=function(t){},e}(y),M=function(){function t(){}return t._logicalExpression_in_ncalcExpression52=p.create([0]),t._EOF_in_ncalcExpression54=p.create([2]),t._conditionalExpression_in_logicalExpression74=p.create([2199023255554]),t._41_in_logicalExpression80=p.create([299067717049104]),t._conditionalExpression_in_logicalExpression84=p.create([2147483648]),t._31_in_logicalExpression86=p.create([299067717049104]),t._conditionalExpression_in_logicalExpression90=p.create([2]),t._booleanAndExpression_in_conditionalExpression117=p.create([0xa00000000002]),t._set_in_conditionalExpression126=p.create([299067717049104]),t._conditionalExpression_in_conditionalExpression142=p.create([0xa00000000002]),t._bitwiseOrExpression_in_booleanAndExpression176=p.create([8796097216514]),t._set_in_booleanAndExpression185=p.create([299067717049104]),t._bitwiseOrExpression_in_booleanAndExpression201=p.create([8796097216514]),t._bitwiseXOrExpression_in_bitwiseOrExpression233=p.create([70368744177666]),t._46_in_bitwiseOrExpression242=p.create([299067717049104]),t._bitwiseOrExpression_in_bitwiseOrExpression252=p.create([70368744177666]),t._bitwiseAndExpression_in_bitwiseXOrExpression286=p.create([4398046511106]),t._42_in_bitwiseXOrExpression295=p.create([299067717049104]),t._bitwiseAndExpression_in_bitwiseXOrExpression305=p.create([4398046511106]),t._equalityExpression_in_bitwiseAndExpression337=p.create([8388610]),t._23_in_bitwiseAndExpression346=p.create([299067717049104]),t._equalityExpression_in_bitwiseAndExpression356=p.create([8388610]),t._relationalExpression_in_equalityExpression390=p.create([240519217154]),t._set_in_equalityExpression401=p.create([299067717049104]),t._set_in_equalityExpression418=p.create([299067717049104]),t._relationalExpression_in_equalityExpression437=p.create([240519217154]),t._shiftExpression_in_relationalExpression470=p.create([846108557314]),t._32_in_relationalExpression481=p.create([299067717049104]),t._34_in_relationalExpression491=p.create([299067717049104]),t._38_in_relationalExpression502=p.create([299067717049104]),t._39_in_relationalExpression512=p.create([299067717049104]),t._shiftExpression_in_relationalExpression524=p.create([846108557314]),t._additiveExpression_in_shiftExpression556=p.create([1108101562370]),t._33_in_shiftExpression567=p.create([299067717049104]),t._40_in_shiftExpression577=p.create([299067717049104]),t._additiveExpression_in_shiftExpression589=p.create([1108101562370]),t._multiplicativeExpression_in_additiveExpression621=p.create([671088642]),t._27_in_additiveExpression632=p.create([299067717049104]),t._29_in_additiveExpression642=p.create([299067717049104]),t._multiplicativeExpression_in_additiveExpression654=p.create([671088642]),t._unaryExpression_in_multiplicativeExpression686=p.create([1142947842]),t._26_in_multiplicativeExpression697=p.create([299067717049104]),t._30_in_multiplicativeExpression707=p.create([299067717049104]),t._21_in_multiplicativeExpression717=p.create([299067717049104]),t._unaryExpression_in_multiplicativeExpression729=p.create([1142947842]),t._primaryExpression_in_unaryExpression756=p.create([2]),t._set_in_unaryExpression767=p.create([16898832]),t._primaryExpression_in_unaryExpression775=p.create([2]),t._48_in_unaryExpression787=p.create([16898832]),t._primaryExpression_in_unaryExpression790=p.create([2]),t._29_in_unaryExpression801=p.create([16898832]),t._primaryExpression_in_unaryExpression803=p.create([2]),t._24_in_primaryExpression825=p.create([299067717049104]),t._logicalExpression_in_primaryExpression827=p.create([33554432]),t._25_in_primaryExpression829=p.create([2]),t._value_in_primaryExpression839=p.create([2]),t._identifier_in_primaryExpression847=p.create([16777218]),t._arguments_in_primaryExpression852=p.create([2]),t._INTEGER_in_value872=p.create([2]),t._FLOAT_in_value880=p.create([2]),t._STRING_in_value888=p.create([2]),t._DATETIME_in_value897=p.create([2]),t._TRUE_in_value904=p.create([2]),t._FALSE_in_value912=p.create([2]),t._ID_in_identifier930=p.create([2]),t._NAME_in_identifier938=p.create([2]),t._logicalExpression_in_expressionList962=p.create([268435458]),t._28_in_expressionList969=p.create([299067717049104]),t._logicalExpression_in_expressionList973=p.create([268435458]),t._24_in_arguments1002=p.create([299067750603536]),t._expressionList_in_arguments1006=p.create([33554432]),t._25_in_arguments1013=p.create([2]),t}()}(n=e.NCalc||(e.NCalc={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n=t.System.StiNumber,r=t.System.Exception,i=t.System.Collections.List,o=t.System.Convert,a=t.System.TypeCode,s=t.System.Type,u=t.Base.Helpers.StiValueHelper,l=function(){function t(){}return t.convertIfString=function(t){if(null!=t&&t.stimulsoft.is(String)){var e=n.tryParse(t);if(e.successfully)return e.result}return t},t.add=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft.is(i)||null!=e&&e.stimulsoft.is(i))return i.add2(t,e);var n=s.getTypeCode(t),l=s.getTypeCode(e);switch(n){case a.Boolean:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'bool'");case a.Byte:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.SByte:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Int16:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.UInt16:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Int32:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.UInt32:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Int64:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.UInt64:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Single:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Double:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case a.Decimal:throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'")}break;case a.Byte:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'byte' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.SByte:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'sbyte' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+u.tryToNumber(e);case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.Int16:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'short' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+u.tryToNumber(e);case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.UInt16:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'ushort' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.Int32:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'int' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+u.tryToNumber(e);case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.UInt32:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'unit' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.Int64:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'long' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+u.tryToNumber(e);case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.UInt64:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'ulong' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+u.tryToNumber(e);case a.Int16:return t+u.tryToNumber(e);case a.UInt16:return t+e;case a.Int32:return t+u.tryToNumber(e);case a.UInt32:return t+e;case a.Int64:return t+u.tryToNumber(e);case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return t+e}break;case a.Single:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'float' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return o.toNumber(t)+e}break;case a.Double:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'double' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+e;case a.Double:return t+e;case a.Decimal:return o.toNumber(t)+e}break;case a.Decimal:switch(l){case a.Boolean:throw new r("Operator '+' can't be applied to operands of types 'decimal' and 'bool'");case a.Byte:return t+e;case a.SByte:return t+e;case a.Int16:return t+e;case a.UInt16:return t+e;case a.Int32:return t+e;case a.UInt32:return t+e;case a.Int64:return t+e;case a.UInt64:return t+e;case a.Single:return t+o.toNumber(e);case a.Double:return t+o.toNumber(e);case a.Decimal:return t+e}break}return null},t.soustract=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft.is(i)||null!=e&&e.stimulsoft.is(i))return i.sub(t,e);var n=s.getTypeCode(t),o=s.getTypeCode(e);switch(n){case a.Boolean:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'bool'");case a.Byte:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.SByte:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Int16:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.UInt16:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Int32:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.UInt32:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Int64:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.UInt64:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Single:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Double:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case a.Decimal:throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'")}break;case a.Byte:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'byte' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.SByte:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'sbyte' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-u.tryToNumber(e);case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.Int16:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'short' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-u.tryToNumber(e);case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.UInt16:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'ushort' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.Int32:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'int' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-u.tryToNumber(e);case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.UInt32:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'uint' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.Int64:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'long' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-u.tryToNumber(e);case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.UInt64:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case a.SByte:return t-u.tryToNumber(e);case a.Int16:return t-u.tryToNumber(e);case a.UInt16:return t-e;case a.Int32:return t-u.tryToNumber(e);case a.UInt32:return t-e;case a.Int64:return t-u.tryToNumber(e);case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-e}break;case a.Single:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'float' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-u.tryToNumber(e)}break;case a.Double:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'double' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-e;case a.Double:return t-e;case a.Decimal:return t-u.tryToNumber(e)}break;case a.Decimal:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'decimal' and 'bool'");case a.SByte:return t-e;case a.Int16:return t-e;case a.UInt16:return t-e;case a.Int32:return t-e;case a.UInt32:return t-e;case a.Int64:return t-e;case a.UInt64:return t-e;case a.Single:return t-u.tryToNumber(e);case a.Double:return t-u.tryToNumber(e);case a.Decimal:return t-e}break}return null},t.multiply=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),Array.isArray(t)||Array.isArray(e))return i.mult(t,e);var n=s.getTypeCode(t),o=s.getTypeCode(e);switch(n){case a.Byte:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'byte' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.SByte:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'sbyte' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.Int16:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'short' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.UInt16:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'ushort' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.Int32:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'int' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.UInt32:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'uint' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.Int64:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'long' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.UInt64:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'ulong' and 'bool'");case a.SByte:return t*u.tryToNumber(e);case a.Int16:return t*u.tryToNumber(e);case a.UInt16:return t*e;case a.Int32:return t*u.tryToNumber(e);case a.UInt32:return t*e;case a.Int64:return t*u.tryToNumber(e);case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*e}break;case a.Single:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'float' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*u.tryToNumber(e)}break;case a.Double:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'double' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*e;case a.Double:return t*e;case a.Decimal:return t*u.tryToNumber(e)}break;case a.Decimal:switch(o){case a.Boolean:throw new r("Operator '*' can't be applied to operands of types 'decimal' and 'bool'");case a.SByte:return t*e;case a.Int16:return t*e;case a.UInt16:return t*e;case a.Int32:return t*e;case a.UInt32:return t*e;case a.Int64:return t*e;case a.UInt64:return t*e;case a.Single:return t*u.tryToNumber(e);case a.Double:return t*u.tryToNumber(e);case a.Decimal:return t*e}break}return null},t.divide=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),Array.isArray(t)||Array.isArray(e))return i.div(t,e);if(u.isZero(e))return null;var n=s.getTypeCode(t),o=s.getTypeCode(e);switch(n){case a.Byte:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'byte' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.SByte:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'sbyte' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.Int16:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'short' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.UInt16:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'ushort' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.Int32:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'int' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.UInt32:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'uint' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.Int64:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'long' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t*u.tryToNumber(e);case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.UInt64:switch(o){case a.Boolean:throw new r("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case a.SByte:return t*u.tryToNumber(e);case a.Int16:return t*u.tryToNumber(e);case a.UInt16:return t/e;case a.Int32:return t*u.tryToNumber(e);case a.UInt32:return t/e;case a.Int64:return t*u.tryToNumber(e);case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t/e}break;case a.Single:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'float' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t*u.tryToNumber(e)}break;case a.Double:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'double' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t/e;case a.Double:return t/e;case a.Decimal:return t*u.tryToNumber(e)}break;case a.Decimal:switch(o){case a.Boolean:throw new r("Operator '/' can't be applied to operands of types 'decimal' and 'bool'");case a.SByte:return t/e;case a.Int16:return t/e;case a.UInt16:return t/e;case a.Int32:return t/e;case a.UInt32:return t/e;case a.Int64:return t/e;case a.UInt64:return t/e;case a.Single:return t*u.tryToNumber(e);case a.Double:return t*u.tryToNumber(e);case a.Decimal:return t/e}break}return null},t.modulo=function(t,e){t=this.convertIfString(t),e=this.convertIfString(e);var n=s.getTypeCode(t),i=s.getTypeCode(e);switch(n){case a.Byte:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'byte' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.SByte:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'sbyte' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%u.tryToNumber(e);case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.Int16:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'short' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%u.tryToNumber(e);case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.UInt16:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'ushort' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.Int32:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'int' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%u.tryToNumber(e);case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.UInt32:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'uint' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.Int64:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'long' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%u.tryToNumber(e);case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.UInt64:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'ulong' and 'bool'");case a.SByte:return t%u.tryToNumber(e);case a.Int16:return t%u.tryToNumber(e);case a.UInt16:return t%e;case a.Int32:return t%u.tryToNumber(e);case a.UInt32:return t%e;case a.Int64:return t%u.tryToNumber(e);case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%e}break;case a.Single:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'float' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%u.tryToNumber(e)}break;case a.Double:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'double' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%e;case a.Double:return t%e;case a.Decimal:return t%u.tryToNumber(e)}break;case a.Decimal:switch(i){case a.Boolean:throw new r("Operator '%' can't be applied to operands of types 'decimal' and 'bool'");case a.SByte:return t%e;case a.Int16:return t%e;case a.UInt16:return t%e;case a.Int32:return t%e;case a.UInt32:return t%e;case a.Int64:return t%e;case a.UInt64:return t%e;case a.Single:return t%u.tryToNumber(e);case a.Double:return t%u.tryToNumber(e);case a.Decimal:return t%e}break}return null},t.max=function(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 n;switch(s.getTypeCode(t)){case a.Byte:return Math.max(t,o.toNumber(e));case a.SByte:return Math.max(t,o.toNumber(e));case a.Int16:return Math.max(t,o.toNumber(e));case a.UInt16:return Math.max(t,o.toNumber(e));case a.Int32:return Math.max(t,o.toNumber(e));case a.UInt32:return Math.max(t,o.toNumber(e));case a.Int64:return Math.max(t,o.toNumber(e));case a.UInt64:return Math.max(t,o.toNumber(e));case a.Single:return Math.max(t,o.toNumber(e));case a.Double:return Math.max(t,o.toNumber(e));case a.Decimal:return Math.max(t,o.toNumber(e))}return null},t.min=function(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 n;switch(s.getTypeCode(t)){case a.Byte:return Math.min(t,o.toNumber(e));case a.SByte:return Math.min(t,o.toNumber(e));case a.Int16:return Math.min(t,o.toNumber(e));case a.UInt16:return Math.min(t,o.toNumber(e));case a.Int32:return Math.min(t,o.toNumber(e));case a.UInt32:return Math.min(t,o.toNumber(e));case a.Int64:return Math.min(t,o.toNumber(e));case a.UInt64:return Math.min(t,o.toNumber(e));case a.Single:return Math.min(t,o.toNumber(e));case a.Double:return Math.min(t,o.toNumber(e));case a.Decimal:return Math.min(t,o.toNumber(e))}return null},t}();e.Numbers=l}(n=e.NCalc||(e.NCalc={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n;!function(e){var n,r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"result",{get:function(){return this._result},set:function(t){this._result=t,this.hasResult=!0},enumerable:!1,configurable:!0}),e}(t.System.EventArgs);e.ParameterArgs=r}(n=e.NCalc||(e.NCalc={}))}(n=e.Expressions||(e.Expressions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.System.Char,i=function(){function t(){}return t.getSize=function(t){var e=["B","KB","MB","GB"],n=0;while(t>=1024&&++n0&&!r.isUpper(e[0])&&e.stimulsoft.insert(0,e[0].toUpperCase()[0],1),e},t}();e.StiHumanReadableHelper=i}(n=e.Helpers||(e.Helpers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=function(){function t(){}return t.isMoneyName=function(t){return!n.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"))},t}();e.StiMoneyNameHelper=r}(n=e.Helpers||(e.Helpers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Helpers.StiMoneyNameHelper,r=t.Data.Helpers.StiHumanReadableHelper,i=t.System.Type,o=function(){function t(){}return t.isNumericType=function(t){return null!=t&&null!=t.dataType&&i.isNumericType(t.dataType)},t.isDateType=function(t){return null!=t&&null!=t.dataType&&i.isDateType(t.dataType)},t.isIntegerType=function(t){return null!=t&&null!=t.dataType&&i.isIntegerType(t.dataType)},t.isMoneyName=function(t){return n.isMoneyName(t.columnName)},t.getHumanReadableName=function(t){return r.getHumanReadableName(t.columnName)},t}();e.DataColumnExt=o}(n=e.Extensions||(e.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.DataTimeExt=e}(e=t.Extensions||(t.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.EnumerableRowCollectionExt=e}(e=t.Extensions||(t.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Base.Helpers.StiValueHelper,r=t.System.Collections.List,i=t.Base.Helpers.StiValueComparer;r.prototype.whereEqualsTo=function(t,e){return this.where((function(n){return i.equalValues(t,e)}))},r.prototype.whereArrayItemEqualsTo=function(t,e){return-1==t?this:this.where((function(n){return i.equalValues(n[t],e)}))},r.prototype.whereArrayItemStringEqualsTo=function(t,e){return-1==t?this:this.where((function(n){return i.equalValues(r.toString2(n[t]),e)}))},r.prototype.whereFirstOrDefaultArrayItemStringEqualsTo=function(t,e){return-1==t?this.firstOrDefault():this.firstOrDefault((function(n){return i.equalValues(r.toString2(n[t]),e)}))},r.toString2=function(t){return null==t?"":t.toString()},r.prototype.getArrayItem=function(t){return this.select((function(e){return e[t]}))},r.prototype.tryCastValueOrFirstDefaultToNullableNumber=function(){return this.select((function(t){return n.tryToNullableNumber(e.ListExt.getValueOrFirstOrDefault(t))}))},r.prototype.tryCastToNullableNumber=function(){return this.select((function(t){return n.tryToNullableNumber(t)}))},r.prototype.tryCastToNumber=function(){return this.select((function(t){return n.tryToNumber(t)}))},r.prototype.tryCastToBool=function(){return this.select((function(t){return n.tryToBool(t)}))},r.prototype.tryCastToDateTime=function(){return this.select((function(t){return n.tryToDateTime(t)}))},r.prototype.tryCastToNullableDateTime=function(){return this.select((function(t){return n.tryToNullableDateTime(t)}))},r.prototype.tryCastToNullableTimeSpan=function(){return this.select((function(t){return n.tryToNullableTimeSpan(t)}))},r.prototype.tryCastToString=function(){return this.select((function(t){return n.tryToString(t)}))},r.prototype.firstOrDefaultAsNullableNumber=function(){return n.tryToNullableNumber(e.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},r.prototype.firstOrDefaultAsNumber=function(){return n.tryToNumber(e.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},r.getValueOrFirstOrDefault=function(t){return e.ListExt.isList(t)?e.ListExt.toList(t).firstOrDefault():t},r.add2=function(t,e){var i=null!=t?t.stimulsoft.as(r):null,o=null!=e?e.stimulsoft.as(r):null;if(null==i&&null==o)return null;if(null!=i&&null!=o)return i.zip(o,(function(t,e){return n.tryToNumber(t)+n.tryToNumber(e)})).cast();if(null!=i){var a=n.tryToNumber(e);return i.select((function(t){return n.tryToNumber(t)+a})).cast()}var s=n.tryToNumber(t);return o.select((function(t){return n.tryToNumber(t)+s})).cast()},r.sub=function(t,e){var i=t.stimulsoft.as(r),o=e.stimulsoft.as(r);if(null==i&&null==o)return null;if(null!=i&&null!=o)return i.zip(o,(function(t,e){return n.tryToNumber(t)-n.tryToNumber(e)})).cast();if(null!=i){var a=n.tryToNumber(e);return i.select((function(t){return n.tryToNumber(t)-a})).cast()}var s=n.tryToNumber(t);return o.select((function(t){return n.tryToNumber(t)-s})).cast()},r.mult=function(t,e){var i=t.stimulsoft.as(r),o=e.stimulsoft.as(r);if(null==i&&null==o)return null;if(null!=i&&null!=o)return i.zip(o,(function(t,e){return n.tryToNumber(t)*n.tryToNumber(e)})).cast();if(null!=i){var a=n.tryToNumber(e);return i.select((function(t){return n.tryToNumber(t)*a})).cast()}var s=n.tryToNumber(t);return o.select((function(t){return n.tryToNumber(t)*s})).cast()},r.bitwiseAnd=function(t,i){var o=t.stimulsoft.as(r),a=i.stimulsoft.as(r);if(null==o&&null==a)return null;if(null!=o&&null!=a){var s=o.zip(a,(function(t,e){return n.tryToNumber(t)&n.tryToNumber(e)})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}if(null!=o){var u=n.tryToNumber(i),s=o.select((function(t){return n.tryToNumber(t)&u})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}var l=n.tryToNumber(t),c=a.select((function(t){return n.tryToNumber(t)&l})).cast();return e.ListExt.isBoolList(a)?c.tryCastToNumber().select((function(t){return 1==t})).cast():c},r.bitwiseXOr=function(t,i){var o=t.stimulsoft.as(r),a=i.stimulsoft.as(r);if(null==o&&null==a)return null;if(null!=o&&null!=a){var s=o.zip(a,(function(t,e){return n.tryToNumber(t)^n.tryToNumber(e)})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}if(null!=o){var u=n.tryToNumber(i),s=o.select((function(t){return n.tryToNumber(t)^u})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}var l=n.tryToNumber(t),c=a.select((function(t){return n.tryToNumber(t)^l})).cast();return e.ListExt.isBoolList(a)?c.tryCastToNumber().select((function(t){return 1==t})).cast():c},r.bitwiseOr=function(t,i){var o=t.stimulsoft.as(r),a=i.stimulsoft.as(r);if(null==o&&null==a)return null;if(null!=o&&null!=a){var s=o.zip(a,(function(t,e){return n.tryToNumber(t)|n.tryToNumber(e)})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}if(null!=o){var u=n.tryToNumber(i),s=o.select((function(t){return n.tryToNumber(t)|u})).cast();return e.ListExt.isBoolList(o)?s.tryCastToNumber().select((function(t){return 1==t})).cast():s}var l=n.tryToNumber(t),c=a.select((function(t){return n.tryToNumber(t)|l})).cast();return e.ListExt.isBoolList(a)?c.tryCastToNumber().select((function(t){return 1==t})).cast():c},r.div=function(t,e){var i=t.stimulsoft.as(r),o=e.stimulsoft.as(r);if(null==i&&null==o)return null;if(null!=i&&null!=o)return i.zip(o,(function(t,e){return 0!=n.tryToNumber(e)?n.tryToNumber(t)/n.tryToNumber(e):0})).cast();if(null!=i){var a=n.tryToNumber(e);return i.select((function(t){return 0!=a?n.tryToNumber(t)/a:0})).cast()}var s=n.tryToNumber(t);return o.select((function(t){return 0!=s?n.tryToNumber(t)/s:0})).cast()}}(n=e.Extensions||(e.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.StiString,r=t.Base.Meters.IStiLocalizedMeter,i=t.System.Collections.Dictionary,o=t.System.Char,a=function(){function a(){}return a.getLabel=function(i){if(null==i)return"Unknown";if(!n.isNullOrEmpty(i.label))return i.label;var a=i.stimulsoft.is(r)&&i.stimulsoft.as(r).localizedName;try{if(!n.isNullOrWhiteSpace(i.expression)&&this.cache.contains(i.expression))return this.cache.get(i.expression);var s=e.StiExpressionHelper.getFirstArgumentFromExpression(i.expression);return null==s&&(s=e.StiExpressionHelper.getFunction(i.expression)),null==s&&null!=a&&(s=a),s.stimulsoft.contains(".")&&(s=s.split(".").stimulsoft.toList().lastOrDefault()),s.length>0&&o.isUpper(s[0])||(s=t.Data.Functions.Funcs.toProperCase(s)),n.isNullOrWhiteSpace(i.expression)||this.cache.add(i.expression,s),s}catch(t){return n.isNullOrWhiteSpace(i.expression)||this.cache.add(i.expression,a),a}},a.cache=new i,a}();e.StiLabelHelper=a}(n=e.Helpers||(e.Helpers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Helpers.StiLabelHelper,r=t.System.Type,i=t.System.Data.DataTable,o=t.System.Data.DataColumn,a=function(){function t(){}return t.toNetTable=function(t,r,a){var s=this;void 0===a&&(a=!1);var u=new i,l=t,c=0;return r.forEach((function(t){var r=s.findType(l,c),i=new o(e.DataTableExt.getUniqueName2(u,t,n.getLabel(t)),r);u.columns.add(i),c++})),a||t.forEach((function(t){return s.loadDataRow(u,t)})),u},t.loadDataRow=function(t,e){try{t.loadDataRow(e,!0)}catch(i){for(var n=t.newRow(),r=0;r1)return Object;return n.firstOrDefault()},t}();e.ListTableExt=a}(n=e.Extensions||(e.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Base.Meters.IStiDimensionMeter,r=function(){function t(){}return t.indexOf=function(t,e){return null!=e?t.toList().indexOf(e):-1},t.getDimensions=function(t){return t&&t.where((function(t){return t.stimulsoft.is(n)})).cast()},t}();e.StiMeterExt=r}(n=e.Extensions||(e.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.TOuterExt=e}(e=t.Extensions||(t.Extensions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.Collections.List,r=t.System.Collections.Hashtable,i=t.System.DayOfWeek,o=t.System.Globalization.CultureInfo,a=t.Base.Localization.StiLocalization,s=function(){function t(){}return t.dayOfWeek=function(t){return o.currentCulture.dateTimeFormat.dayNames[t.dayOfWeek]},t.dayOfWeek2=function(e,n){if(!n)return t.dayOfWeek(e);switch(e.dayOfWeek){case i.Sunday:return a.get("A_WebViewer","DaySunday");case i.Monday:return a.get("A_WebViewer","DayMonday");case i.Tuesday:return a.get("A_WebViewer","DayTuesday");case i.Wednesday:return a.get("A_WebViewer","DayWednesday");case i.Thursday:return a.get("A_WebViewer","DayThursday");case i.Friday:return a.get("A_WebViewer","DayFriday");case i.Saturday:return a.get("A_WebViewer","DaySaturday")}return t.dayOfWeek(e)},t.dayOfWeek3=function(e,n){var r="";try{var i;r=o.cultures[n].dateTimeFormat.dayNames[e.dayOfWeek]}catch(i){var a=e.dayOfWeek,s=n.toLowerCase();if(!t.cultureIndexes.containsKey(s))throw new Error("Function 'DayOfWeek': There is no data for specified culture '"+n+"'.");var u=t.cultureIndexes.get(s);a=r.length)continue;try{null==t[n]?t[n]=null:e.sett(n,o.changeType(t[n],s.columns.getByIndex(n).dataType))}catch(t){}}}catch(t){}s.rows.add(e)})),s},t.getDataType=function(t,e,n){var i,i;if(void 0===n&&(n=null),null!=n&&e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),__awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?r(t.value):i(t.value).then(a,s)}l((n=n.apply(t,e||[])).next())}))},__generator=this&&this.__generator||function(t,e){function r(t){return function(e){return n([t,e])}}function n(r){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,a&&(s=2&r[0]?a["return"]:r[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;switch(a=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,a=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==r[0]&&2!==r[0])){i=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]0)&&!(i=n.next()).done)o.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(r=n["return"])&&r.call(n)}finally{if(a)throw a.error}}return o},__spread=this&&this.__spread||function(){for(var t=[],e=0;e>3])>>7-(7&t)&1},n.prototype.size=function(){return this.sizeInBits},n.prototype.sizeInBytes=function(){return this.sizeInBits+7>>3},n.prototype.appendBit=function(t){var e=7&this.sizeInBits;0==e&&(this.appendByte(0),this.sizeInBits-=8),this.array[this.sizeInBits>>3]|=t<<7-e,++this.sizeInBits},n.prototype.appendBits=function(t,e){var r=e;while(r>0)if(0==(7&this.sizeInBits)&&r>=8){var n=t>>r-8&255;this.appendByte(n),r-=8}else{var i=t>>r-1&1;this.appendBit(i),--r}},n.prototype.appendBitVector=function(t){for(var e=t.size(),r=0;r>3,r=0;r>3==this.array.length){var r=new Array(this.array.length<<1);e.ArrayHelper.copy(this.array,0,r,0,this.array.length),this.array=r}this.array[this.sizeInBits>>3]=t,this.sizeInBits+=8},n}();e.BitVector=n}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}();t.BlockPair=e}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(t,e){void 0===t&&(t=0),void 0===e&&(e=null),null==e?(this._bytes=new Array(this._size),this._size=t):(this._bytes=e,this._size=this._bytes.length)}return e.prototype.at=function(t){return 255&this._bytes[t]},e.prototype.set=function(t,e){this._bytes[t]=e},e.prototype.size=function(){return this._size},e.prototype.isEmpty=function(){return 0==this._size},e.prototype.appendByte=function(t){if(0==this._size||this._size>=this._bytes.length){var r=Math.max(e.INITIAL_SIZE,this._size<<1);this.reserve(r)}this._bytes[this._size]=t,this._size++},e.prototype.reserve=function(e){if(null==this._bytes||this._bytes.length>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(t,e){return t^=e,this.BITS_SET_IN_HALF_BYTE[15&t]+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]},e.decodeFormatInformation=function(t,r){var n=e.doDecodeFormatInformation(t,r);if(null!=n)return n;return this.doDecodeFormatInformation(21522^t,21522^r)},e.doDecodeFormatInformation=function(t,r){for(var n=2147483647,i=0,o=0;o=256&&(e^=t);for(var r=0;r<255;r++)this._logTable[this._expTable[r]]=r}return e.prototype.getZero=function(){return new t.GF256Poly(this,[0])},e.prototype.getOne=function(){return new t.GF256Poly(this,[1])},e.prototype.buildMonomial=function(e,r){if(0==r)return new t.GF256Poly(this,[0]);var n=new Array(e+1);return n[0]=r,new t.GF256Poly(this,n)},e.addOrSubtract=function(t,e){return t^e},e.prototype.exp=function(t){return this._expTable[t]},e.prototype.log=function(t){return this._logTable[t]},e.prototype.inverse=function(t){return this._expTable[255-this._logTable[t]]},e.prototype.multiply=function(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]},e.QR_CODE_FIELD=new e(285),e.DATA_MATRIX_FIELD=new e(301),e}();t.GF256=e}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(e,r){this._field=e;var n=r.length;if(n>1&&0==r[0]){var i=1;while(ii.length){var o=n;n=i,i=o}var a=new Array(i.length),s=i.length-n.length;t.ArrayHelper.copy(i,0,a,0,s);for(var l=s;l=t.getDegree()&&!r.isZero()){if(9==r.getDegree())var o=1;var a=r.getDegree()-t.getDegree(),s=this._field.multiply(r.getCoefficient(r.getDegree()),i),l=t.multiplyByMonomial(a,s),u=this._field.buildMonomial(a,s);e=e.addOrSubtract(u),r=r.addOrSubtract(l)}return[e,r]},e}();t.GF256Poly=e}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.ApplyMaskPenaltyRule1Internal(e,!0)+t.ApplyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o=0&&0==r[o][a-1]&&0==r[o][a-2]&&0==r[o][a-3]&&0==r[o][a-4])&&(e+=40),o+6=0&&0==r[o-1][a]&&0==r[o-2][a]&&0==r[o-3][a]&&0==r[o-4][a])&&(e+=40);return e},t.applyMaskPenaltyRule4=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o>1)+e/3&1;break;case 5:i=(1&(n=r*e))+n%3;break;case 6:i=(1&(n=r*e))+n%3&1;break;case 7:i=(n=r*e)%3+(r+e&1)&1;break}return 0==i},t.ApplyMaskPenaltyRule1Internal=function(t,e){for(var r=0,n=0,i=-1,o=e?t.getHeight():t.getWidth(),a=e?t.getWidth():t.getHeight(),s=t.getArray(),l=0;l5&&(r+=1):(n=1,i=c)}n=0}return r},t}();t.MaskUtil=e}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.ClearMatrix=function(t){t.clear(-1)},e.BuildMatrix=function(t,r,n,i,o){e.ClearMatrix(o),e.EmbedBasicPatterns(n,o),e.EmbedTypeInfo(r,i,o),e.MaybeEmbedVersionInfo(n,o),e.EmbedDataBits(t,i,o)},e.EmbedBasicPatterns=function(t,r){e.EmbedPositionDetectionPatternsAndSeparators(r),e.EmbedDarkDotAtLeftBottomCorner(r),e.MaybeEmbedPositionAdjustmentPatterns(t,r),e.EmbedTimingPatterns(r)},e.EmbedTypeInfo=function(r,n,i){var o=new t.BitVector;e.MakeTypeInfoBits(r,n,o);for(var a=0;a0){6==s&&(s-=1);while(l>=0&&l>=1,++r;return r},e.CalculateBCHCode=function(t,r){var n=e.FindMSBSet(r);t<<=n-1;while(this.FindMSBSet(t)>=n)t^=r<="0"&&s<="9")n=!0;else{if(-1==i.GetAlphanumericCode(s.charCodeAt(0)))return e.Mode.BYTE;o=!0}}if(o)return e.Mode.ALPHANUMERIC;if(n)return e.Mode.NUMERIC;return e.Mode.BYTE},i.ChooseMaskPattern=function(t,r,n,o){for(var a=2147483647,s=-1,l=0;l=t+4)return i.SetVersion(o),i.SetNumTotalBytes(s),i.SetNumDataBytes(p),i.SetNumRSBlocks(c),i.SetNumECBytes(u),void i.SetMatrixWidth(a.getDimensionForVersion())}},i.TerminateBits=function(t,e){for(var r=t<<3,n=0;n<4&&e.size()0)for(var o=8-i,n=0;n=33088&&s<=40956?l=s-33088:s>=57408&&s<=60351&&(l=s-49472);var u=192*(l>>8)+(255&l);e.appendBits(u,13)}},i.AppendECI=function(t,r){r.appendBits(e.Mode.ECI.GetBits(),4),r.appendBits(t.getValue(),8)},i.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],i.defaultECIByteModeEncoding="ISO-8859-1",i.BYTE_MODE_UTF8="UTF-8",i.QUESTION_MARK_CHAR=63,i}();e.QREncoder=i}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new t.GF256Poly(this.field,[1]))}return e.prototype.BuildGenerator=function(e){if(e>=this.cachedGenerators.length)for(var r=this.cachedGenerators[this.cachedGenerators.length-1],n=this.cachedGenerators.length;n<=e;n++){var i=r.multiply(new t.GF256Poly(this.field,[1,this.field.exp(n-1)]));this.cachedGenerators.push(i),r=i}return this.cachedGenerators[e]},e.prototype.Encode=function(e,r){var n=e.length-r,i=this.BuildGenerator(r),o=new Array(n);t.ArrayHelper.copy(e,0,o,0,n);for(var a=new t.GF256Poly(this.field,o),s,l=(a=a.multiplyByMonomial(r,1)).divide(i)[1].getCoefficients(),u=r-l.length,c=0;c=0&&t>2)}catch(e){throw t.System.StiError.showError(e.message,!1),e}},i.getVersionForNumber=function(t){return i.VERSIONS[t-1]},i.decodeVersionInformation=function(t){for(var r=2147483647,n=0,o=0;o=0&&s<=255&&(i.push(s),a=!0,n+=3)}if(a)continue}i.push(o)}return i},y.prototype.getSymbolWidth=function(t){var 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},y.prototype.isSymbolLong=function(t){var e;switch(t){case"8":case"9":case"a":case"b":case"c":case"e":e=!0;break;default:e=!1;break}return e},y.prototype.isSymbolSpace=function(t){var e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;default:e=!1;break}return e},y.prototype.isSymbolPostDescend=function(t){var e;switch(t){case"e":case"f":e=!0;break;default:e=!1;break}return e},y.prototype.getSymbolsStringWidth=function(t){for(var e=0,r=0;r0){var f=new c;if(this.textSpacing){for(var d=0;dy*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight&&(g=this.barCodeData.textString);var A=0,b=this.barCodeData.textPosition,v=new n;v.alignment=this.textAlignment,v.formatFlags=0,this.textAlignment==p.Center?this.baseDrawString2(t,g,l,u,new s(A,b,y*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight,2*this.barCodeData.textHeight),v):this.baseDrawString2(t,this.barCodeData.textString,l,u,new s(this.barCodeData.spaceLeft,b,y*this.barCodeData.lineWidth,2*this.barCodeData.textHeight),v)}null!=i&&i(t,u,this),this.rollbackTransform(t)},y.prototype.calculateSizeFull=function(t,r,n,i,o,a,l,u,c,p,h,f,d,g,S,y,A){this.barCodeData.wideToNarrowRatio=h,this.barCodeData.code=d,this.barCodeData.textString=g,this.barCodeData.barsArray=S,A.showQuietZones||this.stimulsoft.is(e.StiAustraliaPost4StateBarCodeType)||this.stimulsoft.is(e.StiITF14BarCodeType)||(t=0,r=0,n=0,i=0),this.rectWindow=new s(0,0,y.width,y.height),A.angle!=m.Angle90&&A.angle!=m.Angle270||(this.rectWindow=new s(0,0,y.height,y.width));var b=A.font.sizeInPoints-8+.5;c+=b,u+=b;var v=this.module/10*f,C=v,w=p*(1-this.height);A.autoScale&&(v=this.rectWindow.width/(this.getSymbolsStringWidth(S)+t+r),w=-(this.rectWindow.height/C-c),!A.showLabelText&&l>p&&(w-=u)),this.barCodeData.fullZoomY=C,this.barCodeData.spaceLeft=t*v,this.barCodeData.spaceRight=r*v,this.barCodeData.lineWidth=1*v,this.barCodeData.mainWidth=(this.getSymbolsStringWidth(S)+t+r)*v,this.barCodeData.spaceTop=n*C,this.barCodeData.spaceBottom=i*C,this.barCodeData.lineHeightShort=(o-w)*C,this.barCodeData.lineHeightLong=(a-w)*C,l>n&&(l-=w),this.barCodeData.textPosition=l*C,this.barCodeData.mainHeight=(c-w)*C,this.barCodeData.textHeight=u*C},y.prototype.calculateSize2=function(t,e,r,n,i,o,a,s,l,u,c,p,h,m){this.calculateSizeFull(t,e,r,n,i,o,a,s,l,i,u,c,"","",p,h,m)},y.prototype.draw2DBarCode=function(t,r,n,i){this.rectWindow=new s(0,0,r.width,r.height),n.angle!=m.Angle90&&n.angle!=m.Angle270||(this.rectWindow=new s(0,0,r.height,r.width));var o=2;n.showQuietZones||(o=0);var l=this.module/10*i,u=l;n.autoScale&&(l=this.rectWindow.width/(this.barCodeData.matrixWidth+2*o),u=this.rectWindow.height/(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*o),u=l=Math.min(l,u)),this.barCodeData.mainWidth=(this.barCodeData.matrixWidth+2*o)*l,this.barCodeData.mainHeight=(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*o)*u,this.barCodeData.spaceLeft=o*l,this.barCodeData.spaceTop=o*u,this.translateRect(t,r,n);var c=new a(n.foreColor),p=new a(n.backColor);this.baseFillRectangle(t,p,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);for(var h=this.barCodeData.spaceLeft,f=this.barCodeData.spaceTop,d=0;d0?A:y,F.x,F.y,F.width,F.height)}this.rollbackTransform(t)},y.prototype.drawBarCodeError=function(t,e,r){this.drawBarCodeError2(t,e,r,null)},y.prototype.drawBarCodeError2=function(t,e,n,i){var o=new a(n.backColor);this.baseFillRectangle(t,o,e.x,e.y,e.width,e.height),this.baseDrawRectangle(t,f.red,4,e.x,e.y,e.width,e.height);var s=new h("Arial",8);r.isNullOrEmpty(i)?this.baseDrawString(t,"Not valid data",s,new a(f.red),e.x+1,e.y+1):this.baseDrawString(t,i,s,new a(f.red),e.x+1,e.y+1)},y.prototype.draw=function(t,e,r,n){},y.prototype.translateRect=function(t,e,r){var n,i,o,a,s;switch(r.horAlignment){case g.Right:a=this.rectWindow.width-this.barCodeData.mainWidth;break;case g.Center:a=(this.rectWindow.width-this.barCodeData.mainWidth)/2;break;default:a=0;break}switch(r.vertAlignment){case d.Bottom:s=this.rectWindow.height-this.barCodeData.mainHeight;break;case d.Center:s=(this.rectWindow.height-this.barCodeData.mainHeight)/2;break;default:s=0;break}switch(r.angle){case m.Angle90:n=-90,i=e.x,o=e.y+e.height;break;case m.Angle180:n=-180,i=e.x+e.width,o=e.y+e.height;break;case m.Angle270:n=-270,i=e.x+e.width,o=e.y;break;default:n=0,i=e.x,o=e.y;break}this.baseTransform(t,i,o,n,a,s)},y.prototype.rollbackTransform=function(t){this.baseRollbackTransform(t)},y.prototype.baseDrawString=function(t,e,r,n,i,o){this.baseDrawString2(t,e,r,n,new s(i,o,0,0),null)},y.prototype.baseTransform=function(e,r,n,i,o,a){var s=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?s=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseTransform(e,r,n,i,o,a)},y.prototype.baseRollbackTransform=function(e){var r=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?r=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(r=this.customPainter),r.baseRollbackTransform(e)},y.prototype.baseFillRectangle=function(e,r,n,i,o,a){var s=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?s=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillRectangle(e,r,n,i,o,a)},y.prototype.baseFillRectangle2D=function(e,r,n,i,o,a){var s=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?s=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillRectangle2D(e,r,n,i,o,a)},y.prototype.baseFillPolygon=function(e,r,n){var i=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?i=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(i=this.customPainter),i.baseFillPolygon(e,r,n)},y.prototype.baseFillEllipse=function(e,r,n,i,o,a){var s=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?s=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseFillEllipse(e,r,n,i,o,a)},y.prototype.baseDrawRectangle=function(e,r,n,i,o,a,s){var l=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?l=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(l=this.customPainter),l.baseDrawRectangle(e,r,n,i,o,a,s)},y.prototype.baseDrawImage=function(e,r,n,i,o,a,s){var l=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?l=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(l=this.customPainter),l.baseDrawImage(e,r,n,i,o,a,s)},y.prototype.baseDrawString2=function(e,r,n,i,o,a){var s=null;e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?s=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseDrawString(e,r,n,i,o,a)},y.prototype.baseMeasureString3=function(e,r,n){var i=null;return e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter)?i=e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(i=this.customPainter),i.baseMeasureString(e,r,n)},y.prototype.createNew=function(){return null},y}(u);e.StiBarCodeTypeService=y}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.StiString,o=t.System.Drawing.StringAlignment,a=t.System.Text.StringBuilder,s=function(t){function r(e,r){void 0===e&&(e=20),void 0===r&&(r=1);var i=t.call(this)||this;return i.australiaPost4StateSymbolsC="ABC DEF#GHIabcdeJKLfMNOgPQRhijklSTUmVWXnYZ0opqrs123t456u789vwxyz",i.australiaPost4StateSymbolsN="012_345_678_9",i.australiaPost4StateStartCode="13",i.australiaPost4StateStopCode="13",i._module=20,i._height=1,i.australiaPost4StateSpaceLeft=11.8,i.australiaPost4StateSpaceRight=11.8,i.australiaPost4StateSpaceTop=3.9+7,i.australiaPost4StateSpaceBottom=3.9,i.australiaPost4StateLineHeightLong=10,i.australiaPost4StateLineHeightShort=.62*i.australiaPost4StateLineHeightLong,i.australiaPost4StateTextPosition=1,i.australiaPost4StateTextHeight=5,i.australiaPost4StateMainHeight=i.australiaPost4StateSpaceTop+i.australiaPost4StateLineHeightLong+i.australiaPost4StateSpaceBottom,i.australiaPost4StateLineHeightForCut=i.australiaPost4StateLineHeightLong,i.mult=n.create2(Number,64,64),i.gen=[0,0,0,0,0],i._module=e,i._height=r,i}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,20),r.addPropertyNumber("Height",this.height,1),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiAustraliaPost4StateBarCodeType},enumerable:!1,configurable:!0}),r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r20&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<1&&(this._height=1),t>1&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.australiaPost4StateTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textAlignment",{get:function(){return o.Near},enumerable:!1,configurable:!0}),r.prototype.rSInitialise=function(){for(var t=67,e=64,r=0;r<64;r++)this.mult[0][r]=0,this.mult[1][r]=r;for(var n=1,r=1;r<64;r++){var i=n<<1;0!=(i&e)&&(i^=t);for(var o=0;o<64;o++)this.mult[i][o]=this.mult[n][o]<<1,0!=(this.mult[i][o]&e)&&(this.mult[i][o]^=t);n=i}this.gen[0]=48,this.gen[1]=17,this.gen[2]=29,this.gen[3]=30,this.gen[4]=1},r.prototype.rSEncode=function(t){0==this.gen[0]&&this.rSInitialise();for(var e=n.create(Number,31),r=t.length,i=0;i<4;i++)e[i]=0;for(var i=0;i=0;i--)for(var o=0;o<=4;o++){var a=this.gen[o],s=e[4+i],l=this.mult[a][s];e[i+o]=e[i+o]^l}for(var u=n.create(Number,4),i=0;i<4;i++)u[i]=e[3-i];return u},r.prototype.charTo4State=function(t,e){var r=new a;if(e){var n=this.australiaPost4StateSymbolsC.indexOf(t);r.append(String.fromCharCode((n>>4&3)+48)),r.append(String.fromCharCode((n>>2&3)+48)),r.append(String.fromCharCode((3&n)+48))}else{var n=this.australiaPost4StateSymbolsN.indexOf(t);r.append(String.fromCharCode((n>>2&3)+48)),r.append(String.fromCharCode((3&n)+48))}return r.toString()},r.prototype.stateToBar=function(t){for(var e=new a,r=0;rm)return l="CustomerInfo too long",!1;m>p.length&&(m=p.length);var f=new a;f.append(this.charTo4State(u[0],!1)),f.append(this.charTo4State(u[1],!1)),f.append(this.charTo4State(c[0],!1)),f.append(this.charTo4State(c[1],!1)),f.append(this.charTo4State(c[2],!1)),f.append(this.charTo4State(c[3],!1)),f.append(this.charTo4State(c[4],!1)),f.append(this.charTo4State(c[5],!1)),f.append(this.charTo4State(c[6],!1)),f.append(this.charTo4State(c[7],!1));for(var d=0;d>4&3)+48)),f.append(String.fromCharCode((A[d]>>2&3)+48)),f.append(String.fromCharCode((3&A[d])+48));return s=this.stateToBar(this.australiaPost4StateStartCode+f.toString()+this.australiaPost4StateStopCode),o=i.format("{0} {1} {2} {3} {4} {5} {6}",u,c,p.substr(0,m),A[0],A[1],A[2],A[3]),t.ref=o,e.ref=s,r.ref=l,!0},r.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o="",a="",s={ref:i=this.checkCodeSymbols(i,this.australiaPost4StateSymbolsC)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=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,n,i,i,o,r,e),this.drawBarCode(t,r,e)):a.length>0?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiAustraliaPost4StateBarCodeType=s}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBorder="IStiBorder"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiEnumAngle="IStiEnumAngle"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiHorAlignment="IStiHorAlignment",t.ImplementsIStiHorAlignment=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiVertAlignment="IStiVertAlignment",t.ImplementsIStiVertAlignment=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiForeColor="IStiForeColor",t.ImplementsIStiForeColor=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBackColor="IStiBackColor",t.ImplementsIStiBackColor=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiExportImage="IStiExportImage"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiExportImageExtended="IStiExportImageExtended"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.ICloneable,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.Base.StiJson,o=function(){function e(t){void 0===t&&(t=""),this.val="",this.parentComponent=null,this.fullConvert=!0,this.genAddEvent=!0,this.val=t}return e.prototype.implements=function(){return[r,n]},e.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyStringNullOrEmpty("Value",this.value),e},e.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Value":this.value=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},e.prototype.loadFromXml=function(t){this.value=t.textContent},Object.defineProperty(e.prototype,"value",{get:function(){return this.getValueProp()},set:function(t){this.setValueProp(t)},enumerable:!1,configurable:!0}),e.prototype.getValueProp=function(){return this.val},e.prototype.setValueProp=function(e){this.val!=e&&(null!=this.parentComponent&&this.parentComponent.stimulsoft.is(t.Report.Components.StiText),this.val=e)},Object.defineProperty(e.prototype,"applyFormat",{get:function(){return!0},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return this.value},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e}();e.StiExpression=o}(r=e.Expressions||(e.Expressions={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.CollectionBase,n=t.System.ICloneable,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=t.System.Text.XMLConvert,s=t.System.Enum,l=t.System.Text.StiReportObjectStringConverter,u=t.System.Xml.XmlConverter,c=function(r){function c(){return null!==r&&r.apply(this,arguments)||this}return __extends(c,r),c.prototype.implements=function(){return[n,i]},c.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new o,i=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(i.toString(),l.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},c.prototype.loadFromJsonObject=function(t){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=null,l=a.value,u;switch(l.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiBaseCondition":s=new e.StiBaseCondition;break;case"StiCondition":s=new e.StiCondition;break;case"StiIconSetCondition":s=new e.StiIconSetCondition;break;case"StiColorScaleCondition":s=new e.StiColorScaleCondition;break;case"StiDataBarCondition":s=new e.StiDataBarCondition;break;case"StiMultiCondition":s=new e.StiMultiCondition;break}s.loadFromJsonObject(l),this.list.push(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},c.prototype.isBorderSides=function(t){return"False"!=(t=a.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"))},c.prototype.convertIconSetItemFromString=function(t){if("null"==t)return null;var r=t.split(",");return new e.StiIconSetItem(s.parse(e.StiIcon,a.decodeName(r[0])),s.parse(e.StiIconSetOperation,a.decodeName(r[1])),s.parse(e.StiIconSetValueType,a.decodeName(r[2])),a.decodeName(r[3]).stimulsoft.toNumber())},c.prototype.loadFromXml=function(r){for(var n=0;n0){var i=new A;if(r)this.invokeGetBookmark(this,i);else{var o=t.Report.Engine.StiParser.StiParser.parseTextValue(this.bookmark,this);i.value=this.report.toString2(o)}if(i.value.stimulsoft.is(String)&&i.value.length>0){this.newGuid();var a=i.value;if(a.length>2&&"%"==a[0]){for(var s=a.substr(0,1),l=a[1],u=(a=a.substr(2)).split(l),c=this.report.bookmark,p=0;p0&&1==t)return!1;if(this.printOn==r.StiPrintOnType.OnlyFirstPage&&t>1)return!1;return!0}if((this.page.segmentPerWidth>1||this.page.segmentPerHeight>1)&&(t+=this.page.segmentPerWidth*this.page.segmentPerHeight-1),this.report.reportPass==e.StiReportPass.First){if((this.printOn&r.StiPrintOnType.OnlyLastPage)>0)return!1;if((this.printOn&r.StiPrintOnType.ExceptLastPage)>0)return!0}if((this.printOn&r.StiPrintOnType.ExceptFirstPage)>0&&1==t)return!1;if(this.printOn==r.StiPrintOnType.OnlyFirstAndLastPage)return!(t>1&&t0&&t>1)return!1;if((this.printOn&r.StiPrintOnType.OnlyLastPage)>0&&t0&&t==n)return!1;return!0}return!0},Object.defineProperty(F.prototype,"isEnabled",{get:function(){return this.enabled&&this.allowPrintOn()},enumerable:!1,configurable:!0}),F.prototype.prepare=function(){var e;t.Report.Engine.StiBuilder.getBuilder(this.constructor).prepare(this)},F.prototype.unPrepare=function(){var e;t.Report.Engine.StiBuilder.getBuilder(this.constructor).unPrepare(this)},F.prototype.setReportVariables=function(){var e;t.Report.Engine.StiBuilder.getBuilder(this.constructor).setReportVariables(this)},F.prototype.internalRenderAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,(e=t.Report.Engine.StiBuilder.getBuilder(this.constructor)).internalRenderAsync(this)];case 1:return[2,r.sent()]}}))}))},F.prototype.internalRender=function(){var e;return t.Report.Engine.StiBuilder.getBuilder(this.constructor).internalRender(this)},F.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,(e=t.Report.Engine.StiBuilder.getBuilder(this.constructor)).renderAsync(this)];case 1:return[2,r.sent()]}}))}))},F.prototype.render=function(){var e;return t.Report.Engine.StiBuilder.getBuilder(this.constructor).render(this)},F.prototype.paint=function(t){},Object.defineProperty(F.prototype,"dockStyle",{get:function(){return this.getDockStyle()},set:function(t){if(t==r.StiDockStyle.None&&null==this.bits)return;null!=this.bits?this.bits.dockStyle=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,t,this.printable)},enumerable:!1,configurable:!0}),F.prototype.getDockStyle=function(){return null==this.bits?r.StiDockStyle.None:this.bits.dockStyle},Object.defineProperty(F.prototype,"isAutomaticDock",{get:function(){return!1},enumerable:!1,configurable:!0}),F.prototype.getDockRegion=function(t,e){var n,i;if(void 0===e&&(e=!0),null!=t){var o=t.clientRectangle,a=t;this.componentType!=r.StiComponentType.Static&&null!=a&&a.columns>1&&e&&(o.width=a.getColumnWidth());var s=t;this.componentType!=r.StiComponentType.Static&&null!=s&&s.columns>1&&e&&(o.width=s.getColumnWidth()),t.isSelected&&(o=F.doOffsetRect(t,o,t.page.offsetRectangle)),o.x=0,o.y=0;var l=t;try{for(var u=__values(l.components.list),c=u.next();!c.done;c=u.next()){var p=c.value;if(p.dockable&&(this.isDesigning||p.enabled)){if(p==this)break;var h=p.displayRectangle;switch(p.dockStyle){case r.StiDockStyle.Left:o.x+=h.width,o.width-=h.width;break;case r.StiDockStyle.Right:o.width-=h.width;break;case r.StiDockStyle.Top:o.y+=h.height,o.height-=h.height;break;case r.StiDockStyle.Bottom:o.height-=h.height;break}}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return o}return this.clientRectangle},F.prototype.dockToContainer=function(){var t,e;this.dockStyle!=r.StiDockStyle.None&&this.dockable&&(this.isDesigning||this.enabled)&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.displayRectangle=this.dockToContainer2(this.displayRectangle));var n=this.as(r.StiContainer);if(null!=n)try{for(var i=__values(n.components.list),o=i.next();!o.done;o=i.next()){var a;o.value.dockToContainer()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},F.prototype.dockToContainer2=function(t){if(null!=this.parent&&this.dockStyle!=r.StiDockStyle.None&&this.dockable){var e=void 0;switch(e=this.getDockRegion(this.parent),1e11==this.parent.height&&this.dockStyle!=r.StiDockStyle.Top&&(e.y=0,e.height=t.height),this.dockStyle){case r.StiDockStyle.Left:t.x=e.x,t.y=e.y,t.height=e.height;break;case r.StiDockStyle.Right:t.x=e.right-t.width,t.y=e.y,t.height=e.height;break;case r.StiDockStyle.Top:t.x=e.x,t.y=e.y,t.width=e.width;break;case r.StiDockStyle.Bottom:t.x=e.x,t.y=e.bottom-t.height,t.width=e.width;break;case r.StiDockStyle.Fill:t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height;break}}return t},F.prototype.checkWidth=function(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},F.prototype.checkHeight=function(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},Object.defineProperty(F.prototype,"minSize",{get:function(){return this.getMinSize()},set:function(t){this.setMinSize(t)},enumerable:!1,configurable:!0}),F.prototype.getMinSize=function(){return this.properties.get(F.propertyMinSize,P.empty)},F.prototype.setMinSize=function(t){var e=this.minSize;e.width==t.width&&e.height==t.height||(this.properties.set(F.propertyMinSize,t,P.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))},Object.defineProperty(F.prototype,"maxSize",{get:function(){return this.getMaxSize()},set:function(t){this.setMaxSize(t)},enumerable:!1,configurable:!0}),F.prototype.getMaxSize=function(){return this.properties.get(F.propertyMaxSize,P.empty)},F.prototype.setMaxSize=function(t){var e=this.maxSize;e.width==t.width&&e.height==t.height||(this.properties.set(F.propertyMaxSize,t,P.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))},Object.defineProperty(F.prototype,"left",{get:function(){return this.getLeft()},set:function(t){this.setLeft(t)},enumerable:!1,configurable:!0}),F.prototype.getLeft=function(){return this._left},F.prototype.setLeft=function(t){this._left=Math.round2(t,2)},Object.defineProperty(F.prototype,"top",{get:function(){return this.getTop()},set:function(t){this.setTop(t)},enumerable:!1,configurable:!0}),F.prototype.getTop=function(){return this._top},F.prototype.setTop=function(t){this._top=Math.round2(t,2)},Object.defineProperty(F.prototype,"width",{get:function(){return this.getWidth()},set:function(t){this.setWidth(t)},enumerable:!1,configurable:!0}),F.prototype.getWidth=function(){return this._width},F.prototype.setWidth=function(t){var e=this._width;this._width=this.checkWidth(Math.round2(t,2)),this._width!=e&&this.invokeOnResizeComponent(new P(e,this._height),new P(this._width,this._height))},Object.defineProperty(F.prototype,"height",{get:function(){return this.getHeight()},set:function(t){this.setHeight(t)},enumerable:!1,configurable:!0}),F.prototype.getHeight=function(){return this._height},F.prototype.setHeight=function(t){var e=this._height;this._height=this.checkHeight(Math.round2(t,2)),this._height!=e&&this.invokeOnResizeComponent(new P(this._width,e),new P(this._width,this._height))},Object.defineProperty(F.prototype,"right",{get:function(){return this.left+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!1,configurable:!0}),F.prototype.getBottom=function(){return this.bottom},Object.defineProperty(F.prototype,"clientRectangle",{get:function(){return new D(this.left,this.top,this.width,this.height)},set:function(t){this.setClientRectangle(t)},enumerable:!1,configurable:!0}),F.prototype.setClientRectangle=function(t){var e=this._width,r=this._height;this._left=Math.round2(t.left,2),this._top=Math.round2(t.top,2),this._width=this.checkWidth(Math.round2(t.width,2)),this._height=this.checkHeight(Math.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new P(e,r),new P(this._width,this._height))},Object.defineProperty(F.prototype,"displayRectangle",{get:function(){return this.getDisplayRectangle()},set:function(t){this.setDisplayRectangle(t)},enumerable:!1,configurable:!0}),F.prototype.getDisplayRectangle=function(){return new D(this.left,this.top,this.width,this.height)},F.prototype.setDisplayRectangle=function(t){var e=this._width,r=this._height;this._left=Math.round2(t.left,2),this._top=Math.round2(t.top,2),this._width=this.checkWidth(Math.round2(t.width,2)),this._height=this.checkHeight(Math.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new P(e,r),new P(this._width,this._height))},F.prototype.setDirectDisplayRectangle=function(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 P(e,r),new P(this._width,this._height))},Object.defineProperty(F.prototype,"selectRectangle",{get:function(){return this.displayRectangle},set:function(t){this.displayRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"parentBookmark",{get:function(){return this._parentBookmark},set:function(t){this._parentBookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"currentBookmark",{get:function(){return this._currentBookmark},set:function(t){this._currentBookmark=t},enumerable:!1,configurable:!0}),F.prototype.invokeEvents=function(){try{var r=t.Report.Engine.StiParser.StiParser,n=!0;if(null!=this.report&&(n=this.report.calculationMode==e.StiCalculationMode.Compilation),n){if(null!=this.events.get(F.eventGetBookmark)&&null==this.bookmarkValue){var i=new A;this.invokeGetBookmark(this,i),this.bookmarkValue=i.value}}else{if(null==this.bookmarkValue&&this.bookmark.length>0){var a=r.parseTextValue(this.bookmark,this);this.bookmarkValue=this.report.toString2(a)}if(null!=this.events.get(F.eventGetBookmark)&&null==this.bookmarkValue){var i=new A;this.invokeGetBookmark(this,i),this.bookmarkValue=i.value}}if(n){if(null!=this.events.get(F.eventGetTag)&&null==this.tagValue){var s=new A;this.invokeGetTag(this,s),this.tagValue=s.value}}else{if(null==this.tagValue&&this.tag.length>0){var a=r.parseTextValue(this.tag,this);this.tagValue=this.report.toString2(a)}if(null!=this.events.get(F.eventGetTag)&&null==this.tagValue){var s=new A;this.invokeGetTag(this,s),this.tagValue=s.value}}if(n){if(null!=this.events.get(F.eventGetToolTip)&&null==this.toolTipValue){var l=new A;this.invokeGetToolTip(this,l),this.toolTipValue=l.value}}else{if(null==this.toolTipValue&&this.toolTip.length>0){var a=r.parseTextValue(this.toolTip,this);this.toolTipValue=this.report.toString2(a)}if(null!=this.events.get(F.eventGetToolTip)&&null==this.toolTipValue){var l=new A;this.invokeGetToolTip(this,l),this.toolTipValue=l.value}}if(n){if(null!=this.events.get(F.eventGetHyperlink)&&null==this.hyperlinkValue){var u=new A;this.invokeGetHyperlink(this,u),this.hyperlinkValue=u.value}}else{if(null==this.hyperlinkValue&&this.hyperlink.length>0){var a=r.parseTextValue(this.hyperlink,this);this.hyperlinkValue=this.report.toString2(a)}if(null!=this.events.get(F.eventGetHyperlink)&&null==this.hyperlinkValue){var u=new A;this.invokeGetHyperlink(this,u),this.hyperlinkValue=u.value}}}catch(r){var c=o.format("'{0}'.Events error: {1}",this.name,r.message);t.System.StiError.showError(c,!1),e.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),this.report.writeToReportRenderingMessages(c)}},Object.defineProperty(F.prototype,"isGetToolTipHandlerEmpty",{get:function(){return null==this.events.get(F.eventGetToolTip)},enumerable:!1,configurable:!0}),F.prototype.onGetToolTip=function(){},F.prototype.invokeGetToolTip=function(t,e){this.onGetToolTip();var r=this.events.get(F.eventGetToolTip);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(F.prototype,"getToolTipEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventGetToolTip,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isGetHyperlinkHandlerEmpty",{get:function(){return null==this.events.get(F.eventGetHyperlink)},enumerable:!1,configurable:!0}),F.prototype.onGetHyperlink=function(t){},F.prototype.invokeGetHyperlink=function(t,e){try{this.onGetHyperlink(e);var r=this.events.get(F.eventGetHyperlink);null!=r&&r(t,e)}catch(t){}},Object.defineProperty(F.prototype,"getHyperlinkEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventGetHyperlink,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isGetTagHandlerEmpty",{get:function(){return null==this.events.get(F.eventGetTag)},enumerable:!1,configurable:!0}),F.prototype.onGetTag=function(t){},F.prototype.invokeGetTag=function(t,e){try{this.onGetTag(e);var r=this.events.get(F.eventGetTag);null!=r&&r(t,e)}catch(t){}},Object.defineProperty(F.prototype,"getTagEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventGetTag,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isGetBookmarkHandlerEmpty",{get:function(){return null==this.events.get(F.eventGetBookmark)},enumerable:!1,configurable:!0}),F.prototype.onGetBookmark=function(){},F.prototype.invokeGetBookmark=function(t,e){this.onGetBookmark();var r=this.events.get(F.eventGetBookmark);null!=r&&r(t)},Object.defineProperty(F.prototype,"getBookmarkEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventGetBookmark,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),F.prototype.onBeforePrint=function(t){},F.prototype.invokeBeforePrint=function(r,n){try{this.onBeforePrint(n);var i=!0;if(null!=this.report&&(i=this.report.calculationMode==e.StiCalculationMode.Compilation),i){var a;if(null!=(a=this.events.get(F.eventBeforePrint)))try{a(r,n)}catch(n){}}else{var a;if(null!=(a=this.events.get(F.eventBeforePrint)))try{a(r,n)}catch(n){}if(null!=this.report&&null!=this.report.engine){var s=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name);null==s||this.is(t.Report.CrossTab.StiCrossCell)||this.applyConditions(r,s,n)}if(null!=this.interaction){var l=r;l.drillDownParameters=[],this.interaction.drillDownParameter1.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter1.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter1.expression.value+"}",this,r)}),this.interaction.drillDownParameter2.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter2.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter2.expression.value+"}",this,r)}),this.interaction.drillDownParameter3.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter3.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter3.expression.value+"}",this,r)}),this.interaction.drillDownParameter4.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter4.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter4.expression.value+"}",this,r)}),this.interaction.drillDownParameter5.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter5.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter5.expression.value+"}",this,r)}),this.interaction.drillDownParameter6.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter6.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter6.expression.value+"}",this,r)}),this.interaction.drillDownParameter7.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter7.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter7.expression.value+"}",this,r)}),this.interaction.drillDownParameter8.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter8.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter8.expression.value+"}",this,r)}),this.interaction.drillDownParameter9.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter9.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter9.expression.value+"}",this,r)}),this.interaction.drillDownParameter10.isDefault()||l.drillDownParameters.push({name:this.interaction.drillDownParameter10.name,value:t.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter10.expression.value+"}",this,r)})}}}catch(n){var u=o.format("{0}.BeforePrint event error: {1}",this.name,n.message);t.System.StiError.showError(u,!1)}},F.prototype.applyConditions=function(e,n,i){var a,s;if(null==n)return;var l=new t.Report.Engine.StiParserParameters;l.ignoreGlobalizedName=!0,null!=i&&i.stimulsoft.is(A)&&(l.constants=new T,l.constants.set("e.Value",i.stimulsoft.as(A).value));try{for(var u=__values(n),c=u.next();!c.done;c=u.next()){var p=c.value;try{var h=t.Report.Engine.StiParser.StiParser.parseTextValue2(p.value,this,e,l);if(null!=h&&h.stimulsoft.is(Boolean)&&h.stimulsoft.toBoolean()){var m=p.key;if(o.isNullOrEmpty(m.style)){var f=e.stimulsoft.as(r.IStiBrush);null!=f&&(m.permissions&r.StiConditionPermissions.BackColor)>0&&(f.brush=new v(m.backColor),e.stimulsoft.is("StiCrossField")&&(e.stimulsoft.as("StiCrossField").conditionBrush=new v(m.backColor)));var d=e.stimulsoft.as(r.IStiBorder);null!=d&&(m.permissions&r.StiConditionPermissions.Borders)>0&&0==(m.borderSides&r.StiConditionBorderSides.NotAssigned)&&(d.border=d.border.clone(),d.border.side=m.borderSides);var g=e.stimulsoft.as(r.IStiTextBrush),S;null!=g&&(m.permissions&r.StiConditionPermissions.TextColor)>0&&(g.textBrush=new v(m.textColor),e.stimulsoft.is("StiCrossField")&&(e.stimulsoft.as("StiCrossField").conditionTextBrush=new v(m.textColor))),null!=e.stimulsoft.as(r.IStiFont)&&r.StiConditionHelper.applyFont(e,m.font,m.permissions)}else t.Report.Components.StiConditionHelper.apply(e,m.style);if(null!=m.icon&&e.stimulsoft.is(r.StiText)&&(e.stimulsoft.as(r.StiText).indicator=new r.StiIconSetIndicator(r.StiIcon.None,m.iconAlignment,m.icon,m.iconSize)),e.stimulsoft.is("StiCrossField")&&(e.stimulsoft.as("StiCrossField").conditionPermissions|=m.permissions),e.enabled=m.enabled,m.breakIfTrue)break}}catch(i){}}}catch(t){a={error:t}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}},Object.defineProperty(F.prototype,"beforePrintEvent",{get:function(){return new h(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventBeforePrint,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),F.prototype.onAfterPrint=function(t){},F.prototype.invokeAfterPrint=function(t,e){this.onAfterPrint(e);var r=this.events.get(F.eventAfterPrint);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(F.prototype,"afterPrintEvent",{get:function(){return new m(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(F.eventAfterPrint,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),F.prototype.onGetDrillDownReport=function(t){},F.prototype.invokeGetDrillDownReport=function(t,e){this.onGetDrillDownReport(e);var r=this.events.get(F.eventGetDrillDownReport);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(F.prototype,"getDrillDownReportEvent",{get:function(){return new f(this)},set:function(e){null!=e&&e.set(this,e.script),this.events.set(F.eventGetDrillDownReport,t.Report.Events.StiGetDrillDownReportEventHandler.create(e.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isClickHandlerEmpty",{get:function(){return null==this.events.get(F.eventClick)},enumerable:!1,configurable:!0}),F.prototype.onClick=function(t){},F.prototype.invokeClick=function(t,e){this.onClick(e)},Object.defineProperty(F.prototype,"clickEvent",{get:function(){return new d(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isDoubleClickHandlerEmpty",{get:function(){return null==this.events.get(F.eventDoubleClick)},enumerable:!1,configurable:!0}),F.prototype.onDoubleClick=function(t){},F.prototype.invokeDoubleClick=function(t,e){this.onDoubleClick(e)},Object.defineProperty(F.prototype,"doubleClickEvent",{get:function(){return new g(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isMouseEnterHandlerEmpty",{get:function(){return null==this.events.get(F.eventMouseEnter)},enumerable:!1,configurable:!0}),F.prototype.onMouseEnter=function(t){},F.prototype.invokeMouseEnter=function(t,e){this.onMouseEnter(e)},Object.defineProperty(F.prototype,"mouseEnterEvent",{get:function(){return new S(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isMouseLeaveHandlerEmpty",{get:function(){return null==this.events.get(F.eventMouseLeave)},enumerable:!1,configurable:!0}),F.prototype.onMouseLeave=function(t){},F.prototype.invokeMouseLeave=function(t,e){this.onMouseLeave(e)},Object.defineProperty(F.prototype,"mouseLeaveEvent",{get:function(){return new y(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),F.prototype.onPainting=function(t){},F.prototype.invokePainting=function(t,e){this.onPainting(e)},F.prototype.onPainted=function(t){},F.prototype.invokePainted=function(t,e){this.onPainted(e)},Object.defineProperty(F.prototype,"bookmarkValue",{get:function(){return null==this.bits?null:this.bits.bookmarkValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.bookmarkValue=t:this.bits=new G(t,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"bookmark",{get:function(){return this.properties.get("Bookmark","")},set:function(t){null!=t&&this.properties.set("Bookmark",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"toolTipValue",{get:function(){return null==this.bits?null:this.bits.toolTipValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.toolTipValue=t:this.bits=new G(this.bookmarkValue,t,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"toolTip",{get:function(){return this.properties.get("ToolTip","")},set:function(t){null!=t&&this.properties.set("ToolTip",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"hyperlinkValue",{get:function(){return null==this.bits?null:this.bits.hyperlinkValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.hyperlinkValue=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,t,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"hyperlink",{get:function(){return this.properties.get("Hyperlink","")},set:function(t){null!=t&&this.properties.set("Hyperlink",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"tagValue",{get:function(){return null==this.bits?null:this.bits.tagValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.tagValue=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,t,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"tag",{get:function(){return this.properties.get("Tag","")},set:function(t){null!=t&&this.properties.set("Tag",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"events",{get:function(){return null==this._events&&(this._events=new T),this._events},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"restrictions",{get:function(){return this.getRestrictions()},set:function(t){this.setRestrictions(t)},enumerable:!1,configurable:!0}),F.prototype.getRestrictions=function(){return this.properties.get(F.propertyRestrictions,r.StiRestrictions.All)},F.prototype.setRestrictions=function(t){this.properties.set(F.propertyRestrictions,t,r.StiRestrictions.All)},Object.defineProperty(F.prototype,"ignoreNamingRule",{get:function(){return null!=this.bits&&this.bits.ignoreNamingRule},set:function(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.ignoreNamingRule=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,t,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),F.prototype.setName=function(t){this.ignoreNamingRule||null==this.report?w.prototype.setName.call(this,t):w.prototype.setName.call(this,e.StiNameValidator.correctName(t))},Object.defineProperty(F.prototype,"placeOnToolbox",{get:function(){return this.properties.getBool(F.propertyPlaceOnToolbox,!1)},set:function(t){this.properties.setBool(F.propertyPlaceOnToolbox,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"toolboxPosition",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isPrinting",{get:function(){if(null!=this.report)return this.report.isPrinting;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isExporting",{get:function(){if(null!=this.report)return this.report.isExporting;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isDesigning",{get:function(){if(null!=this.report)return this.report.isDesigning;return!1},enumerable:!1,configurable:!0}),F.prototype.allowDelete=function(){return!this.inherited},Object.defineProperty(F.prototype,"priority",{get:function(){return r.StiComponentPriority.Component},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"componentType",{get:function(){return r.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"dockable",{get:function(){return this.properties.getBool(F.propertyDockable,!0)},set:function(t){this.properties.setBool(F.propertyDockable,t,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"highlightState",{get:function(){return null==this.bits?r.StiHighlightState.Hide:this.bits.highlightState},set:function(t){if(t==r.StiHighlightState.Hide&&null==this.bits)return;null!=this.bits?this.bits.highlightState=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,t,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"componentPlacement",{get:function(){return this._componentPlacement},set:function(t){this._componentPlacement=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"drillDownParameters",{get:function(){return this._drillDownParameters},set:function(t){this._drillDownParameters!=t&&(this._drillDownParameters=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"componentStyle",{get:function(){return this.getComponentStyle()},set:function(t){this.setComponentStyle(t)},enumerable:!1,configurable:!0}),F.prototype.getComponentStyle=function(){return this.properties.get(F.propertyComponentStyle,"")},F.prototype.setComponentStyle=function(t){if(this.properties.set(F.propertyComponentStyle,t,""),null!=this.report&&null!=t){var e=this.report.styles.getByName(t);null!=e&&e.setStyleToComponent(this)}this.is(r.StiContainer)&&this.as(r.StiContainer).setParentStylesToChilds()},Object.defineProperty(F.prototype,"locked",{get:function(){return this.properties.getBool(F.propertyLocked,!1)},set:function(t){this.properties.setBool(F.propertyLocked,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"linked",{get:function(){return this.getLinked()},set:function(t){this.setLinked(t)},enumerable:!1,configurable:!0}),F.prototype.getLinked=function(){return this.properties.getBool(F.propertyLinked,!1)},F.prototype.setLinked=function(t){this.properties.setBool(F.propertyLinked,t,!1)},Object.defineProperty(F.prototype,"enabled",{get:function(){return null==this.bits||this.bits.enabled},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.enabled=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,t,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable),t||this.dockStyle==r.StiDockStyle.None||null==this.parent||this.is(r.StiBand)&&null!=e&&!StiOptions.Engine.checkDockToContainerIfComponentDisabled||this.parent.dockToContainer()},enumerable:!1,configurable:!0}),F.prototype.getEnabled=function(){return this.enabled},F.prototype.setEnabled=function(t){this.enabled=t},Object.defineProperty(F.prototype,"useParentStyles",{get:function(){return this.getUseParentStyles()},set:function(t){this.setUseParentStyles(t)},enumerable:!1,configurable:!0}),F.prototype.getUseParentStyles=function(){return this.properties.getBool(F.propertyUseParentStyles,!1)},F.prototype.setUseParentStyles=function(t){this.useParentStyles!=t&&(this.properties.setBool(F.propertyUseParentStyles,t,!1),t&&null!=this.parent&&this.parent.setParentStylesToChilds())},Object.defineProperty(F.prototype,"page",{get:function(){return this.getPage()},set:function(t){this.setPage(t)},enumerable:!1,configurable:!0}),F.prototype.getPage=function(){return this._page},F.prototype.setPage=function(t){this._page=t},Object.defineProperty(F.prototype,"parent",{get:function(){return this._parent},set:function(t){this._parent=t},enumerable:!1,configurable:!0}),F.prototype.isExportAsImage=function(t){var n=this.as(r.IStiBrush),i=this.as(r.IStiTextBrush);if(null!=n){var o=n.brush;if(t==e.StiExportFormat.Pdf&&(o.is(k)||o.is(M)||o.is(O)||o.is(_)))return!1;if(t==e.StiExportFormat.Xps&&o.is(k)&&(null==i||!i.textBrush.is(k)))return!1;if(t==e.StiExportFormat.ImageSvg&&(o.is(k)||o.is(M)||o.is(O)||o.is(_)))return!1;if(o.is(k)||o.is(M)||o.is(_)||o.is(O))return!0}if(null!=i){var a=i.textBrush;if(t==e.StiExportFormat.Pdf&&(a.is(k)||a.is(M)||a.is(O)))return!1;if(a.is(k)||a.is(M)||a.is(_)||a.is(O))return!0}return!1},F.prototype.invokeOnResizeComponent=function(t,e){this.lockOnResize||this.onResizeComponent(t,e)},F.prototype.onResizeComponent=function(t,e){var n,i,o=this.as(r.StiContainer);if(null==o)return;var a=e.width-t.width,s=e.height-t.height;try{for(var l=__values(o.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;0!=a&&((c.anchor&r.StiAnchorMode.Left)>0&&(c.anchor&r.StiAnchorMode.Right)>0&&(c._width=c._width+a),0==(c.anchor&r.StiAnchorMode.Left)&&(c.anchor&r.StiAnchorMode.Right)>0&&(c._left=c._left+a)),0!=s&&((c.anchor&r.StiAnchorMode.Top)>0&&(c.anchor&r.StiAnchorMode.Bottom)>0&&(c._height=c._height+s),0==(c.anchor&r.StiAnchorMode.Top)&&(c.anchor&r.StiAnchorMode.Bottom)>0&&(c._top=c._top+s))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}},F.prototype.clearContents=function(){var t,e,n=this.as(r.IStiText);null!=n&&this.isSelected&&n.setTextInternal("");var i=this.as(r.StiContainer);if(null!=i)try{for(var o=__values(i.components.list),a=o.next();!a.done;a=o.next()){var s;a.value.clearContents()}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}},F.prototype.toString=function(){if(o.isNullOrEmpty(this.alias))return this.name;if(StiOptions.Dictionary.showOnlyAliasForComponents)return this.alias;return this.name+" ["+this.alias+"]"},Object.defineProperty(F.prototype,"isCross",{get:function(){return!1},enumerable:!1,configurable:!0}),F.prototype.canContainIn=function(t){if(t.is(r.IStiCrossTab)){if(this.is(r.IStiCrossTabField))return!0;return!1}if(!t.is(r.StiContainer))return!1;if(t.is(r.StiClone))return!1;if(t.is(r.StiSubReport))return!1;return!0},F.prototype.componentToPage=function(t){var e;return null!=(null==this.parent?null:this.parent.as(r.StiContainer))?this.parent.containerToPage(t):t},F.prototype.pageToComponent=function(t){var e;return null!=(null==this.parent?null:this.parent.as(r.StiContainer))?this.parent.pageToContainer(t):t},F.isParentSelect=function(t){var e=t.parent;while(null!=e&&!e.is(r.StiPage)){if(e.isSelected)return!0;e=e.parent}return!1},F.doOffsetRect=function(t,e,n){if(t.is(r.StiPage))return e;return!this.isParentSelect(t)&&t.isSelected&&(e=e.offsetRect(n)),e},F.prototype.getPaintRectangle=function(t,e,n){if(void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),null!=this.page){n&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.dockStyle!=r.StiDockStyle.None&&this.dockable&&(this.displayRectangle=this.dockToContainer2(this.displayRectangle)));var i=this.clientRectangle.clone(),o=this.page.offsetRectangle;if(i=F.doOffsetRect(this,i,this.page.offsetRectangle),i=(i=this.componentToPage(i)).normalize(),!t)return e?i.multiply(this.page.zoom):i;return e?this.page.unit.convertRectangleToHInches(i).multiply(this.page.zoom):this.page.unit.convertRectangleToHInches(i)}return D.empty},F.prototype.setPaintRectangle=function(t){t=(t=this.pageToComponent(t)).normalize(),this.clientRectangle=t},F.prototype.getDisplayRectangle2=function(){var t=this.displayRectangle,e=this.page.offsetRectangle;return t=F.doOffsetRect(this,t,this.page.offsetRectangle),t=(t=this.componentToPage(t)).normalize()},F.prototype.getDataBand=function(){var e=this.parent;if(null==e)return null;while(null!=e&&!e.is(r.StiDataBand)&&!e.is(r.StiPage)){var n=e.as(r.StiReportTitleBand);if(null!=n){var i=n.getMaster();if(null!=i)return i}var o=e.as(r.StiPageHeaderBand);if(null!=o){var a=o.getMaster();if(null!=a)return a}var s=e.as(r.StiReportSummaryBand);if(null!=s){var l=s.getMaster();if(null!=l)return l}var u=e.as(r.StiPageFooterBand);if(null!=u){var c=u.getMaster();if(null!=c)return c}var p=e.as(r.StiHeaderBand);if(null!=p){var h=t.Report.Engine.StiHeaderBandBuilder.getMaster(p);if(null!=h)return h}var m=e.as(r.StiFooterBand);if(null!=m){var f=t.Report.Engine.StiFooterBandBuilder.getMaster(m);if(null!=f)return f}e=e.parent}if(e.is(r.StiDataBand))return e;return null},F.prototype.getGroupHeaderBand=function(){var e=null;if(null==(e=this.is(r.StiGroupFooterBand)?this:this.parent))return null;if(e.is(r.StiChildBand)&&null!=e.parent){var n=e.parent.components.indexOf(e)-1;while(n>0&&e.parent.components.getByIndex(n).is(r.StiChildBand))n--;n>=0&&(e=e.parent.components.getByIndex(n))}while(!(null==e||e.is(r.StiDataBand)||e.is(r.StiGroupHeaderBand)||e.is(r.StiGroupFooterBand)||e.is(r.StiPage)))e=e.parent;if(e.is(r.StiGroupHeaderBand))return e;if(e.is(r.StiGroupFooterBand)||e.is(r.StiDataBand)){var i=null;if(e.is(r.StiDataBand))i=e.as(r.StiDataBand);else for(var n,o=n=e.parent.components.indexOf(e)-1;o>=0;o--){var a=e.parent.components.getByIndex(o).as(r.StiDataBand);if(null!=a){i=a;break}}if(null!=i){var s=t.Report.Engine.StiBuilder.getBuilder(r.StiDataBand);if(i.dataBandInfo.groupHeaderComponents=s.getGroupHeaders(i),i.dataBandInfo.groupFooterComponents=s.getGroupFooters(i),s.groupsComparison(i),e.is(r.StiGroupFooterBand))return e.groupFooterBandInfo.groupHeader;if(i.dataBandInfo.groupHeaderComponents.count>0)return i.dataBandInfo.groupHeaderComponents.getByIndex(i.dataBandInfo.groupHeaderComponents.count-1)}}return null},F.prototype.getContainer=function(){var t=this.parent;if(null==t)return null;while(null!=t&&!t.is(r.StiContainer)&&!t.is(r.StiPage))t=t.parent;if(t.is(r.StiContainer))return t;if(t.is(r.StiPage))return t;return t.page},F.prototype.checkForParentComponent=function(t){if(null==this.parent)return!1;if(this.parent==t)return!0;return this.parent.checkForParentComponent(t)},F.prototype.getComponentStyle2=function(){if(o.isNullOrWhiteSpace(this.componentStyle)||null==this.report)return null;return this.report.styles.getByName(this.componentStyle)},F.prototype.construct=function(e){void 0===e&&(e=D.empty),e.isEmpty?(this._left=0,this._top=0,this._width=0,this._height=0):this.clientRectangle=e,this.lockOnResize=!1,this.is(r.StiDataBand)||this.is(r.StiGroupHeaderBand)?this.interaction=new r.StiBandInteraction:this.is(t.Report.CrossTab.StiCrossHeader)?this.interaction=new r.StiCrossHeaderInteraction:this.interaction=new r.StiInteraction},F.propertyInherited=Math.random().toString().substr(2),F.propertyRenderedCount=Math.random().toString().substr(2),F.propertyMinSize=Math.random().toString().substr(2),F.propertyMaxSize=Math.random().toString().substr(2),F.eventGetToolTip={},F.eventGetHyperlink={},F.eventGetTag={},F.eventGetBookmark={},F.eventBeforePrint={},F.eventAfterPrint={},F.eventGetDrillDownReport={},F.eventClick={},F.eventDoubleClick={},F.eventMouseEnter={},F.eventMouseLeave={},F.eventPainting={},F.eventPainted={},F.propertyRestrictions=Math.random().toString().substr(2),F.propertyPlaceOnToolbox=Math.random().toString().substr(2),F.propertyDockable=Math.random().toString().substr(2),F.propertyComponentStyle=Math.random().toString().substr(2),F.propertyLocked=Math.random().toString().substr(2),F.propertyLinked=Math.random().toString().substr(2),F.propertyUseParentStyles=Math.random().toString().substr(2),F}(w);r.StiComponent=H}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.IStiGetFonts,i=t.System.StiArray,o=t.System.StiString,a=t.Report.Events.StiValueEventHandler,s=t.Report.Components.StiComponent,l=t.Base.StiJsonReportObjectHelper,u=t.Base.StiJsonSaveMode,c=t.Base.JsonReportObject.IStiJsonReportObject,p=t.Base.Localization.StiLocalization,h=t.System.Enum,m=t.System.Drawing.Color,f=t.System.Drawing.Rectangle,d=t.Base.Drawing.StiVertAlignment,g=t.Base.Drawing.StiHorAlignment,S=t.Report.Expressions.StiExpression,y=t.System.Drawing.Font,A=t.Report.Events.StiValueEventArgs,b=t.System.Drawing.FontStyle,v=t.System.Drawing.GraphicsUnit,C=t.Report.Components.StiAngle,w=t.Base.Drawing.StiBorder,B=t.Report.Components.IStiBackColor,I=t.Report.Components.IStiForeColor,T=t.Report.Components.IStiExportImage,E=t.Report.Components.IStiExportImageExtended,R=t.Report.Components.IStiHorAlignment,D=t.Report.Components.IStiVertAlignment,P=t.Report.Components.IStiBorder,x=t.Report.Components.IStiEnumAngle,F=function(s){function F(t){void 0===t&&(t=f.empty);var e=s.call(this,t)||this;return e._angle=C.Angle0,e._border=new w,e._foreColor=m.black,e._backColor=m.white,e._autoScale=!1,e._showLabelText=!0,e._showQuietZones=!0,e._barCodeType=new r.StiEAN13BarCodeType,e._font=null,e._horAlignment=g.Left,e._vertAlignment=d.Top,e._codeValue=null,e._code=null,e.defaultClientRectangle=new f(0,0,240,110),e.code="1234567890123",e}return __extends(F,s),F.prototype.implements=function(){return F.implementsStiBarCode||(F.implementsStiBarCode=s.prototype.implements.call(this).concat([r.IStiBarCode,B,I,T,E,D,R,x,P,c,n])),F.implementsStiBarCode},F.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyEnum("Angle",C,this.angle,C.Angle0),e.addPropertyStringNullOrEmpty("Border",l.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("ForeColor",l.Serialize.jColor(this.foreColor,m.black)),e.addPropertyStringNullOrEmpty("BackColor",l.Serialize.jColor(this.backColor,m.white)),e.addPropertyBool("AutoScale",this.autoScale),e.addPropertyBool("ShowLabelText",this.showLabelText,!0),e.addPropertyBool("ShowQuietZones",this.showQuietZones,!0),e.addPropertyStringNullOrEmpty("Font",l.Serialize.font(this.font,"Arial",8,b.Bold,v.Pixel)),e.addPropertyEnum("HorAlignment",g,this.horAlignment,g.Left),e.addPropertyEnum("VertAlignment",d,this.vertAlignment,d.Top),e.addPropertyJObject("GetBarCodeEvent",this.getBarCodeEvent.saveToJsonObject(t)),e.addPropertyJObject("BarCodeType",this.barCodeType.saveToJsonObject(t)),t==u.Document?e.addPropertyStringNullOrEmpty("CodeValue",this.codeValue):e.addPropertyJObject("Code",new S(this.code).saveToJsonObject(t)),e},F.prototype.loadFromJsonObject=function(e){var n,i;s.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var u=a.value;switch(u.name){case"Angle":this._angle=h.parse(C,u.value.toString());break;case"Border":this._border=l.Deserialize.border(u.value.toString());break;case"ForeColor":this._foreColor=l.Deserialize.color(u.value.toString());break;case"BackColor":this._backColor=l.Deserialize.color(u.value.toString());break;case"AutoScale":this._autoScale=u.value.stimulsoft.toBoolean();break;case"ShowLabelText":this._showLabelText=u.value.stimulsoft.toBoolean();break;case"ShowQuietZones":this._showQuietZones=u.value.stimulsoft.toBoolean();break;case"Font":this._font=l.Deserialize.font(u.value.toString(),this.font);break;case"HorAlignment":this._horAlignment=h.parse(g,u.value.toString());break;case"VertAlignment":this._vertAlignment=h.parse(d,u.value.toString());break;case"CodeValue":this._codeValue=u.value.toString();break;case"Code":var c=new S;c.loadFromJsonObject(u.value),this.code=c.value;break;case"GetBarCodeEvent":var p=new t.Report.Events.StiGetBarCodeEvent;p.loadFromJsonObject(u.value),this.getBarCodeEvent=p;break;case"BarCodeType":this._barCodeType=r.StiBarCodeTypeService.loadFromJsonObjectInternal(u.value);break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},F.prototype.loadFromXml=function(e,n){s.prototype.loadFromXml.call(this,e,n);for(var i=0;i40&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=this.module>20?2:2.2;t3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.codabarTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),r.prototype.codeToBar=function(t){for(var e=new i,r=!0,n=0;n40&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.2&&(this._height=.2),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"checksum",{get:function(){return this._checksum},set:function(t){this._checksum=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.code11TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[3]=!0,t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,i,a){var s=this.getCode(e);s=this.checkCodeSymbols(s,this.code11Symbols);var l=0;this.checksum==r.StiCode11CheckSum.Auto&&(l=s.length>=10?2:1),this.checksum==r.StiCode11CheckSum.OneDigit&&(l=1),this.checksum==r.StiCode11CheckSum.TwoDigits&&(l=2);var u=n.create(Number,s.length+2+l);u[0]=this.code11StartStopSymbolIndex;for(var c=0;c0;c--)p+=u[c]*h,++h>10&&(h=1);if(u[s.length+1]=p%11,2==l){p=0,h=1;for(var c=s.length+1;c>0;c--)p+=u[c]*h,++h>9&&(h=1);u[s.length+2]=p%9}u[u.length-1]=u[0];for(var m=new o,c=0;c40&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return this.code128TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=r.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),i.prototype.codeToBar=function(t){for(var e=new n,r=!0,i=0;i=e.ControlCodes.FNC1&&s<=e.ControlCodes.FNC4)&&o.append(t.charAt(a))}var l=o.toString(),u=this.getSet(l,0,e.CodeSet.None);u==e.CodeSet.A?i.append(String.fromCharCode(e.BarcodeCommands.StartA)):u==e.CodeSet.B?i.append(String.fromCharCode(e.BarcodeCommands.StartB)):i.append(String.fromCharCode(e.BarcodeCommands.StartC)),r&&i.append(String.fromCharCode(e.BarcodeCommands.FNC1));var c=0;while(c=e.ControlCodes.FNC1&&s<=e.ControlCodes.FNC4&&(s==e.ControlCodes.FNC1?i.append(String.fromCharCode(e.BarcodeCommands.FNC1)):s==e.ControlCodes.FNC2?i.append(String.fromCharCode(e.BarcodeCommands.FNC2)):s==e.ControlCodes.FNC3?i.append(String.fromCharCode(e.BarcodeCommands.FNC3)):u==e.CodeSet.A?i.append(String.fromCharCode(e.BarcodeCommands.FNC4A)):i.append(String.fromCharCode(e.BarcodeCommands.FNC4B))),u==e.CodeSet.A)i.append(String.fromCharCode(s>=32?s-32:s+64));else if(u==e.CodeSet.B)i.append(String.fromCharCode(s-32));else{var h,m=10*(s-48)+(l.charCodeAt(c+1)-48);i.append(String.fromCharCode(m)),c++}c++}return i.append(String.fromCharCode(0)),i.append(String.fromCharCode(e.BarcodeCommands.Stop)),i.toString()},i.prototype.isDigit=function(t){var e=t.charCodeAt(0);if(e>47&&e<58)return!0;return!1},i.prototype.getSet=function(t,r,n){if(0==t.length||r>t.length-1)return e.CodeSet.A;var i=t.charCodeAt(r);if(i>=e.ControlCodes.FNC1&&i<=e.ControlCodes.FNC4){if(n==e.CodeSet.None)return this.defaultCodeSetAB;if(i==e.ControlCodes.FNC1)return n;return n==e.CodeSet.C?this.defaultCodeSetAB:n}if(i<32)return e.CodeSet.A;if(i>=96)return e.CodeSet.B;if(this.isDigit(t.charAt(r)))if(n==e.CodeSet.C){if(r+1=32&&129!=u?String.fromCharCode(u):String.fromCharCode(8226))}for(var c=this.encodeAuto(a,!1),p=n.create(Number,c.length),l=0;l?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+"");var s=new i,l=n.create(Number,a.length+3);l[0]=103;for(var u=l[0],c=0;c=32?p-32:p+64,129==p&&(l[c+1]=102),u+=l[c+1]*(c+1),s.append(p>=32&&129!=p?String.fromCharCode(p):String.fromCharCode(8729))}l[l.length-2]=u%103,l[l.length-1]=106;for(var h=new i,c=0;c?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+""+"");var s=new i,l=n.create(Number,a.length+3);l[0]=104;for(var u=l[0],c=0;c0&&s.push(u),0==s.length&&s.push(u);for(var h=new i,c=0;c40&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=this.module>20?2:2.2;t3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.code39TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t[23]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new o,r=!0,n=0;n40&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=this.module>20?2:2.2;t3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.code93TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),r.prototype.codeToBar=function(t){for(var e=new i,r=!0,n=0;n=0;l--)u+=s[l+1]*c,++c>20&&(c=1);s[s.length-3]=u%47;var p=0;c=1;for(var l=a.length;l>=0;l--)p+=s[l+1]*c,++c>15&&(c=1);s[s.length-2]=p%47,s[0]=this.code93Table.length-2,s[s.length-1]=this.code93Table.length-1;for(var h=new i,l=0;lA",">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"],i}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCode93ExtBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code93 Extended"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"Abc123"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);null==a&&(a="");for(var s=new i,l=new i,u=0;u=0;u--)h+=p[u+1]*m,++m>20&&(m=1);p[p.length-3]=h%47;var f=0;m=1;for(var u=a.length;u>=0;u--)f+=p[u+1]*m,++m>15&&(m=1);p[p.length-2]=f%47,p[0]=this.code93Table.length-2,p[p.length-1]=this.code93Table.length-1;for(var d=new i,u=0;u255&&(e^=301);this.rlen=t,this.rspoly=n.create(Number,t+1);var i=1;this.rspoly[0]=1;for(var o=1;o<=t;o++){this.rspoly[o]=1;for(var a=o-1;a>0;a--)0!=this.rspoly[a]&&(this.rspoly[a]=this.alog[(this.log[this.rspoly[a]]+i)%this.logmod]),this.rspoly[a]^=this.rspoly[a-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+i)%this.logmod],i++}}return t.prototype.encode=function(t,e){for(var r=n.create(Number,this.rlen),i=0;i0;a--)0!=o&&0!=this.rspoly[a]?r[a]=r[a-1]^this.alog[(this.log[o]+this.log[this.rspoly[a]])%this.logmod]:r[a]=r[a-1];0!=o&&0!=this.rspoly[0]?r[0]=this.alog[(this.log[o]+this.log[this.rspoly[0]])%this.logmod]:r[0]=0}return r},t}(),l=function(){function t(t,e,r,n,i,o,a){this.height=t,this.width=e,this.fh=r,this.fw=n,this.bytes=i,this.datablock=o,this.rsblock=a}return t}(),u=function(){function t(e,i,o,a,s){this.gridWidth=0,this.gridHeight=0,this.grid=null,this._errorMessage=null,this.ecc200List=null,this._processTilde=!1;var u=t.convertStringToBytes(e);this.gridWidth=0,this.gridHeight=0;var c=null;if(this._processTilde=s,a!=r.StiDataMatrixSize.Automatic&&(o=!0),this.ecc200List=o?[new l(10,10,10,10,3,3,5),new l(12,12,12,12,5,5,7),new l(8,18,8,18,5,5,7),new l(14,14,14,14,8,8,10),new l(8,32,8,16,10,10,11),new l(16,16,16,16,12,12,12),new l(12,26,12,26,16,16,14),new l(18,18,18,18,18,18,14),new l(20,20,20,20,22,22,18),new l(12,36,12,18,22,22,18),new l(22,22,22,22,30,30,20),new l(16,36,16,18,32,32,24),new l(24,24,24,24,36,36,24),new l(26,26,26,26,44,44,28),new l(16,48,16,24,49,49,28),new l(32,32,16,16,62,62,36),new l(36,36,18,18,86,86,42),new l(40,40,20,20,114,114,48),new l(44,44,22,22,144,144,56),new l(48,48,24,24,174,174,68),new l(52,52,26,26,204,102,42),new l(64,64,16,16,280,140,56),new l(72,72,18,18,368,92,36),new l(80,80,20,20,456,114,48),new l(88,88,22,22,576,144,56),new l(96,96,24,24,696,174,68),new l(104,104,26,26,816,136,56),new l(120,120,20,20,1050,175,68),new l(132,132,22,22,1304,163,62),new l(144,144,24,24,1558,156,62)]:[new l(10,10,10,10,3,3,5),new l(12,12,12,12,5,5,7),new l(14,14,14,14,8,8,10),new l(16,16,16,16,12,12,12),new l(18,18,18,18,18,18,14),new l(20,20,20,20,22,22,18),new l(22,22,22,22,30,30,20),new l(24,24,24,24,36,36,24),new l(26,26,26,26,44,44,28),new l(32,32,16,16,62,62,36),new l(36,36,18,18,86,86,42),new l(40,40,20,20,114,114,48),new l(44,44,22,22,144,144,56),new l(48,48,24,24,174,174,68),new l(52,52,26,26,204,102,42),new l(64,64,16,16,280,140,56),new l(72,72,18,18,368,92,36),new l(80,80,20,20,456,114,48),new l(88,88,22,22,576,144,56),new l(96,96,24,24,696,174,68),new l(104,104,26,26,816,136,56),new l(120,120,20,20,1050,175,68),new l(132,132,22,22,1304,163,62),new l(144,144,24,24,1558,156,62)],a!=r.StiDataMatrixSize.Automatic){var p=this.ecc200List[a];this.gridWidth=p.width,this.gridHeight=p.height}try{var h={ref:this.gridWidth},m={ref:this.gridHeight};c=this.makeGrid(u,h,m,i),this.gridWidth=h.ref,this.gridHeight=m.ref}catch(t){this._errorMessage=t.message}if(null!=c){this.grid=n.create(Number,this.gridWidth*this.gridHeight);for(var f=0;f=0&&0==r[i*e+o]&&this.dataMatrixPlacementBlock(r,t,e,i,o,a++),i-=2,o+=2}while(i>=0&&o=0&&o=0);i+=3,o++}while(i0)switch(i){case r.StiDataMatrixEncodingType.C40:case r.StiDataMatrixEncodingType.Text:case r.StiDataMatrixEncodingType.X12:var u={res:s},c={res:o};this.encodeCTX(t,e,l,i,u,c),s=u.res,o=c.res;break;case r.StiDataMatrixEncodingType.Edifact:var u={res:s},c={res:o};this.encodeE(t,e,l,u,c),s=u.res,o=c.res;break;case r.StiDataMatrixEncodingType.Ascii:var u={res:s},c={res:o};this.encodeA(t,e,l,u,c),s=u.res,o=c.res;break;case r.StiDataMatrixEncodingType.Binary:var u={res:s},c={res:o};this.encodeB(t,e,l,u,c),s=u.res,o=c.res;break}var p=o;o254&&(h-=254),t[o++]=h}if(o>e||s255?(i[l]==r.BarcodeCommandCode.Fnc1&&(e[u++]=a.FNC1),l++):i.length-l>=2&&t.isDigit(i[l])&&t.isDigit(i[l+1])?(e[u++]=10*(i[l]-"0".charCodeAt(0))+i[l+1]-"0".charCodeAt(0)+130,l+=2):i[l]>127?(e[u++]=235,e[u++]=i[l++]-127):e[u++]=i[l++]+1}while(l>4,t[l]=(15&u[1])<<4,2==c?l++:(t[l++]|=(60&u[2])>>2,t[l]=(3&u[2])<<6,t[l++]|=63&u[3])}while(s?@[\\]_"+String.fromCharCode(r.BarcodeCommandCode.Fnc1),d="",g="";s==r.StiDataMatrixEncodingType.C40&&(t[p++]=a.ModeC40,g=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",d="`abcdefghijklmnopqrstuvwxyz{|}~"),s==r.StiDataMatrixEncodingType.Text&&(t[p++]=a.ModeText,g=" 0123456789abcdefghijklmnopqrstuvwxyz",d="`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~"),s==r.StiDataMatrixEncodingType.X12&&(t[p++]=a.ModeX12,g=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\r*>");do{if(c+1==o.length&&0==m){t[p++]=a.EscapeToAscii;var S={res:c},y={res:p};return this.encodeA(t,e,o,S,y),c=S.res,p=y.res,void(s=r.StiDataMatrixEncodingType.Ascii)}var A=o[c++];if(0!=(128&A)){if(s==r.StiDataMatrixEncodingType.X12)throw i.format("Cannot encode char 0x{0:X2} in X12",A);A&=127,h[m++]=1,h[m++]=30}var b=g.indexOf(String.fromCharCode(A));if(b>=0)h[m++]=(b+3)%40;else{if(s==r.StiDataMatrixEncodingType.X12)throw i.format("Cannot encode char 0x{0:X2} in X12",A);if(A<32)h[m++]=0,h[m++]=A;else if((b=f.indexOf(String.fromCharCode(A)))>=0)h[m++]=1,h[m++]=b;else{if(!((b=d.indexOf(String.fromCharCode(A)))>=0))throw i.format("Cannot encode char 0x{0:X2}",A);h[m++]=2,h[m++]=b}}c==o.length&&m%3==2&&(h[m++]=0);while(m>=3){var v=1600*h[0]+40*h[1]+h[2]+1;t[p++]=v>>8,t[p++]=255&v,m-=3,h[0]=h[3],h[1]=h[4],h[2]=h[5],h[3]=0,h[4]=0,h[5]=0}}while(c="0".charCodeAt(0)&&t<="9".charCodeAt(0)},t.convertStringToBytes=function(t){for(var e=n.create(Number,t.length),r=0;r0)throw new Error("Cannot find suitable size, barcode too long");l=this.ecc200List[h].width,u=this.ecc200List[h].height}if(0==this.dataMatrixEncode(c,this.ecc200List[h].bytes,t,o)&&t.length>0)throw i.format("Barcode too long for {0}x{1}",l,u);this.makeEcc200Blocks(c,this.ecc200List[h].bytes,this.ecc200List[h].datablock,this.ecc200List[h].rsblock);var f=l-2*(l/this.ecc200List[h].fw),d=u-2*(u/this.ecc200List[h].fh),g=this.dataMatrixPlacement(d,f);p=n.create(Number,l*u);var S=0,y=0;for(y=0;y7&&0!=(c[(A>>3)-1]&1<<(7&A)))&&(p[(1+y+2*Math.floor(y/(this.ecc200List[h].fh-2)))*l+1+S+2*Math.floor(S/(this.ecc200List[h].fw-2))]=1)}return a=l,s=u,e.ref=a,r.ref=s,p},t}();r.StiDataMatrix=u;var c=function(t){function i(e,n,i,o,a){void 0===e&&(e=40),void 0===n&&(n=r.StiDataMatrixEncodingType.Ascii),void 0===i&&(i=!1),void 0===o&&(o=r.StiDataMatrixSize.Automatic),void 0===a&&(a=!1);var s=t.call(this)||this;return s._module=40,s._height=1,s._encodingType=r.StiDataMatrixEncodingType.Ascii,s._matrixSize=r.StiDataMatrixSize.Automatic,s._useRectangularSymbols=!1,s._processTilde=!1,s.module=e,s.encodingType=n,s.useRectangularSymbols=i,s.matrixSize=o,s.processTilde=a,s}return __extends(i,t),i.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyNumber("Height",this.height,1),n.addPropertyNumber("Module",this.module,40),n.addPropertyEnum("EncodingType",r.StiDataMatrixEncodingType,this.encodingType,r.StiDataMatrixEncodingType.Ascii),n.addPropertyEnum("MatrixSize",r.StiDataMatrixSize,this.matrixSize,r.StiDataMatrixSize.Automatic),n.addPropertyBool("UseRectangularSymbols",this.useRectangularSymbols),n.addPropertyBool("ProcessTilde",this.processTilde,!1),n},i.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),a=i.next();!a.done;a=i.next()){var s=a.value;switch(s.name){case"Module":this.module=s.value.stimulsoft.toNumber();break;case"Height":this.height=s.value.stimulsoft.toNumber();break;case"EncodingType":this.encodingType=o.parse(r.StiDataMatrixEncodingType,s.value.toString());break;case"MatrixSize":this.matrixSize=o.parse(r.StiDataMatrixSize,s.value.toString());break;case"UseRectangularSymbols":this.useRectangularSymbols=s.value.stimulsoft.toBoolean();break;case"ProcessTilde":this.processTilde=s.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var n=0;n400&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"encodingType",{get:function(){return this._encodingType},set:function(t){this._encodingType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"matrixSize",{get:function(){return this._matrixSize},set:function(t){this._matrixSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"useRectangularSymbols",{get:function(){return this._useRectangularSymbols},set:function(t){this._useRectangularSymbols=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"processTilde",{get:function(){return this._processTilde},set:function(t){this._processTilde=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var o=new u(i,this.encodingType,this.useRectangularSymbols,this.matrixSize,this.processTilde);this.barCodeData.matrixGrid=o.matrix,this.barCodeData.matrixWidth=o.width,this.barCodeData.matrixHeight=o.height,this.barCodeData.matrixRatioY=1,null==o.errorMessage?this.draw2DBarCode(t,r,e,n):this.drawBarCodeError2(t,r,e,o.errorMessage)},i.prototype.createNew=function(){return new i},i}(r.StiBarCodeTypeService);r.StiDataMatrixBarCodeType=c}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Drawing.StringAlignment,o=t.System.Text.StringBuilder,a=function(t){function r(e,r){void 0===e&&(e=20),void 0===r&&(r=1);var n=t.call(this)||this;return n.dutchKIXSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",n.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"],n._module=20,n._height=1,n.dutchKIXSpaceLeft=3.9,n.dutchKIXSpaceRight=3.9,n.dutchKIXSpaceTop=3.9,n.dutchKIXSpaceBottom=2,n.dutchKIXLineHeightLong=10,n.dutchKIXLineHeightShort=.62*n.dutchKIXLineHeightLong,n.dutchKIXTextPosition=n.dutchKIXSpaceTop+n.dutchKIXLineHeightLong+n.dutchKIXSpaceBottom+1,n.dutchKIXTextHeight=5,n.dutchKIXMainHeight=n.dutchKIXSpaceTop+n.dutchKIXLineHeightLong+n.dutchKIXSpaceBottom+7,n.dutchKIXLineHeightForCut=n.dutchKIXLineHeightLong,n._module=e,n._height=r,n}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,20),r.addPropertyNumber("Height",this.height,1),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r25&&(this._module=25)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<1&&(this._height=1),t>1&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.dutchKIXTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textAlignment",{get:function(){return i.Center},enumerable:!1,configurable:!0}),r.prototype.charTo4State=function(t){var e=this.dutchKIXSymbols.indexOf(t);return this.dutchKIXCodes[e]},r.prototype.stateToBar=function(t){for(var e=new o,r=0;r0?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiDutchKIXBarCodeType=a}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Text.StringBuilder,o=function(t){function r(e,r){return void 0===e&&(e=13),void 0===r&&(r=1),t.call(this,e,r)||this}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiEAN128AutoBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"EAN-128 Auto"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"1234567890123"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){for(var a=this.getCode(e),s=new i,l=0;l=32&&129!=u?String.fromCharCode(u):String.fromCharCode(8729))}for(var c=this.encodeAuto(a,!0),p=n.create(Number,c.length),l=0;l?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+"");var s=new i,l=n.create(Number,a.length+4);l[0]=103,l[1]=102;for(var u=l[0]+l[1],c=0;c=32?p-32:p+64,129==p&&(l[c+2]=102),u+=l[c+2]*(c+2),s.append(p>=32&&129!=p?String.fromCharCode(p):String.fromCharCode(8729))}l[l.length-2]=u%103,l[l.length-1]=106;for(var h=new i,c=0;c?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+"F"+"");var s=new i,l=n.create(Number,a.length+4);l[0]=104,l[1]=102;for(var u=l[0]+l[1],c=0;c0&&s.push(u),0==s.length&&s.push(u);for(var h=new i,c=0;c26&&(this._module=26)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>1&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"supplementType",{get:function(){return this._supplementType},set:function(t){this._supplementType=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"supplementCode",{get:function(){return this._supplementCode},set:function(t){this._supplementCode=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"showQuietZoneIndicator",{get:function(){return this._showQuietZoneIndicator},set:function(t){this._showQuietZoneIndicator=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"labelFontHeight",{get:function(){return this.eanTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceLeft",{get:function(){return 11},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceRight",{get:function(){return 8},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceTop",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceBottom",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceBeforeAdd",{get:function(){return 10},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanSpaceTextTop",{get:function(){return 10},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanLineHeightShort",{get:function(){return 69.2},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanLineHeightLong",{get:function(){return this.eanLineHeightShort+5},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanTextPositionTop",{get:function(){return.5},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanTextPositionBottom",{get:function(){return this.eanLineHeightShort+this.eanSpaceBottom},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanTextHeight",{get:function(){return 8.33},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanMainHeight",{get:function(){return 78.58},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanLineHeightForCut",{get:function(){return this.eanLineHeightShort},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"eanWideToNarrowRatio",{get:function(){return 2},enumerable:!1,configurable:!0}),d.prototype.calculateSizeEan=function(t,e,r,n,i){var o,u;this.barCodeData.wideToNarrowRatio=2,this.barCodeData.eanBarsArray=r;var c=new s;try{for(var p=__values(r),h=p.next();!h.done;h=p.next()){var m=h.value;c.append(this.ean13SymData[m.symbolType])}}catch(t){o={error:t}}finally{try{h&&!h.done&&(u=p.return)&&u.call(p)}finally{if(o)throw o.error}}var f=this.getSymbolsStringWidth(c.toString());this.rectWindow=new l(0,0,n.width,n.height),i.angle!=a.Angle90&&i.angle!=a.Angle270||(this.rectWindow=new l(0,0,n.height,n.width));var d=i.font.sizeInPoints-8+.5,g=this.eanMainHeight+d,S=this.eanTextHeight+d,y=this.module/10*e,A=y,b=this.eanLineHeightForCut*(1-this.height),v=this.eanSpaceTextTop+d;i.autoScale&&(y=this.rectWindow.width/f,b=-(this.rectWindow.height/A-(g+t)),i.showLabelText||(b-=this.eanTextHeight,v-=this.eanTextHeight)),this.barCodeData.fullZoomY=A,this.barCodeData.spaceLeft=this.eanSpaceLeft*y,this.barCodeData.spaceRight=this.eanSpaceRight*y,this.barCodeData.spaceBeforeAdd=this.eanSpaceBeforeAdd*y,this.barCodeData.lineWidth=1*y,this.barCodeData.mainWidth=f*y,this.barCodeData.spaceTop=this.eanSpaceTop*A,this.barCodeData.spaceBottom=this.eanSpaceBottom*A,this.barCodeData.spaceTextTop=v*A,this.barCodeData.lineHeightShort=(this.eanLineHeightShort-b)*A,this.barCodeData.lineHeightLong=(this.eanLineHeightLong-b)*A,this.barCodeData.textPositionTop=this.eanTextPositionTop*A,this.barCodeData.textPositionBottom=(this.eanTextPositionBottom-b)*A,this.barCodeData.mainHeight=(g+t-b)*A,this.barCodeData.textHeight=S*A,this.barCodeData.offsetY=t*A},d.prototype.drawEanBars=function(t,e,r){var n,a,s=new u(r.backColor),h=new u(r.foreColor);this.baseFillRectangle(t,s,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);var m=0,f=this.barCodeData.offsetY+this.barCodeData.spaceTop,d=new p,g=new c(r.font.name,r.font.size*(r.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,r.font.style,o.Pixel);d.alignment=i.Center,d.lineAlignment=i.Near;try{for(var S=__values(e),y=S.next();!y.done;y=S.next()){var A=y.value,b=0,v=this.ean13SymData[A.symbolType];A.makeLonger&&(v=this.makeLonger(v));for(var C=0;C":" ",!1)):l.push(new m(f.SpaceBeforeAdd," ",!1)),t.ref=r,l},d.prototype.makeEanAdd2Bars=function(t,e,r){var n=null!=e?e:[];n.push(new m(f.GuardAddLeft," ",!0));for(var i=2,o=this.symParitySetAdd2[parseInt(t.substr(0,2))%4],a=0;a":" ",!0)):n.push(new m(f.SpaceBeforeAdd," ",!0)),n},d.prototype.makeEanAdd5Bars=function(t,e,r){var n=null!=e?e:[];n.push(new m(f.GuardAddLeft," ",!0));for(var i=3*parseInt(t[0].toString())+9*parseInt(t[1].toString())+3*parseInt(t[2].toString())+9*parseInt(t[3].toString())+3*parseInt(t[4].toString()),o=this.symParitySetAdd5[i%10],a=5,s=0;s":" ",!0)):n.push(new m(f.SpaceBeforeAdd," ",!0)),n},d.prototype.makeLonger=function(t){for(var e=new s,r=0;r":" ",!1)):l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceBeforeAdd," ",!1)),l},i.prototype.draw=function(t,e,n,i){var o=this.getCode(e);o=this.checkCodeSymbols(o,"0123456789")+"00000000";var a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s=[];this.supplementType==r.StiEanSupplementType.None?s=this.makeEan8Bars(o,!0):(s=this.makeEan8Bars(o,!1),this.supplementType==r.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,s,!0):this.makeEanAdd5Bars(a,s,!0)),this.calculateSizeEan(0,i,s,n,e),this.translateRect(t,n,e),this.drawEanBars(t,s,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},i}(r.StiEAN13BarCodeType);r.StiEAN8BarCodeType=i}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=function(t){function r(e,r,n){void 0===e&&(e=31.25),void 0===r&&(r=1),void 0===n&&(n=!1);var i=t.call(this)||this;return i.fIMSymbols="abcd",i.fIMTable=["4040114011404","40140401404014","40401401401404","404040140140404"],i.defaultFIMModule=31.25,i._module=i.defaultFIMModule,i._height=1,i._addClearZone=!1,i.fIMSpaceTop=0,i.fIMSpaceBottom=0,i.fIMLineHeightShort=20,i.fIMLineHeightLong=i.fIMLineHeightShort,i.fIMTextPosition=0,i.fIMTextHeight=8,i.fIMMainHeight=i.fIMLineHeightShort,i.fIMLineHeightForCut=i.fIMLineHeightShort,i._module=e,i._height=r,i._addClearZone=n,i}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,this.defaultFIMModule),r.addPropertyNumber("Height",this.height,1),r.addPropertyBool("AddClearZone",this.addClearZone),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"AddClearZone":this._addClearZone=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r40&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t,t<2.25&&(this._ratio=2.25),t>3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printVerticalBars",{get:function(){return this._printVerticalBars},set:function(t){this._printVerticalBars=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return this.itf14TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[14]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,s,l){var u=this.getCode(e);u=this.checkCodeSymbols(u,"0123456789")+i.fill("0",14);for(var c=n.create(Number,14),p=0;p<14;p++)c[p]=u[p].stimulsoft.toNumber();var h,m=10-(3*(c[0]+c[2]+c[4]+c[6]+c[8]+c[10]+c[12])+c[1]+c[3]+c[5]+c[7]+c[9]+c[11])%10;10==m&&(m=0),c[13]=m,u=u.substr(0,13)+String.fromCharCode(m+48);var f=new o;f.append(this.symTableSet[10]);for(var d=0;d<7;d++){var g=this.symTableSet[c[2*d+0]],S=this.symTableSet[c[2*d+1]],y=g[0]+S[0]+g[1]+S[1]+g[2]+S[2]+g[3]+S[3]+g[4]+S[4];f.append(y)}f.append(this.symTableSet[11]);for(var A=f.toString(),b=new o,v=!0,d=0;d40&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=this.module>20?2:2.2;t3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return 8.33},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,n){var o=this.getCode(e);(o=this.checkCodeSymbols(o,"0123456789")).length%2==1&&(o="0"+o);var a=new i;if(a.append(this.symTableSet[10]),o.length>0)for(var s=0;s>=1,i--,this.logmod=(1<0;u--)0!=this.rspoly[u]&&(this.rspoly[u]=this.alog[(this.log[this.rspoly[u]]+r)%this.logmod]),this.rspoly[u]^=this.rspoly[u-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+r)%this.logmod],r++}}return t.prototype.encode=function(t,e){for(var r=n.create(Number,this.rlen),i=0;i0;a--)0!=o&&0!=this.rspoly[a]?r[a]=r[a-1]^this.alog[(this.log[o]+this.log[this.rspoly[a]])%this.logmod]:r[a]=r[a-1];0!=o&&0!=this.rspoly[0]?r[0]=this.alog[(this.log[o]+this.log[this.rspoly[0]])%this.logmod]:r[0]=0}return r},t}(),l=function(){function t(e,r,i,a,s){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=n.create(Number,144),this.character=n.create(Number,144),this.grid=n.create2(Boolean,33,30),this.errorMessage=null;try{if(i<1||i>8)throw new Error("Invalid structured append position: "+i.toString());if(a<1||a>8)throw new Error("Invalid structured append total: "+a.toString());this.mode=r,this.structuredAppendPosition=i,this.structuredAppendTotal=a;var l=s?this.unpackTilde(e):e;if(this.mode==o.Mode2||this.mode==o.Mode3){var u=null;if(l.stimulsoft.startsWith(t.formatHeader)){if(!l.stimulsoft.endsWith(t.formatTrailer))throw new Error("Unexpected end of input data");u=l.substr(7,2),l=l.substr(9,l.length-11)}var c=this.extractPrimaryParts(l);if(c.length<4)throw new Error("Invalid message format");if(this.data_Postcode=c[0].trim(),this.data_Country=c[1].trim().stimulsoft.toNumber(),isNaN(this.data_Country))throw new Error("Invalid country data");if(this.data_Service=c[2].trim().stimulsoft.toNumber(),isNaN(this.data_Service))throw new Error("Invalid service data");if(this.content=c[3].trim(),null!=u&&(this.content=t.formatHeader+u+this.content+t.formatTrailer),this.mode==o.Mode2)for(var p=0;p"9"){this.mode=o.Mode3;break}}else this.content=l;this.encode()}catch(t){this.errorMessage=t.message}}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.gridToMatrix()},enumerable:!1,configurable:!0}),t.prototype.getEciEncoding=function(){if(this.tryCodePage(20127))return 3;return this.tryCodePage(65001),26},t.prototype.tryCodePage=function(t){try{var e=a.getEncoding(t);this.sourceBytes=e.getBytes(this.content);var r=e.getString(this.sourceBytes);if(this.content==r)return!0}catch(t){}return!1},t.prototype.unpackTilde=function(t){var e=0,r="";while(e=0&&a<255&&(r+=String.fromCharCode(a),i=!0,e+=3)}i||(r+=n)}return r},t.prototype.extractPrimaryParts=function(e){var r=[],n=0,i="";while(n0&&r.push(i),r},t.prototype.gridToMatrix=function(){for(var t=n.create(Number,33*30),e=0;e<33;e++)for(var r=0;r<30;r++)this.grid[e][r]&&(t[30*e+r]=1);return t},t.prototype.findBestSet=function(t,e,r,n,i,o,a){void 0===i&&(i=-1),void 0===o&&(o=-1),void 0===a&&(a=-1);var s=this.set[t-1],l=s==r||s==n||s==i||s==o||s==a;if(t+1t;r--)this.set[r]=this.set[r-1],this.character[r]=this.character[r-1];this.character[t]=e},t.prototype.processTextToSymbols=function(){var e=this.sourceBytes.length,r,n;if(e>138)return!1;for(var i=0;i<144;i++)this.set[i]=-1,this.character[i]=0;for(var i=0;i=48&&this.character[r]<=57?a++:a=0,9==a&&(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,a=0);var s=1;r=0;do{if(this.set[r]!=s&&6!=this.set[r]){switch(this.set[r]){case 1:r+1>24,this.character[r+2]=(16515072&l)>>18,this.character[r+3]=(258048&l)>>12,this.character[r+4]=(4032&l)>>6,this.character[r+5]=63&l,n=r+=6;n<140;n++)this.set[n]=this.set[n+3],this.character[n]=this.character[n+3];e-=3}else r++}while(r84)return!1;if((this.mode==o.Mode4||this.mode==o.Mode6)&&e>93)return!1;if(this.mode==o.Mode5&&e>77)return!1;return!0},t.getErrorCorrectionCodewords=function(t,e){for(var r,i=new s(67,e,1).encode(t.length,t),o=n.create(Number,e),a=0;a>2,o[2]=(16128&i)>>8,o[3]=(1032192&i)>>14,o[4]=(66060288&i)>>20,o[5]=(1006632960&i)>>26|(3&t.length)<<4,o[6]=(60&t.length)>>2|(3&e)<<4,o[7]=(252&e)>>2,o[8]=(768&e)>>8|(15&r)<<2,o[9]=(1008&r)>>4,o},t.getMode3PrimaryCodewords=function(t,e,r){var i=n.create(Number,t.length);t=t.toUpperCase();for(var o=0;o="A"&&t[o]<="Z"&&(i[o]-=64),(27==i[o]||31==i[o]||33==i[o]||i[o]>=59)&&(i[o]=32);var a=n.create(Number,10);return a[0]=(3&i[5])<<4|3,a[1]=(3&i[4])<<4|(60&i[5])>>2,a[2]=(3&i[3])<<4|(60&i[4])>>2,a[3]=(3&i[2])<<4|(60&i[3])>>2,a[4]=(3&i[1])<<4|(60&i[2])>>2,a[5]=(3&i[0])<<4|(60&i[1])>>2,a[6]=(60&i[0])>>2|(3&e)<<4,a[7]=(252&e)>>2,a[8]=(768&e)>>8|(15&r)<<2,a[9]=(1008&r)>>4,a},t.prototype.encode=function(){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==o.Mode2||this.mode==o.Mode3?this.codewords.splice(0,0,this.getPrimaryCodewords()):this.codewords.stimulsoft.insert(0,this.mode),this.structuredAppendTotal>1){var e=n.create(Number,2);e[0]=33,e[1]=this.structuredAppendPosition-1<<3|this.structuredAppendTotal-1;var r=void 0;r=this.mode==o.Mode2||this.mode==o.Mode3?10:1,this.codewords.splice(r,0,e)}var i,a;this.mode==o.Mode5?(i=68,a=56):(i=84,a=40);var s=i+10;this.codewords.length>s&&this.codewords.stimulsoft.removeRange(s,this.codewords.length-s);var l=n.create(Number,10);n.copy(this.codewords.stimulsoft.toArray(),0,l,10),this.codewords=this.codewords.slice(0,10).concat(t.getErrorCorrectionCodewords(l,10)).concat(this.codewords.slice(10));var u=n.create(Number,this.codewords.length-20);this.codewords.slice(20).stimulsoft.copyTo(u);for(var c=n.create(Number,u.length/2),p=n.create(Number,u.length/2),h=0;h>5,d[1]=(16&this.codewords[S-1])>>4,d[2]=(8&this.codewords[S-1])>>3,d[3]=(4&this.codewords[S-1])>>2,d[4]=(2&this.codewords[S-1])>>1,d[5]=1&this.codewords[S-1],0!=d[y]?this.grid[h][g]=!0:this.grid[h][g]=!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},t.com_RS=String.fromCharCode(30),t.com_GS=String.fromCharCode(29),t.formatHeader="[)>"+t.com_RS+"01"+t.com_GS,t.formatTrailer=""+t.com_RS+String.fromCharCode(4), t.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],t.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],t.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],t}(),u=function(t){function r(e,r,n,i){void 0===e&&(e=o.Mode4),void 0===r&&(r=1),void 0===n&&(n=1),void 0===i&&(i=!0);var a=t.call(this)||this;return a._mode=o.Mode4,a._processTilde=!0,a._structuredAppendPosition=1,a._structuredAppendTotal=1,a.mode=e,a.structuredAppendPosition=r,a.structuredAppendTotal=n,a.processTilde=i,a}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyEnum("Mode",o,this.mode,o.Mode4),r.addPropertyNumber("StructuredAppendPosition",this.structuredAppendPosition,1),r.addPropertyNumber("StructuredAppendTotal",this.structuredAppendTotal,1),r.addPropertyBool("ProcessTilde",this.processTilde,!0),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;switch(s.name){case"Mode":this.mode=i.parse(o,s.toString());break;case"StructuredAppendPosition":this.structuredAppendPosition=s.value.stimulsoft.toNumber();break;case"StructuredAppendTotal":this.structuredAppendTotal=s.value.stimulsoft.toNumber();break;case"ProcessTilde":this.processTilde=s.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiMaxicodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Maxicode"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"ABC abc 123"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return 10},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"innerHeight",{set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"processTilde",{get:function(){return this._processTilde},set:function(t){this._processTilde=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"structuredAppendPosition",{get:function(){return this._structuredAppendPosition},set:function(t){this._structuredAppendPosition=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"structuredAppendTotal",{get:function(){return this._structuredAppendTotal},set:function(t){this._structuredAppendTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var o=new l(i,this.mode,this.structuredAppendPosition,this.structuredAppendTotal,this.processTilde);this.barCodeData.matrixGrid=o.matrix,null==o.errorMessage?this.drawMaxicode(t,r,e,n):this.drawBarCodeError2(t,r,e,o.errorMessage)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiMaxicodeBarCodeType=u}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Enum,o=t.System.Text.StringBuilder,a=function(t){function a(e,n,i,o){void 0===e&&(e=8),void 0===n&&(n=1),void 0===i&&(i=r.StiPlesseyCheckSum.None),void 0===o&&(o=r.StiPlesseyCheckSum.None);var a=t.call(this)||this;return a.plesseySymbols="0123456789ABCDEF",a.plesseyTable=["0000","1000","0100","1100","0010","1010","0110","1110","0001","1001","0101","1101","0011","1011","0111","1111"],a.plesseyStartCode="1101",a.plesseyStopCode="11",a._module=8,a._height=1,a._checkSum1=r.StiPlesseyCheckSum.None,a._checkSum2=r.StiPlesseyCheckSum.None,a.plesseySpaceLeft=4*5,a.plesseySpaceRight=4*5,a.plesseySpaceTop=0,a.plesseySpaceBottom=1,a.plesseyLineHeightShort=70,a.plesseyLineHeightLong=a.plesseyLineHeightShort,a.plesseyTextPosition=a.plesseyLineHeightShort+a.plesseySpaceBottom,a.plesseyTextHeight=11.5,a.plesseyMainHeight=84,a.plesseyLineHeightForCut=a.plesseyLineHeightShort,a._module=e,a._height=n,a._checkSum1=i,a._checkSum2=o,a}return __extends(a,t),a.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyNumber("Module",this.module,8),n.addPropertyNumber("Height",this.height,1),n.addPropertyEnum("CheckSum1",r.StiPlesseyCheckSum,this.checkSum1,r.StiPlesseyCheckSum.None),n.addPropertyEnum("CheckSum2",r.StiPlesseyCheckSum,this.checkSum2,r.StiPlesseyCheckSum.None),n},a.prototype.loadFromJsonObject=function(t){var e,n;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Module":this._module=s.value.stimulsoft.toNumber();break;case"Height":this._height=s.value.stimulsoft.toNumber();break;case"CheckSum1":this._checkSum1=i.parse(r.StiPlesseyCheckSum,s.value.toString());break;case"CheckSum2":this._checkSum2=i.parse(r.StiPlesseyCheckSum,s.value.toString());break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},a.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var n=0;n40&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"checkSum1",{get:function(){return this._checkSum1},set:function(t){this._checkSum1=t,this._checkSum1==r.StiPlesseyCheckSum.None&&(this.checkSum2=r.StiPlesseyCheckSum.None)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"checkSum2",{get:function(){return this._checkSum2},set:function(t){this._checkSum2=t,this._checkSum2!=r.StiPlesseyCheckSum.None&&this.checkSum1==r.StiPlesseyCheckSum.None&&(this.checkSum1=r.StiPlesseyCheckSum.Modulo10)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.plesseyTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[4]=!0,t[5]=!0,t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new o,r=0;r=0;p--)0==g?(m+=c[p]*d,d*=10):f+=c[p],g=!g;m*=2;var S=0;while(m>=10)S+=m%10,m=Math.floor(m/10);0!=(h=((S+=m)+f)%10)&&(h=10-h)}if(this.checkSum1==r.StiPlesseyCheckSum.Modulo11){for(var m=0,d=2,p=s.length-1;p>=0;p--)m+=c[p]*d,++d>7&&(d=2);0!=(h=m%11)&&(h=11-h)}c[s.length]=h,l.append(this.plesseySymbols[h])}if(this.checkSum2!=r.StiPlesseyCheckSum.None){var h=0;if(this.checkSum2==r.StiPlesseyCheckSum.Modulo10){for(var m=0,f=0,d=1,g=!1,p=s.length;p>=0;p--)0==g?(m+=c[p]*d,d*=10):f+=c[p],g=!g;m*=2;var S=0;while(m>=10)S+=m%10,m=Math.floor(m/10);0!=(h=((S+=m)+f)%10)&&(h=10-h)}if(this.checkSum2==r.StiPlesseyCheckSum.Modulo11){for(var m=0,d=2,p=s.length;p>=0;p--)m+=c[p]*d,++d>7&&(d=2);0!=(h=m%11)&&(h=11-h)}c[s.length+1]=h,l.append(this.plesseySymbols[h])}var y=new o;y.append(this.plesseyStartCode);for(var p=0;p=0;p--)0==g?(m+=c[p]*d,d*=10):f+=c[p],g=!g;m*=2;var S=0;while(m>=10)S+=m%10,m=Math.floor(m/10);0!=(h=((S+=m)+f)%10)&&(h=10-h)}if(this.checkSum1==r.StiPlesseyCheckSum.Modulo11){for(var m=0,d=2,p=s.length-1;p>=0;p--)m+=c[p]*d,++d>7&&(d=2);0!=(h=m%11)&&(h=11-h)}c[s.length]=h,l.append(this.plesseySymbols[h])}if(this.checkSum2!=r.StiPlesseyCheckSum.None){var h=0;if(this.checkSum2==r.StiPlesseyCheckSum.Modulo10){for(var m=0,f=0,d=1,g=!1,p=s.length;p>=0;p--)0==g?(m+=c[p]*d,d*=10):f+=c[p],g=!g;m*=2;var S=0;while(m>=10)S+=m%10,m=Math.floor(m/10);0!=(h=((S+=m)+f)%10)&&(h=10-h)}if(this.checkSum2==r.StiPlesseyCheckSum.Modulo11){for(var m=0,d=2,p=s.length;p>=0;p--)m+=c[p]*d,++d>7&&(d=2);0!=(h=m%11)&&(h=11-h)}c[s.length+1]=h,l.append(this.plesseySymbols[h])}var y=new i;y.append(this.msiStartCode);for(var p=0;p255)throw new Error("Input data not valid for this barcode.");this.text[f]=t[f].charCodeAt(0)}var d=new c;switch(e){case r.StiPdf417EncodingMode.Text:for(var g=0;g=32&&S<=127||9==S||10==S||13==S)continue;throw new Error("Input data not valid for current encoding mode.")}d.addSegment(o.Text,0,this.text.length);break;case r.StiPdf417EncodingMode.Numeric:for(var g=0;g="0".charCodeAt(0)&&this.text[g]<="9".charCodeAt(0))continue;throw new Error("Input data not valid for current encoding mode.")}d.addSegment(o.Numeric,0,this.text.length);break;case r.StiPdf417EncodingMode.Byte:d.addSegment(o.Byte,0,this.text.length);break}var y=this.dataCompaction(d);d=null;var A=y;if(A>this.max_data_codewords)throw new Error("Too many data.");var b=this.max_data_codewords+2-A,v=8,C=512;while(v>0){if(b>=C)break;v--,C>>=1}if(i==r.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=5,A<=320&&(this.errorLevel=4),A<=160&&(this.errorLevel=3),A<=40&&(this.errorLevel=2)),this.errorLevel>v)throw new Error("Too many data - \r\n No space for error correction.");var w=2<30&&(this.codeColumns=30),this.codeRows=Math.floor((B-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),this.codeRows>90&&(this.codeRows=90,this.codeColumns=Math.floor((B-1)/this.codeRows)+1)}else if(u)this.codeColumns=Math.floor((B-1)/this.codeRows)+1,this.codeColumns<1&&(this.codeColumns=1),this.codeColumns>30&&(this.codeColumns=30,this.codeRows=Math.floor((B-1)/this.codeColumns)+1);else if(p)this.codeRows=Math.floor((B-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),this.codeRows>90&&(this.codeRows=90,this.codeColumns=Math.floor((B-1)/this.codeRows)+1);else if(this.codeColumns*this.codeRowsthis.max_data_codewords+2&&(this.codeColumns=29,this.codeRows=32);var T=this.codeColumns*this.codeRows-w-A;y=A;while(0!=T)this.codewords[y++]=a.TextMode,T--;A=y,this.codewords[0]=A,this.calculateErrorCorrection(A),this.makeOutBits(),this.codewords=null,this.text=null}catch(t){this._errorMessage=t.message}}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this._matrix},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixWidth",{get:function(){return this._matrixWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixHeight",{get:function(){return this.codeRows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),t.prototype.makeOutBits=function(){var e=0;this._matrixWidth=(1+1+this.codeColumns+1+1)*this.codeWordLength+1,this._matrix=n.create(Number,this.matrixWidth*this.codeRows);for(var r,i={ref:0},o=0;o>=1}n+=r,e.ref=n},t.prototype.calculateErrorCorrection=function(e){for(var r=e,n=929,i=2<="A".charCodeAt(0)&&r<="Z".charCodeAt(0))return e.ref=r-"A".charCodeAt(0),s.Upper;if(r>="a".charCodeAt(0)&&r<="z".charCodeAt(0))return e.ref=r-"a".charCodeAt(0),s.Lower;if(r==" ".charCodeAt(0))return e.ref=l.Space,s.Upper|s.Lower|s.Mixed;var n="0123456789&\r\t,:#-.$/+%*=^".indexOf(String.fromCharCode(r)),i=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".indexOf(String.fromCharCode(r));if(-1==n&&-1==i)return e.ref=0,s.None;if(n==i)return e.ref=n,s.Mixed|s.Punctuation;if(-1!=n)return e.ref=n,s.Mixed;return e.ref=i,s.Punctuation},t.prototype.textCompaction=function(t,e){var r=e.ref;1!=r&&(this.codewords[r++]=a.TextMode);for(var i=t.start,o=t.length,u=n.create(Number,3*o),c=s.Upper,p=0,h=i;h0){for(var o=i<44?i:44,s=Math.floor(o/3),l=0;l<=s;l++)this.codewords[r+l]=0;this.codewords[r+s]=1;for(var u=n;u=0;l--)this.codewords[r+l]*=10;this.codewords[r+s]+=this.text[u]-"0".charCodeAt(0);for(var l=s;l>0;l--){var c=this.codewords[r+l];c>=900&&(this.codewords[r+l-1]+=Math.floor(c/900),this.codewords[r+l]=c%900)}}r+=s+1,n+=o,i-=o}e.ref=r},t.prototype.byteCompaction=function(t,e){var r=e.ref;this.codewords[r++]=t.length%6!=0?a.ByteMode:a.ByteMode6;var n=t.start,i=t.length;while(i>=6){var o=this.text[n];o*=256,o+=this.text[n+1],o*=256,o+=this.text[n+2],o*=256,o+=this.text[n+3],o*=256,o+=this.text[n+4],o*=256,o+=this.text[n+5],this.codewords[r+4]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+3]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+2]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+1]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+0]=Math.trunc(o%900),r+=5,n+=6,i-=6}if(i>0)for(var s=0;s400&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"encodingMode",{get:function(){return this._encodingMode},set:function(t){this._encodingMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"errorsCorrectionLevel",{get:function(){return this._errorsCorrectionLevel},set:function(t){this._errorsCorrectionLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dataColumns",{get:function(){return this._dataColumns},set:function(t){t<1&&(t=1),t>30&&(t=30),this._dataColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dataRows",{get:function(){return this._dataRows},set:function(t){t<3&&(t=3),t>90&&(t=90),this._dataRows=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"autoDataColumns",{get:function(){return this._autoDataColumns},set:function(t){this._autoDataColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"autoDataRows",{get:function(){return this._autoDataRows},set:function(t){this._autoDataRows=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){t<.01&&(t=.01),t>100&&(t=100),this._aspectRatio=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"ratioY",{get:function(){return this._ratioY},set:function(t){t<2&&(t=2),t>5&&(t=5),this._ratioY=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"visibleProperties",{get:function(){var t=n.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},enumerable:!1,configurable:!0}),o.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var o=new p(i,this.encodingMode,this.errorsCorrectionLevel,this.dataColumns,this.dataRows,this.autoDataColumns,this.autoDataRows,this.aspectRatio,this.ratioY);this.barCodeData.matrixGrid=o.matrix,this.barCodeData.matrixWidth=o.matrixWidth,this.barCodeData.matrixHeight=o.matrixHeight,this.barCodeData.matrixRatioY=this.ratioY,null==o.errorMessage?this.draw2DBarCode(t,r,e,n):this.drawBarCodeError2(t,r,e,o.errorMessage)},o.prototype.createNew=function(){return new o},o}(r.StiBarCodeTypeService);r.StiPdf417BarCodeType=h}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Text.StringBuilder,o=function(t){function r(e,r){void 0===e&&(e=20),void 0===r&&(r=1);var n=t.call(this)||this;return n.pharmacodeSymbols="0123456789",n.defaultPharmacodeModule=20,n._module=20,n._height=1,n.pharmacodeSpaceLeft=1,n.pharmacodeSpaceRight=1,n.pharmacodeSpaceTop=0,n.pharmacodeSpaceBottom=.5,n.pharmacodeLineHeightShort=16,n.pharmacodeLineHeightLong=n.pharmacodeLineHeightShort,n.pharmacodeTextPosition=n.pharmacodeLineHeightShort+n.pharmacodeSpaceBottom,n.pharmacodeTextHeight=5,n.pharmacodeMainHeight=22,n.pharmacodeLineHeightForCut=n.pharmacodeLineHeightShort,n._module=e,n._height=r,n}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,20),r.addPropertyNumber("Height",this.height,1),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.pharmacodeTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,n){var o=this.getCode(e);(o=this.checkCodeSymbols(o,this.pharmacodeSymbols)).length>6&&(o="131070"),o.length<1&&(o="3");var a=parseInt(o);a>131070&&(a=131070),a<3&&(a=3);var s=new i,l=a-3,u=2,c=3;while(l>c)l-=c+1,c=(1<<++u)-1;for(var p=u-1;p>=0;p--)(l&1<0?s.append("6"):s.append("4"),0!=p&&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,n,o,a.toString(),s.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiPharmacodeBarCodeType=o}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Text.StringBuilder,o=function(t){function r(e,r,n){void 0===e&&(e=20),void 0===r&&(r=1),void 0===n&&(n=26);var i=t.call(this)||this;return i.postnetSymbols="0123456789",i.postnetTable=["11000","00011","00101","00110","01001","01010","01100","10001","10010","10100"],i.postnetStartCode="1",i.postnetStopCode="1",i._module=20,i._space=26,i._height=1,i.postnetSpaceLeft=1,i.postnetSpaceRight=1,i.postnetSpaceTop=0,i.postnetSpaceBottom=1,i.postnetLineHeightLong=6.25,i.postnetLineHeightShort=2*i.postnetLineHeightLong/5,i.postnetTextPosition=i.postnetLineHeightLong+i.postnetSpaceBottom,i.postnetTextHeight=5.5,i.postnetMainHeight=14,i.postnetLineHeightForCut=i.postnetLineHeightLong,i._module=e,i._height=r,i._space=n,i}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,20),r.addPropertyNumber("Height",this.height,1),r.addPropertyNumber("Space",this.space,26),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"Space":this._space=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r20&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"space",{get:function(){return this._space},set:function(t){this._space=t,t<12&&(this._space=12),t>40&&(this._space=40)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<1&&(this._height=1),t>4&&(this._height=4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.postnetTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[18]=!0,t},enumerable:!1,configurable:!0}),r.prototype.codeToBar=function(t){for(var e=new i,r=0;r11&&(a=a.substr(0,11)),a.length){case 0:a="00000";break;case 1:a+="0000";break;case 2:case 6:a+="000";break;case 3:case 7:a+="00";break;case 4:case 8:case 10:a+="0";break}var s=new i(a);11==a.length&&s.insert(9,"-"),a.length>5&&s.insert(5,"-");for(var l=n.create(Number,a.length+1),u=0;u400&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"errorCorrectionLevel",{get:function(){return this._errorCorrectionLevel},set:function(t){this._errorCorrectionLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"matrixSize",{get:function(){return this._matrixSize},set:function(t){this._matrixSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"imageMultipleFactor",{get:function(){return this._imageMultipleFactor},set:function(t){this._imageMultipleFactor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return 8},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[10]=!0,t[12]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(e,i,o,a){var s=this.getCode(i);this.barCodeData.code=s;var l=r.ErrorCorrectionLevel.L;this.errorCorrectionLevel==r.StiQRCodeErrorCorrectionLevel.Level2&&(l=r.ErrorCorrectionLevel.M),this.errorCorrectionLevel==r.StiQRCodeErrorCorrectionLevel.Level3&&(l=r.ErrorCorrectionLevel.Q),this.errorCorrectionLevel==r.StiQRCodeErrorCorrectionLevel.Level4&&(l=r.ErrorCorrectionLevel.H);try{var u=new r.StiQRCode;r.QREncoder.Encode(s,l,u);for(var c=u.GetMatrix(),p=n.create(Number,c.getWidth()*c.getHeight()),h=0;h20&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<1&&(this._height=1),t>1&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"checkSum",{get:function(){return this._checkSum},set:function(t){this._checkSum=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return 5},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t[23]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"textAlignment",{get:function(){return o.Center},enumerable:!1,configurable:!0}),s.prototype.charTo4State=function(t){var e=this.royalMail4StateSymbols.indexOf(t);return this.royalMail4StateCodes[e]},s.prototype.stateToBar=function(t){for(var e=new i,r=0;r0?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},s.prototype.createNew=function(){return new s},s}(r.StiBarCodeTypeService);r.StiRoyalMail4StateBarCodeType=s}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.StiString,o=function(t){function r(e,r){void 0===e&&(e=13),void 0===r&&(r=1);var n=t.call(this,e,r)||this;return n._companyPrefix="0123456",n._serialNumber="000000001",n._extensionDigit="0",n}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyString("CompanyPrefix",this.companyPrefix,"0123456"),r.addPropertyString("SerialNumber",this.serialNumber,"000000001"),r.addPropertyString("ExtensionDigit",this.extensionDigit,"0"),r},r.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"CompanyPrefix":this._companyPrefix=a.value.toString();break;case"SerialNumber":this._serialNumber=a.value.toString();break;case"ExtensionDigit":this._extensionDigit=a.value.toString();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r10)return!0;if(e[3].length+r!=16)return!0;if(24!=t.length)return!0;return!1},r.prototype.createNew=function(){return new r},r}(r.StiCode128cBarCodeType);r.StiSSCC18BarCodeType=o}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Text.StringBuilder,o=function(t){function r(e,r,n){void 0===e&&(e=13),void 0===r&&(r=1),void 0===n&&(n=2.2);var i=t.call(this)||this;return i._module=13,i._height=1,i._ratio=2.2,i.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","101000","10001"],i.standard2of5SpaceLeft=10,i.standard2of5SpaceRight=10,i.standard2of5SpaceTop=0,i.standard2of5SpaceBottom=1,i.standard2of5LineHeightShort=40,i.standard2of5LineHeightLong=i.standard2of5LineHeightShort,i.standard2of5TextHeight=8.33,i.standard2of5MainHeight=50,i.standard2of5TextPosition=i.standard2of5LineHeightShort+i.standard2of5SpaceBottom,i.standard2of5LineHeightForCut=i.standard2of5LineHeightShort,i.module=e,i.height=r,i.ratio=n,i}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,13),r.addPropertyNumber("Height",this.height,1),r.addPropertyNumber("Ratio",this.ratio,2.2),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r40&&(this._module=40),this.ratio=this.ratio},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,t<.5&&(this._height=.5),t>2&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=this.module>20?2:2.2;t3&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.standard2of5TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,n){var o=this.getCode(e);o=this.checkCodeSymbols(o,"0123456789");var a=new i;if(a.append(this.symTableSet[10]),o.length>0)for(var s=0;so;s--){if(" "==t.toString()[s]){i=!0;break}if("\\"==t.toString()[s])break}if(!i)return(a=new r).append('"'),a.append(t),a.append(" "),a.append('"'),a}var a;if(t.length>0)return(a=new r).append('"'),a.append(t),a.append('"'),a;return new r},t.readString=function(t,e,n,i,o,a,s){var l=e.ref,u=n.ref,c=o.ref;u=u.append(i[l++]);var p=new r,h;while(l!=i.length&&'"'!=i[l]){if("\\"==i[l]&&l+1!=i.length){if("\\"==i[l+1]){p.append("\\\\"),l+=2;continue}'"'==i[l+1]&&l++}p.append(i[l++])}null!=t?(p=this.replaceBackslash(p,a,s),h=t.quoteSnippetString(p.toString())):h=p.toString(),u=h.stimulsoft.startsWith('"')&&h.stimulsoft.endsWith('"')&&h.length>1?u.append(h.substr(1,h.length-2)):u.append(h),l!=i.length&&(u=u.append(i[l]),l++),l==i.length&&(u.length>0&&c.push(u.toString()),u=new r),l--,e.ref=l,n.ref=u,o.ref=c},t.readChar=function(t,e,r){var n=t.ref,i=e.ref;i=i.append(r[n++]),n!=r.length&&(i=i.append(r[n++])),n!=r.length&&(i=i.append(r[n])),t.ref=n,e.ref=i},t.getLexemSimple=function(t,e,n){var i=[],o=new r,a=!1,s=0;while(s0){var l=o.toString().substr(1,o.length-2);null!=t&&(l=t.quoteSnippetString(l)),i.push(l)}o=new r}else o=o.append(e[s]);else if('"'==e[s]){var u={ref:s},c={ref:o},p={ref:i};this.readString(t,u,c,e,p,null!=n,!1),s=u.ref,o=c.ref,i=p.ref}else if("'"==e[s]){var u={ref:s},c={ref:o};this.readChar(u,c,e),s=u.ref,o=c.ref}else if("}"==e[s]){if(a=!1,null==t){var l=o.toString();o=(o=(o=(o=new r).append("{")).append(l)).append("}")}o.length>0&&i.push(o.toString()),o=new r}else o=o.append(e[s]);s++}if(0==a){if((o=this.parseRtf(o,n)).length>0){var l=o.toString().substr(1,o.length-2);null!=t&&(l=t.quoteSnippetString(l)),i.push(l)}}else i.stimulsoft.clear();return i},t.getLexem=function(t){return this.getLexemSimple(null,t,null)},t.replaceBackslash=function(t,e,n){for(var i=new r,o=0;o"+t.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(p,h,1)),n.height/=p.lineSpacing;var m=i.measureString(h,s,n.width,!0,1,0,!c);if(m.height<=n.height)return a.ref="",h;if((m=i.measureString("A",s)).height>n.height)return a.ref=h,"";var f=[];if(c)for(var d=0,g=h.length,S=0;S"!=h.charAt(S))f[S]=d,S++;f[S]=d}else f[S]=d++}var A=0,b=h.length;while(b-A>1){var v=(A+b)/2|0;if(c){if(f[b]-f[A]<2)break;while(v>A&&f[v]==f[v-1])v--;if(v==A)break}(m=i.measureString(h.substr(0,v),s,n.width,!0,1,0,!c)).height>n.height?b=v:A=v}b=A;while(A>0&&o.isLetterOrDigit(h,A)&&o.isLetterOrDigit(h,A-1))A--;return 0==A&&(A=b),a.ref=(c?"":"")+h.substr(A),h.substr(0,A)}return""},a.breakContainer=function(r,i){var o,a;if(StiOptions.Engine.allowBreakContainerOptimization)return this.breakContainerV2(r,i);var s=i.clone(!1,!1),l=s.components,u=i.components,c=r,p=0,h=!1,m=!1,f=!0;while(f){f=!1;try{for(var d=(o=void 0,__values(u.list)),g=d.next();!g.done;g=d.next()){var S;if((S=g.value).topc){var y;if(null!=(y=S.stimulsoft.as(e.IStiBreakable))&&y.canBreak){var A=S.height,b=c-S.top;S.height=b;var v=S.clone(),C=null;C=S.stimulsoft.is(e.StiContainer)?S.stimulsoft.as(e.StiContainer).clone(!0,!1).stimulsoft.as(e.StiComponent):S.stimulsoft.as(e.StiComponent).clone();var w=v.stimulsoft.as(e.IStiBreakable),B={ref:p};if(w.break(C,b/A,B)){if((p=B.ref)>c&&(c=p),S.height=A,!m&&v.bottomc){var y=S.stimulsoft.as(e.IStiBreakable);if(!(S.topT.length)u.removeAt(u.count-1)}return StiOptions.Engine.removeBottomBorderOfSplitContainer&&l.count>0&&(i.border=i.border.clone(),i.border.side&=n.Left|n.Right|n.Top),i.height=c,s},a.breakContainerV2=function(t,r){var i=r.clone(!1,!1),o=i.components,a=r.components,s=t;s=this.getDivideLine(r,s);var l=Math.round(1e3*s),u=0,c=[];while(ul){var f=p.stimulsoft.as(e.IStiBreakable);if(!(hc.length)a.removeAt(a.count-1)}return StiOptions.Engine.removeBottomBorderOfSplitContainer&&o.count>0&&(r.border=r.border.clone(),r.border.side&=n.Left|n.Right|n.Top),r.height=s,i},a.getDivideLine=function(t,e){var r=2,n={ref:r},i=this.searchDivideLine(t,e,e,n);if(r=n.ref,i==e)return e;while(i>0){var o={ref:r},a=this.searchDivideLine(t,i,e,o);if(r=o.ref,a==i)return i;i=a}return 0},a.searchDivideLine=function(r,n,i,o){var a,s,l=o.ref,u=0,c=Math.round(1e3*n);try{for(var p=__values(r.components.list),h=p.next();!h.done;h=p.next()){var m=h.value,f=Math.round(1e3*m.top),d=Math.round(1e3*(m.top+m.height));if(fc){var g=m.stimulsoft.as(e.IStiBreakable);if(null!=g&&g.canBreak){if(0==l)continue;var S=m.height,y=n-m.top;if(m.stimulsoft.is(e.StiContainer)){if((u=this.getDivideLine(m,y))0){var T=e.components,E=[],R=y.length;try{for(var D=__values(T.list),P=D.next();!P.done;P=D.next()){var B;if((B=P.value).is(b)){var I,x=(I=B.containerInfo.parentBand).as(t.Report.Components.StiDataBand);if(null!=x){var F=I;if(I.is(t.Report.Components.Table.StiTable)&&null!=x.dataBandInfo.headers)try{for(var N=(u=void 0,__values(x.dataBandInfo.headers.list)),k=N.next();!k.done;k=N.next()){var M;if((M=k.value).is(t.Report.Components.StiHeaderBand)&&M.name==I.name.substr(0,I.name.length-3)+"_Hd"){F=M.as(t.Report.Components.StiBand);break}}}catch(t){u={error:t}}finally{try{k&&!k.done&&(c=N.return)&&c.call(N)}finally{if(u)throw u.error}}for(var O=y.length-1;O>=0;O--)if(null!=y[O]&&(I==v[O]||F==v[O])){for(var _=!0,j=0;j0)try{for(var H=__values(E),Q=H.next();!Q.done;Q=H.next()){var L=Q.value;try{for(var Y=(f=void 0,__values(T.list)),U=Y.next();!U.done;U=Y.next()){var M;(M=U.value).top+=L.height}}catch(t){f={error:t}}finally{try{U&&!U.done&&(d=Y.return)&&d.call(Y)}finally{if(f)throw f.error}}L.top=0,T.insert(0,L)}}catch(t){p={error:t}}finally{try{Q&&!Q.done&&(h=H.return)&&h.call(H)}finally{if(p)throw p.error}}}}return i.ref=S,!0},b.prototype.clone=function(t,e){var n,i;void 0===t&&(t=!0),void 0===e&&(e=!0);var o=A.prototype.clone.call(this,t);if(o._containerInfo=this.containerInfo.clone(),null!=this._border?o._border=this._border.clone():o._border=null,null!=this._brush?o._brush=this._brush.clone():o._brush=null,o._components=new r.StiComponentsCollection(o),e)try{for(var a=__values(this._components.list),s=a.next();!s.done;s=a.next()){var l=s.value;o._components.add(l.clone())}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},b.prototype.convert=function(t,e,r,n){var i,o;if(void 0===r&&(r=!1),void 0===n&&(n=!0),A.prototype.convert.call(this,t,e,r),n)try{for(var a=__values(this._components.list),s=a.next();!s.done;s=a.next()){var l;s.value.convert(t,e,r)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},Object.defineProperty(b.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),b.prototype.getActualSize=function(e,n){var i,o,a,s;void 0===e&&(e=!1),void 0===n&&(n={ref:!1});var l=n.ref,u=new d(this.width,this.height);if(this.canGrow||this.canShrink){var c=0,p=0;if(!this.is(r.StiPage)){try{for(var h=__values(this.components.list),m=h.next();!m.done;m=h.next()){var f;if(!(f=m.value).enabled)continue;if(f.is(t.Report.Components.StiPointPrimitive)){c=Math.max(f.top,c),p=Math.max(f.left,p);continue}if(f.is(t.Report.Components.StiPrimitive)&&!f.is(t.Report.Components.StiHorizontalLinePrimitive))continue;if(0!=f.width&&0!=f.height){var g=new d(f.clientRectangle.width,f.clientRectangle.height);f.dockStyle!=t.Report.Components.StiDockStyle.None&&f.dockable&&(e||(f.dockToContainer(),StiOptions.Engine.allowCacheForGetActualSize&&null!=f.report&&null!=f.report.engine&&null!=f.report.engine.hashCheckSize&&f.report.engine.hashCheckSize.set(f,null),g=f.getActualSize()),l=!0),c=f.is(t.Report.Components.StiHorizontalLinePrimitive)?Math.max(f.top,c):Math.max(f.bottom,c),p=Math.max(f.right,p)}}}catch(t){i={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}this.canGrow&&(u.width=Math.max(p,u.width),u.height=Math.max(c,u.height)),this.canShrink&&(u.width=Math.min(p,u.width),u.height=Math.min(c,u.height))}}if((this.is(r.StiPage)&&this.as(r.StiPage)).unlimitedHeight){var c=0,p=0;try{for(var S=__values(this.components.list),y=S.next();!y.done;y=S.next()){var f;if(!(f=y.value).enabled)continue;if(f.is(t.Report.Components.StiPointPrimitive)){c=Math.max(f.top,c),p=Math.max(f.left,p);continue}if(f.is(t.Report.Components.StiPrimitive)&&!f.is(t.Report.Components.StiHorizontalLinePrimitive))continue;0!=f.width&&0!=f.height&&(c=f.is(t.Report.Components.StiHorizontalLinePrimitive)?Math.max(f.top,c):Math.max(f.bottom,c),p=Math.max(f.right,p))}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}u.width=Math.max(p,u.width),u.height=Math.max(c,u.height)}return n.ref=l,u},b.prototype.getFonts=function(){var t,e,r=A.prototype.getFonts.call(this);try{for(var n=__values(this.components.list),a=n.next();!a.done;a=n.next()){var s=a.value;s.stimulsoft.is(i)&&r.stimulsoft.addRange(s.getFonts())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return o.distinct(r)},Object.defineProperty(b.prototype,"containerInfo",{get:function(){return null==this._containerInfo&&(this._containerInfo=new r.StiContainerInfo),this._containerInfo},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"priority",{get:function(){return r.StiComponentPriority.Container},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxPosition",{get:function(){return r.StiComponentToolboxPosition.Container},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxCategory",{get:function(){return r.StiToolboxCategory.Components},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"componentType",{get:function(){return null!=this._containerInfo&&null!=this._containerInfo.parentBand?this._containerInfo.parentBand.componentType:r.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"collapsedValue",{get:function(){return this._collapsedValue},set:function(t){this._collapsedValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"collapsingIndex",{get:function(){return this._collapsingIndex},set:function(t){this._collapsingIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"collapsingTreePath",{get:function(){return this._collapsingTreePath},set:function(t){this._collapsingTreePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"hasSelected",{get:function(){var t,e;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.isSelected)return!0;var o=i.stimulsoft.as(b);if(null!=o&&o.hasSelected)return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"components",{get:function(){return this._components},set:function(t){this._components=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"blocked",{get:function(){return this.properties.get(b.propertyBlocked,!1)},set:function(t){this.properties.set(b.propertyBlocked,t,!1)},enumerable:!1,configurable:!0}),b.prototype.setParentStylesToChilds=function(e){var r,n,i,o;if(void 0===e&&(e=null),null==e){var a=!0;try{for(var s=__values(this.components.list),l=s.next();!l.done;l=s.next()){var u;(u=l.value).useParentStyles&&(a&&(e=t.Report.Styles.StiBaseStyle.getStyle(this),a=!1),null!=e&&e.setStyleToComponent(u))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}else try{for(var c=__values(this.components.list),p=c.next();!p.done;p=c.next()){var u;(u=p.value).useParentStyles&&e.setStyleToComponent(u)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}},b.prototype.offsetLocation=function(t,e){var r,n;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.left+=t,a.top+=e}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},b.prototype.changePosition=function(t){var e,n;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.isSelected)a.displayRectangle=r.StiComponent.doOffsetRect(a,a.displayRectangle,t);else{var s=a.stimulsoft.as(b);null!=s&&s.changePosition(t)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},b.prototype.normalize=function(){var t,e;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.isSelected&&(i.clientRectangle=i.clientRectangle.normalize());var o=i.stimulsoft.as(b);null!=o&&o.normalize()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.sortByPriority=function(){var t,e;this.components.sortByPriority();try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i,o=n.value.stimulsoft.as(b);null!=o&&o.sortByPriority()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.bringToFront=function(){var t=this.components.count,e=0;while(e=0){var e=this.components.getByIndex(t).stimulsoft.as(r.StiComponent),n=e.stimulsoft.as(b);if(null!=n&&n.moveForward(),e.isSelected){var i=this.components.indexOf(e);i0&&(this.components.remove(n),this.components.insert(o-1,n))}e++}this.sortByPriority()},b.prototype.alignTo=function(t){var e=this.getSelectedComponents(),n=e.clone(),i=this.getSelectedRectangle();switch(t){case r.StiAligning.Left:e.sortByLeftPosition();for(var o=0;o=0;u--){var c=l.getByIndex(u);if(c!=i&&!c.checkForParentComponent(i)){var p=c.stimulsoft.as(b);if(null!=p&&i.canContainIn(p)){var h=this.pageToContainer(c.componentToPage(c.clientRectangle));if(h.intersectsWith(a)&&i.isCross&&(o=p),c.stimulsoft.is(t.Report.Components.StiBand)&&!c.isCross){var m=this.page.unit.convertFromHInches(1);if(i.stimulsoft.is(t.Report.Components.StiPrimitive)&&(h.width+=m),null!=e&&this.report.info.showHeaders){h.height+=m;var d=this.page.unit.convertFromHInches(c.headerSize);h=h.offsetRect(new f(0,d,0,d))}}if(i.stimulsoft.is(r.StiEndPointPrimitive)||i.stimulsoft.is(r.StiStartPointPrimitive)){var g=Math.round2(a.x,2),S=Math.round2(a.y,2),y=Math.round2(h.left,2),A=Math.round2(h.top,2),v=Math.round2(h.right,2),C=Math.round2(h.bottom,2);A<=S&&C>=S&&y<=g&&v>=g&&(o=p)}s.pointInRect(a.x,a.y,h)&&(o=p);var w=p.getContainerInRectPrivate(n,i);null!=w&&(o=w)}}}if(i.isCross)return o;if(i.stimulsoft.is(t.Report.Components.Table.StiTable)&&o.stimulsoft.is(t.Report.Components.Table.StiTable))return null;if(i.stimulsoft.is(t.Report.Components.Table.StiTable)&&o.stimulsoft.is(t.Report.Components.StiDataBand))return o;if(!i.stimulsoft.is(t.Report.Components.Table.IStiTableCell)&&o.stimulsoft.is(t.Report.Components.Table.StiTable))return null;if(i.stimulsoft.is(t.Report.Components.Table.IStiTableCell)&&!o.stimulsoft.is(t.Report.Components.Table.StiTable))return null;if(i.stimulsoft.is(t.Report.Components.StiBand)&&null!=o&&o.stimulsoft.is(t.Report.Components.StiBand))return null;return o},b.prototype.getContainerInRect=function(e,r){if(null!=r.page&&r.stimulsoft.is(t.Report.Components.StiBand)){var n=r.page.unit.convertFromHInches(r.headerSize);e=e.offsetRect(new f(0,n,0,n))}var i=this.getContainerInRectPrivate(e,r);if(null==i)return this.page;if(i.checkForParentComponent(r))return this.page;return i},b.prototype.getSizesTable=function(t){var e=new l,r=new f;return this.getNodeSize(e,t,{ref:r}),e},b.prototype.getNodeSize=function(e,r,n){var i,o,a=n.ref,s=this.containerToPage(r.clientRectangle);if(null!=r.page&&r.stimulsoft.is(t.Report.Components.StiBand)&&!r.isCross){var l=r.page.unit.convertFromHInches(r.headerSize);s=s.offsetRect(new f(0,l,0,l));var u=this.page.unit.convertFromHInches(1);s.width+=u,null!=this.report&&this.report.info.showHeaders&&(s.height+=u)}var c=r.stimulsoft.as(b);if(null!=c)try{for(var p=__values(c.components.list),h=p.next();!h.done;h=p.next()){var m=h.value,d={ref:s};c.getNodeSize(e,m,d),s=d.ref}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}s.xa.x+a.width&&(a.width=s.x+s.width-a.x),s.y+s.height>a.y+a.height&&(a.height=s.y+s.height-a.y),e.set(r,s),n.ref=a},b.prototype.getContainerInRect2Private=function(r,n,i){var o=null,a=i.get(this);if(!s.pointInRect(r.x,r.y,a))return null;if(this==n||this.checkForParentComponent(n))return null;for(var l=this.components,u=l.count-1;u>=0;u--){var c=l.getByIndex(u);if(c==n)continue;if((0==c.width||0==c.height)&&us.pageHeight*(2*d)&&s.largeHeightAutoFactor>1){var y=s.height;s.largeHeightAutoFactor-=d,u-=y-s.height}s.largeHeightAutoFactor},b.prototype.resetSelection=function(){var t,e;this.reset();try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.reset();var o=i.stimulsoft.as(b);null!=o&&o.resetSelection()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.getSelectedComponents=function(){var t,e,n=new r.StiComponentsCollection;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.isSelected&&n.add(a);var s=a.stimulsoft.as(b);if(null!=s){var l={ref:n};s.getSelectedComponents2(l),n=l.ref}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},b.prototype.getSelectedComponents2=function(t){var e,r,n=t.ref;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.isSelected&&n.add(a);var s=a.stimulsoft.as(b);if(null!=s){var l={ref:n};s.getComponents2(l),n=l.ref}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.ref=n},b.prototype.getSelectedRectangle=function(){var t,e,r=f.empty;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.isSelected&&(r=r.isEmpty?o.getDisplayRectangle2():r.fitToRectangle(o.getDisplayRectangle2()));var a=o.stimulsoft.as(b);if(null!=a){var s=a.getSelectedRectangle();s.isEmpty||(r=r.fitToRectangle(s))}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},b.prototype.makeHorizontalSpacingEqual=function(){var t,e,r=this.getSelectedComponents(),n=this.getSelectedRectangle(),i=0;try{for(var o=__values(r.list),a=o.next();!a.done;a=o.next()){var s;i+=a.value.width}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}var l=(n.width-i)/Math.max(r.count-1,1);r.sortByLeftPosition();for(var u=r.getByIndex(0).right+l,c=1;c0&&c.components.clear()}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}},b.prototype.construct=function(t){void 0===t&&(t=f.empty),A.prototype.construct.call(this,t),this._components=new r.StiComponentsCollection(this)},b.propertyCanBreak=Math.random().toString().substr(2),b.propertyBlocked=Math.random().toString().substr(2),b}(r.StiComponent);r.StiContainer=A}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.Rectangle,n=t.System.Drawing.Size,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiAlignValue,a=function(a){function s(t){void 0===t&&(t=r.empty);var n=a.call(this,t)||this;return n._resetPageNumber=!1,n.defaultClientRectangle=new r(0,0,300,30),n._rectangleMoveComponent=null,n.canGrow=!0,n.dockStyle=e.StiDockStyle.Top,n}return __extends(s,a),s.prototype.implements=function(){return s.ImplementsStiBand||(s.ImplementsStiBand=a.prototype.implements.call(this).concat([e.IStiResetPageNumber,i,e.IStiCanGrow,e.IStiConditions])),s.ImplementsStiBand},s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanGrow",this.canGrow,!0),e.removeProperty("GrowToHeight"),e.removeProperty("ShiftMode"),e.removeProperty("Printable"),e.removeProperty("DockStyle"),e.removeProperty("MinSize"),e.removeProperty("MaxSize"),e.addPropertyBool("ResetPageNumber",this.resetPageNumber),e.addPropertyNumber("MinHeight",this.minHeight,0),e.addPropertyNumber("MaxHeight",this.maxHeight,0),e},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ResetPageNumber":this._resetPageNumber=o.value.stimulsoft.toBoolean();break;case"MinHeight":this.minHeight=o.value.stimulsoft.toNumber();break;case"MaxHeight":this.maxHeight=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t,e){a.prototype.loadFromXml.call(this,t,e);for(var r=0;r=0;B--){var g;if((g=this.page.components.getByIndex(B))==w)return m;g.stimulsoft.is(e.StiReportSummaryBand)&&m++}return m}var I=this.stimulsoft.as(e.StiEmptyBand);if(null!=I){var m=1;try{for(var T=__values(this.page.components.list),E=T.next();!E.done;E=T.next()){var g;if((g=E.value)==I)return m;g.stimulsoft.is(e.StiEmptyBand)&&m++}}catch(t){l={error:t}}finally{try{E&&!E.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}return m}var R=this.stimulsoft.as(e.StiOverlayBand);if(null!=R){var m=1;try{for(var D=__values(this.page.components.list),P=D.next();!P.done;P=D.next()){var g;if((g=P.value)==R)return m;g.stimulsoft.is(e.StiOverlayBand)&&m++}}catch(t){c={error:t}}finally{try{P&&!P.done&&(p=D.return)&&p.call(D)}finally{if(c)throw c.error}}return m}var x=this.stimulsoft.as(e.StiDataBand);if(null!=x){var F=x.masterComponent?x.masterComponent.stimulsoft.as(e.StiDataBand):null,m=1;while(null!=F)F=F.masterComponent?F.masterComponent.stimulsoft.as(e.StiDataBand):null,m++;return m}var N=this.stimulsoft.as(e.StiHeaderBand);if(null!=N){var F;if(null==(F=t.Report.Engine.StiHeaderBandBuilder.getMaster(N)))return 1;return F.nestedLevel}var k=this.stimulsoft.as(e.StiFooterBand);if(null!=k){var F;if(null==(F=t.Report.Engine.StiFooterBandBuilder.getMaster(k)))return 1;return F.nestedLevel}var M=this.stimulsoft.as(e.StiGroupHeaderBand);if(null!=M){var F;if(null==(F=t.Report.Engine.StiGroupHeaderBandBuilder.getMaster(M)))return 1;return F.nestedLevel}var O=this.stimulsoft.as(e.StiGroupFooterBand);if(null!=O){var F;if(null==(F=t.Report.Engine.StiGroupFooterBandBuilder.getMaster(O)))return 1;return F.nestedLevel}var _=this.stimulsoft.as(e.StiChildBand);if(null!=_){var j=_.getMaster();return null==j?1:j.nestedLevel}return 0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"rectangleMoveComponent",{get:function(){return this._rectangleMoveComponent},set:function(t){this._rectangleMoveComponent=t},enumerable:!1,configurable:!0}),s.prototype.getHeaderText=function(){return this.toString()},Object.defineProperty(s.prototype,"headerSize",{get:function(){return null!=this.report&&this.report.info.showHeaders?o.alignToMaxGrid(15,+this.page.unit.convertToHInches(this.page.gridSize),!0):0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerSize",{get:function(){return null!=this.report&&this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0):0},enumerable:!1,configurable:!0}),s}(e.StiContainer);e.StiBand=a}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.System.Drawing.Rectangle,i=function(t){function i(e){void 0===e&&(e=n.empty);var r=t.call(this,e)||this;return r._printAtBottom=!1,r._newPageBefore=!1,r._newPageAfter=!1,r._newColumnBefore=!1,r._newColumnAfter=!1,r._skipFirst=!0,r._breakIfLessThan=100,r}return __extends(i,t),i.prototype.implements=function(){return this._implementsStiDynamicBand||(this._implementsStiDynamicBand=t.prototype.implements.call(this).concat([e.IStiPageBreak,e.IStiBreakable,e.IStiPrintAtBottom,r])),this._implementsStiDynamicBand},i.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("PrintAtBottom",this.printAtBottom),r.addPropertyBool("NewPageBefore",this.newPageBefore),r.addPropertyBool("NewPageAfter",this.newPageAfter),r.addPropertyBool("NewColumnBefore",this.newColumnBefore),r.addPropertyBool("NewColumnAfter",this.newColumnAfter),r.addPropertyBool("SkipFirst",this.skipFirst,!0),r.addPropertyNumber("BreakIfLessThan",this.breakIfLessThan,100),r},i.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"PrintAtBottom":this._printAtBottom=a.value.stimulsoft.toBoolean();break;case"NewPageBefore":this._newPageBefore=a.value.stimulsoft.toBoolean();break;case"NewPageAfter":this._newPageAfter=a.value.stimulsoft.toBoolean();break;case"NewColumnBefore":this._newColumnBefore=a.value.stimulsoft.toBoolean();break;case"NewColumnAfter":this._newColumnAfter=a.value.stimulsoft.toBoolean();break;case"SkipFirst":this._skipFirst=a.value.stimulsoft.toBoolean();break;case"BreakIfLessThan":this._breakIfLessThan=a.value.stimulsoft.toNumber();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},i.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n=0&&t<=100&&(this._breakIfLessThan=t)},enumerable:!1,configurable:!0}),i}(e.StiBand);e.StiDynamicBand=i}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.System.Drawing.Color,i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.Rectangle,a=function(t){function a(e){void 0===e&&(e=o.empty);var r=t.call(this,e)||this;return r._keepChildTogether=!0,r._printIfParentDisabled=!1,r}return __extends(a,t),a.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiKeepChildTogether,r])},a.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("KeepChildTogether",this.keepChildTogether,!0),r.addPropertyBool("PrintIfParentDisabled",this.printIfParentDisabled),r},a.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"KeepChildTogether":this._keepChildTogether=a.value.stimulsoft.toBoolean();break;case"PrintIfParentDisabled":this._printIfParentDisabled=a.value.stimulsoft.toBoolean();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},a.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n=0){if(this.parent.components.getByIndex(t).stimulsoft.is(e.StiBand)&&!this.parent.components.getByIndex(t).stimulsoft.is(a))return this.parent.components.getByIndex(t).stimulsoft.as(e.StiBand);t--}return null},a}(e.StiDynamicBand);e.StiChildBand=a}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventArgs,n=t.System.Enum,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Color,a=t.System.Drawing.Rectangle,s=function(t){function s(r){void 0===r&&(r=a.empty);var n=t.call(this,r)||this;return n._keepFooterTogether=!0,n._startNewPage=!1,n._printIfEmpty=!1,n._printOnEvenOddPages=e.StiPrintOnEvenOddPagesType.Ignore,n._printOnAllPages=!1,n}return __extends(s,t),s.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiPrintOnAllPages,e.IStiPrintIfEmpty,e.IStiKeepFooterTogether,e.IStiPrintOnEvenOddPages,i])},s.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.addPropertyBool("CanBreak",this.canBreak),n.addPropertyBool("KeepFooterTogether",this.keepFooterTogether,!0),n.addPropertyBool("StartNewPage",this.startNewPage),n.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),n.addPropertyBool("PrintIfEmpty",this.printIfEmpty),n.addPropertyEnum("PrintOnEvenOddPages",e.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,e.StiPrintOnEvenOddPagesType.Ignore),n.addPropertyBool("PrintOnAllPages",this.printOnAllPages),n},s.prototype.loadFromJsonObject=function(r){var i,o;t.prototype.loadFromJsonObject.call(this,r);try{for(var a=__values(r.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"KeepFooterTogether":this._keepFooterTogether=l.value.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=l.value.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=l.value.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=l.value.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=n.parse(e.StiPrintOnEvenOddPagesType,l.value);break;case"PrintOnAllPages":this._printOnAllPages=l.value.stimulsoft.toBoolean();break}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},s.prototype.loadFromXml=function(r,i){t.prototype.loadFromXml.call(this,r,i);for(var o=0;o0&&l.sort(t)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},n.prototype.connect=function(){var t,e;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i;n.value.connect()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},n.prototype.disconnect=function(){var t,e;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i;n.value.disconnect()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},n}(n);r.StiBusinessObjectsCollection=u}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiObject,i=t.System.Type,o=t.Report.Dictionary.StiBusinessObjectsCollection,a=function(){function t(){}return t.getElementType=function(t){return null},t.getElement=function(t){if(null==t)return null;var e=t.stimulsoft.getType();return this.getElementType(e)},t.getAlias=function(t){return null},t.isAllowUseProperty=function(t){return!0},t.getType=function(t){return t},t.getDataColumn=function(t,e,n){return null==e&&(e=t),new r.StiDataColumn(t,e,e,this.getType(n))},t.getDataColumn2=function(t){return new r.StiDataColumn(t.columnName,t.caption,t.caption,t.dataType)},t.getColumnsFromObject=function(t){var e=new r.StiDataColumnsCollection;if(null==t)return e;var n=this.getElement(t);return null==n&&(n=t),n.stimulsoft.is(i),this.getColumnsFromClass(n)},t.getColumnsFromClass=function(t){var e,i,o=new r.StiDataColumnsCollection;if(StiOptions.BusinessObjects.allowUseProperties){var a=n.keys(t);try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c=this.getDataColumn(u,this.getAlias(u),Object);o.add(c)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(e)throw e.error}}}return StiOptions.BusinessObjects.allowUseFields,o},t.getColumnsFromData=function(t,e){var n,i;void 0===e&&(e=!1);var o=this.getColumnsFromObject(t);if(e)return o;var a=new r.StiDataColumnsCollection;try{for(var s=__values(o.list),l=s.next();!l.done;l=s.next()){var u=l.value;if(!this.isDataColumn(u.type))continue;a.add(u)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return a},t.isDataColumn=function(t){return!1},t.getBusinessObjectFromGuid=function(e,r){var n,i,o=t.getBusinessObjectsFromReport(e);if(null==o)return null;try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.guid==r)return l}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return null},t.getBusinessObjectsFromReport=function(t){var r,n,i,a;if(t.stimulsoft.is(o)){var s=t,l=null;try{for(var u=__values(s.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=this.getBusinessObjectsFromReport(p.businessObjects);if(null!=h){null==l&&(l=new Array);try{for(var m=(i=void 0,__values(h)),f=m.next();!f.done;f=m.next()){var d=f.value;l.push(d)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}}null==l&&(l=new Array),l.push(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return l}if(t.stimulsoft.is(e.StiReport)){var g=t;return this.getBusinessObjectsFromReport(g.dictionary.businessObjects)}return null},t}();r.StiBusinessObjectHelper=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetCollapsed"},e}(t.StiEvent);t.StiGetCollapsedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"EndRender"},e}(t.StiEvent);t.StiEndRenderEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Rendering"},e}(t.StiEvent);t.StiRenderingEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"BeginRender"},e}(t.StiEvent);t.StiBeginRenderEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.EventArgs,o=t.System.EventHandler,a=t.Report.Events.StiValueEventHandler,s=t.Report.Events.StiGetCollapsedEvent,l=t.Report.Events.StiEndRenderEvent,u=t.Report.Events.StiRenderingEvent,c=t.Report.Events.StiBeginRenderEvent,p=t.Base.StiJsonSaveMode,h=t.System.Drawing.Rectangle,m=t.Base.StiJsonReportObjectHelper,f=t.System.Enum,d=t.Base.JsonReportObject.IStiJsonReportObject,g=t.System.Drawing.Color,S=t.Base.Localization.StiLocalization,y=t.Report.Expressions.StiExpression,A=function(A){function b(t){void 0===t&&(t=h.empty);var e=A.call(this,t)||this;return e._masterComponent=null,e._keepDetails=r.StiKeepDetails.None,e._sort=[],e._printOnAllPages=!1,e._printIfDetailEmpty=!1,e._dataSourceName="",e._businessObjectGuid="",e.isEofValue=!1,e.isBofValue=!1,e._dataRelationName="",e._filterMode=r.StiFilterMode.And,e._filterEngine=r.StiFilterEngine.ReportEngine,e._filters=new r.StiFiltersCollection,e._filterOn=!0,e._collapsed="",e._rightToLeft=!1,e._columnGaps=0,e._columnWidth=0,e._columns=0,e._minRowsInColumn=0,e._columnDirection=r.StiColumnDirection.AcrossThenDown,e._lineThrough=1,e._line=1,e._selectedLine=1,e._resetDataSource=!1,e._calcInvisible=!1,e._countData=0,e._limitRows="",e.printIfDetailEmpty=StiOptions.Engine.printIfDetailEmptyDefaultValue,e}return __extends(b,A),b.prototype.implements=function(){return b.ImplementsStiDataBand||(b.ImplementsStiDataBand=A.prototype.implements.call(this).concat([r.IStiDataSource,t.Report.Dictionary.IStiEnumerator,r.IStiMasterComponent,r.IStiDataRelation,r.IStiOddEvenStyles,r.IStiSort,r.IStiFilter,r.IStiPrintOnAllPages,r.IStiPrintIfDetailEmpty,r.IStiKeepDetailsTogether,r.IStiResetPageNumber,r.IStiRenderMaster,r.IStiBusinessObject,d])),b.ImplementsStiDataBand},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("KeepDetails",r.StiKeepDetails,this.keepDetails,r.StiKeepDetails.None),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages),e.addPropertyBool("PrintIfDetailEmpty",this.printIfDetailEmpty),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyEnum("FilterMode",r.StiFilterMode,this.filterMode,r.StiFilterMode.And),e.addPropertyEnum("FilterEngine",r.StiFilterEngine,this.filterEngine,r.StiFilterEngine.ReportEngine),e.addPropertyBool("FilterOn",this.filterOn,!0),e.addPropertyStringNullOrEmpty("EvenStyle",this.evenStyle),e.addPropertyStringNullOrEmpty("OddStyle",this.oddStyle),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("GetCollapsedEvent",this.getCollapsedEvent.saveToJsonObject(t)),e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyNumber("ColumnGaps",this.columnGaps,0),e.addPropertyNumber("ColumnWidth",this.columnWidth,0),e.addPropertyNumber("Columns",this.columns),e.addPropertyNumber("MinRowsInColumn",this.minRowsInColumn),e.addPropertyEnum("ColumnDirection",r.StiColumnDirection,this.columnDirection,r.StiColumnDirection.AcrossThenDown),e.addPropertyBool("ResetDataSource",this.resetDataSource),e.addPropertyBool("CalcInvisible",this.calcInvisible),e.addPropertyNumber("CountData",this.countData),e.addPropertyStringNullOrEmpty("LimitRows",this.limitRows),e.addPropertyBool("KeepDetailsTogether",this.keepDetailsTogether),null!=this.masterComponent&&e.addPropertyStringNullOrEmpty("MasterComponent",this.masterComponent.name),t==p.Report&&(e.addPropertyJObject("Sort",m.Serialize.stringArray(this.sort)),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyJObject("Collapsed",new y(this.collapsed).saveToJsonObject(t))),e},b.prototype.loadFromJsonObject=function(t){var e,n;A.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"StartNewPage":break;case"StartNewPageIfLessThan":break;case"KeepGroupTogether":break;case"KeepHeaderTogether":break;case"KeepFooterTogether":break;case"KeepChildTogether":break;case"KeepDetails":this._keepDetails=f.parse(r.StiKeepDetails,a.value);break;case"Sort":this._sort=m.Deserialize.stringArray(a.value);break;case"PrintOnAllPages":this._printOnAllPages=a.value.stimulsoft.toBoolean();break;case"PrintIfDetailEmpty":this._printIfDetailEmpty=a.value.stimulsoft.toBoolean();break;case"DataSourceName":this._dataSourceName=a.value;break;case"BusinessObjectGuid":this._businessObjectGuid=a.value;break;case"DataRelationName":this._dataRelationName=a.value;break;case"FilterMode":this._filterMode=f.parse(r.StiFilterMode,a.value);break;case"FilterEngine":this._filterEngine=f.parse(r.StiFilterEngine,a.value);break;case"Filters":null==this._filters&&(this._filters=new r.StiFiltersCollection),this._filters.loadFromJsonObject(a.value);break;case"FilterOn":this._filterOn=a.value.stimulsoft.toBoolean();break;case"EvenStyle":this.evenStyle=a.value;break;case"OddStyle":this.oddStyle=a.value;break;case"BeginRenderEvent":var p;(p=new c).loadFromJsonObject(a.value),this.beginRenderEvent=p;break;case"RenderingEvent":var p;(p=new u).loadFromJsonObject(a.value),this.renderingEvent=p;break;case"EndRenderEvent":var p;(p=new l).loadFromJsonObject(a.value),this.endRenderEvent=p;break;case"GetCollapsedEvent":var p;(p=new s).loadFromJsonObject(a.value),this.getCollapsedEvent=p;break;case"Collapsed":var h=new y;h.loadFromJsonObject(a.value),this.collapsed=h.value;break;case"RightToLeft":this._rightToLeft=a.value.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=a.value.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=a.value.stimulsoft.toNumber();break;case"Columns":this._columns=a.value.stimulsoft.toNumber();break;case"MinRowsInColumn":this._minRowsInColumn=a.value.stimulsoft.toNumber();break;case"ColumnDirection":this._columnDirection=f.parse(r.StiColumnDirection,a.value);break;case"ResetDataSource":this._resetDataSource=a.value.stimulsoft.toBoolean();break;case"CalcInvisible":this._calcInvisible=a.value.stimulsoft.toBoolean();break;case"CountData":this._countData=a.value.stimulsoft.toNumber();break;case"LimitRows":this._limitRows=a.value;break;case"MasterComponent":this.jsonMasterComponentTemp=a.value,this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},b.prototype.loadFromXml=function(t,e){A.prototype.loadFromXml.call(this,t,e);var i=t.getAttribute("Ref");!n.isNullOrEmpty(i)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[i.stimulsoft.toNumber()]=t.nodeName);for(var o=0;o=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next(),t.Report.Engine.StiDataBandBuilder.setDetails(this)},b.prototype.last=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this._countData-1):this.dataSource.last():this.businessObject.last(),t.Report.Engine.StiDataBandBuilder.setDetails(this)},Object.defineProperty(b.prototype,"isEof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"isBof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"isEmpty",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"position",{get:function(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"count",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this._countData:this.dataSource.count:this.businessObject.count},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"dataRelation",{get:function(){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)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"dataRelationName",{get:function(){return this._dataRelationName},set:function(t){this._dataRelationName=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filterEngine",{get:function(){return this._filterEngine},set:function(t){this._filterEngine=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filterMethodHandler",{get:function(){return this._filterMethodHandler},set:function(t){this._filterMethodHandler=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filter",{get:function(){return 0==this.filters.count&&this.filters.add(new t.Report.Components.StiFilter),this.filters.getByIndex(0).item=r.StiFilterItem.Expression,this.filters.getByIndex(0).expression},set:function(e){0==this.filters.count&&this.filters.add(new t.Report.Components.StiFilter),this.filters.getByIndex(0).item=r.StiFilterItem.Expression,this.filters.getByIndex(0).expression=e},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"evenStyle",{get:function(){return this.properties.get(b.propertyEvenStyle,"")},set:function(t){this.properties.set(b.propertyEvenStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"oddStyle",{get:function(){return this.properties.get(b.propertyOddStyle,"")},set:function(t){this.properties.set(b.propertyOddStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"headerStartColor",{get:function(){return g.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"headerEndColor",{get:function(){return g.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),b.prototype.getHeaderText=function(){var t=this.businessObject,e;if(null!=t)return this.toString()+"; "+S.get("PropertyMain","BusinessObject")+": "+t.getFullName();var r=this.toString()+"; "+S.get("PropertyMain","DataSource")+": ";if(null==this.dataSource){if(this.countData>0)return r+this.countData.toString();return r+S.get("Report","NotAssigned")}return r+this.dataSource.toString()},b.prototype.doBookmark=function(){null!=this.report&&A.prototype.doBookmark.call(this)},b.prototype.invokeGroupRendering=function(){var t,e;if(null!=this.report)try{for(var r=__values(this.dataBandInfo.groupHeaders.list),n=r.next();!n.done;n=r.next()){var i;n.value.invokeRendering()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},Object.defineProperty(b.prototype,"dataBandInfo",{get:function(){return null==this._dataBandInfo&&(this._dataBandInfo=new r.StiDataBandInfo),this._dataBandInfo},enumerable:!1,configurable:!0}),b.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,null]}))}))},b.prototype.render=function(){return null},b.prototype.renderMasterAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,(e=t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType())).renderMasterAsync(this)];case 1:return r.sent(),[2]}}))}))},b.prototype.renderMaster=function(){var e;t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).renderMaster(this)},Object.defineProperty(b.prototype,"toolboxPosition",{get:function(){return r.StiComponentToolboxPosition.DataBand},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxCategory",{get:function(){return r.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"priority",{get:function(){return r.StiComponentPriority.DataBand},enumerable:!1,configurable:!0}),b.prototype.getComponentType=function(){if(null==this._masterComponent)return r.StiComponentType.Master;if(null!=this._masterComponent){if(this.page.skip&&this._masterComponent.page!=this.page)return r.StiComponentType.Master;if(this.parent!=this._masterComponent.parent)return r.StiComponentType.Master}return r.StiComponentType.Detail},b.prototype.onBeginRender=function(){},b.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(b.eventBeginRender);null!=t&&t(this,i.empty)},Object.defineProperty(b.prototype,"beginRenderEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventBeginRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onRendering=function(){},b.prototype.invokeRendering=function(){if(null!=this.report)try{this.onRendering();var t=this.events.get(b.eventRendering);null!=t&&t(this)}catch(t){}},Object.defineProperty(b.prototype,"renderingEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventRendering,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onEndRender=function(){},b.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(b.eventEndRender);null!=t&&t(this)},Object.defineProperty(b.prototype,"endRenderEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventEndRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onGetCollapsed=function(t){},b.prototype.invokeGetCollapsed=function(r){try{this.onGetCollapsed(r),null!=this.report&&this.report.calculationMode==e.StiCalculationMode.Interpretation&&this.collapsed.length>0&&(r.value=t.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed,this));var n=this.events.get(b.eventGetCollapsed);null!=n&&n(this,r)}catch(r){e.StiLogService.write(this.stimulsoft.getType(),"DoGetCollapsed...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(b.prototype,"getCollapsedEvent",{get:function(){return new s(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventGetCollapsed,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){null!=t&&(this._collapsed=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"rightToLeft",{get:function(){return this.getRightToLeft()},set:function(t){this.setRightToLeft(t)},enumerable:!1,configurable:!0}),b.prototype.getRightToLeft=function(){return this._rightToLeft},b.prototype.setRightToLeft=function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},b.prototype.getColumnWidth=function(){var t=this.columnWidth;if(0==t){if(0==this.columns)return this.width;t=this.width/this.columns-this.columnGaps}return t},Object.defineProperty(b.prototype,"columnGaps",{get:function(){return this._columnGaps},set:function(t){this._columnGaps!=t&&(this._columnGaps=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"columnWidth",{get:function(){return this._columnWidth},set:function(t){this._columnWidth!=t&&(this._columnWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns!=t&&(this._columns=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"minRowsInColumn",{get:function(){return this._minRowsInColumn},set:function(t){this._minRowsInColumn!=t&&(this._minRowsInColumn=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"columnDirection",{get:function(){return this._columnDirection},set:function(t){this._columnDirection!=t&&(this._columnDirection=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"lineThrough",{get:function(){return this._lineThrough},set:function(t){this._lineThrough=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"selectedLine",{get:function(){return this._selectedLine},set:function(t){this._selectedLine=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"resetDataSource",{get:function(){return this._resetDataSource},set:function(t){this._resetDataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"calcInvisible",{get:function(){return this._calcInvisible},set:function(t){this._calcInvisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"countData",{get:function(){return this._countData},set:function(t){this._countData!=t&&(this._countData=t,t>0&&(this.dataSourceName=""))},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"limitRows",{get:function(){return this._limitRows},set:function(t){this._limitRows=t},enumerable:!1,configurable:!0}),b.prototype.createNew=function(){return new b},b.propertyEvenStyle=Math.random().toString().substr(2),b.propertyOddStyle=Math.random().toString().substr(2),b.eventBeginRender={},b.eventRendering={},b.eventEndRender={},b.eventGetCollapsed={},b}(r.StiDynamicBand);r.StiDataBand=A}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs,i=t.Report.Events.StiEndRenderEvent,o=t.Report.Events.StiRenderingEvent,a=t.Report.Events.StiBeginRenderEvent,s=t.System.Enum,l=t.Base.JsonReportObject.IStiJsonReportObject,u=t.System.Drawing.Color,c=t.System.Drawing.Rectangle,p=function(t){function p(r){void 0===r&&(r=c.empty);var n=t.call(this,r)||this;return n._sizeMode=e.StiEmptySizeMode.AlignFooterToTop,n}return __extends(p,t),p.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiOddEvenStyles,l])},p.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.addPropertyStringNullOrEmpty("EvenStyle",this.evenStyle),n.addPropertyStringNullOrEmpty("OddStyle",this.oddStyle),n.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(r)),n.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(r)),n.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(r)),n.addPropertyEnum("SizeMode",e.StiEmptySizeMode,this.sizeMode,e.StiEmptySizeMode.AlignFooterToTop),n},p.prototype.loadFromJsonObject=function(r){var n,l;t.prototype.loadFromJsonObject.call(this,r);try{for(var u=__values(r.properties()),c=u.next();!c.done;c=u.next()){var p=c.value;switch(p.name){case"EvenStyle":this.evenStyle=p.value;break;case"OddStyle":this.oddStyle=p.value;break;case"BeginRenderEvent":var h;(h=new a).loadFromJsonObject(p.value),this.beginRenderEvent=h;break;case"RenderingEvent":var h;(h=new o).loadFromJsonObject(p.value),this.renderingEvent=h;break;case"EndRenderEvent":var h;(h=new i).loadFromJsonObject(p.value),this.endRenderEvent=h;break;case"SizeMode":this._sizeMode=s.parse(e.StiEmptySizeMode,p.value);break}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(n)throw n.error}}},p.prototype.loadFromXml=function(r,n){t.prototype.loadFromXml.call(this,r,n);for(var i=0;i0&&(r.value=t.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed,this));var n=this.events.get(b.eventGetCollapsed);null!=n&&n(this,r)}catch(r){e.StiLogService.write(this.stimulsoft.getType(),"DoGetCollapsed...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(b.prototype,"getCollapsedEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventGetCollapsed,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onBeginRender=function(){},b.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(b.eventBeginRender);null!=t&&t(this)},Object.defineProperty(b.prototype,"beginRenderEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventBeginRender,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onRendering=function(){},b.prototype.invokeRendering=function(){this.onRendering();var t=this.events.get(b.eventRendering);null!=t&&t(this)},Object.defineProperty(b.prototype,"renderingEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventRendering,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onEndRender=function(){},b.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(b.eventEndRender);null!=t&&t(this)},Object.defineProperty(b.prototype,"endRenderEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventEndRender,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"condition",{get:function(){return this._condition},set:function(t){null!=t&&(this._condition=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"summaryExpression",{get:function(){return this._summaryExpression},set:function(t){null!=t&&(this._summaryExpression=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){null!=t&&(this._collapsed=t)},enumerable:!1,configurable:!0}),b.prototype.getHeaderText=function(){var t=null;return(t=n.isNullOrEmpty(this.alias)?this.name:StiOptions.Dictionary.showOnlyAliasForComponents?this.alias:this.name+" ["+this.alias+"]")+"; "+S.get("PropertyMain","Condition")+": "+this.condition},b.prototype.createNew=function(){return new b},b.prototype.getCurrentConditionValue=function(){return t.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(this)},b.eventGetSummaryExpression={},b.eventGetValue={},b.eventGetCollapsed={},b.eventBeginRender={},b.eventRendering={},b.eventEndRender={},b}(r.StiDynamicBand);r.StiGroupHeaderBand=A}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.System.Drawing.Color,i=t.System.Drawing.Rectangle,o=function(t){function o(e){void 0===e&&(e=i.empty);var r=t.call(this,e)||this;return r._keyDataColumn="",r._masterKeyDataColumn="",r._parentValue="",r._indent=20,r._headers="",r._footers="",r}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([r])},o.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("KeyDataColumn",this.keyDataColumn),r.addPropertyStringNullOrEmpty("MasterKeyDataColumn",this.masterKeyDataColumn),r.addPropertyStringNullOrEmpty("ParentValue",this.parentValue),r.addPropertyNumber("Indent",this.indent,20),r.addPropertyStringNullOrEmpty("Headers",this.headers),r.addPropertyStringNullOrEmpty("Footers",this.footers),r},o.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"KeyDataColumn":this._keyDataColumn=a.value;break;case"MasterKeyDataColumn":this._masterKeyDataColumn=a.value;break;case"ParentValue":this._parentValue=a.value;break;case"Indent":this._indent=a.value.stimulsoft.toNumber();break;case"Headers":this._headers=a.value;break;case"Footers":this._footers=a.value;break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},o.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n0&&(this.printOn-=e.StiPrintOnType.ExceptFirstPage):this.printOn|=e.StiPrintOnType.ExceptFirstPage},enumerable:!1,configurable:!0}),a.prototype.getMaster=function(){var t,r;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.stimulsoft.is(e.StiDataBand)&&!o.stimulsoft.is(e.StiEmptyBand))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},a.prototype.createNew=function(){return new a},a}(e.StiStaticBand);e.StiPageHeaderBand=a}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.Rectangle,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.System.Drawing.Color,o=function(t){function o(n){void 0===n&&(n=r.empty);var i=t.call(this,n)||this;return i._keepReportSummaryTogether=!0,i._printIfEmpty=!0,i.dockStyle=e.StiDockStyle.Top,i}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiPrintIfEmpty,e.IStiKeepReportSummaryTogether,n])},o.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("PrintOn"),r.addPropertyBool("KeepReportSummaryTogether",this.keepReportSummaryTogether,!0),r.addPropertyBool("PrintIfEmpty",this.printIfEmpty,!0),r},o.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"KeepReportSummaryTogether":this._keepReportSummaryTogether=a.value.stimulsoft.toBoolean();break;case"PrintIfEmpty":this._printIfEmpty=a.value.stimulsoft.toBoolean();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},o.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;nj||N<=j))continue;if(k<=G){var H=0;null!=g.get(_)&&(H=g.get(_)),x>0&&0!=(_.shiftMode&e.StiShiftMode.IncreasingSize)&&g.set(_,Math.max(x+M,H)),x<0&&0!=(_.shiftMode&e.StiShiftMode.DecreasingSize)&&g.set(_,Math.min(x+M,H))}}}R++}}catch(t){u={error:t}}finally{try{P&&!P.done&&(c=D.return)&&c.call(D)}finally{if(u)throw u.error}}}try{for(var Q=__values(m.components.list),L=Q.next();!L.done;L=Q.next()){var v=L.value,Y=S.get(v),U=v.stimulsoft.as(e.IStiAutoWidth);if(null!=U&&U.autoWidth){var J=n.Left,W=U.stimulsoft.as(e.IStiTextHorAlignment);if(null!=W)switch(W.horAlignment){case i.Left:J=n.Left;break;case i.Center:case i.Width:J=n.Center;break;case i.Right:J=n.Right;break}var V=U.stimulsoft.as(e.IStiHorAlignment);if(null!=V)switch(V.horAlignment){case n.Left:J=n.Left;break;case n.Center:J=n.Center;break;case n.Right:J=n.Right;break}var z=v.left;switch(J){case n.Left:v.width=Y.width;break;case n.Center:var X=Y.width;v.left+=(v.width-X)/2,v.width=X;break;case n.Right:var K=Y.width;v.left=v.right-K,v.width=K;break}if(z>=0&&v.left<0){var Z=v.width;v.left=0,v.width=Z}}if(v.canGrow){var q=Math.max(Y.width,v.width);v.width!=q&&(v.width=q),q=Math.max(Y.height,v.height),v.height!=q&&(v.height=q)}if(v.canShrink&&(v.stimulsoft.is(e.StiContainer)&&v.parentComponentIsBand||(v.width=Math.min(Y.width,v.width))),v.height=Math.min(Y.height,v.height),this.checkContainerGrowToHeight(v),0==(v.shiftMode&e.StiShiftMode.IncreasingSize)&&0==(v.shiftMode&e.StiShiftMode.DecreasingSize))continue;null!=g.get(v)&&(v.top+=g.get(v))}}catch(t){p={error:t}}finally{try{L&&!L.done&&(h=Q.return)&&h.call(Q)}finally{if(p)throw p.error}}if(this.componentPlacedOnBand(m)||m.parentComponentIsBand){var B,I={ref:B=!1},C=m.getActualSize(!0,I);B=I.ref,m.parentComponentIsBand&&!m.parentComponentIsCrossBand||(m.width=C.width),m.height=C.height,B&&(I={ref:B},C=m.getActualSize(!1,I),B=I.ref,m.parentComponentIsBand&&!m.parentComponentIsCrossBand||(m.width=C.width),m.height=C.height),this.checkContainerGrowToHeight(m)}if(m.stimulsoft.is(e.StiPage)&&m.unlimitedHeight){var $=m,B,I={ref:B=!1},C=m.getActualSize(!0,I);B=I.ref;while(C.height>$.height)$.segmentPerHeight++}null!=f&&f.set(a,null)},t.componentPlacedOnBand=function(t){var r=t.parent;while(1==1){if(null==r)return!1;if(r.stimulsoft.is(e.StiBand))return!0;if(r.stimulsoft.is(e.StiPage))return!1;if(r.parentComponentIsBand)return!0;r=r.parent}return!1},t.checkContainerGrowToHeight=function(t){var r,n,i=t.stimulsoft.as(e.StiContainer);if(null!=i)try{for(var o=__values(i.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.growToHeight&&s.isEnabled&&(s.height=i.height-s.top,this.checkContainerGrowToHeight(s))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},t}();e.StiContainerHelper=a}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBreakable="IStiBreakable"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.Report.Components.IStiBreakable,i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._rightToLeft=!1,e._columnGaps=0,e._columnWidth=0,e._columns=0,e}return __extends(e,t),e.prototype.implements=function(){return e.ImplementsStiPanel||(e.ImplementsStiPanel=t.prototype.implements.call(this).concat([n,r])),e.ImplementsStiPanel},e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("RightToLeft",this.rightToLeft),r.addPropertyNumber("ColumnGaps",this.columnGaps,0),r.addPropertyNumber("ColumnWidth",this.columnWidth,0),r.addPropertyNumber("Columns",this.columns),r},e.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"RightToLeft":this._rightToLeft=a.value.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=a.value.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=a.value.stimulsoft.toNumber();break;case"Columns":this._columns=a.value.stimulsoft.toNumber();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},e.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n0)try{for(var l=__values(this.parameters.list),u=l.next();!u.done;u=l.next()){var c=u.value;if(!n.isNullOrEmpty(c.name)&&null!=c.expression&&!n.isNullOrEmpty(c.expression)){var p=t.Report.Engine.StiParser.StiParser.parseTextValue("{"+c.expression+"}",this);i.value.push({key:c.name,value:p})}}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}}catch(t){var m=n.format("Expression in parameters of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),m),e.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(h.prototype,"fillParametersEvent",{get:function(){return new a(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(h.eventFillParameters,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"useExternalReport",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"keepSubReportTogether",{get:function(){return this._keepSubReportTogether},set:function(t){this._keepSubReportTogether=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"subReportPage",{get:function(){var t,e;if(null==this.report)return null;try{for(var r=__values(this.report.pages.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.guid==this._subReportPageGuid)return i}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return null},set:function(t){null==t?this._subReportPageGuid=null:(null==t.guid&&(t.guid=l.newGuid()),this._subReportPageGuid=t.guid,this.updateSubReportPageWidth())},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"subReportPageGuid",{get:function(){return this._subReportPageGuid},set:function(t){this._subReportPageGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"subReportUrl",{get:function(){return this._subReportUrl},set:function(t){this._subReportUrl=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"parameters",{get:function(){return this._parameters},set:function(t){this._parameters=t},enumerable:!1,configurable:!0}),h.getSubReportForPage=function(t){var e,r;if(null==t)return null;var n=t.report.getComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.is(h)&&a.subReportPage==t)return a.stimulsoft.as(h)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},h.eventFillParameters={},h}(r.StiContainer);r.StiSubReport=p}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.Base.StiJson,i=t.System.Enum,o=t.System.ICloneable,a=t.Report.Expressions.StiExpression,s=function(){function t(t,r,n,i,o,a,s){void 0===t&&(t=null),void 0===r&&(r=""),void 0===n&&(n=e.StiFilterCondition.EqualTo),void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a=e.StiFilterDataType.String),void 0===s&&(s=""),this._condition=e.StiFilterCondition.EqualTo,this._dataType=e.StiFilterDataType.String,this._column="",this._item=e.StiFilterItem.Value,this.valueObj1="",this.valueObj2="",this._expression="",this._item=null==t?e.StiFilterItem.Value:t,this._column=r,this._condition=n,this.valueObj1=i,this.valueObj2=o,this._dataType=a,this._expression=s}return t.prototype.implements=function(){return[o,r]},t.prototype.saveToJsonObject=function(t){var r=new n;return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyEnum("Condition",e.StiFilterCondition,this.condition,e.StiFilterCondition.EqualTo),r.addPropertyEnum("DataType",e.StiFilterDataType,this.dataType,e.StiFilterDataType.String),r.addPropertyStringNullOrEmpty("Column",this.column),r.addPropertyEnum("Item",e.StiFilterItem,this.item,e.StiFilterItem.Value),r.addPropertyStringNullOrEmpty("Value1",this.value1),r.addPropertyStringNullOrEmpty("Value2",this.value2),r.addPropertyJObject("Expression",new a(this.expression).saveToJsonObject(t)),r},t.prototype.loadFromJsonObject=function(t){var r,n;try{for(var o=__values(t.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"Condition":this._condition=i.parse(e.StiFilterCondition,l.value);break;case"DataType":this._dataType=i.parse(e.StiFilterDataType,l.value);break;case"Column":this._column=l.value;break;case"Item":this._item=i.parse(e.StiFilterItem,l.value);break;case"Value1":this.valueObj1=l.value;break;case"Value2":this.valueObj2=l.value;break;case"Expression":var u=new a;u.loadFromJsonObject(l.value),this._expression=u.value;break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t.prototype.memberwiseClone=function(){var 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},Object.defineProperty(t.prototype,"condition",{get:function(){return this._condition},set:function(t){this._condition=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataType",{get:function(){return this._dataType},set:function(t){this._dataType=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this._item},set:function(t){this._item=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value1",{get:function(){return this.valueObj1},set:function(t){this.valueObj1=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value2",{get:function(){return this.valueObj2},set:function(t){this.valueObj2=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this._expression},set:function(t){this._expression=t},enumerable:!1,configurable:!0}),t}();e.StiFilter=s}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(r,n,i,o,a,s,l){void 0===r&&(r=t.StiFilterItem.Value),void 0===n&&(n=""),void 0===i&&(i=t.StiFilterCondition.EqualTo),void 0===o&&(o=""),void 0===a&&(a=""),void 0===s&&(s=t.StiFilterDataType.String),void 0===l&&(l="");var u=e.call(this,r,n,i,o,a,s,l)||this;return u._tag=null,u}return __extends(r,e),r.prototype.implements=function(){return e.prototype.implements.call(this)},Object.defineProperty(r.prototype,"tag",{get:function(){return this._tag},set:function(t){this._tag=t},enumerable:!1,configurable:!0}),r}(t.StiFilter);t.StiBaseCondition=e}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Drawing.Color,o=t.Base.Drawing.StiSolidBrush,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,l=t.System.Enum,u=function(u){function c(t,e,n,o,a,s,l,c,p,h,m){void 0===t&&(t=""),void 0===e&&(e=r.StiColorScaleType.Color2),void 0===n&&(n=i.red),void 0===o&&(o=i.yellow),void 0===a&&(a=i.green),void 0===s&&(s=r.StiMinimumType.Auto),void 0===l&&(l=0),void 0===c&&(c=r.StiMidType.Auto),void 0===p&&(p=50),void 0===h&&(h=r.StiMaximumType.Auto),void 0===m&&(m=100);var f=u.call(this)||this;return f._scaleType=r.StiColorScaleType.Color2,f._minimumColor=i.red,f._midColor=i.yellow,f._maximumColor=i.green,f._minimumValue=0,f._midType=0,f._midValue=50,f._maximumValue=100,f.minimum=null,f.maximum=null,f.column=t,f.scaleType=e,f.minimumColor=n,f.midColor=o,f.maximumColor=a,f.minimumType=s,f.minimumValue=l,f.midType=c,f.midValue=p,f.maximumType=h,f.maximumValue=m,f}return __extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([r.IStiIndicatorCondition,a])},c.prototype.saveToJsonObject=function(t){var e=u.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("ScaleType",r.StiColorScaleType,this.scaleType,r.StiColorScaleType.Color2),e.addPropertyStringNullOrEmpty("MinimumColor",s.Serialize.jColor(this.minimumColor,i.red)),e.addPropertyStringNullOrEmpty("MidColor",s.Serialize.jColor(this.midColor,i.yellow)),e.addPropertyStringNullOrEmpty("MaximumColor",s.Serialize.jColor(this.maximumColor,i.green)),e.addPropertyEnum("MinimumType",r.StiMinimumType,this.minimumType,r.StiMinimumType.Auto),e.addPropertyNumber("MinimumValue",this.minimumValue,0),e.addPropertyEnum("MidType",r.StiMidType,this.midType,r.StiMidType.Auto),e.addPropertyNumber("MidValue",this.midValue,50),e.addPropertyEnum("MaximumType",r.StiMaximumType,this.maximumType,r.StiMaximumType.Auto),e.addPropertyNumber("MaximumValue",this.maximumValue,100),e},c.prototype.loadFromJsonObject=function(t){var e,n;u.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"ScaleType":this._scaleType=l.parse(r.StiColorScaleType,a.value);break;case"MinimumColor":this._minimumColor=s.Deserialize.color(a.value);break;case"MidColor":this._midColor=s.Deserialize.color(a.value);break;case"MaximumColor":this._maximumColor=s.Deserialize.color(a.value);break;case"MinimumType":this._minimumType=l.parse(r.StiMinimumType,a.value);break;case"MinimumValue":this._minimumValue=a.value.stimulsoft.toNumber();break;case"MidType":this._midType=l.parse(r.StiMidType,a.value);break;case"MidValue":this._midValue=a.value.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=l.parse(r.StiMaximumType,a.value);break;case"MaximumValue":this._maximumValue=a.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(e,n){for(var i=0;i(g=Math.max(g,0))&&(d=g);var S=this.midValue;this.minimumType==r.StiMinimumType.Value?h=this.minimumValue:this.minimumType==r.StiMinimumType.Percent&&(h+=f*d/100),this.maximumType==r.StiMaximumType.Value?m=this.maximumValue:this.maximumType==r.StiMaximumType.Percent&&(m=h+f*g/100);var y=(m-h)/2;this.midType==r.StiMidType.Value?y=this.midValue:this.midType==r.StiMidType.Percent&&(y=h+f*S/100),ym&&(y=m);var A=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary,this.column),b=0;try{b=+e.StiReport.changeType(A,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}b>m&&(b=m),by?(v=(b-y)/(m-y),C=this.midColor,w=this.maximumColor):(v=b/(y-h),C=this.minimumColor,w=this.midColor);var B=(w.a-C.a)*v+C.a,I=(w.r-C.r)*v+C.r,T=(w.g-C.g)*v+C.g,E=(w.b-C.b)*v+C.b;return B=Math.round(Math.min(B,255)),I=Math.round(Math.min(I,255)),T=Math.round(Math.min(T,255)),E=Math.round(Math.min(E,255)),a.brush=new o(i.fromArgb(B,I,T,E)),null},c.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(c.prototype,"scaleType",{get:function(){return this._scaleType},set:function(t){this._scaleType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimumColor",{get:function(){return this._minimumColor},set:function(t){this._minimumColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"midColor",{get:function(){return this._midColor},set:function(t){this._midColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximumColor",{get:function(){return this._maximumColor},set:function(t){this._maximumColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimumType",{get:function(){return this._minimumType},set:function(t){this._minimumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(t){this._minimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"midType",{get:function(){return this._midType},set:function(t){this._midType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"midValue",{get:function(){return this._midValue},set:function(t){this._midValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximumType",{get:function(){return this._maximumType},set:function(t){this._maximumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(t){this._maximumValue=t},enumerable:!1,configurable:!0}),c.prototype.equals=function(t){var e=t;if(null==e)return!1;return this.column.stimulsoft.equals(e.column)&&+this.scaleType==+e.scaleType&&this.minimumColor.stimulsoft.equals(e.minimumColor)&&this.midColor.stimulsoft.equals(e.midColor)&&this.maximumColor.stimulsoft.equals(e.maximumColor)&&+this.minimumType==+e.minimumType&&this.minimumValue.stimulsoft.equals(e.minimumValue)&&+this.midType==+e.midType&&this.midValue.stimulsoft.equals(e.midValue)&&+this.maximumType==+e.maximumType&&this.maximumValue.stimulsoft.equals(e.maximumValue)},c}(r.StiBaseCondition);r.StiColorScaleCondition=u}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.IStiGetFonts,n=t.System.Drawing.ContentAlignment,i=t.System.Drawing.Color,o=t.System.Drawing.Font,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,l=t.System.Enum,u=function(u){function c(t,r,a,s,l,c,p,h,m,f,d,g,S,y,A,b,v,C,w){void 0===t&&(t=e.StiFilterItem.Value),void 0===r&&(r=""),void 0===a&&(a=e.StiFilterCondition.EqualTo),void 0===s&&(s=""),void 0===l&&(l=""),void 0===c&&(c=e.StiFilterDataType.String),void 0===p&&(p=""),void 0===h&&(h=i.red),void 0===m&&(m=i.transparent),void 0===f&&(f=new o("Arial",8)),void 0===d&&(d=!0),void 0===g&&(g=!1),void 0===S&&(S=""),void 0===y&&(y=""),void 0===A&&(A=e.StiConditionBorderSides.NotAssigned),void 0===b&&(b=e.StiConditionPermissions.All),void 0===v&&(v=null),void 0===C&&(C=n.MiddleRight),void 0===w&&(w=null);var B=u.call(this,t,r,a,s,l,c,p)||this;return B._enabled=!0,B._textColor=i.red,B._backColor=i.transparent,B._font=new o("Arial",8),B._canAssignExpression=!0,B._breakIfTrue=!1,B._assignExpression="",B._style="",B._borderSides=e.StiConditionBorderSides.NotAssigned,B._permissions=e.StiConditionPermissions.All,B.iconAlignment=n.MiddleRight,B.textColor=h,B.backColor=m,null!=f&&(B.font=f),B.enabled=d,B.canAssignExpression=g,B.assignExpression=S,B.style=y,B.borderSides=A,B.permissions=b,B.icon=v,B.iconAlignment=C,B.iconSize=w,B}return __extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([a,r])},c.prototype.saveToJsonObject=function(t){var r=u.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("Enabled",this.enabled,!0),r.addPropertyStringNullOrEmpty("TextColor",s.Serialize.jColor(this.textColor,i.red)),r.addPropertyStringNullOrEmpty("BackColor",s.Serialize.jColor(this.backColor,i.transparent)),r.addPropertyStringNullOrEmpty("Font",s.Serialize.fontArial8(this.font)),r.addPropertyBool("CanAssignExpression",this.canAssignExpression),r.addPropertyStringNullOrEmpty("AssignExpression",this.assignExpression),r.addPropertyStringNullOrEmpty("Style",this.style),r.addPropertyEnum("BorderSides",e.StiConditionBorderSides,this.borderSides,e.StiConditionBorderSides.NotAssigned),r.addPropertyEnum("Permissions",e.StiConditionPermissions,this.permissions,e.StiConditionPermissions.All),r.addPropertyBool("BreakIfTrue",this.breakIfTrue,!1),r},c.prototype.loadFromJsonObject=function(t){var r,n;u.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Enabled":this._enabled=a.value.stimulsoft.toBoolean();break;case"TextColor":this._textColor=s.Deserialize.color(a.value);break;case"BackColor":this._backColor=s.Deserialize.color(a.value);break;case"Font":this._font=s.Deserialize.font(a.value,this._font);break;case"CanAssignExpression":this._canAssignExpression=a.value.stimulsoft.toBoolean();break;case"AssignExpression":this._assignExpression=a.value.toString();break;case"Style":this._style=a.value;break;case"BorderSides":this._borderSides=l.parse(e.StiConditionBorderSides,a.value);break;case"Permissions":this._permissions=l.parse(e.StiConditionPermissions,a.value);break;case"BreakIfTrue":this._breakIfTrue=a.value.stimulsoft.toBoolean();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},c.prototype.loadFromXml=function(r,n){for(var i=0;i0&&(this.permissions-=e.StiConditionPermissions.Borders))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"permissions",{get:function(){return this._permissions},set:function(t){this._permissions=t},enumerable:!1,configurable:!0}),c.prototype.equals=function(t){var e=t;if(null==e)return!1;return this.backColor.stimulsoft.equals(e.backColor)&&this.textColor.stimulsoft.equals(e.textColor)&&this.column.stimulsoft.equals(e.column)&&this.condition==e.condition&&this.dataType==e.dataType&&this.enabled.stimulsoft.equals(e.enabled)&&this.font.stimulsoft.equals(e.font)&&this.item==e.item&&this.value1.stimulsoft.equals(e.value1)&&this.value2.stimulsoft.equals(e.value2)&&this.expression.trim().stimulsoft.equals(e.expression.trim())&&this.canAssignExpression.stimulsoft.equals(e.canAssignExpression)&&this.assignExpression.stimulsoft.equals(e.assignExpression)&&this.icon==e.icon&&this.iconAlignment==e.iconAlignment&&this.iconSize==e.iconSize},c}(e.StiBaseCondition);e.StiCondition=u}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.System.Drawing.Font,i=t.System.Drawing.FontStyle,o=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this)},o.apply=function(t,e){var r,n,i=t;if(e.stimulsoft.startsWith("##")&&e.stimulsoft.endsWith("##")){e=e.substr(2,e.length-4);try{for(var a=__values(StiOptions.Designer.styles.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.name==e)return l.setStyleToComponent(i),void o.applyParentStyle(l,i)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var u=i.report.styles.getByName(e);if(null!=u)return u.setStyleToComponent(i),void this.applyParentStyle(u,i)},o.applyParentStyle=function(t,e){null!=e&&null!=e.report&&null!=e.report.engine&&(null==e.report.engine.hashParentStyles&&(e.report.engine.hashParentStyles=new r),e.report.engine.hashParentStyles.set(e,t))},o.applyFont=function(t,r,o){var a=t;if(null!=a){var s=!1,l=a.font.name,u=a.font.size,c=a.font.bold,p=a.font.italic,h=a.font.underline,m=a.font.strikeout;if((o&e.StiConditionPermissions.Font)>0&&(s=!0,l=r.name),(o&e.StiConditionPermissions.FontSize)>0&&(s=!0,u=r.size),(o&e.StiConditionPermissions.FontStyleBold)>0&&(s=!0,c=r.bold),(o&e.StiConditionPermissions.FontStyleItalic)>0&&(s=!0,p=r.italic),(o&e.StiConditionPermissions.FontStyleUnderline)>0&&(s=!0,h=r.underline),(o&e.StiConditionPermissions.FontStyleStrikeout)>0&&(s=!0,m=r.strikeout),s){var f=i.Regular;c&&(f|=i.Bold),p&&(f|=i.Italic),h&&(f|=i.Underline),m&&(f|=i.Strikeout),a.font=new n(l,u,f)}}},o}(e.StiFilter);e.StiConditionHelper=o}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Drawing.Color,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJsonReportObjectHelper,s=t.System.Enum,l=t.Report.Components.StiBrushType,u=function(u){function c(t,e,n,o,a,s,c,p,h,m,f,d){void 0===t&&(t=""),void 0===e&&(e=l.Gradient),void 0===n&&(n=i.green),void 0===o&&(o=i.red),void 0===a&&(a=!1),void 0===s&&(s=i.darkGreen),void 0===c&&(c=i.darkRed),void 0===p&&(p=r.StiDataBarDirection.Default),void 0===h&&(h=r.StiMinimumType.Auto),void 0===m&&(m=0),void 0===f&&(f=r.StiMaximumType.Auto),void 0===d&&(d=100);var g=u.call(this)||this;return g._brushType=l.Gradient,g._positiveColor=i.green,g._negativeColor=i.red,g._positiveBorderColor=i.darkGreen,g._negativeBorderColor=i.darkRed,g._showBorder=!1,g._direction=r.StiDataBarDirection.Default,g._minimumType=r.StiMinimumType.Auto,g._minimumValue=0,g._maximumType=r.StiMaximumType.Auto,g._maximumValue=100,g.minimum=null,g.maximum=null,g.column=t,g.brushType=e,g.positiveColor=n,g.negativeColor=o,g.showBorder=a,g.positiveBorderColor=s,g.negativeBorderColor=c,g.direction=p,g.minimumType=h,g.minimumValue=m,g.maximumType=f,g.maximumValue=d,g}return __extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([r.IStiDataBarIndicator,r.IStiIndicatorCondition,o])},c.prototype.saveToJsonObject=function(t){var e=u.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("BrushType",l,this.brushType,l.Gradient),e.addPropertyStringNullOrEmpty("PositiveColor",a.Serialize.jColor(this.positiveColor,i.green)),e.addPropertyStringNullOrEmpty("NegativeColor",a.Serialize.jColor(this.negativeColor,i.red)),e.addPropertyStringNullOrEmpty("PositiveBorderColor",a.Serialize.jColor(this.positiveBorderColor,i.darkGreen)),e.addPropertyStringNullOrEmpty("NegativeBorderColor",a.Serialize.jColor(this.negativeBorderColor,i.darkRed)),e.addPropertyBool("ShowBorder",this.showBorder),e.addPropertyEnum("Direction",r.StiDataBarDirection,this.direction,r.StiDataBarDirection.Default),e.addPropertyEnum("MinimumType",r.StiMinimumType,this.minimumType,r.StiMinimumType.Auto),e.addPropertyNumber("MinimumValue",this.minimumValue,0),e.addPropertyEnum("MaximumType",r.StiMaximumType,this.maximumType,r.StiMaximumType.Auto),e.addPropertyNumber("MaximumValue",this.maximumValue,100),e},c.prototype.loadFromJsonObject=function(t){var e,n;u.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var c=o.value;switch(c.name){case"BrushType":this._brushType=s.parse(l,c.value);break;case"PositiveColor":this._positiveColor=a.Deserialize.color(c.value);break;case"NegativeColor":this._negativeColor=a.Deserialize.color(c.value);break;case"PositiveBorderColor":this._positiveBorderColor=a.Deserialize.color(c.value);break;case"NegativeBorderColor":this._negativeBorderColor=a.Deserialize.color(c.value);break;case"ShowBorder":this._showBorder=c.value.stimulsoft.toBoolean();break;case"Direction":this._direction=s.parse(r.StiDataBarDirection,c.value);break;case"MinimumType":this._minimumType=s.parse(r.StiMinimumType,c.value);break;case"MinimumValue":this._minimumValue=c.value.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=s.parse(r.StiMaximumType,c.value);break;case"MaximumValue":this._maximumValue=c.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},c.prototype.createIndicator=function(i){if(n.isNullOrEmpty(this.column))return null;if(!(this.minimumType==r.StiMinimumType.Value&&this.maximumType==r.StiMaximumType.Value||null!=this.minimum&&null!=this.maximum)){this.minimum=0,this.maximum=0;var o=t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(i.report.dictionary,this.column);if(null!=o){o.saveState("Indicator"),o.first();var a=0;while(!o.isEof){var s=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column),l=0;try{l=+e.StiReport.changeType(s,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}0==a?(this.minimum=l,this.maximum=l):(this.minimum=Math.min(this.minimum,l),this.maximum=Math.max(this.maximum,l)),a++,o.next()}o.restoreState("Indicator")}if(null==o){var u=t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(i.report.dictionary,this.column);if(null==u)return null;u.saveState("Indicator"),u.createEnumerator();var a=0;while(!u.isEof){var s=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column),l=0;try{l=+e.StiReport.changeType(s,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}0==a?(this.minimum=l,this.maximum=l):(this.minimum=Math.min(this.minimum,l),this.maximum=Math.max(this.maximum,l)),a++,u.next()}u.restoreState("Indicator")}this.minimum>0&&this.minimumType!=r.StiMinimumType.Minimum&&(this.minimum=0),this.maximum<0&&this.maximumType!=r.StiMaximumType.Maximum&&(this.maximum=0)}var c=this.minimum,p=this.maximum,h=p-c,m=this.minimumValue;m=Math.min(m,100),m=Math.max(m,0);var f=this.maximumValue;f=Math.min(f,100),m>(f=Math.max(f,0))&&(m=f),this.minimumType==r.StiMinimumType.Value?c=this.minimumValue:this.minimumType==r.StiMinimumType.Percent&&(c+=h*m/100),this.maximumType==r.StiMaximumType.Value?p=this.maximumValue:this.maximumType==r.StiMaximumType.Percent&&(p=c+h*f/100);var d=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary,this.column),g=0;try{g=+e.StiReport.changeType(d,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}g>p&&(g=p),g0&&(g-=c,p-=c,c=0),p<0&&(g-=p,c-=p,p=0);var S=new r.StiDataBarIndicator;return S.brushType=this.brushType,S.positiveColor=this.positiveColor,S.negativeColor=this.negativeColor,S.showBorder=this.showBorder,S.positiveBorderColor=this.positiveBorderColor,S.negativeBorderColor=this.negativeBorderColor,S.direction=this.direction,S.minimum=c,S.maximum=p,S.value=g,S},c.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(c.prototype,"brushType",{get:function(){return this._brushType},set:function(t){this._brushType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"positiveColor",{get:function(){return this._positiveColor},set:function(t){this._positiveColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"negativeColor",{get:function(){return this._negativeColor},set:function(t){this._negativeColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"positiveBorderColor",{get:function(){return this._positiveBorderColor},set:function(t){this._positiveBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"negativeBorderColor",{get:function(){return this._negativeBorderColor},set:function(t){this._negativeBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"showBorder",{get:function(){return this._showBorder},set:function(t){this._showBorder=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimumType",{get:function(){return this._minimumType},set:function(t){this._minimumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(t){this._minimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximumType",{get:function(){return this._maximumType},set:function(t){this._maximumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(t){this._maximumValue=t},enumerable:!1,configurable:!0}),c.prototype.equals=function(t){var e=t;if(null==e)return!1;return this.column.stimulsoft.equals(e.column)&&this.brushType==e.brushType&&this.positiveColor.stimulsoft.equals(e.positiveColor)&&this.negativeColor==e.negativeColor&&this.showBorder.stimulsoft.equals(e.showBorder)&&this.positiveBorderColor.stimulsoft.equals(e.positiveBorderColor)&&this.negativeBorderColor.stimulsoft.equals(e.negativeBorderColor)&&this.minimumType==e.minimumType&&this.minimumValue.stimulsoft.equals(e.minimumValue)&&this.maximumType==e.maximumType&&this.maximumValue.stimulsoft.equals(e.maximumValue)},c}(r.StiBaseCondition);r.StiDataBarCondition=u}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Enum,i=t.System.Drawing.ContentAlignment,o=t.Base.JsonReportObject.IStiJsonReportObject,a=function(a){function s(t,r,n,o,s,l,u,c){void 0===t&&(t=""),void 0===r&&(r=e.StiIconSet.None),void 0===n&&(n=i.MiddleLeft),void 0===o&&(o=null),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null),void 0===c&&(c=null);var p=a.call(this)||this;return p._iconSet=e.StiIconSet.None,p._contentAlignment=i.MiddleLeft,p._iconSetItem1=null,p._iconSetItem2=null,p._iconSetItem3=null,p._iconSetItem4=null,p._iconSetItem5=null,p.minimum=null,p.maximum=null,p.column=t,p.iconSet=r,p.contentAlignment=n,p.iconSetItem1=o,p.iconSetItem2=s,p.iconSetItem3=l,p.iconSetItem4=u,p.iconSetItem5=c,p}return __extends(s,a),s.prototype.implements=function(){return a.prototype.implements.call(this).concat([e.IStiIndicatorCondition,o])},s.prototype.saveToJsonObject=function(t){var r=a.prototype.saveToJsonObject.call(this,t);return r.addPropertyEnum("IconSet",e.StiIconSet,this.iconSet,e.StiIconSet.None),r.addPropertyEnum("ContentAlignment",i,this.contentAlignment,i.MiddleLeft),null!=this.iconSetItem1&&r.addPropertyJObject("IconSetItem1",this.iconSetItem1.saveToJsonObject(t)),null!=this.iconSetItem2&&r.addPropertyJObject("IconSetItem2",this.iconSetItem2.saveToJsonObject(t)),null!=this.iconSetItem3&&r.addPropertyJObject("IconSetItem3",this.iconSetItem3.saveToJsonObject(t)),null!=this.iconSetItem4&&r.addPropertyJObject("IconSetItem4",this.iconSetItem4.saveToJsonObject(t)),null!=this.iconSetItem5&&r.addPropertyJObject("IconSetItem5",this.iconSetItem5.saveToJsonObject(t)),r},s.prototype.loadFromJsonObject=function(t){var r,o;a.prototype.loadFromJsonObject.call(this,t);try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.name){case"IconSet":this._iconSet=n.parse(e.StiIconSet,u.value);break;case"ContentAlignment":this._contentAlignment=n.parse(i,u.value);break;case"IconSetItem1":var c;(c=new e.StiIconSetItem).loadFromJsonObject(u.value),this._iconSetItem1=c;break;case"IconSetItem2":var c;(c=new e.StiIconSetItem).loadFromJsonObject(u.value),this._iconSetItem2=c;break;case"IconSetItem3":var c;(c=new e.StiIconSetItem).loadFromJsonObject(u.value),this._iconSetItem3=c;break;case"IconSetItem4":var c;(c=new e.StiIconSetItem).loadFromJsonObject(u.value),this._iconSetItem4=c;break;case"IconSetItem5":var c;(c=new e.StiIconSetItem).loadFromJsonObject(u.value),this._iconSetItem5=c;break}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},s.prototype.createIndicator=function(n){if(r.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;var i=t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(n.report.dictionary,this.column);if(null!=i){i.saveState("Indicator"),null!=i.detailRows&&null!=i.dataTable&&(i.detailRows=null),i.first();var o=0;while(!i.isEof){var a,s=(a=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column)).stimulsoft.toNumber();0==o?(this.minimum=s,this.maximum=s):(this.minimum=Math.min(this.minimum,s),this.maximum=Math.max(this.maximum,s)),o++,i.next()}i.restoreState("Indicator")}if(null==i){var l=t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(n.report.dictionary,this.column);if(null==l)return null;l.saveState("Indicator"),l.createEnumerator();var o=0;while(!l.isEof){var a,s=(a=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column)).stimulsoft.toNumber();0==o?(this.minimum=s,this.maximum=s):(this.minimum=Math.min(this.minimum,s),this.maximum=Math.max(this.maximum,s)),o++,l.next()}l.restoreState("Indicator")}}var u=this.minimum,c=this.maximum,p=c-u,h,m=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary,this.column).stimulsoft.toNumber();m>c&&(m=c),mt.value)return!0}else if(n>=t.value)return!0}else if(t.operation==e.StiIconSetOperation.MoreThan){if(r>t.value)return!0}else if(r>=t.value)return!0;return!1},s.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(s.prototype,"iconSet",{get:function(){return this._iconSet},set:function(t){this._iconSet=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"contentAlignment",{get:function(){return this._contentAlignment},set:function(t){this._contentAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"iconSetItem1",{get:function(){return this._iconSetItem1},set:function(t){this._iconSetItem1=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"iconSetItem2",{get:function(){return this._iconSetItem2},set:function(t){this._iconSetItem2=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"iconSetItem3",{get:function(){return this._iconSetItem3},set:function(t){this._iconSetItem3=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"iconSetItem4",{get:function(){return this._iconSetItem4},set:function(t){this._iconSetItem4=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"iconSetItem5",{get:function(){return this._iconSetItem5},set:function(t){this._iconSetItem5=t},enumerable:!1,configurable:!0}),s.prototype.equals=function(t){var e=t;if(null==e)return!1;return this.iconSet==e.iconSet&&this.contentAlignment==e.contentAlignment},s}(e.StiBaseCondition);e.StiIconSetCondition=a}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiJson,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.System.Enum,o=function(){function t(t,r,n,i){void 0===t&&(t=e.StiIcon.None),void 0===r&&(r=e.StiIconSetOperation.MoreThan),void 0===n&&(n=e.StiIconSetValueType.Percent),void 0===i&&(i=0),this._icon=e.StiIcon.None,this._operation=e.StiIconSetOperation.MoreThan,this._valueType=e.StiIconSetValueType.Percent,this._value=0,this.icon=t,this.operation=r,this.valueType=n,this.value=i}return t.prototype.implements=function(){return[n]},t.prototype.saveToJsonObject=function(t){var n=new r;return n.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),n.addPropertyEnum("Icon",e.StiIcon,this.icon,e.StiIcon.None),n.addPropertyEnum("Operation",e.StiIconSetOperation,this.operation,e.StiIconSetOperation.MoreThan),n.addPropertyEnum("ValueType",e.StiIconSetValueType,this.valueType,e.StiIconSetValueType.Percent),n.addPropertyNumber("Value",this.value,0),n},t.prototype.loadFromJsonObject=function(t){var r,n;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Icon":this._icon=i.parse(e.StiIcon,s.value);break;case"Operation":this._operation=i.parse(e.StiIconSetOperation,s.value);break;case"ValueType":this._valueType=i.parse(e.StiIconSetValueType,s.value);break;case"Value":this._value=s.value.stimulsoft.toNumber();break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},Object.defineProperty(t.prototype,"icon",{get:function(){return this._icon},set:function(t){this._icon=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operation",{get:function(){return this._operation},set:function(t){this._operation=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueType",{get:function(){return this._valueType},set:function(t){this._valueType=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),t}();e.StiIconSetItem=o}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiJsonReportObjectHelper,n=t.Base.StiJson,i=t.System.Drawing.Color,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Text.StiReportObjectStringConverter,s=t.System.Enum,l=function(l){function u(t,r,n,o,a,s,u,c,p,h){var m,f;void 0===t&&(t=i.red),void 0===r&&(r=i.transparent),void 0===n&&(n=null),void 0===o&&(o=!0),void 0===a&&(a=e.StiFilterMode.And),void 0===s&&(s=null),void 0===u&&(u=!1),void 0===c&&(c=""),void 0===p&&(p=""),void 0===h&&(h=e.StiConditionBorderSides.NotAssigned);var d=l.call(this)||this;if(d._filterMode=e.StiFilterMode.And,d._filters=new e.StiFiltersCollection,d.style=p,d.borderSides=h,d.filterMode=a,null!=s)try{for(var g=__values(s),S=g.next();!S.done;S=g.next()){var y=S.value;d.filters.add(y)}}catch(t){m={error:t}}finally{try{S&&!S.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return d}return __extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([e.IStiFilter,o])},u.prototype.saveToJsonObject=function(t){var o=new n;return o.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),o.addPropertyBool("Enabled",this.enabled,!0),o.addPropertyStringNullOrEmpty("TextColor",r.Serialize.jColor(this.textColor,i.red)),o.addPropertyStringNullOrEmpty("BackColor",r.Serialize.jColor(this.backColor,i.transparent)),o.addPropertyStringNullOrEmpty("Font",r.Serialize.fontArial8(this.font)),o.addPropertyBool("CanAssignExpression",this.canAssignExpression),o.addPropertyStringNullOrEmpty("Style",this.style),o.addPropertyEnum("BorderSides",e.StiConditionBorderSides,this.borderSides,e.StiConditionBorderSides.NotAssigned),o.addPropertyEnum("Permissions",e.StiConditionPermissions,this.permissions,e.StiConditionPermissions.All),o.addPropertyEnum("FilterMode",e.StiFilterMode,this.filterMode,e.StiFilterMode.And),o.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),o},u.prototype.loadFromJsonObject=function(t){var r,n;l.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"FilterMode":this._filterMode=s.parse(e.StiFilterMode,a.value);break;case"Filters":this._filters.loadFromJsonObject(a.value);break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},u.prototype.loadfromXmlDoc=function(r){try{if("StiSerializer"!=r.firstChild.nodeName)return;for(var n=0;n=0&&t<=.5&&(this._arrowWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"arrowHeight",{get:function(){return this._arrowHeight},set:function(t){t>=0&&t<=1&&(this._arrowHeight=t)},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiArrowShapeType=i}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Enum,i=function(t){function i(e){void 0===e&&(e=r.StiShapeDirection.Up);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Up,n.direction=e,n}return __extends(i,t),i.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyEnum("Direction",r.StiShapeDirection,this.direction,r.StiShapeDirection.Up),n},i.prototype.loadFromJsonObject=function(t){var e,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Direction":this._direction=n.parse(r.StiShapeDirection,s.value);break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var i=0;i=0&&(this._bevel=t)},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiOctagonShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiOvalShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiOvalShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiParallelogramShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiParallelogramShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiPlusShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiPlusShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRectangleShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiRectangleShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRegularPentagonShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiRegularPentagonShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t){void 0===t&&(t=.2);var r=e.call(this)||this;return r._round=.2,r.round=t,r}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumber("Round",this.round,.2),r},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Round":this._round=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r0&&t<=.5&&(this._round=t)},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiRoundedRectangleShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiSnipDiagonalSideCornerRectangleShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiSnipDiagonalSideCornerRectangleShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiSnipSameSideCornerRectangleShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiSnipSameSideCornerRectangleShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiTopAndBottomLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiTopAndBottomLineShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrapezoidShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiTrapezoidShapeType=r}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Enum,i=function(t){function i(e){void 0===e&&(e=r.StiShapeDirection.Up);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Up,n.direction=e,n}return __extends(i,t),i.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyEnum("Direction",r.StiShapeDirection,this.direction,r.StiShapeDirection.Up),n},i.prototype.loadFromJsonObject=function(t){var e,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Direction":this._direction=n.parse(r.StiShapeDirection,s.value);break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var i=0;i.5},set:function(t){this._canBreak=t},enumerable:!1,configurable:!0}),C.prototype.break=function(t,e,r){var n=0,i=!0,o;return e>.5||null!=this.page&&this.height/this.page.pageHeight>.5?t.checkedValue=null:this.checkedValue=null,r.ref=n,i},C.prototype.invokeEvents=function(){v.prototype.invokeEvents.call(this);try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){if(null!=this.events.get(C.eventGetChecked)&&null==this.checkedValue){var t=new b;this.invokeGetChecked(this,t),this.checkedValue=t.value}}else if((null!=this.events.get(C.eventGetChecked)||!n.isNullOrEmpty(this.checked))&&null==this.checkedValue){var t=new b;this.invokeGetChecked(this,t),this.checkedValue=t.value}if(null!=this.events.get(C.eventGetExcelValue)&&null==this.excelDataValue){var t=new s;this.invokeGetExcelValue(this,t),null!=t.value&&(this.excelDataValue=t.value.toString())}}catch(t){e.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t)}},C.prototype.onGetChecked=function(t){},C.prototype.invokeGetChecked=function(r,i){try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){var o;if(this.onGetChecked(i),null!=(o=this.events.get(C.eventGetChecked)))try{o(r,i)}catch(i){}}else{if(this.onGetChecked(i),null!=this.checked&&this.checked.length>0){var a=t.Report.Engine.StiParser.StiParser.parseTextValue(this.checked,this,r);null!=a&&(i.value=a)}var o;if(null!=(o=this.events.get(C.eventGetChecked)))try{o(r,i)}catch(i){}}}catch(t){var s=n.format("Expression in Checked property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),s),e.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(C.prototype,"getCheckedEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(C.eventGetChecked,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),C.prototype.onGetExcelValue=function(t){},C.prototype.invokeGetExcelValue=function(t,r){try{this.onGetExcelValue(r);var i=this.events.get(C.eventGetExcelValue);if(null!=i)try{i(t,r)}catch(r){}}catch(t){var o=n.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),o),e.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(C.prototype,"getExcelValueEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(C.eventGetExcelValue,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checkedValue",{get:function(){return this._checkedValue},set:function(t){this._checkedValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"contourColor",{get:function(){return this._contourColor},set:function(t){this._contourColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checkStyle",{get:function(){return this.checkStyleForTrue},set:function(t){this._checkStyle==t&&(this.checkStyleForTrue=t,this.checkStyleForFalse=r.StiCheckStyle.None)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"values",{get:function(){return this._values},set:function(t){this._values=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checkStyleForTrue",{get:function(){return this._checkStyleForTrue},set:function(t){this._checkStyleForTrue=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checkStyleForFalse",{get:function(){return this._checkStyleForFalse},set:function(t){this._checkStyleForFalse=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"excelDataValue",{get:function(){return this._excelDataValue},set:function(t){this._excelDataValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"excelValue",{get:function(){return this._excelValue},set:function(t){this._excelValue=t},enumerable:!1,configurable:!0}),C.eventGetChecked={},C.eventGetExcelValue={},C}(r.StiComponent);r.StiCheckBox=v}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Globalization.CultureInfo,i=t.Base.Services.StiService,o=t.Base.StiJson,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.System.TimeSpan,l=t.System.DateTime,u=function(i){function u(){var t=null!==i&&i.apply(this,arguments)||this;return t._stringFormat="",t}return __extends(u,i),u.prototype.implements=function(){return[a]},u.prototype.saveToJsonObject=function(t){var e=new o;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("StringFormat",this.stringFormat),e},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"StringFormat":this._stringFormat=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.createFromJsonObject=function(t){var e=StiOptions.Services.formats,r=t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value.toString(),n=e.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r})).createNew();return n.loadFromJsonObject(t),n},u.prototype.loadFromXml=function(t){for(var e=0;e2&&t.stimulsoft.startsWith("{")&&t.stimulsoft.endsWith("}")}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"stringFormat",{get:function(){return this._stringFormat},set:function(t){this._stringFormat=t},enumerable:!1,configurable:!0}),u.prototype.format=function(t){return this.format2(this.stringFormat,t)},u.prototype.format2=function(e,i){try{if(null==i)return"";if(r.isNullOrEmpty(e)){if(i.stimulsoft.is(Number))return Math.round2(i,15).toString().replace(".",",").replace(",",n.currentCulture.numberFormat.numberDecimalSeparator);return i.toString()}var o=!1;if(i.stimulsoft.is(s)){var a=i.stimulsoft.as(s),u=l.today;a.ticks<0&&(a=a.negate(),o=!0),i=u=new l(u.year,u.month,u.day,a.hours,a.minutes,a.seconds,a.milliseconds)}return r.format("{0}{1:"+e+"}",o?"-":"",i)}catch(e){return t.System.StiError.showError(e,!1),null==i?"":i.toString()}},u.prototype.createNew=function(){return null},u}(i);e.StiFormatService=u}(r=e.TextFormats||(e.TextFormats={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=function(e){function r(t){void 0===t&&(t="");var r=e.call(this)||this;return r.stringFormat=t,r}return __extends(r,e),Object.defineProperty(r.prototype,"sample",{get:function(){if(null==this.stringFormat)return"";var e=this.stringFormat.toLowerCase().trim();if("d"==e||"f"==e||"g"==e||e.stimulsoft.startsWith("y"))return t.System.DateTime.now;if(e.stimulsoft.startsWith("c")||e.stimulsoft.startsWith("n")||e.stimulsoft.startsWith("#")||e.stimulsoft.startsWith("$"))return 123.45;if(e.stimulsoft.startsWith("(#"))return 1234567890;return""},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiFormatService);e.StiCustomFormatService=r}(r=e.TextFormats||(e.TextFormats={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Data.DBNull,i=t.System.DateTime,o=t.System.TimeSpan,a=function(e){function a(t){void 0===t&&(t="t");var r=e.call(this)||this;return r.stringFormat=t,r}return __extends(a,e),a.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyString("StringFormat",this.stringFormat,"t"),r},Object.defineProperty(a.prototype,"sample",{get:function(){return i.now},enumerable:!1,configurable:!0}),a.prototype.format=function(t){return this.format2(this.stringFormat,t)},a.prototype.format2=function(e,a){if(null==a||a.stimulsoft.is(n))return"";var s,s;(r.isNullOrEmpty(e)&&(e="H:mm:ss"),a.stimulsoft.is(String))&&(StiOptions.Engine.allowConvertingInFormatting?null!=(s=t.Base.Helpers.StiValueHelper.tryToDateTime(a))&&(a=s):null!=(s=i.fromString(a.toString()))&&(a=s));if(a.stimulsoft.is(i))return a.stimulsoft.as(i).toString(e);if(a.stimulsoft.is(o))return a.stimulsoft.as(o).toString(e);return a.toString()},a.prototype.createNew=function(){return new a},a}(e.StiFormatService);e.StiTimeFormatService=a}(r=e.TextFormats||(e.TextFormats={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Data.DBNull,i=t.System.DateTime,o=t.System.TimeSpan,a=function(e){function a(t,r){void 0===t&&(t="d"),void 0===r&&(r=" ");var n=e.call(this)||this;return n._nullDisplay=" ",n.stringFormat=t,n._nullDisplay=r,n}return __extends(a,e),a.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyString("StringFormat",this.stringFormat,"d"),r.addPropertyString("NullDisplay",this.nullDisplay," "),r},a.prototype.loadFromJsonObject=function(t){var r,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"NullDisplay":this.nullDisplay=a.value;break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},a.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r9&&(t=9),null!=this.bits?this.bits.groupSize=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,t,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useGroupSeparator",{get:function(){return null==this.bits||null==this.bits.useGroupSeparator||this.bits.useGroupSeparator},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useGroupSeparator=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,t,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useLocalSetting",{get:function(){return null==this.bits||null==this.bits.useLocalSetting||this.bits.useLocalSetting},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useLocalSetting=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,t,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sample",{get:function(){return-1234.123456789},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nativeFormatString",{get:function(){return"{0:N2}"},enumerable:!1,configurable:!0}),n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(this.nullDisplay!=e.nullDisplay)return!1;if(this.negativePattern!=e.negativePattern)return!1;if(this.decimalDigits!=e.decimalDigits)return!1;if(this.decimalSeparator!=e.decimalSeparator)return!1;if(this.groupSeparator!=e.groupSeparator)return!1;if(this.groupSize!=e.groupSize)return!1;if(this.useGroupSeparator!=e.useGroupSeparator)return!1;if(this.useLocalSetting!=e.useLocalSetting)return!1;if(this.stringFormat!=e.stringFormat)return!1;return!0},Object.defineProperty(n.prototype,"state",{get:function(){return null==this.bits?a.None:this.bits.states},set:function(t){if(t==a.None&&null==this.bits)return;null!=this.bits?this.bits.states=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,t)},enumerable:!1,configurable:!0}),n.prototype.fillLocalSetting=function(t){t.numberDecimalDigits=o.currentCulture.numberFormat.numberDecimalDigits,t.numberDecimalSeparator=o.currentCulture.numberFormat.numberDecimalSeparator,t.numberGroupSeparator=o.currentCulture.numberFormat.numberGroupSeparator,t.numberGroupSizes=o.currentCulture.numberFormat.numberGroupSizes,t.numberNegativePattern=o.currentCulture.numberFormat.numberNegativePattern,t.currencyDecimalDigits=o.currentCulture.numberFormat.currencyDecimalDigits,t.currencyDecimalSeparator=o.currentCulture.numberFormat.currencyDecimalSeparator,t.currencyGroupSeparator=o.currentCulture.numberFormat.currencyGroupSeparator,t.currencyGroupSizes=o.currentCulture.numberFormat.currencyGroupSizes,t.currencyNegativePattern=o.currentCulture.numberFormat.currencyNegativePattern,t.currencyPositivePattern=o.currentCulture.numberFormat.currencyPositivePattern,t.currencySymbol=o.currentCulture.numberFormat.currencySymbol,t.percentDecimalDigits=o.currentCulture.numberFormat.percentDecimalDigits,t.percentDecimalSeparator=o.currentCulture.numberFormat.percentDecimalSeparator,t.percentGroupSeparator=o.currentCulture.numberFormat.percentGroupSeparator,t.percentGroupSizes=o.currentCulture.numberFormat.percentGroupSizes,t.percentNegativePattern=o.currentCulture.numberFormat.percentNegativePattern,t.percentPositivePattern=o.currentCulture.numberFormat.percentPositivePattern,t.percentSymbol=o.currentCulture.numberFormat.percentSymbol,t.perMilleSymbol=o.currentCulture.numberFormat.perMilleSymbol,t.positiveInfinitySymbol=o.currentCulture.numberFormat.positiveInfinitySymbol,t.positiveSign=o.currentCulture.numberFormat.positiveSign,t.NaNSymbol=o.currentCulture.numberFormat.NaNSymbol,t.negativeInfinitySymbol=o.currentCulture.numberFormat.negativeInfinitySymbol,t.negativeSign=o.currentCulture.numberFormat.negativeSign},n.prototype.format=function(t){return this.format2(this.stringFormat,t)},n.prototype.format2=function(e,n){if(null==n)return this.nullDisplay;var s=new i;if(this.useLocalSetting?(this.fillLocalSetting(s),(this.state&a.DecimalDigits)>0&&(s.numberDecimalDigits=this.decimalDigits),(this.state&a.DecimalSeparator)>0&&!r.isNullOrEmpty(this.decimalSeparator)&&(s.numberDecimalSeparator=this.decimalSeparator),(this.state&a.GroupSeparator)>0&&!r.isNullOrEmpty(this.groupSeparator)&&(s.numberGroupSeparator=this.groupSeparator),(this.state&a.GroupSize)>0&&(s.numberGroupSizes=[this.groupSize]),(this.state&a.NegativePattern)>0&&(s.numberNegativePattern=this.negativePattern)):(r.isNullOrEmpty(this.decimalSeparator)?s.numberDecimalSeparator=o.currentCulture.numberFormat.numberDecimalSeparator:s.numberDecimalSeparator=this.decimalSeparator,s.numberDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(s.numberGroupSeparator=this.groupSeparator),s.numberGroupSizes=[this.groupSize],s.numberNegativePattern=this.negativePattern),this.useGroupSeparator||(s.numberGroupSeparator=""),(this.state&a.Abbreviation)>0){var l=t.Base.Helpers.StiValueHelper.tryToNullableNumber(n);if(null!=l){var u={ref:""},c;return l=t.Report.StiAbbreviationNumberFormatHelper.format3(l,u,!1),""+this.formatStr(s,l)+u.ref}}return this.formatStr(s,n)},n.prototype.formatStr=function(t,e){var r=0;try{r=e.toString().stimulsoft.toNumber()}catch(t){return e.toString()}if(isNaN(r))return e.toString();var n="",i=Math.round2(r,t.numberDecimalDigits)<0,o=Math.abs(r),a=Math.floor(o),s=0;if(0==t.numberDecimalDigits)a=Math.round(Math.abs(r));else{var l=Math.pow(10,t.numberDecimalDigits);(s=Math.round2(Math.round2(Math.round2(o-a,t.numberDecimalDigits+1),t.numberDecimalDigits)*l))>=l&&(a++,s=0)}var u=a.toString();if(t.numberGroupSizes[0]>0&&this.useGroupSeparator){var c=u.length-t.numberGroupSizes[0];while(c>=0)n=(c>0?t.numberGroupSeparator:"")+u.substr(c,t.numberGroupSizes[0])+n,c-=t.numberGroupSizes[0];c<0&&(n=u.substring(0,c+t.numberGroupSizes[0])+n)}else n=u;if(t.numberDecimalDigits>0){u=s.toString();while(u.length0&&(l.currencyDecimalDigits=this.decimalDigits),(this.state&e.StiTextFormatState.DecimalSeparator)>0&&!n.isNullOrEmpty(this.decimalSeparator)&&(l.currencyDecimalSeparator=this.decimalSeparator),(this.state&e.StiTextFormatState.GroupSeparator)>0&&!n.isNullOrEmpty(this.groupSeparator)&&(l.currencyGroupSeparator=this.groupSeparator),(this.state&e.StiTextFormatState.GroupSize)>0&&(l.currencyGroupSizes=[this.groupSize]),(this.state&e.StiTextFormatState.NegativePattern)>0&&(l.currencyNegativePattern=this.negativePattern),(this.state&e.StiTextFormatState.PositivePattern)>0&&(l.currencyPositivePattern=this.positivePattern),(this.state&e.StiTextFormatState.CurrencySymbol)>0&&(l.currencySymbol=this.symbol)):(n.isNullOrEmpty(this.decimalSeparator)?l.currencyDecimalSeparator=a.currentCulture.numberFormat.currencyDecimalSeparator:l.currencyDecimalSeparator=this.decimalSeparator,l.currencyDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(l.currencyGroupSeparator=this.groupSeparator),l.currencyGroupSizes=[this.groupSize],l.currencyPositivePattern=this.positivePattern,l.currencyNegativePattern=this.negativePattern,null!=this.symbol&&(l.currencySymbol=this.symbol)),this.useGroupSeparator||(l.currencyGroupSeparator=""),(this.state&e.StiTextFormatState.Abbreviation)>0){var u=t.Base.Helpers.StiValueHelper.tryToNullableNumber(s);if(null!=u){var c={ref:""},p=(u=t.Report.StiAbbreviationNumberFormatHelper.format3(u,c,!1)).toFixed(l.currencyDecimalDigits);return p=""+p+c.ref,this.formatAsCurrency(u,p)}}return this.formatStr(l,s)},s.prototype.formatAsCurrency=function(t,e){var r=this.getCurrencySymbol(),n,n;if(t>=0)return(n=this.getPositivePattern()).stimulsoft.replaceAll("n",e).stimulsoft.replaceAll("$",r);return e=e.stimulsoft.replaceAll("-",""),(n=this.getNegativePattern()).stimulsoft.replaceAll("n",e).stimulsoft.replaceAll("$",r)},s.prototype.getCurrencySymbol=function(){return this.useLocalSetting&&0==(this.state&e.StiTextFormatState.CurrencySymbol)?a.currentCulture.numberFormat.currencySymbol:this.symbol},s.prototype.getPositivePattern=function(){var t=this.useLocalSetting&&0==(this.state&e.StiTextFormatState.PositivePattern)?a.currentCulture.numberFormat.currencyPositivePattern:this.positivePattern,r=["$n","n$","$ n","n $"];return t>=0&&t=0&&t=l&&(a++,s=0)}var u=a.toString();if(t.currencyGroupSizes[0]>0&&this.useGroupSeparator){var c=u.length-t.currencyGroupSizes[0];while(c>=0)n=(c>0?t.currencyGroupSeparator:"")+u.substr(c,t.currencyGroupSizes[0])+n,c-=t.currencyGroupSizes[0];c<0&&(n=u.substring(0,c+t.currencyGroupSizes[0])+n)}else n=u;if(t.currencyDecimalDigits>0){u=s.toString();while(u.length0&&(s.percentDecimalDigits=this.decimalDigits),(this.state&e.StiTextFormatState.DecimalSeparator)>0&&!n.isNullOrEmpty(this.decimalSeparator)&&(s.percentDecimalSeparator=this.decimalSeparator),(this.state&e.StiTextFormatState.GroupSeparator)>0&&!n.isNullOrEmpty(this.groupSeparator)&&(s.percentGroupSeparator=this.groupSeparator),(this.state&e.StiTextFormatState.GroupSize)>0&&(s.percentGroupSizes=[this.groupSize]),(this.state&e.StiTextFormatState.NegativePattern)>0&&(s.percentNegativePattern=this.negativePattern),(this.state&e.StiTextFormatState.PositivePattern)>0&&(s.percentPositivePattern=this.positivePattern),(this.state&e.StiTextFormatState.PercentageSymbol)>0&&(s.percentSymbol=this.symbol)):(n.isNullOrEmpty(this.decimalSeparator)?s.percentDecimalSeparator=a.currentCulture.numberFormat.percentDecimalSeparator:s.percentDecimalSeparator=this.decimalSeparator,s.percentDecimalDigits=this.decimalDigits,s.percentGroupSeparator=this.groupSeparator,s.percentGroupSizes=[this.groupSize],s.percentPositivePattern=this.positivePattern,s.percentNegativePattern=this.negativePattern,s.percentSymbol=this.symbol),this.useGroupSeparator||(s.percentGroupSeparator=""),this.formatStr(s,r)},r.prototype.formatStr=function(t,e){var r=0;try{r=e.toString().stimulsoft.toNumber()}catch(t){return e.toString()}if(isNaN(r))return e.toString();var n="";r*=100;var i=Math.round2(r,t.percentDecimalDigits)<0,o=Math.abs(r),a=Math.floor(o),s=0;if(0==t.percentDecimalDigits)a=Math.round(Math.abs(r));else{var l=Math.pow(10,t.percentDecimalDigits);(s=Math.round2(Math.round2(Math.round2(o-a,t.percentDecimalDigits+1),t.percentDecimalDigits)*l))>=l&&(a++,s=0)}var u=a.toString();if(t.percentGroupSizes[0]>0&&this.useGroupSeparator){var c=u.length-t.percentGroupSizes[0];while(c>=0)n=(c>0?t.percentGroupSeparator:"")+u.substr(c,t.percentGroupSizes[0])+n,c-=t.percentGroupSizes[0];c<0&&(n=u.substring(0,c+t.percentGroupSizes[0])+n)}else n=u;if(t.percentDecimalDigits>0){u=s.toString();while(u.length0){try{for(var c=__values(u),p=c.next();!p.done;p=c.next()){var h=p.value,m=h.pageIndex;if(null!=this.report.engine&&(this.report.engine.indexPageForPageTotal=m-1),m--,this.report.renderedPages.cacheMode&&m0,y=g.text;this.report.totals.contains("#%#"+i.name)&&(y=this.report.totals.get("#%#"+i.name));var A=!1,b={ref:A},v=t.Report.Engine.StiParser.StiParser.parseTextValue(y,this,g,b,!0);A=b.ref,m=null!=g&&null!=g.format&&"G"!=g.format?S?g.textFormat.format(v):g.textFormat.format(this.report.checkExcelValue(i,v)):this.report.toString3(i,v,!S)}catch(r){t.System.StiError.showError(n.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,r.message),!1);var C=n.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,r);e.StiLogService.write(this.stimulsoft.getType(),C),e.StiLogService.write(this.stimulsoft.getType(),r)}if(h.setVariables(this.report),this.report.pageNumber=u,d);else{var w=new c;w.value=m,l.invokeGetValue(l,w),(w.storeToPrinted&&n.isNullOrEmpty(w.value)||w.value.stimulsoft.startsWith("#%#"))&&(w.value=m);var B=new p(w.value);this.invokeTextProcess(i,B);var I=this.processText(this.getTextWithoutZero(B.value));l.setTextInternal(I)}}},Object.defineProperty(g.prototype,"linesOfUnderline",{get:function(){return this._linesOfUnderline},set:function(t){this._linesOfUnderline=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"linesOfUnderlining",{get:function(){return this.linesOfUnderline!=u.None},set:function(t){this.linesOfUnderline=t?u.Solid:u.None},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"hideZeros",{get:function(){return this._hideZeros},set:function(t){this._hideZeros=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"mergeDuplicates",{get:function(){return this.processingDuplicates==r.StiProcessingDuplicatesType.Merge},set:function(t){this.processingDuplicates=r.StiProcessingDuplicatesType.Merge},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"processingDuplicates",{get:function(){return this.properties.get(g.propertyProcessingDuplicates,r.StiProcessingDuplicatesType.None)},set:function(t){this.properties.set(g.propertyProcessingDuplicates,t,r.StiProcessingDuplicatesType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"maxNumberOfLines",{get:function(){return this.properties.getNumber(g.propertyMaxNumberOfLines,0)},set:function(t){this.properties.setNumber(g.propertyMaxNumberOfLines,t,0)},enumerable:!1,configurable:!0}),g.prototype.processText=function(t){return t},Object.defineProperty(g.prototype,"onlyText",{get:function(){return this.properties.getBool(g.propertyOnlyText,!1)},set:function(t){this.properties.setBool(g.propertyOnlyText,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"editable",{get:function(){return this._editable},set:function(t){this._editable=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"processAtEnd",{get:function(){return this.processAt==r.StiProcessAt.EndOfReport},set:function(t){this.processAt=t?r.StiProcessAt.EndOfReport:r.StiProcessAt.None},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"processAt",{get:function(){return this.properties.get(g.propertyProcessAt,r.StiProcessAt.None)},set:function(t){this.properties.set(g.propertyProcessAt,t,r.StiProcessAt.None)},enumerable:!1,configurable:!0}),g.prototype.invokeRenderTo=function(t){},Object.defineProperty(g.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),g.prototype.getTextInternal=function(){return this.text},g.prototype.setTextInternal=function(t){this.text=t},Object.defineProperty(g.prototype,"textValue",{get:function(){return this._textValue},set:function(t){this._textValue!=t&&(this._textValue=t)},enumerable:!1,configurable:!0}),g.prototype.onGetValue=function(t){},g.prototype.invokeGetValue=function(i,o){try{if(this.onGetValue(o),this.report.calculationMode==e.StiCalculationMode.Interpretation){var a=i,s=null!=a&&!n.isNullOrEmpty(a.excelValue),l=!1,u=null,c=i.stimulsoft.as(r.StiRichText);if(null!=c){if(c.onlyText)u=r.StiRichText.notSupportedText;else if(null!=this.report.engine){var p=this.report.engine.parserConversionStore.get("*StiRichTextExpression*"+i.name);null!=p&&(u=p)}}else if(a.onlyText)u=a.text;else{var h=this.stimulsoft.as(r.StiText);if(null==h||h.type!=r.StiSystemTextType.DataColumn||n.isNullOrEmpty(h.nullValue)){var m={ref:l};u=t.Report.Engine.StiParser.StiParser.parseTextValue(a.text,a,null,m,!1),l=m.ref}else{var f=a.text;if(f.stimulsoft.startsWith("{")&&f.stimulsoft.endsWith("}")&&f.length>2)if(f=f.substr(1,f.length-2),e.StiNullValuesHelper.isNull(this.report,f))u=h.nullValue;else{var m={ref:l};u=t.Report.Engine.StiParser.StiParser.parseTextValue(a.text,a,null,m,!1),l=m.ref}}}if(l){o.storeToPrinted=!0,u="#%#"+a.text;var d=a.text;null!=d&&d.stimulsoft.startsWith("#%#")||(u="#%#"+d),s=!0}null!=a&&null!=a.format&&"G"!=a.format?o.value=s?a.textFormat.format2(a.textFormat.stringFormat,u):a.textFormat.format2(a.textFormat.stringFormat,this.report.checkExcelValue(i,u)):o.value=this.report.toString3(i,u,!s)}var S=this.events.get(g.eventGetValue);if(null!=S)try{S(i,o)}catch(o){}}catch(r){var y=n.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,r.message);t.System.StiError.showError(y,!1),e.StiLogService.write(this.stimulsoft.getType(),y),e.StiLogService.write(this.stimulsoft.getType(),r),this.report.writeToReportRenderingMessages(y)}},g.prototype.checkDuplicates=function(e,i){try{var o=e,a=this.processingDuplicates;if(a==r.StiProcessingDuplicatesType.BasedOnValueAndTagMerge||a==r.StiProcessingDuplicatesType.BasedOnValueAndTagHide||a==r.StiProcessingDuplicatesType.BasedOnValueRemoveText){var s=a==r.StiProcessingDuplicatesType.BasedOnValueAndTagMerge||a==r.StiProcessingDuplicatesType.BasedOnValueAndTagHide?t.System.Convert.toString(o.tagValue):null;this.report.engine.checkForDuplicate(this.name,i.value,s)&&(i.value="")}if(a==r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge||a==r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide||a==r.StiProcessingDuplicatesType.GlobalBasedOnValueRemoveText){var s=a==r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge||a==r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide?t.System.Convert.toString(o.tagValue):null;this.report.engine.checkForDuplicate(n.format("{0}_{1}",this.left,this.width),i.value,s)&&(i.value="")}}catch(i){}},Object.defineProperty(g.prototype,"getValueEvent",{get:function(){return new a(this)},set:function(t){t.set(this,t.script),this.events.set(g.eventGetValue,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),g.prototype.onTextProcess=function(t){},g.prototype.invokeTextProcess=function(r,n){try{this.onTextProcess(n);var i=!0;if(null!=this.report&&(i=this.report.calculationMode==e.StiCalculationMode.Compilation),i){var o;if(null!=(o=this.events.get(g.eventTextProcess)))try{o(r,n)}catch(n){}}else{var o;if(null!=(o=this.events.get(g.eventTextProcess)))try{o(r,n)}catch(n){}if(null!=this.report&&null!=this.report.engine){var a=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name);null!=a&&(this.report.engine.lastInvokeTextProcessValueEventArgsValue=n.value,this.applyConditionsAssignExpression(r,a),this.stimulsoft.is(t.Report.CrossTab.StiCrossCell)&&this.applyConditions(r,a,n))}}}catch(e){t.System.StiError.showError(e.message,!1),null!=this.report&&this.report.writeToReportRenderingMessages(this.name+" InvokeTextProcess error: "+e.message)}},g.prototype.applyConditionsAssignExpression=function(e,r){var n,i;if(null==r)return;try{for(var o=__values(r),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.key;if(l.canAssignExpression&&null!=l.assignExpression&&l.assignExpression.trim().length>0){var u=t.Report.Engine.StiParser.StiParser.parseTextValue(s.value,this,e);if(u.stimulsoft.is(Boolean)&&u.stimulsoft.toBoolean()){var c=t.Report.Engine.StiParser.StiParser.parseTextValue("{"+l.assignExpression+"}",this,e);e.textValue=this.report.toString2(c)}}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},Object.defineProperty(g.prototype,"totalValueHelp",{get:function(){return this._totalValueHelp},set:function(t){this._totalValueHelp=t},enumerable:!1,configurable:!0}),g.prototype.construct=function(t){void 0===t&&(t=h.empty),d.prototype.construct.call(this,t)},g.propertyGlobalizedName=Math.random().toString().substr(2),g.propertyProcessingDuplicates=Math.random().toString().substr(2),g.propertyMaxNumberOfLines=Math.random().toString().substr(2),g.propertyOnlyText=Math.random().toString().substr(2),g.propertyProcessAt=Math.random().toString().substr(2),g.eventGetValue={},g.eventTextProcess={},g}(r.StiComponent);r.StiSimpleText=d}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.IStiGetFonts,i=t.System.StiArray,o=t.System.StiString,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Report.Events.StiGetExcelValueEventHandler,l=t.Report.Events.StiGetExcelValueEvent,u=t.Report.Components.IStiEditable,c=t.System.Enum,p=t.Base.StiJsonSaveMode,h=t.System.Drawing.Font,m=t.Base.Drawing.StiTextHorAlignment,f=t.Base.Drawing.StiVertAlignment,d=t.Base.Drawing.StiBorder,g=t.Base.Drawing.StiBrush,S=t.Base.Drawing.StiSolidBrush,y=t.System.Drawing.Color,A=t.Base.Drawing.StiTextOptions,b=t.Report.Components.TextFormats.StiFormatService,v=t.Report.Components.TextFormats.StiGeneralFormatService,C=t.Report.Components.TextFormats.StiPercentageFormatService,w=t.Report.Components.TextFormats.StiCurrencyFormatService,B=t.Report.Components.TextFormats.StiDateFormatService,I=t.Report.Components.TextFormats.StiNumberFormatService,T=t.Report.Components.TextFormats.StiTimeFormatService,E=t.Report.Components.TextFormats.StiCustomFormatService,R=t.Report.Events.StiGetExcelValueEventArgs,D=t.System.Drawing.Rectangle,P=t.System.Drawing.Size,x=t.Base.Drawing.StiAdvancedBorder,F=t.Base.StiJsonReportObjectHelper,N=t.System.Collections.Hashtable,k=t.Base.Drawing.StiTextRenderer,M=t.Base.Drawing.StiPenStyle,O=t.Report.Expressions.StiExpression,_=function(_){function j(t,e){void 0===t&&(t=D.empty),void 0===e&&(e=!1);var r=_.call(this)||this;return r._horAlignment=m.Left,r._vertAlignment=f.Top,r._font=j.defaultFont,r._border=new d,r._brush=new S(y.transparent),r._textBrush=new S(y.black),r._textFormat=null,r._format="",r._textOptions=new A,e||r.construct(t),r}return __extends(j,_),j.prototype.implements=function(){return j.ImplementsStiText||(j.ImplementsStiText=_.prototype.implements.call(this).concat([r.IStiTextOptions,r.IStiAutoWidth,r.IStiTextHorAlignment,r.IStiVertAlignment,r.IStiBorder,r.IStiFont,r.IStiBrush,r.IStiTextBrush,r.IStiTextFormat,r.IStiBreakable,e.IStiGlobalizationProvider,u,a,n])),j.ImplementsStiText},j.prototype.saveToJsonObject=function(t){var e=_.prototype.saveToJsonObject.call(this,t);return null!=this.indicator&&e.addPropertyJObject("Indicator",this.indicator.saveToJsonObject(t)),e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyBool("AutoWidth",this.autoWidth),e.addPropertyStringNullOrEmpty("RenderTo",this.renderTo),e.addPropertyEnum("HorAlignment",m,this.horAlignment,m.Left),e.addPropertyEnum("VertAlignment",f,this.vertAlignment,f.Top),e.addPropertyStringNullOrEmpty("Font",F.Serialize.fontArial8(this.font)),e.addPropertyStringNullOrEmpty("Border",F.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",F.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("TextBrush",F.Serialize.jBrush(this.textBrush)),e.addPropertyJObject("TextOptions",this.textOptions.saveToJsonObject()),e.addPropertyJObject("GetExcelValueEvent",this.getExcelValueEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("NullValue",this.nullValue),e.addPropertyBool("ExportAsImage",this.exportAsImage),e.addPropertyEnum("TextQuality",r.StiTextQuality,this.textQuality,r.StiTextQuality.Standard),e.addPropertyBool("AllowHtmlTags",this.allowHtmlTags,!1),e.addPropertyJObject("Margins",this.margins.saveToJsonObject(t,0,0,0,0)),e.addPropertyBool("ShrinkFontToFit",this.shrinkFontToFit,!1),e.addPropertyNumber("ShrinkFontToFitMinimumSize",this.shrinkFontToFitMinimumSize,1),e.addPropertyNumber("LineSpacing",this.lineSpacing,1),t==p.Report?(this.textFormat.stimulsoft.is(r.TextFormats.StiGeneralFormatService)||e.addPropertyJObject("TextFormat",this.textFormat.saveToJsonObject(t)),e.addPropertyEnum("Type",r.StiSystemTextType,this.type,r.StiSystemTextType.None),e.addPropertyJObject("ExcelValue",new O(this.excelValue).saveToJsonObject(t))):(e.addPropertyStringNullOrEmpty("Format",this.format),null!=this.excelDataValue&&e.addPropertyString("ExcelDataValue",this.excelDataValue)),e},j.prototype.loadFromJsonObject=function(t){var e,n;_.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Indicator":this._indicator=r.StiIndicator.loadFromJsonObjectInternal(a.value);break;case"CanBreak":this.canBreak=a.value.stimulsoft.toBoolean();break;case"AutoWidth":this.autoWidth=a.value.stimulsoft.toBoolean();break;case"RenderTo":this.renderTo=a.value;break;case"HorAlignment":this._horAlignment=c.parse(m,a.value);break;case"VertAlignment":this._vertAlignment=c.parse(f,a.value);break;case"Font":this._font=F.Deserialize.font(a.value,this._font);break;case"Border":this._border=F.Deserialize.border(a.value);break;case"Brush":this._brush=F.Deserialize.brush(a.value);break;case"TextBrush":this._textBrush=F.Deserialize.brush(a.value);break;case"TextFormat":this.textFormat=b.loadFromJsonObjectInternal(a.value);break;case"Format":this._format=a.value;break;case"TextOptions":this._textOptions.loadFromJsonObject(a.value);break;case"ExcelValue":var s=new O;s.loadFromJsonObject(a.value),this.excelValue=s.value;break;case"ExcelDataValue":this.excelDataValue=a.value;break;case"GetExcelValueEvent":var u=new l;u.loadFromJsonObject(a.value),this.getExcelValueEvent=u;break;case"NullValue":this.nullValue=a.value;break;case"Type":this.type=c.parse(r.StiSystemTextType,a.value);break;case"ExportAsImage":this.exportAsImage=a.value.stimulsoft.toBoolean();break;case"TextQuality":this.textQuality=c.parse(r.StiTextQuality,a.value);break;case"LineSpacing":this.lineSpacing=a.value.stimulsoft.toNumber();break;case"AllowHtmlTags":this.allowHtmlTags=a.value.stimulsoft.toBoolean();break;case"Margins":var p=new r.StiMargins;p.loadFromJsonObject(a.value),this.margins=p;break;case"ShrinkFontToFit":this.shrinkFontToFit=a.value.stimulsoft.toBoolean();break;case"ShrinkFontToFitMinimumSize":this.shrinkFontToFitMinimumSize=a.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},j.prototype.parseTextFromXml=function(e){null!=e.attributes.getNamedItem("name")&&(this.name=e.attributes.getNamedItem("name").value),null!=e.attributes.getNamedItem("text")&&(this.text=e.attributes.getNamedItem("text").value),null!=e.attributes.getNamedItem("ha")&&(this.horAlignment=c.parse(m,e.attributes.getNamedItem("ha").value)),null!=e.attributes.getNamedItem("va")&&(this.vertAlignment=c.parse(f,e.attributes.getNamedItem("va").value)),null!=e.attributes.getNamedItem("tq")&&(this.textQuality=c.parse(r.StiTextQuality,e.attributes.getNamedItem("tq").value)),null!=e.attributes.getNamedItem("ls")&&(this.lineSpacing=e.attributes.getNamedItem("ls").value.stimulsoft.toNumber()),null!=e.attributes.getNamedItem("ed")&&(this.editable="true"==e.attributes.getNamedItem("ed").value.toLowerCase()),null!=e.attributes.getNamedItem("html")&&(this.allowHtmlTags="true"==e.attributes.getNamedItem("html").value.toLowerCase()),null!=e.attributes.getNamedItem("enabled")&&(this.enabled="true"==e.attributes.getNamedItem("enabled").value.toLowerCase()),null!=e.attributes.getNamedItem("pr")&&(this.printable="true"==e.attributes.getNamedItem("pr").value.toLowerCase()),null!=e.attributes.getNamedItem("lou")&&(this.linesOfUnderlining="true"==e.attributes.getNamedItem("lou").value.toLowerCase()),null!=e.attributes.getNamedItem("lu")&&(this.linesOfUnderline=c.parse(M,e.attributes.getNamedItem("lu").value)),null!=e.attributes.getNamedItem("guid")&&(this.guid=e.attributes.getNamedItem("guid").value),null!=e.attributes.getNamedItem("tvh")&&(this.totalValueHelp=e.attributes.getNamedItem("tvh").value),null!=e.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=e.attributes.getNamedItem("bookmark").value),null!=e.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=e.attributes.getNamedItem("hyperlink").value),null!=e.attributes.getNamedItem("tag")&&(this.tagValue=e.attributes.getNamedItem("tag").value),null!=e.attributes.getNamedItem("toolTip")&&(this.toolTipValue=e.attributes.getNamedItem("toolTip").value),null!=e.attributes.getNamedItem("excelvalue")&&(this.excelDataValue=e.attributes.getNamedItem("excelvalue").value),null!=e.attributes.getNamedItem("format")&&(this.format=e.attributes.getNamedItem("format").value),null!=e.attributes.getNamedItem("pl")&&(this.componentPlacement=e.attributes.getNamedItem("pl").value),null!=e.attributes.getNamedItem("style")&&(this.componentStyle=e.attributes.getNamedItem("style").value),null!=e.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(e.attributes.getNamedItem("rc").value)),null!=e.attributes.getNamedItem("fn")&&(this.font=t.System.Convert.toFont(e.attributes.getNamedItem("fn").value)),null!=e.attributes.getNamedItem("tb")&&(this.textBrush=g.loadFromXml(e.attributes.getNamedItem("tb").value)),null!=e.attributes.getNamedItem("bh")&&(this.brush=g.loadFromXml(e.attributes.getNamedItem("bh").value)),null!=e.attributes.getNamedItem("to")&&(this.textOptions=A.loadFromXml(e.attributes.getNamedItem("to").value)),null!=e.attributes.getNamedItem("br")&&(this.border=d.loadFromXml(e.attributes.getNamedItem("br").value)),null!=e.attributes.getNamedItem("mr")&&(this.margins=r.StiMargins.loadFromText(e.attributes.getNamedItem("mr").value)),null!=e.attributes.getNamedItem("indicator")&&(this.indicator=r.StiIndicator.loadFromXml(e.attributes.getNamedItem("indicator").value))},j.prototype.loadFromXml=function(e,n){_.prototype.loadFromXml.call(this,e,n);for(var i=0;i0){var a=this.getTextInternal(),s=this.report.unit.convertRectangleToHInches(this.clientRectangle);s=this.convertTextMargins(s,!1);var l="";if((s=this.convertTextBorders(s,!1)).height>=0){var u={ref:a};l=r.StiComponentDivider.breakText(null,s,u,this.font,this.textOptions,this.textQuality,this.checkAllowHtmlTags(),this),a=u.ref}this.setTextInternal(l),this.growToHeight||null!=this.getTextInternal()&&0!=this.getTextInternal().length||(o=!1),t.setTextInternal(a)}return n.ref=i,o},Object.defineProperty(j.prototype,"autoWidth",{get:function(){return this.properties.getBool(j.propertyAutoWidth,!1)},set:function(t){this.properties.setBool(j.propertyAutoWidth,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"renderTo",{get:function(){return this.properties.get(j.propertyRenderTo,"")},set:function(t){this.properties.set(j.propertyRenderTo,t,"")},enumerable:!1,configurable:!0}),j.prototype.invokeRenderTo=function(t){if(!t.isPropertyPresent(j.propertyRenderTo))return;var e=t.renderTo;if(e.length>0&&(e=e.trim()).length>0){var n=t.parent.components.getByName(e).stimulsoft.as(r.StiSimpleText);if(null!=n){var i=t.getTextInternal();null==i&&(i="");var a={ref:i},s=this.getVisibleTextForRenderTo(t.getPaintRectangle(!0,!1,!0),a,t);i=a.ref,o.isNullOrEmpty(s)&&(s=" "),t.textValue=s,t.setTextInternal(s),n.textValue=i,n.setTextInternal(i),this.invokeRenderTo(n)}}},j.prototype.getVisibleTextForRenderTo=function(t,e,n){return t=this.convertTextMargins(t,!1),t=this.convertTextBorders(t,!1),r.StiComponentDivider.breakText(null,t,e,n.font,n.textOptions,n.textQuality,this.checkAllowHtmlTags(),this)},Object.defineProperty(j.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"font",{get:function(){return this._font},set:function(t){null==t&&this.isDesigning||(this._font=t)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"textFormat",{get:function(){if(null==this._textFormat)return v.default;return this._textFormat},set:function(t){if(t&&t.stimulsoft.is(v)&&(t=null),this._textFormat!=t)if(this._textFormat=t,null==t)this._format="G";else if(t.stimulsoft.is(C)){var e=t;e.useLocalSetting&&e.state==r.StiTextFormatState.None?this._format="P":(this._format="P"+e.decimalDigits.toString(),e.useGroupSeparator&&(this._format+="G"),!e.useLocalSetting&&e.decimalDigits>0&&("."==e.decimalSeparator[0]||","==e.decimalSeparator[0])&&(this._format+=e.decimalSeparator[0]))}else if(t.stimulsoft.is(w)){var n=t;n.useLocalSetting&&n.state==r.StiTextFormatState.None?this._format="C":(this._format="C"+n.decimalDigits.toString(),n.useGroupSeparator&&(this._format+="G"),0!=n.negativePattern&&4!=n.negativePattern&&14!=n.negativePattern&&15!=n.negativePattern||(this._format+="("),!n.useLocalSetting&&n.decimalDigits>0&&("."==n.decimalSeparator[0]||","==n.decimalSeparator[0])&&(this._format+=n.decimalSeparator[0]),0==n.positivePattern||2==n.positivePattern?this._format+="+":this._format+="-",this._format+=n.symbol,(!n.useLocalSetting||(n.state&r.StiTextFormatState.PositivePattern)>0||(n.state&r.StiTextFormatState.NegativePattern)>0)&&(this._format+="|"+String.fromCharCode(65+n.positivePattern)+String.fromCharCode(65+n.negativePattern)))}else if(t.stimulsoft.is(B)){var i=t;this._format="D"+i.stringFormat}else if(t.stimulsoft.is(I)){var o=t;o.useLocalSetting&&o.state==r.StiTextFormatState.None?this._format="N":(this._format="N"+o.decimalDigits.toString(),o.useGroupSeparator&&(this._format+="G"),0==o.negativePattern&&(this._format+="("),!o.useLocalSetting&&o.decimalDigits>0&&("."==o.decimalSeparator[0]||","==o.decimalSeparator[0])&&(this._format+=o.decimalSeparator[0]))}else if(t.stimulsoft.is(T)){var a=t;this._format="T"+a.stringFormat}else if(t.stimulsoft.is(E)){var s=t;this._format="U"}else this._format=""},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"format",{get:function(){ return this._format},set:function(t){this._format!=t&&(this._format=t)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"textOptions",{get:function(){return this._textOptions},set:function(t){this._textOptions=t},enumerable:!1,configurable:!0}),j.prototype.clone=function(t,e,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var n=_.prototype.clone.call(this,t,e,r);return null!=this._border?n._border=this._border.clone():n._border=null,null!=this._brush?n._brush=this._brush.clone():n._brush=null,null!=this._textFormat?n._textFormat=this._textFormat.clone(!1,!1):n._textFormat=null,null!=this._textBrush?n._textBrush=this._textBrush.clone():n._textBrush=null,null!=this._textOptions?n._textOptions=this._textOptions.clone():n._textOptions=null,n._horAlignment=this._horAlignment,n._vertAlignment=this._vertAlignment,n},j.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var e=_.prototype.memberwiseClone.call(this,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},j.prototype.getFonts=function(){var t=_.prototype.getFonts.call(this);return t.push(this.font),i.distinct(t)},j.prototype.convertTextMargins=function(t,e){var r=this.margins;if(r.isEmpty)return t;var n=this.page.zoom,i=r.left,o=r.right,a=r.top,s=r.bottom;return e||(n=1),0!=i&&(t.x+=i*n,t.width-=i*n),0!=a&&(t.y+=a*n,t.height-=a*n),0!=o&&(t.width-=o*n),0!=s&&(t.height-=s*n),t},j.prototype.convertTextBorders=function(t,e){var r=this.border.getSizeOffset(),n=r,i=r,o=r,a=r,s=this.border.stimulsoft.as(x);if(null!=s&&(n=s.leftSide.getSizeOffset(),i=s.rightSide.getSizeOffset(),o=s.topSide.getSizeOffset(),a=s.bottomSide.getSizeOffset()),e){var l=this.page.zoom;n*=l,i*=l,o*=l,a*=l}return t.x+=n,t.y+=o,t.width-=n+i,t.height-=o+a,t},j.prototype.getTextForPaint=function(){return this.getTextInternal()},j.prototype.getActualSize=function(){var e=this.autoWidth,r=this.angle;if((this.canGrow||this.canShrink||e)&&null!=this.page){var n=null;if(StiOptions.Engine.allowCacheForGetActualSize){var i=this.report;if(null!=i&&null!=i.engine){null==i.engine.hashCheckSize&&(i.engine.hashCheckSize=new N);var a=i.engine.hashCheckSize.get(this);if(null!=a)return a;n=i.engine.hashCheckSize}}var s=this.page.unit,l=s.convertRectangleToHInches(this.clientRectangle),u=new P(l.width,l.height);l=this.convertTextMargins(l,!1);var c=(l=this.convertTextBorders(l,!1)).width,p=P.empty,h=this.textQuality,m=this.text;o.isNullOrEmpty(m)||(this.allowHtmlTags?(m=m.split("\r").join("").split("\n").join(""),m=t.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(this,m,1)):m=m.split("<").join("<").split(">").join(">")),(p=this.stimulsoft.is(t.Report.CrossTab.StiCrossField)?k.measureString(1e4,this.font,m):90==r||270==r?k.measureString(this.textOptions.wordWrap?l.height:null,this.font,m,0,this.allowHtmlTags):k.measureString(this.textOptions.wordWrap?l.width:null,this.font,m,0,this.allowHtmlTags)).height=p.height*this.lineSpacing;var f=this.margins;p.width+=f.left+f.right,p.height+=f.top+f.bottom;var d=this.border.size/2;if(p.width+=d+d,p.height+=d+d,e&&(90==r||270==r?u.height=p.height:u.width=p.width),this.canGrow)if(90==r||270==r){if(p.width>u.width&&(u.width=p.width,this.maxNumberOfLines>0)){var g=this.font.getHeight(),S;(S=Math.trunc(u.width/g))>this.maxNumberOfLines&&(u.width=g*this.maxNumberOfLines)}}else if(p.height>u.height&&(u.height=p.height,this.maxNumberOfLines>0)){var g=this.font.getHeight(),S;(S=Math.trunc(u.height/g))>this.maxNumberOfLines&&(u.height=g*this.maxNumberOfLines)}this.canShrink&&(90==r||270==r?null==this.getTextInternal()||0==this.getTextInternal().trim().length?u.width=0:u.width=Math.min(p.width,u.width):null==this.getTextInternal()||0==this.getTextInternal().trim().length?u.height=0:u.height=Math.min(p.height,u.height));var y=s.convertSizeFromHInches(u);return null!=n&&n.set(this,y),y}return new P(this.width,this.height)},j.prototype.prepare=function(){var t,e;if(_.prototype.prepare.call(this),null!=this.conditions)try{for(var n=__values(this.conditions.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.stimulsoft.as(r.IStiIndicatorCondition);null!=a&&a.reset()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},Object.defineProperty(j.prototype,"excelDataValue",{get:function(){return this._excelDataValue},set:function(t){this._excelDataValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"excelValue",{get:function(){return this.properties.get("excelValue","")},set:function(t){this.properties.set("excelValue",t,"")},enumerable:!1,configurable:!0}),j.prototype.invokeEvents=function(){_.prototype.invokeEvents.call(this);try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){var r,n;if(null!=this.events.get(j.eventGetExcelValue))if((r=new R).value=this.excelDataValue,this.invokeGetExcelValue(this,r),null!=r.value?this.excelDataValue=r.value.toString():this.excelDataValue=null,this.hideZeros&&!o.isNullOrEmpty(this.excelDataValue))0==(n=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null)}else{var r,n;if(null!=this.events.get(j.eventGetExcelValue))if((r=new R).value=this.excelDataValue,this.invokeGetExcelValue(this,r),this.excelDataValue=r.value,this.hideZeros&&!o.isNullOrEmpty(this.excelDataValue))0==(n=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null);if(this.excelValue.length>0){var i=t.Report.Engine.StiParser.StiParser.parseTextValue(this.excelValue,this),n;if(this.excelDataValue=null!=i?i.toString():null,this.hideZeros&&!o.isNullOrEmpty(this.excelDataValue))0==(n=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null)}}}catch(r){var a=o.format("Expression in ExcelValue property of '{0}' can't be evaluated! {1}",this.name,r.message);t.System.StiError.showError(a,!1),e.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),this.report.writeToReportRenderingMessages(a)}},j.prototype.onGetExcelValue=function(t){},j.prototype.invokeGetExcelValue=function(r,n){try{this.onGetExcelValue(n);var i=this.events.get(j.eventGetExcelValue);null!=i&&i(r)}catch(n){t.System.StiError.showError(n,!1);var a=o.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),a),e.StiLogService.write(this.stimulsoft.getType(),n)}},Object.defineProperty(j.prototype,"getExcelValueEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(j.eventGetExcelValue,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"nullValue",{get:function(){return this.properties.get(j.propertyNullValue,"")},set:function(t){this.properties.set(j.propertyNullValue,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"type",{get:function(){return this.properties.get(j.propertyType,r.StiSystemTextType.None)},set:function(t){this.properties.set(j.propertyType,t,r.StiSystemTextType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"wordWrap",{get:function(){return this.textOptions.wordWrap},set:function(t){this.textOptions.wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"rightToLeft",{get:function(){return this.textOptions.rightToLeft},set:function(t){this.textOptions.rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"trimming",{get:function(){return this.textOptions.trimming},set:function(t){this.textOptions.trimming=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"angle",{get:function(){return this.textOptions.angle},set:function(t){this.textOptions.angle=t},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"lineSpacing",{get:function(){return this.properties.getNumber(j.propertyLineSpacing,1)},set:function(t){t>0&&this.properties.setNumber(j.propertyLineSpacing,t,1)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"exportAsImage",{get:function(){return this.properties.getBool(j.propertyExportAsImage,!1)},set:function(t){this.properties.setBool(j.propertyExportAsImage,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"textQuality",{get:function(){if(!StiOptions.Engine.fullTrust)return r.StiTextQuality.Typographic;return this.properties.get(j.propertyTextQuality,r.StiTextQuality.Standard)},set:function(t){this.properties.set(j.propertyTextQuality,t,r.StiTextQuality.Standard)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"allowHtmlTags",{get:function(){return this.properties.getBool(j.propertyAllowHtmlTags,!1)},set:function(t){this.properties.setBool(j.propertyAllowHtmlTags,t,!1),t&&(this.textQuality=r.StiTextQuality.Wysiwyg)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"margins",{get:function(){return this.properties.get(j.propertyMargins,r.StiMargins.empty)},set:function(t){this.properties.set(j.propertyMargins,t,r.StiMargins.empty)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"shrinkFontToFit",{get:function(){return this.properties.getBool(j.propertyShrinkFontToFit,!1)},set:function(t){this.properties.setBool(j.propertyShrinkFontToFit,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"shrinkFontToFitMinimumSize",{get:function(){return this.properties.getNumber(j.propertyShrinkFontToFitMinimumSize,1)},set:function(t){t>=1&&this.properties.setNumber(j.propertyShrinkFontToFitMinimumSize,t,1)},enumerable:!1,configurable:!0}),j.prototype.createNew=function(){return new j},j.prototype.checkAllowHtmlTags=function(){if(!StiOptions.Engine.fullTrust&&null!=this.report&&!this.report.isSerializing)return!1;return this.allowHtmlTags},j.prototype.getActualFont=function(e,n){void 0===n&&(n=1);var i=this.page.unit.convertRectangleToHInches(this.clientRectangle);i=this.convertTextMargins(i,!1),(i=this.convertTextBorders(i,!1)).width-=this.border.size;var o=this.page.unit.convertToHInches(this.width)-this.margins.left-this.margins.right,a=this.page.unit.convertToHInches(this.height)-this.margins.top-this.margins.bottom,s=this.font,l=this.font;while(1){var u=P.empty;if(!((u=r.StiStandardTextRenderer.measureString(i.width,l,this)).width>o||u.height>a))break;var c=l.size;if(c<=n)break;l=t.Base.Drawing.StiFontUtils.changeFontSize(this.font,c-.5),this.font=l}return this.font=s,l},j.prototype.construct=function(t){void 0===t&&(t=D.empty),_.prototype.construct.call(this,t),this.textQuality=StiOptions.Engine.defaultTextQualityMode},j.propertyCanBreak=Math.random().toString().substr(2),j.propertyAutoWidth=Math.random().toString().substr(2),j.propertyRenderTo=Math.random().toString().substr(2),j.defaultFont=new h("Arial",8),j.eventGetExcelValue={},j.propertyNullValue=Math.random().toString().substr(2),j.propertyType=Math.random().toString().substr(2),j.propertyLineSpacing=Math.random().toString().substr(2),j.propertyExportAsImage=Math.random().toString().substr(2),j.propertyTextQuality=Math.random().toString().substr(2),j.propertyAllowHtmlTags=Math.random().toString().substr(2),j.propertyMargins=Math.random().toString().substr(2),j.propertyShrinkFontToFit=Math.random().toString().substr(2),j.propertyShrinkFontToFitMinimumSize=Math.random().toString().substr(2),j}(r.StiSimpleText);r.StiText=_}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.Color,n=t.Base.Drawing.StiSolidBrush,i=t.Base.StiJsonReportObjectHelper,o=t.System.Text.StiReportObjectStringConverter,a=function(t){function e(e,i){void 0===e&&(e=null),void 0===i&&(i="");var o=t.call(this,e)||this;return o._contourColor=r.black,o._size=1,o.textBrush=new n(r.white),o}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.removeProperty("LinesOfUnderline"),n.addPropertyStringNullOrEmpty("ContourColor",i.Serialize.jColor(this.contourColor,r.black)),n.addPropertyNumber("Size",this.size,1),n},e.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"ContourColor":this._contourColor=i.Deserialize.color(s.value);break;case"Size":this._size=s.value.stimulsoft.toNumber();break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n0)try{return n.stringToImage(e)}catch(e){t.System.StiError.showError(e.message,!1)}if(null!=e&&e.stimulsoft.is(Array)&&e.length>0)try{return n.bytesToImage(e)}catch(e){t.System.StiError.showError(e.message,!1)}return null},e.getImageName=function(t){if(this.isTiff(t))return"Tiff";if(this.isPng(t))return"Png";if(this.isGif(t))return"Gif";if(this.isJpeg(t))return"Jpeg";if(this.isBmp(t))return"Bmp";if(this.isEmf(t))return"Emf";if(this.isWmf(t))return"Wmf";if(this.isIcon(t))return"Icon";if(this.isSvg(t))return"Svg";if(this.isXml(t))for(var e=5;er&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.canShrink&&(this.imageToDraw.width*this.multipleFactorr&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.imageToDraw.width*this.multipleFactor0&&t<=.5&&(this._round=t)},enumerable:!1,configurable:!0}),e.prototype.createNew=function(){return new e},e}(e.StiRectanglePrimitive);e.StiRoundedRectanglePrimitive=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.NodeJs,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Image,a=t.System.Enum,s=t.Base.StiJsonReportObjectHelper,l=t.Base.Drawing.StiBrush,u=t.System.Drawing.Color,c=t.Base.Drawing.StiSolidBrush,p=t.System.Drawing.Rectangle,h=t.Base.Drawing.StiPenStyle,m=t.Report.Components.IStiBorderColor,f=t.Report.Components.IStiShape,d=t.System.Xml.XmlTextWriter,g=t.System.Text.Encoding,S=t.System.Drawing.Imaging.ImageFormat,y=t.System.StiString,A=function(A){function b(t){void 0===t&&(t=p.empty);var e=A.call(this,t)||this;return e._brush=new c,e._borderColor=u.black,e.defaultClientRectangle=new p(0,0,64,64),e._style=h.Solid,e._size=1,e._shapeType=new r.StiRectangleShapeType,e}return __extends(b,A),b.prototype.implements=function(){return this._implementsStiShape||(this._implementsStiShape=A.prototype.implements.call(this).concat([r.IStiBrush,m,r.IStiExportImageExtended,r.IStiExportImage,f,i])),this._implementsStiShape},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("BorderColor",s.Serialize.jColor(this.borderColor,u.black)),e.addPropertyEnum("Style",h,this.style,h.Solid),e.addPropertyNumber("Size",this.size,1),e.addPropertyJObject("ShapeType",this.shapeType.saveToJsonObject(t)),e},b.prototype.loadFromJsonObject=function(t){var e,n;A.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var l=o.value;switch(l.name){case"Brush":this._brush=s.Deserialize.brush(l.value);break;case"BorderColor":this._borderColor=s.Deserialize.color(l.value);break;case"Style":this._style=a.parse(h,l.value);break;case"Size":this._size=l.value.stimulsoft.toNumber();break;case"ShapeType":this._shapeType=r.StiShapeTypeService.loadFromJsonObjectInternal(l.value);break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},b.prototype.loadFromXml=function(e,n){A.prototype.loadFromXml.call(this,e,n);for(var i=0;i{2}',s.width+10,s.height+10,l.textWriter.getStringBuilder().toString());canvgv2(u,c);var p=u.toDataURL(S.Jpeg.mimeType,1);return a.base64=p,a},b.prototype.getImageAsync=function(r,i){return void 0===i&&(i=e.StiExportFormat.None),__awaiter(this,void 0,void 0,(function(){var e,r,i,a,s,l;return __generator(this,(function(u){if(e=new o,!n.useWebKit)return[2,e];return(r=new t.Report.Export.StiSvgData).x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height),r.component=this,i=new d(g.UTF8),t.Report.Export.StiSvgHelper.writeShape(i,r),i.flush(),(a=document.createElement("canvas")).width=r.width+10,a.height=r.height+10,s=y.format('{2}',r.width+10,r.height+10,i.textWriter.getStringBuilder().toString()),canvgv2(a,s),l=a.toDataURL(S.Jpeg.mimeType,1),e.base64=l,[2,e]}))}))},b.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(b.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"borderColor",{get:function(){return this._borderColor},set:function(t){this._borderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"size",{get:function(){return this._size},set:function(t){t!=this._size&&(this._size=t<1?1:t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"shapeType",{get:function(){return this._shapeType},set:function(t){this._shapeType=t},enumerable:!1,configurable:!0}),b}(r.StiComponent);r.StiShape=A}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.convertTypeToString=function(t){if(null!=t)return t.stimulsoft.getType().stimulsoft.getNetTypeName();return""},t}();t.StiDataColumnConverter=e}(e=t.Design||(t.Design={}))}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Base.StiTypeFinder,o=t.Report.Dictionary.Design.StiDataColumnConverter,a=t.System.ICloneable,s=t.Base.StiJson,l=t.Base.JsonReportObject.IStiJsonReportObject,u=t.Base.IStiAppDataColumn,c=t.Base.StiKeyHelper,p=t.Base.IStiAppAlias,h=function(){function h(t,e,r,n,i){void 0===t&&(t="Column"),void 0===e&&(e="Column"),void 0===r&&(r=e),void 0===n&&(n=String),void 0===i&&(i=null),this.dataColumnsCollection=null,this._index=0,this._nameInSource="Column",this.nameInSource=t,this.name=e,this.alias=r,this.type=n,this.index=-1,this.key=i}return h.prototype.implements=function(){return[l,u,p,a,e.IStiName,e.IStiInherited]},h.prototype.saveToJsonObject=function(t){var e=new s;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyNumber("Index",this.index),e.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Type",o.convertTypeToString(this.type)),e.addPropertyStringNullOrEmpty("Key",this.key),e},h.prototype.loadFromJsonObject=function(e){var r,n;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Name":this._name=s.value;break;case"Index":this._index=s.value.stimulsoft.toNumber();break;case"NameInSource":this._nameInSource=s.value;break;case"Alias":this._alias=s.value;break;case"Type":try{this._type=i.getStiType(s.value)}catch(e){t.System.StiError.showError(e,!1)}break;case"Key":this._key=s.value;break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},h.prototype.loadFromXml=function(e){var r,n;try{for(var o=__values(e.childNodes),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.nodeName){case"Name":this._name=s.textContent;break;case"Index":this._index=s.textContent.stimulsoft.toNumber();break;case"NameInSource":this._nameInSource=s.textContent;break;case"Alias":this._alias=s.textContent;break;case"Type":try{this._type=i.getStiType(s.textContent)}catch(e){t.System.StiError.showError(e,!1)}break;case"Key":this._key=s.textContent;break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},h.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},h.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},h.prototype.getNameInSource=function(){return this.nameInSource},h.prototype.getDataType=function(){return this.type},h.prototype.getName=function(){return this.name},h.prototype.getAlias=function(){return this.alias},h.prototype.getKey=function(){return this.key=c.getOrGeneratedKey(this.key),this.key},h.prototype.setKey=function(t){this.key=t},Object.defineProperty(h.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&this.dataSource.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataColumnName&&(t=e.StiNameValidator.correctName(t)),this._name!=t&&(this._name==this._nameInSource&&(this._nameInSource=t),this._name==this._alias&&(this._alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"inherited",{get:function(){if(null!=this.dataSource)return this.dataSource.inherited;return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"businessObject",{get:function(){return this._businessObject},set:function(t){this._businessObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"index",{get:function(){return this._index},set:function(t){this._index=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource!=t&&(this._nameInSource=t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),h.prototype.getColumnPath=function(){return n.format("{0}.{1}",this.dataSource.name,this.name)},h.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataColumn)return this.alias;return name==this._alias||n.isNullOrEmpty(this._alias)?this.name:n.format("{0} [{1}]",this.name,this.alias)},h.getDataColumnFromColumnName=function(t,e,r){if(void 0===r&&(r=!1),null==e)return null;if(0==(e=e.trim()).length)return null;var n=e.split("."),i=t.dataSources.getByName(n[0]);if(null==i)return null;var o=n.length-1,a=1;while(o>0){if(!(o>=2))return i.columns.contains(n[a])?i.columns.getByName(n[a]):null;i=i.getParentDataSource(n[a],r),a++,o--}return null},h.getRelationName=function(t,e,r){var n,i;try{for(var o=__values(t.relations.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.childSource==e&&s.name==r)return s.nameInSource}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r},h.getDataFromBusinessObject=function(t,e){var r=e.split("."),n=t.businessObjects.getByName(r[0]);if(null==n)return null;var i=1;while(i0){if(!(c>=2)){if(null!=l){var h=null!=l.columns.getByName(s[p])?l.columns.getByName(s[p]).stimulsoft.as(r.StiCalcDataColumn):null;if(null!=h){if(null!=i&&null!=i.report&&i.report.isDesigning)return null;var m;if(null!=i&&null!=i.report&&i.report.calculationMode==e.StiCalculationMode.Interpretation){var f=new t.Report.Components.StiText,d;return f.name="**StiCalcDataColumn**",f.page=i.report.pages.getByIndex(0),t.Report.Engine.StiParser.StiParser.parseTextValue("{"+h.expression+"}",f)}var g=n.format("Get{0}_{1}",e.StiNameValidator.correctName(h.dataSource.name),e.StiNameValidator.correctName(h.name));if(Object.prototype.hasOwnProperty.call(i.report,g))return i.report[g](i.report,[])}}if(null!=u)return u.getByColumnName(s[p]);if(null==l)return null;return l.getByColumnName(s[p])}var S=s[p];a||(S=this.getRelationName(i,l,S)),u=null==u?l.getParentData(S):u.getParentData(S),l=l.getParentDataSource(S),p++,c--}},h.getDataSourceFromDataColumn=function(t,e){var r=e.split(".");return t.dataSources.getByName(r[0])},h.getColumnNameFromDataColumn=function(t,e){var r=e.split(".");return e.substr(r[0].length+1)},h.getDataListFromDataColumn=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!1);var i=this.getDatasFromDataColumn(t,e,r,n);return null!=i?i:null},h.getDatasFromDataColumn=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!1);var i=[],o=h.getDataSourceFromDataColumn(t,e);if(null!=o){n&&o.first();var a=0;while(!o.isEof){var s;if(null!=(s=h.getDataFromDataColumn(t,e))&&i.push(s),o.next(),a++,null!=r&&r==a)break}o.first()}var l=h.getBusinessObjectFromDataColumn(t,e);if(null!=l){l.saveState("Totals"),l.createEnumerator();var a=0;while(!l.isEof){var s;if(null!=(s=h.getDataFromDataColumn(t,e))&&i.push(s),l.next(),a++,null!=r&&r==a)break}l.restoreState("Totals")}return i},h}(),m;r.StiDataColumn=h,function(t){t[t["NameInSource"]=100]="NameInSource",t[t["Name"]=200]="Name",t[t["Alias"]=300]="Alias",t[t["Expression"]=400]="Expression",t[t["Type"]=500]="Type"}(m||(m={}))}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=function(){function n(){}return n.getBuilder=function(r){var n=this.typeToBuilder.get(r);if(null==n){if(t.Report.Chart.StiChartAssembly.isAssemblyLoaded&&(r===t.Report.Components["StiChart"]||r.prototype instanceof t.Report.Components["StiChart"]))n=new e.StiChartBuilder;else if(t.Report.Components["StiGauge"]&&(r===t.Report.Components["StiGauge"]||r.prototype instanceof t.Report.Components["StiGauge"]))n=new e.StiGaugeBuilder;else if(r===t.Report.Components.StiSparkline||r.prototype instanceof t.Report.Components.StiSparkline)n=new e.StiSparklineBuilder;else if(r===t.Report.Maps.StiMap||r.prototype instanceof t.Report.Maps.StiMap)n=new e.StiMapBuilder;else{if(r===t.Report.Components.StiClone||r.prototype instanceof t.Report.Components.StiClone)return new e.StiCloneBuilder;r===t.Report.Components.StiColumnFooterBand||r.prototype instanceof t.Report.Components.StiColumnFooterBand?n=new e.StiColumnFooterBandBuilder:r===t.Report.Components.StiColumnHeaderBand||r.prototype instanceof t.Report.Components.StiColumnHeaderBand?n=new e.StiColumnHeaderBandBuilder:r===t.Report.CrossTab.StiCrossTab||r.prototype instanceof t.Report.CrossTab.StiCrossTab?n=new e.StiCrossTabBuilder:r===t.Report.Components.StiHierarchicalBand||r.prototype instanceof t.Report.Components.StiHierarchicalBand?n=new e.StiHierarchicalBandBuilder:r===t.Report.Components.StiDataBand||r.prototype instanceof t.Report.Components.StiDataBand||r===t.Report.Components.StiCrossDataBand||r.prototype instanceof t.Report.Components.StiCrossDataBand||r===t.Report.Components.Table.StiTable||r.prototype instanceof t.Report.Components.Table.StiTable?n=new e.StiDataBandBuilder:r===t.Report.Components.StiFooterBand||r.prototype instanceof t.Report.Components.StiFooterBand||r===t.Report.Components.StiCrossFooterBand||r.prototype instanceof t.Report.Components.StiCrossFooterBand?n=new e.StiFooterBandBuilder:r===t.Report.Components.StiGroupFooterBand||r.prototype instanceof t.Report.Components.StiGroupFooterBand||r===t.Report.Components.StiCrossGroupFooterBand||r.prototype instanceof t.Report.Components.StiCrossGroupFooterBand?n=new e.StiGroupFooterBandBuilder:r===t.Report.Components.StiGroupHeaderBand||r.prototype instanceof t.Report.Components.StiGroupHeaderBand||r===t.Report.Components.StiCrossGroupHeaderBand||r.prototype instanceof t.Report.Components.StiCrossGroupHeaderBand?n=new e.StiGroupHeaderBandBuilder:r===t.Report.Components.StiHeaderBand||r.prototype instanceof t.Report.Components.StiHeaderBand||r===t.Report.Components.StiCrossHeaderBand||r.prototype instanceof t.Report.Components.StiCrossHeaderBand?n=new e.StiHeaderBandBuilder:r===t.Report.Components.StiImage||r.prototype instanceof t.Report.Components.StiImage||r===t.Report.Components.Table.StiTableCellImage||r.prototype instanceof t.Report.Components.Table.StiTableCellImage?n=new e.StiImageBuilder:r===t.Report.Components.StiPage||r.prototype instanceof t.Report.Components.StiPage?n=new e.StiPageBuilder:r===t.Report.Components.StiPointPrimitive||r.prototype instanceof t.Report.Components.StiPointPrimitive||r===t.Report.Components.StiEndPointPrimitive||r.prototype instanceof t.Report.Components.StiEndPointPrimitive||r===t.Report.Components.StiStartPointPrimitive||r.prototype instanceof t.Report.Components.StiStartPointPrimitive?n=new e.StiPointPrimitiveBuilder:r===t.Report.Components.StiVerticalLinePrimitive||r.prototype instanceof t.Report.Components.StiVerticalLinePrimitive||r===t.Report.Components.StiRoundedRectanglePrimitive||r.prototype instanceof t.Report.Components.StiRoundedRectanglePrimitive||r===t.Report.Components.StiRectanglePrimitive||r.prototype instanceof t.Report.Components.StiRectanglePrimitive?n=new e.StiCrossLinePrimitiveBuilder:r===t.Report.Components.StiSubReport||r.prototype instanceof t.Report.Components.StiSubReport?n=new e.StiSubReportBuilder:r===t.Report.Components.StiTextInCells||r.prototype instanceof t.Report.Components.StiTextInCells?n=new e.StiTextInCellsBuilder:r===t.Report.Components.StiSimpleText||r.prototype instanceof t.Report.Components.StiSimpleText||r===t.Report.Components.Table.StiTableCell||r.prototype instanceof t.Report.Components.Table.StiTableCell?n=new e.StiSimpleTextBuilder:r===t.Report.Components.StiView||r.prototype instanceof t.Report.Components.StiView?n=new e.StiViewBuilder:r===t.Report.Components.StiBand||r.prototype instanceof t.Report.Components.StiBand?n=new e.StiBandBuilder:r===t.Report.Components.StiContainer||r.prototype instanceof t.Report.Components.StiContainer?n=new e.StiContainerBuilder:(r===t.Report.Components.StiComponent||r.prototype instanceof t.Report.Components.StiComponent)&&(n=new e.StiComponentBuilder)}this.typeToBuilder.set(r,n)}return n},n.prototype.setReportVariables=function(t){},n.prototype.prepare=function(t){},n.prototype.unPrepare=function(t){},n.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,null]}))}))},n.prototype.internalRender=function(t){return null},n.prototype.renderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,null]}))}))},n.prototype.render=function(t){return null},n.typeToBuilder=new r,n}();e.StiBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.fillComponentPlacement=function(e){var r=e.parent;while(null!=r&&!r.stimulsoft.is(t.StiPage)&&(!r.stimulsoft.is(t.StiBand)||r.isCross))r=r.parent;if(null==r)return;if(r.stimulsoft.is(t.StiPage)&&(StiOptions.Export.optimizeDataOnlyMode&&e.stimulsoft.is(t.StiBand)?r=e.stimulsoft.as(t.StiContainer):e.componentPlacement="p"),r.stimulsoft.is(t.StiBand)){if(r.stimulsoft.is(t.StiChildBand)&&null!=r.parent){var n=r.parent,i=n.components.indexOf(r);if(i>0){while(i>0&&(n.components.getByIndex(i).stimulsoft.is(t.StiChildBand)||!n.components.getByIndex(i).stimulsoft.is(t.StiBand)))i--;n.components.getByIndex(i).stimulsoft.is(t.StiBand)&&(r=n.components.getByIndex(i))}}r.stimulsoft.is(t.StiReportTitleBand)&&(e.componentPlacement="rt"),r.stimulsoft.is(t.StiReportSummaryBand)&&(e.componentPlacement="rs"),r.stimulsoft.is(t.StiPageHeaderBand)&&(e.componentPlacement="ph"),r.stimulsoft.is(t.StiPageFooterBand)&&(e.componentPlacement="pf"),r.stimulsoft.is(t.StiHeaderBand)&&(r.printOnAllPages?e.componentPlacement="h.ap":e.componentPlacement="h"),r.stimulsoft.is(t.StiFooterBand)&&(r.printOnAllPages?e.componentPlacement="f.ap":e.componentPlacement="f"),r.stimulsoft.is(t.StiDataBand)&&(e.componentPlacement="d"),r.stimulsoft.is(t.StiGroupHeaderBand)&&(e.componentPlacement="gh"),r.stimulsoft.is(t.StiGroupFooterBand)&&(e.componentPlacement="gf"),r.stimulsoft.is(t.StiEmptyBand)&&(e.componentPlacement="e")}e.componentPlacement.length>0&&(e.parent.isCross?e.componentPlacement+="."+r.name:e.componentPlacement+="."+e.parent.name)},e}();t.StiComponentHelper=e}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.ICloneable,n=t.System.Collections.CollectionBase,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=function(n){function a(){return null!==n&&n.apply(this,arguments)||this}return __extends(a,n),a.prototype.implements=function(){return[r,i]},a.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new o,i=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(i.toString(),l.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},a.prototype.loadFromJsonObject=function(t){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new e.StiStyleCondition;s.loadFromJsonObject(a.value),this.list.push(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},a.prototype.loadFromXml=function(e){for(var r=0;r=0;r--)this.getStyleFromComponent(t.getByIndex(r),e)},m.prototype.toString=function(){if(n.isNullOrEmpty(this.description))return this.name;return this.description},Object.defineProperty(m.prototype,"collectionName",{get:function(){return this._collectionName},set:function(t){this._collectionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"conditions",{get:function(){return null==this._conditions&&(this._conditions=new u),this._conditions},set:function(t){this._conditions=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"name",{get:function(){return this._name},set:function(t){if(null!=this.report&&this.report.isDesigning&&n.isNullOrWhiteSpace(t))throw new Error("ArgumentException()");this._name!=t&&null!=this.report&&this.report.renameStyle(this._name,t),this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"dashboardName",{get:function(){return null},enumerable:!1,configurable:!0}),m}(t.Base.Services.StiService);r.StiBaseStyle=m}(r=e.Styles||(e.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiConditionPermissions,n=t.System.StiString,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Report.Components.StiText,a=t.Report.Components.StiRestrictions,s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiBorderSides,u=t.System.Drawing.Rectangle,c=t.Report.Components.IStiBorder,p=t.Report.Components.IStiBrush,h=t.Report.Components.IStiFont,m=t.Report.Components.IStiTextBrush,f=t.Report.Components.IStiTextHorAlignment,d=t.Report.Components.IStiVertAlignment,g=t.Base.Drawing.StiTextHorAlignment,S=t.Base.Drawing.StiVertAlignment,y=t.Report.Components.IStiCrossTabField,A=function(A){function b(){var n=A.call(this,new u(0,0,1,1))||this;return n.processCellEvent=new e.StiProcessCellEvent,n._mergeHeaders=!0,n.conditionPermissions=r.None,n.newGuid(),n.border.side=l.All,n.vertAlignment=S.Center,n.horAlignment=g.Center,n.restrictions=t.Report.Components.StiRestrictions.None|t.Report.Components.StiRestrictions.AllowMove|t.Report.Components.StiRestrictions.AllowResize|t.Report.Components.StiRestrictions.AllowSelect|t.Report.Components.StiRestrictions.AllowChange,n}return __extends(b,A),b.prototype.implements=function(){return b.ImplementsStiCrossField||(b.ImplementsStiCrossField=A.prototype.implements.call(this).concat([f,d,c,h,p,m,y,i])),b.ImplementsStiCrossField},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("HorAlignment",g,this.horAlignment,g.Center),e.addPropertyEnum("VertAlignment",S,this.vertAlignment,S.Center),e.removeProperty("ExcelValue"),e.removeProperty("PrintOn"),e.removeProperty("ExportAsImage"),e.removeProperty("ShrinkFontToFit"),e.removeProperty("ShrinkFontToFitMinimumSize"),e.removeProperty("Locked"),e.removeProperty("Linked"),e.removeProperty("CanBreak"),e.removeProperty("WYSIWYG"),e.removeProperty("Editable"),e.removeProperty("GlobalizedName"),e.removeProperty("LinesOfUnderline"),e.removeProperty("ProcessingDuplicates"),e.removeProperty("OnlyText"),e.removeProperty("ProcessAtEnd"),e.removeProperty("ProcessAt"),e.removeProperty("MaxNumberOfLines"),e.removeProperty("DockStyle"),e.removeProperty("GrowToHeight"),e.removeProperty("ShiftMode"),e.removeProperty("Left"),e.removeProperty("Top"),e.removeProperty("Width"),e.removeProperty("Height"),e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("AutoWidth"),e.removeProperty("Printable"),e.removeProperty("Bookmark"),e.removeProperty("GetBookmarkEvent"),e.addPropertyJObject("ProcessCellEvent",this.processCellEvent.saveToJsonObject(t)),e.addPropertyBool("MergeHeaders",this.mergeHeaders,!0),e},b.prototype.loadFromJsonObject=function(t){var r,n;A.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"ProcessCellEvent":var s=new e.StiProcessCellEvent;s.loadFromJsonObject(a.value),this.processCellEvent=s;break;case"MergeHeaders":this._mergeHeaders=a.value.stimulsoft.toBoolean();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},b.prototype.loadFromXml=function(t){A.prototype.loadFromXml.call(this,t,!1);var e=t.getAttribute("Ref");!n.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r0&&(E=I.engine.hashParentStyles.get(e.parent).as(i)),null==E&&(E=i.getStyle(e.parent)),null!=E&&(E.setStyleToComponent(e),T=!0,null!=(R=e.getComponentStyle2())&&R.setStyleToComponent(e))),e.invokeBeforePrint(e,o.empty),null!=I&&null!=I.engine&&I.engine.hashUseParentStyles.containsKey(e)&&(D=i.getStyle(e,E),null==I.engine.hashParentStyles&&(I.engine.hashParentStyles=new n),I.engine.hashParentStyles.set(e,D),T=!0),!e.isEnabled)return[3,2];return e.is(l)||e.doBookmark(),[4,e.internalRenderAsync()];case 1:return null!=(m=O.sent())&&(null==m.page?(m.page=e.page,m.invokeEvents(),m.page=null):m.invokeEvents()),[3,3];case 2:e.is(r)&&(e.as(r).disabledByCondition=!0),O.label=3;case 3:return e.invokeAfterPrint(e,o.empty),T&&null!=I.engine.hashParentStyles&&I.engine.hashParentStyles.remove(e),null!=f&&(f.textBrush=A),null!=d&&(d.brush=b),null!=g&&(g.font=v),null!=S&&null!=S.border&&(S.border.side=C),e.is(a)||(e.enabled=B),null!=y&&(y.horAlignment=w),null!=(P=e.as(h))&&null!=(x=m?m.as(h):null)&&P.border!=x.border&&P.border.equals(x.border)&&(x.border=P.border),null!=(F=e.as(p))&&null!=(N=m?m.as(p):null)&&F.brush!=N.brush&&F.brush.equals(N.brush)&&(N.brush=F.brush),null!=(k=e.as(u))&&null!=(M=m?m.as(u):null)&&k.textBrush!=M.textBrush&&k.textBrush.equals(M.textBrush)&&(M.textBrush=k.textBrush),e.isRendered=!0,[2,m]}}))}))},f.prototype.render=function(e){var m=null,f=e.as(u),d=e.as(p),g=e.as(c),S=e.as(h),y=e.as(t.Report.Components.IStiTextHorAlignment),A=null,b=null,v=null,C=s.None,w;null!=f&&(A=f.textBrush),null!=d&&(b=d.brush),null!=g&&(v=g.font),null!=S&&null!=S.border&&(C=S.border.side);var B=e.enabled;null!=y&&(w=y.horAlignment);var I=e.report,T=!1,E=null;if(e.useParentStyles&&null!=e.parent&&(null!=I&&null!=I.engine&&null!=I.engine.hashParentStyles&&I.engine.hashParentStyles.count>0&&(E=I.engine.hashParentStyles.get(e.parent).as(i)),null==E&&(E=i.getStyle(e.parent)),null!=E)){E.setStyleToComponent(e),T=!0;var R=e.getComponentStyle2();null!=R&&R.setStyleToComponent(e)}if(e.invokeBeforePrint(e,o.empty),null!=I&&null!=I.engine&&I.engine.hashUseParentStyles.containsKey(e)){var D=i.getStyle(e,E);null==I.engine.hashParentStyles&&(I.engine.hashParentStyles=new n),I.engine.hashParentStyles.set(e,D),T=!0}e.isEnabled?(e.is(l)||e.doBookmark(),null!=(m=e.internalRender())&&(null==m.page?(m.page=e.page,m.invokeEvents(),m.page=null):m.invokeEvents())):e.is(r)&&(e.as(r).disabledByCondition=!0),e.invokeAfterPrint(e,o.empty),T&&null!=I.engine.hashParentStyles&&I.engine.hashParentStyles.remove(e),null!=f&&(f.textBrush=A),null!=d&&(d.brush=b),null!=g&&(g.font=v),null!=S&&null!=S.border&&(S.border.side=C),e.is(a)||(e.enabled=B),null!=y&&(y.horAlignment=w);var P=e.as(h);if(null!=P){var x=m?m.as(h):null;null!=x&&P.border!=x.border&&P.border.equals(x.border)&&(x.border=P.border)}var F=e.as(p);if(null!=F){var N=m?m.as(p):null;null!=N&&F.brush!=N.brush&&F.brush.equals(N.brush)&&(N.brush=F.brush)}var k=e.as(u);if(null!=k){var M=m?m.as(u):null;null!=M&&k.textBrush!=M.textBrush&&k.textBrush.equals(M.textBrush)&&(M.textBrush=k.textBrush)}return e.isRendered=!0,m},f}(e.StiBuilder);e.StiComponentBuilder=f}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Data.Extensions.ListExt,n=t.Base.Helpers.StiValueHelper,i=t.System.StiArray,o=t.Report.Dictionary.StiDataColumn,a=t.System.StiString,s=function(e){function s(){return null!==e&&e.apply(this,arguments)||this}return __extends(s,e),s.prototype.prepare=function(t){e.prototype.prepare.call(this,t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},s.prototype.internalRender=function(e){var r=e.as(t.Report.Components.StiSparkline),n=r.clone(!0);return n.values=s.getValuesFromValueDataColumn(r),n},s.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n;return __generator(this,(function(i){return r=e.as(t.Report.Components.StiSparkline),(n=r.clone(!0)).values=s.getValuesFromValueDataColumn(r),[2,n]}))}))},s.getValuesFromValueDataColumn=function(t,e){if(void 0===e&&(e=0),a.isNullOrWhiteSpace(t.valueDataColumn))return null;var s=t.getDataSource();if(null!=s){var l=o.getDataColumnFromColumnName(t.report.dictionary,t.valueDataColumn);if(null!=l&&Array.isArray(l))return r.toNumberArray(s[l.name]);s.saveState("SparklineRender_DataColumn"),a.isNullOrWhiteSpace(t.dataRelationName)||s.setDetails(t.dataRelationName);var u=i.create(Number,s.count);s.first();for(var c=0;c0&&c>e)break;s.next()}return s.restoreState("SparklineRender_DataColumn"),u}var h=o.getBusinessObjectFromDataColumn(t.report.dictionary,t.valueDataColumn);if(null!=h){h.saveState("ChartRender_DataColumn");var u=i.create(Number,h.count);h.first();for(var c=0;c0&&c>e)break;h.next()}return h.restoreState("SparklineRender_DataColumn"),u}return null},s}(e.StiComponentBuilder);e.StiSparklineBuilder=s}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Engine.StiSparklineBuilder,i=t.System.Text.StiReportObjectStringConverter,o=t.Base.Helpers.StiValueHelper,a=t.Report.Dictionary.StiDataColumn,s=t.Base.Drawing.StiBorder,l=t.System.Drawing.ColorTranslator,u=t.System.StiString,c=t.System.Enum,p=t.Base.StiJsonSaveMode,h=t.System.Drawing.Rectangle,m=t.Base.Drawing.StiBrush,f=t.Base.StiJsonReportObjectHelper,d=t.Report.StiComponentId,g=t.Report.Components.StiComponent,S=t.Base.Localization.StiLocalization,y=t.Base.Drawing.StiSolidBrush,A=t.Report.Components.StiComponentToolboxPosition,b=function(g){function b(t){var e=g.call(this,t)||this;return e.dataRelationName="",e.brush=new y,e.border=new s,e.defaultClientRectangle=new h(0,0,100,30),e.toolboxCategory=function(){return r.StiToolboxCategory.Components},e.helpUrl=function(){return"user-manual/index.html?report_internals_sparkline.htm"},e.createNew=function(){return new b},e._valueDataColumn="",e.type=r.StiSparklineType.Area,e.showHighLowPoints=!1,e.showFirstLastPoints=!0,e.positiveColor=l.fromHtml("537eb6"),e.negativeColor=l.fromHtml("ff0000"),e.placeOnToolbox=!1,e}return __extends(b,g),b.prototype.implements=function(){return b.implementsStiSparkline||(b.implementsStiSparkline=g.prototype.implements.call(this).concat([r.IStiExportImageExtended,r.IStiDataRelation,r.IStiBorder,r.IStiBrush])),b.implementsStiSparkline},b.prototype.saveToJsonObject=function(t){var e=g.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyStringNullOrEmpty("Brush",f.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("Border",f.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("ValueDataColumn",this.valueDataColumn),e.addPropertyEnum("Type",r.StiSparklineType,this.type,r.StiSparklineType.Area),e.addPropertyBool("ShowHighLowPoints",this.showHighLowPoints,!1),e.addPropertyBool("ShowFirstLastPoints",this.showFirstLastPoints,!0),e.addPropertyStringNullOrEmpty("PositiveColor",f.Serialize.jColor(this.positiveColor,l.fromHtml("537eb6"))),e.addPropertyStringNullOrEmpty("NegativeColor",f.Serialize.jColor(this.negativeColor,l.fromHtml("ff0000"))),t==p.Document&&e.addPropertyStringNullOrEmpty("ValuesContainer",this.valuesContainer),e},b.prototype.loadFromJsonObject=function(t){var e,n;g.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"DataRelationName":this.dataRelationName=a.value.toString();break;case"Brush":this.brush=f.Deserialize.brush(a.value);break;case"Border":this.border=f.Deserialize.border(a.value);break;case"ValueDataColumn":this.valueDataColumn=a.value.toString();break;case"Type":this.type=c.parse(r.StiSparklineType,a.value.toString());break;case"ShowHighLowPoints":this.showHighLowPoints=a.value.stimulsoft.toBoolean();break;case"ShowFirstLastPoints":this.showFirstLastPoints=a.value.stimulsoft.toBoolean();break;case"PositiveColor":this.positiveColor=f.Deserialize.color(a.value.toString());break;case"NegativeColor":this.negativeColor=f.Deserialize.color(a.value.toString());break;case"ValuesContainer":this.valuesContainer=a.value.toString();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},b.prototype.loadFromXml=function(t,e){g.prototype.loadFromXml.call(this,t,e);for(var n=0;n0?this.values=e:this.values=[1,2,3,6,3,2,7,4,2,-3,-5].stimulsoft.toList()}return null===(t=this.values)||void 0===t?void 0:t.stimulsoft.toList()},b.prototype.getDataSource=function(){return a.getDataSourceFromDataColumn(this.report.dictionary,this.valueDataColumn)},Object.defineProperty(b.prototype,"valueDataColumn",{get:function(){return this._valueDataColumn},set:function(t){this._valueDataColumn=t,this.values=null},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"valuesContainer",{get:function(){return null!=this.values?u.join(";",this.values.stimulsoft.toList().select((function(t){return o.tryToString(t)})).stimulsoft.toArray()):null},set:function(t){if(null==t||0==t.trim().length)this.values=null;else{var e=t.split(";");this.values=e.stimulsoft.toList().select((function(t){return o.tryToNumber(t)})).stimulsoft.toArray()}},enumerable:!1,configurable:!0}),b}(g);r.StiSparkline=b}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Drawing.Rectangle,i=function(t){function r(e){return void 0===e&&(e=n.empty),t.call(this,e)||this}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiStartPointPrimitive},enumerable:!1,configurable:!0}),r}(r.StiPointPrimitive);r.StiStartPointPrimitive=i}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Report.Components.IStiEditable,a=t.Base.Drawing.StiSolidBrush,s=t.System.Drawing.Color,l=t.Base.StiJsonReportObjectHelper,u=t.System.Drawing.Size,c=t.System.Drawing.Size,p=t.System.Collections.List,h=t.System.Char,m=t.System.Drawing.Rectangle,f=t.Base.Drawing.StiBorderSides,d=t.System.Drawing.Font,g=t.System.Drawing.FontStyle,S=function(S){function y(t,e){void 0===t&&(t=m.empty),void 0===e&&(e="");var r=S.call(this,t)||this;return r.textBrush=new a(s.black),r.brush=new a(s.white),r.border.side=f.All,r.border.color=s.black,r.border.size=2,r.setTextInternal(e),r.placeOnToolbox=!1,r.font=new d("Arial",14,g.Bold),r}return __extends(y,S),y.prototype.implements=function(){return y.ImplementsTextInCells||(y.ImplementsTextInCells=S.prototype.implements.call(this).concat([r.IStiTextOptions,r.IStiAutoWidth,r.IStiTextHorAlignment,r.IStiVertAlignment,r.IStiBorder,r.IStiFont,r.IStiBrush,r.IStiTextBrush,r.IStiBreakable,e.IStiGlobalizationProvider,o,i])),y.ImplementsTextInCells},y.prototype.saveToJsonObject=function(t){var e=S.prototype.saveToJsonObject.call(this,t);return e.removeProperty("VertAlignment"),e.removeProperty("AutoWidth"),e.removeProperty("CanShrink"),e.removeProperty("AllowHtmlTags"),e.removeProperty("ShrinkFontToFit"),e.removeProperty("ShrinkFontToFitMinimumSize"),e.removeProperty("Angle"),e.removeProperty("LinesOfUnderline"),e.removeProperty("MaxNumberOfLines"),e.removeProperty("ProcessingDuplicates"),e.removeProperty("RenderTo"),e.removeProperty("TextQuality"),e.removeProperty("ExcelValue"),e.removeProperty("Font"),e.addPropertyStringNullOrEmpty("Font",l.Serialize.font(this.font,"Arial",14,g.Bold)),e.addPropertyNumber("CellWidth",this.cellWidth,0),e.addPropertyNumber("CellHeight",this.cellHeight,0),e.addPropertyNumber("HorSpacing",this.horSpacing,0),e.addPropertyNumber("VertSpacing",this.vertSpacing,0),e.addPropertyBool("WordWrap",this.wordWrap),e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyBool("ContinuousText",this.continuousText,!0),e},y.prototype.loadFromJsonObject=function(t){var e,r;S.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellWidth":this.cellWidth=o.value.value.stimulsoft.toNumber();break;case"CellHeight":this.cellHeight=o.value.value.stimulsoft.toNumber();break;case"HorSpacing":this.horSpacing=o.value.value.stimulsoft.toNumber();break;case"VertSpacing":this.vertSpacing=o.value.value.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=o.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=o.value.stimulsoft.toBoolean();break;case"ContinuousText":this.continuousText=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},y.prototype.loadFromXml=function(t,e){S.prototype.loadFromXml.call(this,t,e);for(var r=0;r=o.length)break}else if(l.bottomx.width){var _=[],j=0,G=0;while(G0)if(_[w]!=_[Q])while(h.isWhitespace(O[w]))w++;else{while(!h.isWhitespace(O[w]))w--;Q=w++;while(h.isWhitespace(O[Q]))Q--}F.setByIndex(M,O.substring(0,Q+1)),F.insert(M+1,O.substring(w,O.length-w))}}a&&t.canGrow&&(x.height=F.length),v=l.y+f;for(var L=0;L0&&(Y=n.repeat(" ",U)+Y),b=l.x+f;for(var J=0;J0&&r.isWhitespace(t[n-1]))n--;return n==t.length?e=t:n>0&&(e=t.substring(0,n)),e},t}();e.StiTextInCellsHelper=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.Base.StiJsonReportObjectHelper,i=t.Base.Drawing.StiBorder,o=t.Base.Drawing.StiBorderSides,a=t.Base.Drawing.StiCap,s=t.System.Drawing.Rectangle,l=t.System.Drawing.Point,u=function(t){function u(e){void 0===e&&(e=s.empty);var r=t.call(this,e)||this;return r._border=null,r._startCap=new a,r._endCap=new a,r}return __extends(u,t),u.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBorder,r])},u.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("StartCap",n.Serialize.jCap(this._startCap)),r.addPropertyStringNullOrEmpty("EndCap",n.Serialize.jCap(this._endCap)),r},u.prototype.loadFromJsonObject=function(e){var r,i;t.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"StartCap":this._startCap=n.Deserialize.jCap(s.value);break;case"EndCap":this._endCap=n.Deserialize.jCap(s.value);break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},u.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n0){var e=this._rowCount;this._rowCount=t,this.changeRowCount(e,t)}},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"columnCount",{get:function(){return this._columnCount},set:function(t){if(t>0){var e=this._columnCount;this._columnCount=t,this.changeColumnCount(e,t)}},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerRowsCount",{get:function(){return this._footerRowsCount},set:function(t){(!this.isDesigning||t<=this._rowCount-this._headerRowsCount)&&(this._footerRowsCount=t,this.refreshTableStyle())},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerRowsCount",{get:function(){return this._headerRowsCount},set:function(t){(!this.isDesigning||t<=this._rowCount-this._footerRowsCount)&&(this._headerRowsCount=t,this.refreshTableStyle())},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"defaultHeightCell",{get:function(){if(null!=this.page&&null!=this.page.report)switch(this.page.report.reportUnit){case e.StiReportUnitType.Centimeters:return.8;case e.StiReportUnitType.HundredthsOfInch:return 30;case e.StiReportUnitType.Inches:return.3;case e.StiReportUnitType.Millimeters:return 8}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerPrintOn",{get:function(){return this._headerPrintOn},set:function(t){this._headerPrintOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerCanGrow",{get:function(){return this._headerCanGrow},set:function(t){this._headerCanGrow=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerCanShrink",{get:function(){return this._headerCanShrink},set:function(t){this._headerCanShrink=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerCanBreak",{get:function(){return this._headerCanBreak},set:function(t){this._headerCanBreak=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerPrintAtBottom",{get:function(){return this._headerPrintAtBottom},set:function(t){this._headerPrintAtBottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerPrintIfEmpty",{get:function(){return this._headerPrintIfEmpty},set:function(t){this._headerPrintIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerPrintOnAllPages",{get:function(){return this._headerPrintOnAllPages},set:function(t){this._headerPrintOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerPrintOnEvenOddPages",{get:function(){return this._headerPrintOnEvenOddPages},set:function(t){this._headerPrintOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerPrintOn",{get:function(){return this._footerPrintOn},set:function(t){this._footerPrintOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerCanGrow",{get:function(){return this._footerCanGrow},set:function(t){this._footerCanGrow=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerCanShrink",{get:function(){return this._footerCanShrink},set:function(t){this._footerCanShrink=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerCanBreak",{get:function(){return this._footerCanBreak},set:function(t){this._footerCanBreak=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerPrintAtBottom",{get:function(){return this._footerPrintAtBottom},set:function(t){this._footerPrintAtBottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerPrintIfEmpty",{get:function(){return this._footerPrintIfEmpty},set:function(t){this._footerPrintIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerPrintOnAllPages",{get:function(){return this._footerPrintOnAllPages},set:function(t){this._footerPrintOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"footerPrintOnEvenOddPages",{get:function(){return this._footerPrintOnEvenOddPages},set:function(t){this._footerPrintOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"numberID",{get:function(){return this._numberID},set:function(t){this._numberID=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"columns",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"columnWidth",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"columnGaps",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"minRowsInColumn",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"minHeight",{get:function(){return A.prototype.getMinHeight.call(this)},set:function(t){A.prototype.setMinHeight.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"maxHeight",{get:function(){return A.prototype.getMaxHeight.call(this)},set:function(t){A.prototype.setMaxHeight.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"minSize",{get:function(){return new u(0,0)},set:function(t){A.prototype.setMinSize.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"rightToLeft",{get:function(){return A.prototype.getRightToLeft.call(this)},set:function(t){A.prototype.setRightToLeft.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"width",{get:function(){return A.prototype.getWidth.call(this)},set:function(t){var e=A.prototype.getWidth.call(this);if(t==A.prototype.getWidth.call(this))return;A.prototype.setWidth.call(this,t),t>0&&t!=e&&this.resizeWidthCell(e)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"height",{get:function(){return A.prototype.getHeight.call(this)},set:function(t){if(A.prototype.setHeight.call(this,t),0==this.components.count&&null!=this.page)return this.selectAll(),void this.createCell()},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dockable",{get:function(){return this.dockableTable},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerStartColor",{get:function(){return p.fromArgb(144,192,241)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"headerEndColor",{get:function(){return p.fromArgb(144,192,241)},enumerable:!1,configurable:!0}),v.prototype.changeGrowToHeightAtCell=function(t){var e=this.components.indexOf(t);if(-1==e)return;for(var r,n=Math.trunc(e/this.columnCount)*this.columnCount,i=!1,o=n;o0){for(var p=0,S=0;S0)for(var c=this._rowCount-this._footerRowsCount,p=c*this._columnCount,S=c;S0){for(var p=0,S=0;S0)for(var b=this._rowCount-this._footerRowsCount,p=b*this._columnCount,S=b;S0&&e!=t){e0?this.addNewRows(r):this.deleteLastRows(Math.abs(r),t)}},v.prototype.changeColumnCount=function(t,e){if(null==this.page||null==this.report)return;if(e>0&&e!=t){var r=e-t;r>0?this.addTableNewColumns(r,t):this.deleteTableColumns(Math.abs(r),t)}},v.prototype.createJoin=function(t,e,r,i){var o,a,s=t.ref,l=e.ref,u=r.ref,c=i.ref,p=this.getCountSelectedCells();if(p<=1||null==this.page)return new Array;var h=new Array(p),m=new Array(p),f=0,d=0,g=0,S,y,A,b;try{for(var v=__values(this.components.list),C=v.next();!C.done;C=v.next()){var w=C.value;w.isSelected&&(h[g]=d,m[g]=f,g++,w.isSelected=!1),++d==this._columnCount&&(d=0,f++)}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}var B={ref:S},I={ref:y},T={ref:A},E={ref:b};this.findLeftSelectedElement(h,B,T),this.findRightSelectedElement(m,I,E),u=(A=T.ref)-(S=B.ref)+1,c=(b=E.ref)-(y=I.ref)+1;for(var R=new Array((b-y+1)*(A-S+1)),D=0,P=y;P<=b;P++){for(var x=null,F=S;F<=A;F++){var N=P*this._columnCount+F,k;if((x=this.components.getByIndex(N)).stimulsoft.as(n.IStiTableCell).merged)x.stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(x.stimulsoft.as(n.IStiTableCell).parentJoin).stimulsoft.as(n.IStiTableCell).join=!1;R[D]=x.stimulsoft.as(n.IStiTableCell).id,P==y&&(s+=x.width),D++}l+=x.height}return t.ref=s,e.ref=l,r.ref=u,i.ref=c,R},v.prototype.getCountSelectedCells=function(){var t,e,r=0;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o;i.value.isSelected&&r++}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},v.prototype.getCountJoinSelectedCells=function(t){var e,r,i=t.ref,o=0;i=0;try{for(var a=__values(this.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;l.isSelected&&(o++,l.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&i++)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return t.ref=i,o},v.prototype.findLeftSelectedElement=function(t,e,r){var n=e.ref,i=r.ref;n=t[0],i=t[0];for(var o=1;ot[o]&&(n=t[o]),it[o]&&(n=t[o]),i=this.components.count)break;for(var a=0;au)this.components.removeAt(this.components.count-1);A.prototype.setHeight.call(this,A.prototype.getHeight.call(this)-i),this.refreshTableStyle()},v.prototype.addTableNewColumns=function(t,e){if(0==this.components.count)return;for(var o=this.clientRectangle,a=+o.width/this.page.gridSize,s=this._columnCount,u=Math.trunc(a/s),c=a-u*s,p=new Array(s),h=0;h=0){var B=this.parent.components.getByIndex(w);if(!B.stimulsoft.is(r.StiHeaderBand))if(B.stimulsoft.is(r.StiChildBand));else if(!B.stimulsoft.is(r.StiEmptyBand)){if(B.stimulsoft.is(r.StiGroupHeaderBand)){C=!0;break}break}w--}if(this._headerRowsCount>0){for(var I=0;I0){var U=new r.StiGroupHeaderBand;U.height=0,U.clientRectangle=new l(h.x,m,h.width,0),U.name=this.name+"_GrHdEmp",U.page=this.page,U.parent=this.page,U.printAtBottom=this._headerPrintAtBottom,t.components.insert(e,U),u.push(U),e++,m+=1}if(this._rowCount-this._headerRowsCount-this._footerRowsCount>0){this.isConverted=!0,p=this.clone(!0,!1).stimulsoft.as(r.StiDataBand),this.isConverted=!1,p.components.clear(),this.setFilter(p);for(var I=this._headerRowsCount;I0){for(var z=new s,E=new s,X=this.components.count-this._footerRowsCount*this._columnCount,I=S-this._footerRowsCount;I0){var $=new r.StiGroupFooterBand;$.height=0,$.clientRectangle=new l(h.x,m,h.width,0),$.name=this.name+"_GrFtEmp",$.page=this.page,$.parent=this.page,$.printAtBottom=this._footerPrintAtBottom,t.components.insert(e,$),u.push($),e++}return this.reverseCells(this.rightToLeft),p},v.prototype.reverseCells=function(t){if(!t)return;for(var e=0;e=this.parent.columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeLeftPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e=this._joinCells.length)return null;try{for(var i=__values(this.parent.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.as(n.IStiTableCell).id==this._joinCells[t])return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},u.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e1?r-i==1?e.height:this.bottom-e.top-e.stimulsoft.as(n.IStiTableCell).getRealHeight():t.prototype.getBottom.call(this)-e.bottom}return t.prototype.getHeight.call(this)},u.prototype.getRealTop=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),n=this.parent.components.indexOf(e);return this.parent.columnCount>1&&r-n==1?e.top:e.bottom}return t.prototype.getTop.call(this)},u.prototype.getRealWidth=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),n=this.parent.components.indexOf(e);return this.parent.rowCount>1?r-n==1?this.right-e.right:e.width:this.right-e.right}return t.prototype.getWidth.call(this)},u.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return this.parent.rowCount>1?e-r==1?t.right:t.left:t.right}return this.left},u.prototype.createNew=function(){return new u},u}(r.StiText);n.StiTableCell=u}(n=r.Table||(r.Table={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJsonReportObjectHelper,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.System.Enum,u=function(t){function u(){var e=null!==t&&t.apply(this,arguments)||this;return e._cellDockStyle=r.StiDockStyle.None,e._parentJoinCell=null,e._joinCells=new Array(0),e._parentJoin=-1,e._join=!1,e._id=-1,e._joinWidth=0,e._joinHeight=0,e._tableTag=null,e._cellType=n.StiTablceCellType.CheckBox,e._fixedWidth=!1,e._column=0,e}return __extends(u,t),u.prototype.implements=function(){return u.ImplementsStiTableCellCheckBox||(u.ImplementsStiTableCellCheckBox=t.prototype.implements.call(this).concat([n.IStiTableCell,n.IStiTableComponent,i])),u.ImplementsStiTableCellCheckBox},u.prototype.saveToJsonObject=function(e){var i=t.prototype.saveToJsonObject.call(this,e);return i.removeProperty("Locked"),i.removeProperty("Linked"),i.addPropertyEnum("CellDockStyle",r.StiDockStyle,this.cellDockStyle,r.StiDockStyle.None),i.addPropertyJObject("JoinCells",o.Serialize.numberArray(this.joinCells)),i.addPropertyNumber("ParentJoin",this.parentJoin,-1),i.addPropertyBool("Join",this.join),i.addPropertyNumber("ID",this.id,-1),i.addPropertyNumber("JoinWidth",this.joinWidth),i.addPropertyNumber("JoinHeight",this.joinHeight),i.addPropertyEnum("CellType",n.StiTablceCellType,this.cellType,n.StiTablceCellType.CheckBox),i.addPropertyBool("FixedWidth",this.fixedWidth),i},u.prototype.loadFromJsonObject=function(e){var i,a;t.prototype.loadFromJsonObject.call(this,e);try{for(var s=__values(e.properties()),u=s.next();!u.done;u=s.next()){var c=u.value;switch(c.name){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,c.value);break;case"JoinCells":this._joinCells=o.Deserialize.numberArray(c.value);break;case"ParentJoin":this._parentJoin=c.value.stimulsoft.toNumber();break;case"Join":this._join=c.value.stimulsoft.toBoolean();break;case"ID":this._id=c.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=c.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=c.value.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,c.value);break;case"FixedWidth":this._fixedWidth=c.value.stimulsoft.toBoolean();break}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}},u.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n=this.parent.stimulsoft.as(n.StiTable).columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeLeftPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e=this._joinCells.length)return null;try{for(var i=__values(this.parent.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.as(n.IStiTableCell).id==this._joinCells[t])return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},u.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e1&&r-i==1?e.height:t.prototype.getBottom.call(this)-e.bottom}return t.prototype.getHeight.call(this)},u.prototype.getRealTop=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).columnCount>1&&r-i==1?e.top:e.bottom}return t.prototype.getTop.call(this)},u.prototype.getRealWidth=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?r-i==1?this.right-e.right:e.width:this.right-e.right}return t.prototype.getWidth.call(this)},u.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?e-r==1?t.right:t.left:t.right}return this.left},u.prototype.createNew=function(){return new u},u}(r.StiCheckBox);n.StiTableCellCheckBox=u}(n=r.Table||(r.Table={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJsonReportObjectHelper,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.System.Enum,u=function(t){function u(){var e=null!==t&&t.apply(this,arguments)||this;return e._cellDockStyle=r.StiDockStyle.None,e._parentJoinCell=null,e._joinCells=new Array(0),e._parentJoin=-1,e._join=!1,e._id=-1,e._joinWidth=0,e._joinHeight=0,e._tableTag=null,e._cellType=n.StiTablceCellType.Image,e._fixedWidth=!1,e._column=0,e}return __extends(u,t),u.prototype.implements=function(){return u.ImplementsStiTableCellImage||(u.ImplementsStiTableCellImage=t.prototype.implements.call(this).concat([n.IStiTableCell,n.IStiTableComponent,i])),u.ImplementsStiTableCellImage},u.prototype.saveToJsonObject=function(e){var i=t.prototype.saveToJsonObject.call(this,e);return i.removeProperty("Locked"),i.removeProperty("Linked"),i.addPropertyEnum("CellDockStyle",r.StiDockStyle,this.cellDockStyle,r.StiDockStyle.None),i.addPropertyJObject("JoinCells",o.Serialize.numberArray(this.joinCells)),i.addPropertyNumber("ParentJoin",this.parentJoin,-1),i.addPropertyBool("Join",this.join),i.addPropertyNumber("ID",this.id,-1),i.addPropertyNumber("JoinWidth",this.joinWidth),i.addPropertyNumber("JoinHeight",this.joinHeight),i.addPropertyEnum("CellType",n.StiTablceCellType,this.cellType,n.StiTablceCellType.Image),i.addPropertyBool("FixedWidth",this.fixedWidth),i},u.prototype.loadFromJsonObject=function(e){var i,a;t.prototype.loadFromJsonObject.call(this,e);try{for(var s=__values(e.properties()),u=s.next();!u.done;u=s.next()){var c=u.value;switch(c.name){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,c.value);break;case"JoinCells":this._joinCells=o.Deserialize.numberArray(c.value);break;case"ParentJoin":this._parentJoin=c.value.stimulsoft.toNumber();break;case"Join":this._join=c.value.stimulsoft.toBoolean();break;case"ID":this._id=c.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=c.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=c.value.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,c.value);break;case"FixedWidth":this._fixedWidth=c.value.stimulsoft.toBoolean();break}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}},u.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n=this.parent.stimulsoft.as(n.StiTable).columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeLeftPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e=this._joinCells.length)return null;try{for(var i=__values(this.parent.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.as(n.IStiTableCell).id==this._joinCells[t])return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},u.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e1&&r-i==1?e.height:t.prototype.getBottom.call(this)-e.bottom}return t.prototype.getHeight.call(this)},u.prototype.getRealTop=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).columnCount>1&&r-i==1?e.top:e.bottom}return t.prototype.getTop.call(this)},u.prototype.getRealWidth=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?r-i==1?this.right-e.right:e.width:this.right-e.right}return t.prototype.getWidth.call(this)},u.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?e-r==1?t.right:t.left:t.right}return this.left},u.prototype.createNew=function(){return new u},u}(r.StiImage);n.StiTableCellImage=u}(n=r.Table||(r.Table={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJsonReportObjectHelper,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.System.Enum,u=t.System.Drawing.Color,c=function(t){function c(){var e=t.call(this)||this;return e._cellDockStyle=r.StiDockStyle.None,e._parentJoinCell=null,e._joinCells=new Array(0),e._parentJoin=-1,e._join=!1,e._id=-1,e._joinWidth=0,e._joinHeight=0,e._tableTag=null,e._cellType=n.StiTablceCellType.RichText,e._fixedWidth=!1,e._column=0,e.backColor=u.white,e}return __extends(c,t),c.prototype.implements=function(){return c.ImplementsStiTableCellRichText||(c.ImplementsStiTableCellRichText=t.prototype.implements.call(this).concat([n.IStiTableCell,n.IStiTableComponent,i])),c.ImplementsStiTableCellRichText},c.prototype.saveToJsonObject=function(e){var i=t.prototype.saveToJsonObject.call(this,e);return i.removeProperty("Locked"),i.removeProperty("Linked"),i.addPropertyEnum("CellDockStyle",r.StiDockStyle,this.cellDockStyle,r.StiDockStyle.None),i.addPropertyJObject("JoinCells",o.Serialize.numberArray(this.joinCells)),i.addPropertyNumber("ParentJoin",this.parentJoin,-1),i.addPropertyBool("Join",this.join),i.addPropertyNumber("ID",this.id,-1),i.addPropertyNumber("JoinWidth",this.joinWidth),i.addPropertyNumber("JoinHeight",this.joinHeight),i.addPropertyEnum("CellType",n.StiTablceCellType,this.cellType,n.StiTablceCellType.RichText),i.addPropertyBool("FixedWidth",this.fixedWidth),i},c.prototype.loadFromJsonObject=function(e){var i,a;t.prototype.loadFromJsonObject.call(this,e);try{for(var s=__values(e.properties()),u=s.next();!u.done;u=s.next()){var c=u.value;switch(c.name){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,c.value);break;case"JoinCells":this._joinCells=o.Deserialize.numberArray(c.value);break;case"ParentJoin":this._parentJoin=c.value.stimulsoft.toNumber();break;case"Join":this._join=c.value.stimulsoft.toBoolean();break;case"ID":this._id=c.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=c.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=c.value.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,c.value);break;case"FixedWidth":this._fixedWidth=c.value.stimulsoft.toBoolean();break}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}},c.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n=this.parent.stimulsoft.as(n.StiTable).columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"changeLeftPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e=this._joinCells.length)return null;try{for(var i=__values(this.parent.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.as(n.IStiTableCell).id==this._joinCells[t])return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},c.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e1&&r-i==1?e.height:t.prototype.getBottom.call(this)-e.bottom}return t.prototype.getHeight.call(this)},c.prototype.getRealTop=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).columnCount>1&&r-i==1?e.top:e.bottom}return t.prototype.getTop.call(this)},c.prototype.getRealWidth=function(){if(this._join){var e=this.getJoinComponentByIndex(this._joinCells.length-2),r=this.parent.components.indexOf(this),i=this.parent.components.indexOf(e);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?r-i==1?this.right-e.right:e.width:this.right-e.right}return t.prototype.getWidth.call(this)},c.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return this.parent.stimulsoft.as(n.StiTable).rowCount>1?e-r==1?t.right:t.left:t.right}return this.left},c.prototype.createNew=function(){return new c},c}(r.StiRichText);n.StiTableCellRichText=c}(n=r.Table||(r.Table={}))}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(){function r(){}return r.isNegativeInRed=function(r){if(null==r)return!1;if(r.stimulsoft.is(e.StiNumberFormatService)&&(r.state&t.StiTextFormatState.NegativeInRed)>0)return!0;if(r.stimulsoft.is(e.StiCurrencyFormatService)&&(r.state&t.StiTextFormatState.NegativeInRed)>0)return!0;if(r.stimulsoft.is(e.StiPercentageFormatService)&&(r.state&t.StiTextFormatState.NegativeInRed)>0)return!0;return!1},r}();e.StiNegativeColorChecker=r}(e=t.TextFormats||(t.TextFormats={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.Base.Localization.StiLocalization,n=t.System.ICloneable,i=function(){function t(t,e,r,n,i){this.falseValue=t,this.trueValue=e,this.falseDisplay=r,this.trueDisplay=n,this.nullDisplay=i}return t.prototype.implements=function(){return[n]},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t}(),o=function(t){function e(e,n,i,o,a){void 0===e&&(e="false"),void 0===n&&(n="true"),void 0===i&&(i=r.get("FormFormatEditor","nameFalse")),void 0===o&&(o=r.get("FormFormatEditor","nameTrue")),void 0===a&&(a=" ");var s=t.call(this)||this;return s.falseValue=e,s.trueValue=n,s.falseDisplay=i,s.trueDisplay=o,s.nullDisplay=a,s}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return null!=this.bits&&(r.addPropertyStringNullOrEmpty("FalseValue",this.bits.falseValue),r.addPropertyStringNullOrEmpty("TrueValue",this.bits.trueValue),r.addPropertyStringNullOrEmpty("FalseDisplay",this.bits.falseDisplay),r.addPropertyStringNullOrEmpty("TrueDisplay",this.bits.trueDisplay),r.addPropertyStringNullOrEmpty("NullDisplay",this.bits.nullDisplay)),r},e.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"FalseValue":this.falseValue=a.value;break;case"TrueValue":this.trueValue=a.value;break;case"FalseDisplay":this.falseDisplay=a.value;break;case"TrueDisplay":this.trueDisplay=a.value;break;case"NullDisplay":this.nullDisplay=a.value;break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},e.prototype.loadFromXml=function(t){for(var e=0;e1){var t=1;while(tthis.list[t].priority){var e=this.list[t-1];this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--}else t++}},d.prototype.sortByTopPosition=function(){var t,e,r,n;if(this.count>1){var i=!0,a=null,s=this.count;if(s>100){i=!1;var u=this.list[0].top;a=new l;for(var c=0;cthis.list[C].top){var w=this.list[C-1];this.list[C-1]=this.list[C],this.list[C]=w,1!=C&&C--}else C++}}},d.prototype.sortByBottomPosition=function(){if(this.count>1){var t=1;while(tthis.list[t].bottom){var e=this.list[t-1];this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--}else t++}},d.prototype.sortByLeftPosition=function(){if(this.count>1){var t=1;while(tthis.list[t].left){var e=this.list[t-1];this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--}else t++}},d.prototype.sortByRightPosition=function(){if(this.count>1){var t=1;while(tthis.list[t].right){var e=this.list[t-1];this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--}else t++}},d.prototype.sortBandsByTopPosition=function(){if(this.count>1){var e=1;while(ethis.list[e].top||this.list[e-1].dockStyle==t.Report.Components.StiDockStyle.Bottom&&this.list[e-1].top1){var t=1;while(tthis.list[t].left){var e=this.list[t-1];this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--}else t++}},d.prototype.getComponentByName=function(t,e){var n,i;try{for(var o=__values(e.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.name==t)return s;var l=s.stimulsoft.as(r.StiContainer);if(null!=l){var u=this.getComponentByName(t,l);if(null!=u)return u}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null},d.prototype.getPageByAlias=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.alias==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},d.prototype.setParent=function(t){var e,n;this.parent=t;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.parent=t;var s=a.stimulsoft.as(r.StiContainer);null!=s&&s.components.setParent(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},d}(s);r.StiComponentsCollection=d}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._collapsingEnabled=!1,e}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("CollapsingEnabled",this.collapsingEnabled),r},e.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"CollapsingEnabled":this._collapsingEnabled=a.value.stimulsoft.toBoolean();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},e.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var r=0;r0)e--,this.next()}},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"count",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isBof",{get:function(){return this.isBofValue},set:function(t){this.isBofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isEof",{get:function(){return this.isEofValue},set:function(t){this.isEofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isEmpty",{get:function(){return this._isEmpty},enumerable:!1,configurable:!0}),c.prototype.enumeratorReset=function(){},c.prototype.first=function(){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)},c.prototype.prior=function(){throw new Error("StiBusinessObject does not support IStiEnumerator.Prior")},c.prototype.next=function(){var t,t;null!=this.enumerator&&(this.specNextValueRead?((t=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,(t=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)))},c.prototype.last=function(){while(!this.isEof)this.next()},c.prototype.clone=function(){var t,e,n,i,a=this.stimulsoft.memberwiseClone();a.columns=new r.StiDataColumnsCollection(a),a.businessObjects=new o(this.dictionary,a);try{for(var s=__values(this.columns.list),l=s.next();!l.done;l=s.next()){var u,c=l.value.clone();c.businessObject=a,a.columns.add(c)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}try{for(var p=__values(this.businessObjects.list),h=p.next();!h.done;h=p.next()){var m,f=h.value.clone();f.parentBusinessObject=a,a.businessObjects.add(f)}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}return a},Object.defineProperty(c.prototype,"current",{get:function(){if(this.checkEnumerator(),null==this.currentObject&&this.isEof)return this.specPrevValue;return this.currentObject},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"report",{get:function(){if(null==this.dictionary)return null;return this.dictionary.report},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"businessObjects",{get:function(){return this._businessObjects},set:function(t){this._businessObjects=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"guid",{get:function(){return this._guid},set:function(t){this._guid=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"businessObjectValue",{get:function(){return null!=this.parentBusinessObject&&this.parentBusinessObject.specTotalsCalculation&&(this._businessObjectValue=this.parentBusinessObject.getByName(this.name)),this._businessObjectValue},set:function(t){this._businessObjectValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){var e,r;if(this._dictionary=t,this.businessObjects.dictionary=this._dictionary,null!=t)try{for(var n=__values(this.businessObjects.list),i=n.next();!i.done;i=n.next()){var o;i.value.dictionary=this._dictionary}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"parentBusinessObject",{get:function(){return this._parentBusinessObject},set:function(t){this._parentBusinessObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"ownerBand",{get:function(){return this._ownerBand},set:function(t){this._ownerBand=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),Object.defineProperty(c,"fieldsIgnoreList",{get:function(){return c._fieldsIgnoreList},set:function(t){c._fieldsIgnoreList=t},enumerable:!1,configurable:!0}),c.prototype.getLevel=function(){if(null==this.rowToLevel)return 0;var t=this.rowToLevel.get(this.current);if(t.stimulsoft.is(Number))return+t;return 0},c.prototype.checkEnumerator=function(){this.isEnumeratorCreated||this.setDetails()},c.prototype.setPrevValue=function(){this.specStoredCurrentValue=this.current,this.currentObject=this.specPrevValue,this.specSetPrevValue=!0},c.prototype.setNextValue=function(){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},c.prototype.restoreCurrentValue=function(){this.currentObject=this.specStoredCurrentValue,this.specSetPrevValue=!1,this.specSetNextValue=!1},c.prototype.getTopParentBusinessObject=function(){var t=this;while(null!=t.parentBusinessObject)t=t.parentBusinessObject;return t},c.prototype.createEnumerator=function(){},c.prototype.sortData=function(){if(null!=this.ownerBand&&null!=this.ownerBand.sort&&this.ownerBand.sort.length>0&&null!=this.enumerator){var e=[];try{this.enumerator.reset()}catch(e){t.System.StiError.showError(e,!1)}while(this.enumerator.moveNext())e.push(this.enumerator.current);if(this.ownerBand.stimulsoft.is(t.Report.Components.StiHierarchicalBand)){var n=new r.StiHierarchicalBusinessObjectSort(this,this.ownerBand,this.ownerBand.sort);e.sort()}else{var n=new r.StiBusinessObjectSort(this.ownerBand.sort,this,null,null);e.sort()}}},c.prototype.sortDataByGroups=function(){var e,i,o,s;if(null==this.ownerBand||null==this.enumerator)return;if(!t.Report.Components.StiDataHelper.needGroupSort(this.ownerBand))return;var l=null;l=this.ownerBand.dataBandInfo.groupHeaders;var u=0;try{for(var c=__values(l.list),p=c.next();!p.done;p=c.next()){var h;(h=p.value).sortDirection!=t.Report.Components.StiGroupSortDirection.None&&u++}}catch(t){e={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(e)throw e.error}}var m=[];try{this.enumerator.reset()}catch(e){t.System.StiError.showError(e,!1)}var f=0;while(this.enumerator.moveNext())f++;var d=n.create3(Object,f,u+1,2),g=new a,S=0,y=this.currentObject;this.specSortGroup=!0;try{this.enumerator.reset()}catch(e){t.System.StiError.showError(e,!1)}while(this.enumerator.moveNext()){var A=this.enumerator.current;m.push(A),g.set(A,S),this.currentObject=A;var b=0;try{for(var v=(o=void 0,__values(l.list)),C=v.next();!C.done;C=v.next()){var h;(h=C.value).sortDirection!=t.Report.Components.StiGroupSortDirection.None&&(d[S][b][0]=t.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(h),d[S][b][1]=h.sortDirection,b++)}}catch(t){o={error:t}}finally{try{C&&!C.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}d[S][u][0]=S,d[S][u][1]=t.Report.Components.StiGroupSortDirection.Ascending,S++}this.specSortGroup=!1,this.currentObject=y;var w=new r.StiBusinessObjectSort(this.ownerBand.sort,this,g,d);m.sort(),this.first()},c.prototype.filterData=function(){if(null!=this.enumerator){var e=t.Report.Components.StiDataHelper.getFilterEventHandler(this.ownerBand,this);if(null!=this.ownerBand&&null!=e){this.isEnumeratorCreated=!0;var r=this.position,n=this.dictionary.report.line,i=[];if(this.specFilterData=!0,e.stimulsoft.is(t.Report.Engine.StiParser.StiFilterParserData)){var o=e,a=0;try{this.enumerator.reset()}catch(e){t.System.StiError.showError(e,!1)}while(this.enumerator.moveNext()){this.position=a,0==a&&0==this.positionValue&&(this.currentObject=this.enumerator.current),this.dictionary.report.line=a+1;try{var s=t.Report.Engine.StiParser.StiParser.parseTextValue(o.expression,o.component);s.stimulsoft.is(Boolean)&&s&&i.push(this.enumerator.current)}catch(e){t.System.StiError.showError(e,!1)}a++}}this.specFilterData=!1,this.position=r,this.dictionary.report.line=n,this.isEnumeratorCreated=!1}}},c.prototype.destroyEnumerator=function(){this.isEnumeratorCreated=!1,this.countFiltered=null},c.prototype.setDetails=function(){this.updateChilds(),this.createEnumerator()},c.prototype.updateChilds=function(){var t,e;this.isEnumeratorCreated=!1;try{for(var r=__values(this.businessObjects.list),n=r.next();!n.done;n=r.next()){var i;n.value.updateChilds()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},c.prototype.getBusinessObjectDataFromParent=function(t){var e,r;try{for(var n=__values(t.dictionary.report.businessObjectsStore),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t.name)return o.businessObjectValue}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},c.prototype.getColumnIndex=function(t){var e,r,n,i,o=0;try{for(var a=__values(this.columns.list),s=a.next();!s.done;s=a.next()){var l;if((l=s.value).nameInSource==t)return o;o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}o=0;try{for(var u=__values(this.columns.list),c=u.next();!c.done;c=u.next()){var l;if((l=c.value).name==t||l.alias==t)return o;o++}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return-1},c.prototype.getBusinessObjectData=function(t){if(void 0===t&&(t=!1),null==this.parentBusinessObject)return this.getBusinessObjectDataFromParent(this);var e=new Array,r=this,n;while(null!=r.parentBusinessObject)e.stimulsoft.insert(0,r),r=r.parentBusinessObject;return this.getBusinessObjectDataFromParent(r)},c.prototype.getFullName=function(){return null},c.prototype.getCorrectFullName=function(){return null!=this.parentBusinessObject?this.parentBusinessObject.getCorrectFullName()+"."+t.Report.StiNameValidator.correctName(this.name):this.name},c.prototype.toString=function(){return name==this.alias?name:i.format("{0} [{1}]",this.name,this.alias)},c.prototype.connect=function(){this.createEnumerator()},c.prototype.disconnect=function(){this.destroyEnumerator(),this.businessObjectValue=null,this.rowToLevel=null},c.prototype.getByName=function(t){var e=this.isEnumeratorCreated;try{var r=this.current,n=this.parentBusinessObject,i;while(null!=n){if(n.specSetPrevValue||n.specSetNextValue||n.specFilterData||n.specSortGroup||n.specTotalsCalculation){r=this.parentBusinessObject.getByName(this.name);break}n=n.parentBusinessObject}if(null==r&&this.isEof&&(r=this.specPrevValue),null==r)return null;return null}finally{e||(this.businessObjectValue=null,this.enumerator=null,this.isEnumeratorCreated=!1)}},c._fieldsIgnoreList=new a,c}();r.StiBusinessObject=p}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Dictionary.StiBusinessObject,o=t.Report.Dictionary.IStiEnumerator,a=t.Report.Components.IStiDataSource,s=function(){function s(){}return s.setData=function(e,n,i){void 0===i&&(i=null);var l=e.stimulsoft.as(a);if(null!=l&&null!=l.dataSource){var u=e.stimulsoft.as(r.IStiDataRelation),c=null;if(null!=u&&null!=u.dataRelation&&(c=u.dataRelationName),null==i){var p=e.stimulsoft.as(r.IStiMasterComponent);null!=p&&null!=p.masterComponent||(c=null)}var h=s.getFilterEventHandler(e,l),m=e.stimulsoft.as(t.Report.Components.IStiSort),f=null;null!=m&&null!=m.sort&&m.sort.length>0&&(f=m.sort),l.dataSource.setData(e.stimulsoft.as(r.StiDataBand),c,h,f,n,e)}var d=e.stimulsoft.as(o);null!=d&&d.first();var g=e.stimulsoft.as(r.IStiBusinessObject),S=null!=g?g.businessObject:null;if(null!=S){var y=e;S.setDetails()}},s.needGroupSort=function(t){var e,n;if(null==t||null==t.report)return!1;var i=null;if(null==(i=t.dataBandInfo.groupHeaders)||0==i.count)return!1;var o=0;try{for(var a=__values(i.list),s=a.next();!s.done;s=a.next()){var l;s.value.sortDirection!=r.StiGroupSortDirection.None&&o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return o>0},s.getFilterEventHandler=function(n,o){var l=n.stimulsoft.as(t.Report.Components.IStiFilter),u=null;null!=l&&null!=l.filterMethodHandler&&(u=l.filterMethodHandler);var c=null;if(null!=n&&null!=n.report&&(c=n.report),null==c&&null!=o&&o.stimulsoft.is(i)&&null!=o.dictionary&&(c=o.dictionary.report),null!=c&&(c.calculationMode==e.StiCalculationMode.Interpretation||c.isDesigning)&&null!=l&&l.filterOn&&l.filters.count>0){for(var p="{",h=0;h= (decimal){1} && (decimal){0} <= (decimal){2}",e,t.value1,t.value2):t.condition==r.StiFilterCondition.NotBetween?o+=n.format("(decimal){0} < (decimal){1} || (decimal){0} > (decimal){2}",e,t.value1,t.value2):t.condition==r.StiFilterCondition.GreaterThan?o+=n.format("(decimal){0} > (decimal){1}",e,t.value1):t.condition==r.StiFilterCondition.GreaterThanOrEqualTo?o+=n.format("(decimal){0} >= (decimal){1}",e,t.value1):t.condition==r.StiFilterCondition.LessThan?o+=n.format("(decimal){0} < (decimal){1}",e,t.value1):t.condition==r.StiFilterCondition.LessThanOrEqualTo&&(o+=n.format("(decimal){0} <= (decimal){1}",e,t.value1));else if(t.dataType==r.StiFilterDataType.DateTime){var p="";if(!n.isNullOrEmpty(t.value1)){var h=t.value1.split("/");p=n.format("DateSerial({0},{1},{2})",h[2],h[0],h[1])}var m="";if(!n.isNullOrEmpty(t.value2)){var h=t.value2.split("/");m=n.format("DateSerial({0},{1},{2})",h[2],h[0],h[1])}t.condition==r.StiFilterCondition.EqualTo?o+=n.format("(DateTime){0} == {1}",e,p):t.condition==r.StiFilterCondition.NotEqualTo?o+=n.format("(DateTime){0} != {1}",e,p):t.condition==r.StiFilterCondition.Between?o+=n.format("(DateTime){0} >= {1} && (DateTime){0} <= {2}",e,p,m):t.condition==r.StiFilterCondition.NotBetween?o+=n.format("(DateTime){0} < {1} || (DateTime){0} > {2}",e,p,m):t.condition==r.StiFilterCondition.GreaterThan?o+=n.format("(DateTime){0} > {1}",e,p):t.condition==r.StiFilterCondition.GreaterThanOrEqualTo?o+=n.format("(DateTime){0} >= {1}",e,p):t.condition==r.StiFilterCondition.LessThan?o+=n.format("(DateTime){0} < {1}",e,p):t.condition==r.StiFilterCondition.LessThanOrEqualTo&&(o+=n.format("(DateTime){0} <= {1}",e,p))}else t.dataType==r.StiFilterDataType.Boolean?t.condition==r.StiFilterCondition.EqualTo?o+=n.format("(bool){0} == {1}",e,t.value1):t.condition==r.StiFilterCondition.NotEqualTo&&(o+=n.format("(bool){0} != {1}",e,t.value1)):t.dataType==r.StiFilterDataType.Expression&&(t.condition==r.StiFilterCondition.EqualTo?o+=n.format("{0} == {1}",e,t.value1):t.condition==r.StiFilterCondition.NotEqualTo?o+=n.format("{0} != {1}",e,t.value1):t.condition==r.StiFilterCondition.Between?o+=n.format("{0} >= {1} && {0} <= {2}",e,t.value1,t.value2):t.condition==r.StiFilterCondition.NotBetween?o+=n.format("{0} < {1} || {0} > {2}",e,t.value1,t.value2):t.condition==r.StiFilterCondition.GreaterThan?o+=n.format("{0} > {1}",e,t.value1):t.condition==r.StiFilterCondition.GreaterThanOrEqualTo?o+=n.format("{0} >= {1}",e,t.value1):t.condition==r.StiFilterCondition.LessThan?o+=n.format("{0} < {1}",e,t.value1):t.condition==r.StiFilterCondition.LessThanOrEqualTo?o+=n.format("{0} <= {1}",e,t.value1):t.condition==r.StiFilterCondition.Containing?o+=n.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) != -1",e,t.value1):t.condition==r.StiFilterCondition.NotContaining?o+=n.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) == -1",e,t.value1):t.condition==r.StiFilterCondition.BeginningWith?o+=n.format("ToString({0}).ToLower().StartsWith(ToString({1}).ToLower())",e,t.value1):t.condition==r.StiFilterCondition.EndingWith&&(o+=n.format("ToString({0}).ToLower().EndsWith(ToString({1}).ToLower())",e,t.value1)));return o},s}();r.StiDataHelper=s}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.Base.StiJson,o=t.Report.Expressions.StiExpression,a=function(){function t(){this._name="",this._expression=new o,this._interaction=null}return t.prototype.implements=function(){return[n]},t.prototype.saveToJsonObject=function(t){var e=new i;if(e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("Expression",this.expression.saveToJsonObject(t)),0==e.count)return null;return e},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this._name=o.value;break;case"Expression":this._expression.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){for(var e=0;e0){this.name=o.textContent.substring(0,o.textContent.indexOf(":Unit:"));var l=o.textContent.substring(o.textContent.lastIndexOf(":")+1);this._reportUnit=i.createObject2(l)}break}}},Object.defineProperty(O.prototype,"componentId",{get:function(){return e.StiComponentId.StiPage},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"resetPageNumber",{get:function(){return this._resetPageNumber},set:function(t){this._resetPageNumber=t},enumerable:!1,configurable:!0}),O.prototype.convertToHInches=function(e,r){if(e.stimulsoft.is(t.Report.Units.StiCentimetersUnit)){if(21==r)return 827;if(29.7==r)return 1169;if(1==r)return 39}else if(e.stimulsoft.is(t.Report.Units.StiMillimetersUnit)){if(210==r)return 827;if(297==r)return 1169;if(10==r)return 39}return e.convertToHInches(r)},O.prototype.convertFromHInchesRect=function(t,e){return new E(this.convertFromHInches(t,e.left),this.convertFromHInches(t,e.top),this.convertFromHInches(t,e.width),this.convertFromHInches(t,e.height))},O.prototype.convertFromHInches=function(e,r){if(e.stimulsoft.is(t.Report.Units.StiCentimetersUnit)){if(827==r)return 21;if(1169==r)return 29.7;if(39==r)return 1}else if(e.stimulsoft.is(t.Report.Units.StiMillimetersUnit)){if(827==r)return 210;if(1169==r)return 297;if(39==r)return 10}return e.convertFromHInches(r)},O.prototype.convert=function(t,e,r){var n,i;void 0===r&&(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 b(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));try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s;a.value.convert(t,e,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},O.prototype.clone=function(t,e){var n,i,o,a;void 0===t&&(t=!0),void 0===e&&(e=!0);var s=M.prototype.clone.call(this,t,e);if(s._pageInfo=this.pageInfo.clone(),s._margins=this.margins.clone(),s._orientation=this._orientation,null!=this._watermark?s._watermark=this._watermark.clone():s._watermark=null,s.components=new r.StiComponentsCollection(s),e){try{for(var l=__values(this.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;s.components.add(c.clone(t,e))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}var p=s.getComponents();try{for(var h=__values(p.list),m=h.next();!m.done;m=h.next()){var c;(c=m.value).page=s}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}return s},O.prototype.parseExpression=function(e){return t.Report.Helpers.StiExpressionHelper.parseText(this,e)},Object.defineProperty(O.prototype,"pageInfo",{get:function(){return null==this._pageInfo&&(this._pageInfo=new v),this._pageInfo},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isAutomaticDock",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"left",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"top",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),O.prototype.getWidth=function(){return(this.pageWidth-this.margins.left-this.margins.right)*this.segmentPerWidth},O.prototype.setWidth=function(t){this._pageWidth=t/this.segmentPerWidth+this.margins.left+this.margins.right},O.prototype.getHeight=function(){var 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},O.prototype.setHeight=function(t){this._pageHeight=t/this.segmentPerHeight+this.margins.top+this.margins.bottom,this.page.largeHeight&&this.isDesigning&&(this._pageHeight/=this.largeHeightFactor)},Object.defineProperty(O.prototype,"right",{get:function(){return this.width},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"bottom",{get:function(){return this.height},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"clientRectangle",{get:function(){return new E(0,0,this.width,this.height)},set:function(t){this.width=t.width,this.height=t.height},enumerable:!1,configurable:!0}),O.prototype.getDisplayRectangle=function(){return new E(0,0,this.width+this.margins.left+this.margins.right,this.height+this.margins.top+this.margins.bottom)},Object.defineProperty(O.prototype,"shiftMode",{get:function(){return A.None},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"printable",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"page",{get:function(){return this},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"parent",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),O.prototype.invokeEvents=function(){if(M.prototype.invokeEvents.call(this),null==this.excelSheetValue&&this.excelSheet.length>0){var e=t.Report.Engine.StiParser.StiParser.parseTextValue(this.excelSheet,this);null!=e&&(this.excelSheetValue=this.report.toString2(e))}if(null!=this.events.get(O.eventGetExcelSheet)&&null==this.excelSheetValue){var r=new l;this.invokeGetExcelSheet(this,r),null!=r.value&&(this.excelSheetValue=r.value.toString())}this.printOnPreviousPage&&this.printHeadersFootersFromPreviousPage&&null!=this.report&&this.report.renderedPages.count>0&&(this.excelSheetValue=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1).excelSheetValue)},O.prototype.onBeginRender=function(){},O.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(O.eventBeginRender);null!=t&&t(this)},Object.defineProperty(O.prototype,"beginRenderEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventBeginRender,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),O.prototype.onRendering=function(){},O.prototype.invokeRendering=function(){this.onRendering();var t=this.events.get(O.eventRendering);null!=t&&t(this)},Object.defineProperty(O.prototype,"renderingEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventRendering,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),O.prototype.onEndRender=function(){},O.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(O.eventEndRender);null!=t&&t(this)},Object.defineProperty(O.prototype,"endRenderEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventEndRender,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),O.prototype.onColumnBeginRender=function(){},O.prototype.invokeColumnBeginRender=function(t){void 0===t&&(t=this),this.onColumnBeginRender();var e=this.events.get(O.eventColumnBeginRender);null!=e&&e(t)},Object.defineProperty(O.prototype,"columnBeginRenderEvent",{get:function(){return new h(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventColumnBeginRender,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),O.prototype.onColumnEndRender=function(){},O.prototype.invokeColumnEndRender=function(t){void 0===t&&(t=this),this.onColumnEndRender();var e=this.events.get(O.eventColumnEndRender);null!=e&&e(t)},Object.defineProperty(O.prototype,"columnEndRenderEvent",{get:function(){return new m(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventColumnEndRender,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),O.prototype.onGetExcelSheet=function(t){},O.prototype.invokeGetExcelSheet=function(t,r){try{this.onGetExcelSheet(r);var i=this.events.get(O.eventGetExcelSheet);if(null!=i)try{i(t,r)}catch(r){}}catch(t){var o=n.format("Expression in ExcelSheet property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),o),e.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(O.prototype,"getExcelSheetEvent",{get:function(){return new f(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(O.eventGetExcelSheet,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"excelSheetValue",{get:function(){return this._excelSheetValue},set:function(t){this._excelSheetValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"excelSheet",{get:function(){return this._excelSheet},set:function(t){this._excelSheet=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"zoom",{get:function(){if(null==this.report||null==this.report.info)return 1;return this.report.info.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"gridSize",{get:function(){if(this.isDashboard)return this.report.info.gridSizePoints;if(this.report.unit.stimulsoft.is(t.Report.Units.StiMillimetersUnit))return this.report.info.gridSizeMillimeters;if(this.report.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit))return this.report.info.gridSizeCentimetres;if(this.report.unit.stimulsoft.is(t.Report.Units.StiHundredthsOfInchUnit))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"printOnPreviousPage",{get:function(){return this._printOnPreviousPage},set:function(t){this._printOnPreviousPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"printHeadersFootersFromPreviousPage",{get:function(){return this._printHeadersFootersFromPreviousPage},set:function(t){this._printHeadersFootersFromPreviousPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"paperSize",{get:function(){return this._paperSize},set:function(e){if(this._paperSize!=e){if(this._paperSize=e,e==B.Custom||null==this._report)return;var r=t.Report.Components.StiPageHelper.getPaperSizeFromPaperKind(e);if(null==r)return;var n=I.getPaperSize(this,r);this.pageWidth=n.width,this.pageHeight=n.height}},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"paperSourceOfFirstPage",{get:function(){return this._paperSourceOfFirstPage},set:function(t){this._paperSourceOfFirstPage!=t&&(this._paperSourceOfFirstPage=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"paperSourceOfOtherPages",{get:function(){return this._paperSourceOfOtherPages},set:function(t){this._paperSourceOfOtherPages!=t&&(this._paperSourceOfOtherPages=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"numberOfCopies",{get:function(){return this._numberOfCopies},set:function(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}},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"unlimitedBreakable",{get:function(){return this._unlimitedBreakable},set:function(t){this._unlimitedBreakable=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"largeHeight",{get:function(){return this._largeHeight},set:function(t){this._largeHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"largeHeightFactor",{get:function(){return this._largeHeightFactor},set:function(t){t>=1&&t<=20&&(this._largeHeightFactor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"largeHeightAutoFactor",{get:function(){if(this.largeHeight)return this.largeHeightFactor;return this._largeHeightAutoFactor},set:function(t){t<1&&(this._largeHeightAutoFactor=1),t>=1&&t<=50&&(this._largeHeightAutoFactor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"currentWidthSegment",{get:function(){return this._currentWidthSegment},set:function(t){this._currentWidthSegment=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"currentHeightSegment",{get:function(){return this._currentHeightSegment},set:function(t){this._currentHeightSegment=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"stopBeforePrint",{get:function(){return this._stopBeforePrint},set:function(t){this._stopBeforePrint=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"skip",{get:function(){return this._skip},set:function(t){this._skip=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"stretchToPrintArea",{get:function(){return this._stretchToPrintArea},set:function(t){this._stretchToPrintArea=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"titleBeforeHeader",{get:function(){return this._titleBeforeHeader},set:function(t){this._titleBeforeHeader!=t&&(this._titleBeforeHeader=t,this.correct())},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"unlimitedHeight",{get:function(){return this._unlimitedHeight},set:function(t){this._unlimitedHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"unlimitedWidth",{get:function(){return this._unlimitedWidth},set:function(t){this._unlimitedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"offsetRectangle",{get:function(){return this._offsetRectangle},set:function(t){this._offsetRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"orientation",{get:function(){return this._orientation},set:function(t){var e=this.margins.left,r=this.margins.right,n=this.margins.top,i=this.margins.bottom;if(this._orientation!=t&&null!=this._report&&!this._report.isSerializing){var o=this.pageHeight;this.pageHeight=this.pageWidth,this.pageWidth=o,t==C.Landscape?this.margins=new b(n,i,r,e):this.margins=new b(i,n,e,r)}this._orientation=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"locked",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"linked",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"pageWidth",{get:function(){return this._pageWidth},set:function(t){this._pageWidth=Math.round2(t,2)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"pageHeight",{get:function(){return this._pageHeight},set:function(t){this._pageHeight=Math.round2(t,2)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"segmentPerWidth",{get:function(){return this._segmentPerWidth},set:function(t){t>0&&(this._segmentPerWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"segmentPerHeight",{get:function(){return this._segmentPerHeight},set:function(t){t>0&&(this._segmentPerHeight=t)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"watermark",{get:function(){return null==this._watermark&&(this._watermark=new w),this._watermark},set:function(t){this._watermark=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"margins",{get:function(){return this._margins},set:function(t){this._margins=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"mirrorMargins",{get:function(){return this._mirrorMargins},set:function(t){this._mirrorMargins=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"unit",{get:function(){if(null==this._report)return y.HundredthsOfInch;return this._report.unit},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"reportUnit",{get:function(){return this._reportUnit},set:function(t){this._reportUnit=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"drillDownActivated",{get:function(){return this._drillDownActivated},set:function(t){this._drillDownActivated=t},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isDashboard",{get:function(){return this.stimulsoft.is(t.Report.Dashboard.IStiDashboard)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isPage",{get:function(){return!this.isDashboard},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"cacheGuid",{get:function(){return null==this._cacheGuid&&this.newCacheGuid(),this._cacheGuid},set:function(t){this._cacheGuid=t},enumerable:!1,configurable:!0}),O.prototype.newCacheGuid=function(){this._cacheGuid=t.System.Guid.newGuidString()},O.prototype.getIsPageTotalDataBand=function(t){var e,r;if(null==this.report||null==this.report.dataBandsUsedInPageTotals)return!1;try{for(var n=__values(this.report.dataBandsUsedInPageTotals),i=n.next();!i.done;i=n.next()){var o=i.value;if(o==t||"Breaked_"+o==t||"Continued_"+o==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},O.prototype.clearPage=function(){var t=new R,e={},n={};if(this.components.setParent(this),1e11==this.height)return;this.removeNewPageContainers(this),this.moveComponentsToPage();var i=new r.StiComponentsCollection(this),o=0;while(o=0;i--){var o=e.components.getByIndex(i);if(o.stimulsoft.is(t.Report.Engine.StiNewPageContainer))e.components.removeAt(i),n=!0;else{var a=o.stimulsoft.as(r.StiContainer);null!=a&&this.removeNewPageContainers(a)}}n&&(e.canGrow&&(e.canShrink=!0),r.StiContainerHelper.checkSize(e))},O.prototype.getComponentsCount2=function(t){var e,n,i=t.components.count;try{for(var o=__values(t.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.stimulsoft.as(r.StiContainer);null!=l&&(i+=this.getComponentsCount2(l))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i},O.prototype.getComponentsCount=function(){return this.getComponentsCount2(this)},O.prototype.resizePage=function(t,e,n){var i,o,a,s,l,u;if(void 0===n&&(n=!0),n&&(this.margins=new b(Math.round2(this.margins.left*t,2),Math.round2(this.margins.right*t,2),Math.round2(this.margins.top*e,2),Math.round2(this.margins.bottom*e,2))),this.columnWidth*=t,this.columnGaps*=t,null!=this.conditions)try{for(var c=__values(this.conditions.toCast()),p=c.next();!p.done;p=c.next()){var h;(h=p.value).font=new S(h.font.name,h.font.size*t,h.font.style)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}var m=this.getComponents();try{for(var f=__values(m.list),d=f.next();!d.done;d=f.next()){var y=d.value;y.stimulsoft.is(r.StiLinePrimitive)&&(y.size*=t),y.left*=t,y.top*=e,y.width*=t,y.height*=e;var A=y.stimulsoft.as(r.IStiFont);null!=A&&(A.font=new S(A.font.name,A.font.size*t,A.font.style));var v=y.stimulsoft.as(r.StiDataBand);null!=v&&(v.columnWidth*=t,v.columnGaps*=t);var C=y.stimulsoft.as(r.StiPanel);if(null!=C&&(C.columnWidth*=t,C.columnGaps*=t),null!=y.conditions)try{for(var w=(l=void 0,__values(y.conditions.toCast())),B=w.next();!B.done;B=w.next()){var h;(h=B.value).font=new S(h.font.name,h.font.size*t,h.font.style)}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}var I=y.stimulsoft.as(r.IStiBorder);null!=I&&(I.stimulsoft.is(g)?(I.border=I.border.clone(),I.border.leftSide.size*=t,I.border.rightSide.size*=t,I.border.bottomSide.size*=e,I.border.topSide.size*=e):(I.border=I.border.clone(),I.border.size*=t))}}catch(t){a={error:t}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}},O.prototype.toString=function(){return n.isNullOrEmpty(this.alias)?this.name:this.name+" ["+this.alias+"]"},O.prototype.construct=function(e){M.prototype.construct.call(this);try{this.newGuid(),this.border.size=2,this.parent=null,this.paperSize=B.Custom;var r=null;if(this.paperSize!=B.Custom&&(r=I.getPaperSizeFromPaperKind(this.paperSize)),null==r||this.paperSize==B.Custom)this._pageWidth=827,this._pageHeight=1169;else{var n=I.getPaperSize(this,r);this.pageWidth=n.width,this.pageHeight=n.height}this._report=e,this._segmentPerWidth=1,this._segmentPerHeight=1,this._margins=new b(39,39,39,39),null==this._report||this._report.isSerializing||this.convert(y.HundredthsOfInch,this.unit)}catch(e){t.System.StiError.showError(e,!1)}},O.eventBeginRender={},O.eventRendering={},O.eventEndRender={},O.eventColumnBeginRender={},O.eventColumnEndRender={},O.eventGetExcelSheet={},O}(r.StiPanel);r.StiPage=M}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Collections.CollectionBase,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJson,s=function(i){function s(t,e){void 0===e&&(e=null);var r=i.call(this)||this;return r.canUseCacheMode=!1,r.cacheMode=!1,r.quickCachedPages=null,r.notCachedPages=null,r.report=t,r}return __extends(s,i),s.prototype.implements=function(){return[e.IStiStateSaveRestore,o]},s.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new a,i=0;try{for(var o=__values(this.list),s=o.next();!s.done;s=o.next()){var l=s.value;n.addPropertyJObject(i.toString(),l.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},s.prototype.loadFromJsonObject=function(e){var n,i;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value,l=null,u=s.value,c;switch(u.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiPage":l=new r.StiPage;break;case"StiDashboard":if(null==(l=t.Report.Dashboard.StiDashboardCreator.createDashboard(this.report)))return;break;case"StiForm":break}this.add(l),l.loadFromJsonObject(u)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},s.prototype.loadFromXml=function(e,n){for(var i=0;i0)this.removeAt(this.length-1),e--;while(t>0)this.removeAt(0),t--},s.prototype.getPageWithoutCache=function(t){return this.getByIndex(t)},s.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},s.prototype.setByName=function(t,e){t=t.toLowerCase();for(var n=0;n0},e.isAllowDelete2=function(e){return(e&t.StiRestrictions.AllowDelete)>0},e.isAllowDelete=function(e){if(null==e)return!0;return(e.restrictions&t.StiRestrictions.AllowDelete)>0},e.isAllowMove=function(e){if(null==e)return!0;return(e.restrictions&t.StiRestrictions.AllowMove)>0},e.isAllowSelect=function(e){if(null==e)return!0;return(e.restrictions&t.StiRestrictions.AllowSelect)>0},e.isAllowResize=function(e){if(null==e)return!0;return(e.restrictions&t.StiRestrictions.AllowResize)>0},e.isAllowChangePosition=function(t){return this.isAllowMove(t)||this.isAllowResize(t)},e}();t.StiRestrictionsHelper=e}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=function(){function t(){}return t.getColumnIndexInSorting=function(t,e){var r,n,i=0,o="",a=0;try{for(var s=__values(t),l=s.next();!l.done;l=s.next()){var u=l.value;if("ASC"!=u&&"DESC"!=u&&(0==o.length?o=u:o+="."+u),("ASC"==u||"DESC"==u||a==t.length-1)&&o.length>0){if(e==o)return i;o="",i++}a++}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return-1},t.getColumnSortDirection=function(t,r){var n,i,o=this.getColumnIndexInSorting(t,r);if(-1==o)return e.StiInteractionSortDirection.None;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;if("ASC"==l||"DESC"==l){if(0==o){if("ASC"==l)return e.StiInteractionSortDirection.Ascending;if("DESC"==l)return e.StiInteractionSortDirection.Descending}o--}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return e.StiInteractionSortDirection.None},t.changeColumnSortDirection=function(t,e){var r,n,i=this.getColumnIndexInSorting(t,e);if(-1==i)return t;var o=0;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;if("ASC"==l||"DESC"==l){if(0==i)return"ASC"==l&&(t[o]="DESC"),"DESC"==l&&(t[o]="ASC"),t;i--}o++}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t},t.isColumnExistInSorting=function(t,e){return-1!=this.getColumnIndexInSorting(t,e)},t.addColumnToSorting=function(t,e,n){for(var i=e.split("."),o=r.create(String,t.length+i.length+1),a=0;ao.width&&(o.width=r.field.maxSize.width),r.size=o}else r.size=u.empty,t>0&&null==r.parentCell&&1==this.cells[t-1][e].width&&this.cells[t-1][e].width++}for(var t=0;t1)continue;var c=r.size.width;null!=r.field&&(0!=r.field.minSize.width&&(c=Math.max(c,r.field.minSize.width)),0!=r.field.maxSize.width&&(c=Math.min(c,r.field.maxSize.width))),l=Math.max(l,c)}l=Math.min(l,this.maxWidth),l=this.align(l),this.widths[t]=l}for(var e=0;e1)continue;var m=r.size.height;null!=r.field&&(0!=r.field.minSize.height&&(m=Math.max(m,r.field.minSize.height)),0!=r.field.maxSize.height&&(m=Math.min(m,r.field.maxSize.height))),h=Math.max(h,m)}h=Math.min(h,this.maxHeight),h=this.align(h),this.heights[e]=h}for(var t=0;t1||r.height>1)){var f=this.getCellTotalWidth(t,r.width),d=this.getCellTotalHeight(e,r.height);if(r.size.width>f)for(var g=r.size.width/f,S=t;Sd)for(var g=r.size.height/d,S=e;St&&this.cells[t].stimulsoft.getLength(0)>e},t.prototype.setCellField=function(t,e,r){null!=this.cells[t][e]&&(this.cells[t][e].field=r)},t.prototype.init=function(t,e){this.widths=n.create(Number,t),this.heights=n.create(Number,e),this.coordX=n.create(Number,t),this.coordY=n.create(Number,e);for(var i=0;i0){var l=t.Report.Engine.StiParser.StiParser.parseTextValue(r.hyperlink,r);r.hyperlinkValue=this.report.toString2(l)}if(r.toolTip.length>0){var l=t.Report.Engine.StiParser.StiParser.parseTextValue(r.toolTip,r);r.toolTipValue=this.report.toString2(l)}if(r.tag.length>0){var l=t.Report.Engine.StiParser.StiParser.parseTextValue(r.tag,r);r.tagValue=this.report.toString2(l)}}r.invokeBeforePrint(r,u.empty),r.invokeAfterPrint(r,u.empty)},w.prototype.invokeEvents=function(r){var n=!0;if(null!=this.report&&(n=this.report.calculationMode==e.StiCalculationMode.Compilation),n){var i=new d;r.invokeGetHyperlink(r,i),r.hyperlinkValue=i.value;var o=new d;r.invokeGetToolTip(r,o),r.toolTipValue=o.value;var a=new d;r.invokeGetTag(r,a),r.tagValue=a.value}else{if(r.hyperlink.length>0){var s=t.Report.Engine.StiParser.StiParser.parseTextValue(r.hyperlink,r);r.hyperlinkValue=this.report.toString2(s)}if(r.toolTip.length>0){var s=t.Report.Engine.StiParser.StiParser.parseTextValue(r.toolTip,r);r.toolTipValue=this.report.toString2(s)}if(r.tag.length>0){var s=t.Report.Engine.StiParser.StiParser.parseTextValue(r.tag,r);r.tagValue=this.report.toString2(s)}}r.invokeBeforePrint(r,u.empty),r.invokeAfterPrint(r,u.empty)},w.prototype.addRowTotal=function(t,e,r,i){while(1){var o=new n.StiRow("","");o.isTotal=!0,o.level=i;var a=new S,s=this.rowFields.getByIndex(i).total;if(null!=s&&s.invokeGetValue(s,a),o.displayValue=a.value,t.add(o),++e>=r)return;t=t.getByIndex(t.count-1).rows}},w.prototype.addColTotal=function(t,e,r,i){while(1){var o=new n.StiColumn("","");o.isTotal=!0,o.level=i;var a=new S,s=this.colFields.getByIndex(i).total;if(null!=s&&s.invokeGetValue(s,a),o.displayValue=a.value,t.add(o),++e>=r)return;t=t.getByIndex(t.count-1).cols}},w.prototype.sortRows=function(t,e,r){var i,o;void 0===t&&(t=this.rows),void 0===e&&(e=0),void 0===r&&(r=this.getRowsHeaderWidth());try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.sortRows(l.rows,e+1,r)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(e0&&this.createRowTotals2(this.rows,0,t)},w.prototype.createRowTotals2=function(t,e,n){var i,o;if(t.count>0){try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.createRowTotals2(l.rows,e+1,n)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}var u=this.rowFields.getByIndex(e).stimulsoft.as(r.StiCrossRow),c=0==e?null:this.rowFields.getByIndex(e-1).stimulsoft.as(r.StiCrossRow);this.allowTotal(u,c)&&this.addRowTotal(t,e,n,e)}},w.prototype.createColTotals=function(){var t=this.getColsHeaderHeight();t>0&&this.createColTotals2(this.cols,0,t)},w.prototype.createColTotals2=function(t,e,n){var i,o;if(t.count>0){try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.createColTotals2(l.cols,e+1,n)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}var u=this.colFields.getByIndex(e).stimulsoft.as(r.StiCrossColumn),c=0==e?null:this.colFields.getByIndex(e-1).stimulsoft.as(r.StiCrossColumn);this.allowTotal(u,c)&&this.addColTotal(t,e,n,e)}},w.prototype.getDataFromDataRow=function(t,e){if(null==t)return this.strNull;return null!=t.gett(e)?t.gett(e):this.strNull},w.prototype.getValueFromDataRow=function(e,r){if(null==e)return null;try{var i=e.gett(r.name),o=r.summary;if(o==n.StiSummaryType.Image)return i;if(o==n.StiSummaryType.Count)return i;if(o==n.StiSummaryType.CountDistinct)return i;if(o==n.StiSummaryType.None){if(null!=i&&i.stimulsoft.is(p))return i;if(r.hideZeros){if(null==i)return"";var a=0;try{if(i.stimulsoft.is(String)){for(var s=i.toString(),l=!1,u=0;u=0;t--){var e=this.colFields.getByIndex(t),r;(r=this.getSumFiledIndex(e.topN))>=0&&this.processTopNColumns(t,0,r,this.cols,e.topN)}for(var t=this.rowFields.count-1;t>=0;t--){var n=this.rowFields.getByIndex(t),r;(r=this.getSumFiledIndex(n.topN))>=0&&this.processTopNRows(t,0,r,this.rows,n.topN)}},w.prototype.processTopNRows=function(t,e,r,i,o){var l,u,c,p,h,m,f,d,g,S,A,b;if(e0){var V=new n.StiRow(o.othersText,o.othersText);V.othersText=o.othersText,i.add(V),this.fillOtherRows(V,W)}}},w.prototype.fillOtherRows=function(t,e){var r,i,o,a,l,u,c,p;try{for(var h=__values(e),m=h.next();!m.done;m=h.next()){var f=m.value;if(0==f.rows.count)try{for(var d=(o=void 0,__values(this.summaryContainer.getDataCol().keys)),g=d.next();!g.done;g=d.next()){var S=g.value,y=this.summaryContainer.getDataCol().get(S).get(f);if(null!=y&&(y=y.stimulsoft.as(n.StiSummary)),null!=y){var A=this.summaryContainer.getSummary(S,t),b=0;try{for(var v=(l=void 0,__values(this.sumFields.list)),C=v.next();!C.done;C=v.next()){var w;C.value.name!=this.emptyField&&(0==A.sums[b].length&&(A.hyperlinkValues=y.hyperlinkValues,A.toolTipValues=y.toolTipValues,A.tagValues=y.tagValues,A.drillDownParameters=y.drillDownParameters),A.sums[b].stimulsoft.addRange(y.sums[b]),b++)}}catch(t){l={error:t}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}}}}catch(t){o={error:t}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}else try{for(var B=(c=void 0,__values(f.rows.list)),I=B.next();!I.done;I=B.next()){var T=I.value;if(null==t.rows.getByValue(T.value))t.rows.add(T);else{var E=new s;E.add(T),this.fillOtherRows(t.rows.getByValue(T.value),E)}}}catch(t){c={error:t}}finally{try{I&&!I.done&&(p=B.return)&&p.call(B)}finally{if(c)throw c.error}}}}catch(t){r={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}},w.prototype.processTopNColumns=function(t,e,r,i,o){var l,u,c,p,h,m,f,d,g,S,A,b;if(e0){var V=new n.StiColumn(o.othersText,o.othersText);V.othersText=o.othersText,i.add(V),this.fillOtherColumns(V,W)}}},w.prototype.fillOtherColumns=function(t,e){var r,n,i,o,a,l,u,c;try{for(var p=__values(e),h=p.next();!h.done;h=p.next()){var m=h.value;if(0==m.cols.count){var f=this.summaryContainer.getDataCol().get(m).stimulsoft.as(y);if(null!=f)try{for(var d=(i=void 0,__values(f.keys)),g=d.next();!g.done;g=d.next()){var S=g.value,A=this.summaryContainer.getSummary(t,S),b=f.get(S),v=0;try{for(var C=(a=void 0,__values(this.sumFields.list)),w=C.next();!w.done;w=C.next()){var B;w.value.name!=this.emptyField&&(0==A.sums[v].length&&(A.hyperlinkValues=b.hyperlinkValues,A.toolTipValues=b.toolTipValues,A.tagValues=b.tagValues,A.drillDownParameters=b.drillDownParameters),A.sums[v].stimulsoft.addRange(b.sums[v]),v++)}}catch(t){a={error:t}}finally{try{w&&!w.done&&(l=C.return)&&l.call(C)}finally{if(a)throw a.error}}}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}else try{for(var I=(u=void 0,__values(m.cols.list)),T=I.next();!T.done;T=I.next()){var E=T.value;if(null==t.cols.getByValue(E.value))t.cols.add(E);else{var R=new s;R.add(E),this.fillOtherColumns(t.cols.getByValue(E.value),R)}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}},w.prototype.getSumFiledIndex=function(t){if(null!=t&&t.mode!=a.None&&!o.isNullOrEmpty(t.measureField))for(var e=0;e=0;N--)if(-1!=this.sumFields.getByIndex(N).indexOfSelectValue){if((F=this.sumFields.getByIndex(N).indexOfSelectValue)0&&this.isDateTime(t)){var _=!1,j=null,G=-1,N=0;try{for(var H=__values(t),Q=H.next();!Q.done;Q=H.next()){var O;if(null==(O=Q.value)||c.stimulsoft.equals(O))continue;if(x=!1,O.stimulsoft.is(p)){var L=O;_?j0&&this.isDateTime(t)){var _=!1,W=null,G=-1,N=0;try{for(var V=__values(t),z=V.next();!z.done;z=V.next()){var O;if(null==(O=z.value)||c.stimulsoft.equals(O))continue;if(x=!1,O.stimulsoft.is(p)){var L=O;_?W>L&&(W=L,G=N):(W=L,_=!0,G=0)}N++}}catch(t){f={error:t}}finally{try{z&&!z.done&&(d=V.return)&&d.call(V)}finally{if(f)throw f.error}}if(E.indexOfSelectValue=G,x)return this.crossTab.emptyValue;return _?W:null}var X=0,G=-1;try{for(var K=__values(t),Z=K.next();!Z.done;Z=K.next()){var O,J;if(null==(O=Z.value)||c.stimulsoft.equals(O))continue;if(x=!1,0==X)this.isAllowConvertToDecimal(O)&&(P=this.convertToDecimal(O),G=0);else if(this.isAllowConvertToDecimal(O))P>(J=this.convertToDecimal(O))&&(P=J,G=X);X++}}catch(t){g={error:t}}finally{try{Z&&!Z.done&&(S=K.return)&&S.call(K)}finally{if(g)throw g.error}}if(E.indexOfSelectValue=G,x)return this.crossTab.emptyValue;return P;case n.StiSummaryType.Count:if(null==t||0==t.length)return 0;var q=0;try{for(var $=__values(t),tt=$.next();!tt.done;tt=$.next()){var O=tt.value;x=!1;var et=0;this.isAllowConvertToDecimal(O)&&(et=this.convertToDecimal(O)),D==n.StiSummaryValues.AllValues&&q++,D==n.StiSummaryValues.SkipNulls&&null!=O&&q++,D==n.StiSummaryValues.SkipZerosAndNulls&&null!=O&&0!=et&&q++}}catch(t){A={error:t}}finally{try{tt&&!tt.done&&(b=$.return)&&b.call($)}finally{if(A)throw A.error}}if(x)return this.crossTab.emptyValue;return q;case n.StiSummaryType.Average:if(null!=t&&t.length>0&&this.isDateTime(t)){var rt=0,nt=0;try{for(var it=__values(t),ot=it.next();!ot.done;ot=it.next()){var O,L;if(null==(O=ot.value)||c.stimulsoft.equals(O))continue;if(x=!1,O.stimulsoft.is(p))rt+=(L=O).ticks,nt++}}catch(t){v={error:t}}finally{try{ot&&!ot.done&&(C=it.return)&&C.call(it)}finally{if(v)throw v.error}}if(0==nt)return null;if(x)return this.crossTab.emptyValue;return new p(rt/nt)}if(null==t||0==t.length)return 0;var at=0;try{for(var st=__values(t),lt=st.next();!lt.done;lt=st.next()){var O;if(null==(O=lt.value)||c.stimulsoft.equals(O))continue;x=!1;var et=0;this.isAllowConvertToDecimal(O)&&(P+=et=this.convertToDecimal(O)),D==n.StiSummaryValues.AllValues&&at++,D==n.StiSummaryValues.SkipNulls&&null!=O&&at++,D==n.StiSummaryValues.SkipZerosAndNulls&&null!=O&&0!=et&&at++}}catch(t){w={error:t}}finally{try{lt&&!lt.done&&(B=st.return)&&B.call(st)}finally{if(w)throw w.error}}if(0==at)return 0;if(x)return this.crossTab.emptyValue;return Math.round2(P/at,4);case n.StiSummaryType.CountDistinct:if(null==t||0==t.length)return 0;var ut=new y,ct=0,pt=!1;try{for(var ht=__values(t),mt=ht.next();!mt.done;mt=ht.next()){var O=mt.value;x=!1;var et=0,ft=!1;if(this.isAllowConvertToDecimal(O)&&(et=this.convertToDecimal(O),ft=!0),null==O)D==n.StiSummaryValues.AllValues&&(pt||(pt=!0,ct++));else if(null==ut.get(O)){if(0==et&&ft&&D==n.StiSummaryValues.SkipZerosAndNulls)continue;ut.set(O,O),ct++}}}catch(t){I={error:t}}finally{try{mt&&!mt.done&&(T=ht.return)&&T.call(ht)}finally{if(I)throw I.error}}if(x)return this.crossTab.emptyValue;return ct}return P},w.prototype.copySummaries=function(t,e,a){for(var s,l,u,c,p,h,m,f,d=this.getRowsArray(),g=this.getColsArray(),S=i.create(Array,this.colsHeaderHeight*this.oneCellSize),y=0;y=0;O--){var _=this.cells[O][x];if(null!=_.field&&!_.field.stimulsoft.is(r.StiCrossSummary))break;var j=0;_.isNumeric&&(j=_.value.stimulsoft.toNumber()),j=0!=k?Math.round2(j/k*100,2):0,_.isNumeric&&null!=_.field&&_.field.stimulsoft.is(r.StiCrossSummary)&&_.field.showPercents&&(_.value=j,_.text=o.format("{0}%",j),M=!0)}M&&null!=N.field&&N.field.stimulsoft.is(r.StiCrossTotal)&&(N.text="100%"),this.sumFields.getByIndex(E).useStyleOfSummaryInColumnTotal&&this.setCellField(P,x,this.sumFields.getByIndex(E).clone().stimulsoft.as(r.StiCrossField))}else for(var F=this.summaryContainer.getSummary(T,w,!1),G=this.copySummary(F,t,e,b,A,!0,!1,a),y=0;y=this.widths.length||f>=this.heights.length)continue;this.setCellValue(m,f,h,p,0,n.StiFieldType.Cell,d,g,S,y).summaryIndex=p}return c},w.prototype.getSummary=function(t,e,r){var n,i,o=[];try{for(var a=__values(t.sums[e]),s=a.next();!s.done;s=a.next()){var l=s.value;o.push(l)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return this.getSummaryResult(o,e,r)},w.prototype.isHideZeros=function(t){return null!=t&&b.isNumericType(b.getType(t))&&0==v.tryToNumber(t)},w.prototype.isDateTime=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value;if(null!=o&&o.stimulsoft.is(p))return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},w.convertValueToString=function(t,e){if(null==t)return"";if(t.stimulsoft.is(Number)&&0==t&&e.hideZeros)return"";if(t.stimulsoft.is(Number))return e.textFormat.format(t);if(t.stimulsoft.is(p))return e.textFormat.format(t);return t.toString()},w.prototype.setCellValue=function(t,e,r,i,o,a,s,l,u,c){switch(a){case n.StiFieldType.Column:var p=this.getColumnTotalCell(o,i),h=w.convertValueToString(r,p),m=this.setCell(t,e,1,1,h,r,p,null!=r&&r.stimulsoft.is(Number),s,l,u,c);return w.checkNegativeColor(r,p,m),m;case n.StiFieldType.Row:var p=this.getRowTotalCell(o,i),h=w.convertValueToString(r,p),m=this.setCell(t,e,1,1,h,r,p,null!=r&&r.stimulsoft.is(Number),s,l,u,c);return w.checkNegativeColor(r,p,m),m;case n.StiFieldType.Cell:var p=this.sumFields.getByIndex(i),h=w.convertValueToString(r,p),m=this.setCell(t,e,1,1,h,r,p,null!=r&&r.stimulsoft.is(Number),s,l,u,c);return w.checkNegativeColor(r,p,m),m}return null},w.checkNegativeColor=function(e,r,n){if(t.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(r.textFormat)){var i=v.tryToNullableNumber(e);n.isNegativeColor=null!=i&&i<0}},w.prototype.getColumnTotalCell=function(t,e){var n=this.columnsCell.get(t*this.oneCellSize+e),i;null==n&&(n=this.colFields.getByIndex(t).stimulsoft.as(r.StiCrossHeader).total.clone(!0).stimulsoft.as(r.StiCrossField),this.columnsCell.set(t*this.oneCellSize+e,n),n.horAlignment=this.sumFields.getByIndex(e).horAlignment,n.vertAlignment=this.sumFields.getByIndex(e).vertAlignment,n.textFormat=this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(h));return n},w.prototype.getRowTotalCell=function(t,e){var n=this.rowsCell.get(t*this.oneCellSize+e);return null==n&&(n=this.rowFields.getByIndex(t).total.clone(!0).stimulsoft.as(r.StiCrossField),this.rowsCell.set(t*this.oneCellSize+e,n),n.horAlignment=this.sumFields.getByIndex(e).horAlignment,n.vertAlignment=this.sumFields.getByIndex(e).vertAlignment,n.textFormat=this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(h)),n},w.prototype.getRowsArray=function(){var t=[];return this.getRowsArray2(this.rows,t),t},w.prototype.getRowsArray2=function(t,e){var r,n;try{for(var i=__values(t.list),o=i.next();!o.done;o=i.next()){var a=o.value;0==a.rows.count&&e.push(a),this.getRowsArray2(a.rows,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},w.prototype.getColsArray=function(){var t=[];return this.getColsArray2(this.cols,t),t},w.prototype.getColsArray2=function(t,e){var r,n;try{for(var i=__values(t.list),o=i.next();!o.done;o=i.next()){var a=o.value;0==a.cols.count&&e.push(a),this.getColsArray2(a.cols,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},w.prototype.getRowsHeaderWidth=function(){if(this.isRowsEmpty)return 0;return this.getRowsHeaderWidth2(this.rows)},w.prototype.getRowsHeaderWidth2=function(t){var e=0;while(t.count>0)e++,t=t.getByIndex(0).rows;return e},w.prototype.getColsHeaderHeight=function(){if(this.isColsEmpty)return 0;return this.getColsHeaderHeight2(this.cols)},w.prototype.getColsHeaderHeight2=function(t){var e=0;while(t.count>0)e++,t=t.getByIndex(0).cols;return e},w.prototype.getRowsHeight=function(t,e,r){var n,i;void 0===t&&(t=this.rows),void 0===e&&(e=this.getRowsHeaderWidth()),void 0===r&&(r=0);var o=0;try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;o+=this.getRowsHeight(l.rows,e,r+1),r==e-1&&(o+=this.oneCellHeight)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},w.prototype.getColsWidth=function(t,e,r){var n,i;void 0===t&&(t=this.cols),void 0===e&&(e=this.getColsHeaderHeight()),void 0===r&&(r=0);var o=0;try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;o+=this.getColsWidth(l.cols,e,r+1),r==e-1&&(o+=this.oneCellWidth)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},w.prototype.enumerateRows=function(t,i){var a,s,l=this.rowFields.getByIndex(i).stimulsoft.as(r.StiCrossRow),u=l.enumeratorSeparator,c=0;try{for(var p=__values(t.list),h=p.next();!h.done;h=p.next()){var m=h.value;if(null!=m.rows&&m.rows.count>0&&this.enumerateRows(m.rows,i+1),l.enumeratorType!=n.StiEnumeratorType.None){c++;var f=null;f=l.enumeratorType==n.StiEnumeratorType.Arabic?c.toString():l.enumeratorType==n.StiEnumeratorType.ABC?e.Func.Convert.toABC(c):e.Func.Convert.toRoman(c),m.displayValue=o.format("{0}{1}{2}",f,u,m.displayValue)}}}catch(t){a={error:t}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}},w.prototype.enumerateColumns=function(t,i){var a,s,l=this.colFields.getByIndex(i).stimulsoft.as(r.StiCrossColumn),u=l.enumeratorSeparator,c=0;try{for(var p=__values(t.list),h=p.next();!h.done;h=p.next()){var m=h.value;if(null!=m.cols&&m.cols.count>0&&this.enumerateColumns(m.cols,i+1),l.enumeratorType!=n.StiEnumeratorType.None){c++;var f=null;f=l.enumeratorType==n.StiEnumeratorType.Arabic?c.toString():l.enumeratorType==n.StiEnumeratorType.ABC?e.Func.Convert.toABC(c):e.Func.Convert.toRoman(c),m.displayValue=o.format("{0}{1}{2}",f,u,m.displayValue)}}}catch(t){a={error:t}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}},w.prototype.checkSeparators=function(){for(var t=0,e=new y,r=new y,i=!1,o=0;othis.colCount||i){var p=this.colCount,h=this.cells;this.init(t,this.rowCount);for(var m=0,o=0;o0&&this.enumerateRows(this.rows,0),this.cols.count>0&&this.enumerateColumns(this.cols,0),this.createRowTotals(),this.createColTotals(),this.colsHeaderHeight=this.getColsHeaderHeight(),this.rowsHeaderWidth=this.getRowsHeaderWidth(),this.isSummarySubHeadersPresent&&(i==n.StiSummaryDirection.LeftToRight?this.colsHeaderHeight++:this.rowsHeaderWidth++),this.colsWidth=this.getColsWidth(),this.rowsHeight=this.getRowsHeight();var f=this.colsWidth+this.rowsHeaderWidth,d=this.rowsHeight+this.colsHeaderHeight;if(this.isRowsEmpty&&(d+=this.oneCellHeight),this.isColsEmpty&&(f+=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++,C.prototype.init.call(this,f+this.widthCorrection,d+this.heightCorrection),this.isRowsEmpty&&this.isColsEmpty)return;var g=0;try{for(var y=__values(this.colFields.toCast()),A=y.next();!A.done;A=y.next()){var b=A.value,v=null;try{for(var w=(l=void 0,__values(this.colTitleFields.toCast())),B=w.next();!B.done;B=w.next()){var I;if((I=B.value).typeOfComponent=="Col:"+b.name){v=I;break}}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}if(null!=v&&v.isEnabled){var T=1,E=Math.max(this.rowsHeaderWidth,1);this.invokeEvents(v),this.setCell(0,g++,E,T,null==v.textValue?v.getTextInternal():v.textValue,o,v,!1,v.hyperlinkValue,v.toolTipValue,v.tagValue,v.drillDownParameters)}}}catch(t){a={error:t}}finally{try{A&&!A.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}var R=this.isRowTitlePresent;g=0;try{for(var D=__values(this.rowFields.toCast()),P=D.next();!P.done;P=D.next()){var x=P.value,v=null;try{for(var F=(h=void 0,__values(this.rowTitleFields.toCast())),N=F.next();!N.done;N=F.next()){var I;if((I=N.value).typeOfComponent=="Row:"+x.name){v=I;break}}}catch(t){h={error:t}}finally{try{N&&!N.done&&(m=F.return)&&m.call(F)}finally{if(h)throw h.error}}if(null!=v&&R){var E=1,T=Math.max(this.colsHeaderHeight,1),k=this.isTopLinePresent?1:0;this.invokeEvents(v),i==n.StiSummaryDirection.LeftToRight&&this.isColsEmpty&&this.sumFields.count>1&&T++,this.setCell(g++,k,E,T,null==v.textValue?v.getTextInternal():v.textValue,o,v,!1,v.hyperlinkValue,v.toolTipValue,v.tagValue,v.drillDownParameters)}}}catch(t){c={error:t}}finally{try{P&&!P.done&&(p=D.return)&&p.call(D)}finally{if(c)throw c.error}}if(this.isSummarySubHeadersPresent)if(i==n.StiSummaryDirection.LeftToRight){var M=this.colsHeaderHeight+this.heightCorrection-1;g=this.rowsHeaderWidth+this.widthCorrection;for(var O=0,_=0==this.colsWidth?this.sumFields.count:this.colsWidth,j=0;j<_;j++){var G=this.sumHeaderFields.getByIndex(O).stimulsoft.as(r.StiCrossSummaryHeader);if(!this.designTime){null!=G.text&&(null==G.originalValue?G.originalValue=G.text:G.text=G.originalValue);var H=new S;G.invokeGetValue(G,H),G.setTextInternal(H.value)}this.invokeEvents(G),this.setCell(g,M,1,1,null==G.textValue?G.getTextInternal():G.textValue,o,G,!1,G.hyperlinkValue,G.toolTipValue,G.tagValue,G.drillDownParameters),g++,++O==this.sumHeaderFields.count&&(O=0)}}else{var Q=this.rowsHeaderWidth+this.widthCorrection-1;g=this.colsHeaderHeight+this.heightCorrection;var L=0,Y=0;Y=0==this.rowsHeight?this.sumHeaderFields.count:this.rowsHeight;for(var j=0;j0&&(this.invokeEvents(this.rightCrossTitle),this.setCell(this.rowsHeaderWidth,0,f-this.rowsHeaderWidth,1,null==this.rightCrossTitle.textValue?this.rightCrossTitle.getTextInternal():this.rightCrossTitle.textValue,o,this.rightCrossTitle,!1,this.rightCrossTitle.hyperlinkValue,this.rightCrossTitle.toolTipValue,this.rightCrossTitle.tagValue,this.rightCrossTitle.drillDownParameters))),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,o,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters)),this.isRowsEmpty)){this.invokeEvents(this.summaryCrossTitle);var U=i==n.StiSummaryDirection.LeftToRight?this.colsHeaderHeight-1:this.colsHeaderHeight,J=i==n.StiSummaryDirection.LeftToRight?this.oneCellHeight+1:this.oneCellHeight;this.setCell(0,U,1,J,null==this.summaryCrossTitle.textValue?this.summaryCrossTitle.getTextInternal():this.summaryCrossTitle.textValue,o,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters)}var W={ref:""};this.isRowsEmpty||this.copyRows(this.rows,0,this.colsHeaderHeight+this.heightCorrection,0,o,this.colsWidth,W),this.isColsEmpty||this.copyCols(this.cols,this.rowsHeaderWidth+this.widthCorrection,this.heightCorrection,0,o,this.rowsHeight,W),this.copySummaries(this.rowsHeaderWidth+this.widthCorrection,this.colsHeaderHeight+this.heightCorrection,o),this.designTime||this.checkSeparators(),this.report.cells.clear();for(var V=0;V1&&null!=this.cells[0]&&(this.cells.length*this.cells[0].length>5e4&&(t=!0));return this.cells=null,t},w.prototype.getCorrectedColumnsHeaderHeight=function(){return this.colsHeaderHeight+this.heightCorrection},Object.defineProperty(w.prototype,"isSummaryPresent",{get:function(){if(this.report.isDesigning)return!0;return null!=this.summaryCrossTitle&&this.summaryCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isRowTitlePresent",{get:function(){var t,e;if(this.report.isDesigning)return!0;try{for(var r=__values(this.rowFields.toCast()),n=r.next();!n.done;n=r.next()){var i;if(!n.value.isEnabled)return!1}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isTopLinePresent",{get:function(){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},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isTopCrossTitleVisible",{get:function(){return!this.isRowsEmpty&&this.isCrossTitleEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isLeftCrossTitleVisible",{get:function(){return!this.isTopCrossTitleVisible&&this.isCrossTitleEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isCrossTitleEnabled",{get:function(){return null!=this.leftCrossTitle&&this.leftCrossTitle.enabled&&null!=this.rightCrossTitle&&this.rightCrossTitle.enabled||null!=this.summaryCrossTitle&&this.summaryCrossTitle.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isCrossTitlePrintOnAllPages",{get:function(){return null!=this.leftCrossTitle&&this.leftCrossTitle.printOnAllPages&&null!=this.rightCrossTitle&&this.rightCrossTitle.printOnAllPages||null!=this.summaryCrossTitle&&this.summaryCrossTitle.printOnAllPages},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isShowSummarySubHeaders",{get:function(){var t,e;if(this.designTime)return!0;try{for(var r=__values(this.sumHeaderFields.toCast()),n=r.next();!n.done;n=r.next()){var i;if(n.value.enabled)return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isSummarySubHeadersPresent",{get:function(){return this.sumFields.count>1&&this.isShowSummarySubHeaders&&this.sumHeaderFields.count>1},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isLeftTopLinePresent",{get:function(){if(!this.isTopLinePresent)return!1;if(null==this.leftCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.leftCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isRightTopLinePresent",{get:function(){if(!this.isTopLinePresent)return!1;if(null==this.rightCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.rightCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isRowsEmpty",{get:function(){return 1==this.rowFields.count&&this.rowFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isColsEmpty",{get:function(){return 1==this.colFields.count&&this.colFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isSummariesEmpty",{get:function(){return 1==this.sumFields.count&&this.sumFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"rowFields",{get:function(){return this._rowFields},set:function(t){if(null==t||0==t.count){null==t?t=new m:t.clear();var e=new r.StiCrossRow;e.name=this.emptyField,t.add(e)}this._rowFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"colFields",{get:function(){return this._colFields},set:function(t){if(null==t||0==t.count){null==t?t=new m:t.clear();var e=new r.StiCrossColumn;e.name=this.emptyField,t.add(e)}this._colFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sumFields",{get:function(){return this._sumFields},set:function(t){if(null==t||0==t.count){null==t?t=new m:t.clear();var e=new r.StiCrossSummary;e.name=this.emptyField,t.add(e)}this._sumFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sumHeaderFields",{get:function(){return this._sumHeaderFields},set:function(t){if(null==t||0==t.count){null==t?t=new m:t.clear();var e=new r.StiCrossSummaryHeader;e.name=this.emptyField,t.add(e)}this._sumHeaderFields=t},enumerable:!1,configurable:!0}),w.emptyField="EMPTY_FIELD",w}(n.StiGrid);n.StiCross=C}(n=r.Core||(r.Core={}))}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(e,r){this.hyperlinkValue=null,this.tagValue=null,this.toolTipValue=null,this.drillDownParameters=null,this.isTotal=!1,this.level=-1,this.value=e,this.displayValue=r,this.rows=new t.StiRowCollection}return e}();t.StiRow=e}(e=t.Core||(t.Core={}))}(e=t.CrossTab||(t.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Collections.CollectionBase,n=t.System.Collections.Hashtable,i=t.System.Data.DBNull,o=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.directionFactor=1,r.sortType=e.StiSortType.ByDisplayValue,r.items=new n,r}return __extends(r,t),r.prototype.compare=function(t,r){var n=t.stimulsoft.as(e.StiRow),o=r.stimulsoft.as(e.StiRow),a=n.parentCollection.sortType,s=n.parentCollection.directionFactor;if(a==e.StiSortType.ByDisplayValue){if(null!=n.displayValue&&n.displayValue!=i.value){if(o.displayValue==i.value)return-1;if(null!=o.othersText)return-1;if(null!=n.othersText)return 1;return n.displayValue.stimulsoft.compareTo(o.displayValue)*s}return 1}if(null!=n.value&&n.value!=i.value){if(o.value==i.value)return-1;if(null!=o.othersText)return-1;if(null!=n.othersText)return 1;return n.value.stimulsoft.compareTo(o.value)*s}return 1},r.prototype.add2=function(t,r){var n=new e.StiRow(t,r);this.add(n)},r.prototype.add=function(e){t.prototype.add.call(this,e),e.parentCollection=this,e.isTotal||this.items.add(e.value,e)},r.prototype.clear=function(){this.list.stimulsoft.clear(),this.items.clear()},r.prototype.sort=function(t,r){this.sortType=r,t==e.StiSortDirection.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(this.compare)},r.prototype.getByValue=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.value==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},r}(r);e.StiRowCollection=o}(r=e.Core||(e.Core={}))}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.StiArray,n=function(){function t(t){this.sums=null,this.hyperlinkValues=null,this.tagValues=null,this.toolTipValues=null,this.drillDownParameters=null,this.sums=r.create(Array,t),this.hyperlinkValues=r.create(Object,t),this.tagValues=r.create(Object,t),this.toolTipValues=r.create(Object,t);for(var e=0;e0){h=c||e.report;try{for(m=__values(p.value),f=m.next();!f.done;f=m.next())d=f.value,h.setVariable(d.key,d.value)}catch(t){R={error:t}}finally{try{f&&!f.done&&(D=m.return)&&D.call(m)}finally{if(R)throw R.error}}}if(null==c)return[3,2];return[4,this.renderExternalSubReportAsync(e,c)];case 1:return g=O.sent(),t.components.addRange(g.components),[3,4];case 2:return[4,this.renderInternalSubReportAsync(e)];case 3:g=O.sent(),t.components.addRange(g.components),O.label=4;case 4:try{for(S=__values(t.components.list),y=S.next();!y.done;y=S.next())if((A=y.value).right>t.width&&(A.width=t.width-A.left),null!=(b=A.stimulsoft.as(l)))try{for(F=void 0,v=__values(b.components.list),C=v.next();!C.done;C=v.next())(w=C.value).left>t.width&&(w.left=t.width),w.right+A.left>t.width&&(w.width=t.width-(w.left+A.left))}catch(t){F={error:t}}finally{try{C&&!C.done&&(N=v.return)&&N.call(v)}finally{if(F)throw F.error}}}catch(t){P={error:t}}finally{try{y&&!y.done&&(x=S.return)&&x.call(S)}finally{if(P)throw P.error}}e.report.engine=o,null!=n&&(n.height=i,n.pageInfo.masterDataBand=null);try{for(B=__values(e.report.dictionary.dataSources.list),I=B.next();!I.done;I=B.next())(u=I.value).initForSubreport=!1}catch(t){k={error:t}}finally{try{I&&!I.done&&(M=B.return)&&M.call(B)}finally{if(k)throw k.error}}return[2]}}))}))},c.renderSubReport=function(t,e){var n,i,o,a,s,u,c,p,h,m,f=e.subReportPage,d=null!=f?f.height:0,g=e.report.engine;null!=f&&(f.pageInfo.masterDataBand=this.getMasterDataBand(e));try{for(var S=__values(e.report.dictionary.dataSources.list),y=S.next();!y.done;y=S.next()){var A;(A=y.value).initForSubreport=!0}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}null!=f&&(f.unlimitedBreakable=!1);var b=e.getExternalSubReport(),v=new r;if(e.invokeFillParameters(e,v),null!=v.value&&v.value.length>0){var C=b||e.report;try{for(var w=__values(v.value),B=w.next();!B.done;B=w.next()){var I=B.value;C.setVariable(I.key,I.value)}}catch(t){o={error:t}}finally{try{B&&!B.done&&(a=w.return)&&a.call(w)}finally{if(o)throw o.error}}}if(null!=b){var T=this.renderExternalSubReport(e,b);t.components.addRange(T.components)}else{var T=this.renderInternalSubReport(e);t.components.addRange(T.components)}try{for(var E=__values(t.components.list),R=E.next();!R.done;R=E.next()){var D=R.value;D.right>t.width&&(D.width=t.width-D.left);var P=D.stimulsoft.as(l);if(null!=P)try{for(var x=(c=void 0,__values(P.components.list)),F=x.next();!F.done;F=x.next()){var N=F.value;N.left>t.width&&(N.left=t.width),N.right+D.left>t.width&&(N.width=t.width-(N.left+D.left))}}catch(t){c={error:t}}finally{try{F&&!F.done&&(p=x.return)&&p.call(x)}finally{if(c)throw c.error}}}}catch(t){s={error:t}}finally{try{R&&!R.done&&(u=E.return)&&u.call(E)}finally{if(s)throw s.error}}e.report.engine=g,null!=f&&(f.height=d,f.pageInfo.masterDataBand=null);try{for(var k=__values(e.report.dictionary.dataSources.list),M=k.next();!M.done;M=k.next()){var A;(A=M.value).initForSubreport=!1}}catch(t){h={error:t}}finally{try{M&&!M.done&&(m=k.return)&&m.call(k)}finally{if(h)throw h.error}}},c.renderInternalSubReportAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u,c,p,h,m;return __generator(this,(function(f){switch(f.label){case 0:if(r=t.subReportPage,n=new l,null==r)return[2,n];return n.width=r.width,n.height=this.specialSubReportHeight,i=r.currentBookmark,o=r.parentBookmark,r.currentBookmark=t.currentBookmark,r.parentBookmark=t.parentBookmark,n.currentBookmark=t.parentBookmark,(a=new e.StiEngine(t.report)).parserConversionStore=t.report.engine.parserConversionStore.clone(),null!=t.report.engine.hashDataSourceReferencesCounter&&(a.hashDataSourceReferencesCounter=t.report.engine.hashDataSourceReferencesCounter.clone()),a.templatePage=r,a.templateContainer=t.subReportPage,a.containerForRender=n,t.report.engine=a,a.setNewPageParameters(),a.freeSpace=this.specialSubReportHeight,a.positionBottomY=this.specialSubReportHeight,[4,a.newListAsync()];case 1:return f.sent(),[4,e.StiPageHelper.renderPageAsync(r)];case 2:return f.sent(),[4,a.finalClearAsync()];case 3:f.sent(),a.parserConversionStore=null,s=a.positionBottomY-a.positionY;try{for(u=__values(n.components.list),c=u.next();!c.done;c=u.next())(p=c.value).top>=a.positionY&&p.top-s>=0&&(p.top-=s)}catch(t){h={error:t}}finally{try{c&&!c.done&&(m=u.return)&&m.call(u)}finally{if(h)throw h.error}}return e.StiPostProcessProvider.postProcessPrimitivesInContainer(n),r.currentBookmark=i,r.parentBookmark=o,[2,n]}}))}))},c.renderInternalSubReport=function(t){var r,n,i=t.subReportPage,o=new l;if(null==i)return o;o.width=i.width,o.height=this.specialSubReportHeight;var a=i.currentBookmark,s=i.parentBookmark;i.currentBookmark=t.currentBookmark,i.parentBookmark=t.parentBookmark,o.currentBookmark=t.parentBookmark;var u=new e.StiEngine(t.report);u.parserConversionStore=t.report.engine.parserConversionStore.clone(),null!=t.report.engine.hashDataSourceReferencesCounter&&(u.hashDataSourceReferencesCounter=t.report.engine.hashDataSourceReferencesCounter.clone()),u.templatePage=i,u.templateContainer=t.subReportPage,u.containerForRender=o,t.report.engine=u,u.setNewPageParameters(),u.freeSpace=this.specialSubReportHeight,u.positionBottomY=this.specialSubReportHeight,u.newList(),e.StiPageHelper.renderPage(i),u.finalClear(),u.parserConversionStore=null;var c=u.positionBottomY-u.positionY;try{for(var p=__values(o.components.list),h=p.next();!h.done;h=p.next()){var m=h.value;m.top>=u.positionY&&m.top-c>=0&&(m.top-=c)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}return e.StiPostProcessProvider.postProcessPrimitivesInContainer(o),i.currentBookmark=a,i.parentBookmark=s,o},c.renderExternalSubReportAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,u,i,c,p,h,m,f,d,g,S,y;return __generator(this,(function(A){switch(A.label){case 0:if(t=new l,null==e)return[3,3];if(StiOptions.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages)try{for(r=__values(e.pages.list),n=r.next();!n.done;n=r.next())(i=n.value).unlimitedHeight=!0,i.unlimitedBreakable=!1,i.height=this.specialSubReportHeight}catch(t){m={error:t}}finally{try{n&&!n.done&&(f=r.return)&&f.call(r)}finally{if(m)throw m.error}}if(e.isDocument)return[3,2];return[4,e.renderAsync2()];case 1:A.sent(),A.label=2;case 2:o=0,a=0;try{for(s=__values(e.renderedPages.list),u=s.next();!u.done;u=s.next()){i=u.value,t.components.addRange(i.components);try{for(S=void 0,c=__values(i.components.list),p=c.next();!p.done;p=c.next())(h=p.value).top+=a,h.left+=o,h.growToHeight=!1,h.canShrink=!1}catch(t){S={error:t}}finally{try{p&&!p.done&&(y=c.return)&&y.call(c)}finally{if(S)throw S.error}}i.components.clear(),a+=i.height}}catch(t){d={error:t}}finally{try{u&&!u.done&&(g=s.return)&&g.call(s)}finally{if(d)throw d.error}}A.label=3;case 3:return[2,t]}}))}))},c.renderExternalSubReport=function(t,e){var r,n,i,o,a,s,u=new l;if(null!=e){if(StiOptions.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages)try{for(var c=__values(e.pages.list),p=c.next();!p.done;p=c.next()){var h;(h=p.value).unlimitedHeight=!0,h.unlimitedBreakable=!1,h.height=this.specialSubReportHeight}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}e.isDocument||e.render(!1);var m=0,f=0;try{for(var d=__values(e.renderedPages.list),g=d.next();!g.done;g=d.next()){var h=g.value;u.components.addRange(h.components);try{for(var S=(a=void 0,__values(h.components.list)),y=S.next();!y.done;y=S.next()){var A=y.value;A.top+=f,A.left+=m,A.growToHeight=!1,A.canShrink=!1}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}h.components.clear(),f+=h.height}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}return u},c.renderDataBandsInContainerAsync=function(r,o,a){return void 0===a&&(a=!1),__awaiter(this,void 0,void 0,(function(){var s,u,c,p,h,m,f,d,g,S,y,A,b,v,C,w,B,I,T,E,B,R,D,P,x,B,F,N,k,M,O,_,j,G,H,Q,L,Y,U,J;return __generator(this,(function(W){switch(W.label){case 0:r.canGrow=!0,s=o.report.engine,u=0,c=0,null!=o.report.engine.page&&(u=o.report.engine.page.pageInfo.positionFromTop,c=o.report.engine.page.pageInfo.positionFromBottom),W.label=1;case 1:return W.trys.push([1,,12,13]),p=1e11,h=!1,(m=new l).width=o.width,m.height=p,(f=new e.StiEngine(o.report)).denyChangeThread=!0,f.parserConversionStore=o.report.engine.parserConversionStore.clone(),null!=o.report.engine.hashDataSourceReferencesCounter&&(f.hashDataSourceReferencesCounter=o.report.engine.hashDataSourceReferencesCounter.clone()),null!=o.report.engine.hashParentStyles&&o.report.engine.hashParentStyles.count>0&&(f.hashParentStyles=o.report.engine.hashParentStyles.clone()),f.page=o.report.engine.page,f.templatePage=o.report.engine.templatePage,f.templateContainer=o,f.containerForRender=m,o.report.engine=f,f.setNewPageParameters(),f.freeSpace=p,f.positionBottomY=p,[4,f.newListAsync(a)];case 2:W.sent(),m.components.clear(),d=m.getDockRegion(m,!1),f.crossFreeSpace=s.templatePage.width-(o.left+d.left),f.freeSpace=d.height,f.positionX=d.left,f.positionY=d.top,W.label=3;case 3:W.trys.push([3,8,9,10]),g=__values(o.components.list),S=g.next(),W.label=4;case 4:if(S.done)return[3,7];if((y=S.value).parentBookmark=o.currentBookmark,y.componentType!=i.Master)return[3,6];if(y.stimulsoft.is(t.Report.Components.StiCrossDataBand)&&(h=!0),null==(A=y.stimulsoft.as(n)))return[3,6];return[4,A.renderMasterAsync()];case 5:W.sent(),W.label=6;case 6:return S=g.next(),[3,4];case 7:return[3,10];case 8:return b=W.sent(),O={error:b},[3,10];case 9:try{S&&!S.done&&(_=g.return)&&_.call(g)}finally{if(O)throw O.error}return[7];case 10:return[4,f.finalClearAsync()];case 11:if(W.sent(),f.parserConversionStore=null,f.hashParentStyles=null,h){I=0;try{for(T=__values(m.components.list),E=T.next();!E.done;E=T.next())B=E.value,I=Math.max(B.right,I)}catch(t){H={error:t}}finally{try{E&&!E.done&&(Q=T.return)&&Q.call(T)}finally{if(H)throw H.error}}R=1;do{if(D=s.templatePage.width*R,I+r.left<=D)break;R++}while(1==1);r.containerInfo.setSegmentPerWidth=R}else{v=f.positionBottomY-f.positionY,r.bottom-f.positionY>p-f.positionBottomY&&!o.canShrink&&(v=p-r.height);try{for(C=__values(m.components.list),w=C.next();!w.done;w=C.next())(B=w.value).top>=f.positionY&&B.top-v>=0&&(B.top-=v)}catch(t){j={error:t}}finally{try{w&&!w.done&&(G=C.return)&&G.call(C)}finally{if(j)throw j.error}}}if(r.components.addRange(m.components),!h)try{for(P=__values(r.components.list),x=P.next();!x.done;x=P.next())if((B=x.value).right>r.width&&(B.width=r.width-B.left),null!=(F=B.stimulsoft.as(l)))try{for(U=void 0,N=__values(F.components.list),k=N.next();!k.done;k=N.next())(M=k.value).left>r.width&&(M.left=r.width),M.right+B.left>r.width&&(M.width=r.width-(M.left+B.left))}catch(t){U={error:t}}finally{try{k&&!k.done&&(J=N.return)&&J.call(N)}finally{if(U)throw U.error}}}catch(t){L={error:t}}finally{try{x&&!x.done&&(Y=P.return)&&Y.call(P)}finally{if(L)throw L.error}}return[3,13];case 12:return o.report.engine=s,null!=o.report.engine.page&&(o.report.engine.page.pageInfo.positionFromTop=u,o.report.engine.page.pageInfo.positionFromBottom=c),[7];case 13:return[2]}}))}))},c.renderDataBandsInContainer=function(r,o,a){var s,u,c,p,h,m,f,d,g,S;void 0===a&&(a=!1),r.canGrow=!0;var y=o.report.engine,A=0,b=0;null!=o.report.engine.page&&(A=o.report.engine.page.pageInfo.positionFromTop,b=o.report.engine.page.pageInfo.positionFromBottom);try{var v=1e11,C=!1,w=new l;w.width=o.width,w.height=v;var B=new e.StiEngine(o.report);B.denyChangeThread=!0,B.parserConversionStore=o.report.engine.parserConversionStore.clone(),null!=o.report.engine.hashDataSourceReferencesCounter&&(B.hashDataSourceReferencesCounter=o.report.engine.hashDataSourceReferencesCounter.clone()),null!=o.report.engine.hashParentStyles&&o.report.engine.hashParentStyles.count>0&&(B.hashParentStyles=o.report.engine.hashParentStyles.clone()),B.page=o.report.engine.page,B.templatePage=o.report.engine.templatePage,B.templateContainer=o,B.containerForRender=w,o.report.engine=B,B.setNewPageParameters(),B.freeSpace=v,B.positionBottomY=v,B.newList(a),w.components.clear();var I=w.getDockRegion(w,!1);B.crossFreeSpace=y.templatePage.width-(o.left+I.left),B.freeSpace=I.height,B.positionX=I.left,B.positionY=I.top;try{for(var T=__values(o.components.list),E=T.next();!E.done;E=T.next()){var R=E.value;if(R.parentBookmark=o.currentBookmark,R.componentType==i.Master){R.stimulsoft.is(t.Report.Components.StiCrossDataBand)&&(C=!0);var D=R.stimulsoft.as(n);null!=D&&D.renderMaster()}}}catch(t){s={error:t}}finally{try{E&&!E.done&&(u=T.return)&&u.call(T)}finally{if(s)throw s.error}}if(B.finalClear(),B.parserConversionStore=null,B.hashParentStyles=null,C){var P=0;try{for(var x=__values(w.components.list),F=x.next();!F.done;F=x.next()){var N=F.value;P=Math.max(N.right,P)}}catch(t){h={error:t}}finally{try{F&&!F.done&&(m=x.return)&&m.call(x)}finally{if(h)throw h.error}}var k=1;do{var M=y.templatePage.width*k;if(P+r.left<=M)break;k++}while(1==1);r.containerInfo.setSegmentPerWidth=k}else{var O=B.positionBottomY-B.positionY;r.bottom-B.positionY>v-B.positionBottomY&&!o.canShrink&&(O=v-r.height);try{for(var _=__values(w.components.list),j=_.next();!j.done;j=_.next()){var N;(N=j.value).top>=B.positionY&&N.top-O>=0&&(N.top-=O)}}catch(t){c={error:t}}finally{try{j&&!j.done&&(p=_.return)&&p.call(_)}finally{if(c)throw c.error}}}if(r.components.addRange(w.components),!C)try{for(var G=__values(r.components.list),H=G.next();!H.done;H=G.next()){var N;(N=H.value).right>r.width&&(N.width=r.width-N.left);var Q=N.stimulsoft.as(l);if(null!=Q)try{for(var L=(g=void 0,__values(Q.components.list)),Y=L.next();!Y.done;Y=L.next()){var U=Y.value;U.left>r.width&&(U.left=r.width),U.right+N.left>r.width&&(U.width=r.width-(U.left+N.left))}}catch(t){g={error:t}}finally{try{Y&&!Y.done&&(S=L.return)&&S.call(L)}finally{if(g)throw g.error}}}}catch(t){f={error:t}}finally{try{H&&!H.done&&(d=G.return)&&d.call(G)}finally{if(f)throw f.error}}}finally{o.report.engine=y,null!=o.report.engine.page&&(o.report.engine.page.pageInfo.positionFromTop=A,o.report.engine.page.pageInfo.positionFromBottom=b)}},c.specialSubReportHeight=1e11,c}();e.StiSubReportsHelper=c}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.System.Drawing.Color,s=t.Base.StiJsonReportObjectHelper,l=function(r){function l(){var t=null!==r&&r.apply(this,arguments)||this;return t.backColor=a.transparent,t.cellBackColor=a.white,t.alternatingCellBackColor=o.fromHtml("#eee"),t.alternatingCellForeColor=o.fromHtml("#323a45"),t.selectedCellBackColor=i.light(o.fromHtml("#3498db"),30),t.selectedCellForeColor=a.white,t.columnHeaderBackColor=o.fromHtml("#3498db"),t.columnHeaderForeColor=o.fromHtml("#fff"),t.rowHeaderBackColor=o.fromHtml("#3498db"),t.rowHeaderForeColor=o.fromHtml("#eee"),t.hotColumnHeaderBackColor=i.dark(o.fromHtml("#3498db"),30),t.hotRowHeaderBackColor=i.dark(o.fromHtml("#3498db"),30),t.cellForeColor=o.fromHtml("#323a45"),t.lineColor=a.white,t}return __extends(l,r),l.prototype.saveToJsonObject=function(t){var e=r.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("BackColor",s.Serialize.jColor(this.backColor,a.transparent)),e.addPropertyStringNullOrEmpty("CellBackColor",s.Serialize.jColor(this.cellBackColor,a.white)),e.addPropertyStringNullOrEmpty("AlternatingCellBackColor",s.Serialize.jColor(this.alternatingCellBackColor,o.fromHtml("#eee"))),e.addPropertyStringNullOrEmpty("AlternatingCellForeColor",s.Serialize.jColor(this.alternatingCellForeColor,o.fromHtml("#323a45"))),e.addPropertyStringNullOrEmpty("SelectedCellBackColor",s.Serialize.jColor(this.selectedCellBackColor,i.light(o.fromHtml("#3498db"),30))),e.addPropertyStringNullOrEmpty("SelectedCellForeColor",s.Serialize.jColor(this.selectedCellForeColor,a.white)),e.addPropertyStringNullOrEmpty("ColumnHeaderBackColor",s.Serialize.jColor(this.columnHeaderBackColor,o.fromHtml("#3498db"))),e.addPropertyStringNullOrEmpty("ColumnHeaderForeColor",s.Serialize.jColor(this.columnHeaderForeColor,o.fromHtml("#fff"))),e.addPropertyStringNullOrEmpty("RowHeaderBackColor",s.Serialize.jColor(this.rowHeaderBackColor,o.fromHtml("#3498db"))),e.addPropertyStringNullOrEmpty("RowHeaderForeColor",s.Serialize.jColor(this.rowHeaderForeColor,o.fromHtml("#eee"))),e.addPropertyStringNullOrEmpty("HotColumnHeaderBackColor",s.Serialize.jColor(this.hotColumnHeaderBackColor,i.dark(o.fromHtml("#3498db"),30))),e.addPropertyStringNullOrEmpty("HotRowHeaderBackColor",s.Serialize.jColor(this.hotRowHeaderBackColor,i.dark(o.fromHtml("#3498db"),30))),e.addPropertyStringNullOrEmpty("CellForeColor",s.Serialize.jColor(this.cellForeColor,o.fromHtml("#323a45"))),e.addPropertyStringNullOrEmpty("LineColor",s.Serialize.jColor(this.lineColor,a.white)),e},l.prototype.loadFromJsonObject=function(t){var e,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"BackColor":this.backColor=s.Deserialize.color(a.value);break;case"CellBackColor":this.cellBackColor=s.Deserialize.color(a.value);break;case"AlternatingCellBackColor":this.alternatingCellBackColor=s.Deserialize.color(a.value);break;case"AlternatingCellForeColor":this.alternatingCellForeColor=s.Deserialize.color(a.value);break;case"SelectedCellBackColor":this.selectedCellBackColor=s.Deserialize.color(a.value);break;case"SelectedCellForeColor":this.selectedCellForeColor=s.Deserialize.color(a.value);break;case"ColumnHeaderBackColor":this.columnHeaderBackColor=s.Deserialize.color(a.value);break;case"ColumnHeaderForeColor":this.columnHeaderForeColor=s.Deserialize.color(a.value);break;case"RowHeaderBackColor":this.rowHeaderBackColor=s.Deserialize.color(a.value);break;case"RowHeaderForeColor":this.rowHeaderForeColor=s.Deserialize.color(a.value);break;case"HotColumnHeaderBackColor":this.hotColumnHeaderBackColor=s.Deserialize.color(a.value);break;case"HotRowHeaderBackColor":this.hotRowHeaderBackColor=s.Deserialize.color(a.value);break;case"CellForeColor":this.cellForeColor=s.Deserialize.color(a.value);break;case"LineColor":this.lineColor=s.Deserialize.color(a.value);break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var e=0;e=0&&i.crossTabStyleIndex=StiOptions.Designer.CrossTab.styleColors.length?this._crossTabStyleIndex=StiOptions.Designer.CrossTab.styleColors.length-1:this._crossTabStyleIndex=t,this.isDesigning&&null!=this.report&&!this.report.isSerializing&&this.updateStyles())},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"crossTabStyleColor",{get:function(){return this._crossTabStyleColor},set:function(t){this._crossTabStyleColor!=t&&(this._crossTabStyleColor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"crossTabStyle",{get:function(){return this.componentStyle},set:function(t){this.componentStyle=t},enumerable:!1,configurable:!0}),F.prototype.setComponentStyle=function(t){var e,r;if(null==t&&(t=""),x.prototype.getComponentStyle.call(this)!=t){x.prototype.setComponentStyle.call(this,t),this._crossTabStyleColor=null,this._crossTabStyleIndex=-1,this.updateStyles();try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o;i.value.componentStyle=this.componentStyle}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}},F.prototype.updateStyles=function(){var t,e;try{for(var r=__values(this.components.toCast()),n=r.next();!n.done;n=r.next()){var i=n.value;this.applyFieldStyle(i)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},F.prototype.getCellColor=function(){if(null!=this.crossTabStyleColor&&this.crossTabStyleColor.stimulsoft.is(h))return this.crossTabStyleColor;if(!n.isNullOrEmpty(this.crossTabStyle)&&null!=this.report){var t=this.report.styles.getByName(this.crossTabStyle).stimulsoft.as(o);if(null!=t)return t.color}if(-1!=this.crossTabStyleIndex)return StiOptions.Designer.CrossTab.styleColors[this.crossTabStyleIndex];return h.white},F.prototype.applyFieldStyle=function(t){null!=t&&(t.brush=new m(h.white),t.border.color=f.dark(this.getCellColor(),100),(t.stimulsoft.is(r.StiCrossTitle)||t.stimulsoft.is(r.StiCrossRow)||t.stimulsoft.is(r.StiCrossColumn)||t.stimulsoft.is(r.StiCrossSummaryHeader))&&(t.brush=new m(this.getCellColor()),t.textBrush=new m(f.dark(this.getCellColor(),150))),t.stimulsoft.is(r.StiCrossTotal)&&(t.brush=new m(f.light(this.getCellColor(),50))),t.stimulsoft.is(r.StiCrossSummary)&&(t.brush=new m(f.light(this.getCellColor(),100))))},Object.defineProperty(F.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"printTitleOnAllPages",{get:function(){return this._printTitleOnAllPages},set:function(t){this._printTitleOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"summaryDirection",{get:function(){return this._summaryDirection},set:function(t){this._summaryDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"keepCrossTabTogether",{get:function(){return this._keepCrossTabTogether},set:function(t){this._keepCrossTabTogether=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"emptyValue",{get:function(){return this._emptyValue},set:function(t){this._emptyValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"wrap",{get:function(){return this._wrap},set:function(t){this._wrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"wrapGap",{get:function(){return this._wrapGap},set:function(t){this._wrapGap=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},enumerable:!1,configurable:!0}),F.prototype.createNew=function(){return new F},F}(b);r.StiCrossTab=x}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.Base.Helpers.StiValueHelper,i=t.Base.Drawing.StiSolidBrush,o=t.Base.Drawing.StiFontUtils,a=t.Report.Components.StiDataHelper,s=t.Report.Components.StiImageHelper,l=t.Base.Drawing.StiBorder,u=t.Base.Drawing.StiBorderSides,c=t.Report.Events.StiGetValueEventArgs,p=t.Report.CrossTab.Core.StiCross,h=t.Report.Components.StiComponentsCollection,m=t.System.Data.DataColumn,f=t.System.Data.DataTable,d=t.Report.Components.StiDataBand,g=t.System.Drawing.Size,S=t.Report.Components.StiText,y=t.Report.Components.StiImage,A=t.Report.CrossTab.Core.StiCell,b=t.System.Drawing.Rectangle,v=t.Base.StiAlignValue,C=t.System.Collections.Hashtable,w=t.Base.StiGuidUtils,B=function(){function t(){}return t.getCellRect=function(t,e,r){for(var n=0,i=0,o=t.crossTabInfo.cross.cells[e][r],a=e;a1||A.height>1||!A.isNumeric||A.field.stimulsoft.is(e.StiCrossHeader)?A.field.clone(!0).stimulsoft.as(e.StiCrossField):A.field).stimulsoft.as(e.StiCrossHeader);null!=I&&(I.headerLevel=A.level,I.headerValue=null!=A.value?A.value.toString():null),B.border=A.field.border.clone().stimulsoft.as(l),B.maxSize=new g(0,0),B.minSize=new g(0,0),B.guid=w.newGuid(),A.height>1&&(B.canBreak=!0)}else A.width<=1&&A.height<=1||((B=new S).border.side=u.All);A.isNegativeColor&&(B.textBrush=new i(StiOptions.Engine.negativeColor)),null!=B&&(B.setTextInternal(A.text),v=B)}null!=v&&(v.hyperlinkValue=A.hyperlinkValue,v.toolTipValue=A.toolTipValue,v.tagValue=A.tagValue,v.drillDownParameters=A.drillDownParameters,A.field.stimulsoft.is(e.StiCrossColumn)||A.field.stimulsoft.is(e.StiCrossHeader)?StiOptions.Export.optimizeDataOnlyMode?v.componentPlacement="d":v.componentPlacement="h":A.field.stimulsoft.is(e.StiCrossTitle)?v.componentPlacement="h":v.componentPlacement="d",v.componentPlacement.length>0&&null!=A.field&&null!=A.field.parent&&(v.componentPlacement+="."+A.field.parent.name),r.components.add(v));var T=d+A.width,E=f+A.height;T>a&&(T=a),E>c&&(E=c);for(var R=d;Rn.width)break;o++}return o==r&&o+1<=i&&o++,o},t.getEndRow=function(t,e,r){for(var n=t.crossTabInfo.cross.rowCount,i=e,o=0,a=e;ar.height)break;i++}return i==e&&i+1<=n&&i++,i},t.getPageSegmentsRequired=function(t){if(t.horAlignment==e.StiCrossHorAlignment.Width||t.wrap)return 1;for(var r=t.crossTabInfo.cross,n=t.page,i=n.pageWidth-n.margins.left-n.margins.right,o=1,a=0,s=0;s1&&null!=u&&u.keepMergedCellsTogether&&(a=Math.max(a,u.height-l.height+1))}return Math.max(r-a,e+1)},t.isColFieldsEmpty=function(t){return 1==t.crossTabInfo.cross.colFields.count&&t.crossTabInfo.cross.colFields.getByIndex(0).name==p.emptyField},t.isRowFieldsEmpty=function(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==p.emptyField},t.createCross=function(t){a.setData(t,!0,t.parent.stimulsoft.as(d)),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()},t.makeRightToLeft=function(t){for(var e=t.crossTabInfo.cross,n=r.create(Array,e.colCount),i=0;i1&&!a.isChangeWidthForRightToLeft){var l=0;s.contains(a.text)?(l=Math.trunc(s.get(a.text)),2==a.width&&s.remove(a.text)):(l=i,s.set(a.text,i));var u=n[e.colCount-l-a.width][o];a.isChangeWidthForRightToLeft=!0,u.isChangeWidthForRightToLeft=!0,n[e.colCount-l-a.width][o]=a,n[e.colCount-i-1][o]=u}}else if(null!=(a=n[i][o])&&a.width>1){var u=n[i-a.width+1][o];n[i-a.width+1][o]=a,n[i][o]=u}}s.clear(),e.cells=n;for(var c=new h,i=e.colFields.count-1;i>=0;i--)c.add(e.colFields.getByIndex(i))},t.calculateMaxAndMin=function(t,e,r,n){var i=e.ref,o=r.ref;i=0,o=0;for(var a=n;a=1&&(i-=n?1:0),t.inflate(Math.ceil(-i*r),Math.ceil(-i*r)),t},t.getBorderContentRect3=function(t,e,r,n){void 0===n&&(n=!0);var i=e.getSizeIncludingSide();return i>=1&&(i-=n?1:0),t.inflate(Math.ceil(-i*r),Math.ceil(-i*r)),t},t}();e.StiBorderElementHelper=n}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Components.StiComponent,o=t.System.Collections.List,a=function(){function t(){}return t.isCrossLinkedFilter=function(t){if(null==t)return!1;var r=t.stimulsoft.as(i).page.getComponents().toList().where((function(t){return t.stimulsoft.is(e.IStiFilterElement)}));if(null==r)return!1;var a=new o,s=function(){var e=t.getParentKey();if(n.isNullOrWhiteSpace(e))return{value:!1};if(null==(t=r.cast().firstOrDefault((function(t){return null!=t&&t.getKey()==e}))))return{value:!1};if(a.contains(t))return{value:!0};a.add(t)};while(1){var l=s();if("object"==typeof l)return l.value}},t}();r.StiCrossLinkedFilterHelper=a}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Drawing.Image,i=t.Report.Helpers.StiHyperlinkProcessor,o=t.System.Collections.Dictionary,a=t.Base.StiKeyHelper,s=function(){function t(){}return t.get=function(t,e){var r=this.getCacheKey(t,e),o=this.cache.contains(r)?this.getFromCache(r,e):null;if(null==o)return null==(o=i.getImage(e,t))&&(o=new n),this.addToCache(t,o,e),o;return o},t.getCacheKey=function(t,e){e.setKey(a.getOrGeneratedKey(e.getKey()));var n=e.getKey();return null==n&&(n=""),r.isNullOrWhiteSpace(t)?n+".0":n+"."+t},t.getFromCache=function(t,e){var r=this.getCacheKey(t,e);return this.cache.contains(r)?this.cache.get(r):null},t.addToCache=function(t,e,r){var i=this.getCacheKey(t,r);null==e&&(e=new n),this.cache.set(i,e)},t.clean=function(t){var e=this;null==t?this.cache.clear():this.cache.keys.where((function(e){return e.stimulsoft.startsWith(t)})).forEach((function(t){return e.cache.remove(t)}),this)},t.cache=new o,t}();e.StiDashboardImageHyperlinkCache=s}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Collections.List,n=function(){function t(){}return t.getSettingsPath=function(){return""},t.getNewSettingsPath=function(){return""},t.save=function(){if(null==this.dbsFiles)return!1;try{}catch(t){return!0}return!0},t.load=function(){if(null!=this.dbsFiles)return;try{var t=this.getNewSettingsPath()}catch(t){}if(null==this.dbsFiles||null==this.reportFiles)try{var t=this.getSettingsPath()}catch(t){}null==this.dbsFiles&&(this.dbsFiles=new r),null==this.reportFiles&&(this.reportFiles=new r)},t.add=function(t,e,r){if(void 0===r&&(r=!0),null==t||null==e)return;this.load();var n=!1,i=e.toLowerCase();t.pages.containsDashboards?(this.dbsFiles.contains(i)||(this.dbsFiles.add(i),n=!0),this.reportFiles.contains(i)&&(this.reportFiles.remove(i),n=!0)):(this.reportFiles.contains(i)||(this.reportFiles.add(i),n=!0),this.dbsFiles.contains(i)&&(this.dbsFiles.remove(i),n=!0)),n&&r&&this.save()},t.add2=function(t,e,r){if(void 0===r&&(r=!0),null==e)return;this.load();var n=!1,i=e.toLowerCase();t?(this.dbsFiles.contains(i)||(this.dbsFiles.add(i),n=!0),this.reportFiles.contains(i)&&(this.reportFiles.remove(i),n=!0)):(this.reportFiles.contains(i)||(this.reportFiles.add(i),n=!0),this.dbsFiles.contains(i)&&(this.dbsFiles.remove(i),n=!0)),n&&r&&this.save()},t.remove=function(t){if(null==t)return;this.load();var e=t.toLowerCase(),r=!1;this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),r=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),r=!0),r&&this.save()},t.containsDbs=function(t){if(null==t)return!1;return this.load(),this.dbsFiles.contains(t.toLowerCase())},t.containsFile=function(t){if(null==t)return!1;this.load();var e=t.toLowerCase();if(this.dbsFiles.contains(e))return!0;if(this.reportFiles.contains(e))return!0;return!1},t.dbsFiles=null,t.reportFiles=null,t}();e.StiDashboardRecentHelper=n}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.factor=function(t){return 1},t}();t.StiElementScale=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Point,n=function(){function t(){}return t.setMouseOverPoint=function(t,e){this.indicatorElement=t,this.mouseOverPoint=e},t.getMouseOverPoint=function(t,e){if(void 0===e&&(e=!1),null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&null!=this.mouseOverPoint)return e?new r(this.mouseOverPoint.x*t.zoom,this.mouseOverPoint.y*t.zoom):this.mouseOverPoint;return null},t.resetMouseOverPoint=function(t){null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&(this.indicatorElement=null,this.mouseOverPoint=null)},t}();e.StiIndicatorElementMouseOverHelper=n}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(){function r(){}return r.applyMargin=function(r,n,i){null==i&&(i=e.StiElementScale.factor(r));var o=r.stimulsoft.as(t.IStiMargin).margin;if(null==o)return n;return n.x+=o.left*i,n.y+=o.top*i,n.width-=o.left*i+o.right*i,n.height-=o.top*i+o.bottom*i,n},r}();e.StiMarginHelper=r}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(){function r(){}return r.applyPadding=function(r,n,i){null==i&&(i=e.StiElementScale.factor(r));var o=r.stimulsoft.as(t.IStiPadding).padding;if(null==o)return n;return n.x+=o.left*i,n.y+=o.top*i,n.width-=o.left*i+o.right*i,n.height-=o.top*i+o.bottom*i,n},r}();e.StiPaddingHelper=r}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n=t.Data.Engine.StiDataTopNMode,i=t.Data.Engine.IStiDataTopN,o=function(){function t(){}return t.isAllowUserSorting=function(t){var r,o,a,s=t.stimulsoft.as(i);if(null!=s&&s.topN.mode!=n.None)return!1;var l=t.stimulsoft.as(e.IStiElementInteraction);if(null!=l){var u=l.dashboardInteraction.stimulsoft.as(e.IStiAllowUserSortingDashboardInteraction);if(null!=u&&!u.allowUserSorting)return!1}var c=t.stimulsoft.as(e.IStiChartElement);if(null!=c)return c.isAxisAreaChart||c.isPieChart||c.isDoughnutChart;if(t.stimulsoft.is(e.IStiChartElement))return!0;if(t.stimulsoft.is(e.IStiGaugeElement)&&null!=(null===(r=t)||void 0===r?void 0:r.getSeries()))return!0;if(t.stimulsoft.is(e.IStiProgressElement)&&null!=(null===(o=t)||void 0===o?void 0:o.getSeries()))return!0;if(t.stimulsoft.is(e.IStiIndicatorElement)&&null!=(null===(a=t)||void 0===a?void 0:a.getSeries()))return!0;return!1},t}();r.StiSortMenuHelper=o}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.System.EventArgs);e.StiTableElementClickEventArgs=n}(r=e.Helpers||(e.Helpers={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiTableElementClickRightHelper=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiTableElementMouseOverHelper=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiTablePartDrawer=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiTableSizer=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.drawBox=function(t,e,r,n){},e.prototype.drawStyle=function(t,e,r,n){},e.prototype.getStyleFromComponent=function(t,e){},e.prototype.setStyleToComponent=function(t){},e}(t.Report.Styles.StiBaseStyle);e.StiElementStyle=n}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Font,n=t.Base.Drawing.StiColorUtils,i=t.System.Drawing.Color,o=t.Base.Dashboard.StiElementConsts,a=t.System.Drawing.ColorTranslator,s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.backColor=o.BackgroundColor,e.foreColor=o.ForegroundColor,e.glyphColor=i.dimGray,e.separatorColor=i.lightGray,e.selectedBackColor=a.fromHtml("#3498db"),e.selectedForeColor=i.white,e.selectedGlyphColor=i.white,e.hotBackColor=n.light(i.lightGray,15),e.hotForeColor=o.ForegroundColor,e.hotGlyphColor=o.ForegroundColor,e.hotSelectedBackColor=n.light(a.fromHtml("#3498db"),30),e.hotSelectedForeColor=i.white,e.hotSelectedGlyphColor=i.white,e.font=new r("Arial",8),e}return __extends(e,t),e}(e.StiElementStyle);e.StiControlElementStyle=s}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColor,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.backColor=i.get("f2f5fc"),e.foreColor=i.get("1e1e1e"),e.glyphColor=i.get("1e1e1e"),e.separatorColor=i.get("c0cae9"),e.selectedBackColor=i.get("40568d"),e.selectedForeColor=i.get("e4ffff"),e.selectedGlyphColor=i.get("e4ffff"),e.hotBackColor=i.get("f5cc84"),e.hotForeColor=i.get("1e1e1e"),e.hotGlyphColor=i.get("1e1e1e"),e.hotSelectedBackColor=i.get("5d6b99"),e.hotSelectedForeColor=i.get("e4ffff"),e.hotSelectedGlyphColor=i.get("e4ffff"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiAliceBlueControlElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiBlueControlElementStyle=o}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(r){var n=function(r){function n(e){var n=r.call(this)||this;return n.ident=t.Report.Dashboard.StiElementStyleIdent.Custom,n.font=e.font,n.styleName=e.name,n.backColor=e.backColor,n.foreColor=e.foreColor,n.glyphColor=e.glyphColor,n.hotBackColor=e.hotBackColor,n.hotForeColor=e.hotForeColor,n.hotGlyphColor=e.hotGlyphColor,n.hotSelectedBackColor=e.hotSelectedBackColor,n.hotSelectedForeColor=e.hotSelectedForeColor,n.hotSelectedGlyphColor=e.hotSelectedGlyphColor,n.selectedBackColor=e.selectedBackColor,n.selectedForeColor=e.selectedForeColor,n.selectedGlyphColor=e.selectedGlyphColor,n.separatorColor=e.separatorColor,n}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return this.styleName},enumerable:!1,configurable:!0}),n}(r.StiControlElementStyle);r.StiCustomControlElementStyle=n}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.separatorColor=a.fromHtml("#758696"),e.backColor=a.fromHtml("#0a325a"),e.foreColor=a.fromHtml("#ccc"),e.glyphColor=a.fromHtml("#eee"),e.selectedBackColor=i.light(a.fromHtml("#0a325a"),20),e.selectedForeColor=a.fromHtml("#eee"),e.selectedGlyphColor=a.fromHtml("#eee"),e.hotBackColor=i.dark(a.fromHtml("#0a325a"),10),e.hotForeColor=a.fromHtml("#eee"),e.hotGlyphColor=a.fromHtml("#eee"),e.hotSelectedBackColor=i.light(a.fromHtml("#0a325a"),40),e.hotSelectedForeColor=a.fromHtml("#eee"),e.hotSelectedGlyphColor=a.fromHtml("#ddd"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiDarkBlueControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.backColor=o.fromHtml("#595b65"),e.foreColor=o.fromHtml("#ddd"),e.selectedBackColor=o.fromHtml("#db7b46"),e.selectedForeColor=o.fromHtml("#eee"),e.glyphColor=o.fromHtml("#db7b46"),e.separatorColor=o.fromHtml("#66d3d3d5"),e.selectedGlyphColor=o.fromHtml("#eee"),e.hotBackColor=i.dark(o.fromHtml("#db7b46"),10),e.hotForeColor=o.fromHtml("#eee"),e.hotGlyphColor=o.fromHtml("#eee"),e.hotSelectedBackColor=i.light(o.fromHtml("#db7b46"),50),e.hotSelectedForeColor=o.fromHtml("#eee"),e.hotSelectedGlyphColor=o.fromHtml("#ddd"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiDarkGrayControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.backColor=o.fromHtml("#3f745e"),e.foreColor=o.fromHtml("#f6f7f7"),e.selectedBackColor=o.fromHtml("#cf822e"),e.selectedForeColor=o.fromHtml("#f6f7f7"),e.glyphColor=o.fromHtml("#e3ba41"),e.separatorColor=o.fromHtml("#66d3d3d5"),e.selectedGlyphColor=o.fromHtml("#f6f7f7"),e.hotBackColor=i.dark(o.fromHtml("#cf822e"),10),e.hotForeColor=o.fromHtml("#f6f7f7"),e.hotGlyphColor=o.fromHtml("#f6f7f7"),e.hotSelectedBackColor=o.fromHtml("#c76858"),e.hotSelectedForeColor=o.fromHtml("#eeecdd"),e.hotSelectedGlyphColor=o.fromHtml("#eeecdd"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiDarkGreenControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.backColor=o.fromHtml("#235e6d"),e.foreColor=o.fromHtml("#fbffff"),e.selectedBackColor=o.fromHtml("#f0621e"),e.selectedForeColor=o.fromHtml("#eee"),e.glyphColor=o.fromHtml("#fbffff"),e.separatorColor=o.fromHtml("#aed2e5"),e.selectedGlyphColor=o.fromHtml("#fbffff"),e.hotBackColor=i.dark(o.fromHtml("#f0621e"),10),e.hotForeColor=o.fromHtml("#fbffff"),e.hotGlyphColor=o.fromHtml("#fbffff"),e.hotSelectedBackColor=i.light(o.fromHtml("#f0621e"),50),e.hotSelectedForeColor=o.fromHtml("#fbffff"),e.hotSelectedGlyphColor=o.fromHtml("#fbffff"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiDarkTurquoiseControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.selectedBackColor=a.fromHtml("#70ad47"),e.hotSelectedBackColor=i.light(a.fromHtml("#70ad47"),30),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiGreenControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange, e.selectedBackColor=a.fromHtml("#ed7d31"),e.hotSelectedBackColor=i.light(a.fromHtml("#ed7d31"),30),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiOrangeControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Drawing.StiColor,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.backColor=o.get("6d7e8b"),e.foreColor=o.get("e9f5fc"),e.glyphColor=o.get("e9f5fc"),e.separatorColor=o.get("e9f5fc"),e.selectedBackColor=o.get("3a5263"),e.selectedForeColor=o.get("e9f5fc"),e.selectedGlyphColor=o.get("e9f5fc"),e.hotBackColor=i.light(o.get("3a5263"),60),e.hotForeColor=o.get("e9f5fc"),e.hotGlyphColor=o.get("e9f5fc"),e.hotSelectedBackColor=i.light(o.get("3a5263"),30),e.hotSelectedForeColor=i.light(o.get("e9f5fc"),30),e.hotSelectedGlyphColor=i.light(o.get("e9f5fc"),30),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiSilverControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.backColor=a.fromHtml("#33475b"),e.foreColor=a.fromHtml("#ddd"),e.selectedBackColor=i.light(a.fromHtml("#33475b"),20),e.selectedForeColor=a.fromHtml("#eee"),e.glyphColor=a.fromHtml("#ddd"),e.separatorColor=a.fromHtml("#c0c0c0"),e.selectedGlyphColor=a.fromHtml("#eee"),e.hotBackColor=i.dark(a.fromHtml("#33475b"),10),e.hotForeColor=a.fromHtml("#eee"),e.hotGlyphColor=a.fromHtml("#eee"),e.hotSelectedBackColor=i.light(a.fromHtml("#33475b"),50),e.hotSelectedForeColor=a.fromHtml("#eee"),e.hotSelectedGlyphColor=a.fromHtml("#ddd"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiSlateGrayControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.selectedBackColor=a.fromHtml("#2ec6c8"),e.hotSelectedBackColor=i.light(a.fromHtml("#2ec6c8"),30),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiControlElementStyle);n.StiTurquoiseControlElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Color,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.backColor=r.white,e}return __extends(e,t),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this.titleBackColor},enumerable:!1,configurable:!0}),e.prototype.drawStyleForGallery=function(t,e){},e}(e.StiElementStyle);e.StiDashboardStyle=n}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.foreColor=o.get("3a3a3a"),e.backColor=o.get("f2f5fc"),e.titleBackColor=o.get("40568d"),e.titleForeColor=o.get("ffffff"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return o.get("40568d")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiAliceBlueDashboardStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e.foreColor=a.fromHtml("#3498db"),e.backColor=o.white,e.titleBackColor=a.fromHtml("#3498db"),e.titleForeColor=o.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiBlueDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.foreColor=o.fromHtml("#dddddd"),e.backColor=o.fromHtml("#1f4265"),e.titleBackColor=o.fromHtml("#0a325a"),e.titleForeColor=o.fromHtml("#dddddd"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiDarkBlueDashboardStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.Color,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.foreColor=o.fromHtml("#f1f1f1"),e.backColor=o.fromHtml("#595b65"),e.titleForeColor=o.fromHtml("#4a4c55"),e.titleBackColor=o.fromHtml("#db7b46"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiDarkGrayDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.Color,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.foreColor=o.fromHtml("#f3f7f7"),e.backColor=o.fromHtml("#144b45"),e.titleForeColor=o.fromHtml("#feedf6"),e.titleBackColor=o.fromHtml("#26775d"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiDarkGreenDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.foreColor=i.fromHtml("#f4fcff"),e.backColor=i.fromHtml("#2c8590"),e.titleForeColor=i.fromHtml("#f4fcff"),e.titleBackColor=i.fromHtml("#216275"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.fromHtml("#1c475c")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiDarkTurquoiseDashboardStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.foreColor=a.fromHtml("#70ad47"),e.backColor=o.white,e.titleBackColor=a.fromHtml("#70ad47"),e.titleForeColor=o.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiGreenDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange,e.foreColor=a.fromHtml("#ed7d31"),e.backColor=o.white,e.titleBackColor=a.fromHtml("#ed7d31"),e.titleForeColor=o.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiOrangeDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.foreColor=o.get("3a5263"),e.backColor=o.get("e9f5fc"),e.titleBackColor=o.get("3a5263"),e.titleForeColor=o.get("e9f5fc"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return o.get("3a5263")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiSilverDashboardStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.foreColor=o.white,e.backColor=a.fromHtml("#708090"),e.titleBackColor=a.fromHtml("#475b6f"),e.titleForeColor=o.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiSlateGrayDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.foreColor=a.fromHtml("#2ec6c8"),e.backColor=o.white,e.titleBackColor=a.fromHtml("#2ec6c8"),e.titleForeColor=o.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiDashboardStyle);n.StiTurquoiseDashboardStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Color,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.backColor=r.white,e.foreColor=r.white,e.hotBackColor=r.white,e.positiveColor=r.green,e.negativeColor=r.red,e}return __extends(e,t),e}(e.StiElementStyle);e.StiIndicatorElementStyle=n}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.glyphColor=o.get("40568d"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiAliceBlueIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e.glyphColor=o.fromHtml("#3498db"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiBlueIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(r){var n=function(r){function n(e){var n=r.call(this)||this;return n.ident=t.Report.Dashboard.StiElementStyleIdent.Custom,n.name=e.name,n.glyphColor=e.glyphColor,n.foreColor=e.foreColor,n.backColor=e.backColor,n.hotBackColor=e.hotBackColor,n.positiveColor=e.positiveColor,n.negativeColor=e.negativeColor,n}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),n}(r.StiIndicatorElementStyle);r.StiCustomIndicatorElementStyle=n}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.glyphColor=o.fromHtml("#165d9e"),e.backColor=o.fromHtml("#0a325a"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiDarkBlueIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColor,o=t.Base.Localization.StiLocalization,a=t.System.Drawing.Color,s=t.System.Drawing.ColorTranslator,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.glyphColor=s.fromHtml("#db7b46"),e.backColor=s.fromHtml("#595b65"),e.positiveColor=a.limeGreen,e.negativeColor=i.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiDarkGrayIndicatorElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColor,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.glyphColor=i.get("e1bb41"),e.backColor=i.get("3f745e"),e.positiveColor=i.get("e2ba41"),e.negativeColor=i.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiDarkGreenIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColor,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=t.Base.Localization.StiLocalization,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.glyphColor=a.fromHtml("#f0621e"),e.backColor=a.fromHtml("#235e6d"),e.positiveColor=o.limeGreen,e.negativeColor=i.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiDarkTurquoiseIndicatorElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.glyphColor=o.fromHtml("#70ad47"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiGreenIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange,e.glyphColor=o.fromHtml("#ed7d31"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiOrangeIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.glyphColor=o.get("3a5263"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiSilverIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.glyphColor=o.fromHtml("#0bac45"),e.backColor=o.fromHtml("#33475b"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiSlateGrayIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.glyphColor=o.fromHtml("#2ec6c8"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiIndicatorElementStyle);n.StiTurquoiseIndicatorElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.ColorTranslator,n=t.System.Drawing.Color,i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cellForeColor=r.fromHtml("#222"),e.selectedCellForeColor=r.fromHtml("#222"),e.alternatingCellForeColor=r.fromHtml("#222"),e.columnHeaderForeColor=n.white,e.rowHeaderForeColor=n.white,e.lineColor=n.gainsboro,e.backColor=n.white,e}return __extends(e,t),e}(e.StiElementStyle);e.StiPivotElementStyle=i}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.cellBackColor=o.get("#f2f5fc"),e.cellForeColor=o.get("#1e1e1e"),e.alternatingCellBackColor=o.get("#ccd5f0"),e.alternatingCellForeColor=o.get("#1e1e1e"),e.selectedCellBackColor=o.get("f5cc84"),e.selectedCellForeColor=o.get("1e1e1e"),e.columnHeaderBackColor=o.get("#5d6b99"),e.columnHeaderForeColor=o.get("#e4ffff"),e.rowHeaderBackColor=o.get("#5d6b99"),e.rowHeaderForeColor=o.get("#e4ffff"),e.hotColumnHeaderBackColor=a.light(o.get("#5d6b99"),30),e.hotRowHeaderBackColor=a.light(o.get("#5d6b99"),30),e.lineColor=o.get("c0cae9"),e.backColor=o.get("#595b65"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiAliceBluePivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#3498db"),30),e.selectedCellForeColor=s.white,e.columnHeaderBackColor=o.fromHtml("#3498db"),e.columnHeaderForeColor=o.fromHtml("#fff"),e.rowHeaderBackColor=o.fromHtml("#3498db"),e.rowHeaderForeColor=o.fromHtml("#eee"),e.hotColumnHeaderBackColor=a.dark(o.fromHtml("#3498db"),30),e.hotRowHeaderBackColor=a.dark(o.fromHtml("#3498db"),30),e.cellForeColor=o.fromHtml("#323a45"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiBluePivotElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r;!function(r){var n=function(r){function n(t){var n=r.call(this)||this;return n.ident=e.StiElementStyleIdent.Custom,n.name2=t.name,n.backColor=t.backColor,n.alternatingCellForeColor=t.alternatingCellForeColor,n.alternatingCellBackColor=t.alternatingCellBackColor,n.cellBackColor=t.cellBackColor,n.cellForeColor=t.cellForeColor,n.columnHeaderBackColor=t.columnHeaderBackColor,n.columnHeaderForeColor=t.columnHeaderForeColor,n.hotColumnHeaderBackColor=t.hotColumnHeaderBackColor,n.hotRowHeaderBackColor=t.hotRowHeaderBackColor,n.rowHeaderBackColor=t.rowHeaderBackColor,n.rowHeaderForeColor=t.rowHeaderForeColor,n.selectedCellBackColor=t.selectedCellBackColor,n.selectedCellForeColor=t.selectedCellForeColor,n.lineColor=t.lineColor,n}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiCustomDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return this.name2},enumerable:!1,configurable:!0}),n}(r.StiPivotElementStyle);r.StiCustomPivotElementStyle=n}(r=e.Styles||(e.Styles={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.cellBackColor=o.fromHtml("#1f4265"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#0a325a"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.selectedCellBackColor=a.light(o.fromHtml("#0a325a"),50),e.selectedCellForeColor=o.fromHtml("#eee"),e.columnHeaderBackColor=o.fromHtml("#0a325a"),e.columnHeaderForeColor=o.fromHtml("#ddd"),e.rowHeaderBackColor=o.fromHtml("#0a325a"),e.rowHeaderForeColor=o.fromHtml("#ddd"),e.hotColumnHeaderBackColor=a.light(o.fromHtml("#0a325a"),20),e.hotRowHeaderBackColor=a.light(o.fromHtml("#0a325a"),20),e.lineColor=o.fromHtml("#758696"),e.backColor=o.fromHtml("#0a325a"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiDarkBluePivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.cellBackColor=o.fromHtml("#595b65"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#6b6e75"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.selectedCellBackColor=o.fromHtml("#db7b46"),e.selectedCellForeColor=o.fromHtml("#eee"),e.columnHeaderBackColor=o.fromHtml("#6b6e75"),e.columnHeaderForeColor=o.fromHtml("#ddd"),e.rowHeaderBackColor=o.fromHtml("#6b6e75"),e.rowHeaderForeColor=o.fromHtml("#ddd"),e.hotColumnHeaderBackColor=i.light(o.fromHtml("#db7b46"),30),e.hotRowHeaderBackColor=i.light(o.fromHtml("#db7b46"),30),e.lineColor=o.fromHtml("#66d3d3d5"),e.backColor=o.fromHtml("#595b65"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiDarkGrayPivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.Base.Localization.StiLocalization,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.cellBackColor=o.fromHtml("#3f745e"),e.cellForeColor=o.fromHtml("#f6f3f5"),e.alternatingCellBackColor=o.fromHtml("#509190"),e.alternatingCellForeColor=o.fromHtml("#e3ba41"),e.selectedCellBackColor=o.fromHtml("#c87f2e"),e.selectedCellForeColor=o.fromHtml("#f5f0ea"),e.columnHeaderBackColor=o.fromHtml("#264945"),e.columnHeaderForeColor=o.fromHtml("#f2f6f6"),e.rowHeaderBackColor=o.fromHtml("#264945"),e.rowHeaderForeColor=o.fromHtml("#f2f6f6"),e.hotColumnHeaderBackColor=i.light(o.fromHtml("#264945"),30),e.hotRowHeaderBackColor=i.light(o.fromHtml("#264945"),30),e.lineColor=o.fromHtml("#66d3d3d5"),e.backColor=o.fromHtml("#595b65"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return a.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiDarkGreenPivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.cellBackColor=i.fromHtml("#235e6d"),e.cellForeColor=i.fromHtml("#fefdff"),e.alternatingCellBackColor=i.fromHtml("#215667"),e.alternatingCellForeColor=i.fromHtml("#fefdff"),e.selectedCellBackColor=i.fromHtml("#f0621e"),e.selectedCellForeColor=i.fromHtml("#1c445b"),e.columnHeaderBackColor=i.fromHtml("#2a7f9e"),e.columnHeaderForeColor=i.fromHtml("#fefdff"),e.rowHeaderBackColor=i.fromHtml("#2a7f9e"),e.rowHeaderForeColor=i.fromHtml("#fefdff"),e.hotColumnHeaderBackColor=i.fromHtml("#f0621e"),e.hotRowHeaderBackColor=i.fromHtml("#f0621e"),e.lineColor=i.fromHtml("#5da0b7"),e.backColor=i.fromHtml("#235e6d"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiDarkTurquoisePivotElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#70ad47"),30),e.selectedCellForeColor=s.white,e.columnHeaderBackColor=o.fromHtml("#70ad47"),e.rowHeaderBackColor=o.fromHtml("#70ad47"),e.hotColumnHeaderBackColor=a.light(o.fromHtml("#70ad47"),20),e.hotRowHeaderBackColor=a.light(o.fromHtml("#70ad47"),20),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiGreenPivotElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#ed7d31"),30),e.selectedCellForeColor=s.white,e.columnHeaderBackColor=o.fromHtml("#ed7d31"),e.rowHeaderBackColor=o.fromHtml("#ed7d31"),e.hotColumnHeaderBackColor=a.light(o.fromHtml("#ed7d31"),20),e.hotRowHeaderBackColor=a.light(o.fromHtml("#ed7d31"),20),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiOrangePivotElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.cellBackColor=o.get("#6d7e8b"),e.cellForeColor=o.get("#e9f5fc"),e.alternatingCellBackColor=o.get("#3a5263"),e.alternatingCellForeColor=o.get("#e9f5fc"),e.selectedCellBackColor=o.get("e9f5fc"),e.selectedCellForeColor=o.get("3a5263"),e.columnHeaderBackColor=o.get("#3a5263"),e.columnHeaderForeColor=o.get("#e9f5fc"),e.rowHeaderBackColor=o.get("#3a5263"),e.rowHeaderForeColor=o.get("#e9f5fc"),e.hotColumnHeaderBackColor=a.light(o.get("#6d7e8b"),30),e.hotRowHeaderBackColor=a.light(o.get("#6d7e8b"),30),e.lineColor=o.get("66e9f5fc"),e.backColor=o.get("#595b65"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiSilverPivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.cellBackColor=o.fromHtml("#475b6f"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#33475b"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.selectedCellBackColor=a.light(o.fromHtml("#33475b"),50),e.selectedCellForeColor=o.fromHtml("#eee"),e.columnHeaderBackColor=o.fromHtml("#33475b"),e.columnHeaderForeColor=o.fromHtml("#ddd"),e.rowHeaderBackColor=o.fromHtml("#33475b"),e.rowHeaderForeColor=o.fromHtml("#ddd"),e.hotColumnHeaderBackColor=a.light(o.fromHtml("#33475b"),20),e.hotRowHeaderBackColor=a.light(o.fromHtml("#33475b"),20),e.lineColor=o.fromHtml("#c0c0c0"),e.backColor=o.fromHtml("#33475b"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiSlateGrayPivotElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#2ec6c8"),30),e.selectedCellForeColor=s.white,e.columnHeaderBackColor=o.fromHtml("#2ec6c8"),e.rowHeaderBackColor=o.fromHtml("#2ec6c8"),e.hotColumnHeaderBackColor=a.light(o.fromHtml("#2ec6c8"),20),e.hotRowHeaderBackColor=a.light(o.fromHtml("#2ec6c8"),20),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiPivotElementStyle);n.StiTurquoisePivotElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Color,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.foreColor=r.transparent,e.backColor=r.white,e}return __extends(e,t),e}(e.StiElementStyle);e.StiProgressElementStyle=n}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.foreColor=o.get("e9f5fc"),e.trackColor=o.get("3a5263"),e.bandColor=o.get("e9f5fc"),e.seriesColors=[o.get("4569bb"),o.get("e47334"),o.get("9d9c9c"),o.get("f8b92d"),o.get("5e93cc"),o.get("6ea548")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiAliceBlueProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e.trackColor=o.fromHtml("#e7ebec"),e.bandColor=o.fromHtml("#3498db"),e.seriesColors=[o.fromHtml("#3498db"),o.fromHtml("#ef717a"),o.fromHtml("#6dcbb3"),o.fromHtml("#f28161"),o.fromHtml("#fccd1b")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiBlueProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(r){var n=function(r){function n(e){var n=r.call(this)||this;return n.ident=t.Report.Dashboard.StiElementStyleIdent.Custom,n.name=e.name,n.trackColor=e.trackColor,n.bandColor=e.bandColor,n.seriesColors=e.seriesColors,n.foreColor=e.foreColor,n.backColor=e.backColor,n}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),n}(r.StiProgressElementStyle);r.StiCustomProgressElementStyle=n}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.trackColor=o.fromHtml("#1f4265"),e.bandColor=o.fromHtml("#165d9e"),e.seriesColors=[o.fromHtml("#165d9e"),o.fromHtml("#577eb6"),o.fromHtml("#569436"),o.fromHtml("#225056"),o.fromHtml("#d4dae0")],e.backColor=o.fromHtml("#0a325a"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiDarkBlueProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.trackColor=i.fromHtml("#4a4c55"),e.bandColor=i.fromHtml("#6b6e75"),e.seriesColors=[i.fromHtml("#db7b46"),i.fromHtml("#d3d3d5"),i.fromHtml("#6b6e75"),i.fromHtml("#4a4c55")],e.backColor=i.fromHtml("#595b65"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiDarkGrayProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=t.Base.Drawing.StiColor,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.trackColor=i.fromHtml("#144b45"),e.bandColor=i.fromHtml("#3f745e"),e.seriesColors=[a.get("ecb92f"),a.get("d66153"),a.get("319491"),a.get("f7f7f7"),a.get("dd7c21")],e.backColor=i.fromHtml("#cf822e"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiDarkGreenProgressElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.trackColor=i.fromHtml("#1c445b"),e.bandColor=i.fromHtml("#f0621e"),e.seriesColors=[i.fromHtml("#99a8d7e2"),i.fromHtml("#995ea8bf"),i.fromHtml("#992b7f9e")],e.backColor=i.fromHtml("#235e6d"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiDarkTurquoiseProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.Drawing.ColorTranslator,o=t.Base.Localization.StiLocalization,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.trackColor=i.fromHtml("#e6e6e6"),e.bandColor=i.fromHtml("#70ad47"),e.seriesColors=[i.fromHtml("#70ad47"),i.fromHtml("#4472c4"),i.fromHtml("#ffc000"),i.fromHtml("#43682b"),i.fromHtml("#fd6a37"),i.fromHtml("#997300")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return o.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiGreenProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange,e.trackColor=o.fromHtml("#e6e6e6"),e.bandColor=o.fromHtml("#ed7d31"),e.seriesColors=[o.fromHtml("#ed7d31"),o.fromHtml("#ffc000"),o.fromHtml("#70ad47"),o.fromHtml("#9e480e"),o.fromHtml("#997300"),o.fromHtml("#43682b")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiOrangeProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.trackColor=o.get("3a5263"),e.bandColor=o.get("e9f5fc"),e.seriesColors=[o.get("73829a"),o.get("343c49"),o.get("4f737a"),o.get("cfd3dd")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiSilverProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.trackColor=o.fromHtml("#3b4d5f"),e.bandColor=o.fromHtml("#0BAC45"),e.seriesColors=[o.fromHtml("#0bac45"),o.fromHtml("#ec334d"),o.fromHtml("#a1ae94"),o.fromHtml("#ed7d31"),o.fromHtml("#5ab0ee"),o.fromHtml("#3dde77")],e.backColor=o.fromHtml("#33475b"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiSlateGrayProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.trackColor=o.fromHtml("#e6e6e6"),e.bandColor=o.fromHtml("#2ec6c8"),e.seriesColors=[o.fromHtml("#2ec6c8"),o.fromHtml("#b5a1dd"),o.fromHtml("#5ab0ee"),o.fromHtml("#f4984e"),o.fromHtml("#d77a80"),o.fromHtml("#d04456")],e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiProgressElementStyle);n.StiTurquoiseProgressElementStyle=a}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.ColorTranslator,n=t.System.Drawing.Color,i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cellForeColor=r.fromHtml("#222"),e.selectedCellBackColor=r.fromHtml("#3498db"),e.selectedCellForeColor=n.white,e.alternatingCellForeColor=r.fromHtml("#222"),e.headerForeColor=n.white,e.lineColor=n.gainsboro,e.footerColor=n.white,e.footerForeground=n.black,e.backColor=n.white,e.cellDataBarsOverlapped=n.fromArgb(255,51,94,150),e.cellDataBarsPositive=n.fromArgb(255,99,142,198),e.cellDataBarsNegative=n.fromArgb(255,255,0,0),e.cellWinLossPositive=n.fromArgb(255,99,142,198),e.cellWinLossNegative=n.fromArgb(255,255,0,0),e.cellSparkline=n.fromArgb(255,83,126,182),e.cellIndicatorPositive=n.green,e.cellIndicatorNegative=n.red,e.cellIndicatorNeutral=n.lightGray,e}return __extends(e,t),e}(e.StiElementStyle);e.StiTableElementStyle=i}(r=e.Styles||(e.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.AliceBlue,e.cellBackColor=o.get("#f2f5fc"),e.cellForeColor=o.get("#1e1e1e"),e.alternatingCellBackColor=o.get("#ccd5f0"),e.alternatingCellForeColor=o.get("#1e1e1e"),e.headerBackColor=o.get("#5d6b99"),e.headerForeColor=o.get("#e4ffff"),e.footerColor=o.get("#5d6b99"),e.footerForeground=o.get("#e4ffff"),e.selectedCellBackColor=o.get("f5cc84"),e.selectedCellForeColor=o.get("1e1e1e"),e.hotHeaderBackColor=a.light(o.get("#5d6b99"),30),e.lineColor=o.get("c0cae9"),e.backColor=o.get("#595b65"),e.cellDataBarsOverlapped=o.get("40568d"),e.cellDataBarsPositive=o.get("40568d"),e.cellDataBarsNegative=o.get("d43642"),e.cellWinLossPositive=o.get("40568d"),e.cellSparkline=o.get("273946"),e.cellIndicatorPositive=s.limeGreen,e.cellIndicatorNegative=o.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiAliceBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiAliceBlueTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.System.Drawing.Color,s=t.Base.Drawing.StiColorUtils,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Blue,e.cellBackColor=a.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.headerBackColor=o.fromHtml("#3498db"),e.headerForeColor=a.white,e.footerColor=o.fromHtml("#3498db"),e.footerForeground=a.white,e.cellForeColor=o.fromHtml("#323a45"),e.selectedCellBackColor=s.light(o.fromHtml("#3498db"),30),e.selectedCellForeColor=a.white,e.hotHeaderBackColor=s.dark(o.fromHtml("#3498db"),20),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiBlueTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r;!function(r){var n=function(r){function n(t){var n=r.call(this)||this;return n.ident=e.StiElementStyleIdent.Blue,n.name2=t.name,n.alternatingCellBackColor=t.alternatingDataColor,n.alternatingCellForeColor=t.alternatingDataForeground,n.cellBackColor=t.dataColor,n.cellForeColor=t.dataForeground,n.lineColor=t.gridColor,n.headerBackColor=t.headerColor,n.headerForeColor=t.headerForeground,n.hotHeaderBackColor=t.hotHeaderColor,n.selectedCellBackColor=t.selectedDataColor,n.selectedCellForeColor=t.selectedDataForeground,n.footerColor=t.footerColor,n.footerForeground=t.footerForeground,n}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return this.name2},enumerable:!1,configurable:!0}),n}(r.StiTableElementStyle);r.StiCustomTableElementStyle=n}(r=e.Styles||(e.Styles={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkBlue,e.cellBackColor=o.fromHtml("#1f4265"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#0a325a"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.headerBackColor=o.fromHtml("#0a325a"),e.headerForeColor=o.fromHtml("#ddd"),e.footerColor=o.fromHtml("#0a325a"),e.footerForeground=o.fromHtml("#ddd"),e.selectedCellBackColor=a.light(o.fromHtml("#0a325a"),50),e.selectedCellForeColor=o.fromHtml("#eee"),e.hotHeaderBackColor=a.light(o.fromHtml("#0a325a"),30),e.lineColor=o.fromHtml("#758696"),e.backColor=o.fromHtml("#0a325a"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiDarkBlueTableElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.System.Drawing.Color,s=t.Base.Drawing.StiColor,l=t.Base.Localization.StiLocalization,u=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGray,e.cellBackColor=o.fromHtml("#595b65"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#6b6e75"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.headerBackColor=o.fromHtml("#6b6e75"),e.headerForeColor=o.fromHtml("#ddd"),e.footerColor=o.fromHtml("#6b6e75"),e.footerForeground=o.fromHtml("#ddd"),e.selectedCellBackColor=o.fromHtml("#db7b46"),e.selectedCellForeColor=o.fromHtml("#eee"),e.hotHeaderBackColor=i.light(o.fromHtml("#db7b46"),30),e.lineColor=o.fromHtml("#66d3d3d5"),e.backColor=o.fromHtml("#595b65"),e.cellDataBarsOverlapped=s.get("db7b46"),e.cellDataBarsPositive=s.get("db7b46"),e.cellDataBarsNegative=s.get("dd5555"),e.cellWinLossPositive=s.get("db7b46"),e.cellSparkline=s.get("db7b46"),e.cellIndicatorPositive=a.limeGreen,e.cellIndicatorNegative=s.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGrayDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiDarkGrayTableElementStyle=u}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Drawing.StiColorUtils,o=t.System.Drawing.ColorTranslator,a=t.System.Drawing.Color,s=t.Base.Drawing.StiColor,l=t.Base.Localization.StiLocalization,u=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkGreen,e.cellBackColor=o.fromHtml("#3f745e"),e.cellForeColor=o.fromHtml("#f6f3f5"),e.alternatingCellBackColor=o.fromHtml("#509190"),e.alternatingCellForeColor=o.fromHtml("#e3ba41"),e.headerBackColor=o.fromHtml("#264945"),e.headerForeColor=o.fromHtml("#f2f6f6"),e.footerColor=o.fromHtml("#3f745e"),e.footerForeground=o.fromHtml("#f2f6f6"),e.selectedCellBackColor=o.fromHtml("#c87f2e"),e.selectedCellForeColor=o.fromHtml("#f5f0ea"),e.hotHeaderBackColor=i.light(o.fromHtml("#db7b46"),30),e.lineColor=o.fromHtml("#66d3d3d5"),e.backColor=o.fromHtml("#595b65"),e.cellDataBarsOverlapped=s.get("db7b46"),e.cellDataBarsPositive=s.get("db7b46"),e.cellDataBarsNegative=s.get("dd5555"),e.cellWinLossPositive=s.get("db7b46"),e.cellSparkline=s.get("db7b46"),e.cellIndicatorPositive=a.limeGreen,e.cellIndicatorNegative=s.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkGreenDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiDarkGreenTableElementStyle=u}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.System.Drawing.Color,s=t.Base.Drawing.StiColor,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.DarkTurquoise,e.cellBackColor=o.fromHtml("#235e6d"),e.cellForeColor=o.fromHtml("#fefdff"),e.alternatingCellBackColor=o.fromHtml("#215667"),e.alternatingCellForeColor=o.fromHtml("#fefdff"),e.headerBackColor=o.fromHtml("#2a7f9e"),e.headerForeColor=o.fromHtml("#fefdff"),e.footerColor=o.fromHtml("#2a7f9e"),e.footerForeground=o.fromHtml("#fefdff"),e.selectedCellBackColor=o.fromHtml("#f0621e"),e.selectedCellForeColor=o.fromHtml("#1c445b"),e.hotHeaderBackColor=o.fromHtml("#f0621e"),e.lineColor=o.fromHtml("#5da0b7"),e.backColor=o.fromHtml("#235e6d"),e.cellDataBarsOverlapped=s.get("db7b46"),e.cellDataBarsPositive=s.get("5daac1"),e.cellDataBarsNegative=s.get("dd5555"),e.cellWinLossPositive=s.get("db7b46"),e.cellSparkline=s.get("db7b46"),e.cellIndicatorPositive=a.limeGreen,e.cellIndicatorNegative=s.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDarkTurquoiseDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiDarkTurquoiseTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Green,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#70ad47"),30),e.headerBackColor=o.fromHtml("#70ad47"),e.hotHeaderBackColor=a.light(o.fromHtml("#70ad47"),30),e.footerColor=o.fromHtml("#70ad47"),e.footerForeground=s.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGreenDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiGreenTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Orange,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#ed7d31"),30),e.headerBackColor=o.fromHtml("#ed7d31"),e.hotHeaderBackColor=a.light(o.fromHtml("#ed7d31"),30),e.footerColor=o.fromHtml("#ed7d31"),e.footerForeground=s.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiOrangeDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiOrangeTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.Base.Drawing.StiColor,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Silver,e.cellBackColor=o.get("#6d7e8b"),e.cellForeColor=o.get("#e9f5fc"),e.alternatingCellBackColor=o.get("#3a5263"),e.alternatingCellForeColor=o.get("#e9f5fc"),e.headerBackColor=o.get("#3a5263"),e.headerForeColor=o.get("#e9f5fc"),e.footerColor=o.get("#3a5263"),e.footerForeground=o.get("#e9f5fc"),e.selectedCellBackColor=o.get("e9f5fc"),e.selectedCellForeColor=o.get("3a5263"),e.hotHeaderBackColor=a.light(o.get("#6d7e8b"),30),e.lineColor=o.get("66e9f5fc"),e.backColor=o.get("#595b65"),e.cellDataBarsOverlapped=o.get("273946"),e.cellDataBarsPositive=o.get("273946"),e.cellDataBarsNegative=o.get("d43642"),e.cellWinLossPositive=o.get("273946"),e.cellSparkline=o.get("273946"),e.cellIndicatorPositive=s.limeGreen,e.cellIndicatorNegative=o.get("dd5555"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSilverDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiSilverTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.SlateGray,e.cellBackColor=o.fromHtml("#475b6f"),e.cellForeColor=o.fromHtml("#ddd"),e.alternatingCellBackColor=o.fromHtml("#33475b"),e.alternatingCellForeColor=o.fromHtml("#ddd"),e.headerBackColor=o.fromHtml("#33475b"),e.headerForeColor=o.fromHtml("#ddd"),e.footerColor=o.fromHtml("#33475b"),e.footerForeground=o.fromHtml("#ddd"),e.selectedCellBackColor=a.light(o.fromHtml("#33475b"),50),e.selectedCellForeColor=o.fromHtml("#eee"),e.hotHeaderBackColor=a.light(o.fromHtml("#33475b"),30),e.lineColor=o.fromHtml("#c0c0c0"),e.backColor=o.fromHtml("#33475b"),e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiSlateGrayDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiSlateGrayTableElementStyle=s}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=t.Base.Drawing.StiColorUtils,s=t.System.Drawing.Color,l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ident=r.StiElementStyleIdent.Turquoise,e.cellBackColor=s.white,e.alternatingCellBackColor=o.fromHtml("#eee"),e.selectedCellBackColor=a.light(o.fromHtml("#2ec6c8"),30),e.headerBackColor=o.fromHtml("#2ec6c8"),e.hotHeaderBackColor=a.light(o.fromHtml("#2ec6c8"),30),e.footerColor=o.fromHtml("#2ec6c8"),e.footerForeground=s.white,e}return __extends(n,t),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiTurquoiseDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n}(n.StiTableElementStyle);n.StiTurquoiseTableElementStyle=l}(n=r.Styles||(r.Styles={}))}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e,r,n,i,o,a;!function(t){t[t["Manual"]=0]="Manual",t[t["DataColumns"]=1]="DataColumns"}(e=t.StiMapSource||(t.StiMapSource={})),function(t){t[t["None"]=1]="None",t[t["Full"]=2]="Full",t[t["Short"]=3]="Short"}(r=t.StiDisplayNameType||(t.StiDisplayNameType={})),function(t){t[t["Choropleth"]=0]="Choropleth",t[t["Online"]=1]="Online"}(n=t.StiMapMode||(t.StiMapMode={})),function(t){t[t["World"]=1]="World",t[t["Australia"]=2]="Australia",t[t["Austria"]=3]="Austria",t[t["Brazil"]=4]="Brazil",t[t["Canada"]=5]="Canada",t[t["China"]=6]="China",t[t["ChinaWithHongKongAndMacau"]=7]="ChinaWithHongKongAndMacau",t[t["ChinaWithHongKongMacauAndTaiwan"]=8]="ChinaWithHongKongMacauAndTaiwan",t[t["Taiwan"]=9]="Taiwan",t[t["EU"]=10]="EU",t[t["Europe"]=11]="Europe",t[t["EuropeWithRussia"]=12]="EuropeWithRussia",t[t["France"]=13]="France",t[t["Germany"]=14]="Germany",t[t["Italy"]=15]="Italy",t[t["Netherlands"]=16]="Netherlands",t[t["Russia"]=17]="Russia",t[t["UK"]=18]="UK",t[t["UKCountries"]=19]="UKCountries",t[t["USAAndCanada"]=20]="USAAndCanada",t[t["NorthAmerica"]=21]="NorthAmerica",t[t["SouthAmerica"]=22]="SouthAmerica",t[t["USA"]=23]="USA",t[t["Albania"]=24]="Albania",t[t["Andorra"]=25]="Andorra",t[t["Argentina"]=26]="Argentina",t[t["ArgentinaFD"]=27]="ArgentinaFD",t[t["Armenia"]=28]="Armenia",t[t["Azerbaijan"]=29]="Azerbaijan",t[t["Belarus"]=30]="Belarus",t[t["Belgium"]=31]="Belgium",t[t["Bolivia"]=32]="Bolivia",t[t["BosniaAndHerzegovina"]=33]="BosniaAndHerzegovina",t[t["Bulgaria"]=34]="Bulgaria",t[t["Chile"]=35]="Chile",t[t["Colombia"]=36]="Colombia",t[t["Croatia"]=37]="Croatia",t[t["Cyprus"]=38]="Cyprus",t[t["CzechRepublic"]=39]="CzechRepublic",t[t["Denmark"]=40]="Denmark",t[t["Ecuador"]=41]="Ecuador",t[t["Estonia"]=42]="Estonia",t[t["FalklandIslands"]=43]="FalklandIslands",t[t["Finland"]=44]="Finland",t[t["Georgia"]=45]="Georgia",t[t["Greece"]=46]="Greece",t[t["Guyana"]=47]="Guyana",t[t["Hungary"]=48]="Hungary",t[t["Iceland"]=49]="Iceland",t[t["India"]=50]="India",t[t["Indonesia"]=51]="Indonesia",t[t["Ireland"]=52]="Ireland",t[t["Israel"]=53]="Israel",t[t["Japan"]=54]="Japan",t[t["Kazakhstan"]=55]="Kazakhstan",t[t["Latvia"]=56]="Latvia",t[t["Liechtenstein"]=57]="Liechtenstein",t[t["Lithuania"]=58]="Lithuania",t[t["Luxembourg"]=59]="Luxembourg",t[t["Macedonia"]=60]="Macedonia",t[t["Malaysia"]=61]="Malaysia",t[t["Malta"]=62]="Malta",t[t["Mexico"]=63]="Mexico",t[t["Moldova"]=64]="Moldova",t[t["Monaco"]=65]="Monaco",t[t["Montenegro"]=66]="Montenegro",t[t["NewZealand"]=67]="NewZealand",t[t["Norway"]=68]="Norway",t[t["Paraguay"]=69]="Paraguay",t[t["Peru"]=70]="Peru",t[t["Philippines"]=71]="Philippines",t[t["Poland"]=72]="Poland",t[t["Portugal"]=73]="Portugal",t[t["Romania"]=74]="Romania",t[t["SanMarino"]=75]="SanMarino",t[t["SaudiArabia"]=76]="SaudiArabia",t[t["Serbia"]=77]="Serbia",t[t["Slovakia"]=78]="Slovakia",t[t["Slovenia"]=79]="Slovenia",t[t["SouthAfrica"]=80]="SouthAfrica",t[t["SouthKorea"]=81]="SouthKorea",t[t["Spain"]=82]="Spain",t[t["Suriname"]=83]="Suriname",t[t["Sweden"]=84]="Sweden",t[t["Switzerland"]=85]="Switzerland",t[t["Thailand"]=86]="Thailand",t[t["Turkey"]=87]="Turkey",t[t["Ukraine"]=88]="Ukraine",t[t["Uruguay"]=89]="Uruguay",t[t["Vatican"]=90]="Vatican",t[t["Venezuela"]=91]="Venezuela",t[t["Vietnam"]=92]="Vietnam",t[t["MiddleEast"]=93]="MiddleEast",t[t["Oman"]=94]="Oman",t[t["Qatar"]=95]="Qatar",t[t["Benelux"]=96]="Benelux",t[t["Scandinavia"]=97]="Scandinavia",t[t["FranceDepartments"]=98]="FranceDepartments",t[t["France18Regions"]=99]="France18Regions",t[t["CentralAfricanRepublic"]=100]="CentralAfricanRepublic",t[t["Asia"]=101]="Asia",t[t["SoutheastAsia"]=102]="SoutheastAsia"}(i=t.StiMapID||(t.StiMapID={})),function(t){t[t["Style21"]=0]="Style21",t[t["Style24"]=1]="Style24",t[t["Style25"]=2]="Style25",t[t["Style26"]=3]="Style26",t[t["Style27"]=4]="Style27",t[t["Style28"]=5]="Style28",t[t["Style29"]=6]="Style29",t[t["Style30"]=7]="Style30",t[t["Style31"]=8]="Style31",t[t["Style32"]=9]="Style32",t[t["Style33"]=10]="Style33",t[t["Style34"]=11]="Style34"}(o=t.StiMapStyleIdent||(t.StiMapStyleIdent={})),function(t){t[t["None"]=0]="None",t[t["Individual"]=4]="Individual",t[t["Group"]=1]="Group",t[t["Heatmap"]=2]="Heatmap",t[t["HeatmapWithGroup"]=3]="HeatmapWithGroup"}(a=t.StiMapType||(t.StiMapType={}))}(e=t.Maps||(t.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Exception,i=t.Base.StiJsonReportObjectHelper,o=t.System.Drawing.Color,a=t.System.Drawing.ColorTranslator,s=function(r){function s(t,e,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=null);var i=r.call(this,t,e,n)||this;return i.defaultColors=[a.fromHtml("#70ad47"),a.fromHtml("#4472c4"),a.fromHtml("#ffc000"),a.fromHtml("#43682b"),a.fromHtml("#fd6a37"),a.fromHtml("#997300")],i.defaultHeatmapColors=[a.fromHtml("#70ad47"),a.fromHtml("#ffc000")],i._individualColor=a.fromHtml("#70ad47"),i.defaultColor=a.fromHtml("#4472c4"),i.backColor=o.white,i.foreColor=o.white,i.borderSize=.7,i.borderColor=o.white,i.labelShadowForeground=o.fromArgb(255,251,251,251),i.labelForeground=o.fromArgb(255,37,37,37),i.colors=i.defaultColors.stimulsoft.clone(),i.heatmapColors=i.defaultHeatmapColors.stimulsoft.clone(),i}return __extends(s,r),s.prototype.saveToJsonObject=function(t){var e=r.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("IndividualColor",i.Serialize.jColor(this.individualColor,a.fromHtml("#70ad47"))),e.addPropertyJObject("Colors",i.Serialize.colorArray(this.colors)),e.addPropertyJObject("HeatmapColors",i.Serialize.colorArray(this.heatmapColors)),e.addPropertyStringNullOrEmpty("DefaultColor",i.Serialize.jColor(this.defaultColor,a.fromHtml("#4472c4"))),e.addPropertyStringNullOrEmpty("BackColor",i.Serialize.jColor(this.backColor,o.white)),e.addPropertyNumber("BorderSize",this.borderSize,.7),e.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this.borderColor,o.white)),e.addPropertyStringNullOrEmpty("LabelShadowForeground",i.Serialize.jColor(this.labelShadowForeground,o.fromArgb(255,251,251,251))),e.addPropertyStringNullOrEmpty("LabelForeground",i.Serialize.jColor(this.labelForeground,o.fromArgb(255,37,37,37))),e},s.prototype.loadFromJsonObject=function(t){var e,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"IndividualColor":this.individualColor=i.Deserialize.color(s.value.toString());break;case"Colors":this.colors=i.Deserialize.colorArray(s.value);break;case"HeatmapColors":this.heatmapColors=i.Deserialize.colorArray(s.value);break;case"DefaultColor":this.defaultColor=i.Deserialize.color(s.value.toString());break;case"BackColor":this.backColor=i.Deserialize.color(s.value.toString());break;case"BorderSize":this.borderSize=s.value.stimulsoft.toNumber();break;case"BorderColor":this.borderColor=i.Deserialize.color(s.value.toString());break;case"LabelShadowForeground":this.labelShadowForeground=i.Deserialize.color(s.value.toString());break;case"LabelForeground":this.labelForeground=i.Deserialize.color(s.value.toString());break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e);for(var n=0;n0){var f=o.stimulsoft.as(p);this.border=f.border.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0}if((a&e.StiStyleElements.Brush)>0){var f=o.stimulsoft.as(h);this.brush=f.brush.clone(),this.allowUseBrush=!0}if(o.stimulsoft.is(m)&&(a&e.StiStyleElements.Brush)>0){var f=o.stimulsoft.as(m);this.brush=new i(f.backColor),this.allowUseBrush=!0}}},d}(r.StiBaseStyle);r.StiChartStyle=f}(r=e.Styles||(e.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.StiArray,o=t.System.StiString,a=t.Report.StiTableStyle,s=t.Base.Drawing.StiColor,l=t.Base.Drawing.StiEmptyBrush,u=t.Report.Maps.StiMap28StyleFX,c=t.Report.Maps.StiMap27StyleFX,p=t.Report.Maps.StiMap26StyleFX,h=t.Report.Maps.StiMap25StyleFX,m=t.Report.Maps.StiMap24StyleFX,f=t.Report.Maps.StiMap29StyleFX,d=t.Report.Maps.StiMap30StyleFX,g=t.Report.Maps.StiMap31StyleFX,S=t.Report.Maps.StiMap32StyleFX,y=t.Report.Maps.StiMap33StyleFX,A=t.Report.Maps.StiMap34StyleFX,b=t.Base.Drawing.StiBrush,v=t.Base.Drawing.StiColorUtils,C=t.Report.Styles.StiDialogStyle,w=t.Report.Styles.StiCrossTabStyle,B=t.Base.Drawing.StiSolidBrush,I=t.Report.Styles.StiMapStyle,T=t.Report.Maps.StiMapStyleIdent,E=t.System.Drawing.ColorTranslator,R=t.System.Drawing.Color,D=t.Report.Components.IStiBackColor,P=t.Report.Components.IStiForeColor,x=t.Base.Dashboard.StiElementConsts,F=t.System.Drawing.FontFamily,N=t.Report.Styles.StiChartStyle,k=function(){function k(){}return k.cloneColors=function(t){if(null==t)return null;for(var e=i.create(R,t.length),r=0;r=this.count-1)return void(this.isEofValue=!0);this.positionValue++},T.prototype.last=function(){this.positionValue=this.count-1,this.isEofValue=!0,this.isBofValue=!1},T.prototype.clone=function(){var t,e,n=this.stimulsoft.memberwiseClone();n.columns=new r.StiDataColumnsCollection(n);try{for(var i=__values(this.columns.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.clone();s.dataSource=n,n.columns.add(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},T.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},Object.defineProperty(T.prototype,"states",{get:function(){return null==this._states&&(this._states=new e.StiStatesManager),this._states},enumerable:!1,configurable:!0}),T.prototype.saveState=function(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)},T.prototype.restoreState=function(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.states.clearState(t)},T.prototype.clearAllStates=function(){this._states=null},T.prototype.isEqualSort=function(t,e){var r,n;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;var i=0;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s;if(a.value!=e[i])return!1;i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},T.prototype.setData=function(t,e,r,n,i,o){var a=!1;if(this.resFilterMethod!=r&&(this.isInited=!1),this.isEqualSort(n,this.resSortColumns)||(this.isInited=!1),null!=t&&(t.name!=this.nameOfDataBandWhichInitDataSource&&(this.isInited=!1),this.nameOfDataBandWhichInitDataSource=t.name),!a&&this.isInited&&!i&&!this.initForSubreport&&e==this.relationNameStored)return;if(null!=t){var s=t.report;null==s&&null!=o&&(s=o.report),null!=s&&s.cacheTotals&&null!=s.cachedTotals&&!s.cachedTotalsLocked&&s.cachedTotals.set(t,null)}var l=!1,u=r,c=n,p=null;null!=t&&(p=t.dataBandInfo.groupHeaders,t.dataBandInfo.groupHeaderCachedResults=null,t.dataBandInfo.groupFooterCachedResults=null),this.detailRows=null,this.setDetails(e),StiOptions.Engine.filterDataInDataSourceBeforeSorting&&this.setFilter(r);var h=this.getConditions(t);this.setSort(h,n,o,t,p),StiOptions.Engine.filterDataInDataSourceBeforeSorting||this.setFilter(r),this.isInited=!0,e=this.relationNameStored},T.prototype.getConditions=function(e){var r,i,o,a,s=null;if(null==e)return s;var l=null;if(null!=(l=e.dataBandInfo.groupHeaders)&&l.count>0){var u=e.isEof,c=e.isBof,p=0;try{for(var h=__values(l.toCast()),m=h.next();!m.done;m=h.next()){var f;(f=m.value).sortDirection!=t.Report.Components.StiGroupSortDirection.None&&p++}}catch(t){r={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}if(0==p)return s;s=n.create3(Object,e.count,p,2);for(var d=0;d0){var r=this.position,n=this.dictionary.report.line,i=new Array;if(e.stimulsoft.is(t.Report.Engine.StiParser.StiFilterParserData))for(var o=e,a=0;a0){var Q=[];if(null==this.detailRows&&null!=this.dataTable)try{for(var L=__values(this.dataTable.rows.list),Y=L.next();!Y.done;Y=L.next()){var H=Y.value;Q.push(H)}}catch(t){m={error:t}}finally{try{Y&&!Y.done&&(f=L.return)&&f.call(L)}finally{if(m)throw m.error}}if(null!=this.detailRows)try{for(var U=__values(this.detailRows),J=U.next();!J.done;J=U.next()){var H=J.value;Q.push(H)}}catch(t){y={error:t}}finally{try{J&&!J.done&&(C=U.return)&&C.call(U)}finally{if(y)throw y.error}}var M=new d,O=0;try{for(var W=__values(Q),V=W.next();!V.done;V=W.next()){var H=V.value;M.set(H.recordIndex,O++)}}catch(t){w={error:t}}finally{try{V&&!V.done&&(B=W.return)&&B.call(W)}finally{if(w)throw w.error}}var z=new r.StiDataSort(M,i,a,this);Q.stimulsoft.sort2(z);var X=0;this.detailRows=[];try{for(var K=__values(Q),Z=K.next();!Z.done;Z=K.next()){var H=Z.value;this.detailRows[X++]=H}}catch(t){I={error:t}}finally{try{Z&&!Z.done&&(T=K.return)&&T.call(K)}finally{if(I)throw I.error}}var q=!1;if(null!=c)try{for(var $=__values(c.toCast()),tt=$.next();!tt.done;tt=$.next()){var et;if((et=tt.value).summarySortDirection!=t.Report.Components.StiGroupSortDirection.None){q=!0;break}}}catch(t){E={error:t}}finally{try{tt&&!tt.done&&(R=$.return)&&R.call($)}finally{if(E)throw E.error}}if(q){var rt=new d,nt=new d,it=n.create(Number,c.count),ot=new d,at=0;try{for(var st=__values(Q),lt=st.next();!lt.done;lt=st.next()){var H=lt.value;u.position=at,ot.set(H,at),t.Report.Engine.StiDataBandBuilder.prepareGroupResults(u);var ut=0;try{for(var ct=(x=void 0,__values(c.toCast())),pt=ct.next();!pt.done;pt=ct.next()){var et=pt.value;if(u.dataBandInfo.groupHeaderResults[ut]&&null!=et.report){var ht=et.report;ht.cacheTotals&&null!=ht.cachedTotals&&ht.cachedTotals.set(et,null)}var mt=null,ft=et;if(et.summaryType!=A.Count)if(et.report.calculationMode==e.StiCalculationMode.Compilation){if(mt=et.name+"__GetSummaryExpression",null==t.Report.Totals.getMethod(et.report,mt))continue}else{if(o.isNullOrEmpty(et.summaryExpression))continue;var dt=!1,gt=new t.Report.Engine.StiParser.StiParser,St={ref:dt},yt=t.Report.Engine.StiParser.StiParser.parseTextValue(et.summaryExpression,et,et,St,!1,!0,gt);ft=new t.Report.Engine.StiParser.StiParserData(et,yt,gt)}var At=null;switch(et.summaryType){case A.Avg:try{At=g.changeType(t.Report.Totals.avg(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.AvgDate:try{At=t.System.Convert.changeType(t.Report.Totals.avgDate(ft,et.report,mt),v)}catch(e){t.System.StiError.showError(e,!1)}break;case A.AvgTime:try{At=t.System.Convert.changeType(t.Report.Totals.avgTime(ft,et.report,mt),b)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Count:try{At=t.Report.Totals.count(et)}catch(e){t.System.StiError.showError(e,!1)}break;case A.CountDistinct:try{At=t.Report.Totals.countDistinct(et,et.report,mt)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Max:try{At=t.System.Convert.changeType(t.Report.Totals.max(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.MaxDate:try{At=t.System.Convert.changeType(t.Report.Totals.maxDate(ft,et.report,mt),v)}catch(e){t.System.StiError.showError(e,!1)}break;case A.MaxTime:try{At=t.System.Convert.changeType(t.Report.Totals.maxTime(ft,et.report,mt),b)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Median:try{At=t.System.Convert.changeType(t.Report.Totals.median(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Min:try{At=t.System.Convert.changeType(t.Report.Totals.min(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.MinDate:try{At=t.System.Convert.changeType(t.Report.Totals.minDate(ft,et.report,mt),v)}catch(e){t.System.StiError.showError(e,!1)}break;case A.MinTime:try{At=t.System.Convert.changeType(t.Report.Totals.minTime(ft,et.report,mt),b)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Mode:try{At=t.System.Convert.changeType(t.Report.Totals.mode(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.Sum:try{At=t.System.Convert.changeType(t.Report.Totals.sum(ft,et.report,mt),Number)}catch(e){t.System.StiError.showError(e,!1)}break;case A.SumTime:try{At=t.System.Convert.changeType(t.Report.Totals.sumTime(ft,et.report,mt),b)}catch(e){t.System.StiError.showError(e,!1)}break}u.dataBandInfo.groupHeaderResults[ut]&&it[ut]++;var bt=rt.get(et);null==bt&&(bt=new d,rt.set(et,bt)),bt.set(H,At),null==(bt=nt.get(et))&&(bt=new d,nt.set(et,bt)),bt.set(H,it[ut]),ut++}}catch(t){x={error:t}}finally{try{pt&&!pt.done&&(F=ct.return)&&F.call(ct)}finally{if(x)throw x.error}}at++}}catch(t){D={error:t}}finally{try{lt&&!lt.done&&(P=st.return)&&P.call(st)}finally{if(D)throw D.error}}if(null!=rt&&rt.count>0){u.dataBandInfo.groupHeaderCachedResults=null,u.dataBandInfo.groupFooterCachedResults=null;var vt=new t.Report.Dictionary.StiGroupSummaryDataSort(rt,nt,c,ot);Q.stimulsoft.sort2(vt),X=0,this.detailRows=[];try{for(var Ct=__values(Q),wt=Ct.next();!wt.done;wt=Ct.next()){var H=wt.value;this.detailRows[X++]=H}}catch(t){N={error:t}}finally{try{wt&&!wt.done&&(k=Ct.return)&&k.call(Ct)}finally{if(N)throw N.error}}vt.clear()}}z.clear()}}catch(r){if(t.System.StiError.showError("SetSort...ERROR:"+r.message,!1),e.StiLogService.write(this.stimulsoft.getType(),"SetSort...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}},T.prototype.resetDetailsRows=function(){this.detailRows=null},T.prototype.resetData=function(){this.isInited=!1,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null},T.prototype.getDataRow=function(t){if(null==this.detailRows){if(null!=this.dataTable&&t0?o[0]:null}return new r.StiDataRow(null===(e=this.dictionary.relations.getByName(t))||void 0===e?void 0:e.parentSource,n)},T.prototype.getParentRelations=function(){var e,r,n=new t.Report.Dictionary.StiDataRelationsCollection(this.dictionary);if(null==this.dictionary)return n;try{for(var i=__values(this.dictionary.relations.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.childSource==this&&n.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},T.prototype.getChildRelations=function(){var e,r,n=new t.Report.Dictionary.StiDataRelationsCollection(this.dictionary);try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.parentSource==this&&n.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},T.prototype.getParentDataSource=function(e,r){var n,i,o,a;void 0===r&&(r=!1);try{for(var s=__values(this.dictionary.relations.list),l=s.next();!l.done;l=s.next()){var u;if((u=l.value).childSource==this&&u.nameInSource==e)return u.parentSource;if(u.childSource==this&&r&&u.name==e)return u.parentSource}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}try{for(var c=__values(this.dictionary.relations.list),p=c.next();!p.done;p=c.next()){var u;if((u=p.value).childSource==this&&t.Report.StiNameValidator.correctName(u.nameInSource)==e)return u.parentSource}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return null},T.prototype.getChildDataSource=function(t){var e,r;try{for(var n=__values(this.dictionary.relations.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.parentSource==this&&o.nameInSource==t)return o.childSource}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},T.prototype.invokeConnecting=function(){var n,i;try{var o=!0;if(null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.calculationMode==e.StiCalculationMode.Interpretation&&(o=!1),!o){var a=new t.Report.Components.StiText;a.name="**DataSourceParameter**",a.page=this.dictionary.report.pages.getByIndex(0);try{for(var s=__values(this.parameters.list),l=s.next();!l.done;l=s.next())var u=l.value}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}var c=this.stimulsoft.as(r.StiSqlSource);if(null!=c){var p=null;if(null!=this.dictionary.report.variables&&null!=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+c.name)&&(p=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+c.name)),null!=p&&p.stimulsoft.is(String)){a.name="**DataSourceSqlCommand**";var h="";while(p.indexOf("{")>=0){h+=p.substr(0,p.indexOf("{"));var m=(p=p.substr(p.indexOf("{"))).substr(0,p.indexOf("}")+1),f=t.Report.Engine.StiParser.StiParser.parseTextValue(m,a),d=t.System.Convert.toString(f);c.stimulsoft.is(r.StiODataSource)&&(null==f?void 0:f.stimulsoft.is(v))&&(d=f.toString("YYYY-MM-DDThh:mm:ss")),null!=f?!0===StiOptions.Engine.escapeQueryParameters?h+=d.replace(/\\/gi,"\\\\").replace(/\'/gi,"\\'").replace(/\"/gi,'\\"'):h+=d:h+=m,p=p.substr(p.indexOf("}")+1)}c.sqlCommand=h+p}}}}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),"Datasource '"+this.name+"' connecting...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},T.prototype.invokeDisconnecting=function(){try{}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),"Datasource '"+this.name+"' disconnecting...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},T.prototype.connectAsync=function(t,e){var n=new w;null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var i=this.getDataAdapter();return r.StiDataLeader.connectDataSourceToDataAsync(i,this.dictionary,this,e).try((function(){n.callTry()})).catch((function(t){n.callCatch(t)})).abort(n),n},T.prototype.connect=function(e,n){var i,o,a,l;null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var p=this.getDataAdapter();if(r.StiDataLeader.connectDataSourceToData(p,this.dictionary,this,n),(null==this.dataTable||0==this.realCount)&&StiOptions.Engine.emulateData&&this.dictionary.report.isRendering){var h=this.dataTable;if(null==h){h=new u;try{for(var m=__values(this.columns.list),f=m.next();!f.done;f=m.next()){var d=f.value,g=new c(d.nameInSource,d.type);h.columns.add(g)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}}try{var S=h.newRow();try{for(var y=__values(this.columns.list),A=y.next();!A.done;A=y.next()){var d,b=(d=A.value).type,C=s.value;b==String?C=null!=this.dataTable&&null!=this.dataTable.columns.getByName(d.nameInSource)&&this.dataTable.columns.getByName(d.nameInSource).stimulsoft.getType()==String?"Test":"":b==Boolean?C=!0:b==v?C=v.now:b==t.System.Char&&(C=" "),C=0,S.setValue(d.nameInSource,C)}}catch(t){a={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(a)throw a.error}}h.rows.add(S)}catch(e){t.System.StiError.showError(e,!1),this.dataTable=null,this.dataTable=h}}},T.prototype.getDataAdapterType=function(){return null},Object.defineProperty(T.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),T.prototype.fillColumns=function(){try{var n;if(null==r.StiDataAdapterService.getDataAdapter(this))return}catch(r){if(t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}},T.prototype.getDataAdapter=function(){var t=StiOptions.Services.dataAdapters.where((function(t){return t.serviceEnabled})),e=this.dataAdapterType;return t.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e}))},Object.defineProperty(T.prototype,"parameters",{get:function(){return this._parameters},set:function(t){this._parameters=t},enumerable:!1,configurable:!0}),T.prototype.getDataTable=function(e){void 0===e&&(e=null);try{if(null==e){if(null!=this.dataTable)return this.getDataTable(this.dataTable);return new u(this.name)}for(var r=e.clone(),n=new Array(r.columns.count),i=0;i=0&&i=0&&i0){this.columnsIndexs=new d;for(var i=new d,o=0;o2&&!C.columns.contains(v[1])){var w=v[1]+"."+v[2];C.columns.contains(w)?(v[1]=w,v.stimulsoft.removeAt(2)):v.length>3&&(w+="."+v[3],C.columns.contains(w)&&(v[1]=w,v.stimulsoft.removeAt(2),v.stimulsoft.removeAt(2)))}if(v.length>1)if(2==v.length){var B;null!=(B=C.columns.getByName(v[1]))&&(f=B.type)}else{var I=v[1];C=C.getParentDataSource(I);var T=2,B;while(T1){var D=null,T=1;while(T=this.inputExpression.length)return null;var t=null,e=this.inputExpression[this.position],i;if(s.isLetter(e)||"_"==e){var i=this.position+1;while(i0&&"."==this.inputExpression[t.position-1]&&(o="."+o),this.hashAliases.containsKey(o)&&(t.value=this.hashAliases.get(o)),t}if(s.isDigit(e))return(t=new n.StiToken).type=r.StiTokenType.Number,t.position=this.position,t.valueObject=this.scanNumber(),t.length=this.position-t.position,t;if('"'==e||"@"==e&&this.position0&&"."==this.inputExpression[this.position-1]&&(o="."+o),this.hashAliases.containsKey(o))return(t=new n.StiToken).value=this.hashAliases.get(o),t.type=r.StiTokenType.Identifier,t.position=this.position,t.length=i-this.position,this.position=i,t}var u=this.position;this.position++;var c=" ";switch(this.position":return">"==c?(this.position++,new n.StiToken(r.StiTokenType.Shr,u,2)):"="==c?(this.position++,new n.StiToken(r.StiTokenType.RightEqual,u,2)):new n.StiToken(r.StiTokenType.Right,u,1);default:return(t=new n.StiToken(r.StiTokenType.Unknown)).valueObject=e,t.position=u,t.length=1,t}},p.isWhiteSpace=function(t){return s.isWhitespace(t)||t.charCodeAt(0)<32},p.prototype.buildAliases=function(){var t,e,r,n,i,o,a,s,u,c,h,m;if(null!=this.hashAliases)return;this.hashAliases=new l;try{for(var f=__values(this.report.dictionary.dataSources.list),d=f.next();!d.done;d=f.next()){var g,S=(g=d.value).name,y=p.getCorrectedAlias(g.alias);y!=S&&this.hashAliases.set(y,S);try{for(var A=(r=void 0,__values(g.columns.list)),b=A.next();!b.done;b=A.next()){var v=b.value,C=v.name,w=p.getCorrectedAlias(v.alias);w!=C&&this.hashAliases.set("."+w,C)}}catch(t){r={error:t}}finally{try{b&&!b.done&&(n=A.return)&&n.call(A)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{d&&!d.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}try{for(var B=__values(this.report.dictionary.dataSources.list),I=B.next();!I.done;I=B.next()){var g,S=(g=I.value).name;this.hashAliases.containsKey(S)&&this.hashAliases.remove(S)}}catch(t){i={error:t}}finally{try{I&&!I.done&&(o=B.return)&&o.call(B)}finally{if(i)throw i.error}}try{for(var T=__values(this.report.dictionary.businessObjects.list),E=T.next();!E.done;E=T.next()){var R=E.value;this.buildBusinessObject(this.report,R)}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=T.return)&&s.call(T)}finally{if(a)throw a.error}}try{for(var D=__values(this.report.dictionary.relations.list),P=D.next();!P.done;P=D.next()){var x=P.value,F=x.name,N=p.getCorrectedAlias(x.alias);N!=F&&this.hashAliases.set("."+N,F)}}catch(t){u={error:t}}finally{try{P&&!P.done&&(c=D.return)&&c.call(D)}finally{if(u)throw u.error}}try{for(var k=__values(this.report.dictionary.variables.list),M=k.next();!M.done;M=k.next()){var O=M.value,_=O.name,j=p.getCorrectedAlias(O.alias);j!=_&&this.hashAliases.set(j,_)}}catch(t){h={error:t}}finally{try{M&&!M.done&&(m=k.return)&&m.call(k)}finally{if(h)throw h.error}}},p.prototype.buildBusinessObject=function(t,e){var r,n,i,o,a=e.name,s=p.getCorrectedAlias(e.alias);s!=a&&(this.hashAliases.set(s,a),this.hashAliases.set("."+s,a));try{for(var l=__values(e.columns.list),u=l.next();!u.done;u=l.next()){var c=u.value,h=c.name,m=p.getCorrectedAlias(c.alias);m!=h&&this.hashAliases.set("."+m,h)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var f=__values(e.businessObjects.list),d=f.next();!d.done;d=f.next()){var g=d.value;this.buildBusinessObject(t,g)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}},p.isValidName=function(t){if(i.isNullOrEmpty(t)||!s.isLetter(t[0])&&"_"!=t[0])return!1;for(var e=0;e9&&(e=o.Int64);var c=+l;try{c=t.System.Convert.changeType2(l,e)}catch(t){e!=o.Int32&&e!=o.Int64&&e!=o.UInt32&&e!=o.UInt64||this.throwError(n.ParserErrorCode.IntegralConstantIsTooLarge,new n.StiToken(r.StiTokenType.Number,a,this.position-a))}return c},p.prototype.postProcessTokensList=function(o){var a=new Array;this.tokenPos=0;while(this.tokenPos=o.length&&this.throwError(n.ParserErrorCode.UnexpectedEndOfExpression),o[this.tokenPos].type!=r.StiTokenType.Dot&&this.throwError(n.ParserErrorCode.SyntaxError,s,s.value),p=s.value+".",s=o[this.tokenPos+1],this.tokenPos+=2;while(t.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(p+o[this.tokenPos-1].value))this.tokenPos+1>=o.length&&this.throwError(n.ParserErrorCode.UnexpectedEndOfExpression),o[this.tokenPos].type!=r.StiTokenType.Dot&&this.throwError(n.ParserErrorCode.SyntaxError,s,s.value),p+=s.value+".",s=o[this.tokenPos+1],this.tokenPos+=2}if(null!=l){var h=e.StiNameValidator.correctName(s.value),m=[];m.push(e.StiNameValidator.correctName(s.value));while(this.tokenPos+10&&a[a.length-1].type==r.StiTokenType.Dot&&0==p.length)if(t.Report.Engine.StiParser.StiParser_Properties.methodsList.contains(s.value))s.type=r.StiTokenType.Method;else if(t.Report.Engine.StiParser.StiParser_Properties.propertiesList.contains(s.value))s.type=r.StiTokenType.Property;else{var S;this.tokenPos1&&a[a.length-2].type==r.StiTokenType.DataSourceField&&(s.type=r.StiTokenType.Property),s.type==r.StiTokenType.Identifier&&this.throwError(n.ParserErrorCode.FieldMethodOrPropertyNotFound,s,s.value)}else if(t.Report.Engine.StiParser.StiParser_Properties.typesList.contains(s.value)){var y=t.Report.Engine.StiParser.StiParser_Properties.typesList.get(s.value);if(s.type=r.StiTokenType.Cast,s.valueObject=y,this.tokenPos+10&&this.runtimeConstantsHash.contains(s.value)){while(this.runtimeConstantsHash.get(s.value)==n.StiParser_Properties.namespaceObj){this.tokenPos+1>=o.length&&this.throwError(n.ParserErrorCode.UnexpectedEndOfExpression);var b=s.value;s.value+="."+o[this.tokenPos+1].value,this.runtimeConstantsHash.contains(s.value)||this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,s,b,o[this.tokenPos+1].value),this.tokenPos+=2}s.type=r.StiTokenType.Variable}else if(t.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(p+s.value)){while(t.Report.Engine.StiParser.StiParser_Properties.constantsList.get(p+s.value)==t.Report.Engine.StiParser.StiParser_Properties.namespaceObj){this.tokenPos+1>=o.length&&this.throwError(n.ParserErrorCode.UnexpectedEndOfExpression);var b=s.value;s.value+="."+o[this.tokenPos+1].value,this.tokenPos+=2,t.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(p+s.value)||this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,s,b,o[this.tokenPos+1].value)}s.value=p+s.value,s.valueObject=t.Report.Engine.StiParser.StiParser_Properties.constantsList.get(s.value),s.type=r.StiTokenType.Number}else this.report.dictionary.variables.contains(s.value)?s.type=r.StiTokenType.Variable:t.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(s.value)&&("value"!=s.value||this.component.stimulsoft.is(t.Report.CrossTab.StiCrossCell))?s.type=r.StiTokenType.SystemVariable:this.userFunctionsList.contains(s.value)?s.type=r.StiTokenType.Function:i.isNullOrEmpty(p)?this.throwError(n.ParserErrorCode.NameDoesNotExistInCurrentContext,s,s.value):this.throwError(n.ParserErrorCode.TheTypeOrNamespaceNotExistInTheNamespace,s,s.value,p.substring(0,p.length-1));else if(s.type=r.StiTokenType.Component,this.tokenPos+1=0){var o=e.dataTable.columns.getByIndex(i),a=o?o.columnName:"";try{for(var s=__values(e.columns.list),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.nameInSource==a)return u}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}}return e.columns.getByName(t)},p.prototype.makeTokensList=function(){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)},p}(n.StiParser_Check);n.StiParser_Lexer=c}(n=r.StiParser||(r.StiParser={}))}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Convert,n=t.System.Type,i=t.System.DateTime,o=t.System.IComparable,a=function(a){function s(){return null!==a&&a.apply(this,arguments)||this}return __extends(s,a),s.prototype.op_Add=function(n,o){var a=this.get_category(n),s=this.get_category(o);if(a<=1||s<=1)return r.toString(n)+r.toString(o);if(4==a||4==s)return n.stimulsoft.toNumber()+o.stimulsoft.toNumber();if(8==a&&o.stimulsoft.getType()==t.System.TimeSpan)return new i(r.toDateTime(n).ticks+o.ticks);if(8==s&&n.stimulsoft.getType()==t.System.TimeSpan)return new i(r.toDateTime(o).ticks+n.ticks);return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"+",this.getTypeName(n),this.getTypeName(o)),null},s.prototype.op_Sub=function(n,o){var a=this.get_category(n),s=this.get_category(o);if(a<=1||s<=1)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(n),this.getTypeName(o));else{if(4==a||4==s)return n.stimulsoft.toNumber()-o.stimulsoft.toNumber();if(8==a&&(8==s||o.stimulsoft.getType()==t.System.TimeSpan))return 8==s?r.toDateTime(n).subtract(r.toDateTime(o)):new i(r.toDateTime(n).ticks-o.ticks);this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(n),this.getTypeName(o))}return null},s.prototype.op_Mult=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(n<=1||i<=1)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(r));else{if(4==n||4==i)return t.stimulsoft.toNumber()*r.stimulsoft.toNumber();this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(r))}return null},s.prototype.op_Div=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(n<=1||i<=1)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(r));else{if(4==n||4==i)return 0==(null==r?void 0:r.stimulsoft.toNumber())&&this.throwError(e.ParserErrorCode.DivisionByZero),t.stimulsoft.toNumber()/r.stimulsoft.toNumber();this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(r))}return null},s.prototype.op_Mod=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(n<=1||i<=1)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(r));else{if(4==n||4==i)return t.stimulsoft.toNumber()%r.stimulsoft.toNumber();this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(r))}return null},s.prototype.op_Pow=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(n>=2&&i>=2&&n<=7&&i<=7)return Math.pow(t.stimulsoft.toNumber(),r.stimulsoft.toNumber());return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_Neg=function(t){var r=this.get_category(t);return(r<=1||r>=8)&&this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Negative",this.getTypeName(t)),this.op_Mult(t,-1)},s.prototype.op_Not=function(t){var r;return 9!=this.get_category(t)&&this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Not",this.getTypeName(t)),!t},s.prototype.op_Cast=function(e,i){var o=i.stimulsoft.as(n),a;if(null!=o)try{return r.changeType(e,o)}catch(t){return e}switch(i){case t.System.TypeCode.Boolean:return r.toBoolean(e);case t.System.TypeCode.Char:return String.fromCharCode(r.toNumber(e));case t.System.TypeCode.DateTime:return t.System.Convert.toDateTime(e);case t.System.TypeCode.Decimal:return r.toNumber(e);case t.System.TypeCode.Double:return r.toNumber(e);case t.System.TypeCode.UInt16:case t.System.TypeCode.UInt32:case t.System.TypeCode.UInt64:case t.System.TypeCode.Int16:case t.System.TypeCode.Int32:case t.System.TypeCode.Int64:case t.System.TypeCode.SByte:case t.System.TypeCode.Byte:return this.toIntegerCheckChar(e);case t.System.TypeCode.Single:return r.toNumber(e);case t.System.TypeCode.String:return r.toString(e)}return e},s.prototype.toIntegerCheckChar=function(t){if(null!=t&&null!=t.ss&&t.stimulsoft.is(String)&&1==t.length)return t.charCodeAt(0);return 0|r.toNumber(t)},s.prototype.op_CompareLeft=function(t,n){var i=this.get_category(t),a=this.get_category(n);if(0==i||0==a){var s=t.stimulsoft.as(o),l=n.stimulsoft.as(o);if(null!=s&&null!=l)return s.compareTo(l)<0;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(n))}if(1==i||1==a)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(n));else{if(4==i||4==a)return(null==t?void 0:t.stimulsoft.toNumber())<(null==n?void 0:n.stimulsoft.toNumber());if(8==i||8==a)return r.toDateTime(t).ticks0;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(n))}if(1==i||1==a)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(n));else{if(4==i||4==a)return t.stimulsoft.toNumber()>n.stimulsoft.toNumber();if(8==i||8==a)return r.toDateTime(t).ticks>r.toDateTime(n).ticks;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(n))}return null},s.prototype.op_CompareRightEqual=function(t,n){var i=this.get_category(t),a=this.get_category(n);if(0==i||0==a){var s=t.stimulsoft.as(o),l=n.stimulsoft.as(o);if(null!=s&&null!=l)return s.compareTo(l)>=0;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(n))}if(1==i||1==a)this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(n));else{if(4==i||4==a)return t.stimulsoft.toNumber()>=n.stimulsoft.toNumber();if(8==i||8==a)return r.toDateTime(t).ticks>=r.toDateTime(n).ticks;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(n))}return null},s.prototype.op_CompareEqual=function(t,e){var n=this.get_category(t),i=this.get_category(e);if(-1==n||-1==i)return n==i;if(0==n||0==i){var a=t.stimulsoft.as(o),s=e.stimulsoft.as(o);return null!=a&&null!=s?0==a.compareTo(s):t.stimulsoft.equals(e)}if(1==n||1==i)return t==e;if(4==n||4==i)return t.stimulsoft.toNumber()==e.stimulsoft.toNumber();if(8==n||8==i)return r.toDateTime(t).ticks==r.toDateTime(e).ticks;return t==e},s.prototype.op_CompareNotEqual=function(t,e){var n=this.get_category(t),i=this.get_category(e);if(-1==n||-1==i)return n!=i;if(0==n||0==i){var a=t.stimulsoft.as(o),s=e.stimulsoft.as(o);return null!=a&&null!=s?0!=a.compareTo(s):!t.stimulsoft.equals(e)}if(1==n||1==i)return t!=e;if(4==n||4==i)return t.stimulsoft.toNumber()!=e.stimulsoft.toNumber();if(8==n||8==i)return r.toDateTime(t).ticks!=r.toDateTime(e).ticks;return t!=e},s.prototype.op_Shl=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(!(n<4||n>=8||4!=i))return t.stimulsoft.toNumber()<=8||4!=i))return t.stimulsoft.toNumber()>>r.stimulsoft.toNumber();return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">>",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_And=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(!(n<4||8==n||i<4||8==i))return 9==n||9==i?t.stimulsoft.toBoolean()&&r.stimulsoft.toBoolean():t.stimulsoft.toNumber()&r.stimulsoft.toNumber();return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_Or=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(!(n<4||8==n||i<4||8==i))return 9==n||9==i?t.stimulsoft.toBoolean()||r.stimulsoft.toBoolean():t.stimulsoft.toNumber()|r.stimulsoft.toNumber();return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"|",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_Xor=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(!(n<4||8==n||i<4||8==i))return 9==n||9==i?t.stimulsoft.toBoolean()!==r.stimulsoft.toBoolean():t.stimulsoft.toNumber()^r.stimulsoft.toNumber();return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_And2=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(9==n&&9==i)return t&&r;return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&&",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_Or2=function(t,r){var n=this.get_category(t),i=this.get_category(r);if(9==n&&9==i)return t||r;return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"||",this.getTypeName(t),this.getTypeName(r)),null},s}(e.StiParser_Lexer);e.StiParser_AsmOperations=a}(r=e.StiParser||(e.StiParser={}))}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n=t.System.Enum,i=t.System.DateTime,o=t.System.TimeSpan,a=t.System.Convert,s=function(s){function l(){return null!==s&&s.apply(this,arguments)||this}return __extends(l,s),l.prototype.call_property=function(s,l){var u=l[0];if(s.stimulsoft.is(String))return u[s];if(u.stimulsoft.is(i)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Year:return u.year;case e.StiPropertyType.Month:return u.month;case e.StiPropertyType.Day:return u.day;case e.StiPropertyType.Hour:return u.hour;case e.StiPropertyType.Minute:return u.minute;case e.StiPropertyType.Second:return u.second;case e.StiPropertyType.Date:var c=u;return new i(c.year,c.month,c.day,0,0,0,0)}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(o)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Days:return u.days;case e.StiPropertyType.Hours:return u.hours;case e.StiPropertyType.Milliseconds:return u.milliseconds;case e.StiPropertyType.Minutes:return u.minutes;case e.StiPropertyType.Seconds:return u.seconds;case e.StiPropertyType.Ticks:return u.ticks;case e.StiPropertyType.TotalDays:return u.totalDays;case e.StiPropertyType.TotalHours:return u.totalHours;case e.StiPropertyType.TotalMinutes:return u.totalMinutes;case e.StiPropertyType.TotalSeconds:return u.totalSeconds;case e.StiPropertyType.TotalMilliseconds:return u.totalMilliseconds}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(String)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Length:return a.toString(u).length}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(null==u)switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Length:return 0}if(u.stimulsoft.is(t.Report.Range)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.From:return u.fromObject;case e.StiPropertyType.To:return u.toObject;case e.StiPropertyType.FromDate:return u.fromObject;case e.StiPropertyType.ToDate:return u.toObject;case e.StiPropertyType.FromTime:return u.fromObject;case e.StiPropertyType.ToTime:return u.toObject}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(Array)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Count:return u.length}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(t.Report.Components.StiDataBand)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Count:return u.count;case e.StiPropertyType.SelectedLine:return u.selectedLine;case e.StiPropertyType.Position:return u.position;case e.StiPropertyType.Line:return u.line}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(t.Report.Dictionary.StiDataSource)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Count:return u.count;case e.StiPropertyType.Position:return u.position}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(t.Report.Dictionary.StiBusinessObject)){switch(s.stimulsoft.toNumber()){case e.StiPropertyType.BusinessObjectValue:return u.businessObjectValue;case e.StiPropertyType.Position:return u.position}this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(l[0]),n.getName(e.StiPropertyType,s.stimulsoft.toNumber()))}if(u.stimulsoft.is(t.Report.Components.StiComponent))switch(s.stimulsoft.toNumber()){case e.StiPropertyType.Name:return u.name;case e.StiPropertyType.TagValue:return u.tagValue}return null},l}(r.StiParser_AsmOperations);r.StiParser_AsmProperties=s}(r=e.StiParser||(e.StiParser={}))}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.StiString,o=t.System.Convert,a=t.System.Enum,s=t.System.DateTime,l=t.System.TimeSpan,u=t.Report.Components.StiGroupHeaderBand,c=function(c){function p(){return null!==c&&c.apply(this,arguments)||this}return __extends(p,c),p.prototype.call_method=function(c,p){var h,m=p[0],f=this.checkParserMethodInfo(c,p),d=c,g,S,y;switch(d){case r.StiMethodType.ToString:if(1==(h=this.get_category(p[0])))return o.toString(p[0]);if(4==h||6==h){var A=o.toNumber(p[0]);return 1==p.length?A.toString():i.customFormat(A,o.toString(p[1]))}if(8==h){var b=o.toDateTime(p[0]);return 1==p.length?b.toString():b.toString(o.toString(p[1]))}return 9==h?o.toBoolean(p[0]).toString():null==m?"":p[0].toString()}if(null!=m&&m.stimulsoft.is(String))switch(d){case r.StiMethodType.Substring:if(1==f)return(""+p[0]).substr(+p[1]);if(2==f)return(""+p[0]).substr(+p[1],+p[2]);break;case r.StiMethodType.ToLower:if(1==f)return(""+p[0]).toLowerCase();break;case r.StiMethodType.ToUpper:if(1!=(h=this.get_category(p[0]))&&this.throwError(0),1==p.length)return(""+p[0]).toUpperCase();this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToUpper",(p.length-1).toString());break;case r.StiMethodType.IndexOf:if(1!=(h=this.get_category(p[0]))&&this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(p[0]),"IndexOf"),2==p.length)return 1!=(h=this.get_category(p[1]))&&this.throwError(n.ParserErrorCode.MethodHasInvalidArgument,null,"IndexOf","1",this.getTypeName(p[0]),"string"),(""+p[0]).indexOf(""+p[1]);this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"IndexOf",(p.length-1).toString());break;case r.StiMethodType.StartsWith:if(1!=(h=this.get_category(p[0]))&&this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(p[0]),"StartsWith"),2==p.length)return 1!=(h=this.get_category(p[1]))&&this.throwError(n.ParserErrorCode.MethodHasInvalidArgument,null,"StartsWith","1",this.getTypeName(p[0]),"string"),(""+p[0]).stimulsoft.startsWith(""+p[1]);this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"StartsWith",(p.length-1).toString());break;case r.StiMethodType.EndsWith:if(1!=(h=this.get_category(p[0]))&&this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(p[0]),"EndsWith"),2==p.length)return 1!=(h=this.get_category(p[1]))&&this.throwError(n.ParserErrorCode.MethodHasInvalidArgument,null,"EndsWith","1",this.getTypeName(p[0]),"string"),(""+p[0]).stimulsoft.endsWith(""+p[1]);this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"EndsWith",(p.length-1).toString());break;case r.StiMethodType.Contains:if(1!=(h=this.get_category(p[0]))&&this.throwError(0),2==p.length)return(""+p[0]).stimulsoft.contains(""+p[1]);this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Contains",(p.length-1).toString());break}if(1&&null!=m&&m.stimulsoft.is(Array))switch(d){case r.StiMethodType.Contains:if(2==p.length)return p[0].stimulsoft.contains(p[1]);break;case r.StiMethodType.ToQueryString:if(1==p.length){if(m.stimulsoft.is(Array))return e.Func.EngineHelper.toQueryString(p[0],"","")}else if(2==p.length){if(m.stimulsoft.is(Array))return e.Func.EngineHelper.toQueryString(p[0],o.toString(p[1]),"")}else if(3==p.length){if(m.stimulsoft.is(Array))return e.Func.EngineHelper.toQueryString(p[0],o.toString(p[1]),o.toString(p[2]))}else this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToQueryString",(p.length-1).toString());break}if(null!=m&&m.stimulsoft.is(t.Report.Dictionary.StiDataSource))switch(a.parse(r.StiMethodType,c.toString())){case r.StiMethodType.GetData:if(1!=(h=this.get_category(p[1]))&&this.throwError(n.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","1",this.getTypeName(p[0]),"string"),3==p.length)return((h=this.get_category(p[2]))<4||h>7)&&this.throwError(n.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","2",this.getTypeName(p[0]),"int"),p[0].getData(o.toString(p[1]),o.toNumber(p[2]));if(2==p.length)return p[0].getData(o.toString(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"GetData",(p.length-1).toString());break}if(null!=m&&m.stimulsoft.is(s))switch(a.parse(r.StiMethodType,c.toString())){case r.StiMethodType.AddDays:if(((h=this.get_category(p[1]))<2||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddDays","1",this.getTypeName(p[1]),"double"),2==p.length)return p[0].addDays(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddDays",(p.length-1).toString());break;case r.StiMethodType.AddHours:if(((h=this.get_category(p[1]))<2||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddHours","1",this.getTypeName(p[1]),"double"),2==p.length)return p[0].addHours(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddHours",(p.length-1).toString());break;case r.StiMethodType.AddMilliseconds:if(((h=this.get_category(p[1]))<2||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMilliseconds","1",this.getTypeName(p[1]),"double"),2==p.length)return p[0].addMilliseconds(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMilliseconds",(p.length-1).toString());break;case r.StiMethodType.AddMinutes:if(((h=this.get_category(p[1]))<2||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMinutes","1",this.getTypeName(p[1]),"double"),2==p.length)return p[0].addMinutes(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMinutes",(p.length-1).toString());break;case r.StiMethodType.AddMonths:if(((h=this.get_category(p[1]))<4||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMonths","1",this.getTypeName(p[1]),"int"),2==p.length)return p[0].addMonths(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMonths",(p.length-1).toString());break;case r.StiMethodType.AddSeconds:if(((h=this.get_category(p[1]))<2||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddSeconds","1",this.getTypeName(p[1]),"double"),2==p.length)return p[0].addSeconds(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddSeconds",(p.length-1).toString());break;case r.StiMethodType.AddYears:if(((h=this.get_category(p[1]))<4||h>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"AddYears","1",this.getTypeName(p[1]),"int"),2==p.length)return p[0].addYears(o.toNumber(p[1]));this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddYears",(p.length-1).toString());break;case r.StiMethodType.ToShortDateString:if(1==f)return p[0].toShortDateString();break}if(null!=m&&m.stimulsoft.is(l))switch(d){case r.StiMethodType.Add:if(p[1].stimulsoft.is(l)||this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Add","1",this.getTypeName(p[1]),"TimeSpan"),2==p.length)return p[0].add2(p[1]);this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Add",(p.length-1).toString());break}if(null!=m&&m.stimulsoft.is(u))switch(a.parse(r.StiMethodType,c.toString())){case r.StiMethodType.GetCurrentConditionValue:return p[0].getCurrentConditionValue()}var v=null==m?"null":p[0].stimulsoft.getType().fullName;return this.throwError(n.ParserErrorCode.ItemDoesNotContainDefinition,null,v,a.getName(r.StiMethodType,c.stimulsoft.toNumber())),null},p}(n.StiParser_AsmProperties);n.StiParser_AsmMethods=c}(n=r.StiParser||(r.StiParser={}))}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.DateTime,i=t.System.TimeSpan,o=t.System.Globalization.CalendarWeekRule,a=t.System.DayOfWeek,s=function(){function s(){}return s.create=function(){0==s.isCreated&&(r.StiFunctions.addFunction("Date","","DateDiff","Returns a number of time intervals between two specified dates.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.TimeSpan,"A TimeSpan value.",[t.System.DateTime,t.System.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."]),r.StiFunctions.addFunction("Date","","Year","Returns a year from a date and returns it as a integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"An integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Month","Returns a month from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"An integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Day","Returns a day from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"An integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Hour","Returns an hour portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"An integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Minute","Returns the minutes portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"An integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Second","Returns a seconds portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"A integer value.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[t.System.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of day."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[t.System.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the day name."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[t.System.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."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[t.System.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of month."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[t.System.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the month name."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[t.System.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."]),r.StiFunctions.addFunction("Date","","DayOfYear","Returns a day of the year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"A day of the year.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The number of days in the specified month and year.",[t.System.Int64,t.System.Int64],["year","month"],["Year (1 through 9999).","Month (1 through 12)."]),r.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The number of days in the specified month.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The number of days in the specified year.",[t.System.Int64],["year"],["Year (1 through 9999)."]),r.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The number of days in the specified year.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DateSerial","Returns the DateTime value for the specified year, month, and day.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.DateTime,"DateTime value.",[t.System.Int64,t.System.Int64,t.System.Int64],["year","month","day"],["Year (1 through 9999).","Month (1 through 12).","Day (1 through the number of days in a month."]),r.StiFunctions.addFunction("Date","","TimeSerial","Returns the TimeValue value for a specified number of hours, minutes, and seconds.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.TimeSpan,"TimeSpan value.",[t.System.Int64,t.System.Int64,t.System.Int64],["year","month","day"],["Number of hours.","Number of minutes.","Number of seconds."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the year.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the year.",[t.System.DateTime,t.System.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the year.",[t.System.DateTime,t.System.Int,t.System.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."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the month.",[t.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the month.",[t.System.DateTime,t.System.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",t.System.Int64,"The week of the month.",[t.System.DateTime,t.System.Int,t.System.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."]),s.isCreated=!0)},s.dateDiff=function(t,e){return t.subtract(e)},s.year=function(t){return null!=t?t.year:0},s.month=function(t){return null!=t?t.month:0},s.hour=function(t){return null!=t?t.hour:0},s.minute=function(t){return null!=t?t.minute:0},s.second=function(t){return null!=t?t.second:0},s.day=function(t){return null!=t?t.day:0},s.dayOfWeek=function(t,r,n){return void 0===r&&(r=null),void 0===n&&(n=null),null!=r&&r.stimulsoft.is(Boolean)?e.Func.DayOfWeekToStr.dayOfWeek(t,r.stimulsoft.toBoolean()):e.Func.DayOfWeekToStr.dayOfWeek(t,r,n)},s.monthName=function(t,r,n){return void 0===r&&(r=null),void 0===n&&(n=null),null!=r&&r.stimulsoft.is(Boolean)?e.Func.MonthToStr.monthName(t,r.stimulsoft.toBoolean()):e.Func.MonthToStr.monthName(t,r,n)},s.dayOfYear=function(t){return+t.dayOfYear},s.dateSerial=function(t,e,r){return new n(new Date(t,e,r))},s.timeSerial=function(t,e,r){return new i(t,e,r)},s.daysInMonth=function(t,e){if(t.stimulsoft.is(n)){var r=t.stimulsoft.as(n);return+n.daysInMonth(r.year,r.month)}return+n.daysInMonth(+t,e)},s.daysInYear=function(t){var e,r;t.stimulsoft.is(n)?e=t.stimulsoft.as(n).year:e=+t;return+(n.isLeapYear(e)?366:365)},s.weekOfYear=function(e,r,n){return void 0===r&&(r=a.Monday),void 0===n&&(n=o.FirstDay),t.System.Globalization.Calendar.getWeekOfYear(e,n,r)},s.weekOfMonth=function(e,r,n){return void 0===r&&(r=a.Monday),void 0===n&&(n=o.FirstDay),t.System.Globalization.Calendar.getWeekOfMonth(e,n,r)},s.isCreated=!1,s}();r.StiFunctionsDate=s}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n;!function(n){var i=t.System.StiArray,o=t.System.StiString,a=t.Report.Dictionary.StiFunctions,s=t.System.Type,l=t.System.Convert,u=t.System.DateTime,c=t.System.TimeSpan,p=t.System.Data.DBNull,h=t.System.Collections.List,m=t.Report.Dictionary.StiFunctionsDate,f=function(f){function d(){return null!==f&&f.apply(this,arguments)||this}return __extends(d,f),d.prototype.call_func=function(f,d){var g,S,y,A,b,v,C,w,B=f,I=this.checkParserMethodInfo(B,d);switch(B){case r.StiFunctionType.Count:return t.Report.Totals.count(d[0],this.report,null);case r.StiFunctionType.CountDistinct:return t.Report.Totals.countDistinct(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Avg:case r.StiFunctionType.AvgD:case r.StiFunctionType.AvgI:return t.Report.Totals.avg(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.AvgDate:return t.Report.Totals.avgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.AvgTime:return t.Report.Totals.avgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Max:case r.StiFunctionType.MaxD:case r.StiFunctionType.MaxI:return t.Report.Totals.max(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MaxDate:return t.Report.Totals.maxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MaxStr:return t.Report.Totals.maxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MaxTime:return t.Report.Totals.maxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Median:case r.StiFunctionType.MedianD:return t.Report.Totals.median(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Min:case r.StiFunctionType.MinD:case r.StiFunctionType.MinI:return t.Report.Totals.min(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MinDate:return t.Report.Totals.minDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MinStr:return t.Report.Totals.minStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.MinTime:return t.Report.Totals.minTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Mode:case r.StiFunctionType.ModeD:case r.StiFunctionType.ModeI:return t.Report.Totals.mode(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Sum:case r.StiFunctionType.SumD:case r.StiFunctionType.SumI:return t.Report.Totals.sum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.SumDistinct:var T=new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser));return t.Report.Totals.sumDistinct(T,this.report,null);case r.StiFunctionType.SumTime:return t.Report.Totals.sumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.First:return t.Report.Totals.first(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.Last:return t.Report.Totals.last(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pCount:return t.Report.Totals.cCount(d[0],this.report,null);case r.StiFunctionType.pCountDistinct:return t.Report.Totals.cCountDistinct(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pAvg:case r.StiFunctionType.pAvgD:case r.StiFunctionType.pAvgI:return t.Report.Totals.cAvg(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pAvgDate:return t.Report.Totals.cAvgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pAvgTime:return t.Report.Totals.cAvgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMax:case r.StiFunctionType.pMaxD:case r.StiFunctionType.pMaxI:return t.Report.Totals.cMax(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMaxDate:return t.Report.Totals.cMaxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMaxStr:return t.Report.Totals.cMaxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMaxTime:return t.Report.Totals.cMaxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMedian:case r.StiFunctionType.pMedianD:case r.StiFunctionType.pMedianI:return t.Report.Totals.cMedian(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMin:case r.StiFunctionType.pMinD:case r.StiFunctionType.pMinI:return t.Report.Totals.cMin(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMinDate:return t.Report.Totals.cMinDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMinStr:return t.Report.Totals.cMinStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMinTime:return t.Report.Totals.cMinTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pMode:case r.StiFunctionType.pModeD:case r.StiFunctionType.pModeI:return t.Report.Totals.cMode(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pSum:case r.StiFunctionType.pSumD:case r.StiFunctionType.pSumI:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pSumDistinct:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pSumTime:return t.Report.Totals.cSumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pFirst:return t.Report.Totals.cFirst(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.pLast:return t.Report.Totals.cLast(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prCount:return t.Report.Totals.cCountRunning(d[0],this.report,null);case r.StiFunctionType.prCountDistinct:return t.Report.Totals.cCountDistinctRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prAvg:case r.StiFunctionType.prAvgD:case r.StiFunctionType.prAvgI:return t.Report.Totals.cAvgRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prAvgDate:return t.Report.Totals.cAvgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prAvgTime:return t.Report.Totals.cAvgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMax:case r.StiFunctionType.prMaxD:case r.StiFunctionType.prMaxI:return t.Report.Totals.cMaxRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMaxDate:return t.Report.Totals.cMaxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMaxStr:return t.Report.Totals.cMaxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMaxTime:return t.Report.Totals.cMaxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMedian:case r.StiFunctionType.prMedianD:case r.StiFunctionType.prMedianI:return t.Report.Totals.cMedianRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMin:case r.StiFunctionType.prMinD:case r.StiFunctionType.prMinI:return t.Report.Totals.cMinRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMinDate:return t.Report.Totals.cMinDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMinStr:return t.Report.Totals.cMinStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMinTime:return t.Report.Totals.cMinTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prMode:case r.StiFunctionType.prModeD:case r.StiFunctionType.prModeI:return t.Report.Totals.cModeRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prSum:case r.StiFunctionType.prSumD:case r.StiFunctionType.prSumI:return t.Report.Totals.cSumRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prSumDistinct:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prSumTime:return t.Report.Totals.cSumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prFirst:return t.Report.Totals.cFirstRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.prLast:return t.Report.Totals.cLastRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case r.StiFunctionType.iCount:return t.Report.Totals.count(new n.StiParserData(d[0],null,this.stimulsoft.as(n.StiParser),d[1]),this.report,null);case r.StiFunctionType.iCountDistinct:return t.Report.Totals.countDistinct(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iAvg:case r.StiFunctionType.iAvgD:case r.StiFunctionType.iAvgI:return t.Report.Totals.avg(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iAvgDate:return t.Report.Totals.avgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iAvgTime:return t.Report.Totals.avgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMax:case r.StiFunctionType.iMaxD:case r.StiFunctionType.iMaxI:return t.Report.Totals.max(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMaxDate:return t.Report.Totals.maxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMaxStr:return t.Report.Totals.maxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMaxTime:return t.Report.Totals.maxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMedian:case r.StiFunctionType.iMedianD:case r.StiFunctionType.iMedianI:return t.Report.Totals.median(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMin:case r.StiFunctionType.iMinD:case r.StiFunctionType.iMinI:return t.Report.Totals.min(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMinDate:return t.Report.Totals.minDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMinStr:return t.Report.Totals.minStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMinTime:return t.Report.Totals.minTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iMode:case r.StiFunctionType.iModeD:case r.StiFunctionType.iModeI:return t.Report.Totals.mode(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iSum:case r.StiFunctionType.iSumD:case r.StiFunctionType.iSumI:return t.Report.Totals.sum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iSumDistinct:return t.Report.Totals.sumDistinct(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iSumTime:return t.Report.Totals.sumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iFirst:return t.Report.Totals.first(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.iLast:return t.Report.Totals.last(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piCount:return t.Report.Totals.cCount(new n.StiParserData(d[0],null,this.stimulsoft.as(n.StiParser),d[1]),this.report,null);case r.StiFunctionType.piCountDistinct:return t.Report.Totals.cCountDistinct(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piAvg:case r.StiFunctionType.piAvgD:case r.StiFunctionType.piAvgI:return t.Report.Totals.cAvg(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piAvgDate:return t.Report.Totals.cAvgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piAvgTime:return t.Report.Totals.cAvgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMax:case r.StiFunctionType.piMaxD:case r.StiFunctionType.piMaxI:return t.Report.Totals.cMax(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMaxDate:return t.Report.Totals.cMaxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMaxStr:return t.Report.Totals.cMaxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMaxTime:return t.Report.Totals.cMaxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMedian:case r.StiFunctionType.piMedianD:case r.StiFunctionType.piMedianI:return t.Report.Totals.cMedian(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMin:case r.StiFunctionType.piMinD:case r.StiFunctionType.piMinI:return t.Report.Totals.cMin(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMinDate:return t.Report.Totals.cMinDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMinStr:return t.Report.Totals.cMinStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMinTime:return t.Report.Totals.cMinTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piMode:case r.StiFunctionType.piModeD:case r.StiFunctionType.piModeI:return t.Report.Totals.cMode(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piSum:case r.StiFunctionType.piSumD:case r.StiFunctionType.piSumI:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piSumDistinct:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piSumTime:return t.Report.Totals.cSumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piFirst:return t.Report.Totals.cFirst(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.piLast:return t.Report.Totals.cLast(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priCount:return t.Report.Totals.cCountRunning(new n.StiParserData(d[0],null,this.stimulsoft.as(n.StiParser),d[1]),this.report,null);case r.StiFunctionType.priCountDistinct:return t.Report.Totals.cCountDistinctRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priAvg:case r.StiFunctionType.priAvgD:case r.StiFunctionType.priAvgI:return t.Report.Totals.cAvgRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priAvgDate:return t.Report.Totals.cAvgDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priAvgTime:return t.Report.Totals.cAvgTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMax:case r.StiFunctionType.priMaxD:case r.StiFunctionType.priMaxI:return t.Report.Totals.cMaxRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMaxDate:return t.Report.Totals.cMaxDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMaxStr:return t.Report.Totals.cMaxStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMaxTime:return t.Report.Totals.cMaxTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMedian:case r.StiFunctionType.priMedianD:case r.StiFunctionType.priMedianI:return t.Report.Totals.cMedianRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMin:case r.StiFunctionType.priMinD:case r.StiFunctionType.priMinI:return t.Report.Totals.cMinRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMinDate:return t.Report.Totals.cMinDate(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMinStr:return t.Report.Totals.cMinStr(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMinTime:return t.Report.Totals.cMinTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priMode:case r.StiFunctionType.priModeD:case r.StiFunctionType.priModeI:return t.Report.Totals.cModeRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priSum:case r.StiFunctionType.priSumD:case r.StiFunctionType.priSumI:return t.Report.Totals.cSumRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priSumDistinct:return t.Report.Totals.cSum(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priSumTime:return t.Report.Totals.cSumTime(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priFirst:return t.Report.Totals.cFirstRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.priLast:return t.Report.Totals.cLastRunning(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser),d[2]),this.report,null);case r.StiFunctionType.Rank:switch(I){case 1:return e.Totals.rank(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null);case 2:return e.Totals.rank(new n.StiParserData(d[0],d[1],this.stimulsoft.as(n.StiParser)),this.report,null,!!d[2],+d[3])}break;case r.StiFunctionType.CountAllLevels:return t.Report.Totals.countAllLevels(d[0]);case r.StiFunctionType.CountAllLevelsOnlyChilds:return t.Report.Totals.countAllLevelsOnlyChilds(d[0]);case r.StiFunctionType.CountOnlyChilds:return t.Report.Totals.countOnlyChilds(d[0]);case r.StiFunctionType.Abs:if((C=this.get_category(d[0]))<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Abs","1",this.getTypeName(d[0]),"double");else if(2==C||3==C)return Math.abs(+d[0]);return Math.abs(+d[0]);case r.StiFunctionType.Acos:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Acos","1",this.getTypeName(d[0]),"double"),Math.acos(+d[0]);case r.StiFunctionType.Asin:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Asin","1",this.getTypeName(d[0]),"double"),Math.asin(+d[0]);case r.StiFunctionType.Atan:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Atan","1",this.getTypeName(d[0]),"double"),Math.atan(+d[0]);case r.StiFunctionType.Ceiling:if((C=this.get_category(d[0]))<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Ceiling","1",this.getTypeName(d[0]),"double");else if(2==C)return Math.ceil(+d[0]);return Math.ceil(+d[0]);case r.StiFunctionType.Cos:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Cos","1",this.getTypeName(d[0]),"double"),Math.cos(+d[0]);case r.StiFunctionType.Div:if(C=this.get_category(d[0]),w=this.get_category(d[1]),C<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","1",this.getTypeName(d[0]),"double");else if(w<=1||w>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","2",this.getTypeName(d[1]),"double");else{if(3==d.length){if(2==C){if(0==+d[1])return+d[2];return+d[0]/+d[1]}if(0==+d[1])return+d[2];return+d[0]/+d[1]}if(2==d.length){if(0==d[1].stimulsoft.toNumber())throw new Error("DivideByZeroException: Attempt to divide by zero.");return+d[0]/+d[1]}}this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Div",d.length.toString());break;case r.StiFunctionType.Exp:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Exp","1",this.getTypeName(d[0]),"double"),Math.exp(+d[0]);case r.StiFunctionType.Floor:if(((C=this.get_category(d[0]))<=1||C>4)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Floor","1",this.getTypeName(d[0]),"double"),2==C)return Math.floor(+d[0]);return Math.floor(+d[0]);case r.StiFunctionType.Log:return((C=this.get_category(d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Log","1",this.getTypeName(d[0]),"double"),Math.log(+d[0]);case r.StiFunctionType.Maximum:if(2!=d.length&&this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Maximum",d.length.toString()),C=this.get_category(d[0]),w=this.get_category(d[1]),C<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","1",this.getTypeName(d[0]),"double");else if(w<=1||w>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","2",this.getTypeName(d[1]),"double");else{if(2==C)return Math.max(+d[0],+d[1]);if(3==C)return Math.max(+d[0],+d[1])}return Math.max(+d[0],+d[1]);case r.StiFunctionType.Minimum:if(2!=d.length&&this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Minimum",d.length.toString()),C=this.get_category(d[0]),w=this.get_category(d[1]),C<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","1",this.getTypeName(d[0]),"double");else if(w<=1||w>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","2",this.getTypeName(d[1]),"double");else{if(2==C)return Math.min(+d[0],+d[1]);if(3==C)return Math.min(+d[0],+d[1])}return Math.min(+d[0],+d[1]);case r.StiFunctionType.Round:if((C=this.get_category(d[0]))<=1||C>4)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Round","1",this.getTypeName(d[0]),"double");else{if(1==d.length)return Math.round2(+d[0]);if(2==d.length)return((w=this.get_category(d[1]))<4||w>7)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Round","2",this.getTypeName(d[1]),"int"),Math.round2(+d[0],+d[1])}this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Round",d.length.toString());break;case r.StiFunctionType.Sign:if((C=this.get_category(d[0]))<=1||C>=8)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Sign","1",this.getTypeName(d[0]),"double");else{if(2==C)return Math.sign(+d[0]);if(3==C)return Math.sign(+d[0])}return Math.sign(d[0]);case r.StiFunctionType.Sin:return((C=this.get_category(+d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Sin","1",this.getTypeName(d[0]),"double"),Math.sin(+d[0]);case r.StiFunctionType.Sqrt:return((C=this.get_category(+d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Sqrt","1",this.getTypeName(d[0]),"double"),Math.sqrt(+d[0]);case r.StiFunctionType.Tan:return((C=this.get_category(+d[0]))<=1||C>=8)&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Tan","1",this.getTypeName(d[0]),"double"),Math.tan(+d[0]);case r.StiFunctionType.Truncate:if((C=this.get_category(+d[0]))<=1||C>4)this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"Truncate","1",this.getTypeName(d[0]),"double");else if(2==C)return Math.trunc(+d[0]);return Math.trunc(+d[0]);case r.StiFunctionType.DateDiff:if(1==I||2==I)return l.toDateTime(d[0]).subtract(l.toDateTime(d[1]));break;case r.StiFunctionType.DateSerial:if(1==I)return new u(u.ticksNetToTicksJs(d[0].stimulsoft.toNumber()));if(2==I)return new u(d[0].stimulsoft.toNumber(),d[1].stimulsoft.toNumber(),d[2].stimulsoft.toNumber(),0,0,0,0);break;case r.StiFunctionType.TimeSerial:if(1==I)return new c(l.toInt32(d[0]),l.toInt32(d[1]),l.toInt32(d[2]));break;case r.StiFunctionType.Year:if(1==I||2==I)return l.toDateTime(d[0]).year;break;case r.StiFunctionType.Month:if(1==I||2==I)return l.toDateTime(d[0]).month;break;case r.StiFunctionType.Day:if(1==I||2==I)return l.toDateTime(d[0]).day;break;case r.StiFunctionType.Hour:if(1==I||2==I)return l.toDateTime(d[0]).hour;break;case r.StiFunctionType.Minute:if(1==I||2==I)return l.toDateTime(d[0]).minute;break;case r.StiFunctionType.Second:if(1==I||2==I)return l.toDateTime(d[0]).second;break;case r.StiFunctionType.DayOfWeek:switch(I){case 1:return m.dayOfWeek(l.toDateTime(d[0]));case 3:return m.dayOfWeek(l.toDateTime(d[0]),d[1].stimulsoft.toBoolean());case 5:return m.dayOfWeek(l.toDateTime(d[0]),d[1]);case 7:return m.dayOfWeek(l.toDateTime(d[0]),d[1],d[2].stimulsoft.toBoolean())}break;case r.StiFunctionType.DayOfYear:if(1==I||2==I)return l.toDateTime(d[0]).dayOfYear.toString();break;case r.StiFunctionType.DaysInMonth:switch(I){case 1:return u.daysInMonth(l.toDateTime(d[0]).year,l.toDateTime(d[0]).month);case 3:return u.daysInMonth(l.toInt32(d[0]),l.toInt32(d[1]))}break;case r.StiFunctionType.DaysInYear:switch(I){case 1:return u.isLeapYear(l.toDateTime(d[0]).year)?366:365;case 3:return u.isLeapYear(l.toInt32(d[0]))?366:365}break;case r.StiFunctionType.MonthName:switch(I){case 1:return m.monthName(l.toDateTime(d[0]));case 3:return m.monthName(l.toDateTime(d[0]),d[1]);case 5:return m.monthName(l.toDateTime(d[0]),d[1]);case 7:return m.monthName(l.toDateTime(d[0]),d[1],d[2])}break;case r.StiFunctionType.WeekOfYear:switch(I){case 1:return m.weekOfYear(l.toDateTime(d[0]));case 3:return m.weekOfYear(l.toDateTime(d[0]),d[1]);case 5:return m.weekOfYear(l.toDateTime(d[0]),d[1],d[2])}break;case r.StiFunctionType.WeekOfMonth:switch(I){case 1:return m.weekOfMonth(l.toDateTime(d[0]));case 3:return m.weekOfMonth(l.toDateTime(d[0]),d[1]);case 5:return m.weekOfMonth(l.toDateTime(d[0]),d[1],d[2])}break;case r.StiFunctionType.Insert:return C=this.get_category(d[0]),C=this.get_category(d[1]),C=this.get_category(d[2]),l.toString(d[0]).stimulsoft.insert(l.toNumber(d[1]),l.toString(d[2]),0);case r.StiFunctionType.Length:return C=this.get_category(d[0]),l.toString(d[0]).length;case r.StiFunctionType.Remove:return C=this.get_category(d[0]),C=this.get_category(d[1]),C=this.get_category(d[2]),l.toString(d[0]).stimulsoft.remove(l.toNumber(d[1]),l.toNumber(d[2]));case r.StiFunctionType.Replace:return C=this.get_category(d[0]),C=this.get_category(d[1]),C=this.get_category(d[2]),l.toString(d[0]).stimulsoft.replaceAll(l.toString(d[1]),l.toString(d[2]));case r.StiFunctionType.Roman:if((C=this.get_category(d[0]))>=4&&C<=7)return e.Dictionary.StiFunctionsStrings.roman(l.toNumber(d[0]));break;case r.StiFunctionType.Substring:return C=this.get_category(d[0]),C=this.get_category(d[1]),C=this.get_category(d[2]),l.toString(d[0]).substr(l.toNumber(d[1]),l.toNumber(d[2]));case r.StiFunctionType.ToLowerCase:return C=this.get_category(d[0]),l.toString(d[0]).toLowerCase();case r.StiFunctionType.ToProperCase:return 1!=d.length&&this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToProperCase",d.length.toString()),1!=(C=this.get_category(d[0]))&&this.throwError(n.ParserErrorCode.FunctionHasInvalidArgument,null,"ToProperCase","1",this.getTypeName(d[0]),"string"),t.System.Globalization.CultureInfo.InvariantCulture.textInfo.toTitleCase(l.toString(d[0]).toLowerCase());case r.StiFunctionType.ToUpperCase:return C=this.get_category(d[0]),l.toString(d[0]).toUpperCase();case r.StiFunctionType.Trim:return C=this.get_category(d[0]),l.toString(d[0]).trim();case r.StiFunctionType.TryParseDecimal:return C=this.get_category(d[0]),!isNaN(l.toNumber(d[0]));case r.StiFunctionType.TryParseDouble:return C=this.get_category(d[0]),!isNaN(l.toNumber(d[0]));case r.StiFunctionType.TryParseLong:return C=this.get_category(d[0]),!isNaN(l.toNumber(d[0]));case r.StiFunctionType.Arabic:if(1==(C=this.get_category(d[0])))return e.Dictionary.StiFunctionsStrings.arabic(l.toString(d[0]));if(C>=4&&C<=7)return e.Dictionary.StiFunctionsStrings.arabic(l.toNumber(d[0]));break;case r.StiFunctionType.Persian:if(1==(C=this.get_category(d[0])))return e.Dictionary.StiFunctionsStrings.persian(l.toString(d[0]));if(C>=4&&C<=7)return e.Dictionary.StiFunctionsStrings.persian(l.toNumber(d[0]));break;case r.StiFunctionType.ToOrdinal:if((C=this.get_category(d[0]))>=4&&C<=7)return e.Dictionary.StiFunctionsStrings.toOrdinal(l.toNumber(d[0]));break;case r.StiFunctionType.Left:if(1==I)return e.Dictionary.StiFunctionsStrings.left(l.toString(d[0]),l.toNumber(d[1]));break;case r.StiFunctionType.Right:if(1==I)return e.Dictionary.StiFunctionsStrings.right(l.toString(d[0]),l.toNumber(d[1]));break;case r.StiFunctionType.Mid:if(1==I)return e.Dictionary.StiFunctionsStrings.mid(l.toString(d[0]),l.toNumber(d[1]),l.toNumber(d[2]));break;case r.StiFunctionType.ToWords:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toWords(l.toNumber(d[0]));case 4:return e.Dictionary.StiFunctionsStrings.toWords(l.toNumber(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.ToWordsAr:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toWordsAr(l.toNumber(d[0]))}break;case r.StiFunctionType.ToWordsEs:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toWordsEs(l.toNumber(d[0]),l.toBoolean(d[1]));case 2:return e.Dictionary.StiFunctionsStrings.toWordsEs2(l.toNumber(d[0]),l.toBoolean(d[1]),l.toBoolean(d[2]))}break;case r.StiFunctionType.ToWordsEnIn:return e.Dictionary.StiFunctionsStrings.toWordsEnIn(l.toNumber(d[0]),l.toBoolean(d[1]));case r.StiFunctionType.ToWordsFa:return e.Dictionary.StiFunctionsStrings.toWordsFa(l.toNumber(d[0]));case r.StiFunctionType.ToWordsPl:return e.Dictionary.StiFunctionsStrings.toWordsPl(l.toNumber(d[0]),l.toBoolean(d[1]));case r.StiFunctionType.ToWordsPt:return e.Dictionary.StiFunctionsStrings.toWordsPt(l.toNumber(d[0]),l.toBoolean(d[1]));case r.StiFunctionType.ToWordsRu:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toWordsRu(l.toNumber(d[0]));case 4:return e.Dictionary.StiFunctionsStrings.toWordsRu(l.toNumber(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.ToWordsTr:return e.Dictionary.StiFunctionsStrings.toWordsTr(l.toNumber(d[0]));case r.StiFunctionType.ToWordsUa:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toWordsUa(l.toNumber(d[0]));case 4:return e.Dictionary.StiFunctionsStrings.toWordsUa(l.toNumber(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.ToCurrencyWords:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWords(l.toNumber(d[0]),!0,!0);case 4:return e.Dictionary.StiFunctionsStrings.toCurrencyWords(l.toNumber(d[0]),!0,l.toBoolean(d[1]));case 7:return e.Dictionary.StiFunctionsStrings.toCurrencyWords(l.toNumber(d[0]),l.toBoolean(d[1]),l.toBoolean(d[2]));case 10:return e.Dictionary.StiFunctionsStrings.toCurrencyWords(l.toNumber(d[0]),l.toBoolean(d[1]),l.toBoolean(d[2]),l.toString(d[3]),l.toString(d[4]))}break;case r.StiFunctionType.ToCurrencyWordsAr:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsAr(l.toNumber(d[0]),l.toString(d[1]),l.toString(d[2]))}break;case r.StiFunctionType.ToCurrencyWordsEnGb:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEnGb(l.toNumber(d[0]),l.toString(d[1]),l.toNumber(d[2]));case r.StiFunctionType.ToCurrencyWordsEnIn:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEnIn(l.toString(d[0]),l.toString(d[1]),l.toNumber(d[2]),l.toNumber(d[3]),l.toBoolean(d[4]));case r.StiFunctionType.ToCurrencyWordsEs:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEs(l.toNumber(d[0]),l.toString(d[1]),l.toNumber(d[2]));case r.StiFunctionType.ToCurrencyWordsFr:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsFr(l.toNumber(d[0]),l.toString(d[1]),l.toNumber(d[2]));case r.StiFunctionType.ToCurrencyWordsNl:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsNl(l.toNumber(d[0]),l.toString(d[1]),l.toNumber(d[2]));case r.StiFunctionType.ToCurrencyWordsPl:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPl(l.toNumber(d[0]),l.toString(d[1]),l.toBoolean(d[2]),l.toBoolean(d[3]));case r.StiFunctionType.ToCurrencyWordsPt:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPt(l.toNumber(d[0]),l.toBoolean(d[1]),l.toBoolean(d[2]));case r.StiFunctionType.ToCurrencyWordsPtBr:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPtBr(l.toNumber(d[0]));case r.StiFunctionType.ToCurrencyWordsRu:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(l.toNumber(d[0]));case 4:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(l.toNumber(d[0]),!0,"RUR",l.toBoolean(d[1]));case 7:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(l.toNumber(d[0]),!0,l.toString(d[2]),l.toBoolean(d[1]));case 10:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(l.toNumber(d[0]),l.toBoolean(d[2]),l.toString(d[1]),!0)}break;case r.StiFunctionType.ToCurrencyWordsThai:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsThai(l.toNumber(d[0]))}break;case r.StiFunctionType.ToCurrencyWordsTr:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsTr(l.toNumber(d[0]));case 2:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsTr2(l.toNumber(d[0]),l.toString(d[1]),l.toBoolean(d[2]))}break;case r.StiFunctionType.ToCurrencyWordsUa:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(l.toNumber(d[0]));case 4:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(l.toNumber(d[0]),!0,"UAH",l.toBoolean(d[1]));case 7:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(l.toNumber(d[0]),!0,l.toString(d[2]),l.toBoolean(d[1]))}break;case r.StiFunctionType.ToCurrencyWordsZh:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.toCurrencyWordsZh(l.toNumber(d[0]))}break;case r.StiFunctionType.DateToStr:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.dateToStr(l.toDateTime(d[0]));case 3:return e.Dictionary.StiFunctionsStrings.dateToStr(l.toDateTime(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.DateToStrPl:return e.Dictionary.StiFunctionsStrings.dateToStrPl(l.toDateTime(d[0]),l.toBoolean(d[1]));case r.StiFunctionType.DateToStrRu:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.dateToStrRu(l.toDateTime(d[0]));case 2:return e.Dictionary.StiFunctionsStrings.dateToStrRu(l.toDateTime(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.DateToStrUa:switch(I){case 1:return e.Dictionary.StiFunctionsStrings.dateToStrUa(l.toDateTime(d[0]));case 2:return e.Dictionary.StiFunctionsStrings.dateToStrUa(l.toDateTime(d[0]),l.toBoolean(d[1]))}break;case r.StiFunctionType.DateToStrPt:return e.Dictionary.StiFunctionsStrings.DateToStrPt(l.toDateTime(d[0]));case r.StiFunctionType.DateToStrPtBr:return e.Dictionary.StiFunctionsStrings.dateToStrPtBr(l.toDateTime(d[0]));case r.StiFunctionType.StringIsNullOrEmpty:if(1==I)return o.isNullOrEmpty(l.toString(d[0]));break;case r.StiFunctionType.StringIsNullOrWhiteSpace:if(1==I)return o.isNullOrWhiteSpace(l.toString(d[0]));break;case r.StiFunctionType.StrToNullableDateTime:if(1==I){var E={ref:null};return t.Base.StringExt.tryParseDateTime(l.toString(d[0]),E)?E.ref:null}break;case r.StiFunctionType.IsNull:if(1==I)return e.Dictionary.StiFunctionsPrintState.isNull(d[0],l.toString(d[1]));break;case r.StiFunctionType.Next:if(1==I)return e.Dictionary.StiFunctionsPrintState.next(d[0],l.toString(d[1]));break;case r.StiFunctionType.NextIsNull:if(1==I)return e.Dictionary.StiFunctionsPrintState.nextIsNull(d[0],l.toString(d[1]));break;case r.StiFunctionType.Previous:if(1==I)return e.Dictionary.StiFunctionsPrintState.previous(d[0],l.toString(d[1]));break;case r.StiFunctionType.PreviousIsNull:if(1==I)return e.Dictionary.StiFunctionsPrintState.previousIsNull(d[0],l.toString(d[1]));break;case r.StiFunctionType.IIF:return l.toBoolean(d[0])?d[1]:d[2];case r.StiFunctionType.Choose:C=this.get_category(d[0]);var R=l.toNumber(d[0]);if(R>0&&R=r.StiFunctionType.rCount&&B<=r.StiFunctionType.rLast||B>=r.StiFunctionType.riCount&&B<=r.StiFunctionType.riLast||B>=r.StiFunctionType.cCount&&B<=r.StiFunctionType.cLast||B>=r.StiFunctionType.crCount&&B<=r.StiFunctionType.crLast||B>=r.StiFunctionType.ciCount&&B<=r.StiFunctionType.ciLast||B>=r.StiFunctionType.criCount&&r.StiFunctionType.criLast,B>=r.StiFunctionType.UserFunction){var H=null;try{for(var Q=__values(this.userFunctionsList.keys),L=Q.next();!L.done;L=Q.next()){var Y=L.value;if(this.userFunctionsList.get(Y)==B){H=Y;break}}}catch(t){y={error:t}}finally{try{L&&!L.done&&(A=Q.return)&&A.call(Q)}finally{if(y)throw y.error}}if(null!=H){for(var U=d.length,J=i.create(s,U),W=i.create(Object,U),V=0;V=e.StiFunctionType.CountDistinct&&p<=e.StiFunctionType.Last||p>=e.StiFunctionType.rCountDistinct&&p<=e.StiFunctionType.rLast||p>=e.StiFunctionType.cCountDistinct&&p<=e.StiFunctionType.cLast||p>=e.StiFunctionType.crCountDistinct&&p<=e.StiFunctionType.crLast||p>=e.StiFunctionType.pCountDistinct&&p<=e.StiFunctionType.pLast||p>=e.StiFunctionType.prCountDistinct&&p<=e.StiFunctionType.prLast)&&1==c.length||(p==e.StiFunctionType.iCount||p==e.StiFunctionType.riCount||p==e.StiFunctionType.ciCount||p==e.StiFunctionType.criCount||p==e.StiFunctionType.piCount||p==e.StiFunctionType.priCount)&&1==c.length||(p>=e.StiFunctionType.iCountDistinct&&p<=e.StiFunctionType.iLast||p>=e.StiFunctionType.riCountDistinct&&p<=e.StiFunctionType.riLast||p>=e.StiFunctionType.ciCountDistinct&&p<=e.StiFunctionType.ciLast||p>=e.StiFunctionType.criCountDistinct&&p<=e.StiFunctionType.criLast||p>=e.StiFunctionType.piCountDistinct&&p<=e.StiFunctionType.piLast||p>=e.StiFunctionType.priCountDistinct&&p<=e.StiFunctionType.priLast)&&2==c.length){var m;null==(m=this.component.getGroupHeaderBand())&&(m=this.component.getDataBand());var f=[],d=new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,m);d.position=this.expressionPosition+l,f.push(d),c.stimulsoft.insert(0,f)}c.length>0&&c[0].length>0&&c[0][0].type==e.StiAsmCommandType.PushComponent&&null!=c[0][0].parameter1&&c[0][0].parameter1.stimulsoft.is(t.Report.Components.StiGroupHeaderBand)||u||!(p>=e.StiFunctionType.Count&&p<=e.StiFunctionType.Last||p>=e.StiFunctionType.rCount&&p<=e.StiFunctionType.rLast||p>=e.StiFunctionType.iCount&&p<=e.StiFunctionType.iLast||p>=e.StiFunctionType.riCount&&p<=e.StiFunctionType.riLast||p>=e.StiFunctionType.cCount&&p<=e.StiFunctionType.cLast||p>=e.StiFunctionType.crCount&&p<=e.StiFunctionType.crLast||p>=e.StiFunctionType.ciCount&&p<=e.StiFunctionType.ciLast||p>=e.StiFunctionType.criCount&&p<=e.StiFunctionType.criLast||p>=e.StiFunctionType.pCount&&p<=e.StiFunctionType.pLast||p>=e.StiFunctionType.prCount&&p<=e.StiFunctionType.prLast||p>=e.StiFunctionType.piCount&&p<=e.StiFunctionType.piLast||p>=e.StiFunctionType.priCount&&p<=e.StiFunctionType.priLast)||null!=(m=this.component.getGroupHeaderBand())&&((f=[]).push(new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,m)),c[0]=f);if((p>=e.StiFunctionType.pCount&&p<=e.StiFunctionType.pLast||p>=e.StiFunctionType.prCount&&p<=e.StiFunctionType.prLast||p>=e.StiFunctionType.piCount&&p<=e.StiFunctionType.piLast||p>=e.StiFunctionType.priCount&&p<=e.StiFunctionType.priLast)&&c.length>0){var g=c[0];if(null!=g&&g.length>0&&g[0].type==e.StiAsmCommandType.PushComponent&&g[0].parameter1.stimulsoft.is(t.Report.Components.StiBand)){var S=g[0].parameter1.name;if(null==this.report.dataBandsUsedInPageTotals)this.report.dataBandsUsedInPageTotals=[],this.report.dataBandsUsedInPageTotals[0]=S;else{var y=!1;try{for(var A=__values(this.report.dataBandsUsedInPageTotals),b=A.next();!b.done;b=A.next()){var v;if(b.value==S){y=!0;break}}}catch(t){i={error:t}}finally{try{b&&!b.done&&(o=A.return)&&o.call(A)}finally{if(i)throw i.error}}if(!y){for(var C=[],w=0;w0?this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,R)):this.asmList.stimulsoft.addRange(R),I<<=1}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=T.return)&&s.call(T)}finally{if(a)throw a.error}}return c.length},i.prototype.get_args=function(){var t=[];if(this.get_token(),this.currentToken.type!=e.StiTokenType.LParenthesis&&this.throwError(r.ParserErrorCode.LeftParenthesisExpected),this.get_token(),this.currentToken.type==e.StiTokenType.RParenthesis)return t;this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1];var n=this.asmList;do{this.asmList=new Array,this.eval_exp0(),t.push(this.asmList)}while(this.currentToken.type==e.StiTokenType.Comma);return this.asmList=n,this.currentToken.type!=e.StiTokenType.RParenthesis&&this.throwError(r.ParserErrorCode.RightParenthesisExpected),t},i.prototype.get_token=function(){this.tokenPos2&&!f.columns.contains(m[1])){var d=m[1]+"."+m[2];f.columns.contains(d)?(m[1]=d,m.stimulsoft.removeAt(2)):m.length>3&&(d+="."+m[3],f.columns.contains(d)&&(m[1]=d,m.stimulsoft.removeAt(2),m.stimulsoft.removeAt(2)))}if(m.length>1)if(2==m.length){var g;null!=(g=f.columns.getByName(m[1]))&&g.stimulsoft.is(t.Report.Dictionary.StiCalcDataColumn)?o.push(h.parseTextValue("{"+g.expression+"}",this.component)):o.push(e.StiReport.changeType(f.getData(m[1]),g.type,this.report.convertNulls))}else{var S=m[1],y=f.getParentData(S);f=f.getParentDataSource(S);var A=2,g;while(A0&&this.runtimeConstantsHash.containsKey(e))return this.runtimeConstantsHash.get(e);var r=null==this.report.compiledReport?this.report:this.report.compiledReport,n=r.dictionary.variables.getByName(e);if(null!=n&&n.readOnly&&n.initBy==t.Report.Dictionary.StiVariableInitBy.Expression){var i=new u;return i.name="**ReportVariables**",i.page=this.report.pages.getByIndex(0),h.parseTextValue("{"+n.value+"}",i)}if(null!=r.variables&&r.variables.containsKey(e))return r.variables.get(e);if(null!=n){if(n.initBy==t.Report.Dictionary.StiVariableInitBy.Expression)return h.prepareVariableValue(n,r);return n.valueObject}return null},h.prototype.call_arrayElement=function(r){var i=r[0],o;if(r.length<2&&this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"get_ArrayElement",(r.length-1).toString()),i.stimulsoft.is(String))return 2!=r.length&&this.throwError(n.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"string.get_Item",(r.length-1).toString()),i[o=r[1].stimulsoft.toNumber()];if(i.stimulsoft.is(e.StiReport)){var a=r[1].toString();return i.getVariable(a)}if(i.stimulsoft.is(t.Report.Dictionary.StiDataSource)){var s=r[1].toString();return i.getData(s)}if(i.stimulsoft.is(Array)){for(var l=[],o=0;o1&&c.add(new f(r.StiAsmCommandType.Add))),S0&&(s.parser.expressionPosition=y,c.addRange(s.parser.parseToAsm(v)),++g>1&&(c.add(new f(r.StiAsmCommandType.Cast,t.System.TypeCode.String)),c.add(new f(r.StiAsmCommandType.Add)))),A=!0,S++;break}S++}A||(s.parser.expressionPosition=y,c.add(new f(r.StiAsmCommandType.PushValue,e.substr(y))),++g>1&&c.add(new f(r.StiAsmCommandType.Add)))}}}catch(e){throw t.System.StiError.showError(e,!1),m.set(p,new i),e}m.set(p,c)}if(s.returnAsmList)return c;if(c.length>0){if(s.storeToPrint=h.checkForStoreToPrint(c),s.storeToPrint&&!s.executeIfStoreToPrint)return e;return s.parser.executeAsm(c)}return null},h.parseTextValue=function(t,e,r,n,i,a,s){void 0===r&&(r=null),void 0===n&&(n={ref:!1}),void 0===i&&(i=!0),void 0===a&&(a=!1),void 0===s&&(s=null);var l=new o;l.storeToPrint=n.ref,l.executeIfStoreToPrint=i,l.returnAsmList=a,l.parser=s;var u=this.parseTextValue2(t,e,r,l);return n.ref=l.storeToPrint,u},h.prototype.parseToAsm=function(t){return this.inputExpression=t,this.makeTokensList(),this.asmList=new Array,this.eval_exp(),this.asmList},h.checkForStoreToPrint=function(t){var e,n,i=!1,o=t;if(null!=o)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value,u,u;if(l.type==r.StiAsmCommandType.PushSystemVariable)if((u=l.parameter1)==r.StiSystemVariableType.PageNumber||u==r.StiSystemVariableType.PageNumberThrough||u==r.StiSystemVariableType.TotalPageCount||u==r.StiSystemVariableType.TotalPageCountThrough||u==r.StiSystemVariableType.PageNofM||u==r.StiSystemVariableType.PageNofMThrough||u==r.StiSystemVariableType.IsFirstPage||u==r.StiSystemVariableType.IsFirstPageThrough||u==r.StiSystemVariableType.IsLastPage||u==r.StiSystemVariableType.IsLastPageThrough){i=!0;break}if(l.type==r.StiAsmCommandType.PushFunction)if((u=l.parameter1)>=r.StiFunctionType.pCount&&u<=r.StiFunctionType.pLast||u>=r.StiFunctionType.prCount&&u<=r.StiFunctionType.prLast||u>=r.StiFunctionType.piCount&&u<=r.StiFunctionType.piLast||u>=r.StiFunctionType.priCount&&u<=r.StiFunctionType.priLast||u==r.StiFunctionType.GetAnchorPageNumber||u==r.StiFunctionType.GetAnchorPageNumberThrough){i=!0;break}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i},h.checkExpression=function(t,e){try{var r=new h,n,i={ref:!1},o,a=h.parseTextValue(t,e,e,i,!1,!0,r);null!=a&&r.checkTypes(a)}catch(t){return t}return null},h.checkForDataBandsUsedInPageTotals=function(e){try{var r=e.report,n,i={ref:!1},o=h.parseTextValue(e.text,e,null,i,!1,!0)}catch(r){var s=a.format("Expression in Text property of '{0}' can't be evaluated! {1}",e.name,r);t.System.StiError.showError(s,!1),e.report.writeToReportRenderingMessages(s)}},h.prepareReportVariables=function(t){var r,n;if(t.variables=new l,t.calculationMode==e.StiCalculationMode.Compilation)return;var i=new u;i.name="**ReportVariables**",i.page=t.pages.getByIndex(0);try{for(var o=__values(t.dictionary.variables.list),a=o.next();!a.done;a=o.next()){var s=a.value;try{this.prepareVariableValue(s,t,i)}catch(t){}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.modifiedVariables.clear()},h.prepareVariableValue=function(e,n,i,o){var a,c;void 0===i&&(i=null),void 0===o&&(o=!1),null==i&&((i=new u).name="**ReportVariables**",i.page=n.pages.getByIndex(0));var p=null;o&&(p=new l);var h=null;if(t.System.TypeHelper.isValueType(e.type))h=e.initBy==t.Report.Dictionary.StiVariableInitBy.Value?e.valueObject:this.getExpressionValue("{"+e.value+"}",i,p,n);else{h=s.createObject(e.type);var m={ref:t.Report.Dictionary.StiTypeMode.Value};t.Report.Dictionary.StiType.getTypeModeFromType(e.type,m);var f=m.ref;f==t.Report.Dictionary.StiTypeMode.Range?e.initBy==t.Report.Dictionary.StiVariableInitBy.Value?(e.valueObject["fromObject"]?h.fromObject=e.valueObject["fromObject"]:e.valueObject["from"]?h.fromObject=e.valueObject["from"]:e.valueObject["fromDate"]?h.fromObject=e.valueObject["fromDate"]:e.valueObject["fromTime"]&&(h.fromObject=e.valueObject["fromTime"]),e.valueObject["toObject"]?h.toObject=e.valueObject["toObject"]:e.valueObject["to"]?h.toObject=e.valueObject["to"]:e.valueObject["toDate"]?h.toObject=e.valueObject["toDate"]:e.valueObject["toTime"]&&(h.toObject=e.valueObject["toTime"])):(h.fromObject=this.getExpressionValue("{"+e.initByExpressionFrom+"}",i,p,n),h.toObject=this.getExpressionValue("{"+e.initByExpressionTo+"}",i,p,n)):f==t.Report.Dictionary.StiTypeMode.List&&((h=n.getVariable(e.name,!0))||(h=[])),o&&r.StiVariableHelper.fillItemsOfVariables2(e,n,{ref:!1})}if(o)try{for(var d=__values(p.keys),g=d.next();!g.done;g=d.next()){var S=g.value,y=n.dictionary.dataSources.getByName(S);t.Report.Dictionary.StiDataLeader.disconnect(y)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(c=d.return)&&c.call(d)}finally{if(a)throw a.error}}return n.setVariable(e.name,h,!0),h},h.getExpressionValue=function(e,r,n,i){var o,a;if(null!=n){var s=new l;t.Report.Dictionary.StiDataSourceHelper.checkExpression(e,r,s);try{for(var u=__values(s.keys),c=u.next();!c.done;c=u.next()){var p=c.value,m;if(null==n.get(p)){n.set(p,!0);var f=i.dictionary.dataSources.getByName(p);t.Report.Dictionary.StiDataLeader.connect(f,null,!1)}}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}}return h.parseTextValue(e,r)},h}(n.StiParser_Parser);n.StiParser=g}(n=r.StiParser||(r.StiParser={}))}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Engine.StiParserParameters,n=t.System.StiString,i=t.Report.Engine.StiAsmCommandType,o=t.Report.Engine.StiParser.StiParserGetDataFieldValueEventArgs,a=t.Data.Engine.StiDataPicker,s=t.Report.Engine.StiParser.StiParser,l=t.Base.StiAppKey,u=t.System.Collections.Dictionary,c=function(){function e(){}return e.parse=function(t,e,r,n,i,o){if(void 0===r&&(r=!0),void 0===n&&(n=null),void 0===i&&(i=!0),void 0===o&&(o=!1),o&&null!=t&&((t=t.trim()).stimulsoft.contains("{")||(t="{"+t),t.stimulsoft.contains("}")||(t+="}")),null!=t&&!t.stimulsoft.contains("{"))return t;var a=this.getFromWrongCache(t,e);if(null!=a)return a;if(null!=(a=r&&null!=n?this.getFromCache(t,e):null))return a;if((a=this.parseOrDefault(t,e,n,i))==t&&null!=t&&t.stimulsoft.contains("{"))return this.addToWrongCache(t,a,e),a;return r&&null!=n&&this.addToCache(t,a,e),a},e.parseAsync=function(t,e,r){return void 0===r&&(r=!0),__awaiter(this,void 0,void 0,(function(){var n,i;return __generator(this,(function(o){switch(o.label){case 0:if(null!=t&&!t.stimulsoft.contains("{"))return[2,t];if(null!=(n=r?this.getFromCache(t,e):null))return[2,n];return[4,this.parseOrDefaultAsync(t,e)];case 1:return i=o.sent(),r&&this.addToCache(t,i,e),[2,i]}}))}))},e.parseOrDefault=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!0);var i={ref:null};return this.tryParse(t,i,e,r,n)?i.ref:t},e.parseOrDefaultAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n;return __generator(this,(function(i){switch(i.label){case 0:return r={ref:null},[4,this.tryParseAsync(t,r,e)];case 1:return[2,1==(n=i.sent())?r.ref:t]}}))}))},e.tryParse=function(e,n,i,o,a){void 0===o&&(o=null),void 0===a&&(a=!0);try{if(null==e||!e.stimulsoft.contains("{"))return n.ref=e,!0;var s=new r;s.syntaxCaseSensitive=!1,s.constants=o;var l=t.Report.Engine.StiParser.StiParser.parseTextValue2(e,i,i,s);return n.ref=null!=l?l.toString():"",!0}catch(t){return n.ref="",!1}},e.tryParseAsync=function(e,r,n,a,l){return void 0===a&&(a=null),void 0===l&&(l=!0),__awaiter(this,void 0,void 0,(function(){var a,u,c,p,h,m,f,d,g,S,y,A,b;return __generator(this,(function(v){switch(v.label){case 0:if(v.trys.push([0,10,,11]),null==e||!e.stimulsoft.contains("{"))return r.ref=e,[2,!0];if(a=new s,u=t.Report.Engine.StiParser.StiParser.parseTextValue(e,n,null,{ref:!1},!0,!0,a),!l)return[3,9];if(!(u&&u.length>0))return[3,9];v.label=1;case 1:v.trys.push([1,7,8,9]),c=__values(u),p=c.next(),v.label=2;case 2:if(p.done)return[3,6];switch(h=p.value,m=h.type){case i.PushDataSourceField:return[3,3]}return[3,5];case 3:return f=null,f=null!=h.parameter2&&h.parameter2.stimulsoft.is(Array)?h.parameter2:h.parameter1.split("."),(d=new o(f[0],f[1])).asmCommand=h,[4,this.getDataFieldValueProcessorAsync(n.report,d)];case 4:v.sent(),d.asmCommand.type=i.PushValue,d.asmCommand.parameter1=d.value,v.label=5;case 5:return p=c.next(),[3,2];case 6:return[3,9];case 7:return g=v.sent(),A={error:g},[3,9];case 8:try{p&&!p.done&&(b=c.return)&&b.call(c)}finally{if(A)throw A.error}return[7];case 9:return S=a.executeAsm(u),r.ref=null!=S?S.toString():"",[2,!0];case 10:return y=v.sent(),r.ref="",[2,!1];case 11:return[2]}}))}))},e.getDataFieldValueProcessorAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o;return __generator(this,(function(s){switch(s.label){case 0:return r=t,[4,a.fetch2(r,e.dataSourceName)];case 1:if(null==(n=s.sent()))return[2];if(i=e.dataSourceName+"."+e.dataColumnName,null==(o=n.rows.toList().cast().firstOrDefault()))return[2];return e.value=o.gett(i),e.processed=!0,[2]}}))}))},e.getCacheKey=function(t,e){var r=l.getOrGeneratedKey(e),n;return null==r&&(r=""),r+"."+(null!=t?t:"")},e.addToCache=function(t,e,r){null==e&&(e="");var n=this.getCacheKey(t,r);this.cache.set(n,e)},e.addToWrongCache=function(t,e,r){null==e&&(e="");var n=this.getCacheKey(t,r);this.wrongCache.set(n,e)},e.getFromCache=function(t,e){if(n.isNullOrEmpty(t))return"";if(n.isNullOrWhiteSpace(t))return t;var r=this.getCacheKey(t,e);return this.cache.contains(r)?this.cache.get(r):null},e.getFromWrongCache=function(t,e){if(n.isNullOrEmpty(t))return"";if(n.isNullOrWhiteSpace(t))return t;var r=this.getCacheKey(t,e);return this.wrongCache.contains(r)?this.wrongCache.get(r):null},e.cleanCache=function(t){var e=this;null==t?this.cache.clear():this.cache.keys.toList().where((function(e){return e.stimulsoft.startsWith(t)})).forEach((function(t){return e.cache.remove(t)})),null==t?this.wrongCache.clear():this.wrongCache.keys.toList().where((function(e){return e.stimulsoft.startsWith(t)})).forEach((function(t){return e.wrongCache.remove(t)}))},e.cache=new u,e.wrongCache=new u,e}();e.StiReportParser=c}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Helpers.StiOnlineMapRepaintHelper,n=t.Base.IStiAppDictionary,i=t.Base.IStiApp,o=t.Report.Dashboard.Helpers.StiDashboardImageHyperlinkCache,a=t.Report.Dashboard.StiPivotToConvertedStateCache,s=t.Report.Dashboard.StiPivotTableToCrossTabCache,l=t.Report.Dashboard.StiPivotToContainerCache,u=t.Report.Dashboard.StiReportParser,c=t.Data.Engine.StiDataActionOperator,p=t.Data.Engine.StiDataSorter,h=t.Data.Engine.StiDataFiltrator,m=t.Data.Engine.StiDataJoiner,f=t.Data.Engine.StiDataPicker,d=function(){function t(){}return t.clean=function(t){if(void 0===t&&(t=null),null!=t){if(t.stimulsoft.is(e.IStiElement))return this.clean1(t);if(t.stimulsoft.is(n))return this.clean2(t);if(t.stimulsoft.is(i))return this.clean3(t)}else this.clean4(t)},t.clean1=function(t){this.clean4(t.getApp().getKey())},t.clean2=function(t){this.clean4(t.getApp().getKey())},t.clean3=function(t){this.clean4(t.getKey())},t.clean4=function(t){void 0===t&&(t=null),e.StiElementDataCache.cleanCache(t),f.cleanCache(t),m.cleanCache(t),h.cleanCache(t),p.cleanCache(t),c.cleanCache(t),u.cleanCache(t),r.clean(t),l.clean(t),s.clean(t),a.clean(t),o.clean(t)},t}();e.StiCacheCleaner=d}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=function(){function e(){}return Object.defineProperty(e,"isAssemblyLoaded",{get:function(){return null!=t["Dashboard"]},enumerable:!1,configurable:!0}),e}();e.StiDashboardAssembly=r}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiError,n=t.Base.StiDashboardNotSupportedException,i=t.Report.Components.StiComponent,o=t.System.Activator,a=t.Report.Dashboard.IStiDashboard,s=t.Base.StiActivator,l=function(){function l(){}return l.createDashboard=function(s){if(!e.StiDashboardAssembly.isAssemblyLoaded){var l=new n;return r.showError(l,!0),null}var u=StiOptions.Services.components.toList().firstOrDefault((function(e){return e==t["Dashboard"].Components.StiDashboard})),c=o.createInstance(u).stimulsoft.as(i);return null!=c&&(c.report=s),c.stimulsoft.as(a)},l.createDashboardElement=function(t){var e=null;switch(t){case"StiTableElement":case"Stimulsoft.Dashboard.Components.Table.StiTableElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Table.StiTableElement");break;case"StiChartElement":case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Chart.StiChartElement");break;case"StiGaugeElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement");break;case"StiPivotTableElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":e=s.createObject2("Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement");break;case"StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement");break;case"StiProgressElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Progress.StiProgressElement");break;case"StiRegionMapElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":e=s.createObject2("Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement");break;case"StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":e=s.createObject2("Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement");break;case"StiImageElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Image.StiImageElement");break;case"StiTextElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Text.StiTextElement");break;case"StiPanelElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Panel.StiPanelElement");break;case"StiShapeElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":e=s.createObject2("Stimulsoft.Dashboard.Components.Shape.StiShapeElement");break;case"StiListBoxElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":e=s.createObject2("Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement");break;case"StiComboBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":e=s.createObject2("Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement");break;case"StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":e=s.createObject2("Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement");break;case"StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":e=s.createObject2("Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement");break;case"StiDatePickerElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":e=s.createObject2("Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement");break}return e},l}();e.StiDashboardCreator=l}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiActivator,n=function(){function t(){}return t.getHtmlTextHelper=function(){try{return r.createObject2("Stimulsoft.Dashboard.Design.Helpers.StiHtmlTextHelper")}catch(t){}return null},t}();e.StiDashboardDesignAssembly=n}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,f,d,g,S,y,A,b,v,C,w,B,I,T,E,R;!function(t){t[t["Default"]=20]="Default",t[t["LZW"]=2]="LZW",t[t["CCITT3"]=3]="CCITT3",t[t["CCITT4"]=4]="CCITT4",t[t["Rle"]=5]="Rle",t[t["None"]=6]="None"}(e=t.StiTiffCompressionScheme||(t.StiTiffCompressionScheme={})),function(t){t[t["Span"]=1]="Span",t[t["Div"]=2]="Div",t[t["Table"]=3]="Table"}(r=t.StiHtmlExportMode||(t.StiHtmlExportMode={})),function(t){t[t["High"]=1]="High",t[t["Low"]=2]="Low"}(n=t.StiHtmlExportQuality||(t.StiHtmlExportQuality={})),function(t){t[t["None"]=0]="None",t[t["PrintDocument"]=1]="PrintDocument",t[t["ModifyContents"]=2]="ModifyContents",t[t["CopyTextAndGraphics"]=4]="CopyTextAndGraphics",t[t["AddOrModifyTextAnnotations"]=8]="AddOrModifyTextAnnotations",t[t["All"]=15]="All"}(i=t.StiUserAccessPrivileges||(t.StiUserAccessPrivileges={})),function(t){t[t["Bit40"]=1]="Bit40",t[t["Bit128"]=2]="Bit128",t[t["Bit128_r4"]=3]="Bit128_r4",t[t["Bit256_r5"]=4]="Bit256_r5",t[t["Bit256_r6"]=5]="Bit256_r6"}(o=t.StiPdfEncryptionKeyLength||(t.StiPdfEncryptionKeyLength={})),function(t){t[t["Jpeg"]=1]="Jpeg",t[t["Flate"]=2]="Flate",t[t["Indexed"]=3]="Indexed"}(a=t.StiPdfImageCompressionMethod||(t.StiPdfImageCompressionMethod={})),function(t){t[t["None"]=1]="None",t[t["Dialog"]=2]="Dialog",t[t["Silent"]=3]="Silent"}(s=t.StiPdfAutoPrintMode||(t.StiPdfAutoPrintMode={})),function(t){t[t["Simple"]=1]="Simple",t[t["UnicodeSingle"]=2]="UnicodeSingle",t[t["UnicodeDouble"]=3]="UnicodeDouble"}(l=t.StiTxtBorderType||(t.StiTxtBorderType={})),function(t){t[t["Monochrome"]=1]="Monochrome",t[t["Color"]=2]="Color"}(u=t.StiPcxPaletteType||(t.StiPcxPaletteType={})),function(t){t[t["None"]=1]="None",t[t["FloydSteinberg"]=2]="FloydSteinberg",t[t["Ordered"]=3]="Ordered"}(c=t.StiMonochromeDitheringType||(t.StiMonochromeDitheringType={})),function(t){t[t["Bmp"]=1]="Bmp",t[t["Gif"]=2]="Gif",t[t["Jpeg"]=3]="Jpeg",t[t["Pcx"]=4]="Pcx",t[t["Png"]=5]="Png",t[t["Tiff"]=6]="Tiff",t[t["Emf"]=7]="Emf",t[t["Svg"]=8]="Svg",t[t["Svgz"]=9]="Svgz"}(p=t.StiImageType||(t.StiImageType={})),function(t){t[t["Html"]=1]="Html",t[t["Html5"]=2]="Html5",t[t["Mht"]=3]="Mht"}(h=t.StiHtmlType||(t.StiHtmlType={})),function(t){t[t["Image"]=1]="Image",t[t["Vector"]=2]="Vector",t[t["AnimatedVector"]=3]="AnimatedVector"}(m=t.StiHtmlChartType||(t.StiHtmlChartType={})),function(t){t[t["ExcelBinary"]=1]="ExcelBinary",t[t["ExcelXml"]=2]="ExcelXml",t[t["Excel2007"]=3]="Excel2007"}(f=t.StiExcelType||(t.StiExcelType={})),function(t){t[t["Csv"]=1]="Csv",t[t["Dbf"]=2]="Dbf",t[t["Dif"]=3]="Dif",t[t["Sylk"]=4]="Sylk",t[t["Xml"]=5]="Xml",t[t["Json"]=6]="Json"}(d=t.StiDataType||(t.StiDataType={})),function(t){t[t["Pdf"]=0]="Pdf",t[t["Xps"]=1]="Xps",t[t["Ppt2007"]=2]="Ppt2007",t[t["Html"]=10]="Html",t[t["Html5"]=11]="Html5",t[t["Mht"]=12]="Mht",t[t["Txt"]=20]="Txt",t[t["Rtf"]=21]="Rtf",t[t["Word2007"]=22]="Word2007",t[t["Odt"]=23]="Odt",t[t["Excel"]=30]="Excel",t[t["ExcelXml"]=31]="ExcelXml",t[t["Excel2007"]=32]="Excel2007",t[t["Ods"]=33]="Ods",t[t["Data"]=40]="Data",t[t["Dbf"]=41]="Dbf",t[t["Xml"]=42]="Xml",t[t["Dif"]=43]="Dif",t[t["Sylk"]=44]="Sylk",t[t["Image"]=50]="Image",t[t["Bmp"]=50]="Bmp",t[t["Gif"]=51]="Gif",t[t["Jpeg"]=52]="Jpeg",t[t["Pcx"]=53]="Pcx",t[t["Png"]=54]="Png",t[t["Tiff"]=55]="Tiff",t[t["Emf"]=60]="Emf",t[t["Svg"]=61]="Svg",t[t["Svgz"]=62]="Svgz"}(g=t.StiExportPosition||(t.StiExportPosition={})),function(t){t[t["BookmarksOnly"]=1]="BookmarksOnly",t[t["ReportOnly"]=2]="ReportOnly",t[t["All"]=3]="All"}(S=t.StiHtmlExportBookmarksMode||(t.StiHtmlExportBookmarksMode={})),function(t){t[t["Default"]=0]="Default",t[t["USDOS"]=437]="USDOS",t[t["MazoviaDOS"]=620]="MazoviaDOS",t[t["GreekDOS"]=737]="GreekDOS",t[t["InternationalDOS"]=850]="InternationalDOS",t[t["EasternEuropeanDOS"]=852]="EasternEuropeanDOS",t[t["IcelandicDOS"]=861]="IcelandicDOS",t[t["NordicDOS"]=865]="NordicDOS",t[t["RussianDOS"]=866]="RussianDOS",t[t["KamenickyDOS"]=895]="KamenickyDOS",t[t["TurkishDOS"]=857]="TurkishDOS",t[t["EasternEuropeanWindows"]=1250]="EasternEuropeanWindows",t[t["RussianWindows"]=1251]="RussianWindows",t[t["WindowsANSI"]=1252]="WindowsANSI",t[t["GreekWindows"]=1253]="GreekWindows",t[t["TurkishWindows"]=1254]="TurkishWindows",t[t["StandardMacintosh"]=1e4]="StandardMacintosh",t[t["GreekMacintosh"]=10006]="GreekMacintosh",t[t["RussianMacintosh"]=10007]="RussianMacintosh",t[t["EasternEuropeanMacintosh"]=10029]="EasternEuropeanMacintosh"}(y=t.StiDbfCodePages||(t.StiDbfCodePages={})),function(t){t[t["String"]=0]="String",t[t["Int"]=1]="Int",t[t["Long"]=2]="Long",t[t["Float"]=3]="Float",t[t["Double"]=4]="Double",t[t["Date"]=5]="Date",t[t["Bool"]=6]="Bool"}(A=t.StiExportDataType||(t.StiExportDataType={})),function(t){t[t["Color"]=1]="Color",t[t["Grayscale"]=2]="Grayscale",t[t["Monochrome"]=3]="Monochrome"}(b=t.StiImageFormat||(t.StiImageFormat={})),function(t){t[t["Table"]=4]="Table",t[t["Frame"]=1]="Frame",t[t["WinWord"]=2]="WinWord",t[t["TabbedText"]=3]="TabbedText"}(v=t.StiRtfExportMode||(t.StiRtfExportMode={})),function(t){t[t["Data"]=1]="Data",t[t["Headers"]=2]="Headers",t[t["DataAndHeaders"]=3]="DataAndHeaders",t[t["Footers"]=4]="Footers",t[t["HeadersFooters"]=6]="HeadersFooters",t[t["DataAndHeadersFooters"]=7]="DataAndHeadersFooters",t[t["AllBands"]=15]="AllBands"}(C=t.StiDataExportMode||(t.StiDataExportMode={})),function(t){t[t["No"]=1]="No",t[t["ExceptEditableFields"]=2]="ExceptEditableFields",t[t["Yes"]=3]="Yes"}(w=t.StiWord2007RestrictEditing||(t.StiWord2007RestrictEditing={})),function(t){t[t["No"]=1]="No",t[t["ExceptEditableFields"]=2]="ExceptEditableFields",t[t["Yes"]=3]="Yes"}(B=t.StiExcel2007RestrictEditing||(t.StiExcel2007RestrictEditing={})),function(t){t[t["No"]=1]="No",t[t["Yes"]=2]="Yes"}(I=t.StiPdfAllowEditable||(t.StiPdfAllowEditable={})),function(t){t[t["Exactly"]=1]="Exactly",t[t["NoMoreThan"]=2]="NoMoreThan",t[t["Auto"]=3]="Auto"}(T=t.StiImageResolutionMode||(t.StiImageResolutionMode={})),function(t){t[t["None"]=0]="None",t[t["A1"]=1]="A1",t[t["A2"]=2]="A2",t[t["A3"]=3]="A3"}(E=t.StiPdfComplianceMode||(t.StiPdfComplianceMode={})),function(t){t[t["Normal"]=1]="Normal",t[t["PageLayout"]=2]="PageLayout",t[t["PageBreakPreview"]=3]="PageBreakPreview"}(R=t.StiExcelSheetViewMode||(t.StiExcelSheetViewMode={}))}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiPromise,i=t.System.IO.MemoryStream,o=t.Base.StiDashboardNotSupportedException,a=t.Report.Export.StiPdfAutoPrintMode,s=function(){function t(){}return t.exportAsync=function(t,s,l){var u=new n;if(!r.StiDashboardAssembly.isAssemblyLoaded)throw new o;var c=r.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","Helpers.StiExportSettingsHelper","getDashboardExportSettings",[l]);return l.getExportFormat()==e.StiExportFormat.Pdf&&l.autoPrintMode==a.Dialog&&r.StiInvokeMethodsHelper.setPropertyValue(c,"autoPrint",!0),r.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","StiDashboardExportTools","exportToStreamAsync",[t,c]).try((function(t){var e=new i(t);null!=e&&e.copyTo(s),u.callTry()})),u},t}();r.StiDashboardExport=s}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiActivator,n=function(){function t(){}return t.createTableElementAutoSizer=function(){try{return r.createObject2("Stimulsoft.Dashboard.Drawing.Helpers.StiTableElementAutoSizer")}catch(t){}return null},t.createProgressVisualSvgHelper=function(){try{return r.createObject2("Stimulsoft.Dashboard.Helpers.StiProgressVisualSvgHelper")}catch(t){}return null},t.createIndicatorVisualSvgHelper=function(){try{return r.createObject2("Stimulsoft.Dashboard.Helpers.StiIndicatorVisualSvgHelper")}catch(t){}return null},t.createGaugeVisualSvgHelper=function(){try{return r.createObject2("Stimulsoft.Dashboard.Helpers.StiGaugeVisualSvgHelper")}catch(t){}return null},t}();e.StiDashboardHelperCreator=n}(r=e.Dashboards||(e.Dashboards={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Data.DBNull,n=t.Data.Engine.StiDataFilterCondition,i=t.System.StiString,o=t.Data.Engine.StiDataFilterRule,a=function(){function e(){}return e.createEqualBasedOnValue=function(e,a,s){var l=t.Report.Dictionary.StiDataColumn.getDataColumnFromColumnName(s.report.dictionary,a),u;return(null==l?void 0:l.type)==String&&(e.stimulsoft.is(String)&&i.isNullOrEmpty(e)||null==e||e==r.value)?new o(a,null,n.IsBlankOrNull,e.toString()):null==e||e==r.value?new o(a,null,n.IsNull):new o(a,null,n.EqualTo,e.toString())},e}();e.StiDataFilterCreator=a}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var StiElementMeterAction=Stimulsoft.Report.StiElementMeterAction,Stimulsoft;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){this.action=t.StiElementMeterAction.None}return e.createEmptyArgs=function(){return new e},e.createRenamingArgs=function(r,n){var i=new e;return i.action=t.StiElementMeterAction.Rename,i.oldName=r,i.newName=n,i},e.createDeletingArgs=function(r){var n=new e;return n.action=t.StiElementMeterAction.Delete,n.oldName=r,n},e.createClearingAllArgs=function(){var r=new e;return r.action=t.StiElementMeterAction.ClearAll,r},e}();t.StiElementChangedArgs=e}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var IStiTransformActions=Stimulsoft.Data.Engine.IStiTransformActions,IStiTransformFilters=Stimulsoft.Data.Engine.IStiTransformFilters,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(t){var e;!function(t){var e;!function(t){var e=function(){function e(){}return e.processElementChanging=function(e,r){switch(r.action){case t.StiElementMeterAction.Rename:this.processElementRenaming(e,r);break;case t.StiElementMeterAction.ClearAll:this.processElementClearing(e);break;case t.StiElementMeterAction.Delete:this.processElementDeleting(e,r);break}},e.processElementRenaming=function(t,e){var r=t.stimulsoft.as(IStiTransformActions);null!=r&&null!=r.transformActions&&r.transformActions.where((function(t){return t.path==e.oldName})).toList().forEach((function(t){return t.path=e.newName}));var n=t.stimulsoft.as(IStiTransformFilters);null!=n&&null!=n.transformFilters&&n.transformFilters.where((function(t){return t.path==e.oldName})).toList().forEach((function(t){return t.path=e.newName}))},e.processElementClearing=function(t){var e=t.stimulsoft.as(IStiTransformActions);null!=e&&null!=e.transformActions&&e.transformActions.clear();var r=t.stimulsoft.as(IStiTransformFilters);null!=r&&null!=r.transformFilters&&r.transformFilters.clear()},e.processElementDeleting=function(t,e){var r=t.stimulsoft.as(IStiTransformActions);null!=r&&null!=r.transformActions&&r.transformActions.where((function(t){return t.path==e.oldName})).toList().forEach((function(t){return r.transformActions.remove(t)}));var n=t.stimulsoft.as(IStiTransformFilters);null!=n&&null!=n.transformFilters&&n.transformFilters.where((function(t){return t.path==e.oldName})).toList().forEach((function(t){return n.transformFilters.remove(t)}))},e}();t.StiElementChangedProcessor=e}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Data.Engine.IStiDrillDownElement,n=t.Data.Engine.StiDataFilterRuleHelper,i=t.Data.Engine.StiDataRequestOption,o=t.Data.Engine.StiDataTable,a=t.System.Collections.List,s=t.System.Collections.Dictionary,l=t.Data.Engine.IStiUserSorts,u=t.Data.Engine.IStiDataFilters,c=t.Data.Engine.IStiTransformActions,p=t.Data.Engine.IStiTransformFilters,h=t.Data.Engine.IStiTransformSorts,m=t.Base.StiAppKey,f=t.Data.Engine.StiDataAnalyzer,d=t.Base.Helpers.StiComponentProgressHelper,g=function(){function t(){}return t.tryToGetOrCreate=function(t,e){return void 0===e&&(e=i.All),__awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.getOrCreate(t,e)];case 1:return[2,n.sent()];case 2:return r=n.sent(),[2,null];case 3:return[2]}}))}))},t.getOrCreate=function(t,e){return void 0===e&&(e=i.All),__awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:if(null!=(r=this.get(t)))return[2,r];return[4,this.create(t,e)];case 1:return r=n.sent(),this.add(t,r),[2,r]}}))}))},t.getOrCreatePivot=function(t,r,n){return void 0===n&&(n=i.All),__awaiter(this,void 0,void 0,(function(){var i,o;return __generator(this,(function(a){switch(a.label){case 0:if(e.StiPivotToContainerCache.contains(t)&&null!=this.get(t))return[2,e.StiPivotToContainerCache.get(t)];if(null!=(i=this.get(t)))return[3,2];return[4,this.create(t,n)];case 1:o=a.sent(),this.add(t,o),e.StiPivotToContainerCache.remove(t),r.create(t,o),a.label=2;case 2:return[2,i]}}))}))},t.getOrCreateWithProgress=function(t,e){return void 0===e&&(e=i.All),__awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:if(null!=(r=this.get(t)))return[2,r];if(this.elements.contains(t))return[2,null];return d.add(t),this.elements.add(t),[4,this.initWorker(e)];case 1:return n.sent(),[2,null]}}))}))},t.getOrCreatePivotWithProgress=function(t,r,n){return void 0===n&&(n=i.All),__awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(e.StiPivotToContainerCache.contains(t)&&null!=this.get(t))return[2,e.StiPivotToContainerCache.get(t)];if(this.elements.contains(t))return[2,null];return this.pivotCreator=r,d.add(t),this.elements.add(t),[4,this.initWorker(n)];case 1:return i.sent(),[2,null]}}))}))},t.get=function(t){var e=this.getKey(t);return this.cache.contains(e)?this.cache.get(e):null},t.create=function(t,r){return __awaiter(this,void 0,void 0,(function(){var n,a,s,l,u,c,p,h,m,d,g,S;return __generator(this,(function(y){switch(y.label){case 0:if(n=(r&i.DisallowTransform)>0,a=t.page.stimulsoft.as(e.IStiDashboard),null==(s=t.getMeters())||!s.any())return[2,o.nullTable];return l=e.StiGroupElementHelper.getGroup(t),u=this.getUserFilters(t,a),c=this.getUserSorts(t,r),p=this.getDataFilters(t),h=n?null:this.getTransformActions(t),m=n?null:this.getTransformFilters(t),d=n?null:this.getTransformSorts(t),g=this.getDrillDownFilters(t),[4,f.analyze(a,l,s,r,c,u,p,null,d,m,h,g)];case 1:return[2,S=y.sent()]}}))}))},t.add=function(t,e){var r=this.getKey(t);this.cache.set(r,e)},t.initWorker=function(t){return void 0===t&&(t=i.All),__awaiter(this,void 0,void 0,(function(){var r,n,i,a;return __generator(this,(function(s){switch(s.label){case 0:if(null!=this.worker)return[2];this.worker={},s.label=1;case 1:if(!1)return[3,8];if(0==this.elements.length)return[3,1];r=void 0,r=this.elements.firstOrDefault(),this.elements.remove(r),s.label=2;case 2:if(s.trys.push([2,5,6,7]),null!=(n=this.get(r)))return[3,4];return[4,this.create(r,t)];case 3:i=s.sent(),this.add(r,i),r.stimulsoft.is(e.IStiPivotTableElement)&&e.StiPivotToContainerCache.remove(r),s.label=4;case 4:return r.stimulsoft.is(e.IStiPivotTableElement)&&this.pivotCreator.create(r,n),[3,7];case 5:return a=s.sent(),this.add(r,o.nullTable),[3,7];case 6:return[7];case 7:return[3,1];case 8:return[2]}}))}))},t.getKey=function(t){var r,i,o=m.getOrGeneratedKey(t);null==o&&(o="");var a=null!=t?t.getMeters():null;if(null==a||!a.any())return o+".0";var s=t.page.stimulsoft.as(e.IStiDashboard),u=0,c=a.select((function(t){return(u++).toString()+t.getUniqueCode().toString()})),p;if(null!=s){var h=s.getUserFilters(t);if(null!=h){var f=h.select((function(t){return(u++).toString()+t.getUniqueCode().toString()}));null!=f&&c.addRange(f)}}var d=this.getDataFilters(t);if(null!=d){var g=d.select((function(t){return(u++).toString()+t.getUniqueCode().toString()}));null!=g&&c.addRange(g)}var S=this.getDrillDownFilters(t);if(null!=S){var y=S.select((function(t){return(u++).toString()+t.getUniqueCode().toString()}));null!=y&&c.addRange(y)}if(t.stimulsoft.is(l)){var A=t.userSorts.select((function(t){return(u++).toString()+t.getUniqueCode().toString()}));null!=A&&c.addRange(A)}if(t.stimulsoft.is(e.IStiPivotTableElement)&&t.stimulsoft.is(e.IStiTitleElement)){var b=t.title.text;null==b&&(b=""),c.add(b.stimulsoft.getHashCode().toString()),c.addRange(t.pivotTableConditions.select((function(t){return t.getUniqueCode().toString()})).toList())}var v=0,C;try{for(var w=__values(c),B=w.next();!B.done;B=w.next()){var I;v+=B.value.stimulsoft.getHashCode()}}catch(t){r={error:t}}finally{try{B&&!B.done&&(i=w.return)&&i.call(w)}finally{if(r)throw r.error}}return o+"."+(v+=n.getFilterRulesHash(s.getApp(),p))},t.cleanCache=function(t){var e=this;null==t?this.cache.clear():this.cache.keys.where((function(e){return e.stimulsoft.startsWith(t)})).forEach((function(t){return e.cache.remove(t)}))},t.getUserFilters=function(t,e){if(null==e)return null;return e.getUserFilters(t)},t.getUserSorts=function(t,e){if(!t.stimulsoft.is(l))return null;return(e&i.AllowDataSort)>0?t.userSorts:null},t.getDataFilters=function(t){return t.stimulsoft.is(u)?t.dataFilters:null},t.getTransformActions=function(t){return t.stimulsoft.is(c)?t.transformActions:null},t.getTransformFilters=function(t){return t.stimulsoft.is(p)?t.transformFilters:null},t.getTransformSorts=function(t){return t.stimulsoft.is(h)?t.transformSorts:null},t.getDrillDownFilters=function(t){return t.stimulsoft.is(r)?t.drillDownFilters:null},t.elements=new a,t.cache=new s,t}();e.StiElementDataCache=g}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiJson,n=function(){function t(t,e){this.fullScreenButton=!0,this.saveButton=!0,null!=t&&(this.saveButton=t),null!=e&&(this.fullScreenButton=e)}return t.prototype.saveToJsonObject=function(t){var e=new r;return e.addPropertyBool("FullScreenButton",this.fullScreenButton,!0),e.addPropertyBool("SaveButton",this.saveButton,!0),e},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FullScreenButton":this.fullScreenButton=o.value.stimulsoft.toBoolean();break;case"SaveButton":this.saveButton=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){for(var e=0;e0){var u;l=l[s.splice(0,1)[0]]}if(l==t)return null;var c=l[n];if(null!=c)return c.apply(l,i);return null},e.setPropertyValue=function(t,e,r){null!=t&&(t[e]=r)},e.getPropertyValue=function(t,e){if(null!=t)return t[e];return null},e}();e.StiInvokeMethodsHelper=r}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiJson,n=function(){function t(t,e,r,n){this.left=3,this.top=3,this.right=3,this.bottom=3,this.left=t,this.right=r,this.top=e,this.bottom=n}return t.prototype.saveToJsonObject=function(t,e,n,i,o){if(void 0===e&&(e=3),void 0===n&&(n=3),void 0===i&&(i=3),void 0===o&&(o=3),this.left==e&&this.top==n&&this.right==i&&this.bottom==o)return null;var a=new r;return a.addPropertyNumber("Left",this.left),a.addPropertyNumber("Top",this.top),a.addPropertyNumber("Right",this.right),a.addPropertyNumber("Bottom",this.bottom),a},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"Right":this.right=o.value.stimulsoft.toNumber();break;case"Bottom":this.bottom=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){var e=t.textContent.toString().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()},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){var e=t;return null!=e&&e.left==this.left&&e.top==this.top&&e.right==this.right&&e.bottom==this.bottom},t.create=function(e){return void 0===e&&(e=3),new t(e,e,e,e)},t.empty=t.create(),t}();e.StiMargin=n}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiJson,n=function(){function t(t,e,r,n){this.left=5,this.top=5,this.right=5,this.bottom=5,this.left=t,this.right=r,this.top=e,this.bottom=n}return t.prototype.saveToJsonObject=function(t,e,n,i,o){if(void 0===e&&(e=5),void 0===n&&(n=5),void 0===i&&(i=5),void 0===o&&(o=5),this.left==e&&this.top==n&&this.right==i&&this.bottom==o)return null;var a=new r;return a.addPropertyNumber("Left",this.left,e),a.addPropertyNumber("Top",this.top,n),a.addPropertyNumber("Right",this.right,i),a.addPropertyNumber("Bottom",this.bottom,o),a},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"Right":this.right=o.value.stimulsoft.toNumber();break;case"Bottom":this.bottom=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){var e=t.textContent.toString().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()},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){var e=t;return null!=e&&e.left==this.left&&e.top==this.top&&e.right==this.right&&e.bottom==this.bottom},t.create=function(e){return void 0===e&&(e=5),new t(e,e,e,e)},t.empty=t.create(),t}();e.StiPadding=n}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Drawing.StiColor,n=t.System.Collections.List,i=function(){function t(){}return t.sets=new n([r.get2("2f528f","3960a7","406dbb","6d89cb","9eadd8","c0c9e4"),r.get2("ae5a21","ca6a28","e2772e","ef9164","f3b29a","f6ccbe"),r.get2("787878","8c8c8c","9d9d9d","b1b1b1","c6c6c6","d8d8d8"),r.get2("bc8c00","daa400","f3b700","ffc859","ffd695","ffe2bc"),r.get2("41719c","4c84b6","5694cb","7aa9da","a4c0e3","c4d5eb"),r.get2("507e32","5f933b","6ba543","88b76e","acca9e","c9dbc1"),r.get2("5f5f5f","b3b3b3","898989","212121","dadada","aaaaaa"),r.get2("c0c9e4","9eadd8","6d89cb","406dbb","3960a7","2f528f"),r.get2("f6ccbe","f3b29a","ef9164","e2772e","ca6a28","ae5a21"),r.get2("d8d8d8","c6c6c6","b1b1b1","9d9d9d","8c8c8c","787878"),r.get2("ffe2bc","ffd695","ffc859","f3b700","daa400","bc8c00"),r.get2("c4d5eb","a4c0e3","7aa9da","5694cb","4c84b6","41719c"),r.get2("c9dbc1","acca9e","88b76e","6ba543","5f933b","507e32")]),t.negativeSets=new n([r.get2("ee0e1b","d20213","b3030f","9d040c","7f0005","6b0004"),r.get2("f36642","f24e29","e64926","d74222","c93c1e","af3017"),r.get2("de3a70","c81a57","c81a57","b21852","9c144e","780d46"),r.get2("718792","5b7481","4f6570","41525b","344047","252e32")]),t}();e.StiPredefinedColors=i}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=function(){function t(){}return t.getSize=function(t,e){if(null==e)return null;var r=this.stimulsoft.getHashCode(t,e);return null!=this.stringToSize.get(r)?this.stringToSize.get(r):null},t.putSize=function(t,e,r){if(null==e)return;var n=this.stimulsoft.getHashCode(t,e);this.stringToSize.set(n,r)},t.getHashCode=function(t,e){return t.stimulsoft.getHashCode().toString()+e},t.stringToSize=new r,t}();e.StiStringMeasureCache=n}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.System.Text.XMLConvert,i=function(){function i(){}return Object.defineProperty(i.prototype,"getPropertiesSupported",{get:function(){return!1},enumerable:!1,configurable:!0}),i.rangeToString=function(t){var e;return(new i).convertTo(null,null,t,String)},i.stringToRange=function(t){var e;return(new i).convertFrom(null,null,t)},i.prototype.convertTo=function(t,i,o,a){if(a==String){var s=o.stimulsoft.as(e.CharRange);if(null!=s)return r.format("Char,{0},{1}",n.encodeName(s.from.toString()),n.encodeName(s.to.toString()));var l=null,u=null,c=o.stimulsoft.as(e.DateTimeRange);if(null!=c){try{l=c.from?c.from.toString():"",u=c.to?c.to.toString():""}finally{}return r.format("DateTime,{0},{1}",n.encodeName(l),n.encodeName(u))}var p=o.stimulsoft.as(e.TimeSpanRange);if(null!=p){try{l=p.from?p.from.toString():"",u=p.to?p.to.toString():""}finally{}return r.format("TimeSpan,{0},{1}",n.encodeName(l),n.encodeName(u))}var h=o.stimulsoft.as(e.DecimalRange);if(null!=h)return r.format("Decimal,{0},{1}",n.encodeName(h.from.toString().stimulsoft.replaceAll(",",".")),n.encodeName(h.to.toString().stimulsoft.replaceAll(",",".")));var m=o.stimulsoft.as(e.FloatRange);if(null!=m)return r.format("Float,{0},{1}",n.encodeName(m.from.toString().stimulsoft.replaceAll(",",".")),n.encodeName(m.to.toString().stimulsoft.replaceAll(",",".")));var f=o.stimulsoft.as(e.DoubleRange);if(null!=f)return r.format("Double,{0},{1}",n.encodeName(f.from.toString().stimulsoft.replaceAll(",",".")),n.encodeName(f.to.toString().stimulsoft.replaceAll(",",".")));var d=o.stimulsoft.as(e.ByteRange);if(null!=d)return r.format("Byte,{0},{1}",d.from,d.to);var g=o.stimulsoft.as(e.ShortRange);if(null!=g)return r.format("Short,{0},{1}",g.from,g.to);var S=o.stimulsoft.as(e.IntRange);if(null!=S)return r.format("Int,{0},{1}",S.from,S.to);var y=o.stimulsoft.as(e.LongRange);if(null!=y)return r.format("Long,{0},{1}",y.from,y.to);var A=o.stimulsoft.as(e.GuidRange);if(null!=A)return r.format("Guid,{0},{1}",n.encodeName(A.from.toString()),n.encodeName(A.to.toString()));var b=o.stimulsoft.as(e.StringRange);if(null!=b)return r.format("String,{0},{1}",n.encodeName(b.from.toString()),n.encodeName(b.to.toString()))}return!1},i.prototype.canConvertFrom=function(t,e){if("string"==typeof e)return!0;return!1},i.prototype.canConvertTo=function(t,e){if("object"==typeof e)return!0;if("string"==typeof e)return!0;return!1},i.prototype.convertFrom=function(i,o,a){if("string"==typeof a){var s,l=a.stimulsoft.as(String).split(",");if("Char"==l[0])return new e.CharRange(n.decodeName(l[1])[0],n.decodeName(l[2])[0]);if("DateTime"==l[0]){var u=void 0,c=void 0;try{var p=n.decodeName(l[1]),h=n.decodeName(l[2]);u=r.isNullOrEmpty(p.trim())?null:t.System.DateTime.fromString(p),c=r.isNullOrEmpty(h.trim())?null:t.System.DateTime.fromString(h)}finally{}return new e.DateTimeRange(u,c)}if("TimeSpan"==l[0]){var m=void 0,f=void 0;try{var p=n.decodeName(l[1]),h=n.decodeName(l[2]);m=r.isNullOrEmpty(p.trim())?null:t.System.TimeSpan.fromString(p),f=r.isNullOrEmpty(h.trim())?null:t.System.TimeSpan.fromString(h)}finally{}return new e.TimeSpanRange(m,f)}if("Decimal"==l[0]){var d=n.decodeName(l[1]).stimulsoft.toNumber(),g=n.decodeName(l[2]).stimulsoft.toNumber();return new e.DecimalRange(d,g)}if("Float"==l[0]){var d=n.decodeName(l[1]).stimulsoft.toNumber(),g=n.decodeName(l[2]).stimulsoft.toNumber();return new e.FloatRange(d,g)}if("Double"==l[0]){var d=n.decodeName(l[1]).stimulsoft.toNumber(),g=n.decodeName(l[2]).stimulsoft.toNumber();return new e.DoubleRange(d,g)}if("Byte"==l[0]){var d=l[1].stimulsoft.toNumber(!1),g=l[2].stimulsoft.toNumber(!1);return new e.ByteRange(d,g)}if("Short"==l[0]){var d=l[1].stimulsoft.toNumber(!1),g=l[2].stimulsoft.toNumber(!1);return new e.ShortRange(d,g)}if("Int"==l[0]){var d=l[1].stimulsoft.toNumber(!1),g=l[2].stimulsoft.toNumber(!1);return new e.IntRange(d,g)}if("Long"==l[0]){var d=l[1].stimulsoft.toNumber(!1),g=l[2].stimulsoft.toNumber(!1);return new e.LongRange(d,g)}if("Guid"==l[0]){var p=n.decodeName(l[1]),h=n.decodeName(l[2]),S=void 0,y=void 0;return S=r.isNullOrEmpty(p)?t.System.Guid.empty:new t.System.Guid(p),y=r.isNullOrEmpty(h)?t.System.Guid.empty:new t.System.Guid(h),new e.GuidRange(S,y)}if("String"==l[0]){var p=n.decodeName(l[1]),h=n.decodeName(l[2]);return new e.StringRange(p,h)}}return!1},i}();e.RangeConverter=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"rulerStep",{get:function(){return 100},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"factor",{get:function(){return 100},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortName",{get:function(){return"hi"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return"HundredthsOfInch"},enumerable:!1,configurable:!0}),e.prototype.convertToHInches=function(t){return t},e.prototype.convertFromHInches=function(t){return t},e}(t.StiUnit);t.StiHundredthsOfInchUnit=e}(e=t.Units||(t.Units={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"rulerStep",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"factor",{get:function(){return 100/2.54},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortName",{get:function(){return"cm"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return"Centimeters"},enumerable:!1,configurable:!0}),e.prototype.convertToHInches=function(t){return 100*t/2.54},e.prototype.convertFromHInches=function(t){return 2.54*t/100},e}(t.StiUnit);t.StiCentimetersUnit=e}(e=t.Units||(t.Units={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"rulerStep",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"factor",{get:function(){return 100/2.54},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortName",{get:function(){return"mm"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return"Millimeters"},enumerable:!1,configurable:!0}),e.prototype.convertToHInches=function(t){return 10*t/2.54},e.prototype.convertFromHInches=function(t){return 2.54*t/10},e}(t.Report.Units.StiUnit);e.StiMillimetersUnit=r}(r=e.Units||(e.Units={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.Drawing.StiAction,i=t.Report.Units.StiMillimetersUnit,o=t.Report.Units.StiCentimetersUnit,a=t.Report.Units.StiHundredthsOfInchUnit,s=t.System.Drawing.Color,l=t.Base.Drawing.StiColorUtils,u=t.Report.Components.StiQuickInfoType,c=function(){function t(t){void 0===t&&(t=null),this._forceDesigningMode=!1,this._quickInfoType=u.None,this._generateLocalizedName=!1,this._showDimensionLines=!0,this._quickInfoOverlay=!0,this._isComponentsMoving=!1,this._currentAction=n.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=e.StiGridMode.Lines,this._report=t}return t.prototype.clone=function(e){var r=new t(e);return r._forceDesigningMode=this._forceDesigningMode,r._quickInfoType=this._quickInfoType,r._generateLocalizedName=this._generateLocalizedName,r._showDimensionLines=this._showDimensionLines,r._quickInfoOverlay=this._quickInfoOverlay,r._isComponentsMoving=this._isComponentsMoving,r._currentAction=this._currentAction,r._isTableMode=this._isTableMode,r._drawMarkersWhenMoving=this._drawMarkersWhenMoving,r._runDesignerAfterInsert=this._runDesignerAfterInsert,r._useLastFormat=this._useLastFormat,r._autoSaveInterval=this._autoSaveInterval,r._enableAutoSaveMode=this._enableAutoSaveMode,r._showOrder=this._showOrder,r._alignToGrid=this._alignToGrid,r._autoSaveReportToReportClass=this._autoSaveReportToReportClass,r._showGrid=this._showGrid,r._showInteractive=this._showInteractive,r._zoom=this._zoom,r._showRulers=this._showRulers,r._gridSizePixels=this._gridSizePixels,r._gridSizeCentimetres=this._gridSizeCentimetres,r._gridSizeHundredthsOfInch=this._gridSizeHundredthsOfInch,r._gridSizeInch=this._gridSizeInch,r._gridSizeMillimeters=this._gridSizeMillimeters,r._fillBands=this._fillBands,r._fillCrossBands=this._fillCrossBands,r._fillContainer=this._fillContainer,r._fillComponent=this._fillComponent,r._useComponentColor=this._useComponentColor,r._gridMode=this._gridMode,r._forceDesigningMode=this._forceDesigningMode,r._quickInfoType=this._quickInfoType,r._generateLocalizedName=this._generateLocalizedName,r._showDimensionLines=this._showDimensionLines,r._quickInfoOverlay=this._quickInfoOverlay,r._isComponentsMoving=this._isComponentsMoving,r._currentAction=this._currentAction,r._isTableMode=this._isTableMode,r._drawEventMarkers=this._drawEventMarkers,r._drawMarkersWhenMoving=this._drawMarkersWhenMoving,r._runDesignerAfterInsert=this._runDesignerAfterInsert,r._useLastFormat=this._useLastFormat,r._autoSaveInterval=this._autoSaveInterval,r._enableAutoSaveMode=this._enableAutoSaveMode,r._showOrder=this._showOrder,r._alignToGrid=this._alignToGrid,r._autoSaveReportToReportClass=this._autoSaveReportToReportClass,r._showHeaders=this._showHeaders,r._showGrid=this._showGrid,r._showInteractive=this._showInteractive,r._zoom=this._zoom,r._showRulers=this._showRulers,r._gridSizePixels=this._gridSizePixels,r._gridSizeCentimetres=this._gridSizeCentimetres,r._gridSizeHundredthsOfInch=this._gridSizeHundredthsOfInch,r._gridSizeInch=this._gridSizeInch,r._gridSizeMillimeters=this._gridSizeMillimeters,r._fillBands=this._fillBands,r._fillCrossBands=this._fillCrossBands,r._fillContainer=this._fillContainer,r._fillComponent=this._fillComponent,r._useComponentColor=this._useComponentColor,r._gridMode=this._gridMode,r},Object.defineProperty(t.prototype,"forceDesigningMode",{get:function(){return this._forceDesigningMode},set:function(t){this._forceDesigningMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quickInfoType",{get:function(){return this._quickInfoType},set:function(t){this._quickInfoType=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"generateLocalizedName",{get:function(){return this._generateLocalizedName},set:function(t){this._generateLocalizedName=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDimensionLines",{get:function(){return this._showDimensionLines},set:function(t){this._showDimensionLines=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quickInfoOverlay",{get:function(){return this._quickInfoOverlay},set:function(t){this._quickInfoOverlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isComponentsMoving",{get:function(){return this._isComponentsMoving},set:function(t){this._isComponentsMoving=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentAction",{get:function(){return this._currentAction},set:function(t){this._currentAction=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTableMode",{get:function(){return this._isTableMode},set:function(t){this._isTableMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawEventMarkers",{get:function(){return this._drawEventMarkers},set:function(t){this._drawEventMarkers=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMarkersWhenMoving",{get:function(){return this._drawMarkersWhenMoving},set:function(t){this._drawMarkersWhenMoving=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"runDesignerAfterInsert",{get:function(){return this._runDesignerAfterInsert},set:function(t){this._runDesignerAfterInsert=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useLastFormat",{get:function(){return this._useLastFormat},set:function(t){this._useLastFormat=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoSaveInterval",{get:function(){return this._autoSaveInterval},set:function(t){this._autoSaveInterval=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enableAutoSaveMode",{get:function(){return this._enableAutoSaveMode},set:function(t){this._enableAutoSaveMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showOrder",{get:function(){return this._showOrder},set:function(t){this._showOrder=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignToGrid",{get:function(){return this._alignToGrid},set:function(t){this._alignToGrid=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoSaveReportToReportClass",{get:function(){return this._autoSaveReportToReportClass},set:function(t){this._autoSaveReportToReportClass=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHeaders",{get:function(){return this._showHeaders},set:function(t){this._showHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showGrid",{get:function(){return this._showGrid},set:function(t){this._showGrid=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInteractive",{get:function(){return this._showInteractive},set:function(t){this._showInteractive=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(t){this._zoom=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRulers",{get:function(){return this._showRulers},set:function(t){this._showRulers=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizePoints",{get:function(){return this._gridSizePoints},set:function(t){this._gridSizePoints=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizePixels",{get:function(){return this._gridSizePixels},set:function(t){this._gridSizePixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizeCentimetres",{get:function(){return this._gridSizeCentimetres},set:function(t){this._gridSizeCentimetres=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizeHundredthsOfInch",{get:function(){return this._gridSizeHundredthsOfInch},set:function(t){this._gridSizeHundredthsOfInch=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizeInch",{get:function(){return this._gridSizeInch},set:function(t){this._gridSizeInch=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSizeMillimeters",{get:function(){return this._gridSizeMillimeters},set:function(t){this._gridSizeMillimeters=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridSize",{get:function(){if(this.report.unit.stimulsoft.is(i))return this.report.info.gridSizeMillimeters;if(this.report.unit.stimulsoft.is(o))return this.report.info.gridSizeCentimetres;if(this.report.unit.stimulsoft.is(a))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillBands",{get:function(){return this._fillBands},set:function(t){this._fillBands=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillCrossBands",{get:function(){return this._fillCrossBands},set:function(t){this._fillCrossBands=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillContainer",{get:function(){return this._fillContainer},set:function(t){this._fillContainer=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillComponent",{get:function(){return this._fillComponent},set:function(t){this._fillComponent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useComponentColor",{get:function(){return this._useComponentColor},set:function(t){this._useComponentColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gridMode",{get:function(){return this._gridMode},set:function(t){this._gridMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),t.prototype.getFillColor=function(t){var e=s.empty;return this.useComponentColor?e=s.fromArgb(40,t):(e=l.dark(s.white,40),e=s.fromArgb(100,e)),e},t}();r.StiDesignerInfo=c}(r=e.Design||(e.Design={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Char,o=t.Base.StiLexer,a=t.Base.StiTokenType,s=t.System.Collections.Hashtable,l=function(){function t(t,e){this.first=t,this.second=e}return t}(),u=function(){function t(){}return t.packExpression=function(t,e,r){var n,i,u={ref:new s},c={ref:new s};this.buildDictionary(e,u,c,!0);var p=0,h=new o(t),m=null,f=null,d=t,g=0;do{var S=h.getToken();if(S.type==a.EOF)break;if(r&&S.type==a.LBrace)g++;else if(r&&S.type==a.RBrace)g--;else if(S.type==a.Ident&&(!r||r&&g>0)){var y=S.data.stimulsoft.replaceAll(" ","").toLowerCase(),A=null;if(null!=m&&m.type==a.Dot){var b=Array.isArray(c.ref.get(y))?c.ref.get(y):null;if(null!=b)try{for(var v=(n=void 0,__values(b)),C=v.next();!C.done;C=v.next()){var w,B=C.value.stimulsoft.as(l);null!=B&&(null!=f?f.type==a.Ident&&f.data.toLowerCase()==B.first.toLowerCase()&&(A=B.second):A=B.second)}}catch(t){n={error:t}}finally{try{C&&!C.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}}else A=u.ref.get(y);if(null!=A){var I=A.length-S.length;d=(d=d.stimulsoft.remove(S.index+p,S.length)).stimulsoft.insert(S.index+p,A,0),p+=I}}f=m,m=S}while(1==1);return d},t.unPackExpression=function(t,e,r){var n,i,l={ref:new s},u={ref:new s};this.buildDictionary(e,l,u,!1);var c=0,p=new o(t),h=null,m=null,f=t,d=0,g=null;do{var S=p.getToken();if(S.type==a.EOF)break;if(r&&S.type==a.LBrace)d++;else if(r&&S.type==a.RBrace)d--;else if((!r||r&&d>0)&&(S.type==a.LBracket||S.type==a.Ident)){var y=-1,A=-1,b=null;if(S.type==a.LBracket){A=y=S.index+c;do{var v=p.getToken();if(null==S&&(S=v),v.type==a.EOF){y=-1;break}if(v.type==a.RBracket)break;A=v.index+v.length+c}while(1==1);if(-1==y)break;y-=c,A-=c,b=t.substr(y,A-y+1)}else y=S.index,A=S.index+S.length,b=S.data;var C=b.length;b=b.stimulsoft.replaceAll(" ","").toLowerCase();var w=null;if(null!=h&&h.type==a.Dot){var B=u.ref.get(b);if(null!=B)try{for(var I=(n=void 0,__values(B)),T=I.next();!T.done;T=I.next()){var E,R=T.value;null!=R&&(null!=m?null!=g&&g.toLowerCase()==R.first.toLowerCase()&&(w=R.second):w=R.second)}}catch(t){n={error:t}}finally{try{T&&!T.done&&(i=I.return)&&i.call(I)}finally{if(n)throw n.error}}}else w=l.ref.get(b);if(null!=w){var D=w.length-C;f=(f=f.stimulsoft.remove(S.index+c,C)).stimulsoft.insert(S.index+c,w,0),c+=D}g=w}m=h,h=S}while(1==1);return f},t.isValidName=function(t){if(n.isNullOrEmpty(t)||!i.isLetter(t[0])&&"_"!=t[0])return!1;for(var e=0;e0&&n.add(r.report,p.key,p.dataTable),p.disconnect()}}catch(t){a={error:t}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}},t.regDataAfterAsync=function(t,o,a){var s,l,u=new r;if(!i.enabled)return u.callTry();if(t&&t.stimulsoft.is(e.StiFileDatabase)&&(a=!0),!a)return u.callTry();var c=this.fetchAll(t,o),p=c.length,h=function(t){if(n.exists(t.key))return"continue";t.connectAsync(null,a).try((function(){null!=t.dataTable&&t.dataTable.columns.count>0&&n.add(o.report,t.key,t.dataTable),t.disconnect(),0==p&&u.callTry()}))};try{for(var m=__values(c),f=m.next();!f.done;f=m.next()){var d;h(f.value)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}return 0==p&&u.callTry(),u},t.existsInCache=function(t,e){if(!i.enabled)return!1;var r=this.fetchAll(t,e);if(null==r)return!1;return r.all((function(t){return n.exists(t.key)}))},t.getColumnsFromData=function(t,e,r){return t.getColumnsFromData(e,r,"")},t.getColumnsFromDataAsync=function(t,e,r){return t.getColumnsFromDataAsync(e,r,"")},t.connectDataSourceToData=function(t,e,r,o){if(i.enabled&&n.exists(r.key))return void(r.dataTable=n.get(r.key,o));t.connectDataSourceToData(e,r,o),i.enabled&&null!=r.dataTable&&r.dataTable.columns.count>0&&o&&n.add(e.report,r.key,r.dataTable)},t.connectDataSourceToDataAsync=function(t,e,o,a){var s=new r;if(i.enabled&&n.exists(o.key))return o.dataTable=n.get(o.key,a),s.callTry();var l=function(){i.enabled&&null!=o.dataTable&&o.dataTable.columns.count>0&&a&&n.add(e.report,o.key,o.dataTable)};return t.connectDataSourceToDataAsync(e,o,a).try((function(){l(),s.callTry()})).catch((function(t){l(),s.callCatch(t)})),s},t.retrieveDataAsync=function(t,e){return void 0===e&&(e=!1),t.retrieveDataAsync(e)},t.connect=function(t,e,r){void 0===r&&(r=!0),t.connect(e,r)},t.connectAsync=function(t,e,r){return void 0===r&&(r=!0),t.connectAsync(e,r)},t.connectAsync2=function(t,e,r){return void 0===r&&(r=!0),__awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,i){t.connectAsync(e,r).try((function(){return n()})).catch((function(t){return i(t)}))}))]}))}))},t.disconnect=function(t){t.disconnect()},t}();e.StiDataLeader=o}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.Report.Dictionary.StiDataLeader,o=t.Base.StiCsvHelper,a=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return __extends(a,t),Object.defineProperty(a.prototype,"name",{get:function(){return"CSV"},enumerable:!1,configurable:!0}),a.prototype.getColumnsFromData=function(t,n){var i,a,s=new r.StiDataColumnsCollection,l=n.stimulsoft.as(r.StiCsvSource);if(null==l)return s;try{var u=o.getTable(l.path,l.codePage,l.separator);try{for(var c=__values(u.columns.list),p=c.next();!p.done;p=c.next()){var h=p.value,m=e.StiNameValidator.correctName(h.columnName);s.add(new r.StiDataColumn(m,h.caption,"",h.dataType))}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return s},a.prototype.getParametersFromData=function(t,e){return new r.StiDataParametersCollection},a.prototype.setDataSourceNames=function(e,r){t.prototype.setDataSourceNames.call(this,e,r);var n=r.path;n=null==n||0==n.trim().length?"Csv":n.substr(n.lastIndexOf(".")),r.name=n,r.alias=n},a.prototype.getDataSourceType=function(){return r.StiCsvSource},a.prototype.getDataTypes=function(){return[r.StiCsvSource]},a.prototype.connectDataSourceToData=function(t,r,n){try{i.disconnect(r);var a=r,s=o.getTable(a.path,a.codePage,a.separator);n||s.rows.clear(),s.tableName=a.name,r.dataTable=s,this.checkConvertNulls(a)}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},a.prototype.checkConvertNulls=function(t){var e,r;if(null==t.dictionary||null==t.dictionary.report)return;if(!t.convertEmptyStringToNull)return;for(var i=t.dataTable,o=n.create(Boolean,i.columns.count),a=0;aPlease, read the manual for additional information.');else{var s=new XMLHttpRequest;if(s.open("post",this.url,!0),s.timeout=r,e.headers)try{for(var l=__values(e.headers),u=l.next();!u.done;u=l.next()){var c=u.value;s.setRequestHeader(c.key,c.value)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}delete e.headers,s.onload=function(){if(200==s.status){var t=s.responseText;s.abort(),a.callTry(t)}},s.onerror=function(t){a.callCatch(p.get("DesignerFx","ConnectionError"))};var m=JSON.stringify(e);s.send(m)}}catch(e){t.System.StiError.showError(e,!1),a.callCatch(e.message)}return a.catch((function(t){s&&s.abort()})),a.onAbort((function(){s&&s.abort()})),a},f.prototype.process=function(e,r,n){var i=this,o=new h;f.callTurn.stimulsoft.insert(0,{command:r,timeout:n,promise:o});var a=function(){if(f.callTurn.length>0){var r=f.callTurn.stimulsoft.peek(),n=function(n){var i,o,s=n;try{if(null!=n&&n.stimulsoft.is(String)&&(s=JSON.parse(n)),Object.prototype.hasOwnProperty.call(s,"types")&&null!=s.types&&s.types.stimulsoft.is(Array))for(var l in s.types)if("array"==s.types[l])try{for(var u=(i=void 0,__values(s.rows)),c=u.next();!c.done;c=u.next()){var p=c.value;p[l]=t.System.Convert.fromBase64String(p[l])}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}catch(t){s={success:!1,notice:"Error Parse."}}var h={result:s};e.invokeEndProcessData(h),h.result.success?r.promise.callTry(h.result):r.promise.callCatch(h.result),f.callTurn.pop(),a()};r.command.preventDefault=!1,e.invokeBeginProcessData(r.command,n),0==r.command.preventDefault&&(delete r.command.preventDefault,i.callRemoteApi(r.command,r.timeout).timeout(r.timeout).try((function(e){try{n(e)}catch(e){t.System.StiError.showError(e,!1),r.promise.callCatch({success:!1,notice:e.message}),f.callTurn.pop(),a()}})).catch((function(t){r.promise.callCatch({success:!1,notice:t}),f.callTurn.pop(),a()})).abort(o))}};return 1==f.callTurn.length&&a(),o.onAbort((function(){for(var t=0;t=2)switch(C[0]=C[0].trim().toLowerCase(),C[1]=C[1].trim(),C[0]){case"database":case"data source":y=C[1];break}}}}catch(t){h={error:t}}finally{try{b&&!b.done&&(m=A.return)&&m.call(A)}finally{if(h)throw h.error}}null==d.queryString&&(d.queryString="SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+y+"'");var w=u?1e3*u.commandTimeout:30*1e3,B=this;B.process(e,d,w).try((function(s){var l,u,c=new n,p=new a,h="";try{for(var m=__values(s.rows),g=m.next();!g.done;g=m.next()){var S=g.value,y=S[s.columns.indexOf("TABLE_NAME")],A=S[s.columns.indexOf("TABLE_TYPE")],b=o.newTableOrView(y);p.set(y,b),r.isNullOrEmpty(h)?h=" WHERE ":h+=" OR ",h+="TABLE_NAME='"+y+"'","BASE TABLE"==A&&c.tables.add(b),"VIEW"==A&&c.views.add(b)}}catch(t){l={error:t}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}if(h.length<=0)return void I(c);d.queryString="SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+h,B.process(e,d,w).try((function(e){var r,n;try{for(var o=__values(e.rows),a=o.next();!a.done;a=o.next()){var s=a.value,l=s[e.columns.indexOf("TABLE_NAME")],u=s[e.columns.indexOf("COLUMN_NAME")],c=s[e.columns.indexOf("COLUMN_TYPE")],h=String;switch(c.indexOf("(")>0&&(c=c.substr(0,c.indexOf("("))),c.indexOf(" ")>0&&(c=c.substr(0,c.indexOf(" "))),c.toUpperCase()){case"CHAR":case"VARCHAR":case"TINYTEXT":case"TEXT":case"MEDIUMTEXT":case"LONGTEXT":h=String;break;case"BLOB":case"MEDIUMBLOB":case"LONGBLOB":h=t.System.ByteArray;break;case"ENUM":case"SET":h=String;break;case"TINYINT":h=t.System.Int16;break;case"SMALLINT":h=t.System.Int16;break;case"MEDIUMINT":h=t.System.Int32;break;case"INT":h=t.System.Int16;break;case"BIGINT":h=t.System.Int64;break;case"FLOAT":h=t.System.Float;break;case"DOUBLE":h=t.System.Double;break;case"DECIMAL":h=t.System.Decimal;break;case"DATE":case"DATETIME":case"TIMESTAMP":case"TIME":case"YEAR":h=t.System.DateTime;break}var m=new i(u,h),f=p.get(l);null!=f&&f.columns.push(m)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}})).catch((function(e){t.System.StiError.showError(e.notice)})).finally((function(t){I(c)})).abort(f)})).catch((function(t){f.callCatch(t.notice)})).abort(f);var I=function(t){d.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE' AND ROUTINE_SCHEMA = '"+y+"'",B.process(e,d,w).try((function(e){var r,n;try{for(var i=__values(e.rows),a=i.next();!a.done;a=i.next()){var s,l=a.value[e.columns.indexOf("ROUTINE_NAME")],u=o.newProcedure(l);t.storedProcedures.add(u)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}f.callTry(t)})).catch((function(t){f.callCatch(t.notice)})).abort(f)};return f},c}(e.StiSqlAdapterService);e.StiMySqlAdapterService=u}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.StiDataSchema,i=t.Base.StiDataColumnSchema,o=t.Base.StiDataTableSchema,a=t.System.Collections.Hashtable,s=t.Base.Localization.StiLocalization,l=t.System.StiPromise,u=function(u){function c(){return null!==u&&u.apply(this,arguments)||this}return __extends(c,u),Object.defineProperty(c.prototype,"name",{get:function(){return"Oracle"},enumerable:!1,configurable:!0}),c.prototype.getDataSourceType=function(){return e.StiOracleSource},c.prototype.retrieveSchemaAsync=function(e,u,c,p){void 0===p&&(p=null);var h=new l;if(r.isNullOrEmpty(c))return h.callCatch(s.get("DesignerFx","ConnectionError")+": Connection string empty"),h;p||(p="SELECT OWNER, TABLE_NAME FROM ALL_TABLES WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','WMSYS','CTXSYS','ORDSYS','XDB','MDSYS','TSMSYS','LBACSYS')");var m={command:"ExecuteQuery",connectionString:c,queryString:p,database:this.name,headers:[]};if(u){var f=u.nameInSource.indexOf(".");-1==f&&(f=u.nameInSource.length);var d=u.nameInSource.substring(0,f);m.dataSource=u.name,m.connection=d}var g=u?1e3*u.commandTimeout:30*1e3,S=this,y=new n;return S.process(e,m,g).try((function(n){var s,l,u=new a,c="";try{for(var p=__values(n.rows),f=p.next();!f.done;f=p.next()){var d=f.value,A=d[n.columns.indexOf("OWNER")],b=d[n.columns.indexOf("TABLE_NAME")],v=o.newTableOrView(A+"."+b);u.set(b,v),r.isNullOrEmpty(c)?c=" WHERE ":c+=" OR ",c+="TABLE_NAME='"+b+"'",y.tables.add(v)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}if(c.length<=0)return void h.callTry(y);m.queryString="SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLS"+c,S.process(e,m,g).try((function(t){var e,r;try{for(var n=__values(t.rows),a=n.next();!a.done;a=n.next()){var s=a.value,l=s[t.columns.indexOf("TABLE_NAME")],c=s[t.columns.indexOf("COLUMN_NAME")],p=new i(c),h=u.get(l).stimulsoft.as(o);null!=h&&h.columns.push(p)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}})).catch((function(e){t.System.StiError.showError(e.notice)})).finally((function(t){h.callTry(y)})).abort(h)})).catch((function(t){h.callCatch(t.notice)})).abort(h),h},c}(e.StiSqlAdapterService);e.StiOracleAdapterService=u}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.StiDataColumnSchema,i=t.Base.StiDataTableSchema,o=t.System.Collections.Hashtable,a=t.Base.StiDataSchema,s=t.Base.Localization.StiLocalization,l=t.System.StiPromise,u=function(u){function c(){return null!==u&&u.apply(this,arguments)||this}return __extends(c,u),Object.defineProperty(c.prototype,"name",{get:function(){return"PostgreSQL"},enumerable:!1,configurable:!0}),c.prototype.getDatabaseSpecificName=function(t){return r.format('public."{0}"',t)},c.prototype.getDataSourceType=function(){return e.StiPostgreSQLSource},c.prototype.retrieveSchemaAsync=function(e,u,c,p){void 0===p&&(p=null);var h=new l;if(r.isNullOrEmpty(c))return h.callCatch(s.get("DesignerFx","ConnectionError")+": Connection string empty"),h;p||(p="SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+StiOptions.Engine.retrieveSchemaNamePostgreSql+"'");var m={command:"ExecuteQuery",connectionString:c,queryString:p,database:this.name,headers:[]};if(u){var f=u.nameInSource.indexOf(".");-1==f&&(f=u.nameInSource.length);var d=u.nameInSource.substring(0,f);m.dataSource=u.name,m.connection=d}var g=u?1e3*u.commandTimeout:30*1e3,S=this,y=new a;S.process(e,m,g).try((function(a){var s,l,u=new o,c="";try{for(var p=__values(a.rows),f=p.next();!f.done;f=p.next()){var d=f.value,b=d[a.columns.indexOf(a.columns.stimulsoft.toList().firstOrDefault((function(t){return"TABLE_TYPE"==t.toUpperCase()})))],v=d[a.columns.indexOf(a.columns.stimulsoft.toList().firstOrDefault((function(t){return"TABLE_NAME"==t.toUpperCase()})))],C=i.newTableOrView(v);u.set(v,C),r.isNullOrEmpty(c)?c=" WHERE ":c+=" OR ",c+="TABLE_NAME='"+v+"'","BASE TABLE"==b&&y.tables.add(C),"VIEW"==b&&y.views.add(C)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}if(c.length<=0)return void A(y);m.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+c,S.process(e,m,g).try((function(e){var r,o;try{for(var a=__values(e.rows),s=a.next();!s.done;s=a.next()){var l=s.value,c=l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault((function(t){return"TABLE_NAME"==t.toUpperCase()})))],p=l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault((function(t){return"COLUMN_NAME"==t.toUpperCase()})))],h=l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault((function(t){return"DATA_TYPE"==t.toUpperCase()})))],m=String;switch(h){case"boolean":case"bool":m=Boolean;break;case"bytea":m=t.System.ByteArray;break;case"serial":case"smallserial":case"smallint":case"integer":case"int":case"int4":case"double":m=t.System.Int64;break;case"numeric":m=t.System.Decimal;break;case"date":case"time":m=t.System.DateTime;break;case"timestamp":case"interval":m=t.System.TimeSpan;break}var f=new n(p,m),d=u.get(c).stimulsoft.as(i);null!=d&&d.columns.push(f)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}})).catch((function(e){t.System.StiError.showError(e.notice)})).finally((function(t){A(y)})).abort(h)})).catch((function(t){h.callCatch(t.notice)})).abort(h);var A=function(t){m.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'",S.process(e,m,g).try((function(e){var r,n;try{for(var o=__values(e.rows),a=o.next();!a.done;a=o.next()){var s,l=a.value[e.columns.indexOf("ROUTINE_NAME")],u=i.newProcedure(l);t.storedProcedures.add(u)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}h.callTry(t)})).catch((function(t){h.callCatch(t.notice)})).abort(h)};return h},c}(e.StiSqlAdapterService);e.StiPostgreSQLAdapterService=u}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.Localization.StiLocalization,i=t.System.StiPromise,o=t.System.Data.DataTable,a=t.Base.StiDataSchema,s=t.Base.StiDataColumnSchema,l=t.Base.StiDataTableSchema,u=t.System.Data.DataSet,c=t.System.Data.DataColumn,p=function(p){function h(){var t=p.call(this)||this;return t._name="Custom",t}return __extends(h,p),h.registerCustomAdapterService=function(t){var e=new h;return e._name=t.name,e.processUserFunction=t.process,StiOptions.Services.dataAdapters.add(e),e},Object.defineProperty(h.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),h.prototype.getDataSourceType=function(){return e.StiCustomSource},h.prototype.callRemoteApi=function(e,r){var n=this,o=new i,a,s;try{a=setTimeout((function(){null!=s&&clearTimeout(s),delete e.event,n.processUserFunction(e,(function(t){return o.callTry(t)}))})),s=setTimeout((function(){o.catch((function(t){null!=a&&clearTimeout(a)}))}),r)}catch(e){t.System.StiError.showError(e,!1),o.callCatch(e.message)}return o},h.prototype.retrieveDataAsync=function(e,n,a,s){var l=new i;r.isNullOrEmpty(a)&&(a=""),r.isNullOrEmpty(s)&&(s="");var p={command:"RetrieveData",connectionString:a,queryString:s.stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[]},h=n?1e3*n.commandTimeout:30*1e3,m=n.name,f;return this.process(e,p,h).try((function(e){var r,n,i,a,s,p,h,f,d;try{var g=new u;g.readJson({root:e.data});var S=null;if(1==g.tables.count)S=g.tables.getByIndex(0);else if(g.tables.count>0){try{for(var y=__values(g.tables.list),A=y.next();!A.done;A=y.next()){var b=A.value;if(b.tableName==m){S=b;break}}}catch(t){r={error:t}}finally{try{A&&!A.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}if(null==S)try{for(var v=__values(g.tables.list),C=v.next();!C.done;C=v.next()){var w=C.value;if(0==m.indexOf(w.tableName)){S=w;break}}}catch(t){i={error:t}}finally{try{C&&!C.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}}var B=new o(S.tableName);try{for(var I=__values(S.columns.list),T=I.next();!T.done;T=I.next()){var E=T.value,R=E.columnName,D=E.dataType;if(Object.prototype.hasOwnProperty.call(e,"types")&&null!=e.types){var P=null===(d=e.types[R])||void 0===d?void 0:d.replace("Stimulsoft.System.","");switch(e.types[R]){case"boolean":D=Boolean;break;case"number":D=t.System.Decimal;break;case"string":D=String;break;case"array":D=t.System.ByteArray;break;case"datetime":D=t.System.DateTime;break;default:t.System[P]&&(D=t.System[P])}}var x=new c(R,D);B.columns.add(x)}}catch(t){s={error:t}}finally{try{T&&!T.done&&(p=I.return)&&p.call(I)}finally{if(s)throw s.error}}try{for(var F=__values(S.rows.list),N=F.next();!N.done;N=F.next()){var k=N.value,M=B.addNewRow();for(var O in k.columns.list){var x=B.columns.getByIndex(O.stimulsoft.toNumber()),_=k[O];M.setValue(x,_)}}}catch(t){h={error:t}}finally{try{N&&!N.done&&(f=F.return)&&f.call(F)}finally{if(h)throw h.error}}l.callTry(S||g.tables.getByIndex(0))}catch(e){t.System.StiError.showError(e,!1),l.callCatch(e.message)}})).catch((function(t){l.callCatch(t.notice)})).abort(l),l},h.prototype.retrieveSchemaAsync=function(e,p,h,m){void 0===m&&(m=null);var f=new i;if(r.isNullOrEmpty(h))return f.callCatch(n.get("DesignerFx","ConnectionError")+": Connection string empty"),f;var d={command:"RetrieveSchema",connectionString:h,database:this.name,headers:[]},g=p?1e3*p.commandTimeout:30*1e3;return this.process(e,d,g).try((function(e){var r,n,i,p,h,m=new u;if(m.readJson(e.data),0==m.tables.count&&Object.prototype.hasOwnProperty.call(e,"types")&&null!=e.types)for(var d in e.types){var g=new o(d);for(var S in m.tables.add(g),e.types[d])g.columns.add(new c(S,String))}var y=new a;try{for(var A=__values(m.tables.list),b=A.next();!b.done;b=A.next()){var g=b.value,v=l.newTableOrView(g.tableName);try{for(var C=(i=void 0,__values(g.columns.list)),w=C.next();!w.done;w=C.next()){var B=w.value,I=B.dataType;if(Object.prototype.hasOwnProperty.call(e,"types")&&null!=e.types){var T=null===(h=e.types[g.tableName][B.columnName])||void 0===h?void 0:h.replace("Stimulsoft.System.","");switch(T.toLowerCase()){case"boolean":I=Boolean;break;case"number":I=t.System.Decimal;break;case"string":I=String;break;case"array":I=t.System.ByteArray;break;case"datetime":I=t.System.DateTime;break;default:t.System[T]&&(I=t.System[T])}}var E=new s(B.columnName,I);v.columns.push(E)}}catch(t){i={error:t}}finally{try{w&&!w.done&&(p=C.return)&&p.call(C)}finally{if(i)throw i.error}}y.tables.add(v)}}catch(t){r={error:t}}finally{try{b&&!b.done&&(n=A.return)&&n.call(A)}finally{if(r)throw r.error}}f.callTry(y)})).catch((function(t){f.callCatch(t.notice)})).abort(f),f},h}(e.StiSqlAdapterService);e.StiCustomAdapterService=p}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(t){function n(e,r,n,i){void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=r),void 0===i&&(i="");var o=t.call(this,r,n,i)||this;return o.nameInSource=e,o}return __extends(n,t),n.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),r},n.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"NameInSource":this._nameInSource=a.value;break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},n.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var r=0;rthis.name.length+1)return this.nameInSource.substr(0,this.nameInSource.length-(this.name.length+1));var o=this.nameInSource.lastIndexOf(".");if(-1!=o)return this.nameInSource.substr(0,o);if(!r.isNullOrEmpty(this.nameInSource))return this.nameInSource;return t.prototype.getCategoryName.call(this)},Object.defineProperty(n.prototype,"dataName",{get:function(){return this.nameInSource},set:function(t){this.nameInSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=t},enumerable:!1,configurable:!0}),n}(e.StiDataSource);e.StiDataStoreSource=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=function(t){function i(e,r,n,i){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=r),void 0===i&&(i=""),t.call(this,e,r,n,i)||this}return __extends(i,t),i.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),r},i.prototype.loadFromJsonObject=function(e){t.prototype.loadFromJsonObject.call(this,e)},i.prototype.getCategoryName=function(){var e=this.nameInSource;if(n.isNullOrEmpty(e))return t.prototype.getCategoryName.call(this);if(e=e.toLowerCase(),null!=this.dictionary){var i=this.dictionary.databases.toList().firstOrDefault((function(t){return t.name.toLowerCase()==e}));if(null!=i)return i.name}var o=r.StiDataAdapterService.getDataAdapter(this);if(null!=o&&null!=o.stimulsoft.as(r.StiDataTableAdapterService)){var a=o.getDataFromDataSource(this.dictionary,this);if(null==a)return t.prototype.getCategoryName.call(this);return o.getDataCategoryName(a)}return t.prototype.getCategoryName.call(this)},i.prototype.getDataAdapterType=function(){return r.StiDataTableAdapterService},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiDataTableSource},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiDataStoreSource);r.StiDataTableSource=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Base.Localization.StiLocalization,o=t.System.Data.DataTable,a=t.System.StiPromise,s=function(s){function l(){return null!==s&&s.apply(this,arguments)||this}return __extends(l,s),Object.defineProperty(l.prototype,"serviceName",{get:function(){return i.get("Adapters","AdapterDataTables")},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isObjectAdapter",{get:function(){return!0},enumerable:!1,configurable:!0}),l.prototype.getDataCategoryName=function(t){var e=t.name,r=t.viewData.stimulsoft.as(o);if(null==r&&t.viewData.stimulsoft.is(o)&&(r=t.viewData),null!=r)if(null!=t.name&&t.data.stimulsoft.is(o)){var i=e.lastIndexOf("."),a;-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&&!n.isNullOrEmpty(t.alias)){if(StiOptions.Dictionary.showOnlyAliasForData)return t.alias;e=n.format("{0} [{1}]",e,t.alias)}return e},l.prototype.getColumnsFromDataAsync=function(t,e){var r=new a;return r.callTry(this.getColumnsFromData(t,e)),r},l.prototype.getColumnsFromData=function(t,n){var i,a,s=new r.StiDataColumnsCollection,l=t.viewData.stimulsoft.as(o);null==l&&t.viewData.stimulsoft.is(o)&&(l=t.viewData.stimulsoft.as(o));try{for(var u=__values(l.columns.list),c=u.next();!c.done;c=u.next()){var p=c.value;s.add(new r.StiDataColumn(p.columnName,p.caption,p.caption,p.dataType))}}catch(t){i={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}for(var h=0;h1)return null;C=g}}}catch(t){s={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(s)throw s.error}}if(1==v&&e.dictionary.dataSources.count>1){var I=0;try{for(var T=__values(e.dictionary.dataSources.list),E=T.next();!E.done;E=T.next()){var R;E.value.getDataAdapter().stimulsoft.is(l)&&I++}}catch(t){c={error:t}}finally{try{E&&!E.done&&(p=T.return)&&p.call(T)}finally{if(c)throw c.error}}if(I>1)return null}return C},l.prototype.connectDataSourceToDataAsync=function(e,r,n){var i=new a,o=this;return setTimeout((function(){try{o.connectDataSourceToData(e,r,n),i.callTry()}catch(e){t.System.StiError.showError(e,!1),i.callCatch(e.message)}})),i},l.prototype.connectDataSourceToData=function(t,e,n){r.StiDataLeader.disconnect(e);var i=this.getDataFromDataSource(t,e);if(null==i)return;var a=i.viewData.stimulsoft.as(o);if(null==a&&i.viewData.stimulsoft.is(o)&&(a=i.viewData),null==a)return;e.dictionary.report.cacheAllData&&n?e.dataTable=e.getDataTable(a):e.dictionary.report.cacheAllData?(e.dictionary.report.cacheAllData=!1,e.dataTable=a,e.dictionary.report.cacheAllData=!0):e.dataTable=a},l}(r.StiDataStoreAdapterService);r.StiDataTableAdapterService=s}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t){void 0===t&&(t=!1),this.isFirstInit=!1,this._runningTotal=!1,this._runningTotal=t}return Object.defineProperty(t.prototype,"serviceName",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.reset=function(){var t=this.runningTotal;this._runningTotal=!1,this.init(),this._runningTotal=t},t.prototype.calcItem=function(t){},t.prototype.getValue=function(){},t.prototype.setValue=function(t){},Object.defineProperty(t.prototype,"recureParam",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"runningTotal",{get:function(){return this._runningTotal},set:function(t){this._runningTotal=t},enumerable:!1,configurable:!0}),t}();t.StiAggregateFunctionService=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.DateTime,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.avgValue=0,e.count=0,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"AvgDate"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)},e.prototype.calcItem=function(t){if(null!=t&&t.stimulsoft.is(r)){var e=t;this.count++}},e.prototype.getValue=function(){if(0==this.count)return null},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiAvgDateFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiObjectConverter,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Avg"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.count=0)},e.prototype.calcItem=function(t){if(null==t)return;this.summary+=r.convertToNumber(t),this.count++},e.prototype.getValue=function(){if(0==this.count)return 0;return this.summary/this.count},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiAvgFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.TimeSpan,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.avgValue=0,e.count=0,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"AvgTime"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)},e.prototype.calcItem=function(t){if(null!=t&&t.stimulsoft.is(r)){var e=t;this.avgValue+=e.ticks,this.count++}},e.prototype.getValue=function(){if(0==this.count)return null;return new r(this.avgValue/this.count)},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiAvgTimeFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"CountDistinct"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.counter=0,this.values=new r)},e.prototype.calcItem=function(t){null==this.values&&(this.values=new r),null==this.values.get(t)&&(this.values.set(t,t),this.counter++)},e.prototype.getValue=function(){return this.counter},e.prototype.setValue=function(t){this.counter=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiCountDistinctFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Count"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.counter=0)},e.prototype.calcItem=function(t){this.counter++},e.prototype.getValue=function(){return this.counter},e.prototype.setValue=function(t){this.counter=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(t.StiAggregateFunctionService);t.StiCountFunctionService=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.first=!0,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"First"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.first=!0,this.value=null)},e.prototype.calcItem=function(t){this.first&&(this.first=!1,this.value=t)},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t){this.value=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(t.StiAggregateFunctionService);t.StiFirstFunctionService=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Last"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.value=null)},e.prototype.calcItem=function(t){this.value=t},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t){this.value=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(t.StiAggregateFunctionService);t.StiLastFunctionService=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.DateTime,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.valueProcessed=!1,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"MaxDate"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},e.prototype.calcItem=function(t){if(t.stimulsoft.is(r)){var e=t;this.valueProcessed?this.maximum.tickse.ticks&&(this.minimum=e):(this.minimum=e,this.valueProcessed=!0)}},e.prototype.getValue=function(){if(this.valueProcessed)return this.minimum;return null},e.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMinDateFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiObjectConverter,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Min"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.minimum=Number.MAX_VALUE)},e.prototype.calcItem=function(t){if(null==t)return;var e=r.convertToNumber(t);this.minimum>e&&(this.minimum=e)},e.prototype.getValue=function(){return this.minimum},e.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMinFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.ascComparison=function(t,e){return t.stimulsoft.compareTo(e)},Object.defineProperty(e.prototype,"serviceName",{get:function(){return"MinStr"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)},e.prototype.calcItem=function(t){var e=null!=t?t.toString():"";this.values.push(e)},e.prototype.getValue=function(){if(null==this.values||0==this.values.length)return"";return this.values.sort(e.ascComparison),this.values[0]},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(t.StiAggregateFunctionService);t.StiMinStrFunctionService=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.TimeSpan,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.valueProcessed=!1,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"MinTime"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},e.prototype.calcItem=function(t){if(t.stimulsoft.is(r)){var e=t;this.valueProcessed?this.minimum.ticks>e.ticks&&(this.minimum=e):(this.minimum=e,this.valueProcessed=!0)}},e.prototype.getValue=function(){return this.minimum},e.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMinTimeFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Base.StiObjectConverter,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Mode"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new r)},e.prototype.calcItem=function(t){if(null==t)return;var e=n.convertToNumber(t),r=this.values.get(e);null==r&&(r=0),r+=1,this.values.set(e,r)},e.prototype.getValue=function(){var t,e;if(null==this.values||0==this.values.count)return null;var r=0,n=0;try{for(var i=__values(this.values.keys),o=i.next();!o.done;o=i.next()){var a=o.value,s=this.values.get(a);s>n&&(n=s,r=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiModeFunctionService=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Report.StiRankOrder,i=function(t){function e(e,i,o){void 0===i&&(i=!0),void 0===o&&(o=n.Asc);var a=t.call(this,e)||this;return a.hash=new r,a.sortOrder=n.Asc,a.dense=!0,a.dense=i,a.sortOrder=o,a}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Rank"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.isFirstInit&&this.hash.clear()},e.prototype.calcItem=function(t){if(null==t)return;if(this.hash.containsKey(t)){var e=this.hash.get(t);this.hash.set(t,e+1)}else this.hash.set(t,1)},e.prototype.getValue=function(){var t,e,r=new Array(this.hash.keys.length);this.hash.keys.copyTo(r),r.sort((function(t,e){return t-e})),this.sortOrder==n.Desc&&r.reverse();var i=1;try{for(var o=__values(r),a=o.next();!a.done;a=o.next()){var s=a.value,l=this.hash.get(s);this.hash.set(s,i),i+=this.dense?1:l}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return this.hash},e.prototype.setValue=function(t){this.hash=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiRankFunctionService=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Base.StiObjectConverter,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"SumDistinct"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.values=new r)},e.prototype.calcItem=function(t,e){if(void 0===e&&(e=t),null==this.values&&(this.values=new r),null==t)return;null==this.values.get(t)&&(this.values.set(t,t),this.summary+=n.convertToNumber(t))},e.prototype.getValue=function(){return this.summary},e.prototype.setValue=function(t){this.summary=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiSumDistinctFunctionService=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiObjectConverter,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"Sum"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0)},e.prototype.calcItem=function(t){if(null==t)return;this.summary+=r.convertToNumber(t)},e.prototype.getValue=function(){return this.summary},e.prototype.setValue=function(t){this.summary=r.convertToNumber(t)},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiSumFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiObjectConverter,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"SumNullable"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.hasValues=!1)},e.prototype.calcItem=function(t){if(null==t)return;this.summary+=r.convertToNumber(t),this.hasValues=!0},e.prototype.getValue=function(){if(this.hasValues)return this.summary;return null},e.prototype.setValue=function(t){this.summary=t,this.hasValues=null!=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiSumNullableFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.TimeSpan,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.sumValue=0,e}return __extends(e,t),Object.defineProperty(e.prototype,"serviceName",{get:function(){return"SumTime"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.sumValue=0)},e.prototype.calcItem=function(t){if(null!=t&&t.stimulsoft.is(r)){var e=t;this.sumValue+=e.ticks}},e.prototype.getValue=function(){return new r(this.sumValue)},e.prototype.setValue=function(t){this.sumValue=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiSumTimeFunctionService=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t){this._category=t}return Object.defineProperty(t.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),t}();t.StiBusinessObjectCategory=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t,e,r,n){this.category=t,this.name=e,this.alias=r,this.businessObjectValue=n}return Object.defineProperty(t.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"businessObjectValue",{get:function(){return this._businessObjectValue},set:function(t){this._businessObjectValue=t},enumerable:!1,configurable:!0}),t}();t.StiBusinessObjectData=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o){void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=0),void 0===o&&(o=null);var a=e.call(this,r,r,n,o)||this;return a.path=t,a.codePage=i,a}return __extends(r,e),Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiFileDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"path",{get:function(){return this.nameInSource},set:function(t){this.nameInSource=t},enumerable:!1,configurable:!0}),r}(e.StiDataStoreSource);e.StiFileDataSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=""),void 0===i&&(i=0),void 0===o&&(o=null),void 0===a&&(a="");var s=r.call(this,t,e,n,i,a)||this;return s.convertEmptyStringToNull=!0,s.separator=o,s}return __extends(n,r),n.prototype.saveToJsonObject=function(t){var e=r.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("Path",this.path),e.addPropertyNumber("CodePage",this.codePage),e.addPropertyStringNullOrEmpty("Separator",this.separator),e.addPropertyBool("ConvertEmptyStringToNull",this.convertEmptyStringToNull,!0),e},n.prototype.loadFromJsonObject=function(t){var e,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Path":this.path=a.toString();break;case"CodePage":this.codePage=a.stimulsoft.toNumber();break;case"Separator":this.separator=a.toString();break;case"ConvertEmptyStringToNull":this.convertEmptyStringToNull=a.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},n.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var e=0;e0){this.invokeConnecting();try{for(var l=__values(this.parameters.list),u=l.next();!u.done;u=l.next())var c,p=u.value.getParameterValue()}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}var h=this.getDataAdapter(),m=this.nameInSource.indexOf(".");-1==m&&(m=this.nameInSource.length);var f=this.nameInSource.substring(0,m),d=this.dictionary.databases.toList().firstOrDefault((function(t){return t.name==f})),g=this;if(null==d)return s.callTry(),s;return e?h.retrieveSchemaAsync(g.dictionary.report,g,d.connectionString,this.sqlCommand).try((function(e){var r,i;try{try{for(var o=__values(e.tables),l=o.next();!l.done;l=o.next()){var u=l.value;u.name==g.name&&u.columns.forEach((function(t){null==g.dataTable.columns.getByName(t.name)&&g.dataTable.columns.add(new n(t.name,t.type))}))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}a.checkColumnsIndexs(),s.callTry()}catch(e){t.System.StiError.showError(e,!1),s.callCatch(e.message)}})).catch((function(t){s.callCatch(t)})).abort(s):h.retrieveDataAsync(this.dictionary.report,this,d.connectionString,this.sqlCommand).try((function(t){g.dataTable=t,g.checkColumnsIndexs(),s.callTry()})).catch((function(t){s.callCatch(t)})).abort(s),s},s.prototype.getFinalSqlCommand=function(){return null},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiSqlSource},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(r.StiDataTableSource);r.StiSqlSource=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e,r,n,i,o,a,s,l){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=r),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),t.call(this,e,r,n,i,o,a,s,l)||this}return __extends(e,t),Object.defineProperty(e.prototype,"query",{get:function(){return this.sqlCommand},set:function(t){this.sqlCommand=t},enumerable:!1,configurable:!0}),e}(t.StiSqlSource);t.StiNoSqlSource=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiMongoDbAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiMongoDbSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiNoSqlSource);e.StiMongoDbSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.StiString,o=t.System.StiObject,a=t.System.StiPromise,s=t.Data.Engine.StiDataPicker,l=t.System.StiError,u=t.System.Data.DBNull,c=t.System.Collections.Hashtable,p=t.System.Data.DataColumn,h=t.System.Data.DataTable,m=t.Report.Components.StiDataHelper,f=t.Report.Components.StiDataBand,d=t.Base.StiJsonReportObjectHelper,g=t.Report.Components.StiFilterMode,S=t.System.Enum,y=function(y){function A(e,n,i){void 0===e&&(e=""),void 0===n&&(n=""),void 0===i&&(i="");var o=y.call(this,e,n,n,i)||this;return o._filterOn=!0,o._filterMode=g.And,o._filters=new t.Report.Components.StiFiltersCollection,o._groupColumns=[],o._results=[],o._sort=[],o.connectionOrder=r.StiConnectionOrder.None,o}return __extends(A,y),A.prototype.saveToJsonObject=function(t){var e=y.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("FilterMode",g,this.filterMode,g.And),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyJObject("GroupColumns",d.Serialize.stringArray(this.groupColumns)),e.addPropertyJObject("Results",d.Serialize.stringArray(this.results)),e.addPropertyJObject("Sort",d.Serialize.stringArray(this.sort)),e},A.prototype.loadFromJsonObject=function(t){var e,r;y.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FilterMode":this._filterMode=S.parse(g,o.value.toString());break;case"Filters":this._filters.loadFromJsonObject(o.value);break;case"GroupColumns":this._groupColumns=d.Deserialize.stringArray(o.value);break;case"Results":this._results=d.Deserialize.stringArray(o.value);break;case"Sort":this._sort=d.Deserialize.stringArray(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.loadFromXml=function(t){y.prototype.loadFromXml.call(this,t);for(var e=0;e1||M0,wt=n.create(Object,this.groupColumns.length),Bt=!0,It=0;!Ct&&X&&this.initTotals(Z);var Tt=!X&&!Ct;R.first(),this.dictionary.report.line=1,this.dictionary.report.lineThrough=1;while(!R.isEof){if(Ct){var Et=n.create(Object,this.groupColumns.length),Rt=0;try{for(var Dt=(v=void 0,__values(this.groupColumns)),Pt=Dt.next();!Pt.done;Pt=Dt.next()){var F,N;(N=F=Pt.value).stimulsoft.startsWith("DESC")?null!=R.columns.getByName(N)&&null==R.columns.getByName(N.substr(4))||(N=N.substr(4)):N.stimulsoft.startsWith("NONE")&&(N=N.substr(4)),Et[Rt++]=r.StiDataColumn.getDataFromDataColumn(this.dictionary,e.StiNameValidator.correctName(R.name)+"."+N,!1)}}catch(t){v={error:t}}finally{try{Pt&&!Pt.done&&(C=Dt.return)&&C.call(Dt)}finally{if(v)throw v.error}}var xt=!1;Bt?this.initTotals(Z):xt=this.compare(wt,Et),xt&&(this.addRow(U,K),this.initTotals(Z),It=0),wt=Et,Bt=!1}var Ft=null;Tt&&(Ft=U.newRow());try{try{for(var Nt=(w=void 0,__values(this.groupColumns)),kt=Nt.next();!kt.done;kt=Nt.next()){var F,N,Mt,Ot;if((N=F=kt.value).stimulsoft.startsWith("DESC")?null!=R.columns.getByName(N)&&null==R.columns.getByName(N.substr(4))||(N=N.substr(4)):N.stimulsoft.startsWith("NONE")&&(N=N.substr(4)),null==(Mt=r.StiDataColumn.getDataFromDataColumn(this.dictionary,e.StiNameValidator.correctName(R.name)+"."+N,!1))&&(Mt=u.value),Tt)Ft.sett(F,Mt);else null!=(Ot=K.get(N).stimulsoft.as(r.StiAggregateFunctionService))&&Ot.calcItem(Mt)}}catch(t){w={error:t}}finally{try{kt&&!kt.done&&(B=Nt.return)&&B.call(Nt)}finally{if(w)throw w.error}}}catch(t){l.showError(t,!1)}var _t=0;while(_t0&&(X||Ct)&&this.addRow(U,K),this.dataTable=U,R.resetData(),R.first()},A.prototype.compare=function(t,e){var r,n,i=0;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(null==l){if(null==e[i]){i++;continue}return!0}if(!o.stimulsoft.equals(l,e[i++]))return!0}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1},A.prototype.initTotals=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o;i.value.init()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.addRow=function(t,e){var n,i,o=t.newRow();try{for(var a=__values(this.columns.list),s=a.next();!s.done;s=a.next()){var l=s.value,c=null!=e.get(l.name)?e.get(l.name).stimulsoft.as(r.StiAggregateFunctionService):null;if(null!=c){var p=c.getValue();null==p&&(p=u.value),o.sett(l.name,p)}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}t.rows.add(o)},Object.defineProperty(A.prototype,"componentId",{get:function(){return e.StiComponentId.StiVirtualSource},enumerable:!1,configurable:!0}),A.prototype.createNew=function(){return new A},A}(r.StiDataStoreSource);r.StiVirtualSource=y}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiDataWorldAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiDataWorldSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiNoSqlSource);e.StiDataWorldSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(t,r,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=r),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),e.call(this,t,r,n,i,o,a,s,l)||this}return __extends(r,e),r.prototype.getDataAdapterType=function(){return t.StiODataAdapterService},r.prototype.createNew=function(){return new r},r}(t.StiSqlSource);t.StiODataSource=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiQuickBooksAdapterService},n.prototype.createNew=function(){return new n},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiQuickBooksSource},enumerable:!1,configurable:!0}),n}(e.StiSqlSource);e.StiQuickBooksSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiFirebirdAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiFirebirdSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiSqlSource);e.StiFirebirdSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiMySqlAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiMySqlSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiSqlSource);e.StiMySqlSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=100),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiOracleAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiOracleSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiSqlSource);e.StiOracleSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.prototype.getDataAdapterType=function(){return e.StiPostgreSQLAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiPostgreSQLSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiSqlSource);e.StiPostgreSQLSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o,a,s,l){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=30),void 0===l&&(l=""),r.call(this,t,e,n,i,o,a,s,l)||this}return __extends(n,r),n.registerCustomSource=function(){var t=new n;StiOptions.Services.dataSource.add(t)},n.prototype.getDataAdapterType=function(){return e.StiCustomAdapterService},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiSqlSource},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(e.StiSqlSource);e.StiCustomSource=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.CrossTab.StiCrossHeader,o=t.Report.CrossTab.StiCrossCell,a=t.Report.Components.StiFilterMode,s=t.Report.Components.StiCondition,l=t.Report.Components.StiRichText,u=t.Report.Components.StiDataHelper,c=t.System.Text.StringBuilder,p=t.Report.Components.StiMultiCondition,h=t.Report.BarCodes.StiBarCode,m=t.Report.Components.IStiConditions,f=t.Report.CrossTab.StiCrossTab,d=t.Report.Components.StiCheckBox,g=t.Report.Components.StiImage,S=t.System.Collections.Hashtable,y=t.Report.Components.StiDataBand,A=t.Report.Components.StiGroupHeaderBand,b=t.Report.Components.StiSimpleText,v=t.Report.Components.StiText,C=t.Report.Engine.StiParser.StiParser,w=t.Report.Engine.StiAsmCommandType,B=t.Report.Engine.StiParser.StiAsmCommand,I=function(){function I(){}return I.getDatabaseFromDataSource=function(t){if(null==t||null==t.dictionary)return null;var e=t.getCategoryName();if(n.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase(),t.dictionary.databases.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase()==e}))},I.getDataSourcesFromDatabase=function(t,e){if(null==e||null==e.name)return null;return t.dictionary.dataSources.toList().where((function(t){return null!=t.getCategoryName()})).where((function(t){return e.name.toLowerCase()==t.getCategoryName().toLowerCase()}))},I.getUsedDataSourcesNamesList=function(t){var e,r,n=I.getUsedDataSourcesNames(t),i=new Array;try{for(var o=__values(n.keys),a=o.next();!a.done;a=o.next()){var s=a.value;i.push(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},I.getUsedDataSourcesNames=function(e){var C,w,B,T,E,R,D,P,x,F,N,k,M,O,_,j,G=new S,H=e.renderedPages.count>0?e.renderedPages.getByIndex(0):new t.Report.Components.StiPage;H.report=e;var Q=new v;Q.page=H,Q.name="*GetUsedDataSourcesNames*";for(var L=e.getComponents(),Y=0;Y0&&(this.addDataSourceName(G,J.dataSourceName),this.addRelation(G,J.dataRelation),this.addSort(G,Q,J.sort,J.dataSourceName));var W=U.stimulsoft.as(f);null!=W&&null!=W.dataSourceName&&W.dataSourceName.length>0&&(this.addDataSourceName(G,W.dataSourceName),this.addSort(G,Q,W.sort,W.dataSourceName));var V=U.stimulsoft.as(A);null!=V&&I.checkExpression(V.condition,U,G);var z=U.stimulsoft.as(o);null!=z&&I.checkExpression(z.value,U,G);var X=U.stimulsoft.as(i);null!=X&&I.checkExpression(X.displayValue,U,G);var K=U.stimulsoft.as(b);null!=K&&I.checkExpression(K.text,U,G);var Z=U.stimulsoft.as(v);null!=Z&&I.checkExpression(Z.excelValue,U,G);var q=U.stimulsoft.as(l),$=U.stimulsoft.as(g);null!=$&&(this.checkExpression($.imageData,U,G),this.checkExpression("{"+$.dataColumn+"}",U,G));var tt=U.stimulsoft.as(h);null!=tt&&this.checkExpression(tt.code,U,G);var et=U.stimulsoft.as(d);null!=et&&this.checkExpression(et.checked,U,G);var rt=U.stimulsoft.as(t.Report.Chart.IStiChart);if(null!=rt){n.isNullOrEmpty(rt.dataSourceName)||this.addDataSourceName(G,rt.dataSourceName);try{for(var nt=(C=void 0,__values(rt.series.toCast())),it=nt.next();!it.done;it=nt.next()){var ot=it.value;this.checkExpression(ot.argument,U,G),this.checkExpression("{"+ot.argumentDataColumn+"}",U,G)}}catch(t){C={error:t}}finally{try{it&&!it.done&&(w=nt.return)&&w.call(nt)}finally{if(C)throw C.error}}}var at=U.stimulsoft.as(t.Report.Components.StiPage),st=U.stimulsoft.as(m);if(null!=st&&st.conditions.count>0){var lt=[];try{for(var ut=(B=void 0,__values(st.conditions.list)),ct=ut.next();!ct.done;ct=ut.next()){var pt=ct.value,ht=pt.stimulsoft.as(s),mt=null;if(pt.stimulsoft.is(p)){var ft=pt.stimulsoft.as(p);if(ft.filterOn&&ft.filters.count>0){for(var dt=new c("{"),gt=0;gt0)try{for(var At=(E=void 0,__values(lt)),bt=At.next();!bt.done;bt=At.next()){var yt=bt.value;this.checkExpression(yt.condition,U,G)}}catch(t){E={error:t}}finally{try{bt&&!bt.done&&(R=At.return)&&R.call(At)}finally{if(E)throw E.error}}}}catch(e){t.System.StiError.showError(e,!1)}}var vt=new Array;try{for(var Ct=__values(G.keys),wt=Ct.next();!wt.done;wt=Ct.next()){var Bt,It=wt.value,Tt;if(null!=(Tt=e.dictionary.dataSources.getByName(It))){var Et=Tt.stimulsoft.as(r.StiVirtualSource);null==Et||n.isNullOrEmpty(Et.nameInSource)||vt.push(It)}}}catch(t){D={error:t}}finally{try{wt&&!wt.done&&(P=Ct.return)&&P.call(Ct)}finally{if(D)throw D.error}}try{for(var Rt=__values(vt),Dt=Rt.next();!Dt.done;Dt=Rt.next()){var Pt=Dt.value,xt=e.dictionary.dataSources.getByName(Pt).stimulsoft.as(r.StiVirtualSource),Tt=e.dictionary.dataSources.getByName(xt.nameInSource);this.addDataSourceName(G,Tt.name);try{for(var Ft=(N=void 0,__values(xt.groupColumns)),Nt=Ft.next();!Nt.done;Nt=Ft.next()){var kt=Nt.value;this.addDataSourceColumn(G,Tt.name,kt)}}catch(t){N={error:t}}finally{try{Nt&&!Nt.done&&(k=Ft.return)&&k.call(Ft)}finally{if(N)throw N.error}}var gt=0;while(gt0&&u[0].stimulsoft.is(B)){var c=function(t){if(t.type==w.PushDataSourceField){var e=t.parameter1.split("."),o=n.report.dictionary.dataSources.getByName(e[0]);if(o.stimulsoft.is(r.StiVirtualSource)&&e.length>2){var a=e[1]+"."+e[2];o.columns.contains(a)?(e[1]=a,e.stimulsoft.removeAt(2)):e.length>3&&(a+="."+e[3],o.columns.contains(a)&&(e[1]=a,e.stimulsoft.removeAt(2),e.stimulsoft.removeAt(2)))}if(p.addDataSourceName(i,o.name),e.length>2){var s=e[1];p.addRelation(i,o.getParentRelations().toList().where((function(t){return t.nameInSource==s})).first()),o=o.getParentDataSource(s),p.addDataSourceName(i,o.name);var l=2;while(l1&&p.addDataSourceColumn(i,o.name,e[e.length-1])}},p=this;try{for(var h=__values(u),m=h.next();!m.done;m=h.next()){var f;c(m.value)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}}catch(e){t.System.StiError.showError(e,!1)}},I.addDataSourceName=function(t,e){t.containsKey(e)||t.set(e,new S)},I.addDataSourceColumn=function(t,e,r){var n=t.get(e).stimulsoft.as(S);null==n&&(n=new S,t.set(e,n)),n.set(r,r)},I.addRelation=function(t,e){var r,n,i,o;if(null!=e){if(null!=e.childSource){this.addDataSourceName(t,e.childSource.name);try{for(var a=__values(e.childColumns),s=a.next();!s.done;s=a.next()){var l=s.value;this.addDataSourceColumn(t,e.childSource.name,l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}if(null!=e.parentSource){this.addDataSourceName(t,e.parentSource.name);try{for(var u=__values(e.parentColumns),c=u.next();!c.done;c=u.next()){var l=c.value;this.addDataSourceColumn(t,e.parentSource.name,l)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}}},I.addSort=function(t,e,r,n){var i=1;while(i>")){var O,_=h.substr(1,h.length-2).split("<<|>>");2==_.length?(f=_[0],R=_[0]):f=h.substr(1,h.length-2)}else f=h.substr(1,h.length-2);m=new M}else f=h.substr(1,h.length-2),m=new I;else if(r==t.System.SByte||r==t.System.Byte||r==t.System.Short||r==t.System.Int16||r==t.System.UInt16||r==t.System.Int||r==t.System.Int32||r==t.System.UInt||r==t.System.UInt32||r==t.System.Long||r==t.System.Int64||r==t.System.ULong||r==t.System.UInt64||r==t.System.NullableSByte||r==t.System.NullableByte||r==t.System.NullableShort||r==t.System.NullableInt16||r==t.System.NullableUInt16||r==t.System.NullableInt||r==t.System.NullableInt32||r==t.System.NullableUInt32||r==t.System.NullableLong||r==t.System.NullableInt64||r==t.System.NullableULong||r==t.System.NullableUInt64||r==t.System.StimulsoftByteList||r==t.System.StimulsoftShortList||r==t.System.StimulsoftIntList||r==t.System.StimulsoftLongList)f=null!=h?h.stimulsoft.toNumber(!1):null,isNaN(f)&&(f=null),m=new B;else if(r==String||r==t.System.StimulsoftStringList)f=h,m=new d;else if(r==t.System.Double||r==t.System.Single||r==t.System.NullableDouble||r==t.System.NullableSingle||r==t.System.StimulsoftDoubleList||r==t.System.StimulsoftFloatList)f=null!=h?h.stimulsoft.toNumber():null,isNaN(f)&&(f=null),m=new C;else if(r==t.System.Decimal||r==t.System.NullableDecimal||r==t.System.StimulsoftDecimalList)f=null!=h?h.stimulsoft.toNumber():null,isNaN(f)&&(f=null),m=new w;else if(r==t.System.DateTime||r==t.System.NullableDateTime||r==t.System.StimulsoftDateTimeList)f=new t.System.DateTime(Date.parse(h)),m=new b;else if(r==t.System.TimeSpan||r==t.System.NullableTimeSpan||r==t.System.StimulsoftTimeSpanList)f=t.System.TimeSpan.fromString(h),m=new v;else if(r==Boolean||r==t.System.NullableBoolean||r==t.System.StimulsoftBoolList)f=null!=h&&"true"==h.toLowerCase(),m=new y;else if(r==t.System.Char||r==t.System.NullableChar||r==t.System.StimulsoftCharList)f=""==h?" ":null!=h?h.toString():null,m=new S;else if(r==t.System.Guid||r==t.System.NullableGuid||r==t.System.StimulsoftGuidList)f=new t.System.Guid(h),m=new g;else if(r==t.System.Drawing.Image)f=c.stringToImage(h),m=new A;else if(r==t.System.StimulsoftByteRange||r==t.System.StimulsoftShortRange||r==t.System.StimulsoftIntRange||r==t.System.StimulsoftLongRange){var j=e.RangeConverter.stringToRange(h);m=new k,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftStringRange){var j=e.RangeConverter.stringToRange(h);m=new T,f=j.fromObject.toString(),R=j.toObject.toString()}else if(r==t.System.StimulsoftDoubleRange||r==t.System.StimulsoftFloatRange){var j=e.RangeConverter.stringToRange(h);m=new F,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftDecimalRange){var j=e.RangeConverter.stringToRange(h);m=new N,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftDateTimeRange){var j=e.RangeConverter.stringToRange(h);m=new P,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftTimeSpanRange){var j=e.RangeConverter.stringToRange(h);m=new x,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftCharRange){var j=e.RangeConverter.stringToRange(h);m=new D,f=j.fromObject,R=j.toObject}else if(r==t.System.StimulsoftGuidRange){var j=e.RangeConverter.stringToRange(h);m=new E,f=j.fromObject,R=j.toObject}m.keyObject=f,m.keyObjectTo=R}catch(e){t.System.StiError.showError(e,!1)}m.value=this.values.length>s&&!i.isNullOrEmpty(this.values[s])?this.values[s]:"",m.valueBinding=this.valuesBinding.length>s?this.valuesBinding[s]:null,a.push(m),s++}}catch(t){n={error:t}}finally{try{p&&!p.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return a}finally{}},l.prototype.setDialogInfoItems=function(e,r){var o,a;if(null==e||0==e.length)return this.keys=null,void(this.values=null);try{this.keys=n.create(Object,e.length),this.values=n.create(Object,e.length),this.valuesBinding=n.create(p,e.length);var s=0;try{for(var l=__values(e),u=l.next();!u.done;u=l.next()){var h=u.value,m=null;try{h.stimulsoft.is(I)?m=i.format("{{{0}}}",h.keyObject):h.stimulsoft.is(M)?m=i.format("{{{0}<<|>>{1}}}",h.keyObject,h.keyObjectTo):h.stimulsoft.is(B)||h.stimulsoft.is(C)||h.stimulsoft.is(w)||h.stimulsoft.is(b)||h.stimulsoft.is(v)||h.stimulsoft.is(y)||h.stimulsoft.is(S)||h.stimulsoft.is(g)||h.stimulsoft.is(d)?m=h.keyObject.toString():h.stimulsoft.is(A)?m=c.imageToString(h.keyObject):h.stimulsoft.is(k)||h.stimulsoft.is(F)||h.stimulsoft.is(N)||h.stimulsoft.is(P)||h.stimulsoft.is(x)||h.stimulsoft.is(D)||h.stimulsoft.is(E)||h.stimulsoft.is(T)}catch(e){t.System.StiError.showError(e,!1)}this.keys[s]=null==m?"":m.toString(),this.values[s]=h.value,this.valuesBinding[s]=h.valueBinding,s++}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}}finally{}},l}();r.StiDialogInfo=h;var m=function(){function t(){this._keyObject=null,this._keyObjectTo=null,this.valueBinding=new p,this._value=""}return Object.defineProperty(t.prototype,"componentId",{get:function(){return e.StiComponentId.StiDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyObject",{get:function(){return this._keyObject},set:function(t){this._keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyObjectTo",{get:function(){return this._keyObjectTo},set:function(t){this._keyObjectTo=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),t.prototype.toString=function(t){if(this.stimulsoft.is(T)||this.stimulsoft.is(E)||this.stimulsoft.is(D)||this.stimulsoft.is(x)||this.stimulsoft.is(F)||this.stimulsoft.is(N)||this.stimulsoft.is(k)||this.stimulsoft.is(M)){var e=null==this.keyObject?l.get("Report","NotAssigned"):this.keyObject.toString(),n=null==this.keyObjectTo?l.get("Report","NotAssigned"):this.keyObjectTo.toString(),o=i.isNullOrEmpty(e)&&i.isNullOrEmpty(n)?"":i.format("{0}-{1}",e,n);return this.stimulsoft.is(M)?i.format("{{{0}}}",i.isNullOrEmpty(this.value)?o:this.value):i.isNullOrEmpty(this.value)?o:this.value}if(this.stimulsoft.is(P)){var a=this.stimulsoft.as(P),e=null,n=null;(t==r.StiDateTimeType.DateAndTime||t==r.StiDateTimeType.Date||t==r.StiDateTimeType.Time)&&(e=a.from.toString(),n=a.to.toString());var o=i.format("{0}-{1}",e,n);return i.isNullOrEmpty(this.value)?o:this.value}var s;if(this.stimulsoft.is(A))return null==this.stimulsoft.as(A).key?l.get("Report","NotAssigned"):l.get("Components","StiImage");if(this.stimulsoft.is(b)){var u=this.stimulsoft.as(b),c=null;return(t==r.StiDateTimeType.DateAndTime||t==r.StiDateTimeType.Date||t==r.StiDateTimeType.Time)&&(c=u.key.toString()),i.isNullOrEmpty(this.value)?c:this.value}var c=null==this.keyObject?l.get("Report","NotAssigned"):this.keyObject.toString();return this.stimulsoft.is(I)?i.format("{{{0}}}",i.isNullOrEmpty(this.value)?c:this.value):i.isNullOrEmpty(this.value)?c:this.value},t}();r.StiDialogInfoItem=m;var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(m);r.StiRangeDialogInfoItem=f;var d=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiStringDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiStringDialogInfoItem=d;var g=function(r){function n(){var e=r.call(this)||this;return e.keyObject=t.System.Guid.newGuid(),e}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGuidDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),n}(m);r.StiGuidDialogInfoItem=g;var S=function(t){function r(){var e=t.call(this)||this;return e.keyObject=" ",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCharDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiCharDialogInfoItem=S;var y=function(t){function r(){var e=t.call(this)||this;return e.keyObject=!1,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiBoolDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiBoolDialogInfoItem=y;var A=function(t){function r(){var e=t.call(this)||this;return e.keyObject=null,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiImageDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiImageDialogInfoItem=A;var b=function(r){function n(){var e=r.call(this)||this;return e.keyObject=t.System.DateTime.now,e}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDateTimeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),n}(m);r.StiDateTimeDialogInfoItem=b;var v=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiTimeSpanDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiTimeSpanDialogInfoItem=v;var C=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiDoubleDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiDoubleDialogInfoItem=C;var w=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiDecimalDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiDecimalDialogInfoItem=w;var B=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiLongDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiLongDialogInfoItem=B;var I=function(t){function r(){var e=t.call(this)||this;return e.keyObject="",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiExpressionDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),r}(m);r.StiExpressionDialogInfoItem=I;var T=function(t){function r(){var e=t.call(this)||this;return e.keyObject="",e.keyObjectTo="",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiStringRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiStringRangeDialogInfoItem=T;var E=function(r){function n(){var e=r.call(this)||this;return e.keyObject=t.System.Guid.newGuid(),e.keyObjectTo=t.System.Guid.newGuid(),e}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiGuidRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),n}(f);r.StiGuidRangeDialogInfoItem=E;var R=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiByteArrayRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"form",{set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiByteArrayRangeDialogInfoItem=R;var D=function(t){function r(){var e=t.call(this)||this;return e.keyObject="A",e.keyObjectTo="Z",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCharRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiCharRangeDialogInfoItem=D;var P=function(r){function n(){var e=r.call(this)||this;return e.keyObject=t.System.DateTime.now,e.keyObjectTo=t.System.DateTime.now,e}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return e.StiComponentId.StiDateTimeRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),n}(f);r.StiDateTimeRangeDialogInfoItem=P;var x=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e.keyObjectTo=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiTimeSpanRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiTimeSpanRangeDialogInfoItem=x;var F=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e.keyObjectTo=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiDoubleRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiDoubleRangeDialogInfoItem=F;var N=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e.keyObjectTo=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiDecimalRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiDecimalRangeDialogInfoItem=N;var k=function(t){function r(){var e=t.call(this)||this;return e.keyObject=0,e.keyObjectTo=0,e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiLongRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiLongRangeDialogInfoItem=k;var M=function(t){function r(){var e=t.call(this)||this;return e.keyObject="",e.keyObjectTo="",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiExpressionRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),r}(f);r.StiExpressionRangeDialogInfoItem=M}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Globalization.CultureInfo,i=t.System.DateTime,o=t.System.Enum,a=t.Base.StiTypeFinder,s=t.Report.Expressions.StiExpression,l=t.Base.StiJson,u=t.System.Text.XMLConvert,c=t.Report.Dictionary.StiDialogInfo,p=t.Report.Range,h=t.Base.Drawing.StiImageConverter,m=t.Report.RangeConverter,f=t.Base.StiKeyHelper,d;!function(t){t[t["Name"]=100]="Name",t[t["Alias"]=200]="Alias",t[t["Category"]=300]="Category"}(d||(d={}));var g=function(s){function d(t,r,n,i,o,a,l,u,p,h,m,f,d){void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=String.stimulsoft.getType()),void 0===a&&(a=""),void 0===l&&(l=!1),void 0===u&&(u=e.StiVariableInitBy.Value),void 0===p&&(p=!1),void 0===h&&(h=new c),void 0===m&&(m=null),void 0===f&&(f=!1),void 0===d&&(d=e.StiSelectionMode.FromVariable);var g=s.call(this)||this;return g._inherited=!1,g._name="",g._dialogInfo=new c,g._alias="",g._readOnly=!1,g._requestFromUser=!1,g._category="",g._description="",g._initBy=e.StiVariableInitBy.Value,g._selection=e.StiSelectionMode.First,g._key=null,g._category=t,g.name=r,g._alias=n,g._description=i,g._type=null!=o?o:String.stimulsoft.getType(),g._readOnly=l,g._initBy=u,g.value=a,g._requestFromUser=p,g._dialogInfo=h,g._key=m,g._allowUseAsSqlParameter=f,g._selection=d,g}return __extends(d,s),d.prototype.convertTypeToJsonString=function(t){var e=t.stimulsoft.getNetTypeName();if(e.stimulsoft.startsWith("System.Nullable`1")){var r=e.indexOf(",");-1!=r&&(e=e.substr(0,r).stimulsoft.replaceAll("[[","[")+"]")}return e},d.prototype.convertJsonStringToType=function(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("[","[[")),a.getStiType(t)},d.prototype.saveToJsonObject=function(){var t=new l;if(t.addPropertyStringNullOrEmpty("Value",this.value),t.addPropertyStringNullOrEmpty("Name",this.name),t.addPropertyJObject("DialogInfo",this.dialogInfo.saveToJsonObject()),t.addPropertyStringNullOrEmpty("Alias",this.alias),t.addPropertyStringNullOrEmpty("Type",this.convertTypeToJsonString(this.type)),t.addPropertyBool("ReadOnly",this.readOnly),t.addPropertyBool("RequestFromUser",this.requestFromUser),t.addPropertyStringNullOrEmpty("Category",this.category),t.addPropertyStringNullOrEmpty("Description",this.description),t.addPropertyEnum("InitBy",e.StiVariableInitBy,this.initBy,e.StiVariableInitBy.Value),t.addPropertyStringNullOrEmpty("Key",this.key),t.addPropertyBool("AllowUseAsSqlParameter",this.allowUseAsSqlParameter),t.addPropertyEnum("SelectionMode",e.StiSelectionMode,this._selection,e.StiSelectionMode.FromVariable),0==t.count)return null;return t},d.prototype.loadFromJsonObject=function(t,r){var n,i;s.prototype.loadFromJsonObject.call(this,t);try{for(var a=__values(t.properties()),l=a.next();!l.done;l=a.next()){var u=l.value;switch(u.name){case"Name":this._name=u.value;break;case"DialogInfo":this._dialogInfo.loadFromJsonObject(u.value,r);break;case"Alias":this._alias=u.value;break;case"Type":this._type=this.convertJsonStringToType(u.value);break;case"ReadOnly":this._readOnly=u.value.stimulsoft.toBoolean();break;case"RequestFromUser":this._requestFromUser=u.value.stimulsoft.toBoolean();break;case"Category":this._category=u.value;break;case"Description":this._description=u.value;break;case"InitBy":this._initBy=o.parse(e.StiVariableInitBy,u.value);break;case"Key":this._key=u.value;break;case"AllowUseAsSqlParameter":this.allowUseAsSqlParameter=u.value.stimulsoft.toBoolean();break;case"SelectionMode":this._selection=o.parse(e.StiSelectionMode,u.value);break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},d.loadFromXml=function(n,i){var s=n.textContent.split(","),l,l,l,l,l,l,l;if(1==s.length)return new d(s[0]);if(2==s.length)return(l=new d(s[0])).inherited=!0,l;if(5==s.length){var c=e.StiVariableInitBy.Expression,p=u.decodeName(s[3]),h="null"==s[2]?null:a.getStiType(s[2]);try{d.getValue(p,h),c=e.StiVariableInitBy.Value}catch(r){t.System.StiError.showError(r,!1),c=e.StiVariableInitBy.Expression}return new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[1]),"",h,p,"True"==s[4],c)}if(6==s.length){var c=e.StiVariableInitBy.Value,p=u.decodeName(s[4]),h=a.getStiType(s[3]);try{d.getValue(p,h),c=e.StiVariableInitBy.Value}catch(r){t.System.StiError.showError(r,!1),c=e.StiVariableInitBy.Expression}return new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",h,p,"True"==s[5],c)}if(7==s.length)return new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",a.getStiType(s[3]),u.decodeName(s[4]),"True"==s[5],"True"==s[6]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value);if(8==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",a.getStiType(s[3]),u.decodeName(s[4]),"True"==s[5],"True"==s[6]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value)).inherited=!0,l;if(9==s.length)return new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8]);if(10==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8])).inherited="True"==s[9],l;if(11==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]),i))).inherited="True"==s[9],l;if(12==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]),i),s[11])).inherited="True"==s[9],l;if(13==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]),i),r.isNullOrWhiteSpace(s[11])?null:u.decodeName(s[11]),"True"==s[12])).inherited="True"==s[9],l;if(14==s.length)return(l=new d(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True"==s[6],"True"==s[7]?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value,"True"==s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]),i),r.isNullOrWhiteSpace(s[11])?null:u.decodeName(s[11]),"True"==s[12],o.parse(e.StiSelectionMode,s[13]))).inherited="True"==s[9],l;return null},d.convertFromStringToDialogInfo=function(r,n){if(""==r||"null"==r)return new c;for(var i=new c,a=t.System.Xml.XmlConverter.toXml(r).childNodes[0],s=0;s>{1}",t,n)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"initByExpressionTo",{get:function(){if(!a.findType(this.type,p.stimulsoft.getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[1]},set:function(t){if(!a.findType(this.type,p.stimulsoft.getType()))return;var e=this.getRangeValues(),n="";null!=e&&(n=e[0]),this.value=r.format("{0}<<|>>{1}",n,t)},enumerable:!1,configurable:!0}),d.prototype.getValueProp=function(){if(this.initBy==e.StiVariableInitBy.Expression)return s.prototype.getValueProp.call(this);if(!r.isNullOrEmpty(s.prototype.getValueProp.call(this))&&(this.type==t.System.DateTime||this.type==t.System.NullableDateTime)){var n=d.getDateTimeFromValue(s.prototype.getValueProp.call(this)),i=t.System.Globalization.CultureInfo.currentCulture;try{return t.System.Globalization.CultureInfo.currentCulture=t.System.Globalization.CultureInfo.getCultureInfo("en-US"),n.toString()}finally{t.System.Globalization.CultureInfo.currentCulture=i}}if(this.type==t.System.DateTime||this.type==t.System.NullableDateTime)return null;return s.prototype.getValueProp.call(this)},d.prototype.setValueProp=function(n){if(this.initBy==e.StiVariableInitBy.Expression)s.prototype.setValueProp.call(this,n);else{if(null!=n&&"null"!=n&&n.length>0&&(this.type==t.System.DateTime||this.type==t.System.NullableDateTime))try{var o=t.System.Globalization.CultureInfo.currentCulture;try{t.System.Globalization.CultureInfo.currentCulture=t.System.Globalization.CultureInfo.getCultureInfo("en-US");var a=t.System.DateTime.fromString(n);null==a&&(a=new i(Date.parse(n))),null==a&&(a=i.now),s.prototype.setValueProp.call(this,d.getValueFromDateTime(a))}finally{t.System.Globalization.CultureInfo.currentCulture=o}}catch(e){throw t.System.StiError.showError(e,!1),new Error(r.format("Variable value '{0}' is wrong DateTime value",n))}s.prototype.setValueProp.call(this,n)}},Object.defineProperty(d.prototype,"function",{get:function(){return this.initBy==e.StiVariableInitBy.Expression},set:function(t){this.initBy=t?e.StiVariableInitBy.Expression:e.StiVariableInitBy.Value},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"initBy",{get:function(){return this._initBy},set:function(t){this._initBy=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),d.prototype.getRangeValues=function(){var t=this.value;if(r.isNullOrEmpty(t))return null;if(-1==t.indexOf("<<|>>"))return null;var e=t.split("<<|>>");if(2!=e.length)return null;return e},d.getValue=function(e,n){if(r.isNullOrEmpty(e)){if(n==t.System.Int32||n==t.System.UInt32||n==t.System.Int64||n==t.System.UInt64||n==t.System.Byte||n==t.System.SByte||n==t.System.Int16||n==t.System.UInt16)return 0;if(n==String)return"";if(n==Boolean)return!1;if(n==t.System.Char)return" ";if(n==t.System.Double)return 0;if(n==t.System.Single)return 0;if(n==t.System.Decimal)return 0;if(n==t.System.DateTime)return null;if(n==t.System.TimeSpan)return null;if(a.findType(n,p))return t.System.Activator.createInstance(n);if(a.findType(n,t.System.Drawing.Image))return null;if(n==t.System.NullableInt32||n==t.System.NullableUInt32||n==t.System.NullableInt64||n==t.System.NullableUInt64||n==t.System.NullableByte||n==t.System.NullableSByte||n==t.System.NullableInt16||n==t.System.NullableUInt16)return 0;if(n==t.System.NullableBoolean)return!1;if(n==t.System.NullableChar)return" ";if(n==t.System.NullableDouble)return 0;if(n==t.System.NullableSingle)return 0;if(n==t.System.NullableDecimal)return 0;if(n==t.System.NullableDateTime)return null;if(n==t.System.NullableTimeSpan)return null}if(n==t.System.Int32||n==t.System.UInt32||n==t.System.Int64||n==t.System.UInt64||n==t.System.Byte||n==t.System.SByte||n==t.System.Int16||n==t.System.UInt16)return e.stimulsoft.toNumber(!1);if(n==String)return e;if(n==Boolean)return"true"==e.toLowerCase();if(n==t.System.Char)return e.substring(0,1);if(n==t.System.Double||n==t.System.Single||n==t.System.Decimal)return e.stimulsoft.toNumber();if(n==t.System.Guid)return r.isNullOrEmpty(e)?t.System.Guid.empty:new t.System.Guid(e);if(n==t.System.DateTime)try{return new i(Date.parse(e))}finally{}else if(n==t.System.TimeSpan)try{return t.System.TimeSpan.fromString(e)}finally{}else{if(n==t.System.NullableInt32||n==t.System.NullableUInt32||n==t.System.NullableInt64||n==t.System.NullableUInt64||n==t.System.NullableByte||n==t.System.NullableSByte||n==t.System.NullableInt16||n==t.System.NullableUInt16)return e.stimulsoft.toNumber(!1);if(n==t.System.NullableBoolean)return"true"==e.toLowerCase();if(n==t.System.NullableChar)return e.substring(0,1);if(n==t.System.NullableDouble||n==t.System.NullableSingle||n==t.System.NullableDecimal)return e.stimulsoft.toNumber();if(n==t.System.NullableDateTime)try{return new i(Date.parse(e))}finally{}else if(n==t.System.NullableTimeSpan)try{return t.System.TimeSpan.fromString(e)}finally{}else{if(a.findType(n,t.System.Drawing.Image))return h.stringToImage(e);if(a.findType(n,p))return m.stringToRange(e)}}return null},d.prototype.setValue=function(e){if(null==e)this.value=null;else if(e.stimulsoft.is(String))this.value=e;else if(e.stimulsoft.is(t.System.Char))this.value=e.toString();else if(e.stimulsoft.is(t.System.Guid))this.value=e.toString();else if(e.stimulsoft.is(t.System.NullableChar))this.value=e.toString();else if(e.stimulsoft.is(Boolean))this.value=e.toString().toLowerCase();else if(e.stimulsoft.is(t.System.NullableBoolean))this.value=e.toString().toLowerCase();else if(e.stimulsoft.is(t.System.Drawing.Image))this.value=h.imageToString(e);else if(e.stimulsoft.is(t.Report.Range))this.value=m.rangeToString(e);else if(e.stimulsoft.is(Array))this.value=e.select((function(t){return t.toString()})).toArray();else if(e.stimulsoft.is(t.System.TimeSpan))try{this.value=e.toString()}finally{}else if(e.stimulsoft.is(t.System.DateTime))try{this.value=e.toString()}finally{}else if(e.stimulsoft.is(t.System.NullableTimeSpan))try{this.value=e.toString()}finally{}else if(e.stimulsoft.is(t.System.NullableDateTime))try{this.value=e.toString()}finally{}else if(this.type==t.System.Int||this.type==t.System.Int32||this.type==t.System.UInt32||this.type==t.System.Long||this.type==t.System.Int64||this.type==t.System.ULong||this.type==t.System.UInt64||this.type==t.System.Byte||this.type==t.System.SByte||this.type==t.System.Short||this.type==t.System.Int16||this.type==t.System.UShort||this.type==t.System.UInt16||this.type==t.System.Double||this.type==t.System.Single||this.type==t.System.Decimal||this.type==t.System.NullableInt||this.type==t.System.NullableInt32||this.type==t.System.NullableUInt||this.type==t.System.NullableUInt32||this.type==t.System.NullableLong||this.type==t.System.NullableInt64||this.type==t.System.NullableULong||this.type==t.System.NullableUInt64||this.type==t.System.NullableByte||this.type==t.System.NullableSByte||this.type==t.System.NullableShort||this.type==t.System.NullableInt16||this.type==t.System.NullableUShort||this.type==t.System.NullableUInt16||this.type==t.System.NullableDouble||this.type==t.System.NullableSingle||this.type==t.System.NullableDecimal){var r=n.currentCulture;try{n.currentCulture=n.cultures["en-US"],this.value=e.toString().replace(".",n.currentCulture.numberFormat.numberDecimalSeparator)}finally{n.currentCulture=r}}},d.prototype.getNativeValue=function(){return s.prototype.getValueProp.call(this)},d.getDateTimeFromValue=function(e){if("null"==e)return i.now;var r=t.System.Globalization.CultureInfo.currentCulture;try{t.System.Globalization.CultureInfo.currentCulture=t.System.Globalization.CultureInfo.getCultureInfo("en-US");var n=i.fromString(e);if(null==n&&(n=new i(Date.parse(e))),null!=n)return n;return i.now}catch(e){t.System.StiError.showError(e,!1)}finally{t.System.Globalization.CultureInfo.currentCulture=r}return i.now},d.getValueFromDateTime=function(e){var r=t.System.Globalization.CultureInfo.currentCulture;try{return t.System.Globalization.CultureInfo.currentCulture=t.System.Globalization.CultureInfo.getCultureInfo("en-US"),e.toString()}finally{t.System.Globalization.CultureInfo.currentCulture=r}},d.prototype.eval=function(e){return t.Report.Engine.StiParser.StiParser.prepareVariableValue(this,e,null,!0)},d.prototype.toString=function(){return this.isCategory?this.category:this.alias==this.name?this.name:this.name+" ["+this.alias+"]"},d}(s);e.StiVariable=g}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.Base.Localization.StiLocalization,i=t.System.Char,o;!function(t){t[t["Simple"]=0]="Simple",t[t["Advanced"]=1]="Advanced"}(o=e.StiNamingRule||(e.StiNamingRule={}));var a=function(){function e(){}return Object.defineProperty(e,"namingRule",{get:function(){return StiOptions.Engine.namingRule},set:function(t){StiOptions.Engine.namingRule=t},enumerable:!1,configurable:!0}),e.removeSpacesFromName=function(e,r,n){if(void 0===n&&(n=null),r){for(var o=e,a=0,s=e.length,l=0;l1&&"Sti"==n.substr(0,3)&&(n=n.substr(3)),n},e.generateName2=function(t,r,n){return e.generateName1(t,r,n.stimulsoft.getType().stimulsoft.getTypeName())},e.generateName=function(t){return e.generateName2(t.report,t.localizedName,t.stimulsoft.getType())},e.generateName4=function(t){return e.generateName2(t.dictionary.report,n.get("PropertyMain","DataRelation"),t.stimulsoft.getType())},e.generateName5=function(t){return e.generateName2(t.dictionary.report,n.get("PropertyMain","DataSource"),t.stimulsoft.getType())},e}();e.StiNameCreation=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.DateTime,o=t.Report.Components.StiText,a=function(a){function s(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r="");var n=a.call(this,t,t,r)||this;return n.pathData=e,n}return __extends(s,a),s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("PathData",this.pathData),e},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PathData":this.pathData=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e=0?y.substring(0,y.lastIndexOf(".")):y}null==u&&((u=new o).enforceConstraints=!1),u.tables.add(S)}}g=null}}catch(t){p={error:t}}finally{try{f&&!f.done&&(h=m.return)&&h.call(m)}finally{if(p)throw p.error}}}};return e.report.invokeBeginProcessData(l,p),0==l.preventDefault&&p(null),e.report.invokeEndProcessData({dataSet:u}),u},s.prototype.getDatabaseInformation=function(e){var n,i;try{var o=this.getDataSet(e,!1),a=new r.StiDatabaseInformation;try{for(var s=__values(o.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.tables.add(u)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return a}catch(e){throw t.System.StiError.showError(e,!1),e}},s.prototype.regData=function(t,e){var n,i,o=this.getDataSet(t,e);if(null!=o){o.dataSetName=this.name;try{for(var a=__values(o.tables.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=new r.StiData(this.name+"."+l.tableName,l);u.isReportData=!0,t.dataStore.setByName(u.name,u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}},s}(r.StiFileDatabase);r.StiCsvDatabase=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.DateTime,i=t.Report.Helpers.StiUniversalDataLoader,o=t.System.Data.DataColumn,a=t.System.Data.DataSet,s=function(s){function l(t,e,r,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!0);var i=s.call(this,t,e,r)||this;return i._firstRowIsHeader=!0,i.pathData=e,i.firstRowIsHeader=n,i}return __extends(l,s),l.prototype.createNew=function(){return new l},Object.defineProperty(l.prototype,"serviceName",{get:function(){return"Excel"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"componentId",{get:function(){return e.StiComponentId.StiExcelDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"firstRowIsHeader",{get:function(){return this._firstRowIsHeader},set:function(t){this._firstRowIsHeader=t},enumerable:!1,configurable:!0}),l.prototype.getDatabaseInformation=function(e){var n,i;try{var o=this.getDataSet(e),a=new r.StiDatabaseInformation;try{for(var s=__values(o.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.tables.add(u)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return a}catch(e){throw 0==e.message.indexOf("Unsupported file")&&(e.message="Unsupported file."),t.System.StiError.showError(e,!1),e}},l.prototype.regData=function(e,n){var i,o;try{var a=this.getDataSet(e);if(null!=a){a.dataSetName=this.name;try{for(var s=__values(a.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=new r.StiData(this.name+"."+u.tableName,u);c.isReportData=!0,e.dataStore.setByName(c.name,c)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}}catch(e){throw 0==e.message.indexOf("Unsupported file")&&(e.message="Unsupported file."),t.System.StiError.showError(e,!1),e}},l.prototype.getDataSet=function(e){var n=r.StiFileDatabase.parsePathExpression(e,this.pathData),o={pathData:n,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},s=new a,l=this,u=function(r){if(null==r){var a=i.loadSingle(e.report,n,!0,o.headers);null!=a&&(r=a.array)}s=t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Excel,r,e.report,n)};return e.report.invokeBeginProcessData(o,u),0==o.preventDefault&&u(null),e.report.invokeEndProcessData({dataSet:s}),s},l.prototype.getDataSetPrivate=function(e){var r,n,i,s;if(null==e)return null;var l=new a;try{for(var u=__values(e.SheetNames),c=u.next();!c.done;c=u.next()){var p=c.value,h=e.Sheets[p],m=[];for(var f in h){if("!range"==f||"!ref"==f||"!merges"==f||"!margins"==f||"!autofilter"==f)continue;var d=h[f],g=f.match(/(\w+?)(\d+)/),S=g[1],y=+g[2],A;(A=m[y])?A[S]=d:((A={})[S]=d,m[y]=A)}var b=new t.System.Data.DataTable(p);l.tables.add(b),m.splice(0,1);var v={},C=0,w=m[0];this.firstRowIsHeader&&(w=m.splice(0,1)[0]);try{for(var S in w){var B=this.getType1(S,m);v[S]=C++,b.columns.add(new o(w[S].w,B))}try{for(var I=(i=void 0,__values(m)),T=I.next();!T.done;T=I.next()){var A=T.value,E=b.addNewRow();for(var S in A)E.sett(v[S],A[S].v)}}catch(t){i={error:t}}finally{try{T&&!T.done&&(s=I.return)&&s.call(I)}finally{if(i)throw i.error}}}catch(t){}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return l},l.prototype.getType1=function(t,e){var r,i;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(null!=s[t])switch(s[t].t){case"b":return Boolean;case"n":return Number;case"d":return n}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return String},l}(r.StiFileDatabase);r.StiExcelDatabase=s}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Helpers.StiUniversalDataLoader,n=t.System.StiPromise,i=t.System.Data.DataSet,o=function(o){function a(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var n=o.call(this,t,t,r)||this;return n.pathData=e,n}return __extends(a,o),a.prototype.createNew=function(){return new a},Object.defineProperty(a.prototype,"serviceName",{get:function(){return"JSON"},enumerable:!1,configurable:!0}),a.prototype.getDataSet=function(n){var o=e.StiFileDatabase.parsePathExpression(n,this.pathData),a={pathData:o,database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,headers:[]},s=new i,l=function(e){if(null==e){var i=r.loadSingle(n.report,o,!1,a.headers);null!=i&&(e=i.array)}s=t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Json,e,n.report,o,a.tryParseDateTime)};return n.report.invokeBeginProcessData(a,l),0==a.preventDefault&&l(null),n.report.invokeEndProcessData({dataSet:s}),s},a.prototype.getDataSetAsync=function(o){var a=new n,s=e.StiFileDatabase.parsePathExpression(o,this.pathData),l={pathData:s,database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,headers:[]},u=new i,c=function(e){if(null==e){var n=r.loadSingle(o.report,s,!1,l.headers);null!=n&&(e=n.array)}u=t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Json,e,o.report,s,l.tryParseDateTime),a.callTry(u)};return o.report.invokeBeginProcessData(l,c),0==l.preventDefault&&c(null),o.report.invokeEndProcessData({dataSet:u}),a},a.prototype.getDatabaseInformation=function(r){var n,i;try{var o=this.getDataSet(r),a=new e.StiDatabaseInformation;try{for(var s=__values(o.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.tables.add(u)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return a}catch(e){throw t.System.StiError.showError(e,!1),e}},a.prototype.getDatabaseInformationAsync=function(r){var i=new n;try{this.getDataSetAsync(r).try((function(t){var r,n,o=new e.StiDatabaseInformation;try{for(var a=__values(t.tables.list),s=a.next();!s.done;s=a.next()){var l=s.value;o.tables.add(l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}i.callTry(o)})).abort(i)}catch(e){t.System.StiError.showError(e,!1);var o=e;null!=e&&null!=e["message"]&&(o=e.message),i.callCatch(o)}return i},a.prototype.regData=function(t,r){var n,i,o=this.getDataSet(t);if(null!=o){o.dataSetName=this.name;try{for(var a=__values(o.tables.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=new e.StiData(this.name+"."+l.tableName,l);u.isReportData=!0,t.dataStore.setByName(u.name,u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}},a.prototype.regDataAsync=function(t,r){var i=new n,o=this;return o.getDataSetAsync(t).try((function(r){var n,a;if(null!=r){r.dataSetName=o.name;try{for(var s=__values(r.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=new e.StiData(o.name+"."+u.tableName,u);c.isReportData=!0,t.dataStore.setByName(c.name,c)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}i.callTry()})).abort(i),i},a}(e.StiFileDatabase);e.StiJsonDatabase=o}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Helpers.StiUniversalDataLoader,o=t.System.StiPromise,a=t.System.Enum,s=t.System.Data.DataSet,l=function(l){function u(t,r,n,i,o){void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=null),void 0===o&&(o=e.StiXmlType.AdoNetXml);var a=l.call(this,t,t,i)||this;return a._xmlType=e.StiXmlType.AdoNetXml,a.pathSchema=r,a.pathData=n,a.xmlType=o,a}return __extends(u,l),u.prototype.createNew=function(){return new u},u.prototype.saveToJsonObject=function(t){var r=l.prototype.saveToJsonObject.call(this,t);return r.addPropertyStringNullOrEmpty("PathSchema",this.pathSchema),r.addPropertyStringNullOrEmpty("PathData",this.pathData),r.addPropertyEnum("XmlType",e.StiXmlType,this.xmlType,e.StiXmlType.AdoNetXml),r},u.prototype.loadFromJsonObject=function(t){var r,n;l.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var s=o.value;switch(s.name){case"PathSchema":this._pathSchema=s.value;break;case"PathData":this.pathData=s.value;break;case"XmlType":this._xmlType=a.parse(e.StiXmlType,s.value);break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},u.prototype.loadFromXml=function(t){l.prototype.loadFromXml.call(this,t);for(var r=0;r:@localhost/test"},n}(e.StiNoSqlDatabase);e.StiMongoDbDatabase=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.StiDataWorldConnector,i=t.Base.StiDataWorldHelper,o=function(t){function o(e,r,n,i,o){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),t.call(this,e,r,n,i,o)||this}return __extends(o,t),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Data.World"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"connectionType",{get:function(){return r.StiConnectionType.OnlineServices},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"owner",{get:function(){return new i(this.connectionString).owner},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"token",{get:function(){return new i(this.connectionString).token},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"database",{get:function(){return new i(this.connectionString).database},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiDataWorldDatabase},enumerable:!1,configurable:!0}),o.prototype.getSampleConnectionString=function(){return"Owner=;Database=;Token="},o.prototype.createConnector=function(t){return void 0===t&&(t=null),n.get(t)},o.prototype.getDataAdapterType=function(){return r.StiDataWorldAdapterService},o.prototype.createDataSource=function(t,e){return new r.StiDataWorldSource(t,e)},o}(r.StiNoSqlDatabase);r.StiDataWorldDatabase=o}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Text.StringBuilder,o=t.System.Data.DataColumn,a=t.System.Data.DataTable,s=t.Base.StiEncryption,l=t.System.StiPromise,u=function(u){function c(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null);var o=u.call(this,t,e,i)||this;return o._promptUserNameAndPassword=!1,o._connectionString=r,o._promptUserNameAndPassword=n,o}return __extends(c,u),c.prototype.createNew=function(){return new c},Object.defineProperty(c.prototype,"serviceName",{get:function(){return"MS SQL"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"componentId",{get:function(){return e.StiComponentId.StiSqlDatabase},enumerable:!1,configurable:!0}),c.prototype.saveToJsonObject=function(t){var e=u.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("ConnectionStringEncrypted",this.connectionStringEncrypted),e.addPropertyBool("PromptUserNameAndPassword",this.promptUserNameAndPassword),e},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ConnectionString":this.connectionString=o.value.toString();break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=o.value.toString();break;case"PromptUserNameAndPassword":this._promptUserNameAndPassword=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t){u.prototype.loadFromXml.call(this,t);for(var e=0;e0&&(p.sqlCommand=p.sqlCommand.stimulsoft.replaceAll("*",m.toString())),o.dictionary.dataSources.add(p)},c.prototype.getDatabaseInformationAsync=function(e){var n=new l,i=new r.StiDatabaseInformation,o;return this.getDataAdapter().retrieveSchemaAsync(e.report,null,this.connectionString).try((function(t){i.tables.addRange(c.getDatabaseInformationTables(t)),i.views.addRange(c.getDatabaseInformationViews(t)),i.storedProcedures.addRange(c.getDatabaseInformationProcedures(t))})).catch((function(e){t.System.StiError.showError(e)})).finally((function(){n.callTry(i)})).abort(n),n},c.getDatabaseInformationTables=function(e){var r,i,s=[],l=function(e){try{var r=new a(e.name);e.columns.forEach((function(t){null==r.columns.getByName(t.name)&&r.columns.add(new o(t.name,t.type))})),n.isNullOrWhiteSpace(e.query)||(r.extendedProperties["Query"]=e.query),s.push(r)}catch(e){throw t.System.StiError.showError(e,!1),e}};try{for(var u=__values(e.tables),c=u.next();!c.done;c=u.next()){var p;l(c.value)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return s},c.getDatabaseInformationViews=function(e){var r,i,s=[],l=function(e){try{var r=new a(e.name);e.columns.forEach((function(t){null==r.columns.getByName(t.name)&&r.columns.add(new o(t.name,t.type))})),n.isNullOrWhiteSpace(e.query)||(r.extendedProperties["Query"]=e.query),s.push(r)}catch(e){throw t.System.StiError.showError(e,!1),e}};try{for(var u=__values(e.views),c=u.next();!c.done;c=u.next()){var p;l(c.value)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return s},c.getDatabaseInformationProcedures=function(e){var r,i,s=[],l=function(e){try{var r=new a(e.name);e.columns.forEach((function(t){if(null==r.columns.getByName(t.name)){var e=new o(t.name,t.type);e.caption="Columns",r.columns.add(e)}})),e.parameters.forEach((function(t){if(null==r.columns.getByName(t.name)){var e=new o(t.name,t.type);e.caption="Parameters",r.columns.add(e)}})),n.isNullOrWhiteSpace(e.query)||(r.extendedProperties["Query"]=e.query),s.push(r)}catch(e){throw t.System.StiError.showError(e,!1),e}};try{for(var u=__values(e.storedProcedures),c=u.next();!c.done;c=u.next()){var p;l(c.value)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return s},c.prototype.getSampleConnectionString=function(){return"Integrated Security=False; Data Source=myServerAddress;"+"\r\n"+"Initial Catalog=myDataBase; User ID=myUsername; Password=myPassword;"},c.encryptedId="8pTP5X15uKADcSw7",c}(r.StiDatabase);r.StiSqlDatabase=u}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=function(t){function i(e,r,n,i,o){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),t.call(this,e,r,n,i,o)||this}return __extends(i,t),i.prototype.createNew=function(){return new i},Object.defineProperty(i.prototype,"serviceName",{get:function(){return"OData"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiODataDatabase},enumerable:!1,configurable:!0}),i.prototype.createDataSource=function(t,e){return new r.StiODataSource(t,e)},i.prototype.getDataAdapterType=function(){return r.StiODataAdapterService},i.prototype.getConnectionStringHelper=function(){return"StiODataConnectionHelper"},i.prototype.mapUserNameAndPassword=function(t,e){return n.format("UserName = {0}; Password = {1}",t,e)},Object.defineProperty(i.prototype,"connectionType",{get:function(){return r.StiConnectionType.Rest},enumerable:!1,configurable:!0}),i.prototype.getSampleConnectionString=function(){return"https://services.odata.org/v3/odata/OData.svc/"},i}(r.StiSqlDatabase);r.StiODataDatabase=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Dictionary.StiQuickBooksSource,i=function(t){function i(e,r,n,i,o){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=!1),void 0===o&&(o=null),t.call(this,e,r,n,i,o)||this}return __extends(i,t),Object.defineProperty(i.prototype,"connectionType",{get:function(){return r.StiConnectionType.OnlineServices},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiQuickBooksDatabase},enumerable:!1,configurable:!0}),i.prototype.getDataAdapterType=function(){return r.StiQuickBooksAdapterService},i.prototype.createDataSource=function(t,e){return new n(t,e)},i.prototype.regData=function(t,e){var r=this.getDataAdapter();if(null==r)throw new Error("Database not found");r.createConnectionInDataStore(t,this)},i}(r.StiSqlDatabase);r.StiQuickBooksDatabase=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),r.call(this,t,e,n,i,o)||this}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiFirebirdDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"serviceName",{get:function(){return"Firebird"},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n.prototype.createDataSource=function(t,r){return new e.StiFirebirdSource(t,r)},n.prototype.getDataAdapterType=function(){return e.StiFirebirdAdapterService},n.prototype.getSampleConnectionString=function(){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;"},n}(e.StiSqlDatabase);e.StiFirebirdDatabase=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),r.call(this,t,e,n,i,o)||this}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiMySqlDatabase},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},Object.defineProperty(n.prototype,"serviceName",{get:function(){return"MySQL"},enumerable:!1,configurable:!0}),n.prototype.createDataSource=function(t,r){return new e.StiMySqlSource(t,r)},n.prototype.getDataAdapterType=function(){return e.StiMySqlAdapterService},n.prototype.getSampleConnectionString=function(){return"Server=myServerAddress; Database=myDataBase;"+"\r\n"+"UserId=myUsername; Pwd=myPassword;"},n}(e.StiSqlDatabase);e.StiMySqlDatabase=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),r.call(this,t,e,n,i,o)||this}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiOracleDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"serviceName",{get:function(){return"Oracle"},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n.prototype.createDataSource=function(t,r){return new e.StiOracleSource(t,r)},n.prototype.getDataAdapterType=function(){return e.StiOracleAdapterService},n.prototype.getSampleConnectionString=function(){return"Data Source=TORCL;User Id=myUsername;Password=myPassword;"},n}(e.StiSqlDatabase);e.StiOracleDatabase=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t,e,n,i,o){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=null),r.call(this,t,e,n,i,o)||this}return __extends(n,r),Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiPostgreSQLDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"serviceName",{get:function(){return"PostgreSQL"},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n.prototype.createDataSource=function(t,r){return new e.StiPostgreSQLSource(t,r)},n.prototype.getDataAdapterType=function(){return e.StiPostgreSQLAdapterService},n.prototype.getSampleConnectionString=function(){return"Server=myServerAddress; Port=5432; Database=myDataBase;"+"\r\n"+"User Id=myUsername; Password=myPassword;"},n}(e.StiSqlDatabase);e.StiPostgreSQLDatabase=r}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(t){function n(e,r,n){void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n="");var i=t.call(this,e,r,n)||this;return i._serviceName="Custom",i._sampleConnectionString="Sample ConnectionString",i}return __extends(n,t),n.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyString("ServiceName",this.serviceName,"Custom"),r},n.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"ServiceName":this._serviceName=a.value.toString();break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},n.registerCustomDatabase=function(t){var r=new n;r._serviceName=t.serviceName,"sampleConnectionString"in t&&(r._sampleConnectionString=t.sampleConnectionString),StiOptions.Services.databases.add(r),r.dataAdapter=e.StiCustomAdapterService.registerCustomAdapterService({name:t.serviceName,process:t.process}),e.StiCustomSource.registerCustomSource()},n.prototype.createNew=function(){return new n},Object.defineProperty(n.prototype,"serviceName",{get:function(){return this._serviceName},enumerable:!1,configurable:!0}),n.prototype.createDataSource=function(t,r){return new e.StiCustomSource(t,r)},n.prototype.getDataAdapter=function(){if(null==this.dataAdapter&&(this.dataAdapter=StiOptions.Services.dataAdapters.firstOrDefault((function(t){return t.stimulsoft.is(e.StiCustomAdapterService)}))),this.dataAdapter)return this.dataAdapter;throw r.format("Data adapter for the {0} database is not found!",this)},n.prototype.getDataAdapterType=function(){return e.StiCustomAdapterService},n.prototype.applyDatabaseInformationSource=function(r,n,i,o,a){void 0===a&&(a=e.StiSqlSourceType.Table),o.extendedProperties["Query"]=o.tableName,t.prototype.applyDatabaseInformationSource.call(this,r,n,i,o,a)},n.prototype.getSampleConnectionString=function(){return this._sampleConnectionString},n}(e.StiSqlDatabase);e.StiCustomDatabase=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.CollectionBase,n=t.System.ICloneable,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=function(r){function a(t){var e=r.call(this)||this;return e.dictionary=t,e}return __extends(a,r),a.prototype.implements=function(){return[n,i]},a.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new o,i=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(i.toString(),l.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},a.prototype.loadFromJsonObject=function(t){var e,r,n=function(t){var e,r=t.value.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,n=StiOptions.Services.databases.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r}));if(null!=n){var o=n.createNew();o.loadFromJsonObject(t.value),i.list.push(o)}},i=this;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s;n(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(e){for(var r=0;r=n.length)return n.substr(e);return n.substr(e,r)},a.left=function(t,e){if(null==t||t==o.value)return"";var r=t.toString();if(e>=r.length)return r;return r.substr(0,e)},a.right=function(t,e){if(null==t||t==o.value)return"";var r=t.toString();if(e>=r.length)return r;return r.substr(r.length-e,e)},a.mid=function(t,e,r){return this.substring(t,e,r)},a.roman=function(t){return e.Func.Convert.toRoman(t)},a.abc=function(t){return e.Func.Convert.toABC(+t)},a.arabic=function(t){return e.Func.Convert.toArabic(t,!1)},a.persian=function(t){return e.Func.Convert.toArabic(t,!0)},a.toWords=function(t,r,n){return void 0===r&&(r=null),void 0===n&&(n=null),e.Func.En.numToStr(t,r)},a.dateToStr=function(t,r){return void 0===r&&(r=null),e.Func.En.dateToStr(t,r)},a.toCurrencyWords=function(t,r,n,i,o){return void 0===i&&(i="dollar/dollars"),void 0===o&&(o="cent/cents"),e.Func.En.currToStr(t,r,n,i,o)},a.toCurrencyWords2=function(t,e,r,n,i){return void 0===e&&(e=null),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),"EN only implemented"},a.toOrdinal=function(t){var e=t.toString();if(t<1)return e;if((t%=100)>=11&&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"}},a.toWordsRu=function(t,r){return void 0===r&&(r=!0),e.Func.Ru.numToStr(t,r)},a.dateToStrRu=function(t,r){return void 0===r&&(r=!1),e.Func.Ru.dateToStr(t,r)},a.toCurrencyWordsRu=function(t,r,n,i){return void 0===r&&(r=!0),void 0===n&&(n="RUR"),void 0===i&&(i=!0),e.Func.Ru.currToStr(t,r,n,i)},a.toCurrencyWordsThai=function(t){return this.SP_STRtNumToMny(t)},a.SP_STRtNumToMny=function(t){var e="",r="",n=null,o="",a="",s="",l="";if((n=(l=Math.round2(t,2).toString()).split(".")).length-1>1)return"";if(r=n[0],n.length-1>0&&(e=n[1]).length>2)return"";if(o=i.isNullOrEmpty(r)?this.tC_0:this.SP_XCGtNumToMny(r),i.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 o==this.tC_0&&a==this.tC_0?s=o+this.tC_Baht+this.tC_Complete:o==this.tC_0&&a!=this.tC_0?s=a+this.tC_Satang:o!=this.tC_0&&a==this.tC_0?s=o+this.tC_Baht+this.tC_Complete:o!=this.tC_0&&a!=this.tC_0&&(s=o+this.tC_Baht+a+this.tC_Satang),s},a.SP_XCGtNumToMny=function(t){var e=t;if(i.isNullOrEmpty(t))return"";while("0"==e[0]&&e.length>1)e=e.stimulsoft.remove(1,1);var r=0,n="",o=e=this.reverseString(e);for(r=0;r<=o.length-1;r++){var a="",s="",l=0;switch(l=r%6,o[r]){case"0":s="";break;case"1":switch(l){case 0:s=o.length%6==0&&r==o.length-1?this.tC_1:this.tC_01;break;case 1:s=this.tC_10;break;default:s=this.tC_1;break}break;case"2":switch(l){case 1:s=this.tC_20;break;default:s=this.tC_2;break}break;case"3":s=this.tC_3;break;case"4":s=this.tC_4;break;case"5":s=this.tC_5;break;case"6":s=this.tC_6;break;case"7":s=this.tC_7;break;case"8":s=this.tC_8;break;case"9":s=this.tC_9;break}if(!i.isNullOrEmpty(s)||r%6==0)switch(l){case 0:a=r/6<=0?"":this.tC_1000000;break;case 1:a=s==this.tC_10?"":this.tC_10;break;case 2:a=this.tC_100;break;case 3:a=this.tC_1000;break;case 4:a=this.tC_10000;break;case 5:a=this.tC_100000;break}n=s+a+n}return i.isNullOrEmpty(n)&&(n=this.tC_0),n},a.reverseString=function(t){var e=t.split("");return n.reverse(e),e.join("")},a.toWordsUa=function(r,n,i){return void 0===n&&(n=!0),void 0===i&&(i=t.Report.Func.Gender.Masculine),e.Func.Ua.numToStr(r,n,i)},a.dateToStrUa=function(t,r){return void 0===r&&(r=!1),e.Func.Ua.dateToStr(t,r)},a.toCurrencyWordsUa=function(t,r,n,i){return void 0===r&&(r=!0),void 0===n&&(n="UAH"),void 0===i&&(i=!0),e.Func.Ua.currToStr(t,r,n,i)},a.toWordsPt=function(t,r){return e.Func.Pt.numToStr(t,r)},a.toCurrencyWordsPt=function(t,r,n){return e.Func.Pt.currToStr(t,r,n)},a.toCurrencyWordsPtBr=function(t){return e.Func.PtBr.numToStr(t)},a.DateToStrPt=function(t){return e.Func.Pt.dateToStr(t)},a.dateToStrPtBr=function(t){return e.Func.Pt.dateToStr(t).toLowerCase()},a.toCurrencyWordsFr=function(t,r,n){return e.Func.Fr.convertToWord(t,r,n)},a.toCurrencyWordsEs=function(t,r,n){return e.Func.Es.convertToWord(t,r,n)},a.toWordsEs=function(t,r){return e.Func.Es.numToStr(t,r)},a.toWordsEs2=function(t,r,n){return e.Func.Es.numToStr2(t,r,n)},a.toCurrencyWordsNl=function(t,r,n){return e.Func.Nl.convertToWord(t,r,n)},a.toCurrencyWordsEnGb=function(t,r,n){return e.Func.EnGb.convertToWord(t,r,n)},a.toWordsPl=function(t,r){return e.Func.Pl.numToStr(t,r)},a.dateToStrPl=function(t,r){return e.Func.Pl.dateToStr(t,r)},a.toCurrencyWordsPl=function(t,r,n,i){return e.Func.Pl.currToStr(t,r,n,i)},a.toWordsEnIn=function(t,r){return e.Func.EnIn.numberToStr(t,r)},a.toCurrencyWordsEnIn=function(t,r,n,i,o){return void 0===o&&(o=!1),e.Func.EnIn.currencyToStr(t,r,n,i,o)},a.toWordsFa=function(t){return e.Func.Fa.convertToWord(t)},a.toWordsZh=function(t){return e.Func.Zh.toWordsZh(t)},a.toCurrencyWordsZh=function(t){return e.Func.Zh.toCurrencyWordsZh(t)},a.toWordsTr=function(t){return e.Func.Tr.numToStr(t)},a.toCurrencyWordsTr=function(t){return e.Func.Tr.currToStr(t)},a.toCurrencyWordsTr2=function(t,r,n){return e.Func.Tr.currToStr(t,r,n)},a.toWordsAr=function(t){return e.Func.Ar.numToStr(t,"","").trim()},a.toCurrencyWordsAr=function(t,r,n){return e.Func.Ar.numToStr(t,r,n)},a.isCreated=!1,a.tC_0="ศูนย์",a.tC_1="หนึ่ง",a.tC_2="สอง",a.tC_3="สาม",a.tC_4="สี่",a.tC_5="ห้า",a.tC_6="หก",a.tC_7="เจ็ด",a.tC_8="แปด",a.tC_9="เก้า",a.tC_01="เอ็ด",a.tC_10="สิบ",a.tC_20="ยี่",a.tC_100="ร้อย",a.tC_1000="พัน",a.tC_10000="หมื่น",a.tC_100000="แสน",a.tC_1000000="ล้าน",a.tC_Baht="บาท",a.tC_Satang="สตางค์",a.tC_Complete="ถ้วน",a}();r.StiFunctionsStrings=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=function(){function r(){}return r.create=function(){0==r.isCreated&&(e.StiFunctions.addFunction("Totals","Max","Max","Function returns the largest value in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["Expression - can be a decimal field in the data souce or formula which returns decimal number."]),e.StiFunctions.addFunction("Totals","Max","Max","A function returns the largest value in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxD","Function returns the largest value in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxD","A function returns the largest value in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]), e.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.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."]),e.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."]),e.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["The DataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinI","Function returns the lowest value in the column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinI","A function returns the lowest value in the column or expression.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.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."]),e.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."]),e.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.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."]),e.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","ModeD","A Function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","ModeD","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.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."]),e.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."]),e.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."]),e.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."]),e.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object],["dataSource"],["The Data Source for processing."]),e.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",t.System.Int64,"An integer number."),e.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),e.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),e.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",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the calculation."]),e.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",t.System.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."]),r.isCreated=!0)},r.isCreated=!1,r}();e.StiFunctionsTotals=r}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t){this._alias=t}return Object.defineProperty(t.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),t}();t.StiAliasAttribute=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Data.DBNull,n=t.Report.Components.StiGroupSortDirection,i=function(){function e(t,e,r,n){this.businessObject=null,this.businessObject=e,this.sortColumns=t,this.conditions=n,this.rowToConditions=r}return e.prototype.compare=function(e,r){try{if(e==r)return 0;if(null!=this.rowToConditions&&null!=this.conditions)for(var i=this.rowToConditions.get(e),o=this.rowToConditions.get(r),a=this.conditions.length,s=0;s1)var y=d;var A=this.sortColumns[m-1];h++}return 0}catch(e){return t.System.StiError.showError(e,!1),0}},e.prototype.compareValues=function(t,e,n){void 0===n&&(n=!0);var i=1;if(n||(i=-1),t==r.value&&e==r.value)return 0;if(t==r.value)return-1*i;if(e==r.value)return 1*i;var o=t,a=e;if(null==t&&null==a)return 0;if(null==t)return-1*i;if(null==a)return 1*i;if(t!=a){var s=t.compareTo(a);if(n||(s=-s),0!=s)return s}return 0},e.prototype.clear=function(){this.sortColumns=null},e}();e.StiBusinessObjectSort=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Data.DataSet,n=function(){function t(t,e,r,n,i){this.name=t,this.parentTableName=e,this.childTableName=r,this.parentColumnName=n,this.childColumnName=i}return t}(),i=function(){function t(){this.dataSet=null,this.relations=null,this.uniques=null,this.level=0}return t.prototype.convertBusinessObjectToDataSet=function(t,e){var n;return new r(t)},t}();e.StiBusinessObjectToDataSet=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.IStiAppCalcDataColumn,n=t.System.Type,i=function(t){function e(e,r,i,o,a){void 0===e&&(e="CalcColumn"),void 0===r&&(r="CalcColumn"),void 0===i&&(i=new n),void 0===o&&(o=""),void 0===a&&(a="");var s=t.call(this,e,e,r,i)||this;return s._value=o,""!=a&&(s.key=a),s}return __extends(e,t),e.prototype.implements=function(){return e.ImplementsStiCalcDataColumn||(e.ImplementsStiCalcDataColumn=t.prototype.implements.call(this).concat([r])),e.ImplementsStiCalcDataColumn},e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyIdent("Ident","Calc"),r.addPropertyString("Expression",this.expression),r},e.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Expression":this.expression=a.value;break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expression",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!1,configurable:!0}),e}(e.StiDataColumn);e.StiCalcDataColumn=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t,e,r){this.OriginalConnectionState=null,this._name=t,this._data=e,this._viewData=r,r||(this._viewData=e)}return Object.defineProperty(t.prototype,"viewData",{get:function(){return this._viewData},set:function(t){this._viewData=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name!=t&&(this._alias==name&&(this._alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReportData",{get:function(){return this._isReportData},set:function(t){this._isReportData=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isBusinessObjectData",{get:function(){return this._isReportData},set:function(t){this._isBusinessObjectData=t},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return this.name==this.alias?this.name+"("+this.viewData.stimulsoft.getTypeName()+")":this.name+"("+this.alias+")"},t}();t.StiData=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.System.Char,i=t.System.Collections.Hashtable,o=t.Report.CodeDom.StiCodeGenerator,a=function(){function t(){}return t.correctName=function(e,r,i){if(void 0===r&&(r=!0),void 0===i&&(i=null),null==e||0==e.length)return"";var o="_"+e;if(t.cache.contains(o)){var a=t.cache.get(o);if(a.stimulsoft.is(Boolean))return e;return a}for(var s=e,l=0;l0&&n.isDigit(s.charAt(0))&&(s="n"+s),r&&(e=this.checkKeyword(e,i)),e==s?t.cache.add(o,!0):t.cache.add(o,s),s},t.checkKeyword=function(t,e){if(o.isKeywordExist(t)){if("date"==t)return t;return t+"_"}return t},t.correctBusinessObjectName=function(e){if(r.isNullOrEmpty(e))return"";for(var n=e.split("."),i=0;iu.name.length+1){var c=t.substring(u.name.length+1);return this.getColumnFromPath2(c,u)}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return null},t.getColumnFromPath2=function(t,e){var n,i,o,a,s=t.split("."),l=0,u=s[l];while(1==1){try{for(var c=(n=void 0,__values(e.columns.list)),p=c.next();!p.done;p=c.next()){var h=p.value;if(r.correctName(h.name)==u&&l==s.length-1)return h}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}var m=e.getParentRelations();try{for(var f=(o=void 0,__values(m.list)),d=f.next();!d.done;d=f.next()){var g=d.value;if(r.correctName(g.name)==u){var S=t.substring(g.name.length+1);return this.getColumnFromPath2(S,g.parentSource)}}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}if(l==s.length-1)return null;u+="."+s[++l]}return null},t}();e.StiDataBuilder=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Collections.CollectionBase,i=t.System.Data.DataTable,o=t.System.Data.DataSet,a=t.System.Data.JsonRelationDirection,s=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return __extends(s,n),s.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},s.prototype.setByName=function(t,e){for(var r=t.toLowerCase(),n=0;n0&&(t[0].stimulsoft.is(e.StiDataColumn)?o=t:t[0].stimulsoft.is(n)&&(o=t.stimulsoft.toList().select((function(t){return new e.StiDataColumn(t.columnName,t.columnName,t.columnName,t.dataType)}))),r.addRange(o))}else t.stimulsoft.is(e.StiDataSource)?r.dataSource=t.stimulsoft.as(e.StiDataSource):t.stimulsoft.is(e.StiBusinessObject)&&(r.businessObject=t.stimulsoft.as(e.StiBusinessObject));return r}return __extends(p,i),p.prototype.implements=function(){return[l]},p.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new s,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var l=a.value;n.addPropertyJObject(i.toString(),l.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},p.prototype.loadFromJsonObject=function(t){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=null,l,u=a.value.properties().firstOrDefault((function(t){return"Ident"==t.name}));(s=null!=u&&"Calc"==u.value?new e.StiCalcDataColumn:null!=u&&"Transform"==u.value?new e.StiDataTransformationColumn:new e.StiDataColumn).loadFromJsonObject(a.value),this.add(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},p.prototype.decodeTypeName=function(t){return t.stimulsoft.replaceAll("_x002c_",",")},p.prototype.loadFromXml=function(n){for(var i=0;i0)try{for(var G=(u=void 0,__values(j)),H=G.next();!H.done;H=G.next()){var Q=H.value,L;null!=(L=N.get(Q))&&(L.stimulsoft.is(r.StiDataSource)&&null==this.usedDataSources.get(L)?this.usedDataSources.set(L,L):L.stimulsoft.is(r.StiDataColumn)&&null==this.usedColumns.get(L)?this.usedColumns.set(L,L):L.stimulsoft.is(r.StiDataRelation)&&null==this.usedRelations.get(L)&&this.usedRelations.set(L,L))}}catch(t){u={error:t}}finally{try{H&&!H.done&&(p=G.return)&&p.call(G)}finally{if(u)throw u.error}}}}}catch(t){i={error:t}}finally{try{M&&!M.done&&(l=k.return)&&l.call(k)}finally{if(i)throw i.error}}var Y=t.getComponents();try{for(var U=__values(Y.list),J=U.next();!J.done;J=U.next()){var W=J.value,V,z;null!=(V=W.stimulsoft.as(o))&&null!=V.dataSource&&this.usedDataSources.set(V.dataSource,V.dataSource),null!=(z=W.stimulsoft.as(a))&&null!=z.dataRelation&&this.usedRelations.set(z.dataRelation,z.dataRelation);var X=W.stimulsoft.as(s);if(null!=X&&null!=X.sort){var L="",K=W.stimulsoft.as(o);null!=K&&null!=K.DataSource&&(L=e.StiNameValidator.correctName(K.DataSource.Name)+".");var Z=1;while(Z0)try{for(var s=__values(r.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=i+"."+e.StiNameValidator.correctName(u.name);t.set(c,u),this.buildData(t,u.parentSource,n,c,!0),u.name!=u.nameInSource&&(c=i+"."+e.StiNameValidator.correctName(u.nameInSource),t.set(c,u),t.set(e.StiNameValidator.correctName(u.nameInSource),u),this.buildData(t,u.parentSource,n,c,!0))}}catch(t){o={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}},t.prototype.buildData=function(t,r,n,i,o){var a="";""!=i?a=i+"."+e.StiNameValidator.correctName(r.name):""==i&&(a=e.StiNameValidator.correctName(r.name)),this.level++,n.contains(r)||(n.add(r),o?this.buildRelations(t,r.getParentRelations(),n,i):this.buildRelations(t,r.getParentRelations(),n,a),n.remove(r)),o?this.buildColumns(t,r.columns,i):this.buildColumns(t,r.columns,a),this.level--},t.prototype.build=function(t,n){var i,o,a=n.dataSources,s=new r.StiDataSourcesCollection(null);try{for(var l=__values(a.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=e.StiNameValidator.correctName(c.name);t.set(p,c),this.buildData(t,c,s,"",!1)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}},t}()}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t,e){this.dataSource=t,this._row=e}return t.prototype.createDataRow=function(e){return new t(null!=e?e.dataSource:null,null!=e?e.row:null)},Object.defineProperty(t.prototype,"row",{get:function(){return this._row},set:function(t){this._row=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dictionary",{get:function(){return this.dataSource.dictionary},enumerable:!1,configurable:!0}),t.prototype.getByColumnName=function(t){if(null==this._row)return null;return this._row.getValueByIndex(this.dataSource.getColumnIndex(t))},t.prototype.getParentData=function(e){if(null==this.row)return null;var r=this.row.getParentRows(e);if(null==r||0==r.length)return null;return new t(this.dataSource.getParentDataSource(e),r[0])},t}();t.StiDataRow=e}(e=t.Dictionary||(t.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Engine.StiParser.StiParser,n=t.System.Collections.Hashtable,i=t.Report.Components.StiText,o=t.System.Data.DBNull,a=t.Report.Components.StiGroupSortDirection,s=function(){function t(t,e,r,o){if(this.rowToConditions=null,this.dataSource=null,this.textComp=null,this.dataSource=o,this.sortColumns=r,this.conditions=e,this.rowToConditions=t,null!=this.sortColumns){var a=0,s=0;while(a1){var T=y;while(T0?E[0]:null}if(null==h){var E=null!=v?v.getParentRows(this.sortColumns[T]):null;v=null!=E&&E.length>0?E[0]:null}T++}}var R=A.getColumnIndex(this.sortColumns[g-1]);if(-1!=R)null==p&&(p=null!=b?b.gett(R):null,null==this.hashValues[d].get(t)&&this.hashValues[d].set(t,p)),null==h&&(h=null!=v?v.gett(R):null,null==this.hashValues[d].get(n)&&this.hashValues[d].set(n,h));else{var D=A.columns.getByName(this.sortColumns[g-1]),P=null!=D?D.stimulsoft.as(e.StiCalcDataColumn):null;if(null!=P&&null!=this.rowToConditions){if(null==p){if(null!=b){var s=this.rowToConditions.get(b.recordIndex),x=A.position;A.position=s,p=r.parseTextValue("{"+P.expression+"}",this.textComp),A.position=x}else p=null;null==this.hashValues[d].get(t)&&this.hashValues[d].set(t,p)}if(null==h){if(null!=v){var l=this.rowToConditions.get(v.recordIndex),x=A.position;A.position=l,h=r.parseTextValue("{"+P.expression+"}",this.textComp),A.position=x}else h=null;null==this.hashValues[d].get(n)&&this.hashValues[d].set(n,h)}}}}}d++;var F=this.compareValues(p,h,S);if(0==F)continue;return F}return 0},t.prototype.compareValues=function(t,e,r){null==r&&(r=!0);var n=1;if(r||(n=-1),t==o.value&&e==o.value)return 0;if(t==o.value)return-1*n;if(e==o.value)return 1*n;var i=t,a=e;if(void 0===i.stimulsoft.compareTo&&(i=null),void 0===a.stimulsoft.compareTo&&(a=null),null==i&&null==a)return 0;if(null==i)return-1*n;if(null==a)return 1*n;if(i!=a){var s=i.stimulsoft.compareTo(a);if(r||(s=-s),0!=s)return s}return 0},t.prototype.clear=function(){this.sortColumns=null,null!=this.rowToConditions&&(this.rowToConditions.clear(),this.rowToConditions=null),this.conditions=null,this.hashValues=null,this.dataSource=null,this.textComp=null},t.nullObject=new Object,t}();e.StiDataSort=s}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Services.StiService,n=t.Base.Localization.StiLocalization,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"serviceCategory",{get:function(){return n.get("Services","categoryDictionary")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceType",{get:function(){return e.stimulsoft.getType()},enumerable:!1,configurable:!0}),e.prototype.setName=function(t,e,r,n){t.nameInSource=r.dataSetName+"."+n,t.name=n,t.alias=n},e}(r);e.StiDataTableSetNameService=i}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.List,n=function(){function t(){this.tables=new r,this.views=new r,this.storedProcedures=new r}return t}();e.StiDatabaseInformation=n}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Dictionary.StiDataSource,i=t.System.StiString,o=t.Data.Engine.StiDataConnections,a=t.System.DateTime,s=t.System.TimeSpan,l=t.Report.Dictionary.StiDatabaseCollection,u=t.Report.Dictionary.StiBusinessObjectsCollection,c=t.System.Collections.Hashtable,p=t.System.Data.DataSet,h=t.Base.JsonReportObject.IStiJsonReportObject,m=t.Base.StiJson,f=t.System.ICloneable,d=t.System.Data.DataRelation,g=t.System.StiPromise,S=t.Base.IStiAppDictionary,y=t.Data.Exceptions.StiSystemVariableNotRecognizedException,A=function(){function A(t){void 0===t&&(t=null),this._cachedUserNamesAndPasswords=null,this._useInternalData=!1,this._restrictions=new r.StiRestrictions,this._dataStore=new r.StiDataCollection,this._variables=new r.StiVariablesCollection,this._resources=new r.StiResourcesCollection,this._report=t,this._dataSources=new r.StiDataSourcesCollection(this),this._relations=new r.StiDataRelationsCollection(this),this._databases=new l(this),this._businessObjects=new u(this,null)}return A.prototype.implements=function(){return[f,S,h]},A.prototype.saveToJsonObject=function(t){var e=new m;if(e.addPropertyJObject("Resources",this.resources.saveToJsonObject(t)),e.addPropertyJObject("Variables",this.variables.saveToJsonObject(t)),e.addPropertyJObject("DataSources",this.dataSources.saveToJsonObject(t)),e.addPropertyJObject("Databases",this.databases.saveToJsonObject(t)),e.addPropertyJObject("BusinessObjects",this.businessObjects.saveToJsonObject(t)),e.addPropertyJObject("Relations",this.relations.saveToJsonObject(t)),0==e.count)return null;return e},A.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Resources":this._resources.loadFromJsonObject(o.value);break;case"Variables":this._variables.loadFromJsonObject(o.value,this.report);break;case"DataSources":this._dataSources.loadFromJsonObject(o.value);break;case"Databases":this._databases.loadFromJsonObject(o.value);break;case"BusinessObjects":this._businessObjects.loadFromJsonObject(o.value);break;case"Relations":this._relations.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.loadFromXml=function(t){for(var e=0;e=0;I--){var w=g.getByIndex(I),T=1,E=null;while(1){if(E=1!=T?i.format("{0}{1}",w.name,T):w.name,null==B.get(E)){B.set(E,E);break}T++}w.name=E}var R=new r.StiDataColumnsCollection;try{for(var D=__values(o.columns.list),P=D.next();!P.done;P=D.next()){var x=P.value;try{for(var F=(m=void 0,__values(g.list)),N=F.next();!N.done;N=F.next()){var w=N.value;if(x.nameInSource==w.nameInSource){R.add(w),g.remove(w);break}}}catch(t){m={error:t}}finally{try{N&&!N.done&&(f=F.return)&&f.call(F)}finally{if(m)throw m.error}}}}catch(t){p={error:t}}finally{try{P&&!P.done&&(h=D.return)&&h.call(D)}finally{if(p)throw p.error}}R.addRange(g),o.columns.clear(),o.columns.addRange(R)}},A.prototype.synchronizeColumnsAsync=function(n,o){var a=new g,s=null;if(null!=(s=r.StiDataAdapterService.getDataAdapter2(n))){var l=void 0;s.getColumnsFromDataAsync(n,o,"").try((function(n){var s,l,u,p,h,m,f,d;try{for(var g=__values(o.columns.list),S=g.next();!S.done;S=g.next()){var y=S.value,A=!1;try{for(var b=(u=void 0,__values(n.list)),v=b.next();!v.done;v=b.next()){var C=v.value;y.nameInSource==C.nameInSource&&(C.name=y.name,StiOptions.Designer.autoCorrectDataColumnName&&(C.name=e.StiNameValidator.correctName(C.name)),C.alias=y.alias,C.nameInSource=y.nameInSource,y.type!=t.System.DateTime&&y.type!=t.System.NullableDateTime||!StiOptions.Dictionary.useNullableDateTime?y.type!=t.System.TimeSpan&&y.type!=t.System.NullableTimeSpan||!StiOptions.Dictionary.useNullableTimeSpan||(C.type=t.System.NullableTimeSpan):C.type=t.System.NullableDateTime,A=!0)}}catch(t){u={error:t}}finally{try{v&&!v.done&&(p=b.return)&&p.call(b)}finally{if(u)throw u.error}}(!A&&StiOptions.Dictionary.columnsSynchronizationMode==r.StiColumnsSynchronizationMode.KeepAbsentColumns||y.stimulsoft.is(r.StiCalcDataColumn))&&n.add(y)}}catch(t){s={error:t}}finally{try{S&&!S.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}for(var w=new c,B=n.count-1;B>=0;B--){var C=n.getByIndex(B),I=1,T=null;while(1){if(T=1!=I?i.format("{0}{1}",C.name,I):C.name,null==w.get(T)){w.set(T,T);break}I++}C.name=T}var E=new r.StiDataColumnsCollection;try{for(var R=__values(o.columns.list),D=R.next();!D.done;D=R.next()){var P=D.value;try{for(var x=(f=void 0,__values(n.list)),F=x.next();!F.done;F=x.next()){var C=F.value;if(P.nameInSource==C.nameInSource){E.add(C),n.remove(C);break}}}catch(t){f={error:t}}finally{try{F&&!F.done&&(d=x.return)&&d.call(x)}finally{if(f)throw f.error}}}}catch(t){h={error:t}}finally{try{D&&!D.done&&(m=R.return)&&m.call(R)}finally{if(h)throw h.error}}E.addRange(n),o.columns.clear(),o.columns.addRange(E),a.callTry()})).abort(a)}return a},A.prototype.synchronizeColumns3=function(t,e){this.synchronizeColumns2(t.businessObjectValue,e)},A.prototype.synchronizeColumns2=function(t,n){var o,l,u,p,h=r.StiBusinessObjectHelper.getColumnsFromData(t);try{for(var m=__values(n.columns.list),f=m.next();!f.done;f=m.next()){var d=f.value,g=!1;try{for(var S=(u=void 0,__values(h.list)),y=S.next();!y.done;y=S.next()){var A=y.value;if(d.nameInSource==A.nameInSource){A.name=d.name,StiOptions.Designer.autoCorrectDataColumnName&&(A.name=e.StiNameValidator.correctName(A.name)),A.alias=d.alias,A.nameInSource=d.nameInSource,d.type==a&&StiOptions.Dictionary.useNullableDateTime?A.type=a:d.type==s&&StiOptions.Dictionary.useNullableTimeSpan&&(A.type=s),g=!0;break}}}catch(t){u={error:t}}finally{try{y&&!y.done&&(p=S.return)&&p.call(S)}finally{if(u)throw u.error}}g||StiOptions.Dictionary.BusinessObjects.columnsSynchronizationMode!=r.StiColumnsSynchronizationMode.KeepAbsentColumns||h.add(d)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(l=m.return)&&l.call(m)}finally{if(o)throw o.error}}for(var b=new c,v=h.count-1;v>=0;v--){var A=h.getByIndex(v),C=1,w=null;while(1){if(w=1!=C?i.format("{0}{1}",A.name,C):A.name,null==b.get(w)){b.set(w,w);break}C++}A.name=w}n.columns.clear(),n.columns.addRange(h)},A.prototype.clear=function(){this._variables.clear(),this._databases.clear(),this._dataSources.clear(),this._relations.clear(),this._dataStore.clearReportDatabase(),this._resources.clear(),this._restrictions.clear()},A.prototype.disposeCacheDataSet=function(){var t,e;if(null!=this.cacheDataSet){this.cacheDataSet.relations.clear();try{for(var r=__values(this.cacheDataSet.tables.list),n=r.next();!n.done;n=r.next())var i=n.value}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.cacheDataSet.tables.clear(),this.cacheDataSet.dispose(),this.cacheDataSet=null}},A.prototype.renameDatabase=function(t,e){if(t.name==e)return;for(var n=t.name+".",i=e+".",o=0;o0){var u=0;try{for(var c=__values(n),p=c.next();!p.done;p=c.next()){var h=p.value;u++,r.StiDataLeader.connectAsync(h,null,e).try((function(){0==--u&&a()})).catch((function(t){i.callCatch(t)})).abort(i)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}}else if(o.report.retrieveOnlyUsedData&&e){for(var m=r.StiDataSourceHelper.getUsedDataSourcesNames(o.report),f=!1,d=o.dataSources.count,g=0;g0&&A.length>0&&(this.checkRelation(C,n.nameInSource,m,A)||(C.enforceConstraints=!1,C.relations.add(new d(n.nameInSource,m,A))))}catch(r){if(t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),"Creating relation '"+n.nameInSource+"'...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Dictionary.hideRelationExceptions&&!this.report.isDesigning)throw r}},A}();r.StiDictionary=A}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Report.Components.StiGroupSortDirection,i=t.System.DateTime,o=t.System.TimeSpan,a=function(){function t(t,e,r,n){this.groupHeaders=null,this.groupSummaries=t,this.groupLines=e,this.groupHeaders=r,this.baseRowOrder=n}return t.prototype.compare=function(t,e){var i,o;if(t==e)return 0;try{for(var a=__values(this.groupHeaders.toCast()),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.summarySortDirection==n.None)continue;var u=l.summarySortDirection==n.Ascending?1:-1,c=this.groupSummaries.get(l).stimulsoft.as(r),p=this.groupLines.get(l).stimulsoft.as(r),h=c.get(t),m=c.get(e),f=this.compareValues(h,m);if(0!=f)return f*u;var d=p.get(t),g=p.get(e);if(0!=(f=d.stimulsoft.compareTo(g)))return f*u}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}var S=this.baseRowOrder.get(t),y=this.baseRowOrder.get(e);return S.stimulsoft.compareTo(y)},t.prototype.compareValues=function(t,e){if(t.stimulsoft.is(Number)||e.stimulsoft.is(Number))return(+t).stimulsoft.compareTo(+e);if(t.stimulsoft.is(i)||e.stimulsoft.is(i))return t.stimulsoft.as(i).compareTo(e.stimulsoft.as(i));if(t.stimulsoft.is(o)||e.stimulsoft.is(o))return t.stimulsoft.as(o).compareTo(e.stimulsoft.as(o));return 0},t.prototype.clear=function(){this.groupSummaries.clear(),this.groupSummaries=null,this.groupLines.clear(),this.groupLines=null,this.groupHeaders=null,this.baseRowOrder.clear(),this.baseRowOrder=null},t}();e.StiGroupSummaryDataSort=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.System.Type,i=t.System.Data.DBNull,o=function(){function t(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="")}return t.prototype.compare=function(t,e){return 0},t.prototype.getParentValue=function(t){if(t.stimulsoft.is(n)&&(t=null),null==t)return"";if(t==i.value)return"";var e=t.toString();if(0==e.trim().length)return"";return e},t.prototype.process=function(){var t=new r;this.createTree(t),this.setLevelAndSort(t,this.parentValue,0);var e=[];this.createRowList(t,e,this.parentValue),this.businessObject.enumerator=null},t.prototype.createTree=function(t){this.businessObject.enumerator.reset()},t.prototype.setLevelAndSort=function(t,r,n){var i=t.get(this.getParentValue(r)).stimulsoft.as(Array);if(null!=i){var o=new e.StiBusinessObjectSort(this.businessObject.ownerBand.sort,this.businessObject,null,null);i.Sort(o),o.clear()}},t.prototype.createRowList=function(t,e,r){var n,i,o=t.get(this.getParentValue(r)).stimulsoft.as(Array);if(null!=o)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;e.push(l)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},t}();e.StiHierarchicalBusinessObjectSort=o}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.Collections.Hashtable,i=t.System.Data.DBNull,o=t.System.Data.DataRow,a=function(){function a(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="")}return a.prototype.compare=function(r,n){try{if(r==n)return 0;var i=r.stimulsoft.as(o),a=n.stimulsoft.as(o),s=i.gett(this.keyColumn),l=a.gett(this.keyColumn),u;return new e.StiDataSort(null,null,null,null).compareValues(s,l)}catch(e){return t.System.StiError.showError(e.message,!1),0}},a.prototype.getParentValue=function(t){if(null==t)return"";if(t==i)return"";var e=t.toString();if(0==e.trim().length)return"";return e},a.prototype.process=function(t){if(null==this.dataSource.detailRows)return;var e=new n;this.createTree(e),this.dataSource.rowToLevel=new n,this.setLevelAndSort(t,e,this.parentValue,0);var i=[];this.createRowList(e,i,this.parentValue),this.dataSource.detailRows=r.create(o,i.length),i.stimulsoft.copyTo(this.dataSource.detailRows)},a.prototype.createTree=function(t){var e,r;try{for(var n=__values(this.dataSource.detailRows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.gett(this.masterKeyColumn);a=this.getParentValue(a);var s=t.get(a);null==s&&(s=[],t.set(a,s)),s.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.setLevelAndSort=function(t,r,n,i){var o,a,s,l,u,c,p=r.get(this.getParentValue(n));if(null!=p){try{for(var h=__values(p),m=h.next();!m.done;m=h.next()){var f=m.value;this.dataSource.rowToLevel.set(f,i);var d=f.gett(this.keyColumn);this.setLevelAndSort(t.clone(),r,d,i+1)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}var g=new e.StiDataSort(t,null,this.sortColumns,this.dataSource),S=[];try{for(var y=__values(p),A=y.next();!A.done;A=y.next()){var f=A.value;S.push(f)}}catch(t){s={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}S.stimulsoft.sort2(g),p.stimulsoft.clear();try{for(var b=__values(S),v=b.next();!v.done;v=b.next()){var f=v.value;p.push(f)}}catch(t){u={error:t}}finally{try{v&&!v.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}g.clear()}},a.prototype.createRowList=function(t,e,r){var n,i,o=t.get(this.getParentValue(r));if(null!=o)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;e.push(l);var u=l.gett(this.keyColumn);this.createRowList(t,e,u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},a}();e.StiHierarchicalDataSort=a}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.JsonReportObject.IStiJsonReportObject,n=t.Base.StiJsonSaveMode,i=t.System.Collections.CollectionBase,o=t.System.Collections.IComparer,a=t.Base.StiJson,s=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.directionFactor=1,e}return __extends(i,t),i.prototype.implements=function(){return[o,r]},i.prototype.clone=function(){var t,e,r=new i;try{for(var n=__values(this.list),o=n.next();!o.done;o=n.next()){var a=o.value;r.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},i.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var i=new a,o=0;try{for(var s=__values(this.list),l=s.next();!l.done;l=s.next()){var u=l.value;i.addPropertyJObject(o.toString(),u.saveToJsonObject(n.Report)),o++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return i},i.prototype.loadFromJsonObject=function(t,r){var n,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value,l=new e.StiResource;l.loadFromJsonObject(s.value),this.list.push(l)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},i.prototype.loadFromXml=function(t){for(var r=0;r0&&this.contains(t.name)&&this.remove(t.name),this.list.push(t)},n.prototype.addRange=function(t){var e,r;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},n.prototype.contains=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o;if(i.value.name.toLowerCase()==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},n.prototype.containsCategory=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o;if(i.value.category.toLowerCase()==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},n.prototype.indexOf=function(t){var r,n;if(t.stimulsoft.is(e.StiVariable))return this.list.indexOf(t);var i=t;i=i.toLowerCase();var o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l;if(s.value.name.toLowerCase()==i)return o;o++}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return-1},n.prototype.remove=function(t){if(t.stimulsoft.is(e.StiVariable)){var r;(r=t).category.length>0&&1==this.getVariablesCount(r.category)?r.name="":this.list.stimulsoft.remove(r)}else{var n=t;n=n.toLowerCase();var i=0;while(is?this.getFirstCategoryIndex(e):this.getLastCategoryIndex(e)+1;try{for(var m=__values(l),f=m.next();!f.done;f=m.next()){var p=f.value;this.insert(h,p),h++}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}},n.prototype.getFirstCategoryIndex=function(t){var e,r,n=0;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;if(t==o.value.category)return n;n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return-1},n.prototype.getLastCategoryIndex=function(t){var e,r,n=-1,i=0,o=!1;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l;if(t==s.value.category)n=i,o=!0;else if(o)break;i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},n.prototype.renameCategory=function(t,e){var r,n;t=t.toLowerCase();try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.category.toLowerCase()==t&&(a.category=e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},n.prototype.removeCategory=function(t){var e=0;while(et.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},i.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(o){return e=t,r=i.renderChart(e),n=r,e.processAtEnd&&(e.chartInfo.storedForProcessAtEndChart=r),[2,r]}))}))},i.prototype.internalRender=function(t){var e=t,r=i.renderChart(e),n=r;return e.processAtEnd&&(e.chartInfo.storedForProcessAtEndChart=r),r},i}(e.StiComponentBuilder);e.StiChartBuilder=i}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiClone,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var n,i,o;return __generator(this,(function(a){switch(a.label){case 0:n=e.stimulsoft.as(r),i=n.container;while(null!=i&&i.stimulsoft.is(r))i=i.container;if(null!=i)return[3,2];return[4,t.prototype.internalRenderAsync.call(this,n)];case 1:return[2,a.sent()];case 2:return[4,i.renderAsync()];case 3:return(o=a.sent()).border=n.border.clone(),o.brush=n.brush.clone(),o.clientRectangle=n.clientRectangle,[2,o]}}))}))},e.prototype.internalRender=function(e){var n=e.stimulsoft.as(r),i=n.container;while(null!=i&&i.stimulsoft.is(r))i=i.container;if(null==i)return t.prototype.internalRender.call(this,n);var o=i.render();return o.border=n.border.clone(),o.brush=n.brush.clone(),o.clientRectangle=n.clientRectangle,o},e}(e.StiContainerBuilder);e.StiCloneBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiDataBand,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.getMaster=function(t){var e=t.parent.components.indexOf(t)-1;while(e>=0){if(t.parent.components.getByIndex(e).is(r))return t.parent.components.getByIndex(e);e--}return null},e}(e.StiBandBuilder);e.StiFooterBandBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiDockStyle,n=t.Report.Components.StiContainer,i=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,(function(){var o,a,s,l,u,c;return __generator(this,(function(p){switch(p.label){case 0:if(o=i,!(null==(a=e.StiFooterBandBuilder.getMaster(o))||a.columns<2))return[3,2];return[4,t.prototype.internalRenderAsync.call(this,o)];case 1:return[2,p.sent()];case 2:(s=new n).name=o.name,s.width=o.width,s.height=o.height,l=a.getColumnWidth()+a.columnGaps,u=0,p.label=3;case 3:if(!(u1?i:1);var o={ref:0},a={ref:0};h.calculateMaxAndMin(e,o,a,r);for(var s=r;sn.ref.height)return 0}var c=e.crossTabInfo.cross,p=this.getEndColumn(t,n.ref,c,e);if(!i){var m=n.ref.clone();if(this.renderColHeaders(t,e,r,{ref:m},!0)>n.ref.height)return 0}var f=0,d=0;if(c.isTopCrossTitleVisible&&(c.isCrossTitlePrintOnAllPages&&(i||h.renderCells(e,r,t.startColumn,0,p,1,n.ref),n.ref.y+=c.heights[0],n.ref.height-=c.heights[0],f+=c.heights[0]),d++),h.isColFieldsEmpty(e))return f;!i&&this.allColFieldsPresentOnAllPages(c)&&h.renderCells(e,r,t.startColumn,d,p,d+c.colFields.count,n.ref);try{for(var g=__values(c.colFields.toCast()),S=g.next();!S.done;S=g.next()){var y;if(S.value.printOnAllPages){i||this.allColFieldsPresentOnAllPages(c)||h.renderCells(e,r,t.startColumn,d,p,d+1,n.ref);var u=c.heights.length>d?c.heights[d]:0;n.ref.y+=u,n.ref.height-=u,f+=u}d++}}catch(t){a={error:t}}finally{try{S&&!S.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}return f},S.prototype.allColFieldsPresentOnAllPages=function(t){return t.colFields.toList().count2((function(t){return t.printOnAllPages}))==t.colFields.count},S.prototype.getEndColumn=function(t,e,r,n){var i=e.width,o=t.startColumn;while(on.ref.width)return 0;if(e.rightToLeft){(m=n.ref.clone()).width-=p;for(var l=h.getEndCol(e,t.startColumn,m),d=0,c=t.startColumn;cn.ref.width)return 0}var b=0,v=this.getEndRow(t,n.ref,s),C=0;if((s.isLeftCrossTitleVisible||s.isTopCrossTitleVisible&&s.isColsEmpty)&&(s.isCrossTitlePrintOnAllPages&&(i||h.renderCells(e,r,0,t.startRow,1,v,n.ref),n.ref.x+=s.widths[0],n.ref.width-=s.widths[0],b+=s.widths[0]),C++),h.isRowFieldsEmpty(e))return b;var w=1;e.rightToLeft&&(C=s.cells.length-1-C,w=-1);var B=C,I=0;try{for(var T=__values(s.rowFields.toCast()),E=T.next();!E.done;E=T.next()){var R=E.value,D=s.widths.length>C?s.widths[C]:0;R.printOnAllPages&&(I+=D,b+=D),(!R.printOnAllPages||R==s.rowFields.getByIndex(s.rowFields.count-1))&&I>0&&(e.rightToLeft&&(n.ref.x=y+n.ref.width-I),i||h.renderCells(e,r,B,t.startRow,C+1,v,n.ref),e.rightToLeft||(n.ref.x+=I),n.ref.width-=I,I=0,B=C+w),e.rightToLeft?B--:C++}}catch(t){o={error:t}}finally{try{E&&!E.done&&(a=T.return)&&a.call(T)}finally{if(o)throw o.error}}return e.rightToLeft&&(n.ref.x=y),n.ref.y=S,n.ref.height=g,b},S.prototype.renderCorner=function(t,e,r,n,i,o){var a,s;if(void 0===o&&(o=!1),0==t.startRow||h.isColFieldsEmpty(e))return 0;if(!o){var l=n.ref.clone();if(this.renderCorner(t,e,r,{ref:l},i,!0)>n.ref.height)return 0}var u=0,c=0,p=i.rowFields.toList().count2((function(t){return t.printOnAllPages}));i.isTopCrossTitleVisible&&(i.isCrossTitlePrintOnAllPages&&(o||h.renderCells(e,r,0,0,p,1,n.ref),n.ref.y+=i.heights[0],n.ref.height-=i.heights[0],u+=i.heights[0]),c++),!o&&this.allColFieldsPresentOnAllPages(i)&&h.renderCells(e,r,0,c,p,c+i.colFields.count,n.ref);try{for(var m=__values(i.colFields.toCast()),f=m.next();!f.done;f=m.next()){var d;if(f.value.printOnAllPages){o||this.allColFieldsPresentOnAllPages(i)||h.renderCells(e,r,0,c,p,c+1,n.ref);var g=i.heights.length>c?i.heights[c]:0;n.ref.y+=g,n.ref.height-=g,u+=g}c++}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}return u},S.prototype.renderCrossTabOnDataBand=function(t,e,r){var n=t.destinationRectangle.clone();n.x=0,n.y=0,n.width=e.parent.width-n.left,n.height=Number.MAX_VALUE;var i=t.startRow,o=t.startColumn;t.startColumn=0;var a=e.page,s=a.pageWidth-a.margins.left-a.margins.right,l=s;a.unlimitedBreakable||(n.width=1e9,l=1e9,s=1e9);var c=r.components.count,p=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.enabled&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.enabled,m=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.printOnAllPages;p||(p=null!=e.crossTabInfo.cross.rowTitleFields&&e.crossTabInfo.cross.rowTitleFields.count>0&&e.crossTabInfo.cross.rowTitleFields.toList().any((function(t){return t.enabled}))),m||(m=null!=e.crossTabInfo.cross.rowTitleFields&&e.crossTabInfo.cross.rowTitleFields.count>0&&null!=e.crossTabInfo.cross.summaryCrossTitle&&e.crossTabInfo.cross.summaryCrossTitle.printOnAllPages);var f=0,d=0;while(fe.crossTabInfo.cross.widths.length-v-1;C--)b+=e.crossTabInfo.cross.widths[C];g.width-=b}if(o=h.getEndCol(e,t.startColumn,g),0!=f&&e.printTitleOnAllPages){p&&m&&(1==f&&(n.y+=.7*e.crossTabInfo.cross.heights[0]),h.renderCells(e,r,t.startColumn,0,o,1,n),n.y+=e.crossTabInfo.cross.heights[0],y+=e.crossTabInfo.cross.heights[0],g.height-=e.crossTabInfo.cross.heights[0]);var w=this.getActualHeaderRowCount(e);if(0!=w&&1!=f&&e.crossTabInfo.cross.isTopCrossTitleVisible&&e.crossTabInfo.cross.isCrossTitlePrintOnAllPages){h.renderCells(e,r,t.startColumn,1,o,w+1,n);for(var B=1;B<=w;B++)n.y+=e.crossTabInfo.cross.heights[B],y+=e.crossTabInfo.cross.heights[B],g.height-=e.crossTabInfo.cross.heights[B]}o=h.getEndCol(e,t.startColumn,g)}if(i=h.getEndRow(e,f,g),h.renderCells(e,r,t.startColumn,f,o,i,n),e.wrap){if(e.rightToLeft&&od.height))return r.renderingIsFinished=!1,[2,o];u.y=d.height+n.wrapGap,u.height-=d.height+n.wrapGap}return r.renderingIsFinished=!0,[2,o]}if(u.x=0,u.y=0,p=h.getEndCol(n,r.startColumn,u),c=h.getEndRow(n,r.startRow,u),g=null!=n.crossTabInfo.cross.leftCrossTitle&&n.crossTabInfo.cross.leftCrossTitle.enabled&&null!=n.crossTabInfo.cross.rightCrossTitle&&n.crossTabInfo.cross.rightCrossTitle.enabled,y=null!=n.crossTabInfo.cross.leftCrossTitle&&n.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=n.crossTabInfo.cross.rightCrossTitle&&n.crossTabInfo.cross.rightCrossTitle.printOnAllPages,A=u.x,b=u.y,v=u.x,C=u.y,0!=r.startColumn)for(w=0;w0&&((P=u.clone()).y=0,P.height-=u.y,h.renderCells(n,o,0,0,D,n.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),P)),h.renderCells(n,o,w,r.startRow,D,c,u),u.x+=n.crossTabInfo.cross.widths[w]),w=D+1}}if(0!=r.startRow){for(u.x=A,u.y=C,x=u.width,F=r.startColumn,N=r.startColumn;Nd.height))return r.renderingIsFinished=!1,o;u.y=d.height+n.wrapGap,u.height-=d.height+n.wrapGap}return r.renderingIsFinished=!0,o}u.x=0,u.y=0,p=h.getEndCol(n,r.startColumn,u),c=h.getEndRow(n,r.startRow,u);var g=null!=n.crossTabInfo.cross.leftCrossTitle&&n.crossTabInfo.cross.leftCrossTitle.enabled&&null!=n.crossTabInfo.cross.rightCrossTitle&&n.crossTabInfo.cross.rightCrossTitle.enabled,y=null!=n.crossTabInfo.cross.leftCrossTitle&&n.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=n.crossTabInfo.cross.rightCrossTitle&&n.crossTabInfo.cross.rightCrossTitle.printOnAllPages,A=u.x,b=u.y,v=u.x,C=u.y;if(0!=r.startColumn)for(var w=0;w0){var P=u.clone();P.y=0,P.height-=u.y,h.renderCells(n,o,0,0,D,n.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),P)}h.renderCells(n,o,w,r.startRow,D,c,u),u.x+=n.crossTabInfo.cross.widths[w]}w=D+1}}if(0!=r.startRow){u.x=A,u.y=C;for(var x=u.width,F=r.startColumn,N=r.startColumn;N1&&t.summaryDirection==n.LeftToRight&&a++,a},S.prototype.prepare=function(e){t.prototype.prepare.call(this,e),a.setFilter(e)},S.prototype.unPrepare=function(e){t.prototype.unPrepare.call(this,e),h.clearCross(e.stimulsoft.as(c))},S.prototype.internalRenderAsync=function(r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,l;return __generator(this,(function(u){switch(u.label){case 0:if(n=r.stimulsoft.as(c),i=new p,o=null!=e.StiSubReportsHelper.getParentBand(n),i.allowRendering=o,a=r.parent.stimulsoft.as(s),i.destinationRectangle=null!=a?a.parent.clientRectangle.clone():n.clientRectangle.clone(),!o)return[3,2];return h.createCross(n),[4,this.renderCrossTabAsync(i,n)];case 1:return[2,u.sent()];case 2:return[4,t.prototype.internalRenderAsync.call(this,r)];case 3:return null!=(l=u.sent().stimulsoft.as(m))&&(l.width=r.width,l.height=r.height,l.components.clear()),[2,l]}}))}))},S.prototype.internalRender=function(r){var n=r.stimulsoft.as(c),i=new p,o=null!=e.StiSubReportsHelper.getParentBand(n);i.allowRendering=o;var a=r.parent.stimulsoft.as(s);if(i.destinationRectangle=null!=a?a.parent.clientRectangle.clone():n.clientRectangle.clone(),o)return h.createCross(n),this.renderCrossTab(i,n);var l=t.prototype.internalRender.call(this,r).stimulsoft.as(m);return null!=l&&(l.width=r.width,l.height=r.height,l.components.clear()),l},S}(e.StiContainerBuilder);e.StiCrossTabBuilder=S}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.CrossTab.Core.StiSummaryDirection,n=t.Report.CrossTab.StiCrossTabHelper,i=t.Report.CrossTab.StiCrossHorAlignment,o=t.Report.CrossTab.StiCrossHeader,a=t.Report.Components.IStiBreakable,s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.renderCrossTabOnDataBand=function(t,r,n,o){var s=r.page,l=r.crossTabInfo.cross,u=r.report.engine,c=s.pageWidth-s.margins.left-s.margins.right,p=c;s.unlimitedBreakable||(p=1e5);var h=n.components.count;t.startRow=0;var m=!1,f=!0,d=0,g=0;while(t.startRowy){if(!m){g=y,d+=y,m=!0;continue}d-=g,y=g}else null!=r.parent&&r.parent.is(a)&&!r.parent.as(a).canBreak&&(d-=g)}var b=t.shiftX,v=0,C=!0;while(t.startColumn=l.colCount;break}C&&(b-=t.shiftX),b+=p,C=!1}f&&(d+=y,t.startRow=v),n.components.count>0&&(d=Math.max(d,n.components.toList().max((function(t){return t.bottom})))),f||(d+=r.wrapGap)}if(n.components.count>0&&!r.wrap&&r.horAlignment!=i.Width){var E=n.components.toList().max((function(t){return t.right}))/c;if(E>1)while(E>n.containerInfo.setSegmentPerWidth)n.containerInfo.setSegmentPerWidth++}return e.makeHorAlignment(r,n,h,r.parent.width,n.containerInfo.setSegmentPerWidth),this.finalizeCross(n),n},e.prototype.finalizeCross=function(t){t.canGrow=!1,t.canShrink=!0;var e=t.getActualSize();t.width=e.width,t.height=e.height,t.canGrow=!0},e.makeHorAlignment=function(t,e,r,o,a){if(t.wrap)return;if(t.horAlignment==i.Width)e.left=0,e.width=o,n.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=i.None){e.left=0,e.width=o*a;var s=0,l=0,u={ref:s},c={ref:l};n.calculateMaxAndMin(e,u,c,r),s=u.ref,l=c.ref;for(var p=r;pa.ref.height)return 0}var h=e.crossTabInfo.cross,m=this.getEndColumn(t,a.ref,h,e);if(!s){var f=a.ref.clone();if(this.renderColHeaders(t,e,i,{ref:f},!0)>a.ref.height)return 0}var d=0,g=0,S=n.isColFieldsEmpty(e)&&e.summaryDirection==r.LeftToRight&&h.sumFields.count>1?1:0;if(h.isTopCrossTitleVisible){if(h.isCrossTitlePrintOnAllPages){s||n.renderCells(e,i,t.startColumn,0,m,1+S,a.ref);for(var y=0;y<1+S;y++)a.ref.y+=h.heights[y],a.ref.height-=h.heights[y],d+=h.heights[y]}g++}if(n.isColFieldsEmpty(e))return d;var A=e.summaryDirection==r.LeftToRight&&h.sumFields.count>1?1:0;!s&&this.allColFieldsPresentOnAllPages(h)&&n.renderCells(e,i,t.startColumn,g,m,g+h.colFields.count+A,a.ref);for(var y=0;y=h.colFields.count){s||this.allColFieldsPresentOnAllPages(h)||n.renderCells(e,i,t.startColumn,g,m,g+1,a.ref);var p=h.heights.length>g?h.heights[g]:0;a.ref.y+=p,a.ref.height-=p,d+=p}g++}return d},e.prototype.renderCrossTabSegment=function(t,e,r,i,o,a){var s=e.crossTabInfo.cross,l={ref:i};this.renderRowHeaders(t,e,r,l),this.renderColHeaders(t,e,r,l),i=l.ref,a.ref=n.getEndRow(e,t.startRow,i),o.ref=n.getEndCol(e,t.startColumn,i),a.ref=n.checkMergedRowCells(e,t.startRow,a.ref,t.startColumn,o.ref),t.startRowi.ref.width)return 0;if(e.rightToLeft){(m=i.ref.clone()).width-=h;for(var u=n.getEndCol(e,t.startColumn,m),d=0,p=t.startColumn;pi.ref.width)return 0}var b=0,v=this.getEndRow(t,i.ref,l),C=0;if((l.isLeftCrossTitleVisible||l.isTopCrossTitleVisible&&l.isColsEmpty)&&(l.isCrossTitlePrintOnAllPages&&(o||n.renderCells(e,r,0,t.startRow,1,v,i.ref),i.ref.x+=l.widths[0],i.ref.width-=l.widths[0],b+=l.widths[0]),C++),n.isRowFieldsEmpty(e))return b;var w=1;e.rightToLeft&&(C=l.cells.length-1-C,w=-1);var B=C,I=0;try{for(var T=__values(l.rowFields.toCast()),E=T.next();!E.done;E=T.next()){var R=E.value,D=l.widths.length>C?l.widths[C]:0;R.printOnAllPages&&(I+=D,b+=D),(!R.printOnAllPages||R==l.rowFields.getByIndex(l.rowFields.count-1))&&I>0&&(e.rightToLeft&&(i.ref.x=y+i.ref.width-I),o||n.renderCells(e,r,B,t.startRow,C+1,v,i.ref),e.rightToLeft||(i.ref.x+=I),i.ref.width-=I,I=0,B=C+w),e.rightToLeft?B--:C++}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=T.return)&&s.call(T)}finally{if(a)throw a.error}}return e.rightToLeft&&(i.ref.x=y),i.ref.y=S,i.ref.height=g,b},e.prototype.renderCorner=function(t,e,r,i,o,a){var s,l;if(void 0===a&&(a=!1),0==t.startRow||n.isColFieldsEmpty(e))return 0;if(!a){var u=i.ref.clone();if(this.renderCorner(t,e,r,{ref:u},o,!0)>i.ref.height)return 0}var c=0,p=0,h=o.rowFields.toList().count2((function(t){return t.printOnAllPages}));o.isTopCrossTitleVisible&&(o.isCrossTitlePrintOnAllPages&&(a||n.renderCells(e,r,0,0,h,1,i.ref),i.ref.y+=o.heights[0],i.ref.height-=o.heights[0],c+=o.heights[0]),p++),!a&&this.allColFieldsPresentOnAllPages(o)&&n.renderCells(e,r,0,p,h,p+o.colFields.count,i.ref);try{for(var m=__values(o.colFields.toCast()),f=m.next();!f.done;f=m.next()){var d;if(f.value.printOnAllPages){a||this.allColFieldsPresentOnAllPages(o)||n.renderCells(e,r,0,p,h,p+1,i.ref);var g=o.heights.length>p?o.heights[p]:0;i.ref.y+=g,i.ref.height-=g,c+=g}p++}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}return c},e}(e.StiContainerBuilder);e.StiCrossTabV2Builder=s}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.StiString,i=t.System.DateTime,o=t.Report.Events.StiValueEventArgs,a=t.Report.Components.StiDataBand,s=t.Report.Components.StiGroupHeaderBand,l=t.Report.Components.StiHeaderBand,u=t.Report.Components.StiEmptyBand,c=t.Report.Components.StiChildBand,p=t.System.Collections.Hashtable,h=t.Report.Components.StiGroupFooterBand,m=t.Report.Components.StiFooterBand,f=t.Report.Components.StiSubReport,d=t.Report.Components.StiKeepDetails,g=t.Report.Components.IStiMasterComponent,S=t.Report.Components.IStiPrintOnAllPages,y=t.Report.Components.StiDataHelper,A=t.Report.Components.StiComponentType,b=t.Report.Components.IStiPageBreak,v=t.Report.Components.IStiRenderMaster,C=t.Report.Components.IStiDataSource,w=t.Report.Components.IStiBusinessObject,B=t.Report.Components.StiPage,I=t.Report.Components.StiComponentsCollection,T=t.Report.Components.StiContainer,E=t.Report.Components.StiBandInteraction,R=function(R){function D(){return null!==R&&R.apply(this,arguments)||this}return __extends(D,R),D.prototype.getGroupHeaders=function(e){var r=new I,n=e.parent.components.indexOf(e)-1;if(e.is(t.Report.Components.Table.StiTable)&&!e.enabled){var i=e.name+"_";while(n>=0&&e.parent.components.getByIndex(n).name.stimulsoft.startsWith(i))n--}while(n>=0){if(!e.parent.components.getByIndex(n).is(l))if(e.parent.components.getByIndex(n).is(c));else if(e.parent.components.getByIndex(n).is(u));else{if(!e.parent.components.getByIndex(n).is(s))break;r.insert(0,e.parent.components.getByIndex(n))}n--}return r},D.prototype.getGroupFooters=function(t){var e=new I,r=t.parent.components.indexOf(t)+1;while(r=0?(t.dataBandInfo.groupFooterComponents.getByIndex(a).groupFooterBandInfo.groupHeader=t.dataBandInfo.groupHeaderComponents.getByIndex(s),t.dataBandInfo.groupHeaderComponents.getByIndex(s).groupHeaderBandInfo.groupFooter=t.dataBandInfo.groupFooterComponents.getByIndex(a)):t.dataBandInfo.groupFooterComponents.getByIndex(a).groupFooterBandInfo.groupHeader=null}},D.prototype.findHeaders=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.headers=new I;var e=t.parent.components.indexOf(t)-1;while(e>=0){var r=t.parent.components.getByIndex(e);if(!r.is(s))if(r.is(c));else if(r.is(u));else{if(!r.is(l))break;t.dataBandInfo.headers.insert(0,r)}e--}},D.prototype.findHierarchicalHeaders=function(e){var r,n,i,o,a,s;if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;var l=e.as(t.Report.Components.StiHierarchicalBand);if(null!=l&&l.headers.trim().length>0){e.dataBandInfo.hierarchicalHeaders=new I;var u=l.headers.split(";"),c=new p;try{for(var h=__values(u),m=h.next();!m.done;m=h.next()){var f,d=m.value.trim();c.set(d,d)}}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}try{for(var g=__values(e.dataBandInfo.headers.list),S=g.next();!S.done;S=g.next()){var y=S.value;null!=c.get(y.name)&&e.dataBandInfo.hierarchicalHeaders.add(y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}try{for(var A=__values(e.dataBandInfo.hierarchicalHeaders.list),b=A.next();!b.done;b=A.next()){var y=b.value;e.dataBandInfo.headers.contains(y)&&e.dataBandInfo.headers.remove(y,!1)}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}}},D.prototype.findFooters=function(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.footersOnAllPages=new I,e.dataBandInfo.footersOnLastPage=new I;var r=e.parent.components.indexOf(e)+1;while(r0){e.dataBandInfo.hierarchicalFooters=new I;var h=c.footers.split(";"),m=new p;try{for(var f=__values(h),d=f.next();!d.done;d=f.next()){var g,S=d.value.trim();m.set(S,S)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}try{for(var y=__values(e.dataBandInfo.footersOnAllPages.list),A=y.next();!A.done;A=y.next()){var b=A.value;null!=m.get(b.name)&&e.dataBandInfo.hierarchicalFooters.add(b)}}catch(t){i={error:t}}finally{try{A&&!A.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}try{for(var v=__values(e.dataBandInfo.footersOnLastPage.list),C=v.next();!C.done;C=v.next()){var b=C.value;null!=m.get(b.name)&&e.dataBandInfo.hierarchicalFooters.add(b)}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}try{for(var w=__values(e.dataBandInfo.hierarchicalFooters.list),B=w.next();!B.done;B=w.next()){var b=B.value;e.dataBandInfo.footersOnAllPages.contains(b)&&e.dataBandInfo.footersOnAllPages.remove(b,!1),e.dataBandInfo.footersOnLastPage.contains(b)&&e.dataBandInfo.footersOnLastPage.remove(b,!1)}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}}},D.prototype.findEmptyBands=function(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.emptyBands=new I;var r=e.parent.components.indexOf(e)+1;while(r=0){var r=t.parent.components.getByIndex(e);if(!r.is(l))if(r.is(c));else if(r.is(u));else{if(!r.is(s))break;t.dataBandInfo.groupHeaders.insert(0,r)}e--}},D.prototype.findGroupFooters=function(e){if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.groupFooters=new I;var r=e.parent.components.indexOf(e)+1;while(r=0?(t.dataBandInfo.groupFooters.getByIndex(a).groupFooterBandInfo.groupHeader=t.dataBandInfo.groupHeaders.getByIndex(s),t.dataBandInfo.groupHeaders.getByIndex(s).groupHeaderBandInfo.groupFooter=t.dataBandInfo.groupFooters.getByIndex(a)):t.dataBandInfo.groupFooters.getByIndex(a).groupFooterBandInfo.groupHeader=null}},D.prototype.resetLinkGroupHeadersAndGroupFooters=function(t){var e,r,n,i;if(null!=t.dataBandInfo.groupHeaders)try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next();!a.done;a=o.next()){var s;(s=a.value).groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}if(null!=t.dataBandInfo.groupFooters)try{for(var l=__values(t.dataBandInfo.groupFooters.list),u=l.next();!u.done;u=l.next()){var s;(s=u.value).groupFooterBandInfo.groupHeader=null}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}},D.prepareGroupResults=function(t){var r,n,o=0,a=t.position,s=t.count;null==t.dataBandInfo.groupHeaderCachedResults&&(t.dataBandInfo.groupHeaderCachedResults=[],t.dataBandInfo.groupFooterCachedResults=[]);var l=!1;null==t.dataBandInfo.groupHeaderCachedResults[a]&&(t.dataBandInfo.groupHeaderCachedResults[a]=[],t.dataBandInfo.groupFooterCachedResults[a]=[],l=!l);try{for(var u=__values(t.dataBandInfo.groupHeaders.list),c=u.next();!c.done;c=u.next()){var p=c.value;if(a>0)if(l){if(t.isBusinessObjectEmpty){t.position=a-1;var h=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);t.position=a;var m=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);h&&h.stimulsoft.is(i)&&m&&m.stimulsoft.is(i)?t.dataBandInfo.groupHeaderResults[o]=0!=i.compare(h,m):t.dataBandInfo.groupHeaderResults[o]=h!=m}else{var f;(f=t.businessObject).setPrevValue();var h=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);f.restoreCurrentValue();var m=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);h&&h.stimulsoft.is(i)&&m&&m.stimulsoft.is(i)?t.dataBandInfo.groupHeaderResults[o]=0!=i.compare(h,m):t.dataBandInfo.groupHeaderResults[o]=h!=m}t.dataBandInfo.groupHeaderCachedResults[a][o]=t.dataBandInfo.groupHeaderResults[o]}else t.dataBandInfo.groupHeaderResults[o]=t.dataBandInfo.groupHeaderCachedResults[a][o];else t.dataBandInfo.groupHeaderResults[o]=!0;if(a=0))return[3,10];if(!e.dataBandInfo.groupFooterResults[r])return[3,9];if((n=e.dataBandInfo.groupHeaders.getByIndex(r)).invokeEndRender(),null==(i=n.groupHeaderBandInfo.groupFooter))return[3,6];if(!(o=i.keepGroupFooterTogether))return[3,3];return[4,this.addKeepLevelAtLatestDataBandAsync(e)];case 2:a.sent(),a.label=3;case 3:return n.groupHeaderBandInfo.silentModeEnabled&&n.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction)&&!n.interaction.collapseGroupFooter&&(e.report.engine.silentMode=n.groupHeaderBandInfo.oldSilentMode,n.groupHeaderBandInfo.silentModeEnabled=!1),[4,this.renderBandAsync(e,i)];case 4:if(a.sent(),n.groupHeaderBandInfo.silentModeEnabled&&(e.report.engine.silentMode=n.groupHeaderBandInfo.oldSilentMode,n.groupHeaderBandInfo.silentModeEnabled=!1),!o)return[3,6];return[4,this.removeKeepLevelAsync(e)];case 5:a.sent(),a.label=6;case 6:if(n.invokeEndRender(),n.groupHeaderBandInfo.skipKeepGroups||!n.keepGroupTogether)return[3,8];return[4,this.removeKeepLevelAsync(e)];case 7:a.sent(),a.label=8;case 8:e.report.engine.printOnAllPagesIgnoreList.remove(n),n.line++,a.label=9;case 9:return r--,[3,1];case 10:return[2]}}))}))},D.prototype.renderGroupFooters=function(e){for(var r=e.dataBandInfo.groupHeaders.count-1;r>=0;r--)if(e.dataBandInfo.groupFooterResults[r]){var n=e.dataBandInfo.groupHeaders.getByIndex(r);n.invokeEndRender();var i=n.groupHeaderBandInfo.groupFooter;if(null!=i){var o=i.keepGroupFooterTogether;o&&this.addKeepLevelAtLatestDataBand(e),n.groupHeaderBandInfo.silentModeEnabled&&n.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction)&&!n.interaction.collapseGroupFooter&&(e.report.engine.silentMode=n.groupHeaderBandInfo.oldSilentMode,n.groupHeaderBandInfo.silentModeEnabled=!1),this.renderBand(e,i),n.groupHeaderBandInfo.silentModeEnabled&&(e.report.engine.silentMode=n.groupHeaderBandInfo.oldSilentMode,n.groupHeaderBandInfo.silentModeEnabled=!1),o&&this.removeKeepLevel(e)}n.invokeEndRender(),!n.groupHeaderBandInfo.skipKeepGroups&&n.keepGroupTogether&&this.removeKeepLevel(e),e.report.engine.printOnAllPagesIgnoreList.remove(n),n.line++}},D.setDetails=function(e){var r,n,i,o,a,s,l,u,c,h;if(!e.isDataSourceEmpty||!e.isBusinessObjectEmpty){var m=new p;if(null!=e.dataBandInfo.detailDataBands)try{for(var f=__values(e.dataBandInfo.detailDataBands.list),d=f.next();!d.done;d=f.next()){var g=d.value;if(e.report.engine.removeBandFromPageBreakSkipList(g.as(b)),y.setData(g,!1),g.is(t.Report.Components.StiDataBand)&&!g.isBusinessObjectEmpty){var S=g.businessObject;m.set(S,S)}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}if(!e.isBusinessObjectEmpty){var S=e.businessObject;try{for(var A=__values(S.businessObjects.list),v=A.next();!v.done;v=A.next()){var C=v.value;null==m.get(C)&&C.setDetails()}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=A.return)&&o.call(A)}finally{if(i)throw i.error}}}if(null!=e.dataBandInfo.subReports)try{for(var w=__values(e.dataBandInfo.subReports.list),B=w.next();!B.done;B=w.next()){var I=B.value;if(null!=I.subReportPage){var T=I.subReportPage.getComponents();try{for(var E=(l=void 0,__values(T.list)),R=E.next();!R.done;R=E.next()){var g,P=g=R.value,x;null!=g&&g.dataSource==e.dataSource||y.setData(g,!1)}}catch(t){l={error:t}}finally{try{R&&!R.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}}}}catch(t){a={error:t}}finally{try{B&&!B.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}if(null!=e.dataBandInfo.details)try{for(var F=__values(e.dataBandInfo.details.list),N=F.next();!N.done;N=F.next()){var k=N.value;y.setData(k,!1)}}catch(t){c={error:t}}finally{try{N&&!N.done&&(h=F.return)&&h.call(F)}finally{if(c)throw c.error}}}D.prepareGroupResults(e)},D.prototype.renderDetailDataBandsAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s;return __generator(this,(function(l){switch(l.label){case 0:if(!this.allowDetailDataBands(t))return[3,10];l.label=1;case 1:l.trys.push([1,8,9,10]),e=__values(t.dataBandInfo.detailDataBands.list),r=e.next(),l.label=2;case 2:if(r.done)return[3,7];if(!(n=r.value).enabled||!this.isAllow(t,n))return[3,6];if(n.parentBookmark=t.currentBookmark,null==(i=n.as(v)))return[3,4];return[4,i.renderMasterAsync()];case 3:return l.sent(),[3,6];case 4:return[4,n.renderAsync()];case 5:l.sent(),l.label=6;case 6:return r=e.next(),[3,2];case 7:return[3,10];case 8:return o=l.sent(),a={error:o},[3,10];case 9:try{r&&!r.done&&(s=e.return)&&s.call(e)}finally{if(a)throw a.error}return[7];case 10:return[2]}}))}))},D.prototype.renderDetailDataBands=function(t){var e,r;if(this.allowDetailDataBands(t))try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.enabled&&this.isAllow(t,o)){o.parentBookmark=t.currentBookmark;var a=o.as(v);null!=a?a.renderMaster():o.render()}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.getParentDataBand=function(e){var r=e.parent;while(null!=r&&!r.is(B)){if(r.is(t.Report.Components.StiDataBand))return r;if(r.is(t.Report.Components.StiChildBand)){var n=r.getMaster();if(n.is(a))return n}r=r.parent}return null},D.prototype.isAllow=function(t,e){if(null!=t.dataBandInfo.detailDataBandsFromSubReports&&null!=t.dataBandInfo.detailDataBandsFromSubReports.get(e))return!1;if(t.parent==e.parent)return!0;var r=this.getParentDataBand(t),n;return r!=this.getParentDataBand(e)||null==r},D.prototype.allowDetailDataBands=function(t){return t.dataBandInfo.detailDataBands.count>0&&t.columns<2},D.prototype.isDenyDetailsOnFirstPage=function(t){return t.report.engine.isFirstDataBandOnPage&&t.componentType==A.Master&&1==t.line},D.isDetailDataSourcesEmpty=function(t){var e,r;if(null==t.dataBandInfo.detailDataBands||0==t.dataBandInfo.detailDataBands.count)return!1;try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.is(C)&&!o.as(C).isEmpty)return!1;if(o.is(w)&&!o.as(w).isEmpty)return!1}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!0},D.isPrintIfDetailEmpty=function(t){var e,r;if(t.printIfDetailEmpty)return!0;if(this.isDetailDataSourcesEmpty(t))return!1;var n=!1,i=!0;try{for(var o=__values(t.dataBandInfo.detailDataBands.toCast()),a=o.next();!a.done;a=o.next()){var s=a.value;if(i=!1,StiOptions.Engine.printIfDetailEmptyNesting){s.saveState("CheckPrintIfDetailEmpty"),s.first();while(!s.isEof){if(this.isPrintIfDetailEmpty(s)){n=!0;break}s.next()}s.restoreState("CheckPrintIfDetailEmpty")}else this.isPrintIfDetailEmpty(s)&&(n=!0);if(n)break}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i||n},D.prototype.renderHeadersAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n;return __generator(this,(function(i){switch(i.label){case 0:r=0,i.label=1;case 1:if(!(ro))return[3,9];return i!=r&&(e.hierarchicalBandInfo.specifiedLevel=i),[4,this.renderHierarchicalHeadersAsync(e,!0,i)];case 7:a.sent(),e.hierarchicalBandInfo.specifiedLevel=-1,a.label=8;case 8:return i--,[3,6];case 9:e.hierarchicalBandInfo.specifiedLevel=-1,a.label=10;case 10:return[2]}}))}))},D.prototype.checkHierarchicalHeaders=function(e){if(e.is(t.Report.Components.StiHierarchicalBand)){var r=0,n=0;if(e.isDataSourceEmpty||(r=e.dataSource.getLevel(),n=e.dataSource.position),e.isBusinessObjectEmpty||(r=e.businessObject.getLevel(),n=e.businessObject.position),0==n)for(var i=0;i<=r;i++)i!=r&&(e.hierarchicalBandInfo.specifiedLevel=i),this.renderHierarchicalHeaders(e,!0,i),e.hierarchicalBandInfo.specifiedLevel=-1;else{var o=0;if(e.isDataSourceEmpty||(e.dataSource.position--,o=e.dataSource.getLevel(),e.dataSource.position++),e.isBusinessObjectEmpty||(e.businessObject.setPrevValue(),o=e.businessObject.getLevel(),e.businessObject.restoreCurrentValue()),oo;i--)i!=r&&(e.hierarchicalBandInfo.specifiedLevel=i),this.renderHierarchicalHeaders(e,!0,i),e.hierarchicalBandInfo.specifiedLevel=-1;e.hierarchicalBandInfo.specifiedLevel=-1}}}},D.prototype.checkHierarchicalFootersAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,o;return __generator(this,(function(s){switch(s.label){case 0:if(!e.is(t.Report.Components.StiHierarchicalBand))return[3,10];if(r=0,n=0,i=0,e.isDataSourceEmpty||(r=e.dataSource.position,n=e.dataSource.count,i=e.dataSource.getLevel()),e.isBusinessObjectEmpty||(r=e.businessObject.position,n=e.businessObject.count,i=e.businessObject.getLevel()),r!=n-1)return[3,5];o=i,s.label=1;case 1:if(!(o>=0))return[3,4];return o!=i&&(e.hierarchicalBandInfo.specifiedLevel=o),[4,this.renderHierarchicalFootersAsync(e,!0,o)];case 2:s.sent(),s.label=3;case 3:return o--,[3,1];case 4:return e.hierarchicalBandInfo.specifiedLevel=-1,[3,10];case 5:if(a=0,e.isDataSourceEmpty||(e.dataSource.position++,a=e.dataSource.getLevel(),e.dataSource.position--),e.isBusinessObjectEmpty||(e.businessObject.setNextValue(),a=e.businessObject.getLevel(),e.businessObject.restoreCurrentValue()),!(aa))return[3,9];return o!=i&&(e.hierarchicalBandInfo.specifiedLevel=o),[4,this.renderHierarchicalFootersAsync(e,!0,o)];case 7:s.sent(),s.label=8;case 8:return o--,[3,6];case 9:e.hierarchicalBandInfo.specifiedLevel=-1,s.label=10;case 10:return[2]}}))}))},D.prototype.checkHierarchicalFooters=function(e){if(e.is(t.Report.Components.StiHierarchicalBand)){var r=0,n=0,i=0;if(e.isDataSourceEmpty||(r=e.dataSource.position,n=e.dataSource.count,i=e.dataSource.getLevel()),e.isBusinessObjectEmpty||(r=e.businessObject.position,n=e.businessObject.count,i=e.businessObject.getLevel()),r==n-1){for(var o=i;o>=0;o--)o!=i&&(e.hierarchicalBandInfo.specifiedLevel=o),this.renderHierarchicalFooters(e,!0,o);e.hierarchicalBandInfo.specifiedLevel=-1}else{var a=0;if(e.isDataSourceEmpty||(e.dataSource.position++,a=e.dataSource.getLevel(),e.dataSource.position--),e.isBusinessObjectEmpty||(e.businessObject.setNextValue(),a=e.businessObject.getLevel(),e.businessObject.restoreCurrentValue()),aa;o--)o!=i&&(e.hierarchicalBandInfo.specifiedLevel=o),this.renderHierarchicalFooters(e,!0,o);e.hierarchicalBandInfo.specifiedLevel=-1}}}},D.prototype.renderBandAsync=function(t,e,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),__awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:return this.registerEmptyBands(t),e.is(s)||(e!=t&&(e.parentBookmark=t.parentBookmark),e.doBookmark()),[4,t.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:if(i.sent(),null==t.report.engine.containerForRender)return[3,3];return[4,t.report.engine.renderBandAsync(e,r,n)];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))},D.prototype.renderBand=function(t,e,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1),this.registerEmptyBands(t),e.is(s)||(e!=t&&(e.parentBookmark=t.parentBookmark),e.doBookmark()),t.report.engine.threads.selectThreadFromContainer(e),null!=t.report.engine.containerForRender&&t.report.engine.renderBand(e,r,n)},D.prototype.renderColumnsAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,t.report.engine.threads.selectThreadFromContainerAsync(t)];case 1:return e.sent(),[4,t.report.engine.columnsOnDataBand.renderColumnsAsync(t)];case 2:return e.sent(),[2]}}))}))},D.prototype.renderColumns=function(t){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.columnsOnDataBand.renderColumns(t)},D.prototype.registerEmptyBands=function(t){t.report.engine.emptyBands.register(t.dataBandInfo.emptyBands)},D.isCollapsed=function(e,r){if(null==e.interaction||e.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction)&&!e.interaction.collapsingEnabled)return!1;var n=!(null==e.collapsedValue||!e.collapsedValue.stimulsoft.is(Boolean))&&e.collapsedValue.stimulsoft.toBoolean();if(null==e.report.interactionCollapsingStates)return n;var i=null;if(null!=e.collapsingTreePath&&(i=e.report.interactionCollapsingStates[e.collapsingTreePath+e.name]),null==i&&(i=e.report.interactionCollapsingStates[e.name]),null==i)return n;if(null==i[e.collapsingIndex])return n;if(!i[e.collapsingIndex].stimulsoft.is(Boolean))return n;return i[e.collapsingIndex].stimulsoft.toBoolean()},D.prototype.setReportVariables=function(t){var e=t;e.report.line=e.line,e.report.lineThrough=e.lineThrough},D.prototype.prepare=function(t){R.prototype.prepare.call(this,t);var 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)},D.prototype.unPrepare=function(t){R.prototype.unPrepare.call(this,t);var 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},D.invokeCollapsedEvent=function(e){var r=new o;if((e.is(s)||e.is(t.Report.Components.StiDataBand))&&(e.invokeGetCollapsed(r),e.collapsedValue=r.value),null!=r.value&&null==e.report.interactionCollapsingStates){e.report.interactionCollapsingStates={};var n=new p,i=e.name,a=e.as(T);null!=a&&null!=a.collapsingTreePath&&(i=a.collapsingTreePath+e.name),e.report.interactionCollapsingStates[i]=n,n.set(e.collapsingIndex,r.value)}},D.prototype.renderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,null]}))}))},D.prototype.render=function(t){return null},D.prototype.renderMasterAsync=function(i){return __awaiter(this,void 0,void 0,(function(){var o,s,l,u,c,c,p,h,m,f,d,g,S,A,b,v,C,w,B;return __generator(this,(function(I){switch(I.label){case 0:return o=i.report.engine.isCrossBandsMode,s=i.is(t.Report.Components.StiCrossDataBand),[4,i.report.engine.threads.selectThreadFromContainerAsync(i)];case 1:I.sent(),i.report.engine.isCrossBandsMode=s,i.dataBandInfo.storedParentBookmark=i.parentBookmark,i.report.engine.isDynamicBookmarksMode=!0,i.invokeBeginRender(),this.block(i),this.linkGroupHeadersAndGroupFooters(i),I.label=2;case 2:return I.trys.push([2,,36,37]),i.line=1,null==i.masterComponent&&(i.lineThrough=1),l=null==i.masterComponent||!StiOptions.Engine.optimizeDetailDataFiltering,null!=(u=null!=i.masterComponent?i.masterComponent.as(t.Report.Components.StiDataBand):null)&&u.isDataSourceEmpty&&u.isBusinessObjectEmpty&&(l=!0),l||(null==i.report.engine.hashDataSourceReferencesCounter?l=!0:(i.isDataSourceEmpty||null!=(c=i.report.engine.hashDataSourceReferencesCounter.get(i.dataSourceName))&&Math.trunc(c.stimulsoft.toNumber())>1&&(l=!0),i.isBusinessObjectEmpty||null!=(c=i.report.engine.hashDataSourceReferencesCounter.get(i.businessObject.name))&&Math.trunc(c.stimulsoft.toNumber())>1&&(l=!0))),l&&y.setData(i,!1),i.first(),i.report.engine.columnsOnDataBand.enabled=!1,[4,this.renderReportTitlesAsync(i)];case 3:return I.sent(),p=r.create(Boolean,i.dataBandInfo.headers.count),[4,this.renderHeadersAsync(i,p)];case 4:return I.sent(),[4,this.renderFootersOnAllPagesAsync(i)];case 5:if(I.sent(),this.startBands(i,i.dataBandInfo.headers),this.startBands(i,i.dataBandInfo.footersOnAllPages),this.startBands(i,i.dataBandInfo.groupHeaders),this.startBand(i,i),0!=i.dataBandInfo.groupHeaders.count)return[3,7];return[4,this.renderColumnsAsync(i)];case 6:I.sent(),I.label=7;case 7:null!=i.interaction&&i.interaction.stimulsoft.is(E)&&0==i.dataBandInfo.detailDataBands.count&&!i.is(t.Report.Components.StiHierarchicalBand)&&(i.interaction.collapsingEnabled=!1),i.first(),h=0,m=i.report.engine.containerForRender,f=0;try{!n.isNullOrWhiteSpace(i.limitRows)&&i.columns<2&&(d={ref:!1},g=e.StiParser.StiParser.parseTextValue("{"+i.limitRows+"}",i,i,d,!0),f=t.System.Convert.toInt32(g))}catch(t){S=n.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",i.name,t.message),i.report.writeToReportRenderingMessages(S)}I.label=8;case 8:if(i.isEof)return[3,28];if(!(f>0))return[3,10];if(m!=i.report.engine.containerForRender&&(m=i.report.engine.containerForRender,h=1),!(++h>f))return[3,10];return[4,i.report.engine.newDestinationAsync()];case 9:I.sent(),h=1,I.label=10;case 10:if(i.collapsingIndex=i.position,null!=i.interaction&&i.interaction.collapsingEnabled){A=null,b=i;while(null!=b.masterComponent&&b.masterComponent.is(a))b=b.masterComponent,A=b.position.toString()+":"+A;null!=A&&(i.collapsingTreePath=A)}return i.columns<2&&(i.report.engine.columnsOnDataBand.enabled=!1),[4,this.renderGroupHeadersAsync(i)];case 11:if(I.sent(),v=this.isDenyDetailsOnFirstPage(i),C=this.isDenyDetailsOnFirstPage(i))return[3,13];return[4,this.addKeepDetailsAsync(i)];case 12:I.sent(),I.label=13;case 13:if(i.setReportVariables(),w=!1,!D.isPrintIfDetailEmpty(i))return[3,16];return D.invokeCollapsedEvent(i),[4,this.checkHierarchicalHeadersAsync(i)];case 14:return I.sent(),[4,this.renderBandAsync(i,i,!1,!0)];case 15:I.sent(),w=!0,I.label=16;case 16:if(!w)return[3,18];return[4,this.removeKeepHeadersAsync(i,p)];case 17:I.sent(),I.label=18;case 18:if(B=i.report.engine.silentMode,D.isCollapsed(i,!0)&&(i.report.engine.silentMode=!0),C)return[3,20];return[4,this.removeKeepDetailsRowAsync(i)];case 19:I.sent(),I.label=20;case 20:return[4,this.renderDetailDataBandsAsync(i)];case 21:if(I.sent(),i.report.engine.silentMode=B,!w)return[3,23];return[4,this.checkHierarchicalFootersAsync(i)];case 22:I.sent(),I.label=23;case 23:if(C)return[3,25];return[4,this.removeKeepDetailsAsync(i)];case 24:I.sent(),I.label=25;case 25:return[4,this.removeKeepGroupHeadersAsync(i)];case 26:return I.sent(),[4,this.renderGroupFootersAsync(i)];case 27:return I.sent(),i.line++,i.lineThrough++,i.next(),[3,8];case 28:return[4,i.report.engine.threads.selectThreadFromContainerAsync(i)];case 29:return I.sent(),[4,this.renderMarkerFootersOnAllPagesAsync(i)];case 30:return I.sent(),[4,this.renderFootersOnLastPageAsync(i)];case 31:if(I.sent(),!this.checkKeepReportSummaryTogether(i))return[3,33];return[4,this.renderReportSummariesAsync(i)];case 32:return I.sent(),this.endBands(i),[3,35];case 33:return this.endBands(i),[4,this.renderReportSummariesAsync(i)];case 34:I.sent(),I.label=35;case 35:return[3,37];case 36:return this.resetLinkGroupHeadersAndGroupFooters(i),this.unBlock(i),i.report.engine.isCrossBandsMode=o,i.report.engine.isDynamicBookmarksMode=!1,[7];case 37:return i.invokeEndRender(),[2]}}))}))},D.prototype.renderMaster=function(i){var o=i.report.engine.isCrossBandsMode,s=i.is(t.Report.Components.StiCrossDataBand);i.report.engine.threads.selectThreadFromContainer(i),i.report.engine.isCrossBandsMode=s,i.dataBandInfo.storedParentBookmark=i.parentBookmark,i.report.engine.isDynamicBookmarksMode=!0,i.invokeBeginRender(),this.block(i),this.linkGroupHeadersAndGroupFooters(i);try{i.line=1,null==i.masterComponent&&(i.lineThrough=1);var l=null==i.masterComponent||!StiOptions.Engine.optimizeDetailDataFiltering,u=null!=i.masterComponent?i.masterComponent.as(t.Report.Components.StiDataBand):null;if(null!=u&&u.isDataSourceEmpty&&u.isBusinessObjectEmpty&&(l=!0),!l)if(null==i.report.engine.hashDataSourceReferencesCounter)l=!0;else{var c,c;if(!i.isDataSourceEmpty)null!=(c=i.report.engine.hashDataSourceReferencesCounter.get(i.dataSourceName))&&Math.trunc(c.stimulsoft.toNumber())>1&&(l=!0);if(!i.isBusinessObjectEmpty)null!=(c=i.report.engine.hashDataSourceReferencesCounter.get(i.businessObject.name))&&Math.trunc(c.stimulsoft.toNumber())>1&&(l=!0)}l&&y.setData(i,!1),i.first(),i.report.engine.columnsOnDataBand.enabled=!1,this.renderReportTitles(i);var p=r.create(Boolean,i.dataBandInfo.headers.count);this.renderHeaders(i,p),this.renderFootersOnAllPages(i),this.startBands(i,i.dataBandInfo.headers),this.startBands(i,i.dataBandInfo.footersOnAllPages),this.startBands(i,i.dataBandInfo.groupHeaders),this.startBand(i,i),0==i.dataBandInfo.groupHeaders.count&&this.renderColumns(i),null!=i.interaction&&i.interaction.stimulsoft.is(E)&&0==i.dataBandInfo.detailDataBands.count&&!i.is(t.Report.Components.StiHierarchicalBand)&&(i.interaction.collapsingEnabled=!1),i.first();var h=0,m=i.report.engine.containerForRender,f=0;try{if(!n.isNullOrWhiteSpace(i.limitRows)&&i.columns<2){var d={ref:!1},g=e.StiParser.StiParser.parseTextValue("{"+i.limitRows+"}",i,i,d,!0);f=t.System.Convert.toInt32(g)}}catch(t){var S=n.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",i.name,t.message);i.report.writeToReportRenderingMessages(S)}while(!i.isEof){if(f>0&&(m!=i.report.engine.containerForRender&&(m=i.report.engine.containerForRender,h=1),++h>f&&(i.report.engine.newDestination(),h=1)),i.collapsingIndex=i.position,null!=i.interaction&&i.interaction.collapsingEnabled){var A=null,b=i;while(null!=b.masterComponent&&b.masterComponent.is(a))A=(b=b.masterComponent).position.toString()+":"+A;null!=A&&(i.collapsingTreePath=A)}i.columns<2&&(i.report.engine.columnsOnDataBand.enabled=!1),this.renderGroupHeaders(i);var v=this.isDenyDetailsOnFirstPage(i),C=this.isDenyDetailsOnFirstPage(i);C||this.addKeepDetails(i),i.setReportVariables();var w=!1;D.isPrintIfDetailEmpty(i)&&(D.invokeCollapsedEvent(i),this.checkHierarchicalHeaders(i),this.renderBand(i,i,!1,!0),w=!0),w&&this.removeKeepHeaders(i,p);var B=i.report.engine.silentMode;D.isCollapsed(i,!0)&&(i.report.engine.silentMode=!0),C||this.removeKeepDetailsRow(i),this.renderDetailDataBands(i),i.report.engine.silentMode=B,w&&this.checkHierarchicalFooters(i),C||this.removeKeepDetails(i),this.removeKeepGroupHeaders(i),this.renderGroupFooters(i),i.line++,i.lineThrough++,i.next()}i.report.engine.threads.selectThreadFromContainer(i),this.renderMarkerFootersOnAllPages(i),this.renderFootersOnLastPage(i),this.checkKeepReportSummaryTogether(i)?(this.renderReportSummaries(i),this.endBands(i)):(this.endBands(i),this.renderReportSummaries(i))}finally{this.resetLinkGroupHeadersAndGroupFooters(i),this.unBlock(i),i.report.engine.isCrossBandsMode=o,i.report.engine.isDynamicBookmarksMode=!1}i.invokeEndRender()},D}(e.StiBandBuilder);e.StiDataBandBuilder=R}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a;return __generator(this,(function(s){e=t.clone();try{for(r=__values(e.scales.list),n=r.next();!n.done;n=r.next())(i=n.value).prepare(e)}catch(t){o={error:t}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}}return[2,e]}))}))},e.prototype.internalRender=function(t){var e,r,n=t.clone();try{for(var i=__values(n.scales.list),o=i.next();!o.done;o=i.next()){var a;o.value.prepare(n)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},e}(t.StiComponentBuilder);t.StiGaugeBuilder=e}(e=t.Engine||(t.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiDataBand,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.getMaster=function(t){var e=t.parent.components.indexOf(t)-1;while(e>=0){if(t.parent.components.getByIndex(e).is(r))return t.parent.components.getByIndex(e);e--}return null},e.prototype.setReportVariables=function(t){var e=t;e.report.groupLine=e.line},e}(e.StiBandBuilder);e.StiGroupFooterBandBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiContainer,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,(function(){var i,o,a,a;return __generator(this,(function(s){switch(s.label){case 0:if(i=n,this.isCollapsed(i))return[2,new r];return[4,t.prototype.internalRenderAsync.call(this,i)];case 1:return null!=(o=s.sent().as(r))&&(i.isDataSourceEmpty||i.dataSource.isEmpty||(a=i.dataSource.getLevel())>0&&e.createIndention(i,o,a),i.isBusinessObjectEmpty||i.businessObject.isEmpty||(a=i.businessObject.getLevel())>0&&e.createIndention(i,o,a)),[2,o]}}))}))},e.prototype.internalRender=function(n){var i=n;if(this.isCollapsed(i))return new r;var o=t.prototype.internalRender.call(this,i).as(r);if(null!=o){var a,a;if(!i.isDataSourceEmpty&&!i.dataSource.isEmpty)(a=i.dataSource.getLevel())>0&&e.createIndention(i,o,a);if(!i.isBusinessObjectEmpty&&!i.businessObject.isEmpty)(a=i.businessObject.getLevel())>0&&e.createIndention(i,o,a)}return o},e.prototype.isCollapsed=function(t,e){void 0===e&&(e=!1);var r=t;if(0==r.collapsingIndex||0==r.position)return!1;var n=r.collapsingIndex,i=r.position,o=0,a=!r.isBusinessObjectEmpty,s=null;r.isDataSourceEmpty||(o=r.dataSource.getLevel()),a&&(o=r.businessObject.getLevel());try{if(a){var l=r.position;s=r.businessObject.current,r.position=0;var u=[];while(u.length0){var i=l[t].toString();r.isNullOrEmpty(i)?n.name=null:n.name=i}if(null!=u&&u.length>0&&(n.value=u[t]),null!=c&&c.length>0){var o=c[t].toString();r.isNullOrEmpty(o)?n.group=null:n.group=o}if(null!=p&&p.length>0){var a=p[t].toString();r.isNullOrEmpty(a)?n.color=null:n.color=a}},f=0;ft.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},n.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){return e=t,[2,n.renderMap(e)]}))}))},n.prototype.internalRender=function(t){var e=t;return n.renderMap(e)},n}(e.StiComponentBuilder);e.StiMapBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiComponentsCollection,n=t.Report.Components.StiOverlayBand,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.prepare=function(e){var i,o,a=e;t.prototype.prepare.call(this,a),a.pageInfo.isReportTitlesRendered=!1,a.pageInfo.renderedCount=0,a.pageInfo.overlays=new r;try{for(var s=__values(a.components.list),l=s.next();!l.done;l=s.next()){var u,c=l.value.as(n);null!=c&&a.pageInfo.overlays.add(c)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}},e.prototype.unPrepare=function(e){var r;t.prototype.unPrepare.call(this,e),e.pageInfo.overlays=null},e}(e.StiContainerBuilder);e.StiPageBuilder=i}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n;return __generator(this,(function(i){switch(i.label){case 0:return r=e,[4,t.prototype.internalRenderAsync.call(this,r)];case 1:return(n=i.sent()).storedColumn=r.report.column,[2,n]}}))}))},e.prototype.internalRender=function(e){var r=e,n=t.prototype.internalRender.call(this,r);return n.storedColumn=r.report.column,n},e}(t.StiComponentBuilder);t.StiPointPrimitiveBuilder=e}(e=t.Engine||(t.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.System.Collections.Hashtable,o=function(){function t(){}return t.renderSingleReportAsync=function(t,n){return __awaiter(this,void 0,void 0,(function(){var i,o,a;return __generator(this,(function(s){switch(s.label){case 0:i=t.engine,o=null,null!=i&&(o=t.engine.report),s.label=1;case 1:return s.trys.push([1,3,4,5]),t.indexName=1,e.StiLogService.write(t.stimulsoft.getType(),"Rendering report"),null!=i?(t.engine=i,t.engine.report=t):t.engine=new r.StiEngine(t),t.isRendering=!0,[4,r.StiRenderProvider.renderAsync(t,n)];case 2:return s.sent(),[3,5];case 3:if(a=s.sent(),e.StiLogService.write(t.stimulsoft.getType(),"Rendering report...ERROR"),e.StiLogService.write(t.stimulsoft.getType(),a),!StiOptions.Engine.hideExceptions)throw a;return[3,5];case 4:return t.isRendering=!1,null==i?t.engine=null:i.report=o,[7];case 5:return[2]}}))}))},t.renderSingleReport=function(t,n){var i=t.engine,o=null;null!=i&&(o=t.engine.report);try{t.indexName=1,e.StiLogService.write(t.stimulsoft.getType(),"Rendering report"),null!=i?(t.engine=i,t.engine.report=t):t.engine=new r.StiEngine(t),t.isRendering=!0,r.StiRenderProvider.render(t,n)}catch(r){if(e.StiLogService.write(t.stimulsoft.getType(),"Rendering report...ERROR"),e.StiLogService.write(t.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}finally{t.isRendering=!1,null==i?t.engine=null:i.report=o}},t.renderSubReports=function(t,e){var o,a,s,l,u,c,p,h,m,f,d,g,S,y,A,b,v,C,w,B;t.renderedPages.clear();try{for(var I=__values(t.subReports.list),T=I.next();!T.done;T=I.next())var E=T.value}catch(t){o={error:t}}finally{try{T&&!T.done&&(a=I.return)&&a.call(I)}finally{if(o)throw o.error}}try{for(var R=__values(t.subReports.list),D=R.next();!D.done;D=R.next())var E=D.value}catch(t){s={error:t}}finally{try{D&&!D.done&&(l=R.return)&&l.call(R)}finally{if(s)throw s.error}}try{for(var P=__values(t.subReports.list),x=P.next();!x.done;x=P.next()){var E;(E=x.value).renderedPages=t.renderedPages}}catch(t){u={error:t}}finally{try{x&&!x.done&&(c=P.return)&&c.call(P)}finally{if(u)throw u.error}}var F=new i;t.isStopped=!1,t.invokeBeginRender();var N=null,k=null;if(t.pages.getByIndex(0).getComponents().count>0){N=new r.StiEngine(t),t.engine=N,t.currentPrintPage=0,t.subReportsMasterReport=t,k=t,null!=t.compiledReport&&(k=t.compiledReport,t.compiledReport.subReportsMasterReport=t,t.compiledReport.renderedPages.clear());var M=t.subReports;t.subReports=null,e.isSubReportMode=!0,t.render(),t.subReports=M,t.subReportsMasterReport=null}else N=new r.StiEngine(t),t.currentPrintPage=0,t.engine=N,null!=t.compiledReport&&(t.compiledReport.engine=N);null!=t.compiledReport&&(t.currentPrintPage=t.compiledReport.currentPrintPage);var O=0,_=null;try{for(var j=__values(t.subReports.list),G=j.next();!G.done;G=j.next()){var E=G.value;try{E.subReportsMasterReport=t,null!=E.compiledReport?(E.compiledReport.subReportsMasterReport=t,E.engine=N,E.compiledReport.engine=N,E.compiledReport.currentPrintPage=t.currentPrintPage):(E.engine=N,E.currentPrintPage=t.currentPrintPage),null!=_&&(E.pages.getByIndex(0).printOnPreviousPage=E.subReportsPrintOnPreviousPage,null!=E.compiledReport&&(E.compiledReport.pages.getByIndex(0).printOnPreviousPage=E.subReportsPrintOnPreviousPage)),null!=_&&(E.pages.getByIndex(0).resetPageNumber=E.subReportsResetPageNumber,null!=E.compiledReport&&(E.compiledReport.pages.getByIndex(0).resetPageNumber=E.subReportsResetPageNumber));var H=t.renderedPages.count;N.pageNumbers.pageNumbers.count>0&&(N.pageNumbers.pageNumbers.getByIndex(N.pageNumbers.pageNumbers.count-1).fixedPosition=!0),E.totals=new i,E.render(),null!=E.compiledReport?t.currentPrintPage=E.compiledReport.currentPrintPage:t.currentPrintPage=E.currentPrintPage;var Q=new i,L;null!=(L=E).compiledReport&&(L=E.compiledReport);var Y=n.create(Object,L.totals.keys.length);L.totals.keys.copyTo(Y,0);try{for(var U=(m=void 0,__values(Y)),J=U.next();!J.done;J=U.next()){var W=J.value,V=L.totals.get(W);if(null!=V){var z=[];Q.set(W,z);try{for(var X=(d=void 0,__values(V)),K=X.next();!K.done;K=X.next()){var Z=K.value;z.push(Z.clone())}}catch(t){d={error:t}}finally{try{K&&!K.done&&(g=X.return)&&g.call(X)}finally{if(d)throw d.error}}}}}catch(t){m={error:t}}finally{try{J&&!J.done&&(f=U.return)&&f.call(U)}finally{if(m)throw m.error}}if(F.set(O++,Q),E.reportUnit!=t.reportUnit)for(var q=H;q0&&d.is(l))try{for(g=__values(f.conditions.list),S=g.next();!S.done;S=g.next())if(y=S.value,null!=(A=y.stimulsoft.as(a))){if(b=null,A.stimulsoft.is(o)&&(b=f.brush),null!=(v=A.createIndicator(f.as(l)))){d.indicator=v;break}f.brush!=b&&(d.brush=f.brush,f.brush=b)}}catch(t){D={error:t}}finally{try{S&&!S.done&&(P=g.return)&&P.call(g)}finally{if(D)throw D.error}}if(C=new u,n.isNullOrEmpty(f.textValue)?(f.invokeGetValue(d,C),r.is(t.Report.Components.StiRichText)&&!n.isNullOrEmpty(C.value)&&i.isServerHyperlink(C.value)&&(C.value=t.Report.Components.StiRichText.notSupportedText),d.invokeEvents(),f.checkDuplicates(d,C),w=new h(C.value),d.invokeTextProcess(d,w),B=C.value,n.isNullOrEmpty(d.textValue)||(B=d.textValue),d.setTextInternal(f.processText(f.getTextWithoutZero(B))),f.invokeRenderTo(d)):(d.invokeEvents(),w=new h(f.textValue),d.invokeTextProcess(d,w),d.setTextInternal(f.getTextWithoutZero(w.value))),C.storeToPrinted){null==(I=f.report.totals.get(f.name))&&(I=[],f.report.totals.set(f.name,I)),(T=new e.StiRuntimeVariables(f.report)).pageIndex=f.report.renderedPages.count,T.textBox=d,I.push(T),f.report.totals.set("#%#"+f.name,f.text),E=r.parent;while(null!=E&&!E.is(m)&&!E.is(c))E=E.parent;null!=E&&E.is(c)&&(T.pageIndex++,T.currentPrintPage++)}if(f.is(l))if(n.isNullOrEmpty(f.excelDataValue)||"-"==f.excelDataValue){if(R=new p,f.invokeGetExcelValue(d,R),R.storeToPrinted){null==(I=f.report.totals.get(f.name+"Excel"))&&(I=[],f.report.totals.set(f.name+"Excel",I)),(T=new e.StiRuntimeVariables(f.report)).pageIndex=f.report.renderedPages.count,T.textBox=d,I.push(T),E=r.parent;while(null!=E&&!E.is(m)&&!E.is(c))E=E.parent;null!=E&&E.is(c)&&(T.pageIndex++,T.currentPrintPage++)}}else f.excelDataValue=f.excelDataValue;return[2,d]}))}))},f.prototype.internalRender=function(r){var f,d,g=r.as(s),S=g.clone(!1,!0,!1);if(null!=g.conditions&&g.conditions.count>0&&S.is(l))try{for(var y=__values(g.conditions.list),A=y.next();!A.done;A=y.next()){var b,v=A.value.stimulsoft.as(a);if(null!=v){var C=null;v.stimulsoft.is(o)&&(C=g.brush);var w=v.createIndicator(g.as(l));if(null!=w){S.indicator=w;break}g.brush!=C&&(S.brush=g.brush,g.brush=C)}}}catch(t){f={error:t}}finally{try{A&&!A.done&&(d=y.return)&&d.call(y)}finally{if(f)throw f.error}}var B=new u;if(n.isNullOrEmpty(g.textValue)){g.invokeGetValue(S,B),r.is(t.Report.Components.StiRichText)&&!n.isNullOrEmpty(B.value)&&i.isServerHyperlink(B.value)&&(B.value=t.Report.Components.StiRichText.notSupportedText),S.invokeEvents(),g.checkDuplicates(S,B);var I=new h(B.value);S.invokeTextProcess(S,I);var T=B.value;n.isNullOrEmpty(S.textValue)||(T=S.textValue),S.setTextInternal(g.processText(g.getTextWithoutZero(T))),g.invokeRenderTo(S)}else{S.invokeEvents();var I=new h(g.textValue);S.invokeTextProcess(S,I),S.setTextInternal(g.getTextWithoutZero(I.value))}if(B.storeToPrinted){var E,R;null==(E=g.report.totals.get(g.name))&&(E=[],g.report.totals.set(g.name,E)),(R=new e.StiRuntimeVariables(g.report)).pageIndex=g.report.renderedPages.count,R.textBox=S,E.push(R),g.report.totals.set("#%#"+g.name,g.text);var D=r.parent;while(null!=D&&!D.is(m)&&!D.is(c))D=D.parent;null!=D&&D.is(c)&&(R.pageIndex++,R.currentPrintPage++)}if(g.is(l))if(n.isNullOrEmpty(g.excelDataValue)||"-"==g.excelDataValue){var P=new p;if(g.invokeGetExcelValue(S,P),P.storeToPrinted){var E,R;null==(E=g.report.totals.get(g.name+"Excel"))&&(E=[],g.report.totals.set(g.name+"Excel",E)),(R=new e.StiRuntimeVariables(g.report)).pageIndex=g.report.renderedPages.count,R.textBox=S,E.push(R);var D=r.parent;while(null!=D&&!D.is(m)&&!D.is(c))D=D.parent;null!=D&&D.is(c)&&(R.pageIndex++,R.currentPrintPage++)}}else g.excelDataValue=g.excelDataValue;return S},f}(r.StiComponentBuilder);r.StiSimpleTextBuilder=f}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiPage,n=t.System.EventArgs,i=t.Report.Components.StiSubReport,o=t.Report.Components.StiContainerHelper,a=t.Report.Components.StiContainer,s=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return __extends(s,t),s.prototype.internalRenderAsync=function(s){return __awaiter(this,void 0,void 0,(function(){var l,u,c;return __generator(this,(function(p){switch(p.label){case 0:return null!=(l=s.stimulsoft.as(i)).subReportPage&&l.subReportPage.invokeBeforePrint(l.subReportPage,n.empty),[4,t.prototype.internalRenderAsync.call(this,l)];case 1:if((u=p.sent().stimulsoft.as(a)).canBreak=!0,u.canGrow=!0,u.canShrink=!0,l.parent.stimulsoft.is(r)&&(u.canGrow=!1),!(c=null!=e.StiSubReportsHelper.getParentBand(l)))return[3,3];return[4,e.StiSubReportsHelper.renderSubReportAsync(u,l)];case 2:return p.sent(),o.checkSize(u),[3,4];case 3:u.canShrink=!1,p.label=4;case 4:return null!=l.subReportPage&&l.subReportPage.invokeAfterPrint(l.subReportPage,n.empty),[2,u]}}))}))},s.prototype.internalRender=function(s){var l=s.stimulsoft.as(i);null!=l.subReportPage&&l.subReportPage.invokeBeforePrint(l.subReportPage,n.empty);var u=t.prototype.internalRender.call(this,l).stimulsoft.as(a),c;return u.canBreak=!0,u.canGrow=!0,u.canShrink=!0,l.parent.stimulsoft.is(r)&&(u.canGrow=!1),null!=e.StiSubReportsHelper.getParentBand(l)?(e.StiSubReportsHelper.renderSubReport(u,l),o.checkSize(u)):u.canShrink=!1,null!=l.subReportPage&&l.subReportPage.invokeAfterPrint(l.subReportPage,n.empty),u},s}(e.StiContainerBuilder);e.StiSubReportBuilder=s}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiTextInCells,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var n,i,o;return __generator(this,(function(a){switch(a.label){case 0:return n=e,[4,t.prototype.internalRenderAsync.call(this,e)];case 1:return i=a.sent(),[2,null!=(o=i.getTextInternal())&&o.stimulsoft.startsWith("#%#")?i:r.splitByCells2(n,i,o,!0)]}}))}))},e.prototype.internalRender=function(e){var n=e,i=t.prototype.internalRender.call(this,e),o=i.getTextInternal();return null!=o&&o.stimulsoft.startsWith("#%#")?i:r.splitByCells2(n,i,o,!0)},e}(e.StiSimpleTextBuilder);e.StiTextInCellsBuilder=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dataBandPosition=-1,e.dataSourceRow=null,e.businessObjectCurrent=null,e.isAutoRendered=!1,e.ignoreResetPageNumber=!1,e.isColumns=!1,e.renderStep=-1,e.setSegmentPerWidth=-1,e.parentBand=null,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiContainerInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.groupHeaders=null,e.groupFooters=null,e.groupHeaderComponents=null,e.groupFooterComponents=null,e.detailDataBands=null,e.details=null,e.subReports=null,e.emptyBands=null,e.headers=null,e.hierarchicalHeaders=null,e.footersOnAllPages=null,e.footersOnLastPage=null,e.hierarchicalFooters=null,e.groupHeaderResults=null,e.groupFooterResults=null,e.groupHeaderCachedResults=null,e.groupFooterCachedResults=null,e.reportTitles=null,e.reportSummaries=null,e.detailDataBandsFromSubReports=null,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiDataBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isTableFooter=!1,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiFooterBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.printAtBottomComponent=null,e.groupHeader=null,e.isTableGroupFooter=!1,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiGroupFooterBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.skipKeepGroups=!1,e.groupFooter=null,e.silentModeEnabled=!1,e.oldSilentMode=!1,e.isTableGroupHeader=!1,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiGroupHeaderBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isTableHeader=!1,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiHeaderBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.specifiedLevel=-1,e.finalFooterCalculation=!1,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiHierarchicalBandInfo=n}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiReportProperty="IStiReportProperty"}(e=t.Engine||(t.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiDataBand,n=t.Report.Components.StiHierarchicalBand,i=t.Report.Components.StiGroupHeaderBand,o=t.Base.Drawing.StiSolidBrush,a=t.System.Drawing.Color,s=t.Report.Components.StiComponentsCollection,l=function(){function t(t,e){this.dataBand=t,this.band=e}return t}(),u=function(){function t(t){this.bands=[],this.engine=null,this._denyRendering=!1,this.engine=t}return Object.defineProperty(t.prototype,"denyRendering",{get:function(){return this._denyRendering},set:function(t){this._denyRendering=t},enumerable:!1,configurable:!0}),t.prototype.add=function(t,e){this.bands.push(new l(t,e))},t.prototype.remove=function(t){var e=0;while(et.parent.components.indexOf(e))return!1}return!0},t.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,o,a,s,l,u,c,p,h,m,f,d,g;return __generator(this,(function(S){switch(S.label){case 0:if(this.denyRendering)return[2];t=this.denyRendering,this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0,S.label=1;case 1:S.trys.push([1,6,7,8]),e=__values(this.bands),i=e.next(),S.label=2;case 2:if(i.done)return[3,5];if(o=i.value,a=o.band,!this.allowRenderBand(a))return[3,4];return[4,this.renderBandAsync(a,!0,!1)];case 3:if(null!=(s=S.sent()))try{for(d=void 0,l=__values(s.list),u=l.next();!u.done;u=l.next())null!=(c=u.value).containerInfo.parentBand&&(c.containerInfo.isAutoRendered=!0,p=!a.is(n)||!a.printOnAllPages,a.is(r)&&(p=!1),p&&this.engine.printOnAllPagesIgnoreList.set(c.containerInfo.parentBand,c.containerInfo.parentBand))}catch(t){d={error:t}}finally{try{u&&!u.done&&(g=l.return)&&g.call(l)}finally{if(d)throw d.error}}S.label=4;case 4:return i=e.next(),[3,2];case 5:return[3,8];case 6:return h=S.sent(),m={error:h},[3,8];case 7:try{i&&!i.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}return[7];case 8:return this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=t,[2]}}))}))},t.prototype.render=function(){var t,e,i,o;if(this.denyRendering)return;var a=this.denyRendering;this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0;try{for(var s=__values(this.bands),l=s.next();!l.done;l=s.next()){var u,c=l.value.band;if(!this.allowRenderBand(c))continue;var p=this.renderBand(c,!0,!1);if(null!=p)try{for(var h=(i=void 0,__values(p.list)),m=h.next();!m.done;m=h.next()){var f=m.value;if(null!=f.containerInfo.parentBand){f.containerInfo.isAutoRendered=!0;var d=!c.is(n)||!c.printOnAllPages;c.is(r)&&(d=!1),d&&this.engine.printOnAllPagesIgnoreList.set(f.containerInfo.parentBand,f.containerInfo.parentBand)}}}catch(t){i={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=a},t.prototype.renderBandAsync=function(t,e,r){return __awaiter(this,void 0,void 0,(function(){var i,l,u,c,p,h,m,f,d,g,S,y,A;return __generator(this,(function(b){switch(b.label){case 0:if(t.is(n))return[3,2];return[4,this.engine.renderBandAsync(t,e,r)];case 1:return[2,b.sent()];case 2:i=new s,(l=t).saveState("TreeBandPrintOnAllPages"),u=l.printOnAllPages,l.printOnAllPages=!1,b.label=3;case 3:b.trys.push([3,,8,9]),c=[],l.brush=new o(a.green),p=l.dataSource.getLevel(),l.prior();while(p>=0&&!l.isBof)h=l.dataSource.getLevel(),p>h&&(c.push(l.position),p=h),l.prior();m=c.length-1,b.label=4;case 4:if(!(m>=0))return[3,7];return l.position=c[m],[4,this.engine.renderBandAsync(l,e,r)];case 5:f=b.sent();try{for(y=void 0,d=__values(f.list),g=d.next();!g.done;g=d.next())S=g.value,i.add(S)}catch(t){y={error:t}}finally{try{g&&!g.done&&(A=d.return)&&A.call(d)}finally{if(y)throw y.error}}b.label=6;case 6:return m--,[3,4];case 7:return l.brush=new o(a.transparent),l.restoreState("TreeBandPrintOnAllPages"),[2,i];case 8:return l.printOnAllPages=u,[7];case 9:return[2]}}))}))},t.prototype.renderBand=function(t,e,r){var i,l;if(!t.is(n))return this.engine.renderBand(t,e,r);var u=new s,c=t;c.saveState("TreeBandPrintOnAllPages");var p=c.printOnAllPages;c.printOnAllPages=!1;try{var h=[];c.brush=new o(a.green);var m=c.dataSource.getLevel();c.prior();while(m>=0&&!c.isBof){var f=c.dataSource.getLevel();m>f&&(h.push(c.position),m=f),c.prior()}for(var d=h.length-1;d>=0;d--){c.position=h[d];var g=this.engine.renderBand(c,e,r);try{for(var S=(i=void 0,__values(g.list)),y=S.next();!y.done;y=S.next()){var A=y.value;u.add(A)}}catch(t){i={error:t}}finally{try{y&&!y.done&&(l=S.return)&&l.call(S)}finally{if(i)throw i.error}}}return c.brush=new o(a.transparent),c.restoreState("TreeBandPrintOnAllPages"),u}finally{c.printOnAllPages=p}},t.prototype.isBandInBandsList=function(t){var e,r;if(null!=t)try{for(var n=__values(this.bands),i=n.next();!i.done;i=n.next()){var o;if(i.value.band==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},t}();e.StiBandsOnAllPages=u}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiBookmark,n=function(){function t(){}return t.getBookmark=function(e,r){var n=null,i=e.bookmarks.indexOf(r);return-1==i?(n=t.createBookmark(r),e.bookmarks.add(n)):n=e.bookmarks.getByIndex(i),n},t.prepareBookmark=function(e){var r,n,i=0;while(ithis.engine.freeSpace&&this.isCanBreak(t))return!0;return!1},e.prototype.breakAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,a,s,l,u,c,p;return __generator(this,(function(h){switch(h.label){case 0:e=t.height;try{for(r=__values(t.components.list),n=r.next();!n.done;n=r.next())a=n.value,e=Math.min(e,a.top)}catch(t){c={error:t}}finally{try{n&&!n.done&&(p=r.return)&&p.call(r)}finally{if(c)throw c.error}}if(s=t.components.count,(l=o.breakContainer(this.engine.freeSpace,t)).containerInfo.ignoreResetPageNumber=!0,!(u=0==e&&s>0&&0==t.components.count)||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?l.name="Continued":l.name="Continued_"+t.name,l.height-=t.height,u||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?t.name="Breaked":t.name="Breaked_"+t.name,t.height=this.engine.freeSpace,u)return[3,2];return this.engine.freeSpace+=t.height,[4,this.engine.renderContainerAsync(t)];case 1:h.sent(),this.engine.freeSpace-=t.height,h.label=2;case 2:return[4,this.engine.newDestinationAsync(!u)];case 3:return h.sent(),l.canGrow=!0,i.checkSize(l),[2,l]}}))}))},e.prototype.break=function(t){var e,r,n=t.height;try{for(var a=__values(t.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;n=Math.min(n,l.top)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}var u=t.components.count,c=o.breakContainer(this.engine.freeSpace,t);c.containerInfo.ignoreResetPageNumber=!0;var p=0==n&&u>0&&0==t.components.count;return!p||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?c.name="Continued":c.name="Continued_"+t.name,c.height-=t.height,p||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?t.name="Breaked":t.name="Breaked_"+t.name,t.height=this.engine.freeSpace,p||(this.engine.freeSpace+=t.height,this.engine.renderContainer(t),this.engine.freeSpace-=t.height),this.engine.newDestination(!p),c.canGrow=!0,i.checkSize(c),c},e.prototype.setCanBreak=function(e){e.canBreak=!0;var r=0;while(rg||b==this.components.count){for(var R=0,D=v;D0&&(M=Math.max(O,M));for(var D=0;D0){if(O<=M){M=this.countOfItems-M*g;for(var D=0;D0){M++;for(var D=0;Dk[d-1]&&(j=1,d++,G=0),null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable){var T=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom;(this.top+G)/T!=(this.top+G+I.height)/T&&(G+=T-(this.top+G)%T)}var E=0;E=this.rightToLeft?I.parent.width-A*d+y:A*(d-1),I.left=E,I.width=E-I.left+S,I.top=G,G+=I.height,f=Math.max(f,G),H[d-1].push(I)}}catch(t){l={error:t}}finally{try{U&&!U.done&&(u=Y.return)&&u.call(Y)}finally{if(l)throw l.error}}if(L){for(var J=0,W=0;WX){var K;if((K=H[W][X]).stimulsoft.is(e.StiLevelContainer))continue;R=Math.max(R,K.height)}for(var W=0;WX){var K;if((K=H[W][X]).stimulsoft.is(e.StiLevelContainer))continue;if(K.height!=R&&!t)try{for(var Z=(c=void 0,__values(K.components.list)),q=Z.next();!q.done;q=Z.next()){var N;(N=q.value).bottom==K.height&&(N.height=R-N.top)}}catch(t){c={error:t}}finally{try{q&&!q.done&&(p=Z.return)&&p.call(Z)}finally{if(c)throw c.error}}t?z.set(K,R):K.height=R}}f=0;for(var W=0;W1))return[3,2];return e=this.createColumns(t),[4,this.engine.renderContainerAsync(e)];case 1:return r.sent(),this.enabled=!0,[2,e];case 2:return[2,null]}}))}))},e.prototype.renderColumns=function(t){if(t.columns>1){var e=this.createColumns(t);return this.engine.renderContainer(e),this.enabled=!0,e}return null},e.prototype.getColumns=function(){var e=this.engine.containerForRender.components.count;if(e>0)for(var r=e-1;r>=0;r--){var n=this.engine.containerForRender.components.getByIndex(r);if(n.stimulsoft.is(t.StiColumnsContainer))return n.stimulsoft.as(t.StiColumnsContainer);if(n.stimulsoft.is(t.StiLevelContainer))continue}return null},e.prototype.createColumns=function(e){var r=new t.StiColumnsContainer(this.engine);return r.name="Columns"+e.name,r.width=e.parent.width,r.height=0,r.columns=e.columns,r.columnDirection=e.columnDirection,r.columnGaps=e.columnGaps,r.columnWidth=e.getColumnWidth(),r.minRowsInColumn=e.minRowsInColumn,r.rightToLeft=e.rightToLeft,r},e}();t.StiColumnsOnDataBand=e}(e=t.Engine||(t.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiPanel,n=function(){function t(t){this.engine=null,this._currentColumn=1,this.engine=t}return Object.defineProperty(t.prototype,"count",{get:function(){var t=this.engine.templateContainer.stimulsoft.as(r);if(null!=t)return t.columns;return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightToLeft",{get:function(){var t=this.engine.templateContainer.stimulsoft.as(r);if(null!=t)return t.rightToLeft;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnGaps",{get:function(){var t=this.engine.templateContainer.stimulsoft.as(r);if(null!=t)return t.columnGaps;return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentColumn",{get:function(){return this._currentColumn},set:function(t){this._currentColumn=t},enumerable:!1,configurable:!0}),t.prototype.getColumnWidth=function(){var t=this.engine.templateContainer.stimulsoft.as(r);if(null!=t)return t.getColumnWidth();return 0},t}();e.StiColumnsOnPanel=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiDockStyle,n=t.Report.Components.StiEmptySizeMode,i=t.Report.Components.StiContainer,o=function(){function o(t){this.engine=null,this.engine=t}return o.prototype.register=function(t){null!=t&&t.count>0&&(this.emptyBand=t.getByIndex(0))},o.prototype.clear=function(){this.emptyBand=null},o.prototype.createEmptyBandContainerAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(o){switch(o.label){case 0:return this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=t.currentBookmark,[4,this.emptyBand.renderAsync()];case 1:return null!=(n=o.sent())&&(e.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as("IStiOddEvenStyles"),n.as(i)),n.dockStyle=r.None,n.left=this.engine.positionX,n.top=this.engine.positionY),[2,n]}}))}))},o.prototype.createEmptyBandContainer=function(t){this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=t.currentBookmark;var n=this.emptyBand.render();return null!=n&&(e.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as("IStiOddEvenStyles"),n.as(i)),n.dockStyle=r.None,n.left=this.engine.positionX,n.top=this.engine.positionY),n},o.prototype.renderAsync=function(e,r){return __awaiter(this,void 0,void 0,(function(){var i,o,a,s,l,u,c,p;return __generator(this,(function(h){switch(h.label){case 0:if(null==this.emptyBand)return[2];this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender(),i=-1,null!=e&&(i=e.components.indexOf(r)),-1==i&&(i=e.components.count),o=null,a=null,h.label=1;case 1:if(1!=1)return[3,3];return[4,this.createEmptyBandContainerAsync(e)];case 2:if(null==(o=h.sent()))return[3,3];if(0==o.height&&(o.height=this.engine.report.unit.convertFromHInches(10)),!(o.height<=this.engine.freeSpace))return[3,3];if(this.engine.positionY+=o.height,this.engine.freeSpace-=o.height,e.components.insert(i,o),i++,a=o,o.doBookmark(),this.engine.freeSpace>999999999)return[3,3];return[3,1];case 3:if(this.emptyBand.sizeMode!=n.DecreaseLastRow)return[3,4];return o.height=this.engine.freeSpace,this.engine.positionY+=o.height,this.engine.freeSpace-=o.height,e.components.insert(i,o),o.doBookmark(),[3,10];case 4:if(this.emptyBand.sizeMode!=n.IncreaseLastRow)return[3,9];if(null!=a)return[3,7];if(!(this.engine.freeSpace>0))return[3,6];return[4,this.createEmptyBandContainerAsync(e)];case 5:(o=h.sent()).top=this.engine.positionY,o.height=this.engine.freeSpace,h.label=6;case 6:return[3,8];case 7:a.height+=this.engine.freeSpace,h.label=8;case 8:return[3,10];case 9:if(this.emptyBand.sizeMode==n.AlignFooterToTop)try{for(s=__values(e.components.list),l=s.next();!l.done;l=s.next())(u=l.value).top>this.engine.positionY&&!u.is(t.Report.Components.StiCrossLinePrimitive)&&(u.top-=this.engine.freeSpace)}catch(t){c={error:t}}finally{try{l&&!l.done&&(p=s.return)&&p.call(s)}finally{if(c)throw c.error}}h.label=10;case 10:return this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1,[2]}}))}))},o.prototype.render=function(e,r){var i,o;if(null==this.emptyBand)return;this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender();var a=-1;null!=e&&(a=e.components.indexOf(r)),-1==a&&(a=e.components.count);var s=null,l=null;while(1==1){if(null==(s=this.createEmptyBandContainer(e)))break;if(0==s.height&&(s.height=this.engine.report.unit.convertFromHInches(10)),!(s.height<=this.engine.freeSpace))break;if(this.engine.positionY+=s.height,this.engine.freeSpace-=s.height,e.components.insert(a,s),a++,l=s,s.doBookmark(),this.engine.freeSpace>999999999)break}if(this.emptyBand.sizeMode==n.DecreaseLastRow)s.height=this.engine.freeSpace,this.engine.positionY+=s.height,this.engine.freeSpace-=s.height,e.components.insert(a,s),s.doBookmark();else if(this.emptyBand.sizeMode==n.IncreaseLastRow)null==l?this.engine.freeSpace>0&&((s=this.createEmptyBandContainer(e)).top=this.engine.positionY,s.height=this.engine.freeSpace):l.height+=this.engine.freeSpace;else if(this.emptyBand.sizeMode==n.AlignFooterToTop)try{for(var u=__values(e.components.list),c=u.next();!c.done;c=u.next()){var p=c.value;p.top>this.engine.positionY&&!p.is(t.Report.Components.StiCrossLinePrimitive)&&(p.top-=this.engine.freeSpace)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1},o}();e.StiEmptyBandsHelper=o}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Components.StiGroupFooterBand,o=t.Report.Components.Table.StiTable,a=t.Report.Components.StiGroupHeaderBand,s=t.System.Drawing.Size,l=t.Report.Components.Table.IStiTableCell,u=t.System.EventArgs,c=t.System.Collections.Hashtable,p=t.Report.Components.StiColumnDirection,h=t.Report.Components.StiHeaderBand,m=t.Report.Components.StiFooterBand,f=t.Report.Components.StiDataBand,d=t.Report.Components.StiChildBand,g=t.Report.Components.IStiPageBreak,S=t.Report.Components.IStiBrush,y=t.Report.Components.IStiBorder,A=t.Base.Drawing.StiBorderSides,b=t.Report.Components.StiPrintOnEvenOddPagesType,v=t.Report.Components.StiDockStyle,C=t.Report.Components.StiComponentType,w=t.Report.Components.StiText,B=t.Report.Components.StiComponent,I=t.Report.Components.StiMargins,T=t.Report.Components.StiSimpleText,E=t.Report.Components.StiProcessAt,R=t.Report.Events.StiGetValueEventArgs,D=t.Report.Styles.StiBaseStyle,P=t.Report.Components.StiContainer,x=t.Report.Components.StiComponentsCollection,F=t.Report.Components.StiPage,N=function(){function N(e){this.isDynamicBookmarksMode=!1,this.isCrossBandsMode=!1,this.isFirstDataBandOnPage=!1,this.isLastDataBandOnPage=!1,this.printOnAllPagesIgnoreList=new c,this.printOnAllPagesIgnoreList2=new c,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 c,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 c,this.keepFirstDetailTogetherTablesList=new c,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 c,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 r.StiPageNumberHelper(this),this.emptyBands=new r.StiEmptyBandsHelper(this),this.bandsOnAllPages=new r.StiBandsOnAllPages(this),this.printAtBottom=new r.StiPrintAtBottom(this),this.footersOnAllPages=new r.StiFootersOnAllPages(this),this.columnsOnDataBand=new r.StiColumnsOnDataBand(this),this.columnsOnPanel=new r.StiColumnsOnPanel(this),this.staticBands=new r.StiStaticBandsHelper(this),this.breakable=new r.StiBreakableHelper(this),this.threads=new r.StiThreads(this),this.report=e;var n=t.Base[["St","iL","ic","en","se"].join("")]._key,i=t.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")];t.Base[["St","iL","ic","en","se"].join("")]._key="1",t.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]="2",(t.Base.izjrG.dVOOk.mkConOn(t.Base.izjrG.HllkI.Ultimate)||t.Base.izjrG.dVOOk.AWlWm()||t.Base.izjrG.dVOOk.ohwaJ()||t.Base.izjrG.dVOOk.TvUDM()||t.Base.izjrG.dVOOk.yoidW()||t.Base.izjrG.dVOOk.fKHzo()||t.Base.izjrG.dVOOk.ekkVf())&&(t.Base.izjrG.dVOOk.mkConOn=function(t){return!1},t.Base.izjrG.dVOOk.AWlWm=function(){return!1},t.Base.izjrG.dVOOk.ohwaJ=function(){return!1},t.Base.izjrG.dVOOk.TvUDM=function(){return!1},t.Base.izjrG.dVOOk.yoidW=function(){return!1},t.Base.izjrG.dVOOk.fKHzo=function(){return!1},t.Base.izjrG.dVOOk.ekkVf=function(){return!1}),t.Base[["St","iL","ic","en","se"].join("")]._key=n,t.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]=i}return Object.defineProperty(N.prototype,"parserConversionStore",{get:function(){return null==this._parserConversionStore&&(this._parserConversionStore=new c),this._parserConversionStore},set:function(t){this._parserConversionStore=t},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"hashUseParentStyles",{get:function(){var t,e,r,n;if(null==this._hashUseParentStyles){this._hashUseParentStyles=new c;try{for(var i=__values(this.report.getComponents().list),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.as(P);if(null!=s)try{for(var l=(r=void 0,__values(s.components.list)),u=l.next();!u.done;u=l.next()){var p;if(u.value.useParentStyles){this._hashUseParentStyles.set(a,null);break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}return this._hashUseParentStyles},set:function(t){this._hashUseParentStyles=t},enumerable:!1,configurable:!0}),N.prototype.newListAsync=function(t){return void 0===t&&(t=!1),__awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(null==this.containerForRender)return[2];if(t||!(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2))return[3,2];return[4,this.staticBands.renderAsync()];case 1:e.sent(),e.label=2;case 2:return this.indexOfLatestDataBand=null,[4,this.bandsOnAllPages.renderAsync()];case 3:return e.sent(),[2]}}))}))},N.prototype.newList=function(t){if(void 0===t&&(t=!1),null==this.containerForRender)return;!t&&(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2)&&this.staticBands.render(),this.indexOfLatestDataBand=null,this.bandsOnAllPages.render()},N.prototype.newColumnAsync=function(t){return void 0===t&&(t=!0),__awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,l,u,c;return __generator(this,(function(p){switch(p.label){case 0:if(this.columnsOnPanel.currentColumn++,null==(e=this.page)&&(e=this.report.renderedPages.getByIndex(0)),!(this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&StiOptions.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode))return[3,2];return this.isCrossBandsMode||(e.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),[4,this.newPageAsync(t)];case 1:return p.sent(),[3,6];case 2:return r=this.containerForRender,e.invokeColumnEndRender(),this.finishColumns(r),n=this.searchStartOfKeepContainer(r,this.indexOfStartList),t&&(n=null),null!=r&&null!=n&&0==r.components.indexOf(n)&&(n=null),this.changeEngineParamsByKeep(r,n),i={ref:n},this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,i),n=i.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,n),[4,this.renderEmptyBandsAsync(r,n)];case 3:if(p.sent(),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!StiOptions.Engine.forceNewPageForExtraColumns&&this.containerForRender==r){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0,o=0;try{for(a=__values(r.components.list),s=a.next();!s.done;s=a.next())(l=s.value).bottom>o&&(o=l.bottom)}catch(t){u={error:t}}finally{try{s&&!s.done&&(c=a.return)&&c.call(a)}finally{if(u)throw u.error}}this.offsetNewColumnY=o-this.staticBands.reservedPositionY,this.positionY=o}return[4,this.newListAsync()];case 4:return p.sent(),[4,this.moveKeepComponentsOnNextContainerAsync(r,n)];case 5:p.sent(),this.indexOfStartList=this.containerForRender.components.count>0?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(r,!1),this.finishContainer(r),e.invokeColumnBeginRender(),p.label=6;case 6:return[2]}}))}))},N.prototype.newColumn=function(t){var e,r;void 0===t&&(t=!0),this.columnsOnPanel.currentColumn++;var n=this.page;if(null==n&&(n=this.report.renderedPages.getByIndex(0)),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&StiOptions.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode)this.isCrossBandsMode||(n.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),this.newPage(t);else{var i=this.containerForRender;n.invokeColumnEndRender(),this.finishColumns(i);var o=this.searchStartOfKeepContainer(i,this.indexOfStartList);t&&(o=null),null!=i&&null!=o&&0==i.components.indexOf(o)&&(o=null),this.changeEngineParamsByKeep(i,o);var a={ref:o};if(this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,a),o=a.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,o),this.renderEmptyBands(i,o),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!StiOptions.Engine.forceNewPageForExtraColumns&&this.containerForRender==i){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0;var s=0;try{for(var l=__values(i.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;c.bottom>s&&(s=c.bottom)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}this.offsetNewColumnY=s-this.staticBands.reservedPositionY,this.positionY=s}this.newList(),this.moveKeepComponentsOnNextContainer(i,o),this.indexOfStartList=this.containerForRender.components.count>0?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(i,!1),this.finishContainer(i),n.invokeColumnBeginRender()}},N.prototype.newPageAsync=function(t){return void 0===t&&(t=!0),__awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(r){switch(r.label){case 0:if(!(Date.now()-this.newPageTime>100))return[3,2];return[4,new Promise((function(r,n){return setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),this.newPageTime=Date.now(),[4,this.newPageAsync2(t)];case 1:return i.sent(),r(),[3,3];case 2:return e=i.sent(),n(e),[3,3];case 3:return[2]}}))}))}),0)}))];case 1:return r.sent(),[3,4];case 2:return[4,this.newPageAsync2(t)];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},N.prototype.newPageAsync2=function(t){return void 0===t&&(t=!0),__awaiter(this,void 0,void 0,(function(){var i,o,a,s,l,u,c,p;return __generator(this,(function(h){switch(h.label){case 0:if(!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!StiOptions.Engine.forceNewPageInSubReports)return i=n.format("The NewPage feature is not supported in subreports and containers!"),e.StiLogService.write1(i),(o=new r.StiNewPageContainer).top=this.positionY,o.height=this.templatePage.heightthis.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){this.freeSpace>0?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[2]}return this.lastFreeSpaceOnPageAfterNewList=0,this.firstCallNewPage=!1,!this.atLeastOneDatabandRenderedOnPage&&this.printOnAllPagesIgnoreList.count>0&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1,a=this.containerForRender,StiOptions.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering(),s=this.page,l=this.report.renderedPages.cacheMode,null!=this.page&&this.processPageAfterRendering(this.page,!1),u=this,[4,r.StiPageHelper.getPageFromTemplateAsync(this.templatePage)];case 3:return u.page=h.sent(),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),StiOptions.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(a),r.StiPageHelper.prepareBookmark(this.page),this.page.invokeColumnBeginRender(),c=this.searchStartOfKeepContainer(a,this.indexOfStartList),t&&(c=null),null!=a&&null!=c&&0==a.components.indexOf(c)&&(c=null),this.changeEngineParamsByKeep(a,c),p={ref:c},this.renderFootersOnAllPages(a,this.indexOfStartList,p),c=p.ref,this.renderPrintAtBottom(a,this.indexOfStartList,c),[4,this.renderEmptyBandsAsync(a,c)];case 4:return h.sent(),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(a,c,!1),[4,this.newListAsync()];case 5:return h.sent(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(a,c,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,[4,this.moveKeepComponentsOnNextContainerAsync(a,c)];case 6:h.sent(),this.indexOfStartList=0,this.finishResetPageNumberContainer(a,!1),this.finishContainer(a),h.label=7;case 7:return[2]}}))}))},N.prototype.newPage=function(t){if(void 0===t&&(t=!0),!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!StiOptions.Engine.forceNewPageInSubReports){var i=n.format("The NewPage feature is not supported in subreports and containers!");e.StiLogService.write1(i);var o=new r.StiNewPageContainer;return o.top=this.positionY,o.height=this.templatePage.heightthis.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){this.freeSpace>0?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&&this.printOnAllPagesIgnoreList.count>0&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;var a=this.containerForRender;StiOptions.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering();var s=this.page,l=this.report.renderedPages.cacheMode;null!=this.page&&this.processPageAfterRendering(this.page,!1),this.page=r.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),StiOptions.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(a),r.StiPageHelper.prepareBookmark(this.page),this.page.invokeColumnBeginRender();var u=this.searchStartOfKeepContainer(a,this.indexOfStartList);t&&(u=null),null!=a&&null!=u&&0==a.components.indexOf(u)&&(u=null),this.changeEngineParamsByKeep(a,u);var c={ref:u};this.renderFootersOnAllPages(a,this.indexOfStartList,c),u=c.ref,this.renderPrintAtBottom(a,this.indexOfStartList,u),this.renderEmptyBands(a,u),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(a,u,!1),this.newList(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(a,u,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,this.moveKeepComponentsOnNextContainer(a,u),this.indexOfStartList=0,this.finishResetPageNumberContainer(a,!1),this.finishContainer(a)} },N.prototype.newContainerAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(i){switch(i.label){case 0:return!this.atLeastOneDatabandRenderedOnPage&&this.printOnAllPagesIgnoreList.count>0&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1,e=this.containerForRender,this.finishColumns(e),r=this.searchStartOfKeepContainer(e,this.indexOfStartList),t&&(r=null),null!=e&&null!=r&&0==e.components.indexOf(r)&&(r=null),this.changeEngineParamsByKeep(e,r),n={ref:r},this.renderFootersOnAllPages(e,this.indexOfStartList,n),r=n.ref,this.renderPrintAtBottom(e,this.indexOfStartList,r),[4,this.renderEmptyBandsAsync(e,r)];case 1:return i.sent(),[4,this.threads.newPageAsync()];case 2:return i.sent(),[4,this.newListAsync()];case 3:return i.sent(),this.atLeastOneDatabandRenderedOnPage=!1,[4,this.moveKeepComponentsOnNextContainerAsync(e,r)];case 4:return i.sent(),this.indexOfStartList=0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),null!=this.containerForRender&&this.containerForRender.parent.is(F)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace),[2]}}))}))},N.prototype.newContainer=function(t){!this.atLeastOneDatabandRenderedOnPage&&this.printOnAllPagesIgnoreList.count>0&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;var e=this.containerForRender;this.finishColumns(e);var 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 n={ref:r};this.renderFootersOnAllPages(e,this.indexOfStartList,n),r=n.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(F)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace)},N.prototype.newDestinationAsync=function(t){return void 0===t&&(t=!1),__awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(this.columnsOnPanel.count>1))return[3,2];return[4,this.newColumnAsync(t)];case 1:return e.sent(),[3,4];case 2:return[4,this.newPageAsync(t)];case 3:e.sent(),e.label=4;case 4:return[2]}}))}))},N.prototype.newDestination=function(t){void 0===t&&(t=!1),this.columnsOnPanel.count>1?this.newColumn(t):this.newPage(t)},N.prototype.addFooterMarker=function(t){var e=new r.StiFooterMarkerContainer;e.top=this.positionY,e.left=this.positionX,e.width=e.width,e.height=0,e.name=t.name,this.addContainerToDestination(e)},N.prototype.addKeepLevelAtLatestDataBand=function(){if(null!=this.indexOfLatestDataBand){var t=this.containerForRender,e=this.indexOfLatestDataBand.index;if(-1!=this.indexOfLatestDataBand.indexInColumnContainer&&t.components.count>this.indexOfLatestDataBand.indexInColumnContainer){var n=t=t.components.getByIndex(this.indexOfLatestDataBand.indexInColumnContainer);n.columnDirection==p.AcrossThenDown&&(e-=n.getLengthOfLastRow()-1)}e=0&&t.components.insert(e,new r.StiLevelStartContainer)}},N.prototype.addLevel=function(){var t;this.columnsOnDataBand.enabled?this.columnsOnDataBand.getColumns().addContainer(new r.StiLevelStartContainer):this.addContainerToDestination(new r.StiLevelStartContainer)},N.prototype.removeLevel=function(){var t;this.columnsOnDataBand.enabled?this.columnsOnDataBand.getColumns().addContainer(new r.StiLevelEndContainer):this.addContainerToDestination(new r.StiLevelEndContainer)},N.prototype.getChildBands=function(t){null==this.childsBandHash&&(this.childsBandHash=new c);var e=this.childsBandHash.get(t);if(null!=e)return e;return e=r.StiBandBuilder.getChildBands(t),this.childsBandHash.set(t,e),e},N.prototype.clearPageBreakSkipFirst=function(){this.pageBreakSkipFirstCollection.clear()},N.prototype.canGenerateNewContainer=function(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},N.prototype.removeBandFromPageBreakSkipList=function(t){if(null==t)return;null!=this.pageBreakSkipFirstCollection.get(t)&&this.pageBreakSkipFirstCollection.remove(t)},N.prototype.processPageAfterRendering=function(t,e){var n,i;if(this.allowEndOfPageProcessing){var o=t.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=l.as(w);if(null!=u&&u.processAt==E.EndOfPage){var c=new R;u.invokeGetValue(l,c),u.text=c.value}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}var p=this.renderState;null!=this.masterEngine&&(p=this.masterEngine.renderState),r.StiRenderProvider.processPageToCache(this.report,t,e),null!=p&&r.StiRenderProvider.clearPagesWhichLessThenFromPageAndGreaterThenToPage(this.report,p),r.StiRenderProvider.clearPagesForFirstPass(this.report)},N.prototype.processLastPageAfterRendering=function(){var t=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1);this.processPageAfterRendering(t,!1)},N.prototype.processRendering=function(){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")},N.prototype.reprocessRuntimeVariables=function(t){var e,r,n,i,o=t.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(!l.is(T))continue;var u=this.report.totals.get(l.name);if(null==u||0==u.length)continue;try{for(var c=(n=void 0,__values(u)),p=c.next();!p.done;p=c.next()){var h=p.value;h.textBox==l&&(h.pageIndex=this.report.renderedPages.count,h.currentPrintPage=this.report.renderedPages.count)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},N.prototype.finalClearAsync=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return this.changeEngineParamsByKeep(this.containerForRender,null),this.renderFootersOnAllPages(null,0,{ref:null}),this.renderPrintAtBottom(null,0,null),[4,this.renderEmptyBandsAsync(this.containerForRender,null)];case 1:return t.sent(),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(),[2]}}))}))},N.prototype.finalClear=function(){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()},N.prototype.isPrintAtBottomOrFooterOnAllPages=function(e){if(null==e)return!1;if(null==e.containerInfo.parentBand)return!1;var r=e.containerInfo.parentBand.as(t.Report.Components.IStiPrintAtBottom);if(null!=r&&r.printAtBottom)return!0;var n=e.containerInfo.parentBand.as(m);return null!=n&&n.printOnAllPages},N.prototype.changeEngineParamsByKeep=function(t,e){if(null==e)return;for(var r,n=t.components.indexOf(e);n1&&null==this.columnsOnDataBand.getColumns()))return[3,6];return[4,this.columnsOnDataBand.renderColumnsAsync(t.as(f))];case 5:o.sent(),o.label=6;case 6:return[3,18];case 7:if(!this.generateNewColumnBeforeBand)return[3,12];if(this.generateNewColumnBeforeBand=!1,e=this.canGenerateNewContainer(t.as(g)),!this.ignoreSkipFirst)return[3,9];return this.ignoreSkipFirst=!1,[4,this.newColumnAsync()];case 8:return o.sent(),[3,11];case 9:if(!this.canGenerateNewContainer)return[3,11];return[4,this.newColumnAsync()];case 10:o.sent(),o.label=11;case 11:return[3,18];case 12:if(null==(n=t.as(g)))return[2];if(!n.newPageBefore&&!n.newColumnBefore)return[3,18];if(i=100*this.freeSpace/this.containerForRender.height,!(n.breakIfLessThan>i||100==n.breakIfLessThan))return[3,18];if(!n.newPageBefore||!this.canGenerateNewContainer(t.as(g)))return[3,15];return[4,this.newPageAsync()];case 13:return o.sent(),[4,this.processNewContainerInDetailBandsAsync(t,!0,!1)];case 14:return o.sent(),[3,18];case 15:if(!n.newColumnBefore||!this.canGenerateNewContainer(t.as(g)))return[3,18];return[4,this.newColumnAsync()];case 16:return o.sent(),[4,this.processNewContainerInDetailBandsAsync(t,!1,!0)];case 17:o.sent(),o.label=18;case 18:return this.needResetPageNumberForNewPage=!1,[2]}}))}))},N.prototype.processNewContainerBefore=function(t){if(this.needResetPageNumberForNewPage=t.resetPageNumber,this.generateNewPageBeforeBand){this.generateNewPageBeforeBand=!1;var e=this.canGenerateNewContainer(t.as(g)),r=!1;this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newPage(),r=!0):this.canGenerateNewContainer&&(this.newPage(),r=!0),r&&t.is(f)&&t.columns>1&&null==this.columnsOnDataBand.getColumns()&&this.columnsOnDataBand.renderColumns(t.as(f))}else if(this.generateNewColumnBeforeBand){this.generateNewColumnBeforeBand=!1;var e=this.canGenerateNewContainer(t.as(g));this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newColumn()):this.canGenerateNewContainer&&this.newColumn()}else{var n=t.as(g);if(null==n)return;if(n.newPageBefore||n.newColumnBefore){var i=100*this.freeSpace/this.containerForRender.height;(n.breakIfLessThan>i||100==n.breakIfLessThan)&&(n.newPageBefore&&this.canGenerateNewContainer(t.as(g))?(this.newPage(),this.processNewContainerInDetailBands(t,!0,!1)):n.newColumnBefore&&this.canGenerateNewContainer(t.as(g))&&(this.newColumn(),this.processNewContainerInDetailBands(t,!1,!0)))}}this.needResetPageNumberForNewPage=!1},N.prototype.processNewContainerAfter=function(t){var e=t.as(g);if(null==e)return;if(e.newPageAfter||e.newColumnAfter){var r=100*this.freeSpace/this.containerForRender.height;(e.breakIfLessThan>r||100==e.breakIfLessThan)&&(e.newPageAfter?(this.generateNewPageBeforeBand=!0,this.ignoreSkipFirst=!0):e.newColumnAfter&&(this.generateNewColumnBeforeBand=!0,this.ignoreSkipFirst=!0))}},N.prototype.processNewContainerInDetailBandsAsync=function(t,e,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l,u,c,p;return __generator(this,(function(h){switch(h.label){case 0:if(null==(n=t.as(f)))return[3,12];h.label=1;case 1:h.trys.push([1,10,11,12]),i=__values(n.dataBandInfo.detailDataBands.list),o=i.next(),h.label=2;case 2:if(o.done)return[3,9];if((a=o.value).parent==n.parent)return[3,8];if(s=null!=this.masterEngine?this.masterEngine:this,null==(l=s.slaveEngines.get(a.parent.name).stimulsoft.as(N)))return[3,8];if(!e)return[3,4];return[4,l.newPageAsync()];case 3:return h.sent(),[3,8];case 4:if(!r)return[3,8];if(!(null!=t.page&&t.page.columns<2))return[3,6];return[4,l.newPageAsync()];case 5:return h.sent(),[3,8];case 6:return[4,l.newColumnAsync()];case 7:h.sent(),h.label=8;case 8:return o=i.next(),[3,2];case 9:return[3,12];case 10:return u=h.sent(),c={error:u},[3,12];case 11:try{o&&!o.done&&(p=i.return)&&p.call(i)}finally{if(c)throw c.error}return[7];case 12:return[2]}}))}))},N.prototype.processNewContainerInDetailBands=function(t,e,r){var n,i,o=t.as(f);if(null!=o)try{for(var a=__values(o.dataBandInfo.detailDataBands.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.parent!=o.parent){var u,c=(null!=this.masterEngine?this.masterEngine:this).slaveEngines.get(l.parent.name).stimulsoft.as(N);null!=c&&(e?c.newPage():r&&(null!=t.page&&t.page.columns<2?c.newPage():c.newColumn()))}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},N.prototype.searchStartOfKeepContainer=function(t,e){if(null==t)return null;var n=e,i=-1,o=-1,a=null;while(n=t.components.count?null:t.components.getByIndex(o).as(P)),a},N.prototype.moveKeepComponentsOnNextContainerAsync=function(e,n){var i;return __awaiter(this,void 0,void 0,(function(){var o,a,s,l,u,c,p,h,m,d,g,S,y,A,b,v,C;return __generator(this,(function(w){switch(w.label){case 0:if(null==e)return[2];if(null==n)return[3,9];for(o=e.components.indexOf(n),a=[],s=o;sl.top,!p&&m&&(e.components.getByIndex(u).top-=l.height)}}w.label=1;case 1:w.trys.push([1,6,7,8]),d=__values(a),g=d.next(),w.label=2;case 2:if(g.done)return[3,5];if(S=g.value,this.breakable.setCanBreak(S),e.components.remove(S),S.parent=null,this.isNeedToSkip(S.containerInfo.parentBand))return[3,4];return[4,this.renderContainerAsync(S,this.printAtBottom.canProcess(S.containerInfo.parentBand),this.footersOnAllPages.canProcess(S.containerInfo.parentBand))];case 3:w.sent(),w.label=4;case 4:return g=d.next(),[3,2];case 5:return[3,8];case 6:return y=w.sent(),v={error:y},[3,8];case 7:try{g&&!g.done&&(C=d.return)&&C.call(d)}finally{if(v)throw v.error}return[7];case 8:null!=this.containerForRender&&(A=this.containerForRender.components.count)>0&&(b=this.containerForRender.components.getByIndex(A-1).as(P),(null===(i=null==b?void 0:b.containerInfo.parentBand)||void 0===i?void 0:i.is(f))&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0)),w.label=9;case 9:return[2]}}))}))},N.prototype.moveKeepComponentsOnNextContainer=function(e,n){var i,o,a;if(null==e)return;if(null!=n){for(var s,l=[],u=e.components.indexOf(n);uc.top;!m&&g&&(e.components.getByIndex(p).top-=c.height)}}}try{for(var S=__values(l),y=S.next();!y.done;y=S.next()){var A=y.value;this.breakable.setCanBreak(A),e.components.remove(A),A.parent=null,this.isNeedToSkip(A.containerInfo.parentBand)||this.renderContainer(A,this.printAtBottom.canProcess(A.containerInfo.parentBand),this.footersOnAllPages.canProcess(A.containerInfo.parentBand))}}catch(t){i={error:t}}finally{try{y&&!y.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}if(null!=this.containerForRender){var b=this.containerForRender.components.count;if(b>0){var v=this.containerForRender.components.getByIndex(b-1).as(P);(null===(a=null==v?void 0:v.containerInfo.parentBand)||void 0===a?void 0:a.is(f))&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0)}}}},N.prototype.correctPrintOnAllPagesIgnoreListBeforeNewList=function(t,e,r){var n,i;if(r){try{for(var o=__values(this.printOnAllPagesIgnoreList2.keys),a=o.next();!a.done;a=o.next()){var s=a.value;this.printOnAllPagesIgnoreList.remove(s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.printOnAllPagesIgnoreList2.clear()}else{if(null==t||null==e)return;this.printOnAllPagesIgnoreList2.clear();for(var l,u=t.components.indexOf(e);u0){var r=e.getByIndex(e.count-1).as(P);if(null!=r&&r.containerInfo.parentBand==t&&r.containerInfo.isAutoRendered)return!0}}return!1},N.prototype.renderFootersOnAllPages=function(t,e,r){void 0===e&&(e=this.indexOfStartList),void 0===r&&(r={ref:null}),null!=t?this.footersOnAllPages.render(t,e,r):this.footersOnAllPages.render(this.containerForRender,e,r)},N.prototype.renderEmptyBandsAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(null==t)return[3,2];return[4,this.emptyBands.renderAsync(t,e)];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},N.prototype.renderEmptyBands=function(t,e){null!=t&&this.emptyBands.render(t,e)},N.prototype.renderPrintAtBottom=function(t,e,r){null!=t?this.printAtBottom.render(t,e,r):this.printAtBottom.render(this.containerForRender,e,r)},N.prototype.finishContainer=function(t){var e,r;if(null==t)return;try{for(var n=__values(t.components.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.as(P);null!=a&&(a.componentType==C.Static&&null!=a.page&&a.page.columns>1||(a.containerInfo.parentBand=null))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},N.prototype.finishResetPageNumberContainer=function(t,e){var r,n;if(null==t)return;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(P);if(null!=s&&null!=s.containerInfo.parentBand&&s.containerInfo.parentBand.resetPageNumber&&!s.containerInfo.ignoreResetPageNumber&&!s.containerInfo.isAutoRendered){var l=this.report.renderedPages.count-2;e&&l++,this.pageNumbers.resetPageNumber(l)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},N.prototype.finishColumns=function(t){var e,n;if(null==t)return;var i=0;while(ithis.page.segmentPerWidth&&(this.page.segmentPerWidth=t.containerInfo.setSegmentPerWidth),this.containerForRender.components.add(t)},N.prototype.invokePageAfterPrint=function(){if(null!=this.templatePage&&null!=this.templatePage.report&&0!=this.templatePage.report.renderedPages.count){var t=this.report.renderedPages.toList().lastOrDefault();if(null==t)return;StiOptions.Engine.useTemplateForPagePrintEvents?t.invokeAfterPrint(this.templatePage,u.empty):t.invokeAfterPrint(t,u.empty)}},N.prototype.addPageToRenderedPages=function(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");StiOptions.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||(StiOptions.Engine.useTemplateForPagePrintEvents?this.page.invokeBeforePrint(this.templatePage,u.empty):this.page.invokeBeforePrint(this.page,u.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 I(this.templatePage.margins.left,this.templatePage.margins.right,this.templatePage.margins.top,this.templatePage.margins.bottom))},N.prototype.checkFreeSpace1Async=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(!this.isCrossBandsMode)return[3,2];return[4,this.checkFreeSpace2Async(t.width)];case 1:return[2,r.sent()];case 2:return[4,this.checkFreeSpace2Async(t.height)];case 3:if(e=r.sent())return this.breakable.setCanBreak(t),[2,!1];return[2,e]}}))}))},N.prototype.checkFreeSpace1=function(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},N.prototype.checkFreeSpace2Async=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(!this.isCrossBandsMode)return[3,3];if(!(t>this.crossFreeSpace))return[3,2];return[4,this.newDestinationAsync()];case 1:if(r.sent(),t>this.crossFreeSpace)return[2,!1];return[2,!0];case 2:return[3,10];case 3:if(!(t>this.freeSpace))return[3,10];if(!(this.templatePage.unlimitedHeight&&this.templatePage.columns<2))return[3,8];if(null==this.page)return this.freeSpace+=this.templatePage.pageHeight-this.templatePage.margins.top-this.templatePage.margins.bottom,[2,!1];while((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)))return[3,7];if(!this.templatePage.unlimitedBreakable)return[3,6];if(!(this.positionY>0))return[3,5];return this.freeSpace+=this.templatePage.height-this.positionBottomY,e=this.ignoreUnlimitedHeightForNewPage,this.ignoreUnlimitedHeightForNewPage=!1,[4,this.newDestinationAsync()];case 4:r.sent(),this.ignoreUnlimitedHeightForNewPage=e,r.label=5;case 5:if(t>this.templatePage.height)return[2,!0];r.label=6;case 6:return[2,!1];case 7:return[3,10];case 8:return[4,this.newDestinationAsync()];case 9:return r.sent(),[2,!0];case 10:return[2,!1]}}))}))},N.prototype.checkFreeSpace2=function(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((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)){if(this.templatePage.unlimitedBreakable){if(this.positionY>0){this.freeSpace+=this.templatePage.height-this.positionBottomY;var e=this.ignoreUnlimitedHeightForNewPage;this.ignoreUnlimitedHeightForNewPage=!1,this.newDestination(),this.ignoreUnlimitedHeightForNewPage=e}if(t>this.templatePage.height)return!0}return!1}}return!1},N.prototype.storeLatestDataBand=function(t){if(t.is(f))if(this.columnsOnDataBand.enabled){var e=this.columnsOnDataBand.getColumns();if(null==e)this.indexOfLatestDataBand=new r.StiIndex(0,this.containerForRender.components.count);else{var n=this.containerForRender.components.indexOf(e);this.indexOfLatestDataBand=new r.StiIndex(e.components.count,n)}}else this.indexOfLatestDataBand=new r.StiIndex(this.containerForRender.components.count)},N.prototype.setReportVariables=function(t){if(t.setReportVariables(),this.columnsOnDataBand.enabled&&t.is(f)){var e=this.columnsOnDataBand.getColumns();null!=e&&(this.report.column=e.getCurrentColumn())}else this.report.column=this.columnsOnPanel.currentColumn},N.prototype.checkForDuplicate=function(t,e,r){if(null==this.duplilcatesLastValues&&(this.duplilcatesLastValues=new c),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},N.prototype.resetProcessingDuplicates1=function(t){null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(t)&&this.duplilcatesLastValues.set(t,null)},N.prototype.resetProcessingDuplicates2=function(t){var e=n.format("{0}_{1}",t.left,t.width);null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(e)&&this.duplilcatesLastValues.set(e,null)},N.prototype.getSumTagsOnPage=function(t,e){var r;return 0},N.prototype.getComponentByNameFromRenderedPage=function(t,e){var r,n;try{for(var i=__values(t.getComponents().list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name==e)return a}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},N.prototype.renderBandAsync=function(t,e,i){return void 0===e&&(e=!1),void 0===i&&(i=!1),__awaiter(this,void 0,void 0,(function(){var o,a,s,l,u,p,d,g,S,y,A,p,b,v,C,w,B,I,T,E,R,D,P,F,N,k,M,O,_,j;return __generator(this,(function(G){switch(G.label){case 0:this.bandsInProgress.push(t),G.label=1;case 1:if(G.trys.push([1,,11,12]),o=new x,a=!0,t.is(f)&&t.columns>1&&(a=!1),s=null,a){s=this.getChildBands(t);try{for(l=__values(s.list),u=l.next();!u.done;u=l.next())(p=u.value).keepChildTogether&&this.addLevel()}catch(t){N={error:t}}finally{try{u&&!u.done&&(k=l.return)&&k.call(l)}finally{if(N)throw N.error}}}return g={ref:d=!0},[4,this.internalRenderBandAsync(t,e,i,g)];case 2:if(S=G.sent(),d=g.ref,null!=S&&o.add(S),!a)return[3,10];G.label=3;case 3:G.trys.push([3,8,9,10]),y=__values(s.list),A=y.next(),G.label=4;case 4:if(A.done)return[3,7];return p=A.value,b=p.enabled,d||p.printIfParentDisabled||(p.enabled=!1),v=!(!d&&!p.printIfParentDisabled),C={ref:v},[4,this.internalRenderBandAsync(p,e,i,C)];case 5:w=G.sent(),v=C.ref,null!=w&&o.add(w),p.keepChildTogether&&this.removeLevel(),p.enabled=b,G.label=6;case 6:return A=y.next(),[3,4];case 7:return[3,10];case 8:return B=G.sent(),M={error:B},[3,10];case 9:try{A&&!A.done&&(O=y.return)&&O.call(y)}finally{if(M)throw M.error}return[7];case 10:if((t.is(h)&&t.printOnAllPages||t.is(m)&&t.printOnAllPages)&&null!=S&&S.components.count>0&&(I=this,null!=this.report&&null!=this.report.engine&&(I=this.report.engine),null==I.componentPlacementRemakeTable&&(I.componentPlacementRemakeTable=new c),I.componentPlacementRemakeTable.containsKey(t)||(I.componentPlacementRemakeTable.set(t,null),T=null,t.is(h)&&(T=r.StiHeaderBandBuilder.getMaster(t)),t.is(m)&&(T=r.StiFooterBandBuilder.getMaster(t)),null!=T&&null!=T.masterComponent&&T.masterComponent.is(f)&&I.componentPlacementRemakeTable.set(t,T.masterComponent)),null!=(E=I.componentPlacementRemakeTable.get(t))&&E.is(f)&&(R=S.components.getByIndex(0).componentPlacement,!n.isNullOrEmpty(R)))){R+="_r"+E.position.toString();try{for(D=__values(S.components.list),P=D.next();!P.done;P=D.next())(F=P.value).componentPlacement=R}catch(t){_={error:t}}finally{try{P&&!P.done&&(j=D.return)&&j.call(D)}finally{if(_)throw _.error}}}return[2,o];case 11:return this.bandsInProgress.stimulsoft.removeAt(this.bandsInProgress.length-1),[7];case 12:return[2]}}))}))},N.prototype.renderBand=function(t,e,i){var o,a,s,l,u,p;void 0===e&&(e=!1),void 0===i&&(i=!1),this.bandsInProgress.push(t);try{var d=new x,g=!0;t.is(f)&&t.columns>1&&(g=!1);var S=null;if(g){S=this.getChildBands(t);try{for(var y=__values(S.list),A=y.next();!A.done;A=y.next()){var b;(b=A.value).keepChildTogether&&this.addLevel()}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}}var v=!0,C={ref:v},w=this.internalRenderBand(t,e,i,C);if(v=C.ref,null!=w&&d.add(w),g)try{for(var B=__values(S.list),I=B.next();!I.done;I=B.next()){var b,T=(b=I.value).enabled;v||b.printIfParentDisabled||(b.enabled=!1);var E=!(!v&&!b.printIfParentDisabled),R={ref:E},D=this.internalRenderBand(b,e,i,R);E=R.ref,null!=D&&d.add(D),b.keepChildTogether&&this.removeLevel(),b.enabled=T}}catch(t){s={error:t}}finally{try{I&&!I.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}if((t.is(h)&&t.printOnAllPages||t.is(m)&&t.printOnAllPages)&&null!=w&&w.components.count>0){var P=this;if(null!=this.report&&null!=this.report.engine&&(P=this.report.engine),null==P.componentPlacementRemakeTable&&(P.componentPlacementRemakeTable=new c),!P.componentPlacementRemakeTable.containsKey(t)){P.componentPlacementRemakeTable.set(t,null);var F=null;t.is(h)&&(F=r.StiHeaderBandBuilder.getMaster(t)),t.is(m)&&(F=r.StiFooterBandBuilder.getMaster(t)),null!=F&&null!=F.masterComponent&&F.masterComponent.is(f)&&P.componentPlacementRemakeTable.set(t,F.masterComponent)}var N=P.componentPlacementRemakeTable.get(t);if(null!=N&&N.is(f)){var k=w.components.getByIndex(0).componentPlacement;if(!n.isNullOrEmpty(k)){k+="_r"+N.position.toString();try{for(var M=__values(w.components.list),O=M.next();!O.done;O=M.next()){var _;O.value.componentPlacement=k}}catch(t){u={error:t}}finally{try{O&&!O.done&&(p=M.return)&&p.call(M)}finally{if(u)throw u.error}}}}}return d}finally{this.bandsInProgress.stimulsoft.removeAt(this.bandsInProgress.length-1)}},N.prototype.internalRenderBandAsync=function(t,e,i,o){var a;return void 0===e&&(e=!1),void 0===i&&(i=!1),void 0===o&&(o={ref:!0}),__awaiter(this,void 0,void 0,(function(){var s,l,p,h,m,d,g,b,w,B,I,I,T,E,R,x,N,k,M,O;return __generator(this,(function(_){switch(_.label){case 0:if(s=null,this.storeLatestDataBand(t),l=t.as(S),p=t.as(y),h=null,m=A.None,null!=l&&(h=l.brush),null!=p&&null!=p.border&&(m=p.border.side),d=t.enabled,g=t.report,b=null,w=!1,t.useParentStyles&&null!=t.parent&&(null!=g&&null!=g.engine&&null!=g.engine.hashParentStyles&&g.engine.hashParentStyles.count>0&&(b=g.engine.hashParentStyles.get(t.parent).as(D)),null==b&&(b=D.getStyle(t.parent)),null!=b&&(b.setStyleToComponent(t),w=!0,null!=(B=t.getComponentStyle2())&&B.setStyleToComponent(t))),StiOptions.Engine.useParentStylesOldMode||null!=(I=r.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(f),t))&&(b=I),t.invokeBeforePrint(t,u.empty),null!=g&&null!=g.engine&&g.engine.hashUseParentStyles.containsKey(t)&&(null!=b||n.isNullOrWhiteSpace(t.componentStyle)||(b=g.styles.getByName(t.componentStyle)),null!=g.engine.hashParentStyles&&g.engine.hashParentStyles.count>0&&null!=(I=null===(a=g.engine.hashParentStyles.get(t))||void 0===a?void 0:a.as(D))&&(b=I),T=D.getStyle(t,b),null==g.engine.hashParentStyles&&(g.engine.hashParentStyles=new c),g.engine.hashParentStyles.set(t,T),w=!0),E=null,t.is(f)&&(E=t),!t.is(f)||this.isNeedToSkip(t)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),(R=o.ref)||(t.enabled=!1),R=t.enabled,o.ref=R,!this.isNeedToPrintOddEven(t)||this.isNeedToSkip(t)||!t.isEnabled)return[3,6];if(this.setReportVariables(t),e)return[3,2];return[4,this.processNewContainerBeforeAsync(t)];case 1:_.sent(),_.label=2;case 2:return[4,t.internalRenderAsync()];case 3:if(s=_.sent().as(P),t.is(f)&&(x=t,s.containerInfo.dataBandPosition=x.position,(N=null!=x.filterMethodHandler||null!=x.sort&&x.sort.length>0||null!=g.dataBandsUsedInPageTotals&&-1!=g.dataBandsUsedInPageTotals.indexOf(t.name))&&null!=x.dataSource&&(s.containerInfo.dataSourceRow=x.dataSource.getDataRow(x.dataSource.position)),null==x.businessObject||null==x.masterComponent&&!N||(s.containerInfo.businessObjectCurrent=x.businessObject.current)),null!=t.parent&&(t.parent.is(F)?t.componentType==C.Static?s.width=t.parent.width:s.width=t.parent.getColumnWidth():t.isCross||(s.width=t.parent.width)),k=s.page,s.page=t.page,s.invokeEvents(),s.page=k,s.containerInfo.parentBand=t,t.componentType!=C.Static&&(s.dockStyle=v.None),StiOptions.Engine.useParentStylesOldMode&&r.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(f),s),this.silentMode)return[3,5];return[4,this.renderContainerAsync(s,this.printAtBottom.canProcess(t),this.footersOnAllPages.canProcess(t))];case 4:_.sent(),_.label=5;case 5:e||this.processNewContainerAfter(t),_.label=6;case 6:return null!=E&&i&&(t.enabled||E.calcInvisible)&&(E.invokeRendering(),E.invokeGroupRendering()),t.invokeAfterPrint(t,u.empty),w&&null!=g.engine.hashParentStyles&&g.engine.hashParentStyles.remove(t),null!=l&&(l.brush=h),null!=p&&null!=p.border&&(p.border.side=m),t.enabled=d,null!=(M=t.as(y))&&(O=null==s?null:s.as(y)),this.checkContainerOnTable(s),[2,s]}}))}))},N.prototype.internalRenderBand=function(t,e,i,o){void 0===e&&(e=!1),void 0===i&&(i=!1),void 0===o&&(o={ref:!0});var a=null;this.storeLatestDataBand(t);var s=t.as(S),l=t.as(y),p=null,h=A.None;null!=s&&(p=s.brush),null!=l&&null!=l.border&&(h=l.border.side);var m=t.enabled,d=t.report,g=null,b=!1,w;if(t.useParentStyles&&null!=t.parent&&(null!=d&&null!=d.engine&&null!=d.engine.hashParentStyles&&d.engine.hashParentStyles.count>0&&(g=d.engine.hashParentStyles.get(t.parent).as(D)),null==g&&(g=D.getStyle(t.parent)),null!=g)){g.setStyleToComponent(t),b=!0;var B=t.getComponentStyle2();null!=B&&B.setStyleToComponent(t)}StiOptions.Engine.useParentStylesOldMode||null!=(w=r.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(f),t))&&(g=w);if(t.invokeBeforePrint(t,u.empty),null!=d&&null!=d.engine&&d.engine.hashUseParentStyles.containsKey(t)){var w;if(null!=g||n.isNullOrWhiteSpace(t.componentStyle)||(g=d.styles.getByName(t.componentStyle)),null!=d.engine.hashParentStyles&&d.engine.hashParentStyles.count>0)null!=(w=d.engine.hashParentStyles.get(t).as(D))&&(g=w);var I=D.getStyle(t,g);null==d.engine.hashParentStyles&&(d.engine.hashParentStyles=new c),d.engine.hashParentStyles.set(t,I),b=!0}var T=null;t.is(f)&&(T=t),!t.is(f)||this.isNeedToSkip(t)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0);var E=o.ref,R;if(E||(t.enabled=!1),E=t.enabled,o.ref=E,this.isNeedToPrintOddEven(t)&&!this.isNeedToSkip(t)&&t.isEnabled){if(this.setReportVariables(t),e||this.processNewContainerBefore(t),a=t.internalRender().as(P),t.is(f)){var x=t;a.containerInfo.dataBandPosition=x.position;var N=null!=x.filterMethodHandler||null!=x.sort&&x.sort.length>0||null!=d.dataBandsUsedInPageTotals&&-1!=d.dataBandsUsedInPageTotals.indexOf(t.name);N&&null!=x.dataSource&&(a.containerInfo.dataSourceRow=x.dataSource.getDataRow(x.dataSource.position)),null==x.businessObject||null==x.masterComponent&&!N||(a.containerInfo.businessObjectCurrent=x.businessObject.current)}null!=t.parent&&(t.parent.is(F)?t.componentType==C.Static?a.width=t.parent.width:a.width=t.parent.getColumnWidth():t.isCross||(a.width=t.parent.width));var k=a.page;a.page=t.page,a.invokeEvents(),a.page=k,a.containerInfo.parentBand=t,t.componentType!=C.Static&&(a.dockStyle=v.None),StiOptions.Engine.useParentStylesOldMode&&r.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(f),a),this.silentMode||this.renderContainer(a,this.printAtBottom.canProcess(t),this.footersOnAllPages.canProcess(t)),e||this.processNewContainerAfter(t)}if(null!=T&&i&&(t.enabled||T.calcInvisible)&&(T.invokeRendering(),T.invokeGroupRendering()),t.invokeAfterPrint(t,u.empty),b&&null!=d.engine.hashParentStyles&&d.engine.hashParentStyles.remove(t),null!=s&&(s.brush=p),null!=l&&null!=l.border&&(l.border.side=h),t.enabled=m,null!=t.as(y))var M=null==a?null:a.as(y);return this.checkContainerOnTable(a),a},N.prototype.checkContainerOnTable=function(t){var e,r,n,u,c,p,f,d,g,S;if(null==t||null==t.containerInfo.parentBand)return;if(t.containerInfo.parentBand.is(h)){if(!t.containerInfo.parentBand.headerBandInfo.isTableHeader)return;var y=t.getComponents();try{for(var A=__values(y.list),b=A.next();!b.done;b=A.next()){var C,w;if(null!=(w=(C=b.value).as("IStiTableCell"))&&w.join&&null!=w.parentJoinCell){var B;null!=C.parent&&(C.parent.minSize=C.parent.maxSize=new s(C.parent.width,C.parent.height)),null!=(B=y.getByName(w.parentJoinCell.name))&&(C.height=B.parent.bottom-C.parent.top,w.cellDockStyle!=v.None&&(C.maxSize=C.minSize=new s(C.width,C.height)));continue}}}catch(t){e={error:t}}finally{try{b&&!b.done&&(r=A.return)&&r.call(A)}finally{if(e)throw e.error}}return}if(t.containerInfo.parentBand.is(a)){if(!t.containerInfo.parentBand.groupHeaderBandInfo.isTableGroupHeader)return;var y=t.getComponents();try{for(var I=__values(y.list),T=I.next();!T.done;T=I.next()){var C,w;if(null!=(w=(C=T.value).as(l))&&w.join&&null!=w.parentJoinCell){var B;null!=C.parent&&(C.parent.minSize=C.parent.maxSize=new s(C.parent.width,C.parent.height)),null!=(B=y.getByName(w.parentJoinCell.name))&&(C.height=B.parent.bottom-C.parent.top,w.cellDockStyle!=v.None&&(C.maxSize=C.minSize=new s(C.width,C.height)));continue}}}catch(t){n={error:t}}finally{try{T&&!T.done&&(u=I.return)&&u.call(I)}finally{if(n)throw n.error}}return}if(t.containerInfo.parentBand.is(o)){var y=t.getComponents();try{for(var E=__values(y.list),R=E.next();!R.done;R=E.next()){var C,w;if(null!=(w=(C=R.value).as(l))&&w.join&&null!=w.parentJoinCell){var B;null!=C.parent&&(C.parent.minSize=C.parent.maxSize=new s(C.parent.width,C.parent.height)),null!=(B=y.getByName(w.parentJoinCell.name))&&(C.height=B.parent.bottom-C.parent.top,w.cellDockStyle!=v.None&&(C.maxSize=C.minSize=new s(C.width,C.height)));continue}}}catch(t){c={error:t}}finally{try{R&&!R.done&&(p=E.return)&&p.call(E)}finally{if(c)throw c.error}}return}if(t.containerInfo.parentBand.is(m)){if(!t.containerInfo.parentBand.footerBandInfo.isTableFooter)return;var y=t.getComponents();try{for(var D=__values(y.list),P=D.next();!P.done;P=D.next()){var C,w;if(null!=(w=(C=P.value).as(l))&&w.join&&null!=w.parentJoinCell){var B;null!=C.parent&&(C.parent.minSize=C.parent.maxSize=new s(C.parent.width,C.parent.height)),null!=(B=y.getByName(w.parentJoinCell.name))&&(C.height=B.parent.bottom-C.parent.top,w.cellDockStyle!=v.None&&(C.maxSize=C.minSize=new s(C.width,C.height)));continue}}}catch(t){f={error:t}}finally{try{P&&!P.done&&(d=D.return)&&d.call(D)}finally{if(f)throw f.error}}return}if(t.containerInfo.parentBand.is(i)){if(!t.containerInfo.parentBand.groupFooterBandInfo.isTableGroupFooter)return;var y=t.getComponents();try{for(var x=__values(y.list),F=x.next();!F.done;F=x.next()){var C,w;if(null!=(w=(C=F.value).as(l))&&w.join&&null!=w.parentJoinCell){var B;null!=C.parent&&(C.parent.minSize=C.parent.maxSize=new s(C.parent.width,C.parent.height)),null!=(B=y.getByName(w.parentJoinCell.name))&&(C.height=B.parent.bottom-C.parent.top,w.cellDockStyle!=v.None&&(C.maxSize=C.minSize=new s(C.width,C.height)));continue}}}catch(t){g={error:t}}finally{try{F&&!F.done&&(S=x.return)&&S.call(x)}finally{if(g)throw g.error}}return}},N.prototype.renderContainerAsync=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!1),__awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(o){switch(o.label){case 0:if(t.is(r.StiColumnsContainer))return[2,this.internalRenderColumnsContainer(t)];if(!t.containerInfo.isColumns||null!=this.columnsOnDataBand.getColumns())return[3,2];return[4,this.columnsOnDataBand.renderColumnsAsync(t.containerInfo.parentBand)];case 1:o.sent(),o.label=2;case 2:if(!(null!=(i=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.as(f):null)&&i.columns>1&&this.columnsOnDataBand.enabled))return[3,4];return[4,this.internalRenderContainerToColumnsAsync(t,e,n)];case 3:return[2,o.sent()];case 4:return[4,this.internalRenderContainerAsync(t,e,n)];case 5:return[2,o.sent()]}}))}))},N.prototype.renderContainer=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),t.is(r.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(f):null;if(null!=i&&i.columns>1&&this.columnsOnDataBand.enabled)return this.internalRenderContainerToColumns(t,e,n);return this.internalRenderContainer(t,e,n)},N.prototype.internalRenderColumnsContainer=function(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},N.prototype.internalRenderContainerToColumnsAsync=function(t,e,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l;return __generator(this,(function(u){switch(u.label){case 0:if(t.containerInfo.isColumns=!0,null==(n=this.columnsOnDataBand.getColumns()))return[2,null];if(!((i=n.howMuchAdditionalSpaceNeeded(n.height,t))>0))return[3,7];if(o=0,null!=n.page&&n.page.unlimitedHeight&&n.page.unlimitedBreakable&&(a=n.page.pageHeight-n.page.margins.top-n.page.margins.bottom,(n.top+n.height)/a!=(n.top+n.height+i)/a&&(o+=a-(n.top+n.height)%a,i-=o)),!(this.freeSpace0){var o=0;if(null!=n.page&&n.page.unlimitedHeight&&n.page.unlimitedBreakable){var a=n.page.pageHeight-n.page.margins.top-n.page.margins.bottom;(n.top+n.height)/a!=(n.top+n.height+i)/a&&(i-=o+=a-(n.top+n.height)%a)}if(this.freeSpace0&&(null!=e.containerInfo&&null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.parent.is(F)&&e.containerInfo.parentBand.componentType==C.Static?e.width=e.containerInfo.parentBand.parent.width:e.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(e.containerInfo.parentBand))return[2,null];return null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(d)&&(o=e.containerInfo.parentBand.getMaster()).componentType==C.Static&&this.breakable.setCanBreak(e),a=null!=e.containerInfo.parentBand&&null!=e.containerInfo.parentBand.page&&e.containerInfo.parentBand.page.unlimitedHeight,this.lastFreeSpaceOnPageAfterNewList>0&&e.height>this.lastFreeSpaceOnPageAfterNewList&&!e.canBreak&&!a&&(this.breakable.setCanBreak(e),s=-1,e.containerInfo.parentBand.is(f)&&(s=e.containerInfo.parentBand.position),l=n.format("Whilst the Can Break property was set to False the component {0}{1} was split because it couldn't be placed on the page entirely.",e.name,s>=0?n.format(" (position {0})",s):"")),[4,this.breakable.processBreakableAsync(e)];case 1:e=p.sent(),u=e.canBreak,c=this.report.renderedPages.count,p.label=2;case 2:return[4,this.checkFreeSpace1Async(e)];case 3:if(!p.sent())return[3,4];return[3,2];case 4:if(c!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(e),u==e.canBreak)return[3,6];return[4,this.breakable.processBreakableAsync(e)];case 5:e=p.sent(),p.label=6;case 6:return this.isCrossBandsMode?(e.top=this.positionY,this.crossFreeSpace-=e.width):(e.left=this.positionX,this.freeSpace=this.freeSpace-e.height),null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(t.Report.Components.StiPageFooterBand)?(e.top=this.positionBottomY-e.height,this.positionBottomY-=e.height):(this.isCrossBandsMode?e.left=this.positionX:e.top=this.positionY,i||r?(i&&this.footersOnAllPages.add(e),r&&this.printAtBottom.add(e)):this.isCrossBandsMode?this.positionX+=e.width:this.positionY+=e.height),this.addContainerToDestination(e),null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(f)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),[2,e]}}))}))},N.prototype.internalRenderContainer=function(e,r,i){if(this.columnsOnDataBand.enabled=!1,this.columnsOnPanel.count>0&&(null!=e.containerInfo&&null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.parent.is(F)&&e.containerInfo.parentBand.componentType==C.Static?e.width=e.containerInfo.parentBand.parent.width:e.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(e.containerInfo.parentBand))return null;var o;null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(d)&&(e.containerInfo.parentBand.getMaster().componentType==C.Static&&this.breakable.setCanBreak(e));var a=null!=e.containerInfo.parentBand&&null!=e.containerInfo.parentBand.page&&e.containerInfo.parentBand.page.unlimitedHeight;if(this.lastFreeSpaceOnPageAfterNewList>0&&e.height>this.lastFreeSpaceOnPageAfterNewList&&!e.canBreak&&!a){this.breakable.setCanBreak(e);var s=-1;e.containerInfo.parentBand.is(f)&&(s=e.containerInfo.parentBand.position);var l=n.format("Whilst the Can Break property was set to False the component {0}{1} was split because it couldn't be placed on the page entirely.",e.name,s>=0?n.format(" (position {0})",s):"")}var u=(e=this.breakable.processBreakable(e)).canBreak,c=this.report.renderedPages.count;while(this.checkFreeSpace1(e));return c!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(e),u!=e.canBreak&&(e=this.breakable.processBreakable(e)),this.isCrossBandsMode?(e.top=this.positionY,this.crossFreeSpace-=e.width):(e.left=this.positionX,this.freeSpace=this.freeSpace-e.height),null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(t.Report.Components.StiPageFooterBand)?(e.top=this.positionBottomY-e.height,this.positionBottomY-=e.height):(this.isCrossBandsMode?e.left=this.positionX:e.top=this.positionY,i||r?(i&&this.footersOnAllPages.add(e),r&&this.printAtBottom.add(e)):this.isCrossBandsMode?this.positionX+=e.width:this.positionY+=e.height),this.addContainerToDestination(e),null!=e.containerInfo.parentBand&&e.containerInfo.parentBand.is(f)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),e},N.specialContainerHeight2=1e11-100,N}();r.StiEngine=N}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.Report.Components.StiContainer);e.StiFooterMarkerContainer=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Report.Components.StiFooterBand,i=t.Report.Components.StiContainer,o=t.Report.Components.StiDataBand,a=function(){function a(t){this.bands=new r,this.engine=null,this.engine=t}return a.prototype.add=function(t){this.bands.set(t,t)},a.prototype.canProcess=function(t){var e=t.as(n);return null!=e&&e.printOnAllPages},a.prototype.render=function(a,s,l){var u,c,p,h,m,f,d,g;if(null==a||0==this.bands.count)return;for(var S=l.ref,y=new r,A=[],b=null,v=!0,C=s;C0){var I=B[B.length-1].as(i),T=a.components.indexOf(I);B.stimulsoft.removeAt(B.length-1),a.components.removeAt(C),a.components.insert(C,I),a.components.removeAt(T),C--,A.stimulsoft.remove(I);var E=I.height;I.top=w.top,this.engine.positionY+=I.height;for(var R=C+1;R0&&null!=e){var s=e.stimulsoft.as(i),l=!0;if(s.isPropertyPresent(n.propertyEvenStyle)){var u=!1;if(u=e.stimulsoft.is(n)?1==(1&e.position):0==(1&t.lineThrough)){var c=e.evenStyle,p;if(!r.isNullOrEmpty(c))null!=(p=t.styles.getByName(c))&&(p.setStyleToComponent(o),a=p,l=!1)}}if(l&&s.isPropertyPresent(n.propertyOddStyle)){var u=!1;if(!(u=e.stimulsoft.is(n)?1==(1&e.position):0==(1&t.lineThrough))){var h=e.oddStyle,p;if(!r.isNullOrEmpty(h))null!=(p=t.styles.getByName(h))&&(p.setStyleToComponent(o),a=p)}}}return a},t}();e.StiOddEvenStylesHelper=o}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Components.Table.StiTable,o=t.Report.CrossTab.StiCrossHorAlignment,a=t.Report.CrossTab.StiCrossTabHelper,s=t.Report.CrossTab.StiCrossTabParams,l=t.Report.CrossTab.StiCrossTab,u=t.Report.Engine.StiParser.StiParser,c=t.Report.Components.StiText,p=t.Report.Components.StiDataBand,h=t.Report.Components.StiSubReport,m=t.System.Collections.Hashtable,f=t.Report.Components.StiContainerHelper,d=t.Base.StiGuidUtils,g=t.Report.Components.StiComponentType,S=t.Base.Drawing.StiVertAlignment,y=t.Report.Components.StiDockStyle,A=t.Report.Components.StiContainer,b=t.Report.Components.StiPage,v=t.Report.Components.StiPanel,C=function(){function C(){}return C.createListOfDataBands=function(t,e,n,o,a){var s,u,c=null,f=t.getComponents();try{for(var d=__values(f.list),g=d.next();!g.done;g=d.next()){var S=g.value,y;if(null!=(y=S.as(p))&&(null==y.masterComponent||y.masterComponent==t.pageInfo.masterDataBand)){if(y.is(i)&&!y.enabled)continue;var A=!1;if(!y.isBusinessObjectEmpty){if(null!=y.businessObject.parentBusinessObject){var v=null;y.parent.is(b)&&e.length>0?v=e[e.length-1]:n.length>0&&(v=n[n.length-1]),null!=v&&(v.isBusinessObjectEmpty||v.businessObjectGuid!=y.businessObject.parentBusinessObject.guid?y.businessObject.parentBusinessObject.guid==c&&(A=!0):A=!0)}c=y.businessObjectGuid}A||(y.parent.is(b)?e.push(y):null==r.StiSubReportsHelper.getParentBand(y)&&n.push(y),c=null)}var C=S.as(h);null!=C&&C.enabled&&(null!=r.StiSubReportsHelper.getParentBand(C)||t.printOnPreviousPage||o.push(C));var w=S.as(l);null!=w&&S.enabled&&null==r.StiSubReportsHelper.getParentBand(S.as(l))&&a.push(w)}}catch(t){s={error:t}}finally{try{g&&!g.done&&(u=d.return)&&u.call(d)}finally{if(s)throw s.error}}var B=!0;while(B){B=!1;var I=new m,T=0;while(T0))return[3,5];h=void 0;try{for(j=void 0,d=__values(p.keys),S=d.next();!S.done;S=d.next())(h=S.value).canShrink=!1}catch(t){j={error:t}}finally{try{S&&!S.done&&(G=d.return)&&G.call(d)}finally{if(j)throw j.error}}return[4,u.renderAsync()];case 4:c=K.sent();try{for(H=void 0,y=__values(p.keys),b=y.next();!b.done;b=y.next())(h=b.value).canShrink=!0}catch(t){H={error:t}}finally{try{b&&!b.done&&(Q=y.return)&&Q.call(y)}finally{if(H)throw H.error}}return p.clear(),[3,7];case 5:return[4,u.renderAsync()];case 6:c=K.sent(),K.label=7;case 7:if(null==c)return[3,8];if(null!=o&&o.columns>1&&!c.is(t.Report.Components.StiCrossLinePrimitive)&&(o.rightToLeft?c.left+=e.width-i*(a+1)+o.columnGaps:c.left+=i*a),r.components.add(c),StiOptions.Engine.allowInteractionInChartWithComponents&&null!=(C=c)&&null!=C.chartInfo.interactiveComps)try{for(L=void 0,w=__values(C.chartInfo.interactiveComps),B=w.next();!B.done;B=w.next())(h=B.value).left+=c.left,h.top+=c.top,r.components.add(h)}catch(t){L={error:t}}finally{try{B&&!B.done&&(Y=w.return)&&Y.call(w)}finally{if(L)throw L.error}}K.label=8;case 8:return l=s.next(),[3,3];case 9:return[3,12];case 10:return I=K.sent(),O={error:I},[3,12];case 11:try{l&&!l.done&&(_=s.return)&&_.call(s)}finally{if(O)throw O.error}return[7];case 12:return a++,[3,1];case 13:f.checkSize(e.report.engine.containerForRender),T=new m,E=r.getComponents();try{for(R=__values(E.list),D=R.next();!D.done;D=R.next())h=D.value,null!=(P=h.as(A))&&(null==(x=T.get(P.name))&&(x=[],T.set(P.name,x)),x.push(P))}catch(t){U={error:t}}finally{try{D&&!D.done&&(J=R.return)&&J.call(R)}finally{if(U)throw U.error}}try{for(F=__values(T.values),N=F.next();!N.done;N=F.next()){x=N.value,a=1;try{for(z=void 0,k=__values(x),M=k.next();!M.done;M=k.next())(P=M.value).containerInfo.renderStep=a,a++}catch(t){z={error:t}}finally{try{M&&!M.done&&(X=k.return)&&X.call(k)}finally{if(z)throw z.error}}}}catch(t){W={error:t}}finally{try{N&&!N.done&&(V=F.return)&&V.call(F)}finally{if(W)throw W.error}}return e.report.column=1,r.dockToContainer(),[2]}}))}))},C.renderSimpleComponents=function(e,r){var n,i,o,a,s,l,u,c,p,h,d=0,S=0,y=e.as(v);null!=y&&(d=y.columns<2?1:y.columns,S=y.getColumnWidth()+y.columnGaps);for(var b=0;b1&&!I.is(t.Report.Components.StiCrossLinePrimitive)&&(y.rightToLeft?I.left+=e.width-S*(b+1)+y.columnGaps:I.left+=S*b),r.components.add(I),StiOptions.Engine.allowInteractionInChartWithComponents){var T=I;if(null!=T&&null!=T.chartInfo.interactiveComps)try{for(var E=(o=void 0,__values(T.chartInfo.interactiveComps)),R=E.next();!R.done;R=E.next()){var D;(D=R.value).left+=I.left,D.top+=I.top,r.components.add(D)}}catch(t){o={error:t}}finally{try{R&&!R.done&&(a=E.return)&&a.call(E)}finally{if(o)throw o.error}}}}}}catch(t){n={error:t}}finally{try{w&&!w.done&&(i=C.return)&&i.call(C)}finally{if(n)throw n.error}}}f.checkSize(e.report.engine.containerForRender);var P=new m,x=r.getComponents();try{for(var F=__values(x.list),N=F.next();!N.done;N=F.next()){var D,k,M;if(null!=(k=(D=N.value).as(A)))null==(M=P.get(k.name))&&(M=[],P.set(k.name,M)),M.add(k)}}catch(t){s={error:t}}finally{try{N&&!N.done&&(l=F.return)&&l.call(F)}finally{if(s)throw s.error}}try{for(var O=__values(P.values),_=O.next();!_.done;_=O.next()){var M=_.value,b=1;try{for(var j=(p=void 0,__values(M)),G=j.next();!G.done;G=j.next()){var k;(k=G.value).containerInfo.renderStep=b,b++}}catch(t){p={error:t}}finally{try{G&&!G.done&&(h=j.return)&&h.call(j)}finally{if(p)throw p.error}}}}catch(t){u={error:t}}finally{try{_&&!_.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}e.report.column=1,r.dockToContainer()},C.checkContainerForBandsAndOtherContainers=function(t,r){var n,i;if(null==t)return!1;var o=t.as(A);if(null!=o&&o.components.count>0){o.canShrink&&r.set(o,null);var a=void 0;try{for(var s=__values(o.components.list),l=s.next();!l.done;l=s.next()){if((a=l.value).is(e.Components.StiBand))return!0;if(this.checkContainerForBandsAndOtherContainers(a,r))return!0;break}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}return!1},C.prepareBookmark=function(t){t.parentBookmark=t.report.bookmark,t.doBookmark()},C.renderPageAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,u,c,p,h,m,f,d,g,S,y,v,w,B,S,I,T,E,R,S,D,P,x,F,g,N,k,M,O,_,j,G,H,Q,L,Y,g,S,U,J,W,V,B,S,z,X,K,Z,q,$,tt,et,R,S,rt,nt,it,ot,at,st,lt,ut,ct,pt,ht,mt,ft,dt,gt,St,yt,At,bt,vt,Ct,wt,Bt,It,Tt,Et,Rt,Dt,Pt,xt,Ft,Nt,kt,Mt,Ot;return __generator(this,(function(_t){switch(_t.label){case 0:t.invokeBeginRender(),t.resetPageNumber&&(null!=t.pageInfo&&-1!=t.pageInfo.indexOfStartRenderedPages?t.report.engine.pageNumbers.resetPageNumber(t.pageInfo.indexOfStartRenderedPages):t.report.engine.pageNumbers.resetPageNumber()),e=C.getReportTitles(t),n=C.getReportSummaries(t),u=[],c=[],p=[],h=[],C.createListOfDataBands(t,u,c,p,h),m=t.report.engine,_t.label=1;case 1:_t.trys.push([1,6,7,8]),f=__values(c),d=f.next(),_t.label=2;case 2:if(d.done)return[3,5];return g=d.value,[4,m.threads.createContainerEngineAsync(g.parent.name,t.report,m,t.pageInfo.indexOfStartRenderedPages)];case 3:S=_t.sent(),t.report.engine.slaveEngines.set(g.parent.name,S),S.printOnAllPagesIgnoreList=m.printOnAllPagesIgnoreList,_t.label=4;case 4:return d=f.next(),[3,2];case 5:return[3,8];case 6:return y=_t.sent(),dt={error:y},[3,8];case 7:try{d&&!d.done&&(gt=f.return)&>.call(f)}finally{if(dt)throw dt.error}return[7];case 8:_t.trys.push([8,13,14,15]),v=__values(p),w=v.next(),_t.label=9;case 9:if(w.done)return[3,12];return B=w.value,[4,m.threads.createContainerEngineAsync(B.name,t.report,m,t.pageInfo.indexOfStartRenderedPages)];case 10:S=_t.sent(),t.report.engine.slaveEngines.set(B.name,S),_t.label=11;case 11:return w=v.next(),[3,9];case 12:return[3,15];case 13:return I=_t.sent(),St={error:I},[3,15];case 14:try{w&&!w.done&&(yt=v.return)&&yt.call(v)}finally{if(St)throw St.error}return[7];case 15:_t.trys.push([15,20,21,22]),T=__values(h),E=T.next(),_t.label=16;case 16:if(E.done)return[3,19];return R=E.value,[4,m.threads.createContainerEngineAsync(R.name,t.report,m,t.pageInfo.indexOfStartRenderedPages)];case 17:S=_t.sent(),t.report.engine.slaveEngines.set(R.name,S),_t.label=18;case 18:return E=T.next(),[3,16];case 19:return[3,22];case 20:return D=_t.sent(),At={error:D},[3,22];case 21:try{E&&!E.done&&(bt=T.return)&&bt.call(T)}finally{if(At)throw At.error}return[7];case 22:if(!(u.length>0))return[3,31];P=1,_t.label=23;case 23:_t.trys.push([23,28,29,30]),x=__values(u),F=x.next(),_t.label=24;case 24:if(F.done)return[3,27];if((g=F.value).is(i)&&!g.enabled)return[3,26];return 1==P&&(t.report.engine.isFirstDataBandOnPage=!0,g.dataBandInfo.reportTitles=e),P==u.length&&(t.report.engine.isLastDataBandOnPage=!0,g.dataBandInfo.reportSummaries=n),g.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,[4,g.renderMasterAsync()];case 25:_t.sent(),g.dataBandInfo.reportTitles=null,g.dataBandInfo.reportSummaries=null,t.report.engine.isFirstDataBandOnPage=!1,t.report.engine.isLastDataBandOnPage=!1,P++,_t.label=26;case 26:return F=x.next(),[3,24];case 27:return[3,30];case 28:return N=_t.sent(),vt={error:N},[3,30];case 29:try{F&&!F.done&&(Ct=x.return)&&Ct.call(x)}finally{if(vt)throw vt.error}return[7];case 30:return[3,47];case 31:if(null==e)return[3,39];_t.label=32;case 32:_t.trys.push([32,37,38,39]),k=__values(e),M=k.next(),_t.label=33;case 33:if(M.done)return[3,36];if(!(O=M.value).printIfEmpty)return[3,35];return O.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,O.doBookmark(),[4,t.report.engine.renderBandAsync(O)];case 34:_t.sent(),_t.label=35;case 35:return M=k.next(),[3,33];case 36:return[3,39];case 37:return _=_t.sent(),wt={error:_},[3,39];case 38:try{M&&!M.done&&(Bt=k.return)&&Bt.call(k)}finally{if(wt)throw wt.error}return[7];case 39:if(null==n)return[3,47];_t.label=40;case 40:_t.trys.push([40,45,46,47]),j=__values(n),G=j.next(),_t.label=41;case 41:if(G.done)return[3,44];if(!(H=G.value).printIfEmpty)return[3,43];return H.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,H.doBookmark(),[4,t.report.engine.renderBandAsync(H)];case 42:_t.sent(),_t.label=43;case 43:return G=j.next(),[3,41];case 44:return[3,47];case 45:return Q=_t.sent(),It={error:Q},[3,47];case 46:try{G&&!G.done&&(Tt=j.return)&&Tt.call(j)}finally{if(It)throw It.error}return[7];case 47:_t.trys.push([47,,56,57]),_t.label=48;case 48:_t.trys.push([48,53,54,55]),L=__values(c),Y=L.next(),_t.label=49;case 49:if(Y.done)return[3,52];return g=Y.value,0==(S=m.slaveEngines.get(g.parent.name)).freeSpace&&(S.freeSpace=g.parent.height),U=g.parent.height,null!=g.parent&&g.parent.canGrow&&g.parent.parent.is(b)&&S.freeSpace<1e11/2&&(S.freeSpace=m.positionBottomY-g.parent.top,null!=S.containerForRender&&(S.containerForRender.height=S.freeSpace)),t.report.engine=S,null!=S.containerForRender&&(g.parentBookmark=S.containerForRender.currentBookmark),[4,g.renderMasterAsync()];case 50:_t.sent(),_t.label=51;case 51:return Y=L.next(),[3,49];case 52:return[3,55];case 53:return J=_t.sent(),Et={error:J},[3,55];case 54:try{Y&&!Y.done&&(Rt=L.return)&&Rt.call(L)}finally{if(Et)throw Et.error}return[7];case 55:return[3,57];case 56:return t.report.engine=m,[7];case 57:_t.trys.push([57,,67,68]),_t.label=58;case 58:_t.trys.push([58,64,65,66]),W=__values(p),V=W.next(),_t.label=59;case 59:if(V.done)return[3,63];return B=V.value,S=m.slaveEngines.get(B.name),t.report.engine=S,(z=new A(B.clientRectangle)).name="Temp Container",z.canBreak=!0,[4,r.StiSubReportsHelper.renderSubReportAsync(z,B)];case 60:_t.sent(),X=0;try{for(xt=void 0,K=__values(z.components.list),Z=K.next();!Z.done;Z=K.next())q=Z.value,X=Math.max(q.bottom,X)}catch(t){xt={error:t}}finally{try{Z&&!Z.done&&(Ft=K.return)&&Ft.call(K)}finally{if(xt)throw xt.error}}if(z.height=X,null==S.containerForRender)return[3,62];return[4,S.renderContainerAsync(z)];case 61:_t.sent(),_t.label=62;case 62:return V=W.next(),[3,59];case 63:return[3,66];case 64:return $=_t.sent(),Dt={error:$},[3,66];case 65:try{V&&!V.done&&(Pt=W.return)&&Pt.call(W)}finally{if(Dt)throw Dt.error}return[7];case 66:return[3,68];case 67:return t.report.engine=m,[7];case 68:_t.trys.push([68,,82,83]),_t.label=69;case 69:_t.trys.push([69,79,80,81]),tt=__values(h),et=tt.next(),_t.label=70;case 70:if(et.done)return[3,78];R=et.value,S=m.slaveEngines.get(R.name).stimulsoft.as(r.StiEngine),t.report.engine=S,rt=new s,nt=R,a.createCross(nt),_t.label=71;case 71:if(rt.renderingIsFinished||null==S.containerForRender)return[3,76];return nt.horAlignment==o.None?S.containerForRender.width=S.containerForRender.parent.width-S.containerForRender.left:S.containerForRender.width=S.containerForRender.parent.width,it=!1,S.containerForRender.parent.canShrink&&0==S.containerForRender.parent.height?(ot=t.getComponents().getByName(S.containerForRender.parent.name),it=!0,S.containerForRender.parent.width=ot.width,S.containerForRender.parent.height=ot.height,S.containerForRender.width=ot.width,S.containerForRender.height=ot.height):S.containerForRender.height=S.containerForRender.parent.height-S.containerForRender.top,rt.destinationRectangle=S.containerForRender.clientRectangle.clone(),rt.destinationContainer=S.containerForRender,[4,(at=r.StiBuilder.getBuilder(l).stimulsoft.as(r.StiCrossTabBuilder)).renderCrossTabAsync(rt,nt)];case 72:if(_t.sent(),it&&(st=S.containerForRender.parent.getActualSize(),S.containerForRender.parent.width=st.width,S.containerForRender.parent.height=st.height),rt.renderingIsFinished)return[3,75];if(!(S.containerForRender.parent.height>r.StiEngine.specialContainerHeight2))return[3,73];return(lt=new r.StiNewPageContainer).top=S.positionY,lt.height=S.templatePage.height0){var X=1;try{for(var K=__values(k),Z=K.next();!Z.done;Z=K.next()){var Q;if((Q=Z.value).is(i)&&!Q.enabled)continue;1==X&&(t.report.engine.isFirstDataBandOnPage=!0,Q.dataBandInfo.reportTitles=F),X==k.length&&(t.report.engine.isLastDataBandOnPage=!0,Q.dataBandInfo.reportSummaries=N),Q.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,Q.renderMaster(),Q.dataBandInfo.reportTitles=null,Q.dataBandInfo.reportSummaries=null,t.report.engine.isFirstDataBandOnPage=!1,t.report.engine.isLastDataBandOnPage=!1,X++}}catch(t){m={error:t}}finally{try{Z&&!Z.done&&(f=K.return)&&f.call(K)}finally{if(m)throw m.error}}}else{if(null!=F)try{for(var q=__values(F),$=q.next();!$.done;$=q.next()){var tt=$.value;tt.printIfEmpty&&(tt.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,tt.doBookmark(),t.report.engine.renderBand(tt))}}catch(t){d={error:t}}finally{try{$&&!$.done&&(g=q.return)&&g.call(q)}finally{if(d)throw d.error}}if(null!=N)try{for(var et=__values(N),rt=et.next();!rt.done;rt=et.next()){var nt=rt.value;nt.printIfEmpty&&(nt.parentBookmark=null!=t.report.engine.page?t.report.engine.page.currentBookmark:t.currentBookmark,nt.doBookmark(),t.report.engine.renderBand(nt))}}catch(t){S={error:t}}finally{try{rt&&!rt.done&&(y=et.return)&&y.call(et)}finally{if(S)throw S.error}}}try{try{for(var it=__values(M),ot=it.next();!ot.done;ot=it.next()){var Q=ot.value,L;0==(L=j.slaveEngines.get(Q.parent.name)).freeSpace&&(L.freeSpace=Q.parent.height),null!=Q.parent&&Q.parent.canGrow&&Q.parent.parent.is(b)&&L.freeSpacer.StiEngine.specialContainerHeight2){var vt=new r.StiNewPageContainer;vt.top=L.positionY,vt.height=L.templatePage.height0&&i.watermark.text.stimulsoft.contains("{")&&i.watermark.text.stimulsoft.contains("}")&&!i.watermark.text.stimulsoft.contains("{{")&&!i.watermark.text.stimulsoft.contains("}}"))try{(o=new t.Report.Components.StiText).page=i,a=r.StiParser.StiParser.parseTextValue(i.watermark.text,o),i.watermark.text=a.toString()}catch(t){}if(null!=i.watermark&&!n.isNullOrEmpty(i.watermark.enabledExpression))try{(o=new c).page=i,(s=i.watermark.enabledExpression.trim()).stimulsoft.startsWith("{")||(s="{"+s),s.stimulsoft.endsWith("}")||(s+="}"),l=u.parseTextValue(s,o),i.watermark.enabled=l.stimulsoft.toBoolean()}catch(t){}return e.pageInfo.renderedCount>0&&(i.guid=d.newGuid()),i.invokeEvents(),[4,this.renderOverlaysAsync(e,i)];case 1:return p.sent(),e.pageInfo.renderedCount++,[2,i]}}))}))},C.getPageFromTemplate=function(e){var i=e.clone(!1,!1);if(StiOptions.Engine.Watermark.allowExpression&&null!=i.watermark&&null!=i.watermark.text&&i.watermark.text.length>0&&i.watermark.text.stimulsoft.contains("{")&&i.watermark.text.stimulsoft.contains("}")&&!i.watermark.text.stimulsoft.contains("{{")&&!i.watermark.text.stimulsoft.contains("}}"))try{var o;(o=new t.Report.Components.StiText).page=i;var a=r.StiParser.StiParser.parseTextValue(i.watermark.text,o);i.watermark.text=a.toString()}catch(t){}if(null!=i.watermark&&!n.isNullOrEmpty(i.watermark.enabledExpression))try{var o;(o=new c).page=i;var s=i.watermark.enabledExpression.trim();s.stimulsoft.startsWith("{")||(s="{"+s),s.stimulsoft.endsWith("}")||(s+="}");var l=u.parseTextValue(s,o);i.watermark.enabled=l.toBoolean()}catch(t){}return e.pageInfo.renderedCount>0&&(i.guid=d.newGuid()),i.invokeEvents(),this.renderOverlays(e,i),e.pageInfo.renderedCount++,i},C}();r.StiPageHelper=C}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){this.resetPageNumber=!1,this.pageNumber=-1,this.totalPageCount=-1,this.pageNumberThrough=-1,this.totalPageCountThrough=-1,this.segmentPerWidth=1,this.segmentPerHeight=1,this.fixedPosition=!1}return Object.defineProperty(t.prototype,"step",{get:function(){return this.segmentPerWidth*this.segmentPerHeight},enumerable:!1,configurable:!0}),t}();t.StiPageNumber=e}(e=t.Engine||(t.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.System.Collections.CollectionBase);e.StiPageNumberCollection=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiPage,n=function(){function t(t){this.engine=null,this.finished=!1,this._clearPageNumbersOnFinish=!0,this._pageNumbers=new e.StiPageNumberCollection,this.engine=t}return Object.defineProperty(t.prototype,"clearPageNumbersOnFinish",{get:function(){return this._clearPageNumbersOnFinish},set:function(t){this._clearPageNumbersOnFinish=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageNumbers",{get:function(){return this._pageNumbers},set:function(t){this._pageNumbers=t},enumerable:!1,configurable:!0}),t.prototype.resetPageNumber=function(t){void 0===t&&(t=this.pageNumbers.count-1),t=this.pageNumbers.count){var i=new e.StiPageNumber;i.segmentPerWidth=r,i.segmentPerHeight=n,this.pageNumbers.add(i)}},t.prototype.getPageNumber=function(t){var e;if(e=t.stimulsoft.is(r)?this.engine.report.renderedPages.indexOf(t):t,!this.finished){if(0==this.engine.report.renderedPages.count)return 1;if(null!=this.pageNumbers&&e>=0&&ethis.engine.report.renderedPages.count)this.pageNumbers.removeAt(this.engine.report.renderedPages.count);var i=0,o=0;try{for(var a=__values(this.pageNumbers.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages&&o0){var t=this.pageNumbers.count-1;while(t>=0&&!this.pageNumbers.getByIndex(t).fixedPosition)this.pageNumbers.removeAt(t),t--}},t}();e.StiPageNumberHelper=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiImageProcessingDuplicatesType,n=t.Report.Components.StiProcessingDuplicatesType,i=t.Report.Components.StiImage,o=t.Report.Components.IStiText,a=t.Report.Components.StiComponentsCollection,s;!function(t){t[t["Text"]=0]="Text",t[t["Image"]=1]="Image"}(s=e.TypeOfDuplicates||(e.TypeOfDuplicates={}));var l=function(){function t(){}return t.prototype.compare=function(t,e){return t.top.stimulsoft.compareTo(e.top)},t}();e.StiMergeComparer=l;var u=function(){function t(){}return t.isImageEqual=function(t,e){return!1},t.postProcessDuplicates=function(e,u,c){var p,h;if(void 0===c&&(c=null),null==c)return t.postProcessDuplicates(e,u,s.Text),void t.postProcessDuplicates(e,u,s.Image);var m=[],f=!1,d=new a;try{for(var g=__values(e.list),S=g.next();!S.done;S=g.next()){var y=S.value,A,b;if(y.is(o)&&y.processingDuplicates!=n.None&&c==s.Text||y.is(i)&&y.processingDuplicates!=r.None&&c==s.Image)f=!0,d.add(y),null==(A=m[y.width])&&(A=[],m[y.width]=A),null==(b=A[y.left])&&(b=[],A[y.left]=b),b.push(y)}}catch(t){p={error:t}}finally{try{S&&!S.done&&(h=g.return)&&h.call(g)}finally{if(p)throw p.error}}if(!f)return;for(var v in m){var A=m[v];for(var C in A){var b;(b=A[C]).stimulsoft.sort2(new l);var w=0;while(w=Math.round2(T,2)&&N==F))break;P!=n.Merge&&P!=n.GlobalMerge&&P!=n.BasedOnTagMerge||(B.height+=R.bottom-B.bottom),P==n.RemoveText||P==n.GlobalRemoveText||P==n.BasedOnTagRemoveText?(R.setTextInternal(""),w++,E++):(T+=R.height,R.parent.components.remove(R),b.stimulsoft.removeAt(E))}else if(c==s.Image){if(!(Math.round2(R.top,2)>=Math.round2(T,2)&&t.isImageEqual(R.imageToDraw,B.imageToDraw)))break;B.processingDuplicates!=r.Merge&&B.processingDuplicates!=r.GlobalMerge||(B.height+=R.bottom-B.bottom),B.processingDuplicates==r.RemoveImage||B.processingDuplicates==r.GlobalRemoveImage?(R.imageToDraw=null,w++,E++):(T+=R.height,R.parent.components.remove(R),b.stimulsoft.removeAt(E))}}else E++;I=D}w++}}}},t}();e.StiPostProcessDuplicatesHelper=u}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.StiGuidUtils,i=t.System.StiArray,o=t.Report.Components.StiImage,a=t.Report.Components.StiImageProcessingDuplicatesType,s=t.Report.Components.StiPagesCollection,l=t.Report.Components.StiPointPrimitive,u=t.System.Collections.Hashtable,c=t.Report.Components.StiEndPointPrimitive,p=t.Report.Components.StiCrossLinePrimitive,h=t.Report.Components.StiPrimitive,m=t.Report.Components.StiStartPointPrimitive,f=t.System.Drawing.Point,d=t.Report.Components.StiRoundedRectanglePrimitive,g=t.Report.Components.StiRectanglePrimitive,S=t.Report.Components.StiDockStyle,y=t.Report.Components.StiText,A=t.Report.Components.IStiText,b=t.Report.Components.StiProcessingDuplicatesType,v=t.Report.Components.StiPrintOnType,C=t.Report.Components.StiVerticalLinePrimitive,w=t.Report.Components.StiHorizontalLinePrimitive,B=t.Report.Components.StiContainer,I=t.Report.Components.StiComponentsCollection,T=t.Report.Components.StiPanel,E=function(){function E(){}return E.postProcessPages=function(t){var r,n,o,a,s=0,l=0;try{for(var u=__values(t.list),c=u.next();!c.done;c=u.next()){var p;l+=(p=c.value).segmentPerWidth*p.segmentPerHeight}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var h=i.create(Boolean,l+1),m=i.create(Boolean,l+1);l>0&&(h[1]=!0),m[l]=!0;var f=null;if(null!=t.report&&null!=t.report.engine&&null!=t.report.engine.pageNumbers){t.report.reportPass==e.StiReportPass.Second&&(f=t.report.engine.pageNumbers);var d=t.report.engine.pageNumbers;s=1;for(var g=Math.min(t.count,d.pageNumbers.count),S=0;S0){b=t.getComponents(),A.stimulsoft.clear();try{for(var R=__values(b.list),D=R.next();!D.done;D=R.next()){var w;if(!(w=D.value).is(h))continue;var P=w.as(m),x;if(null!=P){if(null==P.referenceToGuid)continue;var F=t.as(T),N=g.get(P.referenceToGuid);null==N&&(N=new Array,g.set(P.referenceToGuid,N),null!=F&&F.columns>1&&N.push(P)),(null!=F&&F.columns<2||null==F)&&N.push(P);continue}if(null==(x=w.as(c)))continue;E.processOneEndPoint(g,y,t,e,x)||A.push(x)}}catch(t){l={error:t}}finally{try{D&&!D.done&&(u=R.return)&&u.call(R)}finally{if(l)throw l.error}}try{for(var k=__values(A),M=k.next();!M.done;M=k.next()){var x=M.value;E.processOneEndPoint(g,y,t,e,x)}}catch(t){f={error:t}}finally{try{M&&!M.done&&(d=k.return)&&d.call(k)}finally{if(f)throw f.error}}}r.ref=g,n.ref=S,i.ref=y,o.ref=A},E.processOneEndPoint=function(t,e,r,n,i){if(null==i.referenceToGuid)return!1;var o=t.get(i.referenceToGuid);if(null==o||0==o.length)return!1;t.set(i.referenceToGuid,null);var a=o[0],s=e.get(a.referenceToGuid);if(null==s)return!0;var l=o[0],u=null;return E.processOnePrimitive(n,r,s,l,u,i),!0},E.processOnePrimitive=function(t,e,r,n,i,o){var a=n.componentToPage(new f(n.left,n.top)),s=o.componentToPage(new f(o.left,o.top)),l=n.storedColumn,u=o.storedColumn;l=Math.max(1,l),u=Math.max(1,u);var c=-1;if(null!=i&&(c=i.storedColumn,c=Math.max(1,c)),n.page!=o.page||l!=u){var p=null==t?1:t.indexOf(n.page),h=null==t?1:t.indexOf(o.page),m=-1;null!=i&&null!=t&&(m=t.indexOf(i.page));for(var d=p;d<=h;d++){if(p!=h&&null!=i&&m==h&&d==h)continue;var g=t.getByIndex(d);g!=n.page&&(l=1),g!=o.page&&(u=Math.max(g.columns,u));for(var S=0,y=l;y<=u;y++){var A=g.pageInfo.positionFromTop,b=g.pageInfo.positionFromBottom,v=g.getColumnWidth()+g.columnGaps,C=a.x,w=a.y,B=s.x,I=s.y;if(l!=u){B-=v*Math.min(u-l,g.columns);while(B0)B+=v}d==p&&l==y?E.addPrimitive(r,new f(S+C,w),new f(S+B,b),g):d==h&&u==y?E.addPrimitive(r,new f(S+C,A),new f(S+B,I),g):E.addPrimitive(r,new f(S+C,A),new f(S+B,b),g),S+=v}}}else E.addPrimitive(r,a,s,e)},E.addPrimitive=function(t,e,r,n){var i;if(t.is(d))(i=t.clone()).guid=E.nullGuid,i.left=e.x,i.top=e.y,i.width=r.x-e.x,i.height=r.y-e.y,n.components.add(i);else if(t.is(g)){if(t.leftSide){var o=new C;o.name=t.name+"_Left",o.guid=E.nullGuid,o.page=t.page,o.left=e.x,o.top=e.y,o.height=r.y-e.y,o.color=t.color,o.style=t.style,o.size=t.size,n.components.add(o)}if(t.rightSide){var a=new C;a.name=t.name+"_Right",a.guid=E.nullGuid,a.page=t.page,a.left=r.x,a.top=e.y,a.height=r.y-e.y,a.color=t.color,a.style=t.style,a.size=t.size,n.components.add(a)}if(t.topSide){var s=new w;s.name=t.name+"_Top",s.page=t.page,s.left=e.x,s.top=e.y,s.height=t.page.unit.convertFromHInches(1),s.width=r.x-e.x,s.color=t.color,s.style=t.style,s.size=t.size,n.components.add(s)}if(t.bottomSide){var l=new w;l.name=t.name+"_Bottom",l.page=t.page,l.left=e.x,l.top=r.y,l.height=t.page.unit.convertFromHInches(1),l.width=r.x-e.x,l.color=t.color,l.style=t.style,l.size=t.size,n.components.add(l)}}else{var i;(i=t.clone()).guid=E.nullGuid,i.left=e.x,i.top=e.y,i.width=r.x-e.x,i.height=r.y-e.y,n.components.add(i)}},E.copyStyles=function(t,e){t.style=e.style,t.color=e.color,t.size=e.size},E.postProcessPage=function(i,s,l,c){var p,h,m,f;void 0===c&&(c=!0),E.postProcessPrintOn(i.components,s,l);var d=i.getComponents();i.dockToContainer();try{for(var g=__values(d.list),v=g.next();!v.done;v=g.next()){var C;(C=v.value).dockStyle=S.None,C.page=i;var w=C.as(y);null!=w&&w.shrinkFontToFit&&(w.font=w.getActualFont(w.text,w.shrinkFontToFitMinimumSize))}}catch(t){p={error:t}}finally{try{v&&!v.done&&(h=g.return)&&h.call(g)}finally{if(p)throw p.error}}var B=new u;try{for(var I=__values(d.list),T=I.next();!T.done;T=I.next()){var C;(C=T.value).is(A)&&C.processingDuplicates!=b.None&&B.set(C,C.parent),C.is(o)&&C.processingDuplicates!=a.None&&B.set(C,C.parent)}}catch(t){m={error:t}}finally{try{T&&!T.done&&(f=I.return)&&f.call(I)}finally{if(m)throw m.error}}if(c&&(i.clearPage(),(s||l)&&!t.Base.izjrG.dVOOk.yoidW()&&null!=i.report)){var R=i.report.unit.convertFromHInches(200),D=i.report.unit.convertFromHInches(52),P=new Rectangle((i.width-R)/2,i.height-D,R,D),x=new o(P);x.stretch=!0,x.printable=!1,x.image=t.Report.Export.StiExportUtils.getAdditionalData2(192),x.name=e.StiNameValidator.correctName(n.newGuid().substr(0,8))/*,i.components.add(x)*/}r.StiPostProcessDuplicatesHelper.postProcessDuplicates(d,B),B.clear(),B=null},E.postProcessPrintOn=function(t,e,r){var n=0;while(n0&&e)return!1;if(t.printOn==v.OnlyFirstAndLastPage)return!(!e&&!r);if((t.printOn&v.OnlyFirstPage)>0&&!e)return!1;if((t.printOn&v.OnlyLastPage)>0&&!r)return!1;if((t.printOn&v.ExceptLastPage)>0&&r)return!1;return!0},E.nullGuid="nullGuid",E}();r.StiPostProcessProvider=E}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.Report.Components.StiFooterBand,i=t.Report.Components.StiContainer,o=function(){function o(t){this.bands=new r,this.engine=null,this.engine=t}return o.prototype.canProcess=function(e){var r=e.stimulsoft.as(t.Report.Components.IStiPrintAtBottom);return null!=r&&r.printAtBottom},o.prototype.add=function(t){this.bands.set(t,t)},o.prototype.render=function(t,r,o){var a,s;if(null==t||0==this.bands.count)return;for(var l=[],u=-1,c=!1,p=r;p1&&(h.top+=(this.engine.page.pageHeight-this.engine.page.margins.top-this.engine.page.margins.bottom)*(this.engine.page.segmentPerHeight-1)),this.engine.positionBottomY-=h.height,h.containerInfo.parentBand.stimulsoft.is(n)&&h.containerInfo.parentBand.printOnAllPages&&(this.engine.positionY-=h.height)}}catch(t){a={error:t}}finally{try{S&&!S.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}this.bands.clear()},o}();e.StiPrintAtBottom=o}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Report.Components.StiRichText,o=t.System.Drawing.Printing.PaperKind,a=t.Report.Components.Table.StiTableAutoWidthType,s=t.Report.Components.Table.StiTableCellImage,l=t.Report.Components.Table.StiTablceCellType,u=t.Report.Components.Table.StiColumnSize,c=t.Report.Components.Table.StiTableAutoWidth,p=t.Report.Components.Table.IStiTableCell,h=t.Report.Components.Table.StiTable,m=t.System.EventArgs,f=t.Report.Components.StiDataBand,d=t.Report.Components.StiSubReport,g=t.Report.Components.StiCondition,S=t.Report.Components.StiMultiCondition,y=t.Report.Components.StiMargins,A=t.Report.Components.StiText,b=t.Report.Components.StiProcessAt,v=t.System.Collections.Hashtable,C=t.Report.Components.StiDataHelper,w=t.Report.Components.StiFilterMode,B=t.Report.Components.StiPagesCollection,I=t.Report.Components.StiPrintOnType,T=t.Report.Dictionary.StiDataSourceHelper,E=t.Report.Engine.StiParser.StiParser,R=t.Report.StiReportCacheMode,D=t.Report.Components.StiContainer,P=t.Report.Components.StiPage,x=t.System.StiPromise,F=function(){function F(){}return F.renderAsync=function(a,s){return __awaiter(this,void 0,void 0,(function(){var l,u,p,m,d,y,B,I,R,x,N,k,x,M,O,_,j,G,H,Q,L,Y,U,x,J,W,V,z,X,K,Z,q,$,tt,Z,et,rt,nt,it,ot,at,st,lt,m,ut,ct,pt,ht,mt,ft,dt,gt,St,yt,At,bt,vt,Ct,wt,Bt,It,Tt,Et,Rt,Dt,Pt,Dt,Pt,xt,Ft,Nt,kt,Mt,m,Ot,_t,Z,jt,Gt,Ht,Qt,Lt,Yt,Qt,Ut,Jt,Wt,Vt,K,zt,Xt,Kt,m,Zt,qt,$t,te,ee,re,ne,ie,oe,ae,se,le,ue,ce,pe,he,me,fe,de,ge,Se,ye,Ae,be,ve,Ce,we,Be;return __generator(this,(function(Ie){switch(Ie.label){case 0:l=a.getComponents();try{for(u=__values(l.list),p=u.next();!p.done;p=u.next())if(m=p.value,null!=(d=m.as(A))&&d.processAt==b.EndOfPage){a.engine.allowEndOfPageProcessing=!0;break}}catch(t){Zt={error:t}}finally{try{p&&!p.done&&(qt=u.return)&&qt.call(u)}finally{if(Zt)throw Zt.error}}if(F.initReport(a),F.checkDialogsInPreview(a))return[3,2];y=T.getDataSourcesUsedInRequestFromUsersVariables(a),B=new v;try{for(I=__values(a.dictionary.dataSources.list),R=I.next();!R.done;R=I.next())x=R.value,y.containsKey(x.name)||(B.set(x.name,x.connectOnStart),x.connectOnStart=!1)}catch(t){$t={error:t}}finally{try{R&&!R.done&&(te=I.return)&&te.call(I)}finally{if($t)throw $t.error}}return[4,F.connectToDataAsync(a)];case 1:Ie.sent();try{for(N=__values(a.dictionary.dataSources.list),k=N.next();!k.done;k=N.next())x=k.value,B.containsKey(x.name)&&(x.connectOnStart=B.get(x.name))}catch(t){ee={error:t}}finally{try{k&&!k.done&&(re=N.return)&&re.call(N)}finally{if(ee)throw ee.error}}return r.StiVariableHelper.fillItemsOfVariables(a.compiledReport?null:a),a.pages.count>0&&1==a.renderedPages.count&&(M=a.pages.getByIndex(0),(O=a.renderedPages.getByIndex(0)).paperSize=M.paperSize,O.orientation=M.orientation,M.paperSize==o.Custom&&(O.width=M.width,O.height=M.height)),[2];case 2:if(null==a.subReportsMasterReport&&a.renderedPages.clear(),_=F.getNumberOfPass(a),j=F.isDialogsOnStartExist(a))return[3,4];return[4,F.renderFirstPassAsync(a,_)];case 3:Ie.sent(),Ie.label=4;case 4:G=a.subReportsMasterReport,H=new v,Q=null,Ie.label=5;case 5:Ie.trys.push([5,9,10,11]),L=F.prepareSubReportsAndDrillDownPages(a),null==G&&a.renderedPages.clear(),a.invokeBeginRender(),F.clearTotals(a);try{for(Y=__values(a.dictionary.dataSources.list),U=Y.next();!U.done;U=Y.next())x=U.value}catch(t){ne={error:t}}finally{try{U&&!U.done&&(ie=Y.return)&&ie.call(Y)}finally{if(ne)throw ne.error}}return[4,F.connectToDataAsync(a)];case 6:return Ie.sent(),J=r.StiVariableHelper.fillItemsOfVariables(a.compiledReport?a.compiledReport:a),[4,r.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(a.compiledReport?a.compiledReport:a,J)];case 7:Ie.sent(),a.bookmark.bookmarks.clear(),a.bookmark.text=a.reportAlias,a.reportPass!=e.StiReportPass.First&&a.reportPass!=e.StiReportPass.None||F.initCacheMode(a),W=a.getComponents(),V=[];try{for(z=__values(W.list),X=z.next();!X.done;X=z.next())if(K=X.value,null!=(Z=K.as(h))&&Z.enabled){V.push(Z);continue}}catch(t){oe={error:t}}finally{try{X&&!X.done&&(ae=z.return)&&ae.call(z)}finally{if(oe)throw oe.error}}if(a.containsTables=0!=V.length,V.length>0){for(q=new v,$=!1,tt=0;tt0){ut=[];try{for(pe=void 0,ct=__values(m.conditions.list),pt=ct.next();!pt.done;pt=ct.next())if(ht=pt.value,mt=ht.stimulsoft.as(g),ft=null,ht.stimulsoft.is(S)){if((dt=ht.stimulsoft.as(S)).filterOn&&dt.filters.count>0){for(gt="{",St=0;St0&&a.engine.parserConversionStore.set("*StiConditionExpression*"+m.name,ut)}if(null!=(At=m.as(A))&&E.checkForDataBandsUsedInPageTotals(At),m.is(i)&&StiOptions.Engine.fullTrust){bt=m.as(i),vt="";try{(Ct=i.notSupportedText).length>0&&a.engine.parserConversionStore.set("*StiRichTextExpression*"+m.name,Ct)}catch(r){wt=n.format("Expression in Text property of '{0}' can't be evaluated! {1}",m.name,r.message),t.System.StiError.showError(wt,!1),e.StiLogService.write(m.stimulsoft.getType(),wt),e.StiLogService.write(m.stimulsoft.getType(),r),a.writeToReportRenderingMessages(wt)}}m.is(f)&&null!=m.renderingEvent&&!n.isNullOrEmpty(m.renderingEvent.script)&&(Bt=m.renderingEvent.script,-1!=(It=Bt.indexOf("AddAnchor("))&&-1!=(Tt=Bt.indexOf(")",It))&&(It+=10,Et=Bt.substr(It,Tt-It),a.engine.anchorsArguments.set(m.name,Et)))}null!=(Rt=m.as(f))&&(Rt.isDataSourceEmpty||(Dt=a.engine.hashDataSourceReferencesCounter.get(Rt.dataSourceName),Pt=null==Dt?1:Math.trunc(Dt.stimulsoft.toNumber())+1,a.engine.hashDataSourceReferencesCounter.set(Rt.dataSourceName,Pt)),Rt.isBusinessObjectEmpty||(Dt=a.engine.hashDataSourceReferencesCounter.get(Rt.businessObject.name),Pt=null==Dt?1:Math.trunc(Dt.stimulsoft.toNumber())+1,a.engine.hashDataSourceReferencesCounter.set(Rt.businessObject.name,Pt)))}}catch(t){ue={error:t}}finally{try{lt&&!lt.done&&(ce=st.return)&&ce.call(st)}finally{if(ue)throw ue.error}}return a.engine.newPageTime=Date.now(),[4,F.renderReportAsync(a,G,s)];case 8:if(Ie.sent(),a.isStopped||(F.renderFormsOnEnd(a),a.isRendered=!0),H.count>0)try{for(xt=__values(H.keys),Ft=xt.next();!Ft.done;Ft=xt.next())for(Nt=Ft.value,kt=H.get(Nt),Mt=0;Mt0&&1==a.renderedPages.count){var ut=a.pages.getByIndex(0),ct=a.renderedPages.getByIndex(0);ct.paperSize=ut.paperSize,ct.orientation=ut.orientation,ut.paperSize==o.Custom&&(ct.width=ut.width,ct.height=ut.height)}return}null==a.subReportsMasterReport&&a.renderedPages.clear();var pt=F.getNumberOfPass(a),ht;F.isDialogsOnStartExist(a)||F.renderFirstPass(a,pt);var mt=a.subReportsMasterReport,ft=new v,dt=null;try{var gt=F.prepareSubReportsAndDrillDownPages(a);null==mt&&a.renderedPages.clear(),a.invokeBeginRender(),F.clearTotals(a);try{for(var St=__values(a.dictionary.dataSources.list),yt=St.next();!yt.done;yt=St.next())var at=yt.value}catch(t){B={error:t}}finally{try{yt&&!yt.done&&(I=St.return)&&I.call(St)}finally{if(B)throw B.error}}F.connectToData(a),r.StiVariableHelper.fillItemsOfVariables(a.compiledReport?a.compiledReport:a),r.StiVariableHelper.setDefaultValueForRequestFromUserVariables(a.compiledReport?a.compiledReport:a),a.bookmark.bookmarks.clear(),a.bookmark.text=a.reportAlias,a.reportPass!=e.StiReportPass.First&&a.reportPass!=e.StiReportPass.None||F.initCacheMode(a);var At=a.getComponents(),bt=[];try{for(var vt=__values(At.list),Ct=vt.next();!Ct.done;Ct=vt.next()){var wt,Bt;if(null!=(Bt=(wt=Ct.value).as(h))&&Bt.enabled){bt.push(Bt);continue}}}catch(t){R={error:t}}finally{try{Ct&&!Ct.done&&(x=vt.return)&&x.call(vt)}finally{if(R)throw R.error}}if(a.containsTables=0!=bt.length,bt.length>0){for(var It=new v,Tt=!1,Et=0;Et0){var Ot=[];try{for(var _t=(_=void 0,__values(tt.conditions.list)),jt=_t.next();!jt.done;jt=_t.next()){var Gt=jt.value,Ht=Gt.stimulsoft.as(g),Qt=null;if(Gt.stimulsoft.is(S)){var Lt=Gt.stimulsoft.as(S);if(Lt.filterOn&&Lt.filters.count>0){for(var Yt="{",Ut=0;Ut0&&a.engine.parserConversionStore.set("*StiConditionExpression*"+tt.name,Ot)}var Wt=tt.as(A);if(null!=Wt&&E.checkForDataBandsUsedInPageTotals(Wt),tt.is(i)&&StiOptions.Engine.fullTrust){var Vt=tt.as(i),zt="";try{var Xt=i.notSupportedText;Xt.length>0&&a.engine.parserConversionStore.set("*StiRichTextExpression*"+tt.name,Xt)}catch(r){var Kt=n.format("Expression in Text property of '{0}' can't be evaluated! {1}",tt.name,r.message);t.System.StiError.showError(Kt,!1),e.StiLogService.write(tt.stimulsoft.getType(),Kt),e.StiLogService.write(tt.stimulsoft.getType(),r),a.writeToReportRenderingMessages(Kt)}}if(tt.is(f)&&null!=tt.renderingEvent&&!n.isNullOrEmpty(tt.renderingEvent.script)){var Zt=tt.renderingEvent.script,qt=Zt.indexOf("AddAnchor(");if(-1!=qt){var $t=Zt.indexOf(")",qt);if(-1!=$t){qt+=10;var te=Zt.substr(qt,$t-qt);a.engine.anchorsArguments.set(tt.name,te)}}}}var ee=tt.as(f);if(null!=ee){if(!ee.isDataSourceEmpty){var re,ne=null==(re=a.engine.hashDataSourceReferencesCounter.get(ee.dataSourceName))?1:Math.trunc(re.stimulsoft.toNumber())+1;a.engine.hashDataSourceReferencesCounter.set(ee.dataSourceName,ne)}if(!ee.isBusinessObjectEmpty){var re,ne=null==(re=a.engine.hashDataSourceReferencesCounter.get(ee.businessObject.name))?1:Math.trunc(re.stimulsoft.toNumber())+1;a.engine.hashDataSourceReferencesCounter.set(ee.businessObject.name,ne)}}}}catch(t){M={error:t}}finally{try{Mt&&!Mt.done&&(O=kt.return)&&O.call(kt)}finally{if(M)throw M.error}}if(F.renderReport(a,mt,s),a.isStopped||(F.renderFormsOnEnd(a),a.isRendered=!0),ft.count>0)try{for(var ie=__values(ft.keys),oe=ie.next();!oe.done;oe=ie.next())for(var ae=oe.value,se=ft.get(ae),le=0;le0){var i=r.report.engine.anchorsArguments.get(r.name);if(!n.isNullOrEmpty(i)){var o=new A;o.name="**AddAnchor**",o.page=r.report.pages.getByIndex(0);var a=E.parseTextValue("{"+i+"}",o);r.report.addAnchor(a)}}}catch(e){}},F.connectToDataAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,new Promise((function(r,n){var i=new x;e.dictionary.connectAsync().try((function(){var r,n;try{try{for(var o=__values(e.dictionary.dataSources.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.resetData(),s.resetDetailsRows()}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.dictionary.connectVirtualDataSourcesAsync().try((function(){e.dictionary.connectCrossTabDataSources(),e.dictionary.connectDataTransformationsAsync().try((function(){e.dictionary.regRelations2(!0),i.callTry()}))}))}catch(e){t.System.StiError.showError(e,!1),i.callCatch("string"==typeof e?e:e.message)}})).catch((function(t){i.callCatch(t)})).abort(i),i.try(r).catch(n)}))]}))}))},F.connectToData=function(t){var e,r;t.dictionary.connect();try{for(var n=__values(t.dictionary.dataSources.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.resetData(),o.resetDetailsRows()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}t.dictionary.connectVirtualDataSourcesAsync(),t.dictionary.connectCrossTabDataSources(),t.dictionary.connectDataTransformationsAsync(),t.dictionary.regRelations2(!0)},F.disconnectFromData=function(t){t.dictionary.disconnect()},F.isDialogsOnStartExist=function(t){var e,r;try{for(var n=__values(t.pages.list),i=n.next();!i.done;i=n.next())var o=i.value}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},F.renderFormsOnStart=function(t){if(t.isInteractionRendering)return!0;return!0},F.renderFormsOnEnd=function(t){if(t.isInteractionRendering)return!0;return!0},F.checkDialogsInPreview=function(t){var e,r,n,i;try{for(var o=__values(t.dictionary.variables.list),a=o.next();!a.done;a=o.next()){var s;if(a.value.requestFromUser&&!t.isPreviewDialogs&&t.requestParameters)return t.isStopped=!1,t.isRendered=!0,null!=t.parentReport&&(t.parentReport.isRendered=!0),!1}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}try{for(var l=__values(t.pages.list),u=l.next();!u.done;u=l.next())var c=u.value}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return!0},F.clearPagesWhichLessThenFromPageAndGreaterThenToPage=function(t,r){if(t.renderedPages.count>1&&t.reportPass!=e.StiReportPass.First){var n=t.renderedPages.count-2;(r.fromPage>0&&r.fromPage>n||r.toPage>0&&r.toPage0&&r.toPage0)while(r.toPage0&&t.renderedPages.count>0)t.renderedPages.removeAt(0),n--}},F.finishAllPagesInNotCachedPagesArray=function(t){t.renderedPages.cacheMode&&null!=t.renderedPages.notCachedPages&&t.reportPass!=e.StiReportPass.First&&(t.renderedPages.notCachedPages.stimulsoft.clear(),t.renderedPages.notCachedPages=null)},F.processPageToCache=function(t,n,i){t.renderedPages.cacheMode&&t.reportPass!=e.StiReportPass.First&&(i?null!=t.engine&&null!=t.engine.pageNumbers&&t.engine.pageNumbers.pageNumbers.count>0&&(r.StiPostProcessProvider.postProcessPage(n,F.isFirstPage(t,n),F.isLastPage(t,n),i),r.StiPostProcessProvider.postProcessPrimitives(n)):(null==t.renderedPages.notCachedPages&&(t.renderedPages.notCachedPages=new Array),-1==t.renderedPages.notCachedPages.indexOf(n)&&t.renderedPages.notCachedPages.push(n)))},F.isFirstPage=function(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),n;return r=Math.max(r,0),r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1),-1==(n=t.engine.pageNumbers.pageNumbers.getByIndex(r)).totalPageCount||-1==n.pageNumber?0==r||n.resetPageNumber:1==n.pageNumber}var n;return(n=t.renderedPages.indexOf(e))<1},F.isLastPage=function(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),n;return r=Math.max(r,0),r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1),-1==(n=t.engine.pageNumbers.pageNumbers.getByIndex(r)).totalPageCount||-1==n.pageNumber?r==t.renderedPages.count-1||r+10)for((s=new B(n)).addRange(n.renderedPages),l=new P(n),u=0;u0&&(n.renderedPages.addRange(s),s.clear()),n.currentPrintPage=c,m.label=5;case 5:return n.resetAggregateFunctions(),[2]}}))}))},F.renderFirstPass=function(n,i){if(i==e.StiNumberOfPass.DoublePass&&n.reportPass==e.StiReportPass.None&&n.reportPass==e.StiReportPass.None){n.reportPass=e.StiReportPass.First;var o=n.engine;n.engine=null;var a=n.renderedPages.count,s=null;if(a>0){(s=new B(n)).addRange(n.renderedPages);for(var l=new P(n),u=0;u0&&(n.renderedPages.addRange(s),s.clear()),n.currentPrintPage=c}n.resetAggregateFunctions()},F.clearPagesForFirstPass=function(t){t.reportPass==e.StiReportPass.First&&t.renderedPages.count>=2&&t.renderedPages.getByIndex(t.renderedPages.count-2).components.clear()},F.getNumberOfPass=function(t){var r,n,i=t.numberOfPass;if(t.reportPass==e.StiReportPass.None&&i==e.StiNumberOfPass.SinglePass){if(!StiOptions.Engine.useAdvancedPrintOnEngine)return e.StiNumberOfPass.SinglePass;var o=t.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.printOn!=I.AllPages&&l.printOn!=I.OnlyFirstPage&&l.printOn!=I.ExceptFirstPage)return e.StiNumberOfPass.DoublePass}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}return i},F.madeCollate=function(t){var e,r;if(t.renderedPages.count<3||t.collate<2)return;var n=new Array;if(StiOptions.Engine.useCollateOldMode)for(var i=0;i0&&(a.pageInfo.renderedCount=0),a.pageInfo.indexOfStartRenderedPages=e.renderedPages.count,a.parentBookmark=a.report.bookmark,a.currentBookmark=a.parentBookmark,0!=e.renderedPages.count&&a.printOnPreviousPage)return[3,6];return e.engine.firstCallNewPage=!0,[4,e.engine.newPageAsync()];case 5:return T.sent(),[3,7];case 6:if(a.printOnPreviousPage&&0!=n){u=e.renderedPages.getByIndex(e.renderedPages.count-1),c=null,p="TAG##"+e.engine.columnsOnPanel.currentColumn.toString();try{for(B=void 0,h=__values(u.components.list),f=h.next();!f.done;f=h.next())(d=f.value).name==p&&(c=d.as(D))}catch(t){B={error:t}}finally{try{f&&!f.done&&(I=h.return)&&I.call(h)}finally{if(B)throw B.error}}null!=c?c.height=e.engine.positionY-c.top:((g=new D).name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),g.top=0,g.height=e.engine.positionY,g.left=(e.engine.columnsOnPanel.currentColumn-1)*u.getColumnWidth(),g.width=u.columns>0?u.getColumnWidth():u.width,g.tagValue=u.tagValue,g.bookmarkValue=u.bookmarkValue,g.hyperlinkValue=u.hyperlinkValue,g.toolTipValue=u.toolTipValue,g.guid=u.guid,u.tagValue=null,u.bookmarkValue=null,u.hyperlinkValue=null,u.toolTipValue=null,u.guid=null,e.engine.addContainerToDestination(g)),(S=new D).name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),S.top=e.engine.positionY,S.height=e.engine.positionBottomY-e.engine.positionY,S.left=(e.engine.columnsOnPanel.currentColumn-1)*a.getColumnWidth(),S.width=a.columns>0?a.getColumnWidth():a.width,S.tagValue=a.tagValue,S.bookmarkValue=a.bookmarkValue,S.hyperlinkValue=a.hyperlinkValue,S.toolTipValue=a.toolTipValue,S.guid=a.guid,a.tagValue=null,a.bookmarkValue=null,a.hyperlinkValue=null,a.toolTipValue=null,e.engine.addContainerToDestination(S)}T.label=7;case 7:return[4,r.StiPageHelper.renderPageAsync(a)];case 8:T.sent(),T.label=9;case 9:return l++,[3,4];case 10:return[3,12];case 11:return a.enabled=s,[7];case 12:return e.engine.processLastPageAfterRendering(),A={ref:y=null},e.engine.renderFootersOnAllPages(null,0,A),y=A.ref,e.engine.renderPrintAtBottom(null,0,null),[4,e.engine.renderEmptyBandsAsync(e.engine.containerForRender,null)];case 13:T.sent(),e.engine.emptyBands.clear(),n++,T.label=14;case 14:return o=i.next(),[3,2];case 15:return[3,18];case 16:return b=T.sent(),C={error:b},[3,18];case 17:try{o&&!o.done&&(w=i.return)&&w.call(i)}finally{if(C)throw C.error}return[7];case 18:return e.engine.invokePageAfterPrint(),F.renderTable(e),[4,e.engine.finalClearAsync()];case 19:return T.sent(),[3,21];case 20:return v=T.sent(),t.System.StiError.showError(v,!1),e.engine.pageNumbers.pageNumbers.removeAt(e.engine.pageNumbers.pageNumbers.count-1),[3,21];case 21:return[2]}}))}))},F.renderReport=function(e,n,i){var o,a,s,l;try{var u=0;try{for(var c=__values(e.pages.list),p=c.next();!p.done;p=c.next()){var h=p.value,f=h.enabled;try{if(e.engine.templatePage=h,e.engine.templateContainer=h,e.currentPrintPage++,h.skip||(h.invokeBeforePrint(h,m.empty),e.engine.skipFirstPageBeforePrintEvent=!0),e.currentPrintPage--,!h.enabled||h.skip){h.skip||(e.engine.skipFirstPageBeforePrintEvent=!1,h.invokeAfterPrint(h,m.empty));continue}null!=e.engine.masterEngine&&(e.engine.masterEngine.templatePage=h,e.engine.masterEngine.templateContainer=h);for(var d=0;d0&&(h.pageInfo.renderedCount=0),h.pageInfo.indexOfStartRenderedPages=e.renderedPages.count,h.parentBookmark=h.report.bookmark,h.currentBookmark=h.parentBookmark,0!=e.renderedPages.count&&h.printOnPreviousPage){if(h.printOnPreviousPage&&0!=u){var g=e.renderedPages.getByIndex(e.renderedPages.count-1),S=null,y="TAG##"+e.engine.columnsOnPanel.currentColumn.toString();try{for(var A=(s=void 0,__values(g.components.list)),b=A.next();!b.done;b=A.next()){var v=b.value;v.name==y&&(S=v.as(D))}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=A.return)&&l.call(A)}finally{if(s)throw s.error}}if(null!=S)S.height=e.engine.positionY-S.top;else{var C=new D;C.name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),C.top=0,C.height=e.engine.positionY,C.left=(e.engine.columnsOnPanel.currentColumn-1)*g.getColumnWidth(),C.width=g.columns>0?g.getColumnWidth():g.width,C.tagValue=g.tagValue,C.bookmarkValue=g.bookmarkValue,C.hyperlinkValue=g.hyperlinkValue,C.toolTipValue=g.toolTipValue,C.guid=g.guid,g.tagValue=null,g.bookmarkValue=null,g.hyperlinkValue=null,g.toolTipValue=null,g.guid=null,e.engine.addContainerToDestination(C)}var w=new D;w.name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),w.top=e.engine.positionY,w.height=e.engine.positionBottomY-e.engine.positionY,w.left=(e.engine.columnsOnPanel.currentColumn-1)*h.getColumnWidth(),w.width=h.columns>0?h.getColumnWidth():h.width,w.tagValue=h.tagValue,w.bookmarkValue=h.bookmarkValue,w.hyperlinkValue=h.hyperlinkValue,w.toolTipValue=h.toolTipValue,w.guid=h.guid,h.tagValue=null,h.bookmarkValue=null,h.hyperlinkValue=null,h.toolTipValue=null,e.engine.addContainerToDestination(w)}}else e.engine.firstCallNewPage=!0,e.engine.newPage();r.StiPageHelper.renderPage(h)}}finally{h.enabled=f}e.engine.processLastPageAfterRendering();var B=null,I={ref:B};e.engine.renderFootersOnAllPages(null,0,I),B=I.ref,e.engine.renderPrintAtBottom(null,0,null),e.engine.renderEmptyBands(e.engine.containerForRender,null),e.engine.emptyBands.clear(),u++}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}e.engine.invokePageAfterPrint(),F.renderTable(e),e.engine.finalClear()}catch(r){t.System.StiError.showError(r,!1),e.engine.pageNumbers.pageNumbers.removeAt(e.engine.pageNumbers.pageNumbers.count-1)}},F.renderTable=function(e){var r,i,o,m,f,d,g,S,y,A,b,C,w,B,I,T,E,R,D,P;if(!e.containsTables)return;var x=new v,F=new v,N=new v,k=[],M=.2;try{for(var O=__values(e.renderedPages.list),_=O.next();!_.done;_=O.next()){var j=_.value;M=j.gridSize;for(var G=new v,H=new v,Q=[],L=j.getComponents(),Y=0;Yet&&(et=it.width);break;case l.Image:var ot,at=(ot=it.as(s)).canShrink;ot.canShrink=!0;var st=ot.getRealSize().width;ot.canShrink=at,st>et&&(et=st);break;case l.Text:var lt;if((lt=it).wordWrap)lt.width>et&&(et=lt.width);else if(!n.isNullOrEmpty(lt.text)){var ut=t.System.Drawing.Graphics.measureString(lt.text,lt.font),ct=lt.margins.left+lt.margins.right,pt;(pt=e.unit.convertFromHInches(ut.width+ct))>et&&(et=pt)}break}}}catch(t){f={error:t}}finally{try{nt&&!nt.done&&(d=rt.return)&&d.call(rt)}finally{if(f)throw f.error}}-1!=et&&q.setWidth($,et)}var ht=Z.get(0);H.add(ht[0].tableTag,q)}}catch(t){o={error:t}}finally{try{K&&!K.done&&(m=X.return)&&m.call(X)}finally{if(o)throw o.error}}for(var mt=0;mtW.width){var bt=dt-W.width;bt/=ft.getCountNotFixedColumn();for(var At=0;AtW.width)while(!wt)if(ft.getFixed(Ct))0==Ct?wt=!0:Ct--;else if(ft.getWidth(Ct)-Bt0){try{for(var Ft=__values(x.values),Nt=Ft.next();!Nt.done;Nt=Ft.next()){for(var Z=Nt.value,q=new u(Z.count),$=0;$et&&(et=it.width);break;case l.Image:var ot,at=(ot=it.as(s)).canShrink;ot.canShrink=!0;var st=ot.getRealSize().width;ot.canShrink=at,st>et&&(et=st);break;case l.Text:var lt;if((lt=it).wordWrap)lt.width>et&&(et=lt.width);else if(!n.isNullOrEmpty(lt.text)){var ut=t.System.Drawing.Graphics.measureString(lt.text,lt.font),ct=lt.margins.left+lt.margins.right,pt;(pt=e.unit.convertFromHInches(ut.width+ct))>et&&(et=pt)}break}}}catch(t){w={error:t}}finally{try{Mt&&!Mt.done&&(B=kt.return)&&B.call(kt)}finally{if(w)throw w.error}}-1!=et&&q.setWidth($,et)}var ht=Z.get(0);F.add(ht[0].tableTag,q)}}catch(t){b={error:t}}finally{try{Nt&&!Nt.done&&(C=Ft.return)&&C.call(Ft)}finally{if(b)throw b.error}}for(var mt=0;mtW.width){var bt=dt-W.width;bt/=ft.getCountNotFixedColumn();for(var At=0;AtW.width)while(!wt)if(ft.getFixed(Ct))0==Ct?wt=!0:Ct--;else if(ft.getWidth(Ct)-Bt1&&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,StiOptions.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY),[2]}}))}))},n.prototype.render=function(){this.engine.threads.isActive||this.engine.denyChangeThread||(this.engine.templatePage.titleBeforeHeader?this.renderTitleBeforeHeader():this.renderHeaderBeforeTitle(),this.engine.denyRenderMasterComponentsInContainer=!0,e.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,this.engine.columnsOnPanel.count>1&&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,StiOptions.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY)},n.prototype.renderTitleBeforeHeaderAsync=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,r,t;return __generator(this,(function(n){switch(n.label){case 0:if(this.denyReportBands)return[3,2];return t=this.denyReportBands,e=this.denyPageBands,this.denyPageBands=!0,this.denyReportBands=!0,[4,this.renderReportTitleBandsAsync()];case 1:n.sent(),this.denyPageBands=e,this.denyReportBands=t,n.label=2;case 2:if(this.denyPageBands)return[3,5];return r=this.denyPageBands,t=this.denyReportBands,this.denyPageBands=!0,this.denyReportBands=!0,[4,this.renderPageHeaderBandsAsync()];case 3:return n.sent(),[4,this.renderPageFooterBandsAsync()];case 4:n.sent(),this.denyPageBands=r,this.denyReportBands=t,n.label=5;case 5:return[2]}}))}))},n.prototype.renderTitleBeforeHeader=function(){if(!this.denyReportBands){var t=this.denyReportBands,e=this.denyPageBands;this.denyPageBands=!0,this.denyReportBands=!0,this.renderReportTitleBands(),this.denyPageBands=e,this.denyReportBands=t}if(!this.denyPageBands){var r=this.denyPageBands,t=this.denyReportBands;this.denyPageBands=!0,this.denyReportBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=r,this.denyReportBands=t}},n.prototype.renderHeaderBeforeTitleAsync=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(r){switch(r.label){case 0:if(this.denyPageBands)return[3,3];return t=this.denyPageBands,e=this.denyReportBands,this.denyPageBands=!0,[4,this.renderPageHeaderBandsAsync()];case 1:return r.sent(),[4,this.renderPageFooterBandsAsync()];case 2:r.sent(),this.denyPageBands=t,r.label=3;case 3:return[2]}}))}))},n.prototype.renderHeaderBeforeTitle=function(){if(!this.denyPageBands){var t=this.denyPageBands,e=this.denyReportBands;this.denyPageBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=t}},n.prototype.renderReportTitleBandsAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s;return __generator(this,(function(l){switch(l.label){case 0:if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return[2];l.label=1;case 1:l.trys.push([1,6,7,8]),e=__values(this.engine.templatePage.components.list),r=e.next(),l.label=2;case 2:if(r.done)return[3,5];if(n=r.value,null==(i=n.stimulsoft.as(t.Report.Components.StiReportTitleBand)))return[3,4];return i.parentBookmark=this.engine.containerForRender.currentBookmark,i.doBookmark(),[4,this.engine.renderBandAsync(i)];case 3:l.sent(),l.label=4;case 4:return r=e.next(),[3,2];case 5:return[3,8];case 6:return o=l.sent(),a={error:o},[3,8];case 7:try{r&&!r.done&&(s=e.return)&&s.call(e)}finally{if(a)throw a.error}return[7];case 8:return this.engine.templatePage.pageInfo.isReportTitlesRendered=!0,[2]}}))}))},n.prototype.renderReportTitleBands=function(){var e,r;if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return;try{for(var n=__values(this.engine.templatePage.components.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.stimulsoft.as(t.Report.Components.StiReportTitleBand);null!=a&&(a.parentBookmark=this.engine.containerForRender.currentBookmark,a.doBookmark(),this.engine.renderBand(a))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}this.engine.templatePage.pageInfo.isReportTitlesRendered=!0},n.prototype.renderPageHeaderBandsAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,l;return __generator(this,(function(u){switch(u.label){case 0:e=this.getPageHeaders(),u.label=1;case 1:u.trys.push([1,6,7,8]),r=__values(e.list),n=r.next(),u.label=2;case 2:if(n.done)return[3,5];if(i=n.value,null==(o=i.stimulsoft.as(t.Report.Components.StiPageHeaderBand)))return[3,4];return o.parentBookmark=this.engine.containerForRender.currentBookmark,o.doBookmark(),[4,this.engine.renderBandAsync(o)];case 3:u.sent(),u.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return a=u.sent(),s={error:a},[3,8];case 7:try{n&&!n.done&&(l=r.return)&&l.call(r)}finally{if(s)throw s.error}return[7];case 8:return[2]}}))}))},n.prototype.renderPageHeaderBands=function(){var e,r,n=this.getPageHeaders();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.stimulsoft.as(t.Report.Components.StiPageHeaderBand);null!=s&&(s.parentBookmark=this.engine.containerForRender.currentBookmark,s.doBookmark(),this.engine.renderBand(s))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},n.prototype.renderPageFooterBandsAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,l;return __generator(this,(function(u){switch(u.label){case 0:e=this.getPageFooters(),u.label=1;case 1:u.trys.push([1,6,7,8]),r=__values(e.list),n=r.next(),u.label=2;case 2:if(n.done)return[3,5];if(i=n.value,null==(o=i.stimulsoft.as(t.Report.Components.StiPageFooterBand)))return[3,4];return o.parentBookmark=this.engine.containerForRender.currentBookmark,o.doBookmark(),[4,this.engine.renderBandAsync(o)];case 3:u.sent(),u.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return a=u.sent(),s={error:a},[3,8];case 7:try{n&&!n.done&&(l=r.return)&&l.call(r)}finally{if(s)throw s.error}return[7];case 8:return[2]}}))}))},n.prototype.renderPageFooterBands=function(){var e,r,n=this.getPageFooters();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.stimulsoft.as(t.Report.Components.StiPageFooterBand);null!=s&&(s.parentBookmark=this.engine.containerForRender.currentBookmark,s.doBookmark(),this.engine.renderBand(s))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},n.prototype.getPageHeaders=function(){var t=new r,e=this.engine.report.pages.indexOf(this.engine.templatePage),n=e;while(n>=0){var i;if(!(i=this.engine.report.pages.getByIndex(n)).printHeadersFootersFromPreviousPage)break;n--}n<=-1&&(n=0);for(var o=n;o<=e;o++){var i=this.engine.report.pages.getByIndex(o);t.addRange(this.getPageHeadersFromPage(i))}return t},n.prototype.getPageFooters=function(){var t=new r,e=this.engine.report.pages.indexOf(this.engine.templatePage),n=e;while(n>=0){var i;if(!(i=this.engine.report.pages.getByIndex(n)).printHeadersFootersFromPreviousPage)break;n--}n<=-1&&(n=0);for(var o=n;o<=e;o++){var i=this.engine.report.pages.getByIndex(o);t.addRange(this.getPageFootersFromPage(i))}return t},n.prototype.getPageHeadersFromPage=function(e){var n,i,o=new r;try{for(var a=__values(e.components.list),s=a.next();!s.done;s=a.next()){var l,u=s.value.stimulsoft.as(t.Report.Components.StiPageHeaderBand);null!=u&&o.add(u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},n.prototype.getPageFootersFromPage=function(e){var n,i,o=new r;try{for(var a=__values(e.components.list),s=a.next();!s.done;s=a.next()){var l,u=s.value.stimulsoft.as(t.Report.Components.StiPageFooterBand);null!=u&&o.add(u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},n}();e.StiStaticBandsHelper=n}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiContainer,n=t.Report.Components.StiPage,i=function(){function t(t){this.isActive=!1,this.currentPage=-1,this.currentColumn=-1,this.destinationName=null,this.engine=null,this.engine=t}return t.prototype.newPageAsync=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(this.engine.containerForRender=null,this.currentColumn++,this.engine.containerForRender=this.getDestinationContainer(),null!=this.engine.containerForRender)return[3,3];if(this.currentColumn=1,this.currentPage++,!(this.currentPage>=this.engine.report.renderedPages.count))return[3,2];return this.engine.report.engine=this.engine.masterEngine,[4,this.engine.report.engine.newPageAsync()];case 1:t.sent(),this.engine.report.engine=this.engine,t.label=2;case 2:this.engine.containerForRender=this.getDestinationContainer(),t.label=3;case 3:return[2]}}))}))},t.prototype.newPage=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,this.engine.report.engine.newPage(),this.engine.report.engine=this.engine),this.engine.containerForRender=this.getDestinationContainer())},t.prototype.selectThreadFromContainerAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var r,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.engine.denyChangeThread)return[2];if(r=null,i=null,i=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.parent:t.parent,r=i.name,i.stimulsoft.is(n))return null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine),[2];if(o=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,null!=(a=o.slaveEngines.get(r))&&(a=a.stimulsoft.as(e.StiEngine)),null!=a)return[3,2];return[4,o.threads.createContainerEngineAsync(r,this.engine.report,o,null!=o.page?o.page.pageInfo.indexOfStartRenderedPages:0)];case 1:a=s.sent(),o.slaveEngines.set(r,a),a.printOnAllPagesIgnoreList=o.printOnAllPagesIgnoreList,s.label=2;case 2:return this.engine.report.engine=a,[2]}}))}))},t.prototype.selectThreadFromContainer=function(t){if(this.engine.denyChangeThread)return;var r=null,i=null;if(r=(i=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.parent:t.parent).name,i.stimulsoft.is(n))return void(null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine));var o=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,a=o.slaveEngines.get(r);null!=a&&(a=a.stimulsoft.as(e.StiEngine)),null==a&&(a=o.threads.createContainerEngine(r,this.engine.report,o,null!=o.page?o.page.pageInfo.indexOfStartRenderedPages:0),o.slaveEngines.set(r,a),a.printOnAllPagesIgnoreList=o.printOnAllPagesIgnoreList),this.engine.report.engine=a},t.prototype.createContainerEngineAsync=function(t,r,n,i){return __awaiter(this,void 0,void 0,(function(){var o;return __generator(this,(function(a){switch(a.label){case 0:return(o=new e.StiEngine(r)).masterEngine=n,o.threads.isActive=!0,o.threads.currentPage=i,o.threads.currentColumn=1,o.threads.destinationName=t,o.templatePage=r.engine.templatePage,o.templateContainer=o.threads.getTemplateContainer(),o.parserConversionStore=r.engine.parserConversionStore.clone(),-1!=i&&(o.containerForRender=o.threads.getDestinationContainer()),[4,o.newListAsync()];case 1:return a.sent(),-1==i&&(o.freeSpace=1e11),[2,o]}}))}))},t.prototype.createContainerEngine=function(t,r,n,i){var o=new e.StiEngine(r);return o.masterEngine=n,o.threads.isActive=!0,o.threads.currentPage=i,o.threads.currentColumn=1,o.threads.destinationName=t,o.templatePage=r.engine.templatePage,o.templateContainer=o.threads.getTemplateContainer(),o.parserConversionStore=r.engine.parserConversionStore.clone(),-1!=i&&(o.containerForRender=o.threads.getDestinationContainer()),o.newList(),-1==i&&(o.freeSpace=1e11),o},t.prototype.getTemplateContainer=function(t,e){var n,i;void 0===t&&(t=this.engine.templatePage),void 0===e&&(e=this.destinationName);try{for(var o=__values(t.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.stimulsoft.as(r);if(null==l)continue;if(l.name==e)return l;var u=this.getTemplateContainer(l,e);if(null!=u)return u}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null},t.prototype.getDestinationContainer=function(){var 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)},t.prototype.getDestinationContainer2=function(t,e,n){var i,o;try{for(var a=__values(t.components.list),s=a.next();!s.done;s=a.next()){var l,u=s.value.stimulsoft.as(r);if(null==u)continue;if(u.name==e&&u.containerInfo.renderStep==n)return u;var c=this.getDestinationContainer2(u,e,n);if(null!=c)return c}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return null},t}();e.StiThreads=i}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Dictionary.StiDataSourceParserHelper,i=t.Report.Dictionary.StiDataLeader,o=t.Report.Dictionary.StiSqlSource,a=t.System.StiString,s=t.Report.Engine.StiAsmCommandType,l=t.System.Collections.Hashtable,u=t.Report.Dictionary.StiRangeDialogInfoItem,c=t.Report.Dictionary.StiLongDialogInfoItem,p=t.Report.Dictionary.StiLongDialogInfoItem,h=t.Report.Dictionary.StiDoubleDialogInfoItem,m=t.Report.Dictionary.StiDecimalDialogInfoItem,f=t.Report.Dictionary.StiDateTimeDialogInfoItem,d=t.Report.Dictionary.StiTimeSpanDialogInfoItem,g=t.Report.Dictionary.StiBoolDialogInfoItem,S=t.Report.Dictionary.StiCharDialogInfoItem,y=t.Report.Dictionary.StiGuidDialogInfoItem,A=t.Report.Components.StiText,b=t.System.Collections.List,v=function(){function r(){}return r.fillItemsOfVariables=function(t){var e,r,n=!1;try{for(var i=__values(t.dictionary.variables.list),o=i.next();!o.done;o=i.next()){var a=o.value,s={ref:n};if(this.fillItemsOfVariables2(a,t,s))break;n=s.ref}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},r.fillItemsOfVariables2=function(e,r,n){var i,o,s,A,v,C,w,B;if(null==e.dialogInfo)return!1;if(e.dialogInfo.itemsInitializationType==t.Report.Dictionary.StiItemsInitializationType.Items){if(r.isPreviewDialogs)return!1;var I;if(null!=(I=e.dialogInfo.getDialogInfoItems(e.type))&&I.length>0){var T=r.getVariable(e.name,!0),E;if(null==T)return!1;if(null==(E=T.stimulsoft.as(Array)))return!1;if(E.length>0)return!0;E.stimulsoft.clear(),n.ref=!0;try{for(var R=__values(I),D=R.next();!D.done;D=R.next()){var P=D.value;try{E.push(P.keyObject)}catch(t){}}}catch(t){i={error:t}}finally{try{D&&!D.done&&(o=R.return)&&o.call(R)}finally{if(i)throw i.error}}}}else{if(null!=e.dialogInfo.keys&&e.dialogInfo.keys.length>0||null!=e.dialogInfo.values&&e.dialogInfo.values.length>0)return!1;var x=a.isNullOrEmpty(e.dialogInfo.keysColumn)?null:t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary,e.dialogInfo.keysColumn),F=a.isNullOrEmpty(e.dialogInfo.valuesColumn)?null:t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary,e.dialogInfo.valuesColumn),N=a.isNullOrEmpty(e.dialogInfo.bindingValuesColumn)?null:t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary,e.dialogInfo.bindingValuesColumn);null==x&&(x=[]),null==F&&(F=[]),null==N&&(N=[]);var k=Math.max(x.length,F.length),M=new l;if(x.length>0){for(var O=[],_=[],j=[],G=0;GG?x[G]:null,Q=F.length>G?F[G].toString():"",L=N.length>G?N[G]:null,Y,E;if(M.containsKey(H))(null===(w=M.get(H))||void 0===w?void 0:w.stimulsoft.as(b)).push(L);else O.push(H),_.push(Q),j.push(L),(E=new b).add(L),M.set(H,E)}x=O,F=_,N=j,k=Math.max(x.length,F.length)}if(("BoolList"==e.type.stimulsoft.getTypeName()||"ByteList"==e.type.stimulsoft.getTypeName()||"CharList"==e.type.stimulsoft.getTypeName()||"DateTimeList"==e.type.stimulsoft.getTypeName()||"DecimalList"==e.type.stimulsoft.getTypeName()||"DoubleList"==e.type.stimulsoft.getTypeName()||"FloatList"==e.type.stimulsoft.getTypeName()||"GuidList"==e.type.stimulsoft.getTypeName()||"IntList"==e.type.stimulsoft.getTypeName()||"LongList"==e.type.stimulsoft.getTypeName()||"ShortList"==e.type.stimulsoft.getTypeName()||"StringList"==e.type.stimulsoft.getTypeName()||"TimeSpanList"==e.type.stimulsoft.getTypeName())&&null!=x&&x.length>0){var E;null==(E=r.getVariable(e.name))&&(E=[],r.setVariable(e.name,E)),E.stimulsoft.clear(),n.ref=!0;try{for(var U=__values(x),J=U.next();!J.done;J=U.next()){var H=J.value;try{E.push(H)}catch(t){}}}catch(t){s={error:t}}finally{try{J&&!J.done&&(A=U.return)&&A.call(U)}finally{if(s)throw s.error}}}for(var I=[],W=e.type,G=0;GG?x[G]:null,Q=F.length>G?F[G].toString():"",L=N.length>G?N[G]:null,P=null;W==t.System.StimulsoftByteList||W==t.System.StimulsoftShortList||W==t.System.StimulsoftIntList||W==t.System.StimulsoftLongList||W==t.System.Byte||W==t.System.Short||W==t.System.Int||W==t.System.Int16||W==t.System.Int32||W==t.System.Int64||W==t.System.Long||W==t.System.NullableByte||W==t.System.NullableShort||W==t.System.NullableInt||W==t.System.NullableLong?P=new c:W==t.System.StimulsoftStringList||W==String?P=new p:W==t.System.StimulsoftDoubleList||W==t.System.StimulsoftFloatList||W==t.System.Double||W==t.System.Float||W==t.System.NullableDouble||W==t.System.NullableFloat?P=new h:W==t.System.StimulsoftDecimalList||W==t.System.Decimal||W==t.System.NullableDecimal?P=new m:W==t.System.StimulsoftDateTimeList||W==t.System.DateTime||W==t.System.NullableDateTime?P=new f:W==t.System.StimulsoftTimeSpanList||W==t.System.TimeSpan||W==t.System.NullableTimeSpan?P=new d:W==t.System.StimulsoftBoolList||W==Boolean||W==t.System.NullableBoolean?P=new g:W==t.System.StimulsoftCharList||W==t.System.Char||W==t.System.NullableChar?P=new S:W!=t.System.StimulsoftGuidList&&W!=t.System.Guid||(P=new y),null!=H&&(P.keyObject=H),P.value=Q,P.valueBinding=null===(B=M.get(H))||void 0===B?void 0:B.stimulsoft.as(b),I.push(P)}var V=[],z=new l;try{for(var X=__values(I),K=X.next();!K.done;K=X.next()){var P=K.value;(null==z.get(P.keyObject)||P.stimulsoft.is(u))&&(z.set(P.keyObject,P.keyObject),V.push(P))}}catch(t){v={error:t}}finally{try{K&&!K.done&&(C=X.return)&&C.call(X)}finally{if(v)throw v.error}}var Z=e.dialogInfo.bindingValue?I:V;e.dialogInfo.setDialogInfoItems(Z,e.type)}return!1},r.setDefaultValueForRequestFromUserVariables=function(r){var n,i,o=new l,a=new A;a.name="**VariableRequestFromUser**",r.pages.count>0&&(a.page=r.pages.getByIndex(0));var s=!1;try{for(var u=__values(r.dictionary.variables.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=p.type.stimulsoft.getTypeName(),m="ByteRange"==h||"CharRange"==h||"DateTimeRange"==h||"DecimalRange"==h||"DoubleRange"==h||"FloatRange"==h||"GuidRange"==h||"IntRange"==h||"LongRange"==h||"ShortRange"==h||"StringRange"==h||"TimeSpanRange"==h||"BoolList"==h||"ByteList"==h||"CharList"==h||"DateTimeList"==h||"DecimalList"==h||"DoubleList"==h||"FloatList"==h||"GuidList"==h||"IntList"==h||"LongList"==h||"ShortList"==h||"StringList"==h||"TimeSpanList"==h;if(p.requestFromUser&&!m&&(s=!0,!r.modifiedVariables.containsKey(p.name)))try{p.selection==t.Report.Dictionary.StiSelectionMode.FromVariable&&p.initBy==t.Report.Dictionary.StiVariableInitBy.Expression&&r.setVariable(p.name,t.Report.Engine.StiParser.StiParser.parseTextValue("{"+p.value+"}",a)),p.selection==t.Report.Dictionary.StiSelectionMode.First&&null!=p.dialogInfo.keys&&p.dialogInfo.keys.length>0&&r.setVariable(p.name,e.StiReport.changeType(p.dialogInfo.keys[0],p.type))}catch(t){}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}if(!s)return},r.setDefaultValueForRequestFromUserVariablesAsync=function(r,a,s){return void 0===s&&(s=!1),__awaiter(this,void 0,void 0,(function(){var u,c,p,h,m,f,d,g,S,y,b,v,C,w,B,I,T,E,R,D;return __generator(this,(function(P){switch(P.label){case 0:u=new l,(c=new A).name="**VariableRequestFromUser**",r.pages.count>0&&(c.page=r.pages.getByIndex(0));try{for(p=__values(r.dictionary.variables.list),h=p.next();!h.done;h=p.next())if(m=h.value,f=m.type.stimulsoft.getTypeName(),d="ByteRange"==f||"CharRange"==f||"DateTimeRange"==f||"DecimalRange"==f||"DoubleRange"==f||"FloatRange"==f||"GuidRange"==f||"IntRange"==f||"LongRange"==f||"ShortRange"==f||"StringRange"==f||"TimeSpanRange"==f||"BoolList"==f||"ByteList"==f||"CharList"==f||"DateTimeList"==f||"DecimalList"==f||"DoubleList"==f||"FloatList"==f||"GuidList"==f||"IntList"==f||"LongList"==f||"ShortList"==f||"StringList"==f||"TimeSpanList"==f,m.requestFromUser&&!d&&(a=!0,!r.modifiedVariables.containsKey(m.name)))try{m.selection==t.Report.Dictionary.StiSelectionMode.FromVariable&&m.initBy==t.Report.Dictionary.StiVariableInitBy.Expression&&r.setVariable(m.name,t.Report.Engine.StiParser.StiParser.parseTextValue("{"+m.value+"}",c)),m.selection==t.Report.Dictionary.StiSelectionMode.First&&null!=m.dialogInfo.keys&&m.dialogInfo.keys.length>0&&r.setVariable(m.name,e.StiReport.changeType(m.dialogInfo.keys[0],m.type))}catch(t){}}catch(t){T={error:t}}finally{try{h&&!h.done&&(E=p.return)&&E.call(p)}finally{if(T)throw T.error}}if(!a)return[2];if(g=r.dictionary,null==S&&(S=this.getDataSourcesWithRequestFromUserVariablesInCommand(r)),S.length<=0)return[2];P.label=1;case 1:P.trys.push([1,8,9,10]),y=__values(S),b=y.next(),P.label=2;case 2:if(b.done)return[3,7];v=b.value,C=g.dataSources.getByName(v),w=C.stimulsoft.as(o),B=null!=w?w.sqlCommand:null,P.label=3;case 3:return P.trys.push([3,,5,6]),s&&n.connectSqlSource(w),i.disconnect(C),[4,i.connectAsync2(C,null)];case 4:return P.sent(),[3,6];case 5:return null!=B&&(w.sqlCommand=B),[7];case 6:return b=y.next(),[3,2];case 7:return[3,10];case 8:return I=P.sent(),R={error:I},[3,10];case 9:try{b&&!b.done&&(D=y.return)&&D.call(y)}finally{if(R)throw R.error}return[7];case 10:return g.regRelations2(),g.regRelations2(!0),[2]}}))}))},r.getDataSourcesWithRequestFromUserVariablesInCommand=function(e){var n,i,o,s,u,c,p=[],h=new l,m=new A;m.name="**VariableRequestFromUser**",m.page=e.pages.getByIndex(0);try{for(var f=__values(e.dictionary.variables.list),d=f.next();!d.done;d=f.next()){var g=d.value;g.requestFromUser&&h.set(g.name,null)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}try{for(var S=__values(e.dictionary.dataSources.list),y=S.next();!y.done;y=S.next()){var b=y.value,v=b.stimulsoft.as(t.Report.Dictionary.StiSqlSource);if(null==v)continue;try{var C=null;if(null!=e.variables){var w=e.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+b.name);null!=w&&(C=w)}a.isNullOrWhiteSpace(C)&&(C=v.sqlCommand);var B=r.checkExpressionForVariables(C,m,h);if(!B)try{for(var I=(u=void 0,__values(v.parameters.list)),T=I.next();!T.done;T=I.next()){var E=T.value;if(!a.isNullOrWhiteSpace(E.expression)&&r.checkExpressionForVariables(E.expression,m,h)){B=!0;break}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}B&&p.push(b.name)}catch(t){}}}catch(t){o={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(o)throw o.error}}return p},r.checkExpressionForVariables=function(e,r,n){var i,o;try{var a=t.Report.Engine.StiParser.StiParser.parseTextValue(e,r,r,{ref:!1},!1,!0);if(null!=a&&a.stimulsoft.is(Array))try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value;if(c.type==s.PushVariable){var p=c.parameter1.toString();if(n.containsKey(p))return!0}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}}catch(t){}return!1},r.setVariableValue=function(t,e,r){t.setVariable(e.name,r)},r}();r.StiVariableHelper=v}(r=e.Engine||(e.Engine={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"AfterSelect"},e}(t.StiEvent);t.StiAfterSelectEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"CheckedChanged"},e}(t.StiEvent);t.StiCheckedChangedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"ClosedForm"},e}(t.StiEvent);t.StiClosedFormEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"ClosingForm"},e}(t.StiEvent);t.StiClosingFormEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Enter"},e}(t.StiEvent);t.StiEnterEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs;e.StiExportEventHandler=new r("sender: any, e: StiExportEventArgs");var i=function(t){function e(e){var r=t.call(this)||this;return r.exportFormat=e,r}return __extends(e,t),e}(n);e.StiExportEventArgs=i}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Exported"},e}(t.StiEvent);t.StiExportedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Exporting"},e}(t.StiEvent);t.StiExportingEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"FillData"},e}(t.StiEvent);t.StiFillDataEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetArgument"},e}(t.StiEvent);t.StiGetArgumentEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetBarCode"},e}(t.StiEvent);t.StiGetBarCodeEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs;e.StiGetDataUrlEventHandler=new r("sender: any, e: StiGetDataUrlEventArgs");var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(n);e.StiGetDataUrlEventArgs=i}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs;e.StiGetDrillDownReportEventHandler=new r("sender: any, e: StiGetDrillDownReportEventArgs");var i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cancel=!1,e}return __extends(e,t),e}(n);e.StiGetDrillDownReportEventArgs=i}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetFilter"},e}(t.StiEvent);t.StiGetFilterEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetZipCode"},e}(t.StiEvent);t.StiGetZipCodeEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs;e.StiGotoCompEventHandler=new r("sender: any, e: StiGotoCompEventArgs");var i=function(t){function e(e){var r=t.call(this)||this;return r.component=e,r}return __extends(e,t),e}(n);e.StiGotoCompEventArgs=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"LoadForm"},e}(t.StiEvent);t.StiLoadFormEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"MouseDown"},e}(t.StiEvent);t.StiMouseDownEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"MouseMove"},e}(t.StiEvent);t.StiMouseMoveEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"MouseUp"},e}(t.StiEvent);t.StiMouseUpEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"MoveFooterToBottom"},e}(t.StiEvent);t.StiMoveFooterToBottomEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler,n=t.System.EventArgs;e.StiPaintEventHandler=new r("sender: any, e: StiPaintEventArgs");var i=function(t){function e(e,r){var n=t.call(this)||this;return n.drawChilds=!0,n.cancel=!1,n.drawBorderFormatting=!0,n.drawTopmostBorderSides=!0,n.context=e,n.clipRectangle=r,n}return __extends(e,t),e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"graphics",{get:function(){return this.context},enumerable:!1,configurable:!0}),e}(n);e.StiPaintEventArgs=i}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"PositionChanged"},e}(t.StiEvent);t.StiPositionChangedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Printed"},e}(t.StiEvent);t.StiPrintedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Printing"},e}(t.StiEvent);t.StiPrintingEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.EventHandler;e.StiProcessExportEventHandler=new r("sender: any, e: StiProcessExportEventArgs");var n=function(t){function e(e,r,n,i){var o=t.call(this,e)||this;return o.processed=!1,o.exportService=r,o.stream=n,o.exportSettings=i,o}return __extends(e,t),e}(e.StiExportEventArgs);e.StiProcessExportEventArgs=n}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Refreshing"},e}(t.StiEvent);t.StiRefreshingEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"ReportCacheProcessing"},e}(t.StiEvent);t.StiReportCacheProcessingEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"SelectedIndexChanged"},e}(t.StiEvent);t.StiSelectedIndexChangedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"StateRestore"},e}(t.StiEvent);t.StiStateRestoreEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"StateSave"},e}(t.StiEvent);t.StiStateSaveEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"ValueChanged"},e}(t.StiEvent);t.StiValueChangedEvent=e}(e=t.Events||(t.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiExportService="IStiExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCsvExportService="IStiCsvExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataExportService="IStiDataExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=t.System.NodeJs,i=t.System.Xml.XmlTextWriter,o=t.System.Text.Encoding,a=t.System.Drawing.Image,s=t.System.Drawing.Imaging.ImageFormat,l=t.System.StiString,u=function(){function t(){}return t.getImage=function(t){var r=new a;if(!n.useWebKit)return r;var u=document.createElement("canvas");u.width=t.width,u.height=t.height;var c=new i(o.UTF8);e.StiSvgHelper.writeBarCode(c,t),c.flush();var p=l.format('{2}',t.width,t.height,c.textWriter.getStringBuilder().toString());canvgv2(u,p);var h=u.toDataURL(s.Jpeg.mimeType);return r.base64=h,r},t.getImageAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var u,c,p,h,m,f;return __generator(this,(function(d){if(u=new a,!n.useWebKit)return[2,u];return(c=document.createElement("canvas")).width=t.width,c.height=t.height,p=new i(o.UTF8),e.StiSvgHelper.writeBarCode(p,t),p.flush(),h=l.format('{2}',t.width,t.height,p.textWriter.getStringBuilder().toString()),canvgv2(c,h),m=c.toDataURL(s.Jpeg.mimeType),u.base64=m,null==(f=t.component.report).preparedExportImages&&(f.preparedExportImages=new r),f.preparedExportImages.set(t.component,u),[2,u]}))}))},t}();e.StiBarCodeSvgHelper=u}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.Drawing.StiGlareBrush,i=t.Base.Drawing.StiHatchBrush,o=t.Base.StiGuidUtils,a=t.System.Text.StringBuilder,s=t.Base.Drawing.StiGradientBrush,l=t.Base.Drawing.StiGlassBrush,u=function(){function t(){}return t.writeHatchBrush=function(t,e){var n=e.as(i),s=n.foreColor,l=n.backColor,u=n.style;u>53&&(u=53);var c=r.format("hatch{0}",o.newGuid());t.writeStartElement("pattern"),t.writeAttributeString("id",c),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","8"),t.writeAttributeString("height","8"),t.writeAttributeString("patternUnits","userSpaceOnUse");for(var p=new a,h=this.hatchData[u],m=0;m<16;m++)p.append(this.hexToByteString(h.substr(m,1)));t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","8"),t.writeAttributeString("height","8"),t.writeAttributeString("fill",r.format("#{0:X2}{1:X2}{2:X2}",l.r,l.g,l.b)),t.writeEndElement();for(var f=0;f<8;f++)for(var d=0;d<8;d++){var g;"1"==p.toString().charAt(8*f+d)&&(t.writeStartElement("rect"),t.writeAttributeString("x",d.toString()),t.writeAttributeString("y",f.toString()),t.writeAttributeString("width","1"),t.writeAttributeString("height","1"),t.writeAttributeString("fill",r.format("#{0:X2}{1:X2}{2:X2}",s.r,s.g,s.b)),t.writeEndElement())}return t.writeEndElement(),c},t.hexToByteString=function(t){var 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},t.writeGlareBrush=function(t,e,i){var a=e.as(n),s=1,l=1,u=a.angle;u<0&&(u+=360),u>=270&&u<360&&(u=360-u,l=-1),u>=180&&u<270&&(u-=180,l=-1,s=-1),u>=90&&u<180&&(u=180-u,s=-1),u=u*Math.PI/180;var c=i.x+i.width/2,p=i.y+i.height/2,h=Math.sqrt(i.width*i.width+i.height*i.height)/2,m=Math.atan2(i.height,i.width),f=Math.PI/2-u+m,d=h*Math.sin(f),g=d*Math.cos(u)*s,S=d*Math.sin(u)*-l,y=c-g,A=c+g,b=p+S,v=p-S,C=r.format("gradient{0}",o.newGuid());return t.writeStartElement("linearGradient"),t.writeAttributeString("id",C),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",y.toString()),t.writeAttributeString("y1",b.toString()),t.writeAttributeString("x2",A.toString()),t.writeAttributeString("y2",v.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",r.format("#{0:X2}{1:X2}{2:X2}",a.startColor.r,a.startColor.g,a.startColor.b)),255!=a.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(a.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","50%"),t.writeAttributeString("stop-color",r.format("#{0:X2}{1:X2}{2:X2}",a.endColor.r,a.endColor.g,a.endColor.b)),255!=a.endColor.a&&t.writeAttributeString("stop-opacity",Math.round2(a.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",r.format("#{0:X2}{1:X2}{2:X2}",a.startColor.r,a.startColor.g,a.startColor.b)),255!=a.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(a.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),C},t.writeGradientBrush=function(t,e,n){var i=e.stimulsoft.as(s),a=1,l=1,u=i.angle;u<0&&(u+=360),u>=270&&u<360&&(u=360-u,l=-1),u>=180&&u<270&&(u-=180,l=-1,a=-1),u>=90&&u<180&&(u=180-u,a=-1),u=u*Math.PI/180;var c=n.x+n.width/2,p=n.y+n.height/2,h=Math.sqrt(n.width*n.width+n.height*n.height)/2,m=Math.atan2(n.height,n.width),f=Math.PI/2-u+m,d=h*Math.sin(f),g=d*Math.cos(u)*a,S=d*Math.sin(u)*-l,y=c-g,A=c+g,b=p+S,v=p-S,C=r.format("gradient{0}",o.newGuid());return t.writeStartElement("linearGradient"),t.writeAttributeString("id",C),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",y.toString()),t.writeAttributeString("y1",b.toString()),t.writeAttributeString("x2",A.toString()),t.writeAttributeString("y2",v.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",r.format("#{0:X2}{1:X2}{2:X2}",i.startColor.r,i.startColor.g,i.startColor.b)),255!=i.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(i.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",r.format("#{0:X2}{1:X2}{2:X2}",i.endColor.r,i.endColor.g,i.endColor.b)),255!=i.endColor.a&&t.writeAttributeString("stop-opacity",Math.round2(i.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),C},t.writeGlassBrush=function(t,e,n){var i=e.stimulsoft.as(l),a=i.getTopColor(),s=i.getTopRectangle(n),u=i.getBottomColor(),c=i.getBottomRectangle(n),p=r.format("glass{0}",o.newGuid());return t.writeStartElement("pattern"),t.writeAttributeString("id",p),t.writeAttributeString("x",n.x.toString().split(",").join(".")),t.writeAttributeString("y",n.y.toString().split(",").join(".")),t.writeAttributeString("width",n.width.toString().split(",").join(".")),t.writeAttributeString("height",n.height.toString().split(",").join(".")),t.writeAttributeString("patternUnits","userSpaceOnUse"),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",n.width.toString().split(",").join(".")),t.writeAttributeString("height",n.height.toString().split(",").join(".")),t.writeAttributeString("style",r.format("fill:rgb({0},{1},{2});fill-opacity:{3};",u.r,u.g,u.b,Math.round2(u.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",s.width.toString().split(",").join(".")),t.writeAttributeString("height",s.height.toString().split(",").join(".")),t.writeAttributeString("style",r.format("fill:rgb({0},{1},{2});fill-opacity:{3};",a.r,a.g,a.b,Math.round2(a.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeEndElement(),p},t.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"],t}();e.StiBrushSvgHelper=u}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiArray,n=t.System.Drawing.Point,i=function(){function t(){}return t.cardinalSpline=function(t,e){var i=0,o=0,a=new n,s=new n,l=.5*(1/3);o=e?3*(t.length+1)-2:3*t.length-2;var u=r.create(n,o,!0);for(i=0;i=0;if("function"==e)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},t.prototype.as=function(t){if(this.is(t))return this;return null},t.prototype.saveToJsonObject=function(t){var n=new e.StiJson;return n.addPropertyString("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),n.addPropertyString("Type",s.getName(r.StiGeomType,this.type)),n},t.prototype.saveGeomListToJsonObject=function(t,r){if(null!=t){for(var i=n.create(e.StiJson,t.length),o=0;o=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&n=0&&nH&&(H=z.animation.duration.totalMilliseconds+(null!=z.animation.beginTime?z.animation.beginTime.totalMilliseconds:0)),J.is(rt)&&(L=!1)}}catch(t){o={error:t}}finally{try{U&&!U.done&&(a=Y.return)&&a.call(Y)}finally{if(o)throw o.error}}try{for(var ht=__values(r.geoms),dt=ht.next();!dt.done;dt=ht.next()){var J;if((J=dt.value).is(S)){this.listTransformGeom.push(J);var St=J.as(S);t.writeStartElement("g"),isNaN(St.x)||(this.dx+=J.x),isNaN(St.y)||(this.dy+=J.y)}else if(J.is(y)){this.listTransformGeom.push(J);var yt=J.as(y);t.writeStartElement("g"),t.writeAttributeString("transform",u.format("rotate({0} {1} {2})",yt.angle,this.dx,this.dy))}else if(J.is(b)){var At=this.listTransformGeom[this.listTransformGeom.length-1];if(At.is(S)){var bt=At.as(S);isNaN(bt.x)||(this.dx-=bt.x),isNaN(bt.y)||(this.dy-=bt.y)}this.listTransformGeom.stimulsoft.remove(At),t.writeEndElement()}else if(J.is(A)){var vt,Ct=(vt=J).columnRect.stimulsoft.as(mt),wt,Bt=null!=(wt=null==vt.animation?vt.animation.stimulsoft.as(tt):null)?wt.rectFrom:h.empty,It=new f;if(null!=vt.background?It.append(this.writeFillBrush(t,vt.background,Ct)):It.append("fill:none;"),this.checkPenGeom(vt.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,vt.borderPen.brush,Ct));It.append(u.format("{0};stroke-width:{1};",Tt,vt.borderPen.thickness))}var Et=Ct.width.toString().split(",").join(".");t.writeStartElement("rect"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("y",(Ct.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("height",Ct.height.toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),i?vt.value<0?0==Bt.width?(t.writeAttributeString("x",this.p(Ct.x+this.dx)),t.writeAttributeString("width","0"),this.addAnimation(t,'[["width", 0, '+Et+',""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("width",this.p(Bt.width)),wt.valueFrom<=0?(t.writeAttributeString("x",this.p(Bt.x+this.dx)),this.addAnimation(t,'[["width", '+this.p(Bt.width)+", "+Et+',""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("x",this.p(Bt.x+this.dx)),this.addAnimation(t,'[["width", '+this.p(Bt.width)+', 0, ""], ["x",'+this.p(Bt.x+this.dx)+", "+this.p(Bt.width+Bt.x+this.dx)+', ""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["width", 0, '+Et+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1"))):0==Bt.width?(t.writeAttributeString("x",this.p(Ct.width+Ct.x+this.dx)),t.writeAttributeString("width","0"),this.addAnimation(t,'[["width", 0, '+Et+', ""], ["x",'+this.p(Ct.width+Ct.x+this.dx)+", "+this.p(Ct.x+this.dx)+', ""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("x",this.p(Bt.x+this.dx)),t.writeAttributeString("width",this.p(Bt.width)),wt.valueFrom<=0?(this.addAnimation(t,'[["width",'+this.p(Bt.width)+', 0,""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["width", 0, '+this.p(Ct.width)+', ""], ["x",'+this.p(Ct.width+Ct.x+this.dx)+", "+this.p(Ct.x+this.dx)+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1")):this.addAnimation(t,'[["width", '+this.p(Bt.width)+", "+Et+', ""], ["x",'+this.p(Bt.x+this.dx)+", "+this.p(Ct.x+this.dx)+', ""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("width",Et),t.writeAttributeString("x",this.p(Ct.x+this.dx))),this.writeInteraction(t,vt.interaction),t.writeAttributeString("style",It.toString()),null==vt.toolTip||u.isNullOrEmpty(vt.toolTip.toString())||this.writeTooltip(t,vt.toolTip.toString()),t.writeEndElement()}else if(J.is(et)){var Rt,Dt=null!=(Rt=J.as(et)).animation?Rt.animation.stimulsoft.as(ut):null,Pt=null!=Rt.animation?Rt.animation.stimulsoft.as(pt):null,Ct=Rt.rectangle.clone();Ct=this.correctRectLabel(Rt.rotationMode,Ct);var It=new f;if(null!=Rt.labelBrush?It.append(this.writeFillBrush(t,Rt.labelBrush,Ct)):It.append("fill:none;"),Rt.drawBorder&&this.checkPenGeom(Rt.penBorder)){var Tt=u.format("{0}",this.writeBorderStroke(t,Rt.penBorder.brush,Ct));It.append(u.format("{0};stroke-width:{1};",Tt,Rt.penBorder.thickness))}t.writeStartElement("rect"),t.writeAttributeString("transform",u.format("translate({0}, {1}) rotate({2} {3},{4})",null!=Dt?this.p(Dt.LabelRect.x+this.dx):null!=Pt?this.p(Pt.rectLabelFrom.x+this.dx):this.p(Ct.x+this.dx),null!=Dt?this.p(Dt.LabelRect.y+this.dy):null!=Pt?this.p(Pt.rectLabelFrom.y+this.dy):this.p(Ct.y+this.dy),this.p(Rt.angle),this.p(Ct.width/2),this.p(Ct.height/2))),t.writeAttributeString("width",Ct.width.toString().split(",").join(".")),t.writeAttributeString("height",Ct.height.toString().split(",").join(".")),t.writeAttributeString("style",It.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("opacity",null!=Dt||null!=Pt?"1":"0"),t.writeAttributeString("fill","rgba(0,0,0,0)"),null!=Dt?this.addAnimation(t,'[["x", '+this.p(Dt.LabelRect.x+this.dx)+", "+this.p(Ct.x+this.dx)+', ""],'+'["y", '+this.p(Dt.LabelRect.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',Dt.beginTime,Dt.duration):null!=Pt?this.addAnimation(t,'[["x", '+this.p(Pt.rectLabelFrom.x+this.dx)+", "+this.p(Ct.x+this.dx)+', ""],'+'["y", '+this.p(Pt.rectLabelFrom.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',Pt.beginTime,Pt.duration):this.addAnimation(t,'[["opacity", 0, 1, ""]]',q.fromMilliseconds(H),q.fromMilliseconds(500)),t.writeEndElement();var xt=new X(Rt.font.fontName,Rt.font.fontSize,Rt.font.fontStyle,Rt.font.unit),Ft;(Ft=new d).alignment=Rt.stringFormat.alignment,Ft.formatFlags=Rt.stringFormat.formatFlags,Ft.hotkeyPrefix=Rt.stringFormat.hotkeyPrefix,Ft.lineAlignment=Rt.stringFormat.lineAlignment,Ft.trimming=Rt.stringFormat.trimming,It=new f;var Nt=4*xt.size/3;switch(t.writeStartElement("text"),Rt.rotationMode){case g.LeftCenter:t.writeAttributeString("dy","0.35em");break;case g.LeftBottom:break;case g.CenterTop:It.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","1em");break;case g.CenterCenter:It.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.35em");break;case g.CenterBottom:It.appendFormat("text-anchor:{0};","middle");break;case g.RightTop:It.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","1em");break;case g.RightCenter:It.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","0.35em");break;case g.RightBottom:It.appendFormat("text-anchor:{0};","end");break;default:t.writeAttributeString("dy","1em");break}t.writeAttributeString("transform",u.format("translate({0}, {1}) rotate({2} 0,0)",null!=Dt?this.p(this.rectToCenterPoint(Dt.LabelRect).x+this.dx):null!=Pt?this.p(this.rectToCenterPoint(Pt.rectLabelFrom).x+this.dx):this.p(this.rectToCenterPoint(Ct).x+this.dx),null!=Dt?this.p(this.rectToCenterPoint(Dt.LabelRect).y+this.dy):null!=Pt?this.p(this.rectToCenterPoint(Pt.rectLabelFrom).y+this.dy):this.p(this.rectToCenterPoint(Ct).y+this.dy),this.p(Rt.angle))),t.writeAttributeString("font-size",Nt.toString().split(",").join(".")),t.writeAttributeString("font-family",xt.fontFamily.name);var kt=W.toColor(Rt.textBrush.as(W));if(It.append(u.format("fill:#{0:X2}{1:X2}{2:X2};",kt.r,kt.g,kt.b)),255!=kt.a&&It.append(u.format("fill-opacity:{0}",Math.round2(kt.a/255,3).toString().split(",").join("."))),t.writeAttributeString("style",It.toString()),t.writeAttributeString("opacity",null!=Dt||null!=Pt?"1":"0"),null!=Dt){if(this.addAnimation(t,u.format('[["translate","'+this.p(Dt.LabelRect.x+this.dx)+":"+this.p(Dt.LabelRect.y+this.dy)+'","'+this.p(Ct.x+this.dx)+":"+this.p(Ct.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(Rt.angle)),Dt.beginTime,Dt.duration),null!=Dt.valueFrom&&null!=Dt.value){var Mt,Ot=Mt=Dt.valueFrom-Dt.value;this.addAnimation(t,'[["value", '+this.p(Dt.valueFrom)+", "+this.p(Dt.value)+', "'+Ot.toString()+'"]]',Dt.beginTime,Dt.duration,"a1")}}else if(null!=Pt){if(this.addAnimation(t,u.format('[["translate","'+this.p(Pt.rectLabelFrom.x+this.dx)+":"+this.p(Pt.rectLabelFrom.y+this.dy)+'","'+this.p(Ct.x+this.dx)+":"+this.p(Ct.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(Rt.angle)),Pt.beginTime,Pt.duration),null!=Pt.valueFrom&&null!=Pt.value){var Mt,Ot=Mt=Pt.valueFrom-Pt.value;this.addAnimation(t,'[["value", '+this.p(Pt.valueFrom)+", "+this.p(Pt.value)+', "'+Ot.toString()+'"]]',Pt.beginTime,Pt.duration,"a1")}}else this.addAnimation(t,'[["opacity", 0, 1, ""]]',q.fromMilliseconds(H),q.fromMilliseconds(500));null!=Dt&&null!=Dt.valueFrom?t.writeString(this.p(Dt.valueFrom)):null!=Pt&&null!=Pt.valueFrom?t.writeString(this.p(Pt.valueFrom)):t.writeString(Rt.text),t.writeEndElement()}else if(J.is(E)){var _t,Ct=(_t=J).clipRectangle,jt="s"+K.newGuid();t.writeStartElement("defs"),t.writeStartElement("clipPath"),t.writeAttributeString("id",jt),t.writeStartElement("rect"),t.writeAttributeString("x",(Ct.x+this.dx).toString().split(",").join(".")),t.writeAttributeString("y",(Ct.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("width",Ct.width.toString().split(",").join(".")),t.writeAttributeString("height",Ct.height.toString().split(",").join(".")),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),G=jt}else if(J.is(n)){var _t=J,Gt={ref:null},Ht={ref:null},Qt=this.getPathData(_t.geoms,this.dx,this.dy,Gt,Ht),jt="s"+K.newGuid();t.writeStartElement("defs"),t.writeStartElement("clipPath"),t.writeAttributeString("id",jt),t.writeStartElement("path"),t.writeAttributeString("d",Qt),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),G=jt}else if(J.is(R))G="";else if(J.is(rt)){var Lt,Ct=(Lt=J.as(rt)).rect,jt="s"+K.newGuid();t.writeStartElement("defs"),t.writeStartElement("filter"),t.writeAttributeString("id",jt),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","200%"),t.writeAttributeString("height","200%"),t.writeStartElement("feOffset"),t.writeAttributeString("result","offOut"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("dx","1.111111111111111"),t.writeAttributeString("dy","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feColorMatrix"),t.writeAttributeString("result","matrixOut"),t.writeAttributeString("in","offOut"),t.writeAttributeString("type","matrix"),t.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"),t.writeEndElement(),t.writeStartElement("feGaussianBlur"),t.writeAttributeString("result","blurOut"),t.writeAttributeString("in","matrixOut"),t.writeAttributeString("stdDeviation","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feBlend"),t.writeAttributeString("mode","normal"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("in2","blurOut"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("rect"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("x",(Ct.x+this.dx).toString().split(",").join(".")),t.writeAttributeString("y",(Ct.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("height",Ct.height.toString().split(",").join(".")),t.writeAttributeString("width",Ct.width.toString().split(",").join(".")),t.writeAttributeString("fill","rgb(150,150,150)"),t.writeAttributeString("filter",u.format("url(#{0})",jt)),t.writeAttributeString("rx",Lt.radiusX.toString().split(",").join(".")),t.writeAttributeString("ry",Lt.radiusY.toString().split(",").join(".")),i&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0, 1, ""]]',Lt.animation.beginTime,Lt.animation.duration)),t.writeEndElement()}else if(J.is(v)){var vt,Ct=(vt=J).rect.stimulsoft.as(mt),Yt=new T(vt.animation.duration,vt.animation.beginTime),It=new f;if(null!=vt.background?It.append(this.writeFillBrush(t,vt.background,Ct)):It.append("fill:none;"),this.checkPenGeom(vt.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,vt.borderPen.brush,Ct));It.append(u.format("{0};stroke-width:{1};",Tt,vt.borderPen.thickness))}t.writeStartElement("rect"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("x",(Ct.x+this.dx).toString().replace(",",".")),t.writeAttributeString("y",(Ct.y+this.dy).toString().replace(",",".")),t.writeAttributeString("width",Ct.width.toString().replace(",",".")),t.writeAttributeString("height",Ct.height.toString().replace(",",".")),t.writeAttributeString("style",It.toString()),t.writeAttributeString("shape-rendering","crispEdges"),null!=Yt&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',Yt.beginTime,Yt.duration)),this.writeInteraction(t,vt.interaction),null==vt.toolTip||u.isNullOrEmpty(vt.toolTip.toString())||this.writeTooltip(t,vt.toolTip.toString()),t.writeEndElement()}else if(J.is(ot)){var vt,Ct=(vt=J.as(ot)).columnRect.stimulsoft.as(mt),wt,Bt=null!=(wt=null!=vt.animation?vt.animation.stimulsoft.as(tt):null)?wt.rectFrom:mt.empty,It=new f;if(null!=vt.background?It.append(this.writeFillBrush(t,vt.background,Ct)):It.append("fill:none;"),this.checkPenGeom(vt.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,vt.borderPen.brush,Ct));It.append(u.format("{0};stroke-width:{1};",Tt,vt.borderPen.thickness))}var Ut=Ct.height.toString().split(",").join(".");t.writeStartElement("rect"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("width",this.p(Ct.width)),t.writeAttributeString("x",this.p(Ct.x+this.dx)),i?vt.value>0?0==Bt.height?(t.writeAttributeString("y",this.p(Ct.height+Ct.y+this.dy)),t.writeAttributeString("y","0"),this.addAnimation(t,'[["height", 0, '+Ut+', ""], ["y",'+this.p(Ct.height+Ct.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("y",this.p(Bt.y+this.dy)),t.writeAttributeString("height",this.p(Bt.height)),wt.valueFrom>=0?this.addAnimation(t,'[["height", '+this.p(Bt.height)+", "+Ut+', ""], ["y",'+this.p(Bt.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration):(this.addAnimation(t,'[["height",'+this.p(Bt.height)+', 0,""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+this.p(Ct.height)+', ""], ["y",'+this.p(Ct.height+Ct.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1"))):0==Bt.height?(t.writeAttributeString("y",this.p(Ct.y+this.dy)),t.writeAttributeString("y","0"),this.addAnimation(t,'[["height", 0, '+Ut+',""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("height",this.p(Bt.height)),wt.valueFrom>=0?(t.writeAttributeString("y",this.p(Bt.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(Bt.height)+', 0, ""], ["y",'+this.p(Bt.y+this.dy)+", "+this.p(Bt.height+Bt.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+Ut+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1")):(t.writeAttributeString("y",this.p(Bt.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(Bt.height)+", "+Ut+',""]]',vt.animation.beginTime,vt.animation.duration))):(t.writeAttributeString("height",this.p(Ct.height)),t.writeAttributeString("y",this.p(Ct.y+this.dy))),this.writeInteraction(t,vt.interaction),t.writeAttributeString("style",It.toString()),null==vt.toolTip||u.isNullOrEmpty(vt.toolTip.toString())||this.writeTooltip(t,vt.toolTip.toString()),t.writeEndElement()}else if(J.is(st)){var Jt=J.as(st);if(this.checkPenGeom(Jt.pen)){var jt="g"+K.newGuid();if(Jt.animation.type==ft.Translation){var Wt=Jt.pen.brush.stimulsoft.as(p);t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",jt),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",u.format("rgba({0},{1},{2},{3})",Wt.r,Wt.g,Wt.b,Math.round2(Wt.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),this.addAnimation(t,'[["offset", 0 , 100,"%"]]',Jt.animation.beginTime,Jt.animation.duration),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 00px;"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeEndElement()}var Vt=null!=Jt.animation?Jt.animation.stimulsoft.as(ct):null;t.writeStartElement("polyline"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));for(var zt=new f,Xt=new f,Kt=0;Jt.points.length>Kt;Kt++){var Zt=Jt.points[Kt],qt=0;Kt==Jt.points.length-1&&(qt=1e-4*Kt),null==Vt?zt.appendFormat("{0},{1} ",this.p(Zt.x+this.dx),this.p(Zt.y+this.dy+qt)):(zt.appendFormat("{0},{1} ",this.p(Vt.pointsFrom[Kt].x+this.dx),this.p(Vt.pointsFrom[Kt].y+this.dy+qt)),Xt.appendFormat("{0},{1} ",this.p(Zt.x+this.dx),this.p(Zt.y+this.dy+qt)))}if(t.writeAttributeString("fill","none"),t.writeAttributeString("points",zt.toString()),Jt.animation.type==ft.Opacity||null!=Vt){var Tt=u.format("{0}",this.writeBorderStroke(t,Jt.pen.brush,new mt)),It;(It=new f).appendFormat("{0};stroke-width:{1};",Tt,this.p(Jt.pen.thickness)),t.writeAttributeString("style",It.toString()),null==Vt?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',Jt.animation.beginTime,Jt.animation.duration)):this.addAnimation(t,'[["points", "'+zt.toString()+'", "'+Xt.toString()+'",""]]',Jt.animation.beginTime,Jt.animation.duration)}else Jt.animation.type==ft.Translation&&(t.writeAttributeString("stroke-width",Jt.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",u.format("url(#{0})",jt)));Jt.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(Jt.pen.penStyle,Jt.pen.thickness)),t.writeEndElement()}}else if(J.is(at)){var $t,Ct=($t=J.as(at)).rect.stimulsoft.as(mt),It="",te="";if(It=null!=$t.background?this.writeFillBrush(t,$t.background,Ct):"fill:none;",this.checkPenGeom($t.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,$t.borderPen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,$t.borderPen.thickness.toString().split(",").join("."))}t.writeStartElement("ellipse"),t.writeAttributeString("rx",(Ct.width/2).toString().split(",").join(".")),t.writeAttributeString("ry",(Ct.height/2).toString().split(",").join(".")),$t.animation.type!=ft.Scale&&(t.writeAttributeString("cx",(Ct.x+this.dx+Ct.width/2).toString().split(",").join(".")),t.writeAttributeString("cy",(Ct.y+this.dy+Ct.height/2).toString().split(",").join("."))),t.writeAttributeString("style",It),$t.animation.type==ft.Opacity?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',$t.animation.beginTime,$t.animation.duration)):$t.animation.type==ft.Scale&&(t.writeAttributeString("transform","scale(0)"),this.addAnimation(t,u.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]',(Ct.x+this.dx+Ct.width/2).toString().split(",").join("."),(Ct.y+this.dy+Ct.height/2).toString().split(",").join(".")),$t.animation.beginTime,$t.animation.duration)),this.writeInteraction(t,$t.interaction),null==$t.toolTip||u.isNullOrEmpty($t.toolTip.toString())||this.writeTooltip(t,$t.toolTip.toString()),t.writeEndElement()}else if(J.is(lt)){var ee,Ct=(ee=J.as(lt)).rect,It="",te="";if(It=null!=ee.background?this.writeFillBrush(t,ee.background,Ct):"fill:none;",this.checkPenGeom(ee.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,ee.borderPen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,ee.borderPen.thickness.toString().split(",").join("."))}var Gt={ref:null},Ht={ref:null},Qt=this.getPathData(ee.pathGeoms,this.dx,this.dy,Gt,Ht);t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("d",Qt),t.writeAttributeString("style",It),0==Gt.ref.length?null!=ee.animation&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',ee.animation.beginTime,ee.animation.duration)):1==ee.pathGeoms.length&&ee.pathGeoms[0].is(M)?this.addAnimation(t,'[["pie", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref):this.addAnimation(t,'[["path", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref),this.writeInteraction(t,ee.interaction),null==ee.toolTip||u.isNullOrEmpty(ee.toolTip.toString())||this.writeTooltip(t,ee.toolTip.toString()),t.writeEndElement()}else if(J.is(nt)){var ee,Ct=(ee=J.as(nt)).rect,It="",te="";if(It=null!=ee.background?this.writeFillBrush(t,ee.background,Ct):"fill:none;",this.checkPenGeom(ee.pen)){var Tt=u.format("{0}",this.writeBorderStroke(t,ee.pen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,ee.pen.thickness.toString().split(",").join("."))}var Gt={ref:null},Ht={ref:null},Qt=this.getPathData(ee.geoms,this.dx,this.dy,Gt,Ht);t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("d",Qt),t.writeAttributeString("style",It),null!=ee.animation?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',ee.animation.beginTime,ee.animation.duration)):0!=Gt.ref.length&&this.addAnimation(t,'[["path", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref),this.writeInteraction(t,ee.interaction),t.writeEndElement()}else if(J.is(it)){var re,Vt=null!=(re=J.as(it)).animation?re.animation.stimulsoft.as(ct):null;if(this.checkPenGeom(re.pen)){var jt="g"+K.newGuid(),Wt=re.pen.brush.stimulsoft.as(p);t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",jt),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",u.format("rgba({0},{1},{2},{3})",Wt.r,Wt.g,Wt.b,Math.round2(Wt.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),null==Vt&&this.addAnimation(t,'[["offset", 0 , 100,"%"]]',re.animation.beginTime,re.animation.duration),t.writeEndElement(),null==Vt&&(t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 0px;"),t.writeEndElement()),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));var ne=this.convertSplineToCubicBezier(re.points,re.tension);if(null!=Vt){var Gt=new f,ie=this.convertSplineToCubicBezier(Vt.pointsFrom,re.tension),oe;Gt.appendFormat("M{0}:{1},{2}:{3} C",this.p(ie[0].x+this.dx),this.p(ne[0].x+this.dx),this.p(ie[0].y+this.dy),this.p(ne[0].y+this.dy));for(var ae=1;ae0?0==Bt.height?(t.writeAttributeString("y",this.p(Ct.height+Ct.y+this.dy)),this.addAnimation(t,'[["height", 0, '+Ut+', ""], ["y",'+this.p(Ct.height+Ct.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("y",this.p(Bt.y+this.dy)),wt.valueFrom>=0?this.addAnimation(t,'[["height", '+this.p(Bt.height)+", "+Ut+', ""], ["y",'+this.p(Bt.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration):(this.addAnimation(t,'[["height",'+this.p(Bt.height)+', 0,""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+this.p(Ct.height)+', ""], ["y",'+this.p(Ct.height+Ct.y+this.dy)+", "+this.p(Ct.y+this.dy)+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1"))):0==Bt.height?(t.writeAttributeString("y",this.p(Ct.y+this.dy)),this.addAnimation(t,'[["height", 0, '+Ut+',""]]',vt.animation.beginTime,vt.animation.duration)):wt.valueFrom>=0?(t.writeAttributeString("y",this.p(Bt.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(Bt.height)+', 0, ""], ["y",'+this.p(Bt.y+this.dy)+", "+this.p(Bt.height+Bt.y+this.dy)+', ""]]',vt.animation.beginTime,vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+Ut+', ""]]',vt.animation.beginTime.add2(q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),vt.animation.duration.add(-q.fromMilliseconds(vt.animation.duration.totalMilliseconds/2)),"1")):(t.writeAttributeString("y",this.p(Bt.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(Bt.height)+", "+Ut+',""]]',vt.animation.beginTime,vt.animation.duration)):(t.writeAttributeString("height",this.p(Ct.height)),t.writeAttributeString("y",this.p(Ct.y+this.dy))),this.writeInteraction(t,vt.interaction),t.writeAttributeString("style",It.toString()),null==vt.toolTip||u.isNullOrEmpty(vt.toolTip.toString())||this.writeTooltip(t,vt.toolTip.toString()),t.writeEndElement()}else if(J.is(st)){var Jt=J.as(st);if(this.checkPenGeom(Jt.pen)){var jt="g"+K.newGuid();if(Jt.animation.type==ft.Translation){var Wt=Jt.pen.brush.stimulsoft.as(p);t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",jt),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",u.format("rgba({0},{1},{2},{3})",Wt.r,Wt.g,Wt.b,Math.round2(Wt.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),this.addAnimation(t,'[["offset", 0 , 100,"%"]]',Jt.animation.beginTime,Jt.animation.duration),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 00px;"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeEndElement()}var Vt=null!=Jt.animation?Jt.animation.stimulsoft.as(ct):null;t.writeStartElement("polyline"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));for(var zt=new f,Xt=new f,Kt=0;Jt.points.length>Kt;Kt++){var Zt=Jt.points[Kt],qt=0;Kt==Jt.points.length-1&&(qt=1e-4),null==Vt?zt.appendFormat("{0},{1} ",this.p(Zt.x+this.dx),this.p(Zt.y+this.dy+qt)):(zt.appendFormat("{0},{1} ",this.p(Vt.pointsFrom[Kt].x+this.dx),this.p(Vt.pointsFrom[Kt].y+this.dy+qt)),Xt.appendFormat("{0},{1} ",this.p(Zt.x+this.dx),this.p(Zt.y+this.dy+qt)))}if(t.writeAttributeString("fill","none"),t.writeAttributeString("points",zt.toString()),Jt.animation.type==ft.Opacity||null!=Vt){var Tt=u.format("{0}",this.writeBorderStroke(t,Jt.pen.brush,new m)),It;(It=new f).appendFormat("{0};stroke-width:{1};",Tt,this.p(Jt.pen.thickness)),t.writeAttributeString("style",It.toString()),null==Vt?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',Jt.animation.beginTime,Jt.animation.duration)):this.addAnimation(t,'[["points", "'+zt.toString()+'", "'+Xt.toString()+'",""]]',Jt.animation.beginTime,Jt.animation.duration)}else Jt.animation.type==ft.Translation&&(t.writeAttributeString("stroke-width",Jt.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",u.format("url(#{0})",jt)));Jt.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(Jt.pen.penStyle,Jt.pen.thickness)),t.writeEndElement()}}else if(J.is(at)){var $t,Ct=($t=J.as(at)).rect.stimulsoft.as(mt),It="",te="";if(It=null!=$t.background?this.writeFillBrush(t,$t.background,Ct):"fill:none;",this.checkPenGeom($t.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,$t.borderPen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,$t.borderPen.thickness.toString().split(",").join("."))}t.writeStartElement("ellipse"),t.writeAttributeString("rx",(Ct.width/2).toString().split(",").join(".")),t.writeAttributeString("ry",(Ct.height/2).toString().split(",").join(".")),$t.animation.type!=ft.Scale&&(t.writeAttributeString("cx",(Ct.x+this.dx+Ct.width/2).toString().split(",").join(".")),t.writeAttributeString("cy",(Ct.y+this.dy+Ct.height/2).toString().split(",").join("."))),t.writeAttributeString("style",It),$t.animation.type==ft.Opacity?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',$t.animation.beginTime,$t.animation.duration)):$t.animation.type==ft.Scale&&(t.writeAttributeString("transform","scale(0)"),this.addAnimation(t,u.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]',(Ct.x+this.dx+Ct.width/2).toString().split(",").join("."),(Ct.y+this.dy+Ct.height/2).toString().split(",").join(".")),$t.animation.beginTime,$t.animation.duration)),this.writeInteraction(t,$t.interaction),null==$t.toolTip||u.isNullOrEmpty($t.toolTip.toString())||this.writeTooltip(t,$t.toolTip.toString()),t.writeEndElement()}else if(J.is(lt)){var ee,Ct=(ee=J.as(lt)).rect,It="",te="";if(It=null!=ee.background?this.writeFillBrush(t,ee.background,Ct):"fill:none;",this.checkPenGeom(ee.borderPen)){var Tt=u.format("{0}",this.writeBorderStroke(t,ee.borderPen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,ee.borderPen.thickness.toString().split(",").join("."))}var Gt={ref:null},Ht={ref:null},Qt=this.getPathData(ee.pathGeoms,this.dx,this.dy,Gt,Ht);t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("d",Qt),t.writeAttributeString("style",It),0==Gt.ref.length?null!=ee.animation&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',ee.animation.beginTime,ee.animation.duration)):1==ee.pathGeoms.length&&ee.pathGeoms[0].is(M)?this.addAnimation(t,'[["pie", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref):this.addAnimation(t,'[["path", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref),this.writeInteraction(t,ee.interaction),null==ee.toolTip||u.isNullOrEmpty(ee.toolTip.toString())||this.writeTooltip(t,ee.toolTip.toString()),t.writeEndElement()}else if(J.is(nt)){var ee,Ct=(ee=J.as(nt)).rect,It="",te="";if(It=null!=ee.background?this.writeFillBrush(t,ee.background,Ct):"fill:none;",this.checkPenGeom(ee.pen)){var Tt=u.format("{0}",this.writeBorderStroke(t,ee.pen.brush,Ct));It+=u.format("{0};stroke-width:{1};",Tt,ee.pen.thickness.toString().split(",").join("."))}var Gt={ref:null},Ht={ref:null},Qt=this.getPathData(ee.geoms,this.dx,this.dy,Gt,Ht);t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("d",Qt),t.writeAttributeString("style",It),null!=ee.animation?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',ee.animation.beginTime,ee.animation.duration)):0!=Gt.ref.length&&this.addAnimation(t,'[["path", "'+Gt.ref.toString()+'", 1,""]]',q.fromMilliseconds(0),Ht.ref),t.writeEndElement()}else if(J.is(it)){var re,Vt=null!=(re=J.as(it)).animation?re.animation.stimulsoft.as(ct):null;if(this.checkPenGeom(re.pen)){var jt="g"+K.newGuid(),Wt=re.pen.brush.stimulsoft.as(p);t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",jt),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",u.format("rgba({0},{1},{2},{3})",Wt.r,Wt.g,Wt.b,Math.round2(Wt.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),null==Vt&&this.addAnimation(t,'[["offset", 0 , 100,"%"]]',re.animation.beginTime,re.animation.duration),t.writeEndElement(),null==Vt&&(t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 0px;"),t.writeEndElement()),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));var ne=this.convertSplineToCubicBezier(re.points,re.tension);if(null!=Vt){var Gt=new f,ie=this.convertSplineToCubicBezier(Vt.pointsFrom,re.tension),oe;Gt.appendFormat("M{0}:{1},{2}:{3} C",this.p(ie[0].x+this.dx),this.p(ne[0].x+this.dx),this.p(ie[0].y+this.dy),this.p(ne[0].y+this.dy));for(var ae=1;ae0&&t.writeAttributeString("font-weight","bold"),(xt.style&$.Italic)>0&&t.writeAttributeString("font-style","italic");var ge="";(xt.style&$.Underline)>0&&(ge+="underline"),(xt.style&$.Strikeout)>0&&(ge+=" line-through"),u.isNullOrEmpty(ge)||t.writeAttributeString("text-decoration",ge);var kt=Rt.brush.stimulsoft.is(p)?Rt.brush.stimulsoft.as(p):W.toColor(Rt.brush.stimulsoft.as(W));if(It.append(u.format("fill:#{0:X2}{1:X2}{2:X2};",kt.r,kt.g,kt.b)),255!=kt.a&&It.append(u.format("fill-opacity:{0}",Math.round2(kt.a/255,3).toString().split(",").join("."))),u.isNullOrEmpty(Rt.toolTip)&&It.append("pointer-events: none"),t.writeAttributeString("style",It.toString()),this.writeTooltip(t,Rt.toolTip),0!=Rt.maximalWidth&&null!=Rt.maximalWidth){for(var Se=Rt.text.length,ye=Se,de=new Z(0,0),ae=0;aeRt.maximalWidth&&0!=ae){ye=ae-1;break}var Ae=Math.ceil(Se/ye),be=0;switch(Rt.rotationMode){case g.LeftCenter:case g.CenterCenter:case g.RightCenter:be=-Ae*de.height/2+de.height/2;break;default:be=0;break}if(ye>0){var ve=0,ae=0;while(ve0?e+1:e},r.addPiePath=function(e,r,n,i,o,a){var s=new q,l=new f,p=null!=e.animation?e.animation.stimulsoft.as(ht):null,h=e.rect.x+n+e.rect.width/2,m=e.rect.y+i+e.rect.height/2,d=e.rect.width/2,g=null==p?e.startAngle:p.startAngleFrom,S=null==p?e.sweepAngle:p.sweepAngleFrom,y=g*Math.PI/180,A=h+d*Math.cos(y),b=m+d*Math.sin(y);l.appendFormat("M{0},{1}",this.p(h),this.p(m)),l.appendFormat("L{0},{1}",this.p(A),this.p(b));var v=this.round(Math.abs(S/90)),C=S/v;y=g;for(var w=0;w{2}',e.width,e.height,p.textWriter.getStringBuilder().toString());canvgv2(s,S);var y=s.toDataURL(c.Jpeg.mimeType);return a.base64=y,a},t.getImageAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var a,s,p,d,g,S,y;return __generator(this,(function(A){if(a=new u,!r.useWebKit)return[2,a];return(s=document.createElement("canvas")).width=e.width,s.height=e.height,p=new n(i.UTF8),null!=(d=e.component.as(o))&&null!=d.brush&&((g=new m).append(h.writeFillBrush(p,d.brush,new l(0,0,e.width,e.height))),p.writeStartElement("rect"),p.writeAttributeString("x",e.x.toString().split(",").join(".")),p.writeAttributeString("y",e.y.toString().split(",").join(".")),p.writeAttributeString("height",e.height.toString().split(",").join(".")),p.writeAttributeString("width",e.width.toString().split(",").join(".")),p.writeAttributeString("style",g.toString()),p.writeEndElement()),t.writeChart(p,e,1,!1),p.flush(),S=f.format('{2}',e.width,e.height,p.textWriter.getStringBuilder().toString()),canvgv2(s,S),y=s.toDataURL(c.Jpeg.mimeType),a.base64=y,[2,a]}))}))},t.writeChart=function(t,e,r,n){var i=e.component.as(o),u=new s,c=new a(u,!0,!1,!1,r);i.isAnimation=n;var m=e.width,d=e.height,g;i.rotation!=p.Rotate90CCW&&i.rotation!=p.Rotate90CW||(m=e.height,d=e.width),i.core.render(c,new l(0,0,m,d),!0).drawGeom(c),t.writeStartElement("g");var S=e.x+.5,y=e.y+.5,A="";switch(i.rotation){case p.Rotate90CW:A=" rotate(90)",S+=d;break;case p.Rotate90CCW:A=" rotate(-90)",y+=m;break;case p.Rotate180:A=" rotate(180)",y+=d,S+=m;break;case p.FlipHorizontal:A=" scale(-1, 1)",S+=m;break;case p.FlipVertical:A=" scale(1, -1)",y+=d;break}t.writeAttributeString("transform",f.format("translate({0},{1}){2}",S,y,A)),h.writeGeoms(t,c,n),t.writeEndElement()},t}();e.StiChartSvgHelper=d}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return Object.defineProperty(t.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animation",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),t}();t.StiGaugeGeom=e}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o,a){var s=e.call(this)||this;return s.rect=t,s.background=r,s.borderBrush=n,s.borderWidth=i,s.startAngle=o,s.sweepAngle=a,s}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.Pie},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiPieGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i){var o=e.call(this)||this;return o.rect=t,o.background=r,o.borderBrush=n,o.borderWidth=i,o}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.Ellipse},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiEllipseGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this)||this;return u.rect=t,u.background=r,u.borderBrush=n,u.borderWidth=i,u.startAngle=o,u.sweepAngle=a,u.startWidth=s,u.endWidth=l,u}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.GraphicsArcGeometry},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiGraphicsArcGeometryGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.PopTranform},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiPopTranformGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r){var n=e.call(this)||this;return n.angle=t,n.centerPoint=r,n}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.PushMatrix},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiPushMatrixGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o,a,s,l,u,c,p){var h=e.call(this)||this;return h.rect=t,h.background=r,h.borderBrush=n,h.borderWidth=i,h.centerPoint=o,h.startAngle=a,h.sweepAngle=s,h.radius1=l,h.radius2=u,h.radius3=c,h.radius4=p,h}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.RadialRange},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiRadialRangeGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i){var o=e.call(this)||this;return o.rect=t,o.background=r,o.borderBrush=n,o.borderWidth=i,o}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.Rectangle},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiRectangleGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this)||this;return u.rect=t,u.background=r,u.borderBrush=n,u.borderWidth=i,u.leftTop=o,u.rightTop=a,u.rightBottom=s,u.leftBottom=l,u}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.RoundedRectangle},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiRoundedRectangleGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n=t.System.Drawing.StringFormat,i=t.System.Drawing.StringAlignment,o=t.System.Drawing.StringFormatFlags,a=function(t){function r(e,r,a,s,l){var u=t.call(this)||this;return u.text=e,u.font=r,u.foreground=a,u.rect=s,null==l&&((l=new n).alignment=i.Center,l.lineAlignment=i.Center,l.formatFlags=o.NoWrap),u.stringFormat=l,u}return __extends(r,t),Object.defineProperty(r.prototype,"type",{get:function(){return e.StiGaugeGeomType.Text},enumerable:!1,configurable:!0}),r}(r.StiGaugeGeom);r.StiTextGaugeGeom=a}(r=e.GaugeGeoms||(e.GaugeGeoms={}))}(r=e.Gauge||(e.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Gauge.GaugeGeoms.StiPieGaugeGeom,n=t.Report.Gauge.GaugeGeoms.StiEllipseGaugeGeom,i=t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom,o=t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom,a=t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom,s=t.Report.Gauge.GaugeGeoms.StiRadialRangeGaugeGeom,l=t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom,u=t.Report.Gauge.GaugeGeoms.StiRoundedRectangleGaugeGeom,c=t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom,p=t.System.Drawing.Font,h=t.System.Drawing.Graphics,m=function(){function t(t,e,r){this.geoms=[],this.gauge=t,this.rect=e,this.zoom=r}return t.changeFontSize=function(t,e){var r=t.size*e;return r<1&&(r=1),new p(t.fontFamily.name,r,t.style,t.unit)},t.prototype.measureString=function(t,e){return h.measureString(t,e)},t.prototype.addPieGaugeGeom=function(t,e,n,i,o,a){t.width>0&&t.height>0&&this.geoms.push(new r(t,e,n,i,o,a))},t.prototype.addEllipseGaugeGeom=function(t,e,r,i){t.width>0&&t.height>0&&this.geoms.push(new n(t,e,r,i))},t.prototype.addGraphicsArcGeometryGaugeGeom=function(t,e,r,n,o,a,s,l){t.width>0&&t.height>0&&this.geoms.push(new i(t,e,r,n,o,a,s,l))},t.prototype.addPopTranformGaugeGeom=function(){this.geoms.push(new o)},t.prototype.addPushMatrixGaugeGeom=function(t,e){this.geoms.push(new a(t,e))},t.prototype.addRadialRangeGaugeGeom=function(t,e,r,n,i,o,a,l,u,c,p){t.width>0&&t.height>0&&this.geoms.push(new s(t,e,r,n,i,o,a,l,u,c,p))},t.prototype.addRectangleGaugeGeom=function(t,e,r,n){t.width>0&&t.height>0&&this.geoms.push(new l(t,e,r,n))},t.prototype.addRoundedRectangleGaugeGeom=function(t,e,r,n,i,o,a,s){t.width>0&&t.height>0&&this.geoms.push(new u(t,e,r,n,i,o,a,s))},t.prototype.addTextGaugeGeom=function(t,e,r,n,i){n.width>0&&n.height>0&&this.geoms.push(new c(t,e,r,n,i))},t.prototype.addGraphicsPathGaugeGeom=function(t){t.rect.width>0&&t.rect.height>0&&this.geoms.push(t)},t.prototype.render=function(){},t}();e.StiGaugeContextPainter=m}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r;!function(e){var r=function(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this,s,l)||this;return u.centerX=o,u.centerY=a,u.startScaleX=t,u.startScaleY=n,u.endScaleX=r,u.endScaleY=i,u}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Scale},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiScaleAnimation=r}(r=e.Animation||(e.Animation={}))}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r;!function(e){var r=function(e){function r(t,r,n,i,o){var a=e.call(this,i,o)||this;return a.startAngle=t,a.endAngle=r,a.centerPoint=n,a}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Rotation},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiRotationAnimation=r}(r=e.Animation||(e.Animation={}))}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r;!function(e){var r=function(e){function r(t,r,n,i){var o=e.call(this,n,i)||this;return o.startPoint=t,o.endPoint=r,o}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Translation},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiTranslationAnimation=r}(r=e.Animation||(e.Animation={}))}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r,n,i,o,a){var s=e.call(this)||this;return s.x=t,s.y=r,s.width=n,s.height=i,s.startAngle=o,s.sweepAngle=a,s}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.GraphicsPathArc},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiGraphicsPathArcGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t[t["GraphicsPath"]=0]="GraphicsPath",t[t["GraphicsPathArc"]=1]="GraphicsPathArc",t[t["GraphicsPathCloseFigure"]=2]="GraphicsPathCloseFigure",t[t["RoundedRectangle"]=3]="RoundedRectangle",t[t["Rectangle"]=4]="Rectangle",t[t["Pie"]=5]="Pie",t[t["Ellipse"]=6]="Ellipse",t[t["GraphicsArcGeometry"]=7]="GraphicsArcGeometry",t[t["PushMatrix"]=8]="PushMatrix",t[t["PopTranform"]=9]="PopTranform",t[t["GraphicsPathLines"]=10]="GraphicsPathLines",t[t["GraphicsPathLine"]=11]="GraphicsPathLine",t[t["Text"]=12]="Text",t[t["RadialRange"]=13]="RadialRange"}(e=t.StiGaugeGeomType||(t.StiGaugeGeomType={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.NodeJs,i=t.System.Drawing.Imaging.ImageFormat,o=t.System.Text.Encoding,a=t.System.Drawing.Image,s=t.System.Drawing.ColorTranslator,l=t.System.Text.StringBuilder,u=t.Base.Context.Animation.StiScaleAnimation,c=t.Base.Context.Animation.StiRotationAnimation,p=t.Base.Context.Animation.StiTranslationAnimation,h=t.Base.Drawing.StiSolidBrush,m=t.Base.Drawing.StiGradientBrush,f=t.Base.Drawing.StiGlassBrush,d=t.Base.Drawing.StiGlareBrush,g=t.Base.Drawing.StiHatchBrush,S=t.Report.Gauge.GaugeGeoms.StiGraphicsPathArcGaugeGeom,y=t.Base.Drawing.StiBrush,A=t.System.Drawing.Color,b=t.System.Drawing.Font,v=t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom,C=t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom,w=t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom,B=t.Report.Gauge.StiGaugeGeomType,I=t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom,T=t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom,E=t.System.Drawing.Point,R=t.Report.Painters.StiGaugeContextPainter,D=t.System.Drawing.Rectangle,P=t.System.Xml.XmlTextWriter,x=function(){function t(){}return t.getImage=function(e){var s=new a;if(!n.useWebKit)return s;var l=document.createElement("canvas");l.width=e.width,l.height=e.height;var u=new P(o.UTF8);t.writeGauge(u,e,1,!1),u.flush();var c=r.format('{2}',e.width,e.height,u.textWriter.getStringBuilder().toString());canvgv2(l,c);var p=l.toDataURL(i.Jpeg.mimeType);return s.base64=p,s},t.getImageAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var s,l,u,c,p;return __generator(this,(function(h){if(s=new a,!n.useWebKit)return[2,s];return(l=document.createElement("canvas")).width=e.width,l.height=e.height,u=new P(o.UTF8),t.writeGauge(u,e,1,!1),u.flush(),c=r.format('{2}',e.width,e.height,u.textWriter.getStringBuilder().toString()),canvgv2(l,c),p=l.toDataURL(i.Jpeg.mimeType),s.base64=p,[2,s]}))}))},t.addAnimation=function(t,e,n,i,o){void 0===o&&(o="");var a=r.format('{{"actions":{0}, "begin":{1}, "duration":{2}}}',e,null!=n?n.totalMilliseconds:0,i.totalMilliseconds);t.writeAttributeString("_animation"+o,a)},t.writeGauge=function(t,e,n,i,o){var a,s;void 0===n&&(n=1),void 0===i&&(i=!1),void 0===o&&(o=!1);var h=e.component;h.isDesigning&&h.prepareInit();var m=new R(h,new D(0,0,e.width,e.height),n);if(m.gauge=h,m.rect=new D(e.x,e.y,e.width,e.height),m.zoom=n,m.geoms.stimulsoft.clear(),h.drawGauge(m),o)for(var f=m.geoms.length-1;f>=0;f--){var d;((d=m.geoms[f]).stimulsoft.is(v)||d.stimulsoft.is(w))&&m.geoms.stimulsoft.remove(d)}m.render();var g=0;t.writeStartElement("g"),t.writeAttributeString("transform",r.format("translate({0},{1})",(e.x+.5).toString().split(",").join("."),(e.y+.5).toString().split(",").join(".")));try{for(var S=__values(m.geoms),A=S.next();!A.done;A=S.next()){var C=A.value;if(C.stimulsoft.is(T)){var P=C;t.writeStartElement("g"),t.writeAttributeString("transform",r.format("rotate({2}, {0}, {1})",P.centerPoint.x.toString().split(",").join("."),P.centerPoint.y.toString().split(",").join("."),P.angle.toString().split(",").join(".")))}else if(C.stimulsoft.is(I))t.writeEndElement();else if(C.type==B.RoundedRectangle){var d=C,x=this.rectToRectangle(d.rect),F="";null!=d.background?F+=this.writeFillBrush(t,d.background,x):F+="fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth),t.writeStartElement("rect"),t.writeAttributeString("x",x.x.toString().split(",").join(".")),t.writeAttributeString("y",x.y.toString().split(",").join(".")),t.writeAttributeString("ry",d.leftTop.toString().split(",").join(".")),t.writeAttributeString("rx",d.leftTop.toString().split(",").join(".")),t.writeAttributeString("height",x.height.toString().split(",").join(".")),t.writeAttributeString("width",x.width.toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("style",F),t.writeEndElement()}else if(C.type==B.Rectangle){var d=C,x=this.rectToRectangle(d.rect),F="";null!=d.background?F+=this.writeFillBrush(t,d.background,x):F+="fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth),t.writeStartElement("rect"),t.writeAttributeString("x",x.x.toString().split(",").join(".")),t.writeAttributeString("y",x.y.toString().split(",").join(".")),t.writeAttributeString("height",(x.height+1).toString().split(",").join(".")),t.writeAttributeString("width",(x.width+1).toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("style",F.toString()),t.writeEndElement()}else if(C.type==B.GraphicsPath){var d=C,x=this.rectToRectangle(d.rect),F="",k="";F=null!=d.background?this.writeFillBrush(t,d.background,x):"fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth.toString().split(",").join("."));var M=this.getPathData(d.geoms,d.startPoint);if(t.writeStartElement("path"),t.writeAttributeString("d",M),t.writeAttributeString("style",F),null!=d.animation)if(d.animation.stimulsoft.is(p)){var O=d.animation;if(O.startPoint.x!=O.endPoint.x){var _=(O.startPoint.x-O.endPoint.x).toString().split(",").join(".");this.addAnimation(t,r.format('[["transform", {0}, 0,",0)", "translate("]]',_),O.beginTime,O.duration),t.writeAttributeString("transform",r.format("translate({0}, 0)",_))}else{var j=(O.startPoint.y-O.endPoint.y).toString().split(",").join(".");this.addAnimation(t,r.format('[["transform", {0}, 0,")", "translate(0,"]]',j),O.beginTime,O.duration),t.writeAttributeString("transform",r.format("translate(0, {0})",j))}}else if(d.animation.stimulsoft.is(c)){var G=d.animation;t.writeAttributeString("transform",r.format("rotate({0}, {1}, {2})",G.startAngle.toString().split(",").join("."),G.centerPoint.x.toString().split(",").join("."),G.centerPoint.y.toString().split(",").join("."))),this.addAnimation(t,r.format('[["transform", {0}, {1},", {2}, {3})", "rotate("]]',G.startAngle.toString().split(",").join("."),G.endAngle.toString().split(",").join("."),G.centerPoint.x.toString().split(",").join("."),G.centerPoint.y.toString().split(",").join(".")),G.beginTime,G.duration)}else if(d.animation.stimulsoft.is(u)){t.writeAttributeString("opacity","0");var H=d.animation;this.addAnimation(t,r.format('[["scaleCenter", {0}, {1}, {2}, {3}, {4}, {5}]]',H.startScaleX.toString().split(",").join("."),H.endScaleX.toString().split(",").join("."),H.startScaleY.toString().split(",").join("."),H.endScaleY.toString().split(",").join("."),(Math.abs(H.centerX-d.startPoint.x)>Math.abs(.15*H.centerX)).toString().toLowerCase(),(Math.abs(H.centerY-d.startPoint.y)>Math.abs(.15*H.centerY)).toString().toLowerCase()),H.beginTime,H.duration)}t.writeEndElement()}else if(C.type==B.Pie){var d=C,x=this.rectToRectangle(d.rect),F="",k="";F=null!=d.background?this.writeFillBrush(t,d.background,x):"fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth.toString().split(",").join("."));var M=this.addPiePath(d,"");t.writeStartElement("path"),t.writeAttributeString("d",M),t.writeAttributeString("style",F),t.writeEndElement()}else if(C.type==B.Ellipse){var Q=C,x=this.rectToRectangle(Q.rect),F="",k="";F=null!=Q.background?this.writeFillBrush(t,Q.background,x):"fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,Q.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,Q.borderWidth.toString().split(",").join(".")),t.writeStartElement("ellipse"),t.writeAttributeString("cx",(x.x+x.width/2).toString().split(",").join(".")),t.writeAttributeString("cy",(x.y+x.height/2).toString().split(",").join(".")),t.writeAttributeString("rx",(x.width/2).toString().split(",").join(".")),t.writeAttributeString("ry",(x.height/2).toString().split(",").join(".")),t.writeAttributeString("style",F),t.writeEndElement()}else if(C.type==B.GraphicsArcGeometry){var d=C,F="",k="",x=this.rectToRectangle(d.rect);F=null!=d.background?this.writeFillBrush(t,d.background,x):"fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth.toString().split(",").join("."));var M=this.addArcPath(d,"");t.writeStartElement("path"),t.writeAttributeString("d",M),t.writeAttributeString("style",F),t.writeEndElement()}else if(C.type==B.Text){var L=C,Y=new b(L.font.name,L.font.size,L.font.style,L.font.unit),U=new E,x=this.rectToRectangle(L.rect);U=new E(x.x,x.y);var F=new l,J=4*Y.size/3;t.writeStartElement("text"),F.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.9em"),t.writeAttributeString("dx",r.format("{0}em",(.3*L.text.length).toString().split(",").join("."))),t.writeAttributeString("transform",r.format("translate({0}, {1}) ",U.x.toString().split(",").join("."),U.y.toString().split(",").join("."))),t.writeAttributeString("font-size",J.toString().split(",").join(".")),t.writeAttributeString("font-family",Y.fontFamily.name);var W=y.toColor(L.foreground);F.append(r.format("fill:#{0:X2}{1:X2}{2:X2};",W.r,W.g,W.b)),255!=W.a&&F.append(r.format("fill-opacity:{0}",Math.round2(W.a/255,3).toString().split(",").join("."))),t.writeAttributeString("style",F.toString()),t.writeString(L.text),t.writeEndElement()}else if(C.type==B.RadialRange){var d,V=(d=C).startAngle*this.PiDiv180,z=new l,X=d.centerPoint,K=X.x+d.radius1*Math.cos(V),Z=X.y+d.radius1*Math.sin(V),q=new E(K,Z),$=Math.round2(Math.abs(d.sweepAngle/10)),tt=d.sweepAngle/$;V=d.startAngle;var et=d.radius1-d.radius2,rt=1/$,nt=0;z.appendFormat("M{0},{1}",K.toString().split(",").join("."),Z.toString().split(",").join(".")),V=d.startAngle;var it=-1;while(++it<$){var ot=d.radius1-et*nt,at=d.radius1-et*(nt+rt),st=this.convertArcToCubicBezier3(new E(X.x,X.y),ot,at,V,tt);0==it?z.appendFormat(" C{0},{1},{2},{3},{4},{5}",st[1].x.toString().split(",").join("."),st[1].y.toString().split(",").join("."),st[2].x.toString().split(",").join("."),st[2].y.toString().split(",").join("."),st[3].x.toString().split(",").join("."),st[3].y.toString().split(",").join(".")):z.appendFormat(",{0},{1},{2},{3},{4},{5}",st[1].x.toString().split(",").join("."),st[1].y.toString().split(",").join("."),st[2].x.toString().split(",").join("."),st[2].y.toString().split(",").join("."),st[3].x.toString().split(",").join("."),st[3].y.toString().split(",").join(".")),V+=tt,nt+=rt,it==$-1&&(q=st[3])}for(tt=d.sweepAngle/$,et=d.radius3-d.radius4,rt=1/$,nt=$,V=d.startAngle+d.sweepAngle,it=0;it<$;it++){var ot=d.radius3-et*nt,at=d.radius3-et*(nt+rt),st=this.convertArcToCubicBezier3(X,ot,at,V,-tt);0==it?(z.appendFormat(" L{0},{1}",st[0].x.toString().split(",").join("."),st[0].y.toString().split(",").join(".")),z.appendFormat(" C{0},{1},{2},{3},{4},{5}",st[1].x.toString().split(",").join("."),st[1].y.toString().split(",").join("."),st[2].x.toString().split(",").join("."),st[2].y.toString().split(",").join("."),st[3].x.toString().split(",").join("."),st[3].y.toString().split(",").join("."))):z.appendFormat(",{0},{1},{2},{3},{4},{5}",st[1].x.toString().split(",").join("."),st[1].y.toString().split(",").join("."),st[2].x.toString().split(",").join("."),st[2].y.toString().split(",").join("."),st[3].x.toString().split(",").join("."),st[3].y.toString().split(",").join(".")),V-=tt,nt-=rt}z.appendFormat("z");var F="",k="",x=this.rectToRectangle(d.rect);F=null!=d.background?this.writeFillBrush(t,d.background,x):"fill-opacity:0;";var N=r.format("{0}",this.writeBorderStroke(t,d.borderBrush,x));F+=r.format("{0};stroke-width:{1};",N,d.borderWidth.toString().split(",").join(".")),t.writeStartElement("path"),t.writeAttributeString("d",z.toString()),t.writeAttributeString("style",F),t.writeEndElement()}}}catch(t){a={error:t}}finally{try{A&&!A.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}t.writeEndElement()},t.getPathData=function(t,e){var n,i,o=r.format("M{0},{1}",e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),a=0;try{for(var s=__values(t),u=s.next();!u.done;u=s.next()){var c=u.value;if(c.type==B.GraphicsPathArc){var p=c;o+=this.getArcPath(new D(p.x,p.y,p.width,p.height),o,p.startAngle,p.sweepAngle,0==a)}else if(c.type==B.GraphicsPathLine){var h=c,m=new l;o.stimulsoft.startsWith("M")||m.appendFormat("M{0},{1}",h.p2.x.toString().split(",").join("."),h.p2.y.toString().split(",").join(".")),m.appendFormat("L{0},{1}",h.p2.x.toString().split(",").join("."),h.p2.y.toString().split(",").join(".")),o+=m}else if(c.type==B.GraphicsPathLines){var f=c,m=new l;o.stimulsoft.startsWith("M")||m.appendFormat("M{0},{1}",f.points[0].x.toString().split(",").join("."),f.points[0].y.toString().split(",").join("."));for(var d=0;d0?e+1:e},t.writeText=function(t,e,r,n,i,o){var a=new l;t.writeStartElement("text"),a.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.9em"),t.writeAttributeString("dx",(.3*e.length).toString().stimulsoft.replaceAll(", ",".")+"em"),t.writeAttributeString("transform","translate("+i.x.toString().stimulsoft.replaceAll(", ",".")+", "+i.y.toString().stimulsoft.replaceAll(", ",".")+") "),t.writeAttributeString("font-size",o.toString().split(",").join(".")),t.writeAttributeString("font-family",r.fontFamily.name);var u=y.toColor(n);a.append("fill:"+s.toHtml(u)+";"),255!=u.a&&a.append("fill-opacity:"+Math.round2(u.a/255,3).toString().stimulsoft.replaceAll(", ",".")),t.writeAttributeString("style",a.toString()),t.writeRaw(e),t.writeEndElement()},t.calculateCurveBezier=function(t,e,r){var n=t[e+2].x-t[e+0].x,i=t[e+2].y-t[e+0].y;return[new E(t[e+1].x-r*n,t[e+1].y-r*i),new E(t[e+1].x+r*n,t[e+1].y+r*i)]},t.calculateCurveBezierEndPoints=function(t,e,r){return new E(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},t.writeFillBrush=function(t,n,i){if(n.stimulsoft.is(A)){var o=n;return r.format("fill:rgb({0},{1},{2});fill-opacity:{3};",o.r,o.g,o.b,Math.round2(o.a/255,3).toString().split(",").join("."))}if(n.stimulsoft.is(m)){var a=e.StiBrushSvgHelper.writeGradientBrush(t,n,i);return r.format("fill:url(#{0});",a)}if(n.stimulsoft.is(d)){var a=e.StiBrushSvgHelper.writeGlareBrush(t,n,i);return r.format("fill:url(#{0});",a)}if(n.stimulsoft.is(f)){var a=e.StiBrushSvgHelper.writeGlassBrush(t,n,i);return r.format("fill:url(#{0});",a)}if(n.stimulsoft.is(g)){var a=e.StiBrushSvgHelper.writeHatchBrush(t,n);return r.format("fill:url(#{0});",a)}if(n.stimulsoft.is(y)){var o=y.toColor(n);return r.format("fill:rgb({0},{1},{2});fill-opacity:{3};",o.r,o.g,o.b,Math.round2(o.a/255,3).toString().split(",").join("."))}return"fill-opacity:0;"},t.writeBorderStroke=function(t,n,i){if(null==n?void 0:n.stimulsoft.is(A)){var o=n,a=r.format("stroke:rgb({0},{1},{2});",o.r,o.g,o.b),s;return 1!=(s=Math.round2(o.a/255,3))&&(a+=r.format("stroke-opacity:{0};",s.toString().split(",").join("."))),a}if(null==n?void 0:n.stimulsoft.is(h)){var l=n,a=r.format("stroke:rgb({0},{1},{2});",l.color.r,l.color.g,l.color.b),s;return 1!=(s=Math.round2(l.color.a/255,3))&&(a+=r.format("stroke-opacity:{0};",s.toString().split(",").join("."))),a}if(null==n?void 0:n.stimulsoft.is(m)){var u=e.StiBrushSvgHelper.writeGradientBrush(t,n,i);return r.format("fill:url(#{0});",u)}if(null==n?void 0:n.stimulsoft.is(d)){var u=e.StiBrushSvgHelper.writeGlareBrush(t,n,i);return r.format("fill:url(#{0});",u)}if(null==n?void 0:n.stimulsoft.is(f)){var u=e.StiBrushSvgHelper.writeGlassBrush(t,n,i);return r.format("fill:url(#{0});",u)}if(null==n?void 0:n.stimulsoft.is(g)){var u=e.StiBrushSvgHelper.writeHatchBrush(t,n);return r.format("fill:url(#{0});",u)}if(null==n?void 0:n.stimulsoft.is(y)){var o=y.toColor(n),a=r.format("stroke:rgb({0},{1},{2})",o.r,o.g,o.b),s;1!=(s=Math.round2(o.a/255,3))&&(a+=r.format(";stroke-opacity:{0}",s.toString().split(",").join(".")))}return"stroke-opacity:0"},t.rectToRectangle=function(t){if(t.stimulsoft.is(D))return t;return new D},t.PiDiv180=Math.PI/180,t.FourDivThree=4/3,t}();e.StiGaugeSvgHelper=x}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Collections.List,i=t.Report.Dictionary.StiDataColumn,o=t.Base.Helpers.StiBingMapHelper,a=t.System.StiPromise,s=function(){function t(){this.useBackground=!1}return t.prototype.getImageAsync=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=new a,o=t.report.info.zoom;this.useBackground&&(e*=2),t.report.info.zoom=e;var s=t.getPaintRectangle();s.x=0,s.y=0,s.width=null!=r?r:s.width,s.height=null!=n?n:s.height;var l=Math.trunc(s.width)+2,u=Math.trunc(s.height)+2;return this.paintOnlineMapAsync(s,t).try((function(t){i.callTry(t)})),t.report.info.zoom=o,i},t.prototype.paintOnlineMapAsync=function(t,e){var s=new a,l=t.size;try{var u=new n;if(!r.isNullOrEmpty(e.latitude)&&!r.isNullOrEmpty(e.longitude)){e.report.isDesigning&&this.useBackground||e.report.dictionary.connect();var c=i.getDataListFromDataColumn(e.report.dictionary,e.latitude),p=i.getDataListFromDataColumn(e.report.dictionary,e.longitude);if(e.report.isDesigning&&this.useBackground||e.report.dictionary.disconnect(),null!=c&&null!=p){var h=Math.max(c.length,p.length);h>100&&(h=100);for(var m=0;m=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next()},B.prototype.last=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this._countData-1):this.dataSource.last():this.businessObject.last()},Object.defineProperty(B.prototype,"isEof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"isBof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"isEmpty",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"position",{get:function(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"count",{get:function(){if(this.isCacheValues)return this.cachedCount;return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this._countData:this.dataSource.count:this.businessObject.count},enumerable:!1,configurable:!0}),B.prototype.cacheValues=function(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},Object.defineProperty(B.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"componentId",{get:function(){return e.StiComponentId.StiMap},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"localizedCategory",{get:function(){return u.get("Report","Infographics")},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"localizedName",{get:function(){return u.get("Components","StiMap")},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"mapStyle",{get:function(){return this._mapStyle},set:function(t){this._mapStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"dataFrom",{get:function(){return this._dataFrom},set:function(t){this._dataFrom=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"colorEach",{get:function(){return this._colorEach},set:function(t){this._colorEach=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"showValue",{get:function(){return this._showValue},set:function(t){this._showValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"shortValue",{get:function(){return this._shortValue},set:function(t){this._shortValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"displayNameType",{get:function(){return this._displayNameType},set:function(t){this._displayNameType=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"mapIdent",{get:function(){return this._mapIdent},set:function(t){this._mapIdent=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"mapType",{get:function(){return this._mapType},set:function(t){this._mapType=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"mapData",{get:function(){return this._mapData},set:function(t){this._mapData!=t&&(this._mapData=t,this._isHashDataEmpty=!0,this.isMapDataChanged=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"keyDataColumn",{get:function(){return this._keyDataColumn},set:function(t){this._keyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"nameDataColumn",{get:function(){return this._nameDataColumn},set:function(t){this._nameDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"valueDataColumn",{get:function(){return this._valueDataColumn},set:function(t){this._valueDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"groupDataColumn",{get:function(){return this._groupDataColumn},set:function(t){this._groupDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"colorDataColumn",{get:function(){return this._colorDataColumn},set:function(t){this._colorDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"latitude",{get:function(){return this._latitude},set:function(t){this._latitude=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"longitude",{get:function(){return this._longitude},set:function(t){this._longitude=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"mapMode",{get:function(){return this._mapMode},set:function(t){this._mapMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"isHashDataEmpty",{get:function(){return this._isHashDataEmpty},enumerable:!1,configurable:!0}),B.prototype.createNew=function(){return new B},B.getDefaultMapData=function(e,n){var a,s,l,u,c,p,h,m,f=new o,d=10,g=!0,S=0,y=r.StiMapHelper.getColors(),A=new o;try{for(var b=__values(y),v=b.next();!v.done;v=b.next()){var C=v.value;A.add(C)}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}var B=t.Report.Maps.StiMapLoader.loadResource(e,n);try{for(var I=__values(B.hashPaths.keys),T=I.next();!T.done;T=I.next()){var E=T.value,R=new r.StiMapData(E);R.color=i.toHtml(A[S]);var D=B.hashPaths.get(E);if(null!=D&&(R.name=D.englishName),f.add(R),++S>=A.length){if(S=0,g)try{for(var P=(c=void 0,__values(y)),x=P.next();!x.done;x=P.next()){var C=x.value;A.add(w.dark(C,d))}}catch(t){c={error:t}}finally{try{x&&!x.done&&(p=P.return)&&p.call(P)}finally{if(c)throw c.error}}else{try{for(var F=(h=void 0,__values(y)),N=F.next();!N.done;N=F.next()){var C=N.value;A.add(w.light(C,d))}}catch(t){h={error:t}}finally{try{N&&!N.done&&(m=F.return)&&m.call(F)}finally{if(h)throw h.error}}d+=10}g=!g}}}catch(t){l={error:t}}finally{try{T&&!T.done&&(u=I.return)&&u.call(I)}finally{if(l)throw l.error}}return f},B.prototype.getMapData=function(){var e,i,a,s,l,u,c,p,h,m,f,d,g,S;if(null!=this._hashData&&this._hashData.length>0&&this.isMapDataChanged)return this._hashData;this._isHashDataEmpty=!0;var y=new o;if(!n.isNullOrEmpty(this._mapData)){var A=JSON.parse(this._mapData);try{for(var b=__values(A),v=b.next();!v.done;v=b.next()){var C=v.value,B=new r.StiMapData(C["key"]||C["Key"]||C["_key"]);B.value=C["value"]||C["Value"]||C["_value"],B.color=C["color"]||C["Color"]||C["_color"],B.group=C["group"]||C["Group"]||C["_group"],B.name=C["name"]||C["Name"]||C["_name"],y.push(B)}}catch(t){e={error:t}}finally{try{v&&!v.done&&(i=b.return)&&i.call(b)}finally{if(e)throw e.error}}}var I=r.StiMapLoader.loadResource(this.report,this.mapIdent);if(y.length>0){var T=0;while(T=O.length){if(T=0,k)try{for(var Y=(f=void 0,__values(M)),U=Y.next();!U.done;U=Y.next()){var G=U.value;O.push(w.dark(G,N))}}catch(t){f={error:t}}finally{try{U&&!U.done&&(d=Y.return)&&d.call(Y)}finally{if(f)throw f.error}}else{try{for(var J=(g=void 0,__values(M)),W=J.next();!W.done;W=J.next()){var G=W.value;O.push(w.light(G,N))}}catch(t){g={error:t}}finally{try{W&&!W.done&&(S=J.return)&&S.call(J)}finally{if(g)throw g.error}}N+=10}k=!k}}}catch(t){h={error:t}}finally{try{Q&&!Q.done&&(m=H.return)&&m.call(H)}finally{if(h)throw h.error}}}return this.isMapDataChanged=!0,this._hashData=y,y},B.prototype.getCurrentStyleColors=function(){if(!n.isNullOrEmpty(this.componentStyle)){var t=null!=this.report.styles.getByName(this.componentStyle)?this.report.styles.getByName(this.componentStyle).stimulsoft.as(s):null;if(null!=t)return t.colors}return B.getStyleColors(this.mapStyle)},B.getStyleColors=function(t){return B.getMapStyle(t).colors},B.prototype.getStyleBackground=function(){if(!n.isNullOrEmpty(this.componentStyle)){var t=this.report.styles.getByName(this.componentStyle);if(null!=(t=null!=t?t.stimulsoft.as(s):null))return new p(t.backColor)}return new p(B.getMapStyle(this.mapStyle).backColor)},B.getMapStyle2=function(t){var e=null;return n.isNullOrEmpty(t.componentStyle)||(e=null!=(e=t.report.styles.getByName(t.componentStyle))?e.stimulsoft.as(s):null),null==e&&(e=B.getMapStyle(t.mapStyle)),e},B.getMapStyle=function(t){switch(t){case r.StiMapStyleIdent.Style21:return new r.StiMap21StyleFX;case r.StiMapStyleIdent.Style24:return new r.StiMap24StyleFX;case r.StiMapStyleIdent.Style25:return new r.StiMap25StyleFX;case r.StiMapStyleIdent.Style26:return new r.StiMap26StyleFX;case r.StiMapStyleIdent.Style27:return new r.StiMap27StyleFX;case r.StiMapStyleIdent.Style28:return new r.StiMap28StyleFX;case r.StiMapStyleIdent.Style29:return new r.StiMap29StyleFX;case r.StiMapStyleIdent.Style30:return new r.StiMap30StyleFX;case r.StiMapStyleIdent.Style31:return new r.StiMap31StyleFX;case r.StiMapStyleIdent.Style32:return new r.StiMap32StyleFX;case r.StiMapStyleIdent.Style33:return new r.StiMap33StyleFX;case r.StiMapStyleIdent.Style34:return new r.StiMap34StyleFX;default:throw new Error("Style is not supported!")}},B}(d);r.StiMap=B}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n=t.System.Collections.Hashtable,i=t.System.Collections.List,o=t.System.Enum,a=t.Report.Dictionary.StiResourceType,s=t.System.StiObject,l=function(){function r(){}return r.clear=function(){r.lastReport=null,r.customMaps.clear()},r.init=function(n){var o,s,l,u;if(0==r.defaultMaps.countItems&&r.StiCustomMapFinder(),null==n)return r.lastReport=null,void r.customMaps.clear();r.lastReport=n;var c=r.customMaps.clone(),p=n.dictionary.resources.toCast().stimulsoft.toList().where((function(t){return t.type==a.Map&&null!=t.content})).toList();try{for(var h=__values(p),m=h.next();!m.done;m=h.next()){var f=m.value;if(r.defaultMaps.contains(f.name.toLowerCase()))continue;if(c.containsKey(f.name)){c.remove(f.name);continue}try{var d=JSON.parse(t.System.Text.Encoding.UTF8.getString(f.content)),g=new e.StiMapSvgContainer;r.stiPopulateObject(d,g),null==g.paths&&(g.paths=new i),0==g.paths.stimulsoft.countItems&&(g.isNotCorrect=!0),g.prepare(),g.isCustom=!0,r.customMaps.add(f.name,g)}catch(t){var g;(g=new e.StiMapSvgContainer).prepare(),g.isNotCorrect=!0,g.isCustom=!0,r.customMaps.add(f.name,g)}}}catch(t){o={error:t}}finally{try{m&&!m.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}if(c.count>0)try{for(var S=__values(c.keys),y=S.next();!y.done;y=S.next()){var A=y.value;r.customMaps.remove(A)}}catch(t){l={error:t}}finally{try{y&&!y.done&&(u=S.return)&&u.call(S)}finally{if(l)throw l.error}}},r.isCustom=function(t){return 0==r.defaultMaps.countItems&&r.StiCustomMapFinder(),!r.defaultMaps.contains(t.toLowerCase())},r.getContainer=function(t,e){var n;return r.init(t),r.customMaps.get(e)},r.stiPopulateObject=function(t,r){var n,i;if(s.isNullOrUndefined(t)||t.stimulsoft.is(String)||t.stimulsoft.is(Number)||t.stimulsoft.is(Boolean)||t.stimulsoft.is(Function))return;if(s.isNullOrUndefined(r)||r.stimulsoft.is(String)||r.stimulsoft.is(Number)||r.stimulsoft.is(Boolean)||r.stimulsoft.is(Function))return;var a=s.getOwnPropertyNames(t);try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value,p=t[c];if(c=c.substr(0,1).toLowerCase()+c.substr(1),s.isNullOrUndefined(r[c])||r[c].stimulsoft.is(String)||r[c].stimulsoft.is(Number)||r[c].stimulsoft.is(Boolean))if(r.stimulsoft.is(Array)){var h=new e.StiMapSvg;this.stiPopulateObject(p,h),r[c]=h}else{if("rect"==c||"rectIso"==c){var m=new Rectangle,f=p.split(",");m.x=parseFloat(f[0].trim()),m.y=parseFloat(f[1].trim()),m.width=parseFloat(f[2].trim()),m.height=parseFloat(f[3].trim()),p=m}else"horAlignment"==c||"horAlignmentIso"==c?p=o.parse(StiTextHorAlignment,p):"vertAlignment"!=c&&"vertAlignmentIso"!=c||(p=o.parse(StiVertAlignment,p));r[c]=p}else this.stiPopulateObject(p,r[c])}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}},r.StiCustomMapFinder=function(){var t,n,i=o.getNames(e.StiMapID);try{for(var a=__values(i),s=a.next();!s.done;s=a.next()){var l=s.value;r.defaultMaps.add(l.toString().toLowerCase())}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},r.defaultMaps=new i,r.customMaps=new n,r}();r.StiCustomMapFinder=l}(r=e.Helpers||(e.Helpers={}))}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Drawing.GraphicsUnit,i=t.System.StiString,o=t.System.NodeJs,a=t.Report.Styles.StiMapStyle,s=t.System.Text.StringBuilder,l=t.Base.Drawing.StiSolidBrush,u=t.System.Drawing.SolidBrush,c=t.System.Drawing.Color,p=t.Report.Maps.StiMap,h=t.Report.Maps.StiMapData,m=t.System.Xml.XmlTextWriter,f=t.Report.Maps.StiMapHelper,d=t.Report.Maps.StiDisplayNameType,g=t.System.Drawing.Font,S=t.System.Drawing.Graphics,y=t.System.Drawing.Image,A=t.System.Text.Encoding,b=t.System.Drawing.Imaging.ImageFormat,v=t.Report.Export.Services.Helpers.StiContextSvgHelper,C=t.System.Drawing.Rectangle,w=t.Report.Maps.StiMapMode,B=t.System.StiNumber,I=t.Report.Maps.StiMapType,T=t.Base.Localization.StiLocalization,E=t.Report.Maps.Helpers.StiCustomMapFinder,R=t.System.StiObject,D=function(){function r(){}return r.getImage=function(t,e){void 0===e&&(e=1);var n=new y;if(!o.useWebKit)return n;var a=t.width*e,l=t.height*e,u=document.createElement("canvas");u.width=a,u.height=l;var c=new m(A.UTF8),h=t.component.stimulsoft.as(p);if(null!=h&&null!=h.brush){var f=new s;f.append(v.writeFillBrush(c,h.brush,new C(0,0,a,l))),c.writeStartElement("rect"),c.writeAttributeString("x",t.x.toString().split(",").join(".")),c.writeAttributeString("y",t.y.toString().split(",").join(".")),c.writeAttributeString("height",l.toString().split(",").join(".")),c.writeAttributeString("width",a.toString().split(",").join(".")),c.writeAttributeString("style",f.toString()),c.writeEndElement()}r.drawMap(c,t.component,t.x,t.y,a,l,!1),c.flush();var d=i.format('{2}',a,l,c.textWriter.getStringBuilder().toString());canvgv2(u,d);var g=u.toDataURL(b.Jpeg.mimeType);return n.base64=g,n},r.getImageAsync=function(t,e){return void 0===e&&(e=1),__awaiter(this,void 0,void 0,(function(){var n,a,l,u,c,h,f,d,g;return __generator(this,(function(S){if(n=new y,!o.useWebKit)return[2,n];return a=t.width*e,l=t.height*e,(u=document.createElement("canvas")).width=a,u.height=l,c=new m(A.UTF8),null!=(h=t.component.stimulsoft.as(p))&&null!=h.brush&&((f=new s).append(v.writeFillBrush(c,h.brush,new C(0,0,a,l))),c.writeStartElement("rect"),c.writeAttributeString("x",t.x.toString().split(",").join(".")),c.writeAttributeString("y",t.y.toString().split(",").join(".")),c.writeAttributeString("height",l.toString().split(",").join(".")),c.writeAttributeString("width",a.toString().split(",").join(".")),c.writeAttributeString("style",f.toString()),c.writeEndElement()),r.drawMap(c,t.component,t.x,t.y,a,l,!1),c.flush(),d=i.format('{2}',a,l,c.textWriter.getStringBuilder().toString()),canvgv2(u,d),g=u.toDataURL(b.Jpeg.mimeType),n.base64=g,[2,n]}))}))},r.drawMap=function(e,r,n,o,a,s,l){if(r.mapMode==w.Online)e.writeString(f.addToCahe(r,a,s));else{t.Report.Maps.StiMapLoader.deleteAllCustomMaps(),E.clear();var u=t.Report.Maps.StiMapLoader.loadResource(r.report,r.mapIdent),c=a/u.width=.2),x=.5/D;v.individualStep=x,B.hashPaths.keys&&B.hashPaths.keys.sort();try{for(var F=__values(B.hashPaths.keys),N=F.next();!N.done;N=F.next()){var k=N.value,M=C[0];try{for(var O=(A=void 0,__values(C)),_=O.next();!_.done;_=O.next()){var j=_.value;j.key==k&&(M=j)}}catch(t){A={error:t}}finally{try{_&&!_.done&&(b=O.return)&&b.call(O)}finally{if(A)throw A.error}}var G=v.getGeomBrush(M);v.individualStep+=x,r.writeStartElement("path"),r.writeAttributeString("d",B.hashPaths.get(k).data);var H=new s;H.append(this.getFillBrush(G));var Q=i.format("{0}",this.getBorderStroke(w.borderColor));H.append(i.format("{0};stroke-width:{1};",Q,w.borderSize)),r.writeAttributeString("style",H.toString()),r.writeAttributeString("transform",i.format("scale({0})",m)),r.writeAttributeString("_ismap","true"),r.writeAttributeString("_text1",this.getToolTipIdent(M));var L=this.getToolTipValueText(e,M.value),Y=this.getToolTipTotalText(e,C,M);i.isNullOrEmpty(Y)||(L=T.get("FormFormatEditor","BooleanValue").replace(":","")+" = "+L+"
        "+Y+"
        "),r.writeAttributeString("_text2",L),r.writeAttributeString("elementargument",k),r.writeAttributeString("elementident",k),r.writeAttributeString("elementvalue",M.value?M.value.toString():"");var U=G.color;r.writeAttributeString("_color",i.format("#{0:X2}{1:X2}{2:X2}",U.r,U.g,U.b)),o&&(r.writeAttributeString("opacity","0"),r.writeAttributeString("_animation","{"+i.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',200/D*E,"100",m)+"}")),r.writeEndElement(),P||(I[k]=M),E++}}catch(t){f={error:t}}finally{try{N&&!N.done&&(y=F.return)&&y.call(F)}finally{if(f)throw f.error}}if(R.keys(I).length>0){var J=19;null!=B.textScale&&(J*=B.textScale,P=!1);var W=new g("Calibri",J,null,n.Pixel),V=[c.fromArgb(180,251,251,251),c.fromArgb(255,37,37,37)];for(var k in I){var z=B.hashPaths.get(k),X=!1;if(X=e.displayNameType==d.Short?null==z.skipTextIso?z.skipText:z.skipTextIso:z.skipText)continue;var K=I[k].stimulsoft.as(h),Z=this.getPathText(e,K,z,k);if(!i.isNullOrEmpty(Z)){var q=this.getPathRect(e,z),$=e.displayNameType==d.Full&&z.setMaxWidth?S.measureString(Z,W,q.width):S.measureString(Z,W),tt=0,et=0;switch(this.getPathHorAlignment(e,z)){case StiTextHorAlignment.Left:case StiTextHorAlignment.Width:tt=q.x;break;case StiTextHorAlignment.Right:tt=q.right-$.width;break;case StiTextHorAlignment.Center:tt=q.x+(q.width-$.width)/2;break}switch(this.getPathVertAlignment(e,z)){case StiVertAlignment.Top:et=q.y;break;case StiVertAlignment.Bottom:et=q.bottom-$.height;break;case StiVertAlignment.Center:et=q.y+(q.height-$.height)/2;break}et+=30,e.showValue&&!i.isNullOrEmpty(null==K?void 0:K.value)&&Z.stimulsoft.contains("\r\n")&&(et+=8);for(var rt=0;rt<2;rt++){r.writeStartElement("text"),r.writeAttributeString("font-size",this.normalizeDecimal(J*m)),r.writeAttributeString("font-family","Calibri"),o&&(r.writeAttributeString("opacity","0"),r.writeAttributeString("_animation","{"+i.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',this.normalizeDecimal(200/D*E),"100",this.normalizeDecimal(m))+"}"));var nt="";if(1==rt){var it=i.format("#{0:X2}{1:X2}{2:X2}",V[0].r,V[0].g,V[0].b);nt=i.format("text-shadow: -1px -1px 1px {0},-1px 1px 1px {0},1px -1px 1px {0}, 1px 1px 1px {0};",it)}if(r.writeAttributeString("transform",i.format("translate({0}, {1})",this.normalizeDecimal(tt*m-rt),this.normalizeDecimal(et*m-rt))),r.writeAttributeString("style",i.format("fill:#{0:X2}{1:X2}{2:X2};pointer-events:none;{3}",V[rt].r,V[rt].g,V[rt].b,nt)),r.writeAttributeString("font-weight","bold"),z.setMaxWidth)for(var ot=Z.split(/[ ]|\r\n/),at=0,st="",lt=0;lt$.width-5||lt==ot.length-1||st.stimulsoft.endsWith("\r"))&&(r.writeStartElement("tspan"),r.writeAttributeString("x","0"),0==at?r.writeAttributeString("y","0"):r.writeAttributeString("y",this.normalizeDecimal(at*W.size*m)),r.writeString(st),r.writeEndElement(),at++,st="")}else for(var ct=Z.split("\r\n"),lt=0;lt0&&(s=s.select((function(t){return t-l})).toList(),u-=l,l=0),u<0&&(s=s.select((function(t){return t+-u})).toList(),l+=-u,u=0);var p=e.width/s.length,h=u+Math.abs(l),m=0!=h?e.height*u/h:0,f=e.x,d=p;d<1&&(d=1),s.toList().forEach((function(n){var i=o;n<0&&(i=a);var s=e.height*Math.abs(n)/h,l=new r(f,e.y+(n>0?m-s:m),d,s);0==n&&(c>0&&(l.y-=1),l.height=1),l.width>5&&l.inflate(-1,0),f+=p,t.fillRectangle2(l,i)}))},t}();e.StiColumnSparklinesCellPainter=i}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.Color,n=t.System.Drawing.Rectangle,i=t.System.Drawing.Point,o=t.Base.Helpers.StiValueHelper,a=t.System.Drawing.Pen,s=function(){function e(){}return e.draw=function(t,e,r,n,a,s,l){if(void 0===s&&(s=!0),void 0===l&&(l=!1),null==r||r.length<2)return;e.inflate(-4,-e.height/4);var u=r.select(o.tryToNumber).toList();if(u.all((function(t){return 0==t})))return;var c=u.min((function(t){return t})),p=u.max((function(t){return t}));if(0==c&&0==p)return;c>0&&(u=u.select((function(t){return t-c})).toList(),p-=c,c=0),p<0&&(u=u.select((function(t){return t+-p})).toList(),c+=-p,p=0);var h=e.width/(u.length-1),m=p+Math.abs(c);if(0==m)return;var f=e.height*p/m,d=e.x,g=u.select((function(t){var r=e.height*Math.abs(t)/m,n=e.y+(t>0?f-r:f),o=new i(d,t>0?n:n+r);return d+=h,o})).toList();g.length>1&&(g=this.simplifyPoints(g),a&&this.drawArea(t,e,g,n),this.drawLines(t,g,n),s&&this.drawFirstLastMarkers(t,g),l&&this.drawHighLowMarkers(t,g))},e.drawArea=function(t,e,n,o){var a=n.toList();a.insert(0,new i(n.first().x,e.bottom+2)),a.add(new i(n.lastOrDefault().x,e.bottom+2)),t.fillPolygon(a.stimulsoft.toArray(),r.fromArgb(60,o))},e.drawLines=function(t,e,r){var n=new a(r);n.width=2,n.lineJoin="round",t.drawPolyline(e,n)},e.drawFirstLastMarkers=function(t,e){this.drawMarker(t,e.first(),r.dimGray),this.drawMarker(t,e.lastOrDefault(),r.dimGray)},e.drawHighLowMarkers=function(t,e){var n,i;if(e.length<2)return;var o=e.first(),a=e.first();try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;u.y>a.y&&(a=u),u.y0?1:-1})).toList();var l=e.width/s.length,u=e.height/2,c=e.x,p=s.select((function(t){var n=e.height*Math.abs(t)/2,i=new r(c,e.y+(t>0?u-n:u),l,n);return i.width>4&&i.inflate(-1,0),c+=l,i})).toList(),h=0;p.forEach((function(e){var r=s[h]>0?o:a;t.fillRectangle(e,r),h++}))},t}();e.StiWinLossSparklinesCellPainter=i}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=function(){function n(){}return n.getPainter=function(r){var n=this.typePainter.get(r);return null==n&&(r===t.Report.Components.StiImage||r.prototype instanceof t.Report.Components.StiImage?n=new e.StiImagePainter:r===t.Report.Components.StiPage||r.prototype instanceof t.Report.Components.StiPage?n=new e.StiPagePainter:r===t.Report.Components.StiText||r.prototype instanceof t.Report.Components.StiText?n=new e.StiTextPainter:r===t.Report.Components.StiView||r.prototype instanceof t.Report.Components.StiView?n=new e.StiViewPainter:r===t.Report.Components.StiContainer||r.prototype instanceof t.Report.Components.StiContainer?n=new e.StiContainerPainter:(r===t.Report.Components.StiComponent||r.prototype instanceof t.Report.Components.StiComponent)&&(n=new e.StiComponentPainter),this.typePainter.set(r,n)),n},n.prototype.getImage=function(t,e,r){return null},n.prototype.paint=function(t,e){},n.typePainter=new r,n}();e.StiPainter=n}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.IStiBorder,n=t.System.Drawing.Color,i=t.Base.Drawing.StiPenStyle,o=t.Report.Components.IStiBrush,a=t.Base.Drawing.StiBrush,s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.paintBorder=function(t,e,s,l,u,c){var p=t.stimulsoft.as(r);if(null!=p&&null!=p.border)if(p.border.style==i.Double){var h=n.white,m=t.stimulsoft.as(o);null!=m&&null!=m.brush&&(h=a.toColor(m.brush)),h.stimulsoft.equals(n.transparent)&&(h=n.white),p.border.draw(e,s,l,h,u,c)}else p.border.draw(e,s,l,n.white,u,c)},e}(e.StiPainter);e.StiComponentPainter=s}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiSparklineType,n=t.Data.Exceptions.StiTypeNotRecognizedException,i=t.Report.Painters.StiWinLossSparklinesCellPainter,o=t.Report.Painters.StiLineSparklinesCellPainter,a=t.Report.Painters.StiColumnSparklinesCellPainter,s=function(e){function s(){return null!==e&&e.apply(this,arguments)||this}return __extends(s,e),s.prototype.getImage=function(t,e,r){return null},s.prototype.paint=function(t,e){},s.prototype.paintBackground=function(t,e,r){},s.drawSparkline=function(t,e,r,n){},s.renderSparkline=function(e,s,l,u){var c=new t.Report.Export.StiSvgGeomWriter(e),p=l.fetchValues();switch(l.type){case r.Column:a.draw(c,s,p,l.positiveColor,l.negativeColor);break;case r.Line:o.draw(c,s,p,l.positiveColor,!1,l.showFirstLastPoints,l.showHighLowPoints);break;case r.Area:o.draw(c,s,p,l.positiveColor,!0,l.showFirstLastPoints,l.showHighLowPoints);break;case r.WinLoss:i.draw(c,s,p,l.positiveColor,l.negativeColor);break;default:throw new n(l.type)}},s}(e.StiComponentPainter);e.StiSparklinePainter=s}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Drawing.RectangleD,n=t.Report.Painters.StiSparklinePainter,i=t.Report.Components.StiSparkline,o=t.System.StiString,a=t.System.NodeJs,s=t.System.Drawing.Imaging.ImageFormat,l=t.System.Text.Encoding,u=t.System.Drawing.Image,c=t.System.Xml.XmlTextWriter,p=function(){function t(){}return t.getImage=function(e){var r=new u;if(!a.useWebKit)return r;var n=document.createElement("canvas");n.width=e.width,n.height=e.height;var i=new c(l.UTF8);t.writeSparkline(i,e),i.flush();var p=o.format('{2}',e.width,e.height,i.textWriter.getStringBuilder().toString());canvgv2(n,p);var h=n.toDataURL(s.Jpeg.mimeType);return r.base64=h,r},t.writeSparkline=function(t,e){var o=e.component.as(i);n.renderSparkline(t,new r(e.x,e.y,e.width,e.height),o,1)},t}();e.StiSparklineSvgHelper=p}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._right=this._x+this._width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._bottom=this._y+this._height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._right=this._x+this._width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._bottom=this._y+this._height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this._right},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this._bottom},enumerable:!1,configurable:!0}),t}();t.StiSvgData=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Drawing.StringAlignment,i=t.System.Drawing.Point,o=t.System.Drawing.Rectangle,a=t.System.Drawing.StringFormat,s=t.System.Text.StringBuilder,l=t.System.Drawing.Size,u=t.Report.Export.Services.Helpers.StiContextSvgHelper,c=function(){function t(t){this.writer=null,this.writer=t}return t.prototype.beginPath=function(){},t.prototype.closeFigure=function(){},t.prototype.endPath=function(){},t.prototype.fillPath=function(t){},t.prototype.strokePath=function(t){},t.prototype.moveTo=function(t){},t.prototype.drawLine=function(t,e,r){},t.prototype.drawLineTo=function(t,e){},t.prototype.drawRectangle=function(t,e){},t.prototype.drawPolyline=function(t,e){for(var n="",i=0;i0||null!=W||j.is(t.Report.Components.Gauge.IStiGauge))&&(g.writeStartElement("clipPath"),g.writeAttributeString("id",this.getClipPathName(j)),g.writeStartElement("rect"),jt.writeCoordinates(g,Y),g.writeEndElement(),g.writeEndElement())}}}catch(t){h={error:t}}finally{try{_&&!_.done&&(m=N.return)&&m.call(N)}finally{if(h)throw h.error}}g.writeEndElement();var V=1,z=new D;z.border=a.border.clone(),z.brush=a.brush.clone(),z.brush.is(k)?z.brush=new x(B.transparent):0==P.toColor(z.brush).a&&(z.brush=new x(B.white));var X=new r.StiSvgData;X.x=0,X.y=0,X.width=I,X.height=v,X.component=z;var K={ref:V};jt.writeBorder1(g,X,K),V=K.ref,jt.writeWatermark(g,S,a,!0,I,v,p);var Z=a.bookmarkValue;i.isNullOrEmpty(Z)||(g.writeStartElement("view"),g.writeAttributeString("id",Z),g.writeAttributeString("viewBox","0 0 1 1"),g.writeEndElement());try{for(var q=__values(a.components.list),$=q.next();!$.done;$=q.next()){var j;if((j=$.value).enabled){var G=A*o.unit.convertToHInches(j.left),H=A*o.unit.convertToHInches(j.top),Q=A*o.unit.convertToHInches(j.right),L=A*o.unit.convertToHInches(j.bottom),Y;(Y=new r.StiSvgData).x=G+T,Y.y=H+R,Y.width=Q-G,Y.height=L-H,Y.component=j;var tt=jt.checkShape(j),U=j.isExportAsImage(e.StiExportFormat.ImageSvg);if(!tt&&!U){var et={ref:V};jt.writeBorder1(g,Y,et),V=et.ref}var rt=j.hyperlinkValue;if(i.isNullOrEmpty(rt)||(g.writeStartElement("a"),g.writeAttributeString("xlink:href",rt)),j.is(M)&&!U)jt.writeIndicator(g,Y),jt.writeText(g,Y,S,!0);else if(tt)jt.writeShape(g,Y);else if(j.is(Rt))jt.writeBarCode(g,Y);else if(j.is(n))r.StiSparklineSvgHelper.writeSparkline(g,Y);else if(j.is(t.Report.Chart.IStiChart))r.StiChartSvgHelper.writeChart(g,Y,1,!1);else if(j.is(t.Report.Maps.StiMap))r.StiMapSvgHelper.drawMap(g,j,Y.x,Y.y,Y.width,Y.height,!1);else if(U)jt.writeImage(g,Y,p,l,u,y);else if(j.is(Tt))jt.writeCheckBox(g,Y,j.checkedValue);else{var nt=Y.component.bookmarkValue;i.isNullOrEmpty(nt)||(g.writeStartElement("view"),g.writeAttributeString("id",nt),g.writeAttributeString("viewBox",i.format("{0} {1} {2} {3}",jt.toUnits(Y.x),jt.toUnits(Y.y),jt.toUnits(Y.width),jt.toUnits(Y.height))),g.writeEndElement())}i.isNullOrEmpty(rt)||g.writeEndElement(),s||(Y.x=Math.round2(Y.x-.5)+.5,Y.y=Math.round2(Y.y-.5)+.5,Y.width=Math.round2(Q+T-.5)+.5-Y.x,Y.height=Math.round2(L+R-.5)+.5-Y.y),j.is(wt)?jt.writeRoundedRectanglePrimitive(g,Y):jt.writeBorder2(g,Y)}}}catch(t){f={error:t}}finally{try{$&&!$.done&&(d=q.return)&&d.call(q)}finally{if(f)throw f.error}}return X.x=T,X.y=R,X.width-=T+E,X.height-=R+F,jt.writeBorder2(g,X),jt.writeWatermark(g,S,a,!1,I,v,p),g.writeFullEndElement(),s&&g.writeEndDocument(),g.flush(),g.textWriter},jt.writeWatermark=function(t,e,n,o,a,s,l,u){void 0===u&&(u=1);var c=n.watermark;if(null!=c&&c.enabled){if(null!=c.image){var p=c.image.width*c.imageMultipleFactor,h=c.image.height*c.imageMultipleFactor,m=0,f=0,d=1,g=1,S=c.imageAlignment,A=c.imageTiling,b;if(c.imageStretch){var v=h/p;p=a,h=s,A=!1,c.aspectRatio&&(s/a>v?h=p*v:p=h/v)}switch(c.imageStretch||c.imageMultipleFactor,A&&(S=y.TopLeft,d=Math.trunc(a/p)+1,g=Math.trunc(s/h)+1),S){case y.TopCenter:case y.MiddleCenter:case y.BottomCenter:m=(a-p)/2;break;case y.TopRight:case y.MiddleRight:case y.BottomRight:m=a-p;break}switch(S){case y.TopLeft:case y.TopCenter:case y.TopRight:f=s-h;break;case y.MiddleLeft:case y.MiddleCenter:case y.MiddleRight:f=(s-h)/2;break}(b=new r.StiSvgData).x=m,b.y=f,b.width=p,b.height=h}if(!i.isNullOrEmpty(c.text)){var b;(b=new r.StiSvgData).x=0,b.y=0,b.width=a,b.height=s;var C=new M(new R(b.x,b.y,b.width,b.height));C.text=c.text,C.textBrush=c.textBrush,C.font=new Dt(c.font.fontFamily.name,c.font.size*u,c.font.style,c.font.unit),C.textOptions=new H,C.textOptions.angle=c.angle,C.horAlignment=Y.Center,C.vertAlignment=L.Center,C.page=n,C.textQuality=I.Standard,b.component=C,jt.writeText(t,b,e,!1)}}},jt.writeBorder1=function(t,e,n){var o=n.ref,a=e.component.as(F);if(null!=a&&null!=a.brush)if(a.brush.is(Q)){var s=r.StiBrushSvgHelper.writeGradientBrush(t,a.brush,new R(e.x,e.y,e.width,e.height));t.writeStartElement("rect"),jt.writeCoordinates(t,e),t.writeAttributeString("fill",i.format("url(#{0})",s)),t.writeEndElement()}else if(a.brush.is(Bt)){var s=r.StiBrushSvgHelper.writeGlareBrush(t,a.brush,new R(e.x,e.y,e.width,e.height));t.writeStartElement("rect"),jt.writeCoordinates(t,e),t.writeAttributeString("fill",i.format("url(#{0})",s)),t.writeEndElement()}else if(a.brush.is(It)){var s=r.StiBrushSvgHelper.writeHatchBrush(t,a.brush);t.writeStartElement("rect"),jt.writeCoordinates(t,e),t.writeAttributeString("fill",i.format("url(#{0})",s)),t.writeEndElement()}else if(a.brush.is(A)){var s=r.StiBrushSvgHelper.writeGlassBrush(t,a.brush,new R(e.x,e.y,e.width,e.height));t.writeStartElement("rect"),jt.writeCoordinates(t,e),t.writeAttributeString("fill",i.format("url(#{0})",s)),t.writeEndElement()}else{var l=P.toColor(a.brush);l.equals(B.transparent)||(t.writeStartElement("rect"),jt.writeCoordinates(t,e),jt.writeFillInfo(t,l),t.writeEndElement())}n.ref=o},jt.writeBorder2=function(t,e){var r=e.component.as(G);if(null!=r&&null!=r.border&&r.border.side!=_.None&&r.border.style!=E.None){var n=r.border;if(n.side==_.All)t.writeStartElement("rect"),jt.writeCoordinates(t,e),t.writeAttributeString("fill","none"),jt.writeStrokeInfo(t,n.color,n.size,n.style),t.writeEndElement();else{t.writeStartElement("path");var o=jt.toUnits(e.x),a=jt.toUnits(e.x+e.width),s=jt.toUnits(e.y+e.height),l=jt.toUnits(e.y),u=new j,c=!1;0!=(n.side&_.Left)?(u.append(i.format("M {0} {1} ",o,s)),u.append(i.format("L {0} {1} ",o,l)),c=!0):c=!1,0!=(n.side&_.Top)?(c||u.append(i.format("M {0} {1} ",o,l)),u.append(i.format("L {0} {1} ",a,l)),c=!0):c=!1,0!=(n.side&_.Right)?(c||u.append(i.format("M {0} {1} ",a,l)),u.append(i.format("L {0} {1} ",a,s)),c=!0):c=!1,0!=(n.side&_.Bottom)&&(c||u.append(i.format("M {0} {1} ",a,s)),u.append(i.format("L {0} {1} ",o,s))),t.writeAttributeString("d",u.toString()),t.writeAttributeString("fill","none"),jt.writeStrokeInfo(t,n.color,n.size,n.style),t.writeEndElement()}}},jt.writeText2=function(e,r,n,o){var a,s,l=r.component.as(M),u=null!=l.textOptions?l.textOptions:new H,c=l.text,p=[],h=[],m={ref:c},f={ref:p},d={ref:h};v.getTextLinesAndWidths(null,m,l.font,l.page.unit.convertRectangleToHInches(r.component.componentToPage(r.component.clientRectangle)),1,u.wordWrap,u.rightToLeft,1,u.angle,u.trimming,l.allowHtmlTags,f,d),c=m.ref,h=d.ref;var g=(p=f.ref).length>0;if(1==p.length&&0==p[0].length&&(g=!1),g){var S=0;null!=l.textOptions&&(S=l.textOptions.angle);while(S>=360)S-=360;var y=o&&null!=l.text&&l.text.trim().length>0,A=0;try{for(var b=__values(h),C=b.next();!C.done;C=b.next()){var w;A+=(w=C.value).lineHeight}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}var B=0;null!=l.border&&(B=l.border.size/2);var I=new j;y&&0==S&&I.append(i.format("clip-path: url(#clipPath{0});",this.getClipPathName(l)));var T=r.x,E=r.y+.9*l.font.sizeInPoints*jt.correctFontSize;S%90==0?(l.horAlignment==Y.Left&&(T+=2.5+B),l.horAlignment==Y.Center&&(I.append(i.format("text-anchor:{0};","middle")),T+=90==S||270==S?r.height/2:r.width/2),l.horAlignment==Y.Right&&(I.append(i.format("text-anchor:{0};","end")),T+=90==S||270==S?r.height-2-B:r.width-2-B),l.horAlignment==Y.Width&&(T+=2+B),l.vertAlignment==L.Top&&(E+=B),l.vertAlignment==L.Center&&(E+=90==S||270==S?(r.width-A)/2:(r.height-A)/2),l.vertAlignment==L.Bottom&&(E+=90==S||270==S?r.width-A-B:r.height-A-B)):(I.append(i.format("text-anchor:{0};","middle")),T+=r.width/2,E+=(r.height-A)/2);var R=t.System.Drawing.Graphics.getCustomFontName(l.font.name,l.font.style);if(t.System.Drawing.Graphics.allowStyle(l.font.name,l.font.style)&&(l.font.bold&&I.append("font-weight:bold;"),l.font.italic&&I.append("font-style:italic;")),I.append(i.format("font-size:{0}pt;",l.font.sizeInPoints.toString().split(",").join("."))),I.append(i.format("font-family:'{0}';",R)),l.font.underline||l.font.strikeout){var D=l.font.underline?l.font.strikeout?"underline line-through":"underline":l.font.strikeout?"line-through":null;I.append(i.format("text-decoration:{0};",D))}var x=P.toColor(l.textBrush);I.append(i.format("fill:#{0:X2}{1:X2}{2:X2};",x.r,x.g,x.b)),255!=x.a&&I.append(i.format("fill-opacity:{0}",Math.round2(x.a/255,3).toString().split(",").join("."))),0!=S&&(y&&(e.writeStartElement("g"),e.writeAttributeString("clip-path",i.format("url(#clipPath{0})",this.getClipPathName(l)))),e.writeStartElement("g"),e.writeAttributeString("transform",i.format("translate({0},{1})",jt.toUnits(r.x+r.width/2),jt.toUnits(r.y+r.height/2))),e.writeStartElement("g"),e.writeAttributeString("transform",i.format("rotate({0})",jt.toUnits(-S))),90==S||270==S?(T-=r.x+r.height/2,E-=r.y+r.width/2):(T-=r.x+r.width/2,E-=r.y+r.height/2)),e.writeStartElement("text"),e.writeAttributeString("x",jt.toUnits(T)),e.writeAttributeString("y",jt.toUnits(E)),e.writeAttributeString("style",I.toString());var F=l.bookmarkValue;i.isNullOrEmpty(F)||e.writeAttributeString("id",F);for(var N=0;N1&&(e.writeStartElement("tspan"),N>0&&(e.writeAttributeString("x",jt.toUnits(T)),e.writeAttributeString("dy",jt.toUnits(w.lineHeight)))),w.needWidthAlign){var k=S;while(k<0)k+=360;var O=r.width;(k>45&&k<135||k>225&&k<315)&&(O=r.height);var _=O-4-2*B;e.writeAttributeString("textLength",jt.toUnits(_>0?_:1))}var G=p[N];null!=G&&(0==G.trim().length&&(G=" "),G.stimulsoft.endsWith("\n")&&(G=G.substr(0,G.length-1)),G.stimulsoft.endsWith("\r")&&(G=G.substr(0,G.length-1))),e.writeString(G),p.length>1&&e.writeEndElement()}e.writeFullEndElement(),0!=S&&(e.writeFullEndElement(),e.writeFullEndElement(),y&&e.writeFullEndElement())}},jt.writeText=function(t,e,n,o){var a,c,p,h,m,f,d=e.component,g=d.horAlignment==Y.Width,S=d.textOptions;null==S&&(S=new H),g&&((S=S.clone()).wordWrap=!0);var y,A=null!=d.report&&d.report.info.forceDesigningMode?s.packExpression(d.getTextInternal(),d.report,!0):d.text;if(i.isNullOrWhiteSpace(A))return;var C=d.getPaintRectangle(!0,!1),w=d.convertTextMargins(C,!1);if(w=(w=d.convertTextBorders(w,!1)).normalize(),d.checkAllowHtmlTags()){var B=e.x,T=e.y,E=e.width,R=e.height,D=S.angle;while(D>=360)D-=360;if(0!=D){if(D>45&&D<135||D>225&&D<315){var x=E;E=R,R=x}B=-E/2,T=-R/2,o&&(t.writeStartElement("g"),t.writeAttributeString("clip-path",i.format("url(#{0})",this.getClipPathName(d)))),t.writeStartElement("g"),t.writeAttributeString("transform",i.format("translate({0},{1})",this.toUnits(e.x+e.width/2),this.toUnits(e.y+e.height/2))),t.writeStartElement("g"),t.writeAttributeString("transform",i.format("rotate({0})",this.toUnits(-D)))}var F=new l,N=new l,k=S.wordWrap||g,M=d.font.name,O=P.toColor(d.textBrush),_=P.toColor(d.brush);v.drawTextForOutput(null,A,d.font,w,O,_,d.lineSpacing,d.horAlignment,d.vertAlignment,k,S.rightToLeft,1,D,S.trimming,S.lineLimit,d.checkAllowHtmlTags(),F,N,S),t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(B)),t.writeAttributeString("y",this.toUnits(T));var j=d.bookmarkValue;i.isNullOrEmpty(j)||t.writeAttributeString("id",j);var G="";o&&0==D&&(G+=i.format("clip-path: url(#{0});",this.getClipPathName(d))),G+=this.getStyleString(d.font,O),G+="white-space:pre;",t.writeStartAttribute(null,"style",null),t.writeRaw(G),t.writeEndAttribute();try{for(var Q=__values(F),U=Q.next();!U.done;U=Q.next()){var J=U.value,W=N[J.fontIndex],V=B+J.xPos+.5,z=T+J.yPos+W.ascend+.5,X="",K;if(M!=W.fontNameReal&&(X+=i.format("font-family:'{0}';",W.fontNameReal)),d.font.sizeInPoints!=W.fontBase.sizeInPoints&&(X+=i.format("font-size:{0}pt;",W.fontBase.sizeInPoints.toString().split(",").join("."))),d.font.bold!=W.fontBase.bold&&(X+="font-weight:"+(W.fontBase.bold?"bold":"normal")+";"),d.font.italic!=W.fontBase.italic&&(X+="font-style:"+(W.fontBase.italic?"italic":"normal")+";"),d.font.underline!=W.fontBase.underline||d.font.strikeout!=W.fontBase.strikeout){var Z=W.fontBase.underline?W.fontBase.strikeout?"underline line-through":"underline":W.fontBase.strikeout?"line-through":"none";X+=i.format("text-decoration:{0};",Z)}O.toArgb()!=J.textColor.toArgb()&&(X+=i.format("fill:#{0:X2}{1:X2}{2:X2};",J.textColor.r,J.textColor.g,J.textColor.b),255!=J.textColor.a&&(X+=i.format("fill-opacity:{0}",Math.round2(J.textColor.a/255,3).toString().split(",").join(".")))),t.writeStartElement("tspan"),t.writeAttributeString("x",this.toUnits(V)),t.writeAttributeString("y",this.toUnits(z)),X.length>0&&t.writeAttributeString("style",X),i.isNullOrWhiteSpace(J.href)||(t.writeStartElement("a"),t.writeAttributeString("href",J.href),t.writeAttributeString("target","_blank")),null!=(K=J.text)&&(0==K.trim().length&&(K=" "),K.stimulsoft.endsWith("\n")&&(K=K.substr(0,K.length-1)),K.stimulsoft.endsWith("\r")&&(K=K.substr(0,K.length-1))),t.writeString(K),i.isNullOrWhiteSpace(J.href)||t.writeEndElement(),t.writeEndElement()}}catch(t){a={error:t}}finally{try{U&&!U.done&&(c=Q.return)&&c.call(Q)}finally{if(a)throw a.error}}t.writeFullEndElement(),0!=D&&(t.writeFullEndElement(),t.writeFullEndElement(),o&&t.writeFullEndElement())}else{var q=w.clone();if(90==d.angle||270==d.angle||-90==d.angle){var $=q.height;q.height=q.width,q.width=$}var tt=u.splitTextWordwrap(A,null,d.font,q,S,d.horAlignment,d.textQuality==I.Typographic);try{for(var et=__values(tt),rt=et.next();!rt.done;rt=et.next()){var nt;(nt=rt.value).lineHeight*=d.lineSpacing}}catch(t){p={error:t}}finally{try{rt&&!rt.done&&(h=et.return)&&h.call(et)}finally{if(p)throw p.error}}var it=tt.length>0;if(1==tt.length&&0==tt[0].text.length&&(it=!1),it){var ot=0;ot=S.angle;while(ot>=360)ot-=360;var at=0;try{for(var st=__values(tt),lt=st.next();!lt.done;lt=st.next()){var nt;at+=(nt=lt.value).lineHeight}}catch(t){m={error:t}}finally{try{lt&&!lt.done&&(f=st.return)&&f.call(st)}finally{if(m)throw m.error}}var ut=0;null!=d.border&&(ut=d.border.size/2);var X="";X+="white-space:pre;",o&&0==ot&&(X+=i.format("clip-path: url(#{0});",this.getClipPathName(d)));var ct=e.x,pt=e.y+.9*d.font.sizeInPoints*this.correctFontSize;ot%90==0?((!S.rightToLeft&&d.horAlignment==Y.Left||S.rightToLeft&&d.horAlignment==Y.Right)&&(S.rightToLeft&&(X+=i.format("text-anchor:{0};","end")),ct+=2.5+ut),d.horAlignment==Y.Center&&(X+=i.format("text-anchor:{0};","middle"),ct+=90==ot||270==ot?e.height/2:e.width/2),(S.rightToLeft&&d.horAlignment==Y.Left||!S.rightToLeft&&d.horAlignment==Y.Right)&&(X+=i.format("text-anchor:{0};",S.rightToLeft?"start":"end"),ct+=90==ot||270==ot?e.height-2-ut:e.width-2-ut),d.horAlignment==Y.Width&&(ct+=2+ut),d.vertAlignment==L.Top&&(pt+=ut),d.vertAlignment==L.Center&&(pt+=90==ot||270==ot?(e.width-at)/2:(e.height-at)/2),d.vertAlignment==L.Bottom&&(pt+=90==ot||270==ot?e.width-at-ut:e.height-at-ut)):(X+=i.format("text-anchor:{0};","middle"),ct+=e.width/2,pt+=(e.height-at)/2),X+=this.getStyleString(d.font,P.toColor(d.textBrush)),0!=ot&&(o&&(t.writeStartElement("g"),t.writeAttributeString("clip-path",i.format("url(#{0})",this.getClipPathName(d)))),t.writeStartElement("g"),t.writeAttributeString("transform",i.format("translate({0},{1})",this.toUnits(e.x+e.width/2),this.toUnits(e.y+e.height/2))),t.writeStartElement("g"),t.writeAttributeString("transform",i.format("rotate({0})",this.toUnits(-ot))),90==ot||270==ot?(ct-=e.x+e.height/2,pt-=e.y+e.width/2):(ct-=e.x+e.width/2,pt-=e.y+e.height/2));var ht=r.StiBidirectionalConvert.stringContainArabicOrHebrew(A);t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(ct)),t.writeAttributeString("y",this.toUnits(pt)),t.writeAttributeString("style",X.toString()),S.rightToLeft&&(t.writeAttributeString("direction","rtl"),t.writeAttributeString("unicode-bidi","embed"));var j=d.bookmarkValue;i.isNullOrEmpty(j)||t.writeAttributeString("id",j),t.indentation=0,t.formatting=b.None;for(var mt=0;mt1&&(ht?mt>0&&(t.writeEndElement(),t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(ct)),t.writeAttributeString("y",this.toUnits(pt+mt*nt.lineHeight)),t.writeAttributeString("style",X.toString()),S.rightToLeft&&r.StiBidirectionalConvert.stringContainArabicOrHebrew(tt[mt].text)&&(t.writeAttributeString("direction","rtl"),t.writeAttributeString("unicode-bidi","embed"))):(t.writeStartElement("tspan"),mt>0&&(t.writeAttributeString("x",this.toUnits(ct)),t.writeAttributeString("dy",this.toUnits(nt.lineHeight))))),nt.needWidthAlign){var ft=ot;while(ft<0)ft+=360;var dt=e.width;(ft>45&&ft<135||ft>225&&ft<315)&&(dt=e.height);var gt=dt-4-2*ut;t.writeAttributeString("textLength",this.toUnits(gt>0?gt:1))}null!=(K=tt[mt].text)&&(0==K.trim().length&&(K=" "),K.stimulsoft.endsWith("\n")&&(K=K.substr(0,K.length-1)),K.stimulsoft.endsWith("\r")&&(K=K.substr(0,K.length-1))),t.writeString(K),!ht&&tt.length>1&&t.writeEndElement()}t.writeFullEndElement(),t.indentation=n<0?0:n,t.formatting=n<0?b.None:b.Indented,0!=ot&&(t.writeFullEndElement(),t.writeFullEndElement(),o&&t.writeFullEndElement())}}},jt.getStyleString=function(t,e){var r="";if(r+=i.format("font-size:{0}pt;",t.sizeInPoints.toString().split(",").join(".")),r+=i.format("font-family:'{0}';",t.name),t.bold&&(r+="font-weight:bold;"),t.italic&&(r+="font-style:italic;"),t.underline||t.strikeout){var n=t.underline?t.strikeout?"underline line-through":"underline":t.strikeout?"line-through":null;r+=i.format("text-decoration:{0};",n)}return r+=i.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b),255!=e.a&&(r+=i.format("fill-opacity:{0}",Math.round2(e.a/255,3).toString().split(",").join("."))),r},jt.writeImage=function(t,n,a,s,l,u){var p=0,h=n.component.as(S);if(null!=h&&n.component.isExportAsImage(e.StiExportFormat.ImagePng)){var m=a,f={ref:m},d=h.getImage(f,e.StiExportFormat.ImagePng),g=n.component.as(c);if(null!=g&&null!=g.icon){var y=g.getPaintRectangle(!0,!1);e.StiFontIconsHelper.writeFontIconImage(t,g.iconColor,g.icon,y.width,y.height)}else null==d&&null!=g&&(d=n.component.as(c).getImageFromSource());if(m=f.ref,null!=d){t.writeStartElement("image");var A=n.component.bookmarkValue?n.component.bookmarkValue.toString():null;i.isNullOrEmpty(A)||t.writeAttributeString("id",A),t.writeAttributeString("style",i.format("clip-path: url(#clipPath{0});",p++));var b=new r.StiSvgData;b.x=n.x,b.y=n.y,h.stretch?(b.width=n.width,b.height=n.height):(b.width=d.width,b.height=d.height),n.component.is(o)?(t.writeAttributeString("x",this.toUnits(n.x)),t.writeAttributeString("y",this.toUnits(n.y)),t.writeAttributeString("width",this.toUnits(d.width)),t.writeAttributeString("height",this.toUnits(d.height))):this.writeCoordinates(t,b),t.writeStartAttribute(null,"xlink:href",null),i.isNullOrEmpty(d.base64)&&!i.isNullOrEmpty(d.url)?t.writeRaw(d.url):t.writeRaw(d.base64),t.writeEndAttribute(),t.writeEndElement()}else p++}},jt.writeBarCode=function(t,e){var n=e.component.as(Rt),o=new r.StiSvgGeomWriter(t),a=new r.StiBarCodeExportPainter(o);!n.isDesigning&&i.isNullOrEmpty(n.codeValue)||n.barCodeType.draw(a,n,new R(e.x,e.y,e.width,e.height),1)},jt.writeShape=function(t,e){var r=e.component.as(N),n=e.component.as(F),o=B.transparent;null!=n&&(o=P.toColor(n.brush));var a=new j,s=new j,l=Math.trunc(1+r.size/2),u;(e.x+=l,e.y+=l,e.width-=2*l,e.height-=2*l,r.shapeType.is(U)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{1} V {2} Z",jt.toUnits(e.x+e.width/2),jt.toUnits(e.y),jt.toUnits(e.y+e.height)))),r.shapeType.is(J)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{1} H {2} Z",jt.toUnits(e.x),jt.toUnits(e.y+e.height/2),jt.toUnits(e.x+e.width)))),r.shapeType.is(W)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{1} H {2} M {0},{3} H {2} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height)))),r.shapeType.is(V)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{1} V {3} M {2},{1} V {3} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height)))),r.shapeType.is(z)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width-.5),jt.toUnits(e.y+e.height-.5))),s=a),r.shapeType.is(K)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{1} L {2},{3} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height)))),r.shapeType.is(Z)&&(a.append(i.format("M {0},{1} V {3} H {2} V {1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height))),s.append(i.format("M {0},{3} L {2},{1}",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height)))),r.shapeType.is(q))&&((u=r.shapeType.direction)==T.Up&&a.append(i.format("M {0},{3} L {4},{1} {2},{3} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height),jt.toUnits(e.x+e.width/2))),u==T.Down&&a.append(i.format("M {0},{1} L {4},{3} {2},{1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height),jt.toUnits(e.x+e.width/2))),u==T.Left&&a.append(i.format("M {2},{3} L {0},{4} {2},{1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height),jt.toUnits(e.y+e.height/2))),u==T.Right&&a.append(i.format("M {0},{3} L {2},{4} {0},{1} Z",jt.toUnits(e.x),jt.toUnits(e.y),jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height),jt.toUnits(e.y+e.height/2))),s=a);if(r.shapeType.is($)){var c=e.width/2*(1-jt.pdfCKT),p=e.height/2*(1-jt.pdfCKT),h=e.x,m=e.y,f=e.right,d=e.bottom,g=e.x+e.width/2,S=e.y+e.height/2;a.append(i.format("M {0},{1} ",jt.toUnits(g),jt.toUnits(d))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(h+c),jt.toUnits(d),jt.toUnits(h),jt.toUnits(d-p),jt.toUnits(h),jt.toUnits(S))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(h),jt.toUnits(m+p),jt.toUnits(h+c),jt.toUnits(m),jt.toUnits(g),jt.toUnits(m))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(f-c),jt.toUnits(m),jt.toUnits(f),jt.toUnits(m+p),jt.toUnits(f),jt.toUnits(S))),a.append(i.format("C {0},{1} {2},{3} {4},{5} Z",jt.toUnits(f),jt.toUnits(d-p),jt.toUnits(f-c),jt.toUnits(d),jt.toUnits(g),jt.toUnits(d))),s=a}if(r.shapeType.is(X)){var y=r.shapeType.round,A=e.width-.5;A>e.height&&(A=e.height-.5);var b=Math.min(A,100*r.page.zoom)*y,v=b*(1-jt.pdfCKT),h=e.x,m=e.y,f=e.right-.5,d=e.bottom-.5;a.append(i.format("M {0},{1} ",jt.toUnits(h+b),jt.toUnits(d))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(h+v),jt.toUnits(d),jt.toUnits(h),jt.toUnits(d-v),jt.toUnits(h),jt.toUnits(d-b))),a.append(i.format("V {0} ",jt.toUnits(m+b))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(h),jt.toUnits(m+v),jt.toUnits(h+v),jt.toUnits(m),jt.toUnits(h+b),jt.toUnits(m))),a.append(i.format("H {0} ",jt.toUnits(f-b))),a.append(i.format("C {0},{1} {2},{3} {4},{5} ",jt.toUnits(f-v),jt.toUnits(m),jt.toUnits(f),jt.toUnits(m+v),jt.toUnits(f),jt.toUnits(m+b))),a.append(i.format("V {0} ",jt.toUnits(d-b))),a.append(i.format("C {0},{1} {2},{3} {4},{5} Z",jt.toUnits(f),jt.toUnits(d-v),jt.toUnits(f-v),jt.toUnits(d),jt.toUnits(f-b),jt.toUnits(d))),s=a}if(r.shapeType.is(et)){var C=r.shapeType.as(et),w=(null!=r.report?r.report.unit.convertToHInches(C.bevel):C.bevel)*r.page.zoom,I=w;C.autoSize&&(w=e.width/(2.414*1.414),I=e.height/(2.414*1.414)),w>e.width/2&&(w=e.width/2),I>e.height/2&&(I=e.height/2),a.append(i.format("M {0},{1} ",this.toUnits(e.x+w),this.toUnits(e.y))),a.append(i.format("L {0},{1} {2},{3} ",this.toUnits(e.right-w),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+I))),a.append(i.format("{0},{1} {2},{3} ",this.toUnits(e.right),this.toUnits(e.bottom-I),this.toUnits(e.right-w),this.toUnits(e.bottom))),a.append(i.format("{0},{1} {2},{3} ",this.toUnits(e.x+w),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-I))),a.append(i.format("{0},{1} {2},{3} ",this.toUnits(e.x+w),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-I))),a.append(i.format("{0},{1} {2},{3} Z",this.toUnits(e.x),this.toUnits(e.y+I),this.toUnits(e.x+w),this.toUnits(e.y))),s=a}if(r.shapeType.is(tt)){var u=r.shapeType.direction,E=r.shapeType.arrowWidth,D=r.shapeType.arrowHeight,x=e.width*E,k=e.height*D;u!=T.Left&&u!=T.Right||(x=e.height*E,k=e.width*D),u==T.Up&&(a.append(i.format("M {0},{1} ",jt.toUnits(e.x+e.width-x),jt.toUnits(e.y+e.height))),a.append(i.format("L {0},{1} ",jt.toUnits(e.x+e.width-x),jt.toUnits(e.y+k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width),jt.toUnits(e.y+k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width/2),jt.toUnits(e.y))),a.append(i.format("{0},{1} ",jt.toUnits(e.x),jt.toUnits(e.y+k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+x),jt.toUnits(e.y+k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+x),jt.toUnits(e.y+e.height))),a.append(i.format("{0},{1} Z",jt.toUnits(e.x+e.width-x),jt.toUnits(e.y+e.height)))),u==T.Down&&(a.append(i.format("M {0},{1} ",jt.toUnits(e.x+x),jt.toUnits(e.y))),a.append(i.format("L {0},{1} ",jt.toUnits(e.x+x),jt.toUnits(e.y+e.height-k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x),jt.toUnits(e.y+e.height-k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width/2),jt.toUnits(e.y+e.height))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height-k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width-x),jt.toUnits(e.y+e.height-k))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width-x),jt.toUnits(e.y))),a.append(i.format("{0},{1} Z",jt.toUnits(e.x+x),jt.toUnits(e.y)))),u==T.Left&&(a.append(i.format("M {0},{1} ",jt.toUnits(e.x+e.width),jt.toUnits(e.y+x))),a.append(i.format("L {0},{1} ",jt.toUnits(e.x+k),jt.toUnits(e.y+x))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+k),jt.toUnits(e.y))),a.append(i.format("{0},{1} ",jt.toUnits(e.x),jt.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+k),jt.toUnits(e.y+e.height))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+k),jt.toUnits(e.y+e.height-x))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height-x))),a.append(i.format("{0},{1} Z",jt.toUnits(e.x+e.width),jt.toUnits(e.y+x)))),u==T.Right&&(a.append(i.format("M {0},{1} ",jt.toUnits(e.x),jt.toUnits(e.y+e.height-x))),a.append(i.format("L {0},{1} ",jt.toUnits(e.x+e.width-k),jt.toUnits(e.y+e.height-x))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width-k),jt.toUnits(e.y+e.height))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width),jt.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width-k),jt.toUnits(e.y))),a.append(i.format("{0},{1} ",jt.toUnits(e.x+e.width-k),jt.toUnits(e.y+x))),a.append(i.format("{0},{1} ",jt.toUnits(e.x),jt.toUnits(e.y+x))),a.append(i.format("{0},{1} Z",jt.toUnits(e.x),jt.toUnits(e.y+e.height-x)))),s=a}if(r.shapeType.is(rt)){var M=e.widthe.width?(H=Q=e.width/4,L=Q/2):L=(Q=H=e.height/4)/2,r.shapeType.as(nt).direction){case T.Up:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),a.append(i.format("L {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-H))),a.append(i.format("{0},{1} ",this.toUnits(e.right-(L+H)),this.toUnits(e.bottom-H))),a.append(i.format("{0},{1} ",this.toUnits(e.right-(L+H)),this.toUnits(e.y+Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-2*Q),this.toUnits(e.y+Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Q),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-L),this.toUnits(e.y+Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-L),this.toUnits(e.bottom))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.bottom)));break;case T.Left:a.append(i.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),a.append(i.format("L {0},{1} ",this.toUnits(e.right),this.toUnits(e.y+L))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q),this.toUnits(e.y+L))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.y+Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q),this.toUnits(e.y+2*Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q),this.toUnits(e.y+Q+L))),a.append(i.format("{0},{1} ",this.toUnits(e.right-H),this.toUnits(e.y+Q+L))),a.append(i.format("{0},{1} ",this.toUnits(e.right-H),this.toUnits(e.bottom))),a.append(i.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.bottom)));break;case T.Down:a.append(i.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x+L),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.x+L),this.toUnits(e.bottom-Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.x+2*Q),this.toUnits(e.bottom-Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q+L),this.toUnits(e.bottom-Q))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Q+L),this.toUnits(e.y+H))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+H))),a.append(i.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.y)));break;case T.Right:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-L))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Q),this.toUnits(e.bottom-L))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Q),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Q),this.toUnits(e.bottom-2*Q))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Q),this.toUnits(e.bottom-Q-L))),a.append(i.format("{0},{1} ",this.toUnits(e.x+H),this.toUnits(e.bottom-Q-L))),a.append(i.format("{0},{1} ",this.toUnits(e.x+H),this.toUnits(e.y))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break}s=a}if(r.shapeType.is(it)){var Y=e.width>e.height?e.height/2:e.width/2;switch(r.shapeType.as(it).direction){case T.Right:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x+Y),this.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Y),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Y),this.toUnits(e.y))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break;case T.Left:a.append(i.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x+Y),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} ",this.toUnits(e.x+Y),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right-Y),this.toUnits(e.y+e.height/2))),a.append(i.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.y)));break;case T.Up:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+Y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+Y))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.bottom-Y))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+Y)));break;case T.Down:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("L {0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.y+Y))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-Y))),a.append(i.format("{0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-Y))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break}s=a}if(r.shapeType.is(ot)){var M=e.height/3;M+=4,a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+M))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y+M))),M-=4,a.append(i.format("M {0},{1} ",this.toUnits(e.width/2-M/2+e.x),this.toUnits(e.y+1+M/2))),a.append(i.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 ",M/2,M)),a.append(i.format("M {0},{1} ",this.toUnits(e.width/2-M/2+e.x),this.toUnits(e.bottom-2-M/2))),a.append(i.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 Z",M/2,M)),s=a}if(r.shapeType.is(at)){var wt=(e.height-e.height/6)/2;a.append(i.format("M {0},{1} h {2} v {3} H {0} V {1} ",this.toUnits(e.x),this.toUnits(e.bottom-wt),this.toUnits(e.width),this.toUnits(wt))),a.append(i.format("M {0},{1} h {2} v {3} H {0} V {1} Z",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.width),this.toUnits(wt))),s=a}if(r.shapeType.is(st)&&(a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/5),this.toUnits(e.x+e.width/5),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),s=a),r.shapeType.is(lt)){switch(r.shapeType.as(lt).direction){case T.Down:case T.Up:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.x),this.toUnits(e.y)));break;case T.Left:case T.Right:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y)));break}s=a}if(r.shapeType.is(ut)&&(a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+e.width/2),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2))),s=a),r.shapeType.is(ct)&&(a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/5))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/5))),s=a),r.shapeType.is(pt)){var M=e.height/5,G=e.width/5;switch(r.shapeType.as(pt).direction){case T.Down:a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom-M),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y)));break;case T.Up:a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+e.width/2),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom)));break;case T.Left:a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x+G),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x+G),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.x+G),this.toUnits(e.y)));break;case T.Right:a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right-G),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.right-G),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y)));break}s=a}if(r.shapeType.is(ht)){var G=e.width/5,M=e.height/5,Bt=e.width/2,It=e.height/2;switch(r.shapeType.as(ht).direction){case T.Left:case T.Right:a.append(i.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y+It),this.toUnits(e.x+G),this.toUnits(e.y),this.toUnits(e.right-G),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+It),this.toUnits(e.right-G),this.toUnits(e.bottom),this.toUnits(e.x+G),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+It)));break;case T.Down:case T.Up:a.append(i.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x+Bt),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom-M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+Bt),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y+M),this.toUnits(e.x+Bt),this.toUnits(e.y)));break}s=a}if(r.shapeType.is(mt)&&(a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.right),this.toUnits(e.y+e.height/2))),s=a),r.shapeType.is(ft)){var G=e.width/7,M=e.height/7;a.append(i.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y))),a.append(i.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x+G),this.toUnits(e.y+M),this.toUnits(e.x+G),this.toUnits(e.bottom-M),this.toUnits(e.right-G),this.toUnits(e.bottom-M),this.toUnits(e.right-G),this.toUnits(e.y+M),this.toUnits(e.x+G),this.toUnits(e.y+M))),s=a}if(r.shapeType.is(dt)){var M=e.height/3;a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+M))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y+M))),s=a}if(r.shapeType.is(gt)){var G=e.width/4,M=e.height/4;a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+M))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.x+G),this.toUnits(e.y),this.toUnits(e.x+e.width/2),this.toUnits(e.y+M),this.toUnits(e.right-G),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-G),this.toUnits(e.y+e.height/2),this.toUnits(e.right),this.toUnits(e.bottom-M),this.toUnits(e.right-G),this.toUnits(e.bottom),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom-M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+G),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x+G),this.toUnits(e.y+e.height/2),this.toUnits(e.x),this.toUnits(e.y+M))),s=a}if(r.shapeType.is(St)){var G=e.width/7,M=e.height/7;a.append(i.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x+e.width/5),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right-e.width/5),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom))),s=a}if(r.shapeType.is(yt)){var G=e.width/3,M=e.height/3;a.append(i.format("M {0},{1} ",this.toUnits(e.x+G),this.toUnits(e.y))),a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-G),this.toUnits(e.y),this.toUnits(e.right-G),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom-M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-G),this.toUnits(e.bottom-M),this.toUnits(e.right-G),this.toUnits(e.bottom),this.toUnits(e.x+G),this.toUnits(e.bottom),this.toUnits(e.x+G),this.toUnits(e.bottom-M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y+M),this.toUnits(e.x+G),this.toUnits(e.y+M),this.toUnits(e.x+G),this.toUnits(e.y))),s=a}if(r.shapeType.is(At)){var Tt=e.height/2.6,Et=e.width/5.5;a.append(i.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y+Tt),this.toUnits(e.x+e.width/2),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+Tt),this.toUnits(e.right-Et),this.toUnits(e.bottom),this.toUnits(e.x+Et),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+Tt))),s=a}if(r.shapeType.is(bt)){var Y=e.width/4.75;a.append(i.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x+Y),this.toUnits(e.y),this.toUnits(e.right-Y),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom))),s=a}if(r.shapeType.is(vt)){var G=e.width/7.2,M=e.height/4.6;a.append(i.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y+M),this.toUnits(e.x+G),this.toUnits(e.y),this.toUnits(e.right-G),this.toUnits(e.y))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+M),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+M))),s=a}if(r.shapeType.is(Ct)){var G=e.width/7.2,M=e.height/4.6;a.append(i.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right-G),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+M))),a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x+G),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-M),this.toUnits(e.x),this.toUnits(e.y))),s=a}if(a.length>0||s.length>0)if(a==s){var Rt=new j;null!=n.brush?Rt.append(this.writeFillBrush(t,n.brush,new R(e.x,e.y,e.width,e.height))):Rt.append("fill:none;"),t.writeStartElement("path"),t.writeAttributeString("style",Rt.toString()),r.borderColor.equals(B.transparent)?t.writeAttributeString("stroke","none"):jt.writeStrokeInfo(t,r.borderColor,r.size,r.style),t.writeAttributeString("transform","translate(0, 0)"),t.writeAttributeString("d",a.toString()),t.writeEndElement()}else a.length>0&&!o.equals(B.transparent)&&(t.writeStartElement("path"),jt.writeFillInfo(t,o),t.writeAttributeString("stroke","none"),t.writeAttributeString("d",a.toString()),t.writeEndElement()),s.length>0&&!r.borderColor.equals(B.transparent)&&(t.writeStartElement("path"),t.writeAttributeString("fill","none"),jt.writeStrokeInfo(t,r.borderColor,r.size,r.style),t.writeAttributeString("d",s.toString()),t.writeEndElement())},jt.writeFillBrush=function(t,e,r){if(e.stimulsoft.is(B)){var n=e;return i.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3))}if(e.is(Q)||e.is(Bt)||e.is(It)||e.is(A)){var o=r.clone(),a=this.writeBrush(t,e,o);return i.format("fill:url(#{0});",a)}if(e.is(P)){var n=P.toColor(e);return i.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3))}return"fill-opacity:0;"},jt.writeBrush=function(t,e,n){var i="";return e.is(Bt)?i=r.StiBrushSvgHelper.writeGlareBrush(t,e,n):e.is(Q)?i=r.StiBrushSvgHelper.writeGradientBrush(t,e,n):e.is(It)?i=r.StiBrushSvgHelper.writeHatchBrush(t,e):e.is(A)&&(i=r.StiBrushSvgHelper.writeGlassBrush(t,e,n)),i},jt.writeRoundedRectanglePrimitive=function(t,e){var r=e.component;if(!r.color.equals(B.transparent)){var n=new j,o=r.round,a=e.width;a>e.height&&(a=e.height);var s=Math.min(a,100*r.page.zoom)*o,l=s*(1-jt.pdfCKT),u=e.x,c=e.y,p=e.x+e.width,h=e.y+e.height;n.append(i.format("M {0} {1} ",jt.toUnits(u+s),jt.toUnits(h))),n.append(i.format("C {0} {1} {2} {3} {4} {5} ",jt.toUnits(u+l),jt.toUnits(h),jt.toUnits(u),jt.toUnits(h-l),jt.toUnits(u),jt.toUnits(h-s))),n.append(i.format("V {0} ",jt.toUnits(c+s))),n.append(i.format("C {0} {1} {2} {3} {4} {5} ",jt.toUnits(u),jt.toUnits(c+l),jt.toUnits(u+l),jt.toUnits(c),jt.toUnits(u+s),jt.toUnits(c))),n.append(i.format("H {0} ",jt.toUnits(p-s))),n.append(i.format("C {0} {1} {2} {3} {4} {5} ",jt.toUnits(p-l),jt.toUnits(c),jt.toUnits(p),jt.toUnits(c+l),jt.toUnits(p),jt.toUnits(c+s))),n.append(i.format("V {0} ",jt.toUnits(h-s))),n.append(i.format("C {0} {1} {2} {3} {4} {5} Z",jt.toUnits(p),jt.toUnits(h-l),jt.toUnits(p-l),jt.toUnits(h),jt.toUnits(p-s),jt.toUnits(h))),t.writeStartElement("path"),t.writeAttributeString("fill","none"),jt.writeStrokeInfo(t,r.color,r.size,r.style),t.writeAttributeString("d",n.toString()),t.writeEndElement()}},jt.getClipPathName=function(t){return null==t.guid&&t.newGuid(),i.format("clipPath_{0}",t.guid)},jt.writeIndicator=function(t,e){var r=new R(e.x,e.y,e.width,e.height),n=e.component.as(M);null!=n&&null!=n.indicator&&(n.indicator.stimulsoft.is(m)&&this.writeIconSetIndicatorTypePainter(t,n,r),n.indicator.stimulsoft.is(g)&&this.writeDataBarIndicator(t,n,r)),e.x=r.x,e.y=r.y,e.width=r.width,e.height=r.height},jt.writeIconSetIndicatorTypePainter=function(t,e,r){var n=r.clone();n.inflate(-1,-1);var i=e.indicator.stimulsoft.as(m);if(null!=i&&(i.icon!=h.None||null!=i.customIcon)){var o=p.getIcon(i),a=null!=i.customIcon?i.customIconSize.width:18,s=null!=i.customIcon?i.customIconSize.height:18,l=n.clone();switch(i.alignment){case y.TopLeft:l=new R(l.x,l.y,a,s),r.x+=l.width+1,r.width-=l.width+1;break;case y.TopCenter:l=new R(l.x+(l.width-a)/2,l.y,a,s);break;case y.TopRight:l=new R(l.right-a,l.y,a,s),r.width-=l.width+1;break;case y.MiddleLeft:l=new R(l.x,l.y+(l.height-s)/2,a,s),r.x+=l.width+1,r.width-=l.width+1;break;case y.MiddleCenter:l=new R(l.x+(l.width-a)/2,l.y+(l.height-s)/2,a,s);break;case y.MiddleRight:l=new R(l.right-a,l.y+(l.height-s)/2,a,s),r.width-=l.width+1;break;case y.BottomLeft:l=new R(l.x,l.bottom-s,a,s),r.x+=l.width+1,r.width-=l.width+1;break;case y.BottomCenter:l=new R(l.x+(l.width-a)/2,l.bottom-s,a,s);break;case y.BottomRight:l=new R(l.right-a,l.bottom-s,a,s),r.width-=l.width+1;break}t.writeStartElement("image"),jt.writeCoordinates(t,l),t.writeAttributeString("xlink:href",o.base64),t.writeEndElement()}},jt.writeDataBarIndicator=function(e,n,o){var a=o.clone();a.inflate(-2,-2);var s=n.indicator.stimulsoft.as(g);if(null!=s&&0!=s.value){var l=s.maximum+Math.abs(s.minimum),u=a.clone(),c=u.width*Math.abs(s.minimum)/l,p=u.width*s.maximum/l,h=u.width*Math.abs(s.value)/l,m=s.direction;m==d.Default&&(m=null!=n.textOptions&&n.textOptions.rightToLeft?d.RighToLeft:d.LeftToRight);var S=0;if(m==d.LeftToRight?(s.value<0?u.x+=c-h:u.x+=c,u.width=h):(S=180,s.value<0?u.x=u.right-c:u.x=u.right-c-h,u.width=h),s.value<0&&(S+=180),u.width>0&&u.height>0)if(s.brushType==t.Report.Components.StiBrushType.Gradient){var y=void 0;if(y=m==d.LeftToRight?s.value>0?new R(o.left+c,o.top,p,o.height):new R(o.left,o.top,c,o.height):s.value<0?new R(o.left+p,o.top,c,o.height):new R(o.left,o.top,p,o.height),u.width>0&&u.width<1&&(u.width=1),y.width>0&&y.width<1&&(y.width=1),y.width>0&&u.width>0){var A=s.value<0?s.negativeColor:s.positiveColor,b=f.light(A,200);y.x-=.1*y.width,y.width+=.2*y.width;var v=r.StiBrushSvgHelper.writeGradientBrush(e,new Q(A,b,S),y);e.writeStartElement("rect"),jt.writeCoordinates(e,u),e.writeAttributeString("fill",i.format("url(#{0})",v)),e.writeEndElement()}}else{var C=s.value<0?s.negativeColor:s.positiveColor;e.writeStartElement("rect"),jt.writeCoordinates(e,u),e.writeAttributeString("fill",i.format("#{0:X2}{1:X2}{2:X2}",C.r,C.g,C.b)),e.writeEndElement()}if(s.showBorder){var C=s.value<0?s.negativeBorderColor:s.positiveBorderColor;e.writeStartElement("rect"),jt.writeCoordinates(e,u),e.writeAttributeString("fill","none"),e.writeAttributeString("stroke",i.format("#{0:X2}{1:X2}{2:X2}",C.r,C.g,C.b)),e.writeAttributeString("stroke-width","1"),e.writeEndElement()}}},jt.saveComponentToString=function(i,o,s,l,u){void 0===o&&(o=e.ImageFormat.Jpeg),void 0===s&&(s=.75),void 0===l&&(l=100),void 0===u&&(u=!0);var c=new w(O.UTF8),p=-1;c.indentation=p<0?0:p,c.formatting=p<0?b.None:b.Indented;var h=C.getImageCodec("image/jpeg");l/=100;var m=i.report,f=r.StiMatrix.htmlScaleX,d=r.StiMatrix.htmlScaleY;u&&(f=1,d=1);var g=f*m.unit.convertToHInches(i.left),S=d*m.unit.convertToHInches(i.top),y=f*m.unit.convertToHInches(i.right),A=d*m.unit.convertToHInches(i.bottom),v=new r.StiSvgData;v.x=0,v.y=0,v.width=Math.floor(y-g),v.height=Math.floor(A-S),v.component=i;var B=i.isExportAsImage(e.StiExportFormat.ImageSvg),I=jt.checkShape(i),T=1,E=i.as(M),R;if(null!=E&&!B&&null!=E.text&&E.text.trim().length>0&&(c.writeStartElement("defs"),c.writeStartElement("clipPath"),c.writeStartElement("rect"),jt.writeCoordinates(c,v),c.writeEndElement(),c.writeEndElement(),c.writeEndElement()),!I&&!B&&!i.is(xt)){var D={ref:T};jt.writeBorder1(c,v,D),T=D.ref}return i.is(M)&&!B&&(jt.writeIndicator(c,v),i.is(xt)||jt.writeText(c,v,p,!0)),I?jt.writeShape(c,v):i.is(Rt)?jt.writeBarCode(c,v):i.is(n)?r.StiSparklineSvgHelper.writeSparkline(c,v):i.is(t.Report.Chart.IStiChart)?r.StiChartSvgHelper.writeChart(c,v,1,!1):i.is(t.Report.Components.Gauge.IStiGauge)?r.StiGaugeSvgHelper.writeGauge(c,v):i.is(t.Report.Maps.StiMap)&&i.mapMode==a.Choropleth?r.StiMapSvgHelper.drawMap(c,i,v.x,v.y,v.width,v.height,!1):i.is(Tt)?u?jt.writeCheckBox(c,v,!0):jt.writeCheckBox(c,v,i.checkedValue):i.is(xt)?jt.writeTextInCells(c,v):B&&jt.writeImage(c,v,l,o,s,h),c.flush(),c.textWriter.getStringBuilder().toString()},jt.saveToString=function(t,r,n,i,o,a,s,l){return void 0===i&&(i=!0),void 0===o&&(o={ref:0}),void 0===a&&(a=e.ImageFormat.Png),void 0===s&&(s=.75),void 0===l&&(l=100),jt.writeDocument(t,r,i,a,s,l).getStringBuilder().toString()},jt.writeCheckBox=function(t,e,r){var n=e.component.as(Tt);if(null==n||null==r)return;var o=Pt.writeFillBrush(t,n.textBrush,new R(e.x,e.y,e.width,e.height));t.writeStartElement("g");var a=200,s=1/(a/Math.min(e.width,e.height)),l=0,u=0;e.width>e.height?l=Math.abs(e.width/2-a*s/2):e.widthB.width){var F=[],N=0,k=0;while(k0)if(F[b]!=F[O])while(Mt.isWhitespace(x[b]))b++;else{while(!Mt.isWhitespace(x[b]))b--;O=b++;while(Mt.isWhitespace(x[O]))O--}I.setByIndex(D,x.substring(0,O+1)),I.insert(D+1,x.substring(b,x.length-b))}}y=n.y+a;for(var _=0;_0&&(G=i.repeat(" ",H)+G),S=n.x+a;for(var Q=0;Q0)return a.format("rgba({0},{1},{2},{3})",t.r,t.g,t.b,Math.round2(t.a/255,3));return et.toHtml(t)},pt.prototype.formatColorRgba=function(t){return a.format("rgba({0}, {1}, {2}, {3})",t.r,t.g,t.b,t.a/255)},pt.prototype.getBorderStyle=function(t){switch(t){case O.Dot:return" dotted";case O.Dash:case O.DashDot:case O.DashDotDot:return" dashed";case O.Double:return" double";default:return" solid"}},pt.prototype.setCurrentCulture=function(){},pt.prototype.restoreCulture=function(){},pt.prototype.renderFont=function(e,r){var n="";t.System.Drawing.Graphics.allowStyle(r.fontFamily.name,r.style)&&(r.bold&&(n+="bold "),r.italic&&(n+="italic ")),n+=Math.trunc(r.size*this.zoom).toString().split(",").join(".")+"pt ";var i=t.System.Drawing.Graphics.getCustomFontName(r.fontFamily.name,r.style);i.stimulsoft.contains(" ")&&(i="'"+i+"'"),n+=i;var o=r.underline?r.strikeout?"underline line-through":"underline":r.strikeout?"line-through":"";null==e?(this.htmlWriter.writeStyleAttribute("Font",n),(r.underline||r.strikeout)&&this.htmlWriter.writeStyleAttribute("text-decoration",o)):(e.style.set("Font",n),(r.underline||r.strikeout)&&e.style.set("text-decoration",o))},pt.prototype.renderTextHorAlignment=function(t,e,n){var i=null!=e&&e.rightToLeft,o="";n==M.Left&&(o=i?"right":"left"),n==M.Right&&(o=i?"left":"right"),n==M.Center&&(o="center"),n==M.Width&&(o="justify"),""!=o&&(null==t?(this.htmlWriter.writeStyleAttribute("text-align",o),this.exportSettings.exportMode!=r.StiHtmlExportMode.Table&&("left"==o&&this.htmlWriter.writeStyleAttribute("justify-content","flex-start"),"right"==o&&this.htmlWriter.writeStyleAttribute("justify-content","flex-end"),"center"==o&&this.htmlWriter.writeStyleAttribute("justify-content","center"),"justify"==o&&this.htmlWriter.writeStyleAttribute("justify-content","space-between"))):t.style.set("text-align",o))},pt.prototype.renderVertAlignment=function(t,e,n,i){void 0===n&&(n=null),void 0===i&&(i=!1);var o="",a=null!=n&&n.trimming!=u.None;e==_.Top&&(o="top"),e==_.Center&&(o="middle"),e==_.Bottom&&(o="bottom"),""!=o&&(null==t?this.exportSettings.exportMode==r.StiHtmlExportMode.Table||i?this.htmlWriter.writeStyleAttribute("vertical-align",o):(e==_.Top&&(o="flex-start"),e==_.Center&&(o="center"),e==_.Bottom&&(o="flex-end"),a?(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",o)):t.style.set("vertical-align",o))},pt.prototype.renderTextAngle=function(t){null==t||90!=t.angle&&270!=t.angle||this.htmlWriter.writeStyleAttribute("writing-mode","tb-rl")},pt.prototype.renderTextDirection=function(t,e){null!=e&&e.rightToLeft&&(null==t?this.htmlWriter.writeStyleAttribute("direction","rtl"):t.style.set("direction","rtl"))},pt.prototype.renderBackColor=function(t,e){255==e.a?null==t?this.htmlWriter.writeStyleAttribute("background-color",this.formatColor(e)):t.style.set("background-color",this.formatColor(e)):e.a>0&&(null==t?this.htmlWriter.writeStyleAttribute("background",this.formatColorRgba(e)):t.style.set("background",this.formatColorRgba(e)))},pt.prototype.renderTextColor=function(t,e,r){void 0===r&&(r=!1),e.equals(T.black)&&!r||(null==t?this.htmlWriter.writeStyleAttribute("color",this.formatColor(e)):t.style.set("color",this.formatColor(e)))},pt.prototype.renderBorder=function(t){if(null!=t&&t.is(P)&&!t.is(V)){var e=t.as(P);this.renderBorder2(e.border)}},pt.prototype.renderBorder2=function(t){if(null!=t){var e=null,r=null,n=null,i=null,o=t.stimulsoft.as(W);null!=o?(e=o.leftSide,r=o.rightSide,n=o.topSide,i=o.bottomSide):(e=new U(t.color,t.size,t.style),t.isRightBorderSidePresent&&(r=e),t.isTopBorderSidePresent&&(n=e),t.isBottomBorderSidePresent&&(i=e),t.isLeftBorderSidePresent||(e=null)),this.renderBorder3(null,e,"left"),this.renderBorder3(null,r,"right"),this.renderBorder3(null,n,"top"),this.renderBorder3(null,i,"bottom")}},pt.prototype.renderBorder3=function(t,e,r,n){void 0===n&&(n=0);var i=(100*n).toString()+"px";if(null!=e&&e.style!=O.None){var o=this.formatColor(e.color),s=this.getBorderStyle(e.style),l=e.size;l>0&&l<1&&(l=1),l<1&&(e.style==O.Dash||e.style==O.DashDot||e.style==O.DashDotDot||e.style==O.Dot)&&(l=1),e.style==O.Double&&(l=2.5);var u=Math.round2(l).toString()+"px";null==t?(this.htmlWriter.writeStyleAttribute(a.format("border-{0}-color",r),o),this.htmlWriter.writeStyleAttribute(a.format("border-{0}-style",r),s),this.htmlWriter.writeStyleAttribute(a.format("border-{0}-width",r),u),0!=n&&this.htmlWriter.writeStyleAttribute("border-radius",i)):(t.style.set(a.format("border-{0}-color",r),o),t.style.set(a.format("border-{0}-style",r),s),t.style.set(a.format("border-{0}-width",r),u),0!=n&&t.style.set("border-radius",i))}else StiOptions.Export.Html.useStrictTableCellSize&&null==t&&(this.htmlWriter.writeStyleAttribute(a.format("border-{0}-color",r),"transparent"),this.htmlWriter.writeStyleAttribute(a.format("border-{0}-style",r),"solid"),this.htmlWriter.writeStyleAttribute(a.format("border-{0}-width",r),"1px"),0!=n&&this.htmlWriter.writeStyleAttribute("border-radius",i))},pt.prototype.renderPosition=function(t,e){void 0===e&&(e=!1);var n=t.componentToPage(t.clientRectangle),i=this.formatCoord(this.coordX[n.left]),o=this.formatCoord(this.coordY[n.top]+this.startPage*this.zoom*.75),s=this.coordX[n.right]-this.coordX[n.left],l=this.coordY[n.bottom]-this.coordY[n.top],u=t.as(P);null!=u&&null!=u.border&&(u.border.stimulsoft.is(W)||u.border.style!=O.None&&u.border.size>0&&u.border.side!=N.None&&((u.border.side&N.Left)>0&&(s-=.375*u.border.size),(u.border.side&N.Right)>0&&(s-=.375*u.border.size),(u.border.side&N.Top)>0&&(l-=.375*u.border.size),(u.border.side&N.Bottom)>0&&(l-=.375*u.border.size)));var c=t.as(j);null==c||c.margins.isEmpty||(s-=.75*(Math.trunc(c.margins.left*this.zoom)+Math.trunc(c.margins.right*this.zoom)),l-=.75*(Math.trunc(c.margins.top*this.zoom)+Math.trunc(c.margins.bottom*this.zoom))),s<0&&(s=0),l<0&&(l=0);var p=this.formatCoord(s),h=this.formatCoord(l);if(this.htmlWriter.writeStyleAttribute("left",i),this.htmlWriter.writeStyleAttribute("top",o),this.htmlWriter.writeStyleAttribute("width",p),this.htmlWriter.writeStyleAttribute("height",h),null==c||c.margins.isEmpty||this.htmlWriter.writeStyleAttribute("padding",a.format("{0} {1} {2} {3}",r.StiHtmlUnit.newUnit(Math.trunc(c.margins.top*this.zoom)).toString(),r.StiHtmlUnit.newUnit(Math.trunc(c.margins.right*this.zoom)).toString(),r.StiHtmlUnit.newUnit(Math.trunc(c.margins.bottom*this.zoom)).toString(),r.StiHtmlUnit.newUnit(Math.trunc(c.margins.left*this.zoom)).toString())),e)return p+";"+h;return null},pt.prototype.getHeight=function(t){var e=t.componentToPage(t.clientRectangle),r=this.coordY[e.bottom]-this.coordY[e.top],n=t.page.unit,i=t.as(P);null!=i&&null!=i.border&&(i.border.stimulsoft.is(W)||i.border.style!=O.None&&i.border.size>0&&i.border.side!=N.None&&((i.border.side&N.Left)>0&&(r-=.375*i.border.size),(i.border.side&N.Right)>0&&(r-=.375*i.border.size)));var o=t.as(j),a;return null==o||o.margins.isEmpty||(r-=.75*(Math.trunc(o.margins.top)+Math.trunc(o.margins.bottom))),r<0&&(r=0),this.formatCoord(r)},pt.prototype.getWidth=function(t){var e=t.componentToPage(t.clientRectangle),r=this.coordX[e.right]-this.coordX[e.left],n=t.page.unit,i=t.as(P);null!=i&&null!=i.border&&(i.border.stimulsoft.is(W)||i.border.style!=O.None&&i.border.size>0&&i.border.side!=N.None&&((i.border.side&N.Left)>0&&(r-=.375*i.border.size),(i.border.side&N.Right)>0&&(r-=.375*i.border.size)));var o=t.as(j),a;return null==o||o.margins.isEmpty||(r-=.75*(Math.trunc(o.margins.left)+Math.trunc(o.margins.right))),r<0&&(r=0),this.formatCoord(r)},pt.prototype.renderImage=function(t){var e=null,r=t.as(k);null!=r&&(e=r.imageURLValue,a.isNullOrEmpty(e)&&null!=r.image&&(e=r.image.base64)),this.setCurrentCulture(),this.renderImage2(r,t.as(z),e),this.restoreCulture()},pt.prototype.renderImage2=function(t,e,r){if(null!=e){var n=e.stimulsoft.as(X),i=this.zoom,o=this.imageResolution;if(StiOptions.Export.Html.useImageResolution&&e.stimulsoft.is(k)&&null!=e.imageToDraw){var a=e.imageToDraw.horizontalResolution;a>=50&&a<=1250&&(o=a)}100!=o&&(i*=o/100);var s=null,l={ref:i};s=n.imageToDraw,i=l.ref,this.restoreCulture(),this.renderImage3(t,s,r,i)}},pt.prototype.renderImage3=function(t,e,n,i){if(null!=e){a.isNullOrEmpty(n)||n.stimulsoft.startsWith("http")||n.stimulsoft.startsWith("ftp")||(n=null);var o=n;if(a.isNullOrEmpty(n)&&(null!=this.htmlImageHost&&(o=this.htmlImageHost.getImageString(e)),null==o&&(o="")),t.aspectRatio&&t.stretch||t.imageRotation!=lt.None){var s=this.getWidth(t),l=this.getHeight(t);this.htmlWriter.write('
        '):this.htmlWriter.write('">'),this.htmlWriter.write("
        ")}else this.htmlWriter.writeBeginTag('div style="'),this.htmlWriter.writeStyleAttribute("display","table-cell"),this.htmlWriter.writeStyleAttribute("max-width",this.getWidth(t)),this.renderVertAlignment(null,t.vertAlignment),this.htmlWriter.write('">'),this.htmlWriter.writeBeginTag('img style="'),t.stretch&&(this.htmlWriter.writeStyleAttribute("height",this.getHeight(t)),this.htmlWriter.writeStyleAttribute("width",this.getWidth(t))),this.htmlWriter.write('"'),this.htmlWriter.writeAttribute("src",o),this.htmlWriter.write(">"),this.htmlWriter.writeEndTag("img"),this.htmlWriter.writeEndTag("div")}},pt.prototype.renderHyperlink=function(t){var e=t.hyperlinkValue;!a.isNullOrWhiteSpace(e)&&e.stimulsoft.startsWith("##")&&(e=e.substr(1));var r=t.bookmarkValue,n=t.tagValue;null==r&&!a.isNullOrEmpty(n)&&this.hyperlinksToTag.containsKey(n)&&(r=n);var i=null;if(!a.isNullOrWhiteSpace(t.guid)&&this.hashBookmarkGuid.containsKey(t.guid)&&(i=t.guid),!a.isNullOrWhiteSpace(e)){var o=t.componentToPage(t.clientRectangle),s=this.formatCoord(this.coordY[o.bottom]-this.coordY[o.top]),l=new J,u;if(l.append("display:block;height:"+s+";text-decoration:none;"),t.is(x)){var c=t,p=G.toColor(c.textBrush);l.append("color:"+this.formatColor(p)+";")}if(t.is(D))t.font.underline?l.append("text-decoration:underline;"):l.append("text-decoration:none;");return this.htmlWriter.writeBeginTag("a"),a.isNullOrWhiteSpace(r)||this.htmlWriter.writeAttribute("name",r.split("'").join("")),a.isNullOrWhiteSpace(i)||this.htmlWriter.writeAttribute("guid",i),this.htmlWriter.writeAttribute("style",l.toString()),this.htmlWriter.writeAttribute("href",e),this.htmlWriter.write(">"),!0}if(!a.isNullOrWhiteSpace(r)||!a.isNullOrWhiteSpace(i))return this.htmlWriter.writeBeginTag("a"),a.isNullOrWhiteSpace(r)||this.htmlWriter.writeAttribute("name",r.split("'").join("")),a.isNullOrWhiteSpace(i)||this.htmlWriter.writeAttribute("guid",i),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),!0;return!1},pt.prototype.renderPage=function(t,e,r){if(this.pageHorAlignment!=F.Left&&(this.htmlWriter.writeBeginTag(this.strSpanDiv+' style="'),this.htmlWriter.writeStyleAttribute("text-align",this.pageHorAlignment==F.Center?"center":"right"),e&&this.htmlWriter.writeStyleAttribute("margin-left",a.format("{0}px",r+4)),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine()),this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="StiPageContainer" style="'),this.renderAsDocument){this.pageHorAlignment!=F.Left?this.htmlWriter.writeStyleAttribute("display","inline-block"):e&&this.htmlWriter.writeStyleAttribute("left",a.format("{0}px",r+4)),this.htmlWriter.writeStyleAttribute("width",this.formatCoord(this.totalPageWidth*this.zoom*.75)),this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*.75)),this.htmlWriter.writeStyleAttribute("position","relative");var n=T.transparent;null!=t&&t.count>0&&(null!=t.getByIndex(0).brush&&(n=G.toColor(t.getByIndex(0).brush)),0==n.a&&(n=T.white),null!=t.getByIndex(0).border&&this.renderBorder(t.getByIndex(0)))}this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine()},pt.prototype.renderEndPage=function(){this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine(),this.pageHorAlignment!=F.Left&&(this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine())},pt.prototype.renderStartDoc=function(e,r,n,i,o,s,l,u){if(this.htmlWriter.writeLine(''),this.htmlWriter.writeLine("\x3c!-- "+t.StiVersion.platform()+" --\x3e"),this.htmlWriter.writeLine(''),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",a.format("text/html; charset={0}",u.webName)),this.htmlWriter.writeEndTag("meta"),this.htmlWriter.writeLine(),o){var c=t.Report.Resources.StimulsoftFont.getBase64Content();this.htmlWriter.writeLine(""),this.htmlWriter.writeLine()}if(null!=e&&(r?e.renderStylesTable(n,i,s):e.renderStyles(n,i,s)),n&&this.renderBookmarkScript(),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("body"),null!=l&&l.count>0&&null!=l.getByIndex(0).brush){var p=G.toColor(l.getByIndex(0).brush);p.a>0&&this.htmlWriter.writeAttribute("bgcolor",this.formatColor(p))}StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),StiOptions.Export.Html.printLayoutOptimization&&this.htmlWriter.writeAttribute("style","margin:0;"),this.htmlWriter.write(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine()},pt.prototype.fillBitmapBackground=function(t,e){var r=T.lightGray},pt.prototype.renderBookmarkScript=function(){},pt.prototype.renderChartScripts=function(e){var r,n;if(void 0===e&&(e=!0),0==this.chartData.count)return;e&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">"));var i=ot.newGuidString(),o=t.Report.Export.Htmls.ChartScripts.StiChartAnimation.getBase64Content(),s=t.System.Convert.fromBase64StringText(o);this.htmlWriter.writeLine(s.stimulsoft.replaceAll("animateSti","animateSti"+i)+";"),this.htmlWriter.writeLine("setTimeout(function() {");try{for(var l=__values(this.chartData.keys),u=l.next();!u.done;u=l.next()){var c=u.value;this.htmlWriter.writeLine(a.format('animateSti{0}("{1}");',i,this.chartData.get(c)))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}this.htmlWriter.writeLine("}, 300);"),e&&(this.htmlWriter.writeEndTag("script"),this.htmlWriter.writeLine())},pt.prototype.renderMapsScripts=function(t){void 0===t&&(t=!0),t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")},pt.prototype.renderGaugeScripts=function(t){void 0===t&&(t=!0),t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")},pt.prototype.getGuid=function(t){return this.chartData.containsKey(t)||this.chartData.add(t,ot.newGuidString()),this.chartData.get(t)},pt.prototype.renderEndDoc=function(){this.htmlWriter.indent--,this.htmlWriter.writeEndTag("body"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("html")},pt.prototype.renderBookmarkTree=function(t,e,r){var n=[];this.addBookmarkNode(t,-1,n),this.htmlWriter.writeStyleAttribute("width",a.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(var i=0;i0){for(var s=0;s")}else t=(t=t.stimulsoft.replaceAll("\r","")).stimulsoft.replaceAll("\n","
        "),r.append(t);return r.toString()},pt.convertTextWithHtmlTagsToHtmlText=function(t,e,r){if(!a.isNullOrEmpty(e)&&e.stimulsoft.startsWith(""))return e.substring("".length);for(var n=e,i=new it(t.font.bold,t.font.italic,t.font.underline,t.font.strikeout,t.font.size,t.font.name,G.toColor(t.textBrush),G.toColor(t.brush),!1,!1,0,0,t.lineSpacing,t.horAlignment),o=new nt(i,0),s=Z.parseHtmlToStates(n,o),l=new J,u=M.Left,c=t.lineSpacing,p=!0,h=!1,m=new J,f=i,d=0;d":""),S.italic!=f.italic&&m.append(S.italic?"":""),S.underline!=f.underline&&m.append(S.underline?"":""),S.strikeout!=f.strikeout&&m.append(S.strikeout?"":""),S.superscript!=f.superscript&&m.append(S.superscript?"":""),S.subsript!=f.subsript&&m.append(S.subsript?"":""),S.fontColor!=f.fontColor||S.backColor!=f.backColor||S.fontName!=f.fontName||S.fontSize!=f.fontSize||S.letterSpacing!=f.letterSpacing||S.wordSpacing!=f.wordSpacing||S.htmlStyle!=f.htmlStyle){var y="";S.htmlStyle!=f.htmlStyle&&(y+=S.htmlStyle+";"),S.fontColor!=i.fontColor&&!y.stimulsoft.contains("color:")&&S.fontColor.a>0&&(y+=a.format("color:#{0:X6};",16777215&S.fontColor.toArgb())),S.backColor!=i.backColor&&!y.stimulsoft.contains("background-color:")&&S.backColor.a>0&&(y+=a.format("background-color:#{0:X6};",16777215&S.backColor.toArgb())),S.fontName!=i.fontName&&(y.stimulsoft.contains("font-family:")||(y+=a.format("font-family:{0};",S.fontName))),S.fontSize!=i.fontSize&&(y.stimulsoft.contains("font-size:")||(y+=a.format("font-size:{0}pt;",S.fontSize*r).split(",").join("."),y+=a.format("line-height:{0}em;",Math.round2(S.lineHeight*this.getFontScale(S.fontName,S.fontSize),2)).split(",").join("."))),S.letterSpacing!=i.letterSpacing&&(y.stimulsoft.contains("letter-spacing:")||(y+=a.format("letter-spacing:{0}em;",S.letterSpacing).split(",").join("."))),S.wordSpacing!=i.wordSpacing&&(y.stimulsoft.contains("word-spacing:")||(y+=a.format("word-spacing:{0}em;",S.wordSpacing).split(",").join("."))),h&&m.append("
        "),h=!1,y.length>0&&(h=!0,m.append(a.format('',y)))}u=S.textAlign,c=S.lineHeight,"\n"==g.text.toString()?(p&&m.append(" "),l.append(this.getParagraphString(m,u,c,t.lineSpacing,t.rightToLeft,t.font)),m=new J,p=!0):(m.append(g.text),g.text.toString().trim().length>0&&(p=!1)),f=S.clone()}return m.length>0&&l.append(this.getParagraphString(m,u,c,t.lineSpacing,t.rightToLeft,t.font)),h&&m.append(""),f.bold!=i.bold&&m.append(i.bold?"":""),f.italic!=i.italic&&m.append(i.italic?"":""),f.underline!=i.underline&&m.append(i.underline?"":""),f.strikeout!=i.strikeout&&m.append(i.strikeout?"":""),f.superscript!=i.superscript&&m.append(i.superscript?"":""),f.subsript!=i.subsript&&m.append(i.subsript?"":""),l.toString()},pt.getParagraphString=function(t,e,r,n,i,o){var s=new J;s.append("

        '),s.append(t),s.append("

        "),s.toString()},pt.prototype.renderWatermarkText=function(t,e,n){if(void 0===n&&(n=0),null!=e&&!a.isNullOrEmpty(e.watermark.text)&&e.watermark.enabled){var i=e.unit.convertRectangleToHInches(e.displayRectangle),o=Math.trunc(e.watermark.font.size*this.zoom),s=a.format(" font-size: {0}pt; font-family: {1};",o,e.watermark.font.name);e.watermark.font.bold&&(s+="font-weight:bold;"),e.watermark.font.italic&&(s+="font-style:italic;"),e.watermark.font.underline&&(s+="text-decoration:underline"+(e.watermark.font.strikeout?" ":";")),e.watermark.font.strikeout&&(s+=e.watermark.font.underline?"line-through;":"text-decoration:line-through;");var l=G.toColor(e.watermark.textBrush),u=a.format("rgb({0},{1},{2})",l.r,l.g,l.b),c=l.a/255,p=e.watermark.showBehind?0:1;t.writeLine(a.format("
        {7}
        ",s,c,10*c,r.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.left)+i.width/2)*this.zoom),StiOptions.Export.Html.printLayoutOptimization),r.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.top)+i.height/2)*this.zoom),StiOptions.Export.Html.printLayoutOptimization),u,e.watermark.angle,e.watermark.text,p,Math.trunc(n)))}},pt.prototype.renderWatermarkImage=function(e,r,n){if(void 0===n&&(n=0),null!=r&&null!=r.watermark&&r.watermark.enabled&&(null!=r.watermark.image||!a.isNullOrWhiteSpace(r.watermark.imageHyperlink))){var i="",o=0;if(null!=r.watermark.image)i=r.watermark.image.base64,o=r.watermark.image.width;else if(!a.isNullOrEmpty(r.watermark.imageHyperlink))if(l.isResourceHyperlink(r.watermark.imageHyperlink)){var s=r.report.dictionary.resources.getByName(l.getResourceNameFromHyperlink(r.watermark.imageHyperlink)),u;if(null!=s)null!=(u=t.System.Drawing.Image.fromBytes(s.content))&&(i=u.base64,o=u.width)}else if(l.isVariableHyperlink(r.watermark.imageHyperlink)){var c=r.report.dictionary.variables.getByName(l.getVariableNameFromHyperlink(r.watermark.imageHyperlink)),u;if(null!=c&&null!=c.valueObject)null!=(u=c.valueObject.stimulsoft.as(t.System.Drawing.Image))&&(i=u.base64,o=u.width)}var p=r.unit.convertRectangleToHInches(r.clientRectangle),h=p.width*this.zoom,m=p.height*this.zoom,f=o*r.watermark.imageMultipleFactor*this.zoom,d=r.watermark.showImageBehind?0:1,g="",S="center",y="center";switch(r.watermark.imageAlignment){case A.TopLeft:S="left",y="top";break;case A.TopCenter:S="center",y="top";break;case A.TopRight:S="right",y="top";break;case A.MiddleLeft:S="left",y="center";break;case A.MiddleCenter:S="center",y="center";break;case A.MiddleRight:S="right",y="center";break;case A.BottomLeft:S="left",y="bottom";break;case A.BottomCenter:S="center",y="bottom";break;case A.BottomRight:S="right",y="bottom";break}g+=a.format("background-position-x: {0};",S),g+=a.format("background-position-y: {0};",y),r.watermark.imageStretch?(g+="background-size: 100% 100%;",g+="background-repeat: no-repeat;"):(g+=a.format("background-size: {0}%;",Math.trunc(f/h*100)),g+=a.format("background-repeat: {0};",r.watermark.imageTiling?"repeat":"no-repeat")),e.writeLine(a.format("
        ",Math.trunc(h),Math.trunc(m),d,i,g,Math.trunc(n)))}},pt.getImage=function(t,e,r){return null},pt.getFile=function(t,e){return null},pt.prototype.assembleGuidUsedInBookmark=function(t,e){var r,n;if(a.isNullOrWhiteSpace(t.componentGuid)||e.set(t.componentGuid,t.text),null!=t.bookmarks&&t.bookmarks.count>0)try{for(var i=__values(t.bookmarks.list),o=i.next();!o.done;o=i.next()){var s=o.value;this.assembleGuidUsedInBookmark(s,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},pt.prepareSvg=function(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(">")},pt.prototype.prepareChartData=function(e,n,i,o){var a=new w,s=new B(a,!1,!1,!1,this.zoom),l=new J,u=null,c=null;null==e?(c=new C,u=new r.StiHtmlTextWriter(c)):u=e;var p=.96;pt.prepareSvg(u,Math.round2(o*p,2),Math.round2(i*p,2));var h=new r.StiSvgData;h.x=0,h.y=0,h.width=i*p,h.height=o*p,h.component=n;var m=new rt,f=new v(K.UTF8,m);return r.StiChartSvgHelper.writeChart(f,h,this.zoom,this.chartType==t.Report.Export.StiHtmlChartType.AnimatedVector),f.flush(),u.write(K.UTF8.getString(m.toArray())),u.writeEndTag("svg"),this.getGuid(n),null==e?c.getStringBuilder().toString():null},pt.prototype.prepareSparklineData=function(t,e,r,n){return pt.getSparklineData(t,e,r,n)},pt.getSparklineData=function(t,e,n,i){var o=new w,a=null,s=null;null==t?(s=new C,a=new r.StiHtmlTextWriter(s)):a=t;var l=.96;pt.prepareSvg(a,Math.round2(i*l,2),Math.round2(n*l,2));var u=new r.StiSvgData;u.x=0,u.y=0,u.width=n*l,u.height=i*l,u.component=e;var c=new rt,p=new v(K.UTF8,c);return r.StiSparklineSvgHelper.writeSparkline(p,u),p.flush(),a.write(K.UTF8.getString(c.toArray())),a.writeEndTag("svg"),null==t?s.getStringBuilder().toString():null},pt.prototype.prepareGaugeData=function(e,n,i,o){var a,s=null;null==e?(a=new C,s=new r.StiHtmlTextWriter(a)):s=e;var l=1;pt.prepareSvg(s,Math.round2(o*l,2),Math.round2(i*l,2));var u=new r.StiSvgData;u.x=0,u.y=0,u.width=i*l,u.height=o*l,u.component=n;var c=new rt,p=new v(K.UTF8,c);return r.StiGaugeSvgHelper.writeGauge(p,u,this.zoom,this.chartType==r.StiHtmlChartType.AnimatedVector),p.flush(),s.write(t.System.Text.Encoding.UTF8.getString(c.toArray())),s.writeEndTag("svg"),null==e?a.getStringBuilder().toString():null},pt.prototype.prepareMapData=function(e,n,i,o){var a,s=null;null==e?(a=new C,s=new r.StiHtmlTextWriter(a)):s=e;var l=1;pt.prepareSvg(s,Math.round2(o*l,2),Math.round2(i*l,2));var u=new rt,c=new v(K.UTF8,u);return r.StiMapSvgHelper.drawMap(c,n,0,0,i,o,this.chartType==r.StiHtmlChartType.AnimatedVector),c.flush(),s.write(t.System.Text.Encoding.UTF8.getString(u.toArray())),s.writeEndTag("svg"),null==e?a.getStringBuilder().toString():null},pt.prototype.getChartScript=function(){var t=this.htmlWriter,e=new C;return this.htmlWriter=new r.StiHtmlTextWriter(e),this.renderChartScripts(!1),this.renderGaugeScripts(!1),this.renderMapsScripts(!1),this.htmlWriter=t,e.getStringBuilder().toString()},pt.prototype.clear=function(){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()},pt.prototype.isComponentHasInteraction=function(t){if(this.insertInteractionParameters&&null!=t.interaction){if(t.interaction.sortingEnabled&&!a.isNullOrWhiteSpace(t.interaction.sortingColumn))return!0;if(t.interaction.drillDownEnabled&&(null!=t.interaction.drillDownPage||!a.isNullOrEmpty(t.interaction.drillDownReport)))return!0;if(t.interaction.stimulsoft.is(y)&&t.interaction.collapsingEnabled)return!0}return!1},pt.prototype.exportHtml=function(o,l,u,A){var v,C,w,B,R,D,P,x,N,M,O,G,U,W,V,z,X,K,et,rt,nt,it;if(void 0===A&&(A=null),null==A&&(A=u.pageRange.getSelectedPages(o.renderedPages)),null==u)throw new Error("The 'settings' argument cannot be equal in null.");this.exportSettings=u;var ot=u.pageRange;this.zoom=u.zoom,this.imageFormat=u.imageFormat,this.exportQuality=u.exportQuality;var st=u.exportMode,lt=u.exportBookmarksMode!=r.StiHtmlExportBookmarksMode.ReportOnly,ut=u.bookmarksTreeWidth,ct=u.exportBookmarksMode==r.StiHtmlExportBookmarksMode.BookmarksOnly;this.useStylesTable=u.useStylesTable,this.imageResolution=u.imageResolution,this.imageQuality=u.imageQuality,this.removeEmptySpaceAtBottom=u.removeEmptySpaceAtBottom,this.pageHorAlignment=u.pageHorAlignment,this.compressToArchive=u.compressToArchive,this.useEmbeddedImages=u.useEmbeddedImages,this.openLinksTarget=u.openLinksTarget,this.chartType=u.chartType;var ht=!0;lt=lt&&null!=o.bookmark&&0!=o.bookmark.bookmarks.count,st==r.StiHtmlExportMode.Span?this.strSpanDiv="span":st==r.StiHtmlExportMode.Div&&(this.strSpanDiv="div"),this.isFileStreamMode=!a.isNullOrEmpty(this.fileName),this.useEmbeddedImages&&(this.isFileStreamMode=!1);try{null==this.htmlImageHost&&(this.htmlImageHost=new r.StiHtmlImageHost(this)),this.hashBookmarkGuid=new I,this.assembleGuidUsedInBookmark(o.bookmark,this.hashBookmarkGuid),this.htmlWriter=l,this.report=o,this.totalPageWidth=0,this.totalPageHeight=0,this.startPage=0,this.imageNumber=1;var mt=new I;if(lt){var ft=0;try{for(var dt=__values(A.list),gt=dt.next();!gt.done;gt=dt.next()){var St,yt;(yt=(St=gt.value).getComponents()).add(St);try{for(var At=(w=void 0,__values(yt.list)),bt=At.next();!bt.done;bt=At.next()){var vt;if((vt=bt.value).enabled){var Ct=vt.bookmarkValue;a.isNullOrWhiteSpace(Ct)||(Ct=Ct.split("'").join("")).length>0&&(mt.containsKey(Ct)||mt.add(Ct,ft))}}}catch(t){w={error:t}}finally{try{bt&&!bt.done&&(B=At.return)&&B.call(At)}finally{if(w)throw w.error}}ft++}}catch(t){v={error:t}}finally{try{gt&&!gt.done&&(C=dt.return)&&C.call(dt)}finally{if(v)throw v.error}}}var wt=!1;try{for(var Bt=__values(A.list),It=Bt.next();!It.done;It=Bt.next()){var St,yt=(St=It.value).getComponents();try{for(var Tt=(P=void 0,__values(yt.list)),Et=Tt.next();!Et.done;Et=Tt.next()){var Rt,vt,Dt;if((vt=Rt=Et.value).enabled&&vt.is(at))null!=(Dt=vt.as(at))&&Dt.series.count>0&&Dt.series.getByIndex(0).stimulsoft.is(s)&&(wt=!0)}}catch(t){P={error:t}}finally{try{Et&&!Et.done&&(x=Tt.return)&&x.call(Tt)}finally{if(P)throw P.error}}}}catch(t){R={error:t}}finally{try{It&&!It.done&&(D=Bt.return)&&D.call(Bt)}finally{if(R)throw R.error}}if(st==r.StiHtmlExportMode.Span||st==r.StiHtmlExportMode.Div){var Pt=new r.StiHtmlTableRender(this,u,new E(o,A));if(this.isStopped)return;this.coordX=new n,this.coordY=new n,this.hyperlinksToTag=new I;try{for(var xt=__values(A.list),Ft=xt.next();!Ft.done;Ft=xt.next()){var St=Ft.value;this.totalPageWidth=Math.max(this.totalPageWidth,St.unit.convertToHInches(St.width)),this.totalPageHeight+=St.unit.convertToHInches(St.height)}}catch(t){N={error:t}}finally{try{Ft&&!Ft.done&&(M=xt.return)&&M.call(xt)}finally{if(N)throw N.error}}try{for(var Nt=__values(A.list),kt=Nt.next();!kt.done;kt=Nt.next()){var St,yt=(St=kt.value).getComponents(),Mt=St.unit.convertRectangleToHInches(St.clientRectangle);try{for(var Ot=(U=void 0,__values(yt.list)),_t=Ot.next();!_t.done;_t=Ot.next()){var vt=_t.value,jt=St.unit.convertRectangleToHInches(vt.displayRectangle),Gt=!0;if(vt.is(H)&&(Gt=!1),(jt.rightMt.right||jt.bottomMt.bottom)&&(Gt=!1),vt.enabled&&Gt&&(this.addCoord(vt.displayRectangle),null!=vt.hyperlinkValue)){var Ht=vt.hyperlinkValue;!a.isNullOrEmpty(Ht)&&Ht.length>2&&Ht.stimulsoft.startsWith("##")&&this.hyperlinksToTag.set(Ht.substr(2),null)}}}catch(t){U={error:t}}finally{try{_t&&!_t.done&&(W=Ot.return)&&W.call(Ot)}finally{if(U)throw U.error}}}}catch(t){O={error:t}}finally{try{kt&&!kt.done&&(G=Nt.return)&&G.call(Nt)}finally{if(O)throw O.error}}this.formatCoords(o);var Qt=new I,Lt=new I;try{for(var Yt=__values(A.list),Ut=Yt.next();!Ut.done;Ut=Yt.next()){var St,yt=(St=Ut.value).getComponents();try{for(var Jt=(X=void 0,__values(yt.list)),Wt=Jt.next();!Wt.done;Wt=Jt.next()){var Rt,vt;if((vt=Rt=Wt.value).enabled){var Vt,zt;if(ht)null==(Vt=vt)||null==Vt.brush||Vt.brush.is(Q)||Vt.brush.is(L)||((vt=Rt.clone()).brush=new Q(T.transparent));(zt=Pt.matrix.getStyleFromComponent(vt,-1,-1,this.exportServiceId)).absolutePosition=!0,A.cacheMode||Qt.set(Rt,zt);var Xt=vt.tagValue;if(!a.isNullOrEmpty(Xt))for(var Kt=r.StiMatrix.splitTag(Xt),Zt=0;Zt1){var $t=qt[0].trim();Lt.set($t,qt[1].trim()+";position:absolute;"),Qt.set(Rt,$t);break}}}}}catch(t){X={error:t}}finally{try{Wt&&!Wt.done&&(K=Jt.return)&&K.call(Jt)}finally{if(X)throw X.error}}}}catch(t){V={error:t}}finally{try{Ut&&!Ut.done&&(z=Yt.return)&&z.call(Yt)}finally{if(V)throw V.error}}Pt.matrix.checkStylesNames(),this.renderAsDocument&&this.renderStartDoc(Pt,!1,lt,ct,wt,Lt,A,u.encoding),!this.renderAsDocument&<&&this.renderBookmarkScript();for(var te=0,ee=0;eeMt.right||jt.bottomMt.bottom)&&(Gt=!1),vt.enabled&&Gt){var le=null,zt;null==(zt=null==Qt.get(Rt)?null:Qt.get(Rt).stimulsoft.as(r.StiCellStyle))&&A.cacheMode&&((zt=Pt.matrix.getStyleFromComponent(Rt,-1,-1,this.exportServiceId)).absolutePosition=!0);var ue=Pt.matrix.styles.indexOf(zt);-1!=ue&&this.useStylesTable&&(le="s"+zt.styleName);var $t=null==Qt.get(Rt)?null:Qt.get(Rt).stimulsoft.as(String),Vt,ce;if(!a.isNullOrEmpty($t)&&this.useStylesTable&&(le=$t),ht)if(null!=(Vt=vt)&&null!=Vt.brush&&!Vt.brush.is(Q)&&!Vt.brush.is(L))l.writeBeginTag(this.strSpanDiv),a.isNullOrEmpty(le)||l.writeAttribute("class",le),l.write(' style="'),l.write(""),this.renderPosition(vt),l.write('position:absolute;">'),(ce=new j).page=St,ce.clientRectangle=vt.clientRectangle,ce.brush=vt.brush,this.renderImage(ce),l.writeEndTag(this.strSpanDiv),l.writeLine(""),(vt=Rt.clone()).brush=new Q(T.transparent);var pe=vt.isExportAsImage(e.StiExportFormat.Html),he=!1;if(l.writeBeginTag(this.strSpanDiv),a.isNullOrEmpty(le)||l.writeAttribute("class",le),st==r.StiHtmlExportMode.Div&&null!=vt.toolTipValue&&l.writeAttribute("title",vt.toolTipValue.toString()),this.insertInteractionParameters){if(null!=Rt.report&&!Rt.report.isDocument&&this.isComponentHasInteraction(Rt)){if(l.write(a.format(' interaction="{0}"',vt.name)),vt.interaction.sortingEnabled){var me=vt.interaction.getSortDataBandName(),fe=null!=vt.report.getComponentByName(me)?vt.report.getComponentByName(me).as(S):null;if(null!=fe){l.write(a.format(' databandsort="{0};{1}"',me,a.join(";",fe.sort)));for(var de=0;de"),this.prepareGaugeData(l,Be,se.width,se.height),(he=this.renderHyperlink(vt))&&l.writeEndTag("a");else if(null!=Ie)l.write('" '),l.writeAttribute("id",this.getGuid(Ie)),l.writeAttribute("isRegionMap","true"),l.write(">"),this.prepareMapData(l,Ie,se.width,se.height),(he=this.renderHyperlink(vt))&&l.writeEndTag("a");else if(vt.is(t.Report.BarCodes.StiBarCode)||vt.is(t.Report.Components.StiCheckBox)||vt.is(t.Report.Components.StiShape)){l.write('">');var Te=r.StiSvgHelper.saveComponentToString(vt,e.ImageFormat.Jpeg,.75,100,!1),Ee=a.format('{3}',Math.ceil(jt.width),Math.ceil(jt.height),this.zoom,Te);l.write(Ee)}else if(pe)l.write('">'),he=this.renderHyperlink(vt),this.renderImage(vt),he&&l.writeEndTag("a");else{var Re=vt.as(j);if(null!=Re&&(null!=Re.angle&&0!=Re.angle||null!=Re.indicator)){var Te=r.StiSvgHelper.saveComponentToString(vt,e.ImageFormat.Jpeg,.75,100,!1),Ee=a.format('{3}',Math.ceil(jt.width),Math.ceil(jt.height),this.zoom,Te);l.write('">'),l.write(Ee)}else{var De=vt.as(Y);null!=De&&this.renderTextDirection(null,De.textOptions);var Pe=vt.is(q)&&!vt.is($),xe=null,Fe=!0,Ne=null!=zt&&null!=zt.textOptions&&zt.textOptions.wordWrap;Pe&&(xe=vt.text,Fe&&!Ne&&l.write("white-space:nowrap")),vt.is(t.Report.BarCodes.StiBarCode)||vt.is(t.Report.Components.StiCheckBox)||vt.is(t.Report.Components.StiShape)||l.write('">'),Ne&&StiOptions.Export.Html.useWordWrapBreakWordMode&&(l.writeBeginTag(this.strSpanDiv),l.write(' style="word-wrap:break-word;width:'+we.substr(0,we.indexOf(";"))+';">')),he=this.renderHyperlink(vt);var ke=!0;if(null==De||De.textOptions.wordWrap){if(Pe){var Me;if(null!=xe)null!=(Me=vt)&&Me.textQuality==tt.Wysiwyg&&!a.isNullOrEmpty(xe)&&xe.stimulsoft.endsWith(Z.StiForceWidthAlignTag)&&(xe=xe.substr(0,xe.length-Z.StiForceWidthAlignTag.length)),null!=Me&&Me.checkAllowHtmlTags()?xe=pt.convertTextWithHtmlTagsToHtmlText(Me,xe,this.zoom):(null!=Me&&StiOptions.Export.Html.forceWysiwygWordwrap&&!Me.checkAllowHtmlTags()&&Me.textQuality==tt.Wysiwyg&&null!=De&&De.textOptions.wordWrap,StiOptions.Export.Html.replaceSpecialCharacters&&(xe=xe.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(" "," "))),Me.vertAlignment==_.Top?l.write(this.prepareTextForHtml(xe)):(l.writeBeginTag(this.strSpanDiv+' style="'),l.writeStyleAttribute("overflow","hidden"),Me.vertAlignment==_.Center?l.writeStyleAttribute("align-items","center"):l.writeStyleAttribute("align-items","baseline"),l.writeStyleAttribute("max-width",this.getWidth(Me)),l.writeStyleAttribute("height",this.getHeight(Me)),this.renderTextHorAlignment(null,De,Me.horAlignment),this.renderVertAlignment(null,Me.vertAlignment,De,Me.allowHtmlTags),l.write('">'),l.write(this.prepareTextForHtml(xe)),l.writeEndTag(this.strSpanDiv));ke=!1}}else if(Pe){var Me;if(null!=xe)null!=(Me=vt)&&Me.textQuality==tt.Wysiwyg&&!a.isNullOrEmpty(xe)&&xe.stimulsoft.endsWith(Z.StiForceWidthAlignTag)&&(xe=xe.substr(0,xe.length-Z.StiForceWidthAlignTag.length)),null!=Me&&Me.checkAllowHtmlTags()?xe=pt.convertTextWithHtmlTagsToHtmlText(Me,xe,this.zoom):StiOptions.Export.Html.replaceSpecialCharacters&&(xe=xe.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(" "," ")),StiOptions.Export.Html.convertDigitsToArabic&&De.textOptions.rightToLeft&&(xe=r.StiExportUtils.convertDigitsToArabic(xe,StiOptions.Export.Html.arabicDigitsType)),Me.vertAlignment==_.Top?l.write(this.prepareTextForHtml(xe)):(l.writeBeginTag(this.strSpanDiv+' style="'),l.writeStyleAttribute("display","table-cell"),l.writeStyleAttribute("max-width",this.getWidth(Me)),De.textOptions.trimming!=t.System.Drawing.StringTrimming.None&&(l.writeStyleAttribute("text-overflow","ellipsis"),l.writeStyleAttribute("overflow","hidden"),l.writeStyleAttribute("white-space","nowrap")),this.renderTextHorAlignment(null,De,Me.horAlignment),this.renderVertAlignment(null,Me.vertAlignment),l.write('">'),l.write(this.prepareTextForHtml(xe)),l.writeEndTag(this.strSpanDiv));ke=!1}he&&(ke&&l.write("
        "),l.writeEndTag("a")),Ne&&StiOptions.Export.Html.useWordWrapBreakWordMode&&l.writeEndTag(this.strSpanDiv)}}l.writeEndTag(this.strSpanDiv),l.writeLine(""),ie++}}}catch(t){nt={error:t}}finally{try{ae&&!ae.done&&(it=oe.return)&&it.call(oe)}finally{if(nt)throw nt.error}}l.writeLine("\x3c!-- end page --\x3e"),this.startPage+=St.unit.convertToHInches(St.height)}}catch(t){et={error:t}}finally{try{ne&&!ne.done&&(rt=re.return)&&rt.call(re)}finally{if(et)throw et.error}}if(!t.Base.izjrG.dVOOk.TvUDM()&&(!t.Base.izjrG.dVOOk.ekkVf()&&!t.Base.izjrG.dVOOk.yoidW()||!t.System.NodeJs.isStandaloneVersion)&&A.count>0){var Oe=a.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),_e=A.getByIndex(0).unit.convertRectangleToHInches(A.getByIndex(0).clientRectangle),je=Math.trunc(100*this.zoom);/*l.writeLine(a.format('
        {4}
        ',this.strSpanDiv,je,r.StiHtmlUnit.newUnit(_e.width*this.zoom,StiOptions.Export.Html.printLayoutOptimization),r.StiHtmlUnit.newUnit(_e.height*this.zoom/2-je,StiOptions.Export.Html.printLayoutOptimization),Oe))*/}this.renderEndPage(),this.renderAsDocument&&this.renderChartScripts(),this.renderAsDocument&&this.renderGaugeScripts(),this.renderAsDocument&&this.renderMapsScripts(),this.renderAsDocument&&this.renderEndDoc()}if(st==r.StiHtmlExportMode.Table){if(this.currentPassNumber=0,this.maximumPassNumber=3,this.tableRender=new r.StiHtmlTableRender(this,u,A),this.isStopped)return;for(var Lt=new I,Ge=i.create2(Boolean,this.tableRender.matrix.coordY.countItems,this.tableRender.matrix.coordX.countItems),He=1;He1){var $t=qt[0].trim();Lt.set($t,qt[1].trim());break}}}}}for(var te=0,ee=0;ee"),StiOptions.Export.Html.useExtendedStyle&&(l.writeBeginTag("tbody"),l.writeAttribute("class","sBaseStyleFix"),l.writeLine(">")),this.htmlWriter.writeBeginTag("tr"),StiOptions.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(o.bookmark,ut,mt),this.htmlWriter.writeEndTag("td"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("td"),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.writeLine(">"),this.htmlWriter.indent++),!t.Base.izjrG.dVOOk.TvUDM()&&(!t.Base.izjrG.dVOOk.ekkVf()&&!t.Base.izjrG.dVOOk.yoidW()||!t.System.NodeJs.isStandaloneVersion)&&A.count>0){var Oe=a.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),_e=A.getByIndex(0).unit.convertRectangleToHInches(A.getByIndex(0).clientRectangle),je=Math.trunc(100*this.zoom);/*l.writeLine(a.format('
        {4}
        ',this.strSpanDiv,je,r.StiHtmlUnit.newUnit(_e.width*this.zoom,StiOptions.Export.Html.printLayoutOptimization),r.StiHtmlUnit.newUnit(_e.height*this.zoom/2-je,StiOptions.Export.Html.printLayoutOptimization),Oe))*/}if(!ct){var St,Je=null!=(St=A.count>0?A.getByIndex(0):null)&&null!=St.watermark&&((null!=St.watermark.image||!a.isNullOrEmpty(St.watermark.imageHyperlink))&&St.watermark.showImageBehind||!a.isNullOrEmpty(St.watermark.text)&&St.watermark.showBehind);this.tableRender.renderTable(!this.renderAsDocument&&this.renderStyles,null,lt,ct,Lt,Je)}lt&&(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()}l.flush()}finally{o=null,this.clearOnFinish&&this.clear()}},pt.fontScale=new I,pt}(r.StiExportService);r.StiHtmlExportService=ut;var ct=function(){function t(){}return t}();r.StiBookmarkTreeNode=ct}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r,n,i,o,a,s,l,u;n=r=e.Export||(e.Export={}),i=t.System.StiString,o=t.System.Enum,a=t.Report.Dashboard.IStiDashboard,s=t.System.Type,l=t.Base.Localization.StiLocalization,u=function(t){function r(){var e=t.call(this)||this;return e.exportNameInMenu=l.get("Export","ExportTypeImageFile"),e.position=n.StiExportPosition.Image,e.multipleFiles=!0,e}return __extends(r,t),Object.defineProperty(r.prototype,"defaultExtension",{get:function(){if(this.imageSettings.stimulsoft.is(n.StiSvgExportSettings)||this.imageSettings.imageType==n.StiImageType.Svg)return"svg";return"jpeg"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"exportFormat",{get:function(){if(null!=this.imageSettings&&s.getType(this.imageSettings)==n.StiImageExportSettings)return e.StiExportFormat.Image;if(this.imageSettings.stimulsoft.is(n.StiSvgExportSettings)||this.imageSettings.imageType==n.StiImageType.Svg)return e.StiExportFormat.ImageSvg;return e.StiExportFormat.Image},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"groupCategory",{get:function(){return this.stimulsoft.is(n.StiSvgExportService)?"Meta":"Image"},enumerable:!1,configurable:!0}),r.prototype.getFilter=function(){if(this.imageSettings.stimulsoft.is(n.StiSvgExportSettings)||this.imageSettings.imageType==n.StiImageType.Svg)return l.get("FileFilters","SvgFiles");return l.get("FileFilters","JpegFiles")},r.prototype.exportTo=function(t,e,r){this.exportImage(t,e,r)},r.prototype.exportImage=function(t,r,n){if(null==n&&(n=this.getSettings()),n.getExportFormat()==e.StiExportFormat.ImagePng&&!t.isDocument&&t.getCurrentPage().stimulsoft.is(a))return;try{this.exportImage1(t,r,n)}finally{}},r.prototype.getSettings=function(){if(this.stimulsoft.is(n.StiSvgExportService))return new n.StiImageExportSettings(n.StiImageType.Svg);return new n.StiImageExportSettings(n.StiImageType.Jpeg)},r.prototype.exportImage1=function(t,r,a){var s,l;if(e.StiLogService.write(this.stimulsoft.getType(),i.format("Export report to {0} format ",o.getName(n.StiImageType,a.imageType))),null==a)throw new Error("The 'settings' argument cannot be equal in null.");this.imageSettings=a;var u=a.pageRange,c=a.imageZoom,p=a.imageResolution,h=a.cutEdges,m=a.imageFormat,f=a.ditheringType,d=a.tiffCompressionScheme;this.multipleFiles=a.multipleFiles;var g=u.getSelectedPages(t.renderedPages),S="",y=1,A=a.imageType;A!=n.StiImageType.Emf||StiOptions.Engine.fullTrust||(A=n.StiImageType.Png);try{for(var b=__values(g.list),v=b.next();!v.done;v=b.next()){var C=v.value;if(g.getPage(C),this.invokeExporting(C,g,0,1),this.isStopped)return;(A!=n.StiImageType.Tiff||this.multipleFiles)&&A!=n.StiImageType.Emf&&(A==n.StiImageType.Pcx||A==n.StiImageType.Bmp&&m==n.StiImageFormat.Monochrome||(A==n.StiImageType.Svg||A==n.StiImageType.Svgz?r.ref+=n.StiSvgHelper.saveToString(t,C,A==n.StiImageType.Svgz):A==n.StiImageType.Tiff&&n.StiTiffCompressionScheme.Default))}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}},r}(n.StiExportService),n.StiImageExportService=u}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Localization.StiLocalization,n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.exportNameInMenu=r.get("Export","ExportTypeSvgFile"),e}return __extends(e,t),e.prototype.getFilter=function(){return r.get("FileFilters","SvgFiles")},e}(e.StiImageExportService);e.StiSvgExportService=n}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiExcel2007ExportService="IStiExcel2007ExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiExcelXmlExportService="IStiExcelXmlExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPpt2007ExportService="IStiPpt2007ExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiWord2007ExportService="IStiWord2007ExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPdfExportService="IStiPdfExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOdsExportService="IStiOdsExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOdtExportService="IStiOdtExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTxtExportService="IStiTxtExportService"}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(){function e(){}return e.prototype.getExportFormat=function(){return t.StiExportFormat.None},e}();e.StiExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.pageRange=new t.StiPagesRange,r}return __extends(r,e),r}(e.StiExportSettings);e.StiPageRangeExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Text.Encoding,i=function(t){function i(e){void 0===e&&(e=r.StiDataType.Csv);var i=t.call(this)||this;return i.dataType=r.StiDataType.Csv,i.dataExportMode=r.StiDataExportMode.Data,i.exportDataOnly=!1,i.codePage=r.StiDbfCodePages.Default,i.skipColumnHeaders=!1,i.useDefaultSystemEncoding=!0,i.dataType=e,i.encoding=n.UTF8,i.separator=";",i}return __extends(i,t),i.prototype.getExportFormat=function(){if(this.dataType==r.StiDataType.Dbf)return e.StiExportFormat.Dbf;if(this.dataType==r.StiDataType.Dif)return e.StiExportFormat.Dif;if(this.dataType==r.StiDataType.Sylk)return e.StiExportFormat.Sylk;if(this.dataType==r.StiDataType.Xml)return e.StiExportFormat.Xml;return e.StiExportFormat.Csv},i}(r.StiPageRangeExportSettings);r.StiDataExportSettings=i}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(){return e.call(this,t.StiDataType.Csv)||this}return __extends(r,e),r}(t.StiDataExportSettings);t.StiCsvExportSettings=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Text.Encoding,i=t.Base.Drawing.StiHorAlignment,o=function(t){function o(o){void 0===o&&(o=r.StiHtmlType.Html);var a=t.call(this)||this;return a.htmlType=r.StiHtmlType.Html,a.imageQuality=.75,a.imageResolution=100,a.encoding=n.Default,a.zoom=1,a.exportMode=r.StiHtmlExportMode.Table,a.exportQuality=r.StiHtmlExportQuality.High,a.addPageBreaks=!0,a.bookmarksTreeWidth=150,a.exportBookmarksMode=r.StiHtmlExportBookmarksMode.All,a.useStylesTable=!0,a.removeEmptySpaceAtBottom=StiOptions.Export.Html.removeEmptySpaceAtBottom,a.pageHorAlignment=i.Left,a.compressToArchive=!1,a.useEmbeddedImages=!1,a.continuousPages=!0,a.chartType=r.StiHtmlChartType.AnimatedVector,a.openLinksTarget=null,a.useWatermarkMargins=!1,a.htmlType=o,a.encoding=n.UTF8,a.imageFormat=e.ImageFormat.Png,a}return __extends(o,t),o.prototype.getExportFormat=function(){if(this.htmlType==r.StiHtmlType.Html5)return e.StiExportFormat.Html5;if(this.htmlType==r.StiHtmlType.Mht)return e.StiExportFormat.Mht;return e.StiExportFormat.Html},o}(r.StiPageRangeExportSettings);r.StiHtmlExportSettings=o}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(){return e.call(this,t.StiHtmlType.Html5)||this}return __extends(r,e),r}(t.StiHtmlExportSettings);t.StiHtml5ExportSettings=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Export.StiTiffCompressionScheme,n=t.Report.Export.StiPageRangeExportSettings,i=t.Report.StiExportFormat,o=t.Report.Export.StiImageFormat,a=t.Report.Export.StiMonochromeDitheringType,s=t.Report.Export.StiImageType,l=function(t){function e(e){void 0===e&&(e=s.Jpeg);var n=t.call(this)||this;return n.imageZoom=1,n.imageResolution=100,n.cutEdges=!1,n.imageFormat=o.Color,n.multipleFiles=!1,n.ditheringType=a.FloydSteinberg,n.tiffCompressionScheme=r.Default,n.imageType=e,n}return __extends(e,t),e.prototype.getExportFormat=function(){switch(this.imageType){case s.Bmp:return i.ImageBmp;case s.Emf:return i.ImageEmf;case s.Gif:return i.ImageGif;case s.Jpeg:return i.ImageJpeg;case s.Pcx:return i.ImagePcx;case s.Png:return i.ImagePng;case s.Svg:return i.ImageSvg;case s.Svgz:return i.ImageSvgz;default:return i.ImageTiff}},e}(n);e.StiImageExportSettings=l}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(){return e.call(this,t.StiImageType.Svg)||this}return __extends(r,e),r}(t.StiImageExportSettings);t.StiSvgExportSettings=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(t){void 0===t&&(t=e.StiExcelType.ExcelBinary);var n=r.call(this)||this;return n.excelType=e.StiExcelType.ExcelBinary,n.useOnePageHeaderAndFooter=!1,n.exportDataOnly=!1,n.exportPageBreaks=!1,n.exportObjectFormatting=!0,n.exportEachPageToSheet=!1,n.imageQuality=.75,n.imageResolution=100,n.companyString=e.StiExportUtils.getReportVersion(),n.lastModifiedString=e.StiExportUtils.getReportVersion(),n.restrictEditing=e.StiExcel2007RestrictEditing.No,n.excelType=t,n}return __extends(n,r),n.prototype.getExportFormat=function(){if(this.excelType==e.StiExcelType.ExcelXml)return t.StiExportFormat.ExcelXml;if(this.excelType==e.StiExcelType.Excel2007)return t.StiExportFormat.Excel2007;return t.StiExportFormat.Excel},n}(e.StiPageRangeExportSettings);e.StiExcelExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(){return e.call(this,t.StiExcelType.Excel2007)||this}return __extends(r,e),r}(t.StiExcelExportSettings);t.StiExcel2007ExportSettings=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.imageQuality=.75,t.imageResolution=100,t}return __extends(r,e),r.prototype.getExportFormat=function(){return t.StiExportFormat.Ppt2007},r}(e.StiPageRangeExportSettings);e.StiPpt2007ExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=function(n){function i(){var e=null!==n&&n.apply(this,arguments)||this;return e.usePageHeadersAndFooters=!1,e.imageQuality=.75,e.imageResolution=100,e.removeEmptySpaceAtBottom=StiOptions.Export.Word.removeEmptySpaceAtBottom,e.companyString=t.Report.Export.StiExportUtils.getReportVersion(),e.lastModifiedString=t.Report.Export.StiExportUtils.getReportVersion(),e.restrictEditing=r.StiWord2007RestrictEditing.No,e}return __extends(i,n),i.prototype.getExportFormat=function(){return e.StiExportFormat.Word2007},i}(r.StiPageRangeExportSettings);r.StiWord2007ExportSettings=n}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.imageQuality=.75,t.imageResolution=100,t}return __extends(r,e),r.prototype.getExportFormat=function(){return t.StiExportFormat.Ods},r}(e.StiPageRangeExportSettings);e.StiOdsExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.usePageHeadersAndFooters=!1,t.imageQuality=.75,t.imageResolution=100,t.removeEmptySpaceAtBottom=StiOptions.Export.OpenDocumentWriter.removeEmptySpaceAtBottom,t}return __extends(r,e),r.prototype.getExportFormat=function(){return t.StiExportFormat.Odt},r}(e.StiPageRangeExportSettings);e.StiOdtExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(e){var r=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.imageQuality=.75,t.imageResolution=100,t.imageResolutionMode=e.StiImageResolutionMode.Auto,t.embeddedFonts=!0,t.standardPdfFonts=!1,t.compressed=!0,t.useUnicode=!1,t.useDigitalSignature=!1,t.getCertificateFromCryptoUI=!0,t.exportRtfTextAsImage=!1,t.passwordInputUser="",t.passwordInputOwner="",t.userAccessPrivileges=e.StiUserAccessPrivileges.All,t.keyLength=e.StiPdfEncryptionKeyLength.Bit40,t.creatorString="",t.keywordsString="",t.imageCompressionMethod=e.StiPdfImageCompressionMethod.Jpeg,t.imageIndexedColorPaletteSize=96,t.imageFormat=e.StiImageFormat.Color,t.ditheringType=e.StiMonochromeDitheringType.FloydSteinberg,t.pdfComplianceMode=e.StiPdfComplianceMode.None,t.autoPrintMode=StiOptions.Export.Pdf.defaultAutoPrintMode,t.allowEditable=e.StiPdfAllowEditable.No,t}return __extends(n,r),n.prototype.getExportFormat=function(){return t.StiExportFormat.Pdf},Object.defineProperty(n.prototype,"pdfACompliance",{get:function(){return this.pdfComplianceMode!=e.StiPdfComplianceMode.None},set:function(t){this.pdfComplianceMode=t?e.StiPdfComplianceMode.A1:e.StiPdfComplianceMode.None},enumerable:!1,configurable:!0}),n}(e.StiPageRangeExportSettings);e.StiPdfExportSettings=r}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Text.Encoding,i=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.encoding=n.UTF8,e.drawBorder=!0,e.borderType=r.StiTxtBorderType.UnicodeSingle,e.killSpaceLines=!0,e.killSpaceGraphLines=!0,e.putFeedPageCode=!0,e.cutLongLines=!0,e.zoomX=1,e.zoomY=1,e.useEscapeCodes=!1,e.escapeCodesCollectionName="",e}return __extends(i,t),i.prototype.getExportFormat=function(){return e.StiExportFormat.Text},i}(r.StiPageRangeExportSettings);r.StiTxtExportSettings=i}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Drawing.StiBrush,n=t.System.Drawing.Rectangle,i=t.System.Drawing.Pen,o=function(){function t(t){this.geomWriter=null,this.geomWriter=t}return t.prototype.baseTransform=function(t,e,r,n,i,o){this.geomWriter.translateTransform(e,r),this.geomWriter.rotateTransform(n),this.geomWriter.translateTransform(i,o)},t.prototype.baseRollbackTransform=function(t){if(this.geomWriter.stimulsoft.is(e.StiSvgGeomWriter)){var r=this.geomWriter.stimulsoft.as(e.StiSvgGeomWriter);r.endTransform(),r.endTransform(),r.endTransform()}},t.prototype.baseFillRectangle=function(t,e,r,i,o,a){var s=new n(r,i,o,a);this.geomWriter.fillRectangle(s,e)},t.prototype.baseFillRectangle2D=function(t,e,r,i,o,a){var s=new n(r,i,o,a);this.geomWriter.fillRectangle(s,e)},t.prototype.baseFillPolygon=function(t,e,r){this.geomWriter.fillPolygon(r,e)},t.prototype.baseFillEllipse=function(t,e,r,i,o,a){this.geomWriter.fillEllipse(new n(r,i,o,a),e)},t.prototype.baseDrawRectangle=function(t,e,r,o,a,s,l){var u=new n(o,a,s,l);this.geomWriter.drawRectangle(u,new i(e))},t.prototype.baseDrawImage=function(t,e,r,i,o,a,s){if(null!=e){var l=new n(i,o,a,s);this.geomWriter.drawImage(e,l)}},t.prototype.baseDrawString=function(t,e,n,i,o,a){var s=r.getBrush(i,o);this.geomWriter.drawString(e,n,i,o,a)},t.prototype.baseMeasureString=function(t,e,r){return this.geomWriter.measureString(e,r)},t.createNew=function(e){var r=new t(null);return r.geomWriter=e,r},t}();e.StiBarCodeExportPainter=o}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.StiString,i=t.System.Text.StringBuilder,o=function(){function o(t){if(void 0===t&&(t=!0),this.arabicTableSize=76+21,this.ligaturesTableSize=8+32,this.stSeparator="./:\\,-",this.modePdf=!0,this.modePdf=t,null==o.arabicTable){var 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]];o.arabicTable=e}if(null==o.ligaturesTable){var n=[["ﻟﺂ","ﻵ"],["ﻠﺂ","ﻶ"],["ﻟﺄ","ﻷ"],["ﻠﺄ","ﻸ"],["ﻟﺈ","ﻹ"],["ﻠﺈ","ﻺ"],["ﻟﺎ","ﻻ"],["ﻠﺎ","ﻼ"],["שׁ","שׁ"],["שׂ","שׂ"],["שּׁ","שּׁ"],["שּׂ","שּׂ"],["אַ","אַ"],["אָ","אָ"],["אּ","אּ"],["בּ","בּ"],["גּ","גּ"],["דּ","דּ"],["הּ","הּ"],["וּ","וּ"],["זּ","זּ"],["טּ","טּ"],["יּ","יּ"],["ךּ","ךּ"],["כּ","כּ"],["לּ","לּ"],["מּ","מּ"],["נּ","נּ"],["סּ","סּ"],["ףּ","ףּ"],["פּ","פּ"],["צּ","צּ"],["קּ","קּ"],["רּ","רּ"],["שּ","שּ"],["תּ","תּ"],["וֹ","וֹ"],["בֿ","בֿ"],["כֿ","כֿ"],["פֿ","פֿ"],["אל","ﭏ"]];o.ligaturesTable=n}if(null==o.arabicTableArray){for(var i=r.create2(Number,65536,5),a=0;a0){if(n){var s=0,l=new i;if(t.System.Char.isDigit(r.charAt(0))){var u=new i,c=0;while(c0&&h>0&&(r.charCodeAt(s-1)>=32&&r.charCodeAt(s-1)<=64||r.charCodeAt(s-1)>=91&&r.charCodeAt(s-1)<=96||r.charCodeAt(s-1)>=123&&r.charCodeAt(s-1)<=126||160==r.charCodeAt(s-1)))s--,h--,32!=r.charCodeAt(s)&&160!=r.charCodeAt(s)||(m=s,f=h);-1!=m&&(s=m,h=f),l.length=h}var d=s,g=d,S=d;p=r.charCodeAt(s);while(!this.symbolIsLTRMark(p)&&(o.symbolIsArabicOrHebrew(p)||p>=32&&p<=64||p>=91&&p<=96||p>=123&&p<=126||160==p||p>=8192&&p<=8303))o.symbolIsArabicOrHebrew(p)&&(S=s),t.System.Char.isWhitespace(String.fromCharCode(p))&&(g=s),p=++sS&&(y=g+1);var A=new i;for(s=d;s=32&&p<=64||p>=91&&p<=96||p>=123&&p<=126||160==p||p>=8192&&p<=8303)this.symbolIsBidiMark(p)||A.append(r.charAt(s)),p=++s2)for(var l=1;l=0){var m=u.charAt(h);switch(m){case"(":m=")";break;case")":m="(";break;case"[":m="]";break;case"]":m="[";break;case"{":m="}";break;case"}":m="{";break}if(t.System.Char.isDigit(m)){var f=h;while(f>0&&this.symbolIsDigitOrDelimiter(u.charCodeAt(f-1)))f--;for(var d=f;d<=h;d++)p.append(u.charAt(d));h=f}else p.append(m);h--}return p.toString()},o.prototype.symbolIsDigitOrDelimiter=function(e){return t.System.Char.isDigit(String.fromCharCode(e))||46==e||47==e||58==e||92==e||44==e||45==e},o.symbolIsArabicOrHebrew=function(t){return t>=1536&&t<=1791||t>=1424&&t<=1535||t>=64285&&t<=64335||t>=64336&&t<=65023||t>=65136&&t<=65279},o.stringContainArabicOrHebrew=function(t){var e,r;if(n.isNullOrWhiteSpace(t))return!1;try{for(var i=__values(t.split("")),o=i.next();!o.done;o=i.next()){var a=o.value;if(this.symbolIsArabicOrHebrew(a.charCodeAt(0)))return!0}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return!1},o.prototype.symbolIsBidiMark=function(t){return 8206==t||8207==t||t>=8234&&t<=8238},o.prototype.symbolIsLTRMark=function(t){return 8206==t||8234==t||8237==t},o.prototype.symbolIsRTLMark=function(t){return 8207==t||8235==t||8238==t},o.prototype.clear=function(){o.arabicTable=null,o.ligaturesTable=null,o.arabicTableArray=null},o.ligaturesTable=null,o.arabicTable=null,o.arabicTableArray=null,o}();e.StiBidirectionalConvert=o}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Components.IStiTextOptions,i=t.Report.Components.IStiExportImage,o=t.Report.Components.IStiExportImageExtended,a=function(){function t(t){void 0===t&&(t=e.StiExportFormat.None),this._exportFormat=e.StiExportFormat.None,this._exportImage=null,this.left=0,this.top=0,this.width=0,this._height=0,this.text="",this._exportFormat=t}return t.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},t.prototype.forceExportAsImage=function(t){var e=t.stimulsoft.as(n);return null!=e&&0!=e.textOptions.angle},Object.defineProperty(t.prototype,"exportFormat",{get:function(){return this._exportFormat},set:function(t){this._exportFormat=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this._component},set:function(t){this._component=t,this._exportImage=t.stimulsoft.as(i),null!=this._exportImage&&this._exportImage.stimulsoft.is(o)&&(this._exportImage.isExportAsImage(this._exportFormat)||this.forceExportAsImage(t)||(this._exportImage=null))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"exportImage",{get:function(){return this._exportImage},set:function(t){this._exportImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){this._height=Math.max(t,0)},enumerable:!1,configurable:!0}),t}();r.StiCell=a}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Guid,i=function(){function t(t,e,r,n,i,o,a,s,l,u,c,p,h,m,f,d){void 0===f&&(f=!0),void 0===d&&(d=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=n,this.vertAlignment=i,this.border=o,this.borderL=a,this.borderR=s,this.borderB=l,this.textOptions=u,this.wordWrap=c,this.internalStyleName=m,this.format=p,this.overflow=f,this.borderRadius=d,this.lineSpacing=h}return t.prototype.clone=function(){var 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},t.prototype.getHashCode=function(){var t=null!=this.border?this.border.stimulsoft.getHashCode():0;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)},t.prototype.equals=function(e){var r=e.stimulsoft.as(t);if(!this.color.stimulsoft.equals(r.color))return!1;if(this.horAlignment!=r.horAlignment)return!1;if(this.vertAlignment!=r.vertAlignment)return!1;if(!this.textColor.stimulsoft.equals(r.textColor))return!1;if(this.wordWrap!=r.wordWrap)return!1;if(this.font.bold!=r.font.bold)return!1;if(this.font.italic!=r.font.italic)return!1;if(this.font.strikeout!=r.font.strikeout)return!1;if(this.font.underline!=r.font.underline)return!1;if(this.font.size!=r.font.size)return!1;if(this.font.name!=r.font.name)return!1;if(null==this.textOptions){if(null!=r.textOptions)return!1}else{if(null==r.textOptions)return!1;if(this.textOptions.angle!=r.textOptions.angle)return!1;if(this.textOptions.wordWrap!=r.textOptions.wordWrap)return!1;if(this.textOptions.rightToLeft!=r.textOptions.rightToLeft)return!1}if(null==this.border){if(null!=r.border)return!1}else{if(null==r.border)return!1;if(this.border.color.stimulsoft.equals(r.border.color))return!1;if(this.border.size!=r.border.size)return!1;if(this.border.style!=r.border.style)return!1}if(null==this.borderL){if(null!=r.borderL)return!1}else{if(null==r.borderL)return!1;if(!this.borderL.color.stimulsoft.equals(r.borderL.color))return!1;if(this.borderL.size!=r.borderL.size)return!1;if(this.borderL.style!=r.borderL.style)return!1}if(null==this.borderR){if(null!=r.borderR)return!1}else{if(null==r.borderR)return!1;if(!this.borderR.color.stimulsoft.equals(r.borderR.color))return!1;if(this.borderR.size!=r.borderR.size)return!1;if(this.borderR.style!=r.borderR.style)return!1}if(null==this.borderB){if(null!=r.borderB)return!1}else{if(null==r.borderB)return!1;if(!this.borderB.color.stimulsoft.equals(r.borderB.color))return!1;if(this.borderB.size!=r.borderB.size)return!1;if(this.borderB.style!=r.borderB.style)return!1}if(this.format!=r.format)return!1;if(this.internalStyleName!=r.internalStyleName)return!1;if(this.lineSpacing!=r.lineSpacing)return!1;if(this.overflow!=r.overflow)return!1;if(this.borderRadius!=r.borderRadius)return!1;return!0},t.getStyleFromCache=function(e,r,n,i,o,a,s,l,u,c,p,h,m,f,d,g,S,y,A,b,v){var C=0;if(null!=n){var w=S.get(n);null==w?(C=397*(C=397*(C=397*(C=397*(C=397*(C=n.bold?1231:1237)^(n.italic?1231:1237))^(n.strikeout?1231:1237))^(n.underline?1231:1237))^n.size.stimulsoft.getHashCode())^n.name.stimulsoft.getHashCode(),S.add(n,C)):C=w.stimulsoft.as(Number)}if(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*C^(null!=a?a.stimulsoft.getHashCode():0))^(null!=s?s.stimulsoft.getHashCode():0))^(null!=l?l.stimulsoft.getHashCode():0))^(null!=u?u.stimulsoft.getHashCode():0))^e.stimulsoft.getHashCode())^i)^o)^(null!=c?c.stimulsoft.getHashCode():0))^r.stimulsoft.getHashCode())^(p?1:0))^(null!=h?h.stimulsoft.getHashCode():0))^(null!=m?m.stimulsoft.getHashCode():0))^(b?1:0))^v)^f.stimulsoft.getHashCode(),A&&null!=y)return d.set(C,y),y;var B=d.get(C);if(null==B){var I=new t(e,r,n,i,o,a,s,l,u,c,p,h,f,m,b,v);return null!=y&&(I.styleName=y.styleName),d.set(C,I),g.push(I),I}return B.stimulsoft.as(t)},Object.defineProperty(t.prototype,"internalStyleName",{get:function(){return this._internalStyleName},set:function(t){null!=t&&(this._internalStyleName=e.StiNameValidator.correctName(t.trim()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"styleName",{get:function(){return null==this._styleName&&(this._styleName=this._internalStyleName,null==this._styleName&&(this._styleName=n.newGuidString().substr(0,8))),this._styleName},set:function(t){this._styleName=t},enumerable:!1,configurable:!0}),t}();r.StiCellStyle=i}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.BarCodes.StiQRCodeBarCodeType,n=t.Report.BarCodes.StiBarCode,i=t.Report.Components.StiIconSetHelper,o=t.Report.Components.StiIcon,a=t.Report.Components.StiIconSetIndicator,s=t.Report.Components.StiText,l=t.System.StiString,u=t.Report.Helpers.StiHyperlinkProcessor,c=t.Report.Components.StiImage,p=t.System.StiPromise,h=function(){function h(){}return h.convertAllImages=function(h,m,f){var d,g,S,y,A=this;void 0===f&&(f=!1);var b=new p,v=0,C=!1;try{for(var w=__values(h.renderedPages.list),B=w.next();!B.done;B=w.next()){var I=B.value,T=function(l){var u=l.stimulsoft.as(c);null!=u&&null!=u.imageToDraw&&null!=u.imageToDraw&&(v++,u.imageToDraw.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()})));var p=l.stimulsoft.as(s);if(null!=p&&null!=p.indicator){var d=p.indicator.stimulsoft.as(a);if(null!=d&&(d.icon!=o.None||null!=d.customIcon)){var g=i.getIcon(d);null!=g&&(v++,g.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()})))}}var S=l.stimulsoft.as(n);if(null!=S&&null!=S.barCodeType){var y=S.barCodeType.stimulsoft.as(r);if(null!=y&&null!=y.image){v++,y.image.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()}));var w=new e.StiSvgData;w.component=l,w.x=0,w.y=0,w.width=h.unit.convertToHInches(S.width),w.height=h.unit.convertToHInches(S.height),v++,setTimeout((function(){return __awaiter(A,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,t.Report.Export.StiBarCodeSvgHelper.getImageAsync(w)];case 1:return e=r.sent(),v--,C&&0==v&&b.callTry(),[2]}}))}))}),0)}}};try{for(var E=(S=void 0,__values(I.getComponentsList())),R=E.next();!R.done;R=E.next()){var D;T(R.value)}}catch(t){S={error:t}}finally{try{R&&!R.done&&(y=E.return)&&y.call(E)}finally{if(S)throw S.error}}if(null!=I.watermark)if(null!=I.watermark.image)v++,I.watermark.image.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()}));else if(!l.isNullOrEmpty(I.watermark.imageHyperlink))if(u.isResourceHyperlink(I.watermark.imageHyperlink)){var P=I.report.dictionary.resources.getByName(u.getResourceNameFromHyperlink(I.watermark.imageHyperlink));null!=P&&(v++,I.watermark.image=t.System.Drawing.Image.fromBytes(P.content),I.watermark.image.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()})))}else if(u.isVariableHyperlink(I.watermark.imageHyperlink)){var x=I.report.dictionary.variables.getByName(u.getVariableNameFromHyperlink(I.watermark.imageHyperlink));null!=x&&null!=x.valueObject&&(v++,I.watermark.image=x.valueObject.stimulsoft.as(t.System.Drawing.Image),I.watermark.image.convert(m,f).try((function(){})).finally((function(){v--,C&&0==v&&b.callTry()})))}}}catch(t){d={error:t}}finally{try{B&&!B.done&&(g=w.return)&&g.call(w)}finally{if(d)throw d.error}}return C=!0,0==v&&b.callTry(),b},h}();e.StiExportImageHelper=h}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.System.Drawing.Image,o=t.System.Char,a=t.System.Text.StringBuilder,s=function(){function r(){}return r.convertDigitsToArabic=function(t,r){for(var n=new a,i=0;i=48&&o<=57?(o+=1632-48,r==e.StiArabicDigitsType.Eastern&&(o+=1776-1632),n.append(String.fromCharCode(o))):n.append(t.charAt(i))}return n.toString()},r.getReportVersion=function(){return null==this.reportVersion&&(this.reportVersion="Stimulsoft Report.JS "+t.StiVersion.version),this.reportVersion},r.saveComponentToString=function(t,r,n,i){void 0===r&&(r=e.ImageFormat.Png),void 0===n&&(n=.75),void 0===i&&(i=100);var o,a=i/100;if(null==null)return"";return""},r.trimEndWhiteSpace=function(t){return this.trimEndWhiteSpace2(t,!0)},r.trimEndWhiteSpace2=function(t,e){var r="",n=t.length;while(n>0&&o.isWhitespace(t[n-1])&&(e||t.charCodeAt(n-1)>=32))n--;return n==t.length?r=t:n>0&&(r=t.substring(0,n)),r},r.splitString=function(t,e){for(var r=new Array,n="",i=0;i0&&r.push(this.trimEndWhiteSpace2(n,e)),0==r.length&&r.push(""),r},r.stringToUrl=function(e){var i,o,a=t.System.Text.Encoding.UTF8.getBytes(e),s="";try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value;c<32||c>127||-1!=r.wrongUrlSymbols.indexOf(String.fromCharCode(c))?s+=n.format("%{0:x2}",c):s+=String.fromCharCode(c)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return s},r.getAdditionalData2=function(t){if(null==this.cachedAdditionalData2){var e=new i;e.base64=this.additionalData2,this.cachedAdditionalData2=e}return this.cachedAdditionalData2},r.getPositivePattern=function(t){return this.positivePatterns[t]},r.getNegativePattern=function(t){return this.negativePatterns[t]},r.makePdfDeflateStream=function(e){var r=t.ExternalLibrary.JSZip.compressions.DEFLATE.compress(e,{level:5}),n=new t.System.IO.MemoryStream;return n.writeByte(120),n.writeByte(156),n.writeBytes(r),n},r.toHex=function(t){var e="0123456789ABCDEF".charAt(t>>4&15);return e+="0123456789ABCDEF".charAt(15&t)},r.reportVersion=null,r.wrongUrlSymbols=" \"'*,;<>[^`{|}",r.additionalData="iVBORw0KGgoAAAANSUhEUgAAAd8AAAGNCAYAAABQRnukAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAA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ggg==",r.cachedAdditionalData2=null,r.positivePatterns=["$n","n$","$ n","n $"],r.negativePatterns=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"],r}();r.StiExportUtils=s}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(){function t(t){this.htmlExport=null,this.isMhtExport=!1,this.forcePng=!1,this.htmlExport=t,this.isMhtExport=!1,this.forcePng=!1}return t.prototype.getImageString=function(t){var e=t.base64;if(!r.isNullOrEmpty(e))return e;if(!r.isNullOrEmpty(t.url))return t.url.stimulsoft.replaceAll("\\","/");return""},t}();e.StiHtmlImageHost=n}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Components.StiDrillDownMode,i=t.System.Enum,o=t.System.StiArray,a=t.System.StiString,s=t.Report.Components.StiRichText,l=t.Base.Drawing.StiSolidBrush,u=t.Base.Drawing.StiHatchBrush,c=t.Base.Drawing.StiGlassBrush,p=t.Base.Drawing.StiGlareBrush,h=t.Base.Drawing.StiGradientBrush,m=t.Report.Components.StiDataBand,f=t.Report.Components.IStiEditable,d=t.Report.Components.StiCheckBox,g=t.System.Text.StringBuilder,S=t.System.Collections.Hashtable,y=t.Report.Components.StiComponent,A=t.Report.Components.IStiTextOptions,b=t.Report.Components.StiText,v=t.Base.Drawing.StiVertAlignment,C=t.Base.Drawing.StiTextHorAlignment,w=t.Base.Drawing.StiPenStyle,B=t.Report.Components.IStiTextBrush,I=t.System.Drawing.Color,T=t.Report.Components.IStiFont,E=t.Base.Drawing.StiBrush,R=t.Base.Drawing.StiHorAlignment,D=t.Report.Components.StiTextQuality,P=t.Report.Components.StiBandInteraction,x=t.Report.Components.StiContainer,F=t.Report.Components.IStiExportImage,N=t.Report.Engine.StiDataBandBuilder,k=t.Report.Components.IStiExportImageExtended,M=t.Report.Components.StiImage,O=t.Report.Components.StiImageRotation,_=t.Report.Chart.IStiChart,j;!function(t){t[t["Pixel"]=0]="Pixel",t[t["Point"]=1]="Point"}(j=r.StiHtmlUnitType||(r.StiHtmlUnitType={}));var G=function(){function t(){this.value=0,this.unitType=j.Pixel}return t.prototype.toString=function(){return Math.trunc(this.value).toString()+"px"},t.toPixelString=function(t){return Math.trunc(t).toString()+"px"},t.newUnit2=function(e,r){var n=new t;return n.unitType=r,n.value=e,n},t.newUnit=function(t,e){return e?this.newUnit2(t,e?j.Point:j.Pixel):this.newUnit2(t,j.Pixel)},t.isNullOrZero=function(t){return null==t||0==t.value},t.hiToPt=.748,t}();r.StiHtmlUnit=G;var H=function(){function t(){}return t}();r.StiHtmlSvg=H;var Q=function(){function t(){this.attributes=new S,this.style=new S}return t}();r.StiHtmlHyperlink=Q;var L=function(){function t(){}return t}();r.StiHtmlImage=L;var Y=function(){function t(){this.controls=[],this.style=new S,this.controls=[]}return t}();r.StiHtmlTableCell=Y;var U=function(){function t(){this.style=new S,this.cells=[]}return t}();r.StiHtmlTableRow=U;var J=function(){function t(){this.align=R.Left,this.position=null,this.htmlExportSettings=null,this.rows=[]}return t.stringToUrl=function(t){var e,r,n="",i=t.split("");try{for(var o=__values(i),s=o.next();!s.done;s=o.next()){var l=s.value,u=l.charCodeAt(0);u<=32||u>127||-1!=this.wrongUrlSymbols.indexOf(l)?((u<=32||u>127)&&(n+=a.format("%{0:x2}",u)),34==u&&(n+="""),38==u&&(n+="&"),60==u&&(n+="<")):n+=l}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.prototype.renderControl=function(e){var r,n,i,o,s,l,u,c,p,h;this.writeTableBegin(e,!1);try{for(var m=__values(this.rows),f=m.next();!f.done;f=m.next()){var d=f.value;if(d.style.containsKey(t.pageBreakBeforeKey)&&(d.style.remove(t.pageBreakBeforeKey),this.writeTableEnd(e),e.writeLine(),this.writeTableBegin(e,!0)),e.writeBeginTag("tr"),StiOptions.Export.Html.useExtendedStyle&&e.writeAttribute("class","sBaseStyleFix"),G.isNullOrZero(d.height)||d.style.set("height",d.height.toString()),d.style.count>0){e.write(' style="');try{for(var g=(i=void 0,__values(d.style.keys)),S=g.next();!S.done;S=g.next()){var y=S.value;e.writeStyleAttribute(y,d.style.get(y))}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}e.write('"')}e.writeLine(">"),e.indent++;try{for(var A=(s=void 0,__values(d.cells)),b=A.next();!b.done;b=A.next()){var C=b.value;e.writeBeginTag("td"),a.isNullOrEmpty(C.toolTip)||e.writeAttribute("title",C.toolTip),a.isNullOrEmpty(C.cssClass)||e.writeAttribute("class",C.cssClass),a.isNullOrEmpty(C.id)||e.writeAttribute("id",C.id),a.isNullOrEmpty(C.editable)||e.writeAttribute("editable",C.editable),C.columnSpan>0&&e.writeAttribute("colspan",C.columnSpan.toString()),C.rowSpan>0&&e.writeAttribute("rowspan",C.rowSpan.toString()),a.isNullOrEmpty(C.interaction)||e.writeAttribute("interaction",C.interaction),a.isNullOrEmpty(C.collapsed)||e.writeAttribute("collapsed",C.collapsed),a.isNullOrEmpty(C.sortDirection)||e.writeAttribute("sort",C.sortDirection),a.isNullOrEmpty(C.dataBandSort)||e.writeAttribute("databandsort",C.dataBandSort),a.isNullOrEmpty(C.pageGuid)||e.writeAttribute("pageguid",C.pageGuid),a.isNullOrEmpty(C.pageIndex)||e.writeAttribute("pageindex",C.pageIndex),a.isNullOrEmpty(C.reportFile)||e.writeAttribute("reportfile",C.reportFile),a.isNullOrEmpty(C.componentIndex)||e.writeAttribute("compindex",C.componentIndex),a.isNullOrEmpty(C.drillDownMode)||e.writeAttribute("drilldownmode",C.drillDownMode),G.isNullOrZero(C.height)||C.style.set("height",C.height.toString()),G.isNullOrZero(C.width)||C.style.set("width",C.width.toString()),a.isNullOrEmpty(C.text)||(C.style.containsKey("height")&&C.style.set("max-height",C.height.toString()),C.style.containsKey("width")&&C.style.set("max-width",C.width.toString()),(C.style.containsKey("height")||C.style.containsKey("width"))&&(C.style.set("overflow","hidden"),C.style.containsKey("text-overflow")||C.style.set("text-overflow","clip"),C.style.set("box-sizing","border-box")));var w=null,B=null,I=null;StiOptions.Export.Html.useStrictTableCellSize&&C.style.count>0&&(C.style.containsKey(t.marginsKey)&&(w=C.style.get(t.marginsKey),C.style.remove(t.marginsKey)),C.style.containsKey(t.vertAlignKey)&&C.style.containsKey("height")&&(B=C.style.get(t.vertAlignKey),C.style.remove(t.vertAlignKey)),C.style.containsKey(t.horAlignKey)&&C.style.containsKey("width")&&(I=C.style.get(t.horAlignKey),C.style.remove(t.horAlignKey)));var T=!1;C.style.containsKey(t.wordwrapKey)&&C.style.containsKey("width")&&(T=!0,C.style.remove(t.wordwrapKey),C.style.remove("white-space"));var E=null,D=null,P=null;if(C.controls.length>0&&(E=C.controls[0].stimulsoft.as(Q),D=C.controls[0].stimulsoft.as(L),P=C.controls[0].stimulsoft.as(H)),null==D||StiOptions.Export.Html.useStrictTableCellSize||C.style.set("line-height","0"),C.style.count>0){e.write(' style="');try{for(var x=(u=void 0,__values(C.style.keys)),F=x.next();!F.done;F=x.next()){var y=F.value;e.writeStyleAttribute(y,C.style.get(y))}}catch(t){u={error:t}}finally{try{F&&!F.done&&(c=x.return)&&c.call(x)}finally{if(u)throw u.error}}e.write('"')}e.write(">");var N=null,k=C.controls.length>0||!a.isNullOrEmpty(C.text);if(k&&StiOptions.Export.Html.useStrictTableCellSize){if(e.write(""),null==B&&null==I||(e.write("
        ')),(null!=w||T)&&(e.write("
        '))}if(null!=D)if(D.stretch||D.imageRotation!=O.None)if(D.aspectRatio||D.imageRotation!=O.None){e.write('
        '):e.write('">'),e.write("
        ")}else e.writeBeginTag("img"),a.isNullOrEmpty(D.toolTip)||e.writeAttribute("title",D.toolTip),a.isNullOrEmpty(D.base64)?a.isNullOrEmpty(D.imageUrl)||e.writeAttribute("src",t.stringToUrl(D.imageUrl)):e.writeAttribute("src",D.base64),e.write(' style="'),e.writeStyleAttribute("width",C.width.toString()),e.writeStyleAttribute("height",C.height.toString()),e.writeStyleAttribute("border-width",G.toPixelString(0)),e.write('" />');else{e.write('
        '),e.write('
        '),e.writeBeginTag("img"),a.isNullOrEmpty(D.toolTip)||e.writeAttribute("title",D.toolTip),a.isNullOrEmpty(D.base64)?a.isNullOrEmpty(D.imageUrl)||e.writeAttribute("src",t.stringToUrl(D.imageUrl)):e.writeAttribute("src",D.base64);var W=0,V=0,z=D.width.value,X=D.height.value;if(z>C.width.value)switch(D.horAlignment){case R.Center:W=C.width.value/2-z/2;break;case R.Right:W=C.width.value-z;break}if(X>C.height.value)switch(D.vertAlignment){case v.Center:V=C.height.value/2-X/2;break;case v.Bottom:V=C.height.value-X;break}e.writeAttribute("height",(D.height.value*D.zoom).toString()+"px"),e.writeAttribute("width",(D.width.value*D.zoom).toString()+"px"),e.write(' style="'),e.writeStyleAttribute("border-width",G.toPixelString(0)),e.writeStyleAttribute("margin-top",G.toPixelString(V)),e.writeStyleAttribute("margin-left",G.toPixelString(W)),e.write('" />
        ')}else if(null!=E){if(e.writeBeginTag("a"),a.isNullOrEmpty(E.openLinksTarget)||e.writeAttribute("target",E.openLinksTarget),a.isNullOrEmpty(E.toolTip)||e.writeAttribute("title",E.toolTip),a.isNullOrEmpty(E.cssClass)||e.writeAttribute("class",E.cssClass),E.attributes.containsKey("name")&&e.writeAttribute("name",E.attributes.get("name")),E.attributes.containsKey("guid")&&e.writeAttribute("guid",E.attributes.get("guid")),a.isNullOrEmpty(E.navigateUrl)||e.writeAttribute("href",t.stringToUrl(E.navigateUrl)),a.isNullOrEmpty(E.imageUrl)||(E.style.set("display","inline-block"),E.style.set("height",E.height.toString()),E.style.set("width",E.width.toString())),StiOptions.Export.Html.useExtendedStyle&&E.style.set("border","0"),E.style.count>0){e.write(' style="');try{for(var K=(p=void 0,__values(E.style.keys)),Z=K.next();!Z.done;Z=K.next()){var y=Z.value;e.writeStyleAttribute(y,E.style.get(y))}}catch(t){p={error:t}}finally{try{Z&&!Z.done&&(h=K.return)&&h.call(K)}finally{if(p)throw p.error}}a.isNullOrEmpty(N)||e.write(N),e.write('"')}e.write(">"),a.isNullOrEmpty(E.imageUrl)||(e.writeBeginTag("img"),a.isNullOrEmpty(E.toolTip)||e.writeAttribute("title",E.toolTip),e.writeAttribute("src",t.stringToUrl(E.imageUrl)),e.write(' style="'),e.writeStyleAttribute("height",E.height.toString()),e.writeStyleAttribute("width",E.width.toString()),e.writeStyleAttribute("border","0"),e.write('" />')),E.attributes.containsKey("id")?(e.writeBeginTag("div"),e.writeAttribute("id",E.attributes.get("id")),e.write('style="'),G.isNullOrZero(C.height)||e.writeStyleAttribute("height",C.height.toString()),G.isNullOrZero(C.width)||e.writeStyleAttribute("width",C.width.toString()),e.write('">'),e.write(E.text),e.write("
        ")):e.write(E.text),e.writeFullEndTag("a")}else null!=P?e.write(P.text):e.write(C.text);k&&StiOptions.Export.Html.useStrictTableCellSize&&((null!=w||T)&&e.write("
        "),null==B&&null==I||e.write("
        "),e.write("
        ")),e.writeFullEndTag("td")}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=A.return)&&l.call(A)}finally{if(s)throw s.error}}e.writeLine(),e.indent--,e.writeFullEndTag("tr")}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}this.writeTableEnd(e)},t.prototype.writeTableBegin=function(e,r){e.writeBeginTag("table"),e.writeAttribute("cellspacing",this.cellSpacing.toString()),e.writeAttribute("cellpadding",this.cellPadding.toString()),e.writeAttribute("border","0"),this.align!=R.Left&&e.writeAttribute("align",this.align==R.Center?"center":"right"),StiOptions.Export.Html.useExtendedStyle&&e.writeAttribute("class","sBaseStyleFix"),e.write(' style="'),e.writeStyleAttribute("border-width",G.toPixelString(this.borderWidth)),e.writeStyleAttribute("width",this.width.toString()),a.isNullOrEmpty(this.position)||e.writeStyleAttribute("position",this.position),a.isNullOrEmpty(this.backImageUrl)||e.writeStyleAttribute("background-image",a.format("url('{0}')",t.stringToUrl(this.backImageUrl))),a.isNullOrEmpty(this.backgroundPosition)||e.writeStyleAttribute("background-position",this.backgroundPosition),a.isNullOrEmpty(this.backgroundRepeat)||e.writeStyleAttribute("background-repeat",this.backgroundRepeat),e.writeStyleAttribute("border-collapse","collapse"),r&&e.writeStyleAttribute(t.pageBreakBeforeKey,"always"),e.write('">'),e.writeLine(),e.indent++,StiOptions.Export.Html.useExtendedStyle&&(e.writeBeginTag("tbody"),e.writeAttribute("class","sBaseStyleFix"),e.writeLine(">"),e.indent++)},t.prototype.writeTableEnd=function(t){StiOptions.Export.Html.useExtendedStyle&&(t.writeLine(),t.indent--,t.writeFullEndTag("tbody")),t.writeLine(),t.indent--,t.writeFullEndTag("table")},t.marginsKey="padding",t.pageBreakBeforeKey="page-break-before",t.vertAlignKey="div:vertical-align",t.horAlignKey="div:text-align",t.wordwrapKey="div:wordwrap",t.wrongUrlSymbols='"&<',t}(),W;r.StiHtmlTable=J,function(t){t[t["None"]=0]="None",t[t["BeginTag"]=1]="BeginTag",t[t["Attribute"]=2]="Attribute",t[t["Data"]=3]="Data"}(W=r.WriterMode||(r.WriterMode={}));var V=function(){function t(t){this.stream=null,this.mode=W.None,this.indent=0,this.stream=t,this.mode=W.None,this.indent=0}return t.prototype.write=function(t){this.checkIndent(),this.stream.write(t),this.mode=W.Data},t.prototype.writeLine=function(t){t?(a.isNullOrEmpty(t)?this.stream.writeLine():(this.checkIndent(),this.stream.writeLine(t)),this.mode=W.None):(this.stream.writeLine(),this.mode=W.None)},t.prototype.writeBeginTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t),this.mode=W.BeginTag},t.prototype.writeFullBeginTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t+">"),this.mode=W.Data},t.prototype.writeEndTag=function(t){this.mode==W.BeginTag?this.stream.write("/>"):(this.closeTag(),this.checkIndent(),this.stream.write("")),this.mode=W.Data},t.prototype.writeFullEndTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write(""),this.mode=W.Data},t.prototype.writeAttribute=function(t,e){this.stream.write(" "+t),null!=e&&this.stream.write('="'+e+'"'),this.mode=W.Attribute},t.prototype.writeStyleAttribute=function(t,e){this.stream.write(t+":"+e+";"),this.mode=W.Attribute},t.prototype.flush=function(){this.stream.flush()},t.prototype.getStream=function(){return this.stream},t.prototype.closeTag=function(){this.mode!=W.Attribute&&this.mode!=W.BeginTag||this.stream.write(">")},t.prototype.checkIndent=function(){if(this.mode==W.None)for(var t=0;t');try{for(var l=__values(t.Base.StiFontCollection.getBinFonts()),u=l.next();!u.done;u=l.next()){var c=u.value;this.htmlExport.htmlWriter.writeLine("@font-face {font-family: "+c+';src: url("'+t.Base.StiFontCollection.getBinFont(c).filePath+'");}')}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}if(StiOptions.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!r&&this.htmlExport.useStylesTable)for(var p=0;p0)try{for(var m=__values(n.keys),f=m.next();!f.done;f=m.next()){var d=f.value;this.htmlExport.htmlWriter.writeLine("."+d+" {"+n.get(d)+";overflow:hidden;}")}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}e&&(StiOptions.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.htmlExport.htmlWriter.writeLine("")},R.prototype.renderStylesTable=function(t,e,r){void 0===r&&(r=null),this.renderStylesTable2(t,e,!0,r)},R.prototype.renderStylesTable2=function(e,r,n,i){var o,a;if(void 0===i&&(i=null),n&&this.htmlExport.htmlWriter.writeLine('")},R.prototype.getWidth=function(t,e,r,n){return(t.stimulsoft.getByIndex(r+1,e)-t.stimulsoft.getByIndex(r,e))*n},R.prototype.getHeight=function(t,e,r,n){return(t.stimulsoft.getByIndex(r+1,e)-t.stimulsoft.getByIndex(r,e))*n},R.prototype.renderTable=function(R,j,W,V,z,X){var K,Z;void 0===X&&(X=!1),R&&this.renderStylesTable(W,V,z);var q=new J;q.htmlExportSettings=this.htmlExportSettings,q.align=this.htmlExport.pageHorAlignment,q.backImageUrl=j,X&&(q.position="relative"),q.width=G.newUnit(Math.round2(this.matrix.totalWidth*this.htmlExport.zoom,0),StiOptions.Export.Html.printLayoutOptimization),q.borderWidth=0,q.cellPadding=0,q.cellSpacing=0;var $=this.matrix.coordX,tt=this.matrix.coordY,et=$.getKeys(),rt=tt.getKeys(),nt=o.create2(Boolean,this.matrix.coordX.countItems,this.matrix.coordY.countItems),it=new S;try{for(var ot=__values(this.matrix.styles),at=ot.next();!at.done;at=ot.next()){var st=at.value;it.set(st,this.matrix.styles.indexOf(st))}}catch(t){K={error:t}}finally{try{at&&!at.done&&(Z=ot.return)&&Z.call(ot)}finally{if(K)throw K.error}}for(var lt=null,ut=0;ut",">").stimulsoft.replaceAll(" "," "));var Ct=!1,wt,Bt;StiOptions.Export.Html.preserveWhiteSpaces&&!a.isNullOrWhiteSpace(yt)&&yt.stimulsoft.contains(" ")?(yt=this.htmlExport.prepareTextForHtml(yt,!1),Ct=!0):yt=this.htmlExport.prepareTextForHtml(yt);for(var It=St.width+1,Tt=St.height+1,Et=mt;Et1&&(ft.columnSpan=It),Tt>1&&(ft.rowSpan=Tt),null==(wt=this.matrix.cellStyles[ut][mt])&&(wt=St.cellStyle),null!=wt)if(null!=(Bt=it.get(wt))&&this.htmlExport.useStylesTable&&(ft.cssClass="s"+wt.styleName),StiOptions.Export.Html.useStrictTableCellSize){wt.vertAlignment!=v.Top&&ft.style.set(J.vertAlignKey,wt.vertAlignment==v.Center?"middle":"bottom");var Dt=null!=wt.textOptions&&wt.textOptions.rightToLeft,Pt=null;wt.horAlignment==C.Left&&(Pt=Dt?"right":null),wt.horAlignment==C.Right&&(Pt=Dt?null:"right"),wt.horAlignment==C.Center&&(Pt="center"),wt.horAlignment==C.Width&&(Pt="justify"),null!=Pt&&ft.style.set(J.horAlignKey,Pt);for(var xt=0;xt1&&this.htmlExport.useStylesTable){ft.cssClass=Mt[0].trim();break}}}if(this.htmlExport.useStylesTable?StiOptions.Export.Html.useExtendedStyle&&(this.htmlExport.renderTextColor(ft,wt.textColor,!0),this.htmlExport.renderFont(ft,wt.font)):this.renderStyleTable(ft,wt),StiOptions.Export.Html.printLayoutOptimization&&null!=wt&&null!=wt.border&&wt.border.style!=w.None&&((gt-=wt.border.size)<0&&(gt=0),(dt-=wt.border.size)<0&&(dt=0)),this.htmlExport.exportQuality==r.StiHtmlExportQuality.High)if(StiOptions.Export.Html.forceIE6Compatibility)1==It&&(ft.width=G.newUnit(dt,StiOptions.Export.Html.printLayoutOptimization)),1==Tt&&(ft.height=G.newUnit(gt,StiOptions.Export.Html.printLayoutOptimization));else{if(It>1)for(var Ot=1;Ot1)for(var _t=1;_t0)){var jt=St.component;if(!this.matrix.isComponentHasInteraction(jt)){var Gt=this.htmlExport.report.renderedPages.getByIndex(this.matrix.interactions[ut][mt][0]-1);this.htmlExport.report.renderedPages.getPage(Gt),jt=Gt.components.getByIndex(this.matrix.interactions[ut][mt][1]-1)}if(ft.interaction=jt.name,jt.interaction.sortingEnabled){var Ht=jt.interaction.getSortDataBandName(),Qt=jt.report.getComponentByName(Ht);if(null!=(Qt=null!=Qt?Qt.as(m):null)){ft.dataBandSort=Ht+";"+a.join(";",Qt.sort);for(var Lt=0;Lt{3}',dt,gt,this.htmlExport.zoom,Ae);ye.text=be,ft.controls.push(ye)}else if(null==$t)if(null!=Jt&&Jt.length>0){var Se,ve;if((Se=new Q).text=yt,Se.toolTip=Wt,Se.navigateUrl=Jt,Se.openLinksTarget=this.htmlExport.openLinksTarget,Se.style.set("display","block"),null!=St.component&&St.component.is(B)){var Ce=St.component.as(B),we=E.toColor(Ce.textBrush);Se.style.set("color",this.htmlExport.formatColor(we))}if(null!=St.component&&St.component.is(T))(ve=St.component.as(T)).font.underline?Se.style.set("text-decoration","underline"):Se.style.set("text-decoration","none");ft.controls.push(Se)}else{var Be=St.component.as(b);if(null==Be||0==Be.angle&&null==Be.indicator)ft.text=yt;else{var Ae=r.StiSvgHelper.saveComponentToString(Be,e.ImageFormat.Jpeg,.75,100,!1),be=a.format('{3}',dt,gt,this.htmlExport.zoom,Ae);ft.text=be}ft.toolTip=Wt}else{var Ie=this.htmlExport.zoom,Te=this.htmlExport.imageResolution,Ee;if(StiOptions.Export.Html.useImageResolution&&null!=$t.stimulsoft.as(M)&&null!=$t.stimulsoft.as(M).imageToDraw)(Ee=$t.imageToDraw.horizontalResolution)>=50&&Ee<=1250&&(Te=Ee);100!=Te&&(Ie*=Te/100);var Re=null;this.htmlExport.setCurrentCulture();var De,Pe={ref:Ie};if(Re=(De=$t.stimulsoft.as(k)).imageToDraw,Ie=Pe.ref,this.htmlExport.restoreCulture(),null!=Re){var xe;if(Re.zoom=Pe.ref,St.exportImage&&(Re.aspectRatio=St.exportImage.aspectRatio,Re.multipleFactor=St.exportImage.multipleFactor,Re.margins=St.exportImage.margins,Re.horAlignment=St.exportImage.horAlignment,Re.vertAlignment=St.exportImage.vertAlignment,Re.imageRotation=St.exportImage.imageRotation,Re.stretch=St.exportImage.stretch),null!=(xe=this.matrix.getRealImageData(St,Re))&&(Re=xe),null!=Jt&&Jt.length>0){var Se;(Se=new Q).navigateUrl=Jt,Se.toolTip=Wt,null!=this.htmlExport.htmlImageHost&&(Se.imageUrl=this.htmlExport.htmlImageHost.getImageString(Re)),Se.cssClass=ft.cssClass,Se.width=G.newUnit(Re.width/Ie*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),Se.height=G.newUnit(Re.height/Ie*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),Se.openLinksTarget=this.htmlExport.openLinksTarget,ft.controls.push(Se)}else{var Fe=null,Ne,ke;if(null!=St.component&&St.component.is(M))(Ne=St.component.as(M)).stretch&&1!=Ne.aspectRatio&&Ne.imageRotation==O.None&&(Fe=Ne.imageURLValue?Ne.imageURLValue.stimulsoft.as(String):null);(ke=new L).aspectRatio=Re.aspectRatio,ke.horAlignment=Re.horAlignment,ke.vertAlignment=Re.vertAlignment,ke.imageRotation=Re.imageRotation,ke.margins=Re.margins,ke.multipleFactor=Re.multipleFactor,ke.stretch=Re.stretch,ke.zoom=Re.zoom,ke.base64=Re.base64,null!=Fe&&0!=Fe.length?ke.imageUrl=Fe:null!=this.htmlExport.htmlImageHost&&(ke.imageUrl=this.htmlExport.htmlImageHost.getImageString(Re)),ke.toolTip=Wt,ke.width=G.newUnit(Re.width/Ie*this.htmlExport.zoom,!1),ke.height=G.newUnit(Re.height/Ie*this.htmlExport.zoom,!1),ft.controls.push(ke)}ge=!1}}else{var Me=new Q;if(a.isNullOrWhiteSpace(Vt)||Me.attributes.set("name",Vt),a.isNullOrEmpty(zt)||Me.attributes.set("guid",zt),Me.toolTip=Wt,Me.navigateUrl=Jt,ft.toolTip=Wt,Xt)ft.id=this.htmlExport.getGuid(St.component),ft.text=this.htmlExport.prepareChartData(null,St.component,dt,gt);else if(Kt)ft.id=this.htmlExport.getGuid(St.component),ft.text=this.htmlExport.prepareSparklineData(null,St.component,dt,gt);else if(Zt)ft.id=this.htmlExport.getGuid(St.component),ft.text=this.htmlExport.prepareMapData(null,St.component,dt,gt);else if(qt)ft.id=this.htmlExport.getGuid(St.component),ft.text=this.htmlExport.prepareMapData(null,St.component,dt,gt);else if(St.component.is(t.Report.BarCodes.StiBarCode)||St.component.is(t.Report.Components.StiCheckBox)||St.component.is(t.Report.Components.StiShape)||Xt&&this.htmlExportSettings.chartType!=r.StiHtmlChartType.AnimatedVector){var jt=St.component.as(y),ye=new H,Ae=r.StiSvgHelper.saveComponentToString(jt,e.ImageFormat.Jpeg,.75,100,!1),be=a.format('{3}',dt,gt,this.htmlExport.zoom,Ae);ye.text=be,ft.controls.push(ye)}else if(null!=$t){var Ie=this.htmlExport.zoom,Te=this.htmlExport.imageResolution,Ee;if(StiOptions.Export.Html.useImageResolution&&null!=$t.stimulsoft.as(M)&&null!=$t.stimulsoft.as(M).imageToDraw)(Ee=$t.imageToDraw.horizontalResolution)>=50&&Ee<=1250&&(Te=Ee);100!=Te&&(Ie*=Te/100);var Re=null;this.htmlExport.setCurrentCulture();var De,Pe={ref:Ie};if(Re=(De=$t.stimulsoft.as(k)).imageToDraw,Ie=Pe.ref,this.htmlExport.restoreCulture(),null!=Re){var xe;if(null!=(xe=this.matrix.getRealImageData(St,Re))&&(Re=xe),null!=Jt&&Jt.length>0){var Se;(Se=new Q).navigateUrl=Jt,Se.toolTip=Wt,null!=this.htmlExport.htmlImageHost&&(Se.imageUrl=this.htmlExport.htmlImageHost.getImageString(Re)),Se.cssClass=ft.cssClass,Se.width=G.newUnit(Re.width/Ie*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),Se.height=G.newUnit(Re.height/Ie*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),Se.openLinksTarget=this.htmlExport.openLinksTarget,ft.controls.push(Se)}else{var Fe=null,Ne,ke;if(null!=St.component&&St.component.is(M))(Ne=St.component.as(M)).stretch&&1!=Ne.aspectRatio&&Ne.imageRotation==O.None&&(Fe=Ne.imageURLValue?Ne.imageURLValue.stimulsoft.as(String):null);(ke=new L).aspectRatio=Re.aspectRatio,ke.horAlignment=Re.horAlignment,ke.vertAlignment=Re.vertAlignment,ke.imageRotation=Re.imageRotation,ke.margins=Re.margins,ke.multipleFactor=Re.multipleFactor,ke.stretch=Re.stretch,ke.zoom=Re.zoom,ke.base64=Re.base64,null!=Fe&&0!=Fe.length?ke.imageUrl=Fe:null!=this.htmlExport.htmlImageHost&&(ke.imageUrl=this.htmlExport.htmlImageHost.getImageString(Re)),ke.toolTip=Wt,ke.width=G.newUnit(Re.width/Ie*this.htmlExport.zoom,!1),ke.height=G.newUnit(Re.height/Ie*this.htmlExport.zoom,!1),ft.controls.push(ke)}ge=!1}}if(ge&&!Xt){if(Me.text=yt,null!=St.component&&St.component.is(B)){var Ce=St.component.as(B),we=E.toColor(Ce.textBrush);Me.style.set("color",this.htmlExport.formatColor(we))}var ve;if(null!=St.component&&St.component.is(T))(ve=St.component.as(T)).font.underline?Me.style.set("text-decoration","underline"):Me.style.set("text-decoration","none")}ft.controls.push(Me)}var Oe=St.component.as(b);null!=Oe&&!Oe.margins.isEmpty&&ge&&(ft.style.set(J.marginsKey,a.format("{0} {1} {2} {3}",G.newUnit(Math.trunc(Oe.margins.top*this.htmlExport.zoom)),G.newUnit(Math.trunc(Oe.margins.right*this.htmlExport.zoom)),G.newUnit(Math.trunc(Oe.margins.bottom*this.htmlExport.zoom)),G.newUnit(Math.trunc(Oe.margins.left*this.htmlExport.zoom)))),null!=ft.width&&Oe.margins.left+Oe.margins.right>0&&(ft.width.value-=Math.trunc(Oe.margins.left*this.htmlExport.zoom)+Math.trunc(Oe.margins.right*this.htmlExport.zoom)),null!=ft.height&&Oe.margins.top+Oe.margins.bottom>0&&(ft.height.value-=Math.trunc(Oe.margins.top*this.htmlExport.zoom)+Math.trunc(Oe.margins.bottom*this.htmlExport.zoom))),null!=At&&At.textOptions.wordWrap?(ft.style.set("word-wrap","break-word"),Ct?ft.style.set("white-space","pre-wrap"):ft.style.remove("white-space")):Ct?ft.style.set("white-space","pre"):ft.style.set("white-space","nowrap"),null!=At&&At.textOptions.trimming!=t.System.Drawing.StringTrimming.None&&ft.style.set("text-overflow","ellipsis")}else{var wt,Bt;if(this.htmlExport.exportQuality==r.StiHtmlExportQuality.High&&(ft.width=G.newUnit(dt,StiOptions.Export.Html.printLayoutOptimization),ft.height=G.newUnit(gt,StiOptions.Export.Html.printLayoutOptimization)),null!=(wt=this.matrix.cellStyles[ut][mt]))null!=(Bt=it.get(wt))&&this.htmlExport.useStylesTable&&(ft.cssClass="s"+wt.styleName);a.isNullOrEmpty(ft.cssClass)&&ft.style.set("border","0px")}}null==ht[mt]&&(ht[mt]=I.transparent)}if(StiOptions.Export.Html.useStrictTableCellSize&&0!=ht[0].a){for(var bt=!0,_e=0;_eV.right||$.bottomV.bottom)&&(tt=!1),StiOptions.Engine.allowInteractionInChartWithComponents&&q.name.stimulsoft.endsWith("Interaction#FX%")&&(tt=!1),this.checkComponentPlacement(q,h)||(tt=!1),tt&&(q.is(y)&&(q.is(D)?(this.addCoord($),$.y-=this.defaultLinePrimitiveWidth,$.x-=this.defaultLinePrimitiveWidth):($.height<1.5&&($.height=this.defaultLinePrimitiveWidth,$.y-=$.height),$.width<1.5&&($.width=this.defaultLinePrimitiveWidth,$.x-=$.width))),this.addCoord($),null!=q.hyperlinkValue)){var et=q.hyperlinkValue;!a.isNullOrEmpty(et)&&et.length>2&&et.stimulsoft.startsWith("##")&&this.hyperlinksToTag.set(et.substr(2),null)}}}}catch(t){g={error:t}}finally{try{Z&&!Z.done&&(S=X.return)&&S.call(X)}finally{if(g)throw g.error}}0==H&&(this.coordY=K.sortForMatrix(this.coordY)),m&&this.maxCoordY>V.height&&(this.maxCoordY=V.height),this.totalHeight=this.maxCoordY,_=Math.round(this.maxCoordY*(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleY:1)),this.totalWidth=Math.max(this.totalWidth,J.unit.convertToHInches(J.width)*(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleX:1)),H++;var rt=this.coordY.countItems;rt-W>Q&&(Q=rt-W)}}catch(t){f={error:t}}finally{try{U&&!U.done&&(d=Y.return)&&d.call(Y)}finally{if(f)throw f.error}}this.coordX=K.sortForMatrix(this.coordX),N[O]=this.totalHeight,s&&this.prepareTable(),this.isHtmlOrExcelXmlService&&this.addCoord2(0,_+1,!1);for(var nt=this.coordY.getKeys(),it=this.coordX.getKeys(),ot=0;otV.right||$.bottomV.bottom)&&(tt=!1),this.checkComponentPlacement(q,h)||(tt=!1),tt&&this.renderComponent(q,x,!1,l.exportServiceId)}}}catch(t){B={error:t}}finally{try{mt&&!mt.done&&(I=ht.return)&&I.call(ht)}finally{if(B)throw B.error}}if(null!=J.bookmarkValue){var ft=J.bookmarkValue,$;if(!a.isNullOrEmpty(ft))if(-1!=($=this.getRange(J.unit.convertRectangleToHInches(J.clientRectangle))).left){-1==$.bottom&&($.height=lt-1-$.top);for(var ot=$.y;ot<$.bottom;ot++){for(var dt=!1,at=$.x;at<$.right;at++)if(null!=this.cellsMap[ot][at]&&null==this.bookmarks[ot][at]){this.bookmarks[ot][at]=ft,this.setBookmarkValue(ot,at,ft),dt=!0;break}if(!dt)for(var at=$.x;at<$.right;at++)if(null!=this.cellsMap[ot][at]){this.bookmarks[ot][at]=ft,this.setBookmarkValue(ot,at,ft);break}}}}H++}}catch(t){b={error:t}}finally{try{pt&&!pt.done&&(C=ct.return)&&C.call(ct)}finally{if(b)throw b.error}}this.processIntersectedCells(this.createdCells),it=this.coordX.getKeys();for(var gt=0,St=0;St0||gt>0)){for(var At=i.create2(Boolean,nt.length,it.length),ot=0;ot0||vt>0)&&(this.cells[ot-vt][at-bt]=Ct,this.cells[ot][at]=null,Ct=null)}}for(var St=0;St=0;St--)1==this.coordXCheck[St]&&this.coordX.removeByIndex(St);for(var St=this.coordY.countItems-1-1;St>=0;St--)1==this.coordYCheck[St]&&this.coordY.removeByIndex(St)}if(this.isHtmlOrExcelXmlService){var Tt=this.coordX.countItems,Et=this.coordY.countItems;this.cellStyles=i.create2(r.StiCellStyle,Et,Tt);var At=i.create2(Boolean,Et,Tt),Rt=new c("Arial",8),Dt=this.styles,Pt=[];Pt.stimulsoft.addRange(this.styles),-1==F?this.styles.stimulsoft.clear():this.styles.stimulsoft.removeRange(F,this.styles.length-F),this.stylesCache.clear();var xt=[];try{for(var Ft=__values(this.styles),Nt=Ft.next();!Nt.done;Nt=Ft.next()){var kt=Nt.value;r.StiCellStyle.getStyleFromCache(kt.color,kt.textColor,kt.font,kt.horAlignment,kt.vertAlignment,kt.border,kt.borderL,kt.borderR,kt.borderB,kt.textOptions,kt.wordWrap,kt.format,kt.internalStyleName,kt.lineSpacing,this.stylesCache,xt,this.fontsCache,kt,!0,kt.overflow,kt.borderRadius)}}catch(t){E={error:t}}finally{try{Nt&&!Nt.done&&(P=Ft.return)&&P.call(Ft)}finally{if(E)throw E.error}}for(var Mt=1;Mt1)for(var Ut=1,ot=0;otthis.maxCoordY&&(this.maxCoordY=e),r&&this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?(t=this.round(t*K.htmlScaleX),e=this.round(e*K.htmlScaleY)):(t=this.round(t),e=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))},K.prototype.prepareTable=function(){for(var t=this.coordY.getKeys(),e=1;en){r<2*n&&(n=this.round(r/2));var i=this.coordY.getByIndex(e-1,t)+n;this.addCoord2(0,i,!1),t=this.coordY.getKeys()}}for(var o=this.coordX.getKeys(),a=1;al){s<2*l&&(l=this.round(s/2));var u=this.coordX.getByIndex(a-1,o)+l;this.addCoord2(u,0,!1),o=this.coordX.getKeys()}}},K.prototype.getRange=function(t){var e=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleX:1,r=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleY:1,n=this.round(t.left*e),i=this.round((t.top+this.totalHeight)*r),o=this.round(t.right*e),a=this.round((t.bottom+this.totalHeight)*r),s=0,u=0,c=0,p=0,h=this.leftCached.get(n);return null==h?(s=this.coordX.indexOf(n),this.leftCached.set(n,s)):s=h,null==(h=this.topCached.get(i))?(u=this.coordY.indexOf(i),this.topCached.set(i,u)):u=h,null==(h=this.leftCached.get(o))?(c=this.coordX.indexOf(o),this.leftCached.set(o,c)):c=h,null==(h=this.topCached.get(a))?(p=this.coordY.indexOf(a),this.topCached.set(a,p)):p=h,new l(s,u,c-s,p-u)},K.prototype.getStyleFromComponent=function(t,n,i,o){var l=k.white,u=t.as(m);null==u||t.is(j)||(l=I.toColor(u.brush)),t.is(j)&&this.isHtmlPngMode&&(l=k.transparent);var y=t.as(P),A;(null!=y&&(l=y.backColor),(t.is(G)||t.is(z))&&(l=k.transparent),-1!=n&&-1!=i&&l.equals(k.transparent)&&null!=this.cellsMap[i][n])&&(l=this.cellsMap[i][n].cellStyle.color);var b=k.black,C=t.as(f);null!=C&&(b=I.toColor(C.textBrush));var T=null,D=t.as(p);T=null!=D?D.font:new c("Arial",8);var x=v.Left,F=t.as(d);null!=F&&(x=F.horAlignment);var N=t.as(g);null!=N&&(x=N.horAlignment-1);var H=w.Top,Q=t.as(S);null!=Q&&(H=Q.vertAlignment);var L=null,U=null,J=null,W=null,V=t.as(h);if(null!=V){var X=V.border.stimulsoft.as(O);null!=X?(L=X.leftSide,U=X.rightSide,J=X.topSide,W=X.bottomSide):(L=new R(V.border.color,V.border.size,V.border.style),V.border.isRightBorderSidePresent&&(U=L),V.border.isTopBorderSidePresent&&(J=L),V.border.isBottomBorderSidePresent&&(W=L),V.border.isLeftBorderSidePresent||(L=null))}var K=null,Z=t.as(E);null!=Z&&(K=Z.textOptions);var q=!1,$=t.as(_);null!=$&&null!=$.getTextInternal()&&(q=-1!=$.getTextInternal().indexOf("\n")),this.isHtmlOrExcelXmlService&&null!=K&&(q=K.wordWrap);var tt=null,et=t.as(B);if(this.exportFormat==e.StiExportFormat.ExcelXml&&null!=et){var rt=et.format,nt=!1,it=!1,ot=!1,at="",st=2,lt=0,ut="$",ct=!1,pt=!1,ht=null!=et&&et.hideZeros,mt=null,ft=null,dt=rt.indexOf("|");if(-1!=dt&&(mt=r.StiExportUtils.getPositivePattern(rt[dt+1].charCodeAt(0)-"A".charCodeAt(0)),ft=r.StiExportUtils.getNegativePattern(rt[dt+2].charCodeAt(0)-"A".charCodeAt(0)),rt=rt.substr(0,dt)),!a.isNullOrEmpty(rt)&&("C"==rt[0]&&(nt=!0),"N"==rt[0]&&(it=!0),"P"==rt[0]&&(ot=!0),(nt||it||ot)&&rt.length>1)){var gt=1;if(Y.isDigit(rt[gt])){var St=new M;while(gt1&&(yt.append("#,"),yt.append("#",lt-1)),yt.append("0"),st>0&&(yt.append("."),yt.append("0",st));var At=yt.toString(),bt,vt;at=mt.stimulsoft.replaceAll("n",At).stimulsoft.replaceAll("$",'"'+ut+'"')+";"+(vt=ft.stimulsoft.replaceAll("n",At).stimulsoft.replaceAll("$",'"'+ut+'"'))+(ht?";":"")}else{var yt=new M;nt&&1==ct&&(yt.append('"'),yt.append(ut),yt.append('"')),lt>1&&(yt.append("#,"),yt.append("#",lt-1)),yt.append("0"),st>0&&(yt.append("."),yt.append("0",st)),nt&&0==ct&&(yt.append('"'),yt.append(ut),yt.append('"')),ot&&yt.append("%");var vt=(pt?"(":"-")+(at=yt.toString())+(pt?")":"");ht?at=at+";"+vt+";":pt&&(at=at+";"+vt)}tt=at}var Ct=null;a.isNullOrEmpty(t.componentStyle)||(Ct=o+t.componentStyle),this.isHtmlOrExcelXmlService&&!StiOptions.Export.Html.useComponentStyleName&&(Ct=null);var wt=null!=et?et.lineSpacing:1;return r.StiCellStyle.getStyleFromCache(l,b,T,x,H,J,L,U,W,K,q,tt,Ct,wt,this.stylesCache,this.styles,this.fontsCache,null,!1,!t.is(j),t.is(s)?t.round:0)},K.prototype.getStyle=function(t){var e,r;try{for(var n=__values(this.styles),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.stimulsoft.equals(t))return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this.styles.push(t),t},K.prototype.renderComponent=function(t,n,i,o){var s=t.as(H),l=null!=s;if(this.replaceCheckboxes&&l){var u=new B;u.page=s.page,u.clientRectangle=s.clientRectangle,u.brush=s.brush,u.textBrush=s.textBrush,u.border=s.border,u.horAlignment=v.Center,u.vertAlignment=w.Center;var p=t.report.unit.convertToHInches(Math.min(s.width,s.height));if(null!=s.checkedValue){var m=!1,f=s.checkedValue.toString().trim().toLowerCase(),d=s.values.split(new RegExp(";|,|/")),g;if(null!=d&&d.length>0)m=f==d[0].trim().toLowerCase();var S=" ",T=null;switch(m?s.checkStyleForTrue:s.checkStyleForFalse){case W.Cross:S=String.fromCharCode(61691),T="Wingdings";break;case W.Check:S=String.fromCharCode(61692),T="Wingdings";break;case W.CrossRectangle:S=String.fromCharCode(61693),T="Wingdings";break;case W.CheckRectangle:S=String.fromCharCode(61694),T="Wingdings";break;case W.CrossCircle:S=String.fromCharCode(61526),T="Wingdings 2";break;case W.DotCircle:S=String.fromCharCode(61604),T="Wingdings";break;case W.DotRectangle:S=String.fromCharCode(61609),T="Wingdings 2";break;case W.NoneCircle:S=String.fromCharCode(61601),T="Wingdings";break;case W.NoneRectangle:S=String.fromCharCode(61608),T="Wingdings";break}" "!=S&&(u.font=new c(T,.72*p,V.Regular),u.text=S)}t=u}var E=t.page.unit.convertRectangleToHInches(t.displayRectangle);if(E.height<0&&(E.y+=E.height,E.height=Math.abs(E.height)),!t.is(y)&&(0==E.width||0==E.height))return;t.is(y)&&(t.is(D)?(E.y-=this.defaultLinePrimitiveWidth,E.x-=this.defaultLinePrimitiveWidth):(E.height<1.5&&(E.height=this.defaultLinePrimitiveWidth,E.y-=E.height),E.width<1.5&&(E.width=this.defaultLinePrimitiveWidth,E.x-=E.width)));var N=this.getRange(E);if(-1!=N.left){var k=!0,M=t.bookmarkValue,j=t.tagValue;null==M&&!a.isNullOrEmpty(j)&&this.hyperlinksToTag.containsKey(j)&&(M=j);var G=t.as(h),Q=null!=G?G.border:null,Y=!a.isNullOrEmpty(M),U=null!=Q&&Q.side!=A.None,z=!1,X=!1,Z=!1,q=!1,$=t.as(B);null!=$&&(z=null!=$.text&&null!=$.getTextInternal()&&($.getTextInternal().length>0||n),X=null!=$.brush&&0!=I.toColor($.brush).a,Z=null!=$.excelDataValue,q=null!=$.indicator,k=z||X||Z||U||q||$.editable);var tt=t.as(L);null!=tt&&(k=(X=null!=tt.brush&&0!=I.toColor(tt.brush).a)||U&&!i&&!this.isHtmlOrExcelXmlService),Y&&(k=!0);var et=N.left,rt=N.right,nt=N.top,it=N.bottom;t.is(D)&&(k=!1,0==this.coordXPrim[et]&&(this.coordXPrim[et]=1),0==this.coordXPrim[rt]&&(this.coordXPrim[rt]=1),0==this.coordYPrim[nt]&&(this.coordYPrim[nt]=1),0==this.coordYPrim[it]&&(this.coordYPrim[it]=1));var ot=this.isComponentHasInteraction(t),at=0,st=0;if(ot&&(k=!0,at=t.report.renderedPages.indexOf(t.page)+1,st=t.page.components.indexOf(t)+1),k){var lt=new r.StiCell(this.exportFormat);this.createdCells.push(lt),this.exportFormat!=e.StiExportFormat.Csv&&this.exportFormat!=e.StiExportFormat.Dbf&&this.exportFormat!=e.StiExportFormat.Xml&&(lt.cellStyle=this.getStyleFromComponent(t,et,nt,o));var ut=!0;this.exportFormat==e.StiExportFormat.ExcelXml&&(ut=!1,t.is(P)&&(ut=!0),t.is(H)&&(ut=!0),null!=$&&null!=$.excelDataValue&&(ut=!0),(t.locked||null!=t.tagValue&&t.tagValue.toString().indexOf("excelfreezepanes")>=0)&&(ut=!0)),ut&&(lt.component=t),ut&&null!=lt.exportImage&&this.imagesBaseRect.set(t,new b(E.x,E.y+this.totalHeight,E.width,E.height)),this.cells[nt][et]=lt,lt.left=et,lt.top=nt;var ct=t.as(_);null!=ct?(lt.text=ct.text,null!=t.as(B)&&!a.isNullOrEmpty(lt.text)&<.text.stimulsoft.endsWith(J.StiForceWidthAlignTag)&&(lt.text=lt.text.substr(0,lt.text.length-J.StiForceWidthAlignTag.length))):lt.text="",lt.width=N.width-1,lt.height=N.height-1;for(var pt=N.x;ptr.width)return l.empty;o=n;while(o<=r.width&&this.cellsMap[i+r.top][o+r.left]==r)o++;if(n==o)return l.empty;var s=!1;a=i+1;while(a<=r.height&&0==s){if(n>0&&this.cellsMap[r.top+a][r.left+n-1]==r){s=!0;break}if(o<=r.width&&this.cellsMap[a+r.top][r.left+o]==r){s=!0;break}for(var u=n;up&&(p=g)}}this.linePlacement[a]=s}if(e){for(var y=new u,A=null,b=0;b=0;b--)if(this.linePlacement[b]==X.FooterAP){var I=this.parentBandName[b],C,w;if(-1!=(C=I.indexOf("")))(w=I.substr(0,C))!=A&&(A=w,B.clear());if(B.containsKey(I)){this.linePlacement[b]=X.Trash;while(b-1>=0&&this.linePlacement[b-1]==X.FooterAP&&this.parentBandName[b-1]==I)b--,this.linePlacement[b]=X.Trash}else{B.add(I,I);while(b-1>=0&&this.linePlacement[b-1]==X.FooterAP&&this.parentBandName[b-1]==I)b--}}for(var a=0;a0&&this.linePlacement[a+T-1]==X.Empty)T--,this.linePlacement[a+T]=this.linePlacement[a];T=0;while(a+T0){var v=0,C=null;try{for(var w=(n=void 0,__values(S)),B=w.next();!B.done;B=w.next()){var I=B.value,T=s.getByIndex(I.left+I.width+1,u)-s.getByIndex(I.left,u),E=l.getByIndex(I.top+I.height+1,c)-l.getByIndex(I.top,c);v=e.length){var s=n.toString().trim();s.length>0&&r.push(s),n=new M;continue}n.append(a)}var l=[];return r.stimulsoft.copyTo(l),l},K.getStringsFromTag=function(t,e){var r=[],n=e;while(n0&&r.push(i.toString());var s=[];return r.stimulsoft.copyTo(s),s},K.prototype.copyFieldsListToFields=function(){this.fields=[];for(var t=0;t0&&this.linePlacement[s]==X.Data||(i&r.StiDataExportMode.Headers)>0&&(this.linePlacement[s]==X.HeaderD||this.linePlacement[s]==X.HeaderAP)||(i&r.StiDataExportMode.Footers)>0&&(this.linePlacement[s]==X.FooterD||this.linePlacement[s]==X.FooterAP)||i==r.StiDataExportMode.AllBands)&&o++;this.fieldsList=[];for(var s=0;s0&&this.linePlacement[m]==X.Data||(i&r.StiDataExportMode.Headers)>0&&(this.linePlacement[m]==X.HeaderD||this.linePlacement[m]==X.HeaderAP)||(i&r.StiDataExportMode.Footers)>0&&(this.linePlacement[m]==X.FooterD||this.linePlacement[m]==X.FooterAP)||i==r.StiDataExportMode.AllBands){for(var l=0;l1){if(!this.htName.containsKey(y[0])){var A=this.fields.length;this.fieldsList.push(new Z(o)),this.copyFieldsListToFields(),this.fields[A].name=y[0],this.fields[A].readyName=!0,this.fields[A].readyType=!0,this.htName.set(y[0],A)}var b=this.htName.get(y[0]);this.fields[b].dataArray[h]=y[1]}}if(null!=d.component&&(d.component.is(Q)||d.component.is(H))){if(!this.fields[l].readyName){var v=d.component.name;if(p&&!a.isNullOrEmpty(d.component.alias)&&(v=d.component.alias),null!=S)for(var C=0;C0))throw new Error("Name of DataColumn not found in property: "+v);if(v=w.substr(I,T),!w.toLowerCase().stimulsoft.startsWith("default"))break}}n.exportFormat==e.StiExportFormat.Dbf&&v.length>10&&(v=v.substr(0,10)),this.fields[l].name=v,this.fields[l].readyName=!0}if(!this.fields[l].readyType&&null!=S&&(n.exportFormat==e.StiExportFormat.Xml||n.exportFormat==e.StiExportFormat.Dbf)){var E=S[0].split(":",3);E[0]=E[0].trim().toLowerCase();var R=E[0].ss;if(R.startsWith("int")&&(this.fields[l].info[0]=N.Int,this.fields[l].info[1]=15),R.startsWith("long")&&(this.fields[l].info[0]=N.Long,this.fields[l].info[1]=25),R.startsWith("float")&&(this.fields[l].info[0]=N.Float,this.fields[l].info[1]=15,this.fields[l].info[2]=5),R.startsWith("double")&&(this.fields[l].info[0]=N.Double,this.fields[l].info[1]=20,this.fields[l].info[2]=10),R.startsWith("date")&&(this.fields[l].info[0]=N.Date,this.fields[l].info[1]=8,this.fields[l].info[2]=0),R.startsWith("bool")&&(this.fields[l].info[0]=N.Bool,this.fields[l].info[1]=1,this.fields[l].info[2]=0),E.length>1){E[1]=E[1].trim();var D=0;try{(D=parseInt(E[1]))>0&&(this.fields[l].info[1]=D)}catch(e){t.System.StiError.showError(e,!1),D=0}if(E.length>2){E[2]=E[2].trim();var x=0;try{(x=parseInt(E[2]))>0&&x254&&(M=M.substr(0,254))),this.fields[l].dataArray[h]=M}else this.fields[l].dataArray[h]=""}h++}}this.fields=[];for(var l=0;lf.length-1&&(A=f.length-1);var v,C=(g-a)/(l-a),w=(y-a)/(l-a),B=(S-s)/(u-s),I=(Math.trunc(this.coordY.getByIndex(A,f))-s)/(u-s),T=Math.trunc(e.width*C),E=Math.round(e.width*w+.5),R=Math.trunc(e.height*B),D=Math.round(e.height*I+.5);return null},K.prototype.checkComponentPlacement=function(t,e){if(e==r.StiDataExportMode.AllBands)return!0;var n=t.componentPlacement;null==n&&(n="");var i=n.indexOf("Hd_HPnl");-1!=i&&(n=n.substring(0,i+7));var o=X.Unknown;if(n.stimulsoft.startsWith("d")?o=X.Data:n.stimulsoft.startsWith("h.ap")?o=X.HeaderD:n.stimulsoft.startsWith("f.ap")?o=X.FooterD:n.stimulsoft.startsWith("h")?o=X.HeaderD:n.stimulsoft.startsWith("f")?o=X.FooterD:n.stimulsoft.startsWith("gh")?o=X.HeaderD:n.stimulsoft.startsWith("gf")&&(o=X.FooterD),(e&r.StiDataExportMode.Data)>0&&o==X.Data||(e&r.StiDataExportMode.Headers)>0&&o==X.HeaderD||(e&r.StiDataExportMode.Footers)>0&&o==X.FooterD)return!0;return!1},K.prototype.getBorderSideIndex=function(t){if(null==t)return 0;if(this.borderSides.length>0)for(var e=0;e1||w.segmentPerHeight>1){b=!0;break}}}catch(t){f={error:t}}finally{try{C&&!C.done&&(d=v.return)&&d.call(v)}finally{if(f)throw f.error}}if(!b)return e;var B=new h(e.report,e);B.cacheMode=e.cacheMode,1==B.cacheMode&&(B.canUseCacheMode=!0);try{for(var I=__values(e.list),T=I.next();!T.done;T=I.next()){var w=T.value;if(e.getPage(w),null!=m&&m.invokeExporting(w,e,m.currentPassNumber,m.maximumPassNumber),w.segmentPerWidth>1||w.segmentPerHeight>1)for(var E=0;E0&&(P|=u.Left),R0&&(P|=u.Top),E(R+1.5)*D.width,O;if(0!=R||0!=E||M)(O=k.clone()).left-=x.left,O.top-=x.top,M&&(O.width=1.5*D.width-O.left),D.components.add(O);else D.components.add(k);continue}if(k.leftx.left&&k.topx.top){var M=!m.stimulsoft.is(t.Report.Export.IStiPdfExportService),O=null;if(k.stimulsoft.is(l)&&(O=k.clone()),k.stimulsoft.is(s)){var _=k.clone();M&&(_.text=""),O=_}if(k.stimulsoft.is(a)){var j=new l;j.border=k.stimulsoft.as(a).border,j.brush=k.stimulsoft.as(a).brush,O=j}if((k.stimulsoft.is(o)||k.stimulsoft.is(i))&&(O=k.clone()),null!=O){var G=new n;O.stimulsoft.is(r)&&(G=O.stimulsoft.as(r).border),k.leftx.right&&M?(O.width=D.width-O.left,G.side&=u.All^u.Right):O.width=k.right-(x.left+O.left),k.topx.bottom&&M?(O.height=D.height-O.top,G.side&=u.All^u.Bottom):O.height=k.bottom-(x.top+O.top),D.components.add(O)}}}}}catch(t){y={error:t}}finally{try{N&&!N.done&&(A=F.return)&&A.call(F)}finally{if(y)throw y.error}}B.addV2Internal(D)}else B.canUseCacheMode=!1,B.addV2Internal(w),B.canUseCacheMode=B.cacheMode}}catch(t){g={error:t}}finally{try{T&&!T.done&&(S=I.return)&&S.call(I)}finally{if(g)throw g.error}}return B.canUseCacheMode=!1,B},e}();e.StiSegmentPagesDivider=m}(r=e.Export||(e.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=function(){function e(){}return Object.defineProperty(e,"isAssemblyLoaded",{get:function(){return null!=t.Report.Export["StiPdfExportService"]},enumerable:!1,configurable:!0}),e}();e.StiExportAssembly=r}(r=e.Chart||(e.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.Report.Components.StiPagesCollection,i=function(){function i(t,r,n){void 0===t&&(t=e.StiRangeType.All),void 0===r&&(r=""),void 0===n&&(n=0),this.rangeType=e.StiRangeType.All,this.pageRanges="",this.currentPage=0,this.rangeType=t,this.pageRanges=r,this.currentPage=n}return i.prototype.equals=function(t){if(null==t)return!1;var e=t;if(this.rangeType!=e.rangeType||this.pageRanges!=e.pageRanges||this.currentPage!=e.currentPage)return!1;return!0},i.prototype.getSelectedPages=function(i){var o,a,s,l,u=new n(i.report,i);if(u.cacheMode=i.cacheMode,"All"==this.pageRanges&&(this.rangeType=e.StiRangeType.All),this.rangeType==e.StiRangeType.Pages){if(!r.isNullOrEmpty(this.pageRanges)){var c=this.pageRanges.split(",");try{for(var p=__values(c),h=p.next();!h.done;h=p.next()){var m=h.value;if(-1==m.indexOf("-"))try{var f=parseInt(m.trim());f>=1&&f<=i.count&&u.addV2Internal(i.getByIndex(f-1))}catch(e){t.System.StiError.showError(e,!1)}else{var d=m.split("-");try{var g=parseInt(d[0].trim()),S=parseInt(d[1].trim());if(S=Math.min(S,i.count),g>=1&&g<=i.count&&S>=1&&S<=i.count)if(g<=S)for(var y=g;y<=S;y++)u.addV2Internal(i.getByIndex(y-1));else for(var y=g;y>=S;y--)u.addV2Internal(i.getByIndex(y-1))}catch(e){t.System.StiError.showError(e,!1)}}}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}if(0!=u.count)return u}else if(this.rangeType==e.StiRangeType.CurrentPage&&(this.currentPage>=0&&this.currentPage0&&r%1e6==0?f.resourceManager.getString(e+"BigSeparator",t):r>1?f.resourceManager.getString(e+"Plural",t):f.resourceManager.getString(e+"Single",t),s=n>1?f.resourceManager.getString(e+"CentPlural",t):f.resourceManager.getString(e+"CentSingle",t),i.ref=a,o.ref=s},t.maxValue=1e15,t}();e.NumToWordHelper=m,e.NumToWordException=r;var f=function(){function t(){}return Object.defineProperty(t,"resourceManager",{get:function(){return null==this.resourceMan&&(this.resourceMan=new l),this.resourceMan},enumerable:!1,configurable:!0}),Object.defineProperty(t,"culture",{get:function(){return this.resourceCulture},set:function(t){this.resourceCulture=t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"eurBigSeparator",{get:function(){return this.resourceManager.getString("EURBigSeparator",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"eurCentGender",{get:function(){return this.resourceManager.getString("EURCentGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"eurCentPlural",{get:function(){return this.resourceManager.getString("EURCentPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EURCentSingle",{get:function(){return this.resourceManager.getString("EURCentSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EURGender",{get:function(){return this.resourceManager.getString("EURGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EURPlural",{get:function(){return this.resourceManager.getString("EURPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EURSingle",{get:function(){return this.resourceManager.getString("EURSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPBigSeparator",{get:function(){return this.resourceManager.getString("GBPBigSeparator",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPCentGender",{get:function(){return this.resourceManager.getString("GBPCentGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPCentPlural",{get:function(){return this.resourceManager.getString("GBPCentPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPCentSingle",{get:function(){return this.resourceManager.getString("GBPCentSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPGender",{get:function(){return this.resourceManager.getString("GBPGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPPlural",{get:function(){return this.resourceManager.getString("GBPPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GBPSingle",{get:function(){return this.resourceManager.getString("GBPSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"TooLongError",{get:function(){return this.resourceManager.getString("TooLongError",this.resourceCulture)},enumerable:!1,configurable:!0}),t}();e.Resource=f;var d=function(){function e(){}return e.toRoman=function(e){return t.Data.Functions.Funcs.toRoman(e)},e.toABC=function(e){return t.Data.Functions.Funcs.toABC(e)},e.toABCNumeric=function(e){return t.Data.Functions.Funcs.toABCNumeric(e)},e.toABCRu=function(e){return t.Data.Functions.Funcs.toABCRu(e)},e.toArabic=function(e,r){return t.Data.Functions.Funcs.toArabic(e,r)},e}();e.Convert=d;var g=function(){function e(){}return e.joinColumnContent=function(t,e,r,n){if(void 0===n&&(n=!1),t.stimulsoft.is(o)){var s=t.stimulsoft.as(o),l=new Array,c=new a;if(!s.isEmpty){s.saveState("JoinColumnContent"),s.first();while(!s.isEof){var p=s.getByName(e).toString(),h=!0;n&&(c.containsKey(p)?h=!1:c.set(p,null)),h&&l.push(p),s.next()}s.restoreState("JoinColumnContent")}for(var m=new u,f=0;f0){d.saveState("JoinColumnContent"),d.first();var g=e.split(".");while(!d.isEof){var S=d,y=null,A=0;while(A0&&s.append(", ");var m=void 0;m=n.isNullOrEmpty(i)?h.toString():n.format(i,t.System.Convert.toDateTime(h).toString()),n.isNullOrEmpty(r)||(m=m.stimulsoft.replaceAll(r,r+r)),s.append(r+m+r),l++}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return s.toString()},e}();e.EngineHelper=g;var S=function(){function e(){}return e.monthName=function(e,r,n){if(void 0===r&&(r=null),void 0===n&&(n=null),null==r)return this.monthName(e,s.currentCulture.name.toString());if(null!=r&&r.stimulsoft.is(Boolean)){var i;if(r)switch(e.month){case 1:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthJanuary");case 2:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthFebruary");case 3:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthMarch");case 4:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthApril");case 5:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthMay");case 6:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthJune");case 7:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthJuly");case 8:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthAugust");case 9:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthSeptember");case 10:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthOctober");case 11:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthNovember");case 12:return t.Base.Localization.StiLocalization.get("A_WebViewer","MonthDecember")}return this.monthName(e)}if(null!=r&&r.stimulsoft.is(String)){var o=r.toString(),a=e.month,l="";try{var u;l=s.cultures[o].dateTimeFormat.monthNames[a-1]}catch(e){t.System.StiError.showError(e,!1);var c=o.toLowerCase(),p=+this.cultureIndexes.get(c);a999999999999.99)return"";if(0==t)return"صفر";var u=r.customFormat(t,"000000000000.00"),c=0;while(c<15){var p=c<12?u.substr(c,3):"0"+u.substr(c+1,2),h=parseInt(p.substr(0,1)),m=parseInt(p.substr(1,1)),f=parseInt(p.substr(2,1)),d=parseInt(p.substr(1,2)),g=parseInt(p.substr(0,3));if(g>0){var S=this.MyArry1[h],y=this.MyArry2[m],A=this.MyArry3[f],b="",v="";11==d&&(b="إحدى عشر"),12==d&&(v="إثنى عشر"),10==d&&(y="عشرة"),h>0&&d>0&&(S+=this.MyAnd),f>0&&m>1&&(A+=this.MyAnd);var C=S+A+y;1==f&&1==m&&(C=S+b,0==h&&(C=b)),2==f&&1==m&&(C=S+v,0==h&&(C=v)),0!=c||r.isNullOrWhiteSpace(C)||(g>10?i=C+" مليار":(i=C+" مليارات",1==g&&(i=" مليار"),2==g&&(i=" ملياران"))),3!=c||r.isNullOrWhiteSpace(C)||(g>10?o=C+" مليون":(o=C+" ملايين",1==g&&(o=" مليون"),2==g&&(o=" مليونان"))),6!=c||r.isNullOrWhiteSpace(C)||(g>10?a=C+" ألف":(a=C+" آلاف",1==f&&(a=" ألف"),2==f&&(a=" ألفان"))),9!=c||r.isNullOrWhiteSpace(C)||(s=C),12!=c||r.isNullOrWhiteSpace(C)||(l=C)}c+=3}r.isNullOrWhiteSpace(i)||(o.length>0||a.length>0||s.length>0)&&(i+=this.MyAnd),r.isNullOrWhiteSpace(o)||(a.length>0||s.length>0)&&(o+=this.MyAnd),r.isNullOrWhiteSpace(a)||s.length>0&&(a+=this.MyAnd);var w="";return w=r.isNullOrWhiteSpace(l)?i+o+a+s+" "+e:i.length>0||o.length>0||a.length>0||s.length>0?i+o+a+s+" "+e+this.MyAnd+l+" "+n:l+" "+n},t.MyAnd=" و",t}();e.Ar=n,n.MyArry1=[],n.MyArry2=[],n.MyArry3=[],n.MyArry1[0]="",n.MyArry1[1]="مائة",n.MyArry1[2]="مائتان",n.MyArry1[3]="ثلاثمائة",n.MyArry1[4]="أربعمائة",n.MyArry1[5]="خمسمائة",n.MyArry1[6]="ستمائة",n.MyArry1[7]="سبعمائة",n.MyArry1[8]="ثمانمائة",n.MyArry1[9]="تسعمائة",n.MyArry2[0]="",n.MyArry2[1]=" عشر",n.MyArry2[2]="عشرون",n.MyArry2[3]="ثلاثون",n.MyArry2[4]="أربعون",n.MyArry2[5]="خمسون",n.MyArry2[6]="ستون",n.MyArry2[7]="سبعون",n.MyArry2[8]="ثمانون",n.MyArry2[9]="تسعون",n.MyArry3[0]="",n.MyArry3[1]="واحد",n.MyArry3[2]="اثنان",n.MyArry3[3]="ثلاثة",n.MyArry3[4]="أربعة",n.MyArry3[5]="خمسة",n.MyArry3[6]="ستة",n.MyArry3[7]="سبعة",n.MyArry3[8]="ثمانية",n.MyArry3[9]="تسعة"}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Text.StringBuilder,i=function(){function t(){}return t.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},t.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},t.addRank=function(t,e,r,n){var i=e.ref,o=r.ref,a=o/i|0;if(a>0){var s=a/100|0,l=(a/10|0)%10,u=a%10;1==l&&(l=0,u=a%100),t.length>0&&(s>0?t.append(" "):l+u>0&&t.append(" and ")),s>0&&(this.addUnits(t,s),t.append(" hundred"),l+u>0&&t.append(" and ")),l>0&&(this.addTens(t,l),u>0&&t.append("-")),u>0&&this.addUnits(t,u),t.append(" "),t.append(n),o%=i}i=Math.floor(i/1e3),e.ref=i,r.ref=o},t.decline=function(t,e,r,n){if(void 0===n&&(n=null),"string"==typeof e&&null==n){var i,o,a;if(1==t%100)return""+e;return r}if("boolean"==typeof e&&null!=n){var s,l=r;if(!!e){var u=n.split("/");return this.decline(t,u[0],u[1])}var c=l.split("/");return this.decline(t,c[0],c[1])}return null},t.numToStr=function(t,e){void 0===e&&(e=!0);var r=new n;if(0==t)r.append("zero");else{var i=!1;t<0&&(i=!0,t=Math.abs(t));var o=1e18,a={ref:o},s={ref:t};this.addRank(r,a,s,"quintillion"),this.addRank(r,a,s,"quadrillion"),this.addRank(r,a,s,"trillion"),this.addRank(r,a,s,"billion"),this.addRank(r,a,s,"million"),this.addRank(r,a,s,"thousand"),this.addRank(r,a,s,""),o=a.ref,t=s.ref,i&&r.insert(0,"minus ")}var l=r.toString();return e&&(l=l.charAt(0).toUpperCase()+l.substr(1)),l},t.currToStr3=function(t,e){return this.currToStr(t,!0,e,"dollar/dollars","cent/cents")},t.currToStr=function(t,e,n,i,o){void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===i&&(i="dollar/dollars"),void 0===o&&(o="cent/cents");var a=Math.trunc(t),s=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?(s=Math.round(100*(t-a)))>99&&(s=0,a++):s=100*(t-a);var l=this.numToStr(a,e);return 0==t&&(l+=" "),l.stimulsoft.endsWith(" ")||(l+=" "),l=r.format("{0}{1}",l,this.decline(a,!1,i,o)),n&&(l+=" and ",l+=r.format("{0}",this.numToStr(s,!1)),0==s&&(l+=" "),l+=r.format("{0}",this.decline(s,!0,i,o))),l},t.dateToStr=function(t,e){if(void 0===e&&(e=!1),null==t)return"";var n=r.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n},t.months=["January","February","March","April","May","June","July","August","September","October","November","December"],t.units=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],t.tens=["ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],t}();e.En=i}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.Globalization.CultureInfo,i=function(){function t(){}return t.convertToWord=function(t,r,i){var o=new n("en-GB");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),t);var a=Math.trunc(t),s=Math.round(Math.abs((t-a)*Math.pow(10,i)));if(s>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),s);var l=this.convertToWord2(a,e.Resource.resourceManager.getString(r+"Gender",o).stimulsoft.toNumber(),0),u=this.convertToWord2(s,e.Resource.resourceManager.getString(r+"CentGender",o).stimulsoft.toNumber(),0),c="",p="",h="and",m={ref:c},f={ref:p},d;return e.NumToWordHelper.determinateCurrencies(o,r,a,s,m,f),p=f.ref,c=m.ref,e.NumToWordHelper.addWords(l,u,c,p,h).trim()},t.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;return i&&(t=Math.abs(t)),0==t?n=this.zeroWord:t<20?n=this.lessTwenty[t]:t<100?n=t%10==0?this.tens[Math.floor(t/10)]:this.tens[Math.floor(t/10)]+"-"+this.convertToWord2(t%10,e,0):t<1e3?(n=this.convertToWord2(Math.floor(t/100),e,0)+" hundred",t%100>0&&(n=n+" and "+this.convertToWord2(t%100,e,0))):n=this.calculateOver(t,e),i&&(n=this.lessWord+" "+n),n.trim()},t.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);t%o>0&&(n=this.convertToWord2(t%o,e,i));var a=Math.floor(t/o);switch(a){case 0:break;default:r=this.convertToWord2(a,e,i)+this.triplets[i][0]+" "+n;break}return r},t.zeroWord="zero",t.lessWord="minus",t}();e.EnGb=i,i.triplets=r.create2(String,7,2),i.lessTwenty=[],i.tens=[],i.triplets[0][0]="",i.triplets[1][0]=" thousand",i.triplets[2][0]=" million",i.triplets[3][0]=" billion",i.triplets[4][0]=" trillion",i.triplets[5][0]=" quadrillion",i.triplets[6][0]=" qunintillion",i.triplets[0][1]="",i.triplets[1][1]=" thousands",i.triplets[2][1]=" millions",i.triplets[3][1]=" milliards",i.triplets[4][1]=" trillions",i.triplets[5][1]=" quadrillions",i.triplets[6][1]=" qunintillions",i.lessTwenty[0]="",i.lessTwenty[1]="one",i.lessTwenty[2]="two",i.lessTwenty[3]="three",i.lessTwenty[4]="four",i.lessTwenty[5]="five",i.lessTwenty[6]="six",i.lessTwenty[7]="seven",i.lessTwenty[8]="eight",i.lessTwenty[9]="nine",i.lessTwenty[10]="ten",i.lessTwenty[11]="eleven",i.lessTwenty[12]="twelve",i.lessTwenty[13]="thirteen",i.lessTwenty[14]="fourteen",i.lessTwenty[15]="fifteen",i.lessTwenty[16]="sixteen",i.lessTwenty[17]="seventeen",i.lessTwenty[18]="eighteen",i.lessTwenty[19]="nineteen",i.tens[2]="twenty",i.tens[3]="thirty",i.tens[4]="fourty",i.tens[5]="fifty",i.tens[6]="sixty",i.tens[7]="seventy",i.tens[8]="eighty",i.tens[9]="ninety"}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.numberToStr=function(t,e){var r;return void 0===e&&(e=!1),this.numberToWords(t,e).replace(/([^\W_]+[^\s-]*) */g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))},t.currencyToStr=function(t,e,r,n,i){if(void 0===i&&(i=!1),r<0)throw new Error("Cannot convert negative numbers.");var o=0,a=r,s=r.toString().stimulsoft.replaceAll(",",".").lastIndexOf(".");if(s>0){for(var l=r.toString().substr(s+1),u=l.length;u0&&p.length>0?c=c+" and "+e+" "+p:0==c.length&&p.length>0&&(c=(c=this.wordsDictionary["K_0"])+" and "+e.toLowerCase()+" "+p),(t+" "+c+" Only").replace(/([^\W_]+[^\s-]*) */g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))},t.numberToWords=function(t,e){var r="",n="",i=0,o=0;if(0==(t=Math.floor(t)))r=this.wordsDictionary["K_"+t.toString()],e&&(r="");else if(t>=1&&t<20)r=this.wordsDictionary["K_"+t.toString()];else if(t>=20&&t<100)i=10*Math.floor(t/10),o=t%10,r=(r=this.wordsDictionary["K_"+i.toString()])+" "+this.numberToWords(o,!0);else if(t>=100&&t<1e3)i=Math.floor(t/100),o=t%100,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_100"])+" "+this.numberToWords(o,!0);else if(t>=1e3&&t<1e5)i=Math.floor(t/1e3),o=t%1e3,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_1000"])+" "+this.numberToWords(o,!0);else if(t>=1e5&&t<1e7)i=Math.floor(t/1e5),o=t%1e5,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_100000"])+" "+this.numberToWords(o,!0);else if(t>=1e7&&t<1e9)i=Math.floor(t/1e7),o=t%1e7,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_10000000"])+" "+this.numberToWords(o,!0);else{if(!(t>=1e9&&t<1e15))throw new Error("number to big to convert.");i=Math.floor(t/1e7),r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_10000000"]),n="",o=t%1e7,r=r+" "+this.numberToWords(o,!0)}return r},Object.defineProperty(t,"wordsDictionary",{get:function(){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},enumerable:!1,configurable:!0}),t._wordsDictionary=null,t}();t.EnIn=e}(e=t.Func||(t.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.Globalization.CultureInfo,i=function(){function t(){}return t.convertToWord=function(t,r,i){var o=new n("es-ES");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),t);var a=Math.trunc(t),s=Math.abs((t-a)*Math.pow(10,i));if(s>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),s);var l=this.convertToWord2(a,e.Resource.resourceManager.getString(r+"Gender",o).stimulsoft.toNumber(),0),u=this.convertToWord2(s,e.Resource.resourceManager.getString(r+"CentGender",o).stimulsoft.toNumber(),0),c="",p="",h="y",m={ref:c},f={ref:p},d;return e.NumToWordHelper.determinateCurrencies(o,r,a,s,m,f),this.determinateCurrenciesEurUsd(o,r,a,s,m,f),p=f.ref,c=m.ref,e.NumToWordHelper.addWords(l,u,c,p,h).trim()},t.determinateCurrenciesEurUsd=function(t,e,r,n,i,o){var a=i.ref,s=o.ref,l=-1;"USD"==e&&(l=0),"EUR"==e&&(l=1),-1!=l&&(a=Math.floor(r/1e6)>0&&r%1e6==0||r>1?this.currencies[l][1]:this.currencies[l][0],s=n>1?this.currencies[l][3]:this.currencies[l][2]),i.ref=a,o.ref=s},t.numToStr=function(t,r){var i=new n("es-ES");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",i),t);var o=this.convertToWord2(t,1,0,!0);return r&&o.length>1&&(o=o[0].toUpperCase()+o.substr(1)),o.trim()},t.numToStr2=function(t,r,i){var o=new n("es-ES");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),t);var a=this.convertToWord2(t,i?2:1,0,!0);return r&&a.length>1&&(a=a[0].toUpperCase()+a.substr(1)),a.trim()},t.convertToWord2=function(t,e,r,n){void 0===n&&(n=!1);var i="",o=(t=Math.floor(t))<0;if(o&&(t=Math.abs(t)),0==t)i=this.zeroWord;else if(t<20)i=1==t&&2==e?"una":1!=t||1!=e||n?this.lessTwenty[t]:"un";else if(t<100)i=t%10==0?this.tens[t/10|0]:2==(t/10|0)?"veinti"+this.convertToWord2(t%10,e,0,n):this.tens[t/10|0]+" y "+this.convertToWord2(t%10,e,0,n);else if(t<1e3){switch(t/100|0){case 1:i=100==t?"cien":"ciento";break;case 5:i=1==e?"quinientos":"quinientas";break;case 7:i=1==e?"setecientos":"setecientas";break;case 9:i=1==e?"novecientos":"novecientas";break;default:i=this.convertToWord2(t/100|0,e,0,n)+(1==e?"cientos":"cientas");break}t%100>0&&(i=i+" "+this.convertToWord2(t%100,e,0,n))}else i=t<1e6?1==Math.floor(t/1e3)?this.triplets[1][0]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,n)):this.convertToWord2(Math.floor(t/1e3),e,1,n)+this.triplets[1][1]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,n)):t<1e12?1==Math.floor(t/1e6)?this.convertToWord2(Math.floor(t/1e6),e,2,n)+this.triplets[2][0]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,n)):this.convertToWord2(Math.floor(t/1e6),e,2,n)+this.triplets[2][1]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,n)):t<1e18?1==Math.floor(t/1e12)?this.convertToWord2(Math.floor(t/1e12),e,2,n)+this.triplets[4][0]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,n)):this.convertToWord2(Math.floor(t/1e12),e,2,n)+this.triplets[4][1]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,n)):1==Math.floor(t/1e18)?this.convertToWord2(Math.floor(t/1e18),e,2,n)+this.triplets[6][0]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,n)):this.convertToWord2(Math.floor(t/1e18),e,2,n)+this.triplets[6][1]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,n));return o&&(i=this.lessWord+" "+i),i.trim()},t.zeroWord="cero",t.lessWord="menos",t.currencies=[["dólar","dólares","centavo","centavos"],["euro","euros","céntimo","céntimos"]],t}();e.Es=i,i.triplets=r.create2(String,7,2),i.lessTwenty=[],i.tens=[],i.triplets[0][0]="",i.triplets[1][0]=" mil",i.triplets[2][0]=" millón",i.triplets[3][0]=" mil milliones",i.triplets[4][0]=" billón",i.triplets[5][0]=" mil billón",i.triplets[6][0]=" trillón",i.triplets[0][1]="",i.triplets[1][1]=" mil",i.triplets[2][1]=" millones",i.triplets[3][1]=" mil milliones",i.triplets[4][1]=" billónes",i.triplets[5][1]=" mil billónes",i.triplets[6][1]=" trillónes",i.lessTwenty[0]="",i.lessTwenty[1]="uno",i.lessTwenty[2]="dos",i.lessTwenty[3]="tres",i.lessTwenty[4]="cuatro",i.lessTwenty[5]="cinco",i.lessTwenty[6]="seis",i.lessTwenty[7]="siete",i.lessTwenty[8]="ocho",i.lessTwenty[9]="nueve",i.lessTwenty[10]="diez",i.lessTwenty[11]="once",i.lessTwenty[12]="doce",i.lessTwenty[13]="trece",i.lessTwenty[14]="catorce",i.lessTwenty[15]="quince",i.lessTwenty[16]="dieciséis",i.lessTwenty[17]="diecisiete",i.lessTwenty[18]="dieciocho",i.lessTwenty[19]="diecinueve",i.tens[2]="veinte",i.tens[3]="treinta",i.tens[4]="cuarenta",i.tens[5]="cincuenta",i.tens[6]="sesenta",i.tens[7]="setenta",i.tens[8]="ochenta",i.tens[9]="noventa"}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(){function t(){}return t.convertToWord=function(t){t=Math.floor(t);var e=[],n=[],i="";if(0==(t=Math.abs(t)))return"صفر";while(1){var o=0,a=0;if(o=Math.floor(t/1e3),a=t%1e3,e.push(a),!(o>=1e3)){0!=o&&e.push(o);break}t=o}for(var s=0;s<=e.length-1;s++)n.push(this.changingNum(e[s]));for(var l=n.length-1;l>=0;l+=-1)if(5==l){if(!r.isNullOrEmpty(n[5])){if(r.isNullOrEmpty(n[4])&&r.isNullOrEmpty(n[3])&&r.isNullOrEmpty(n[2])&&r.isNullOrEmpty(n[1])&&r.isNullOrEmpty(n[0])){i+=n[5]+" بيليارد";break}i+=n[5]+" بيليارد و "}}else if(4==l){if(!r.isNullOrEmpty(n[4])){if(r.isNullOrEmpty(n[3])&&r.isNullOrEmpty(n[2])&&r.isNullOrEmpty(n[1])&&r.isNullOrEmpty(n[0])){i+=n[4]+" بيليون";break}i+=n[4]+" بيليون و "}}else if(3==l){if(!r.isNullOrEmpty(n[3])){if(r.isNullOrEmpty(n[2])&&r.isNullOrEmpty(n[1])&&r.isNullOrEmpty(n[0])){i+=n[3]+" ميليارد";break}i+=n[3]+" ميليارد و "}}else if(2==l){if(!r.isNullOrEmpty(n[2])){if(r.isNullOrEmpty(n[1])&&r.isNullOrEmpty(n[0])){i+=n[2]+" ميليون";break}i+=n[2]+" ميليون و "}}else if(1==l){if(!r.isNullOrEmpty(n[1])){if(r.isNullOrEmpty(n[0])){i+=n[1]+" هزار";break}i+=n[1]+" هزار و "}}else i+=n[0];return i},t.changingNum=function(t){var e=[],n="",i="",o="",a="";while(1){var s=0,l=0;if(s=Math.trunc(t/10),l=Math.trunc(t%10),e.push(l.toString()),!(s>=10)){e.push(s.toString());break}t=s}if(3==e.length)switch(e[2]){case"0":o="";break;case"1":o="صد";break;case"2":o="دويست";break;case"3":o="سيصد";break;case"4":o="چهارصد";break;case"5":o="پانصد";break;case"6":o="ششصد";break;case"7":o="هفتصد";break;case"8":o="هشتصد";break;case"9":o="نهصد";break}switch(e[0]){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(e[1]){case"0":i="";break;case"1":switch(e[0]){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}break;case"2":i="بيست";break;case"3":i="سي";break;case"4":i="چهل";break;case"5":i="پنجاه";break;case"6":i="شصت";break;case"7":i="هفتاد";break;case"8":i="هشتاد";break;case"9":i="نود";break}return r.isNullOrEmpty(o)?r.isNullOrEmpty(i)?a+=n:(a+=i,r.isNullOrEmpty(n)||(a+=" و "+n)):(a+=o,r.isNullOrEmpty(i)||(a+=" و "+i),r.isNullOrEmpty(n)||(a+=" و "+n)),a},t}();e.Fa=n}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.Globalization.CultureInfo,i=function(){function t(){}return t.convertToWord=function(t,r,i){var o=new n("fr-FR");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),t);var a=Math.trunc(t),s=Math.abs((t-a)*Math.pow(10,i));if(s>e.NumToWordHelper.maxValue)throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError",o),s);var l=this.convertToWord2(a,e.Resource.resourceManager.getString(r+"Gender",o).stimulsoft.toNumber(),0),u=this.convertToWord2(s,e.Resource.resourceManager.getString(r+"CentGender",o).stimulsoft.toNumber(),0),c="",p="",h="et",m={ref:c},f={ref:p},d;return e.NumToWordHelper.determinateCurrencies(o,r,a,s,m,f),c=m.ref,p=f.ref,e.NumToWordHelper.addWords(l,u,c,p,h).trim()},t.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;if(i&&(t=Math.abs(t)),0==t)n=this.zeroWord;else if(t<20)n=1==t&&2==e?this.lessTwentys[t]+"e":this.lessTwentys[t];else if(t<100){var o="";switch(t%10){case 0:switch(t/10|0){case 7:o="-";break;case 8:1!=r&&(o="s");break;case 9:o="-";break;default:o="";break}break;case 1:switch(t/10|0){case 8:o=" ";break;case 9:o=" ";break;default:o="-et-";break}break;default:o="-";break}n=this.tens[t/10|0]+o,7==(t/10|0)||9==(t/10|0)?(""==o&&(o=" "),n+=this.convertToWord2(t%10+10,e,0)):t%10!=0&&(n+=this.convertToWord2(t%10,e,0))}else if(t<1e3){switch(t/100|0){case 1:n="cent";break;default:n=this.convertToWord2(t/100|0,e,0)+" cent",t%100==0&&1!=r&&(n+="s");break}t%100>0&&(n=n+" "+this.convertToWord2(t%100,e,0))}else n=this.calculateOver(t,e);return i&&(n=this.lessWord+" "+n),n.trim()},t.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);t%o>0&&(n=this.convertToWord2(t%o,e,i));var a=Math.floor(t/o);switch(a){case 0:break;case 1:r=1==i?this.triplets[i][0]+" "+n:this.convertToWord2(a,e,i)+this.triplets[i][0]+" "+n;break;default:r=this.convertToWord2(a,e,i)+this.triplets[i][1]+" "+n;break}return r},t.zeroWord="zéro",t.lessWord="moins",t}();e.Fr=i,i.triplets=r.create2(String,7,2),i.lessTwentys=[],i.tens=[],i.triplets[0][0]="",i.triplets[1][0]=" mille",i.triplets[2][0]=" million",i.triplets[3][0]=" milliard",i.triplets[4][0]=" trillion",i.triplets[5][0]=" quadrillion",i.triplets[6][0]=" qunintillion",i.triplets[0][1]="",i.triplets[1][1]=" mille",i.triplets[2][1]=" millions",i.triplets[3][1]=" milliards",i.triplets[4][1]=" trillions",i.triplets[5][1]=" quadrillions",i.triplets[6][1]=" qunintillions",i.lessTwentys[0]="",i.lessTwentys[1]="un",i.lessTwentys[2]="deux",i.lessTwentys[3]="trois",i.lessTwentys[4]="quatre",i.lessTwentys[5]="cinq",i.lessTwentys[6]="six",i.lessTwentys[7]="sept",i.lessTwentys[8]="huit",i.lessTwentys[9]="neuf",i.lessTwentys[10]="dix",i.lessTwentys[11]="onze",i.lessTwentys[12]="douze",i.lessTwentys[13]="treize",i.lessTwentys[14]="quatorze",i.lessTwentys[15]="quinze",i.lessTwentys[16]="seize",i.lessTwentys[17]="dix-sept",i.lessTwentys[18]="dix-huit",i.lessTwentys[19]="dix-neuf",i.tens[2]="vingt",i.tens[3]="trente",i.tens[4]="quarante",i.tens[5]="cinquante",i.tens[6]="soixante",i.tens[7]="soixante",i.tens[8]="quatre-vingt",i.tens[9]="quatre-vingt"}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiArray,n=t.System.Globalization.CultureInfo,i=t.Report.Func.Resource,o=function(){function t(){}return t.convertToWord=function(t,r,o){var a=new n("nl-NL");if(t>e.NumToWordHelper.maxValue)throw e.NumToWordException(i.resourceManager.getString("TooLongError",a),t);var s=Math.trunc(t),l=Math.abs((t-s)*Math.pow(10,o));if(l>e.NumToWordHelper.maxValue)throw e.NumToWordException(i.resourceManager.getString("TooLongError",a),l);var u=this.convertToWord2(s,i.resourceManager.getString(r+"Gender",a).stimulsoft.toNumber(),0),c=this.convertToWord2(l,i.resourceManager.getString(r+"CentGender",a).stimulsoft.toNumber(),0),p="",h="",m="en",f={ref:p},d={ref:h},g;return e.NumToWordHelper.determinateCurrencies(a,r,s,l,f,d),h=d.ref,p=f.ref,e.NumToWordHelper.addWords(u,c,p,h,m).trim()},t.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;return i&&(t=Math.abs(t)),0==t?n=this.zeroWord:t<20?n=this.lessTwenty[t]:t<100?n=t%10==0?this.tens[t/10|0]:this.convertToWord2(t%10,e,0)+" en "+this.tens[t/10|0]:t<1e3?(n=this.convertToWord2(t/100|0,e,0)+" Honderd",t%100>0&&(n=n+", "+this.convertToWord2(t%100,e,0))):n=this.calculateOver(t,e),i&&(n=this.lessWord+" "+n),n.trim()},t.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);t%o>0&&(n=this.convertToWord2(t%o,e,i));var a=Math.floor(t/o);switch(a){case 0:break;default:r=this.convertToWord2(a,e,i)+this.triplets[i][0]+" "+n;break}return r},t.zeroWord="nul",t.lessWord="minus",t}();e.Nl=o,o.triplets=r.create2(String,7,2),o.lessTwenty=[],o.tens=[],o.triplets[0][0]="",o.triplets[1][0]=" duizend",o.triplets[2][0]=" miljoen",o.triplets[3][0]=" miljard",o.triplets[4][0]=" biljoen",o.triplets[5][0]=" biljard",o.triplets[6][0]=" triljoen",o.triplets[0][1]="",o.triplets[1][1]=" duizend",o.triplets[2][1]=" miljoen",o.triplets[3][1]=" miljard",o.triplets[4][1]=" biljoen",o.triplets[5][1]=" biljard",o.triplets[6][1]=" triljoen",o.lessTwenty[0]="",o.lessTwenty[1]="een",o.lessTwenty[2]="twee",o.lessTwenty[3]="drie",o.lessTwenty[4]="vier",o.lessTwenty[5]="vijf",o.lessTwenty[6]="zes",o.lessTwenty[7]="zeven",o.lessTwenty[8]="acht",o.lessTwenty[9]="negen",o.lessTwenty[10]="tien",o.lessTwenty[11]="elf",o.lessTwenty[12]="twaalf",o.lessTwenty[13]="dertien",o.lessTwenty[14]="veertien",o.lessTwenty[15]="vijftien",o.lessTwenty[16]="zestien",o.lessTwenty[17]="zeventien",o.lessTwenty[18]="achtien",o.lessTwenty[19]="negentien",o.tens[2]="twintig",o.tens[3]="dertig",o.tens[4]="veertig",o.tens[5]="vijftig",o.tens[6]="zestig",o.tens[7]="zeventig",o.tens[8]="tachtig",o.tens[9]="negentig"}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Text.StringBuilder,i=function(){function t(){}return t.numToStr=function(t,e){var r;if(0==(t=Math.floor(t)))r="zero ";else{var i=new n,o=!1;t<0&&(o=!0,t=Math.abs(t));var a=1e18,s={refRank:a,refValue:t};this.addRank(i,s,this.quintillion),this.addRank(i,s,this.quadrillion),this.addRank(i,s,this.trillion),this.addRank(i,s,this.billion),this.addRank(i,s,this.million),this.addRank(i,s,this.thousends),this.addRank(i,s,null),a=s.refRank,t=s.refValue,r=i.toString(),o&&(r="minus "+r)}return e&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r.trim()},t.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},t.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},t.addHundreds=function(t,e){0!=e&&t.append(this.hundreds[e-1])},t.addRank=function(t,e,r){var n=e.refRank,i=e.refValue,o=Math.floor(i/n);if(o>0){var a=Math.floor(o/100),s=Math.floor(o/10)%10,l=o%10;if(1==s&&(s=0,l=o%100),t.length>0&&(a>0||s+l>0)&&t.append(" "),a>0&&(this.addHundreds(t,a),s+l>0&&t.append(" ")),s>0&&(this.addTens(t,s),l>0&&t.append(" ")),l>0&&this.addUnits(t,l),t.append(" "),null!=r)switch(l){case 0:case 1:0==s&&0==a?t.append(r[0]):t.append(r[2]);break;case 2:case 3:case 4:t.append(r[1]);break;default:t.append(r[2]);break}i%=n}n=Math.floor(n/1e3),e.refRank=n,e.refValue=i},t.decline2=function(t,e){var r=t%10,n=Math.floor(t/10);switch(r){case 1:return 1==n?e[2]:e[0];case 2:case 3:case 4:return 1==n?e[2]:e[1];default:return e[2]}},t.decline=function(t,e,r,n){return e?this.decline2(t,n):this.decline2(t,r)},t.currToStr2=function(t,e,r,n,i){var o=Math.floor(t),a=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?(a=Math.round(100*(t-o)))>99&&(a=0,o++):a=100*(t-o);var s=this.numToStr(o,e)+" "+this.decline(o,!1,n,i);return r&&(s+=" i "+this.numToStr(a,!1)+" "+this.decline(a,!0,n,i)),s},t.currToStr=function(t,e,r,n){switch(e){case"USD":return this.currToStr2(t,n,r,this.dollar,this.cent);case"EUR":return this.currToStr2(t,n,r,this.euro,this.cent);default:return this.currToStr2(t,n,r,this.zloty,this.grosz)}},t.dateToStr=function(t,e){var n=r.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(n=n[0].toUpperCase()+n.substr(1)),n},t.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"],t.tens=["dziesięć","dwadzieścia","trzydzieści","czterdzieści","pięćdziesiąt","sześćdziesiąt","siedemdziesiąt","osiemdziesiąt","dziewięćdziesiąt"],t.hundreds=["sto","dwieście","trzysta","czterysta","pięćset","sześćset","siedemset","osiemset","dziewięćset"],t.thousends=["tysiąc","tysiące","tysięcy"],t.million=["milion","miliony","milionów"],t.billion=["miliard","miliardy","miliardów"],t.trillion=["bilion","biliony","bilionów"],t.quadrillion=["biliard","biliardy","biliardów"],t.quintillion=["trylion","tryliony","trylionów"],t.zloty=["złoty","złote","złotych"],t.grosz=["grosz","grosze","groszy"],t.dollar=["dolar","dolary","dolarów"],t.cent=["cent","centy","centów"],t.euro=["euro","euro","euro"],t.months=["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],t}();e.Pl=i}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Text.StringBuilder,i=function(){function t(){}return t.numToStr=function(t,e){var r=(t=Math.floor(t))>=1e3,i;if(0==t)i="zero";else{var o=new n,a=!1;t<0&&(a=!0,t=Math.abs(t));var s=1e18,l={ref:s},u={ref:t};this.addRank(o,l,u,u.ref.toString().stimulsoft.startsWith("1")?"quintilião":"quintiliões",r),this.addRank(o,l,u,u.ref.toString().stimulsoft.startsWith("1")?"quadrilião":"quadriliões",r),this.addRank(o,l,u,u.ref.toString().stimulsoft.startsWith("1")?"trilião":"triliões",r),this.addRank(o,l,u,u.ref.toString().stimulsoft.startsWith("1")?"bilião":"biliões",r),this.addRank(o,l,u,u.ref.toString().stimulsoft.startsWith("1")?"milhão":"milhões",r),this.addRank(o,l,u,"mil",r),this.addRank(o,l,u,"",r),s=l.ref,t=u.ref,i=o.toString(),a&&(i="menos "+i)}return e&&(i=i.charAt(0).toUpperCase()+i.substr(1)),i},t.addRank=function(t,e,r,n,i){var o=e.ref,a=r.ref,s=a/o|0;if(s>0){var l=s/100|0,u=(s/10|0)%10,c=s%10;if(1==u&&(u=0,c=s%100),t.length>0&&(l>0?i&&u+c==0?t.append(" e "):t.append(" "):u+c>0&&t.append(" e ")),l>0){switch(l){case 1:u+c>0?t.append("cento"):t.append("cem");break;case 2:t.append("duzentos");break;case 3:t.append("trezentos");break;case 4:t.append("quatrocentos");break;case 5:t.append("quinhentos");break;case 6:t.append("seiscentos");break;case 7:t.append("setecentos");break;case 8:t.append("oitocentos");break;case 9:t.append("novecentos");break}u+c>0&&t.append(" e ")}u>0&&(this.addTens(t,u),""!=n&&0==c&&t.append(" "),c>0&&t.append(" e ")),(i&&c>1||c>0&&""==n)&&this.addUnits(t,c),0!=t.length&&" "!=t.toString()[t.length-1]&&t.append(" "),t.append(n),a%=o}o=Math.floor(o/1e3),e.ref=o,r.ref=a},t.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},t.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},t.decline=function(t,e,r,n){if(e){var i=n.split("/");return this.decline2(t,i[0],i[1])}var o=r.split("/");return this.decline2(t,o[0],o[1])},t.decline2=function(t,e,r){var n;if(1==t%100)return e;return r},t.currToStr=function(t,e,n){var i="euro/euros",o="cêntimo/cêntimos",a=this.numToStr(t,e);if(0==t&&(a+=" "),a.stimulsoft.endsWith(" ")||(a+=" "),a=r.format("{0}{1}",a,this.decline(t,!1,i,o)),n){a+=" e ";var s=0;s=StiOptions.Engine.useRoundForToCurrencyWordsFunctions?Math.round(100*(t-t)):100*(t-t),a+=r.format("{0}",this.numToStr(s,!1)),0==s&&(a+=" "),a+=r.format("{0}",this.decline(s,!0,i,o))}return a},t.dateToStr=function(t){return r.format("{0} de {1} de {2}",t.day,this.months[t.month-1],t.year)},t.units=["um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze","doze","treze","catorze","quinze","dezasseis","dezassete","dezoito","dezanove"],t.tens=["dez","vinte","trinta","quarenta","cinquenta","sessenta","setenta","oitenta","noventa"],t.months=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],t}();e.Pt=i}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(){function t(){}return t.numToStr=function(t){var e=[],n=["","","","",""],i=r.customFormat(t,"0000000000.00");e[1]=i.substr(1,3),e[2]=i.substr(4,3),e[3]=i.substr(7,3),e[4]="0"+i.substr(11,2);for(var o=1;o<=4;o++){var a=e[o],s=a.stimulsoft.toNumber(),l=s<10?1:s<100?2:s<1e3?3:0;3==l&&(a.stimulsoft.endsWith("00")?n[o]+=a.stimulsoft.startsWith("1")?"CEM ":this.centena[a.substr(0,1).stimulsoft.toNumber()]:(n[o]+=this.centena[a.substr(0,1).stimulsoft.toNumber()]+"E ",l=2)),2==l&&(a.substr(1,2).stimulsoft.toNumber()<20?n[o]+=this.unid[a.substr(1,2).stimulsoft.toNumber()]:(n[o]+=this.dezena[a.substr(1,1).stimulsoft.toNumber()],a.stimulsoft.endsWith("0")||(n[o]+="E ",l=1))),1==l&&(n[o]+=this.unid[a.substr(2,1).stimulsoft.toNumber()])}var u="";0==(e[1]+e[2]+e[3]).stimulsoft.toNumber()&&0!=e[4].stimulsoft.toNumber()?u=n[4]+(1==e[4].stimulsoft.toNumber()?"CENTAVO":"CENTAVOS"):(u=0!=e[1].stimulsoft.toNumber()?n[1]+(e[1].stimulsoft.toNumber()>1?"MILHÕES ":"MILHÃO "):"",0==(e[2]+e[3]).stimulsoft.toNumber()?u+="DE ":u+=0!=e[2].stimulsoft.toNumber()?n[2]+"MIL ":"",u+=n[3]+(1==(e[1]+e[2]+e[3]).stimulsoft.toNumber()?"REAL ":"REAIS "),u+=0!=e[4].stimulsoft.toNumber()?"E "+n[4]+(1==e[4].stimulsoft.toNumber()?"CENTAVO":"CENTAVOS"):"");var c="";return(c=0==t?this.unid[0]:u.trim()).toLowerCase()},t.unid=["ZERO ","UM ","DOIS ","TRÊS ","QUATRO ","CINCO ","SEIS ","SETE ","OITO ","NOVE ","DEZ ","ONZE ","DOZE ","TREZE ","CATORZE ","QUINZE ","DEZESSEIS ","DEZESSETE ","DEZOITO ","DEZENOVE "],t.dezena=["ZERO ","DEZ ","VINTE ","TRINTA ","QUARENTA ","CINQÜENTA ","SESSENTA ","SETENTA ","OITENTA ","NOVENTA "],t.centena=["ZERO ","CENTO ","DUZENTOS ","TREZENTOS ","QUATROCENTOS ","QUINHENTOS ","SEISCENTOS ","SETECENTOS ","OITOCENTOS ","NOVECENTOS "],t}();e.PtBr=n}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Text.StringBuilder,i=t.System.Collections.Hashtable,o=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["рубль","рубля","рублей"],e._cents=["копейка","копейки","копеек"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),a=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["доллар","доллара","долларов"],e._cents=["цент","цента","центов"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),s=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["евро","евро","евро"],e._cents=["цент","цента","центов"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Neutral},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),l=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["гривна","гривны","гривен"],e._cents=["копейка","копейки","копеек"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),u=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["тенге","тенге","тенге"],e._cents=["тиын","тиына","тиынов"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),c=function(){function t(){}return t.registerCurrency=function(t,e){this.currencies.set(e.toUpperCase(),t)},t.getCurrency=function(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw r.format("Currency '{0}' is not registered",t);return e},t.addUnits=function(t,e,r){0!=e&&(t.length>0&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))},t.addTens=function(t,e){0!=e&&(t.length>0&&t.append(" "),t.append(this.tens[e-1]))},t.addHundreds=function(t,e){0!=e&&(t.length>0&&t.append(" "),t.append(this.hundreds[e-1]))},t.addThousand=function(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))},t.addRank=function(t,e,r,n,i,o,a){var s=e.ref,l=r.ref,u=l/s|0;if(u>0){this.addThousand(t,u,a);var c=u%10,p=u%100,h="";h=p>=11&&p<20?o:1==c?n:c>1&&c<5?i:o,u>10&&u<20&&(h=o),t.length>0&&t.append(" "),t.append(h),l%=s}s=Math.floor(s/1e3),e.ref=s,r.ref=l},t.numToStr=function(t,r,i){void 0===r&&(r=!0),void 0===i&&(i=e.Gender.Masculine),t=Math.floor(t);var o=new n;if(0==t)o.append("ноль");else{t<0&&(o.append("минус"),t=Math.abs(t));var a=1e18,s={ref:a},l={ref:t};this.addRank(o,s,l,"квинтильон","квинтильона","квинтильонов",e.Gender.Masculine),this.addRank(o,s,l,"квадрильон","квадрильона","квадрильонов",e.Gender.Masculine),this.addRank(o,s,l,"триллион","триллиона","триллионов",e.Gender.Masculine),this.addRank(o,s,l,"миллиард","миллиарда","миллиардов",e.Gender.Masculine),this.addRank(o,s,l,"миллион","миллиона","миллионов",e.Gender.Masculine),this.addRank(o,s,l,"тысяча","тысячи","тысяч",e.Gender.Feminine),a=s.ref,t=l.ref,this.addThousand(o,t,i)}var u=o.toString();return r&&(u=u.charAt(0).toUpperCase()+u.substr(1)),u},t.currToStr=function(t,e,n,i){void 0===e&&(e=!0),void 0===n&&(n="RUR"),void 0===i&&(i=!0);var o=Math.trunc(t),a=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?(a=Math.round(100*(t-o)))>99&&(a=0,o++):a=100*(t-o);var s=r.format("{0} {1}",this.numToStr(o,e,this.getCurrency(n).gender),this.decline(o,n));return i&&(s+=r.format(" {0:d2}",a),s+=r.format(" {0}",this.decline(a,n,!0))),s},t.decline2=function(t,e,r,n){var i=t%100;if(i>=10&&i<20)return n;if(1==(i%=10))return e;if(i>1&&i<5)return r;return n},t.decline=function(t,e,r){void 0===r&&(r=!1);var n=this.getCurrency(e);return r?this.decline2(t,n.centOne,n.centTwo,n.centFive):this.decline2(t,n.dollarOne,n.dollarTwo,n.dollarFive)},t.dateToStr=function(t,e){void 0===e&&(e=!1);var n=r.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(n=n[0].toUpperCase()+n.substr(1)),n},t.currencies=new i,t.months=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],t.units=["один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],t.tens=["десять","двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],t.hundreds=["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],t.gendered=[["один","одна","одно"],["два","две","два"]],t}();e.Ru=c,c.registerCurrency(new s,"EUR"),c.registerCurrency(new a,"USD"),c.registerCurrency(new o,"RUR"),c.registerCurrency(new l,"UAH"),c.registerCurrency(new u,"KZT")}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=function(){function e(){}return e.numToStr=function(n){for(var i=r.customFormat(n,"000000000000000000.00").replace(".",","),o=i.substr(0,i.indexOf(",")),a="",s=6,l,u=0;u<3*s;u+=3)l="","0"!=o.substr(u,1)&&(l+=e.Birler[t.System.Convert.toInt32(o.substr(u,1))]+"Yüz"),"BirYüz"==l&&(l="Yüz"),l+=e.Onlar[t.System.Convert.toInt32(o.substr(u+1,1))],""!=(l+=e.Birler[t.System.Convert.toInt32(o.substr(u+2,1))])&&(l+=e.Binler[u/3]),"BirBin"==l&&(l="Bin"),a+=l;return a},e.currToStr=function(n,i,o){void 0===i&&(i="TL/Kr."),void 0===o&&(o=!0);var a=r.customFormat(n,"0.00").replace(".",","),s=a.substr(a.indexOf(",")+1,2),l=i.split("/"),u=e.numToStr(n);u.length>0&&(u+=" "+l[0]+" ");var c=u.length;return"0"!=s.substr(0,1)&&(u+=e.Onlar[t.System.Convert.toInt32(s.substr(0,1))]),"0"!=s.substr(1,1)&&(u+=e.Birler[t.System.Convert.toInt32(s.substr(1,1))]),u.length>c?u+=" "+l[1]:o&&(u+="Sıfır "+l[1]),u},e.Birler=["","Bir","İki","Üç","Dört","Beş","Altı","Yedi","Sekiz","Dokuz"],e.Onlar=["","On","Yirmi","Otuz","Kırk","Elli","Altmış","Yetmiş","Seksen","Doksan"],e.Binler=["Katrilyon","Trilyon","Milyar","Milyon","Bin",""],e}();e.Tr=n}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Text.StringBuilder,i=t.System.Collections.Hashtable,o=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["рубль","рубля","рублів"],e._cents=["копійка","копійки","копійок"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),a=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["долар","долара","доларів"],e._cents=["цент","цента","центів"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),s=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["євро","євро","євро"],e._cents=["цент","цента","центів"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Neutral},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),l=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._dollars=["гривня","гривні","гривень"],e._cents=["копійка","копійки","копійок"],e}return __extends(r,t),Object.defineProperty(r.prototype,"gender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"centsGender",{get:function(){return e.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r}(e.Currency),u=function(){function t(){}return t.registerCurrency=function(t,e){this.currencies.set(e.toUpperCase(),t)},t.getCurrency=function(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw r.format("Currency '{0}' is not registered",t);return e},t.addUnits=function(t,e,r){0!=e&&(t.length>0&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))},t.addTens=function(t,e){0!=e&&(t.length>0&&t.append(" "),t.append(this.tens[e-1]))},t.addHundreds=function(t,e){0!=e&&(t.length>0&&t.append(" "),t.append(this.hundreds[e-1]))},t.addThousand=function(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))},t.addRank=function(t,e,r,n,i,o,a){var s=e.ref,l=r.ref,u=l/s|0;if(u>0){this.addThousand(t,u,a);var c=u%10,p="";p=1==c?n:c>1&&c<5?i:o,u>10&&u<20&&(p=o),t.length>0&&t.append(" "),t.append(p),l%=s}s=Math.floor(s/1e3),e.ref=s,r.ref=l},t.numToStr=function(t,r,i){void 0===r&&(r=!0),void 0===i&&(i=e.Gender.Masculine),t=Math.floor(t);var o=new n;if(0==t)o.append("ноль");else{t<0&&(o.append("минус"),t=Math.abs(t));var a=1e18,s={ref:a},l={ref:t};this.addRank(o,s,l,"квінтильйон","квінтильйона","квінтильйонів",e.Gender.Masculine),this.addRank(o,s,l,"квадрильйон","квадрильйона","квадрильйонів",e.Gender.Masculine),this.addRank(o,s,l,"трильйон","трильйона","трильйонів",e.Gender.Masculine),this.addRank(o,s,l,"мільярд","мільярда","мільярдів",e.Gender.Masculine),this.addRank(o,s,l,"мільйон","мільйона","мільйонів",e.Gender.Masculine),this.addRank(o,s,l,"тисяча","тисячі","тисяч",e.Gender.Feminine),a=s.ref,t=l.ref,this.addThousand(o,t,i)}var u=o.toString();return r&&(u=u.charAt(0).toUpperCase()+u.substr(1)),u},t.currToStr=function(t,e,n,i){void 0===e&&(e=!0),void 0===n&&(n="UAH"),void 0===i&&(i=!0);var o=Math.trunc(t),a=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?(a=Math.round(100*(t-o)))>99&&(a=0,o++):a=100*(t-o);var s=r.format("{0} {1}",this.numToStr(o,e,this.getCurrency(n).gender),this.decline(o,n));return i&&(s+=r.format(" {0:d2}",a),s+=r.format(" {0}",this.decline(a,n,!0))),s},t.decline2=function(t,e,r,n){var i=t%100;if(i>=10&&i<20)return n;if(1==(i%=10))return e;if(i>1&&i<5)return r;return n},t.decline=function(t,e,r){void 0===r&&(r=!1);var n=this.getCurrency(e);return r?this.decline2(t,n.centOne,n.centTwo,n.centFive):this.decline2(t,n.dollarOne,n.dollarTwo,n.dollarFive)},t.dateToStr=function(t,e){void 0===e&&(e=!1);var n=r.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(n=n[0].toUpperCase()+n.substr(1)),n},t.currencies=new i,t.months=["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"],t.units=["один","два","три","чотири","п'ять","шість","сім","вісім","дев'ять","десять","одинадцять","дванадцять","тринадцять","чотирнадцять","п'ятнадцять","шістнадцять","сімнадцять","вісімнадцять","дев'ятнадцять"],t.tens=["десять","двадцять","тридцять","сорок","п'ятдесят","шістдесят","сімдесят","вісімдесят","дев'яносто"],t.hundreds=["сто","двісті","триста","чотириста","п'ятсот","шістсот","сімсот","вісімсот","дев'ятсот"],t.gendered=[["один","одна","одне"],["два","дві","два"]],t}();e.Ua=u,u.registerCurrency(new s,"EUR"),u.registerCurrency(new a,"USD"),u.registerCurrency(new o,"RUR"),u.registerCurrency(new l,"UAH")}(r=e.Func||(e.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.toWordsZh=function(t){if((t=Math.floor(t))<=0)return"你输入的数字格式不正确或不是数字!";var e=t.toString(),r=this.numberString(e);return r=r.stimulsoft.replaceAll("零零","零")},t.toCurrencyWordsZh=function(t){if(t<=0)return"你输入的数字格式不正确或不是数字!";var e,r,n=(t=Math.round2(t,2)).toString().split(".");return 1==n.length?e=(e=this.numberString(n[0])+"元整").stimulsoft.replaceAll("零零","零"):(e=this.numberString(n[0])+"元",e=(e+=this.floatString(n[1])).stimulsoft.replaceAll("零零","零")),e},t.floatString=function(t){var e;t.length>2&&(t=t.substr(0,2));var r=this.convertString(t),n;return 0!=r.indexOf("零")?1==(r=r.stimulsoft.replaceAll("零","")).length?e=r.substr(0,1)+"角整":(e=r.substr(0,1)+"角",e+=r.substr(1,1)+"分"):e=r+"分",e},t.numberString=function(t){var e="";return t.length<=4?e=this.convert4(t):t.length>4&&t.length<=8?(e=this.convert4(t.substr(0,t.length-4))+"万",e+=this.convert4(t.substr(t.length-4,4))):t.length>8&&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},t.convert4=function(t){var 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{var r=(e=this.convertString(t)).substr(0,4);if("零零零零"!=r)if("零零零"!=(r=e.substr(0,3)))if(1==(e=e.stimulsoft.replaceAll("零零零","")).length)e=e.substr(0,1)+"仟";else{var n=void 0;n="零"!=e.substr(0,1)&&"零"!=e.substr(0,2)?e.substr(0,1)+"仟":e.substr(0,1),e=n+this.convert3(e.substr(1,3))}else e=e.stimulsoft.replaceAll("零零零","零");else e=e.stimulsoft.replaceAll("零零零零","")}return e},t.convertString=function(t){for(var e="",r=0;r0){var i=new o,a=0;try{for(var s=__values(this.items.list),l=s.next();!l.done;l=s.next()){var u=l.value;i.addPropertyJObject(a.toString(),u.saveToJsonObject(t)),a++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}n.addPropertyJObject("Items",i)}return n},t.prototype.loadFromJsonObject=function(t){var r,n,i,o;try{for(var a=__values(t.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"CultureName":this._cultureName=l.value.toString();break;case"Items":try{for(var u=(i=void 0,__values(l.value.properties())),c=u.next();!c.done;c=u.next()){var p=c.value,h=new e.StiGlobalizationItem;h.loadFromJsonObject(p.value),this.items.add(h)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},t.prototype.loadFromXmlObject=function(t){for(var r,n,i=0;i-1?t.substr(0,e):t},n.prototype.localizeReport=function(t){var e=this.getByName(t);if(null==e&&(e=this.getByName(this.getShortName(t))),null==e&&!this.skipException)throw r.format("Can't find globalized strings for culture {0}",t);null!=e&&e.localizeReport(this.report)},n.prototype.localizeReport2=function(t){this.localizeReport(t.name)},n.prototype.fillItemsFromReport=function(){var t,e;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i;n.value.fillItemsFromReport(this.report)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},n.prototype.removeUnlocalizedItemsFromReport=function(){var t,e;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i;n.value.removeUnlocalizedItemsFromReport(this.report)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},n.prototype.removeComponent=function(t){var n,i,o,a,s=t.stimulsoft.as(e.IStiGlobalizationProvider);if(null!=s){var l=s.getAllStrings();try{for(var u=__values(l),c=u.next();!c.done;c=u.next()){var p=c.value,h=r.format("{0}.{1}",t.name,p);try{for(var m=(o=void 0,__values(this.list)),f=m.next();!f.done;f=m.next()){var d=f.value,g=0;while(g=1e3)++o,a/=1e3;if(o<0||o>21)s=t;else{switch(o){case 1:n="K";break;case 2:n="M";break;case 3:n="B";break;case 4:n="T";break;case 5:n="q";break;case 6:n="Q";break;case 7:n="s";break;case 8:n="S";break;case 9:n="O";break}if(s=t/Math.pow(1e3,o),r){s=Math.trunc(s);var l=Math.round2(t/Math.pow(1e3,o),2);s+=l-Math.trunc(l)}}return i&&(s=-s),e.ref=n,s},e}();e.StiAbbreviationNumberFormatHelper=r}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.List,n=function(){function t(){}return t.dataExts=new r(["xlsx","xls","csv","dbf","json","xml","xsd"]),t.imageExts=new r(["gif","png","jpeg","jpg","bmp","tiff","ico","emf","wmf","svg"]),t.reportExts=new r(["mrt","mrz","mdc","mdz"]),t.textExts=new r(["rtf","txt"]),t.documentExts=new r(["pdf","doc","docx"]),t.fontExts=new r(["ttf","otf","ttc","eot","woff"]),t}();e.StiFileDialogHelper=n}(r=e.Helpers||(e.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.GraphicsUnit,n=t.System.Drawing.FontStyle,i=t.System.Enum,o=function(t){function o(e,r,n,i){var o=t.call(this)||this;return o.fontName=e,o.fontSize=r,o.fontStyle=n,o.unit=i,o}return __extends(o,t),o.prototype.saveToJsonObject=function(e){var o=t.prototype.saveToJsonObject.call(this,e);return o.addPropertyString("FontName",this.fontName),o.addPropertyNumberNoDefaultValue("FontSize",this.fontSize),o.addPropertyString("FontStyle",i.getName(n,this.fontStyle)),o.addPropertyString("Unit",i.getName(r,this.unit)),o},o.changeFontSize=function(t,e){return e<1&&(e=1),new o(t.fontFamily.name,e,t.style,t.unit)},Object.defineProperty(o.prototype,"type",{get:function(){return e.StiGeomType.Font},enumerable:!1,configurable:!0}),o.create=function(t){return new o(t.fontFamily.name,t.size,t.style,t.unit)},o}(e.StiGeom);e.StiFontGeom=o}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Drawing.StringAlignment,n=t.System.Drawing.StringFormatFlags,i=t.System.Drawing.StringTrimming,o=t.Base.Context.StiFontGeom,a=t.System.NodeJs,s=t.System.Drawing.Image,l=t.Report.Helpers.StiFontIconGroup,u=t.Report.Helpers.StiFontIcons,c=t.Report.Helpers.StiFontIconSet,p=t.System.Collections.List,h=t.System.Text.StringBuilder,m=t.System.Xml.XmlTextWriter,f=t.System.Text.Encoding,d=t.System.Drawing.Font,g=t.System.StiString,S=t.System.Drawing.Imaging.ImageFormat,y=t.System.Drawing.Graphics,A=function(){function e(){}return e.convertFontIconToImage=function(r,n,i,o,l){void 0===l&&(l=null);var u=new s;if(!a.useWebKit)return u;var c=document.createElement("canvas");c.width=i,c.height=o;var p=new m(f.UTF8);e.writeFontIconImage(p,n,r,i,o,l);var h,d="",y=g.format('{3}{2}',i,o,p.textWriter.getStringBuilder().toString(),d);canvgv2(c,y);var A=c.toDataURL(S.Png.mimeType);return u.base64=A,u},e.writeFontIconImage=function(t,e,r,n,i,o){void 0===o&&(o=null);var a=this.getContent(r),s=y.measureString(a,new d("Stimulsoft",1e3)),l=n/s.width,u=i/s.height,c=Math.min(l,u),p=new d("Stimulsoft",Math.ceil(1100*c));t.writeStartElement("g"),t.writeStartElement("text");var m=new h;t.writeAttributeString("dy",null!=o?o:"1em"),t.writeAttributeString("x","45%"),t.writeAttributeString("text-anchor","middle"),m.append(g.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b)),255!=e.a&&m.append(g.format("fill-opacity:{0}",Math.round2(e.a/255,3).toString().stimulsoft.replaceAll(",","."))),t.writeAttributeString("style",m.toString()),t.writeAttributeString("font-size",p.size.toString().stimulsoft.replaceAll(",",".")),t.writeAttributeString("font-family",p.fontFamily.name),t.writeString(a),t.writeEndElement(),t.writeEndElement()},e.convertFontIconToImageAsync=function(e,r,n,i,o){return void 0===o&&(o=null),__awaiter(this,void 0,void 0,(function(){var l,u,c,p,A,b,v,C,w,B,I,T,E,R;return __generator(this,(function(D){if(l=new s,!a.useWebKit)return[2,l];return(u=document.createElement("canvas")).width=n,u.height=i,c=this.getContent(e),p=y.measureString(c,new d("Stimulsoft",1e3)),A=n/p.width,b=i/p.height,v=Math.min(A,b),C=new d("Stimulsoft",Math.ceil(1100*v)),(w=new m(f.UTF8)).writeStartElement("g"),w.writeStartElement("text"),B=new h,w.writeAttributeString("dy",null!=o?o:"1em"),w.writeAttributeString("x","45%"),w.writeAttributeString("text-anchor","middle"),B.append(g.format("fill:#{0:X2}{1:X2}{2:X2};",r.r,r.g,r.b)),255!=r.a&&B.append(g.format("fill-opacity:{0}",Math.round2(r.a/255,3).toString().stimulsoft.replaceAll(",","."))),w.writeAttributeString("style",B.toString()),w.writeAttributeString("font-size",C.size.toString().stimulsoft.replaceAll(",",".")),w.writeAttributeString("font-family",C.fontFamily.name),w.writeString(c),w.writeEndElement(),w.writeEndElement(),I=t.Report.Resources.StimulsoftFont.getBase64Content(),T="",E=g.format('{3}{2}',n,i,w.textWriter.getStringBuilder().toString(),T),canvgv2(u,E),R=u.toDataURL(S.Png.mimeType),l.base64=R,[2,l]}))}))},e.getContent=function(t){var e=this.getNetContent(t),r=parseInt(e,16);return String.fromCharCode(r)},e.getNetContent=function(t){switch(t){case u.ArrowDown:return"e900";case u.ArrowRight:return"e901";case u.ArrowRightDown:return"e902";case u.ArrowRightUp:return"e903";case u.ArrowUp:return"e904";case u.Check:return"e905";case u.Circle:return"e906";case u.CircleCheck:return"e907";case u.CircleCross:return"e908";case u.CircleExclamation:return"e909";case u.Cross:return"e90a";case u.Exclamation:return"e90b";case u.Flag:return"e90c";case u.Latin1:return"e90d";case u.Latin2:return"e90e";case u.Latin3:return"e90f";case u.Latin4:return"e910";case u.Latin5:return"e92b";case u.Minus:return"e911";case u.QuarterFull:return"e912";case u.QuarterHalf:return"e913";case u.QuarterNone:return"e914";case u.QuarterQuarter:return"e915";case u.QuarterThreeFourth:return"e916";case u.Rating0:return"e917";case u.Rating1:return"e918";case u.Rating2:return"e919";case u.Rating3:return"e91a";case u.Rating4:return"e91b";case u.Rhomb:return"e91c";case u.Square0:return"e91d";case u.Square1:return"e91e";case u.Square2:return"e91f";case u.Square3:return"e920";case u.Square4:return"e921";case u.StarFull:return"e922";case u.StarHalf:return"e923";case u.StarNone:return"e924";case u.StarQuarter:return"e925";case u.StarThreeFourth:return"e926";case u.Triangle:return"e927";case u.TriangleDown:return"e928";case u.TriangleUp:return"e929";case u.Home:return"e92a";case u.Cart:return"e93a";case u.Phone:return"e942";case u.UserTie:return"e976";case u.Mobile:return"e958";case u.Mug:return"e9a2";case u.Airplane:return"e9af";case u.Truck:return"e9b0";case u.Earth:return"e9ca";case u.Man:return"e9dc";case u.Woman:return"e9dd";case u.ManWoman:return"e9de";case u.Appleinc:return"eabe";case u.Windows8:return"eac2";case u.Glass:return"f000";case u.Music:return"f001";case u.Search:return"f002";case u.EnvelopeO:return"f003";case u.Heart:return"f004";case u.Star:return"f005";case u.StarO:return"f006";case u.User:return"f007";case u.Film:return"f008";case u.ThLarge:return"f009";case u.Th:return"f00a";case u.ThList:return"f00b";case u.Times:return"f00d";case u.SearchPlus:return"f00e";case u.SearchMinus:return"f010";case u.PowerOff:return"f011";case u.Signal:return"f012";case u.Cog:return"f013";case u.TrashO:return"f014";case u.FileO:return"f016";case u.ClockO:return"f017";case u.Road:return"f018";case u.Download:return"f019";case u.ArrowCircleODown:return"f01a";case u.ArrowCircleOUp:return"f01b";case u.Inbox:return"f01c";case u.PlayCircleO:return"f01d";case u.Repeat:return"f01e";case u.Refresh:return"f021";case u.ListAlt:return"f022";case u.Lock:return"f023";case u.FAFlag:return"f024";case u.Headphones:return"f025";case u.VolumeOff:return"f026";case u.VolumeDown:return"f027";case u.VolumeUp:return"f028";case u.Qrcode:return"f029";case u.Barcode:return"f02a";case u.Tag:return"f02b";case u.Tags:return"f02c";case u.Book:return"f02d";case u.Bookmark:return"f02e";case u.Print:return"f02f";case u.Camera:return"f030";case u.Font:return"f031";case u.Bold:return"f032";case u.Italic:return"f033";case u.TextHeight:return"f034";case u.TextWidth:return"f035";case u.AlignLeft:return"f036";case u.AlignCenter:return"f037";case u.AlignRight:return"f038";case u.AlignJustify:return"f039";case u.List:return"f03a";case u.Outdent:return"f03b";case u.Indent:return"f03c";case u.VideoCamera:return"f03d";case u.PictureO:return"f03e";case u.Pencil:return"f040";case u.MapMarker:return"f041";case u.Adjust:return"f042";case u.Tint:return"f043";case u.PencilSquareO:return"f044";case u.ShareSquareO:return"f045";case u.CheckSquareO:return"f046";case u.Arrows:return"f047";case u.StepBackward:return"f048";case u.FastBackward:return"f049";case u.Backward:return"f04a";case u.Play:return"f04b";case u.Pause:return"f04c";case u.Stop:return"f04d";case u.Forward:return"f04e";case u.FastForward:return"f050";case u.StepForward:return"f051";case u.Eject:return"f052";case u.ChevronLeft:return"f053";case u.ChevronRight:return"f054";case u.PlusCircle:return"f055";case u.MinusCircle:return"f056";case u.TimesCircle:return"f057";case u.CheckCircle:return"f058";case u.QuestionCircle:return"f059";case u.InfoCircle:return"f05a";case u.Crosshairs:return"f05b";case u.TimesCircleO:return"f05c";case u.CheckCircleO:return"f05d";case u.Ban:return"f05e";case u.FAArrowLeft:return"f060";case u.FAArrowRight:return"f061";case u.FAArrowUp:return"f062";case u.FAArrowDown:return"f063";case u.Share:return"f064";case u.Expand:return"f065";case u.Compress:return"f066";case u.FAPlus:return"f067";case u.FAMinus:return"f068";case u.Asterisk:return"f069";case u.ExclamationCircle:return"f06a";case u.Gift:return"f06b";case u.Leaf:return"f06c";case u.Fire:return"f06d";case u.Eye:return"f06e";case u.EyeSlash:return"f070";case u.ExclamationTriangle:return"f071";case u.Plane:return"f072";case u.Calendar:return"f073";case u.Random:return"f074";case u.Comment:return"f075";case u.Magnet:return"f076";case u.ChevronUp:return"f077";case u.ChevronDown:return"f078";case u.Retweet:return"f079";case u.ShoppingCart:return"f07a";case u.Folder:return"f07b";case u.FolderOpen:return"f07c";case u.ArrowsV:return"f07d";case u.ArrowsH:return"f07e";case u.BarChart:return"f080";case u.TwitterSquare:return"f081";case u.FacebookSquare:return"f082";case u.CameraRetro:return"f083";case u.Key:return"f084";case u.Cogs:return"f085";case u.Comments:return"f086";case u.ThumbsOUp:return"f087";case u.ThumbsODown:return"f088";case u.HeartO:return"f08a";case u.SignOut:return"f08b";case u.LinkedinSquare:return"f08c";case u.ThumbTack:return"f08d";case u.ExternalLink:return"f08e";case u.SignIn:return"f090";case u.Trophy:return"f091";case u.GithubSquare:return"f092";case u.Upload:return"f093";case u.LemonO:return"f094";case u.SquareO:return"f096";case u.BookmarkO:return"f097";case u.PhoneSquare:return"f098";case u.Twitter:return"f099";case u.Facebook:return"f09a";case u.Github:return"f09b";case u.Unlock:return"f09c";case u.CreditCard:return"f09d";case u.Rss:return"f09e";case u.HddO:return"f0a0";case u.Bullhorn:return"f0a1";case u.Bell:return"f0f3";case u.Certificate:return"f0a3";case u.HandORight:return"f0a4";case u.HandOLeft:return"f0a5";case u.HandOUp:return"f0a6";case u.HandODown:return"f0a7";case u.ArrowCircleLeft:return"f0a8";case u.ArrowCircleRight:return"f0a9";case u.ArrowCircleUp:return"f0aa";case u.ArrowCircleDown:return"f0ab";case u.Globe:return"f0ac";case u.Wrench:return"f0ad";case u.Tasks:return"f0ae";case u.Filter:return"f0b0";case u.Briefcase:return"f0b1";case u.ArrowsAlt:return"f0b2";case u.Users:return"f0c0";case u.Link:return"f0c1";case u.Cloud:return"f0c2";case u.Flask:return"f0c3";case u.Scissors:return"f0c4";case u.FilesO:return"f0c5";case u.Paperclip:return"f0c6";case u.FloppyO:return"f0c7";case u.Square:return"f0c8";case u.Bars:return"f0c9";case u.ListUl:return"f0ca";case u.ListOl:return"f0cb";case u.Strikethrough:return"f0cc";case u.Underline:return"f0cd";case u.Table:return"f0ce";case u.Magic:return"f0d0";case u.Pinterest:return"f0d2";case u.PinterestSquare:return"f0d3";case u.GooglePlusSquare:return"f0d4";case u.GooglePlus:return"f0d5";case u.Money:return"f0d6";case u.CaretDown:return"f0d7";case u.CaretUp:return"f0d8";case u.CaretLeft:return"f0d9";case u.CaretRight:return"f0da";case u.Columns:return"f0db";case u.Sort:return"f0dc";case u.SortDesc:return"f0dd";case u.SortAsc:return"f0de";case u.Envelope:return"f0e0";case u.Linkedin:return"f0e1";case u.Undo:return"f0e2";case u.Gavel:return"f0e3";case u.Tachometer:return"f0e4";case u.CommentO:return"f0e5";case u.CommentsO:return"f0e6";case u.Bolt:return"f0e7";case u.Sitemap:return"f0e8";case u.Umbrella:return"f0e9";case u.Clipboard:return"f0ea";case u.LightbulbO:return"f0eb";case u.Exchange:return"f0ec";case u.CloudDownload:return"f0ed";case u.CloudUpload:return"f0ee";case u.UserMd:return"f0f0";case u.Stethoscope:return"f0f1";case u.Suitcase:return"f0f2";case u.BellO:return"f0a2";case u.Coffee:return"f0f4";case u.Cutlery:return"f0f5";case u.FileTextO:return"f0f6";case u.BuildingO:return"f0f7";case u.HospitalO:return"f0f8";case u.Ambulance:return"f0f9";case u.Medkit:return"f0fa";case u.FighterJet:return"f0fb";case u.Beer:return"f0fc";case u.HSquare:return"f0fd";case u.PlusSquare:return"f0fe";case u.AngleDoubleLeft:return"f100";case u.AngleDoubleRight:return"f101";case u.AngleDoubleUp:return"f102";case u.AngleDoubleDown:return"f103";case u.AngleLeft:return"f104";case u.AngleRight:return"f105";case u.AngleUp:return"f106";case u.AngleDown:return"f107";case u.Desktop:return"f108";case u.Laptop:return"f109";case u.Tablet:return"f10a";case u.CircleO:return"f10c";case u.QuoteLeft:return"f10d";case u.QuoteRight:return"f10e";case u.Spinner:return"f110";case u.Reply:return"f112";case u.GithubAlt:return"f113";case u.FolderO:return"f114";case u.FolderOpenO:return"f115";case u.SmileO:return"f118";case u.FrownO:return"f119";case u.MehO:return"f11a";case u.Gamepad:return"f11b";case u.KeyboardO:return"f11c";case u.FlagO:return"f11d";case u.FlagCheckered:return"f11e";case u.Terminal:return"f120";case u.Code:return"f121";case u.ReplyAll:return"f122";case u.StarHalfO:return"f123";case u.LocationArrow:return"f124";case u.Crop:return"f125";case u.CodeFork:return"f126";case u.ChainBroken:return"f127";case u.Question:return"f128";case u.Info:return"f129";case u.Superscript:return"f12b";case u.Subscript:return"f12c";case u.Eraser:return"f12d";case u.PuzzlePiece:return"f12e";case u.Microphone:return"f130";case u.MicrophoneSlash:return"f131";case u.Shield:return"f132";case u.CalendarO:return"f133";case u.FireExtinguisher:return"f134";case u.Rocket:return"f135";case u.Maxcdn:return"f136";case u.ChevronCircleLeft:return"f137";case u.ChevronCircleRight:return"f138";case u.ChevronCircleUp:return"f139";case u.ChevronCircleDown:return"f13a";case u.Html5:return"f13b";case u.Css3:return"f13c";case u.Anchor:return"f13d";case u.UnlockAlt:return"f13e";case u.Bullseye:return"f140";case u.EllipsisH:return"f141";case u.EllipsisV:return"f142";case u.RssSquare:return"f143";case u.PlayCircle:return"f144";case u.Ticket:return"f145";case u.MinusSquare:return"f146";case u.InusSquareO:return"f147";case u.LevelUp:return"f148";case u.LevelDown:return"f149";case u.CheckSquare:return"f14a";case u.PencilSquare:return"f14b";case u.ExternalLinkSquare:return"f14c";case u.ShareSquare:return"f14d";case u.Compass:return"f14e";case u.CaretSquareODown:return"f150";case u.CaretSquareOUp:return"f151";case u.CaretSquareORight:return"f152";case u.Eur:return"f153";case u.Gbp:return"f154";case u.Usd:return"f155";case u.Inr:return"f156";case u.Jpy:return"f157";case u.Rub:return"f158";case u.Krw:return"f159";case u.Btc:return"f15a";case u.File:return"f15b";case u.FileText:return"f15c";case u.SortAlphaAsc:return"f15d";case u.SortAlphaDesc:return"f15e";case u.SortAmountAsc:return"f160";case u.SortAmountDesc:return"f161";case u.SortNumericAsc:return"f162";case u.SortNumericDesc:return"f163";case u.ThumbsUp:return"f164";case u.ThumbsDown:return"f165";case u.YoutubeSquare:return"f166";case u.Youtube:return"f167";case u.Xing:return"f168";case u.XingSquare:return"f169";case u.YoutubePlay:return"f16a";case u.Dropbox:return"f16b";case u.StackOverflow:return"f16c";case u.Instagram:return"f16d";case u.Flickr:return"f16e";case u.Adn:return"f170";case u.Bitbucket:return"f171";case u.BitbucketSquare:return"f172";case u.Tumblr:return"f173";case u.TumblrSquare:return"f174";case u.LongArrowDown:return"f175";case u.LongArrowUp:return"f176";case u.LongArrowLeft:return"f177";case u.LongArrowRight:return"f178";case u.Apple:return"f179";case u.Windows:return"f17a";case u.Android:return"f17b";case u.Linux:return"f17c";case u.Dribbble:return"f17d";case u.Skype:return"f17e";case u.Foursquare:return"f180";case u.Trello:return"f181";case u.Female:return"f182";case u.Male:return"f183";case u.Gratipay:return"f184";case u.SunO:return"f185";case u.MoonO:return"f186";case u.Archive:return"f187";case u.Bug:return"f188";case u.Vk:return"f189";case u.Weibo:return"f18a";case u.Renren:return"f18b";case u.Pagelines:return"f18c";case u.StackExchange:return"f18d";case u.ArrowCircleORight:return"f18e";case u.ArrowCircleOLeft:return"f190";case u.CaretSquareOLeft:return"f191";case u.DotCircleO:return"f192";case u.Wheelchair:return"f193";case u.VimeoSquare:return"f194";case u.Try:return"f195";case u.PlusSquareO:return"f196";case u.SpaceShuttle:return"f197";case u.Slack:return"f198";case u.EnvelopeSquare:return"f199";case u.Wordpress:return"f19a";case u.Openid:return"f19b";case u.University:return"f19c";case u.GraduationCap:return"f19d";case u.Yahoo:return"f19e";case u.Google:return"f1a0";case u.Reddit:return"f1a1";case u.RedditSquare:return"f1a2";case u.StumbleuponCircle:return"f1a3";case u.Stumbleupon:return"f1a4";case u.Delicious:return"f1a5";case u.Digg:return"f1a6";case u.PiedPiper:return"f1a7";case u.PiedPiperAlt:return"f1a8";case u.Drupal:return"f1a9";case u.Joomla:return"f1aa";case u.Language:return"f1ab";case u.Fax:return"f1ac";case u.Building:return"f1ad";case u.Child:return"f1ae";case u.Paw:return"f1b0";case u.Spoon:return"f1b1";case u.Cube:return"f1b2";case u.Cubes:return"f1b3";case u.Behance:return"f1b4";case u.BehanceSquare:return"f1b5";case u.Steam:return"f1b6";case u.SteamSquare:return"f1b7";case u.Recycle:return"f1b8";case u.Car:return"f1b9";case u.Taxi:return"f1ba";case u.Tree:return"f1bb";case u.Spotify:return"f1bc";case u.Deviantart:return"f1bd";case u.Soundcloud:return"f1be";case u.Database:return"f1c0";case u.FilePdfO:return"f1c1";case u.FileWordO:return"f1c2";case u.FileExcelO:return"f1c3";case u.FilePowerpointO:return"f1c4";case u.FileImageO:return"f1c5";case u.FileArchiveO:return"f1c6";case u.FileAudioO:return"f1c7";case u.FileVideoO:return"f1c8";case u.FileCodeO:return"f1c9";case u.Vine:return"f1ca";case u.Codepen:return"f1cb";case u.Jsfiddle:return"f1cc";case u.LifeRing:return"f1cd";case u.CircleONotch:return"f1ce";case u.Rebel:return"f1d0";case u.Empire:return"f1d1";case u.GitSquare:return"f1d2";case u.Git:return"f1d3";case u.HackerNews:return"f1d4";case u.TencentWeibo:return"f1d5";case u.Qq:return"f1d6";case u.Weixin:return"f1d7";case u.PaperPlane:return"f1d8";case u.PaperPlaneO:return"f1d9";case u.History:return"f1da";case u.CircleThin:return"f1db";case u.Header:return"f1dc";case u.Paragraph:return"f1dd";case u.Sliders:return"f1de";case u.ShareAlt:return"f1e0";case u.ShareAltSquare:return"f1e1";case u.Bomb:return"f1e2";case u.FutbolO:return"f1e3";case u.Tty:return"f1e4";case u.Binoculars:return"f1e5";case u.Plug:return"f1e6";case u.Slideshare:return"f1e7";case u.Twitch:return"f1e8";case u.Yelp:return"f1e9";case u.NewspaperO:return"f1ea";case u.Wifi:return"f1eb";case u.Calculator:return"f1ec";case u.Paypal:return"f1ed";case u.GoogleWallet:return"f1ee";case u.CcVisa:return"f1f0";case u.CcMastercard:return"f1f1";case u.CcDiscover:return"f1f2";case u.CcAmex:return"f1f3";case u.CcPaypal:return"f1f4";case u.CcStripe:return"f1f5";case u.BellSlash:return"f1f6";case u.BellSlashO:return"f1f7";case u.Trash:return"f1f8";case u.Copyright:return"f1f9";case u.At:return"f1fa";case u.Eyedropper:return"f1fb";case u.PaintBrush:return"f1fc";case u.BirthdayCake:return"f1fd";case u.AreaChart:return"f1fe";case u.PieChart:return"f200";case u.LineChart:return"f201";case u.Lastfm:return"f202";case u.LastfmSquare:return"f203";case u.ToggleOff:return"f204";case u.ToggleOn:return"f205";case u.Bicycle:return"f206";case u.Bus:return"f207";case u.Ioxhost:return"f208";case u.Angellist:return"f209";case u.Cc:return"f20a";case u.Ils:return"f20b";case u.Meanpath:return"f20c";case u.Buysellads:return"f20d";case u.Connectdevelop:return"f20e";case u.Dashcube:return"f210";case u.Forumbee:return"f211";case u.Leanpub:return"f212";case u.Sellsy:return"f213";case u.Shirtsinbulk:return"f214";case u.Simplybuilt:return"f215";case u.Skyatlas:return"f216";case u.CartPlus:return"f217";case u.CartArrowDown:return"f218";case u.Diamond:return"f219";case u.Ship:return"f21a";case u.UserSecret:return"f21b";case u.Motorcycle:return"f21c";case u.StreetView:return"f21d";case u.Heartbeat:return"f21e";case u.Venus:return"f221";case u.Mars:return"f222";case u.Mercury:return"f223";case u.Transgender:return"f224";case u.TransgenderAlt:return"f225";case u.VenusDouble:return"f226";case u.MarsDouble:return"f227";case u.VenusMars:return"f228";case u.MarsStroke:return"f229";case u.MarsStrokeV:return"f22a";case u.MarsStrokeH:return"f22b";case u.Neuter:return"f22c";case u.Genderless:return"f22d";case u.FacebookOfficial:return"f230";case u.PinterestP:return"f231";case u.Whatsapp:return"f232";case u.Server:return"f233";case u.UserPlus:return"f234";case u.UserTimes:return"f235";case u.Bed:return"f236";case u.Viacoin:return"f237";case u.Train:return"f238";case u.Subway:return"f239";case u.Medium:return"f23a";case u.YCombinator:return"f23b";case u.OptinMonster:return"f23c";case u.Opencart:return"f23d";case u.Expeditedssl:return"f23e";case u.BatteryFull:return"f240";case u.BatteryThreeQuarters:return"f241";case u.BatteryHalf:return"f242";case u.BatteryQuarter:return"f243";case u.BatteryEmpty:return"f244";case u.MousePointer:return"f245";case u.ICursor:return"f246";case u.ObjectGroup:return"f247";case u.ObjectUngroup:return"f248";case u.StickyNote:return"f249";case u.StickyNoteO:return"f24a";case u.CcJcb:return"f24b";case u.CcDinersClub:return"f24c";case u.Clone:return"f24d";case u.BalanceScale:return"f24e";case u.HourglassO:return"f250";case u.HourglassStart:return"f251";case u.HourglassHalf:return"f252";case u.HourglassEnd:return"f253";case u.Hourglass:return"f254";case u.HandRockO:return"f255";case u.HandPaperO:return"f256";case u.HandScissorsO:return"f257";case u.HandLizardO:return"f258";case u.HandSpockO:return"f259";case u.HandPointerO:return"f25a";case u.HandPeaceO:return"f25b";case u.Trademark:return"f25c";case u.Registered:return"f25d";case u.CreativeCommons:return"f25e";case u.Gg:return"f260";case u.GgCircle:return"f261";case u.Tripadvisor:return"f262";case u.Odnoklassniki:return"f263";case u.OdnoklassnikiSquare:return"f264";case u.GetPocket:return"f265";case u.WikipediaW:return"f266";case u.Safari:return"f267";case u.Chrome:return"f268";case u.Firefox:return"f269";case u.Opera:return"f26a";case u.InternetExplorer:return"f26b";case u.Television:return"f26c";case u.Contao:return"f26d";case u.Px500:return"f26e";case u.Amazon:return"f270";case u.CalendarPlusO:return"f271";case u.CalendarMinusO:return"f272";case u.CalendarTimesO:return"f273";case u.CalendarCheckO:return"f274";case u.Industry:return"f275";case u.MapPin:return"f276";case u.MapSigns:return"f277";case u.MapO:return"f278";case u.Map:return"f279";case u.Commenting:return"f27a";case u.CommentingO:return"f27b";case u.Houzz:return"f27c";case u.Vimeo:return"f27d";case u.BlackTie:return"f27e";case u.Fonticons:return"f280"}return null},e.getIsonSetContent=function(t){var r,n,i=new h;try{for(var o=__values(e.getFontIcons(t)),a=o.next();!a.done;a=o.next()){var s=a.value;i.append(e.getContent(s)),i.append(" ")}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i.toString()},e.getFontIcons=function(t){switch(t){case c.Rating:return new p([u.Rating0,u.Rating1,u.Rating2,u.Rating3,u.Rating4]);case c.Quarter:return new p([u.QuarterNone,u.QuarterQuarter,u.QuarterHalf,u.QuarterThreeFourth,u.QuarterFull]);case c.Square:return new p([u.Square4,u.Square3,u.Square2,u.Square1,u.Square0]);case c.Star:return new p([u.StarNone,u.StarQuarter,u.StarHalf,u.StarThreeFourth,u.StarFull]);case c.Latin:return new p([u.Latin1,u.Latin2,u.Latin3,u.Latin4,u.Latin5])}return new p([u.Rating0,u.Rating1,u.Rating2,u.Rating3,u.Rating4])},e.getFontIcons1=function(t){switch(t){case l.WebApplicationIcons:return new p([u.Adjust,u.Anchor,u.Archive,u.AreaChart,u.Arrows,u.ArrowsH,u.ArrowsV,u.Asterisk,u.At,u.BalanceScale,u.Ban,u.BarChart,u.Barcode,u.Bars,u.BatteryEmpty,u.BatteryFull,u.BatteryHalf,u.BatteryQuarter,u.BatteryThreeQuarters,u.Bed,u.Beer,u.Bell,u.BellO,u.BellSlash,u.BellSlashO,u.Bicycle,u.Binoculars,u.BirthdayCake,u.Bolt,u.Bomb,u.Book,u.Bookmark,u.BookmarkO,u.Briefcase,u.Bug,u.Building,u.BuildingO,u.Bullhorn,u.Bullseye,u.Bus,u.Calculator,u.Calendar,u.CalendarCheckO,u.CalendarMinusO,u.CalendarO,u.CalendarPlusO,u.CalendarTimesO,u.Camera,u.CameraRetro,u.Car,u.CaretSquareODown,u.CaretSquareOLeft,u.CaretSquareORight,u.CaretSquareOUp,u.Cart,u.CartArrowDown,u.CartPlus,u.Cc,u.Certificate,u.Check,u.CheckCircle,u.CheckCircleO,u.CheckSquare,u.CheckSquareO,u.Child,u.Circle,u.CircleO,u.CircleONotch,u.CircleThin,u.ClockO,u.Clone,u.Cloud,u.CloudDownload,u.CloudUpload,u.Code,u.CodeFork,u.Coffee,u.Cog,u.Cogs,u.Comment,u.CommentO,u.Commenting,u.CommentingO,u.Comments,u.CommentsO,u.Compass,u.Copyright,u.CreativeCommons,u.CreditCard,u.Crop,u.Crosshairs,u.Cube,u.Cubes,u.Cutlery,u.Database,u.Desktop,u.Diamond,u.DotCircleO,u.Download,u.EllipsisH,u.EllipsisV,u.Envelope,u.EnvelopeO,u.EnvelopeSquare,u.Eraser,u.Exchange,u.Exclamation,u.ExclamationCircle,u.ExclamationTriangle,u.ExternalLink,u.ExternalLinkSquare,u.Eye,u.EyeSlash,u.Eyedropper,u.Earth,u.Fax,u.Female,u.FighterJet,u.FileArchiveO,u.FileAudioO,u.FileCodeO,u.FileExcelO,u.FileImageO,u.FilePdfO,u.FilePowerpointO,u.FileVideoO,u.FileWordO,u.Film,u.Filter,u.Fire,u.FireExtinguisher,u.Flag,u.FlagCheckered,u.FlagO,u.FAFlag,u.Flask,u.Folder,u.FolderO,u.FolderOpen,u.FolderOpenO,u.FrownO,u.FutbolO,u.Gamepad,u.Gavel,u.Gift,u.Glass,u.Globe,u.GraduationCap,u.HandLizardO,u.HandPaperO,u.HandPeaceO,u.HandPointerO,u.HandRockO,u.HandScissorsO,u.HandSpockO,u.HddO,u.Headphones,u.Heart,u.HeartO,u.Heartbeat,u.History,u.Home,u.Hourglass,u.HourglassEnd,u.HourglassHalf,u.HourglassO,u.HourglassStart,u.ICursor,u.Inbox,u.Industry,u.Info,u.InfoCircle,u.Key,u.KeyboardO,u.Language,u.Laptop,u.Leaf,u.LemonO,u.LevelDown,u.LevelUp,u.LifeRing,u.LightbulbO,u.LineChart,u.LocationArrow,u.Lock,u.Magic,u.Magnet,u.Male,u.Map,u.MapMarker,u.MapO,u.MapPin,u.MapSigns,u.MehO,u.Microphone,u.MicrophoneSlash,u.Minus,u.MinusCircle,u.MinusSquare,u.Mobile,u.Money,u.MoonO,u.Motorcycle,u.MousePointer,u.Mug,u.Music,u.NewspaperO,u.ObjectGroup,u.ObjectUngroup,u.PaintBrush,u.PaperPlane,u.PaperPlaneO,u.Paw,u.Pencil,u.PencilSquare,u.PencilSquareO,u.Phone,u.PhoneSquare,u.PictureO,u.PieChart,u.Plane,u.Plug,u.PlusCircle,u.PlusSquare,u.PlusSquareO,u.PowerOff,u.Print,u.PuzzlePiece,u.Qrcode,u.Question,u.QuestionCircle,u.QuoteLeft,u.QuoteRight,u.Random,u.Recycle,u.Refresh,u.Registered,u.Reply,u.ReplyAll,u.Retweet,u.Road,u.Rocket,u.Rss,u.RssSquare,u.Search,u.SearchMinus,u.SearchPlus,u.Server,u.Share,u.ShareAlt,u.ShareAltSquare,u.ShareSquare,u.ShareSquareO,u.Shield,u.Ship,u.ShoppingCart,u.SignIn,u.SignOut,u.Signal,u.Sitemap,u.Sliders,u.SmileO,u.Sort,u.SortAlphaAsc,u.SortAlphaDesc,u.SortAmountAsc,u.SortAmountDesc,u.SortAsc,u.SortDesc,u.SortNumericAsc,u.SortNumericDesc,u.SpaceShuttle,u.Spinner,u.Spoon,u.Square,u.SquareO,u.Star,u.StarHalf,u.StarHalfO,u.StarO,u.StickyNote,u.StickyNoteO,u.StreetView,u.Suitcase,u.SunO,u.Tablet,u.Tachometer,u.Tag,u.Tags,u.Tasks,u.Taxi,u.Television,u.Terminal,u.ThumbTack,u.ThumbsDown,u.ThumbsODown,u.ThumbsOUp,u.ThumbsUp,u.Ticket,u.Times,u.TimesCircle,u.TimesCircleO,u.Tint,u.ToggleOff,u.ToggleOn,u.Trademark,u.Trash,u.TrashO,u.Tree,u.Trophy,u.Truck,u.Tty,u.Umbrella,u.University,u.Unlock,u.UnlockAlt,u.Upload,u.User,u.UserPlus,u.UserSecret,u.UserTimes,u.Users,u.VideoCamera,u.VolumeDown,u.VolumeOff,u.VolumeUp,u.Wheelchair,u.Wifi,u.Wrench]);case l.AccessibilityIcons:return new p([u.Cc,u.Tty,u.Wheelchair]);case l.HandIcons:return new p([u.HandLizardO,u.HandODown,u.HandOLeft,u.HandORight,u.HandOUp,u.HandPaperO,u.HandPeaceO,u.HandPointerO,u.HandRockO,u.HandScissorsO,u.HandSpockO,u.ThumbsDown,u.ThumbsODown,u.ThumbsOUp,u.ThumbsUp]);case l.TransportationIcons:return new p([u.Airplane,u.Ambulance,u.Bicycle,u.Bus,u.Car,u.FighterJet,u.Motorcycle,u.Plane,u.Rocket,u.Ship,u.SpaceShuttle,u.Subway,u.Taxi,u.Train,u.Truck,u.Wheelchair]);case l.GenderIcons:return new p([u.Genderless,u.Mars,u.MarsDouble,u.MarsStroke,u.MarsStrokeH,u.MarsStrokeV,u.Mercury,u.Neuter,u.Transgender,u.TransgenderAlt,u.Venus,u.VenusDouble,u.VenusMars,u.Man,u.Woman,u.UserTie,u.ManWoman]);case l.FileTypeIcons:return new p([u.File,u.FileArchiveO,u.FileAudioO,u.FileCodeO,u.FileExcelO,u.FileImageO,u.FileO,u.FilePdfO,u.FilePowerpointO,u.FileText,u.FileTextO,u.FileVideoO,u.FileWordO]);case l.SpinnerIcons:return new p([u.CircleONotch,u.Cog,u.Refresh,u.Spinner]);case l.FormControlIcons:return new p([u.CheckSquare,u.CheckSquareO,u.Circle,u.CircleO,u.DotCircleO,u.MinusSquare,u.PlusSquare,u.InusSquareO,u.PlusSquareO,u.Square,u.SquareO,u.FAPlus,u.FAMinus]);case l.PaymentIcons:return new p([u.CcAmex,u.CcDinersClub,u.CcDiscover,u.CcJcb,u.CcMastercard,u.CcPaypal,u.CcStripe,u.CcVisa,u.CreditCard,u.GoogleWallet,u.Paypal]);case l.ChartIcons:return new p([u.AreaChart,u.BarChart,u.LineChart,u.PieChart]);case l.CurrencyIcons:return new p([u.Btc,u.Eur,u.Gbp,u.Gg,u.GgCircle,u.Ils,u.Inr,u.Jpy,u.Krw,u.Money,u.Rub,u.Try,u.Usd,u.Viacoin]);case l.TextEditorIcons:return new p([u.AlignCenter,u.AlignJustify,u.AlignLeft,u.AlignRight,u.Bold,u.ChainBroken,u.Clipboard,u.Columns,u.Eraser,u.File,u.FileO,u.FileText,u.FileTextO,u.FilesO,u.FloppyO,u.Font,u.Header,u.Indent,u.Italic,u.Link,u.List,u.ListAlt,u.ListOl,u.ListUl,u.Outdent,u.Paperclip,u.Paragraph,u.Repeat,u.Scissors,u.Strikethrough,u.Subscript,u.Superscript,u.Table,u.TextHeight,u.TextWidth,u.Th,u.ThLarge,u.ThList,u.Underline,u.Undo]);case l.DirectionalIcons:return new p([u.AngleDoubleDown,u.AngleDoubleLeft,u.AngleDoubleRight,u.AngleDoubleUp,u.AngleDown,u.AngleLeft,u.AngleRight,u.AngleUp,u.ArrowCircleDown,u.ArrowCircleLeft,u.ArrowCircleODown,u.ArrowCircleOLeft,u.ArrowCircleORight,u.ArrowCircleOUp,u.ArrowCircleRight,u.ArrowCircleUp,u.ArrowDown,u.ArrowRight,u.ArrowUp,u.ArrowRightDown,u.ArrowRightUp,u.Arrows,u.ArrowsAlt,u.ArrowsH,u.ArrowsV,u.CaretDown,u.CaretLeft,u.CaretRight,u.CaretSquareODown,u.CaretSquareOLeft,u.CaretSquareORight,u.CaretSquareOUp,u.CaretUp,u.ChevronCircleDown,u.ChevronCircleLeft,u.ChevronCircleRight,u.ChevronCircleUp,u.ChevronDown,u.ChevronLeft,u.ChevronRight,u.ChevronUp,u.Exchange,u.HandODown,u.HandOLeft,u.HandORight,u.HandOUp,u.LongArrowDown,u.LongArrowLeft,u.LongArrowRight,u.LongArrowUp,u.FAArrowLeft,u.FAArrowRight,u.FAArrowUp,u.FAArrowDown]);case l.VideoPlayerIcons:return new p([u.ArrowsAlt,u.Backward,u.Compress,u.Eject,u.Expand,u.FastBackward,u.FastForward,u.Forward,u.Pause,u.Play,u.PlayCircle,u.PlayCircleO,u.Random,u.StepBackward,u.StepForward,u.Stop,u.YoutubePlay]);case l.BrandIcons:return new p([u.Adn,u.Amazon,u.Android,u.Angellist,u.Appleinc,u.Behance,u.BehanceSquare,u.Bitbucket,u.BitbucketSquare,u.BlackTie,u.Btc,u.Buysellads,u.CcAmex,u.CcDinersClub,u.CcDiscover,u.CcJcb,u.CcMastercard,u.CcPaypal,u.CcStripe,u.CcVisa,u.Chrome,u.Codepen,u.Connectdevelop,u.Contao,u.Css3,u.Dashcube,u.Delicious,u.Deviantart,u.Digg,u.Dribbble,u.Dropbox,u.Drupal,u.Empire,u.Expeditedssl,u.Facebook,u.FacebookOfficial,u.FacebookSquare,u.Firefox,u.Flickr,u.Fonticons,u.Forumbee,u.Foursquare,u.GetPocket,u.Gg,u.GgCircle,u.Git,u.GitSquare,u.Github,u.GithubAlt,u.GithubSquare,u.Google,u.GooglePlus,u.GooglePlusSquare,u.GoogleWallet,u.Gratipay,u.HackerNews,u.Houzz,u.Html5,u.Instagram,u.InternetExplorer,u.Ioxhost,u.Joomla,u.Jsfiddle,u.Lastfm,u.LastfmSquare,u.Leanpub,u.Linkedin,u.LinkedinSquare,u.Linux,u.Maxcdn,u.Meanpath,u.Medium,u.Odnoklassniki,u.OdnoklassnikiSquare,u.Opencart,u.Openid,u.Opera,u.OptinMonster,u.Pagelines,u.Paypal,u.PiedPiper,u.PiedPiperAlt,u.Pinterest,u.PinterestP,u.PinterestSquare,u.Qq,u.Rebel,u.Reddit,u.RedditSquare,u.Renren,u.Safari,u.Sellsy,u.ShareAlt,u.ShareAltSquare,u.Shirtsinbulk,u.Simplybuilt,u.Skyatlas,u.Skype,u.Slack,u.Slideshare,u.Soundcloud,u.Spotify,u.StackExchange,u.StackOverflow,u.Steam,u.SteamSquare,u.Stumbleupon,u.StumbleuponCircle,u.TencentWeibo,u.Trello,u.Tripadvisor,u.Tumblr,u.TumblrSquare,u.Twitch,u.Twitter,u.TwitterSquare,u.Viacoin,u.Vimeo,u.VimeoSquare,u.Vine,u.Vk,u.Weibo,u.Weixin,u.Whatsapp,u.WikipediaW,u.Windows8,u.Wordpress,u.Xing,u.XingSquare,u.YCombinator,u.Yahoo,u.Yelp,u.Youtube,u.YoutubePlay,u.YoutubeSquare,u.Px500]);case l.MedicalIcons:return new p([u.Ambulance,u.HSquare,u.Heart,u.HeartO,u.Heartbeat,u.HospitalO,u.Medkit,u.PlusSquare,u.Stethoscope,u.UserMd,u.Wheelchair]);case l.OtherIcons:return new p([u.Latin5,u.Latin4,u.Latin3,u.Latin2,u.Latin1,u.QuarterFull,u.QuarterThreeFourth,u.QuarterHalf,u.QuarterQuarter,u.QuarterNone,u.Rating4,u.Rating3,u.Rating2,u.Rating1,u.Rating0,u.Square0,u.Square1,u.Square2,u.Square3,u.Square4,u.StarFull,u.StarThreeFourth,u.StarQuarter,u.StarNone,u.CircleCheck,u.CircleCross,u.CircleExclamation,u.Cross,u.Rhomb,u.Triangle,u.TriangleDown,u.TriangleUp])}return new p([u.Rating0,u.Rating1,u.Rating2,u.Rating3,u.Rating4])},e.getIconFontSize=function(e,r,n){var i=e.measureString(n,new o("Stimulsoft",1e3,t.System.Drawing.FontStyle.Regular,t.System.Drawing.GraphicsUnit.Point));if(0==i.width||0==i.height)return 0;var a=r.width/i.width*1e3,s=r.height/i.height*1e3,l;return a>s?s:a},e.drawFillIcons=function(e,r,n,i,a,s,l){void 0===l&&(l=!0);var u=this.getContent(a),c=this.getIconFontSize(e,i,u),p=new o("Stimulsoft",c,t.System.Drawing.FontStyle.Regular,t.System.Drawing.GraphicsUnit.Point),h=n.y,m=n.x;while(hn.top){var f=new Rectangle(m,h-i.height,i.width,i.height);e.drawString3(u,p,r,f,this.getStringFormatGeom(e),s),h-=i.height}}else{var h=n.y,m=n.x;while(m0)return(t=this[this.length-2]).getLastPoint();return new r},n}(t.System.Collections.List);e.StiMapGeomCollection=i}(r=e.Geoms||(e.Geoms={}))}(r=e.Maps||(e.Maps={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Base.Maps.Geoms.StiMapGeomCollection,i=t.System.Drawing.Point,o=t.System.Collections.Hashtable,a=t.Base.Maps.Geoms.StiMapGeomsContainer,s=t.Base.Maps.Geoms.StiMapGeomsObject,l=t.Base.Maps.Geoms.StiMoveToMapGeom,u=t.Base.Maps.Geoms.StiLineMapGeom,c=t.Base.Maps.Geoms.StiBezierMapGeom,p=t.Base.Maps.Geoms.StiBeziersMapGeom,h=t.Base.Maps.Geoms.StiCloseMapGeom,m=t.Base.StiGZipHelper,f=t.System.Drawing.Rectangle,d=t.Base.Drawing.StiTextHorAlignment,g=t.Base.Drawing.StiVertAlignment,S=t.System.Enum,y=t.Report.Maps.Helpers.StiCustomMapFinder,A;!function(t){t[t["None"]=0]="None",t[t["MoveToM"]=1]="MoveToM",t[t["MoveTom"]=2]="MoveTom",t[t["Line_L"]=3]="Line_L",t[t["Line_l"]=4]="Line_l",t[t["Bezier_C"]=5]="Bezier_C",t[t["Bezier_c"]=6]="Bezier_c",t[t["Beziers_S"]=7]="Beziers_S",t[t["Beziers_s"]=8]="Beziers_s",t[t["VerticalLineto_V"]=9]="VerticalLineto_V",t[t["VerticalLineto_v"]=10]="VerticalLineto_v",t[t["HorizontalLineto_H"]=11]="HorizontalLineto_H",t[t["HorizontalLineto_h"]=12]="HorizontalLineto_h",t[t["Close"]=13]="Close"}(A||(A={}));var b=function(){function b(){}return b.deleteAllCustomMaps=function(){var t,e,r,n;if(null!=b.hashMaps&&b.hashMaps.count>0){var i=[];try{for(var o=__values(b.hashMaps.keys),a=o.next();!a.done;a=o.next()){var s=a.value,l;b.hashMaps.get(s).isCustom&&i.push(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}try{for(var u=__values(i),c=u.next();!c.done;c=u.next()){var s=c.value;b.hashMaps.remove(s)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}},b.loadResource=function(n,i){var a,s;null==b.hashMaps&&(b.hashMaps=new o);var l=r.format("Stimulsoft.Report.Infographics.Maps.Resources.{0}.json",i);if(!b.hashMaps.containsKey(l)){if(y.isCustom(i)){var u=y.getContainer(n,i);return u.prepare(),b.hashMaps.add(l,u),u}var c=new e.StiMapSvgContainer;if(null==t.Report.Maps["StiMapResources"+i])return t.System.StiError.showError("You cannot load a map. Please include js library 'stimulsoft.report.maps.js' !",!0),c;var p=m.unpack(t.Report.Maps["StiMapResources"+i][i]),h=JSON.parse(p);c.name=h.Name,c.width=h.Width,c.height=h.Height;try{for(var A=__values(h.Paths),v=A.next();!v.done;v=A.next()){var C=v.value,w=new e.StiMapSvg;if(w.data=C.Data,w.key=C.Key,w.englishName=C.EnglishName,w.iSOCode=C.ISOCode,null!=C.SetMaxWidth&&(w.setMaxWidth=C.SetMaxWidth),null!=C.SkipText&&(w.skipText=C.SkipText),null!=C.HorAlignment&&(w.horAlignment=S.parse(d,C.HorAlignment)),null!=C.VertAlignment&&(w.vertAlignment=S.parse(g,C.VertAlignment)),null!=C.Rect){var B=C.Rect.toString().split(",");B.length>3&&(w.rect=new f(parseInt(B[0]),parseInt(B[1]),parseInt(B[2]),parseInt(B[3])))}c.paths.push(w)}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}return c.prepare(),b.hashMaps.add(l,c),c}return b.hashMaps.get(l)},b.getGeomsObject=function(t,e){var r,n,i=b.loadResource(t,e),o=new a;o.width=i.width,o.height=i.height,o.name=i.name;try{for(var l=__values(i.hashPaths.keys),u=l.next();!u.done;u=l.next()){var c=u.value,p=i.hashPaths.get(c),h=new s;h.name=c,h.geoms=b.parsePath(p),o.geoms.push(h)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return o},b.createGeom=function(t,e,r,n,o,a){var s,m,f,d;switch(void 0===a&&(a=!1),t){case A.MoveToM:if(2!=e.length){if(a)return;throw new Error("NotSupportedException")}var g;(g=new l).x=Math.round2(e[0],3),g.y=Math.round2(e[1],3),o.add(g);break;case A.MoveTom:if(2!=e.length){if(a)return;throw new Error("NotSupportedException")}var S=o.getLastPoint(),g;(g=new l).x=Math.round2(S.x+e[0],3),g.y=Math.round2(S.y+e[1],3),o.add(g);break;case A.Line_L:if(2!=e.length){if(a)return;throw new Error("NotSupportedException")}var g;(g=new u).x=Math.round2(e[0],3),g.y=Math.round2(e[1],3),o.add(g);break;case A.Line_l:if(2!=e.length){if(a)return;throw new Error("NotSupportedException")}var S=o[o.length-1].getLastPoint(),g;(g=new u).x=Math.round2(S.x+e[0],3),g.y=Math.round2(S.y+e[1],3),o.add(g);break;case A.Bezier_C:if(e.length%6!=0){if(a)return;throw new Error("NotSupportedException")}for(var S=o[o.length-1].getLastPoint(),y=e.length/6,b=0,v=0;v1&&this.createGeom(o,s,r,u,e),e}finally{}},b}();e.StiMapLoader=b}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Enum,i=t.Report.Maps.StiMapLoader,o=t.Report.Maps.StiMapID,a=t.System.Char,s=function(){function t(){}return t.getSvgBlockFromIsoAlpha2=function(t,n,i){var o,a;if(void 0===n&&(n=null),void 0===i&&(i=null),r.isNullOrWhiteSpace(t))return null;var s=this.getResource(n,i);if(null==s)return null;var l=e.StiMapKeyHelper.simplify(t);try{for(var u=__values(s.hashPaths.values),c=u.next();!c.done;c=u.next()){var p=c.value;if(e.StiMapKeyHelper.simplify(p.iSOCode)==l)return p}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return null},t.getSvgBlockFromName=function(t,n,i){var o,a;if(void 0===n&&(n=null),void 0===i&&(i=null),r.isNullOrWhiteSpace(t))return null;var s=this.getResource(n,i);if(null==s)return null;var l=e.StiMapKeyHelper.simplify(t),u=e.StiMapKeyHelper.simplify(this.decodeAlpha(t));try{for(var c=__values(s.hashPaths.values),p=c.next();!p.done;p=c.next()){var h=p.value;if(e.StiMapKeyHelper.simplify(h.key)==l||e.StiMapKeyHelper.simplify(h.englishName)==l||e.StiMapKeyHelper.simplify(h.iSOCode)==l||e.StiMapKeyHelper.simplify(h.iSOCode)==u)return h}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return null},t.getIsoAlpha2FromName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var n=this.getSvgBlockFromName(t,e,r);return null!=n?n.iSOCode:null},t.getIsoAlpha3FromName=function(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=this.getIsoAlpha2FromName(t,r,n);if(null==i)return null;var o=e.StiIsoElementHelper.getCountryFromAlpha2(i,r);return null!=o?o.alpha3:null},t.getResource=function(t,e){return void 0===e&&(e=null),t=r.isNullOrWhiteSpace(t)?n.getName(o,o.World):t.stimulsoft.replaceAll(" ",""),i.loadResource(e,t)},t.decodeAlpha=function(t){if(null==t)return t;if(!(5==t.length&&a.isLetter(t[0])&&a.isLetter(t[1])&&"-"==t[2]&&a.isLetter(t[3])&&a.isLetter(t[4])))return t;var e=t.split("-");if(e.length<2)return null;return e[1]},t}();e.StiMapResourceHelper=s}(r=e.Helpers||(e.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Globalization.CultureInfo,n=t.System.Globalization.RegionInfo,i=t.System.Collections.List,o=function(){function t(){}return t.getIsoAlpha2FromName=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.twoLetterISORegionName:null},t.getIsoAlpha3FromName=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.threeLetterISORegionName:null},t.getNameFromIsoAlpha2=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.name:null},t.getNameFromIsoAlpha3=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.name:null},t.getLocalizedNameFromIsoAlpha2=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.nativeName:null},t.getLocalizedNameFromIsoAlpha3=function(t){var e=this.getRegionInfoFromName(t);return null!=e?e.nativeName:null},t.getRegionInfoFromName=function(t){var r=e.StiMapKeyHelper.simplify(t);return this.getAllRegions().firstOrDefault((function(t){return e.StiMapKeyHelper.simplify(t.name)==r||e.StiMapKeyHelper.simplify(t.nativeName)==r||e.StiMapKeyHelper.simplify(t.threeLetterISORegionName)==r||e.StiMapKeyHelper.simplify(t.threeLetterWindowsRegionName)==r||e.StiMapKeyHelper.simplify(t.twoLetterISORegionName)==r}))},t.getAllRegions=function(){var t=new i;for(var e in r.cultures){var o=r.cultures[e];t.add(new n(o.name))}return t},t}();e.StiRegionInfoHelper=o}(r=e.Helpers||(e.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.StiCsvHelper,n=t.System.StiString,i=t.System.Data.DataSet,o=t.Report.Dictionary.StiResourceType,a=t.System.Enum,s=function(){function s(){}return s.get=function(s,l,u,c,p){void 0===u&&(u=null),void 0===c&&(c=null),void 0===p&&(p=!0);var h=e.StiHyperlinkProcessor.getResource(u,e.StiHyperlinkProcessor.getResourceNameFromHyperlink(c));if(null!=h&&null!=h.dataSet)return h.dataSet;var m=new i;switch(s){case o.Excel:if(null!=l)try{for(var f=new Uint8Array(l),d=[],g=0;g!=f.length;++g)d[g]=String.fromCharCode(f[g]);var S=d.join(""),y=t.ExternalLibrary.XLSX.read(S,{type:"binary",cellDates:!0});m=(new t.Report.Dictionary.StiExcelDatabase).getDataSetPrivate(y)}catch(t){}break;case o.Csv:m.tables.add(r.getTable2(l));break;case o.Xml:if(null!=l)try{m.readXml(l)}catch(t){}break;case o.Json:if(null!=l)try{m.tryParseDateTime=p,m.readJson(l)}catch(t){}break;default:throw n.format("'{0}' resource type is not supported!",a.getName(o,s))}if(null!=h)return h.dataSet=m;return m},s}();e.StiResourceArrayToDataSet=s}(r=e.Helpers||(e.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Dictionary.StiResourceType,n=function(){function t(){}return t.getTypeFromExtension=function(t){if(t=t.toLowerCase(),this.isImageType(t))return r.Image;switch(t){case".csv":return r.Csv;case".dbf":return r.Dbf;case".xls":case".xlsx":return r.Excel;case".json":return r.Json;case".xml":return r.Xml;case".xsd":return r.Xsd;case".ttf":return r.FontTtf;case".otf":return r.FontOtf;case".woff":return r.FontWoff;case".ttc":return r.FontTtc;case".eot":return r.FontEot;case".rtf":return r.Rtf;case".txt":return r.Txt;case".mrt":case".mrz":return r.Report;case".mdc":case".mdz":return r.ReportSnapshot;case".pdf":return r.Pdf;case".doc":case".docx":return r.Word;default:return null}},t.isImageType=function(t){return this.isExtensionType(e.StiFileDialogHelper.imageExts,t)},t.isTextType=function(t){return this.isExtensionType(e.StiFileDialogHelper.textExts,t)},t.isExtensionType=function(t,e){return e=(e=e.stimulsoft.startsWith(".")?e.substring(1):e).toLowerCase(),t.any((function(t){return t==e}))},t}();e.StiResourceTypeHelper=n}(r=e.Helpers||(e.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiCustomValueBase="IStiCustomValueBase"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiGauge="IStiGauge"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiGaugeElement="IStiGaugeElement"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGaugeStyle="IStiGaugeStyle"}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGaugeStyleCoreXF="IStiGaugeStyleCoreXF"}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiIndicatorRangeInfo="IStiIndicatorRangeInfo"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiRangeBase="IStiRangeBase"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){t.IStiScaleBase="IStiScaleBase"}(e=t.Gauge||(t.Gauge={}))}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,f,d,g,S,y,A;!function(t){t[t["Percentage"]=1]="Percentage",t[t["Value"]=2]="Value" }(e=t.StiGaugeRangeMode||(t.StiGaugeRangeMode={})),function(t){t[t["V1"]=1]="V1",t[t["V2"]=2]="V2"}(r=t.StiScaleMode||(t.StiScaleMode={})),function(t){t[t["None"]=0]="None",t[t["Color"]=1]="Color"}(n=t.StiGaugeRangeType||(t.StiGaugeRangeType={})),function(t){t[t["Auto"]=1]="Auto",t[t["Custom"]=2]="Custom"}(i=t.StiGaugeCalculationMode||(t.StiGaugeCalculationMode={})),function(t){t[t["FullCircular"]=0]="FullCircular",t[t["HalfCircular"]=1]="HalfCircular",t[t["Linear"]=2]="Linear",t[t["HorizontalLinear"]=3]="HorizontalLinear",t[t["Bullet"]=4]="Bullet"}(o=t.StiGaugeType||(t.StiGaugeType={})),function(t){t[t["Outside"]=0]="Outside",t[t["Overlay"]=1]="Overlay",t[t["Inside"]=2]="Inside"}(a=t.StiPlacement||(t.StiPlacement={})),function(t){t[t["LinearElement"]=0]="LinearElement",t[t["RadialElement"]=1]="RadialElement",t[t["All"]=2]="All"}(s=t.StiGaugeElemenType||(t.StiGaugeElemenType={})),function(t){t[t["LinearBar"]=0]="LinearBar",t[t["RadialBar"]=1]="RadialBar"}(l=t.StiBarRangeListType||(t.StiBarRangeListType={})),function(t){t[t["Default"]=0]="Default",t[t["MixedColor"]=1]="MixedColor"}(u=t.StiLinearRangeColorMode||(t.StiLinearRangeColorMode={})),function(t){t[t["Default"]=0]="Default",t[t["Empty"]=1]="Empty",t[t["RadialScaleQuarterCircleNW"]=2]="RadialScaleQuarterCircleNW",t[t["RadialScaleQuarterCircleNE"]=3]="RadialScaleQuarterCircleNE",t[t["RadialScaleQuarterCircleSW"]=4]="RadialScaleQuarterCircleSW",t[t["RadialScaleQuarterCircleSE"]=5]="RadialScaleQuarterCircleSE",t[t["RadialScaleHalfCircleN"]=6]="RadialScaleHalfCircleN",t[t["RadialScaleHalfCircleS"]=7]="RadialScaleHalfCircleS"}(c=t.StiRadialScaleSkin||(t.StiRadialScaleSkin={})),function(t){t[t["Diamond"]=0]="Diamond",t[t["Rectangle"]=1]="Rectangle",t[t["TriangleTop"]=2]="TriangleTop",t[t["TriangleBottom"]=3]="TriangleBottom",t[t["PentagonTop"]=4]="PentagonTop",t[t["PentagonBottom"]=5]="PentagonBottom",t[t["Ellipse"]=6]="Ellipse",t[t["RectangularCalloutTop"]=7]="RectangularCalloutTop",t[t["RectangularCalloutBottom"]=8]="RectangularCalloutBottom",t[t["TriangleLeft"]=9]="TriangleLeft",t[t["TriangleRight"]=10]="TriangleRight",t[t["PentagonLeft"]=11]="PentagonLeft",t[t["PentagonRight"]=12]="PentagonRight",t[t["RectangularCalloutLeft"]=13]="RectangularCalloutLeft"}(p=t.StiMarkerSkin||(t.StiMarkerSkin={})),function(t){t[t["Ellipse"]=0]="Ellipse",t[t["Rectangle"]=1]="Rectangle",t[t["Diamond"]=2]="Diamond"}(h=t.StiStateSkin||(t.StiStateSkin={})),function(t){t[t["Default"]=0]="Default",t[t["HorizontalThermometer"]=1]="HorizontalThermometer",t[t["VerticalThermometer"]=2]="VerticalThermometer"}(m=t.StiLinearBarSkin||(t.StiLinearBarSkin={})),function(t){t[t["DefaultNeedle"]=0]="DefaultNeedle",t[t["SpeedometerNeedle"]=1]="SpeedometerNeedle",t[t["SpeedometerNeedle2"]=2]="SpeedometerNeedle2",t[t["SimpleNeedle"]=3]="SimpleNeedle"}(f=t.StiNeedleSkin||(t.StiNeedleSkin={})),function(t){t[t["Rectangle"]=0]="Rectangle",t[t["Ellipse"]=1]="Ellipse",t[t["Diamond"]=2]="Diamond",t[t["TriangleTop"]=3]="TriangleTop",t[t["TriangleRight"]=4]="TriangleRight",t[t["TriangleLeft"]=5]="TriangleLeft",t[t["TriangleBottom"]=6]="TriangleBottom"}(d=t.StiTickMarkSkin||(t.StiTickMarkSkin={})),function(t){t[t["Auto"]=0]="Auto",t[t["Width"]=1]="Width",t[t["Height"]=2]="Height"}(g=t.StiRadiusMode||(t.StiRadiusMode={})),function(t){t[t["TopLeft"]=0]="TopLeft",t[t["TopRight"]=1]="TopRight",t[t["BottonLeft"]=2]="BottonLeft",t[t["BottomRight"]=3]="BottomRight",t[t["TopCenter"]=4]="TopCenter",t[t["LeftCenter"]=5]="LeftCenter",t[t["BottomCenter"]=6]="BottomCenter",t[t["RightCenter"]=7]="RightCenter"}(S=t.StiRadialPosition||(t.StiRadialPosition={})),function(t){t[t["None"]=0]="None",t[t["Automatic"]=1]="Automatic",t[t["SurroundIn"]=2]="SurroundIn",t[t["SurroundOut"]=3]="SurroundOut"}(y=t.StiLabelRotationMode||(t.StiLabelRotationMode={})),function(t){t[t["StiStyle25"]=0]="StiStyle25",t[t["StiStyle26"]=1]="StiStyle26",t[t["StiStyle27"]=2]="StiStyle27",t[t["StiStyle28"]=3]="StiStyle28",t[t["StiStyle29"]=4]="StiStyle29",t[t["StiStyle30"]=5]="StiStyle30"}(A=t.StiGaugeStyleId||(t.StiGaugeStyleId={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Collections.Hashtable,n=function(){function t(){this.paths=[]}return t.prototype.prepare=function(){var t,e;if(null==this.paths)return;this.hashPaths=new r;try{for(var n=__values(this.paths),i=n.next();!i.done;i=n.next()){var o=i.value;this.hashPaths.add(o.key,o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this.paths.stimulsoft.clear(),this.paths=null},t}();e.StiMapSvgContainer=n}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Localization.StiLocalization,n=t.System.Drawing.ColorTranslator,i=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return __extends(i,t),Object.defineProperty(i.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style21},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"localizeName",{get:function(){return r.get("Chart","Style")+"21"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"individualColor",{get:function(){return n.fromHtml("#239fd9")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"colors",{get:function(){return[n.fromHtml("#239fd9"),n.fromHtml("#b2b2b2"),n.fromHtml("#55d1ff"),n.fromHtml("#e4e4e4"),n.fromHtml("#55d1ff"),n.fromHtml("#e4e4e4")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"heatmapColors",{get:function(){return[n.fromHtml("#239fd9"),n.fromHtml("#b2b2b2")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultColor",{get:function(){return n.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"backColor",{get:function(){return n.fromHtml("#666666")},set:function(t){},enumerable:!1,configurable:!0}),i}(e.StiMapStyleFX);e.StiMap21StyleFX=i}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiPrimitive,n=t.Report.Components.StiBand,i=t.Base.Drawing.StiDrawing,o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.paintComponents=function(t,e){var i,o;try{for(var a=__values(t.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.stimulsoft.is(r))continue;if(l.stimulsoft.is(n))continue;l.paint(e)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},e.prototype.paint=function(e,r){var n=e,o=e.getPaintRectangle();o.width>0&&o.height>0&&(i.fillRectangle(r,n.brush,o),t.prototype.paintBorder.call(this,n,r,o,n.page.zoom,!0,!0)),this.paintComponents(n,r)},e}(e.StiComponentPainter);e.StiContainerPainter=o}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Drawing.Image,i=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return __extends(i,e),i.prototype.getImage=function(e,i,o){var a=e.stimulsoft.as(t.Report.Components.StiView),s=null;return null!=a.imageToDraw?(s=new n).base64=a.imageToDraw.base64:a.stimulsoft.is(t.Report.Components.StiImage)&&!r.isNullOrEmpty(a.imageURLValue)&&(s=new n),null!=s&&(s.horAlignment=a.horAlignment,s.vertAlignment=a.vertAlignment,s.aspectRatio=a.aspectRatio,s.multipleFactor=a.multipleFactor,s.stretch=a.stretch,s.zoom=i.ref,a.stimulsoft.is(t.Report.Components.StiImage)&&(s.imageRotation=a.imageRotation,s.margins=a.margins,s.url=a.imageURLValue)),s},i}(e.StiComponentPainter);e.StiViewPainter=i}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.StiImageRotation,n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.getImage=function(n,i,o){var a=n.stimulsoft.as(t.Report.Components.StiImage),s=null;null!=a.imageToDraw&&(a.imageRotation,r.None);try{return e.prototype.getImage.call(this,n,i,o)}finally{null!=a.imageToDraw&&a.imageRotation!=r.None&&(a.imageToDraw=s)}},n}(e.StiViewPainter);e.StiImagePainter=n}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Drawing.StiSolidBrush,n=t.System.Drawing.Color,i=t.System.Drawing.Brushes,o=t.Base.Drawing.StiDrawing,a=t.System.Drawing.Rectangle,s=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return __extends(s,t),s.prototype.implements=function(){return[e.IStiPagePainter]},s.prototype.paint=function(e,s){var l=e;if(null==l.report)return;var u=l.unit,c=l.zoom,p=u.convertToHInches(l.margins.left),h=u.convertToHInches(l.margins.top),m=u.convertToHInches(l.margins.right),f=u.convertToHInches(l.margins.bottom),d=u.convertToHInches(l.displayRectangle.width),g=u.convertToHInches(l.displayRectangle.height),S=u.convertToHInches(l.width),y=u.convertToHInches(l.height);l.brush.stimulsoft.is(r)&&l.brush.color.stimulsoft.equals(n.transparent)?o.fillRectangle(s,i.white,0,0,d*l.zoom,g*l.zoom):o.fillRectangle(s,l.brush,0,0,d*l.zoom,g*l.zoom),s.translateTransform(Math.trunc(p*l.zoom),Math.trunc(h*l.zoom)),t.prototype.paintComponents.call(this,l,s),this.paintBorder(l,s,new a(0,0,S*c,y*c),l.zoom,!0,!0)},s}(e.StiContainerPainter);e.StiPagePainter=s}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiString,i=t.Base.Drawing.StiDrawing,o=t.System.Drawing.Color,a=t.System.Drawing.StringFormat,s=t.Base.Drawing.StiFontUtils,l=t.System.Drawing.StringAlignment,u=t.System.Drawing.Size,c=t.System.Collections.List,p=t.System.Char,h=t.System.Drawing.Rectangle,m=t.Base.Drawing.StiBrush,f=function(){function r(){}return r.prototype.paintText=function(r,i,o){var f=r.stimulsoft.as(t.Report.Components.StiTextInCells);if(!r.isDesigning||r.report.isPageDesigner)return;var d=f.border.size/2*f.page.zoom,g=f.getTextForPaint(),S=f.page.unit,y=S.convertToHInches(f.horSpacing*f.page.zoom),A=S.convertToHInches(f.vertSpacing*f.page.zoom),b=S.convertToHInches(f.cellWidth*f.page.zoom),v=S.convertToHInches(f.cellHeight*f.page.zoom);0==f.cellWidth&&(b=1.5*f.font.getHeight()*f.page.zoom*e.StiDpiHelper.deviceCapsScale),0==f.cellHeight&&(v=1.5*f.font.getHeight()*f.page.zoom*e.StiDpiHelper.deviceCapsScale);var C=f.font.size*f.page.zoom*e.StiDpiHelper.deviceCapsScale,w=new a,B=s.changeFontSize(f.font,C);if(w.lineAlignment=l.Center,w.alignment=l.Center,f.continuousText){var I=o.x+d,T=o.y+d,E=!0,R=0;while(1==1){var D;if((D=new h(I,T,b,v)).right+yF.width){var G=[],H=0,Q=0;while(Q0)if(G[R]!=G[Y])while(p.isWhitespace(j[R]))R++;else{while(!p.isWhitespace(j[R]))R--;Y=R++;while(p.isWhitespace(j[Y]))Y--}N.setByIndex(_,j.substring(0,Y+1)),N.insert(_+1,j.substring(R,j.length-R))}}T=o.y+d;for(var U=0;U0&&(J=n.repeat(" ",W)+J),I=o.x+d;for(var V=0;V0&&i>0&&this.geoms.push(new e.StiGraphicsPathArcGaugeGeom(t,r,n,i,o,a))},n.prototype.addGraphicsPathCloseFigureGaugeGeom=function(){this.geoms.push(new e.StiGraphicsPathCloseFigureGaugeGeom)},n.prototype.addGraphicsPathLinesGaugeGeom=function(t){this.geoms.push(new e.StiGraphicsPathLinesGaugeGeom(t))},n.prototype.addGraphicsPathLineGaugeGeom=function(t,r){this.geoms.push(new e.StiGraphicsPathLineGaugeGeom(t,r))},n}(e.StiGaugeGeom);e.StiGraphicsPathGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t,r){var n=e.call(this)||this;return n.p1=t,n.p2=r,n}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.GraphicsPathLine},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiGraphicsPathLineGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(e){var r=function(e){function r(t){var r=e.call(this)||this;return r.points=t,r}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGaugeGeomType.GraphicsPathLines},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiGraphicsPathLinesGaugeGeom=r}(e=t.GaugeGeoms||(t.GaugeGeoms={}))}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGaugeMarker="IStiGaugeMarker"}(e=t.Gauge||(t.Gauge={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiInteractionDataGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e;!function(t){t[t["MoveTo"]=0]="MoveTo",t[t["Line"]=1]="Line",t[t["Bezier"]=2]="Bezier",t[t["Beziers"]=3]="Beziers",t[t["Close"]=4]="Close"}(e=t.StiMapGeomType||(t.StiMapGeomType={}))}(e=t.Geoms||(t.Geoms={}))}(e=t.Maps||(t.Maps={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBarCodePainter="IStiBarCodePainter"}(e=t.Painters||(t.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPagePainter="IStiPagePainter"}(e=t.Painters||(t.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.Report.Maps.Helpers.StiGssMapHelper,i=t.System.Drawing.ColorTranslator,o=t.System.Drawing.SolidBrush,a=t.System.Drawing.Color,s=t.Base.Drawing.StiSolidBrush,l=t.Report.Dictionary.StiDataColumn,u=t.Base.Meters.IStiValueMapMeter,c=t.Base.Meters.IStiNameMapMeter,p=t.Base.Meters.IStiKeyMapMeter,h=t.Base.Meters.IStiColorMapMeter,m=t.Base.Meters.IStiGroupMapMeter,f=t.Report.Maps.StiMapSource,d=t.Report.Maps.StiMap,g=t.Base.Drawing.StiColorUtils,S=t.System.StiObject,y=function(){function t(){this.minValue=0,this.maxValue=0}return t}(),A=function(){function t(){this.stackColors=[],this.index=0}return t.prototype.getColor=function(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush;var r=this.getColors(e)[t];return new o(r)},t.prototype.getColor1=function(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush1;var r=this.getColors(e)[t];return new s(r)},t.prototype.getColors=function(t){for(var e=new Array(t),r=0,n=0,i=0;ithis.max&&(this.max=u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.colors=d.getMapStyle(e.mapStyle).heatmapColors}return t.prototype.getBrush=function(t){if(null==this.colors||0==this.colors.length)return this.painter.defaultBrush;if(this.min==this.max)return new o(this.colors[0]);var e=0;if(isNaN(parseFloat(t.value)))return this.painter.defaultBrush;return e=parseFloat(t.value),new o(g.changeLightness(this.colors[0],.85*(this.max-e)/(this.max-this.min)))},t.prototype.getBrush1=function(t){if(null==this.colors||0==this.colors.length)return this.painter.defaultBrush1;if(this.min==this.max)return new s(this.colors[0]);var e=0;if(isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;return e=parseFloat(t.value),new s(g.changeLightness(this.colors[0],.85*(this.max-e)/(this.max-this.min)))},t}(),v=function(){function t(t,e,r){var n,i;this.hash={},this.hashColors={},this.painter=t;var o=d.getMapStyle2(e).heatmapColors,a=0;try{for(var s=__values(r),l=s.next();!l.done;l=s.next()){var u=l.value,c=u.group;if(null==c||null==u)continue;var p=0;if(null==u.value||isNaN(parseFloat(u.value)))continue;if(p=parseFloat(u.value),this.hash[c]){var h;p<(h=this.hash[c])[0]?h[0]=p:p>h[1]&&(h[1]=p)}else{var h=[p,p];this.hash[c]=h}if(!this.hashColors[c]){var m=o[a];++a>=o.length&&(a=0),this.hashColors[c]=m}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}return t.prototype.getBrush=function(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush;var e=this.hash[t.group],r=this.hashColors[t.group];if(e[0]==e[1])return new o(r);var n=0;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush;return n=parseFloat(t.value),new o(g.changeLightness(r,.85*(e[1]-n)/(e[1]-e[0])))},t.prototype.getBrush1=function(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush1;var e=this.hash[t.group],r=this.hashColors[t.group];if(e[0]==e[1])return new s(r);var n=0;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;return n=parseFloat(t.value),new s(g.changeLightness(r,.85*(e[1]-n)/(e[1]-e[0])))},t}(),C=function(){function e(){this.index=0,this.colors=t.Report.Maps.StiMapHelper.getColors()}return e.prototype.getBrush=function(){var t=this.colors[this.index];return this.index++,this.index>=this.colors.length&&(this.index=0),new s(t)},e}(),w=function(){function e(t){this.individualStep=0,this.hashGroup={},this.colorsContainer=new A,this.map=t}return Object.defineProperty(e.prototype,"mapData",{get:function(){return this._mapData},set:function(t){this._mapData=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mapStyle",{get:function(){return this._mapStyle},set:function(t){this._mapStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataTable",{get:function(){return this._dataTable},set:function(t){this._dataTable=t},enumerable:!1,configurable:!0}),e.prototype.getValues=function(t){if(null==this._dataTable||null==t)return null;var e=this.dataTable.meters.indexOf(t);if(-1==e)return null;return this.dataTable.rows.getArrayItem(e).toList()},e.prototype.prepareDataColumns=function(){var e,i;if(this.map.dataFrom==f.Manual)return void(this.mapData=this.map.getMapData());this.mapData=d.getDefaultMapData(this.map.report,this.map.mapIdent);var o=null,a=null,s=null,g=null,S=null;if(null!=this.dataTable&&null!=this.dataTable.meters)o=this.getValues(this.dataTable.meters.firstOrDefault((function(t){return t.stimulsoft.is(p)}))),a=this.getValues(this.dataTable.meters.firstOrDefault((function(t){return t.stimulsoft.is(c)}))),s=this.getValues(this.dataTable.meters.firstOrDefault((function(t){return t.stimulsoft.is(u)}))),g=this.getValues(this.dataTable.meters.firstOrDefault((function(t){return t.stimulsoft.is(m)}))),S=this.getValues(this.dataTable.meters.firstOrDefault((function(t){return t.stimulsoft.is(h)})));else try{this.map.report.dictionary.connect(),o=r.isNullOrEmpty(this.map.keyDataColumn)?null:l.getDataListFromDataColumn(this.map.report.dictionary,this.map.keyDataColumn).stimulsoft.toList(),a=r.isNullOrEmpty(this.map.nameDataColumn)?null:l.getDataListFromDataColumn(this.map.report.dictionary,this.map.nameDataColumn).stimulsoft.toList(),s=r.isNullOrEmpty(this.map.valueDataColumn)?null:l.getDataListFromDataColumn(this.map.report.dictionary,this.map.valueDataColumn).stimulsoft.toList(),g=r.isNullOrEmpty(this.map.groupDataColumn)?null:l.getDataListFromDataColumn(this.map.report.dictionary,this.map.groupDataColumn).stimulsoft.toList(),S=r.isNullOrEmpty(this.map.colorDataColumn)?null:l.getDataListFromDataColumn(this.map.report.dictionary,this.map.colorDataColumn).stimulsoft.toList(),this.map.report.dictionary.disconnect()}catch(t){}var y=n.allowGss(this.map.mapIdent);if(null!=o&&(o=(new t.Report.Helpers.StiMapKeyHelper).getMapKeysFromNames(o,this.map.mapIdent,this.map.report).cast()),null==o)return;try{var A=0;if(null!=o&&(0==A||o.lengtha?s.minValue=a:s.maxValue0)switch(m.operationComponentName){case a.EqualTo:f=e.name==m.componentName;break;case a.NotEqualTo:f=e.name!=m.componentName;break;case a.BeginningWith:f=null!=e.name&&e.name.stimulsoft.startsWith(m.componentName);break;case a.EndingWith:f=null!=e.name&&e.name.stimulsoft.endsWith(m.componentName);break;case a.Containing:f=null!=e.name&&e.name.stimulsoft.contains(m.componentName);break;case a.NotContaining:f=null!=e.name&&!e.name.stimulsoft.contains(m.componentName);break}if((m.type&o.ComponentType)>0&&(d=!1,(m.componentType&s.Chart)>0&&e.stimulsoft.is(t.Report.Chart.IStiChart)&&(d=!0),(m.componentType&s.Image)>0&&e.stimulsoft.is(t.Report.Components.StiImage)&&(d=!0),(m.componentType&s.Text)>0&&e.stimulsoft.is(t.Report.Components.StiSimpleText)&&(d=!0),(m.componentType&s.Primitive)>0&&(e.stimulsoft.is(t.Report.Components.StiShape)||e.stimulsoft.is(t.Report.Components.StiPrimitive))&&(d=!0),(m.componentType&s.CheckBox)>0&&e.stimulsoft.is(t.Report.Components.StiCheckBox)&&(d=!0),m.operationComponentType==a.NotEqualTo&&(d=!d)),(m.type&o.Location)>0&&null!=e.page&&null!=e.parent){var y=Math.round2(e.page.unit.convertToHInches(e.left)/10,0),A=Math.round2(e.page.unit.convertToHInches(e.top)/10,0),b=Math.round2(e.page.unit.convertToHInches(e.width)/10,0),v=Math.round2(e.page.unit.convertToHInches(e.height)/10,0),C=Math.round2(e.page.unit.convertToHInches(e.parent.width)/10,0),w=Math.round2(e.page.unit.convertToHInches(e.parent.height)/10,0),B=y+b,I=A+v;S=!1,(m.location&r.Left)>0&&A<=0&&y<=0&&v==w&&(S=!0),(m.location&r.Right)>0&&A<=0&&B>=C&&v==w&&(S=!0),(m.location&r.Top)>0&&y<=0&&A<=0&&b==C&&(S=!0),(m.location&r.Bottom)>0&&y<=0&&I>=w&&b==C&&(S=!0),(m.location&r.CenterHorizontal)>0&&A<=0&&y>0&&B0&&y<=0&&A>0&&I0&&A<=0&&y<=0&&(S=!0),(m.location&r.TopCenter)>0&&A<=0&&y>0&&B0&&A<=0&&B>=C&&(S=!0),(m.location&r.MiddleLeft)>0&&A>0&&I0&&A>0&&I0&&B0&&A>0&&I=C&&(S=!0),(m.location&r.BottomLeft)>0&&I>=w&&y<=0&&(S=!0),(m.location&r.BottomCenter)>0&&I>=w&&y>0&&B0&&I>=w&&B>=C&&(S=!0)),m.operationPlacement==a.NotEqualTo&&(S=!S)}if((m.type&o.Placement)>0){if(g=!1,(m.placement&i.ReportTitle)>0&&e.parent.stimulsoft.is(t.Report.Components.StiReportTitleBand)&&(g=!0),(m.placement&i.ReportSummary)>0&&e.parent.stimulsoft.is(t.Report.Components.StiReportSummaryBand)&&(g=!0),(m.placement&i.PageHeader)>0&&e.parent.stimulsoft.is(t.Report.Components.StiPageHeaderBand)&&(g=!0),(m.placement&i.PageFooter)>0&&e.parent.stimulsoft.is(t.Report.Components.StiPageFooterBand)&&(g=!0),(m.placement&i.GroupHeader)>0&&e.parent.stimulsoft.is(t.Report.Components.StiGroupHeaderBand)&&(g=!0),(m.placement&i.GroupFooter)>0&&e.parent.stimulsoft.is(t.Report.Components.StiGroupFooterBand)&&(g=!0),(m.placement&i.Header)>0&&e.parent.stimulsoft.is(t.Report.Components.StiHeaderBand)&&(g=!0),(m.placement&i.Footer)>0&&e.parent.stimulsoft.is(t.Report.Components.StiFooterBand)&&(g=!0),(m.placement&i.ColumnHeader)>0&&e.parent.stimulsoft.is(t.Report.Components.StiColumnHeaderBand)&&(g=!0),(m.placement&i.ColumnFooter)>0&&e.parent.stimulsoft.is(t.Report.Components.StiColumnFooterBand)&&(g=!0),(m.placement&i.Data)>0&&e.parent.stimulsoft.is(t.Report.Components.StiDataBand)&&(g=!0),(m.placement&i.DataEvenStyle)>0&&e.stimulsoft.is(t.Report.Components.StiDataBand)&&(g=!0),(m.placement&i.DataOddStyle)>0&&e.stimulsoft.is(t.Report.Components.StiDataBand)&&(g=!0),(m.placement&i.Table)>0&&e.parent.stimulsoft.is(n)&&(g=!0),(m.placement&i.Hierarchical)>0&&e.parent.stimulsoft.is(t.Report.Components.StiHierarchicalBand)&&(g=!0),(m.placement&i.Child)>0&&e.parent.stimulsoft.is(t.Report.Components.StiChildBand)&&(g=!0),(m.placement&i.Empty)>0&&e.parent.stimulsoft.is(t.Report.Components.StiEmptyBand)&&(g=!0),(m.placement&i.Overlay)>0&&e.parent.stimulsoft.is(t.Report.Components.StiOverlayBand)&&(g=!0),(m.placement&i.Panel)>0&&e.parent.stimulsoft.is(t.Report.Components.StiPanel)&&(g=!0),(m.placement&i.Page)>0&&e.parent.stimulsoft.is(t.Report.Components.StiPage)&&(g=!0),g&&(m.type&o.PlacementNestedLevel)>0){var T=1,E=e.parent;((m.placement&i.DataEvenStyle)>0||(m.placement&i.DataOddStyle)>0)&&(E=e);var R=E.stimulsoft.as(t.Report.Components.StiBand);null!=R&&(T=R.nestedLevel),m.operationPlacementNestedLevel==a.EqualTo?g=T==m.placementNestedLevel:m.operationPlacementNestedLevel==a.NotEqualTo?g=T!=m.placementNestedLevel:m.operationPlacementNestedLevel==a.GreaterThan?g=T>m.placementNestedLevel:m.operationPlacementNestedLevel==a.GreaterThanOrEqualTo?g=T>=m.placementNestedLevel:m.operationPlacementNestedLevel==a.LessThan?g=T0){var a=t;this.brush=a.brush.clone()}},h.prototype.setStyleToComponent=function(t){},h}(s);e.StiGaugeStyle=h}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Base.StiJsonReportObjectHelper,n=t.Report.Styles.StiBaseStyle,i=t.System.Drawing.ColorTranslator,o=t.System.Drawing.Color,a=function(n){function a(t,e,r){void 0===t&&(t=""),void 0===e&&(e="");var a=n.call(this,t,e,r)||this;return a.backColor=o.white,a.glyphColor=i.fromHtml("#3498db"),a.foreColor=i.fromHtml("#8c8c8c"),a.hotBackColor=o.transparent,a.hotForeColor=o.dimGray,a.positiveColor=o.green,a.negativeColor=o.red,a}return __extends(a,n),a.prototype.saveToJsonObject=function(t){var e=n.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("BackColor",r.Serialize.jColor(this.backColor,o.white)),e.addPropertyStringNullOrEmpty("GlyphColor",r.Serialize.jColor(this.glyphColor,i.fromHtml("#3498db"))),e.addPropertyStringNullOrEmpty("ForeColor",r.Serialize.jColor(this.foreColor,i.fromHtml("#8c8c8c"))),e.addPropertyStringNullOrEmpty("HotBackColor",r.Serialize.jColor(this.hotBackColor,o.transparent)),e.addPropertyStringNullOrEmpty("PositiveColor",r.Serialize.jColor(this.positiveColor,o.green)),e.addPropertyStringNullOrEmpty("NegativeColor",r.Serialize.jColor(this.negativeColor,o.red)),e},a.prototype.loadFromJsonObject=function(t){var e,i;n.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"BackColor":this.backColor=r.Deserialize.color(s.value);break;case"GlyphColor":this.glyphColor=r.Deserialize.color(s.value);break;case"ForeColor":this.foreColor=r.Deserialize.color(s.value);break;case"HotBackColor":this.hotBackColor=r.Deserialize.color(s.value);break;case"PositiveColor":this.positiveColor=r.Deserialize.color(s.value);break;case"NegativeColor":this.negativeColor=r.Deserialize.color(s.value);break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(e){n.prototype.loadFromXml.call(this,e);for(var r=0;r0)if(r.stimulsoft.is(m)){var h=r.stimulsoft.as(m);this.font=h.font.clone().stimulsoft.as(u),this.allowUseFont=!0}else p&&(this.font=o.font.clone().stimulsoft.as(u),this.allowUseFont=!0);if((n&e.StiStyleElements.Border)>0)if(r.stimulsoft.is(f)){var h=r.stimulsoft.as(f);this.border=h.border.clone().stimulsoft.as(a),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0}else p&&(this.border=o.border.clone().stimulsoft.as(a),this.allowUseFont=!0);if((n&e.StiStyleElements.Brush)>0)if(r.stimulsoft.is(d)){var h=r.stimulsoft.as(d);this.brush=h.brush.clone().stimulsoft.as(s),this.allowUseBrush=!0}else p&&(this.brush=o.brush.clone().stimulsoft.as(s),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0);if((n&e.StiStyleElements.TextBrush)>0)if(r.stimulsoft.is(g)){var h=r.stimulsoft.as(g);this.textBrush=h.textBrush.clone().stimulsoft.as(s),this.allowUseTextBrush=!0}else p&&(this.textBrush=o.textBrush.clone().stimulsoft.as(s),this.allowUseTextBrush=!0);if(r.stimulsoft.is(t.Report.Components.IStiBackColor)&&(n&e.StiStyleElements.Brush)>0){var h=r.stimulsoft.as(t.Report.Components.IStiBackColor);this.brush=new l(h.backColor),this.allowUseBrush=!0}if(r.stimulsoft.is(t.Report.Components.IStiForeColor)&&(n&e.StiStyleElements.TextBrush)>0){var h=r.stimulsoft.as(t.Report.Components.IStiForeColor);this.textBrush=new l(h.foreColor),this.allowUseTextBrush=!0}if((n&e.StiStyleElements.HorAlignment)>0)if(r.stimulsoft.is(t.Report.Components.IStiTextHorAlignment)){var h=r.stimulsoft.as(t.Report.Components.IStiTextHorAlignment);this.horAlignment=h.horAlignment,this.allowUseHorAlignment=!0}else p&&(this.horAlignment=o.horAlignment,this.allowUseHorAlignment=!0);if(r.stimulsoft.is(t.Report.Components.IStiHorAlignment)&&(n&e.StiStyleElements.HorAlignment)>0){var h;switch((h=r.stimulsoft.as(t.Report.Components.IStiHorAlignment)).horAlignment){case S.Center:this.horAlignment=c.Center;break;case S.Left:this.horAlignment=c.Left;break;case S.Right:this.horAlignment=c.Right;break}this.allowUseHorAlignment=!0}if((n&e.StiStyleElements.VertAlignment)>0)if(r.stimulsoft.is(t.Report.Components.IStiVertAlignment)){var h=r.stimulsoft.as(t.Report.Components.IStiVertAlignment);this.vertAlignment=h.vertAlignment,this.allowUseVertAlignment=!0}else p&&(this.vertAlignment=o.vertAlignment,this.allowUseVertAlignment=!0);var y=r.stimulsoft.as(t.Report.Components.StiLinePrimitive);null!=y&&(this.border=new a(this.border.side,y.color,y.size,y.style),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0)},v.prototype.setStyleToComponent=function(e){if(e.stimulsoft.is(t.Report.Chart.IStiChart))return;var i=e.stimulsoft.as(t.Report.Components.StiLinePrimitive),o,o,o,o,o,o,o,o,o;e.stimulsoft.is(m)&&this.allowUseFont&&((o=e.stimulsoft.as(m)).font=this.font.clone().stimulsoft.as(u));if(e.stimulsoft.is(f)&&(this.allowUseBorderFormatting||this.allowUseBorderSides)&&null==i){var o,l=(o=e.stimulsoft.as(f)).border.side;this.allowUseBorderFormatting&&(o.border=this.border.clone().stimulsoft.as(a),o.border.side=l),this.allowUseBorderSides&&(this.allowUseBorderSidesFromLocation&&null!=e.parent?o.border.side=r.StiStylesHelper.getBorderSidesFromLocation(e):o.border.side=this.border.side)}e.stimulsoft.is(d)&&this.allowUseBrush&&((o=e.stimulsoft.as(d)).brush=this.brush.clone().stimulsoft.as(s));e.stimulsoft.is(g)&&this.allowUseTextBrush&&((o=e.stimulsoft.as(g)).textBrush=this.textBrush.clone().stimulsoft.as(s));e.stimulsoft.is(t.Report.Components.IStiBackColor)&&this.allowUseBrush&&((o=e.stimulsoft.as(t.Report.Components.IStiBackColor)).backColor=s.toColor(this.brush));e.stimulsoft.is(t.Report.Components.IStiForeColor)&&this.allowUseTextBrush&&((o=e.stimulsoft.as(t.Report.Components.IStiForeColor)).foreColor=s.toColor(this.textBrush));e.stimulsoft.is(t.Report.Components.IStiTextHorAlignment)&&this.allowUseHorAlignment&&((o=e.stimulsoft.as(t.Report.Components.IStiTextHorAlignment)).horAlignment=this.horAlignment);if(e.stimulsoft.is(t.Report.Components.IStiTextOptions)&&this.allowUseTextOptions)var o=e.stimulsoft.as(t.Report.Components.IStiTextOptions);if(e.stimulsoft.is(t.Report.Components.IStiHorAlignment)&&this.allowUseHorAlignment){var o=e.stimulsoft.as(t.Report.Components.IStiHorAlignment);switch(this.horAlignment){case c.Center:o.horAlignment=S.Center;break;case c.Left:o.horAlignment=S.Left;break;case c.Right:o.horAlignment=S.Right;break}}e.stimulsoft.is(t.Report.Components.IStiVertAlignment)&&this.allowUseVertAlignment&&((o=e.stimulsoft.as(t.Report.Components.IStiVertAlignment)).vertAlignment=this.vertAlignment);e.stimulsoft.is(n)&&this.allowUseTextFormat&&((o=e).textFormat=this.textFormat.clone());e.stimulsoft.is(t.Report.Components.StiImage)&&this.allowUseImage&&((o=e.stimulsoft.as(t.Report.Components.StiImage)).image=this.image);null!=i&&this.allowUseBorderFormatting&&(i.color=this.border.color,i.size=this.border.size,i.style=this.border.style)},Object.defineProperty(v.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t)},enumerable:!1,configurable:!0}),v}(r.StiBaseStyle);r.StiStyle=b}(r=e.Styles||(e.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Xml.XmlConverter,i=t.System.StiString,o=t.System.Xml.XmlNode,a=t.Base.StiJsonSaveMode,s=t.System.Collections.CollectionBase,l=t.System.Collections.Hashtable,u=t.Base.JsonReportObject.IStiJsonReportObject,c=t.Base.StiJson,p=function(s){function p(t){void 0===t&&(t=null);var e=s.call(this)||this;return e.report=null,e.hash=new l,e.needUpdateHash=!0,e.lastCount=-1,e.report=t,e.needUpdateHash=!0,e}return __extends(p,s),p.prototype.implements=function(){return[u]},p.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new c,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},p.prototype.loadFromJsonObject=function(t){var n,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s,l=a.value.value,u=l.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,c=null;switch(u){case"StiChartStyle":c=new r.StiChartStyle;break;case"StiGaugeStyle":c=new e.StiGaugeStyle;break;case"StiIndicatorStyle":c=new e.StiIndicatorStyle;break;case"StiProgressStyle":c=new e.StiProgressStyle;break;case"StiCrossTabStyle":c=new r.StiCrossTabStyle;break;case"StiDialogStyle":c=new r.StiDialogStyle;break;case"StiMapStyle":c=new r.StiMapStyle;break;case"StiTableStyle":c=new e.StiTableStyle;break;case"StiStyle":c=new r.StiStyle;break}c.loadFromJsonObject(l),this.list.push(c)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},p.prototype.loadFromXml=function(e){for(var r=0;r150?g.dark(e,200):e,I=new a(S.transparent),T=new a(B),E=n.toProperCase(u.get("Components","StiReportTitleBand")).stimulsoft.replaceAll(" ","_"),R=r.format("{0}_{1}1",t,E);this.createStyles1(R,this.showBorders,w,I,T,b,v,c.ReportTitle,1,l.EqualTo,C),w=new p("Arial",10,s.Bold);var D=r.format("{0}_{1}2",t,E);this.createStyles1(D,this.showBorders,w,I,T,b,v,c.ReportTitle,2,l.GreaterThanOrEqualTo,C)}if(this.showReportSummaries){var P=new p("Arial",12,s.Bold),B=y>150?g.dark(e,200):e,x=new a(S.transparent),F=new a(B),N=n.toProperCase(u.get("Components","StiReportSummaryBand")).stimulsoft.replaceAll(" ","_"),k=r.format("{0}_{1}1",t,N);this.createStyles1(k,this.showBorders,P,x,F,b,v,c.ReportSummary,1,l.EqualTo,C),P=new p("Arial",10,s.Bold);var M=r.format("{0}_{1}2",t,N);this.createStyles1(M,this.showBorders,P,x,F,b,v,c.ReportSummary,2,l.GreaterThanOrEqualTo,C)}if(this.showPageHeaders){var O=new p("Arial",10),B=y>150?g.dark(e,200):e,_=new a(S.transparent),j=new a(B),G=n.toProperCase(u.get("Components","StiPageHeaderBand")).stimulsoft.replaceAll(" ","_");G=r.format("{0}_{1}",t,G),this.createStyles1(G,this.showBorders,O,_,j,b,v,c.PageHeader,null,null,C)}if(this.showPageFooters){var H=new p("Arial",10),B=y>150?g.dark(e,200):e,Q=new a(S.transparent),L=new a(B),Y=n.toProperCase(u.get("Components","StiPageFooterBand")).stimulsoft.replaceAll(" ","_");Y=r.format("{0}_{1}",t,Y),this.createStyles1(Y,this.showBorders,H,Q,L,b,v,c.PageFooter,null,null,C)}if(this.showGroupHeaders)for(var U=4/this.maxNestedLevel,B=y>150?g.dark(e,150):e,J=new a(B),W=1;W<=this.maxNestedLevel;W++){var V=Math.trunc(U*(W-1)),z=new p("Arial",13-V,s.Bold),X=new a(S.transparent),K=W==this.maxNestedLevel?l.GreaterThanOrEqualTo:l.EqualTo,Z=n.toProperCase(u.get("Components","StiGroupHeaderBand")).stimulsoft.replaceAll(" ","_");Z=r.format("{0}_{1}{2}",t,Z,W),this.createStyles1(Z,this.showBorders,z,X,J,b,v,c.GroupHeader,W,K,C)}if(this.showGroupFooters)for(var U=4/this.maxNestedLevel,B=y>150?g.dark(e,150):e,q=new a(B),W=1;W<=this.maxNestedLevel;W++){var V=Math.trunc(U*(W-1)),$=new p("Arial",13-V,s.Bold),tt=new a(S.transparent),K=0==W?l.GreaterThanOrEqualTo:l.EqualTo,et=n.toProperCase(u.get("Components","StiGroupFooterBand")).stimulsoft.replaceAll(" ","_");et=r.format("{0}_{1}{2}",t,et,W),this.createStyles1(et,this.showBorders,$,tt,q,b,v,c.GroupFooter,W,K,C)}if(this.showHeaders){var rt=100/this.maxNestedLevel,nt=new p("Arial",8,s.Bold),B=g.dark(e,200),it=new a(B);b.topmost=!0;for(var W=1;W<=this.maxNestedLevel;W++){var ot;(ot=Math.trunc(rt*(W-1)*this.colorFactor))>255&&(ot=255);var at=new a(g.light(e,ot)),K=W==this.maxNestedLevel?l.GreaterThanOrEqualTo:l.EqualTo,st=n.toProperCase(u.get("Components","StiHeaderBand")).stimulsoft.replaceAll(" ","_");st=r.format("{0}_{1}{2}",t,st,W),this.createStyles1(st,this.showBorders,nt,at,it,b,v,c.Header,W,K,C)}}if(this.showDatas)for(var rt=60/this.maxNestedLevel,lt=new p("Arial",8),B=g.dark(e,200),ut=new a(B),W=1;W<=this.maxNestedLevel;W++){var ot;(ot=Math.trunc((150+rt*(W-1))*this.colorFactor))>255&&(ot=255);var ct=new a(g.light(e,ot)),pt=new a(g.light(e,.5*ot)),K=W==this.maxNestedLevel?l.GreaterThanOrEqualTo:l.EqualTo,ht=n.toProperCase(u.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_");ht=r.format("{0}_{1}{2}",t,ht,W),this.createStyles1(ht,this.showBorders,lt,new a(S.transparent),ut,b,v,c.Data,W,K,C),ht=n.toProperCase(u.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_");var mt=u.get("PropertyMain","OddStyle");ht=r.format("{0}_{1}{2}_{3}",t,ht,W,mt),this.createStyles1(ht,this.showBorders,lt,ct,ut,b,null,c.DataOddStyle,W,K,C),ht=n.toProperCase(u.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_");var ft=u.get("PropertyMain","EvenStyle");ht=r.format("{0}_{1}{2}_{3}",t,ht,W,ft),this.createStyles1(ht,this.showBorders,lt,pt,ut,b,null,c.DataEvenStyle,W,K,C)}if(this.showFooters)for(var rt=100/this.maxNestedLevel,dt=new p("Arial",8),B=g.dark(e,200),gt=new a(B),W=1;W<=this.maxNestedLevel;W++){var ot;(ot=Math.trunc((rt*(W-1)+20)*this.colorFactor))>255&&(ot=255);var St=new a(g.light(e,ot)),K=0==W?l.GreaterThanOrEqualTo:l.EqualTo,yt=n.toProperCase(u.get("Components","StiFooterBand")).stimulsoft.replaceAll(" ","_");yt=r.format("{0}_{1}{2}",t,yt,W),this.createStyles1(yt,this.showBorders,dt,St,gt,b,v,c.Footer,W,K,C)}try{for(var At=__values(C),bt=At.next();!bt.done;bt=At.next()){var vt;bt.value.collectionName=t}}catch(t){i={error:t}}finally{try{bt&&!bt.done&&(o=At.return)&&o.call(At)}finally{if(i)throw i.error}}return C},e.prototype.createStyles1=function(t,e,r,n,i,o,a,s,l,u,c){var p,h,m=this.createStyles2(t,r,n,i,o,s,l,u,a,e);try{for(var f=__values(m),d=f.next();!d.done;d=f.next()){var g=d.value;c.push(g)}}catch(t){p={error:t}}finally{try{d&&!d.done&&(h=f.return)&&h.call(f)}finally{if(p)throw p.error}}return m},e.prototype.createStyles2=function(t,e,r,n,i,o,a,s,l,u){var p=[];i=new d(f.None,i.color,i.size,i.style,i.dropShadow,i.shadowSize,i.shadowBrush,i.topmost);var h=this.createStyle(t,e,r,n,i,o,a,s,l);return o==c.ReportTitle||o==c.ReportSummary||o==c.PageFooter||o==c.PageHeader?h.allowUseBorderSidesFromLocation=!1:h.allowUseBorderSidesFromLocation=u,p.push(h),p},e.prototype.createStyle=function(e,r,n,o,a,s,l,u,c){var p=new i(this.getStyleName(e));p.font=r,p.brush=n,p.textBrush=o,p.border=a;var h=[];return null!=u&&null!=l&&h.push(new t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement(l,u)),null!=c&&h.push(new t.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement(c)),h.push(new t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement(s)),p.conditions.add(h.stimulsoft.toArray()),p},e.prototype.getStyleName=function(t){var e,n,i=t,o=2;while(1){var a=!1;try{for(var s=(e=void 0,__values(this.report.styles.list)),l=s.next();!l.done;l=s.next()){var u;if(l.value.name==i){a=!0;break}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}if(!a)return i;i=r.format("{0}_{1}",t,o),o++}},e}();e.StiStylesCreator=y}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Components.Gauge.IStiGauge,n=t.Report.Chart.IStiCustomStyleCoreXF,i=t.Report.Chart.IStiCustomStyle,o=t.Report.Chart.IStiChart,a=t.Report.Dashboard.IStiDashboardElementStyle,s=t.Report.Components.StiDataBand,l=t.Report.Components.StiCondition,u=t.Base.Drawing.StiBorderSides,c=function(){function t(){}return t.getBorderSidesFromLocation=function(t){var e=u.None,r=Math.round2(t.page.unit.convertToHInches(t.left)/10,0),n=Math.round2(t.page.unit.convertToHInches(t.top)/10,0),i=Math.round2(t.page.unit.convertToHInches(t.parent.width)/10,0),o=Math.round2(t.page.unit.convertToHInches(t.parent.height)/10,0),a=Math.round2(t.page.unit.convertToHInches(t.left+t.width)/10,0),s=Math.round2(t.page.unit.convertToHInches(t.top+t.height)/10,0);return r<=0&&(e|=u.Left),n<=0&&(e|=u.Top),a>=i&&(e|=u.Right),s>=o&&(e|=u.Bottom),e},t.changeComponentStyleName=function(t,e,r){if(t.componentStyle==e&&(t.componentStyle=r),null!=t.conditions&&t.conditions.count>0)for(var n=0;n0){try{for(var d=(s=void 0,__values(f.list)),g=d.next();!g.done;g=d.next()){var S=g.value,y=t.System.Guid.newGuidString();S.tag=y,u.add(y,m)}}catch(t){s={error:t}}finally{try{g&&!g.done&&(l=d.return)&&l.call(d)}finally{if(s)throw s.error}}c.addRange(f)}}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return c},e.setConditions=function(t,e,r){var n,i,o,a;try{for(var s=__values(t.list),l=s.next();!l.done;l=s.next()){var u;l.value.conditions.clear()}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}try{for(var c=__values(e.list),p=c.next();!p.done;p=c.next()){var h=p.value;if(null!=h.tag&&r.contains(h.tag)){var m=h.clone();m.tag=null,r.get(h.tag).conditions.add(m)}else this.setConditionAllComponents(h,t)}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}},e.setConditionAllComponents=function(t,e){var r,n;try{for(var i=__values(e.list),o=i.next();!o.done;o=i.next()){var a=o.value,s=t.clone();s.tag=null,a.conditions.add(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},e}();e.StiConditionsHelper=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=function(){function e(){}return Object.defineProperty(e,"deviceCapsDpi",{get:function(){return 0==this._deviceCapsDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._deviceCapsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"graphicsDpi",{get:function(){return 0==this._graphicsDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"graphicsRichTextDpi",{get:function(){return 0==this._graphicsRichTextDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsRichTextDpi},enumerable:!1,configurable:!0}),e.getDpi=function(){try{}catch(e){t.System.StiError.showError(e,!1),this._deviceCapsDpi=96,this._graphicsDpi=96}finally{(this._deviceCapsDpi<70||this._deviceCapsDpi>600)&&(this._deviceCapsDpi=96),(this._graphicsDpi<70||this._graphicsDpi>600)&&(this._graphicsDpi=96),this._graphicsRichTextDpi=this._graphicsDpi}if(96==this._deviceCapsDpi&&96==this._graphicsDpi){var e=this.getRegistryValue();96!=e&&e>32&&e<300&&(this._graphicsRichTextDpi=e)}},e.getRegistryValue=function(){var e=null;try{}catch(e){t.System.StiError.showError(e,!1)}return 0},Object.defineProperty(e,"deviceCapsScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this.deviceCapsDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e,"graphicsScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this._graphicsDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e,"graphicsRichTextScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this._graphicsRichTextDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e,"needDeviceCapsScale",{get:function(){return 96!=this.deviceCapsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"needGraphicsScale",{get:function(){return 96!=this.graphicsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"needGraphicsRichTextScale",{get:function(){return 96!=this.graphicsRichTextDpi},enumerable:!1,configurable:!0}),e.LOGPIXELSX=88,e.LOGPIXELSY=90,e._deviceCapsDpi=0,e._graphicsDpi=0,e._graphicsRichTextDpi=0,e}();e.StiDpiHelper=r}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e=function(){function t(t,e,r,n){this._pageIndex=-1,this._position=-1,this._componentName=null,this._textValue=null,this.pageIndex=t,this.position=e,this.componentName=r,this.textValue=n}return Object.defineProperty(t.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){this._position=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textValue",{get:function(){return this._textValue},set:function(t){this._textValue=t},enumerable:!1,configurable:!0}),t}();t.StiEditableItem=e;var r=function(){function t(){this._items=[]}return Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),t}();t.StiEditableItemsContainer=r}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Collections.Hashtable,n=function(){function n(t,n,i,o,a){void 0===n&&(n=!1),void 0===i&&(i=e.ImageFormat.Bmp),void 0===o&&(o=1),void 0===a&&(a=!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=e.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 r,this._useImageComparer=t,this._useImageCompression=n,this._useImageTransparency=a,this._imageSaveFormat=i,this._imageQuality=o}return n.prototype.clear=function(){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},n.prototype.addImageIntRaw=function(r,n){var i=e.ImageFormat.Jpeg;switch(n){case t.System.Drawing.Imaging.ImageFormat.Gif:i=e.ImageFormat.Gif;break;case t.System.Drawing.Imaging.ImageFormat.Png:i=e.ImageFormat.Png;break;case t.System.Drawing.Imaging.ImageFormat.Bmp:i=e.ImageFormat.Bmp;break}return this.addImageInt(r,i)},n.prototype.addImageInt=function(t,e){void 0===e&&(e=null),null==e&&(e=this._imageSaveFormat);var r=this.imageStore.length,i=null,o=null;if((this._useImageComparer||this._useImageCompression)&&(i=t.bytes),this._useImageComparer&&null!=i){r=n.crcSeed;var a=0,s=i.length;while(--s>=0)r=n.crcTable[255&(r^i[a++])]^r>>8;r^=n.crcSeed}this._useImageCompression?t=null:i=null;var l=-1;return this.imageHashTable.containsKey(r)?l=this.imageHashTable.get(r):(l=this.imageStore.length,this.imageStore.push(t),this.imagePackedStore.push(i),this.imageMaskStore.push(o),this.imageHashTable.add(r,l),this.imageFormatStore.push(e)),this.imageIndex.push(l),i=null,o=null,l},n.crcSeed=4294967295,n.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],n}();e.StiImageCache=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Report.Dictionary.StiBusinessObjectsCollection,n=t.Report.Dictionary.StiDatabaseCollection,i=t.Report.Dictionary.StiDataRelationsCollection,o=t.Report.Dictionary.StiDataSourcesCollection,a=t.Report.Dictionary.StiVariablesCollection,s=t.Report.Components.IStiMasterComponent,l=t.Report.Components.StiContainer,u=t.Report.Components.StiComponent,c=t.Report.Components.StiPage,p=t.System.Collections.Hashtable,h=function(){function t(){}return t.compare=function(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)},t.compareComponents=function(t,e){var r,n,i,o,a,h,m,f,d,g,S,y,A,b,v=t.getComponents(),C=e.getComponents(),w=new p,B=new p;try{for(var I=__values(C.list),T=I.next();!T.done;T=I.next()){var E=T.value;B.set(E.name,E)}}catch(t){r={error:t}}finally{try{T&&!T.done&&(n=I.return)&&n.call(I)}finally{if(r)throw r.error}}try{for(var R=__values(v.list),D=R.next();!D.done;D=R.next()){var P,E;if((P=D.value).inherited||P.is(c))if(null==(E=B.get(P.name)))P.is(c)?0==P.components.count&&t.pages.remove(P):P.parent.components.remove(P);else{var x=null,F=E.as(l),N;if(x=null!=F?F.clone(!0,!1):E.clone(!0),w.set(P.name,x),P.is(c)){var k=t.pages.indexOf(P);t.pages.removeAt(k),t.pages.insert(k,x)}else{var k=P.parent.components.indexOf(P);P.parent.components.removeAt(k),P.parent.components.insert(k,x)}if(null!=(N=P.as(l)))try{for(var M=(a=void 0,__values(N.components.list)),O=M.next();!O.done;O=M.next()){var _=O.value;x.components.add(_)}}catch(t){a={error:t}}finally{try{O&&!O.done&&(h=M.return)&&h.call(M)}finally{if(a)throw a.error}}}}}catch(t){i={error:t}}finally{try{D&&!D.done&&(o=R.return)&&o.call(R)}finally{if(i)throw i.error}}try{for(var j=__values(C.list),G=j.next();!G.done;G=j.next()){var P=G.value;if(null==w.get(P.name)){var x=null,N;if(x=null!=(N=P.as(l))?N.clone(!0,!1):P.clone(!0),P.is(c))t.pages.add(x);else{var H=w.get(P.parent.name),k;(k=this.getPositionForComponent(P,H))>=0&&k0){var i=r.components.getByIndex(n-1),o;if(-1!=(o=e.components.indexOf(i.name)))return o+1;n--}n=r.components.indexOf(t);while(n=0&&B=0&&B=0&&P=0&&B=0&&I0&&(t.beginRenderEvent.script=e.beginRenderEvent.script),e.endRenderEvent.script.length>0&&(t.endRenderEvent.script=e.endRenderEvent.script),e.renderingEvent.script.length>0&&(t.renderingEvent.script=e.renderingEvent.script),e.exportingEvent.script.length>0&&(t.exportingEvent.script=e.exportingEvent.script),e.exportedEvent.script.length>0&&(t.exportedEvent.script=e.exportedEvent.script),e.printingEvent.script.length>0&&(t.printingEvent.script=e.printingEvent.script),e.printedEvent.script.length>0&&(t.printedEvent.script=e.printedEvent.script)},t}();e.StiInheritedReportComparer=h}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.DateTime,n=function(){function t(){this.clearLogOnStart=!0,this.first=!0}return t.prototype.writeLogString=function(t){},t.write1=function(t){t=r.today.toString("yyyy:MM:dd")+", "+r.now.toString("HH:mm")+": "+t},t.write=function(t,e){},t.prototype.closeWriter=function(){},t.prototype.openWriter=function(){},t}();e.StiLogService=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Text.XMLConvert,n=t.Base.StiJson,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.ICloneable,a=function(){function t(t,e){this.name=t,this.tag=e}return t.prototype.implements=function(){return t.implementsStiMetaTag||(t.implementsStiMetaTag=[i,o]),t.implementsStiMetaTag},t.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Tag",this.tag),e},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this.name=o.value;break;case"Tag":this.tag=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t,e){if("value"==t.nodeName){var n,i=t.textContent.split(",");this.name=r.decodeName(i[0]),this.tag=r.decodeName(i[1])}},t.prototype.clone=function(){return new t(this.name,this.tag)},t}();e.StiMetaTag=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.StiJson,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.ICloneable,a,s=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.implements=function(){return r.implementsStiMetaTagCollection||(r.implementsStiMetaTagCollection=[i,o]),r.implementsStiMetaTagCollection},r.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var i=new n,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;i.addPropertyJObject(o.toString(),l.saveToJsonObject(t)),o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return i},r.prototype.loadFromJsonObject=function(t){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new e.StiMetaTag(null,null);s.loadFromJsonObject(a.value),this.list.push(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r.prototype.loadFromXml=function(t,r){for(var n=0;n0){y=this.getComponents();try{for(var A=__values(this.jsonLoaderHelper.masterComponents),b=A.next();!b.done;b=A.next()){var v=b.value,C=v.stimulsoft.as(t.Report.Chart.IStiChart);if(null!=C){C.masterComponent=y.getByName(C.jsonMasterComponentTemp),C.jsonMasterComponentTemp=null;continue}var w=v.stimulsoft.as(ct);if(null!=w){w.masterComponent=y.getByName(w.jsonMasterComponentTemp),w.jsonMasterComponentTemp=null;continue}}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}}if(this.jsonLoaderHelper.clones.length>0){null==y&&(y=this.getComponents());try{for(var B=__values(this.jsonLoaderHelper.clones),T=B.next();!T.done;T=B.next()){var E=T.value;E.container=y.getByName(E.jsonContainerValueTemp).stimulsoft.as(t.Report.Components.StiContainer),E.jsonContainerValueTemp=null}}catch(t){l={error:t}}finally{try{T&&!T.done&&(u=B.return)&&u.call(B)}finally{if(l)throw l.error}}}if(this.jsonLoaderHelper.dialogInfo.length>0)try{for(var O=__values(this.jsonLoaderHelper.dialogInfo),_=O.next();!_.done;_=O.next()){var j=_.value;j.bindingVariable=this.dictionary.variables.getByName(j.jsonLoadedBindingVariableName),j.jsonLoadedBindingVariableName=null}}catch(t){c={error:t}}finally{try{_&&!_.done&&(p=O.return)&&p.call(O)}finally{if(c)throw c.error}}this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(e){throw t.System.StiError.showError(e,!1),e}finally{I.currentCulture=h,this.isSerializing=!1}},gt.prototype.loadFromXmlInternal=function(r){var n,o,a,s,l,u;if("StiSerializer"!=r.firstChild.nodeName)return;var c="StiDocument"==r.firstChild.attributes.getNamedItem("application").value;this.jsonLoaderHelper=new dt,this.isSerializing=!0;var p=I.currentCulture;try{I.currentCulture=I.cultures["en-US"],this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=e.StiReportUnitType.Centimeters;for(var h=void 0,m=0;m=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowToolBar),f.textContent.indexOf("ShowRefreshButton")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowRefreshButton),f.textContent.indexOf("ShowOpenButton")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowOpenButton),f.textContent.indexOf("ShowFullScreenButton")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowFullScreenButton),f.textContent.indexOf("ShowMenuButton")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowMenuButton),f.textContent.indexOf("ShowEditButton")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowEditButton),f.textContent.indexOf("ShowReportSnapshots")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowReportSnapshots),f.textContent.indexOf("ShowExports")>=0&&(this.dashboardViewerSettings|=e.StiDashboardViewerSettings.ShowExports);break;case"Collate":this.collate=f.textContent.stimulsoft.toNumber();break;case"ReferencedAssemblies":break;case"ScriptLanguage":break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=f.textContent.stimulsoft.toBoolean();break;case"ParametersOrientation":break;case"RequestParameters":this.requestParameters=f.textContent.stimulsoft.toBoolean();break;case"CacheTotals":this.cacheTotals=f.textContent.stimulsoft.toBoolean();break;case"Culture":this.culture=f.textContent;break;case"Script":this.script=f.textContent;break;case"BeginRenderEvent":var d;(d=new N).script=f.textContent,this.beginRenderEvent=d;break;case"RenderingEvent":var d;(d=new F).script=f.textContent,this.renderingEvent=d;break;case"EndRenderEvent":var d;(d=new x).script=f.textContent,this.endRenderEvent=d;break;case"ExportingEvent":var d;(d=new k).script=f.textContent,this.exportingEvent=d;break;case"ExportedEvent":var d;(d=new P).script=f.textContent,this.exportedEvent=d;break;case"PrintingEvent":var d;(d=new D).script=f.textContent,this.printingEvent=d;break;case"PrintedEvent":var d;(d=new R).script=f.textContent,this.printedEvent=d;break;case"RefreshingEvent":var d;(d=new i).script=f.textContent,this.refreshingEvent=d;break;case"ReportCacheProcessingEvent":var d;(d=new M).script=f.textContent,this.reportCacheProcessingEvent=d;break;case"MetaTags":this.metaTags.loadFromXml(f,c);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromXmlObject(f);break;case"PrinterSettings":break;case"RefreshTime":this.refreshTime=f.textContent.stimulsoft.toNumber();break;case"RenderedWith":this.renderedWith=ut.parse(e.StiRenderedWith,f.textContent);break}}h&&(c?this.renderedPages.loadFromXml(h,c):this.pages.loadFromXml(h,c));var g=null;if(this.jsonLoaderHelper.masterComponents.length>0){g=this.getComponents();try{for(var S=__values(this.jsonLoaderHelper.masterComponents),y=S.next();!y.done;y=S.next()){var A=y.value,b=A.stimulsoft.as(t.Report.Chart.IStiChart);if(null!=b){b.masterComponent=g.getByName(this.jsonLoaderHelper.refNames[b.jsonMasterComponentTemp]),b.jsonMasterComponentTemp=null;continue}var v=A.stimulsoft.as(ct);if(null!=v){v.masterComponent=g.getByName(this.jsonLoaderHelper.refNames[v.jsonMasterComponentTemp]),v.jsonMasterComponentTemp=null;continue}}}catch(t){n={error:t}}finally{try{y&&!y.done&&(o=S.return)&&o.call(S)}finally{if(n)throw n.error}}}if(this.jsonLoaderHelper.clones.length>0){null==g&&(g=this.getComponents());try{for(var C=__values(this.jsonLoaderHelper.clones),w=C.next();!w.done;w=C.next()){var B=w.value;B.container=g.getByName(this.jsonLoaderHelper.refNames[B.jsonContainerValueTemp]).stimulsoft.as(t.Report.Components.StiContainer),B.jsonContainerValueTemp=null}}catch(t){a={error:t}}finally{try{w&&!w.done&&(s=C.return)&&s.call(C)}finally{if(a)throw a.error}}}if(this.jsonLoaderHelper.dialogInfo.length>0)try{for(var T=__values(this.jsonLoaderHelper.dialogInfo),E=T.next();!E.done;E=T.next()){var O=E.value;O.xmlLoadedBindingVariable&&(O.bindingVariable=t.Report.Dictionary.StiVariable.loadFromXml(O.xmlLoadedBindingVariable,this)),O.xmlLoadedBindingVariable=null}}catch(t){l={error:t}}finally{try{E&&!E.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(e){t.System.StiError.showError(e,!1)}finally{I.currentCulture=p,this.isSerializing=!1}c&&(this.isDocument=!0,this.isRendered=!0)},gt.prototype.isPackedFile=function(t){if(!t)return!1;return 31==t[0]&&139==t[1]&&8==t[2]||80==t[0]&&75==t[1]&&3==t[2]},gt.prototype.load=function(e){try{if(void 0===e||null==e)return;if(e.stimulsoft.is(Array)||e.stimulsoft.is(Uint8Array)){if(this.isPackedFile(e))return void this.loadPacked(e);e=t.System.Text.Encoding.UTF8.getString(e)}e.stimulsoft.is(String)&&e.trim().stimulsoft.startsWith("0){C=!0;break}if((T.placement&J.DataEvenStyle)>0){w=!0;break}}}catch(t){u={error:t}}finally{try{I&&!I.done&&(c=B.return)&&c.call(B)}finally{if(u)throw u.error}}C?A.oddStyle=d.name:w?A.evenStyle=d.name:A.componentStyle=d.name}else A.componentStyle=d.name}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}this.applyStyles()},gt.prototype.applyStyles=function(){var e,r,n=this.getComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.stimulsoft.is(t.Report.Chart.IStiChart)&&a.allowApplyStyle&&null!=a.style){var s=a.style;a.core.applyStyle(s);var l=s.stimulsoft.as(t.Report.Chart.IStiCustomStyle),u;if(null!=l)null!=(u=l.core.reportStyle)&&u.setStyleToComponent(a)}else{var u;if(!p.isNullOrEmpty(a.componentStyle))null!=(u=this.styles.getByName(a.componentStyle))&&u.setStyleToComponent(a)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},gt.prototype.updateInheritedReport=function(t){if(void 0===t&&(t=null),null!=t)return t.setInheritedMode(!0),void e.StiInheritedReportComparer.compare(this,t);if(p.isNullOrEmpty(this.masterReport))return;(t=v.createObject(StiOptions.Engine.baseReportType)).load(this.masterReport),t.setInheritedMode(!0),e.StiInheritedReportComparer.compare(this,t)},Object.defineProperty(gt.prototype,"masterReport",{get:function(){return this._masterReport},set:function(t){this._masterReport!=t&&(this._masterReport=t,this.updateInheritedReport())},enumerable:!1,configurable:!0}),gt.prototype.setInheritedMode=function(t){var e,r,n,i,o,a,s,l,u,c,p,h;try{for(var m=__values(this.dictionary.variables.list),f=m.next();!f.done;f=m.next()){var d;f.value.inherited=t}}catch(t){e={error:t}}finally{try{f&&!f.done&&(r=m.return)&&r.call(m)}finally{if(e)throw e.error}}try{for(var g=__values(this.dictionary.dataSources.list),S=g.next();!S.done;S=g.next()){var y;S.value.inherited=t}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}try{for(var A=__values(this.dictionary.businessObjects.list),b=A.next();!b.done;b=A.next()){var v;b.value.inherited=t}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}try{for(var C=__values(this.dictionary.databases.list),w=C.next();!w.done;w=C.next()){var B;w.value.inherited=t}}catch(t){s={error:t}}finally{try{w&&!w.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}try{for(var I=__values(this.dictionary.relations.list),T=I.next();!T.done;T=I.next()){var E;T.value.inherited=t}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}var R=this.getComponents();try{for(var D=__values(R.list),P=D.next();!P.done;P=D.next()){var x;P.value.inherited=t}}catch(t){p={error:t}}finally{try{P&&!P.done&&(h=D.return)&&h.call(D)}finally{if(p)throw p.error}}},gt.prototype.getCurrentPage=function(){if(this._currentPage<0&&(this._currentPage=0),this.currentPage>this.pages.count-1)return null;return this.pages.getByIndex(this.currentPage)},gt.getReportVersion=function(){return t.StiVersion.version},gt.prototype.updateReportVersion=function(){this.reportVersion=gt.getReportVersion()},gt.prototype.writeToReportRenderingMessages=function(t){null==this.reportRenderingMessages&&(this.reportRenderingMessages=[]),this.reportRenderingMessages.push(t)},gt.prototype.getComponentByName=function(t){var e,r;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this.pages.getComponentByName(t)},gt.prototype.toString2=function(t){return null==t||t==Y.value?"":t.toString()},gt.prototype.checkExcelValue=function(e,r){var n=e.stimulsoft.as(q),i=S.tryToNullableNumber(r);if(null!=i&&i<0)if(t.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(n.textFormat))n.textBrush=new y(StiOptions.Engine.negativeColor);else if(!p.isNullOrWhiteSpace(n.componentStyle)){var o=this.styles.getByName(n.componentStyle).stimulsoft.as(t.Report.Styles.StiStyle);null!=o&&o.allowUseNegativeTextBrush&&(n.textBrush=o.negativeTextBrush)}return null!=n&&null!=n.format&&"G"!=n.format&&0!=n.format.length&&(n.excelDataValue=this.toString2(r)),r},gt.prototype.toString3=function(t,e,r){return void 0===r&&(r=!1),r?this.toString2(this.checkExcelValue(t,e)):this.toString2(e)},gt.prototype.generateReportGuid=function(){return it.newGuidString()},gt.prototype.addAnchor=function(t,r){if(void 0===r&&(r=null),null==r)this.anchors.set(t,new e.StiRuntimeVariables(this));else if(!this.anchors.containsKey(t)){var n={ref1:new e.StiRuntimeVariables(this),ref2:r};this.anchors.set(t,n);var i=r;null!=i&&null==i.guid&&(i.guid=t)}},gt.prototype.getAnchorPageNumber=function(t){var e=null!=t?this.anchors.get(t):null;if(null!=e&&null!=e.ref2){var r=e.ref1,n=e.ref2,i=0;null!=r&&(i=this.engine.pageNumbers.getPageNumber(r.page));var o=i-1;while(o=0&&(this._stopBeforePage=t)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"previewSettings",{get:function(){return this._previewSettings},set:function(t){this._previewSettings=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"dashboardViewerSettings",{get:function(){return this._dashboardViewerSettings},set:function(t){this._dashboardViewerSettings=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"collate",{get:function(){return this._collate},set:function(t){this._collate!=t&&(this._collate=Math.max(1,t))},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"globalizationStrings",{get:function(){return this._globalizationStrings},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"autoLocalizeReportOnRun",{get:function(){return this._autoLocalizeReportOnRun},set:function(t){this._autoLocalizeReportOnRun=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"requestParameters",{get:function(){return this._requestParameters},set:function(t){this._requestParameters=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"cacheTotals",{get:function(){return this._cacheTotals},set:function(t){this._cacheTotals=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"culture",{get:function(){return this._culture},set:function(t){this._culture=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"refreshTime",{get:function(){return this._refreshTime},set:function(t){this._refreshTime=t>0?t:0},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"compiledReport",{get:function(){return this._compiledReport},set:function(t){this._compiledReport=t},enumerable:!1,configurable:!0}),gt.prototype.resetAggregateFunctions=function(){var t,e;if(null==this.aggregateFunctions)return;try{for(var r=__values(this.aggregateFunctions),n=r.next();!n.done;n=r.next()){var i=n.value,o=i.isFirstInit;i.isFirstInit=!0,i.init(),i.isFirstInit=o}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},gt.prototype.renderAsync=function(t,e,r){var n=this;void 0===t&&(t=function(){}),void 0===e&&(e=-1),void 0===r&&(r=-1),setTimeout((function(){return __awaiter(n,void 0,void 0,(function(){var n;return __generator(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.renderAsync2(e,r)];case 1:return i.sent(),t(null),[3,3];case 2:return n=i.sent(),t(n),[3,3];case 3:return[2]}}))}))}),0)},gt.prototype.renderAsync2=function(e,r){return void 0===e&&(e=-1),void 0===r&&(r=-1),__awaiter(this,void 0,void 0,(function(){var n,i;return __generator(this,(function(o){switch(o.label){case 0:n=new tt(e,r,!1),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.renderReportAsync(n)];case 2:return o.sent(),[3,4];case 3:throw i=o.sent(),t.System.StiError.showError(i,!0),i;case 4:return[2]}}))}))},gt.prototype.render=function(e,r,n){void 0===e&&(e=!1),void 0===r&&(r=-1),void 0===n&&(n=-1),c.showError("The 'render' method is obsolete. Please use the 'renderAsync' method instead.");var i=new tt(r,n,!1);try{this.renderReport(i)}catch(e){throw t.System.StiError.showError(e,!0),e}},gt.prototype.processAutoLocalizeReportOnRun=function(){if(!this.autoLocalizeReportOnRun)return;try{this.globalizationStrings.skipException=!0;var t=I.currentCulture;if(!p.isNullOrWhiteSpace(this.culture))try{t=I.cultures[this.culture]}catch(t){}this.globalizationStrings.localizeReport2(t)}finally{this.globalizationStrings.skipException=!1}},gt.prototype.renderReportAsync=function(r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l,c,h,m,f,d,g,m,S,y,o,a,A,b,v,C,w,B,T,E,R,D,P,x,F,N,k,M;return __generator(this,(function(O){switch(O.label){case 0:if(this.renderedWith=e.StiRenderedWith.JS,this.calculationMode==e.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=I.currentCulture,!p.isNullOrEmpty(this.culture))try{I.currentCulture=I.cultures[this.culture]}catch(t){}O.label=1;case 1:if(O.trys.push([1,5,6,7]),null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new K,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==e.StiCalculationMode.Interpretation&&null==this.variables&&et.prepareReportVariables(this),this.calculationMode==e.StiCalculationMode.Interpretation&&this.reportPass!=e.StiReportPass.First&&!r.isSubReportMode)try{for(n=__values(this.dictionary.dataSources.list),i=n.next();!i.done;i=n.next())o=i.value,null!=(a=o.stimulsoft.as(t.Report.Dictionary.StiSqlSource))&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+o.name,a.sqlCommand)}catch(t){T={error:t}}finally{try{i&&!i.done&&(E=n.return)&&E.call(n)}finally{if(T)throw T.error}}if(t.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariables(this),s=new K,this.calculationMode==e.StiCalculationMode.Interpretation){l=this.getComponents();try{for(c=__values(l.list),h=c.next();!h.done;h=c.next())null!=(m=h.value).interaction&&m.interaction.isDefault()&&(s.set(m,m.interaction),m.interaction=null)}catch(t){R={error:t}}finally{try{h&&!h.done&&(D=c.return)&&D.call(c)}finally{if(R)throw R.error}}}if(!(null!=this.subReports&&this.subReports.count>0))return[3,2];return t.Report.Engine.StiReportBuilder.renderSubReports(this,r),[3,4];case 2:return[4,t.Report.Engine.StiReportBuilder.renderSingleReportAsync(this,r)];case 3:O.sent(),O.label=4;case 4:if(this.calculationMode==e.StiCalculationMode.Interpretation){try{for(f=__values(s.keys),d=f.next();!d.done;d=f.next())g=d.value,(m=g).interaction=s.get(g)}catch(t){P={error:t}}finally{try{d&&!d.done&&(x=f.return)&&x.call(f)}finally{if(P)throw P.error}}s.clear()}if(this.calculationMode==e.StiCalculationMode.Interpretation&&this.reportPass!=e.StiReportPass.First&&!r.isSubReportMode)try{for(S=__values(this.dictionary.dataSources.list),y=S.next();!y.done;y=S.next())o=y.value,null!=(a=o.stimulsoft.as(t.Report.Dictionary.StiSqlSource))&&(A="**StoredDataSourceSqlCommandForInterpretationMode**"+o.name,this.variables.containsKey(A)&&((b=this.variables.get(A)).stimulsoft.is(String)&&(a.sqlCommand=b),this.variables.remove(A)))}catch(t){F={error:t}}finally{try{y&&!y.done&&(N=S.return)&&N.call(S)}finally{if(F)throw F.error}}return[3,7];case 5:throw v=O.sent();case 6:p.isNullOrEmpty(this.culture)||(I.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==e.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();try{for(C=__values(this.dictionary.businessObjects.list),w=C.next();!w.done;w=C.next())(B=w.value).previousResetException=!1}catch(t){k={error:t}}finally{try{w&&!w.done&&(M=C.return)&&M.call(C)}finally{if(k)throw k.error}}return this.isDocument=!1,u.clearAutoLoadFonts(),[7];case 7:return[2]}}))}))},gt.prototype.renderReport=function(r){var n,i,o,a,s,l,c,h,m,f;if(this.renderedWith=e.StiRenderedWith.JS,this.calculationMode==e.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=I.currentCulture,!p.isNullOrEmpty(this.culture))try{I.currentCulture=I.cultures[this.culture]}catch(t){}try{if(null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new K,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==e.StiCalculationMode.Interpretation&&null==this.variables&&et.prepareReportVariables(this),this.calculationMode==e.StiCalculationMode.Interpretation&&this.reportPass!=e.StiReportPass.First&&!r.isSubReportMode)try{for(var d=__values(this.dictionary.dataSources.list),g=d.next();!g.done;g=d.next()){var S,y;null!=(y=(S=g.value).stimulsoft.as(t.Report.Dictionary.StiSqlSource))&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+S.name,y.sqlCommand)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}t.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariables(this);var A=new K;if(this.calculationMode==e.StiCalculationMode.Interpretation){var b=this.getComponents();try{for(var v=__values(b.list),C=v.next();!C.done;C=v.next()){var w;null!=(w=C.value).interaction&&w.interaction.isDefault()&&(A.set(w,w.interaction),w.interaction=null)}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}}if(null!=this.subReports&&this.subReports.count>0?t.Report.Engine.StiReportBuilder.renderSubReports(this,r):t.Report.Engine.StiReportBuilder.renderSingleReport(this,r),this.calculationMode==e.StiCalculationMode.Interpretation){try{for(var B=__values(A.keys),T=B.next();!T.done;T=B.next()){var E=T.value,w;(w=E).interaction=A.get(E)}}catch(t){s={error:t}}finally{try{T&&!T.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}A.clear()}if(this.calculationMode==e.StiCalculationMode.Interpretation&&this.reportPass!=e.StiReportPass.First&&!r.isSubReportMode)try{for(var R=__values(this.dictionary.dataSources.list),D=R.next();!D.done;D=R.next()){var S,y;if(null!=(y=(S=D.value).stimulsoft.as(t.Report.Dictionary.StiSqlSource))){var P="**StoredDataSourceSqlCommandForInterpretationMode**"+S.name;if(this.variables.containsKey(P)){var x=this.variables.get(P);x.stimulsoft.is(String)&&(y.sqlCommand=x),this.variables.remove(P)}}}}catch(t){c={error:t}}finally{try{D&&!D.done&&(h=R.return)&&h.call(R)}finally{if(c)throw c.error}}}catch(t){throw t}finally{p.isNullOrEmpty(this.culture)||(I.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==e.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();try{for(var F=__values(this.dictionary.businessObjects.list),N=F.next();!N.done;N=F.next()){var k;N.value.previousResetException=!1}}catch(t){m={error:t}}finally{try{N&&!N.done&&(f=F.return)&&f.call(F)}finally{if(m)throw m.error}}this.isDocument=!1,u.clearAutoLoadFonts()}},gt.prototype.print=function(r,n){var i=this;void 0===n&&(n=j.Table),this.invokePrinting(),e.StiLogService.write(this.stimulsoft.getType(),"Printing report");try{var o=new t.Report.Export.StiHtmlExportSettings;o.chartType=t.Report.Export.StiHtmlChartType.Vector,o.useWatermarkMargins=!1,o.removeEmptySpaceAtBottom=!1,o.exportMode=n,o.exportBookmarksMode=m.ReportOnly,r&&(o.pageRange=r);var a=new t.Report.Export.StiHtmlExportService,s=new ht,l=new t.Report.Export.StiHtmlTextWriter(s);a.exportToAsync((function(){try{var style = "";var t=s.getStringBuilder().toString() + style,r=function(t){var e=document.getElementById("stiPrintReportFrame");null==e&&((e=document.createElement("iframe")).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((function(){e.contentWindow.focus(),e.contentWindow.print()}))};document.body?r(t):h.addEvent(window,"load",(function(){r(t)}))}catch(t){if(e.StiLogService.write(i.stimulsoft.getType(),"Printing report...ERROR"),e.StiLogService.write(i.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}i.invokePrinted()}),this,l,o)}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),"Printing report...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}this.invokePrinted()},gt.prototype.printToPdf=function(r,n){void 0===r&&(r=null),void 0===n&&(n=null),this.invokePrinting(),e.StiLogService.write(this.stimulsoft.getType(),"Printing report");try{var i=new t.Report.Export.StiPdfExportSettings;i.autoPrintMode=t.Report.Export.StiPdfAutoPrintMode.Dialog,r&&(i.pageRange=r);var o=new t.Report.Export["StiPdfExportService"],a=new _,s=this;o.exportToAsync((function(){try{var t=function(){if(!navigator)return"Unknown";var t=navigator.userAgent;if(t.indexOf("Edge")>=0)return"Edge";if(t.indexOf("MSIE")>=0||t.indexOf("Trident")>=0)return"MSIE";if(t.indexOf("Gecko")>=0){if(t.indexOf("Chrome")>=0)return"Chrome";if(t.indexOf("Safari")>=0)return"Safari";return"Mozilla"}if(t.indexOf("Opera")>=0)return"Opera";return"Unknown"},r=a.toArray(),i=new Blob([new Uint8Array(r)],{type:"application/pdf"}),o=t();if("MSIE"==o||"Edge"==o){var l=null==s.reportAlias||0==s.reportAlias.trim().length?s.reportName:s.reportAlias;window.navigator.msSaveOrOpenBlob(i,l+".pdf")}else{var u=URL.createObjectURL(i),c=document.getElementById("pdfPrintFrame");null==c&&((c=document.createElement("iframe")).id="pdfPrintFrame",c.name="pdfPrintFrame",c.width="0px",c.height="0px",c.style.position="absolute",c.style.border="none","Mozilla"==o&&(c.width="100px",c.height="100px",c.style.visibility="hidden",c.style.zIndex="-100",c.style.pointerEvents="none"),(n||document.body).appendChild(c),"Mozilla"!=o&&(c.onload=function(){c.contentWindow.focus(),c.contentWindow.print()})),c.src=u}}catch(t){if(e.StiLogService.write(s.stimulsoft.getType(),"Printing report...ERROR"),e.StiLogService.write(s.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}s.invokePrinted()}),s,a,i)}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),"Printing report...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(gt.prototype,"reportFile",{get:function(){return this._reportFile},set:function(t){this._reportFile=t},enumerable:!1,configurable:!0}),gt.prototype.exportDocumentAsync=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=this;setTimeout((function(){i.exportDocument(e,r,n,t)}))},gt.prototype.exportDocumentAsync2=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),__awaiter(this,void 0,void 0,(function(){var n=this;return __generator(this,(function(i){return[2,new Promise((function(i,o){var a=n;setTimeout((function(){var n;try{n=a.exportDocument(t,e,r),i(n)}catch(t){o(t)}}))}))]}))}))},gt.prototype.exportDocument=function(i,o,a,s){void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null);var l=[];this.invokeExporting(i);var u=I.currentCulture;if(!p.isNullOrEmpty(this.culture))try{I.currentCulture=I.cultures[this.culture]}catch(t){}try{e.StiLogService.write(gt,"Exporting rendered report");var h=new _(l),m;if(!new t.Report.Events.StiProcessExportEventArgs(i,o,h,a).processed)switch(i){case e.StiExportFormat.Csv:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var f=null==o?null:o.stimulsoft.as(t.Report.Export.IStiCsvExportService),d;if(null==f&&(f=new t.Report.Export["StiCsvExportService"]),null==a&&(a=new t.Report.Export.StiCsvExportSettings),!(a.stimulsoft.is(t.Report.Export.StiCsvExportSettings)||a.stimulsoft.is(t.Report.Export.StiDataExportSettings)&&a.dataType==B.Csv))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=s?f.exportToAsync((function(){s(h.toArray())}),this,h,a):(f.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Data:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var g=null==o?null:o.stimulsoft.as(t.Report.Export.IStiDataExportService);if(null==g&&(g=new t.Report.Export["StiDataExportService"]),null==a&&(a=new t.Report.Export.StiDataExportSettings),!a.stimulsoft.is(t.Report.Export.StiDataExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=s?g.exportToAsync((function(){s(h.toArray())}),this,h,a):(g.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Dif:break;case e.StiExportFormat.Sylk:break;case e.StiExportFormat.Excel:break;case e.StiExportFormat.ExcelXml:break;case e.StiExportFormat.Excel2007:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var S=null==o?null:o.stimulsoft.as(t.Report.Export.IStiExcel2007ExportService);if(null==S&&(S=new t.Report.Export["StiExcel2007ExportService"]),null==a&&(a=new t.Report.Export.StiExcel2007ExportSettings),!(a.stimulsoft.is(t.Report.Export.StiExcel2007ExportSettings)||a.stimulsoft.is(t.Report.Export.StiExcelExportSettings)&&a.stimulsoft.as(t.Report.Export.StiExcelExportSettings).ExcelType==w.Excel2007))throw new Error("The incorrect type of the 'settings' argument is used. The StiExcel2007ExportSettings is need to be used.");null!=s?S.exportToAsync((function(){s(h.toArray())}),this,h,a):(S.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Word2007:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var y=null==o?null:o.stimulsoft.as(t.Report.Export.IStiWord2007ExportService);if(null==y&&(y=new t.Report.Export["StiWord2007ExportService"]),null==a&&(a=new t.Report.Export.StiWord2007ExportSettings),!a.stimulsoft.is(t.Report.Export.StiWord2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiWord2007ExportSettings is need to be used.");null!=s?y.exportToAsync((function(){s(h.toArray())}),this,h,a):(y.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Dbf:break;case e.StiExportFormat.Mht:break;case e.StiExportFormat.HtmlSpan:if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var A=null==o?null:o.stimulsoft.as(t.Report.Export.StiHtmlExportService);if(null==A&&(A=new t.Report.Export.StiHtmlExportService),null==a&&(a=new t.Report.Export.StiHtmlExportSettings),!a.stimulsoft.is(t.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");a.exportMode=j.Span;var b=new ht,v=new t.Report.Export.StiHtmlTextWriter(b);null!=s?A.exportToAsync((function(){s(b.getStringBuilder().toString())}),this,v,a):(A.exportHtml(this,v,a),l=b.getStringBuilder().toString());break;case e.StiExportFormat.HtmlDiv:if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var C=null==o?null:o.stimulsoft.as(t.Report.Export.StiHtmlExportService);if(null==C&&(C=new t.Report.Export.StiHtmlExportService),null==a&&(a=new t.Report.Export.StiHtmlExportSettings),!a.stimulsoft.is(t.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");a.exportMode=j.Div;var T=new ht,v=new t.Report.Export.StiHtmlTextWriter(T);null!=s?C.exportToAsync((function(){s(T.getStringBuilder().toString())}),this,v,a):(C.exportTo(this,v,a),l=T.getStringBuilder().toString());break;case e.StiExportFormat.Html:case e.StiExportFormat.HtmlTable:if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var E=null==o?null:o.stimulsoft.as(t.Report.Export.StiHtmlExportService);if(null==E&&(E=new t.Report.Export.StiHtmlExportService),null==a&&(a=new t.Report.Export.StiHtmlExportSettings),!a.stimulsoft.is(t.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");i!=e.StiExportFormat.Html&&(a.exportMode=j.Table);var R=new ht,v=new t.Report.Export.StiHtmlTextWriter(R);null!=s?E.exportToAsync((function(){s(R.getStringBuilder().toString())}),this,v,a):(E.exportTo(this,v,a),l=R.getStringBuilder().toString());break;case e.StiExportFormat.Html5:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var D=null==o?null:o.stimulsoft.as(t.Report.Export.IStiHtml5ExportService);if(null==D&&(D=new t.Report.Export["StiHtml5ExportService"]),null==a&&(a=new t.Report.Export.StiHtml5ExportSettings),!a.stimulsoft.is(t.Report.Export.StiHtml5ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The Stimulsoft.Report.Export.StiHtml5ExportSettings is need to be used.");var P=new ht,v=new t.Report.Export.StiHtmlTextWriter(P);null!=s?D.exportToAsync((function(){s(P.getStringBuilder().toString())}),this,v,a):(D.exportTo(this,v,a),l=P.getStringBuilder().toString());break;case e.StiExportFormat.Image:break;case e.StiExportFormat.ImageBmp:break;case e.StiExportFormat.ImageEmf:break;case e.StiExportFormat.ImageSvg:if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var x=null==o?null:o.stimulsoft.as(t.Report.Export.StiSvgExportService);if(null==x&&(x=new t.Report.Export.StiSvgExportService),null==a&&(a=new t.Report.Export.StiSvgExportSettings),!a.stimulsoft.is(t.Report.Export.StiImageExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiSvgExportSettings is need to be used.");var F={ref:""};x.exportImage(this,F,a),l=F.ref;break;case e.StiExportFormat.ImageSvgz:break;case e.StiExportFormat.ImageGif:break;case e.StiExportFormat.ImageJpeg:break;case e.StiExportFormat.ImagePng:break;case e.StiExportFormat.ImageTiff:break;case e.StiExportFormat.ImagePcx:break;case e.StiExportFormat.Pdf:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var N=null==o?null:o.stimulsoft.as(t.Report.Export.IStiPdfExportService);if(null==N&&(N=new t.Report.Export["StiPdfExportService"]),null==a&&(a=new t.Report.Export.StiPdfExportSettings),!a.stimulsoft.is(t.Report.Export.StiPdfExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPdfExportSettings is need to be used.");null!=s?N.exportToAsync((function(){s(h.toArray())}),this,h,a):(N.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Xps:break;case e.StiExportFormat.Rtf:case e.StiExportFormat.RtfTable:break;case e.StiExportFormat.RtfFrame:break;case e.StiExportFormat.RtfWinWord:break;case e.StiExportFormat.RtfTabbedText:break;case e.StiExportFormat.Text:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var k=null==o?null:o.stimulsoft.as(t.Report.Export.IStiTxtExportService);if(null==k&&(k=new t.Report.Export["StiTxtExportService"]),null==a&&(a=new t.Report.Export.StiTxtExportSettings),!a.stimulsoft.is(t.Report.Export.StiTxtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiTxtExportSettings is need to be used.");null!=s?k.exportToAsync((function(){s(h.toArray())}),this,h,a):(k.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Xml:break;case e.StiExportFormat.Ods:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var M=null==o?null:o.stimulsoft.as(t.Report.Export.IStiOdsExportService);if(null==M&&(M=new t.Report.Export["StiOdsExportService"]),null==a&&(a=new t.Report.Export.StiOdsExportSettings),!a.stimulsoft.is(t.Report.Export.StiOdsExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdsExportSettings is need to be used.");null!=s?M.exportToAsync((function(){s(h.toArray())}),this,h,a):(M.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Odt:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var O=null==o?null:o.stimulsoft.as(t.Report.Export.IStiOdtExportService);if(null==O&&(O=new t.Report.Export["StiOdtExportService"]),null==a&&(a=new t.Report.Export.StiOdtExportSettings),!a.stimulsoft.is(t.Report.Export.StiOdtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdtExportSettings is need to be used.");null!=s?O.exportToAsync((function(){s(h.toArray())}),this,h,a):(O.exportTo(this,h,a),l=h.toArray());break;case e.StiExportFormat.Ppt2007:if(!n.isAssemblyLoaded){c.showError(new r,!0);break}if(null!=o&&!o.stimulsoft.is(t.Report.Export.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.");var G=null==o?null:o.stimulsoft.as(t.Report.Export.IStiPpt2007ExportService);if(null==G&&(G=new t.Report.Export["StiPpt2007ExportService"]),null==a&&(a=new t.Report.Export.StiPpt2007ExportSettings),!a.stimulsoft.is(t.Report.Export.StiPpt2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPpt2007ExportSettings is need to be used.");null!=s?G.exportToAsync((function(){s(h.toArray())}),this,h,a):(G.exportTo(this,h,a),l=h.toArray());break}}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),"Exporting rendered report...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}finally{p.isNullOrEmpty(this.culture)||(I.currentCulture=u)}return this.invokeExported(i),l},gt.createNewReport=function(){return v.createObject(StiOptions.Engine.baseReportType)},gt.createNewDashboard=function(){var r=this.createNewReport();r.calculationMode=e.StiCalculationMode.Interpretation,r.pages.clear(),r.indexName=1;var n=t.Report.Dashboard.StiDashboardCreator.createDashboard(r).stimulsoft.as(st);if(null==n&&(n=v.createObject2("Stimulsoft.Dashboard.Components.StiDashboard")),null==n)throw new A;return n.name=e.StiNameCreation.createName(r,e.StiNameCreation.generateName(n)),r.pages.add(n),r},gt.eventBeginRender={},gt.eventEndRender={},gt}();e.StiReport=gt}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e=Stimulsoft.Report.StiParserType,r=Stimulsoft.System.StiString,n=Stimulsoft.System.Drawing.ColorTranslator,i=Stimulsoft.Report.Dictionary.StiColumnsSynchronizationMode,o=Stimulsoft.Report.Export.StiWord2007RestrictEditing,a=Stimulsoft.System.Drawing.FontStyle,s=Stimulsoft.System.Drawing.Font,l=Stimulsoft.Base.Drawing.StiSolidBrush,u=Stimulsoft.System.Drawing.Color,c=Stimulsoft.Report.Styles.StiStyle,p=Stimulsoft.Report.Components.StiTextQuality,h=Stimulsoft.Report.StiNamingRule,m=Stimulsoft.Report.Dictionary.StiAutoSynchronizeMode,f=Stimulsoft.Report.Dictionary.StiPropertiesProcessingType,d=Stimulsoft.Report.Dictionary.StiFieldsProcessingType,g=Stimulsoft.Report.Export.StiExcel2007RestrictEditing,S=Stimulsoft.Base.Drawing.StiTextHorAlignment,y=Stimulsoft.Base.Drawing.StiVertAlignment,A=Stimulsoft.Report.Export.StiExportUtils,b=Stimulsoft.Report.StiArabicDigitsType,v=Stimulsoft.Report.Export.StiPdfAutoPrintMode,C=Stimulsoft.System.Collections.Hashtable,w=Stimulsoft.System.Collections.List;Stimulsoft["StiOptions"]=t;var B=function(){function t(){this.styleColors=[u.white,u.darkGray,u.peachPuff,u.plum,u.lightCoral,u.skyBlue,u.lightSeaGreen,u.lightGreen,u.yellowGreen,u.wheat,u.khaki,n.fromHtml("#0bac45"),n.fromHtml("#b5a1dd"),n.fromHtml("#ffc000"),n.fromHtml("#ed7d31"),n.fromHtml("#239fd9")]}return t}();t.CrossTab2=B;var I=function(){function t(){}return Object.defineProperty(t,"styles",{get:function(){if(null==t._styles){t._styles=new Stimulsoft.Report.Styles.StiStylesCollection;var e=new c("Normal","Normal");e.brush=new l(u.transparent),e.textBrush=new l(u.black),t._styles.add(e),(e=new c("Bad","Bad")).brush=new l(u.fromArgb(255,255,199,206)),e.textBrush=new l(u.fromArgb(255,208,55,5)),t._styles.add(e),(e=new c("Good","Good")).brush=new l(u.fromArgb(255,198,239,206)),e.textBrush=new l(u.fromArgb(255,0,97,94)),t._styles.add(e),(e=new c("Neutral","Neutral")).brush=new l(u.fromArgb(255,255,235,156)),e.textBrush=new l(u.fromArgb(255,174,127,43)),t._styles.add(e),(e=new c("Warning","Warning")).brush=new l(u.transparent),e.textBrush=new l(u.red),e.font=new s("Arial",8,a.Bold),t._styles.add(e),(e=new c("Note","Note")).brush=new l(u.fromArgb(255,255,255,204)),e.textBrush=new l(u.black),t._styles.add(e)}return t._styles},enumerable:!1,configurable:!0}),t.useComponentPlacementOptimization=!0,t.autoCorrectDataSourceName=!1,t.autoCorrectDataRelationName=!1,t.autoCorrectDataColumnName=!1,t.autoCorrectComponentName=!1,t.autoCorrectReportName=!1,t.autoLargeHeight=!0,t.sortDictionaryByAliases=!1,t.runWizardAfterLoad=!1,t.runSpecificWizardAfterLoad="",t.Editors={allowConnectToDataInGallery:!1},t.CrossTab=new B,t}();t.Designer=I;var T=function(){function t(){this.useImageCloning=!0}return t}();t.Image=T;var E=function(){function t(){this.allowExpression=!0}return t}();t.Watemark=E;var R=function(){function t(){this.defaultWidth=5,this.defaultHeight=5}return t}();t.CrossTab=R;var D=function(){function t(){this.allowUseText=!0,this.allowUseTag=!0,this.allowUseToolTip=!0,this.allowUseHyperlink=!0,this.allowUseVariableAlias=!0}return t}();t.Globalization=D;var P=function(){function t(){}return t.Image=new T,t.Watermark=new E,t.printIfDetailEmptyDefaultValue=!1,t.baseReportType=Stimulsoft.Report.StiReport,t.fullTrust=!0,t.allowUseResetMethodInBusinessObject=!0,t.allowResetValuesAtComponent=!0,t.defaultTextQualityMode=p.Standard,t.forceGenerationLocalizedName=!1,t.useAdvancedPrintOnEngine=!1,t.forceGenerationNonLocalizedName=!1,t.forceNewPageForExtraColumns=!0,t.useRoundForToCurrencyWordsFunctions=!0,t.useTemplateForPagePrintEvents=!0,t.namingRule=h.Advanced,t.useCheckSizeForContinuedContainers=!0,t.emulateData=!1,t.allowCacheForGetActualSize=!1,t.allowBreakContainerOptimization=!0,t.removeBottomBorderOfSplitContainer=!1,t.usePrintOnAllPagesPropertyOfHeadersInSubreports=!0,t.useParentStylesOldMode=!1,t.useCollateOldMode=!1,t.dpiAware=!0,t.dockPageFooterToBottom=!0,t.defaultValueOfAllowApplyStyleProperty=!0,t.allowFixPieChartMarkerAlignment=!0,t.applyStylesInAutoSeries=!0,t.allowInvokeProcessChartEventForTemplateOfChart=!1,t.allowInteractionInChartWithComponents=!1,t.dontSaveDataSourceBeforeChartRendering=!1,t.measureTrailingSpaces=!1,t.renderExternalSubReportsWithHelpOfUnlimitedHeightPages=!0,t.escapeQueryParameters=!0,t.optimizeDetailDataFiltering=!0,t.CrossTab=new R,t.printIfDetailEmptyNesting=!1,t.allowForceCanBreakForCrossTabPrintOnAllPages=!0,t.Globalization=new D,t.reportResources={maximumSize:5e6},t.filterDataInDataSourceBeforeSorting=!0,t.allowConvertingInFormatting=!0,t.negativeColor=u.red,t.barcodeQRCodeAllowUnicodeBOM=!0,t.retrieveSchemaNamePostgreSql="public",t.hideExceptions=!1,t.fixPageNumberInEvents=!0,t.dashboardTextElementExpressionParser=e.DataParser,t}();t.Engine=P;var x=function(){function t(){}return t.customPaperSizes=null,t.allowUsePaperSizesFromPrinterSettings=!0,t}();t.Print=x;var F=function(){function t(){this.columnsSynchronizationMode=i.KeepAbsentColumns}return t.allowUseDataColumn=!0,t.allowUseProperties=!0,t.propertiesProcessingType=f.Browsable,t.fieldsProcessingType=d.Browsable,t}();t.BusinessObjects=F;var N=function(){function t(){}return t.BusinessObjects=new F,t.showOnlyAliasForDatabase=!1,t.showOnlyAliasForData=!1,t.showOnlyAliasForDataColumn=!0,t.showOnlyAliasForDataRelation=!1,t.hideRelationExceptions=!1,t.autoSynchronize=m.Always,t.useAdvancedDataSearch=!0,t.showOnlyAliasForDataSource=!0,t.allowRestConnections=!0,t.allowConnectToFirstTableForEmptyDataSource=!0,t.useNullableDateTime=!1,t.useNullableTimeSpan=!1,t.columnsSynchronizationMode=i.KeepAbsentColumns,t.showOnlyAliasForResource=!1,t}();t.Dictionary=N;var k=function(){function t(){}return Object.defineProperty(t.prototype,"dashboardStyles",{get:function(){if(null!=this._dashboardStyles)return this._dashboardStyles;return this._dashboardStyles=new w,this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenDashboardStyle),this._dashboardStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"controlStyles",{get:function(){if(null!=this._controlStyles)return this._controlStyles;return this._controlStyles=new w,this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenControlElementStyle),this._controlStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indicatorStyles",{get:function(){if(null!=this._indicatorStyles)return this._indicatorStyles;return this._indicatorStyles=new w,this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenIndicatorElementStyle),this._indicatorStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pivotStyles",{get:function(){if(null!=this._pivotStyles)return this._pivotStyles;return this._pivotStyles=new w,this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoisePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoisePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenPivotElementStyle),this._pivotStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressStyles",{get:function(){if(null!=this._progressStyles)return this._progressStyles;return this._progressStyles=new w,this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenProgressElementStyle),this._progressStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tableStyles",{get:function(){if(null!=this._tableStyles)return this._tableStyles;return this._tableStyles=new w,this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenTableElementStyle),this._tableStyles},enumerable:!1,configurable:!0}),t}();t.Dashboards=k;var M=function(){function e(){}return Object.defineProperty(e,"components",{get:function(){if(null!=this._components)return this._components;return this._components=new w,this._components.add(Stimulsoft.Report.Components.StiReportTitleBand),this._components.add(Stimulsoft.Report.Components.StiReportSummaryBand),this._components.add(Stimulsoft.Report.Components.StiPageHeaderBand),this._components.add(Stimulsoft.Report.Components.StiPageFooterBand),this._components.add(Stimulsoft.Report.Components.StiGroupHeaderBand),this._components.add(Stimulsoft.Report.Components.StiGroupFooterBand),this._components.add(Stimulsoft.Report.Components.StiHeaderBand),this._components.add(Stimulsoft.Report.Components.StiFooterBand),this._components.add(Stimulsoft.Report.Components.StiColumnHeaderBand),this._components.add(Stimulsoft.Report.Components.StiColumnFooterBand),this._components.add(Stimulsoft.Report.Components.StiHierarchicalBand),this._components.add(Stimulsoft.Report.Components.StiEmptyBand),this._components.add(Stimulsoft.Report.Components.StiOverlayBand),this._components.add(Stimulsoft.Report.Components.StiDataBand),this._components.add(Stimulsoft.Report.Components.Table.StiTable),this._components.add(Stimulsoft.Report.Components.Table.StiTableCell),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellCheckBox),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellImage),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellRichText),this._components.add(Stimulsoft.Report.Components.StiPage),this._components.add(Stimulsoft.Report.Components.StiPanel),this._components.add(Stimulsoft.Report.Components.StiContainer),this._components.add(Stimulsoft.Report.Components.StiCheckBox),this._components.add(Stimulsoft.Report.Components.StiChildBand),this._components.add(Stimulsoft.Report.Components.StiClone),this._components.add(Stimulsoft.Report.Components.StiText),this._components.add(Stimulsoft.Report.Components.StiTextInCells),this._components.add(Stimulsoft.Report.Components.StiImage),this._components.add(Stimulsoft.Report.Components.StiRichText),this._components.add(Stimulsoft.Report.Components.StiShape),this._components.add(Stimulsoft.Report.Components.StiSubReport),this._components.add(Stimulsoft.Report.Components.StiHorizontalLinePrimitive),this._components.add(Stimulsoft.Report.Components.StiVerticalLinePrimitive),this._components.add(Stimulsoft.Report.Components.StiRectanglePrimitive),this._components.add(Stimulsoft.Report.Components.StiRoundedRectanglePrimitive),this._components.add(Stimulsoft.Report.Components.StiStartPointPrimitive),this._components.add(Stimulsoft.Report.Components.StiEndPointPrimitive),this._components.add(Stimulsoft.Report.Components.StiCrossDataBand),this._components.add(Stimulsoft.Report.Components.StiCrossFooterBand),this._components.add(Stimulsoft.Report.Components.StiCrossGroupFooterBand),this._components.add(Stimulsoft.Report.Components.StiCrossGroupHeaderBand),this._components.add(Stimulsoft.Report.Components.StiCrossHeaderBand),this._components.add(Stimulsoft.Report.BarCodes.StiBarCode),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTab),this._components.add(Stimulsoft.Report.CrossTab.StiCrossColumn),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossRowTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossColumnTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossRow),this._components.add(Stimulsoft.Report.CrossTab.StiCrossSummary),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTitle),this._components.add(Stimulsoft.Report.CrossTab.StiCrossSummaryHeader),Stimulsoft.Report.Chart.StiChartAssembly.isAssemblyLoaded&&this._components.add(Stimulsoft.Report.Components["StiChart"]),Stimulsoft.Report.Maps["StiMap"]&&this._components.add(Stimulsoft.Report.Maps["StiMap"]),Stimulsoft.Report.Components["StiGauge"]&&this._components.add(Stimulsoft.Report.Components["StiGauge"]),this._components.add(Stimulsoft.Report.Components.StiSparkline),this._components},enumerable:!1,configurable:!0}),Object.defineProperty(e,"databases",{get:function(){if(null!=this._databases)return this._databases;return this._databases=new w,this._databases.add(new Stimulsoft.Report.Dictionary.StiFirebirdDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiMySqlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiOracleDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiSqlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiODataDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiCsvDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiExcelDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiJsonDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiXmlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiDataWorldDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiQuickBooksDatabase),this._databases},enumerable:!1,configurable:!0}),Object.defineProperty(e,"dataAdapters",{get:function(){if(null!=this._dataAdapters)return this._dataAdapters;return this._dataAdapters=new w,this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiFirebirdAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiMySqlAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiOracleAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiSqlAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiODataAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiVirtualAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiCsvAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiDataTableAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiDataWorldAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiQuickBooksAdapterService),this._dataAdapters},enumerable:!1,configurable:!0}),Object.defineProperty(e,"dataSource",{get:function(){if(null!=this._dataSource)return this._dataSource;return this._dataSource=new w,this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataTableSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiCsvSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiVirtualSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiFirebirdSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiODataSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiMySqlSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiOracleSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiSqlSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataWorldSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiQuickBooksSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataTransformation),this._dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(e,"formats",{get:function(){if(null!=this._formats)return this._formats;return this._formats=new w,this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiBooleanFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiNumberFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiCurrencyFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiCustomFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiDateFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiGeneralFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiPercentageFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiTimeFormatService),this._formats},enumerable:!1,configurable:!0}),Object.defineProperty(e,"styles",{get:function(){if(null!=this._styles)return this._styles;return this._styles=new w,this._styles.add(new Stimulsoft.Report.Styles.StiStyle),this._styles.add(new Stimulsoft.Report.Styles.StiCrossTabStyle),this._styles.add(new Stimulsoft.Report.Styles.StiChartStyle),this._styles.add(new Stimulsoft.Report.Styles.StiDialogStyle),this._styles.add(new Stimulsoft.Report.Styles.StiMapStyle),this._styles.add(new Stimulsoft.Report.StiGaugeStyle),this._styles.add(new Stimulsoft.Report.StiTableStyle),this._styles.add(new Stimulsoft.Report.StiIndicatorStyle),this._styles.add(new Stimulsoft.Report.StiProgressStyle),this._styles},enumerable:!1,configurable:!0}),Object.defineProperty(e,"chartAreas",{get:function(){return null==t.Services._chartAreas&&(t.Services._chartAreas=new w([new Stimulsoft.Report.Chart["StiClusteredColumnArea"],new Stimulsoft.Report.Chart["StiLineArea"],new Stimulsoft.Report.Chart["StiAreaArea"],new Stimulsoft.Report.Chart["StiSplineArea"],new Stimulsoft.Report.Chart["StiSplineAreaArea"],new Stimulsoft.Report.Chart["StiStackedColumnArea"],new Stimulsoft.Report.Chart["StiStackedLineArea"],new Stimulsoft.Report.Chart["StiStackedAreaArea"],new Stimulsoft.Report.Chart["StiStackedSplineArea"],new Stimulsoft.Report.Chart["StiStackedSplineAreaArea"],new Stimulsoft.Report.Chart["StiSteppedLineArea"],new Stimulsoft.Report.Chart["StiSteppedAreaArea"],new Stimulsoft.Report.Chart["StiFullStackedColumnArea"],new Stimulsoft.Report.Chart["StiFullStackedLineArea"],new Stimulsoft.Report.Chart["StiFullStackedAreaArea"],new Stimulsoft.Report.Chart["StiFullStackedSplineArea"],new Stimulsoft.Report.Chart["StiFullStackedSplineAreaArea"],new Stimulsoft.Report.Chart["StiClusteredBarArea"],new Stimulsoft.Report.Chart["StiStackedBarArea"],new Stimulsoft.Report.Chart["StiFullStackedBarArea"],new Stimulsoft.Report.Chart["StiPieArea"],new Stimulsoft.Report.Chart["StiDoughnutArea"],new Stimulsoft.Report.Chart["StiRadarPointArea"],new Stimulsoft.Report.Chart["StiRadarLineArea"],new Stimulsoft.Report.Chart["StiRadarAreaArea"],new Stimulsoft.Report.Chart["StiGanttArea"],new Stimulsoft.Report.Chart["StiScatterArea"],new Stimulsoft.Report.Chart["StiBubbleArea"],new Stimulsoft.Report.Chart["StiRangeArea"],new Stimulsoft.Report.Chart["StiSplineRangeArea"],new Stimulsoft.Report.Chart["StiSteppedRangeArea"],new Stimulsoft.Report.Chart["StiRangeBarArea"],new Stimulsoft.Report.Chart["StiCandlestickArea"],new Stimulsoft.Report.Chart["StiStockArea"],new Stimulsoft.Report.Chart["StiFunnelArea"],new Stimulsoft.Report.Chart["StiTreemapArea"],new Stimulsoft.Report.Chart["StiPictorialArea"],new Stimulsoft.Report.Chart["StiParetoArea"],new Stimulsoft.Report.Chart["StiWaterfallArea"],new Stimulsoft.Report.Chart["StiHistogramArea"]]),t.Services._chartAreas.filter((function(t){return t}))),t.Services._chartAreas},enumerable:!1,configurable:!0}),Object.defineProperty(e,"chartSeries",{get:function(){return null==t.Services._chartSeries&&(t.Services._chartSeries=new w([new Stimulsoft.Report.Chart["StiClusteredColumnSeries"],new Stimulsoft.Report.Chart["StiLineSeries"],new Stimulsoft.Report.Chart["StiAreaSeries"],new Stimulsoft.Report.Chart["StiSplineSeries"],new Stimulsoft.Report.Chart["StiSplineAreaSeries"],new Stimulsoft.Report.Chart["StiStackedColumnSeries"],new Stimulsoft.Report.Chart["StiStackedLineSeries"],new Stimulsoft.Report.Chart["StiStackedAreaSeries"],new Stimulsoft.Report.Chart["StiStackedSplineSeries"],new Stimulsoft.Report.Chart["StiStackedSplineAreaSeries"],new Stimulsoft.Report.Chart["StiSteppedLineSeries"],new Stimulsoft.Report.Chart["StiSteppedAreaSeries"],new Stimulsoft.Report.Chart["StiFullStackedColumnSeries"],new Stimulsoft.Report.Chart["StiFullStackedLineSeries"],new Stimulsoft.Report.Chart["StiFullStackedAreaSeries"],new Stimulsoft.Report.Chart["StiFullStackedSplineSeries"],new Stimulsoft.Report.Chart["StiFullStackedSplineAreaSeries"],new Stimulsoft.Report.Chart["StiClusteredBarSeries"],new Stimulsoft.Report.Chart["StiStackedBarSeries"],new Stimulsoft.Report.Chart["StiFullStackedBarSeries"],new Stimulsoft.Report.Chart["StiDoughnutSeries"],new Stimulsoft.Report.Chart["StiGanttSeries"],new Stimulsoft.Report.Chart["StiPieSeries"],new Stimulsoft.Report.Chart["StiBubbleSeries"],new Stimulsoft.Report.Chart["StiScatterSeries"],new Stimulsoft.Report.Chart["StiScatterLineSeries"],new Stimulsoft.Report.Chart["StiScatterSplineSeries"],new Stimulsoft.Report.Chart["StiRadarPointSeries"],new Stimulsoft.Report.Chart["StiRadarLineSeries"],new Stimulsoft.Report.Chart["StiRadarAreaSeries"],new Stimulsoft.Report.Chart["StiFunnelSeries"],new Stimulsoft.Report.Chart["StiStockSeries"],new Stimulsoft.Report.Chart["StiCandlestickSeries"],new Stimulsoft.Report.Chart["StiFunnelWeightedSlicesSeries"],new Stimulsoft.Report.Chart["StiSteppedRangeSeries"],new Stimulsoft.Report.Chart["StiSplineRangeSeries"],new Stimulsoft.Report.Chart["StiRangeSeries"],new Stimulsoft.Report.Chart["StiRangeBarSeries"],new Stimulsoft.Report.Chart["StiTreemapSeries"],new Stimulsoft.Report.Chart["StiPictorialSeries"],new Stimulsoft.Report.Chart["StiParetoSeries"],new Stimulsoft.Report.Chart["StiWaterfallSeries"],new Stimulsoft.Report.Chart["StiHistogramSeries"]]),t.Services._chartSeries.filter((function(t){return t}))),t.Services._chartSeries},enumerable:!1,configurable:!0}),Object.defineProperty(e,"chartTrendLines",{get:function(){return null==t.Services._chartTrendLines&&(t.Services._chartTrendLines=new w([new Stimulsoft.Report.Chart["StiTrendLineNone"],new Stimulsoft.Report.Chart["StiTrendLineLinear"],new Stimulsoft.Report.Chart["StiTrendLineExponential"],new Stimulsoft.Report.Chart["StiTrendLineLogarithmic"]]),t.Services._chartTrendLines.filter((function(t){return t}))),t.Services._chartTrendLines},enumerable:!1,configurable:!0}),Object.defineProperty(e,"chartSerieLabels",{get:function(){return null==t.Services._chartSerieLabels&&(t.Services._chartSerieLabels=new w([new Stimulsoft.Report.Chart["StiNoneLabels"],new Stimulsoft.Report.Chart["StiCenterAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideAxisLabels"],new Stimulsoft.Report.Chart["StiInsideBaseAxisLabels"],new Stimulsoft.Report.Chart["StiInsideEndAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideBaseAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideEndAxisLabels"],new Stimulsoft.Report.Chart["StiLeftAxisLabels"],new Stimulsoft.Report.Chart["StiValueAxisLabels"],new Stimulsoft.Report.Chart["StiRightAxisLabels"],new Stimulsoft.Report.Chart["StiInsideEndPieLabels"],new Stimulsoft.Report.Chart["StiCenterPieLabels"],new Stimulsoft.Report.Chart["StiOutsidePieLabels"],new Stimulsoft.Report.Chart["StiTwoColumnsPieLabels"],new Stimulsoft.Report.Chart["StiCenterFunnelLabels"],new Stimulsoft.Report.Chart["StiOutsideRightFunnelLabels"],new Stimulsoft.Report.Chart["StiOutsideLeftFunnelLabels"],new Stimulsoft.Report.Chart["StiCenterTreemapLabels"]]),t.Services._chartSerieLabels.filter((function(t){return t}))),t.Services._chartSerieLabels},enumerable:!1,configurable:!0}),Object.defineProperty(e,"chartStyles",{get:function(){return null==t.Services._chartStyles&&(t.Services._chartStyles=new w([new Stimulsoft.Report.Chart["StiStyle01"],new Stimulsoft.Report.Chart["StiStyle02"],new Stimulsoft.Report.Chart["StiStyle03"],new Stimulsoft.Report.Chart["StiStyle04"],new Stimulsoft.Report.Chart["StiStyle05"],new Stimulsoft.Report.Chart["StiStyle06"],new Stimulsoft.Report.Chart["StiStyle07"],new Stimulsoft.Report.Chart["StiStyle08"],new Stimulsoft.Report.Chart["StiStyle09"],new Stimulsoft.Report.Chart["StiStyle10"],new Stimulsoft.Report.Chart["StiStyle11"],new Stimulsoft.Report.Chart["StiStyle12"],new Stimulsoft.Report.Chart["StiStyle13"],new Stimulsoft.Report.Chart["StiStyle14"],new Stimulsoft.Report.Chart["StiStyle15"],new Stimulsoft.Report.Chart["StiStyle16"],new Stimulsoft.Report.Chart["StiStyle17"],new Stimulsoft.Report.Chart["StiStyle18"],new Stimulsoft.Report.Chart["StiStyle19"],new Stimulsoft.Report.Chart["StiStyle20"],new Stimulsoft.Report.Chart["StiStyle21"],new Stimulsoft.Report.Chart["StiStyle22"],new Stimulsoft.Report.Chart["StiStyle23"],new Stimulsoft.Report.Chart["StiStyle24"],new Stimulsoft.Report.Chart["StiStyle25"],new Stimulsoft.Report.Chart["StiStyle26"],new Stimulsoft.Report.Chart["StiStyle27"],new Stimulsoft.Report.Chart["StiStyle28"],new Stimulsoft.Report.Chart["StiStyle29"],new Stimulsoft.Report.Chart["StiStyle30"],new Stimulsoft.Report.Chart["StiStyle31"],new Stimulsoft.Report.Chart["StiStyle32"],new Stimulsoft.Report.Chart["StiStyle33"],new Stimulsoft.Report.Chart["StiStyle34"]]),t.Services._chartStyles.filter((function(t){return t}))),t.Services._chartStyles},enumerable:!1,configurable:!0}),Object.defineProperty(e,"shapes",{get:function(){return null==t.Services._shapes&&(t.Services._shapes=new w([new Stimulsoft.Report.Components.StiArrowShapeType,new Stimulsoft.Report.Components.StiDiagonalDownLineShapeType,new Stimulsoft.Report.Components.StiDiagonalUpLineShapeType,new Stimulsoft.Report.Components.StiHorizontalLineShapeType,new Stimulsoft.Report.Components.StiLeftAndRightLineShapeType,new Stimulsoft.Report.Components.StiOvalShapeType,new Stimulsoft.Report.Components.StiRectangleShapeType,new Stimulsoft.Report.Components.StiRoundedRectangleShapeType,new Stimulsoft.Report.Components.StiOctagonShapeType,new Stimulsoft.Report.Components.StiTopAndBottomLineShapeType,new Stimulsoft.Report.Components.StiTriangleShapeType,new Stimulsoft.Report.Components.StiVerticalLineShapeType,new Stimulsoft.Report.Components.StiComplexArrowShapeType,new Stimulsoft.Report.Components.StiBentArrowShapeType,new Stimulsoft.Report.Components.StiChevronShapeType,new Stimulsoft.Report.Components.StiDivisionShapeType,new Stimulsoft.Report.Components.StiEqualShapeType,new Stimulsoft.Report.Components.StiFlowchartCardShapeType,new Stimulsoft.Report.Components.StiFlowchartCollateShapeType,new Stimulsoft.Report.Components.StiFlowchartDecisionShapeType,new Stimulsoft.Report.Components.StiFlowchartManualInputShapeType,new Stimulsoft.Report.Components.StiFlowchartOffPageConnectorShapeType,new Stimulsoft.Report.Components.StiFlowchartPreparationShapeType,new Stimulsoft.Report.Components.StiFlowchartSortShapeType,new Stimulsoft.Report.Components.StiFrameShapeType,new Stimulsoft.Report.Components.StiMinusShapeType,new Stimulsoft.Report.Components.StiMultiplyShapeType,new Stimulsoft.Report.Components.StiParallelogramShapeType,new Stimulsoft.Report.Components.StiPlusShapeType,new Stimulsoft.Report.Components.StiRegularPentagonShapeType,new Stimulsoft.Report.Components.StiTrapezoidShapeType,new Stimulsoft.Report.Components.StiSnipSameSideCornerRectangleShapeType,new Stimulsoft.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType])),t.Services._shapes},enumerable:!1,configurable:!0}),Object.defineProperty(e,"barCodes",{get:function(){return null==t.Services._barCodes&&(t.Services._barCodes=new w([new Stimulsoft.Report.BarCodes.StiAustraliaPost4StateBarCodeType,new Stimulsoft.Report.BarCodes.StiCode11BarCodeType,new Stimulsoft.Report.BarCodes.StiCode128aBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128bBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128cBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128AutoBarCodeType,new Stimulsoft.Report.BarCodes.StiCode39BarCodeType,new Stimulsoft.Report.BarCodes.StiCode39ExtBarCodeType,new Stimulsoft.Report.BarCodes.StiCode93BarCodeType,new Stimulsoft.Report.BarCodes.StiCode93ExtBarCodeType,new Stimulsoft.Report.BarCodes.StiCodabarBarCodeType,new Stimulsoft.Report.BarCodes.StiDataMatrixBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128aBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128bBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128cBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128AutoBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN13BarCodeType,new Stimulsoft.Report.BarCodes.StiEAN8BarCodeType,new Stimulsoft.Report.BarCodes.StiFIMBarCodeType,new Stimulsoft.Report.BarCodes.StiIsbn10BarCodeType,new Stimulsoft.Report.BarCodes.StiIsbn13BarCodeType,new Stimulsoft.Report.BarCodes.StiITF14BarCodeType,new Stimulsoft.Report.BarCodes.StiJan13BarCodeType,new Stimulsoft.Report.BarCodes.StiJan8BarCodeType,new Stimulsoft.Report.BarCodes.StiMaxicodeBarCodeType,new Stimulsoft.Report.BarCodes.StiMsiBarCodeType,new Stimulsoft.Report.BarCodes.StiPdf417BarCodeType,new Stimulsoft.Report.BarCodes.StiPharmacodeBarCodeType,new Stimulsoft.Report.BarCodes.StiPlesseyBarCodeType,new Stimulsoft.Report.BarCodes.StiPostnetBarCodeType,new Stimulsoft.Report.BarCodes.StiQRCodeBarCodeType,new Stimulsoft.Report.BarCodes.StiDutchKIXBarCodeType,new Stimulsoft.Report.BarCodes.StiRoyalMail4StateBarCodeType,new Stimulsoft.Report.BarCodes.StiSSCC18BarCodeType,new Stimulsoft.Report.BarCodes.StiUpcABarCodeType,new Stimulsoft.Report.BarCodes.StiUpcEBarCodeType,new Stimulsoft.Report.BarCodes.StiUpcSup2BarCodeType,new Stimulsoft.Report.BarCodes.StiUpcSup5BarCodeType,new Stimulsoft.Report.BarCodes.StiInterleaved2of5BarCodeType,new Stimulsoft.Report.BarCodes.StiStandard2of5BarCodeType])),t.Services._barCodes},enumerable:!1,configurable:!0}),Object.defineProperty(e,"indicatorRanges",{get:function(){return null==t.Services._indicatorRanges&&(t.Services._indicatorRanges=new w([new Stimulsoft.Report.Components.Gauge["StiLinearIndicatorRangeInfo"],new Stimulsoft.Report.Components.Gauge["StiRadialIndicatorRangeInfo"]])),t.Services._indicatorRanges},enumerable:!1,configurable:!0}),Object.defineProperty(e,"customValues",{get:function(){return null==t.Services._customValues&&(t.Services._customValues=new w([new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelCustomValue"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkCustomValue"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelCustomValue"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkCustomValue"]])),t.Services._customValues},enumerable:!1,configurable:!0}),Object.defineProperty(e,"gaugeElements",{get:function(){return null==t.Services._gaugeElements&&(t.Services._gaugeElements=new w([new Stimulsoft.Report.Components.Gauge["StiLinearBar"],new Stimulsoft.Report.Components.Gauge["StiLinearMarker"],new Stimulsoft.Report.Components.Gauge["StiNeedle"],new Stimulsoft.Report.Components.Gauge["StiRadialBar"],new Stimulsoft.Report.Components.Gauge["StiRadialMarker"],new Stimulsoft.Report.Components.Gauge["StiStateIndicator"],new Stimulsoft.Report.Components.Gauge["StiLinearRangeList"],new Stimulsoft.Report.Components.Gauge["StiRadialRangeList"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelCustom"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelMajor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelMinor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkCustom"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkMajor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkMinor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelCustom"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelMajor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelMinor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkCustom"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkMajor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkMinor"]])),t.Services._gaugeElements},enumerable:!1,configurable:!0}),Object.defineProperty(e,"ranges",{get:function(){return null==t.Services._ranges&&(t.Services._ranges=new w([new Stimulsoft.Report.Components.Gauge["StiLinearRange"],new Stimulsoft.Report.Components.Gauge["StiRadialRange"]])),t.Services._ranges},enumerable:!1,configurable:!0}),Object.defineProperty(e,"gaugeScales",{get:function(){return null==t.Services._gaugeScales&&(t.Services._gaugeScales=new w([new Stimulsoft.Report.Components.Gauge["StiLinearScale"],new Stimulsoft.Report.Components.Gauge["StiRadialScale"]])),t.Services._gaugeScales},enumerable:!1,configurable:!0}),Object.defineProperty(e,"gaugeStyles",{get:function(){return null==t.Services._gaugeStyles&&(t.Services._gaugeStyles=new w([new Stimulsoft.Report.Gauge["StiGaugeStyleXF24"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF25"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF26"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF27"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF28"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF29"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF30"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF31"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF32"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF33"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF34"]])),t.Services._gaugeStyles},enumerable:!1,configurable:!0}),Object.defineProperty(e,"mapStyles",{get:function(){if(null!=this._mapStyles)return this._mapStyles;return this._mapStyles=new w,this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap21StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap24StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap25StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap26StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap27StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap28StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap29StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap30StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap31StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap32StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap33StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap34StyleFX),this._mapStyles},enumerable:!1,configurable:!0}),e.Dashboards=new k,e}();t.Services=M;var O=function(){function t(){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=o.No}return t}();t.ExportWord=O;var _=function(){function t(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0}return t}();t.ExportWriter=_;var j=function(){function t(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0,this.divideBigCells=!0,this.maximumSheetHeight=1048574}return t}();t.ExportCalc=j;var G=function(){function t(){this.convertDigitsToArabic=!1,this.arabicDigitsType=Stimulsoft.Report.StiArabicDigitsType.Standard,this.allowImageComparer=!0,this.forceWysiwygWordwrap=!1,this.replaceSpecialCharacters=!0,this.preserveWhiteSpaces=!0,this.useImageResolution=!1,this.useWordWrapBreakWordMode=!0,this.useStrictTableCellSize=!1,this.forceIE6Compatibility=!1,this.allowStrippedImages=!0,this.removeEmptySpaceAtBottom=!0,this.useExtendedStyle=!1,this.printLayoutOptimization=!0,this.useComponentStyleName=!0}return t}();t.ExportHtml=G;var H=function(){function t(){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=g.No,this.FitToOnePageWide=!0}return t}();t.ExportExcel=H;var Q=function(){function t(){this.AllowImageComparer=!0,this.StoreImagesAsPng=!0}return t}();t.ExportPowerPoint=Q;var L=function(){function t(){this.divideSegmentPages=!0,this.arabicDigitsType=b.Standard,this.reduceFontFileSize=!0,this.allowImageComparer=!0,this.allowImageTransparency=!0,this.allowExtGState=!0,this._creatorString="",this.keywordsString="",this.defaultCoordinatesPrecision=2,this.defaultAutoPrintMode=v.None,this.useAlternativeFontNames=!0}return Object.defineProperty(t.prototype,"creatorString",{get:function(){return r.isNullOrEmpty(this._creatorString)&&(this._creatorString=A.getReportVersion()),this._creatorString},set:function(t){this._creatorString=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternativeFontNames",{get:function(){return null==t._alternativeFontNames&&(t._alternativeFontNames=new C,t._alternativeFontNames.add("MS Pゴシック","MS PGothic"),t._alternativeFontNames.add("MS P明朝","MS PMincho"),t._alternativeFontNames.add("MS ゴシック","MS Gothic"),t._alternativeFontNames.add("MS 明朝","MS Mincho"),t._alternativeFontNames.add("メイリオ","Meiryo"),t._alternativeFontNames.add("바탕","Batang"),t._alternativeFontNames.add("바탕체","Batangche"),t._alternativeFontNames.add("굴림","Gulim"),t._alternativeFontNames.add("굴림체","Gulimche"),t._alternativeFontNames.add("돋움","Dotum"),t._alternativeFontNames.add("돋움체","Dotumche"),t._alternativeFontNames.add("궁서","Gungsuh"),t._alternativeFontNames.add("궁서체","Gungsuhche"),t._alternativeFontNames.add("맑은 고딕","Malgun Gothic"),t._alternativeFontNames.add("宋体","SimSun"),t._alternativeFontNames.add("宋体-ExtB","SimSun-ExtB"),t._alternativeFontNames.add("黑体","SimHei"),t._alternativeFontNames.add("新宋体","NSimSun"),t._alternativeFontNames.add("微软雅黑","Microsoft YaHei"),t._alternativeFontNames.add("仿宋","FangSong"),t._alternativeFontNames.add("楷体","KaiTi"),t._alternativeFontNames.add("仿宋_GB2312","FangSong_GB2312"),t._alternativeFontNames.add("新細明體","PMingLiU"),t._alternativeFontNames.add("新細明體-ExtB","PMingLiU-ExtB"),t._alternativeFontNames.add("細明體","MingLiU"),t._alternativeFontNames.add("細明體-ExtB","MingLiU-ExtB"),t._alternativeFontNames.add("微軟正黑體","Microsoft JhengHei"),t._alternativeFontNames.add("標楷體","DFKai-SB"),t._alternativeFontNames.add("文泉驛正黑","WenQuanYi Zen Hei"),t._alternativeFontNames.add("文泉驿正黑","WenQuanYi Zen Hei"),t._alternativeFontNames.add("文鼎PL細上海宋Uni","AR PL ShanHeiSun Uni"),t._alternativeFontNames.add("文鼎PL细上海宋Uni","AR PL ShanHeiSun Uni"),t._alternativeFontNames.add("文PL中楷Uni","AR PL ZenKai Uni"),t._alternativeFontNames.add("細曠體_HKSCS","MingLiU_HKSCS"),t._alternativeFontNames.add("細曠體_HKSCS-ExtB","MingLiU_HKSCS-ExtB")),t._alternativeFontNames},set:function(e){t._alternativeFontNames=e},enumerable:!1,configurable:!0}),t._alternativeFontNames=null,t}();t.ExportPdf=L;var Y=function(){function t(){this.useFullVerticalBorder=!0,this.useFullHorizontalBorder=!0,this.checkBoxTextForTrue="+",this.checkBoxTextForFalse="-",this.trimTrailingSpaces=!0}return t}();t.ExportText=Y;var U=function(){function t(){this.Font=new s("Arial",10),this.HorAlignment=S.Center,this.VertAlignment=y.Center}return t}();t.CheckBoxReplacementForExcelValue_=U;var J=function(){function t(){}return t.Word=new O,t.OpenDocumentWriter=new _,t.OpenDocumentCalc=new j,t.Html=new G,t.Excel=new H,t.PowerPoint=new Q,t.Pdf=new L,t.Text=new Y,t.CheckBoxReplacementForExcelValue=new U,t.optimizeDataOnlyMode=!0,t.checkBoxTextForTrue="false",t.checkBoxTextForFalse="true",t}();t.Export=J;var W=function(){function t(){}return t.url="",t.timeout=30,t}();t.WebServer=W}(StiOptions||(StiOptions={})),function(t){var e;!function(t){var e=function(){function t(t){this._index=t}return Object.defineProperty(t.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),t}();t.StiOptionsFontHelperAttribute=e}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r,n=function(t){function e(e){var r=t.call(this)||this;return r.owner=e,r}return __extends(e,t),e.prototype.add=function(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),t==this.owner)return;t.subReportsPrintOnPreviousPage=r,t.subReportsResetPageNumber=e,t.unit=this.owner.unit,this.list.push(t)},e}(t.System.Collections.CollectionBase);e.StiReportsCollection=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Report.Components.StiMargins,n=t.Report.StiResizeReportOptions,i=t.Report.Components.StiSubReport,o=t.System.Collections.Hashtable,a=t.Report.Components.StiPage,s=function(){function t(){}return t.setPageParameters=function(t,e,i,o,a,s,l){var u,c,p=(l&n.PageOrientationChanged)>0,h=(l&n.RescaleContent)>0,m=(l&n.AllowPageMarginsRescaling)>0,f=t.width,d=t.height;if(p&&(t.orientation=e),t.paperSize=i,e==t.orientation?(t.pageWidth=a,t.pageHeight=s,t.margins=o.clone()):(t.pageWidth=s,t.pageHeight=a,t.margins=new r(o.top,o.bottom,o.left,o.right)),t.width<=0&&(t.width=.1),t.height<=0&&(t.height=.1),h){var g=t.width/f,S=t.height/d;t.resizePage(g,S,m)}try{for(var y=__values(t.components.list),A=y.next();!A.done;A=y.next()){var b;A.value.dockToContainer()}}catch(t){u={error:t}}finally{try{A&&!A.done&&(c=y.return)&&c.call(y)}finally{if(u)throw u.error}}},t.resizeReport=function(t,e,r,s,l,u,c,p){var h,m,f,d,g,S,y,A,b,v,C,w;void 0===p&&(p=-1);var B=(c&n.RebuildReport)>0,I=(c&n.ProcessAllPages)>0,T=(c&n.ShowProgressOnRebuildReport)>0,E=null;p=0&&(E=t.renderedPages.getByIndex(p));var R=null!=E?E.name:"";if(B){var D=new o,P=t.getComponents();try{for(var x=__values(t.pages.list),F=x.next();!F.done;F=x.next()){var N=F.value;D.set(N.guid,N)}}catch(t){h={error:t}}finally{try{F&&!F.done&&(m=x.return)&&m.call(x)}finally{if(h)throw h.error}}var k=new o;try{for(var M=__values(P.list),O=M.next();!O.done;O=M.next()){var _=O.value,j;if(null!=(j=_.stimulsoft.as(i))&&null!=j.subReportPageGuid){var G=D.get(j.subReportPageGuid).stimulsoft.as(a);null!=G&&k.set(G,_.width)}}}catch(t){f={error:t}}finally{try{O&&!O.done&&(d=M.return)&&d.call(M)}finally{if(f)throw f.error}}try{for(var H=__values(t.pages.list),Q=H.next();!Q.done;Q=H.next()){var N,L;if((N=Q.value).name==R||I)if(null==(L=k.get(N))&&this.setPageParameters(N,e,r,s,l,u,c),!I)break}}catch(t){g={error:t}}finally{try{Q&&!Q.done&&(S=H.return)&&S.call(H)}finally{if(g)throw g.error}}try{for(var Y=__values(t.pages.list),U=Y.next();!U.done;U=Y.next()){var N=U.value,L;if(null!=(L=k.get(N))){var J=+L;if(N.width!=J){var W=N.width+N.margins.left+N.margins.right;N.width=J,this.setPageParameters(N,e,r,s,W,u,c)}}}}catch(t){y={error:t}}finally{try{U&&!U.done&&(A=Y.return)&&A.call(Y)}finally{if(y)throw y.error}}if(null!=t.subReports&&t.subReports.count>0)try{for(var V=__values(t.subReports.list),z=V.next();!z.done;z=V.next()){var j,X=j=z.value;null!=j.compiledReport&&(X=j.compiledReport),this.resizeReport(X,e,r,s,l,u,c)}}catch(t){b={error:t}}finally{try{z&&!z.done&&(v=V.return)&&v.call(V)}finally{if(b)throw b.error}}t.isRendered=!1,t.render(T),t.invokeRefreshViewer()}else{var K=0;try{for(var Z=__values(t.renderedPages.list),q=Z.next();!q.done;q=Z.next()){var N=q.value;if((K==p||I)&&(this.setPageParameters(N,e,r,s,l,u,c),!I))return;K++}}catch(t){C={error:t}}finally{try{q&&!q.done&&(w=Z.return)&&w.call(Z)}finally{if(C)throw C.error}}}},t}();e.StiResizeReportHelper=s}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Collections.Hashtable,n=function(){function t(t){var e,n;this.page=null,this.textBox=null,this.dataSourcesPosition=new r,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;try{for(var i=__values(t.dictionary.dataSources.list),o=i.next();!o.done;o=i.next()){var a=o.value;this.dataSourcesPosition.set(a.name,a.position)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}return t.prototype.clone=function(){var e=new t(this.page.report);return e.page=this.page,e.textBox=this.textBox,e.line=this.line,e.column=this.column,e.lineThrough=this.lineThrough,e.dataSourcesPosition=this.dataSourcesPosition,e},Object.defineProperty(t.prototype,"pageIndex",{get:function(){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:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPrintPage",{get:function(){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:function(t){this._currentPrintPage=t},enumerable:!1,configurable:!0}),t.prototype.setVariables=function(t){var e,r;t.line=this.line,t.lineThrough=this.lineThrough,t.column=this.column,t.currentPrintPage=this.currentPrintPage;try{for(var n=__values(t.dictionary.dataSources.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.position=this.dataSourcesPosition.get(o.name)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t}();e.StiRuntimeVariables=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Activator,n=t.System.Collections.Hashtable,i=function(){function t(t){this.value=t}return t}(),o=function(){function t(t){this.rangeType=t.stimulsoft.getType(),this.from=t.fromObject,this.to=t.toObject}return t}(),a=function(){function t(){this.states=new n}return t.prototype.push=function(t,e,r,i){var o=this.states.get(t);null==o&&(o=new n,this.states.add(t,o));var a=o.get(e);null==a&&(a=new n,o.add(e,a)),a.set(r,i)},t.prototype.pushBool=function(e,r,n,i){i?this.push(e,r,n,t.ValueBoolTrue):this.push(e,r,n,t.ValueBoolFalse)},t.prototype.pushInt=function(t,e,r,n){this.push(t,e,r,new i(n))},t.prototype.pushInt64=function(t,e,r,n){this.push(t,e,r,new i(n))},t.prototype.pushFloat=function(t,e,r,n){this.push(t,e,r,new i(n))},t.prototype.pushDouble=function(t,e,r,n){this.push(t,e,r,new i(n))},t.prototype.pushDecimal=function(t,e,r,n){this.push(t,e,r,new i(n))},t.prototype.pushRange=function(t,e,r,n){this.push(t,e,r,new o(n))},t.prototype.pop=function(t,e,r){var n=this.states.get(t);if(null==n)return null;var i=n.get(e);if(null==i)return null;return i.get(r)},t.prototype.popBool=function(e,r,n){var i;if(this.pop(e,r,n)==t.ValueBoolFalse)return!1;return!0},t.prototype.popInt=function(t,e,r){var n=this.pop(t,e,r);if(null==n)return 0;return n.value},t.prototype.popInt64=function(t,e,r){return this.popInt(t,e,r)},t.prototype.popDouble=function(t,e,r){return this.popInt(t,e,r)},t.prototype.popFloat=function(t,e,r){return this.popInt(t,e,r)},t.prototype.popDecimal=function(t,e,r){return this.popInt(t,e,r)},t.prototype.popRange=function(t,e,n){var i=this.pop(t,e,n);if(null==i)return null;var o=r.createInstance(i.rangeType);return o.fromObject=i.from,o.toObject=i.to,o},t.prototype.isExist=function(t,e){if(null==this.states.get(t))return!1;var r;if(null==this.states.get(t).get(e))return!1;return!0},t.prototype.clearState=function(t){this.states.remove(t)},t.prototype.clear=function(){this.states.clear()},t.ValueBoolFalse={},t.ValueBoolTrue={},t}();e.StiStatesManager=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Collections.List,n=t.System.StiString,i=t.Base.Localization.StiLocalization,o=function(){function t(){}return t.getPageNofM=function(t){return n.format(this.getPageNofMIdent(t),t.pageNumber,t.totalPageCount)},t.getPageNofMThrough=function(t){return n.format(this.getPageNofMIdent(t),t.pageNumberThrough,t.totalPageCountThrough)},t.getPageNofMIdent=function(t){if(null!=t.pageNofMLocalizationString)return t.pageNofMLocalizationString;var e=null;if(n.isNullOrWhiteSpace(t.culture)||(e=this.getIdent(t.culture)),null!=e)return e;if(null!=(e=this.getIdent(i.cultureName)))return e;return i.get("Report","PageNofM")},t.getIdent=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.locs),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t)return o.value}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}if(t.stimulsoft.contains("-"))return t=t.substr(0,t.indexOf("-")),this.locs.where((function(e){return t.stimulsoft.startsWith(e.name)})).select((function(t){return t.value}))[0];return null},t.locs=new r([{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}"}]),t}();e.StiSystemVariableLocHelper=o}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Collections.Hashtable,n=function(){function t(){this.hashText=new r,this.hashComponent=new r,this.hashFontString=new r}return t.prototype.getFontString=function(t){var e=this.hashFontString.get(t);if(null!=e)return e;var r=t.name+"*"+t.style.toString()+"*";return this.hashFontString.set(t,r),r},t.prototype.getFontSizeObject=function(t,e,r,n,i){var o=n.ref,a=i.ref,s=this.hashComponent.get(t);return null==s&&(a=r+"*"+e.width.toString()+"*"+e.height.toString()+"*"+this.getFontString(t.font)+"*"+o.toString(),null!=(s=this.hashText.get(a))&&this.hashComponent.set(t,s)),s.stimulsoft.is(Number)&&(o=+s),s},t.prototype.clear=function(){this.hashText.clear(),this.hashComponent.clear(),this.hashFontString.clear()},t}();e.StiFitTextInfo=n;var i=function(){function t(){}return Object.defineProperty(t,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),t.addReport=function(t){this.enabled&&null!=t&&(null==t.compiledReport?this.hashes.set(t,new n):this.hashes.set(t.compiledReport,new n))},t.removeReport=function(t){if(null!=t){var e=this.hashes.get(t).stimulsoft.as(n);null!=e&&e.clear(),this.hashes.remove(t)}},t.clearReportInfo=function(t){if(null!=t){var e=this.hashes.get(t).stimulsoft.as(n);null!=e&&e.clear()}},t.getReportInfo=function(t){if(this.enabled&&null!=t){var e=this.hashes.get(t);if(null!=e)return e}return null},t.clear=function(){this.hashes.clear()},t.hashes=new r,t._enabled=!1,t}();e.StiViewerFitTextHelper=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiArray,n=t.Report.Components.StiFilterCondition,i=t.Base.StiObjectConverter,o=t.Report.Components.StiDataBand,a=t.Report.Dictionary.StiSumFunctionService,s=t.Report.Dictionary.StiSumTimeFunctionService,l=t.Report.Dictionary.StiAvgFunctionService,u=t.Report.Dictionary.StiAvgDateFunctionService,c=t.Report.Dictionary.StiAvgTimeFunctionService,p=t.Report.Dictionary.StiMaxFunctionService,h=t.Report.Dictionary.StiMinFunctionService,m=t.Report.Dictionary.StiMedianFunctionService,f=t.Report.Dictionary.StiModeFunctionService,d=t.Report.Dictionary.StiFirstFunctionService,g=t.Report.Dictionary.StiLastFunctionService,S=t.Report.Dictionary.StiCountFunctionService,y=t.Report.Dictionary.StiCountDistinctFunctionService,A=t.Report.Dictionary.StiMinDateFunctionService,b=t.Report.Dictionary.StiMinTimeFunctionService,v=t.Report.Dictionary.StiMinStrFunctionService,C=t.Report.Dictionary.StiMaxDateFunctionService,w=t.Report.Dictionary.StiMaxTimeFunctionService,B=t.Report.Dictionary.StiMaxStrFunctionService,I=t.Report.Dictionary.StiSumDistinctFunctionService,T=t.Report.Dictionary.StiSumNullableFunctionService,E=t.Report.Engine.StiParser,R=t.System.Collections.Hashtable,D=t.Report.Dictionary.StiDataSource,P=t.Report.Components.StiBand,x=t.Report.Components.StiHierarchicalBand,F=t.Report.Dictionary.StiBusinessObject,N=t.Report.Engine.StiDataBandBuilder,k=t.Report.Components.StiDataHelper,M=t.Report.Components.StiGroupHeaderBand,O=t.Report.Components.StiContainer,_=t.System.Data.DBNull,j=t.Report.Dictionary.StiRankFunctionService,G=t.System.Text.StringBuilder,H=t.System.StiString,Q=function(){function t(){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}return t}(),L=function(){function L(){}return L.getMethod=function(t,e){return null},L.calculate=function(t,e,r,n,i,o,a){void 0===i&&(i=!1),void 0===o&&(o=!1),void 0===a&&(a=!0);var s=r;if(null==s){var l=e,u=e.stimulsoft.as(E.StiParserData);if(null!=u&&(l=u.data),l.stimulsoft.is(D)){var c=l.dictionary;null!=c&&(s=c.report)}l.stimulsoft.is(P)&&(s=l.report)}var p=null!=s&&s.cacheTotals,h=null,m=null;if(p){var f={ref:h},d={ref:m},g=this.getCachedValue(t,e,s,n,i,o,a,f,d);if(m=d.ref,g)return f.ref}return null!=s&&(s.cachedTotalsLocked=!0),h=L.calculate1(t,e,r,n,i,o,a),null!=s&&(s.cachedTotalsLocked=!1),p&&L.storeCachedValue(e,s,m,h),h},L.calculate1=function(n,i,a,s,l,u,c){var p,h,m=!0;null!=a&&(m=a.calculationMode==e.StiCalculationMode.Compilation);var f=new Q;if(!m){var d=null;null!=i&&(d=i.stimulsoft.as(E.StiParserData)),null!=d?(f.asmList=d.asmList,f.asmList2=d.asmList2,f.conditionAsmList=d.conditionAsmList,f.parser=d.parser,i=d.data):m=!0}f.isCompilationMode=m,f.report=a,f.functionn=n;var g=null,S=n.stimulsoft.getType()==I?n:null;if(null!=S)if(m){var y=s.split("~");y.length>1&&(s=y[0],g=y[1],f.sumDistinctFunction=S)}else null!=f.asmList2&&(f.sumDistinctFunction=S);if(m){if(null!=s&&(f.method=this.getMethod(a,s),null==f.method))return 0;if(null!=g&&(f.method2=this.getMethod(a,g),null==f.method2))return 0}var A=null==i?null:i.stimulsoft.as(o);if(null!=A&&c){if(null==a&&(a=A.report),n.init(),L.saveState(A),A.isBusinessObjectEmpty||(A.businessObject.createEnumerator(),A.businessObject.specTotalsCalculation=!0),null!=a.engine&&-1!=a.engine.indexPageForPageTotal){var b=a.engine.indexPageForPageTotal;-1!=a.engine.startIndexPageForPageTotal&&(b=a.engine.startIndexPageForPageTotal);for(var v="Breaked_"+A.name,C="Continued_"+A.name,w=b;w<=a.engine.indexPageForPageTotal;w++){var B,T=a.renderedPages.getByIndex(w).getComponents();try{for(var P=(p=void 0,__values(T.list)),_=P.next();!_.done;_=P.next()){var j,G=_.value.stimulsoft.as(O);if(null!=G&&(A.name==G.name||v==G.name||C==G.name)&&-1!=G.containerInfo.dataBandPosition){var H=null,Y=null;A.isDataSourceEmpty||(A.position=G.containerInfo.dataBandPosition,null!=G.containerInfo.dataSourceRow&&(A.position=0,H=A.dataSource.detailRows,A.dataSource.detailRows=r.create(t.System.Data.DataRow,1),A.dataSource.detailRows[0]=G.containerInfo.dataSourceRow)),A.isBusinessObjectEmpty||null!=G.containerInfo.businessObjectCurrent&&(Y=A.businessObject.currentObject,A.businessObject.currentObject=G.containerInfo.businessObjectCurrent),this.calcItem(f),A.isDataSourceEmpty||null!=G.containerInfo.dataSourceRow&&(A.dataSource.detailRows=H),A.isBusinessObjectEmpty||null!=G.containerInfo.businessObjectCurrent&&(A.businessObject.currentObject=Y)}}}catch(t){p={error:t}}finally{try{_&&!_.done&&(h=P.return)&&h.call(P)}finally{if(p)throw p.error}}}}return A.isBusinessObjectEmpty||(A.businessObject.specTotalsCalculation=!1),L.restoreState(A),n.getValue()}var U=null==i?null:i.stimulsoft.as(D);if(null!=U){if(l)throw new Error("You can't use AllLevels together with DataSource! Only HierarchicalBand can be used.");n.init(),U.saveState("Totals"),U.first(),U.resetData(),U.resetDetailsRows();while(!U.isEof)this.calcItem(f),U.next();return U.restoreState("Totals"),n.getValue()}var J=null==i?null:i.stimulsoft.as(F);if(null!=J){if(l)throw new Error("You can't use AllLevels together with BusinessObject! Only HierarchicalBand can be used.");n.init(),J.saveState("Totals"),J.createEnumerator(),J.specTotalsCalculation=!0;while(!J.isEof)this.calcItem(f),J.next();return J.specTotalsCalculation=!1,J.restoreState("Totals"),n.getValue()}var W=null==i?null:i.stimulsoft.as(x);if(null!=W){var V=!1;if(!l&&u&&(V=!0,l=!0),null==a&&(a=W.report),n.init(),!W.isDataSourceEmpty){W.saveState("Totals"),W.hierarchicalBandInfo.finalFooterCalculation&&(W.position=0);var z=W.dataSource.getLevel();-1!=W.hierarchicalBandInfo.specifiedLevel&&(z=W.hierarchicalBandInfo.specifiedLevel),W.dataSource.count>0&&(-1==W.hierarchicalBandInfo.specifiedLevel||l)&&!u&&this.calcItem(f);var X=W.position;while(W.position>0&&!u){var K;if(W.position--,(K=W.dataSource.getLevel())1)continue;if(K==z)break}if(!l&&K!=z)continue;this.calcItem(f)}W.position=X,W.restoreState("Totals")}if(!W.isBusinessObjectEmpty){var Z=W.position;W.saveState("Totals");var q=[];W.saveState("Totals2"),W.businessObject.createEnumerator();while(!W.businessObject.isEof)q.push(W.businessObject.enumerator.current),W.businessObject.next();W.restoreState("Totals2"),W.hierarchicalBandInfo.finalFooterCalculation&&(W.position=0),W.businessObject.currentObject=q[W.position];var z=W.businessObject.getLevel();-1!=W.hierarchicalBandInfo.specifiedLevel&&(z=W.hierarchicalBandInfo.specifiedLevel),W.businessObject.count>0&&(-1==W.hierarchicalBandInfo.specifiedLevel||l)&&!u&&this.calcItem(f);var X=W.position;while(W.position>0&&!u){var K;if(W.position--,W.businessObject.currentObject=q[W.position],(K=W.businessObject.getLevel())1)continue;if(K==z)break}if(!l&&K!=z)continue;this.calcItem(f)}W.position=X,W.restoreState("Totals")}return n.getValue()}var $=null==i?null:i.stimulsoft.as(o);if(null!=$){if(l)throw new Error("You can't use AllLevels together with DataBand! Only HierarchicalBand can be used.");if(null==a&&(a=$.report),n.init(),null!=$.businessObject){var tt=$.businessObject;tt.saveState("Totals"),tt.createEnumerator(),tt.specTotalsCalculation=!0;while(!tt.isEof)this.calcItem(f),tt.next();tt.specTotalsCalculation=!1,tt.restoreState("Totals")}else{L.saveState($),k.setData($,!1),$.first();while(!$.isEof)this.calcItem(f),$.next();L.restoreState($)}return n.getValue()}var et=null==i?null:i.stimulsoft.as(M);if(null!=et){if(l)throw new Error("You can't use AllLevels together with StiGroupHeaderBand! Only HierarchicalBand can be used.");if(null==a&&(a=et.report),n.init(),null==($=et.getDataBand()))return 0;L.saveState($);var rt=null;rt=N.getBuilder(o);var nt=$.businessObject,it=!1,ot=!1;if(it=rt.getGroupHeaderResult($,et),ot=rt.getGroupFooterResult($,et),it&&ot)try{N.setDetails($),this.calcItem(f)}catch(e){t.System.StiError.showError(e,!1)}else{if(null!=nt){var at=nt.position;nt.saveState("Totals"),nt.createEnumerator(),nt.specTotalsCalculation=!0;var st=[],lt=0;while(lt!=at)0==lt&&N.prepareGroupResults($),st.push(rt.getGroupHeaderResult($,et)),$.next(),lt++;if(lt--,!it){var ut=new R;if(at>0)try{while(1){if(st[lt]){ut.set(lt,lt);break}if(ut.set(lt,lt),--lt<0)break}}catch(e){t.System.StiError.showError(e,!1),at=0}nt.first(),lt=0;while(lt!=at)null!=ut.get(lt)&&this.calcItem(f),lt++,nt.next()}}else while(1==1){if(rt.getGroupHeaderResult($,et))break;$.prior()}while(1==1){if(rt.getGroupFooterResult($,et))break;if(this.calcItem(f),null!=nt){if(nt.isEof)break;nt.next(),N.prepareGroupResults($)}else $.next()}it=rt.getGroupHeaderResult($,et),ot=rt.getGroupFooterResult($,et),!it&&ot&&this.calcItem(f)}return null!=nt&&(nt.specTotalsCalculation=!1,nt.restoreState("Totals")),L.restoreState($),n.getValue()}return 0},L.calcItem=function(e){try{var r=null;if(e.isCompilationMode)e.method,null!=e.sumDistinctFunction||e.functionn.calcItem(r);else if(null==e.conditionAsmList||t.System.Convert.toBoolean(e.parser.executeAsm(e.conditionAsmList)))if(r=e.parser.executeAsm(e.asmList),null!=e.sumDistinctFunction){var n=e.parser.executeAsm(e.asmList2);e.sumDistinctFunction.calcItem(r,n)}else e.functionn.calcItem(r)}catch(e){t.System.StiError.showError(e,!1)}},L.calculateByCondition=function(r,n,i,o,a,s,l,u,c){var p=!0;null!=i&&(p=i.calculationMode==e.StiCalculationMode.Compilation);var h=null,m=null;if(!p){var f=null==n?null:n.stimulsoft.as(E.StiParserData);null!=f?(h=f.asmList,m=f.parser,n=f.data):p=!0}var d=null==n?null:n.stimulsoft.as(x);if(null!=d){var g=!1;!u&&c&&(g=!0,u=!0),null==i&&(i=d.report),r.init(),d.saveState("Totals");var S=[];if(null!=d.businessObject){d.saveState("Totals2"),d.businessObject.createEnumerator();while(!d.businessObject.isEof)S.push(d.businessObject.enumerator.current),d.businessObject.next();d.restoreState("Totals2")}d.hierarchicalBandInfo.finalFooterCalculation&&(d.position=0),null!=d.businessObject&&(d.businessObject.currentObject=S[d.position]);var y=null!=d.dataSource?d.dataSource.getLevel():d.businessObject.getLevel();if(-1!=d.hierarchicalBandInfo.specifiedLevel&&(y=d.hierarchicalBandInfo.specifiedLevel),(S.length>0||d.dataSource.count>0)&&(-1==d.hierarchicalBandInfo.specifiedLevel||u)&&!c)try{var A=null;p||(A=this.compareValue(m.executeAsm(h),a,s,l)),r.calcItem(A)}catch(t){}var b=d.position;while(d.position>0&&!c){var v;if(d.position--,null!=d.businessObject&&(d.businessObject.currentObject=S[d.position]),(v=null!=d.dataSource?d.dataSource.getLevel():d.businessObject.getLevel())1)continue;if(v==y)break}if(!u&&v!=y)continue;try{var A=null;p||(A=this.compareValue(m.executeAsm(h),a,s,l)),r.calcItem(A)}catch(e){t.System.StiError.showError(e,!1)}}return d.position=b,d.restoreState("Totals"),r.getValue()}return 0},L.compareValue=function(t,e,r,i){var o=r;switch(e){case n.Between:return o>=r&&o<=i?o:0;case n.EqualTo:return o==r?o:0;case n.GreaterThan:return o>r?o:0;case n.GreaterThanOrEqualTo:return o>=r?o:0;case n.LessThan:return oi?o:0;case n.NotEqualTo:return o!=r?o:0;case n.NotContaining:case n.EndingWith:case n.Containing:case n.BeginningWith:return 0}return 0},L.calculateNullable=function(t,e,r,n,o,a){var s=L.calculate(t,e,r,n,o,a,!1);if(null==s)return null;return i.convertToNumber(s)},L.calculateRunning=function(t,e,r,n){try{if(null==r)if(e.stimulsoft.is(o))r=e.report;else if(e.stimulsoft.is(E.StiParserData)){var i=null==e.data?null:e.data.stimulsoft.as(o);null!=i&&(r=i.report)}return r.engine.startIndexPageForPageTotal=0,L.calculate(t,e,r,n,!1,!1,!0)}finally{r.engine.startIndexPageForPageTotal=-1}},L.sum=function(t,e,r){return L.calculate(new a,t,e,r,!1,!1,!1)},L.sumNullable=function(t,e,r){return L.calculateNullable(new T,t,e,r,!1,!1)},L.sumDistinct=function(t,e,r,n){return void 0===n&&(n=null),null==n?L.calculate(new I,t,e,r,!1,!1,!1):L.calculate(new I,t,e,r+"~"+n,!1,!1)},L.cSum=function(t,e,r){return L.calculate(new a,t,e,r,!1,!1,!0)},L.cSumRunning=function(t,e,r){return L.calculateRunning(new a,t,e,r)},L.sumAllLevels=function(t,e,r){return L.calculate(new a,t,e,r,!0,!1,!1)},L.sumAllLevelsByCondition=function(t,e,r,n,i,o){return L.calculateByCondition(new a,t,e,r,n,i,o,!0,!1)},L.sumAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new a,t,e,r,!0,!0,!1)},L.sumOnlyChilds=function(t,e,r){return L.calculate(new a,t,e,r,!1,!0,!1)},L.sumTime=function(t,e,r){var n;return L.calculate(new s,t,e,r,!1,!1,!1)},L.cSumTime=function(t,e,r){var n;return L.calculate(new s,t,e,r)},L.sumTimeAllLevels=function(t,e,r){var n;return L.calculate(new s,t,e,r,!0,!1,!1)},L.sumTimeAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new s,t,e,r,!0,!0,!1)},L.sumTimeOnlyChilds=function(t,e,r){var n;return L.calculate(new s,t,e,r,!1,!0,!1)},L.avg=function(t,e,r){return L.calculate(new l,t,e,r,!1,!1,!1)},L.cAvg=function(t,e,r){return L.calculate(new l,t,e,r)},L.cAvgRunning=function(t,e,r){return L.calculateRunning(new l,t,e,r)},L.avgAllLevels=function(t,e,r){return L.calculate(new l,t,e,r,!0,!1,!1)},L.avgAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new l,t,e,r,!0,!0,!1)},L.avgOnlyChilds=function(t,e,r){return L.calculate(new l,t,e,r,!1,!0,!1)},L.avgDate=function(t,e,r){var n;return L.calculate(new u,t,e,r,!1,!1,!1)},L.cAvgDate=function(t,e,r){var n;return L.calculate(new u,t,e,r)},L.avgDateAllLevels=function(t,e,r){var n;return L.calculate(new u,t,e,r,!0,!1,!1)},L.avgDateAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new u,t,e,r,!0,!0,!1)},L.avgDateOnlyChilds=function(t,e,r){var n;return L.calculate(new u,t,e,r,!1,!0,!1)},L.avgTime=function(t,e,r){var n;return L.calculate(new c,t,e,r,!1,!1,!1)},L.cAvgTime=function(t,e,r){var n;return L.calculate(new c,t,e,r)},L.avgTimeAllLevels=function(t,e,r){var n;return L.calculate(new c,t,e,r,!0,!1,!1)},L.avgTimeAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new c,t,e,r,!0,!0,!1)},L.avgTimeOnlyChilds=function(t,e,r){var n;return L.calculate(new c,t,e,r,!1,!0,!1)},L.max=function(t,e,r){return L.calculate(new p,t,e,r,!1,!1,!1)},L.cMax=function(t,e,r){return L.calculate(new p,t,e,r)},L.cMaxRunning=function(t,e,r){return L.calculateRunning(new p,t,e,r)},L.maxAllLevels=function(t,e,r){return L.calculate(new p,t,e,r,!0,!1,!1)},L.maxAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new p,t,e,r,!0,!0,!1)},L.maxOnlyChilds=function(t,e,r){return L.calculate(new p,t,e,r,!1,!0,!1)},L.min=function(t,e,r){return L.calculate(new h,t,e,r,!1,!1,!1)},L.cMin=function(t,e,r){return L.calculate(new h,t,e,r)},L.cMinRunning=function(t,e,r){return L.calculateRunning(new h,t,e,r)},L.minAllLevels=function(t,e,r){return L.calculate(new h,t,e,r,!0,!1,!1)},L.minAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new h,t,e,r,!0,!0,!1)},L.minOnlyChilds=function(t,e,r){return L.calculate(new h,t,e,r,!1,!0,!1)},L.median=function(t,e,r){return L.calculate(new m,t,e,r,!1,!1,!1)},L.cMedian=function(t,e,r){return L.calculate(new m,t,e,r)},L.cMedianRunning=function(t,e,r){return L.calculateRunning(new m,t,e,r)},L.medianAllLevels=function(t,e,r){return L.calculate(new m,t,e,r,!0,!1,!1)},L.medianAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new m,t,e,r,!0,!0,!1)},L.medianOnlyChilds=function(t,e,r){return L.calculate(new m,t,e,r,!1,!0,!1)},L.mode=function(t,e,r){return L.calculate(new f,t,e,r,!1,!1,!1)},L.cMode=function(t,e,r){return L.calculate(new f,t,e,r)},L.cModeRunning=function(t,e,r){return L.calculateRunning(new f,t,e,r)},L.modeAllLevels=function(t,e,r){return L.calculate(new f,t,e,r,!0,!1,!1)},L.modeAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new f,t,e,r,!0,!0,!1)},L.modeOnlyChilds=function(t,e,r){return L.calculate(new f,t,e,r,!1,!0,!1)},L.first=function(t,e,r){return L.calculate(new d,t,e,r,!1,!1,!1)},L.cFirst=function(t,e,r){return L.calculate(new d,t,e,r)},L.cFirstRunning=function(t,e,r){return L.calculateRunning(new d,t,e,r)},L.firstAllLevels=function(t,e,r){return L.calculate(new d,t,e,r,!0,!1,!1)},L.firstAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new d,t,e,r,!0,!0,!1)},L.firstOnlyChilds=function(t,e,r){return L.calculate(new d,t,e,r,!1,!0,!1)},L.last=function(t,e,r){return L.calculate(new g,t,e,r,!1,!1,!1)},L.cLast=function(t,e,r){return L.calculate(new g,t,e,r)},L.cLastRunning=function(t,e,r){return L.calculateRunning(new g,t,e,r)},L.lastAllLevels=function(t,e,r){return L.calculate(new g,t,e,r,!0,!1,!1)},L.lastAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new g,t,e,r,!0,!0,!1)},L.lastOnlyChilds=function(t,e,r){return L.calculate(new g,t,e,r,!1,!0,!1)},L.count=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),L.calculate(new S,t,e,r,!1,!1,!1)},L.cCount=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),L.calculate(new S,t,e,r)},L.cCountRunning=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),L.calculateRunning(new S,t,e,r)},L.countAllLevels=function(t){return L.calculate(new S,t,null,null,!0,!1,!1)},L.countAllLevelsOnlyChilds=function(t){return L.calculate(new S,t,null,null,!0,!0,!1)},L.countOnlyChilds=function(t){return L.calculate(new S,t,null,null,!1,!0,!1)},L.countDistinct=function(t,e,r){return L.calculate(new y,t,e,r,!1,!1,!1)},L.cCountDistinct=function(t,e,r){return L.calculate(new y,t,e,r)},L.cCountDistinctRunning=function(t,e,r){return L.calculateRunning(new y,t,e,r)},L.countDistinctAllLevels=function(t,e,r){return L.calculate(new y,t,e,r,!0,!1,!1)},L.countDistinctAllLevelsOnlyChilds=function(t,e,r){return L.calculate(new y,t,e,r,!0,!0,!1)},L.countDistinctOnlyChilds=function(t,e,r){return L.calculate(new y,t,e,r,!1,!0,!1)},L.minDate=function(t,e,r){var n;return L.calculate(new A,t,e,r,!1,!1,!1)},L.cMinDate=function(t,e,r){var n;return L.calculate(new A,t,e,r)},L.minDateAllLevels=function(t,e,r){var n;return L.calculate(new A,t,e,r,!0,!1,!1)},L.minDateAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new A,t,e,r,!0,!0,!1)},L.minDateOnlyChilds=function(t,e,r){var n;return L.calculate(new A,t,e,r,!1,!0,!1)},L.minTime=function(t,e,r){var n;return L.calculate(new b,t,e,r,!1,!1,!1)},L.cMinTime=function(t,e,r){var n;return L.calculate(new b,t,e,r)},L.minTimeAllLevels=function(t,e,r){var n;return L.calculate(new b,t,e,r,!0,!1,!1)},L.minTimeAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new b,t,e,r,!0,!0,!1)},L.minTimeOnlyChilds=function(t,e,r){var n;return L.calculate(new b,t,e,r,!1,!0,!1)},L.minStr=function(t,e,r){var n;return L.calculate(new v,t,e,r,!1,!1,!1)},L.cMinStr=function(t,e,r){var n;return L.calculate(new v,t,e,r)},L.minStrAllLevels=function(t,e,r){var n;return L.calculate(new v,t,e,r,!0,!1,!1)},L.minStrAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new v,t,e,r,!0,!0,!1)},L.minStrOnlyChilds=function(t,e,r){var n;return L.calculate(new v,t,e,r,!1,!0,!1)},L.maxDate=function(t,e,r){var n;return L.calculate(new C,t,e,r,!1,!1,!1)},L.cMaxDate=function(t,e,r){var n;return L.calculate(new C,t,e,r)},L.maxDateAllLevels=function(t,e,r){var n;return L.calculate(new C,t,e,r,!0,!1,!1)},L.maxDateAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new C,t,e,r,!0,!0,!1)},L.maxDateOnlyChilds=function(t,e,r){var n;return L.calculate(new C,t,e,r,!1,!0,!1)},L.maxTime=function(t,e,r){var n;return L.calculate(new w,t,e,r,!1,!1,!1)},L.cMaxTime=function(t,e,r){var n;return L.calculate(new w,t,e,r)},L.maxTimeAllLevels=function(t,e,r){var n;return L.calculate(new w,t,e,r,!0,!1,!1)},L.maxTimeAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new w,t,e,r,!0,!0,!1)},L.maxTimeOnlyChilds=function(t,e,r){var n;return L.calculate(new w,t,e,r,!1,!0,!1)},L.maxStr=function(t,e,r){var n;return L.calculate(new B,t,e,r,!1,!1,!1)},L.cMaxStr=function(t,e,r){var n;return L.calculate(new B,t,e,r)},L.maxStrAllLevels=function(t,e,r){var n;return L.calculate(new B,t,e,r,!0,!1,!1)},L.maxStrAllLevelsOnlyChilds=function(t,e,r){var n;return L.calculate(new B,t,e,r,!0,!0,!1)},L.maxStrOnlyChilds=function(t,e,r){var n;return L.calculate(new B,t,e,r,!1,!0,!1)},L.rank=function(t,r,n,i,o){void 0===i&&(i=!0),void 0===o&&(o=e.StiRankOrder.Asc);var a,s=this.calculate(new j(!1,i,o),t,r,n,!1,!1,!1).stimulsoft.as(R);if(null!=s&&null!=t){var l=null,u=null==t?null:t.stimulsoft.as(E.StiParserData);if(null!=u){var c=u.asmList,p;l=u.parser.executeAsm(c)}if(null!=l&&l!=_.value)return+s.get(l);return 0}return 0},L.saveState=function(t){var e,r;if(t.saveState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;L.saveState(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},L.restoreState=function(t){var e,r;if(t.restoreState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;L.restoreState(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},L.storeCachedValue=function(t,e,r,n){var i=null==t?null:t.stimulsoft.as(E.StiParserData);null!=i&&(t=i.data);var o=e.cachedTotals.get(t);null==o&&(o=new R,e.cachedTotals.set(t,o)),o.set(r,n)},L.getCachedValue=function(t,e,r,n,i,o,a,s,l){var u,c,p=new G,h=e.stimulsoft.as(E.StiParserData);if(null!=h&&(e=h.data,null!=h.asmList))try{for(var m=__values(h.asmList),f=m.next();!f.done;f=m.next()){var d=f.value;p.append(d.toString()),p.append("*")}}catch(t){u={error:t}}finally{try{f&&!f.done&&(c=m.return)&&c.call(m)}finally{if(u)throw u.error}}var g=H.format("{0}_*_{1}_*_{2}_*_{3}_*_{4}_*_{5}",t.serviceName,n,p.toString(),i,o,a?"PageTotal"+r.currentPrintPage.toString():"False"),S=null,y=!1;null==r.cachedTotals&&(r.cachedTotals=new R);var A=r.cachedTotals.get(e);return null!=A&&A.containsKey(g)&&(S=A.get(g),y=!0),s.ref=S,l.ref=g,y},L}();e.Totals=L}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));; var __extends=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Collections.CollectionBase,n=e.Base.StiJson,o=function(e){function t(t){var r=e.call(this)||this;return r.barType=t,r}return __extends(t,e),t.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new n,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;i.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},t.prototype.loadFromJsonObject=function(e){var t,i,n=function(e){var t,i=e.value.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),n=StiOptions.Services.indicatorRanges.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==i}));if(null==n)throw r.format("Type {0} is not found!",i);var a=n.createNew();o.add(a),a.loadFromJsonObject(e.value)},o=this;try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l;n(s.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},t.prototype.clone=function(){var e,r,i=new t(this.barType);try{for(var n=__values(this.list),o=n.next();!o.done;o=n.next()){var a=o.value;i.add(a.clone())}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return i},Object.defineProperty(t.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.add=function(t){t.rangeListType==this.barType&&e.prototype.add.call(this,t)},t.prototype.insert=function(t,r){r.rangeListType==this.barType&&e.prototype.insert.call(this,t,r)},t.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},t.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(t>0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},t.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&t0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},t.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&t0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},t.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&ta.height?u=c=a.height/2:(u=a.width/2,c=a.height/2);var h=o.x-u,p=o.y-c,d=new s(h,p,a.width,a.height),m=0,f=this.getActualValue();if(null==f)return null;var g=r.getCurrentAngle(f);m=g>r.sweepAngle+r.startAngle?this.scale.isReversed?r.getCurrentAngle(r.minimum):r.getCurrentAngle(r.maximum):this.scale.isReversed?r.sweepAngle-g:g;var y=-r.getPosition(f)*r.sweepAngle,b;this.scale.isReversed&&(y=-y),this.animation=new i(y,0,o,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,n.zero),this.getActualSkin().draw(t,this,d,m,o)},y.prototype.interactiveClick=function(e,t){},y.prototype.getActualCenterPoint=function(){if(null!=this.scale&&null!=this.scale.gauge){if(this.autoCalculateCenterPoint){var e=this.scale.gauge.report.unit.convertRectangleToHInches(this.scale.gauge.clientRectangle),t=this.scale.gauge.clientRectangle,r=0;return 0!=t.width&&(r=t.height*this.relativeHeight/2),new c(r,.5)}return this.centerPoint}return new c},y.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:o.getNeedleIndicatorSkin(this.skin)},y}(y);r.StiNeedle=S}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r;!function(t){var r=e.Report.Gauge.StiMarkerSkin,i=e.Base.StiJson,n=e.Base.StiJsonReportObjectHelper,o=e.System.Enum,a=e.Base.Drawing.StiBrush,s=e.Base.Drawing.StiSolidBrush,l=e.System.Drawing.Color,u=e.System.Drawing.Font,c=e.Report.Gauge.Helpers.StiGaugeSkinHelper,h=function(t){function h(){var r=null!==t&&t.apply(this,arguments)||this;return r._offset=0,r._relativeWidth=.05,r._relativeHeight=.05,r._skin=e.Report.Gauge.StiMarkerSkin.Diamond,r._customSkin=null,r._format="{0:F0}",r._showValue=!1,r._textBrush=new s(l.dimGray),r._font=new u("Arial",7),r}return __extends(h,t),h.prototype.saveToJsonObject=function(t){var r=new i;return r.addPropertyNumber("Offset",this.offset,0),r.addPropertyNumber("RelativeWidth",this.relativeWidth,.05),r.addPropertyNumber("RelativeHeight",this.relativeHeight,.05),r.addPropertyEnum("Skin",e.Report.Gauge.StiMarkerSkin,this.skin),r.addPropertyString("Format",this.format),r.addPropertyBool("ShowValue",this.showValue,!1),r.addPropertyStringNullOrEmpty("TextBrush",n.Serialize.jBrush(this.textBrush)),r.addPropertyStringNullOrEmpty("Font",n.Serialize.font(this.font,"Arial",7)),r},h.prototype.loadFromJsonObject=function(r){var i,a;t.prototype.loadFromJsonObject.call(this,r);try{for(var s=__values(r.properties()),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.name){case"Offset":this.offset=u.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=u.value.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=u.value.stimulsoft.toNumber();break;case"Skin":this.skin=o.parse(e.Report.Gauge.StiMarkerSkin,u.value.toString());break;case"Format":this.format=u.value.toString();break;case"ShowValue":this.showValue=u.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=n.Deserialize.brush(u.value);break;case"Font":this.font=n.Deserialize.font(u.value.toString(),this.font);break}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}},h.prototype.loadFromXml=function(i){t.prototype.loadFromXml.call(this,i);for(var n=0;n0&&t>0)return t-e;return Math.abs(e)+t},e.maxMinusMin=function(e,t){return e>t?e-t:t-e},e.getMax=function(){for(var e=[],t=0;t0&&(r=e[0]);var i=1;while(ii&&(t=i);var a=o.length1(r,t),s=e==n.Horizontal?this.scale.barGeometry.rectGeometry.width:this.scale.barGeometry.rectGeometry.height;return a/this.scale.scaleHelper.totalLength*s},c}(e.Report.Components.Gauge.Primitives.StiMarkerBase);r.StiLinearMarker=h}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r=e.System.Drawing.Color,i=function(){function e(){}return e.colorMixed=function(e){if(null==e||0==e.length)return r.transparent;if(1==e.length)return e[0];var t=e[0],i=0;while(++i=0;r--){var i;if(t>=(i=this.rangeList.getByIndex(r)).value&&this.colorModeHelper.defaultIndex!=r)return this.colorModeHelper.defaultIndex=r,null!=i.brush?i.brush:new p(i.color)}break;case e.Report.Gauge.StiLinearRangeColorMode.MixedColor:for(var r=this.rangeList.count-1;r>=0;r--){var i;if(t>=(i=this.rangeList.getByIndex(r)).value){if(this.colorModeHelper.mixedColorIndex!=r){this.colorModeHelper.mixedColorIndex=r;for(var n=[],o=0;o<=r;o++)n.push(this.rangeList.getByIndex(o).color);return new p(h.colorMixed(n))}break}}break}return null},m.prototype.createNew=function(){return new m},m.prototype.interactiveClick=function(e,t){},m.prototype.drawElement=function(t){var r;if(null==this.scale)return;switch(this.skin){case e.Report.Gauge.StiLinearBarSkin.HorizontalThermometer:this.drawHorizontalThermometer(t);break;case e.Report.Gauge.StiLinearBarSkin.VerticalThermometer:this.drawVerticalThermometer(t);break}var o=d.empty,l={ref:o},u=this.scale.barGeometry.drawGeometry(t,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,l,!1),c;(o=l.ref,null!=u)&&((c=new v(o,u.points[0],this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth)).geoms.push(u),c.addGraphicsPathCloseFigureGaugeGeom(),t.addGraphicsPathGaugeGeom(c));var h=this.valueObj;if(this.scale.gauge.isDesigning){var p=s.parseTextValue((null===(r=this.value)||void 0===r?void 0:r.stimulsoft.startsWith("{"))&&this.value.stimulsoft.endsWith("}")?this.value:"{"+this.value+"}",this.scale.gauge);h=null!=p?p.stimulsoft.toNumber():0}var m=this.getGeometryHelperForTopIndicator(h),f,g={ref:f},y=this.getTopGeometry(m,g);if(f=g.ref,null!=y){var c;this.checkActualBrushForTopGeometry(),(c=new v(f,y.points[0],this.actualBackground,this.borderBrush,this.borderWidth)).geoms.push(y),c.addGraphicsPathCloseFigureGaugeGeom();var b=0,S=1,w=1,k=1,G=o.x,B=o.y+o.height/2,R=this.scale;null!=R&&R.orientation==i.Vertical&&(b=1,S=1,w=0,k=1,G=o.x+o.width/2,B=o.y+o.height),c.animation=new n(b,S,w,k,G,B,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,a.zero),t.addGraphicsPathGaugeGeom(c)}},m.prototype.drawHorizontalThermometer=function(e){var t=d.empty,r={ref:t};this.scale.barGeometry.drawGeometry(e,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),(t=r.ref).y-=2,t.height+=4,t.x-=3,t.width+=3;var i=new v(t,t.location,new l(c.fromArgb(225,230,233),c.fromArgb(242,243,244),90),new p(c.fromArgb(157,157,157)),.4);i.addGraphicsPathLineGaugeGeom(t.location,new y(t.right,t.top)),i.addGraphicsPathArcGaugeGeom(t.right,t.top,4,t.height,270,180),i.addGraphicsPathLineGaugeGeom(new y(t.right,t.bottom),new y(t.left,t.bottom)),i.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(i)},m.prototype.drawVerticalThermometer=function(e){var t=d.empty,r={ref:t};this.scale.barGeometry.drawGeometry(e,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),(t=r.ref).x-=2,t.width+=4,t.y-=3,t.height+=3;var i=new v(t,t.location,new l(c.fromArgb(225,230,233),c.fromArgb(242,243,244),90),new p(c.fromArgb(157,157,157)),.4);i.addGraphicsPathArcGaugeGeom(t.left,t.top-4,t.width,4,180,180),i.addGraphicsPathLineGaugeGeom(new y(t.right,t.top),new y(t.right,t.bottom)),i.addGraphicsPathLineGaugeGeom(new y(t.right,t.bottom),new y(t.left,t.bottom)),i.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(i)},m.prototype.getGeometryHelperForTopIndicator=function(e){var t=this.scale,r=new w,n=this.scale.barGeometry.size,o=this.scale.barGeometry.rectGeometry,a=u.maxMinusMin(this.scale.startWidth,this.scale.endWidth);a/=2,a=t.orientation==i.Horizontal?a*n.height:a*n.width;var s=t.orientation==i.Horizontal?new d(o.x,o.y+a,o.width,o.height-2*a):new d(o.x+a,o.y,o.width-2*a,o.height),l=this.scale.minimum>this.scale.maximum?this.scale.maximum:this.scale.minimum,c=Math.abs(this.scale.minimum)+Math.abs(this.scale.maximum),h=u.length1(l,e);h<0?h=0:h>c&&(h=c);var p=h/c,m=null,f=null,y=new d(0,0,0,0),v=this.scale.startWidth>this.scale.endWidth,S=this.startWidth>this.endWidth,k=t.orientation==i.Horizontal?o.width*p:o.height*p,G=0,B=0,R=0,O=0;this.startWidth>this.endWidth?(G=this.startWidth,B=this.endWidth):(B=this.startWidth,G=this.endWidth);var x=G-B;if(t.orientation==i.Horizontal){R=G*n.height,O=B*n.height;var C=void 0;if(this.scale.isReversed)if(v)switch(this.placement){case g.Outside:S?f=(y=new d(o.x+(s.width-k),s.y-a-R,k,a+R-a*(1-p))).height-(a+R-O)*p:R>a+O?(C=(R-a-O)*(1-p),y=new d(s.x+(s.width-k),s.y-R+C,k,R-a*(1-p)-C),r.offset=a*p):(C=a*(1-p),m=(y=new d(s.x+(s.width-k),s.y-a-O,k,a+O-C)).height-(a+O-R)*p,r.state=!0);break;case g.Overlay:S?f=(y=new d(s.x+(s.width-k),b.centerY(s)-R/2,k,R)).height-(R-O)*p:(C=(R-O)/2*(1-p),y=new d(s.x+(s.width-k),b.centerY(s)-R/2+C,k,R-2*C));break;default:if(S)C=a*(1-p),f=(y=new d(s.x+(s.width-k),s.bottom+C,k,a+R-C)).height-(a+R-O)*p;else if(R>a+O){C=a*(1-p);var P=(R-a-O)*(1-p);y=new d(s.x+(s.width-k),s.bottom+C,k,R-C-P),r.offset=R-a-O-P}else C=a*(1-p),m=(y=new d(s.x+(s.width-k),s.bottom+C,k,a+O-C)).height-(a+O-R)*p,r.state=!0;break}else switch(this.placement){case g.Outside:S?R>a+O?(y=new d(s.x+(s.width-k),s.y-R,k,R),r.offset=(R-a-O)*p,f=y.height-r.offset-a*p):(C=(a+O-R)*(1-p),f=(y=new d(o.x+(o.width-k),o.y-O+C,k,a+O-C)).height-a*p,r.state=!0):(C=(a+R-O)*(1-p),m=(y=new d(o.x+(o.width-k),o.y-R+C,k,R+a-C)).height-a*p);break;case g.Overlay:S?f=(y=new d(s.x+(o.width-k),b.centerY(s)-R/2,k,R)).height-2*((R-O)/2*p):(C=(R-O)/2*(1-p),y=new d(s.x+(o.width-k),b.centerY(s)-R/2+C,k,R-2*C));break;default:S?R>a+O?(y=new d(s.x+(o.width-k),s.bottom,k,R),r.offset=a*p,f=y.height-(R-a-O)*p-r.offset):(C=(a+O-R)*p,f=(y=new d(s.x+(o.width-k),s.bottom,k,R+C)).height-a*p,r.state=!0):(C=(a+R-O)*(1-p),m=(y=new d(s.x+(o.width-k),s.bottom,k,a+R-C)).height-a*p);break}else if(v)switch(this.placement){case g.Outside:S?f=(y=new d(o.x,o.y-R,k,R+a*p)).height-(a+R-O)*p:m=(y=new d(o.x,o.y-O,k,a+O-a*(1-p))).height-(a+O-R)*p;break;case g.Overlay:S?(y=new d(s.x,b.centerY(s)-R/2,k,R),f=O+(R-O)/2*p):(C=(R-O)/2*(1-p),y=new d(s.x,b.centerY(s)-R/2+C,k,R-2*C));break;default:S?(C=a*p,f=(y=new d(o.x,o.bottom-C,k,C+R)).height-(a+R-O)*p):R>a+O?(C=a*(1-p),r.offset=a-C,y=new d(s.x,s.bottom+C,k,R-C-(R-a-O)*(1-p))):(C=a*p,m=(y=new d(o.x,o.bottom-C,k,C+O)).height-(a+O-R)*p,r.state=!0);break}else{var _=(a+R-O)*p+O;switch(this.placement){case g.Outside:S?R>a+O?(y=new d(s.x,s.y-R,k,R),r.offset=(y.height-a-O)*p,f=y.height-r.offset-a*p):(C=(a+O-R)*p,f=(y=new d(s.x,s.y-R-C,k,R+C)).height-a*p,r.state=!0):m=(y=new d(s.x,s.y-_,k,_)).height-a*p;break;case g.Overlay:C=(R-O)/2*(1-p),S?(y=new d(o.x,b.centerY(s)-R/2,k,R),f=O+(R-O)/2*(1-p)):y=new d(o.x,b.centerY(s)-R/2+C,k,R-2*C);break;default:S?R>a+O?(y=new d(s.x,s.bottom,k,R),r.offset=a*p,f=y.height-(R-a-O)*p-r.offset):(C=(a+O-R)*p,f=(y=new d(s.x,s.bottom,k,R+C)).height-a*p,r.state=!0):(y=new d(s.x,s.bottom,k,_),m=O+(R-O)*p);break}}}else{R=G*n.width,O=B*n.width;var j=void 0;if(this.scale.isReversed)if(v)switch(this.placement){case g.Outside:if(j=a*(1-p),S)f=(y=new d(s.x-a-R,s.y,a+R-j,k)).width-(a+R-O)*p;else if(R>a+O){var W=(R-O-a)*(1-p);y=new d(s.x-R+W,s.y,R-j-W,k),r.offset=a*p}else m=(y=new d(o.x-O,o.y,a+O-j,k)).width-(a+O-R)*p,r.state=!0;break;case g.Overlay:S?(y=new d(b.centerX(s)-R/2,s.y,R,k),r.offset=(R-O)/2*p):(j=(R-O)/2*(1-p),y=new d(b.centerX(s)-R/2+j,s.y,R-2*j,k));break;default:if(j=a*(1-p),S)f=(y=new d(s.right+j,s.y,a+R-j,k)).width-(a+R-O)*p;else if(R>a+O){var W=(R-a-O)*(1-p);y=new d(s.right+j,s.y,R-j-W,k),m=(R-a-O)*p,r.offset=a*p}else m=(y=new d(s.right+j,s.y,a+O-j,k)).width-(a+O-R)*p,r.state=!0;break}else switch(this.placement){case g.Outside:S?R>a+O?(y=new d(s.x-R,s.y,R,k),r.offset=a*p,f=y.width-r.offset-(R-l-a)*(1-p)):(j=(a+O-R)*(1-p),f=(y=new d(s.x-a-O+j,s.y,a+O-j,k)).width-a*p,r.state=!0):(j=(a+R-O)*(1-p),m=(y=new d(s.x-a-R+j,s.y,a+R-j,k)).width-a*p);break;case g.Overlay:S?(y=new d(b.centerX(s)-R/2,s.y,R,k),r.offset=(R-O)/2*p):(j=(R-O)/2*(1-p),y=new d(b.centerX(s)-R/2+j,s.y,R-2*j,k));break;default:S?R>a+O?(y=new d(s.right,s.y,R,k),r.offset=a*p,f=y.width-r.offset-(R-O-a)*p):(j=(a+O-R)*p,f=(y=new d(s.right,s.y,a+O-j,k)).width-a*p,r.state=!0):(j=(a+R-O)*(1-p),m=(y=new d(s.right,o.y,a+R-j,k)).width-a*p);break}else if(v)switch(this.placement){case g.Outside:if(S)j=a*(1-p),f=(y=new d(s.x-a-R,s.y+(o.height-k),a+R-j,k)).width-(a+R-O)*p;else if(j=a*(1-p),R>a+O){var W=(R-a-O)*(1-p);y=new d(s.x-R+W,s.y+(o.height-k),R-j-W,k),r.offset=a*p}else m=(y=new d(s.x-a-O,s.y+(o.height-k),a+O-j,k)).width-(a+O-R)*p,r.state=!0;break;case g.Overlay:S?(y=new d(b.centerX(s)-R/2,s.y+(o.height-k),R,k),r.offset=(R-O)/2*p):(j=(R-O)/2*(1-p),y=new d(b.centerX(s)-R/2+j,s.y+(o.height-k),R-2*j,k));break;default:if(j=a*(1-p),S)f=(y=new d(s.right+j,s.y+(o.height-k),R+a-j,k)).width-(a+R-O)*p;else if(R>=a+O){var W=(R-a-O)*(1-p);y=new d(s.right+j,s.y+(o.height-k),R-j-W,k),r.offset=(R-a-O)*p}else m=(y=new d(s.right+j,s.y+(o.height-k),a+O-j,k)).width-(a+O-R)*p,r.state=!0;break}else switch(this.placement){case g.Outside:S?R>a+O?(y=new d(s.x-R,s.y+(o.height-k),R,k),r.offset=a*p,j=(R-O-a)*p,f=y.width-r.offset-j):(j=(a+O-R)*(1-p),f=(y=new d(o.x-O+j,o.y+(o.height-k),a+O-j,k)).width-a*p,r.state=!0):(j=(a+R-O)*(1-p),m=(y=new d(o.x-R+j,o.y+(o.height-k),R+a-j,k)).width-a*p);break;case g.Overlay:S?(y=new d(b.centerX(s)-R/2,o.y+(o.height-k),R,k),r.offset=(R-O)*p/2):(j=(R-O)/2*(1-p),y=new d(b.centerX(s)-R/2+j,o.y+(o.height-k),R-2*j,k));break;default:S?R>a+O?(y=new d(s.right,o.y+(o.height-k),R,k),r.offset=a*p,f=y.width-r.offset-(R-a-O)*p):(j=(a+O-R)*p,f=(y=new d(s.right,o.y+(o.height-k),a+O-j,k)).width-a*p,r.state=!0):(j=(a+R-O)*(1-p),m=(y=new d(s.right,o.y+(o.height-k),a+R-j,k)).width-a*p);break}}return r.rect=y,r.isStartGreaterEnd=v,r.isThisStartGreaterEnd=S,r.scale=t,r.maxWidth=null==m?R:m,r.minWidth=null==f?O:f,r},m.prototype.getTopGeometry=function(e,t){var r=new d(0,0,e.rect.width,e.rect.height),n=[];if(e.scale.orientation==i.Horizontal)if(e.scale.isReversed)if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:n[0]=new y(0,r.height-e.minWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.maxWidth),n[3]=new y(0,r.height);break;case g.Overlay:n[0]=new y(0,(r.height-e.minWidth)/2),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height-(r.height-e.minWidth)/2);break;default:n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.maxWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.minWidth);break}else switch(this.placement){case g.Outside:e.state?(n[0]=new y(0,r.height-e.maxWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.minWidth),n[3]=new y(0,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.offset-e.minWidth),n[2]=new y(r.width,r.height-e.offset),n[3]=new y(0,r.height));break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,b.centerY(r)-e.minWidth/2),n[2]=new y(r.width,b.centerY(r)+e.minWidth/2),n[3]=new y(0,r.height);break;default:e.state?(n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.minWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.maxWidth)):(n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.offset-e.minWidth),n[2]=new y(r.width,r.height-e.offset),n[3]=new y(0,r.height));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:e.state?(n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.maxWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.minWidth)):(n[0]=new y(0,e.offset),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,e.minWidth+e.offset));break;case g.Overlay:n[0]=new y(0,b.centerY(r)-e.minWidth/2),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,b.centerY(r)+e.minWidth/2);break;default:e.state?(n[0]=new y(0,r.height-e.minWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.maxWidth),n[3]=new y(0,r.height)):(n[0]=new y(0,e.offset),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,e.offset+e.minWidth));break}else switch(this.placement){case g.Outside:n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.minWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.maxWidth);break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,b.centerY(r)-e.minWidth/2),n[2]=new y(r.width,b.centerY(r)+e.minWidth/2),n[3]=new y(0,r.height);break;default:n[0]=new y(0,r.height-e.maxWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.minWidth),n[3]=new y(0,r.height);break}else if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.minWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.maxWidth);break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,b.centerY(r)-e.minWidth/2),n[2]=new y(r.width,b.centerY(r)+e.minWidth/2),n[3]=new y(0,r.height);break;default:n[0]=new y(0,r.height-e.maxWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.minWidth),n[3]=new y(0,r.height);break}else switch(this.placement){case g.Outside:n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.maxWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.minWidth);break;case g.Overlay:n[0]=new y(0,b.centerY(r)-e.minWidth/2),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,b.centerY(r)+e.minWidth/2);break;default:e.state?(n[0]=new y(0,r.height-e.minWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.maxWidth),n[3]=new y(0,r.height)):(n[0]=new y(0,e.offset),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,e.offset+e.minWidth));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:e.state?(n[0]=new y(0,r.height-e.maxWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.minWidth),n[3]=new y(0,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,e.offset),n[2]=new y(r.width,e.offset+e.minWidth),n[3]=new y(0,r.height));break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,b.centerY(r)-e.minWidth/2),n[2]=new y(r.width,b.centerY(r)+e.minWidth/2),n[3]=new y(0,r.height);break;default:e.state?(n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.minWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.maxWidth)):(n[0]=new y(0,0),n[1]=new y(r.width,e.offset),n[2]=new y(r.width,e.offset+e.minWidth),n[3]=new y(0,r.height));break}else switch(this.placement){case g.Outside:n[0]=new y(0,r.height-e.minWidth),n[1]=new y(r.width,0),n[2]=new y(r.width,e.maxWidth),n[3]=new y(0,r.height);break;case g.Overlay:n[0]=new y(0,b.centerY(r)-e.minWidth/2),n[1]=new y(r.width,0),n[2]=new y(r.width,r.height),n[3]=new y(0,b.centerY(r)+e.minWidth/2);break;default:n[0]=new y(0,0),n[1]=new y(r.width,r.height-e.maxWidth),n[2]=new y(r.width,r.height),n[3]=new y(0,e.minWidth);break}else if(e.scale.isReversed)if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:n[0]=new y(0,0),n[1]=new y(e.maxWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.minWidth,r.height);break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-e.offset,r.height),n[3]=new y(e.offset,r.height);break;default:n[0]=new y(r.width-e.maxWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.minWidth,r.height),n[3]=new y(0,r.height);break}else switch(this.placement){case g.Outside:e.state?(n[0]=new y(0,0),n[1]=new y(e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.maxWidth,r.height)):(n[0]=new y(r.width-e.offset-e.minWidth,0),n[1]=new y(r.width-e.offset,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height));break;case g.Overlay:n[0]=new y((r.width-e.minWidth)/2,0),n[1]=new y(r.width-(r.width-e.minWidth)/2,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height);break;default:e.state?(n[0]=new y(r.width-e.minWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.maxWidth,r.height),n[3]=new y(0,r.height)):(n[0]=new y(e.offset,0),n[1]=new y(e.offset+e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:e.state?(n[0]=new y(r.width-e.maxWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.minWidth,r.height),n[3]=new y(0,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-e.offset,r.height),n[3]=new y(r.width-e.offset-e.minWidth,r.height));break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-e.offset,r.height),n[3]=new y(e.offset,r.height);break;default:e.state?(n[0]=new y(0,0),n[1]=new y(e.maxWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.minWidth,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(e.offset+e.minWidth,r.height),n[3]=new y(e.offset,r.height));break}else switch(this.placement){case g.Outside:n[0]=new y(r.width-e.minWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.maxWidth,r.height),n[3]=new y(0,r.height);break;case g.Overlay:n[0]=new y((r.width-e.minWidth)/2,0),n[1]=new y(r.width-(r.width-e.minWidth)/2,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height);break;default:n[0]=new y(0,0),n[1]=new y(e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.maxWidth,r.height);break}else if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:n[0]=new y(r.width-e.minWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.maxWidth,r.height),n[3]=new y(0,r.height);break;case g.Overlay:n[0]=new y(e.offset,0),n[1]=new y(r.width-e.offset,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height);break;default:n[0]=new y(0,0),n[1]=new y(e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.maxWidth,r.height);break}else switch(this.placement){case g.Outside:e.state?(n[0]=new y(r.width-e.maxWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.minWidth,r.height),n[3]=new y(0,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-e.offset,r.height),n[3]=new y(r.width-e.offset-e.minWidth,r.height));break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-(r.width-e.minWidth)/2,r.height),n[3]=new y((r.width-e.minWidth)/2,r.height);break;default:e.state?(n[0]=new y(0,0),n[1]=new y(e.maxWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.minWidth,r.height)):(n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(r.width-e.offset,r.height),n[3]=new y(r.width-e.offset-e.minWidth,r.height));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case g.Outside:e.state?(n[0]=new y(0,0),n[1]=new y(e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.maxWidth,r.height)):(n[0]=new y(r.width-e.offset-e.minWidth,0),n[1]=new y(r.width-e.offset,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height));break;case g.Overlay:n[0]=new y(e.offset,0),n[1]=new y(r.width-e.offset,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height);break;default:e.state?(n[0]=new y(r.width-e.minWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.maxWidth,r.height),n[3]=new y(0,r.height)):(n[0]=new y(e.offset,0),n[1]=new y(e.offset+e.minWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(0,r.height));break}else switch(this.placement){case g.Outside:n[0]=new y(0,0),n[1]=new y(e.maxWidth,0),n[2]=new y(r.width,r.height),n[3]=new y(r.width-e.minWidth,r.height);break;case g.Overlay:n[0]=new y(0,0),n[1]=new y(r.width,0),n[2]=new y(b.centerX(r)+e.minWidth/2,r.height),n[3]=new y(b.centerX(r)-e.minWidth/2,r.height);break;default:n[0]=new y(r.width-e.maxWidth,0),n[1]=new y(r.width,0),n[2]=new y(e.minWidth,r.height),n[3]=new y(0,r.height);break}var a=e.rect.left,s=e.rect.top,l=this.scale.barGeometry.size.width*this.offset;return e.scale.orientation==i.Horizontal?this.placement==g.Outside?s-=l:s+=l:this.placement==g.Outside?a-=l:a+=l,n[0].x+=a,n[1].x+=a,n[2].x+=a,n[3].x+=a,n[0].y+=s,n[1].y+=s,n[2].y+=s,n[3].y+=s,t.ref=r,new o(n)},m}(m);r.StiLinearBar=k}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.toString=function(){return"GetSkipValues"},t}(e.Report.Events.StiEvent);t.StiGetSkipValuesEvent=i}(r=t.Events||(t.Events={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.toString=function(){return"GetText"},t}(e.Report.Events.StiEvent);t.StiGetSkipIndicesEvent=i}(r=t.Events||(t.Events={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i;!function(r){var i=e.Report.Gauge.StiPlacement,n=e.System.StiString,o=e.Report.Gauge.Events.StiGetSkipValuesEvent,a=e.Report.Gauge.Events.StiGetSkipIndicesEvent,s=e.Report.Events.StiGetValueEventArgs,l=e.System.Collections.Hashtable,u=e.System.Enum,c=e.Report.Expressions.StiExpression,h=function(r){function h(){var t=null!==r&&r.apply(this,arguments)||this;return t._getSkipValuesEvent=new o,t._getSkipIndicesEvent=new a,t._skipValues="",t._skipIndices="",t._placement=e.Report.Gauge.StiPlacement.Outside,t._skipValuesObj=null,t._skipIndicesObj=null,t._offset=0,t._minimumValue=null,t._maximumValue=null,t}return __extends(h,r),h.prototype.saveToJsonObject=function(t){var i=r.prototype.saveToJsonObject.call(this,t);return i.addPropertyJObject("GetSkipValuesEvent",this.getSkipValuesEvent.saveToJsonObject(t)),i.addPropertyJObject("GetSkipIndicesEvent",this.getSkipIndicesEvent.saveToJsonObject(t)),i.addPropertyJObject("SkipValues",new c(this.skipValues).saveToJsonObject(t)),i.addPropertyJObject("SkipIndices",new c(this.skipIndices).saveToJsonObject(t)),i.addPropertyEnum("Placement",e.Report.Gauge.StiPlacement,this.placement),i.addPropertyNumber("Offset",this.offset,0),i.addPropertyNumber("MinimumValue",this.minimumValue,null),i.addPropertyNumber("MaximumValue",this.maximumValue,null),i},h.prototype.loadFromJsonObject=function(t){var i,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var h=l.value;switch(h.name){case"GetSkipValuesEvent":var p=new o;p.loadFromJsonObject(h.value),this.getSkipValuesEvent=p;break;case"GetSkipIndicesEvent":var d=new a;d.loadFromJsonObject(h.value),this.getSkipIndicesEvent=d;break;case"SkipValues":var m=new c;m.loadFromJsonObject(h.value),this.skipValues=m.value;break;case"SkipIndices":var f=new c;f.loadFromJsonObject(h.value),this.skipIndices=f.value;break;case"Placement":this.placement=u.parse(e.Report.Gauge.StiPlacement,h.value.toString());break;case"Offset":this.offset=h.value.stimulsoft.toNumber();break;case"MinimumValue":this.minimumValue=h.value.stimulsoft.toNumber();break;case"MaximumValue":this.maximumValue=h.value.stimulsoft.toNumber();break}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}},h.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e);for(var t=0;t1){var m={ref:s};e.prepare(d,m),s=m.ref}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}return s},e.prepare=function(e,t){var r,i,o=t.ref,a=o.keys.stimulsoft.toArray();try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c;if(o.get(u)!=e.valueStr)continue;o.set(u,n.format(u))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},e}();t.StiTickLabelHelper=a}(r=t.Helpers||(t.Helpers={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r;!function(t){var r=e.Report.Gauge.StiLabelRotationMode,i=e.System.StiString,n=e.Report.Gauge.StiRadialPosition,o=e.Report.Gauge.StiPlacement,a=e.Report.Components.Gauge.Primitives.StiTickLabelBase,s=e.System.Enum,l=e.Report.Gauge.StiGaugeElemenType,u=e.Report.Painters.StiGaugeContextPainter,c=e.System.Drawing.Rectangle,h=e.System.Drawing.Point,p=e.Report.Gauge.Helpers.StiTickLabelHelper,d=function(t){function a(){var r=null!==t&&t.apply(this,arguments)||this;return r._labelRotationMode=e.Report.Gauge.StiLabelRotationMode.None,r._offsetAngle=0,r}return __extends(a,t),a.prototype.saveToJsonObject=function(r){var i=t.prototype.saveToJsonObject.call(this,r);return i.addPropertyNumber("OffsetAngle",this.offsetAngle,0),i.addPropertyEnum("LabelRotationMode",e.Report.Gauge.StiLabelRotationMode,this.labelRotationMode),i},a.prototype.loadFromJsonObject=function(r){var i,n;t.prototype.loadFromJsonObject.call(this,r);try{for(var o=__values(r.properties()),a=o.next();!a.done;a=o.next()){var l=a.value;switch(l.name){case"OffsetAngle":this.offsetAngle=l.value.stimulsoft.toNumber();break;case"LabelRotationMode":this.labelRotationMode=s.parse(e.Report.Gauge.StiLabelRotationMode,l.value.toString());break}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},a.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var i=0;if)continue;if(this.checkTickValue(R,O,_,x))continue;if(null!=this.minimumValue&&_this.maximumValue)continue;var j=i.isNullOrEmpty(d)&&this.scale.gauge.shortValue?l.get(_):this.getTextForRender(_,d),W=u.changeFontSize(this.font,e.zoom),M=e.measureString(j,W),T=this.scale.isReversed?S+v-s.get(_)*v+this.offsetAngle:S+s.get(_)*v-this.offsetAngle,F=new h,N=0;if(this.placement==o.Outside){var E={ref:F};N=this.getMatrixRotation(e,g,M,this.labelRotationMode,B,T,E),F=E.ref}else{var H=void 0;H=this.placement==o.Overlay?this.scale.isUp?B-(k+G*s.get(_))/2-M.width/2:B-(w-G*s.get(_))/2-M.width/2:this.scale.isUp?B-k-G*s.get(_)-M.width:B-w+G*s.get(_)-M.width;var E={ref:F};N=this.getMatrixRotation(e,g,M,this.labelRotationMode,H,T,E),F=E.ref}e.addTextGaugeGeom(j,W,this.textBrush,new c(F.x,F.y,M.width,M.height),null);var A=-1;while(++A360)e-=360;return 0==e||360==e?n.TopCenter:e>0&&e<90?n.TopRight:90==e?n.RightCenter:e>90&&e<180?n.BottomRight:180==e?n.BottomCenter:e>180&&e<270?n.BottonLeft:270==e?n.LeftCenter:n.TopLeft},a}(a);t.StiRadialTickLabelBase=d}(r=t.Primitives||(t.Primitives={}))}(r=t.Gauge||(t.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.Report.Gauge.StiGaugeElemenType,n,o=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipMajorValues=!0,t}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),r},r.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"SkipMajorValues":this.skipMajorValues=a.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;ry)continue;if(this.checkTickValue(G,B,_.value,x))continue;if(null!=this.minimumValue&&_.valuethis.maximumValue)continue;var j=this.scale.getPosition(_.value),W=i.isNullOrEmpty(_.text)?"":this.getTextForRender2(_.text,w),M=this.getPlacement(_.placement)==a.Outside?p*(1+this.getOffset(_.offset)):p*(1-this.getOffset(_.offset)),T=this.getTextForRender2(W,w),F=e.measureString(T,O),N=this.scale.isReversed?m+d-j*d+this.getOffsetAngle(_.offsetAngle):m+j*d-this.getOffsetAngle(_.offsetAngle),E=0,H=new s;if(this.getPlacement(_.placement)==a.Outside){var A={ref:H};E=this.getMatrixRotation(e,h,F,this.getLabelRotationMode(_.labelRotationMode),M,N,A),H=A.ref}else if(this.getPlacement(_.placement)==a.Overlay){var V=void 0;V=this.scale.isUp?M-(v+S*j)/2-F.width/2:M-(b-S*j)/2-F.width/2;var A={ref:H};E=this.getMatrixRotation(e,h,F,this.getLabelRotationMode(_.labelRotationMode),V,N,A),H=A.ref}else{var V=0;V=this.scale.isUp?M-v-S*j-F.width:M-b+S*j-F.width;var A={ref:H};E=this.getMatrixRotation(e,h,F,this.getLabelRotationMode(_.labelRotationMode),V,N,A),H=A.ref}e.addTextGaugeGeom(T,O,this.textBrush,new l(H.x,H.y,F.width,F.height),null);for(var L=0;Lf)continue;if(this.checkTickValue(h,p,R,k))continue;if(null!=this.minimumValue&&Rthis.maximumValue)continue;var O=c.get(R)*y,x=void 0,C=void 0;if(s.orientation==o.Horizontal)if(C=s.isReversed?u.right-O-S:u.left+O-S/2,this.placement==n.Overlay)x=i.centerY(u)-w/2-b;else{var P=g?(1-c.get(R))*v:v*c.get(R);x=this.placement==n.Outside?u.top-w-b+P:u.bottom+b-P}else if(x=s.isReversed?u.top+O-w/2:u.bottom-O-w/2,this.placement==n.Overlay)C=i.centerX(u)-S/2-b;else{var P=g?(1-c.get(R))*v:v*c.get(R);C=this.placement==n.Outside?u.left-S-3-b+P:u.right+b+3-P}d.draw(e,this,new r(Math.round(C),Math.round(x),Math.trunc(S),Math.trunc(w)))}}catch(e){t={error:e}}finally{try{B&&!B.done&&(a=G.return)&&a.call(G)}finally{if(t)throw t.error}}},t}(t.StiTickMarkBase);t.StiLinearTickMarkBase=a}(r=t.Primitives||(t.Primitives={}))}(r=t.Gauge||(t.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i,n=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipMajorValues=!0,t}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),r},r.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"SkipMajorValues":this.skipMajorValues=a.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;rf)continue;if(this.checkTickValue(y,b,G.value,S))continue;if(null!=this.minimumValue&&G.valuethis.maximumValue)continue;var B=void 0,R=void 0,O=void 0,x=this.scale.getPosition(G.value),C=u.width*this.getRelativeWidth(G.relativeWidth),P=u.height*this.getRelativeHeight(G.relativeHeight),_;if(l.orientation==n.Horizontal)if(B=l.isReversed?c.width-c.width*x:c.width*x,this.getPlacement(G.placement)==a.Overlay)R=c.left+B-C/2,O=o.centerY(c)-P/2-p;else{var j=l.startWidthS)continue;if(this.checkTickValue(y,b,P,R))continue;if(null!=this.minimumValue&&Pthis.maximumValue)continue;var _=i.isNullOrEmpty(g)&&this.scale.gauge.shortValue?f.get(P):this.getTextForRender(P,g),j=l.changeFontSize(this.font,e.zoom),W=e.measureString(_,j),M=m.get(P)*k,T=void 0,F=void 0;if(h.orientation==n.Horizontal)if(F=h.isReversed?d.right-M-W.width/2:d.left+M-W.width/2,this.placement==o.Overlay)T=a.centerY(d)-W.height/2-G;else{var N=w?(1-m.get(P))*B:B*m.get(P);T=this.placement==o.Outside?d.top-W.height-G+N:d.bottom+G-N}else if(T=h.isReversed?d.top+M-W.height/2:d.bottom-M-W.height/2,this.placement==o.Overlay)F=a.centerX(d)-W.width/2-G;else{var N=w?(1-m.get(P))*B:B*m.get(P);F=this.placement==o.Outside?d.left-W.width-3-G+N:d.right+G+3-N}var E=new u(F,T,W.width,W.height);null!=O&&O.intersectsWith(E)||(e.addTextGaugeGeom(_,j,this.textBrush,E,null),O=E)}}catch(e){r={error:e}}finally{try{C&&!C.done&&(s=x.return)&&s.call(x)}finally{if(r)throw r.error}}},r}(s);r.StiLinearTickLabelBase=h}(r=t.Primitives||(t.Primitives={}))}(r=t.Gauge||(t.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i,n=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipMajorValues=!0,t}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),r},r.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"SkipMajorValues":this.skipMajorValues=a.value.ToBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;rf)continue;if(this.checkTickValue(l,u,O,G))continue;if(null!=this.minimumValue&&Othis.maximumValue)continue;var x=this.scale.isReversed?d+p-s.get(O)*p+this.offsetAngle:d+s.get(O)*p+this.offsetAngle,C=0;C=this.placement==r.Outside?y:this.placement==r.Overlay?this.scale.isUp?y-(b+S*s.get(O)+w)/2:y-(v-S*s.get(O)+w)/2:this.scale.isUp?y-b-S*s.get(O)-w:y-v+S*s.get(O)-w;var P=new n(h.x+C,h.y,w,k);e.addPushMatrixGaugeGeom(x,h),c.draw(e,this,P),e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{R&&!R.done&&(i=B.return)&&i.call(B)}finally{if(t)throw t.error}}},t}(e.Report.Components.Gauge.Primitives.StiTickMarkBase);t.StiRadialTickMarkBase=a}(r=t.Primitives||(t.Primitives={}))}(r=t.Gauge||(t.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.System.StiString,n=e.Report.Engine.StiParser.StiParser,o=e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase,a=e.Report.Events.StiGetValueEvent,s=e.Report.Expressions.StiExpression,l=e.Report.Gauge.Collections.StiCustomValuesCollection,u=e.Report.Events.StiGetValueEventArgs,c=e.Report.Gauge.StiGaugeElemenType,h=e.System.Drawing.Rectangle,p=e.Report.Gauge.StiPlacement,d=function(o){function d(){var e=null!==o&&o.apply(this,arguments)||this;return e._valueObj=0,e._values=new l,e._getValueEvent=new a,e._value="",e}return __extends(d,o),d.prototype.saveToJsonObject=function(e){var t=o.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new s(this.value).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},d.prototype.loadFromJsonObject=function(e){var t,r;o.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var l=n.value;switch(l.name){case"GetSkipValuesEvent":var u=new a;u.loadFromJsonObject(l.value),this.getValueEvent=u;break;case"GetSkipIndicesEvent":var c=new s;c.loadFromJsonObject(l.value),this.value=c.value;break;case"Values":this.values.loadFromJsonObject(l.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},d.prototype.loadFromXml=function(e){o.prototype.loadFromXml.call(this,e);for(var t=0;tf)continue;if(this.checkTickValue(S,w,O.value,G))continue;if(null!=this.minimumValue&&O.valuethis.maximumValue)continue;var x=this.scale.getPosition(O.value),C=c*this.getRelativeWidth(O.relativeWidth),P=c*this.getRelativeHeight(O.relativeHeight),_=this.getPlacement(O.placement)==p.Outside?d*(1+this.getOffset(O.offset)):d*(1-this.getOffset(O.offset)),j=this.scale.isReversed?u+s-x*s-this.getOffsetAngle(O.offsetAngle):u+x*s+this.getOffsetAngle(O.offsetAngle),W=void 0;W=this.getPlacement(O.placement)==p.Outside?_:this.getPlacement(O.placement)==p.Overlay?this.scale.isUp?_-(g+b*x+C)/2:_-(y-b*x+C)/2:this.scale.isUp?_-g-b*x-C:_-y+b*x-C;var M=null,T=null,F=0;O.useBrush&&(M=this.brush,this.brush=O.brush),O.useBorderBrush&&(T=this.borderBrush,this.borderBrush=O.borderBrush),O.useBorderWidth&&(F=this.borderWidth,this.borderWidth=null==O.borderWidth?0:O.borderWidth);var N=new h(a.x+W,a.y,C,P),E;e.addPushMatrixGaugeGeom(j,a),(null==O.skin?v:O.skin).draw(e,this,N),e.addPopTranformGaugeGeom(),O.useBrush&&(this.brush=M),O.useBorderBrush&&(this.borderBrush=M),O.useBorderWidth&&(this.borderWidth=F)}}catch(e){t={error:e}}finally{try{R&&!R.done&&(i=B.return)&&i.call(B)}finally{if(t)throw t.error}}},d.prototype.getOffsetAngle=function(e){return null==e?this.scale.isReversed?-this.offsetAngle:this.offsetAngle:e},d}(o);r.StiRadialTickMarkCustom=d}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r;!function(t){var r=e.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom,i=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Orientation,o=e.Report.Gauge.Helpers.StiRectangleHelper,a=e.Report.Gauge.Helpers.StiMathHelper,s=e.Report.Gauge.StiPlacement,l=e.System.Drawing.Size,u=e.System.Drawing.Rectangle,c=e.System.Drawing.Point,h=function(){function e(e){this._size=new l(0,0),this._rectGeometry=u.empty,this._center=new c(0,0),this.scale=e}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rectGeometry",{get:function(){return this._rectGeometry},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diameter",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"center",{get:function(){return this._center},enumerable:!1,configurable:!0}),e.prototype.checkRectGeometry=function(e){var t,r;this._size=e.size;var i={ref:t},n={ref:r};this.checkMinMaxWidth(i,n),t=i.ref,r=n.ref,this._rectGeometry=this.getRectGeometry(e,t>r?t:r),this._center=new c(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)},e.prototype.getRectGeometry=function(e,t){var r,i;return this.scale.orientation==n.Horizontal?(r=this.size.width*this.scale.relativeHeight,i=this.size.height*t):(i=this.size.height*this.scale.relativeHeight,r=this.size.width*t),new u(e.x+(this.size.width-r)/2,e.y+(this.size.height-i)/2,r,i)},e.prototype.getRestToLenght=function(){var e=Math.abs(this.scale.startWidth-this.scale.endWidth);return this.scale.orientation==n.Horizontal?this.size.height*e/2:this.size.width*e/2},e.prototype.checkMinMaxWidth=function(e,t){var r=e.ref,i=t.ref;this.scale.isReversed?(r=this.scale.endWidth,i=this.scale.startWidth):(r=this.scale.startWidth,i=this.scale.endWidth),e.ref=r,t.ref=i},e.prototype.drawScaleGeometry=function(e){var t,r,o={ref:t},a={ref:r};this.checkMinMaxWidth(o,a),t=o.ref,r=a.ref;var s=[];if(this.scale.orientation==n.Horizontal){var l=this.size.height;l*=tr?(s[0]=new c(this.rectGeometry.left,this.rectGeometry.top),s[1]=new c(this.rectGeometry.right,this.rectGeometry.top+l),s[2]=new c(this.rectGeometry.right,this.rectGeometry.bottom-l),s[3]=new c(this.rectGeometry.left,this.rectGeometry.bottom)):(s[0]=new c(this.rectGeometry.left,this.rectGeometry.top+l),s[1]=new c(this.rectGeometry.left,this.rectGeometry.bottom-l),s[2]=new c(this.rectGeometry.right,this.rectGeometry.bottom),s[3]=new c(this.rectGeometry.right,this.rectGeometry.top))}else{var u=this.size.width;u*=tr?(s[0]=new c(this.rectGeometry.left+u,this.rectGeometry.top),s[1]=new c(this.rectGeometry.left,this.rectGeometry.bottom),s[2]=new c(this.rectGeometry.right,this.rectGeometry.bottom),s[3]=new c(this.rectGeometry.right-u,this.rectGeometry.top)):(s[0]=new c(this.rectGeometry.left,this.rectGeometry.top),s[1]=new c(this.rectGeometry.left+u,this.rectGeometry.bottom),s[2]=new c(this.rectGeometry.right-u,this.rectGeometry.bottom),s[3]=new c(this.rectGeometry.right,this.rectGeometry.top))}var h=new i(this.rectGeometry,s[0],this.scale.brush,this.scale.borderBrush,1);h.addGraphicsPathLinesGaugeGeom(s),h.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(h)},e.prototype.drawGeometry=function(e,t,r,i,l,u,c,h,p){var d=h.ref,m;if(0==(d=this.rectGeometry.clone().clone()).width||0==d.height)return h.ref=d,null;var f=t,g=r;if(f==g)return h.ref=d,null;var y=this.scale.scaleHelper.actualMinimum,b=this.scale.scaleHelper.actualMaximum,v=this.scale.scaleHelper.totalLength,S,w;if(f<=y&&g<=y||f>=b&&g>=b)return h.ref=d,null;if(fb&&(g=b),S=a.length1(y,f),w=a.length1(f,g)):(fb&&(g=b),S=a.length1(y,g),w=a.length1(g,f)),this.scale.orientation==n.Horizontal){var k,G=S*(k=d.width/v),B=w*k;this.scale.isReversed?(d.x=d.right-(G+B),d.width=B):(d.x+=G,d.width=B)}else{var k,G=S*(k=d.height/v),B=w*k;this.scale.isReversed?(d.y+=G,d.height=B):(d.y+=d.height-(G+B),d.height=B)}var R=this.scale.startWidth>this.scale.endWidth,O=this.scale.barGeometry.getRestToLenght(),x=S/v,C=(S+w)/v;R||(x=1-x,C=1-C),x*=O,C*=O;var P=R?C-x:x-C,_,j=0;if(this.scale.orientation==n.Horizontal){_=this.size.height*Math.min(i,l),j=this.size.height*Math.max(i,l);var W=this.size.height*u;if(R)switch(c){case s.Outside:d.y-=j-C+P,d.height=j+P,d.y-=W;break;case s.Overlay:d.y=o.centerY(d)-j/2,d.height=j,d.y+=W;break;case s.Inside:d.y+=d.height-C,d.height=j+P,d.y+=W;break}else switch(c){case s.Outside:d.y-=j-x+P,d.height=j+P,d.y-=W;break;case s.Overlay:d.y=o.centerY(d)-j/2,d.height=j,d.y+=W;break;case s.Inside:d.y+=d.height-x,d.height=j+P,d.y+=W;break}}else{_=this.size.width*Math.min(i,l),j=this.size.width*Math.max(i,l);var M=this.size.width*u;if(R)switch(c){case s.Outside:d.x-=j-C+P,d.width=j+P,d.x-=M;break;case s.Overlay:d.x=o.centerX(d)-j/2,d.width=j,d.x+=M;break;case s.Inside:d.x+=d.width-C,d.width=j+P,d.x+=M;break}else switch(c){case s.Outside:d.x-=j-x+P,d.width=j+P,d.x-=M;break;case s.Overlay:d.x=o.centerX(d)-j/2,d.width=j,d.x+=M;break;case s.Inside:d.x+=d.width-x,d.width=j+P,d.x+=M;break}}return h.ref=d,p?null:this.drawPrimitiveGeometry(e,d,_,j,i,l,c,P,R)},e.prototype.drawPrimitiveGeometry=function(e,t,i,a,l,u,h,p,d){var m=t.clone();t.x=0,t.y=0;var f=[];if(this.scale.startWidth==this.scale.endWidth&&i==a)f[0]=new c(t.left,t.top),f[1]=new c(t.right,t.top),f[2]=new c(t.right,t.bottom),f[3]=new c(t.left,t.bottom);else{var g=this.scale.startWidththis.endWidth?(this.scaleHelper.maxWidth=this.startWidth,this.scaleHelper.minWidth=this.endWidth):(this.scaleHelper.maxWidth=this.endWidth,this.scaleHelper.minWidth=this.startWidth)},h.prototype.getPosition=function(e){var t=e;return tthis.scaleHelper.actualMaximum&&(t=this.scaleHelper.actualMaximum),i.length1(this.scaleHelper.actualMinimum,t)/this.scaleHelper.totalLength},h.prototype.interactiveClick=function(e){},h.prototype.createNew=function(){return null},h.prototype.drawElement=function(e){if(null!=this.gauge){this.barGeometry.drawScaleGeometry(e);var t=0;while(t=0;e--){var t=this.rangeList.getByIndex(e);if(this.valueObj>=t.value){this.colorModeHelper.defaultIndex!=e&&(this.colorModeHelper.defaultIndex=e,this.actualBush=t.brush);break}}else this.colorModeHelper.standardBackground=!0,this.actualBush=this.brush},a.prototype.createNew=function(){return new a},a.prototype.drawElement=function(e){var t=this.scale,r=this.getActualValue(),i=null==r?this.scale.minimum:r;if(e.gauge.isDesigning&&this.checkActualBrushForTopGeometry(),null!=t){var n=void 0,o=void 0;this.scale.isReversed?(n=this.scale.maximum-i,o=this.scale.maximum):(n=this.scale.minimum,(o=i)>this.scale.maximum&&(o=this.scale.maximum)),this.getRangeGeometry(e,t,this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth,this.scale.minimum,this.scale.maximum),this.getRangeGeometry(e,t,this.actualBush,this.borderBrush,this.borderWidth,n,o)}},a.prototype.onRangeColorChanged=function(){this.colorModeHelper.reset()},a.prototype.interactiveClick=function(e,t){},a.prototype.getRangeGeometry=function(e,t,r,a,s,l,u){var c=t.barGeometry.rectGeometry,h=t.barGeometry.center,p=t.barGeometry.radius,d=t.barGeometry.diameter,m,f;m=this.startWidth>=0?t.isReversed?this.endWidth*d:this.startWidth*d:0,f=this.endWidth>=0?t.isReversed?this.startWidth*d:this.endWidth*d:0;var g=t.startAngle+t.getPosition(l)*t.sweepAngle,y=(t.getPosition(u)-t.getPosition(l))*t.sweepAngle,b=t.isReversed?t.endWidth*d:t.startWidth*d,v=t.isReversed?t.startWidth*d:t.endWidth*d,S=this.scale.getPosition(l),w=this.scale.getPosition(u),k=n.maxMinusMin(b,v),G,B,R,O;if(this.placement==i.Outside?(G=p,B=p,R=p+m,O=p+f):this.placement==i.Overlay?t.isUp?(G=p-(b+k*S-m)/2,B=p-(b+k*w-f)/2,R=p-(b+k*S+m)/2,O=p-(b+k*w+f)/2):(G=p-(b-k*S-m)/2,B=p-(b-k*w-f)/2,R=p-(b-k*S+m)/2,O=p-(b-k*w+f)/2):t.isUp?(G=p-(b+k*S),B=p-(b+k*w),R=p-(b+k*S+m),O=p-(b+k*w+f)):(G=p-(b-k*S),B=p-(b-k*w),R=p-(b-k*S+m),O=p-(b-k*w+f)),isNaN(G)||isNaN(B)||isNaN(R)||isNaN(O))return;var x=n.getMax(G,B,R,O),C=new o(h.x-x,h.y-x,2*x,2*x);e.addRadialRangeGaugeGeom(C,r,a,s,h,g,y,G,B,R,O)},a}(a);r.StiRadialBar=c}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.Report.Gauge.StiBarRangeListType,n=e.Base.Drawing.StiEmptyBrush,o=e.Base.StiJsonReportObjectHelper,a=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._brush=new n,t}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyStringNullOrEmpty("Brush",o.Serialize.jBrush(this.brush)),r},r.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;switch(s.name){case"Brush":this.brush=o.Deserialize.brush(s.value);break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialIndicatorRangeInfo},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rangeListType",{get:function(){return i.RadialBar},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiIndicatorRangeInfo);r.StiRadialIndicatorRangeInfo=a}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.Base.Context.Animation.StiRotationAnimation,n=e.System.TimeSpan,o=e.Report.Gauge.StiPlacement,a=e.Report.Gauge.Helpers.StiMathHelper,s=e.Report.Gauge.StiGaugeElemenType,l=e.Report.Components.Gauge.Primitives.StiMarkerBase,u=e.System.Drawing.Rectangle,c=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),l.prototype.saveToJsonObject=function(e){var t=r.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},l.prototype.loadFromJsonObject=function(e){r.prototype.loadFromJsonObject.call(this,e)},l.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e)},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialMarker},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.markerBrush,this.borderBrush=e.core.markerBorderBrush,this.borderWidth=e.core.markerBorderWidth,this.skin=e.core.markerSkin)},Object.defineProperty(l.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return"RadialMarker"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.drawElement=function(t){var r=this.scale;if(null==r)return;var s=this.getActualValue(),l=null==s?0:s,c=r.getPosition(l),h=r.barGeometry.center,p=this.scale.barGeometry.size.width*this.relativeWidth,d=this.scale.barGeometry.size.height*this.relativeHeight,m=this.scale.barGeometry.diameter,f=a.maxMinusMin(this.scale.startWidth,this.scale.endWidth)*m*c,g=this.scale.barGeometry.radius-this.offset*m;this.placement==o.Overlay?this.scale.isReversed?g-=this.scale.isUp?(this.scale.endWidth*m+p+f)/2:(this.scale.endWidth*m+p-f)/2:g-=this.scale.isUp?(this.scale.startWidth*m+p+f)/2:(this.scale.startWidth*m+p-f)/2:this.placement==o.Inside&&(this.scale.isReversed?g-=this.scale.isUp?this.scale.endWidth*m+p-f:this.scale.endWidth*m+p+f:g-=this.scale.isUp?this.scale.startWidth*m+p-f:this.scale.startWidth*m+p+f);var y=new u(g+h.x,h.y-d/2,p,d),b=r.startAngle+r.getSweepAngle()*c,v=r.startAngle-b,S;this.animation=new i(v,0,h,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,n.zero),this.getActualSkin().draw(t,this,y,b,h)},l.prototype.interactiveClick=function(e,t){},l}(l);r.StiRadialMarker=c}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.Report.Gauge.StiStateSkin,n=e.Report.Gauge.Helpers.StiGaugeSkinHelper,o=e.Report.Gauge.Collections.StiFilterCollection,a=e.System.Drawing.Color,s=e.Base.Drawing.StiSolidBrush,l=e.Base.StiJsonSaveMode,u=e.System.Drawing.Font,c=e.Base.Drawing.StiBrush,h=e.System.Enum,p=e.System.Drawing.Rectangle,d=e.Report.Components.Gauge.Primitives.StiIndicatorBase,m=e.Base.StiJsonReportObjectHelper,f=e.System.Drawing.FontStyle,g=e.System.Drawing.GraphicsUnit,y=function(r){function d(){var t=null!==r&&r.apply(this,arguments)||this;return t._format="{0:F0}",t._showValue=!1,t._textBrush=new s(a.dimGray),t._font=new u("Atial",7),t._filters=new o,t._left=0,t._top=0,t._relativeWidth=.05,t._relativeHeight=.05,t._skin=e.Report.Gauge.StiStateSkin.Ellipse,t}return __extends(d,r),d.prototype.saveToJsonObject=function(t){var i=r.prototype.saveToJsonObject.call(this,t);return i.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),i.addPropertyStringNullOrEmpty("Format",this.format),i.addPropertyBool("ShowValue",this.showValue,!1),i.addPropertyStringNullOrEmpty("TextBrush",m.Serialize.jBrush(this.textBrush)),i.addPropertyStringNullOrEmpty("Font",m.Serialize.font(this.font,"Arial",8,f.Bold,g.Pixel)),i.addPropertyNumber("Left",this.left,0),i.addPropertyNumber("Top",this.top,0),i.addPropertyNumber("RelativeHeight",this.relativeHeight,.05),i.addPropertyNumber("RelativeWidth",this.relativeWidth,.05),i.addPropertyEnum("Skin",e.Report.Gauge.StiStateSkin,this.skin),t==l.Report&&i.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),i},d.prototype.loadFromJsonObject=function(t){var i,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Format":this.format=s.value.toString();break;case"ShowValue":this.showValue=s.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=m.Deserialize.brush(s.value);break;case"Font":this.font=m.Deserialize.font(s.value.toString(),this.font);break;case"Left":this.left=s.value.stimulsoft.toNumber();break;case"Top":this.top=s.value.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=s.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=s.value.stimulsoft.toNumber();break;case"Skin":this.skin=h.parse(e.Report.Gauge.StiStateSkin,s.value.toString());break;case"Filters":this.filters.loadFromJsonObject(s.value);break}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},d.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var n=0;n=this.filters.getByIndex(r).startValue&&t<=this.filters.getByIndex(r).endValue){e=this.filters.getByIndex(r);break}this.lastFilter!=e&&(this.lastFilter=e,null!=e&&(this.brush=e.brush,this.borderBrush=e.borderBrush))}},d.prototype.interactiveClick=function(e,t){},d.prototype.drawElement=function(e){var t=this.scale.barGeometry.size,r=e.rect,i=new p(r.x+t.width*this.left,r.y+t.height*this.top,t.width*this.relativeWidth,t.height*this.relativeHeight),n;this.getActualSkin().draw(e,this,i,null,null)},d.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:n.getStateIndicatorSkin(this.skin)},d}(d);r.StiStateIndicator=y}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.System.Drawing.Point,n=e.System.Drawing.Size,o=e.Report.Gauge.StiRadiusMode,a=function(){function e(e){this._size=new n(0,0),this._center=new i(0,0),this._rectGeometry=r.empty,this._radius=0,this._diameter=0,this.scale=e}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rectGeometry",{get:function(){return this._rectGeometry},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this._radius},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"center",{get:function(){return this._center},enumerable:!1,configurable:!0}),e.prototype.checkRectGeometry=function(e){this._size=e.size;var t=this.scale.center;t=new i(e.x+this.size.width*t.x,e.y+this.size.height*t.y);var n=0,a=0;this.scale.radiusMode==o.Auto?(a=n=Math.min(this.size.width,this.size.height)*this.scale.getRadius(),this._diameter=n,this._radius=n/2):this.scale.radiusMode==o.Width?(n=this.size.width*this.scale.getRadius(),a=this.size.height,this._diameter=n,this._radius=n/2):(n=this.size.width,a=this.size.height*this.scale.getRadius(),this._diameter=a,this._radius=a/2),this._rectGeometry=new r(t.x-n/2,t.y-a/2,n,a),this._center=new i(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)},e.prototype.drawScaleGeometry=function(e){var t,r;this.scale.isReversed?(t=this.scale.getEndWidth(),r=this.scale.getStartWidth()):(t=this.scale.getStartWidth(),r=this.scale.getEndWidth()),this.rectGeometry.width>0&&this.rectGeometry.height>0&&e.addGraphicsArcGeometryGaugeGeom(this.rectGeometry,this.scale.brush,this.scale.borderBrush,1,this.scale.startAngle,this.scale.getSweepAngle(),t,r)},e.prototype.getRestToLenght=function(){return null},e.prototype.drawGeometry=function(e,t,r,i,n,o,a,s,l){return null},e}();t.StiRadialBarGeometry=a}(r=t.Primitives||(t.Primitives={}))}(r=t.Gauge||(t.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.Report.Components.Gauge.Primitives.StiRadialBarGeometry,n=e.System.Drawing.Point,o=e.System.Enum,a=e.Report.Components.Gauge.Primitives.StiScaleBase,s=e.Base.StiJsonReportObjectHelper,l=function(r){function a(){var t=r.call(this)||this;return t._radius=.75,t._radiusMode=e.Report.Gauge.StiRadiusMode.Auto,t._center=new n(.5,.5),t._startAngle=45,t._sweepAngle=300,t._skin=e.Report.Gauge.StiRadialScaleSkin.Default,t.barGeometry=new i(t),t}return __extends(a,r),a.prototype.saveToJsonObject=function(t){var i=r.prototype.saveToJsonObject.call(this,t);return i.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),i.addPropertyNumber("Radius",this.radius,0),i.addPropertyEnum("RadiusMode",e.Report.Gauge.StiRadiusMode,this.radiusMode),i.addPropertyJObject("Center",s.Serialize.point(this.center)),i.addPropertyNumber("StartAngle",this.startAngle,45),i.addPropertyNumber("SweepAngle",this.sweepAngle,300),i.addPropertyEnum("Skin",e.Report.Gauge.StiRadialScaleSkin,this.skin),i},a.prototype.loadFromJsonObject=function(t){var i,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var a=__values(t.properties()),l=a.next();!l.done;l=a.next()){var u=l.value;switch(u.name){case"Radius":this.radius=u.value.stimulsoft.toNumber();break;case"RadiusMode":this.radiusMode=o.parse(e.Report.Gauge.StiRadiusMode,u.value.toString());break;case"Center":this.center=s.Deserialize.point(u.value);break;case"StartAngle":this.startAngle=u.value.stimulsoft.toNumber();break;case"SweepAngle":this.sweepAngle=u.value.stimulsoft.toNumber();break;case"Skin":this.skin=o.parse(e.Report.Gauge.StiRadialScaleSkin,u.value.toString());break}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}},a.prototype.loadFromXml=function(t,i){r.prototype.loadFromXml.call(this,t,i);for(var n=0;n1&&(e=1),e},a.prototype.getEndWidth=function(){var e=this.endWidth;return e<0?e=0:e>1&&(e=1),e},a.prototype.getSweepAngle=function(){var e=this.sweepAngle;return e<0?e=0:e>360&&(e=360),e},a.prototype.getCurrentAngle=function(e){return this.getPosition(e)*this.sweepAngle+this.startAngle},a.prototype.interactiveClick=function(e){},a.prototype.createNew=function(){return new a},a}(a);r.StiRadialScale=l}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r;!function(t){var r=e.Report.Gauge.StiPlacement,i=e.Base.StiJson,n=e.Base.StiJsonReportObjectHelper,o=e.System.Enum,a=e.Base.Drawing.StiBrush,s=e.Base.Drawing.StiEmptyBrush,l=e.Base.Drawing.StiSolidBrush,u=e.System.Drawing.Color,c=function(){function e(){this._brush=new l(u.white),this._borderBrush=new s,this._borderWidth=1,this._startValue=0,this._endValue=0,this._startWidth=0,this._endWidth=0,this._placement=r.Overlay,this._offset=0}return e.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyStringNullOrEmpty("Brush",n.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",n.Serialize.jBrush(this.borderBrush)),t.addPropertyNumber("BorderWidth",this.borderWidth,1),t.addPropertyNumber("StartValue",this.startValue,0),t.addPropertyNumber("EndValue",this.endValue,0),t.addPropertyNumber("StartWidth",this.startWidth,0),t.addPropertyNumber("EndWidth",this.endWidth,0),t.addPropertyEnum("Placement",r,this.placement),t.addPropertyNumber("Offset",this.offset,0),t},e.prototype.loadFromJsonObject=function(e){var t,i;try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Brush":this.brush=n.Deserialize.brush(l.value);break;case"BorderBrush":this.borderBrush=n.Deserialize.brush(l.value);break;case"BorderWidth":this.borderWidth=l.value.stimulsoft.toNumber();break;case"StartValue":this.startValue=l.value.stimulsoft.toNumber();break;case"EndValue":this.endValue=l.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=l.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=l.value.stimulsoft.toNumber();break;case"Placement":this.placement=o.parse(r,l.value.toString());break;case"Offset":this.offset=l.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e){for(var t=0;tt.maximum)return;var a=this.endValue;if(this.useValuesFromTheSpecifiedRange&&a>t.maximum)a=t.maximum;else if(a=0?this.startWidth*s:0,m=this.endWidth>=0?this.endWidth*s:0,f=r.startAngle+t.getPosition(o)*r.sweepAngle,g=(t.getPosition(a)-t.getPosition(o))*r.sweepAngle,y=t.getPosition(o),b=t.getPosition(a),v=i.maxMinusMin(l,u),S,w,k,G;this.placement==n.Outside?(S=p,w=p,k=p+d,G=p+m):this.placement==n.Overlay?t.isUp?(S=p-(l+v*y-d)/2,w=p-(l+v*b-m)/2,k=p-(l+v*y+d)/2,G=p-(l+v*b+m)/2):(S=p-(l-v*y-d)/2,w=p-(l-v*b-m)/2,k=p-(l-v*y+d)/2,G=p-(l-v*b+m)/2):t.isUp?(S=p-(l+v*y),w=p-(l+v*b),k=p-(l+v*y+d),G=p-(l+v*b+m)):(S=p-(l-v*y),w=p-(l-v*b),k=p-(l-v*y+d),G=p-(l-v*b+m)),e.addRadialRangeGaugeGeom(c,this.brush,this.borderBrush,this.borderWidth,h,f,g,S,w,k,G)},r.prototype.createNew=function(){return new r},r}(e.Report.Components.Gauge.Primitives.StiRangeBase);r.StiRadialRange=a}(i=r.Gauge||(r.Gauge={}))}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r=e.Report.Components.Gauge.StiRadialRange,i=e.Report.Components.Gauge.StiLinearRange,n=e.System.StiString,o=e.System.Collections.CollectionBase,a=e.Base.StiJson,s=function(e){function t(t){var r=e.call(this)||this;return r.parent=null,r.parent=t,r}return __extends(t,e),t.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new a,n=0;try{for(var o=__values(this.list),s=o.next();!s.done;s=o.next()){var l=s.value;i.addPropertyJObject(n.toString(),l.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},t.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),i=StiOptions.Services.ranges.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r}));if(null==i)throw n.format("Type {0} is not found!",r);var a=i.createNew();o.add(a),a.loadFromJsonObject(e.value)},o=this;try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l;i(s.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.loadFromXml=function(e){for(var t=0;t0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},t.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&tt.maximum&&(r=t.maximum),G.currentCulture=i}else r=e.stimulsoft.toNumber();return r},e.getFloatValueFromObject2=function(e,t){var r=t;if(null!=e)if(e.stimulsoft.is(String)){var i=G.currentCulture;G.currentCulture=new G("en-US"),r=e.stimulsoft.toNumber(),isNaN(r)&&(r=t),G.currentCulture=i}else r=e.stimulsoft.toNumber();return r},e.getFloatArrayValueFromString=function(e){var t=e;if(n.isNullOrEmpty(t))return null;var r=t.split(";"),i=[],o=G.currentCulture;G.currentCulture=new G("en-US");var a=-1;while(++a=1&&s<=3?H.fromArgb(165,214,167):s>=4&&s<=7?H.fromArgb(76,175,80):H.fromArgb(46,125,50)),n.ranges.add(h)}var p=new x;p.offset=.25;var d=new c;d.placement=r.StiPlacement.Overlay,d.relativeWidth=.015,d.relativeHeight=.3,d.brush=new B(H.fromArgb(100,100,100),H.fromArgb(10,10,10),90),d.valueObj=80;var m=new O;m.brush=new A(H.black),m.startWidth=.1,m.endWidth=.1,i.items.add(n),i.items.add(p),i.items.add(d),i.items.add(m),e.scales.add(i),this.initializeName(e,t)},e.halfDonutsGauge=function(e,t){this.initializeGauge(e,280,165);var i=new V;i.startAngle=180,i.sweepAngle=180,i.minimum=0,i.maximum=150,i.radius=.75,i.center=new R(.5,.8),i.radiusMode=r.StiRadiusMode.Width,i.skin=r.StiRadialScaleSkin.Empty;var n=new M;n.borderBrush=new W,n.borderWidth=0,n.startWidth=.3,n.endWidth=.3,n.emptyBrush=new B(H.fromArgb(221,221,221),H.fromArgb(240,240,240),90),n.useRangeColor=!0,n.value="60";var o=new h;o.value=0,o.brush=new A(H.fromArgb(139,195,74));var a=new h;a.value=50,a.brush=new A(H.fromArgb(255,235,59));var s=new h;s.value=100,s.brush=new A(H.fromArgb(244,67,54)),n.rangeList.add(o),n.rangeList.add(a),n.rangeList.add(s);var l=new T;l.relativeHeight=.05,l.relativeWidth=.4,l.startWidth=.1,l.endWidth=.2,l.capBrush=new A(H.white),l.capBorderBrush=new A(H.fromArgb(0,150,136)),l.capBorderWidth=2,l.brush=new A(H.fromArgb(0,150,136)),l.borderWidth=0,l.textBrush=new A(H.fromArgb(0,150,136)),l.value="60",i.items.add(n),i.items.add(l),e.scales.add(i),this.initializeName(e,t)},e.halfDonutsGauge2=function(e,t){this.initializeGauge(e,280,165);var i=new V;i.startAngle=180,i.sweepAngle=180,i.minimum=0,i.maximum=100,i.radius=.75,i.center=new R(.5,.8),i.radiusMode=r.StiRadiusMode.Width,i.skin=r.StiRadialScaleSkin.Empty;var n=new M;n.borderBrush=new W,n.startWidth=.3,n.endWidth=.3,n.brush=new A(H.fromArgb(79,134,194)),n.emptyBrush=new B(H.fromArgb(221,221,221),H.fromArgb(240,240,240),90),n.emptyBorderBrush=new A(H.fromArgb(79,134,194)),n.emptyBorderWidth=3,i.items.add(n),e.scales.add(i),this.initializeName(e,t)},e.radialGaugeHalfCircleN=function(e,t){this.initializeGauge(e,260,150);var i=new V;i.radiusMode=r.StiRadiusMode.Width,i.skin=r.StiRadialScaleSkin.RadialScaleHalfCircleN,i.startAngle=180,i.sweepAngle=180,i.maximum=100,i.center=new R(.5,.85),i.radius=.75,i.startWidth=.005,i.endWidth=.005,i.majorInterval=10,i.minorInterval=5,i.brush=new A(H.gray);var n=new E;n.placement=r.StiPlacement.Overlay,n.offset=.035,n.relativeWidth=.05,n.relativeHeight=.007,n.brush=new A(H.gray),n.borderBrush=new W;var o=new N;o.placement=r.StiPlacement.Overlay,o.offset=.017,o.relativeWidth=.03,o.relativeHeight=.007,o.brush=new A(H.lightGray),o.borderBrush=new W;var a=new F;a.labelRotationMode=r.StiLabelRotationMode.Automatic,a.textBrush=new A(H.black);var s=new T;s.value="45",s.capBrush=new A(H.fromArgb(3,169,244)),s.brush=new A(H.fromArgb(3,169,244)),s.startWidth=.1,s.endWidth=.99,s.relativeWidth=.5,s.relativeHeight=.04,i.items.add(n),i.items.add(o),i.items.add(a),i.items.add(s),e.scales.add(i),this.initializeName(e,t)},e.radialGaugeHalfCircleS=function(e,t){this.initializeGauge(e,260,150);var i=new V;i.radiusMode=r.StiRadiusMode.Width,i.skin=r.StiRadialScaleSkin.RadialScaleHalfCircleS,i.startAngle=0,i.sweepAngle=180,i.maximum=100,i.center=new R(.5,.15),i.radius=.75,i.startWidth=.005,i.endWidth=.005,i.majorInterval=10,i.minorInterval=5,i.brush=new A(H.gray);var n=new E;n.placement=r.StiPlacement.Overlay,n.offset=.035,n.relativeWidth=.05,n.relativeHeight=.007,n.brush=new A(H.gray),n.borderBrush=new W;var o=new N;o.placement=r.StiPlacement.Overlay,o.offset=.017,o.relativeWidth=.03,o.relativeHeight=.007,o.brush=new A(H.lightGray),o.borderBrush=new W;var a=new F;a.labelRotationMode=r.StiLabelRotationMode.Automatic,a.textBrush=new A(H.black);var s=new T;s.value="45",s.capBrush=new A(H.fromArgb(3,169,244)),s.brush=new A(H.fromArgb(3,169,244)),s.startWidth=.1,s.endWidth=.99,s.relativeWidth=.5,s.relativeHeight=.04,i.items.add(n),i.items.add(o),i.items.add(a),i.items.add(s),e.scales.add(i),this.initializeName(e,t)},e.radialGaugeQuarterCircleNW=function(e,t){this.radialGaugeQuarterCircle(e,t,r.StiRadialScaleSkin.RadialScaleQuarterCircleNW,180,new R(.9,.9))},e.radialGaugeQuarterCircleNE=function(e,t){this.radialGaugeQuarterCircle(e,t,r.StiRadialScaleSkin.RadialScaleQuarterCircleNE,270,new R(.1,.9))},e.radialGaugeQuarterCircleSW=function(e,t){this.radialGaugeQuarterCircle(e,t,r.StiRadialScaleSkin.RadialScaleQuarterCircleSW,90,new R(.9,.1))},e.radialGaugeQuarterCircleSE=function(e,t){this.radialGaugeQuarterCircle(e,t,r.StiRadialScaleSkin.RadialScaleQuarterCircleSE,0,new R(.1,.1))},e.radialGaugeQuarterCircle=function(e,t,i,n,o){this.initializeGauge(e,250,250);var a=new V;a.skin=i,a.startAngle=n,a.sweepAngle=90,a.maximum=100,a.center=o,a.radius=1.5,a.startWidth=.005,a.endWidth=.005,a.majorInterval=10,a.minorInterval=5;var s=new E;s.placement=r.StiPlacement.Overlay,s.offset=.045,s.relativeWidth=.03,s.relativeHeight=.004,s.borderBrush=new W,s.brush=new A(H.gray);var l=new N;l.placement=r.StiPlacement.Overlay,l.offset=.04,l.relativeWidth=.02,l.relativeHeight=.004,l.borderBrush=new W,l.brush=new A(H.gray);var u=new F;u.labelRotationMode=r.StiLabelRotationMode.Automatic;var c=new T;c.value="45",c.capBrush=new A(H.fromArgb(244,67,54)),c.brush=new A(H.fromArgb(244,67,54)),c.startWidth=.1,c.endWidth=.99,c.relativeWidth=.5,c.relativeHeight=.04,a.items.add(s),a.items.add(l),a.items.add(u),a.items.add(c),e.scales.add(a),this.initializeName(e,t)},e.horizontalThermometer=function(e,t){this.initializeGauge(e,300,50);var i=new P;i.orientation=o.Horizontal,i.relativeHeight=.85,i.left=.03,i.startWidth=.17,i.endWidth=.17,i.maximum=80,i.majorInterval=20,i.minorInterval=4;var n=new O;n.skin=r.StiLinearBarSkin.HorizontalThermometer,n.placement=r.StiPlacement.Outside,n.startWidth=.2,n.endWidth=.2,n.useRangeColor=!0;var a=new p;a.value=0,a.brush=new B(H.fromArgb(137,188,41),H.fromArgb(111,163,14),90);var s=new p;s.value=40,s.brush=new B(H.fromArgb(217,173,45),H.fromArgb(222,166,0),90);var l=new p;l.value=65,l.brush=new B(H.fromArgb(208,49,52),H.fromArgb(186,6,10),90),n.rangeList.add(a),n.rangeList.add(s),n.rangeList.add(l);var u=new C;u.placement=r.StiPlacement.Overlay,u.brush=new A(H.fromArgb(159,159,159)),u.relativeWidth=.01,u.relativeHeight=.18,u.offset=-.1;var c=new d;c.brush=new A(H.fromArgb(159,159,159)),c.relativeWidth=.005,c.relativeHeight=.1,c.offset=-.14;var h=new x;h.placement=r.StiPlacement.Inside,h.offset=.11,h.textBrush=new A(H.fromArgb(83,85,86)),h.font=new j("Arial",10);var g=new m;g.left=.02,g.top=.07,g.relativeWidth=.083,g.relativeHeight=.5;var y=new f;y.startValue=0,y.endValue=40,y.brush=new A(H.fromArgb(112,156,28));var b=new f;b.startValue=40,b.endValue=65,b.brush=new A(H.fromArgb(225,174,25));var v=new f;v.startValue=65,v.endValue=100,v.brush=new A(H.fromArgb(194,45,48)),g.filters.add(y),g.filters.add(b),g.filters.add(v),i.items.add(n),i.items.add(u),i.items.add(c),i.items.add(h),i.items.add(g),e.scales.add(i),this.initializeName(e,t)},e.verticalThermometer=function(e,t){this.initializeGauge(e,50,300);var i=new P;i.orientation=o.Vertical,i.relativeHeight=.85,i.startWidth=.17,i.endWidth=.17,i.maximum=80,i.majorInterval=20,i.minorInterval=4;var n=new O;n.skin=r.StiLinearBarSkin.VerticalThermometer,n.placement=r.StiPlacement.Outside,n.startWidth=.2,n.endWidth=.2,n.useRangeColor=!0;var a=new p;a.value=0,a.brush=new B(H.fromArgb(137,188,41),H.fromArgb(111,163,14),0);var s=new p;s.value=40,s.brush=new B(H.fromArgb(217,173,45),H.fromArgb(222,166,0),0);var l=new p;l.value=65,l.brush=new B(H.fromArgb(208,49,52),H.fromArgb(186,6,10),0),n.rangeList.add(a),n.rangeList.add(s),n.rangeList.add(l);var u=new C;u.placement=r.StiPlacement.Overlay,u.brush=new A(H.fromArgb(159,159,159)),u.relativeWidth=.18,u.relativeHeight=.01,u.offset=-.1;var c=new d;c.brush=new A(H.fromArgb(159,159,159)),c.relativeWidth=.1,c.relativeHeight=.005,c.offset=-.14;var h=new x;h.placement=r.StiPlacement.Inside,h.offset=.07,h.textBrush=new A(H.fromArgb(83,85,86)),h.font=new j("Arial",10);var g=new m;g.left=.05,g.top=.9,g.relativeWidth=.5,g.relativeHeight=.083;var y=new f;y.startValue=0,y.endValue=40,y.brush=new A(H.fromArgb(112,156,28));var b=new f;b.startValue=40,b.endValue=65,b.brush=new A(H.fromArgb(225,174,25));var v=new f;v.startValue=65,v.endValue=100,v.brush=new A(H.fromArgb(194,45,48)),g.filters.add(y),g.filters.add(b),g.filters.add(v),i.items.add(n),i.items.add(u),i.items.add(c),i.items.add(h),i.items.add(g),e.scales.add(i),this.initializeName(e,t)},e.lightSpeedometer=function(e,t){this.initializeGauge(e,350,350);var i=new V;i.skin=r.StiRadialScaleSkin.Empty,i.radius=.65,i.startAngle=115,i.sweepAngle=310,i.startWidth=.03,i.endWidth=.03,i.brush=new A(H.fromArgb(81,84,101)),i.majorInterval=10,i.minorInterval=2,i.maximum=100;var n=new g,o=new y;o.startValue=40,o.endValue=101.2,o.startWidth=.04,o.endWidth=.04,o.placement=r.StiPlacement.Inside,o.useValuesFromTheSpecifiedRange=!1,o.brush=new B(H.fromArgb(213,227,118),H.fromArgb(118,71,24),90),o.borderBrush=new A(H.white),n.ranges.add(o);var s=new E;s.skipValues="100",s.relativeHeight=.03,s.relativeWidth=.055,s.brush=new A(H.fromArgb(81,84,101));var l=new N;l.offset=.04,l.relativeHeight=.01,l.relativeWidth=.03,l.brush=new A(H.fromArgb(81,84,101));var u=new b;u.valueObj=100,u.offset=-.057,u.relativeWidth=.08,u.relativeHeight=.03,u.brush=new A(H.fromArgb(81,84,101));var c=new F;c.labelRotationMode=r.StiLabelRotationMode.None,c.offset=.14,c.textBrush=new A(H.black),c.font=new j("Arial",13,a.Bold);var h=new T;h.brush=new A(H.fromArgb(250,250,250)),h.borderBrush=new A(H.fromArgb(163,163,163)),h.borderWidth=1,h.placement=r.StiPlacement.Outside,h.relativeWidth=.63,h.relativeHeight=.14,h.skin=r.StiNeedleSkin.SpeedometerNeedle,i.items.add(n),i.items.add(s),i.items.add(l),i.items.add(u),i.items.add(c),i.items.add(h),e.scales.add(i),this.initializeName(e,t)},e.darkSpeedometer=function(e,t){this.initializeGauge(e,350,350);var i=new V;i.skin=r.StiRadialScaleSkin.Empty,i.radius=.65,i.startAngle=115,i.sweepAngle=310,i.startWidth=.03,i.endWidth=.03,i.brush=new A(H.fromArgb(81,84,101)),i.majorInterval=10,i.minorInterval=2,i.maximum=200;var n=new g,o=new y;o.startValue=0,o.endValue=60,o.borderWidth=1,o.startWidth=.06,o.endWidth=.06,o.placement=r.StiPlacement.Overlay,o.brush=new B(H.fromArgb(101,134,101),H.fromArgb(66,228,66),90);var a=new y;a.startValue=60,a.endValue=100,a.borderWidth=1,a.startWidth=.06,a.endWidth=.06,a.placement=r.StiPlacement.Overlay,a.brush=new B(H.fromArgb(255,255,0),H.fromArgb(143,174,126),90);var s=new y;s.startValue=100,s.endValue=140,s.borderWidth=1,s.startWidth=.06,s.endWidth=.06,s.placement=r.StiPlacement.Overlay,s.brush=new B(H.fromArgb(255,255,0),H.fromArgb(156,156,124),90);var l=new y;l.startValue=140,l.endValue=200,l.borderWidth=1,l.startWidth=.06,l.endWidth=.06,l.placement=r.StiPlacement.Overlay,l.brush=new B(H.fromArgb(125,86,80),H.fromArgb(208,45,44),90),n.ranges.add(o),n.ranges.add(a),n.ranges.add(s),n.ranges.add(l);var u=new E;u.placement=r.StiPlacement.Overlay,u.offset=.04,u.offsetAngle=-2,u.relativeWidth=.1,u.relativeHeight=.035,u.skin=r.StiTickMarkSkin.TriangleLeft;var c=new N;c.placement=r.StiPlacement.Overlay,c.skipMajorValues=!1,c.relativeWidth=.04,c.relativeHeight=.018,c.skin=r.StiTickMarkSkin.Rectangle,c.skipIndices="0;4;8;12;16;20;24;28;32;36;40";var h=new F;h.labelRotationMode=r.StiLabelRotationMode.None,h.offset=.05,h.font=new j("Arial",11);var p=new b;p.placement=r.StiPlacement.Inside,p.offset=.3,p.relativeHeight=.05,p.relativeWidth=.05,p.skin=r.StiTickMarkSkin.Ellipse;var d=new S(20);d.brush=new B(H.fromArgb(68,223,68),H.fromArgb(0,153,0),90);var m=new S(97);m.brush=new B(H.fromArgb(255,255,0),H.fromArgb(186,169,2),90);var f=new S(173);f.brush=new B(H.fromArgb(184,29,29),H.fromArgb(121,30,30),90),p.values.add(d),p.values.add(m),p.values.add(f);var k=new v;k.placement=r.StiPlacement.Inside,k.labelRotationMode=r.StiLabelRotationMode.None,k.font=new j("Arial",10),k.values.add(new w(17,"Safe",.16)),k.values.add(new w(102,"Caution",.25)),k.values.add(new w(181,"Danger",.06));var G=new T;G.borderBrush=new A(H.fromArgb(153,9,8)),G.brush=new B(H.fromArgb(255,198,172),H.fromArgb(197,25,19),90),G.borderWidth=1,G.placement=r.StiPlacement.Outside,G.relativeWidth=.57,G.relativeHeight=.17,G.skin=r.StiNeedleSkin.SpeedometerNeedle2,i.items.add(n),i.items.add(u),i.items.add(c),i.items.add(h),i.items.add(p),i.items.add(k),i.items.add(G),e.scales.add(i),this.initializeName(e,t)},e.globalDurationElement=L.fromMilliseconds(1800),e.globalBeginTimeElement=L.fromMilliseconds(300),e}();i.StiGaugeHelper=D}(i=r.Helpers||(r.Helpers={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i;!function(r){var i=e.System.StiString,n=e.Report.Gauge.Events.StiGetTextEventArgs,o=e.Report.Gauge.Events.StiGetTextEvent,a=e.System.Drawing.Orientation,s=e.Report.Gauge.Helpers.StiGaugeHelper,l=e.Report.Painters.StiGaugeContextPainter,u=e.Report.Gauge.Helpers.StiRectangleHelper,c=e.Report.Gauge.StiPlacement,h=e.System.Drawing.Rectangle,p=e.Report.Engine.StiParser.StiParser,d=e.Report.Events.StiGetValueEventArgs,m=e.Report.Gauge.Collections.StiCustomValuesCollection,f=e.Report.Events.StiGetValueEvent,g=e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase,y=e.Report.Expressions.StiExpression,b=function(e){function g(){var t=null!==e&&e.apply(this,arguments)||this;return t._valueObj=0,t._textObj=null,t._values=new m,t._getValueEvent=new f,t._getTextEvent=new o,t._value="",t._text="",t}return __extends(g,e),g.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),r.addPropertyJObject("GetTextEvent",this.getTextEvent.saveToJsonObject(t)),r.addPropertyJObject("Value",new y(this.value).saveToJsonObject(t)),r.addPropertyJObject("Text",new y(this.text).saveToJsonObject(t)),r.addPropertyJObject("Values",this.values.saveToJsonObject(t)),r},g.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;switch(s.name){case"GetValueEvent":var l=new f;l.loadFromJsonObject(s.value),this.getValueEvent=l;break;case"GetTextEvent":var u=new o;u.loadFromJsonObject(s.value),this.getTextEvent=u;break;case"Value":var c=new y;c.loadFromJsonObject(s.value),this.value=c.value;break;case"Text":var h=new y;h.loadFromJsonObject(s.value),this.text=h.value;break;case"Values":this.values.loadFromJsonObject(s.value);break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},g.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;rS)continue;if(this.checkTickValue(k,G,C.value,R))continue;if(null!=this.minimumValue&&C.valuethis.maximumValue)continue;var P=b*this.getOffset(C.offset),_=o.getPosition(C.value),j=this.getTextForRender2(C.text,w),W=l.changeFontSize(this.font,e.zoom),M=e.measureString(j,W);if(o.orientation==a.Horizontal)if(d=o.isReversed?p.width-p.width*_:p.width*_,this.getPlacement(C.placement)==c.Overlay)f=p.left+d-M.width/2,g=u.centerY(p)-M.height/2-P;else{var T=o.startWidththis.list.length)throw new Error("InvalidArgument");this.addCore(t)},r.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return e.scale=null,this.removeAt(t),!0;return!1},r.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},r.prototype.setItemInternal=function(e,r){if(null==r)throw new Error("value");if(e<0||e>=this.list.length)throw new Error("InvalidArgument");r.elementType!=this.scaleType&&r.elementType!=t.StiGaugeElemenType.All||(r.scale=this.scale,this.list[e]=r)},r.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(t>0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},r.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&t0)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},t.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&this.list.length>1&&t0?t+1:t},e.convertArcToCubicBezier=function(e,t,i,n){var o=i*this.PiDiv180,a=n*this.PiDiv180,s=o+a,l=e.x+t*Math.cos(o),u=e.y+t*Math.sin(o),c=e.x+t*Math.cos(s),h=e.y+t*Math.sin(s),p=t*this.FourDivThree*Math.tan(.25*a),d=Math.atan(p/t),m=t/Math.cos(d);d+=o;var f=e.x+m*Math.cos(d),g=e.y+m*Math.sin(d);d=Math.atan(-p/t),d+=s;var y=e.x+m*Math.cos(d),b=e.y+m*Math.sin(d),v=[];return v.push(new r(l,u)),v.push(new r(f,g)),v.push(new r(y,b)),v.push(new r(c,h)),v},e.convertArcToCubicBezier2=function(e,t,i,n,o){var a=n*this.PiDiv180,s=o*this.PiDiv180,l=a+s,u=e.x+t*Math.cos(a),c=e.y+t*Math.sin(a),h=e.x+i*Math.cos(l),p=e.y+i*Math.sin(l),d=(t-i)/3;i+=d;var m=(t-=d)*this.FourDivThree*Math.tan(.25*s),f=Math.atan(m/t),g=t/Math.cos(f);f+=a;var y=e.x+g*Math.cos(f),b=e.y+g*Math.sin(f);f=Math.atan(-m/t),f+=l;var v=e.x+g*Math.cos(f),S=e.y+g*Math.sin(f),w=[];return w.push(new r(u,c)),w.push(new r(y,b)),w.push(new r(v,S)),w.push(new r(h,p)),w},e.PiDiv180=Math.PI/180,e.FourDivThree=4/3,e}();t.StiDrawingHelper=i}(r=t.Helpers||(t.Helpers={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(r){var i=e.Report.Components.Gauge.Primitives.StiIndicatorBase,n=e.System.StiString,o=e.Report.Components.Gauge.StiRadialScale,a=e.Base.Drawing.StiSolidBrush,s=e.Report.Components.Gauge.StiRadialTickMarkMajor,l=e.Report.Components.Gauge.StiRadialTickLabelMajor,u=e.Base.Drawing.StiEmptyBrush,c=e.Report.Components.Gauge.StiRadialBar,h=e.Report.Components.Gauge.StiNeedle,p=e.System.Drawing.Point,d=e.Report.Components.Gauge.StiLinearScale,m=e.System.Drawing.Orientation,f=e.Report.Components.Gauge.StiLinearTickLabelMajor,g=e.Report.Components.Gauge.StiLinearTickMarkMajor,y=e.Report.Components.Gauge.StiLinearMarker,b=e.Report.Components.Gauge.StiLinearBar,v=e.Report.Components.Gauge.StiLinearRangeList,S=e.Report.Components.Gauge.StiLinearRange,w=function(){function w(){}return w.isGaugeV2=function(e){if(e.mode==t.StiScaleMode.V1)return!1;if(1!=e.scales.count)return!1;var r=e.scales.list[0];switch(e.type){case t.StiGaugeType.FullCircular:return this.isFullCircularScale(r);case t.StiGaugeType.HalfCircular:return this.isHalfCircularScale(r);case t.StiGaugeType.Linear:case t.StiGaugeType.HorizontalLinear:return this.isLinearScale(r)}return!1},w.init=function(e,r,o){void 0===o&&(o=!1);var a=null,s=null;e.scales.count>0&&null!=(s=e.scales.getByIndex(0).items.toList().firstOrDefault((function(e){return null==e?void 0:e.stimulsoft.is(i)})))&&null!=s.value&&(a=s.value);var l=null;switch(r){case t.StiGaugeType.FullCircular:l=this.createFullCircularScale(o);break;case t.StiGaugeType.HalfCircular:l=this.createHalfCircularScale(o);break;case t.StiGaugeType.Linear:l=this.createLinearScale(o,!1);break;case t.StiGaugeType.HorizontalLinear:l=this.createLinearScale(o,!0);break;case t.StiGaugeType.Bullet:l=this.createBullet(e,o);break}n.isNullOrEmpty(a)||((s=l.items.toList().firstOrDefault((function(e){return null==e?void 0:e.stimulsoft.is(i)}))).value=a),e.scales.clear(),e.scales.add(l)},w.prepare=function(n){if(w.isGaugeV2(n)){var o=n.scales.list[0],a=o.items.toList().firstOrDefault((function(e){return e.stimulsoft.is(i)})).stimulsoft.as(i),s=new e.Report.Events.StiGetValueEventArgs;a.invokeGetValue(a,s);var l=r.StiGaugeHelper.getFloatValueFromObject(s.value,o);a.valueObj=l,n.calculationMode==t.StiGaugeCalculationMode.Auto?0==l?(o.minimum=0,o.maximum=100):(o.minimum=l-Math.abs(l),o.maximum=l+Math.abs(l)):(o.minimum=n.minimum,o.maximum=n.maximum);var u=o.maximum-o.minimum;o.majorInterval=Math.abs(Math.round(u/10)),o.minorInterval=Math.abs(o.majorInterval/2),o.calculateMinMaxScaleHelper(),o.calculateWidthScaleHelper()}},w.isFullCircularScale=function(e){if(!e.stimulsoft.is(o))return!1;if(e.items.count<3)return!1;return!0},w.createFullCircularScale=function(e){var r=new o;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 a(Color.fromArgb(238,238,238)),!e){var i=new s;i.placement=t.StiPlacement.Inside,i.relativeWidth=.05,i.relativeHeight=.015,i.skin=t.StiTickMarkSkin.Rectangle,i.brush=new a(Color.black),r.items.add(i);var n=new l;n.offset=.1,n.placement=t.StiPlacement.Inside,r.items.add(n)}var p=new h;p.relativeHeight=.3,p.relativeWidth=.4,p.startWidth=.1,p.endWidth=1,p.capBrush=new u,p.brush=new u,p.textBrush=new a(Color.fromArgb(0,150,136)),p.valueObj=135,r.items.add(p);var d=new c;return d.startWidth=.1,d.endWidth=.1,d.offset=.1,d.valueObj=135,d.placement=t.StiPlacement.Outside,d.brush=new a(Color.red),r.items.add(d),r},w.isHalfCircularScale=function(e){if(!e.stimulsoft.is(o))return!1;if(2!=e.items.count)return!1;if(!e.items.list[0].stimulsoft.is(h))return!1;if(!e.items.list[1].stimulsoft.is(c))return!1;var t;if(0!=e.items.list[1].rangeList.count)return!1;return!0},w.createHalfCircularScale=function(e){var r=new o;r.startAngle=180,r.sweepAngle=180,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=180,r.radius=.8,r.majorInterval=90,r.minorInterval=10,r.center=new p(.5,.7),r.radiusMode=t.StiRadiusMode.Auto,r.brush=new a(Color.fromArgb(238,238,238));var i=new h;i.relativeHeight=.05,i.relativeWidth=.4,i.startWidth=.1,i.endWidth=.2,i.capBrush=new a(Color.white),i.capBorderBrush=new a(Color.fromArgb(0,150,136)),i.capBorderWidth=2,i.brush=new a(Color.fromArgb(0,150,136)),i.borderWidth=0,i.textBrush=new a(Color.fromArgb(0,150,136)),i.valueObj=135,r.items.add(i);var n=new c;return n.startWidth=.05,n.endWidth=.05,n.offset=.1,n.valueObj=135,n.placement=t.StiPlacement.Overlay,n.brush=new a(Color.red),r.items.add(n),r},w.isLinearScale=function(e){if(!e.stimulsoft.is(d))return!1;if(3!=e.items.count)return!1;if(!e.items.list[0].stimulsoft.is(f))return!1;if(!e.items.list[1].stimulsoft.is(g))return!1;if(!e.items.list[2].stimulsoft.is(y))return!1;return!0},w.createLinearScale=function(e,r){var i=new d;if(i.orientation=r?m.Horizontal:m.Vertical,i.startWidth=.1,i.endWidth=.1,i.maximum=100,i.minorInterval=5,i.borderBrush=new u,i.brush=new u,!e){var n=new f;n.placement=t.StiPlacement.Inside,n.font=new Font("Arial",8),n.textBrush=new a(Color.fromArgb(158,158,158)),i.items.add(n);var o=new g;o.borderBrush=new u,o.borderWidth=0,o.relativeHeight=.005,o.relativeWidth=.05,o.brush=new a(Color.fromArgb(158,158,158)),i.items.add(o)}var s=new y;return s.relativeWidth=.1,s.relativeHeight=.04,s.placement=t.StiPlacement.Overlay,s.brush=new a(Color.fromArgb(205,220,57)),s.valueObj=85,i.items.add(s),e&&(s.relativeWidth=.07,s.relativeHeight=.08),i},w.createBullet=function(e,r){var i=new d;if(i.orientation=m.Horizontal,i.relativeHeight=.85,i.startWidth=.01,i.endWidth=.01,i.maximum=100,i.borderBrush=new u,i.brush=new u,this.addLinearRanges(0,100,i),!r){var n=new f;n.formatService=e.valueFormat,n.placement=t.StiPlacement.Outside,n.offset=.25,i.items.add(n)}var o=new b;return o.startWidth=.15,o.endWidth=.15,o.brush=new a(Color.fromArgb(205,220,57)),o.valueObj=85,o.value="85",i.items.add(o),i},w.addLinearRanges=function(e,r,i){var n=new v,o=new S;o.placement=t.StiPlacement.Overlay,o.startValue=e+0*(r-e),o.endValue=e+.3*(r-e),o.startWidth=.3,o.endWidth=.3,o.borderBrush=new u,o.brush=new a(Color.red),n.ranges.add(o);var s=new S;s.placement=t.StiPlacement.Overlay,s.startValue=e+.3*(r-e),s.endValue=e+.65*(r-e),s.startWidth=.3,s.endWidth=.3,s.borderBrush=new u,s.brush=new a(Color.yellow),n.ranges.add(s);var l=new S;l.placement=t.StiPlacement.Overlay,l.startValue=e+.65*(r-e),l.endValue=e+1*(r-e),l.startWidth=.3,l.endWidth=.3,l.borderBrush=new u,l.brush=new a(Color.green),n.ranges.add(l),i.items.add(n)},w}();r.StiGaugeInitHelper=w}(r=t.Helpers||(t.Helpers={}))}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e.IStiScaleBarGeometry="IStiScaleBarGeometry"}(t=e.Primitives||(e.Primitives={}))}(t=e.Gauge||(e.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e.IStiTickCustom="IStiTickCustom"}(t=e.Primitives||(e.Primitives={}))}(t=e.Gauge||(e.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiEmptyBrush,i=function(){function e(){this.tickMarkMajorBorderWidth=0,this.tickMarkMinorBorderWidth=0,this.markerSkin=t.StiMarkerSkin.TriangleRight,this.markerBorderBrush=new r,this.markerBorderWidth=0,this.styleId=t.StiGaugeStyleId.StiStyle26}return e}();t.StiGaugeStyleCoreXF=i}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Report.Dashboard.Styles.StiDashboardStyleHelper,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Font,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new a(s.fromHtml("#ffffff")),t.foreColor=i.getForeColor2(r.Green),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#43682b"),t.tickMarkMajorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMajorBorder=new l,t.tickMarkMinorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMinorBorder=new l,t.tickLabelMajorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMajorFont=new u("Arial",10),t.tickLabelMinorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMinorFont=new u("Arial",9),t.markerBrush=new a(s.fromHtml("#888888")),t.linearScaleBrush=new a(s.fromHtml("#70ad47")),t.linearBarBrush=new a(s.fromHtml("#70ad47")),t.linearBarBorderBrush=new l,t.linearBarEmptyBrush=new l,t.linearBarEmptyBorderBrush=new l,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new a(s.fromHtml("#70ad47")),t.radialBarBorderBrush=new l,t.radialBarEmptyBrush=new a(s.fromHtml("#e6e6e6")),t.radialBarEmptyBorderBrush=new l,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new a(s.fromHtml("#70ad47")),t.needleBorderBrush=new l,t.needleCapBrush=new a(s.fromHtml("#70ad47")),t.needleCapBorderBrush=new a(s.fromHtml("#70ad47")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"25"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF25=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiSolidBrush,i=e.Base.Drawing.StiEmptyBrush,n=e.System.Drawing.ColorTranslator,o=function(e){function t(t){var r=e.call(this)||this;return r.reportGaugeStyle=t,r}return __extends(t,e),Object.defineProperty(t.prototype,"_super",{get:function(){return this.__proto__},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localizedName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"reportGaugeStyle",{get:function(){return this._reportGaugeStyle},set:function(e){this._reportGaugeStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"reportStyleName",{get:function(){return null==this.reportGaugeStyle?null:this.reportGaugeStyle.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.brush:this._super.brush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderColor",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.borderColor:this._super.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"foreColor",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.foreColor:this._super.foreColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetColor",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.targetColor:this._super.targetColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderWidth",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.borderWidth:this._super.borderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMajorBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMajorBrush:this._super.tickMarkMajorBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMajorBorder",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMajorBorder:this._super.tickMarkMajorBorder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMajorBorderWidth",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMajorBorderWidth:this._super.tickMarkMajorBorderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMinorBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMinorBrush:this._super.tickMarkMinorBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMinorBorder",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMinorBorder:this._super.tickMarkMinorBorder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickMarkMinorBorderWidth",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickMarkMinorBorderWidth:this._super.tickMarkMinorBorderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickLabelMajorTextBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickLabelMajorTextBrush:this._super.tickLabelMajorTextBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickLabelMajorFont",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickLabelMajorFont:this._super.tickLabelMajorFont},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickLabelMinorTextBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickLabelMinorTextBrush:this._super.tickLabelMinorTextBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickLabelMinorFont",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.tickLabelMinorFont:this._super.tickLabelMinorFont},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markerBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.markerBrush:this._super.markerBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarBrush:new r(n.fromHtml("#4472c4"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarBorderBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarEmptyBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarEmptyBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarEmptyBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarEmptyBorderBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarStartWidth",{get:function(){return.1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linearBarEndWidth",{get:function(){return.1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarBrush:new r(n.fromHtml("#ffc000"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarBorderBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarEmptyBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarEmptyBrush:new r(n.fromHtml("#43682b"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarEmptyBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarEmptyBorderBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarStartWidth",{get:function(){return.1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radialBarEndWidth",{get:function(){return.1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBrush:new r(n.fromHtml("#ffc000"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBorderBrush:new i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleCapBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleCapBrush:new r(n.fromHtml("#ffc000"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleCapBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleCapBorderBrush:new r(n.fromHtml("#ffc000"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBorderWidth",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBorderWidth:this._super.needleBorderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleCapBorderWidth",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBorderWidth:this._super.needleBorderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleStartWidth",{get:function(){return.1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleEndWidth",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleRelativeHeight",{get:function(){return.08},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleRelativeWith",{get:function(){return.55},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF25);t.StiCustomGaugeStyleCoreXF=o}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Report.Dashboard.Styles.StiDashboardStyleHelper,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Font,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new a(s.fromHtml("#ffffff")),t.foreColor=i.getForeColor2(r.Orange),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#ffc000"),t.tickMarkMajorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMajorBorder=new l,t.tickMarkMinorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMinorBorder=new l,t.tickLabelMajorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMajorFont=new u("Arial",10),t.tickLabelMinorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMinorFont=new u("Arial",9),t.markerBrush=new a(s.fromHtml("#888888")),t.linearScaleBrush=new a(s.fromHtml("#ed7d31")),t.linearBarBrush=new a(s.fromHtml("#ed7d31")),t.linearBarBorderBrush=new l,t.linearBarEmptyBrush=new l,t.linearBarEmptyBorderBrush=new l,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new a(s.fromHtml("#ed7d31")),t.radialBarBorderBrush=new l,t.radialBarEmptyBrush=new a(s.fromHtml("#e6e6e6")),t.radialBarEmptyBorderBrush=new l,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new a(s.fromHtml("#ed7d31")),t.needleBorderBrush=new l,t.needleCapBrush=new a(s.fromHtml("#ed7d31")),t.needleCapBorderBrush=new a(s.fromHtml("#ed7d31")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"24"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF24=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Report.Dashboard.Styles.StiDashboardStyleHelper,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Font,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new a(s.fromHtml("#ffffff")),t.foreColor=i.getForeColor2(r.Turquoise),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#b5a1dd"),t.tickMarkMajorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMajorBorder=new l,t.tickMarkMinorBrush=new a(s.fromHtml("#8c8c8c")),t.tickMarkMinorBorder=new l,t.tickLabelMajorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMajorFont=new u("Arial",10),t.tickLabelMinorTextBrush=new a(s.fromHtml("#8c8c8c")),t.tickLabelMinorFont=new u("Arial",9),t.markerBrush=new a(s.fromHtml("#888888")),t.linearScaleBrush=new a(s.fromHtml("#2ec6c8")),t.linearBarBrush=new a(s.fromHtml("#2ec6c8")),t.linearBarBorderBrush=new l,t.linearBarEmptyBrush=new l,t.linearBarEmptyBorderBrush=new l,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new a(s.fromHtml("#2ec6c8")),t.radialBarBorderBrush=new l,t.radialBarEmptyBrush=new a(s.fromHtml("#e6e6e6")),t.radialBarEmptyBorderBrush=new l,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new a(s.fromHtml("#2ec6c8")),t.needleBorderBrush=new l,t.needleCapBrush=new a(s.fromHtml("#2ec6c8")),t.needleCapBorderBrush=new a(s.fromHtml("#2ec6c8")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"26"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF26=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.Styles.StiDashboardStyleHelper,i=e.Report.Dashboard.StiElementStyleIdent,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Font,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new a(s.fromHtml("#FF33475B")),t.foreColor=r.getForeColor2(i.SlateGray),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#ec334d"),t.tickMarkMajorBrush=new l,t.tickMarkMajorBorder=new l,t.tickMarkMinorBrush=new l,t.tickMarkMinorBorder=new l,t.tickLabelMajorTextBrush=new a(s.fromHtml("#ffffff")),t.tickLabelMajorFont=new u("Arial",10),t.tickLabelMinorTextBrush=new a(s.fromHtml("#ffffff")),t.tickLabelMinorFont=new u("Arial",9),t.markerBrush=new a(s.fromHtml("#ec334d")),t.linearScaleBrush=new a(s.fromHtml("#0bac45")),t.linearBarBrush=new a(s.fromHtml("#0bac45")),t.linearBarBorderBrush=new l,t.linearBarEmptyBrush=new l,t.linearBarEmptyBorderBrush=new l,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new a(s.fromHtml("#0bac45")),t.radialBarBorderBrush=new l,t.radialBarEmptyBrush=new a(s.fromHtml("#3b4d5f")),t.radialBarEmptyBorderBrush=new l,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new a(s.fromHtml("#ec334d")),t.needleBorderBrush=new l,t.needleCapBrush=new a(s.fromHtml("#ffffff")),t.needleCapBorderBrush=new a(s.fromHtml("#ec334d")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t} return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"27"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF27=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Report.Dashboard.Styles.StiDashboardStyleHelper,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Font,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new a(s.fromHtml("#0a325a")),t.foreColor=i.getForeColor2(r.DarkBlue),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#577eb6"),t.tickMarkMajorBrush=new l,t.tickMarkMajorBorder=new l,t.tickMarkMinorBrush=new l,t.tickMarkMinorBorder=new l,t.tickLabelMajorTextBrush=new a(s.fromHtml("#ffffff")),t.tickLabelMajorFont=new u("Arial",10),t.tickLabelMinorTextBrush=new a(s.fromHtml("#ffffff")),t.tickLabelMinorFont=new u("Arial",9),t.markerBrush=new a(s.fromHtml("#dddddd")),t.linearScaleBrush=new a(s.fromHtml("#165d9e")),t.linearBarBrush=new a(s.fromHtml("#1f4265")),t.linearBarBorderBrush=new l,t.linearBarEmptyBrush=new l,t.linearBarEmptyBorderBrush=new l,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new a(s.fromHtml("#165d9e")),t.radialBarBorderBrush=new l,t.radialBarEmptyBrush=new a(s.fromHtml("#1f4265")),t.radialBarEmptyBorderBrush=new l,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new a(s.fromHtml("#dddddd")),t.needleBorderBrush=new l,t.needleCapBrush=new a(s.fromHtml("#dddddd")),t.needleCapBorderBrush=new a(s.fromHtml("#dddddd")),t.needleBorderWidth=0,t.needleCapBorderWidth=0,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"28"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF28=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Report.Dashboard.Styles.StiDashboardStyleHelper,n=e.System.Drawing.Font,o=e.Base.Drawing.StiEmptyBrush,a=e.System.Drawing.Color,s=e.System.Drawing.ColorTranslator,l=e.Base.Drawing.StiSolidBrush,u=e.Base.Localization.StiLocalization,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new l(s.fromHtml("#ffffff")),t.foreColor=i.getForeColor2(r.Blue),t.borderColor=a.transparent,t.borderWidth=0,t.targetColor=s.fromHtml("#ef717a"),t.tickMarkMajorBrush=new l(s.fromHtml("#8c8c8c")),t.tickMarkMajorBorder=new o,t.tickMarkMinorBrush=new l(s.fromHtml("#8c8c8c")),t.tickMarkMinorBorder=new o,t.tickLabelMajorTextBrush=new l(s.fromHtml("#8c8c8c")),t.tickLabelMajorFont=new n("Arial",10),t.tickLabelMinorTextBrush=new l(s.fromHtml("#8c8c8c")),t.tickLabelMinorFont=new n("Arial",9),t.markerBrush=new l(s.fromHtml("#888")),t.linearMarkerBorder=new l(s.fromHtml("#888")),t.linearScaleBrush=new l(s.fromHtml("#3498db")),t.linearBarBrush=new l(s.fromHtml("#3498db")),t.linearBarBorderBrush=new o,t.linearBarEmptyBrush=new o,t.linearBarEmptyBorderBrush=new o,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new l(s.fromHtml("#3498db")),t.radialBarBorderBrush=new o,t.radialBarEmptyBrush=new l(s.fromHtml("#e7ebec")),t.radialBarEmptyBorderBrush=new o,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new l(s.fromHtml("#3498db")),t.needleBorderBrush=new o,t.needleCapBrush=new l(s.fromHtml("#3498db")),t.needleCapBorderBrush=new l(s.fromHtml("#3498db")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return u.get("Chart","Style")+"29"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF29=c}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Font,i=e.Base.Drawing.StiEmptyBrush,n=e.System.Drawing.Color,o=e.Report.Gauge.StiGaugeStyleCoreXF,a=e.System.Drawing.ColorTranslator,s=e.Base.Drawing.StiSolidBrush,l=e.Base.Localization.StiLocalization,u=e.Report.Dashboard.StiElementStyleIdent,c=e.Report.Dashboard.Styles.StiDashboardStyleHelper,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new s(a.fromHtml("#595b65")),t.foreColor=c.getForeColor2(u.DarkGray),t.borderColor=n.transparent,t.borderWidth=0,t.targetColor=a.fromHtml("#d3d3d5"),t.tickMarkMajorBrush=new s(a.fromHtml("#ffffff")),t.tickMarkMajorBorder=new i,t.tickMarkMinorBrush=new i,t.tickMarkMinorBorder=new i,t.tickLabelMajorTextBrush=new s(a.fromHtml("#ffffff")),t.tickLabelMajorFont=new r("Arial",10),t.tickLabelMinorTextBrush=new s(a.fromHtml("#ffffff")),t.tickLabelMinorFont=new r("Arial",9),t.markerBrush=new s(a.fromHtml("#d3d3d5")),t.linearMarkerBorder=new s(a.fromHtml("#d3d3d5")),t.linearScaleBrush=new s(a.fromHtml("#db7b46")),t.linearBarBrush=new s(a.fromHtml("#db7b46")),t.linearBarBorderBrush=new i,t.linearBarEmptyBrush=new i,t.linearBarEmptyBorderBrush=new i,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new s(a.fromHtml("#db7b46")),t.radialBarBorderBrush=new i,t.radialBarEmptyBrush=new s(a.fromHtml("#6b6e75")),t.radialBarEmptyBorderBrush=new i,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new s(a.fromHtml("#d3d3d5")),t.needleBorderBrush=new i,t.needleCapBrush=new s(a.fromHtml("#ffffff")),t.needleCapBorderBrush=new s(a.fromHtml("#d3d3d5")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"30"},enumerable:!1,configurable:!0}),t}(o);t.StiGaugeStyleCoreXF30=h}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiColor,i=e.Report.Gauge.StiGaugeStyleCoreXF30,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=e.Report.Dashboard.Styles.StiDashboardStyleHelper,l=e.System.Drawing.ColorTranslator,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new n(r.get("#235e6d")),t.targetColor=l.fromHtml("#fefef9"),t.foreColor=s.getForeColor2(a.DarkTurquoise),t.markerBrush=new n(r.get("#f2ffff")),t.linearMarkerBorder=new n(r.get("#f2ffff")),t.linearScaleBrush=new n(r.get("#f0621e")),t.linearBarBrush=new n(r.get("#f0621e")),t.radialBarBrush=new n(r.get("#f0621e")),t.radialBarEmptyBrush=new n(r.get("#1c445b")),t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"31"},enumerable:!1,configurable:!0}),t}(i);t.StiGaugeStyleCoreXF31=u}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiColor,i=e.Report.Gauge.StiGaugeStyleCoreXF30,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=e.Report.Dashboard.Styles.StiDashboardStyleHelper,l=e.System.Drawing.ColorTranslator,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new n(r.get("#6d7e8b")),t.targetColor=l.fromHtml("#90a1ab"),t.foreColor=s.getForeColor2(a.Silver),t.markerBrush=new n(r.get("#d41c2a")),t.linearMarkerBorder=new n(r.get("#d41c2a")),t.needleBrush=new n(r.get("d41c2a")),t.needleBorderBrush=new n(r.get("d41c2a")),t.needleCapBrush=new n(r.get("d41c2a")),t.needleCapBorderBrush=new n(r.get("d3d3d5")),t.needleCapBorderWidth=0,t.linearScaleBrush=new n(r.get("#e9f4fc")),t.linearBarBrush=new n(r.get("#3a5263")),t.radialBarBrush=new n(r.get("#e9f4fc")),t.radialBarEmptyBrush=new n(r.get("#3a5263")),t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"32"},enumerable:!1,configurable:!0}),t}(i);t.StiGaugeStyleCoreXF32=u}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiColor,i=e.Report.Gauge.StiGaugeStyleCoreXF30,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=e.Report.Dashboard.Styles.StiDashboardStyleHelper,l=e.System.Drawing.Font,u=e.System.Drawing.Color,c=e.System.Drawing.ColorTranslator,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new n(r.get("#f2f5fc")),t.targetColor=c.fromHtml("#e47334"),t.foreColor=s.getForeColor2(a.AliceBlue),t.tickLabelMajorTextBrush=new n(r.get("#3a3a3a")),t.tickLabelMajorFont=new l("Arial",8),t.tickLabelMinorTextBrush=new n(r.get("#3a3a3a")),t.tickLabelMinorFont=new l("Arial",7),t.markerBrush=new n(r.get("#d41c2a")),t.linearMarkerBorder=new n(u.transparent),t.needleBrush=new n(r.get("d41c2a")),t.needleBorderBrush=new n(r.get("d41c2a")),t.needleCapBrush=new n(r.get("d41c2a")),t.needleCapBorderBrush=new n(r.get("d3d3d5")),t.needleCapBorderWidth=0,t.linearScaleBrush=new n(r.get("#ccd5f0")),t.linearBarBrush=new n(r.get("#5d6b99")),t.radialBarBrush=new n(r.get("#ccd5f0")),t.radialBarEmptyBrush=new n(r.get("#5d6b99")),t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"33"},enumerable:!1,configurable:!0}),t}(i);t.StiGaugeStyleCoreXF33=h}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiColor,i=e.Base.Drawing.StiSolidBrush,n=e.Base.Drawing.StiEmptyBrush,o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=e.Report.Dashboard.Styles.StiDashboardStyleHelper,l=e.System.Drawing.Font,u=e.System.Drawing.Color,c=e.System.Drawing.ColorTranslator,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.brush=new i(r.get("#3f745e")),t.borderColor=u.transparent,t.borderWidth=0,t.targetColor=c.fromHtml("#ecb92f"),t.foreColor=s.getForeColor2(a.DarkGray),t.tickMarkMajorBrush=new n,t.tickMarkMajorBorder=new n,t.tickMarkMinorBrush=new n,t.tickMarkMinorBorder=new n,t.tickLabelMajorTextBrush=new i(r.get("#f1f5f1")),t.tickLabelMajorFont=new l("Arial",10),t.tickLabelMinorTextBrush=new i(r.get("#f1f5f1")),t.tickLabelMinorFont=new l("Arial",9),t.markerBrush=new i(r.get("#e3ba41")),t.linearMarkerBorder=new i(r.get("#e3ba41")),t.linearScaleBrush=new i(r.get("#edf2f2")),t.linearBarBrush=new i(r.get("#edf2f2")),t.linearBarBorderBrush=new n,t.linearBarEmptyBrush=new n,t.linearBarEmptyBorderBrush=new n,t.linearBarStartWidth=.1,t.linearBarEndWidth=.1,t.radialBarBrush=new i(r.get("#8ab9bb")),t.radialBarBorderBrush=new n,t.radialBarEmptyBrush=new i(r.get("#264945")),t.radialBarEmptyBorderBrush=new n,t.radialBarStartWidth=.1,t.radialBarEndWidth=.1,t.needleBrush=new i(r.get("e3ba41")),t.needleBorderBrush=new n,t.needleCapBrush=new i(r.get("e3ba41")),t.needleCapBorderBrush=new i(r.get("e3ba41")),t.needleBorderWidth=0,t.needleCapBorderWidth=2,t.needleStartWidth=.1,t.needleEndWidth=1,t.needleRelativeHeight=.06,t.needleRelativeWith=.45,t}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"34"},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleCoreXF);t.StiGaugeStyleCoreXF34=h}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.StiString,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.Base.StiJson,a,s=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowDashboard=!1,t}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiGaugeStyleXF||(a.implementsStiGaugeStyleXF=e.prototype.implements.call(this).concat([r.IStiGaugeStyle,n])),a.implementsStiGaugeStyleXF},Object.defineProperty(a.prototype,"componentId",{get:function(){return t.StiComponentId.StiGaugeStyle},enumerable:!1,configurable:!0}),a.prototype.saveToJsonObject=function(e){var t=new o;return t.addPropertyStringNullOrEmpty("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},a.prototype.loadFromJsonObject=function(e){},a.createFromJsonObject=function(e){var t=e.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString();if("StiGaugeStyleXF"==t)return new r.StiCustomGaugeStyle;var n=StiOptions.Services.gaugeStyles.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==t}));if(null==n)throw i.format("Type {0} is not found!",t);return n.createNew()},a.createFromXml=function(e){if(null!=e.attributes.getNamedItem("type"))switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Gauge.StiCustomGaugeStyle":return new r.StiCustomGaugeStyle;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF24":return new r.StiGaugeStyleXF24;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF25":return new r.StiGaugeStyleXF25;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF26":return new r.StiGaugeStyleXF26;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF27":return new r.StiGaugeStyleXF27;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF28":return new r.StiGaugeStyleXF28;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF29":return new r.StiGaugeStyleXF29;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF30":return new r.StiGaugeStyleXF30;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF31":return new r.StiGaugeStyleXF31;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF32":return new r.StiGaugeStyleXF32;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF33":return new r.StiGaugeStyleXF33;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF34":return new r.StiGaugeStyleXF34}return null},Object.defineProperty(a.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceCategory",{get:function(){return"Gauge"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceType",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),a.prototype.toString=function(){if(this.stimulsoft.is(r.StiCustomGaugeStyle)&&null!=this.core.reportGaugeStyle)return this.core.reportGaugeStyle.name;return this.serviceName},a.prototype.compareGaugeStyle=function(e){if(null==e)return!1;var t=this.stimulsoft.as(r.StiCustomGaugeStyle),i=e.stimulsoft.as(r.StiCustomGaugeStyle);if(null!=t&&null!=i){var n=t.core.reportStyleName;null!=t.core.reportGaugeStyle&&(n=t.core.reportGaugeStyle.name);var o=i.core.reportStyleName;return null!=i.core.reportGaugeStyle&&(o=i.core.reportGaugeStyle.name),n==o}return this.stimulsoft.getType()==e.stimulsoft.getType()},a.prototype.drawStyle=function(e,t,r,i){},a.prototype.drawBox=function(e,t,r,i){},a.prototype.getStyleFromComponent=function(e,t){},a.prototype.setStyleToComponent=function(e){},a.prototype.createNew=function(){return null},a}(e.Report.Styles.StiBaseStyle);r.StiGaugeStyleXF=s}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.SlateGray,r.core=new t.StiGaugeStyleCoreXF27,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF27=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Gauge.StiCustomGaugeStyleCoreXF,i=function(e){function t(t){void 0===t&&(t=null);var i=e.call(this)||this;return i.core=new r(t),i}return __extends(t,e),Object.defineProperty(t.prototype,"serviceName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"customCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),t}(t.StiGaugeStyleXF27);t.StiCustomGaugeStyle=i}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.Orange,i.core=new t.StiGaugeStyleCoreXF24,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF24=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.Green,i.core=new t.StiGaugeStyleCoreXF25,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF25=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Turquoise,r.core=new t.StiGaugeStyleCoreXF26,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF26=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.DarkBlue,r.core=new t.StiGaugeStyleCoreXF28,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF28=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Blue,r.core=new t.StiGaugeStyleCoreXF29,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF29=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.DarkGray,i.core=new t.StiGaugeStyleCoreXF30,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF30=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.DarkTurquoise,i.core=new t.StiGaugeStyleCoreXF31,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF31=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.Silver,i.core=new t.StiGaugeStyleCoreXF32,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF32=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.AliceBlue,i.core=new t.StiGaugeStyleCoreXF33,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF33=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Report.Dashboard.StiElementStyleIdent,i=e.Base.Localization.StiLocalization,n=function(e){function n(){var i=e.call(this)||this;return i.allowDashboard=!0,i.styleIdent=r.DarkGreen,i.core=new t.StiGaugeStyleCoreXF34,i}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiGaugeStyleXF);t.StiGaugeStyleXF34=n}(r=t.Gauge||(t.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e.IStiApplyStyleGauge="IStiApplyStyleGauge"}(t=e.Gauge||(e.Gauge={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Report.Gauge.Helpers.StiGaugeInitHelper,n=e.Report.Gauge.StiScaleMode,o=e.System.StiString,a=e.Report.Gauge.StiGaugeStyleXF,s=e.System.Enum,l=e.Report.Gauge.StiGaugeCalculationMode,u=e.Report.Gauge.StiGaugeType,c=e.Base.JsonReportObject.IStiJsonReportObject,h=e.Report.Components.Gauge.Primitives.StiScaleBase,p=e.Report.Gauge.Collections.StiScaleCollection,d=e.System.Drawing.Rectangle,m=e.Base.Localization.StiLocalization,f=e.System.Drawing.Color,g=e.Base.Drawing.StiSolidBrush,y=e.Base.Drawing.StiBrush,b=e.Base.Drawing.StiBorder,v=e.Report.Components.StiComponent,S=e.Report.Components.IStiExportImageExtended,w=e.Report.Components.IStiBorder,k=e.Report.Components.IStiBrush,G=e.Base.StiJsonReportObjectHelper,B=e.Report.Components.Gauge.IStiGauge,R=e.Report.Gauge.StiGaugeStyleXF26,O=e.Report.Components.TextFormats.StiNumberFormatService,x=function(r){function v(e){void 0===e&&(e=d.empty);var t=r.call(this)||this;return t._border=new b,t._brush=new g(f.transparent),t.valueFormat_=v.getValueFormatDefault(),t.defaultClientRectangle=new d(0,0,240,240),t.mode=n.V2,t.shortValue=!0,t.minimum=0,t.maximum=100,t.type=u.FullCircular,t.calculationMode=l.Auto,t._style=new R,t._allowApplyStyle=!0,t._customStyleName="",t._isAnimation=!1,t.scales=new p(t),t.placeOnToolbox=!1,t}return __extends(v,r),v.prototype.implements=function(){return v.implementsStiGauge||(v.implementsStiGauge=r.prototype.implements.call(this).concat([S,w,k,B,c])),v.implementsStiGauge},v.prototype.saveToJsonObject=function(e){var t=r.prototype.saveToJsonObject.call(this,e);return t.removeProperty("ComponentStyle"),t.removeProperty("UseParentStyles"),t.removeProperty("CanGrow"),t.removeProperty("CanShrink"),t.removeProperty("GrowToHeight"),t.removeProperty("Interaction"),t.removeProperty("IsAnimation"),t.addPropertyBool("ShortValue",this.shortValue,!0),t.addPropertyNumber("Minimum",this.minimum,0),t.addPropertyNumber("Maximum",this.maximum,100),t.addPropertyStringNullOrEmpty("CustomStyleName",this.customStyleName),t.addPropertyStringNullOrEmpty("Border",G.Serialize.jBorder(this.border)),t.addPropertyStringNullOrEmpty("Brush",G.Serialize.jBrush(this.brush)),t.addPropertyEnum("Type",u,this.type,u.FullCircular),t.addPropertyEnum("CalculationMode",l,this.calculationMode,l.Auto),t.addPropertyEnum("Mode",n,this.mode,n.V2),t.addPropertyJObject("Scales",this.scales.saveToJsonObject(e)),t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyJObject("Style",this.style.saveToJsonObject(e)),t},v.prototype.loadFromJsonObject=function(e){var t,i;r.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),c=o.next();!c.done;c=o.next()){var h=c.value;switch(h.name){case"CustomStyleName":this.customStyleName=h.value.toString();break;case"Style":this.style=a.createFromJsonObject(h.value);break;case"Type":this.type=s.parse(u,h.value);break;case"ShortValue":this.shortValue=h.value.stimulsoft.toBoolean();break;case"Minimum":this.minimum=h.value.stimulsoft.toNumber();break;case"Maximum":this.maximum=h.value.stimulsoft.toNumber();break;case"CalculationMode":this.calculationMode=s.parse(l,h.value);break;case"Mode":this.mode=s.parse(n,h.value);break;case"AllowApplyStyle":this.allowApplyStyle=h.value.stimulsoft.toBoolean();break;case"Border":this.border=G.Deserialize.border(h.value);break;case"Brush":this.brush=G.Deserialize.brush(h.value);break;case"Scales":this.scales.loadFromJsonObject(h.value);break}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},v.prototype.loadFromXml=function(e,t){r.prototype.loadFromXml.call(this,e,t);var i=e.getAttribute("Ref");!o.isNullOrEmpty(i)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[i.stimulsoft.toNumber()]=e.nodeName);for(var c=0;c