84 lines
6.5 MiB
84 lines
6.5 MiB
/*
|
||
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<e.length;++n)s.push(t(e[n],n));return s}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function y(e,t,n,s){return Ot(e,t,n,s,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=g(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function v(e){var t=y(NaN);return null!=e?_(g(t),e):g(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var r=c.momentProperties=[];function w(e,t){var n,s,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=g(t)),l(t._locale)||(e._locale=t._locale),0<r.length)for(n=0;n<r.length;n++)l(i=t[s=r[n]])||(e[s]=i);return e}var t=!1;function M(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,c.updateOffset(this),t=!1)}function S(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function D(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=D(t)),n}function a(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&k(e[s])!==k(t[s]))&&a++;return a+r}function Y(e){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,r){var a=!0;return _(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,i),a){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var s in e+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}Y(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var s,O={};function T(e,t){null!=c.deprecationHandler&&c.deprecationHandler(e,t),O[e]||(Y(t),O[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e,t){var n,s=_({},e);for(n in t)m(t,n)&&(u(e[n])&&u(t[n])?(s[n]={},_(s[n],e[n]),_(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)m(e,n)&&!m(t,n)&&u(e[n])&&(s[n]=_({},s[n]));return s}function P(e){null!=e&&this.set(e)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null,s=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};var W={};function H(e,t){var n=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}function R(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function C(e){var t,n,s={};for(n in e)m(e,n)&&(t=R(n))&&(s[t]=e[n]);return s}var F={};function L(e,t){F[e]=t}function U(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},E={};function I(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(E[e]=i),t&&(E[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&(E[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function A(e,t){return e.isValid()?(t=j(t,e.localeData()),V[t]=V[t]||function(s){var e,i,t,r=s.match(N);for(e=0,i=r.length;e<i;e++)E[r[e]]?r[e]=E[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<i;t++)n+=x(r[t])?r[t].call(e,s):r[t];return n}}(t),V[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(G.lastIndex=0;0<=n&&G.test(e);)e=e.replace(G,s),G.lastIndex=0,n-=1;return e}var Z=/\d/,z=/\d\d/,$=/\d{3}/,q=/\d{4}/,J=/[+-]?\d{6}/,B=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,K=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,se=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe={};function ue(e,n,s){oe[e]=x(n)?n:function(e,t){return e&&s?s:n}}function le(e,t){return m(oe,e)?oe[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function ce(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),d(n)&&(s=function(e,t){t[n]=k(e)}),t=0;t<e.length;t++)he[e[t]]=s}function fe(e,i){ce(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var me=0,_e=1,ye=2,ge=3,pe=4,ve=5,we=6,Me=7,Se=8;function De(e){return ke(e)?366:365}function ke(e){return e%4==0&&e%100!=0||e%400==0}I("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),H("year","y"),L("year",1),ue("Y",se),ue("YY",B,z),ue("YYYY",ee,q),ue("YYYYY",te,J),ue("YYYYYY",te,J),ce(["YYYYY","YYYYYY"],me),ce("YYYY",function(e,t){t[me]=2===e.length?c.parseTwoDigitYear(e):k(e)}),ce("YY",function(e,t){t[me]=c.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[me]=parseInt(e,10)}),c.parseTwoDigitYear=function(e){return k(e)+(68<k(e)?1900:2e3)};var Ye,Oe=Te("FullYear",!0);function Te(t,n){return function(e){return null!=e?(be(this,t,e),c.updateOffset(this,n),this):xe(this,t)}}function xe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function be(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1===s?ke(e)?29:28:31-s%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),H("month","M"),L("month",8),ue("M",B),ue("MM",B,z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ce(["M","MM"],function(e,t){t[_e]=k(e)-1}),ce(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[_e]=i:g(n).invalidMonth=e});var We=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fe(e){return null!=e?(Ce(this,e),c.updateOffset(this,!0),this):xe(this,"Month")}var Le=ae;var Ue=ae;function Ne(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=y([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=de(s[t]),i[t]=de(i[t]);for(t=0;t<24;t++)r[t]=de(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ge(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ve(e,t,n){var s=7+t-n;return-((7+Ge(e,0,s).getUTCDay()-t)%7)+s-1}function Ee(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+Ve(e,s,i);return o<=0?a=De(r=e-1)+o:o>De(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<e.length;){for(t=(i=rt(e[r]).split("-")).length,n=(n=rt(e[r+1]))?n.split("-"):null;0<t;){if(s=at(i.slice(0,t).join("-")))return s;if(n&&n.length>=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||11<n[_e]?_e:n[ye]<1||n[ye]>Pe(n[me],n[_e])?ye:n[ge]<0||24<n[ge]||24===n[ge]&&(0!==n[pe]||0!==n[ve]||0!==n[we])?ge:n[pe]<0||59<n[pe]?pe:n[ve]<0||59<n[ve]?ve:n[we]<0||999<n[we]?we:-1,g(e)._overflowDayOfYear&&(t<me||ye<t)&&(t=ye),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=Se),g(e).overflow=t),e}function ht(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,s,i,r,a=[];if(!e._d){var o,u;for(o=e,u=new Date(c.now()),s=o._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[ye]&&null==e._a[_e]&&function(e){var t,n,s,i,r,a,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=ht(t.GG,e._a[me],Ie(Tt(),1,4).year),s=ht(t.W,1),((i=ht(t.E,1))<1||7<i)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var l=Ie(Tt(),r,a);n=ht(t.gg,e._a[me],l.year),s=ht(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r}s<1||s>Ae(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;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||" ")+gt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),kt(e)}else e._isValid=!1}var wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Mt(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(e),Re.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,s,i=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(i){var r=Mt(i[4],i[3],i[2],i[5],i[6],i[7]);if(t=i[1],n=r,s=e,t&&Ze.indexOf(t)!==new Date(n[0],n[1],n[2]).getDay()&&(g(s).weekdayMismatch=!0,!(s._isValid=!1)))return;e._a=r,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(i[8],i[9],i[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function kt(e){if(e._f!==c.ISO_8601)if(e._f!==c.RFC_2822){e._a=[],g(e).empty=!0;var t,n,s,i,r,a,o,u,l=""+e._i,d=l.length,h=0;for(s=j(e._f,e._locale).match(N)||[],t=0;t<s.length;t++)i=s[t],(n=(l.match(le(i,e))||[])[0])&&(0<(r=l.substr(0,l.indexOf(n))).length&&g(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),h+=n.length),E[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),a=i,u=e,null!=(o=n)&&m(he,a)&&he[a](o,u._a,u,a)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=d-h,0<l.length&&g(e).unusedInput.push(l),e._a[ge]<=12&&!0===g(e).bigHour&&0<e._a[ge]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ge]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[ge],e._meridiem),ct(e),dt(e)}else Dt(e);else vt(e)}function Yt(e){var t,n,s,i,r=e._i,a=e._f;return e._locale=e._locale||lt(e._l),null===r||void 0===a&&""===r?v({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),S(r)?new M(dt(r)):(h(r)?e._d=r:o(a)?function(e){var t,n,s,i,r;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),p(t)&&(r+=g(t).charsLeftOver,r+=10*g(t).unusedTokens.length,g(t).score=r,(null==s||r<s)&&(s=r,n=t));_(e,n||t)}(e):a?kt(e):l(n=(t=e)._i)?t._d=new Date(c.now()):h(n)?t._d=new Date(n.valueOf()):"string"==typeof n?(s=t,null===(i=pt.exec(s._i))?(vt(s),!1===s._isValid&&(delete s._isValid,Dt(s),!1===s._isValid&&(delete s._isValid,c.createFromInputFallback(s)))):s._d=new Date(+i[1])):o(n)?(t._a=f(n.slice(0),function(e){return parseInt(e,10)}),ct(t)):u(n)?function(e){if(!e._d){var t=C(e._i);e._a=f([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}(t):d(n)?t._d=new Date(n):c.createFromInputFallback(t),p(e)||(e._d=null),e))}function Ot(e,t,n,s,i){var r,a={};return!0!==n&&!1!==n||(s=n,n=void 0),(u(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=new M(dt(Yt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Tt(e,t,n,s){return Ot(e,t,n,s,!1)}c.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment_mod construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),c.ISO_8601=function(){},c.RFC_2822=function(){};var xt=n("moment_mod().min is deprecated, use moment_mod.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),bt=n("moment_mod().max is deprecated, use moment_mod.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:v()});function Pt(e,t){var n,s;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ht(e){var t=C(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ye.call(Wt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,s=0;s<Wt.length;++s)if(e[Wt[s]]){if(n)return!1;parseFloat(e[Wt[s]])!==k(e[Wt[s]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=lt(),this._bubble()}function Rt(e){return e instanceof Ht}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){I(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+U(~~(e/60),2)+n+U(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",re),ue("ZZ",re),ce(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(re,e)});var Lt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var s=((n[n.length-1]||[])+"").match(Lt)||["-",0,0],i=60*s[1]+k(s[2]);return 0===i?0:"+"===s[0]?i:-i}function Nt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(S(e)||h(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),c.updateOffset(n,!1),n):Tt(e).local()}function Gt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};var Et=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function At(e,t){var n,s,i,r=e,a=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(r={},t?r[t]=e:r.milliseconds=e):(a=Et.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:k(a[ye])*n,h:k(a[ge])*n,m:k(a[pe])*n,s:k(a[ve])*n,ms:k(Ct(1e3*a[we]))*n}):(a=It.exec(e))?(n="-"===a[1]?-1:(a[1],1),r={y:jt(a[2],n),M:jt(a[3],n),w:jt(a[4],n),d:jt(a[5],n),h:jt(a[6],n),m:jt(a[7],n),s:jt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Nt(t,e),e.isBefore(t)?n=Zt(e,t):((n=Zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Tt(r.from),Tt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=new Ht(r),Rt(e)&&m(e,"_locale")&&(s._locale=e._locale),s}function jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Zt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment_mod()."+i+"(period, number) is deprecated. Please use moment_mod()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),$t(this,At(e="string"==typeof e?+e:e,t),s),this}}function $t(e,t,n,s){var i=t._milliseconds,r=Ct(t._days),a=Ct(t._months);e.isValid()&&(s=null==s||s,a&&Ce(e,xe(e,"Month")+a*n),r&&be(e,"Date",xe(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&c.updateOffset(e,r||a))}At.fn=Ht.prototype,At.invalid=function(){return At(NaN)};var qt=zt(1,"add"),Jt=zt(-1,"subtract");function Bt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(n+1,"months")-s)))||0}function Qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=n("moment_mod().lang() is deprecated. Instead, use moment_mod().localeData() to get the language configuration. Use moment_mod().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Kt(){return this._locale}function en(e,t){I(0,[e,e.length],0,t)}function tn(e,t,n,s,i){var r;return null==e?Ie(this,s,i).year:((r=Ae(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=Ee(e,t,n,s,i),a=Ge(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),ue("G",se),ue("g",se),ue("GG",B,z),ue("gg",B,z),ue("GGGG",ee,q),ue("gggg",ee,q),ue("GGGGG",te,J),ue("ggggg",te,J),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=k(e)}),fe(["gg","GG"],function(e,t,n,s){t[s]=c.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),H("quarter","Q"),L("quarter",7),ue("Q",Z),ce("Q",function(e,t){t[_e]=3*(k(e)-1)}),I("D",["DD",2],"Do","date"),H("date","D"),L("date",9),ue("D",B),ue("DD",B,z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],ye),ce("Do",function(e,t){t[ye]=k(e.match(B)[0])});var nn=Te("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),L("dayOfYear",4),ue("DDD",K),ue("DDDD",$),ce(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),I("m",["mm",2],0,"minute"),H("minute","m"),L("minute",14),ue("m",B),ue("mm",B,z),ce(["m","mm"],pe);var sn=Te("Minutes",!1);I("s",["ss",2],0,"second"),H("second","s"),L("second",15),ue("s",B),ue("ss",B,z),ce(["s","ss"],ve);var rn,an=Te("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),L("millisecond",16),ue("S",K,Z),ue("SS",K,z),ue("SSS",K,$),rn="SSSS";rn.length<=9;rn+="S")ue(rn,ne);function on(e,t){t[we]=k(1e3*("0."+e))}for(rn="S";rn.length<=9;rn+="S")ce(rn,on);var un=Te("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ln=M.prototype;function dn(e){return e}ln.add=qt,ln.calendar=function(e,t){var n=e||Tt(),s=Nt(n,this).startOf("day"),i=c.calendarFormat(this,s)||"sameElse",r=t&&(x(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,Tt(n)))},ln.clone=function(){return new M(this)},ln.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Nt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Bt(this,s)/12;break;case"month":r=Bt(this,s);break;case"quarter":r=Bt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:D(r)},ln.endOf=function(e){return void 0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},ln.format=function(e){e||(e=this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var t=A(this,e);return this.localeData().postformat(t)},ln.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){return this.from(Tt(),e)},ln.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){return this.to(Tt(),e)},ln.get=function(e){return x(this[e=R(e)])?this[e]():this},ln.invalidAt=function(){return g(this).overflow},ln.isAfter=function(e,t){var n=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},ln.isBefore=function(e,t){var n=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},ln.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},ln.isSame=function(e,t){var n,s=S(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=R(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},ln.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ln.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ln.isValid=function(){return p(this)},ln.lang=Xt,ln.locale=Qt,ln.localeData=Kt,ln.max=bt,ln.min=xt,ln.parsingFlags=function(){return _({},g(this))},ln.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=C(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(x(this[e=R(e)]))return this[e](t);return this},ln.startOf=function(e){switch(e=R(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},ln.subtract=Jt,ln.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ln.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ln.toDate=function(){return new Date(this.valueOf())},ln.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment_mod.invalid(/* "+this._i+" */)";var e="moment_mod",t="";this.isLocal()||(e=0===this.utcOffset()?"moment_mod.utc":"moment_mod.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=Oe,ln.isLeapYear=function(){return ke(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=Fe,ln.daysInMonth=function(){return Pe(this.year(),this.month())},ln.week=ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){var t=Ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){var e=this.localeData()._week;return Ae(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){return Ae(this.year(),1,4)},ln.date=nn,ln.day=ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=(n=e,s=this.localeData(),"string"==typeof n?s.weekdaysParse(n)%7||7:isNaN(n)?null:n);return this.day(this.day()%7?t:t-7)}return this.day()||7;var n,s},ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ln.hour=ln.hours=tt,ln.minute=ln.minutes=sn,ln.second=ln.seconds=an,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(re,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Gt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?$t(this,At(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Gt(this)},ln.utc=function(e){return this.utcOffset(0,e)},ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){return this.utcOffset()>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<a(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=P.prototype;function cn(e,t,n,s){var i=lt(),r=y().set(s,t);return i[n](r,e)}function fn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=cn(e,s,n,"month");return i}function mn(e,t,n,s){"boolean"==typeof e?d(t)&&(n=t,t=void 0):(t=e,e=!1,d(n=t)&&(n=t,t=void 0)),t=t||"";var i,r=lt(),a=e?r._week.dow:0;if(null!=n)return cn(t,(n+a)%7,s,"day");var o=[];for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}hn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return x(s)?s.call(t,n):s},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return x(i)?i(e,t,n,s):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||We).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[We.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=y([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=y([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},hn.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=y([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=y([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),c.lang=n("moment_mod.lang is deprecated. Use moment_mod.locale instead.",ot),c.langData=n("moment_mod.langData is deprecated. Use moment_mod.localeData instead.",lt);var _n=Math.abs;function yn(e,t,n,s){var i=At(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function pn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var Mn=wn("ms"),Sn=wn("s"),Dn=wn("m"),kn=wn("h"),Yn=wn("d"),On=wn("w"),Tn=wn("M"),xn=wn("y");function bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=bn("milliseconds"),Wn=bn("seconds"),Hn=bn("minutes"),Rn=bn("hours"),Cn=bn("days"),Fn=bn("months"),Ln=bn("years");var Un=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};var Gn=Math.abs;function Vn(e){return(0<e)-(e<0)||+e}function En(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Gn(this._milliseconds)/1e3,s=Gn(this._days),i=Gn(this._months);t=D((e=D(n/60))/60),n%=60,e%=60;var r=D(i/12),a=i%=12,o=s,u=t,l=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=h<0?"-":"",f=Vn(this._months)!==Vn(h)?"-":"",m=Vn(this._days)!==Vn(h)?"-":"",_=Vn(this._milliseconds)!==Vn(h)?"-":"";return c+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(o?m+o+"D":"")+(u||l||d?"T":"")+(u?_+u+"H":"")+(l?_+l+"M":"")+(d?_+d+"S":"")}var In=Ht.prototype;return In.isValid=function(){return this._isValid},In.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},In.add=function(e,t){return yn(this,e,t,1)},In.subtract=function(e,t){return yn(this,e,t,-1)},In.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=R(e))||"year"===e)return t=this._days+s/864e5,n=this._months+pn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},In.asMilliseconds=Mn,In.asSeconds=Sn,In.asMinutes=Dn,In.asHours=kn,In.asDays=Yn,In.asWeeks=On,In.asMonths=Tn,In.asYears=xn,In.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},In._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return 0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*gn(vn(o)+a),o=a=0),u.milliseconds=r%1e3,e=D(r/1e3),u.seconds=e%60,t=D(e/60),u.minutes=t%60,n=D(t/60),u.hours=n%24,o+=i=D(pn(a+=D(n/24))),a-=gn(vn(i)),s=D(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},In.clone=function(){return At(this)},In.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},In.milliseconds=Pn,In.seconds=Wn,In.minutes=Hn,In.hours=Rn,In.days=Cn,In.weeks=function(){return D(this.days()/7)},In.months=Fn,In.years=Ln,In.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t,n,s,i,r,a,o,u,l,d,h,c=this.localeData(),f=(n=!e,s=c,i=At(t=this).abs(),r=Un(i.as("s")),a=Un(i.as("m")),o=Un(i.as("h")),u=Un(i.as("d")),l=Un(i.as("M")),d=Un(i.as("y")),(h=r<=Nn.ss&&["s",r]||r<Nn.s&&["ss",r]||a<=1&&["m"]||a<Nn.m&&["mm",a]||o<=1&&["h"]||o<Nn.h&&["hh",o]||u<=1&&["d"]||u<Nn.d&&["dd",u]||l<=1&&["M"]||l<Nn.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=n,h[3]=0<+t,h[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,h));return e&&(f=c.pastFuture(+this,f)),c.postformat(f)},In.toISOString=En,In.toString=En,In.toJSON=En,In.locale=Qt,In.localeData=Kt,In.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),In.lang=Xt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),ue("x",se),ue("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ce("x",function(e,t,n){n._d=new Date(k(e))}),c.version="2.22.2",e=Tt,c.fn=ln,c.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},c.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=y,c.unix=function(e){return Tt(1e3*e)},c.months=function(e,t){return fn(e,t,"months")},c.isDate=h,c.locale=ot,c.invalid=v,c.duration=At,c.isMoment=S,c.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},c.parseZone=function(){return Tt.apply(null,arguments).parseZone()},c.localeData=lt,c.isDuration=Rt,c.monthsShort=function(e,t){return fn(e,t,"monthsShort")},c.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},c.defineLocale=ut,c.updateLocale=function(e,t){if(null!=t){var n,s,i=nt;null!=(s=at(e))&&(i=s._config),(n=new P(t=b(i,t))).parentLocale=st[e],st[e]=n,ot(e)}else null!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&delete st[e]);return st[e]},c.locales=function(){return s(st)},c.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},c.normalizeUnits=R,c.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},c.relativeTimeThreshold=function(e,t){return void 0!==Nn[e]&&(void 0===t?Nn[e]:(Nn[e]=t,"s"===e&&(Nn.ss=t-1),!0))},c.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},c.prototype=ln,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},c});;
|
||
var Stimulsoft;!function(e){var t;t=e.ExternalLibrary||(e.ExternalLibrary={})}(Stimulsoft||(Stimulsoft={})),function(e,t){t(Stimulsoft.ExternalLibrary.Opentype={})}(this,(function(e){"use strict";
|
||
/*! https://mths.be/codepointat v0.2.0 by @mathias */function t(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function r(e,r){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=r,this.destLen=0,this.ltree=new t,this.dtree=new t}function n(e,t,r,n){var a,o;for(a=0;a<r;++a)e[a]=0;for(a=0;a<30-r;++a)e[a+r]=a/r|0;for(o=n,a=0;a<30;++a)t[a]=o,o+=1<<e[a]}function a(e,t){var r;for(r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[24+144+r]=280+r;for(r=0;r<112;++r)e.trans[24+144+8+r]=144+r;for(r=0;r<5;++r)t.table[r]=0;for(t.table[5]=32,r=0;r<32;++r)t.trans[r]=r}function o(e,t,r,n){var a,o;for(a=0;a<16;++a)e.table[a]=0;for(a=0;a<n;++a)e.table[t[r+a]]++;for(e.table[0]=0,o=0,a=0;a<16;++a)Uo[a]=o,o+=e.table[a];for(a=0;a<n;++a)t[r+a]&&(e.trans[Uo[t[r+a]]++]=a)}function s(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function i(e,t,r){if(!t)return r;while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=e.tag&65535>>>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++]<<e.bitcount,e.bitcount+=8;var r=0,n=0,a=0,o=e.tag;do{n=2*n+(1&o),o>>>=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;l<s;++l){var h=i(e,3,0);ko[xo[l]]=h}for(o(To,ko,0,19),p=0;p<n+a;){var f=u(e,To);switch(f){case 16:var d=ko[p-1];for(c=i(e,2,3);c;--c)ko[p++]=d;break;case 17:for(c=i(e,3,3);c;--c)ko[p++]=0;break;case 18:for(c=i(e,7,11);c;--c)ko[p++]=0;break;default:ko[p++]=f;break}}o(t,ko,0,n),o(r,ko,n,a)}function p(e,t,r){while(1){var n=u(e,t),a,o,s,l;if(256===n)return ho;if(n<256)e.dest[e.destLen++]=n;else for(a=i(e,mo[n-=257],yo[n]),o=u(e,r),l=s=e.destLen-i(e,bo[o],So[o]);l<s+a;++l)e.dest[e.destLen++]=e.dest[l]}}function c(e){var t,r,n;while(e.bitcount>8)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<n.dest.length)return"function"==typeof n.dest.slice?n.dest.slice(0,n.destLen):n.dest.subarray(0,n.destLen);return n.dest}function f(e,t,r,n,a){return Math.pow(1-a,3)*e+3*Math.pow(1-a,2)*a*t+3*(1-a)*Math.pow(a,2)*r+Math.pow(a,3)*n}function d(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function v(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function g(e){throw new Error(e)}function m(e,t){e||g(t)}function y(e){return function(){return e}}function b(e){return e>=-128&&e<=127}function S(e,t,r){var n=0,a=e.length;while(t<a&&n<64&&0===e[t])++t,++n;return r.push(128|n-1),t}function x(e,t,r){var n=0,a=e.length,o=t;while(o<a&&n<64){var s=e[o];if(!b(s))break;if(0===s&&o+1<a&&0===e[o+1])break;++o,++n}r.push(n-1);for(var i=t;i<o;++i)r.push(e[i]+256&255);return o}function T(e,t,r){var n=0,a=e.length,o=t;while(o<a&&n<64){var s=e[o];if(0===s)break;if(b(s)&&o+1<a&&b(e[o+1]))break;++o,++n}r.push(64|n-1);for(var i=t;i<o;++i){var u=e[i];r.push(u+65536>>8&255,u+256&255)}return o}function k(e,t,r){for(var n=this,a=0;a<t.length;a+=1){var o=t[a];this[o.name]=o.value}if(this.tableName=e,this.fields=t,r)for(var s=Object.keys(r),i=0;i<s.length;i+=1){var u=s[i],l=r[u];void 0!==this[u]&&(this[u]=l)}}function U(e,t,r){void 0===r&&(r=t.length);var n=new Array(t.length+1);n[0]={name:e+"Count",type:"USHORT",value:r};for(var a=0;a<t.length;a++)n[a+1]={name:e+a,type:"USHORT",value:t[a]};return n}function O(e,t,r){var n=t.length,a=new Array(n+1);a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a[o+1]={name:e+o,type:"TABLE",value:r(t[o],o)};return a}function E(e,t,r){var n=t.length,a=[];a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a=a.concat(r(t[o],o));return a}function w(e){1===e.format?k.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat(U("glyph",e.glyphs))):Eo.assert(!1,"Can't create coverage table format 2 yet.")}function R(e){k.call(this,"scriptListTable",E("scriptRecord",e,(function(e,t){var r=e.script,n=r.defaultLangSys;return Eo.assert(!!n,"Unable to write GSUB: script "+e.tag+" has no default language system."),[{name:"scriptTag"+t,type:"TAG",value:e.tag},{name:"script"+t,type:"TABLE",value:new k("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new k("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:n.reqFeatureIndex}].concat(U("featureIndex",n.featureIndexes)))}].concat(E("langSys",r.langSysRecords,(function(e,t){var r=e.langSys;return[{name:"langSysTag"+t,type:"TAG",value:e.tag},{name:"langSys"+t,type:"TABLE",value:new k("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat(U("featureIndex",r.featureIndexes)))}]}))))}]})))}function L(e){k.call(this,"featureListTable",E("featureRecord",e,(function(e,t){var r=e.feature;return[{name:"featureTag"+t,type:"TAG",value:e.tag},{name:"feature"+t,type:"TABLE",value:new k("featureTable",[{name:"featureParams",type:"USHORT",value:r.featureParams}].concat(U("lookupListIndex",r.lookupListIndexes)))}]})))}function C(e,t){k.call(this,"lookupListTable",O("lookup",e,(function(e){var r=t[e.lookupType];return Eo.assert(!!r,"Unable to write GSUB lookup type "+e.lookupType+" tables."),new k("lookupTable",[{name:"lookupType",type:"USHORT",value:e.lookupType},{name:"lookupFlag",type:"USHORT",value:e.lookupFlag}].concat(O("subtable",e.subtables,r)))})))}function D(e,t){return e.getUint8(t)}function I(e,t){return e.getUint16(t,!1)}function M(e,t){return e.getInt16(t,!1)}function B(e,t){return e.getUint32(t,!1)}function G(e,t){var r,n;return e.getInt16(t,!1)+e.getUint16(t+2,!1)/65535}function A(e,t){for(var r="",n=t;n<t+4;n+=1)r+=String.fromCharCode(e.getInt8(n));return r}function F(e,t,r){for(var n=0,a=0;a<r;a+=1)n<<=8,n+=e.getUint8(t+a);return n}function N(e,t,r){for(var n=[],a=t;a<r;a+=1)n.push(e.getUint8(a));return n}function P(e){for(var t="",r=0;r<e.length;r+=1)t+=String.fromCharCode(e[r]);return t}function H(e,t){this.data=e,this.offset=t,this.relativeOffset=0}function z(e,t){var r;t.parseUShort(),e.length=t.parseULong(),e.language=t.parseULong(),e.groupCount=r=t.parseULong(),e.glyphIndexMap={};for(var n=0;n<r;n+=1)for(var a=t.parseULong(),o=t.parseULong(),s=t.parseULong(),i=a;i<=o;i+=1)e.glyphIndexMap[i]=s,s++}function W(e,t,r,n,a){var o;e.length=t.parseUShort(),e.language=t.parseUShort(),e.segCount=o=t.parseUShort()>>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<o-1;c+=1)for(var h=void 0,f=s.parseUShort(),d=i.parseUShort(),v=u.parseShort(),g=l.parseUShort(),m=d;m<=f;m+=1)0!==g?(p=l.offset+l.relativeOffset-2,p+=g,p+=2*(m-d),0!==(h=Ho.getUShort(r,p))&&(h=h+v&65535)):h=m+v&65535,e.glyphIndexMap[m]=h}function _(e,t){var r={};r.version=Ho.getUShort(e,t),Eo.argument(0===r.version,"cmap table version should be 0."),r.numTables=Ho.getUShort(e,t+2);for(var n=-1,a=r.numTables-1;a>=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<e.length;r+=1){for(var s=e.get(r),i=0;i<s.unicodes.length;i+=1)q(o,s.unicodes[i],r);o.segments=o.segments.sort((function(e,t){return e.start-t.start}))}X(o);var u=o.segments.length,l=0,p=[],c=[],h=[],f=[],d=[],v=[];for(r=0;r<u;r+=1){var g=o.segments[r];g.end<=65535&&g.start<=65535?(p=p.concat({name:"end_"+r,type:"USHORT",value:g.end}),c=c.concat({name:"start_"+r,type:"USHORT",value:g.start}),h=h.concat({name:"idDelta_"+r,type:"SHORT",value:g.delta}),f=f.concat({name:"idRangeOffset_"+r,type:"USHORT",value:g.offset}),void 0!==g.glyphId&&(d=d.concat({name:"glyph_"+r,type:"USHORT",value:g.glyphId}))):l+=1,t||void 0===g.glyphIndex||(v=(v=(v=v.concat({name:"cmap12Start_"+r,type:"ULONG",value:g.start})).concat({name:"cmap12End_"+r,type:"ULONG",value:g.end})).concat({name:"cmap12Glyph_"+r,type:"ULONG",value:g.glyphIndex}))}if(o.segCountX2=2*(u-l),o.searchRange=2*Math.pow(2,Math.floor(Math.log(u-l)/Math.log(2))),o.entrySelector=Math.log(o.searchRange/2)/Math.log(2),o.rangeShift=o.segCountX2-o.searchRange,o.fields=o.fields.concat(p),o.fields.push({name:"reservedPad",type:"USHORT",value:0}),o.fields=o.fields.concat(c),o.fields=o.fields.concat(h),o.fields=o.fields.concat(f),o.fields=o.fields.concat(d),o.cmap4Length=14+2*p.length+2+2*c.length+2*h.length+2*f.length+2*d.length,!t){var m=16+4*v.length;o.cmap12Offset=12+2*2+4+o.cmap4Length,o.fields=o.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:m},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:v.length/3}]),o.fields=o.fields.concat(v)}return o}function Y(e){this.font=e}function j(e){this.cmap=e}function Z(e,t){this.encoding=e,this.charset=t}function Q(e){var t=this;switch(e.version){case 1:this.names=Xo.slice();break;case 2:this.names=new Array(e.numberOfGlyphs);for(var r=0;r<e.numberOfGlyphs;r++)e.glyphNameIndex[r]<Xo.length?this.names[r]=Xo[e.glyphNameIndex[r]]:this.names[r]=e.names[e.glyphNameIndex[r]-Xo.length];break;case 2.5:this.names=new Array(e.numberOfGlyphs);for(var n=0;n<e.numberOfGlyphs;n++)this.names[n]=Xo[n+e.glyphNameIndex[n]];break;case 3:this.names=[];break;default:this.names=[];break}}function K(e){for(var t,r=e.tables.cmap.glyphIndexMap,n=Object.keys(r),a=0;a<n.length;a+=1){var o=n[a],s=r[o];(t=e.glyphs.get(s)).addUnicode(parseInt(o))}for(var i=0;i<e.glyphs.length;i+=1)t=e.glyphs.get(i),e.cffEncoding?e.isCIDFont?t.name="gid"+i:t.name=e.cffEncoding.charset[i]:e.glyphNames.names&&(t.name=e.glyphNames.glyphIndexToName(i))}function J(e){e._IndexToUnicodeMap={};for(var t=e.tables.cmap.glyphIndexMap,r=Object.keys(t),n=0;n<r.length;n+=1){var a=r[n],o=t[a];void 0===e._IndexToUnicodeMap[o]?e._IndexToUnicodeMap[o]={unicodes:[parseInt(a)]}:e._IndexToUnicodeMap[o].unicodes.push(parseInt(a))}}function $(e,t){t.lowMemory?J(e):K(e)}function ee(e,t,r,n,a){e.beginPath(),e.moveTo(t,r),e.lineTo(n,a),e.stroke()}function te(e,t){var r=t||new v;return{configurable:!0,get:function(){return"function"==typeof r&&(r=r()),r},set:function(e){r=e}}}function re(e){this.bindConstructorValues(e)}function ne(e,t,r){Object.defineProperty(e,t,{get:function(){return e.path,e[r]},set:function(t){e[r]=t},enumerable:!0,configurable:!0})}function ae(e,t){var r=this;if(this.font=e,this.glyphs={},Array.isArray(t))for(var n=0;n<t.length;n++){var a=t[n];a.path.unitsPerEm=e.unitsPerEm,this.glyphs[n]=a}this.length=t&&t.length||0}function oe(e,t){return new re({index:t,font:e})}function se(e,t,r,n,a,o){return function(){var s=new re({index:t,font:e});return s.path=function(){r(s,n,a);var t=o(e.glyphs,s);return t.unitsPerEm=e.unitsPerEm,t},ne(s,"xMin","_xMin"),ne(s,"xMax","_xMax"),ne(s,"yMin","_yMin"),ne(s,"yMax","_yMax"),s}}function ie(e,t,r,n){return function(){var a=new re({index:t,font:e});return a.path=function(){var t=r(e,a,n);return t.unitsPerEm=e.unitsPerEm,t},a}}function ue(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r+=1)if(!ue(e[r],t[r]))return!1;return!0}return!1}function le(e){var t;return t=e.length<1240?107:e.length<33900?1131:32768}function pe(e,t,r){var n=[],a=[],o=Ho.getCard16(e,t),s,i;if(0!==o){var u=Ho.getByte(e,t+2);s=t+(o+1)*u+2;for(var l=t+3,p=0;p<o+1;p+=1)n.push(Ho.getOffset(e,l,u)),l+=u;i=s+n[o]}else i=t+2;for(var c=0;c<n.length-1;c+=1){var h=Ho.getBytes(e,s+n[c],s+n[c+1]);r&&(h=r(h)),a.push(h)}return{objects:a,startOffset:t,endOffset:i}}function ce(e,t){var r=[],n=Ho.getCard16(e,t),a,o;if(0!==n){var s=Ho.getByte(e,t+2);a=t+(n+1)*s+2;for(var i=t+3,u=0;u<n+1;u+=1)r.push(Ho.getOffset(e,i,s)),i+=s;o=a+r[n]}else o=t+2;return{offsets:r,startOffset:t,endOffset:o}}function he(e,t,r,n,a){var o=Ho.getCard16(r,n),s=0,i;0!==o&&(s=n+(o+1)*Ho.getByte(r,n+2)+2);var u=Ho.getBytes(r,s+t[e],s+t[e+1]);return a&&(u=a(u)),u}function fe(e){var t="",r=15,n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];while(1){var a=e.parseByte(),o=a>>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<e.length;r+=1){var n=e[r][0],a=e[r][1],o=void 0;if(o=1===a.length?a[0]:a,t.hasOwnProperty(n)&&!isNaN(t[n]))throw new Error("Object "+t+" already has key "+n);t[n]=o}return t}function ge(e,t,r){t=void 0!==t?t:0;var n=new Ho.Parser(e,t),a=[],o=[];r=void 0!==r?r:e.length;while(n.relativeOffset<r){var s=n.parseByte();s<=21?(12===s&&(s=1200+n.parseByte()),a.push([s,o]),o=[]):o.push(de(n,s))}return ve(a)}function me(e,t){return t=t<=390?Wo[t]:e[t-391]}function ye(e,t,r){for(var n={},a,o=0;o<t.length;o+=1){var s=t[o];if(Array.isArray(s.type)){var i=[];i.length=s.type.length;for(var u=0;u<s.type.length;u++)void 0===(a=void 0!==e[s.op]?e[s.op][u]:void 0)&&(a=void 0!==s.value&&void 0!==s.value[u]?s.value[u]:null),"SID"===s.type[u]&&(a=me(r,a)),i[u]=a;n[s.name]=i}else void 0===(a=e[s.op])&&(a=void 0!==s.value?s.value:null),"SID"===s.type&&(a=me(r,a)),n[s.name]=a}return n}function be(e,t){var r={};return r.formatMajor=Ho.getCard8(e,t),r.formatMinor=Ho.getCard8(e,t+1),r.size=Ho.getCard8(e,t+2),r.offsetSize=Ho.getCard8(e,t+3),r.startOffset=t,r.endOffset=t+4,r}function Se(e,t){var r;return ye(ge(e,0,e.byteLength),jo,t)}function xe(e,t,r,n){var a;return ye(ge(e,t,r),Zo,n)}function Te(e,t,r,n){for(var a=[],o=0;o<r.length;o+=1){var s,i=Se(new DataView(new Uint8Array(r[o]).buffer),n);i._subrs=[],i._subrsBias=0;var u=i.private[0],l=i.private[1];if(0!==u&&0!==l){var p=xe(e,l+t,u,n);if(i._defaultWidthX=p.defaultWidthX,i._nominalWidthX=p.nominalWidthX,0!==p.subrs){var c,h=pe(e,l+p.subrs+t);i._subrs=h.objects,i._subrsBias=le(i._subrs)}i._privateDict=p}a.push(i)}return a}function ke(e,t,r,n){var a,o,s=new Ho.Parser(e,t);r-=1;var i=[".notdef"],u=s.parseCard8();if(0===u)for(var l=0;l<r;l+=1)a=s.parseSID(),i.push(me(n,a));else if(1===u)while(i.length<=r){a=s.parseSID(),o=s.parseCard8();for(var p=0;p<=o;p+=1)i.push(me(n,a)),a+=1}else{if(2!==u)throw new Error("Unknown charset format "+u);while(i.length<=r){a=s.parseSID(),o=s.parseCard16();for(var c=0;c<=o;c+=1)i.push(me(n,a)),a+=1}}return i}function Ue(e,t,r){var n,a={},o=new Ho.Parser(e,t),s=o.parseCard8();if(0===s)for(var i=o.parseCard8(),u=0;u<i;u+=1)a[n=o.parseCard8()]=u;else{if(1!==s)throw new Error("Unknown encoding format "+s);var l=o.parseCard8();n=1;for(var p=0;p<l;p+=1)for(var c=o.parseCard8(),h=o.parseCard8(),f=c;f<=c+h;f+=1)a[f]=n,n+=1}return new Z(a,r)}function Oe(e,t,r){function n(e,t){d&&p.closePath(),p.moveTo(e,t),d=!0}function a(){var e;(e=c.length%2!=0)&&!f&&(U=c.shift()+x),h+=c.length>>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(M<r.length){var B=r[M];switch(M+=1,B){case 1:a();break;case 3:a();break;case 4:c.length>1&&!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<r;u++){if((o=s.parseCard8())>=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<l;h++){if(o=s.parseCard8(),c=s.parseCard16(),o>=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<c;p++)a.push(o);p=c}if(c!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+c)}return a}function we(e,t,r,n){r.tables.cff={};var a=be(e,t),o=pe(e,a.endOffset,Ho.bytesToString),s=pe(e,o.endOffset),i=pe(e,s.endOffset,Ho.bytesToString),u=pe(e,i.endOffset);r.gsubrs=u.objects,r.gsubrsBias=le(r.gsubrs);var l=Te(e,t,s.objects,i.objects);if(1!==l.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+l.length);var p=l[0];if(r.tables.cff.topDict=p,p._privateDict&&(r.defaultWidthX=p._privateDict.defaultWidthX,r.nominalWidthX=p._privateDict.nominalWidthX),void 0!==p.ros[0]&&void 0!==p.ros[1]&&(r.isCIDFont=!0),r.isCIDFont){var c=p.fdArray,h=p.fdSelect;if(0===c||0===h)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");var f=pe(e,c+=t),d=Te(e,t,f.objects,i.objects);p._fdArray=d,h+=t,p._fdSelect=Ee(e,h,r.numGlyphs,d.length)}var v=t+p.private[1],g=xe(e,v,p.private[0],i.objects),m;if(r.defaultWidthX=g.defaultWidthX,r.nominalWidthX=g.nominalWidthX,0!==g.subrs){var y=v+g.subrs,b=pe(e,y);r.subrs=b.objects,r.subrsBias=le(r.subrs)}else r.subrs=[],r.subrsBias=0;n.lowMemory?(m=ce(e,t+p.charStrings),r.nGlyphs=m.offsets.length):(m=pe(e,t+p.charStrings),r.nGlyphs=m.objects.length);var S=ke(e,t+p.charset,r.nGlyphs,i.objects);if(0===p.encoding?r.cffEncoding=new Z(_o,S):1===p.encoding?r.cffEncoding=new Z(qo,S):r.cffEncoding=Ue(e,t+p.encoding,S),r.encoding=r.encoding||r.cffEncoding,r.glyphs=new Yo.GlyphSet(r),n.lowMemory)r._push=function(n){var a=he(n,m.offsets,e,t+p.charStrings);r.glyphs.push(n,Yo.cffGlyphLoader(r,n,Oe,a))};else for(var x=0;x<r.nGlyphs;x+=1){var T=m.objects[x];r.glyphs.push(x,Yo.cffGlyphLoader(r,x,Oe,T))}}function Re(e,t){var r,n=Wo.indexOf(e);return n>=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<e.length;r+=1)t.names.push({name:"name_"+r,type:"NAME",value:e[r]});return t}function De(e,t,r){for(var n={},a=0;a<e.length;a+=1){var o=e[a],s=t[o.name];void 0===s||ue(s,o.value)||("SID"===o.type&&(s=Re(s,r)),n[o.op]={name:o.name,type:o.type,value:s})}return n}function Ie(e,t){var r=new Fo.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=De(jo,e,t),r}function Me(e){var t=new Fo.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return t.topDicts=[{name:"topDict_0",type:"TABLE",value:e}],t}function Be(e){var t=new Fo.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);t.strings=[];for(var r=0;r<e.length;r+=1)t.strings.push({name:"string_"+r,type:"STRING",value:e[r]});return t}function Ge(){return new Fo.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}])}function Ae(e,t){for(var r=new Fo.Record("Charsets",[{name:"format",type:"Card8",value:0}]),n=0;n<e.length;n+=1){var a,o=Re(e[n],t);r.fields.push({name:"glyph_"+n,type:"SID",value:o})}return r}function Fe(e){var t=[],r=e.path;t.push({name:"width",type:"NUMBER",value:e.advanceWidth});for(var n=0,a=0,o=0;o<r.commands.length;o+=1){var s=void 0,i=void 0,u=r.commands[o];if("Q"===u.type){var l=1/3,p=2/3;u={type:"C",x:u.x,y:u.y,x1:l*n+p*u.x1,y1:l*a+p*u.y1,x2:l*u.x+p*u.x1,y2:l*u.y+p*u.y1}}if("M"===u.type)s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rmoveto",type:"OP",value:21}),n=Math.round(u.x),a=Math.round(u.y);else if("L"===u.type)s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rlineto",type:"OP",value:5}),n=Math.round(u.x),a=Math.round(u.y);else if("C"===u.type){var c=Math.round(u.x1-n),h=Math.round(u.y1-a),f=Math.round(u.x2-u.x1),d=Math.round(u.y2-u.y1);s=Math.round(u.x-u.x2),i=Math.round(u.y-u.y2),t.push({name:"dx1",type:"NUMBER",value:c}),t.push({name:"dy1",type:"NUMBER",value:h}),t.push({name:"dx2",type:"NUMBER",value:f}),t.push({name:"dy2",type:"NUMBER",value:d}),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rrcurveto",type:"OP",value:8}),n=Math.round(u.x),a=Math.round(u.y)}}return t.push({name:"endchar",type:"OP",value:14}),t}function Ne(e){for(var t=new Fo.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<e.length;r+=1){var n=e.get(r),a=Fe(n);t.charStrings.push({name:n.name,type:"CHARSTRING",value:a})}return t}function Pe(e,t){var r=new Fo.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=De(Zo,e,t),r}function He(e,t){for(var r=new Fo.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),n=1/t.unitsPerEm,a={version:t.version,fullName:t.fullName,familyName:t.familyName,weight:t.weightName,fontBBox:t.fontBBox||[0,0,0,0],fontMatrix:[n,0,0,n,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},o={},s=[],i,u=1;u<e.length;u+=1)i=e.get(u),s.push(i.name);var l=[];r.header=Le(),r.nameIndex=Ce([t.postScriptName]);var p=Ie(a,l);r.topDictIndex=Me(p),r.globalSubrIndex=Ge(),r.charsets=Ae(s,l),r.charStringsIndex=Ne(e),r.privateDict=Pe(o,l),r.stringIndex=Be(l);var c=r.header.sizeOf()+r.nameIndex.sizeOf()+r.topDictIndex.sizeOf()+r.stringIndex.sizeOf()+r.globalSubrIndex.sizeOf();return a.charset=c,a.encoding=0,a.charStrings=a.charset+r.charsets.sizeOf(),a.private[1]=a.charStrings+r.charStringsIndex.sizeOf(),p=Ie(a,l),r.topDictIndex=Me(p),r}function ze(e,t){var r={},n=new Ho.Parser(e,t);return r.version=n.parseVersion(),r.fontRevision=Math.round(1e3*n.parseFixed())/1e3,r.checkSumAdjustment=n.parseULong(),r.magicNumber=n.parseULong(),Eo.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=n.parseUShort(),r.unitsPerEm=n.parseUShort(),r.created=n.parseLongDateTime(),r.modified=n.parseLongDateTime(),r.xMin=n.parseShort(),r.yMin=n.parseShort(),r.xMax=n.parseShort(),r.yMax=n.parseShort(),r.macStyle=n.parseUShort(),r.lowestRecPPEM=n.parseUShort(),r.fontDirectionHint=n.parseShort(),r.indexToLocFormat=n.parseShort(),r.glyphDataFormat=n.parseShort(),r}function We(e){var t=Math.round((new Date).getTime()/1e3)+2082844800,r=t;return e.createdTimestamp&&(r=e.createdTimestamp+2082844800),new Fo.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:t},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],e)}function _e(e,t){var r={},n=new Ho.Parser(e,t);return r.version=n.parseVersion(),r.ascender=n.parseShort(),r.descender=n.parseShort(),r.lineGap=n.parseShort(),r.advanceWidthMax=n.parseUShort(),r.minLeftSideBearing=n.parseShort(),r.minRightSideBearing=n.parseShort(),r.xMaxExtent=n.parseShort(),r.caretSlopeRise=n.parseShort(),r.caretSlopeRun=n.parseShort(),r.caretOffset=n.parseShort(),n.relativeOffset+=8,r.metricDataFormat=n.parseShort(),r.numberOfHMetrics=n.parseUShort(),r}function qe(e){return new Fo.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],e)}function Xe(e,t,r,n,a){for(var o,s,i=new Ho.Parser(e,t),u=0;u<n;u+=1){u<r&&(o=i.parseUShort(),s=i.parseShort());var l=a.get(u);l.advanceWidth=o,l.leftSideBearing=s}}function Ve(e,t,r,n,a){var o,s;e._hmtxTableData={};for(var i=new Ho.Parser(t,r),u=0;u<a;u+=1)u<n&&(o=i.parseUShort(),s=i.parseShort()),e._hmtxTableData[u]={advanceWidth:o,leftSideBearing:s}}function Ye(e,t,r,n,a,o,s){s.lowMemory?Ve(e,t,r,n,a):Xe(t,r,n,a,o)}function je(e){for(var t=new Fo.Table("hmtx",[]),r=0;r<e.length;r+=1){var n=e.get(r),a=n.advanceWidth||0,o=n.leftSideBearing||0;t.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:a}),t.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:o})}return t}function Ze(e){for(var t=new Fo.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:e.length}]),r="",n=12+4*e.length,a=0;a<e.length;++a){var o=r.indexOf(e[a]);o<0&&(o=r.length,r+=e[a]),t.fields.push({name:"offset "+a,type:"USHORT",value:n+o}),t.fields.push({name:"length "+a,type:"USHORT",value:e[a].length})}return t.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),t}function Qe(e,t){var r=new Ho.Parser(e,t),n=r.parseULong();Eo.argument(1===n,"Unsupported ltag table version."),r.skip("uLong",1);for(var a=r.parseULong(),o=[],s=0;s<a;s++){for(var i="",u=t+r.parseUShort(),l=r.parseUShort(),p=u;p<u+l;++p)i+=String.fromCharCode(e.getInt8(p));o.push(i)}return o}function Ke(e,t){var r={},n=new Ho.Parser(e,t);return r.version=n.parseVersion(),r.numGlyphs=n.parseUShort(),1===r.version&&(r.maxPoints=n.parseUShort(),r.maxContours=n.parseUShort(),r.maxCompositePoints=n.parseUShort(),r.maxCompositeContours=n.parseUShort(),r.maxZones=n.parseUShort(),r.maxTwilightPoints=n.parseUShort(),r.maxStorage=n.parseUShort(),r.maxFunctionDefs=n.parseUShort(),r.maxInstructionDefs=n.parseUShort(),r.maxStackElements=n.parseUShort(),r.maxSizeOfInstructions=n.parseUShort(),r.maxComponentElements=n.parseUShort(),r.maxComponentDepth=n.parseUShort()),r}function Je(e){return new Fo.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:e}])}function $e(e,t,r){switch(e){case 0:if(65535===t)return"und";if(r)return r[t];break;case 1:return ns[t];case 3:return os[t]}return}function et(e,t,r){switch(e){case 0:return ss;case 1:return us[r]||is[t];case 3:if(1===t||10===t)return ss;break}return}function tt(e,t,r){for(var n={},a=new Ho.Parser(e,t),o=a.parseUShort(),s=a.parseUShort(),i=a.offset+a.parseUShort(),u=0;u<s;u++){var l=a.parseUShort(),p=a.parseUShort(),c=a.parseUShort(),h=a.parseUShort(),f=rs[h]||h,d=a.parseUShort(),v=a.parseUShort(),g=$e(l,c,r),m=et(l,p,c);if(void 0!==m&&void 0!==g){var y=void 0;if(y=m===ss?Lo.UTF16(e,i+v,d):Lo.MACSTRING(e,i+v,d,m)){var b=n[f];void 0===b&&(b=n[f]={}),b[g]=y}}}var S=0;return 1===o&&(S=a.parseUShort()),n}function rt(e){var t={};for(var r in e)t[e[r]]=parseInt(r);return t}function nt(e,t,r,n,a,o){return new Fo.Record("NameRecord",[{name:"platformID",type:"USHORT",value:e},{name:"encodingID",type:"USHORT",value:t},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:n},{name:"length",type:"USHORT",value:a},{name:"offset",type:"USHORT",value:o}])}function at(e,t){var r=e.length,n=t.length-r+1;e:for(var a=0;a<n;a++)for(;a<n;a++){for(var o=0;o<r;o++)if(t[a+o]!==e[o])continue e;return a}return-1}function ot(e,t){var r=at(e,t);if(r<0){r=t.length;for(var n=0,a=e.length;n<a;++n)t.push(e[n])}return r}function st(e,t){var r,n=[],a={},o=rt(rs);for(var s in e){var i=o[s];if(void 0===i&&(i=s),r=parseInt(i),isNaN(r))throw new Error('Name table entry "'+s+'" does not exist, see nameTableNames for complete list.');a[r]=e[s],n.push(r)}for(var u=rt(ns),l=rt(os),p=[],c=[],h=0;h<n.length;h++){var f=a[r=n[h]];for(var d in f){var v=f[d],g=1,m=u[d],y=as[m],b=et(g,y,m),S=Co.MACSTRING(v,b);void 0===S&&(g=0,(m=t.indexOf(d))<0&&(m=t.length,t.push(d)),y=4,S=Co.UTF16(v));var x=ot(S,c);p.push(nt(g,y,m,r,S.length,x));var T=l[d];if(void 0!==T){var k=Co.UTF16(v),U=ot(k,c);p.push(nt(3,1,T,r,k.length,U))}}}p.sort((function(e,t){return e.platformID-t.platformID||e.encodingID-t.encodingID||e.languageID-t.languageID||e.nameID-t.nameID}));for(var O=new Fo.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:p.length},{name:"stringOffset",type:"USHORT",value:6+12*p.length}]),E=0;E<p.length;E++)O.fields.push({name:"record_"+E,type:"RECORD",value:p[E]});return O.fields.push({name:"strings",type:"LITERAL",value:c}),O}function it(e){for(var t=0;t<ps.length;t+=1){var r=ps[t];if(e>=r.begin&&e<r.end)return t}return-1}function ut(e,t){var r={},n=new Ho.Parser(e,t);r.version=n.parseUShort(),r.xAvgCharWidth=n.parseShort(),r.usWeightClass=n.parseUShort(),r.usWidthClass=n.parseUShort(),r.fsType=n.parseUShort(),r.ySubscriptXSize=n.parseShort(),r.ySubscriptYSize=n.parseShort(),r.ySubscriptXOffset=n.parseShort(),r.ySubscriptYOffset=n.parseShort(),r.ySuperscriptXSize=n.parseShort(),r.ySuperscriptYSize=n.parseShort(),r.ySuperscriptXOffset=n.parseShort(),r.ySuperscriptYOffset=n.parseShort(),r.yStrikeoutSize=n.parseShort(),r.yStrikeoutPosition=n.parseShort(),r.sFamilyClass=n.parseShort(),r.panose=[];for(var a=0;a<10;a++)r.panose[a]=n.parseByte();return r.ulUnicodeRange1=n.parseULong(),r.ulUnicodeRange2=n.parseULong(),r.ulUnicodeRange3=n.parseULong(),r.ulUnicodeRange4=n.parseULong(),r.achVendID=String.fromCharCode(n.parseByte(),n.parseByte(),n.parseByte(),n.parseByte()),r.fsSelection=n.parseUShort(),r.usFirstCharIndex=n.parseUShort(),r.usLastCharIndex=n.parseUShort(),r.sTypoAscender=n.parseShort(),r.sTypoDescender=n.parseShort(),r.sTypoLineGap=n.parseShort(),r.usWinAscent=n.parseUShort(),r.usWinDescent=n.parseUShort(),r.version>=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<r.numberOfGlyphs;a++)r.glyphNameIndex[a]=n.parseUShort();r.names=[];for(var o=0;o<r.numberOfGlyphs;o++)if(r.glyphNameIndex[o]>=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;i<r.numberOfGlyphs;i++)r.offset[i]=n.parseChar();break}return r}function ct(){return new Fo.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}function ht(e,t){var r=new H(e,t=t||0),n=r.parseVersion(1);return Eo.argument(1===n||1.1===n,"Unsupported GSUB table version."),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(fs)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(fs),variations:r.parseFeatureVariationsList()}}function ft(e){return new Fo.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new Fo.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new Fo.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new Fo.LookupList(e.lookups,vs)}])}function dt(e,t){var r=new Ho.Parser(e,t),n=r.parseULong();Eo.argument(1===n,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var a=r.parseULong(),o={},s=0;s<a;s++){var i=r.parseTag(),u=r.parseULong(),l=r.parseULong(),p=Lo.UTF8(e,t+u,l);o[i]=p}return o}function vt(e){var t=Object.keys(e).length,r="",n=16+12*t,a=new Fo.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:n},{name:"numTags",type:"ULONG",value:t}]);for(var o in e){var s=r.length;r+=e[o],a.fields.push({name:"tag "+o,type:"TAG",value:o}),a.fields.push({name:"offset "+o,type:"ULONG",value:n+s}),a.fields.push({name:"length "+o,type:"ULONG",value:e[o].length})}return a.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),a}function gt(e){return Math.log(e)/Math.log(2)|0}function mt(e){while(e.length%4!=0)e.push(0);for(var t=0,r=0;r<e.length;r+=4)t+=(e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3];return t%=Math.pow(2,32)}function yt(e,t,r,n){return new Fo.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==e?e:""},{name:"checkSum",type:"ULONG",value:void 0!==t?t:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==n?n:0}])}function bt(e){var t=new Fo.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);t.tables=e,t.numTables=e.length;var r=Math.pow(2,gt(t.numTables));t.searchRange=16*r,t.entrySelector=gt(r),t.rangeShift=16*t.numTables-t.searchRange;var n=[],a=[],o=t.sizeOf()+yt().sizeOf()*t.numTables;while(o%4!=0)o+=1,a.push({name:"padding",type:"BYTE",value:0});for(var s=0;s<e.length;s+=1){var i=e[s];Eo.argument(4===i.tableName.length,"Table name"+i.tableName+" is invalid.");var u=i.sizeOf(),l=yt(i.tableName,mt(i.encode()),o,u);n.push({name:l.tag+" Table Record",type:"RECORD",value:l}),a.push({name:i.tableName+" table",type:"RECORD",value:i}),o+=u,Eo.argument(!isNaN(o),"Something went wrong calculating the offset.");while(o%4!=0)o+=1,a.push({name:"padding",type:"BYTE",value:0})}return n.sort((function(e,t){return e.value.tag>t.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;n<t.length;n+=1){var a=e.charToGlyphIndex(t[n]),o;if(a>0)return e.glyphs.get(a).getMetrics()}return r}function xt(e){for(var t=0,r=0;r<e.length;r+=1)t+=e[r];return t/e.length}function Tt(e){for(var t=[],r=[],n=[],a=[],o=[],s=[],i=[],u,l=0,p=0,c=0,h=0,f=0,d=0;d<e.glyphs.length;d+=1){var v=e.glyphs.get(d),g=0|v.unicode;if(isNaN(v.advanceWidth))throw new Error("Glyph "+v.name+" ("+d+"): advanceWidth is not a number.");(u>g||void 0===u)&&g>0&&(u=g),l<g&&(l=g);var m=cs.getUnicodeRange(g);if(m<32)p|=1<<m;else if(m<64)c|=1<<m-32;else if(m<96)h|=1<<m-64;else{if(!(m<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");f|=1<<m-96}if(".notdef"===v.name)continue;var y=v.getMetrics();t.push(y.xMin),r.push(y.yMin),n.push(y.xMax),a.push(y.yMax),s.push(y.leftSideBearing),i.push(y.rightSideBearing),o.push(v.advanceWidth)}var b={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,n),yMax:Math.max.apply(null,a),advanceWidthMax:Math.max.apply(null,o),advanceWidthAvg:xt(o),minLeftSideBearing:Math.min.apply(null,s),maxLeftSideBearing:Math.max.apply(null,s),minRightSideBearing:Math.min.apply(null,i)};b.ascender=e.ascender,b.descender=e.descender;var S=Ko.make({flags:3,unitsPerEm:e.unitsPerEm,xMin:b.xMin,yMin:b.yMin,xMax:b.xMax,yMax:b.yMax,lowestRecPPEM:3,createdTimestamp:e.createdTimestamp}),x=Jo.make({ascender:b.ascender,descender:b.descender,advanceWidthMax:b.advanceWidthMax,minLeftSideBearing:b.minLeftSideBearing,minRightSideBearing:b.minRightSideBearing,xMaxExtent:b.maxLeftSideBearing+(b.xMax-b.xMin),numberOfHMetrics:e.glyphs.length}),T=ts.make(e.glyphs.length),k=cs.make({xAvgCharWidth:Math.round(b.advanceWidthAvg),usWeightClass:e.tables.os2.usWeightClass,usWidthClass:e.tables.os2.usWidthClass,usFirstCharIndex:u,usLastCharIndex:l,ulUnicodeRange1:p,ulUnicodeRange2:c,ulUnicodeRange3:h,ulUnicodeRange4:f,fsSelection:e.tables.os2.fsSelection,sTypoAscender:b.ascender,sTypoDescender:b.descender,sTypoLineGap:0,usWinAscent:b.yMax,usWinDescent:Math.abs(b.yMin),ulCodePageRange1:1,sxHeight:St(e,"xyvw",{yMax:Math.round(b.ascender/2)}).yMax,sCapHeight:St(e,"HIKLEFJMNTZBDPRAGOQSUVWXY",b).yMax,usDefaultChar:e.hasChar(" ")?32:0,usBreakChar:e.hasChar(" ")?32:0}),U=$o.make(e.glyphs),O=zo.make(e.glyphs),E=e.getEnglishName("fontFamily"),w=e.getEnglishName("fontSubfamily"),R=E+" "+w,L=e.getEnglishName("postScriptName");L||(L=E.replace(/\s/g,"")+"-"+w);var C={};for(var D in e.names)C[D]=e.names[D];C.uniqueID||(C.uniqueID={en:e.getEnglishName("manufacturer")+":"+R}),C.postScriptName||(C.postScriptName={en:L}),C.preferredFamily||(C.preferredFamily=e.names.fontFamily),C.preferredSubfamily||(C.preferredSubfamily=e.names.fontSubfamily);var I=[],M=ls.make(C,I),B=I.length>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<W.length;q+=1)if("head table"===W[q].name){W[q].value.checkSumAdjustment=2981146554-z,_=!0;break}if(!_)throw new Error("Could not find head table with checkSum to adjust.");return P}function kt(e,t){var r=0,n=e.length-1;while(r<=n){var a=r+n>>>1,o=e[a].tag;if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function Ut(e,t){var r=0,n=e.length-1;while(r<=n){var a=r+n>>>1,o=e[a];if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function Ot(e,t){var r,n=0,a=e.length-1;while(n<=a){var o=n+a>>>1,s=(r=e[o]).start;if(s===t)return r;s<t?n=o+1:a=o-1}if(n>0){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;n<r;n++)if(e[n]!==t[n])return!1;return!0}function Ct(e,t,r){for(var n=e.subtables,a=0;a<n.length;a++){var o=n[a];if(o.substFormat===t)return o}if(r)return n.push(r),r;return}function Dt(){return"undefined"!=typeof window}function It(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;++n)r[n]=e[n];return t}function Mt(e){for(var t=new Buffer(e.byteLength),r=new Uint8Array(e),n=0;n<t.length;++n)t[n]=r[n];return t}function Bt(e,t){if(!e)throw t}function Gt(e,t,r,n,a){var o;return(t&n)>0?(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;i<e.numberOfContours;i+=1)s.push(n.parseUShort());e.instructionLength=n.parseUShort(),e.instructions=[];for(var u=0;u<e.instructionLength;u+=1)e.instructions.push(n.parseByte());var l=s[s.length-1]+1;a=[];for(var p=0;p<l;p+=1)if(o=n.parseByte(),a.push(o),(8&o)>0)for(var c=n.parseByte(),h=0;h<c;h+=1)a.push(o),p+=1;if(Eo.argument(a.length===l,"Bad flags."),s.length>0){var f=[],d;if(l>0){for(var v=0;v<l;v+=1)o=a[v],(d={}).onCurve=!!(1&o),d.lastPointOfContour=s.indexOf(v)>=0,f.push(d);for(var g=0,m=0;m<l;m+=1)o=a[m],(d=f[m]).x=Gt(n,o,g,2,16),g=d.x;for(var y=0,b=0;b<l;b+=1)o=a[b],(d=f[b]).y=Gt(n,o,y,4,32),y=d.y}e.points=f}else e.points=[]}else if(0===e.numberOfContours)e.points=[];else{e.isComposite=!0,e.points=[],e.components=[];var S=!0;while(S){a=n.parseUShort();var x={glyphIndex:n.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};(1&a)>0?(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;T<e.instructionLength;T+=1)e.instructions.push(n.parseByte())}}}function Ft(e,t){for(var r=[],n=0;n<e.length;n+=1){var a=e[n],o={x:t.xScale*a.x+t.scale01*a.y+t.dx,y:t.scale10*a.x+t.yScale*a.y+t.dy,onCurve:a.onCurve,lastPointOfContour:a.lastPointOfContour};r.push(o)}return r}function Nt(e){for(var t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];r.push(a),a.lastPointOfContour&&(t.push(r),r=[])}return Eo.argument(0===r.length,"There are still points left in the current contour."),t}function Pt(e){var t=new v;if(!e)return t;for(var r=Nt(e),n=0;n<r.length;++n){var a=r[n],o=null,s=a[a.length-1],i=a[0];if(s.onCurve)t.moveTo(s.x,s.y);else if(i.onCurve)t.moveTo(i.x,i.y);else{var u={x:.5*(s.x+i.x),y:.5*(s.y+i.y)};t.moveTo(u.x,u.y)}for(var l=0;l<a.length;++l)if(o=s,s=i,i=a[(l+1)%a.length],s.onCurve)t.lineTo(s.x,s.y);else{var p=o,c=i;o.onCurve||(p={x:.5*(s.x+o.x),y:.5*(s.y+o.y)}),i.onCurve||(c={x:.5*(s.x+i.x),y:.5*(s.y+i.y)}),t.quadraticCurveTo(s.x,s.y,c.x,c.y)}t.closePath()}return t}function Ht(e,t){if(t.isComposite)for(var r=0;r<t.components.length;r+=1){var n=t.components[r],a=e.get(n.glyphIndex);if(a.getPath(),a.points){var o=void 0;if(void 0===n.matchedPoints)o=Ft(a.points,n);else{if(n.matchedPoints[0]>t.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<r.length-1;o+=1){var s=r[o],i;s!==r[o+1]?a.push(o,Yo.ttfGlyphLoader(n,o,At,e,t+s,Ht)):a.push(o,Yo.glyphLoader(n,o))}return a}function Wt(e,t,r,n){var a=new Yo.GlyphSet(n);return n._push=function(o){var s=r[o],i;s!==r[o+1]?a.push(o,Yo.ttfGlyphLoader(n,o,At,e,t+s,Ht)):a.push(o,Yo.glyphLoader(n,o))},a}function _t(e,t,r,n,a){return a.lowMemory?Wt(e,t,r,n):zt(e,t,r,n)}function qt(e){this.font=e,this.getCommands=function(e){return bs.getPath(e).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function Xt(e){return e}function Vt(e){return Math.sign(e)*Math.round(Math.abs(e))}function Yt(e){return Math.sign(e)*Math.round(Math.abs(2*e))/2}function jt(e){return Math.sign(e)*(Math.round(Math.abs(e)+.5)-.5)}function Zt(e){return Math.sign(e)*Math.ceil(Math.abs(e))}function Qt(e){return Math.sign(e)*Math.floor(Math.abs(e))}function Kt(e,t){this.x=e,this.y=t,this.axis=void 0,this.slope=t/e,this.normalSlope=-e/t,Object.freeze(this)}function Jt(e,t){var r=Math.sqrt(e*e+t*t);return t/=r,1===(e/=r)&&0===t?Os:0===e&&1===t?Es:new Kt(e,t)}function $t(e,t,r,n){this.x=this.xo=Math.round(64*e)/64,this.y=this.yo=Math.round(64*t)/64,this.lastPointOfContour=r,this.onCurve=n,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}function er(e,t){switch(this.env=e,this.stack=[],this.prog=t,e){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=Os,this.round=Vt}}function tr(e){for(var t=e.tZone=new Array(e.gZone.length),r=0;r<t.length;r++)t[r]=new $t(0,0)}function rr(e,t){var r=e.prog,n=e.ip,a=1,o;do{if(88===(o=r[++n]))a++;else if(89===o)a--;else if(64===o)n+=r[n+1]+1;else if(65===o)n+=2*r[n+1]+1;else if(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;i<a;i++)xs(t),e.DEBUG&&console.log(++t.step,i+1<a?"next loopcall":"done loopcall",i);t.ip=o,t.prog=s}function Br(t){var r=t.stack.pop();e.DEBUG&&console.log(t.step,"CALL[]",r);var n=t.ip,a=t.prog;t.prog=t.funcs[r],xs(t),t.ip=n,t.prog=a,e.DEBUG&&console.log(++t.step,"returning from",r)}function Gr(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"CINDEX[]",n),r.push(r[r.length-n])}function Ar(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"MINDEX[]",n),r.push(r.splice(r.length-n,1)[0])}function Fr(t){if("fpgm"!==t.env)throw new Error("FDEF not allowed here");var r=t.stack,n=t.prog,a=t.ip,o=r.pop(),s=a;e.DEBUG&&console.log(t.step,"FDEF[]",o);while(45!==n[++a]);t.ip=a,t.funcs[o]=n.slice(s+1,a)}function Nr(t,r){var n=r.stack.pop(),a=r.z0[n],o=r.fv,s=r.pv;e.DEBUG&&console.log(r.step,"MDAP["+t+"]",n);var i=s.distance(a,ws);t&&(i=r.round(i)),o.setRelative(a,ws,i,s),o.touch(a),r.rp0=r.rp1=n}function Pr(t,r){var n=r.z2,a=n.length-2,o,s,i;e.DEBUG&&console.log(r.step,"IUP["+t.axis+"]");for(var u=0;u<a;u++){if(o=n[u],t.touched(o))continue;if((s=o.prevTouched(t))===o)continue;s===(i=o.nextTouched(t))&&t.setRelative(o,o,t.distance(s,s,!1,!0),t,!0),t.interpolate(o,s,i,t)}}function Hr(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=r.loop,l=r.z2;while(u--){var p=n.pop(),c=l[p],h=i.distance(o,o,!1,!0);s.setRelative(c,c,h,i),s.touch(c),e.DEBUG&&console.log(r.step,(r.loop>1?"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;f<h;f++)p=l[f],s.setRelative(p,p,c,i)}function _r(t){var r=t.stack,n=t.loop,a=t.fv,o=r.pop()/64,s=t.z2;while(n--){var i=r.pop(),u=s[i];e.DEBUG&&console.log(t.step,(t.loop>1?"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)<r.cvCutIn&&(p=l),p=r.round(p)),i.setRelative(s,ws,p,u),0===r.zp0&&(s.xo=s.x,s.yo=s.y),i.touch(s),r.rp0=r.rp1=o}function Zr(t){var r=t.prog,n=t.ip,a=t.stack,o=r[++n];e.DEBUG&&console.log(t.step,"NPUSHB[]",o);for(var s=0;s<o;s++)a.push(r[++n]);t.ip=n}function Qr(t){var r=t.ip,n=t.prog,a=t.stack,o=n[++r];e.DEBUG&&console.log(t.step,"NPUSHW[]",o);for(var s=0;s<o;s++){var i=n[++r]<<8|n[++r];32768&i&&(i=-((65535^i)+1)),a.push(i)}t.ip=r}function Kr(t){var r=t.stack,n=t.store;n||(n=t.store=[]);var a=r.pop(),o=r.pop();e.DEBUG&&console.log(t.step,"WS",a,o),n[o]=a}function Jr(t){var r=t.stack,n=t.store,a=r.pop();e.DEBUG&&console.log(t.step,"RS",a);var o=n&&n[a]||0;r.push(o)}function $r(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"WCVTP",n,a),t.cvt[a]=n/64}function en(t){var r=t.stack,n=r.pop();e.DEBUG&&console.log(t.step,"RCVT",n),r.push(64*t.cvt[n])}function tn(t,r){var n=r.stack,a=n.pop(),o=r.z2[a];e.DEBUG&&console.log(r.step,"GC["+t+"]",a),n.push(64*r.dpv.distance(o,ws,t,!1))}function rn(t,r){var n=r.stack,a=n.pop(),o=n.pop(),s=r.z1[a],i=r.z0[o],u=r.dpv.distance(i,s,t,t);e.DEBUG&&console.log(r.step,"MD["+t+"]",a,o,"->",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(a<n?1:0)}function sn(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"LTEQ[]",n,a),r.push(a<=n?1:0)}function un(t){var r=t.stack,n=r.pop(),a=r.pop();e.DEBUG&&console.log(t.step,"GT[]",n,a),r.push(a>n?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<a;c++){var h=n.pop(),f=n.pop(),d;if(u+((240&f)>>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<a;u++){var l=n.pop(),p=n.pop(),c;if(s+((240&p)>>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<t;s++)n.push(a[++o]);r.ip=o}function Yn(t,r){var n=r.ip,a=r.prog,o=r.stack;e.DEBUG&&console.log(r.ip,"PUSHW["+t+"]");for(var s=0;s<t;s++){var i=a[++n]<<8|a[++n];32768&i&&(i=-((65535^i)+1)),o.push(i)}r.ip=n}function jn(t,r,n,a,o,s){var i=s.stack,u=t&&i.pop(),l=i.pop(),p=s.rp0,c=s.z0[p],h=s.z1[l],f=s.minDis,d=s.fv,v=s.dpv,g,m,y,b;y=(m=g=v.distance(h,c,!0,!0))>=0?1:-1,m=Math.abs(m),t&&(b=s.cvt[u],a&&Math.abs(m-b)<s.cvCutIn&&(m=b)),n&&m<f&&(m=f),a&&(m=s.round(m)),d.setRelative(h,c,y*m,v),d.touch(h),e.DEBUG&&console.log(s.step,(t?"MIRP[":"MDRP[")+(r?"M":"m")+(n?">":"_")+(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<r.length;n++){var a=r[n];if(e>=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<e.length;n++){var a=e[n],o=t.current,s=la(o=Array.isArray(o)?o[0]:o,a);-1!==s&&r.push(s)}if(r.length!==e.length)return-1;return r}function fa(e,t){var r=this,n=t.inputCoverage.length+t.lookaheadCoverage.length+t.backtrackCoverage.length;if(e.context.length<n)return[];var a=ha(t.inputCoverage,e);if(-1===a)return[];var o=t.inputCoverage.length-1;if(e.lookahead.length<t.lookaheadCoverage.length)return[];var s=e.lookahead.slice(o);while(s.length&&aa(s[0].char))s.shift();var i=new Jn(s,0),u=ha(t.lookaheadCoverage,i),l=[].concat(e.backtrack);l.reverse();while(l.length&&aa(l[0].char))l.shift();if(l.length<t.backtrackCoverage.length)return[];var p=new Jn(l,0),c=ha(t.backtrackCoverage,p),h,f=[];if(a.length===t.inputCoverage.length&&u.length===t.lookaheadCoverage.length&&c.length===t.backtrackCoverage.length)for(var d=0;d<t.lookupRecords.length;d++)for(var v,g=t.lookupRecords[d].lookupListIndex,m=this.getLookupByIndex(g),y=0;y<m.subtables.length;y++){var b=m.subtables[y],S=this.getLookupMethod(m,b),x;if("12"===this.getSubstitutionType(m,b))for(var T=0;T<a.length;T++){var k,U=S(e.get(T));U&&f.push(U)}}return f}function da(e,t){var r,n=la(e.current,t.coverage),a;if(-1===n)return null;for(var o=t.ligatureSets[n],s=0;s<o.length;s++){a=o[s];for(var i=0;i<a.components.length;i++){var u,l;if(e.lookahead[i]!==a.components[i])break;if(i===a.components.length-1)return a}}return null}function va(e,t){var r=la(e,t.coverage);if(-1===r)return null;return t.sequences[r]}function ga(e){var t=e.current,r=e.get(-1);return null===r&&ra(t)||!ra(r)&&ra(t)}function ma(e){var t=e.get(1);return null===t||!ra(t)}function ya(e){var t=e.current,r=e.get(-1);return(ra(t)||aa(t))&&!ra(r)}function ba(e){var t=e.get(1);switch(!0){case null===t:return!0;case!ra(t)&&!aa(t):var r=sa(t);if(!r)return!0;if(r){var n=!1;if(!(n=e.lookahead.some((function(e){return ra(e)||aa(e)}))))return!0}break;default:return!1}}function Sa(e,t,r){t[r].setState(e.tag,e.substitution)}function xa(e,t,r){t[r].setState(e.tag,e.substitution)}function Ta(e,t,r){e.substitution.forEach((function(n,a){var o;t[r+a].setState(e.tag,n)}))}function ka(e,t,r){var n=t[r];n.setState(e.tag,e.substitution.ligGlyph);for(var a=e.substitution.components.length,o=0;o<a;o++)(n=t[r+o+1]).setState("deleted",!0)}function Ua(e,t,r){e instanceof ua&&Ds[e.id](e,t,r)}function Oa(e){for(var t=[].concat(e.backtrack),r=t.length-1;r>=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;t<e.lookahead.length;t++){var r,n;if(!aa(e.lookahead[t]))return!0}return!1}function wa(e){var t=this,r="arab",n=this.featuresTags[r],a=this.tokenizer.getRangeTokens(e);if(1===a.length)return;var o=new Jn(a.map((function(e){return e.getState("glyphIndex")})),0),s=new Jn(a.map((function(e){return e.char})),0);a.forEach((function(e,i){if(aa(e.char))return;o.setCurrentIndex(i),s.setCurrentIndex(i);var u=0,l;switch(Oa(s)&&(u|=1),Ea(s)&&(u|=2),u){case 1:l="fina";break;case 2:l="init";break;case 3:l="medi";break}if(-1===n.indexOf(l))return;var p=t.query.lookupFeature({tag:l,script:r,contextParams:o});if(p instanceof Error)return console.info(p.message);p.forEach((function(e,t){e instanceof ua&&(Ua(e,a,t),o.context[t]=e.substitution)}))}))}function Ra(e,t){var r;return new Jn(e.map((function(e){return e.activeState.value})),t||0)}function La(e){var t=this,r="arab",n=this.tokenizer.getRangeTokens(e),a=Ra(n);a.context.forEach((function(e,o){a.setCurrentIndex(o);var s=t.query.lookupFeature({tag:"rlig",script:r,contextParams:a});s.length&&(s.forEach((function(e){return Ua(e,n,o)})),a=Ra(n))}))}function Ca(e){var t=e.current,r=e.get(-1);return null===r&&oa(t)||!oa(r)&&oa(t)}function Da(e){var t=e.get(1);return null===t||!oa(t)}function Ia(e,t){var r;return new Jn(e.map((function(e){return e.activeState.value})),t||0)}function Ma(e){var t=this,r="latn",n=this.tokenizer.getRangeTokens(e),a=Ia(n);a.context.forEach((function(e,o){a.setCurrentIndex(o);try{var s=t.query.lookupFeature({tag:"liga",script:r,contextParams:a});s.length&&(s.forEach((function(e){return Ua(e,n,o)})),a=Ia(n))}catch(e){}}))}function Ba(e){this.baseDir=e||"ltr",this.tokenizer=new ta,this.featuresTags={}}function Ga(e){var t=this.contextChecks[e+"Check"];return this.tokenizer.registerContextChecker(e,t.startCheck,t.endCheck)}function Aa(){return Ga.call(this,"latinWord"),Ga.call(this,"arabicWord"),Ga.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function Fa(){var e=this,t;this.tokenizer.getContextRanges("arabicSentence").forEach((function(t){var r=e.tokenizer.getRangeTokens(t);e.tokenizer.replaceRange(t.startIndex,t.endOffset,r.reverse())}))}function Na(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply "+"arabic presentation features.")}function Pa(){var e=this,t="arab",r;if(!this.featuresTags.hasOwnProperty(t))return;Na.call(this),this.tokenizer.getContextRanges("arabicWord").forEach((function(t){wa.call(e,t)}))}function Ha(){var e=this,t="arab",r,n;if(!this.featuresTags.hasOwnProperty(t))return;if(-1===this.featuresTags[t].indexOf("rlig"))return;Na.call(this),this.tokenizer.getContextRanges("arabicWord").forEach((function(t){La.call(e,t)}))}function za(){var e=this,t="latn",r,n;if(!this.featuresTags.hasOwnProperty(t))return;if(-1===this.featuresTags[t].indexOf("liga"))return;Na.call(this),this.tokenizer.getContextRanges("latinWord").forEach((function(t){Ma.call(e,t)}))}function Wa(e){(e=e||{}).empty||(Bt(e.familyName,"When creating a new Font object, familyName is required."),Bt(e.styleName,"When creating a new Font object, styleName is required."),Bt(e.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),Bt(e.ascender,"When creating a new Font object, ascender is required."),Bt(e.descender,"When creating a new Font object, descender is required."),Bt(e.descender<0,"Descender should be negative (e.g. -512)."),this.names={fontFamily:{en:e.familyName||" "},fontSubfamily:{en:e.styleName||" "},fullName:{en:e.fullName||e.familyName+" "+e.styleName},postScriptName:{en:e.postScriptName||(e.familyName+e.styleName).replace(/\s/g,"")},designer:{en:e.designer||" "},designerURL:{en:e.designerURL||" "},manufacturer:{en:e.manufacturer||" "},manufacturerURL:{en:e.manufacturerURL||" "},license:{en:e.license||" "},licenseURL:{en:e.licenseURL||" "},version:{en:e.version||"Version 0.1"},description:{en:e.description||" "},copyright:{en:e.copyright||" "},trademark:{en:e.trademark||" "}},this.unitsPerEm=e.unitsPerEm||1e3,this.ascender=e.ascender,this.descender=e.descender,this.createdTimestamp=e.createdTimestamp,this.tables={os2:{usWeightClass:e.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:e.widthClass||this.usWidthClasses.MEDIUM,fsSelection:e.fsSelection||this.fsSelectionValues.REGULAR}}),this.supported=!0,this.glyphs=new Yo.GlyphSet(this,e.glyphs||[]),this.encoding=new Y(this),this.position=new wt(this),this.substitution=new Rt(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){if(this._hinting)return this._hinting;if("truetype"===this.outlinesFormat)return this._hinting=new qt(this)}})}function _a(e,t){var r=JSON.stringify(e),n=256;for(var a in t){var o=parseInt(a);if(!o||o<256)continue;if(JSON.stringify(t[a])===r)return o;n<=o&&(n=o+1)}return t[n]=e,n}function qa(e,t,r){var n=_a(t.name,r);return[{name:"tag_"+e,type:"TAG",value:t.tag},{name:"minValue_"+e,type:"FIXED",value:t.minValue<<16},{name:"defaultValue_"+e,type:"FIXED",value:t.defaultValue<<16},{name:"maxValue_"+e,type:"FIXED",value:t.maxValue<<16},{name:"flags_"+e,type:"USHORT",value:0},{name:"nameID_"+e,type:"USHORT",value:n}]}function Xa(e,t,r){var n={},a=new Ho.Parser(e,t);return n.tag=a.parseTag(),n.minValue=a.parseFixed(),n.defaultValue=a.parseFixed(),n.maxValue=a.parseFixed(),a.skip("uShort",1),n.name=r[a.parseUShort()]||{},n}function Va(e,t,r,n){for(var a,o=[{name:"nameID_"+e,type:"USHORT",value:_a(t.name,n)},{name:"flags_"+e,type:"USHORT",value:0}],s=0;s<r.length;++s){var i=r[s].tag;o.push({name:"axis_"+e+" "+i,type:"FIXED",value:t.coordinates[i]<<16})}return o}function Ya(e,t,r,n){var a={},o=new Ho.Parser(e,t);a.name=n[o.parseUShort()]||{},o.skip("uShort",1),a.coordinates={};for(var s=0;s<r.length;++s)a.coordinates[r[s].tag]=o.parseFixed();return a}function ja(e,t){var r=new Fo.Table("fvar",[{name:"version",type:"ULONG",value:65536},{name:"offsetToData",type:"USHORT",value:0},{name:"countSizePairs",type:"USHORT",value:2},{name:"axisCount",type:"USHORT",value:e.axes.length},{name:"axisSize",type:"USHORT",value:20},{name:"instanceCount",type:"USHORT",value:e.instances.length},{name:"instanceSize",type:"USHORT",value:4+4*e.axes.length}]);r.offsetToData=r.sizeOf();for(var n=0;n<e.axes.length;n++)r.fields=r.fields.concat(qa(n,e.axes[n],t));for(var a=0;a<e.instances.length;a++)r.fields=r.fields.concat(Va(a,e.instances[a],e.axes,t));return r}function Za(e,t,r){var n=new Ho.Parser(e,t),a=n.parseULong();Eo.argument(65536===a,"Unsupported fvar table version.");var o=n.parseOffset16();n.skip("uShort",1);for(var s=n.parseUShort(),i=n.parseUShort(),u=n.parseUShort(),l=n.parseUShort(),p=[],c=0;c<s;c++)p.push(Xa(e,t+o+c*i,r));for(var h=[],f=t+o+s*i,d=0;d<u;d++)h.push(Ya(e,f+d*l,p,r));return{axes:p,instances:h}}function Qa(e,t){var r=new H(e,t=t||0),n=r.parseVersion(1);return Eo.argument(1===n||1.1===n,"Unsupported GPOS table version "+n),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(Bs)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(Bs),variations:r.parseFeatureVariationsList()}}function Ka(e){return new Fo.Table("GPOS",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new Fo.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new Fo.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new Fo.LookupList(e.lookups,Gs)}])}function Ja(e){var t={};e.skip("uShort");var r=e.parseUShort();Eo.argument(0===r,"Unsupported kern sub-table version."),e.skip("uShort",2);var n=e.parseUShort();e.skip("uShort",3);for(var a=0;a<n;a+=1){var o=e.parseUShort(),s=e.parseUShort(),i=e.parseShort();t[o+","+s]=i}return t}function $a(e){var t={},r;e.skip("uShort"),e.parseULong()>1&&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<o;s+=1){var i=e.parseUShort(),u=e.parseUShort(),l=e.parseShort();t[i+","+u]=l}}return t}function eo(e,t){var r=new Ho.Parser(e,t),n=r.parseUShort();if(0===n)return Ja(r);if(1===n)return $a(r);throw new Error("Unsupported kern table version ("+n+").")}function to(e,t,r,n){for(var a=new Ho.Parser(e,t),o=n?a.parseUShort:a.parseULong,s=[],i=0;i<r+1;i+=1){var u=o.call(a);n&&(u*=2),s.push(u)}return s}function ro(e,t){var r;require("fs").readFile(e,(function(e,r){if(e)return t(e.message);t(null,It(r))}))}function no(e,t){var r=new XMLHttpRequest;r.open("get",e,!0),r.responseType="arraybuffer",r.onload=function(){return r.response?t(null,r.response):t("Font could not be loaded: "+r.statusText)},r.onerror=function(){t("Font could not be loaded")},r.send()}function ao(e,t){for(var r=[],n=12,a=0;a<t;a+=1){var o=Ho.getTag(e,n),s=Ho.getULong(e,n+4),i=Ho.getULong(e,n+8),u=Ho.getULong(e,n+12);r.push({tag:o,checksum:s,offset:i,length:u,compression:!1}),n+=16}return r}function oo(e,t){for(var r=[],n=44,a=0;a<t;a+=1){var o=Ho.getTag(e,n),s=Ho.getULong(e,n+4),i=Ho.getULong(e,n+8),u=Ho.getULong(e,n+12),l=void 0;l=i<u&&"WOFF",r.push({tag:o,offset:s,compression:l,compressedLength:i,length:u}),n+=20}return r}function so(e,t){if("WOFF"===t.compression){var r=new Uint8Array(e.buffer,t.offset+2,t.compressedLength-2),n=new Uint8Array(t.length),a;if(Oo(r,n),n.byteLength!==t.length)throw new Error("Decompression error: "+t.tag+" decompressed length doesn't match recorded length");return{data:new DataView(n.buffer,0),offset:0}}return{data:e,offset:t.offset}}function io(e,t){var r,n;t=null==t?{}:t;var a=new Wa({empty:!0}),o=new DataView(e,0),s,i=[],u=Ho.getTag(o,0),l,p,c,h,f,d,v,g,m,y,b;if(u===String.fromCharCode(0,1,0,0)||"true"===u||"typ1"===u)a.outlinesFormat="truetype",i=ao(o,s=Ho.getUShort(o,4));else if("OTTO"===u)a.outlinesFormat="cff",i=ao(o,s=Ho.getUShort(o,4));else{if("wOFF"!==u)throw new Error("Unsupported OpenType signature "+u);var S=Ho.getTag(o,4);if(S===String.fromCharCode(0,1,0,0))a.outlinesFormat="truetype";else{if("OTTO"!==S)throw new Error("Unsupported OpenType flavor "+u);a.outlinesFormat="cff"}i=oo(o,s=Ho.getUShort(o,12))}for(var x=0;x<s;x+=1){var T=i[x],k=void 0;switch(T.tag){case"cmap":k=so(o,T),a.tables.cmap=zo.parse(k.data,k.offset),a.encoding=new j(a.tables.cmap);break;case"cvt ":k=so(o,T),b=new Ho.Parser(k.data,k.offset),a.tables.cvt=b.parseShortList(T.length/2);break;case"fvar":p=T;break;case"fpgm":k=so(o,T),b=new Ho.Parser(k.data,k.offset),a.tables.fpgm=b.parseByteList(T.length);break;case"head":k=so(o,T),a.tables.head=Ko.parse(k.data,k.offset),a.unitsPerEm=a.tables.head.unitsPerEm,r=a.tables.head.indexToLocFormat;break;case"hhea":k=so(o,T),a.tables.hhea=Jo.parse(k.data,k.offset),a.ascender=a.tables.hhea.ascender,a.descender=a.tables.hhea.descender,a.numberOfHMetrics=a.tables.hhea.numberOfHMetrics;break;case"hmtx":d=T;break;case"ltag":k=so(o,T),n=es.parse(k.data,k.offset);break;case"maxp":k=so(o,T),a.tables.maxp=ts.parse(k.data,k.offset),a.numGlyphs=a.tables.maxp.numGlyphs;break;case"name":m=T;break;case"OS/2":k=so(o,T),a.tables.os2=cs.parse(k.data,k.offset);break;case"post":k=so(o,T),a.tables.post=hs.parse(k.data,k.offset),a.glyphNames=new Q(a.tables.post);break;case"prep":k=so(o,T),b=new Ho.Parser(k.data,k.offset),a.tables.prep=b.parseByteList(T.length);break;case"glyf":c=T;break;case"loca":g=T;break;case"CFF ":l=T;break;case"kern":v=T;break;case"GPOS":h=T;break;case"GSUB":f=T;break;case"meta":y=T;break}}var U=so(o,m);if(a.tables.name=ls.parse(U.data,U.offset,n),a.names=a.tables.name,c&&g){var O=0===r,E=so(o,g),w=Ns.parse(E.data,E.offset,a.numGlyphs,O),R=so(o,c);a.glyphs=bs.parse(R.data,R.offset,w,a,t)}else{if(!l)throw new Error("Font doesn't contain TrueType or CFF outlines.");var L=so(o,l);Qo.parse(L.data,L.offset,a,t)}var C=so(o,d);if($o.parse(a,C.data,C.offset,a.numberOfHMetrics,a.numGlyphs,a.glyphs,t),$(a,t),v){var D=so(o,v);a.kerningPairs=Fs.parse(D.data,D.offset)}else a.kerningPairs={};if(h){var I=so(o,h);a.tables.gpos=As.parse(I.data,I.offset),a.position.init()}if(f){var M=so(o,f);a.tables.gsub=gs.parse(M.data,M.offset)}if(p){var B=so(o,p);a.tables.fvar=Ms.parse(B.data,B.offset,a.names)}if(y){var G=so(o,y);a.tables.meta=ms.parse(G.data,G.offset),a.metas=a.tables.meta}return a}function uo(e,t,r){var n,a;("undefined"==typeof window?ro:no)(e,(function(e,n){if(e)return t(e);var a;try{a=io(n,r)}catch(e){return t(e,null)}return t(null,a)}))}function lo(e,t){var r,n;return io(It(require("fs").readFileSync(e)),t)}var po,co;String.prototype.codePointAt||(po=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(e){}return r}(),co=function(e){if(null==this)throw TypeError();var t=String(this),r=t.length,n=e?Number(e):0;if(n!=n&&(n=0),n<0||n>=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),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),"number"==typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.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<y&&y<1&&(0===d&&this.addX(f(l[d],p[d],c[d],h[d],y)),1===d&&this.addY(f(l[d],p[d],c[d],h[d],y)));continue}var b=Math.pow(v,2)-4*m*g;if(b<0)continue;var S=(-v+Math.sqrt(b))/(2*g);0<S&&S<1&&(0===d&&this.addX(f(l[d],p[d],c[d],h[d],S)),1===d&&this.addY(f(l[d],p[d],c[d],h[d],S)));var x=(-v-Math.sqrt(b))/(2*g);0<x&&x<1&&(0===d&&this.addX(f(l[d],p[d],c[d],h[d],x)),1===d&&this.addY(f(l[d],p[d],c[d],h[d],x)))}},d.prototype.addQuad=function(e,t,r,n,a,o){var s=e+2/3*(r-e),i=t+2/3*(n-t),u=s+1/3*(a-e),l=i+1/3*(o-t);this.addBezier(e,t,s,i,u,l,a,o)},v.prototype.moveTo=function(e,t){this.commands.push({type:"M",x:e,y:t})},v.prototype.lineTo=function(e,t){this.commands.push({type:"L",x:e,y:t})},v.prototype.curveTo=v.prototype.bezierCurveTo=function(e,t,r,n,a,o){this.commands.push({type:"C",x1:e,y1:t,x2:r,y2:n,x:a,y:o})},v.prototype.quadTo=v.prototype.quadraticCurveTo=function(e,t,r,n){this.commands.push({type:"Q",x1:e,y1:t,x:r,y:n})},v.prototype.close=v.prototype.closePath=function(){this.commands.push({type:"Z"})},v.prototype.extend=function(e){if(e.commands)e=e.commands;else if(e instanceof d){var t=e;return this.moveTo(t.x1,t.y1),this.lineTo(t.x2,t.y1),this.lineTo(t.x2,t.y2),this.lineTo(t.x1,t.y2),void this.close()}Array.prototype.push.apply(this.commands,e)},v.prototype.getBoundingBox=function(){for(var e=this,t=new d,r=0,n=0,a=0,o=0,s=0;s<this.commands.length;s++){var i=this.commands[s];switch(i.type){case"M":t.addPoint(i.x,i.y),r=a=i.x,n=o=i.y;break;case"L":t.addPoint(i.x,i.y),a=i.x,o=i.y;break;case"Q":t.addQuad(a,o,i.x1,i.y1,i.x,i.y),a=i.x,o=i.y;break;case"C":t.addBezier(a,o,i.x1,i.y1,i.x2,i.y2,i.x,i.y),a=i.x,o=i.y;break;case"Z":a=r,o=n;break;default:throw new Error("Unexpected path command "+i.type)}}return t.isEmpty()&&t.addPoint(0,0),t},v.prototype.draw=function(e){var t=this;e.beginPath();for(var r=0;r<this.commands.length;r+=1){var n=this.commands[r];"M"===n.type?e.moveTo(n.x,n.y):"L"===n.type?e.lineTo(n.x,n.y):"C"===n.type?e.bezierCurveTo(n.x1,n.y1,n.x2,n.y2,n.x,n.y):"Q"===n.type?e.quadraticCurveTo(n.x1,n.y1,n.x,n.y):"Z"===n.type&&e.closePath()}this.fill&&(e.fillStyle=this.fill,e.fill()),this.stroke&&(e.strokeStyle=this.stroke,e.lineWidth=this.strokeWidth,e.stroke())},v.prototype.toPathData=function(e){function t(t){return Math.round(t)===t?""+Math.round(t):t.toFixed(e)}function r(){for(var e=arguments,r="",n=0;n<arguments.length;n+=1){var a=e[n];a>=0&&n>0&&(r+=" "),r+=t(a)}return r}var n=this;e=void 0!==e?e:2;for(var a="",o=0;o<this.commands.length;o+=1){var s=this.commands[o];"M"===s.type?a+="M"+r(s.x,s.y):"L"===s.type?a+="L"+r(s.x,s.y):"C"===s.type?a+="C"+r(s.x1,s.y1,s.x2,s.y2,s.x,s.y):"Q"===s.type?a+="Q"+r(s.x1,s.y1,s.x,s.y):"Z"===s.type&&(a+="Z")}return a},v.prototype.toSVG=function(e){var t='<path d="';return t+=this.toPathData(e),t+='"',this.fill&&"black"!==this.fill&&(null===this.fill?t+=' fill="none"':t+=' fill="'+this.fill+'"'),this.stroke&&(t+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),t+="/>"},v.prototype.toDOMElement=function(e){var t=this.toPathData(e),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",t),r};var Eo={fail:g,argument:m,assert:m},wo=32768,Ro=2147483648,Lo={},Co={},Do={};Co.BYTE=function(e){return Eo.argument(e>=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<e.length;r+=1)t[r]=e.charCodeAt(r);return t},Do.CHARARRAY=function(e){return e.length},Co.USHORT=function(e){return[e>>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<s;o+=1){var i=t[o];a+="e"===i?"-"===t[++o]?"c":"b":"."===i?"a":"-"===i?"e":i}for(var u=[30],l=0,p=(a+=1&a.length?"f":"ff").length;l<p;l+=2)u.push(parseInt(a.substr(l,2),16));return u},Do.REAL=function(e){return Co.REAL(e).length},Co.NAME=Co.CHARARRAY,Do.NAME=Do.CHARARRAY,Co.STRING=Co.CHARARRAY,Do.STRING=Do.CHARARRAY,Lo.UTF8=function(e,t,r){for(var n=[],a=r,o=0;o<a;o++,t+=1)n[o]=e.getUint8(t);return String.fromCharCode.apply(null,n)},Lo.UTF16=function(e,t,r){for(var n=[],a=r/2,o=0;o<a;o++,t+=2)n[o]=e.getUint16(t);return String.fromCharCode.apply(null,n)},Co.UTF16=function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t[t.length]=n>>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<r;s++){var i=e.getUint8(t+s);o+=i<=127?String.fromCharCode(i):a[127&i]}return o};var Mo="function"==typeof WeakMap&&new WeakMap,Bo,Go=function(e){if(!Bo)for(var t in Bo={},Io)Bo[t]=new String(t);var r=Bo[e];if(void 0===r)return;if(Mo){var n=Mo.get(r);if(void 0!==n)return n}var a=Io[e];if(void 0===a)return;for(var o={},s=0;s<a.length;s++)o[a.charCodeAt(s)]=s+128;return Mo&&Mo.set(r,o),o};Co.MACSTRING=function(e,t){var r=Go(t);if(void 0===r)return;for(var n=[],a=0;a<e.length;a++){var o=e.charCodeAt(a);if(o>=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<e.length){var n=e[t];t=0===n?S(e,t,r):n>=-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<e.length;a+=1){var o=Co.OBJECT(e[a]);Array.prototype.push.apply(n,o),t+=o.length,r.push(t)}if(0===n.length)return[0,0];for(var s=[],i=1+Math.floor(Math.log(t)/Math.log(2))/8|0,u=[void 0,Co.BYTE,Co.USHORT,Co.UINT24,Co.ULONG][i],l=0;l<r.length;l+=1){var p=u(r[l]);Array.prototype.push.apply(s,p)}return Array.prototype.concat(Co.Card16(e.length),Co.OffSize(i),s,n)},Do.INDEX=function(e){return Co.INDEX(e).length},Co.DICT=function(e){for(var t=[],r=Object.keys(e),n=r.length,a=0;a<n;a+=1){var o=parseInt(r[a],0),s=e[o];t=(t=t.concat(Co.OPERAND(s.value,s.type))).concat(Co.OPERATOR(o))}return t},Do.DICT=function(e){return Co.DICT(e).length},Co.OPERATOR=function(e){return e<1200?[e]:[12,e-1200]},Co.OPERAND=function(e,t){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n+=1)Eo.argument(e.length===t.length,"Not enough arguments given for type"+t),r=r.concat(Co.OPERAND(e[n],t[n]));else if("SID"===t)r=r.concat(Co.NUMBER(e));else if("offset"===t)r=r.concat(Co.NUMBER32(e));else if("number"===t)r=r.concat(Co.NUMBER(e));else{if("real"!==t)throw new Error("Unknown operand type "+t);r=r.concat(Co.REAL(e))}return r},Co.OP=Co.BYTE,Do.OP=Do.BYTE;var Ao="function"==typeof WeakMap&&new WeakMap;Co.CHARSTRING=function(e){if(Ao){var t=Ao.get(e);if(void 0!==t)return t}for(var r=[],n=e.length,a=0;a<n;a+=1){var o=e[a];r=r.concat(Co[o.type](o.value))}return Ao&&Ao.set(e,r),r},Do.CHARSTRING=function(e){return Co.CHARSTRING(e).length},Co.OBJECT=function(e){var t=Co[e.type];return Eo.argument(void 0!==t,"No encoding function for type "+e.type),t(e.value)},Do.OBJECT=function(e){var t=Do[e.type];return Eo.argument(void 0!==t,"No sizeOf function for type "+e.type),t(e.value)},Co.TABLE=function(e){for(var t=[],r=e.fields.length,n=[],a=[],o=0;o<r;o+=1){var s=e.fields[o],i=Co[s.type];Eo.argument(void 0!==i,"No encoding function for field type "+s.type+" ("+s.name+")");var u=e[s.name];void 0===u&&(u=s.value);var l=i(u);"TABLE"===s.type?(a.push(t.length),t=t.concat([0,0]),n.push(l)):t=t.concat(l)}for(var p=0;p<n.length;p+=1){var c=a[p],h=t.length;Eo.argument(h<65536,"Table "+e.tableName+" too big."),t[c]=h>>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;n<r;n+=1){var a=e.fields[n],o=Do[a.type];Eo.argument(void 0!==o,"No sizeOf function for field type "+a.type+" ("+a.name+")");var s=e[a.name];void 0===s&&(s=a.value),t+=o(s),"TABLE"===a.type&&(t+=2)}return t},Co.RECORD=Co.TABLE,Do.RECORD=Do.TABLE,Co.LITERAL=function(e){return e},Do.LITERAL=function(e){return e.length},k.prototype.encode=function(){return Co.TABLE(this)},k.prototype.sizeOf=function(){return Do.TABLE(this)},w.prototype=Object.create(k.prototype),w.prototype.constructor=w,R.prototype=Object.create(k.prototype),R.prototype.constructor=R,L.prototype=Object.create(k.prototype),L.prototype.constructor=L,C.prototype=Object.create(k.prototype),C.prototype.constructor=C;var Fo={Table:k,Record:k,Coverage:w,ScriptList:R,FeatureList:L,LookupList:C,ushortList:U,tableList:O,recordList:E},No={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};H.prototype.parseByte=function(){var e=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},H.prototype.parseChar=function(){var e=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},H.prototype.parseCard8=H.prototype.parseByte,H.prototype.parseUShort=function(){var e=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},H.prototype.parseCard16=H.prototype.parseUShort,H.prototype.parseSID=H.prototype.parseUShort,H.prototype.parseOffset16=H.prototype.parseUShort,H.prototype.parseShort=function(){var e=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},H.prototype.parseF2Dot14=function(){var e=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,e},H.prototype.parseULong=function(){var e=B(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},H.prototype.parseOffset32=H.prototype.parseULong,H.prototype.parseFixed=function(){var e=G(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},H.prototype.parseString=function(e){var t=this.data,r=this.offset+this.relativeOffset,n="";this.relativeOffset+=e;for(var a=0;a<e;a++)n+=String.fromCharCode(t.getUint8(r+a));return n},H.prototype.parseTag=function(){return this.parseString(4)},H.prototype.parseLongDateTime=function(){var e=B(this.data,this.offset+this.relativeOffset+4);return e-=2082844800,this.relativeOffset+=8,e},H.prototype.parseVersion=function(e){var t=I(this.data,this.offset+this.relativeOffset),r=I(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,void 0===e&&(e=4096),t+r/e/10},H.prototype.skip=function(e,t){void 0===t&&(t=1),this.relativeOffset+=No[e]*t},H.prototype.parseULongList=function(e){void 0===e&&(e=this.parseULong());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint32(n),n+=4;return this.relativeOffset+=4*e,t},H.prototype.parseOffset16List=H.prototype.parseUShortList=function(e){void 0===e&&(e=this.parseUShort());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint16(n),n+=2;return this.relativeOffset+=2*e,t},H.prototype.parseShortList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getInt16(n),n+=2;return this.relativeOffset+=2*e,t},H.prototype.parseByteList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint8(n++);return this.relativeOffset+=e,t},H.prototype.parseList=function(e,t){var r=this;t||(t=e,e=this.parseUShort());for(var n=new Array(e),a=0;a<e;a++)n[a]=t.call(this);return n},H.prototype.parseList32=function(e,t){var r=this;t||(t=e,e=this.parseULong());for(var n=new Array(e),a=0;a<e;a++)n[a]=t.call(this);return n},H.prototype.parseRecordList=function(e,t){var r=this;t||(t=e,e=this.parseUShort());for(var n=new Array(e),a=Object.keys(t),o=0;o<e;o++){for(var s={},i=0;i<a.length;i++){var u=a[i],l=t[u];s[u]=l.call(this)}n[o]=s}return n},H.prototype.parseRecordList32=function(e,t){var r=this;t||(t=e,e=this.parseULong());for(var n=new Array(e),a=Object.keys(t),o=0;o<e;o++){for(var s={},i=0;i<a.length;i++){var u=a[i],l=t[u];s[u]=l.call(this)}n[o]=s}return n},H.prototype.parseStruct=function(e){var t=this;if("function"==typeof e)return e.call(this);for(var r=Object.keys(e),n={},a=0;a<r.length;a++){var o=r[a],s=e[o];n[o]=s.call(this)}return n},H.prototype.parseValueRecord=function(e){if(void 0===e&&(e=this.parseUShort()),0===e)return;var t={};return 1&e&&(t.xPlacement=this.parseShort()),2&e&&(t.yPlacement=this.parseShort()),4&e&&(t.xAdvance=this.parseShort()),8&e&&(t.yAdvance=this.parseShort()),16&e&&(t.xPlaDevice=void 0,this.parseShort()),32&e&&(t.yPlaDevice=void 0,this.parseShort()),64&e&&(t.xAdvDevice=void 0,this.parseShort()),128&e&&(t.yAdvDevice=void 0,this.parseShort()),t},H.prototype.parseValueRecordList=function(){for(var e=this,t=this.parseUShort(),r=this.parseUShort(),n=new Array(r),a=0;a<r;a++)n[a]=this.parseValueRecord(t);return n},H.prototype.parsePointer=function(e){var t=this.parseOffset16();if(t>0)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<n;s++){var i=r[s];if(0===i){o[s]=void 0;continue}if(this.relativeOffset=i,e){for(var u=this.parseOffset16List(),l=new Array(u.length),p=0;p<u.length;p++)this.relativeOffset=i+u[p],l[p]=e.call(this);o[s]=l}else o[s]=this.parseUShortList()}return this.relativeOffset=a,o},H.prototype.parseCoverage=function(){var e=this,t=this.offset+this.relativeOffset,r=this.parseUShort(),n=this.parseUShort();if(1===r)return{format:1,glyphs:this.parseUShortList(n)};if(2===r){for(var a=new Array(n),o=0;o<n;o++)a[o]={start:this.parseUShort(),end:this.parseUShort(),index:this.parseUShort()};return{format:2,ranges:a}}throw new Error("0x"+t.toString(16)+": Coverage format must be 1 or 2.")},H.prototype.parseClassDef=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===t)return{format:2,ranges:this.parseRecordList({start:H.uShort,end:H.uShort,classId:H.uShort})};throw new Error("0x"+e.toString(16)+": ClassDef format must be 1 or 2.")},H.list=function(e,t){return function(){return this.parseList(e,t)}},H.list32=function(e,t){return function(){return this.parseList32(e,t)}},H.recordList=function(e,t){return function(){return this.parseRecordList(e,t)}},H.recordList32=function(e,t){return function(){return this.parseRecordList32(e,t)}},H.pointer=function(e){return function(){return this.parsePointer(e)}},H.pointer32=function(e){return function(){return this.parsePointer32(e)}},H.tag=H.prototype.parseTag,H.byte=H.prototype.parseByte,H.uShort=H.offset16=H.prototype.parseUShort,H.uShortList=H.prototype.parseUShortList,H.uLong=H.offset32=H.prototype.parseULong,H.uLongList=H.prototype.parseULongList,H.struct=H.prototype.parseStruct,H.coverage=H.prototype.parseCoverage,H.classDef=H.prototype.parseClassDef;var Po={reserved:H.uShort,reqFeatureIndex:H.uShort,featureIndexes:H.uShortList};H.prototype.parseScriptList=function(){return this.parsePointer(H.recordList({tag:H.tag,script:H.pointer({defaultLangSys:H.pointer(Po),langSysRecords:H.recordList({tag:H.tag,langSys:H.pointer(Po)})})}))||[]},H.prototype.parseFeatureList=function(){return this.parsePointer(H.recordList({tag:H.tag,feature:H.pointer({featureParams:H.offset16,lookupListIndexes:H.uShortList})}))||[]},H.prototype.parseLookupList=function(e){return this.parsePointer(H.list(H.pointer((function(){var t=this.parseUShort();Eo.argument(1<=t&&t<=9,"GPOS/GSUB lookup type "+t+" unknown.");var r=this.parseUShort(),n=16&r;return{lookupType:t,lookupFlag:r,subtables:this.parseList(H.pointer(e[t])),markFilteringSet:n?this.parseUShort():void 0}}))))||[]},H.prototype.parseFeatureVariationsList=function(){return this.parsePointer32((function(){var e=this.parseUShort(),t=this.parseUShort(),r;return Eo.argument(1===e&&t<1,"GPOS/GSUB feature variations table unknown."),this.parseRecordList32({conditionSetOffset:H.offset32,featureTableSubstitutionOffset:H.offset32})}))||[]};var Ho={getByte:D,getCard8:D,getUShort:I,getCard16:I,getShort:M,getULong:B,getFixed:G,getTag:A,getOffset:F,getBytes:N,bytesToString:P,Parser:H},zo={parse:_,make:V},Wo=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],_o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],qo=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Xo=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];Y.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.font.glyphs;if(r)for(var n=0;n<r.length;n+=1)for(var a=r.get(n),o=0;o<a.unicodes.length;o+=1)if(a.unicodes[o]===t)return n;return null},j.prototype.charToGlyphIndex=function(e){return this.cmap.glyphIndexMap[e.codePointAt(0)]||0},Z.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.encoding[t];return this.charset.indexOf(r)},Q.prototype.nameToGlyphIndex=function(e){return this.names.indexOf(e)},Q.prototype.glyphIndexToName=function(e){return this.names[e]};var Vo={line:ee};re.prototype.bindConstructorValues=function(e){this.index=e.index||0,this.name=e.name||null,this.unicode=e.unicode||void 0,this.unicodes=e.unicodes||void 0!==e.unicode?[e.unicode]:[],e.xMin&&(this.xMin=e.xMin),e.yMin&&(this.yMin=e.yMin),e.xMax&&(this.xMax=e.xMax),e.yMax&&(this.yMax=e.yMax),e.advanceWidth&&(this.advanceWidth=e.advanceWidth),Object.defineProperty(this,"path",te(this,e.path))},re.prototype.addUnicode=function(e){0===this.unicodes.length&&(this.unicode=e),this.unicodes.push(e)},re.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},re.prototype.getPath=function(e,t,r,n,a){var o,s;e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:72,n||(n={});var i=n.xScale,u=n.yScale;if(n.hinting&&a&&a.hinting&&(s=this.path&&a.hinting.exec(this,r)),s)o=a.hinting.getCommands(s),e=Math.round(e),t=Math.round(t),i=u=1;else{o=this.path.commands;var l=1/(this.path.unitsPerEm||1e3)*r;void 0===i&&(i=l),void 0===u&&(u=l)}for(var p=new v,c=0;c<o.length;c+=1){var h=o[c];"M"===h.type?p.moveTo(e+h.x*i,t+-h.y*u):"L"===h.type?p.lineTo(e+h.x*i,t+-h.y*u):"Q"===h.type?p.quadraticCurveTo(e+h.x1*i,t+-h.y1*u,e+h.x*i,t+-h.y*u):"C"===h.type?p.curveTo(e+h.x1*i,t+-h.y1*u,e+h.x2*i,t+-h.y2*u,e+h.x*i,t+-h.y*u):"Z"===h.type&&p.closePath()}return p},re.prototype.getContours=function(){var e=this;if(void 0===this.points)return[];for(var t=[],r=[],n=0;n<this.points.length;n+=1){var a=this.points[n];r.push(a),a.lastPointOfContour&&(t.push(r),r=[])}return Eo.argument(0===r.length,"There are still points left in the current contour."),t},re.prototype.getMetrics=function(){for(var e=this.path.commands,t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];"Z"!==a.type&&(t.push(a.x),r.push(a.y)),"Q"!==a.type&&"C"!==a.type||(t.push(a.x1),r.push(a.y1)),"C"===a.type&&(t.push(a.x2),r.push(a.y2))}var o={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,t),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(o.xMin)||(o.xMin=0),isFinite(o.xMax)||(o.xMax=this.advanceWidth),isFinite(o.yMin)||(o.yMin=0),isFinite(o.yMax)||(o.yMax=0),o.rightSideBearing=this.advanceWidth-o.leftSideBearing-(o.xMax-o.xMin),o},re.prototype.draw=function(e,t,r,n,a){this.getPath(t,r,n,a).draw(e)},re.prototype.drawPoints=function(e,t,r,n){function a(t,r,n,a){var o=2*Math.PI;e.beginPath();for(var s=0;s<t.length;s+=1)e.moveTo(r+t[s].x*a,n+t[s].y*a),e.arc(r+t[s].x*a,n+t[s].y*a,2,0,o,!1);e.closePath(),e.fill()}t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24;for(var o=1/this.path.unitsPerEm*n,s=[],i=[],u=this.path,l=0;l<u.commands.length;l+=1){var p=u.commands[l];void 0!==p.x&&s.push({x:p.x,y:-p.y}),void 0!==p.x1&&i.push({x:p.x1,y:-p.y1}),void 0!==p.x2&&i.push({x:p.x2,y:-p.y2})}e.fillStyle="blue",a(s,t,r,o),e.fillStyle="red",a(i,t,r,o)},re.prototype.drawMetrics=function(e,t,r,n){var a;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24,a=1/this.path.unitsPerEm*n,e.lineWidth=1,e.strokeStyle="black",Vo.line(e,t,-1e4,t,1e4),Vo.line(e,-1e4,r,1e4,r);var o=this.xMin||0,s=this.yMin||0,i=this.xMax||0,u=this.yMax||0,l=this.advanceWidth||0;e.strokeStyle="blue",Vo.line(e,t+o*a,-1e4,t+o*a,1e4),Vo.line(e,t+i*a,-1e4,t+i*a,1e4),Vo.line(e,-1e4,r+-s*a,1e4,r+-s*a),Vo.line(e,-1e4,r+-u*a,1e4,r+-u*a),e.strokeStyle="green",Vo.line(e,t+l*a,-1e4,t+l*a,1e4)},ae.prototype.get=function(e){if(void 0===this.glyphs[e]){this.font._push(e),"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());var t=this.glyphs[e],r=this.font._IndexToUnicodeMap[e];if(r)for(var n=0;n<r.unicodes.length;n++)t.addUnicode(r.unicodes[n]);this.font.cffEncoding?this.font.isCIDFont?t.name="gid"+e:t.name=this.font.cffEncoding.charset[e]:this.font.glyphNames.names&&(t.name=this.font.glyphNames.glyphIndexToName(e)),this.glyphs[e].advanceWidth=this.font._hmtxTableData[e].advanceWidth,this.glyphs[e].leftSideBearing=this.font._hmtxTableData[e].leftSideBearing}else"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());return this.glyphs[e]},ae.prototype.push=function(e,t){this.glyphs[e]=t,this.length++};var Yo={GlyphSet:ae,glyphLoader:oe,ttfGlyphLoader:se,cffGlyphLoader:ie},jo=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],Zo=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}],Qo={parse:we,make:He},Ko={parse:ze,make:We},Jo={parse:_e,make:qe},$o={parse:Ye,make:je},es={make:Ze,parse:Qe},ts={parse:Ke,make:Je},rs=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],ns={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},as={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},os={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",1040:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"},ss="utf-16",is={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},us={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"},ls={parse:tt,make:st},ps=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}],cs={parse:ut,make:lt,unicodeRanges:ps,getUnicodeRange:it},hs={parse:pt,make:ct},fs=new Array(9);fs[1]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(H.coverage),deltaGlyphId:this.parseUShort()};if(2===r)return{substFormat:2,coverage:this.parsePointer(H.coverage),substitute:this.parseOffset16List()};Eo.assert(!1,"0x"+t.toString(16)+": lookup type 1 format must be 1 or 2.")},fs[2]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),sequences:this.parseListOfLists()}},fs[3]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),alternateSets:this.parseListOfLists()}},fs[4]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB ligature table identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),ligatureSets:this.parseListOfLists((function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}}))}};var ds={sequenceIndex:H.uShort,lookupListIndex:H.uShort};fs[5]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:r,coverage:this.parsePointer(H.coverage),ruleSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{input:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,ds)}}))};if(2===r)return{substFormat:r,coverage:this.parsePointer(H.coverage),classDef:this.parsePointer(H.classDef),classSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{classes:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,ds)}}))};if(3===r){var n=this.parseUShort(),a=this.parseUShort();return{substFormat:r,coverages:this.parseList(n,H.pointer(H.coverage)),lookupRecords:this.parseRecordList(a,ds)}}Eo.assert(!1,"0x"+t.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},fs[6]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(H.coverage),chainRuleSets:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(ds)}}))};if(2===r)return{substFormat:2,coverage:this.parsePointer(H.coverage),backtrackClassDef:this.parsePointer(H.classDef),inputClassDef:this.parsePointer(H.classDef),lookaheadClassDef:this.parsePointer(H.classDef),chainClassSet:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(ds)}}))};if(3===r)return{substFormat:3,backtrackCoverage:this.parseList(H.pointer(H.coverage)),inputCoverage:this.parseList(H.pointer(H.coverage)),lookaheadCoverage:this.parseList(H.pointer(H.coverage)),lookupRecords:this.parseRecordList(ds)};Eo.assert(!1,"0x"+t.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},fs[7]=function e(){var t=this.parseUShort();Eo.argument(1===t,"GSUB Extension Substitution subtable identifier-format must be 1");var r=this.parseUShort(),n=new H(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:r,extension:fs[r].call(n)}},fs[8]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),backtrackCoverage:this.parseList(H.pointer(H.coverage)),lookaheadCoverage:this.parseList(H.pointer(H.coverage)),substitutes:this.parseUShortList()}};var vs=new Array(9);vs[1]=function e(t){return 1===t.substFormat?new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)},{name:"deltaGlyphID",type:"USHORT",value:t.deltaGlyphId}]):new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.ushortList("substitute",t.substitute)));Eo.fail("Lookup type 1 substFormat must be 1 or 2.")},vs[3]=function e(t){return Eo.assert(1===t.substFormat,"Lookup type 3 substFormat must be 1."),new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.tableList("altSet",t.alternateSets,(function(e){return new Fo.Table("alternateSetTable",Fo.ushortList("alternate",e))}))))},vs[4]=function e(t){return Eo.assert(1===t.substFormat,"Lookup type 4 substFormat must be 1."),new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.tableList("ligSet",t.ligatureSets,(function(e){return new Fo.Table("ligatureSetTable",Fo.tableList("ligature",e,(function(e){return new Fo.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:e.ligGlyph}].concat(Fo.ushortList("component",e.components,e.components.length+1)))})))}))))};var gs={parse:ht,make:ft},ms={parse:dt,make:vt},ys={make:bt,fontToTable:Tt,computeCheckSum:mt};Et.prototype={searchTag:kt,binSearch:Ut,getTable:function(e){var t=this.font.tables[this.tableName];return!t&&e&&(t=this.font.tables[this.tableName]=this.createDefaultTable()),t},getScriptNames:function(){var e=this.getTable();if(!e)return[];return e.scripts.map((function(e){return e.tag}))},getDefaultScriptName:function(){var e=this.getTable();if(!e)return;for(var t=!1,r=0;r<e.scripts.length;r++){var n=e.scripts[r].tag;if("DFLT"===n)return n;"latn"===n&&(t=!0)}if(t)return"latn"},getScriptTable:function(e,t){var r=this.getTable(t);if(r){e=e||"DFLT";var n=r.scripts,a=kt(r.scripts,e);if(a>=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<s.length;u++)if((o=i[s[u]]).tag===r)return o.feature;if(n){var l=i.length;return Eo.assert(0===l||r>=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<u.length;p++)(i=l[u[p]]).lookupType===n&&s.push(i);if(0===s.length&&a){i={lookupType:n,lookupFlag:0,subtables:[],markFilteringSet:void 0};var c=l.length;return l.push(i),u.push(c),[i]}}return s},getGlyphClass:function(e,t){switch(e.format){case 1:if(e.startGlyph<=t&&t<e.startGlyph+e.classes.length)return e.classes[t-e.startGlyph];return 0;case 2:var r=Ot(e.ranges,t);return r?r.classId:0}},getCoverageIndex:function(e,t){switch(e.format){case 1:var r=Ut(e.glyphs,t);return r>=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<r.length;n++)for(var a=r[n],o=a.start,s=a.end,i=o;i<=s;i++)t.push(i);return t}},wt.prototype=Et.prototype,wt.prototype.init=function(){var e=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(e)},wt.prototype.getKerningValue=function(e,t,r){for(var n=this,a=0;a<e.length;a++)for(var o=e[a].subtables,s=0;s<o.length;s++){var i=o[s],u=this.getCoverageIndex(i.coverage,t);if(u<0)continue;switch(i.posFormat){case 1:for(var l=i.pairSets[u],p=0;p<l.length;p++){var c=l[p];if(c.secondGlyph===r)return c.value1&&c.value1.xAdvance||0}break;case 2:var h=this.getGlyphClass(i.classDef1,t),f=this.getGlyphClass(i.classDef2,r),d=i.classRecords[h][f];return d.value1&&d.value1.xAdvance||0}}return 0},wt.prototype.getKerningTables=function(e,t){if(this.font.tables.gpos)return this.getLookupTables(e,t,"kern",2)},Rt.prototype=Et.prototype,Rt.prototype.createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},Rt.prototype.getSingle=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,1),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++){var l=i[u],p=this.expandCoverage(l.coverage),c=void 0;if(1===l.substFormat){var h=l.deltaGlyphId;for(c=0;c<p.length;c++){var f=p[c];a.push({sub:f,by:f+h})}}else{var d=l.substitute;for(c=0;c<p.length;c++)a.push({sub:p[c],by:d[c]})}}return a},Rt.prototype.getAlternates=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,3),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++)for(var l=i[u],p=this.expandCoverage(l.coverage),c=l.alternateSets,h=0;h<p.length;h++)a.push({sub:p[h],by:c[h]});return a},Rt.prototype.getLigatures=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,4),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++)for(var l=i[u],p=this.expandCoverage(l.coverage),c=l.ligatureSets,h=0;h<p.length;h++)for(var f=p[h],d=c[h],v=0;v<d.length;v++){var g=d[v];a.push({sub:[f].concat(g.components),by:g.ligGlyph})}return a},Rt.prototype.addSingle=function(e,t,r,n){var a,o=Ct(this.getLookupTables(r,n,e,1,!0)[0],2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});Eo.assert(1===o.coverage.format,"Ligature: unable to modify coverage table format "+o.coverage.format);var s=t.sub,i=this.binSearch(o.coverage.glyphs,s);i<0&&(i=-1-i,o.coverage.glyphs.splice(i,0,s),o.substitute.splice(i,0,0)),o.substitute[i]=t.by},Rt.prototype.addAlternate=function(e,t,r,n){var a,o=Ct(this.getLookupTables(r,n,e,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});Eo.assert(1===o.coverage.format,"Ligature: unable to modify coverage table format "+o.coverage.format);var s=t.sub,i=this.binSearch(o.coverage.glyphs,s);i<0&&(i=-1-i,o.coverage.glyphs.splice(i,0,s),o.alternateSets.splice(i,0,0)),o.alternateSets[i]=t.by},Rt.prototype.addLigature=function(e,t,r,n){var a=this.getLookupTables(r,n,e,4,!0)[0],o=a.subtables[0];o||(o={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},a.subtables[0]=o),Eo.assert(1===o.coverage.format,"Ligature: unable to modify coverage table format "+o.coverage.format);var s=t.sub[0],i=t.sub.slice(1),u={ligGlyph:t.by,components:i},l=this.binSearch(o.coverage.glyphs,s);if(l>=0){for(var p=o.ligatureSets[l],c=0;c<p.length;c++)if(Lt(p[c].components,i))return;p.push(u)}else l=-1-l,o.coverage.glyphs.splice(l,0,s),o.ligatureSets.splice(l,0,[u])},Rt.prototype.getFeature=function(e,t,r){if(/ss\d\d/.test(e))return this.getSingle(e,t,r);switch(e){case"aalt":case"salt":return this.getSingle(e,t,r).concat(this.getAlternates(e,t,r));case"dlig":case"liga":case"rlig":return this.getLigatures(e,t,r)}return},Rt.prototype.add=function(e,t,r,n){if(/ss\d\d/.test(e))return this.addSingle(e,t,r,n);switch(e){case"aalt":case"salt":if("number"==typeof t.by)return this.addSingle(e,t,r,n);return this.addAlternate(e,t,r,n);case"dlig":case"liga":case"rlig":return this.addLigature(e,t,r,n)}return};var bs={getPath:Pt,parse:_t},Ss,xs,Ts,ks,Us=function(e){var t=this.srPeriod,r=this.srPhase,n,a=1;if(e<0&&(e=-e,a=-1),e+=this.srThreshold-r,e=Math.trunc(e/t)*t,(e+=r)<0)return r*a;return e*a},Os={x:1,y:0,axis:"x",distance:function(e,t,r,n){return(r?e.xo:e.x)-(n?t.xo:t.x)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this){if(a=e.xo-t.xo,o=e.xo-r.xo,u=t.x-t.xo,l=r.x-r.xo,0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void(e.x=e.xo+(u+l)/2);return void(e.x=e.xo+(u*i+l*s)/p)}if(a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void Os.setRelative(e,e,(u+l)/2,n,!0);Os.setRelative(e,e,(u*i+l*s)/p,n,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(e,t,r,n,a){if(!n||n===this)return void(e.x=(a?t.xo:t.x)+r);var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y;e.x=i+(e.y-u)/n.normalSlope},slope:0,touch:function(e){e.xTouched=!0},touched:function(e){return e.xTouched},untouch:function(e){e.xTouched=!1}},Es={x:0,y:1,axis:"y",distance:function(e,t,r,n){return(r?e.yo:e.y)-(n?t.yo:t.y)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this){if(a=e.yo-t.yo,o=e.yo-r.yo,u=t.y-t.yo,l=r.y-r.yo,0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void(e.y=e.yo+(u+l)/2);return void(e.y=e.yo+(u*i+l*s)/p)}if(a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void Es.setRelative(e,e,(u+l)/2,n,!0);Es.setRelative(e,e,(u*i+l*s)/p,n,!0)},normalSlope:0,setRelative:function(e,t,r,n,a){if(!n||n===this)return void(e.y=(a?t.yo:t.y)+r);var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y;e.y=u+n.normalSlope*(e.x-i)},slope:Number.POSITIVE_INFINITY,touch:function(e){e.yTouched=!0},touched:function(e){return e.yTouched},untouch:function(e){e.yTouched=!1}};Object.freeze(Os),Object.freeze(Es),Kt.prototype.distance=function(e,t,r,n){return this.x*Os.distance(e,t,r,n)+this.y*Es.distance(e,t,r,n)},Kt.prototype.interpolate=function(e,t,r,n){var a,o,s,i,u,l,p;if(s=n.distance(e,t,!0,!0),i=n.distance(e,r,!0,!0),a=n.distance(t,t,!1,!0),o=n.distance(r,r,!1,!0),0===(p=(u=Math.abs(s))+(l=Math.abs(i))))return void this.setRelative(e,e,(a+o)/2,n,!0);this.setRelative(e,e,(a*l+o*u)/p,n,!0)},Kt.prototype.setRelative=function(e,t,r,n,a){n=n||this;var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y,l=n.normalSlope,p=this.slope,c=e.x,h=e.y;e.x=(p*c-l*i+u-h)/(p-l),e.y=p*(e.x-c)+h},Kt.prototype.touch=function(e){e.xTouched=!0,e.yTouched=!0},$t.prototype.nextTouched=function(e){var t=this.nextPointOnContour;while(!e.touched(t)&&t!==this)t=t.nextPointOnContour;return t},$t.prototype.prevTouched=function(e){var t=this.prevPointOnContour;while(!e.touched(t)&&t!==this)t=t.prevPointOnContour;return t};var ws=Object.freeze(new $t(0,0)),Rs={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};qt.prototype.exec=function(t,r){if("number"!=typeof r)throw new Error("Point size is not a number!");if(this._errorState>2)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;l<s.length;l++)i[l]=s[l]*u;else a.cvt=[];e.DEBUG&&(console.log("---EXEC PREP---"),a.step=-1);try{xs(a)}catch(e){this._errorState<2&&console.log("Hinting error in PREP:"+e),this._errorState=2}}if(this._errorState>1)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<o.length;p++){var c=o[p],h=l.glyphs.get(c.glyphIndex);u=new er("glyf",h.instructions),e.DEBUG&&(console.log("---EXEC COMP "+p+"---"),u.step=-1),ks(h,u,n,a);for(var f=Math.round(c.dx*n),d=Math.round(c.dy*a),v=u.gZone,g=u.contours,m=0;m<v.length;m++){var y=v[m];y.xTouched=y.yTouched=!1,y.xo=y.x=y.x+f,y.yo=y.y=y.y+d}var b=i.length;i.push.apply(i,v);for(var S=0;S<g.length;S++)s.push(g[S]+b)}t.instructions&&!u.inhibitGridFit&&((u=new er("glyf",t.instructions)).gZone=u.z0=u.z1=u.z2=i,u.contours=s,i.push(new $t(0,0),new $t(Math.round(t.advanceWidth*n),0)),e.DEBUG&&(console.log("---EXEC COMPOSITE---"),u.step=-1),xs(u),i.length-=2)}else u=new er("glyf",t.instructions),e.DEBUG&&(console.log("---EXEC GLYPH---"),u.step=-1),ks(t,u,n,a),i=u.gZone;return i},ks=function(t,r,n,a){for(var o=t.points||[],s=o.length,i=r.gZone=r.z0=r.z1=r.z2=[],u=r.contours=[],l,p=0,c,h;p<s;p++)l=o[p],i[p]=new $t(l.x*n,l.y*a,l.lastPointOfContour,l.onCurve);for(var f=0;f<s;f++)l=i[f],c||(c=l,u.push(f)),l.lastPointOfContour?(l.nextPointOnContour=c,c.prevPointOnContour=l,c=void 0):(h=i[f+1],l.nextPointOnContour=h,h.prevPointOnContour=l);if(r.inhibitGridFit)return;if(e.DEBUG){console.log("PROCESSING GLYPH",r.stack);for(var d=0;d<s;d++)console.log(d,i[d].x,i[d].y)}if(i.push(new $t(0,0),new $t(Math.round(t.advanceWidth*n),0)),xs(r),i.length-=2,e.DEBUG){console.log("FINISHED GLYPH",r.stack);for(var v=0;v<s;v++)console.log(v,i[v].x,i[v].y)}},xs=function(t){var r=t.prog;if(!r)return;var n=r.length,a;for(t.ip=0;t.ip<n;t.ip++){if(e.DEBUG&&t.step++,!(a=Ss[r[t.ip]]))throw new Error("unknown instruction: 0x"+Number(r[t.ip]).toString(16));a(t)}},Ss=[nr.bind(void 0,Es),nr.bind(void 0,Os),ar.bind(void 0,Es),ar.bind(void 0,Os),or.bind(void 0,Es),or.bind(void 0,Os),sr.bind(void 0,0),sr.bind(void 0,1),ir.bind(void 0,0),ir.bind(void 0,1),ur,lr,pr,cr,hr,fr,dr,vr,gr,mr,yr,br,Sr,xr,Tr,kr,Ur,Or,Er,wr,void 0,void 0,Rr,Lr,Cr,Dr,Ir,Gr,Ar,void 0,void 0,void 0,Mr,Br,Fr,void 0,Nr.bind(void 0,0),Nr.bind(void 0,1),Pr.bind(void 0,Es),Pr.bind(void 0,Os),Hr.bind(void 0,0),Hr.bind(void 0,1),zr.bind(void 0,0),zr.bind(void 0,1),Wr.bind(void 0,0),Wr.bind(void 0,1),_r,qr,Xr.bind(void 0,0),Xr.bind(void 0,1),Vr,Yr,jr.bind(void 0,0),jr.bind(void 0,1),Zr,Qr,Kr,Jr,$r,en,tn.bind(void 0,0),tn.bind(void 0,1),void 0,rn.bind(void 0,0),rn.bind(void 0,1),nn,void 0,an,void 0,void 0,on,sn,un,ln,pn,cn,hn,fn,dn,vn,gn,mn,yn,bn.bind(void 0,1),Sn,xn,Tn,kn,Un,On,En,wn,Rn,Ln,Cn.bind(void 0,0),Cn.bind(void 0,1),Cn.bind(void 0,2),Cn.bind(void 0,3),void 0,void 0,void 0,void 0,Dn,bn.bind(void 0,2),bn.bind(void 0,3),In.bind(void 0,1),In.bind(void 0,2),In.bind(void 0,3),Mn,Bn,void 0,void 0,Gn,void 0,An,Fn,Lr,Lr,void 0,void 0,void 0,void 0,void 0,Nn,Pn.bind(void 0,0),Pn.bind(void 0,1),Hn,void 0,zn,Wn,_n,qn,Xn,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,Vn.bind(void 0,1),Vn.bind(void 0,2),Vn.bind(void 0,3),Vn.bind(void 0,4),Vn.bind(void 0,5),Vn.bind(void 0,6),Vn.bind(void 0,7),Vn.bind(void 0,8),Yn.bind(void 0,1),Yn.bind(void 0,2),Yn.bind(void 0,3),Yn.bind(void 0,4),Yn.bind(void 0,5),Yn.bind(void 0,6),Yn.bind(void 0,7),Yn.bind(void 0,8),jn.bind(void 0,0,0,0,0,0),jn.bind(void 0,0,0,0,0,1),jn.bind(void 0,0,0,0,0,2),jn.bind(void 0,0,0,0,0,3),jn.bind(void 0,0,0,0,1,0),jn.bind(void 0,0,0,0,1,1),jn.bind(void 0,0,0,0,1,2),jn.bind(void 0,0,0,0,1,3),jn.bind(void 0,0,0,1,0,0),jn.bind(void 0,0,0,1,0,1),jn.bind(void 0,0,0,1,0,2),jn.bind(void 0,0,0,1,0,3),jn.bind(void 0,0,0,1,1,0),jn.bind(void 0,0,0,1,1,1),jn.bind(void 0,0,0,1,1,2),jn.bind(void 0,0,0,1,1,3),jn.bind(void 0,0,1,0,0,0),jn.bind(void 0,0,1,0,0,1),jn.bind(void 0,0,1,0,0,2),jn.bind(void 0,0,1,0,0,3),jn.bind(void 0,0,1,0,1,0),jn.bind(void 0,0,1,0,1,1),jn.bind(void 0,0,1,0,1,2),jn.bind(void 0,0,1,0,1,3),jn.bind(void 0,0,1,1,0,0),jn.bind(void 0,0,1,1,0,1),jn.bind(void 0,0,1,1,0,2),jn.bind(void 0,0,1,1,0,3),jn.bind(void 0,0,1,1,1,0),jn.bind(void 0,0,1,1,1,1),jn.bind(void 0,0,1,1,1,2),jn.bind(void 0,0,1,1,1,3),jn.bind(void 0,1,0,0,0,0),jn.bind(void 0,1,0,0,0,1),jn.bind(void 0,1,0,0,0,2),jn.bind(void 0,1,0,0,0,3),jn.bind(void 0,1,0,0,1,0),jn.bind(void 0,1,0,0,1,1),jn.bind(void 0,1,0,0,1,2),jn.bind(void 0,1,0,0,1,3),jn.bind(void 0,1,0,1,0,0),jn.bind(void 0,1,0,1,0,1),jn.bind(void 0,1,0,1,0,2),jn.bind(void 0,1,0,1,0,3),jn.bind(void 0,1,0,1,1,0),jn.bind(void 0,1,0,1,1,1),jn.bind(void 0,1,0,1,1,2),jn.bind(void 0,1,0,1,1,3),jn.bind(void 0,1,1,0,0,0),jn.bind(void 0,1,1,0,0,1),jn.bind(void 0,1,1,0,0,2),jn.bind(void 0,1,1,0,0,3),jn.bind(void 0,1,1,0,1,0),jn.bind(void 0,1,1,0,1,1),jn.bind(void 0,1,1,0,1,2),jn.bind(void 0,1,1,0,1,3),jn.bind(void 0,1,1,1,0,0),jn.bind(void 0,1,1,1,0,1),jn.bind(void 0,1,1,1,0,2),jn.bind(void 0,1,1,1,0,3),jn.bind(void 0,1,1,1,1,0),jn.bind(void 0,1,1,1,1,1),jn.bind(void 0,1,1,1,1,2),jn.bind(void 0,1,1,1,1,3)],Zn.prototype.setState=function(e,t){return this.state[e]=t,this.activeState={key:e,value:this.state[e]},this.activeState},Zn.prototype.getState=function(e){return this.state[e]||null},ta.prototype.inboundIndex=function(e){return e>=0&&e<this.tokens.length},ta.prototype.composeRUD=function(e){var t=this,r=!0,n=e.map((function(e){return t[e[0]].apply(t,e.slice(1).concat(r))})),a=function(e){return"object"==typeof e&&e.hasOwnProperty("FAIL")};if(n.every(a))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:n.filter(a)};this.dispatch("composeRUD",[n.filter((function(e){return!a(e)}))])},ta.prototype.replaceRange=function(e,t,r,n){t=null!==t?t:this.tokens.length;var a=r.every((function(e){return e instanceof Zn}));if(!isNaN(e)&&this.inboundIndex(e)&&a){var o=this.tokens.splice.apply(this.tokens,[e,t].concat(r));return n||this.dispatch("replaceToken",[e,t,r]),[o,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},ta.prototype.replaceToken=function(e,t,r){if(!isNaN(e)&&this.inboundIndex(e)&&t instanceof Zn){var n=this.tokens.splice(e,1,t);return r||this.dispatch("replaceToken",[e,t]),[n[0],t]}return{FAIL:"replaceToken: invalid token or index."}},ta.prototype.removeRange=function(e,t,r){t=isNaN(t)?this.tokens.length:t;var n=this.tokens.splice(e,t);return r||this.dispatch("removeRange",[n,e,t]),n},ta.prototype.removeToken=function(e,t){if(!isNaN(e)&&this.inboundIndex(e)){var r=this.tokens.splice(e,1);return t||this.dispatch("removeToken",[r,e]),r}return{FAIL:"removeToken: invalid token index."}},ta.prototype.insertToken=function(e,t,r){var n;return e.every((function(e){return e instanceof Zn}))?(this.tokens.splice.apply(this.tokens,[t,0].concat(e)),r||this.dispatch("insertToken",[e,t]),e):{FAIL:"insertToken: invalid token(s)."}},ta.prototype.registerModifier=function(e,t,r){this.events.newToken.subscribe((function(n,a){var o=[n,a],s,i=[n,a];if(null===t||!0===t.apply(this,o)){var u=r.apply(this,i);n.setState(e,u)}})),this.registeredModifiers.push(e)},$n.prototype.subscribe=function(e){return"function"==typeof e?this.subscribers.push(e)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},$n.prototype.unsubscribe=function(e){this.subscribers.splice(e,1)},Jn.prototype.setCurrentIndex=function(e){this.index=e,this.current=this.context[e],this.backtrack=this.context.slice(0,e),this.lookahead=this.context.slice(e+1)},Jn.prototype.get=function(e){switch(!0){case 0===e:return this.current;case e<0&&Math.abs(e)<=this.backtrack.length:return this.backtrack.slice(e)[0];case e>0&&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<t.length;r++){var n=new Jn(t,r);this.runContextCheck(n)}this.dispatch("updateContextsRanges",[this.registeredContexts])},ta.prototype.setEndOffset=function(e,t){var r,n=new Qn(this.getContext(t).openRange.startIndex,e,t),a=this.getContext(t).ranges;return n.rangeId=t+"."+a.length,a.push(n),this.getContext(t).openRange=null,n},ta.prototype.runContextCheck=function(e){var t=this,r=e.index;this.contextCheckers.forEach((function(n){var a=n.contextName,o=t.getContext(a).openRange;if(!o&&n.checkStart(e)&&(o=new Qn(r,null,a),t.getContext(a).openRange=o,t.dispatch("contextStart",[a,r])),o&&n.checkEnd(e)){var s=r-o.startIndex+1,i=t.setEndOffset(s,a);t.dispatch("contextEnd",[a,i])}}))},ta.prototype.tokenize=function(e){var t=this;this.tokens=[],this.resetContextsRanges();var r=Array.from(e);this.dispatch("start");for(var n=0;n<r.length;n++){var a=r[n],o=new Jn(r,n);this.dispatch("next",[o]),this.runContextCheck(o);var s=new Zn(a);this.tokens.push(s),this.dispatch("newToken",[s,o])}return this.dispatch("end",[this.tokens]),this.tokens},ia.prototype.getDefaultScriptFeaturesIndexes=function(){for(var e=this.font.tables.gsub.scripts,t=0;t<e.length;t++){var r=e[t];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},ia.prototype.getScriptFeaturesIndexes=function(e){var t;if(!this.font.tables.gsub)return[];if(!e)return this.getDefaultScriptFeaturesIndexes();for(var r=this.font.tables.gsub.scripts,n=0;n<r.length;n++){var a=r[n];if(a.tag===e&&a.script.defaultLangSys)return a.script.defaultLangSys.featureIndexes;var o=a.langSysRecords;if(o)for(var s=0;s<o.length;s++){var i=o[s],u;if(i.tag===e)return i.langSys.featureIndexes}}return this.getDefaultScriptFeaturesIndexes()},ia.prototype.mapTagsToFeatures=function(e,t){for(var r={},n=0;n<e.length;n++){var a=e[n].tag,o=e[n].feature;r[a]=o}this.features[t].tags=r},ia.prototype.getScriptFeatures=function(e){var t=this.features[e];if(this.features.hasOwnProperty(e))return t;var r=this.getScriptFeaturesIndexes(e);if(!r)return null;var n=this.font.tables.gsub;return t=r.map((function(e){return n.features[e]})),this.features[e]=t,this.mapTagsToFeatures(t,e),t},ia.prototype.getSubstitutionType=function(e,t){var r,n;return e.lookupType.toString()+t.substFormat.toString()},ia.prototype.getLookupMethod=function(e,t){var r=this,n;switch(this.getSubstitutionType(e,t)){case"11":return function(e){return pa.apply(r,[e,t])};case"12":return function(e){return ca.apply(r,[e,t])};case"63":return function(e){return fa.apply(r,[e,t])};case"41":return function(e){return da.apply(r,[e,t])};case"21":return function(e){return va.apply(r,[e,t])};default:throw new Error("lookupType: "+e.lookupType+" - "+"substFormat: "+t.substFormat+" "+"is not yet supported")}},ia.prototype.lookupFeature=function(e){var t=this,r=e.contextParams,n=r.index,a=this.getFeature({tag:e.tag,script:e.script});if(!a)return new Error("font '"+this.font.names.fullName.en+"' "+"doesn't support feature '"+e.tag+"' "+"for script '"+e.script+"'.");for(var o=this.getFeatureLookups(a),s=[].concat(r.context),i=0;i<o.length;i++)for(var u=o[i],l=this.getLookupSubtables(u),p=0;p<l.length;p++){var c=l[p],h=this.getSubstitutionType(u,c),f=this.getLookupMethod(u,c),d=void 0;switch(h){case"11":(d=f(r.current))&&s.splice(n,1,new ua({id:11,tag:e.tag,substitution:d}));break;case"12":(d=f(r.current))&&s.splice(n,1,new ua({id:12,tag:e.tag,substitution:d}));break;case"63":d=f(r),Array.isArray(d)&&d.length&&s.splice(n,1,new ua({id:63,tag:e.tag,substitution:d}));break;case"41":(d=f(r))&&s.splice(n,1,new ua({id:41,tag:e.tag,substitution:d}));break;case"21":(d=f(r.current))&&s.splice(n,1,new ua({id:21,tag:e.tag,substitution:d}));break}if(r=new Jn(s,n),Array.isArray(d)&&!d.length)continue;d=null}return s.length?s:null},ia.prototype.supports=function(e){if(!e.script)return!1;this.getScriptFeatures(e.script);var t=this.features.hasOwnProperty(e.script);if(!e.tag)return t;var r=this.features[e.script].some((function(t){return t.tag===e.tag}));return t&&r},ia.prototype.getLookupSubtables=function(e){return e.subtables||null},ia.prototype.getLookupByIndex=function(e){var t;return this.font.tables.gsub.lookups[e]||null},ia.prototype.getFeatureLookups=function(e){return e.lookupListIndexes.map(this.getLookupByIndex.bind(this))},ia.prototype.getFeature=function e(t){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(t.script)||this.getScriptFeatures(t.script);var r=this.features[t.script];if(!r)return{FAIL:"No feature for script "+t.script};if(!r.tags[t.tag])return null;return this.features[t.script].tags[t.tag]};var Ls={startCheck:ga,endCheck:ma},Cs={startCheck:ya,endCheck:ba},Ds={11:Sa,12:xa,63:Ta,41:ka},Is={startCheck:Ca,endCheck:Da};Ba.prototype.setText=function(e){this.text=e},Ba.prototype.contextChecks={latinWordCheck:Is,arabicWordCheck:Ls,arabicSentenceCheck:Cs},Ba.prototype.registerFeatures=function(e,t){var r=this,n=t.filter((function(t){return r.query.supports({script:e,tag:t})}));this.featuresTags.hasOwnProperty(e)?this.featuresTags[e]=this.featuresTags[e].concat(n):this.featuresTags[e]=n},Ba.prototype.applyFeatures=function(e,t){var r=this;if(!e)throw new Error("No valid font was provided to apply features");this.query||(this.query=new ia(e));for(var n=0;n<t.length;n++){var a=t[n];if(!this.query.supports({script:a.script}))continue;this.registerFeatures(a.script,a.tags)}},Ba.prototype.registerModifier=function(e,t,r){this.tokenizer.registerModifier(e,t,r)},Ba.prototype.checkContextReady=function(e){return!!this.tokenizer.getContext(e)},Ba.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(Pa.call(this),Ha.call(this)),this.checkContextReady("latinWord")&&za.call(this),this.checkContextReady("arabicSentence")&&Fa.call(this)},Ba.prototype.processText=function(e){this.text&&this.text===e||(this.setText(e),Aa.call(this),this.applyFeaturesToContexts())},Ba.prototype.getBidiText=function(e){return this.processText(e),this.tokenizer.getText()},Ba.prototype.getTextGlyphs=function(e){var t=this;this.processText(e);for(var r=[],n=0;n<this.tokenizer.tokens.length;n++){var a=this.tokenizer.tokens[n];if(a.state.deleted)continue;var o=a.activeState.value;r.push(Array.isArray(o)?o[0]:o)}return r},Wa.prototype.hasChar=function(e){return null!==this.encoding.charToGlyphIndex(e)},Wa.prototype.charToGlyphIndex=function(e){return this.encoding.charToGlyphIndex(e)},Wa.prototype.charToGlyph=function(e){var t=this.charToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Wa.prototype.updateFeatures=function(e){return this.defaultRenderOptions.features.map((function(t){return"latn"===t.script?{script:"latn",tags:t.tags.filter((function(t){return e[t]}))}:t}))},Wa.prototype.stringToGlyphs=function(e,t){var r=this,n=new Ba,a=function(e){return r.charToGlyphIndex(e.char)};n.registerModifier("glyphIndex",null,a);var o=t?this.updateFeatures(t.features):this.defaultRenderOptions.features;n.applyFeatures(this,o);for(var s=n.getTextGlyphs(e),i=s.length,u=new Array(i),l=this.glyphs.get(0),p=0;p<i;p+=1)u[p]=r.glyphs.get(s[p])||l;return u},Wa.prototype.nameToGlyphIndex=function(e){return this.glyphNames.nameToGlyphIndex(e)},Wa.prototype.nameToGlyph=function(e){var t=this.nameToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Wa.prototype.glyphIndexToName=function(e){if(!this.glyphNames.glyphIndexToName)return"";return this.glyphNames.glyphIndexToName(e)},Wa.prototype.getKerningValue=function(e,t){e=e.index||e,t=t.index||t;var r=this.position.defaultKerningTables;if(r)return this.position.getKerningValue(r,e,t);return this.kerningPairs[e+","+t]||0},Wa.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},Wa.prototype.forEachGlyph=function(e,t,r,n,a,o){var s=this;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:72,a=a||this.defaultRenderOptions;var i=1/this.unitsPerEm*n,u=this.stringToGlyphs(e,a),l;if(a.kerning){var p=a.script||this.position.getDefaultScriptName();l=this.position.getKerningTables(p,a.language)}for(var c=0;c<u.length;c+=1){var h=u[c],f;if(o.call(this,h,t,r,n,a),h.advanceWidth&&(t+=h.advanceWidth*i),a.kerning&&c<u.length-1)t+=(l?this.position.getKerningValue(l,h.index,u[c+1].index):this.getKerningValue(h,u[c+1]))*i;a.letterSpacing?t+=a.letterSpacing*n:a.tracking&&(t+=a.tracking/1e3*n)}return t},Wa.prototype.getPath=function(e,t,r,n,a){var o=new v;return this.forEachGlyph(e,t,r,n,a,(function(e,t,r,n){var s=e.getPath(t,r,n,a,this);o.extend(s)})),o},Wa.prototype.getPaths=function(e,t,r,n,a){var o=[];return this.forEachGlyph(e,t,r,n,a,(function(e,t,r,n){var s=e.getPath(t,r,n,a,this);o.push(s)})),o},Wa.prototype.getAdvanceWidth=function(e,t,r){return this.forEachGlyph(e,0,0,t,r,(function(){}))},Wa.prototype.draw=function(e,t,r,n,a,o){this.getPath(t,r,n,a,o).draw(e)},Wa.prototype.drawPoints=function(e,t,r,n,a,o){this.forEachGlyph(t,r,n,a,o,(function(t,r,n,a){t.drawPoints(e,r,n,a)}))},Wa.prototype.drawMetrics=function(e,t,r,n,a,o){this.forEachGlyph(t,r,n,a,o,(function(t,r,n,a){t.drawMetrics(e,r,n,a)}))},Wa.prototype.getEnglishName=function(e){var t=this.names[e];if(t)return t.en},Wa.prototype.validate=function(){function e(e,t){}function t(e){var t=r.getEnglishName(e);t&&t.trim().length}var r=this;t("fontFamily"),t("weightName"),t("manufacturer"),t("copyright"),t("version"),this.unitsPerEm},Wa.prototype.toTables=function(){return ys.fontToTable(this)},Wa.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},Wa.prototype.toArrayBuffer=function(){for(var e,t=this.toTables().encode(),r=new ArrayBuffer(t.length),n=new Uint8Array(r),a=0;a<t.length;a++)n[a]=t[a];return r},Wa.prototype.download=function(e){var t=this.getEnglishName("fontFamily"),r=this.getEnglishName("fontSubfamily");e=e||t.replace(/\s/g,"")+"-"+r+".otf";var n=this.toArrayBuffer();if(Dt())if(window.URL=window.URL||window.webkitURL,window.URL){var a=new DataView(n),o=new Blob([a],{type:"font/opentype"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=e;var i=document.createEvent("MouseEvents");i.initEvent("click",!0,!1),s.dispatchEvent(i)}else console.warn("Font file could not be downloaded. Try using a different browser.");else{var u=require("fs"),l=Mt(n);u.writeFileSync(e,l)}},Wa.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},Wa.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},Wa.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var Ms={make:ja,parse:Za},Bs=new Array(10);Bs[1]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{posFormat:1,coverage:this.parsePointer(H.coverage),value:this.parseValueRecord()};if(2===r)return{posFormat:2,coverage:this.parsePointer(H.coverage),values:this.parseValueRecordList()};Eo.assert(!1,"0x"+t.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},Bs[2]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();Eo.assert(1===r||2===r,"0x"+t.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var n=this.parsePointer(H.coverage),a=this.parseUShort(),o=this.parseUShort();if(1===r)return{posFormat:r,coverage:n,valueFormat1:a,valueFormat2:o,pairSets:this.parseList(H.pointer(H.list((function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(a),value2:this.parseValueRecord(o)}}))))};if(2===r){var s=this.parsePointer(H.classDef),i=this.parsePointer(H.classDef),u=this.parseUShort(),l=this.parseUShort();return{posFormat:r,coverage:n,valueFormat1:a,valueFormat2:o,classDef1:s,classDef2:i,class1Count:u,class2Count:l,classRecords:this.parseList(u,H.list(l,(function(){return{value1:this.parseValueRecord(a),value2:this.parseValueRecord(o)}})))}}},Bs[3]=function e(){return{error:"GPOS Lookup 3 not supported"}},Bs[4]=function e(){return{error:"GPOS Lookup 4 not supported"}},Bs[5]=function e(){return{error:"GPOS Lookup 5 not supported"}},Bs[6]=function e(){return{error:"GPOS Lookup 6 not supported"}},Bs[7]=function e(){return{error:"GPOS Lookup 7 not supported"}},Bs[8]=function e(){return{error:"GPOS Lookup 8 not supported"}},Bs[9]=function e(){return{error:"GPOS Lookup 9 not supported"}};var Gs=new Array(10),As={parse:Qa,make:Ka},Fs={parse:eo},Ns={parse:to};e.Font=Wa,e.Glyph=re,e.Path=v,e.BoundingBox=d,e._parse=Ho,e.parse=io,e.load=uo,e.loadSync=lo,Object.defineProperty(e,"__esModule",{value:!0})}));;
|
||
var Stimulsoft;!function(t){var e;e=t.ExternalLibrary||(t.ExternalLibrary={})}(Stimulsoft||(Stimulsoft={})),
|
||
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. 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;r<t.length;r++)if(!e(t[r])||t[r]<0||t[r]>255)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;r<t.length;r+=4)e.push(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}function h(t){var e=16-(t=i(t,!0)).length%16,r=n(t.length+e);s(t,r);for(var o=t.length;o<r.length;o++)r[o]=e;return r}function a(t){if((t=i(t,!0)).length<16)throw new Error("PKCS#7 invalid length");var e=t[t.length-1];if(e>16)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,o=0;o<e;o++)if(t[r+o]!==e)throw new Error("PKCS#7 invalid padding byte");var h=n(r);return s(t,h,0,0,r),h}var f=function(){function t(t){var e=[],r=0;t=encodeURI(t);while(r<t.length){var n=t.charCodeAt(r++);37===n?(e.push(parseInt(t.substr(r,2),16)),r+=2):e.push(n)}return i(e)}function e(t){var e=[],r=0;while(r<t.length){var i=t[r];i<128?(e.push(String.fromCharCode(i)),r++):i>191&&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<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e}function e(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];e.push(r[(240&n)>>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<i;e++)s=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<r){if(f=n[i-1],n[0]^=p[f>>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<i;e++)n[e]^=n[e-1];else{for(var e=1;e<i/2;e++)n[e]^=n[e-1];f=n[i/2-1],n[i/2]^=p[255&f]^p[f>>8&255]<<8^p[f>>16&255]<<16^p[f>>24&255]<<24;for(var e=i/2+1;e<i;e++)n[e]^=n[e-1]}var e=0,u,y;while(e<i&&a<r)u=a>>2,y=a%4,this._Ke[u][y]=n[e],this._Kd[t-u][y]=n[e++],a++}for(var u=1;u<t;u++)for(var y=0;y<4;y++)f=this._Kd[u][y],this._Kd[u][y]=S[f>>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<e;h++){for(var s=0;s<4;s++)r[s]=g[i[s]>>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<e;h++){for(var s=0;s<4;s++)r[s]=w[i[s]>>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;o<t.length;o+=16)s(t,r,0,o,o+16),s(r=this._aes.encrypt(r),e,o);return e},K.prototype.decrypt=function(t){if((t=i(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=n(t.length),r=n(16),o=0;o<t.length;o+=16)s(t,r,0,o,o+16),s(r=this._aes.decrypt(r),e,o);return e};var k=function(t,e){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=n(16);this._lastCipherblock=i(e,!0),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;o<t.length;o+=16){s(t,r,0,o,o+16);for(var h=0;h<16;h++)r[h]^=this._lastCipherblock[h];this._lastCipherblock=this._aes.encrypt(r),s(this._lastCipherblock,e,o)}return e},k.prototype.decrypt=function(t){if((t=i(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=n(t.length),r=n(16),o=0;o<t.length;o+=16){s(t,r,0,o,o+16),r=this._aes.decrypt(r);for(var h=0;h<16;h++)e[o+h]=r[h]^this._lastCipherblock[h];s(t,this._lastCipherblock,0,o,o+16)}return e};var I=function(t,e,r){if(!(this instanceof I))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 size)")}else e=n(16);r||(r=1),this.segmentSize=r,this._shiftRegister=i(e,!0),this._aes=new A(t)};I.prototype.encrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var e=i(t,!0),r,n=0;n<e.length;n+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)e[n+o]^=r[o];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(e,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return e},I.prototype.decrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var e=i(t,!0),r,n=0;n<e.length;n+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)e[n+o]^=r[o];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(t,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return e};var P=function(t,e){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=n(16);this._lastPrecipher=i(e,!0),this._lastPrecipherIndex=16,this._aes=new A(t)};P.prototype.encrypt=function(t){for(var e=i(t,!0),r=0;r<e.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),e[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return e},P.prototype.decrypt=P.prototype.encrypt;var j=function(t){if(!(this instanceof j))throw Error("Counter must be instanitated with `new`");0===t||t||(t=1),"number"==typeof t?(this._counter=n(16),this.setValue(t)):this.setBytes(t)};j.prototype.setValue=function(t){if("number"!=typeof t||parseInt(t)!=t)throw new Error("invalid counter value (must be an integer)");if(t>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var e=15;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<e.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),e[r]^=this._remainingCounter[this._remainingCounterIndex++];return e},R.prototype.decrypt=R.prototype.encrypt;var B={AES:A,Counter:j,ModeOfOperation:{ecb:K,cbc:k,cfb:I,ofb:P,ctr:R},utils:{hex:u,utf8:f},padding:{pkcs7:{pad:h,strip:a}},_arrayTest:{coerceArray:i,createArray:n,copyArray:s}};"object"==typeof exports&&"undefined"!=typeof module?module.exports=B:"function"==typeof define&&define.amd?define([],(function(){return B})):(t.aesjs&&(B._aesjs=t.aesjs),t.aesjs=B),Stimulsoft.ExternalLibrary.aesjs=B}(this),"object"==typeof module&&(module.exports=Stimulsoft);;
|
||
/**
|
||
* A class to parse color values
|
||
* @author Stoyan Stefanov <sstoo@gmail.com>
|
||
* @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;d<t.length;d++){var n=t[d].re,i=t[d].process,l=n.exec(e);l&&(channels=i(l),this.r=channels[0],this.g=channels[1],this.b=channels[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?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<t.length;r++)for(var d=t[r].example,n=0;n<d.length;n++)e[e.length]=d[n];for(var i in a)e[e.length]=i;var l=document.createElement("ul");l.setAttribute("id","rgbcolor-examples");for(var r=0;r<e.length;r++)try{var o=document.createElement("li"),s=new f(e[r]),c=document.createElement("div");c.style.cssText="margin: 3px; "+"border: 1px solid black; "+"background:"+s.toHex()+"; "+"color:"+s.toHex(),c.appendChild(document.createTextNode("test"));var b=document.createTextNode(" "+e[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<a;r+=4){var n=t[r+3]/255;t[r]*=n,t[r+1]*=n,t[r+2]*=n}}function a(e){for(var t=e.data,a=e.width*e.height*4,r=0;r<a;r+=4){var n=t[r+3];0!=n&&(n=255/n,t[r]*=n,t[r+1]*=n,t[r+2]*=n)}}function r(e,t,a,r){var i=document.getElementById(e),g=i.naturalWidth,c=i.naturalHeight,l=document.getElementById(t);l.style.width=g+"px",l.style.height=c+"px",l.width=g,l.height=c;var d=l.getContext("2d");if(d.clearRect(0,0,g,c),d.drawImage(i,0,0),isNaN(a)||a<1)return;r?n(t,0,0,g,c,a):o(t,0,0,g,c,a)}function n(e,r,n,o,l,d){if(isNaN(d)||d<1)return;d|=0;var f,s=document.getElementById(e).getContext("2d"),u;try{try{u=s.getImageData(r,n,o,l)}catch(e){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),u=s.getImageData(r,n,o,l)}catch(e){throw alert("Cannot access local image"),new Error("unable to access local image data: "+e);return}}}catch(e){throw alert("Cannot access image"),new Error("unable to access image data: "+e)}t(u);var h=u.data,m,x,b,v,w,y,p,I,B,E,C,D,N,R,P,G,M,U,k,A,H,W,j,q,z=d+d+1,F=o<<2,J=o-1,K=l-1,L=d+1,O=L*(L+1)/2,Q=new i,S=Q;for(b=1;b<z;b++)if(S=S.next=new i,b==L)var T=S;S.next=Q;var V=null,X=null;p=y=0;var Y=g[d],Z=c[d];for(x=0;x<l;x++){for(G=M=U=k=I=B=E=C=0,D=L*(A=h[y]),N=L*(H=h[y+1]),R=L*(W=h[y+2]),P=L*(j=h[y+3]),I+=O*A,B+=O*H,E+=O*W,C+=O*j,S=Q,b=0;b<L;b++)S.r=A,S.g=H,S.b=W,S.a=j,S=S.next;for(b=1;b<L;b++)v=y+((J<b?J:b)<<2),I+=(S.r=A=h[v])*(q=L-b),B+=(S.g=H=h[v+1])*q,E+=(S.b=W=h[v+2])*q,C+=(S.a=j=h[v+3])*q,G+=A,M+=H,U+=W,k+=j,S=S.next;for(V=Q,X=T,m=0;m<o;m++)h[y]=I*Y>>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)<J?v:J)<<2,I+=G+=V.r=h[v],B+=M+=V.g=h[v+1],E+=U+=V.b=h[v+2],C+=k+=V.a=h[v+3],V=V.next,D+=A=X.r,N+=H=X.g,R+=W=X.b,P+=j=X.a,G-=A,M-=H,U-=W,k-=j,X=X.next,y+=4;p+=o}for(m=0;m<o;m++){for(M=U=k=G=B=E=C=I=0,D=L*(A=h[y=m<<2]),N=L*(H=h[y+1]),R=L*(W=h[y+2]),P=L*(j=h[y+3]),I+=O*A,B+=O*H,E+=O*W,C+=O*j,S=Q,b=0;b<L;b++)S.r=A,S.g=H,S.b=W,S.a=j,S=S.next;for(w=o,b=1;b<=d;b++)y=w+m<<2,I+=(S.r=A=h[y])*(q=L-b),B+=(S.g=H=h[y+1])*q,E+=(S.b=W=h[y+2])*q,C+=(S.a=j=h[y+3])*q,G+=A,M+=H,U+=W,k+=j,S=S.next,b<K&&(w+=o);for(y=m,V=Q,X=T,x=0;x<l;x++)h[v=y<<2]=I*Y>>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)<K?v:K)*o<<2,I+=G+=V.r=h[v],B+=M+=V.g=h[v+1],E+=U+=V.b=h[v+2],C+=k+=V.a=h[v+3],V=V.next,D+=A=X.r,N+=H=X.g,R+=W=X.b,P+=j=X.a,G-=A,M-=H,U-=W,k-=j,X=X.next,y+=o}a(u),s.putImageData(u,r,n)}function o(e,t,a,r,n,o){if(isNaN(o)||o<1)return;o|=0;var l,d=document.getElementById(e).getContext("2d"),f;try{try{f=d.getImageData(t,a,r,n)}catch(e){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),f=d.getImageData(t,a,r,n)}catch(e){throw alert("Cannot access local image"),new Error("unable to access local image data: "+e);return}}}catch(e){throw alert("Cannot access image"),new Error("unable to access image data: "+e)}var s=f.data,u,h,m,x,b,v,w,y,p,I,B,E,C,D,N,R,P,G,M,U,k=o+o+1,A=r<<2,H=r-1,W=n-1,j=o+1,q=j*(j+1)/2,z=new i,F=z;for(m=1;m<k;m++)if(F=F.next=new i,m==j)var J=F;F.next=z;var K=null,L=null;w=v=0;var O=g[o],Q=c[o];for(h=0;h<n;h++){for(D=N=R=y=p=I=0,B=j*(P=s[v]),E=j*(G=s[v+1]),C=j*(M=s[v+2]),y+=q*P,p+=q*G,I+=q*M,F=z,m=0;m<j;m++)F.r=P,F.g=G,F.b=M,F=F.next;for(m=1;m<j;m++)x=v+((H<m?H:m)<<2),y+=(F.r=P=s[x])*(U=j-m),p+=(F.g=G=s[x+1])*U,I+=(F.b=M=s[x+2])*U,D+=P,N+=G,R+=M,F=F.next;for(K=z,L=J,u=0;u<r;u++)s[v]=y*O>>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)<H?x:H)<<2,y+=D+=K.r=s[x],p+=N+=K.g=s[x+1],I+=R+=K.b=s[x+2],K=K.next,B+=P=L.r,E+=G=L.g,C+=M=L.b,D-=P,N-=G,R-=M,L=L.next,v+=4;w+=r}for(u=0;u<r;u++){for(N=R=D=p=I=y=0,B=j*(P=s[v=u<<2]),E=j*(G=s[v+1]),C=j*(M=s[v+2]),y+=q*P,p+=q*G,I+=q*M,F=z,m=0;m<j;m++)F.r=P,F.g=G,F.b=M,F=F.next;for(b=r,m=1;m<=o;m++)v=b+u<<2,y+=(F.r=P=s[v])*(U=j-m),p+=(F.g=G=s[v+1])*U,I+=(F.b=M=s[v+2])*U,D+=P,N+=G,R+=M,F=F.next,m<W&&(b+=r);for(v=u,K=z,L=J,h=0;h<n;h++)s[x=v<<2]=y*O>>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)<W?x:W)*r<<2,y+=D+=K.r=s[x],p+=N+=K.g=s[x+1],I+=R+=K.b=s[x+2],K=K.next,B+=P=L.r,E+=G=L.g,C+=M=L.b,D-=P,N-=G,R-=M,L=L.next,v+=r}d.putImageData(f,t,a)}function i(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var g=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],c=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24],l={image:r,canvasRGBA:n,canvasRGB:o};"undefined"!=typeof define&&define.amd?define((function(){return l})):"undefined"!=typeof module&&module.exports&&(module.exports=l),e.stackBlur=l}("undefined"!=typeof window?window:this);;
|
||
var Stimulsoft;(function(Stimulsoft){var ExternalLibrary;(function(ExternalLibrary){})(ExternalLibrary=Stimulsoft.ExternalLibrary||(Stimulsoft.ExternalLibrary={}));})(Stimulsoft||(Stimulsoft={}));!function(t,r){Stimulsoft.ExternalLibrary.XXH=r()}(this,function(){return function(t){function r(e){if(i[e])return i[e].exports;var o=i[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var i={};return r.m=t,r.c=i,r.d=function(t,i,e){r.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var i=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(i,"a",i),i},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=2)}([function(t,r,i){"use strict";(function(t){function e(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,r){if(o()<r)throw new RangeError("Invalid typed array length");return n.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=n.prototype):(null===t&&(t=new n(r)),t.length=r),t}function n(t,r,i){if(!(n.TYPED_ARRAY_SUPPORT||this instanceof n))return new n(t,r,i);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return s(this,t,r,i)}function s(t,r,i,e){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?p(t,r,i,e):"string"==typeof r?l(t,r,i):m(t,r)}function a(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>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<i)throw new RangeError("'offset' is out of bounds");if(r.byteLength<i+(e||0))throw new RangeError("'length' is out of bounds");return r=void 0===i&&void 0===e?new Uint8Array(r):void 0===e?new Uint8Array(r,i):new Uint8Array(r,i,e),n.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=n.prototype):t=c(t,r),t}function m(t,r){if(n.isBuffer(r)){var i=0|y(r.length);return t=h(t,i),0===t.length?t:(r.copy(t,0,0,i),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||K(r.length)?h(t,0):c(t,r);if("Buffer"===r.type&&$(r.data))return c(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=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;h<e.length;h+=2)o+=String.fromCharCode(e[h]+256*e[h+1]);return o}function M(t,r,i){if(t%1!==0||0>t)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<t.length;++i)r.push(255&t.charCodeAt(i));return r}function J(t,r){for(var i,e,o,h=[],n=0;n<t.length&&!((r-=2)<0);++n)i=t.charCodeAt(n),e=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;i<t.length;++i)r+=t[i].length;var e=n.allocUnsafe(r),o=0;for(i=0;i<t.length;++i){var h=t[i];if(!n.isBuffer(h))throw new TypeError('"list" argument must be an Array of Buffers');h.copy(e,o),o+=h.length}return e},n.byteLength=d,n.prototype._isBuffer=!0,n.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;t>r;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+=" ... ")),"<Buffer "+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;++h<r&&(o*=256);)e+=this[t+h]*o;return e},n.prototype.readUIntBE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t+--r],o=1;r>0&&(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<r&&(o*=256);)e+=this[t+h]*o;return o*=128,e>=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<i&&(h*=256);)this[r+n]=t/h&255;return r+i},n.prototype.writeUIntBE=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=i-1,n=1;for(this[r+h]=255&t;--h>=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;++h<i&&(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.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-r<e-i&&(e=t.length-r+i);var o,h=e-i;if(this===t&&r>i&&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<r||this.length<i)throw new RangeError("Out of range index");if(r>=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<<s)-1,u=a>>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<<u)-1,l=f>>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<<o|s,u+=o;u>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<<i-16:this._low|=1<<i);return this},h.prototype.negate=function(){var t=(65535&~this._low)+1;return this._low=65535&t,this._high=~this._high+(t>>>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._high<t._high?!1:this._low>t._low},h.prototype.lessThan=h.prototype.lt=function(t){return this._high<t._high?!0:this._high>t._high?!1:this._low<t._low},h.prototype.or=function(t){return this._low|=t._low,this._high|=t._high,this},h.prototype.and=function(t){return this._low&=t._low,this._high&=t._high,this},h.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},h.prototype.xor=function(t){return this._low^=t._low,this._high^=t._high,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t>16?(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<<t-16,this._low=0,r||(this._high&=65535)):16==t?(this._high=this._low,this._low=0):(this._high=this._high<<t|this._low>>16-t,this._low=this._low<<t&65535,r||(this._high&=65535)),this},h.prototype.rotateLeft=h.prototype.rotl=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.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<<i-48:i>=32?this._a32|=1<<i-32:i>=16?this._a16|=1<<i-16:this._a00|=1<<i);return this},h.prototype.negate=function(){var t=(65535&~this._a00)+1;return this._a00=65535&t,t=(65535&~this._a16)+(t>>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},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._a48<t._a48?!1:this._a32>t._a32?!0:this._a32<t._a32?!1:this._a16>t._a16?!0:this._a16<t._a16?!1:this._a00>t._a00},h.prototype.lessThan=h.prototype.lt=function(t){return this._a48<t._a48?!0:this._a48>t._a48?!1:this._a32<t._a32?!0:this._a32>t._a32?!1:this._a16<t._a16?!0:this._a16>t._a16?!1:this._a00<t._a00},h.prototype.or=function(t){return this._a00|=t._a00,this._a16|=t._a16,this._a32|=t._a32,this._a48|=t._a48,this},h.prototype.and=function(t){return this._a00&=t._a00,this._a16&=t._a16,this._a32&=t._a32,this._a48&=t._a48,this},h.prototype.xor=function(t){return this._a00^=t._a00,this._a16^=t._a16,this._a32^=t._a32,this._a48^=t._a48,this},h.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t%=64,t>=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<<t-48,this._a32=0,this._a16=0,this._a00=0):t>=32?(t-=32,this._a48=this._a16<<t|this._a00>>16-t,this._a32=this._a00<<t&65535,this._a16=0,this._a00=0):t>=16?(t-=16,this._a48=this._a32<<t|this._a16>>16-t,this._a32=65535&(this._a16<<t|this._a00>>16-t),this._a16=this._a00<<t&65535,this._a00=0):(this._a48=this._a48<<t|this._a32>>16-t,this._a32=65535&(this._a32<<t|this._a16>>16-t),this._a16=65535&(this._a16<<t|this._a00>>16-t),this._a00=this._a00<<t&65535),r||(this._a48&=65535),this},h.prototype.rotateLeft=h.prototype.rotl=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.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<a.Images.length;t++)if(!a.Images[t].loaded)return!1;return!0},a.trim=function(t){return t.replace(/^\s+|\s+$/g,"")},a.compressSpaces=function(t){return t.replace(/(?!\u3000)\s+/gm," ")},a.ajax=function(t){var e;if(e=h.XMLHttpRequest?new h.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"))return e.open("GET",t,!1),e.send(null),e.responseText;return null},a.parseXml=function(t){if("undefined"!=typeof Windows&&void 0!==Windows.Data&&void 0!==Windows.Data.Xml){var e=new Windows.Data.Xml.Dom.XmlDocument,n=new Windows.Data.Xml.Dom.XmlLoadSettings;return n.prohibitDtd=!1,e.loadXml(t,n),e}var e;if(!h.DOMParser)return t=t.replace(/<!DOCTYPE svg[^>]*>/,""),(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;o<n.length;o++)s.fontStyle||-1==t.Styles.indexOf(n[o])?s.fontVariant||-1==t.Variants.indexOf(n[o])?s.fontWeight||-1==t.Weights.indexOf(n[o])?s.fontSize?"inherit"!=n[o]&&(r+=n[o]):("inherit"!=n[o]&&(i.fontSize=n[o].split("/")[0]),s.fontStyle=s.fontVariant=s.fontWeight=s.fontSize=!0):("inherit"!=n[o]&&(i.fontWeight=n[o]),s.fontStyle=s.fontVariant=s.fontWeight=!0):("inherit"!=n[o]&&(i.fontVariant=n[o]),s.fontStyle=s.fontVariant=!0):("inherit"!=n[o]&&(i.fontStyle=n[o]),s.fontStyle=!0);return""!=r&&(i.fontFamily=r),i}},a.ToNumberArray=function(t){for(var e=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[],i=0;i<e.length;i++)e[i]=parseFloat(e[i]);return e},a.Point=function(t,e){this.x=t,this.y=e},a.Point.prototype.angleTo=function(t){return Math.atan2(t.y-this.y,t.x-this.x)},a.Point.prototype.applyTransform=function(t){var e=this.x*t[0]+this.y*t[2]+t[4],i=this.x*t[1]+this.y*t[3]+t[5];this.x=e,this.y=i},a.CreatePoint=function(t){var e=a.ToNumberArray(t);return new a.Point(e[0],e[1])},a.CreatePath=function(t){for(var e=a.ToNumberArray(t),i=[],n=0;n<e.length;n+=2)i.push(new a.Point(e[n],e[n+1]));return i},a.BoundingBox=function(t,e,i,n){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=function(){return this.x1},this.y=function(){return this.y1},this.width=function(){return this.x2-this.x1},this.height=function(){return this.y2-this.y1},this.addPoint=function(t,e){null!=t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),null!=e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))},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<v&&v<1&&(0==f&&this.addX(p(v)),1==f&&this.addY(p(v)));continue}var g=Math.pow(d,2)-4*y*m;if(g<0)continue;var x=(-d+Math.sqrt(g))/(2*m);0<x&&x<1&&(0==f&&this.addX(p(x)),1==f&&this.addY(p(x)));var b=(-d-Math.sqrt(g))/(2*m);0<b&&b<1&&(0==f&&this.addX(p(b)),1==f&&this.addY(p(b)))}},this.isPointInBox=function(t,e){return this.x1<=t&&t<=this.x2&&this.y1<=e&&e<=this.y2},this.addPoint(t,e),this.addPoint(i,n)},a.Transform=function(t){var e=this;this.Type={},this.Type.translate=function(t){this.p=a.CreatePoint(t),this.apply=function(t){t.translate(this.p.x||0,this.p.y||0)},this.unapply=function(t){t.translate(-1*this.p.x||0,-1*this.p.y||0)},this.applyToPoint=function(t){t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(t){var e=a.ToNumberArray(t);this.angle=new a.Property("angle",e[0]),this.cx=e[1]||0,this.cy=e[2]||0,this.apply=function(t){t.translate(this.cx,this.cy),t.rotate(this.angle.toRadians()),t.translate(-this.cx,-this.cy)},this.unapply=function(t){t.translate(this.cx,this.cy),t.rotate(-1*this.angle.toRadians()),t.translate(-this.cx,-this.cy)},this.applyToPoint=function(t){var e=this.angle.toRadians();t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),t.applyTransform([Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0]),t.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(t){this.p=a.CreatePoint(t),this.apply=function(t){t.scale(this.p.x||1,this.p.y||this.p.x||1)},this.unapply=function(t){t.scale(1/this.p.x||1,1/this.p.y||this.p.x||1)},this.applyToPoint=function(t){t.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(t){this.m=a.ToNumberArray(t),this.apply=function(t){t.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.unapply=function(t){var e=this.m[0],i=this.m[2],n=this.m[4],s=this.m[1],a=this.m[3],r=this.m[5],o=0,h=0,l=1,u=1/(e*(a*l-r*h)-i*(s*l-r*o)+n*(s*h-a*o));t.transform(u*(a*l-r*h),u*(r*o-s*l),u*(n*h-i*l),u*(e*l-n*o),u*(i*r-n*a),u*(n*s-e*r))},this.applyToPoint=function(t){t.applyTransform(this.m)}},this.Type.SkewBase=function(t){this.base=e.Type.matrix,this.base(t),this.angle=new a.Property("angle",t)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(t){this.base=e.Type.SkewBase,this.base(t),this.m=[1,0,Math.tan(this.angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(t){this.base=e.Type.SkewBase,this.base(t),this.m=[1,Math.tan(this.angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].apply(t)},this.unapply=function(t){for(var e=this.transforms.length-1;e>=0;e--)this.transforms[e].unapply(t)},this.applyToPoint=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].applyToPoint(t)};for(var i=a.trim(a.compressSpaces(t)).replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/),n=0;n<i.length;n++){if("none"===i[n])continue;var s=a.trim(i[n].split("(")[0]),r=i[n].split("(")[1].replace(")",""),o=this.Type[s];if(void 0!==o){var h=new o(r);h.type=s,this.transforms.push(h)}}},a.AspectRatio=function(t,e,i,n,s,r,o,h,l,u){var c=(e=(e=a.compressSpaces(e)).replace(/^defer\s/,"")).split(" ")[0]||"xMidYMid",f=e.split(" ")[1]||"meet",p=i/n,d=s/r,m=Math.min(p,d),y=Math.max(p,d);"meet"==f&&(n*=m,r*=m),"slice"==f&&(n*=y,r*=y),l=new a.Property("refX",l),u=new a.Property("refY",u),l.hasValue()&&u.hasValue()?t.translate(-m*l.toPixels("x"),-m*u.toPixels("y")):(c.match(/^xMid/)&&("meet"==f&&m==d||"slice"==f&&y==d)&&t.translate(i/2-n/2,0),c.match(/YMid$/)&&("meet"==f&&m==p||"slice"==f&&y==p)&&t.translate(0,s/2-r/2),c.match(/^xMax/)&&("meet"==f&&m==d||"slice"==f&&y==d)&&t.translate(i-n,0),c.match(/YMax$/)&&("meet"==f&&m==p||"slice"==f&&y==p)&&t.translate(0,s-r)),"none"==c?t.scale(p,d):"meet"==f?t.scale(m,m):"slice"==f&&t.scale(y,y),t.translate(null==o?0:-o,null==h?0:-h)},a.Element={},a.EmptyProperty=new a.Property("EMPTY",""),a.Element.ElementBase=function(t){this.attributes={},this.styles={},this.stylesSpecificity={},this.children=[],this.attribute=function(t,e){var i=this.attributes[t];if(null!=i)return i;return 1==e&&(i=new a.Property(t,""),this.attributes[t]=i),i||a.EmptyProperty},this.getHrefAttribute=function(){for(var t in this.attributes)if("href"==t||t.match(/:href$/))return this.attributes[t];return a.EmptyProperty},this.style=function(t,e,i){var n=this.styles[t];if(null!=n)return n;var s=this.attribute(t);if(null!=s&&s.hasValue())return this.styles[t]=s,s;if(1!=i){var r=this.parent;if(null!=r){var o=r.style(t);if(null!=o&&o.hasValue())return o}}return 1==e&&(n=new a.Property(t,""),this.styles[t]=n),n||a.EmptyProperty},this.render=function(t){if("none"==this.style("display").value)return;if("hidden"==this.style("visibility").value)return;if(t.save(),this.style("mask").hasValue()){var e=this.style("mask").getDefinition();null!=e&&e.apply(t,this)}else if(this.style("filter").hasValue()){var i=this.style("filter").getDefinition();null!=i&&i.apply(t,this)}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()},this.setContext=function(){},this.clearContext=function(){},this.renderChildren=function(t){for(var e=0;e<this.children.length;e++)this.children[e].render(t)},this.addChild=function(t,e){var i=t;e&&(i=a.CreateElement(t)),i.parent=this,"title"!=i.type&&this.children.push(i)},this.addStylesFromStyleDefinition=function(){for(var e in a.Styles)if("@"!=e[0]&&p(t,e)){var i=a.Styles[e],n=a.StylesSpecificity[e];if(null!=i)for(var s in i){var r=this.stylesSpecificity[s];void 0===r&&(r="000"),n>=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;n<t.attributes.length;n++){var s=t.attributes[n],r=i(s.nodeName);this.attributes[r]=new a.Property(r,s.value)}if(this.addStylesFromStyleDefinition(),this.attribute("style").hasValue())for(var o=this.attribute("style").value.split(";"),n=0;n<o.length;n++)if(""!=a.trim(o[n])){var h=o[n].split(":"),l=a.trim(h[0]),u=a.trim(h[1]);this.styles[l]=new a.Property(l,u)}this.attribute("id").hasValue()&&null==a.Definitions[this.attribute("id").value]&&(a.Definitions[this.attribute("id").value]=this);for(var n=0;n<t.childNodes.length;n++){var c=t.childNodes[n];if(1==c.nodeType&&this.addChild(c,!0),this.captureTextNodes&&(3==c.nodeType||4==c.nodeType)){var f=c.value||c.text||c.textContent||"";""!=a.compressSpaces(f)&&this.addChild(new a.Element.tspan(c),!1)}}}},a.Element.RenderedElementBase=function(t){this.base=a.Element.ElementBase,this.base(t),this.calculateOpacity=function(){var t=1,e=this;while(null!=e){var i=e.style("opacity",!1,!0);i.hasValue()&&(t*=i.numValue()),e=e.parent}return t},this.setContext=function(t,e){if(!e){var i,n,i,s;if(this.style("fill").isUrlDefinition())null!=(i=this.style("fill").getFillStyleDefinition(this,this.style("fill-opacity")))&&(t.fillStyle=i);else if(this.style("fill").hasValue()){var n;"currentColor"==(n=this.style("fill")).value&&(n.value=this.style("color").value),"inherit"!=n.value&&(t.fillStyle="none"==n.value?"rgba(0,0,0,0)":n.value)}if(this.style("fill-opacity").hasValue())n=(n=new a.Property("fill",t.fillStyle)).addOpacity(this.style("fill-opacity")),t.fillStyle=n.value;if(this.style("stroke").isUrlDefinition())null!=(i=this.style("stroke").getFillStyleDefinition(this,this.style("stroke-opacity")))&&(t.strokeStyle=i);else if(this.style("stroke").hasValue()){var s;"currentColor"==(s=this.style("stroke")).value&&(s.value=this.style("color").value),"inherit"!=s.value&&(t.strokeStyle="none"==s.value?"rgba(0,0,0,0)":s.value)}if(this.style("stroke-opacity").hasValue())s=(s=new a.Property("stroke",t.strokeStyle)).addOpacity(this.style("stroke-opacity")),t.strokeStyle=s.value;if(this.style("stroke-width").hasValue()){var r=this.style("stroke-width").toPixels();t.lineWidth=0==r?.001:r}if(this.style("stroke-linecap").hasValue()&&(t.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(t.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(t.miterLimit=this.style("stroke-miterlimit").value),this.style("paint-order").hasValue()&&(t.paintOrder=this.style("paint-order").value),this.style("stroke-dasharray").hasValue()&&"none"!=this.style("stroke-dasharray").value){var o=a.ToNumberArray(this.style("stroke-dasharray").value);void 0!==t.setLineDash?t.setLineDash(o):void 0!==t.webkitLineDash?t.webkitLineDash=o:void 0===t.mozDash||1==o.length&&0==o[0]||(t.mozDash=o);var h=this.style("stroke-dashoffset").toPixels();void 0!==t.lineDashOffset?t.lineDashOffset=h:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=h:void 0!==t.mozDashOffset&&(t.mozDashOffset=h)}}if(void 0!==t.font)if(this.style("font").hasValue())t.font=this.style("font").value;else{t.font=a.Font.CreateFont(this.style("font-style").value,this.style("font-variant").value,this.style("font-weight").value,this.style("font-size").hasValue()?this.style("font-size").toPixels()+"px":"",this.style("font-family").value).toString();var l=this.style("font-size",!1,!1);l.isPixels()&&(a.emSize=l.toPixels())}var u;this.style("transform",!1,!0).hasValue()&&new a.Transform(this.style("transform",!1,!0).value).apply(t);if(this.style("clip-path",!1,!0).hasValue()){var c=this.style("clip-path",!1,!0).getDefinition();null!=c&&c.apply(t)}t.globalAlpha=this.calculateOpacity()}},a.Element.RenderedElementBase.prototype=new a.Element.ElementBase,a.Element.PathElementBase=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.path=function(t){return null!=t&&t.beginPath(),new a.BoundingBox},this.renderChildren=function(t){this.path(t),a.Mouse.checkPath(this,t),""!=t.fillStyle&&("inherit"!=this.style("fill-rule").valueOrDefault("inherit")?t.fill(this.style("fill-rule").value):t.fill()),""!=t.strokeStyle&&t.stroke();var e=this.getMarkers();if(null!=e){var i,i;if(this.style("marker-start").isUrlDefinition())(i=this.style("marker-start").getDefinition()).render(t,e[0][0],e[0][1]);if(this.style("marker-mid").isUrlDefinition())for(var i=this.style("marker-mid").getDefinition(),n=1;n<e.length-1;n++)i.render(t,e[n][0],e[n][1]);if(this.style("marker-end").isUrlDefinition())(i=this.style("marker-end").getDefinition()).render(t,e[e.length-1][0],e[e.length-1][1])}},this.getBoundingBox=function(){return this.path()},this.getMarkers=function(){return null}},a.Element.PathElementBase.prototype=new a.Element.RenderedElementBase,a.SetDefaults=function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4},a.Element.svg=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.baseClearContext=this.clearContext,this.clearContext=function(t){this.baseClearContext(t),a.ViewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(t){if(a.SetDefaults(t),t.canvas.style&&void 0!==t.font&&void 0!==h.getComputedStyle){t.font=h.getComputedStyle(t.canvas).getPropertyValue("font");var e=new a.Property("fontSize",a.Font.Parse(t.font).fontSize);e.hasValue()&&(a.rootEmSize=a.emSize=e.toPixels("y"))}this.baseSetContext(t),this.attribute("x").hasValue()||(this.attribute("x",!0).value=0),this.attribute("y").hasValue()||(this.attribute("y",!0).value=0),t.translate(this.attribute("x").toPixels("x"),this.attribute("y").toPixels("y"));var i=a.ViewPort.width(),n=a.ViewPort.height();if(this.attribute("width").hasValue()||(this.attribute("width",!0).value="100%"),this.attribute("height").hasValue()||(this.attribute("height",!0).value="100%"),void 0===this.root){i=this.attribute("width").toPixels("x"),n=this.attribute("height").toPixels("y");var s=0,r=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(s=-this.attribute("refX").toPixels("x"),r=-this.attribute("refY").toPixels("y")),"visible"!=this.attribute("overflow").valueOrDefault("hidden")&&(t.beginPath(),t.moveTo(s,r),t.lineTo(i,r),t.lineTo(i,n),t.lineTo(s,n),t.closePath(),t.clip())}if(a.ViewPort.SetCurrent(i,n),this.attribute("viewBox").hasValue()){var o=a.ToNumberArray(this.attribute("viewBox").value),l=o[0],u=o[1];i=o[2],n=o[3],a.AspectRatio(t,this.attribute("preserveAspectRatio").value,a.ViewPort.width(),i,a.ViewPort.height(),n,l,u,this.attribute("refX").value,this.attribute("refY").value),a.ViewPort.RemoveCurrent(),a.ViewPort.SetCurrent(o[2],o[3])}}},a.Element.svg.prototype=new a.Element.RenderedElementBase,a.Element.rect=function(t){this.base=a.Element.PathElementBase,this.base(t),this.path=function(t){var e=this.attribute("x").toPixels("x"),i=this.attribute("y").toPixels("y"),n=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y"),r=this.attribute("rx").toPixels("x"),o=this.attribute("ry").toPixels("y");if(this.attribute("rx").hasValue()&&!this.attribute("ry").hasValue()&&(o=r),this.attribute("ry").hasValue()&&!this.attribute("rx").hasValue()&&(r=o),r=Math.min(r,n/2),o=Math.min(o,s/2),null!=t){var h=4*((Math.sqrt(2)-1)/3);t.beginPath(),s>0&&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;i<this.points.length;i++)e.addPoint(this.points[i].x,this.points[i].y),null!=t&&t.lineTo(this.points[i].x,this.points[i].y);return e},this.getMarkers=function(){for(var t=[],e=0;e<this.points.length-1;e++)t.push([this.points[e],this.points[e].angleTo(this.points[e+1])]);return t.length>0&&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;t<this.angles.length;t++)if(null==this.angles[t])for(var e=t+1;e<this.angles.length;e++)if(null!=this.angles[e]){this.angles[t]=this.angles[e];break}return this.angles}}(e),this.path=function(t){var e=this.PathParser;e.reset();var i=new a.BoundingBox;null!=t&&t.beginPath();while(!e.isEnd())switch(e.nextCommand(),e.command){case"M":case"m":var n=e.getAsCurrentPoint();e.addMarker(n),i.addPoint(n.x,n.y),null!=t&&t.moveTo(n.x,n.y),e.start=e.current;while(!e.isCommandOrEnd()){var n=e.getAsCurrentPoint();e.addMarker(n,e.start),i.addPoint(n.x,n.y),null!=t&&t.lineTo(n.x,n.y)}break;case"L":case"l":while(!e.isCommandOrEnd()){var s=e.current,n=e.getAsCurrentPoint();e.addMarker(n,s),i.addPoint(n.x,n.y),null!=t&&t.lineTo(n.x,n.y)}break;case"H":case"h":while(!e.isCommandOrEnd()){var r=new a.Point((e.isRelativeCommand()?e.current.x:0)+e.getScalar(),e.current.y);e.addMarker(r,e.current),e.current=r,i.addPoint(e.current.x,e.current.y),null!=t&&t.lineTo(e.current.x,e.current.y)}break;case"V":case"v":while(!e.isCommandOrEnd()){var r=new a.Point(e.current.x,(e.isRelativeCommand()?e.current.y:0)+e.getScalar());e.addMarker(r,e.current),e.current=r,i.addPoint(e.current.x,e.current.y),null!=t&&t.lineTo(e.current.x,e.current.y)}break;case"C":case"c":while(!e.isCommandOrEnd()){var o=e.current,h=e.getPoint(),l=e.getAsControlPoint(),u=e.getAsCurrentPoint();e.addMarker(u,l,h),i.addBezierCurve(o.x,o.y,h.x,h.y,l.x,l.y,u.x,u.y),null!=t&&t.bezierCurveTo(h.x,h.y,l.x,l.y,u.x,u.y)}break;case"S":case"s":while(!e.isCommandOrEnd()){var o=e.current,h=e.getReflectedControlPoint(),l=e.getAsControlPoint(),u=e.getAsCurrentPoint();e.addMarker(u,l,h),i.addBezierCurve(o.x,o.y,h.x,h.y,l.x,l.y,u.x,u.y),null!=t&&t.bezierCurveTo(h.x,h.y,l.x,l.y,u.x,u.y)}break;case"Q":case"q":while(!e.isCommandOrEnd()){var o=e.current,l=e.getAsControlPoint(),u=e.getAsCurrentPoint();e.addMarker(u,l,l),i.addQuadraticCurve(o.x,o.y,l.x,l.y,u.x,u.y),null!=t&&t.quadraticCurveTo(l.x,l.y,u.x,u.y)}break;case"T":case"t":while(!e.isCommandOrEnd()){var o=e.current,l=e.getReflectedControlPoint();e.control=l;var u=e.getAsCurrentPoint();e.addMarker(u,l,l),i.addQuadraticCurve(o.x,o.y,l.x,l.y,u.x,u.y),null!=t&&t.quadraticCurveTo(l.x,l.y,u.x,u.y)}break;case"A":case"a":while(!e.isCommandOrEnd()){var o=e.current,c=e.getScalar(),f=e.getScalar(),p=e.getScalar()*(Math.PI/180),d=e.getScalar(),m=e.getScalar(),u=e.getAsCurrentPoint(),y=new a.Point(Math.cos(p)*(o.x-u.x)/2+Math.sin(p)*(o.y-u.y)/2,-Math.sin(p)*(o.x-u.x)/2+Math.cos(p)*(o.y-u.y)/2),v=Math.pow(y.x,2)/Math.pow(c,2)+Math.pow(y.y,2)/Math.pow(f,2);v>1&&(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]<t[1]*e[0]?-1:1)*Math.acos(E(t,e))},C=w([1,0],[(y.x-x.x)/c,(y.y-x.y)/f]),B=[(y.x-x.x)/c,(y.y-x.y)/f],M=[(-y.x-x.x)/c,(-y.y-x.y)/f],T=w(B,M);E(B,M)<=-1&&(T=Math.PI),E(B,M)>=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;n<t.length;n++)i.push([t[n],e[n]]);return i}},a.Element.path.prototype=new a.Element.PathElementBase,a.Element.pattern=function(t){this.base=a.Element.ElementBase,this.base(t),this.createPattern=function(t,e,i){var s=this.attribute("width").toPixels("x",!0),r=this.attribute("height").toPixels("y",!0),o=new a.Element.svg;o.attributes["viewBox"]=new a.Property("viewBox",this.attribute("viewBox").value),o.attributes["width"]=new a.Property("width",s+"px"),o.attributes["height"]=new a.Property("height",r+"px"),o.attributes["transform"]=new a.Property("transform",this.attribute("patternTransform").value),o.children=this.children;var h=n(s,r),l=h.getContext("2d"),u;this.attribute("x").hasValue()&&this.attribute("y").hasValue()&&l.translate(this.attribute("x").toPixels("x",!0),this.attribute("y").toPixels("y",!0)),i.hasValue()?this.styles["fill-opacity"]=i:delete this.styles["fill-opacity"];for(var c=-1;c<=1;c++)for(var f=-1;f<=1;f++)l.save(),o.attributes["x"]=new a.Property("x",c*h.width),o.attributes["y"]=new a.Property("y",f*h.height),o.render(l),l.restore();return t.createPattern(h,"repeat")}},a.Element.pattern.prototype=new a.Element.ElementBase,a.Element.marker=function(t){this.base=a.Element.ElementBase,this.base(t),this.baseRender=this.render,this.render=function(t,e,i){if(!e)return;t.translate(e.x,e.y),"auto"==this.attribute("orient").valueOrDefault("auto")&&t.rotate(i),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&t.scale(t.lineWidth,t.lineWidth),t.save();var n=new a.Element.svg;n.attributes["viewBox"]=new a.Property("viewBox",this.attribute("viewBox").value),n.attributes["refX"]=new a.Property("refX",this.attribute("refX").value),n.attributes["refY"]=new a.Property("refY",this.attribute("refY").value),n.attributes["width"]=new a.Property("width",this.attribute("markerWidth").value),n.attributes["height"]=new a.Property("height",this.attribute("markerHeight").value),n.attributes["fill"]=new a.Property("fill",this.attribute("fill").valueOrDefault("black")),n.attributes["stroke"]=new a.Property("stroke",this.attribute("stroke").valueOrDefault("none")),n.children=this.children,n.render(t),t.restore(),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"==this.attribute("orient").valueOrDefault("auto")&&t.rotate(-i),t.translate(-e.x,-e.y)}},a.Element.marker.prototype=new a.Element.ElementBase,a.Element.defs=function(t){this.base=a.Element.ElementBase,this.base(t),this.render=function(){}},a.Element.defs.prototype=new a.Element.ElementBase,a.Element.GradientBase=function(t){this.base=a.Element.ElementBase,this.base(t),this.stops=[];for(var e=0;e<this.children.length;e++){var i=this.children[e];"stop"==i.type&&this.stops.push(i)}this.getGradient=function(){},this.gradientUnits=function(){return this.attribute("gradientUnits").valueOrDefault("objectBoundingBox")},this.attributesToInherit=["gradientUnits"],this.inheritStopContainer=function(t){for(var e=0;e<this.attributesToInherit.length;e++){var i=this.attributesToInherit[e];!this.attribute(i).hasValue()&&t.attribute(i).hasValue()&&(this.attribute(i,!0).value=t.attribute(i).value)}},this.createGradient=function(t,e,i){var s=this;this.getHrefAttribute().hasValue()&&(s=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(s));var r=function(t){var e;if(i.hasValue())return new a.Property("color",t).addOpacity(i).value;return t},o=this.getGradient(t,e);if(null==o)return r(s.stops[s.stops.length-1].color);for(var h=0;h<s.stops.length;h++)o.addColorStop(s.stops[h].offset,r(s.stops[h].color));if(this.attribute("gradientTransform").hasValue()){var l=a.ViewPort.viewPorts[0],u=new a.Element.rect;u.attributes["x"]=new a.Property("x",-a.MAX_VIRTUAL_PIXELS/3),u.attributes["y"]=new a.Property("y",-a.MAX_VIRTUAL_PIXELS/3),u.attributes["width"]=new a.Property("width",a.MAX_VIRTUAL_PIXELS),u.attributes["height"]=new a.Property("height",a.MAX_VIRTUAL_PIXELS);var c=new a.Element.g;c.attributes["transform"]=new a.Property("transform",this.attribute("gradientTransform").value),c.children=[u];var f=new a.Element.svg;f.attributes["x"]=new a.Property("x",0),f.attributes["y"]=new a.Property("y",0),f.attributes["width"]=new a.Property("width",l.width),f.attributes["height"]=new a.Property("height",l.height),f.children=[c];var p=n(l.width,l.height),d=p.getContext("2d");return d.fillStyle=o,f.render(d),d.createPattern(p,"no-repeat")}return o}},a.Element.GradientBase.prototype=new a.Element.ElementBase,a.Element.linearGradient=function(t){this.base=a.Element.GradientBase,this.base(t),this.attributesToInherit.push("x1"),this.attributesToInherit.push("y1"),this.attributesToInherit.push("x2"),this.attributesToInherit.push("y2"),this.getGradient=function(t,e){var i="objectBoundingBox"==this.gradientUnits()?e.getBoundingBox(t):null;this.attribute("x1").hasValue()||this.attribute("y1").hasValue()||this.attribute("x2").hasValue()||this.attribute("y2").hasValue()||(this.attribute("x1",!0).value=0,this.attribute("y1",!0).value=0,this.attribute("x2",!0).value=1,this.attribute("y2",!0).value=0);var n="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("x1").numValue():this.attribute("x1").toPixels("x"),s="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("y1").numValue():this.attribute("y1").toPixels("y"),a="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("x2").numValue():this.attribute("x2").toPixels("x"),r="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("y2").numValue():this.attribute("y2").toPixels("y");if(n==a&&s==r)return null;return t.createLinearGradient(n,s,a,r)}},a.Element.linearGradient.prototype=new a.Element.GradientBase,a.Element.radialGradient=function(t){this.base=a.Element.GradientBase,this.base(t),this.attributesToInherit.push("cx"),this.attributesToInherit.push("cy"),this.attributesToInherit.push("r"),this.attributesToInherit.push("fx"),this.attributesToInherit.push("fy"),this.attributesToInherit.push("fr"),this.getGradient=function(t,e){var i=e.getBoundingBox(t);this.attribute("cx").hasValue()||(this.attribute("cx",!0).value="50%"),this.attribute("cy").hasValue()||(this.attribute("cy",!0).value="50%"),this.attribute("r").hasValue()||(this.attribute("r",!0).value="50%");var n="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("cx").numValue():this.attribute("cx").toPixels("x"),s="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("cy").numValue():this.attribute("cy").toPixels("y"),a=n,r=s;this.attribute("fx").hasValue()&&(a="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("fx").numValue():this.attribute("fx").toPixels("x")),this.attribute("fy").hasValue()&&(r="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("fy").numValue():this.attribute("fy").toPixels("y"));var o="objectBoundingBox"==this.gradientUnits()?(i.width()+i.height())/2*this.attribute("r").numValue():this.attribute("r").toPixels(),h=this.attribute("fr").toPixels();return t.createRadialGradient(a,r,h,n,s,o)}},a.Element.radialGradient.prototype=new a.Element.GradientBase,a.Element.stop=function(t){this.base=a.Element.ElementBase,this.base(t),this.offset=this.attribute("offset").numValue(),this.offset<0&&(this.offset=0),this.offset>1&&(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.begin<this.duration){var i=this.calcValue(),n;if(this.attribute("type").hasValue())i=this.attribute("type").value+"("+i+")";this.getProperty().value=i,e=!0}return e},this.from=this.attribute("from"),this.to=this.attribute("to"),this.values=this.attribute("values"),this.values.hasValue()&&(this.values.value=this.values.value.split(";")),this.progress=function(){var t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(this.values.hasValue()){var e=t.progress*(this.values.value.length-1),i=Math.floor(e),n=Math.ceil(e);t.from=new a.Property("from",parseFloat(this.values.value[i])),t.to=new a.Property("to",parseFloat(this.values.value[n])),t.progress=(e-i)/(n-i)}else t.from=this.from,t.to=this.to;return t}},a.Element.AnimateBase.prototype=new a.Element.ElementBase,a.Element.animate=function(t){this.base=a.Element.AnimateBase,this.base(t),this.calcValue=function(){var t=this.progress(),e=t.from.numValue()+(t.to.numValue()-t.from.numValue())*t.progress;return"%"===this.initialUnits&&(e*=100),e+this.initialUnits}},a.Element.animate.prototype=new a.Element.AnimateBase,a.Element.animateColor=function(e){this.base=a.Element.AnimateBase,this.base(e),this.calcValue=function(){var e=this.progress(),i=new t(e.from.value),n=new t(e.to.value);if(i.ok&&n.ok){var s=i.r+(n.r-i.r)*e.progress,a=i.g+(n.g-i.g)*e.progress,r=i.b+(n.b-i.b)*e.progress;return"rgb("+parseInt(s,10)+","+parseInt(a,10)+","+parseInt(r,10)+")"}return this.attribute("from").value}},a.Element.animateColor.prototype=new a.Element.AnimateBase,a.Element.animateTransform=function(t){this.base=a.Element.AnimateBase,this.base(t),this.calcValue=function(){for(var t=this.progress(),e=a.ToNumberArray(t.from.value),i=a.ToNumberArray(t.to.value),n="",s=0;s<e.length;s++)n+=e[s]+(i[s]-e[s])*t.progress+" ";return n}},a.Element.animateTransform.prototype=new a.Element.animate,a.Element.font=function(t){this.base=a.Element.ElementBase,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.isRTL=!1,this.isArabic=!1,this.fontFace=null,this.missingGlyph=null,this.glyphs=[];for(var e=0;e<this.children.length;e++){var i=this.children[e];"font-face"==i.type?(this.fontFace=i,i.style("font-family").hasValue()&&(a.Definitions[i.style("font-family").value]=this)):"missing-glyph"==i.type?this.missingGlyph=i:"glyph"==i.type&&(""!=i.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[i.unicode]&&(this.glyphs[i.unicode]=[]),this.glyphs[i.unicode][i.arabicForm]=i):this.glyphs[i.unicode]=i)}this.render=function(){}},a.Element.font.prototype=new a.Element.ElementBase,a.Element.fontface=function(t){this.base=a.Element.ElementBase,this.base(t),this.ascent=this.attribute("ascent").value,this.descent=this.attribute("descent").value,this.unitsPerEm=this.attribute("units-per-em").numValue()},a.Element.fontface.prototype=new a.Element.ElementBase,a.Element.missingglyph=function(t){this.base=a.Element.path,this.base(t),this.horizAdvX=0},a.Element.missingglyph.prototype=new a.Element.path,a.Element.glyph=function(t){this.base=a.Element.path,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.unicode=this.attribute("unicode").value,this.arabicForm=this.attribute("arabic-form").value},a.Element.glyph.prototype=new a.Element.path,a.Element.text=function(t){this.captureTextNodes=!0,this.base=a.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t);var e=this.style("dominant-baseline").toTextBaseline();null==e&&(e=this.style("alignment-baseline").toTextBaseline()),null!=e&&(t.textBaseline=e)},this.initializeCoordinates=function(t){this.x=this.attribute("x").toPixels("x"),this.y=this.attribute("y").toPixels("y"),this.attribute("dx").hasValue()&&(this.x+=this.attribute("dx").toPixels("x")),this.attribute("dy").hasValue()&&(this.y+=this.attribute("dy").toPixels("y")),this.x+=this.getAnchorDelta(t,this,0)},this.getBoundingBox=function(t){this.initializeCoordinates(t);for(var e=null,i=0;i<this.children.length;i++){var n=this.getChildBoundingBox(t,this,this,i);null==e?e=n:e.addBoundingBox(n)}return e},this.renderChildren=function(t){this.initializeCoordinates(t);for(var e=0;e<this.children.length;e++)this.renderChild(t,this,this,e);a.Mouse.checkBoundingBox(this,this.getBoundingBox(t))},this.getAnchorDelta=function(t,e,i){var n=this.style("text-anchor").valueOrDefault("start");if("start"!=n){for(var s=0,a=i;a<e.children.length;a++){var r=e.children[a];if(a>i&&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;n<s.children.length;n++){var r=e.getChildBoundingBox(t,e,s,n);a.addBoundingBox(r)}return a},this.renderChild=function(t,e,i,n){var s=this.adjustChildCoordinates(t,e,i,n);s.render(t);for(var n=0;n<s.children.length;n++)e.renderChild(t,e,s,n)}},a.Element.text.prototype=new a.Element.RenderedElementBase,a.Element.TextElementBase=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.getGlyph=function(t,e,i){var n=e[i],s=null;if(t.isArabic){var a="isolated";(0==i||" "==e[i-1])&&i<e.length-2&&" "!=e[i+1]&&(a="terminal"),i>0&&" "!=e[i-1]&&i<e.length-2&&" "!=e[i+1]&&(a="medial"),i>0&&" "!=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;o<s.length;o++){var h=this.getGlyph(e,s,o),l=i/e.fontFace.unitsPerEm;t.translate(this.x,this.y),t.scale(l,-l);var u=t.lineWidth;t.lineWidth=t.lineWidth*e.fontFace.unitsPerEm/i,"italic"==n&&t.transform(1,0,.4,1,0,0),h.render(t),"italic"==n&&t.transform(1,0,-.4,1,0,0),t.lineWidth=u,t.scale(1/l,-1/l),t.translate(-this.x,-this.y),this.x+=i*(h.horizAdvX||e.horizAdvX)/e.fontFace.unitsPerEm,void 0===r[o]||isNaN(r[o])||(this.x+=r[o])}return}"stroke"==t.paintOrder?(""!=t.strokeStyle&&t.strokeText(a.compressSpaces(this.getText()),this.x,this.y),""!=t.fillStyle&&t.fillText(a.compressSpaces(this.getText()),this.x,this.y)):(""!=t.fillStyle&&t.fillText(a.compressSpaces(this.getText()),this.x,this.y),""!=t.strokeStyle&&t.strokeText(a.compressSpaces(this.getText()),this.x,this.y))},this.getText=function(){},this.measureTextRecursive=function(t){for(var e=this.measureText(t),i=0;i<this.children.length;i++)e+=this.children[i].measureTextRecursive(t);return e},this.measureText=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=0,s=this.getText();e.isRTL&&(s=s.split("").reverse().join(""));for(var r=a.ToNumberArray(this.parent.attribute("dx").value),o=0;o<s.length;o++){var h;n+=(this.getGlyph(e,s,o).horizAdvX||e.horizAdvX)*i/e.fontFace.unitsPerEm,void 0===r[o]||isNaN(r[o])||(n+=r[o])}return n}var l=a.compressSpaces(this.getText());if(!t.measureText)return 10*l.length;t.save(),this.setContext(t,!0);var u=t.measureText(l).width;return t.restore(),u},this.getBoundingBox=function(t){var e=this.parent.style("font-size").numValueOrDefault(a.Font.Parse(a.ctx.font).fontSize);return new a.BoundingBox(this.x,this.y-e,this.x+this.measureText(t),this.y)}},a.Element.TextElementBase.prototype=new a.Element.RenderedElementBase,a.Element.tspan=function(t){this.captureTextNodes=!0,this.base=a.Element.TextElementBase,this.base(t),this.text=a.compressSpaces(t.value||t.text||t.textContent||""),this.getText=function(){if(this.children.length>0)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;e<t.childNodes.length;e++)3!=t.childNodes[e].nodeType&&(this.hasText=!1);this.text=this.hasText?t.childNodes[0].value||t.childNodes[0].data:"",this.getText=function(){return this.text},this.baseRenderChildren=this.renderChildren,this.renderChildren=function(t){if(this.hasText){this.baseRenderChildren(t);var e=new a.Property("fontSize",a.Font.Parse(a.ctx.font).fontSize);a.Mouse.checkBoundingBox(this,new a.BoundingBox(this.x,this.y-e.toPixels("y"),this.x+this.measureText(t),this.y))}else if(this.children.length>0){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;r<n.length;r++){var o=n[r].p0,h=n[r].p1,l=n[r].text;t.save(),t.translate(o.x,o.y),t.rotate(n[r].rotation),""!=t.fillStyle&&t.fillText(a.compressSpaces(l),0,0),""!=t.strokeStyle&&t.strokeText(a.compressSpaces(l),0,0),t.restore(),"underline"===e&&(0===r&&t.moveTo(o.x,o.y+i/8),t.lineTo(h.x,h.y+i/5))}"underline"===e&&(t.lineWidth=i/20,t.strokeStyle=s,t.stroke(),t.closePath()),t.restore()},this.path=function(t){var e=this.dataArray;null!=t&&t.beginPath();for(var i=0;i<e.length;i++){var n=e[i].command,s=e[i].points;switch(n){case"L":null!=t&&t.lineTo(s[0],s[1]);break;case"M":null!=t&&t.moveTo(s[0],s[1]);break;case"C":null!=t&&t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case"Q":null!=t&&t.quadraticCurveTo(s[0],s[1],s[2],s[3]);break;case"A":var a=s[0],r=s[1],o=s[2],h=s[3],l=s[4],u=s[5],c=s[6],f=s[7],p=o>h?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<e.length;o++){var h;s+=(this.getGlyph(i,e,o).horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,void 0===r[o]||isNaN(r[o])||(s+=r[o])}return s}var l=a.compressSpaces(e);if(!t.measureText)return 10*l.length;t.save(),this.setContext(t);var u=t.measureText(l).width;return t.restore(),u},this.setTextData=function(t){if(this.hasOwnProperty("glyphInfo"))return;var e=this,i=this.getText().split(""),n=this.getText().split(" ").length-1,s=a.ToNumberArray(this.parent.attribute("dx").valueOrDefault("0")),r=0,o=this.parent.style("text-anchor").valueOrDefault("start"),h=this.style("letter-spacing"),l=this.parent.style("letter-spacing");h.hasValue()&&"inherit"!==h.getValue()?h.hasValue()&&"initial"!==h.getValue()&&"unset"!==h.getValue()&&(r=h.toPixels()):r=l.toPixels(),this.letterSpacingCache=[];for(var u=0;u<this.getText().length;u++)this.letterSpacingCache.push(void 0!==s[u]?s[u]:r);var c=this.letterSpacingCache.reduce((function(t,e){return t+e||0}),0);this.textWidth=this.measureText(t),this.textHeight=this.fontSize();var f=Math.max(this.textWidth+c,0);this.glyphInfo=[];var p=this.getPathLength(),d=this.style("startOffset").numValueOrDefault(0)*p,m=0;"middle"!==o&&"center"!==o||(m=-f/2),"end"!==o&&"right"!==o||(m=-f),m+=d;for(var y=function(t){return t=t||0,e.letterSpacingCache[t]||0},v=function(i,s){var a=e.measureText(t,i);" "===i&&"justify"===o&&f<p&&(a+=(p-f)/n),s>-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;u<i.length;u++){var g=v(i[u],u);if(void 0===g.p0||void 0===g.p1)continue;var x=e.getLineLength(g.p0.x,g.p0.y,g.p1.x,g.p1.y),b=0,P=e.getPointOnLine(b+x/2,g.p0.x,g.p0.y,g.p1.x,g.p1.y),E=Math.atan2(g.p1.y-g.p0.y,g.p1.x-g.p0.x);this.glyphInfo.push({transposeX:P.x,transposeY:P.y,text:i[u],rotation:E,p0:g.p0,p1:g.p1})}},this.parsePathData=function(t){if(this.pathLength=void 0,!t)return[];var e=[],i=t.PathParser;i.reset();while(!i.isEnd()){var n=[],s=null,r=i.current?i.current.x:0,o=i.current?i.current.y:0;i.nextCommand();var h=i.command.toUpperCase();switch(i.command){case"M":case"m":var l=i.getAsCurrentPoint();n.push(l.x,l.y),i.start=i.current;while(!i.isCommandOrEnd()){var l=i.getAsCurrentPoint();n.push(l.x,l.y),s="L"}break;case"L":case"l":while(!i.isCommandOrEnd()){var l=i.getAsCurrentPoint();n.push(l.x,l.y)}s="L";break;case"H":case"h":while(!i.isCommandOrEnd()){var u=new a.Point((i.isRelativeCommand()?i.current.x:0)+i.getScalar(),i.current.y);n.push(u.x,u.y),i.current=u}s="L";break;case"V":case"v":while(!i.isCommandOrEnd()){var u=new a.Point(i.current.x,(i.isRelativeCommand()?i.current.y:0)+i.getScalar());n.push(u.x,u.y),i.current=u}s="L";break;case"C":case"c":while(!i.isCommandOrEnd()){var c=i.getPoint(),f=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(c.x,c.y,f.x,f.y,p.x,p.y)}break;case"S":case"s":while(!i.isCommandOrEnd()){var c=i.getReflectedControlPoint(),f=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(c.x,c.y,f.x,f.y,p.x,p.y)}s="C";break;case"Q":case"q":while(!i.isCommandOrEnd()){var f=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(f.x,f.y,p.x,p.y)}break;case"T":case"t":while(!i.isCommandOrEnd()){var f=i.getReflectedControlPoint();i.control=f;var p=i.getAsCurrentPoint();n.push(f.x,f.y,p.x,p.y)}s="Q";break;case"A":case"a":while(!i.isCommandOrEnd()){var d=i.current,m=i.getScalar(),y=i.getScalar(),v=i.getScalar()*(Math.PI/180),g=i.getScalar(),x=i.getScalar(),p=i.getAsCurrentPoint(),b=new a.Point(Math.cos(v)*(d.x-p.x)/2+Math.sin(v)*(d.y-p.y)/2,-Math.sin(v)*(d.x-p.x)/2+Math.cos(v)*(d.y-p.y)/2),P=Math.pow(b.x,2)/Math.pow(m,2)+Math.pow(b.y,2)/Math.pow(y,2);P>1&&(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]<t[1]*e[0]?-1:1)*Math.acos(M(t,e))},S=T([1,0],[(b.x-w.x)/m,(b.y-w.y)/y]),V=[(b.x-w.x)/m,(b.y-w.y)/y],k=[(-b.x-w.x)/m,(-b.y-w.y)/y],A=T(V,k);M(V,k)<=-1&&(A=Math.PI),M(V,k)>=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;t<this.dataArray.length;t++)this.dataArray[t].pathLength>0&&(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<this.dataArray.length;s++){var a=this.dataArray[s];if(a&&(a.pathLength<5e-5||e+a.pathLength+5e-5<t)){e+=a.pathLength;continue}var r=t-e,o=void 0;switch(a.command){case"L":n=this.getPointOnLine(r,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case"A":var h=a.points[4],l=a.points[5],u=a.points[4]+l;if(o=h+r/a.pathLength*l,l<0&&o<u||l>=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));n<e&&(h*=-1);var l=o*h,u;if(n===e)u={x:a,y:r+l};else if((r-i)/(a-e+1e-8)===o)u={x:a+h,y:r+l};else{var c,f,p=this.getLineLength(e,i,n,s);if(p<1e-8)return;var d=(a-e)*(n-e)+(r-i)*(s-i);c=e+(d/=p*p)*(n-e),f=i+d*(s-i);var m=this.getLineLength(a,r,c,f),y=Math.sqrt(t*t-m*m);h=Math.sqrt(y*y/(1+o*o)),n<e&&(h*=-1),u={x:c+h,y:f+(l=o*h)}}return u},this.getPointOnCubicBezier=function(t,e,i,n,s,a,r,o,h){function l(t){return t*t*t}function u(t){return 3*t*t*(1-t)}function c(t){return 3*t*(1-t)*(1-t)}function f(t){return(1-t)*(1-t)*(1-t)}var p,d;return{x:o*l(t)+a*u(t)+n*c(t)+e*f(t),y:h*l(t)+r*u(t)+s*c(t)+i*f(t)}},this.getPointOnQuadraticBezier=function(t,e,i,n,s,a,r){function o(t){return t*t}function h(t){return 2*t*(1-t)}function l(t){return(1-t)*(1-t)}var u,c;return{x:a*o(t)+n*h(t)+e*l(t),y:r*o(t)+s*h(t)+i*l(t)}},this.getPointOnEllipticalArc=function(t,e,i,n,s,a){var r=Math.cos(a),o=Math.sin(a),h=i*Math.cos(s),l=n*Math.sin(s);return{x:t+(h*r-l*o),y:e+(h*o+l*r)}},this.calcLength=function(t,e,i,n){var s,a,r,o;switch(i){case"L":return this.getLineLength(t,e,n[0],n[1]);case"C":for(s=0,a=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),o=.01;o<=1;o+=.01)r=this.getPointOnCubicBezier(o,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;return s;case"Q":for(s=0,a=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),o=.01;o<=1;o+=.01)r=this.getPointOnQuadraticBezier(o,t,e,n[0],n[1],n[2],n[3]),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;return s;case"A":s=0;var h=n[4],l=n[5],u=n[4]+l,c=Math.PI/180;if(Math.abs(h-u)<c&&(c=Math.abs(h-u)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],h,0),l<0)for(o=h-c;o>u;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;o<u;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;return r=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),s+=this.getLineLength(a.x,a.y,r.x,r.y)}return 0},this.dataArray=this.parsePathData(e)},a.Element.textPath.prototype=new a.Element.TextElementBase,a.Element.image=function(t){this.base=a.Element.RenderedElementBase,this.base(t);var e=this.getHrefAttribute().value;if(""==e)return;var i=e.match(/\.svg$/);if(a.Images.push(this),this.loaded=!1,i)this.img=a.ajax(e),this.loaded=!0;else{this.img=l.createElement("img"),1==a.opts["useCORS"]&&(this.img.crossOrigin="Anonymous");var n=this;this.img.onload=function(){n.loaded=!0},this.img.onerror=function(){a.log('ERROR: image "'+e+'" not found'),n.loaded=!0},this.img.src=e}this.renderChildren=function(t){var e=this.attribute("x").toPixels("x"),s=this.attribute("y").toPixels("y"),r=this.attribute("width").toPixels("x"),o=this.attribute("height").toPixels("y");if(0==r||0==o)return;t.save(),i?t.drawSvg(this.img,e,s,r,o):(t.translate(e,s),a.AspectRatio(t,this.attribute("preserveAspectRatio").value,r,this.img.width,o,this.img.height,0,0),n.loaded&&(void 0===this.img.complete||this.img.complete)&&t.drawImage(this.img,0,0)),t.restore()},this.getBoundingBox=function(){var t=this.attribute("x").toPixels("x"),e=this.attribute("y").toPixels("y"),i=this.attribute("width").toPixels("x"),n=this.attribute("height").toPixels("y");return new a.BoundingBox(t,e,t+i,e+n)}},a.Element.image.prototype=new a.Element.RenderedElementBase,a.Element.g=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.getBoundingBox=function(t){for(var e=new a.BoundingBox,i=0;i<this.children.length;i++)e.addBoundingBox(this.children[i].getBoundingBox(t));return e}},a.Element.g.prototype=new a.Element.RenderedElementBase,a.Element.symbol=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.render=function(){}},a.Element.symbol.prototype=new a.Element.RenderedElementBase,a.ParseExternalUrl=function(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]},a.Element.style=function(t){this.base=a.Element.ElementBase,this.base(t);for(var e="",i=0;i<t.childNodes.length;i++)e+=t.childNodes[i].data;e=e.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"");for(var n=(e=a.compressSpaces(e)).split("}"),i=0;i<n.length;i++)if(""!=a.trim(n[i]))for(var r=n[i].split("{"),h=r[0].split(","),l=r[1].split(";"),u=0;u<h.length;u++){var c=a.trim(h[u]);if(""!=c){for(var f=a.Styles[c]||{},p=0;p<l.length;p++){var d=l[p].indexOf(":"),m=l[p].substr(0,d),y=l[p].substr(d+1,l[p].length-d);null!=m&&null!=y&&(f[a.trim(m)]=new a.Property(a.trim(m),a.trim(y)))}if(a.Styles[c]=f,a.StylesSpecificity[c]=s(c),"@font-face"==c&&!o)for(var v=f["font-family"].value.replace(/"/g,""),g=f["src"].value.split(","),x=0;x<g.length;x++)if(g[x].indexOf('format("svg")')>0){var b=a.ParseExternalUrl(g[x]);if(b)for(var P,E=a.parseXml(a.ajax(b)).getElementsByTagName("font"),w=0;w<E.length;w++){var C=a.CreateElement(E[w]);a.Definitions[v]=C}}}}},a.Element.style.prototype=new a.Element.ElementBase,a.Element.use=function(t){this.base=a.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t),this.attribute("x").hasValue()&&t.translate(this.attribute("x").toPixels("x"),0),this.attribute("y").hasValue()&&t.translate(0,this.attribute("y").toPixels("y"))};var e=this.getHrefAttribute().getDefinition();this.path=function(t){null!=e&&e.path(t)},this.elementTransform=function(){if(null!=e&&e.style("transform",!1,!0).hasValue())return new a.Transform(e.style("transform",!1,!0).value)},this.getBoundingBox=function(t){if(null!=e)return e.getBoundingBox(t)},this.renderChildren=function(t){if(null!=e){var i=e;"symbol"==e.type&&((i=new a.Element.svg).type="svg",i.attributes["viewBox"]=new a.Property("viewBox",e.attribute("viewBox").value),i.attributes["preserveAspectRatio"]=new a.Property("preserveAspectRatio",e.attribute("preserveAspectRatio").value),i.attributes["overflow"]=new a.Property("overflow",e.attribute("overflow").value),i.children=e.children),"svg"==i.type&&(this.attribute("width").hasValue()&&(i.attributes["width"]=new a.Property("width",this.attribute("width").value)),this.attribute("height").hasValue()&&(i.attributes["height"]=new a.Property("height",this.attribute("height").value)));var n=i.parent;i.parent=null,i.render(t),i.parent=n}}},a.Element.use.prototype=new a.Element.RenderedElementBase,a.Element.mask=function(t){this.base=a.Element.ElementBase,this.base(t),this.apply=function(t,e){var i=this.attribute("x").toPixels("x"),s=this.attribute("y").toPixels("y"),r=this.attribute("width").toPixels("x"),o=this.attribute("height").toPixels("y");if(0==r&&0==o){for(var h=new a.BoundingBox,l=0;l<this.children.length;l++)h.addBoundingBox(this.children[l].getBoundingBox(t));var i=Math.floor(h.x1),s=Math.floor(h.y1),r=Math.floor(h.width()),o=Math.floor(h.height())}var u=e.style("mask").value;e.style("mask").value="";var c=n(i+r,s+o),f=c.getContext("2d"),p;a.SetDefaults(f),this.renderChildren(f),new a.Element.feColorMatrix({nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(f,0,0,i+r,s+o);var d=n(i+r,s+o),m=d.getContext("2d");a.SetDefaults(m),e.render(m),m.globalCompositeOperation="destination-in",m.fillStyle=f.createPattern(c,"no-repeat"),m.fillRect(0,0,i+r,s+o),t.fillStyle=m.createPattern(d,"no-repeat"),t.fillRect(0,0,i+r,s+o),e.style("mask").value=u},this.render=function(){}},a.Element.mask.prototype=new a.Element.ElementBase,a.Element.clipPath=function(t){this.base=a.Element.ElementBase,this.base(t),this.apply=function(t){var e="undefined"!=typeof CanvasRenderingContext2D,i=t.beginPath,n=t.closePath;e&&(CanvasRenderingContext2D.prototype.beginPath=function(){},CanvasRenderingContext2D.prototype.closePath=function(){}),i.call(t);for(var s=0;s<this.children.length;s++){var r=this.children[s];if(void 0!==r.path){var o=void 0!==r.elementTransform&&r.elementTransform();!o&&r.style("transform",!1,!0).hasValue()&&(o=new a.Transform(r.style("transform",!1,!0).value)),o&&o.apply(t),r.path(t),e&&(CanvasRenderingContext2D.prototype.closePath=n),o&&o.unapply(t)}}n.call(t),t.clip(),e&&(CanvasRenderingContext2D.prototype.beginPath=i,CanvasRenderingContext2D.prototype.closePath=n)},this.render=function(){}},a.Element.clipPath.prototype=new a.Element.ElementBase,a.Element.filter=function(t){this.base=a.Element.ElementBase,this.base(t),this.apply=function(t,e){var i=e.getBoundingBox(t),s=Math.floor(i.x1),r=Math.floor(i.y1),o=Math.floor(i.width()),h=Math.floor(i.height()),l=e.style("filter").value;e.style("filter").value="";for(var u=0,c=0,f=0;f<this.children.length;f++){var p=this.children[f].extraFilterDistance||0;u=Math.max(u,p),c=Math.max(c,p)}var d=n(o+2*u,h+2*c),m=d.getContext("2d");a.SetDefaults(m),m.translate(-s+u,-r+c),e.render(m);for(var f=0;f<this.children.length;f++)"function"==typeof this.children[f].apply&&this.children[f].apply(m,0,0,o+2*u,h+2*c);t.drawImage(d,0,0,o+2*u,h+2*c,s-u,r-c,o+2*u,h+2*c),e.style("filter",!0).value=l},this.render=function(){}},a.Element.filter.prototype=new a.Element.ElementBase,a.Element.feDropShadow=function(t){this.base=a.Element.ElementBase,this.base(t),this.addStylesFromStyleDefinition(),this.apply=function(){}},a.Element.feDropShadow.prototype=new a.Element.ElementBase,a.Element.feMorphology=function(t){this.base=a.Element.ElementBase,this.base(t),this.apply=function(){}},a.Element.feMorphology.prototype=new a.Element.ElementBase,a.Element.feComposite=function(t){this.base=a.Element.ElementBase,this.base(t),this.apply=function(){}},a.Element.feComposite.prototype=new a.Element.ElementBase,a.Element.feColorMatrix=function(t){function e(t,e,i,n,s,a){return t[i*n*4+4*e+a]}function i(t,e,i,n,s,a,r){t[i*n*4+4*e+a]=r}function n(t,e){var i=s[t];return i*(i<0?e-255:e)}this.base=a.Element.ElementBase,this.base(t);var s=a.ToNumberArray(this.attribute("values").value);switch(this.attribute("type").valueOrDefault("matrix")){case"saturate":var r=s[0];s=[.213+.787*r,.715-.715*r,.072-.072*r,0,0,.213-.213*r,.715+.285*r,.072-.072*r,0,0,.213-.213*r,.715-.715*r,.072+.928*r,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var o=s[0]*Math.PI/180,h=function(t,e,i){return t+Math.cos(o)*e+Math.sin(o)*i};s=[h(.213,.787,-.213),h(.715,-.715,-.715),h(.072,-.072,.928),0,0,h(.213,-.213,.143),h(.715,.285,.14),h(.072,-.072,-.283),0,0,h(.213,-.213,-.787),h(.715,-.715,.715),h(.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}var l=this.attribute("includeOpacity").hasValue();this.apply=function(t,s,a,r,o){for(var h=t.getImageData(0,0,r,o),a=0;a<o;a++)for(var s=0;s<r;s++){var u=e(h.data,s,a,r,o,0),c=e(h.data,s,a,r,o,1),f=e(h.data,s,a,r,o,2),p=e(h.data,s,a,r,o,3),d=n(0,u)+n(1,c)+n(2,f)+n(3,p)+n(4,1),m=n(5,u)+n(6,c)+n(7,f)+n(8,p)+n(9,1),y=n(10,u)+n(11,c)+n(12,f)+n(13,p)+n(14,1),v=n(15,u)+n(16,c)+n(17,f)+n(18,p)+n(19,1);l&&(d=m=y=0,v*=p/255),i(h.data,s,a,r,o,0,d),i(h.data,s,a,r,o,1,m),i(h.data,s,a,r,o,2,y),i(h.data,s,a,r,o,3,v)}t.clearRect(0,0,r,o),t.putImageData(h,0,0)}},a.Element.feColorMatrix.prototype=new a.Element.ElementBase,a.Element.feGaussianBlur=function(t){this.base=a.Element.ElementBase,this.base(t),this.blurRadius=Math.floor(this.attribute("stdDeviation").numValue()),this.extraFilterDistance=this.blurRadius,this.apply=function(t,i,n,s,r){if(!e||void 0===e.canvasRGBA)return void a.log("ERROR: StackBlur.js must be included for blur to work");t.canvas.id=a.UniqueId(),t.canvas.style.display="none",l.body.appendChild(t.canvas),e.canvasRGBA(t.canvas,i,n,s,r,this.blurRadius),l.body.removeChild(t.canvas)}},a.Element.feGaussianBlur.prototype=new a.Element.ElementBase,a.Element.title=function(){},a.Element.title.prototype=new a.Element.ElementBase,a.Element.desc=function(){},a.Element.desc.prototype=new a.Element.ElementBase,a.Element.MISSING=function(t){a.log("ERROR: Element '"+t.nodeName+"' not yet implemented.")},a.Element.MISSING.prototype=new a.Element.ElementBase,a.CreateElement=function(t){var e=t.nodeName.replace(/^[^:]+:/,"");e=e.replace(/\-/g,"");var i=null;return(i=void 0!==a.Element[e]?new a.Element[e](t):new a.Element.MISSING(t)).type=t.nodeName,i},a.load=function(t,e){a.loadXml(t,a.ajax(e))},a.loadXml=function(t,e){a.loadXmlDoc(t,a.parseXml(e))},a.loadXmlDoc=function(t,e){a.init(t);var i=function(e){var i=t.canvas;while(i)e.x-=i.offsetLeft,e.y-=i.offsetTop,i=i.offsetParent;return h.scrollX&&(e.x+=h.scrollX),h.scrollY&&(e.y+=h.scrollY),e};1!=a.opts["ignoreMouse"]&&(t.canvas.onclick=function(t){var e=i(new a.Point(null!=t?t.clientX:event.clientX,null!=t?t.clientY:event.clientY));a.Mouse.onclick(e.x,e.y)},t.canvas.onmousemove=function(t){var e=i(new a.Point(null!=t?t.clientX:event.clientX,null!=t?t.clientY:event.clientY));a.Mouse.onmousemove(e.x,e.y)});var n=a.CreateElement(e.documentElement);n.root=!0,n.addStylesFromStyleDefinition();var s=!0,r=function(){a.ViewPort.Clear(),t.canvas.parentNode?a.ViewPort.SetCurrent(t.canvas.parentNode.clientWidth,t.canvas.parentNode.clientHeight):a.ViewPort.SetCurrent(u,c),1!=a.opts["ignoreDimensions"]&&(s||null==a.opts["scaleWidth"]&&null==a.opts["scaleHeight"])&&(n.style("width").hasValue()&&(t.canvas.width=n.style("width").toPixels("x"),t.canvas.style&&(t.canvas.style.width=t.canvas.width+"px")),n.style("height").hasValue()&&(t.canvas.height=n.style("height").toPixels("y"),t.canvas.style&&(t.canvas.style.height=t.canvas.height+"px")));var i=t.canvas.clientWidth||t.canvas.width,r=t.canvas.clientHeight||t.canvas.height;if(1==a.opts["ignoreDimensions"]&&n.style("width").hasValue()&&n.style("height").hasValue()&&(i=n.style("width").toPixels("x"),r=n.style("height").toPixels("y")),a.ViewPort.SetCurrent(i,r),null!=a.opts["offsetX"]&&(n.attribute("x",!0).value=a.opts["offsetX"]),null!=a.opts["offsetY"]&&(n.attribute("y",!0).value=a.opts["offsetY"]),null!=a.opts["scaleWidth"]||null!=a.opts["scaleHeight"]){var o=null,h=null,l=a.ToNumberArray(n.attribute("viewBox").value);null!=a.opts["scaleWidth"]&&(n.attribute("width").hasValue()?o=n.attribute("width").toPixels("x")/a.opts["scaleWidth"]:isNaN(l[2])||(o=l[2]/a.opts["scaleWidth"])),null!=a.opts["scaleHeight"]&&(n.attribute("height").hasValue()?h=n.attribute("height").toPixels("y")/a.opts["scaleHeight"]:isNaN(l[3])||(h=l[3]/a.opts["scaleHeight"])),null==o&&(o=h),null==h&&(h=o),n.attribute("width",!0).value=a.opts["scaleWidth"],n.attribute("height",!0).value=a.opts["scaleHeight"],n.style("transform",!0,!0).value+=" scale("+1/o+","+1/h+")"}1!=a.opts["ignoreClear"]&&t.clearRect(0,0,i,r),n.render(t),s&&(s=!1,"function"==typeof a.opts["renderCallback"]&&a.opts["renderCallback"](e))},o=!0;a.ImagesLoaded()&&(o=!1,r()),a.intervalID=setInterval((function(){var t=!1;if(o&&a.ImagesLoaded()&&(o=!1,t=!0),1!=a.opts["ignoreMouse"]&&(t=t||a.Mouse.hasEvents()),1!=a.opts["ignoreAnimation"])for(var e=0;e<a.Animations.length;e++){var i=a.Animations[e].update(1e3/a.FRAMERATE);t=t||i}"function"==typeof a.opts["forceRedraw"]&&1==a.opts["forceRedraw"]()&&(t=!0),t&&(r(),a.Mouse.runEvents())}),1e3/a.FRAMERATE)},a.stop=function(){a.intervalID&&clearInterval(a.intervalID)},a.Mouse=new function(){this.events=[],this.hasEvents=function(){return 0!=this.events.length},this.onclick=function(t,e){this.events.push({type:"onclick",x:t,y:e,run:function(t){t.onclick&&t.onclick()}})},this.onmousemove=function(t,e){this.events.push({type:"onmousemove",x:t,y:e,run:function(t){t.onmousemove&&t.onmousemove()}})},this.eventElements=[],this.checkPath=function(t,e){for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInPath&&e.isPointInPath(n.x,n.y)&&(this.eventElements[i]=t)}},this.checkBoundingBox=function(t,e){if(!e)return;for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInBox(n.x,n.y)&&(this.eventElements[i]=t)}},this.runEvents=function(){a.ctx.canvas.style.cursor="";for(var t=0;t<this.events.length;t++){var e=this.events[t],i=this.eventElements[t];while(i)e.run(i),i=i.parent}this.events=[],this.eventElements=[]}},a}var r=i.exports&&"undefined"==typeof window,o=!1,h;(h=window).DOMParser=window.DOMParser;var l=h.document,u=800,c=600,f=function(t,e,i){if(null==t&&null==e&&null==i){for(var n=l.querySelectorAll("svg"),s=0;s<n.length;s++){var r=n[s],o=l.createElement("canvas");if(void 0!==r.clientWidth&&void 0!==r.clientHeight)o.width=r.clientWidth,o.height=r.clientHeight;else{var h=r.getBoundingClientRect();o.width=h.width,o.height=h.height}r.parentNode.insertBefore(o,r),r.parentNode.removeChild(r);var u=l.createElement("div");u.appendChild(r),f(o,u.innerHTML)}return}var c=a(i||{});"string"==typeof t&&(t=l.getElementById(t)),null!=t.svg&&t.svg.stop(),t.childNodes&&1==t.childNodes.length&&"OBJECT"==t.childNodes[0].nodeName||(t.svg=c);var p=t.getContext("2d");void 0!==e.documentElement?c.loadXmlDoc(p,e):"<"==e.substr(0,1)?c.loadXml(p,e):c.load(p,e)},p;"undefined"==typeof Element||(void 0!==Element.prototype.matches?p=function(t,e){return t.matches(e)}:void 0!==Element.prototype.webkitMatchesSelector?p=function(t,e){return t.webkitMatchesSelector(e)}:void 0!==Element.prototype.mozMatchesSelector?p=function(t,e){return t.mozMatchesSelector(e)}:void 0!==Element.prototype.msMatchesSelector?p=function(t,e){return t.msMatchesSelector(e)}:void 0!==Element.prototype.oMatchesSelector?p=function(t,e){return t.oMatchesSelector(e)}:("function"!=typeof jQuery&&"function"!=typeof Zepto||(p=function(t,e){return $(t).is(e)}),void 0===p&&"undefined"!=typeof Sizzle&&(p=Sizzle.matchesSelector)));var d=/(\[[^\]]+\])/g,m=/(#[^\s\+>~\.\[:]+)/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<n.length;s++)i(n[s]);return i}({1:[function(t,e,r){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t,e){var r="",i,a,s,o,h,d,l,u=0;while(u<t.length)o=(i=t.charCodeAt(u++))>>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<t.length)i=(o=n.indexOf(t.charAt(u++)))<<2|(h=n.indexOf(t.charAt(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<l;d++)h=a?e[d]:e.charCodeAt(d),r=r>>>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<t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e=0,r;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)e=(e<<8)+this.byteAt(r);return this.index+=t,e},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},e.exports=n},{"./utils":21}],6:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!1,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],7:[function(t,e,r){"use strict";var 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<r.length;s++)o=r[s],this.file(o.fileName,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileComment.length?o.fileComment:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders});return a.zipComment.length&&(this.comment=a.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(t,e,r){(function(t){"use strict";e.exports=function(e,r){return t.from(e,r)},e.exports.test=function(e){return t.isBuffer(e)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(t,e,r){"use strict";function n(t){this.data=t,this.length=this.data.length,this.index=0}var i=t("./uint8ArrayReader");n.prototype=new i,n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=n},{"./uint8ArrayReader":18}],13:[function(t,e,r){"use strict";var n=t("./support"),i=t("./utils"),a=t("./crc32"),s=t("./signature"),o=t("./defaults"),h=t("./base64"),d=t("./compressions"),l=t("./compressedObject"),u=t("./nodeBuffer"),f=t("./utf8"),c=t("./stringWriter"),p=t("./uint8ArrayWriter"),_=function(t){if(t._data instanceof l&&(t._data=t._data.getContent(),t.options.binary=!0,t.options.base64=!1,"uint8array"===i.getTypeOf(t._data))){var e=t._data;t._data=new Uint8Array(e.length),0!==e.length&&t._data.set(e,0)}return t._data},m=function(t){var e=_(t),r;if("string"===i.getTypeOf(e)){if(!t.options.binary&&n.nodebuffer)return u(e,"utf-8");return t.asBinary()}return e},g=function(t){var e=_(this);if(null==e)return"";return this.options.base64&&(e=h.decode(e)),e=t&&this.options.binary?I.utf8decode(e):i.transformTo("string",e),t||this.options.binary||(e=i.transformTo("string",I.utf8encode(e))),e},b=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this.options=r,this._initialMetadata={dir:r.dir,date:r.date}};b.prototype={asText:function(){return g.call(this,!0)},asBinary:function(){return g.call(this,!1)},asNodeBuffer:function(){var t=m(this);return i.transformTo("nodebuffer",t)},asUint8Array:function(){var t=m(this);return i.transformTo("uint8array",t)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var w=function(t,e){var r="",n;for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r},v=function(){var t={},e,r;for(e=0;e<arguments.length;e++)for(r in arguments[e])arguments[e].hasOwnProperty(r)&&void 0===t[r]&&(t[r]=arguments[e][r]);return t},y=function(t){return!0!==(t=t||{}).base64||null!==t.binary&&void 0!==t.binary||(t.binary=!0),(t=v(t,o)).date=t.date||new Date,null!==t.compression&&(t.compression=t.compression.toUpperCase()),t},k=function(t,e,r){var n=i.getTypeOf(e),a;if("string"==typeof(r=y(r)).unixPermissions&&(r.unixPermissions=parseInt(r.unixPermissions,8)),r.unixPermissions&&16384&r.unixPermissions&&(r.dir=!0),r.dosPermissions&&16&r.dosPermissions&&(r.dir=!0),r.dir&&(t=z(t)),r.createFolders&&(a=x(t))&&C.call(this,a,!0),r.dir||null==e)r.base64=!1,r.binary=!1,e=null,n=null;else if("string"===n)r.binary&&!r.base64&&!0!==r.optimizedBinaryString&&(e=i.string2binary(e));else{if(r.base64=!1,r.binary=!0,!(n||e instanceof l))throw new Error("The data of '"+t+"' is in an unsupported format !");"arraybuffer"===n&&(e=i.transformTo("uint8array",e))}var s=new b(t,e,r);return this.files[t]=s,s},x=function(t){"/"==t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?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<r.length;n++)delete this.files[r[n].name];return this},generate:function(t){t=v(t||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip"}),i.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var e=[],r=0,n=0,a,o,l=i.transformTo("string",this.utf8encode(t.comment||this.comment||""));for(var u in this.files){if(!this.files.hasOwnProperty(u))continue;var f=this.files[u],_=f.options.compression||t.compression.toUpperCase(),m=d[_];if(!m)throw new Error(_+" is not a valid compression method !");var g=f.options.compressionOptions||t.compressionOptions||{},b=A.call(this,f,m,g),y=B.call(this,u,f,b,r,t.platform);r+=y.fileRecord.length+b.compressedSize,n+=y.dirRecord.length,e.push(y)}var k="";k=s.CENTRAL_DIRECTORY_END+"\0\0"+"\0\0"+w(e.length,2)+w(e.length,2)+w(n,4)+w(r,4)+w(l.length,2)+l;var x=t.type.toLowerCase();for(a="uint8array"===x||"arraybuffer"===x||"blob"===x||"nodebuffer"===x?new p(r+n+k.length):new c(r+n+k.length),o=0;o<e.length;o++)a.append(e[o].fileRecord),a.append(e[o].compressedObject.compressedContent);for(o=0;o<e.length;o++)a.append(e[o].dirRecord);a.append(k);var z=a.finalize();switch(t.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(t.type.toLowerCase(),z);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",z),t.mimeType);case"base64":return t.base64?h.encode(z):z;default:return z}},crc32:function(t,e){return a(t,e)},utf8encode:function(t){return i.transformTo("string",f.utf8encode(t))},utf8decode:function(t){return f.utf8decode(t)}};e.exports=I},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],15:[function(t,e,r){"use strict";function n(t,e){this.data=t,e||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0}var i=t("./dataReader"),a=t("./utils");n.prototype=new i,n.prototype.byteAt=function(t){return this.data.charCodeAt(t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=n},{"./dataReader":5,"./utils":21}],16:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){this.data=[]};i.prototype={append:function(t){t=n.transformTo("string",t),this.data.push(t)},finalize:function(){return this.data.join("")}},e.exports=i},{"./utils":21}],17:[function(t,e,r){(function(t){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==t,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var e=new ArrayBuffer(0);try{r.blob=0===new Blob([e],{type:"application/zip"}).size}catch(t){try{var n,i=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);i.append(e),r.blob=0===i.getBlob("application/zip").size}catch(t){r.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(t,e,r){"use strict";function n(t){t&&(this.data=t,this.length=this.data.length,this.index=0)}var i=t("./dataReader");n.prototype=new i,n.prototype.byteAt=function(t){return this.data[t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),a=this.length-4;a>=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<o;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),h+=r<128?1:r<2048?2:r<65536?3:4;for(e=i.uint8array?new Uint8Array(h):new Array(h),s=0,a=0;s<h;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?e[s++]=r:r<2048?(e[s++]=192|r>>>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;r<h;){if((a=t[r++])<128){d[i++]=a;continue}if((o=s[a])>4){d[i++]=65533,r+=o-1;continue}a&=2===o?31:3===o?15:7;while(o>1&&r<h)a=a<<6|63&t[r++],o--;if(o>1){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(a<s){var h=d(e,Math.min(a+o,s));i.uint8array?r.push(l(e.subarray(a,h))):r.push(l(e.slice(a,h))),a=h}return r.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(t,e,r){"use strict";function n(t){return t}function i(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}function a(t){var e=65536,n=[],i=t.length,a=r.getTypeOf(t),s=0,o=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,d(0));break}}catch(t){o=!1}if(!o){for(var h="",l=0;l<t.length;l++)h+=String.fromCharCode(t[l]);return h}while(s<i&&e>1)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;r<t.length;r++)e[r]=t[r];return e}var o=t("./support"),h=t("./compressions"),d=t("./nodeBuffer");r.string2binary=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(255&t.charCodeAt(r));return e},r.arrayBuffer2Blob=function(t,e){r.checkSupport("blob"),e=e||"application/zip";try{return new Blob([t],{type:e})}catch(r){try{var n,i=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return i.append(t),i.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}},r.applyFromCharCode=a;var l={};l["string"]={string:n,array:function(t){return i(t,new Array(t.length))},arraybuffer:function(t){return l["string"]["uint8array"](t).buffer},uint8array:function(t){return i(t,new Uint8Array(t.length))},nodebuffer:function(t){return i(t,d(t.length))}},l["array"]={string:a,array:n,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return d(t)}},l["arraybuffer"]={string:function(t){return a(new Uint8Array(t))},array:function(t){return s(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:n,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return d(new Uint8Array(t))}},l["uint8array"]={string:a,array:function(t){return s(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:n,nodebuffer:function(t){return d(t)}},l["nodebuffer"]={string:a,array:function(t){return s(t,new Array(t.length))},arraybuffer:function(t){return l["nodebuffer"]["uint8array"](t).buffer},uint8array:function(t){return s(t,new Uint8Array(t.length))},nodebuffer:n},r.transformTo=function(t,e){if(e||(e=""),!t)return e;r.checkSupport(t);var n=r.getTypeOf(e),i;return l[n][t](e)},r.getTypeOf=function(t){if("string"==typeof t)return"string";if("[object Array]"===Object.prototype.toString.call(t))return"array";if(o.nodebuffer&&d.test(t))return"nodebuffer";if(o.uint8array&&t instanceof Uint8Array)return"uint8array";if(o.arraybuffer&&t instanceof ArrayBuffer)return"arraybuffer"},r.checkSupport=function(t){var e;if(!o[t.toLowerCase()])throw new Error(t+" is not supported by this browser")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e="",r,n;for(n=0;n<(t||"").length;n++)e+="\\x"+((r=t.charCodeAt(n))<16?"0":"")+r.toString(16).toUpperCase();return e},r.findCompression=function(t){for(var e in h){if(!h.hasOwnProperty(e))continue;if(h[e].magic===t)return h[e]}return null},r.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(t,e,r){"use strict";function n(t,e){this.files=[],this.loadOptions=e,t&&this.load(t)}var i=t("./stringReader"),a=t("./nodeBufferReader"),s=t("./uint8ArrayReader"),o=t("./utils"),h=t("./signature"),d=t("./zipEntry"),l=t("./support"),u=t("./object");n.prototype={checkSignature:function(t){var e=this.reader.readString(4);if(e!==t)throw new Error("Corrupted zip or bug : unexpected signature "+"("+o.pretty(e)+", expected "+o.pretty(t)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var t=this.zip64EndOfCentralSize-44,e=0,r,n,i;while(e<t)r=this.reader.readInt(2),n=this.reader.readInt(4),i=this.reader.readString(n),this.zip64ExtensibleData[r]={id:r,length:n,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(h.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===h.CENTRAL_FILE_HEADER)(t=new d({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(h.CENTRAL_DIRECTORY_END);if(-1===t){var e=!0;try{this.reader.setIndex(0),this.checkSignature(h.LOCAL_FILE_HEADER),e=!1}catch(t){}throw e?new Error("Can't find end of central directory : is this a zip file ? "+"If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}if(this.reader.setIndex(t),this.checkSignature(h.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(t=this.reader.lastIndexOfSignature(h.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(t),this.checkSignature(h.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(h.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(t){var e=o.getTypeOf(t);"string"!==e||l.uint8array?this.reader="nodebuffer"===e?new a(t):new s(o.transformTo("uint8array",t)):this.reader=new i(t,this.loadOptions.optimizedBinaryString)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=n},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(t,e,r){"use strict";function n(t,e){this.options=t,this.loadOptions=e}var i=t("./stringReader"),a=t("./utils"),s=t("./compressedObject"),o=t("./object"),h=0,d=3;n.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(t,e,r){return function(){var n=t.index;t.setIndex(e);var i=t.readData(r);return t.setIndex(n),i}},prepareContent:function(t,e,r,n,i){return function(){var t=a.transformTo(n.uncompressInputType,this.getCompressedContent()),e=n.uncompress(t);if(e.length!==i)throw new Error("Bug : uncompressed data size mismatch");return e}},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readString(this.fileNameLength),t.skip(r),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory "+"(compressedSize == -1 || uncompressedSize == -1)");if(null===(e=a.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new s,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(t,t.index,this.compressedSize,e),this.decompressed.getContent=this.prepareContent(t,t.index,this.compressedSize,e,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),o.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(t){if(this.versionMadeBy=t.readInt(2),this.versionNeeded=t.readInt(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4),this.fileNameLength=t.readInt(2),this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=t.readString(this.fileNameLength),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readString(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),t===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.index<e+this.extraFieldsLength)r=t.readInt(2),n=t.readInt(2),i=t.readString(n),this.extraFields[r]={id:r,length:n,value:i}},handleUTF8:function(){if(this.useUTF8())this.fileName=o.utf8decode(this.fileName),this.fileComment=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();null!==t&&(this.fileName=t);var e=this.findExtraFieldUnicodeComment();null!==e&&(this.fileComment=e)}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(o.crc32(this.fileName)!==e.readInt(4))return null;return o.utf8decode(e.readString(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(o.crc32(this.fileComment)!==e.readInt(4))return null;return o.utf8decode(e.readString(t.length-5))}return null}},e.exports=n},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(t,e,r){"use strict";var n,i,a,s,o={};(0,t("./lib/utils/common").assign)(o,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=o},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(t,e,r){"use strict";function n(t,e){var r=new b(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)}function a(t,e){return(e=e||{}).gzip=!0,n(t,e)}var s=t("./zlib/deflate.js"),o=t("./utils/common"),h=t("./utils/strings"),d=t("./zlib/messages"),l=t("./zlib/zstream"),u=0,f=4,c=0,p=1,_=-1,m=0,g=8,b=function(t){this.options=o.assign({level:_,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?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<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){var e,r,n,i,a,s;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(s=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)a=t[e],s.set(a,i),i+=a.length;return s}},a={arraySet:function(t,e,r,n,i){for(var a=0;a<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],28:[function(t,e,r){"use strict";function n(t,e){if(e<65537&&(t.subarray&&s||!t.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}var i=t("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var o=new i.Buf8(256),h=0;h<256;h++)o[h]=h>=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<o;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),h+=r<128?1:r<2048?2:r<65536?3:4;for(e=new i.Buf8(h),s=0,a=0;s<h;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?e[s++]=r:r<2048?(e[s++]=192|r>>>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;r<n;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,i,a,s,h=e||t.length,d=new Array(2*h);for(i=0,r=0;r<h;){if((a=t[r++])<128){d[i++]=a;continue}if((s=o[a])>4){d[i++]=65533,r+=s-1;continue}a&=2===s?31:3===s?15:7;while(s>1&&r<h)a=a<<6|63&t[r++],s--;if(s>1){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<s;o++)t=t>>>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]&&n<f);if(a=ot-(f-n),n=f-ot,a>s){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.hash_shift^t.window[s+1])&t.hash_mask;while(t.insert)if(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+st-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,t.lookahead+t.insert<st)break}}while(t.lookahead<ht&&0!==t.strm.avail_in)}function c(t,e){var r=65535;for(r>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<ht){if(f(t),t.lookahead<ht&&e===O)return gt;if(0===t.lookahead)break}if(r=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-ht&&(t.match_length=u(t,r)),t.match_length>=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<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=t.strstart<st-1?t.strstart:st-1,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 _(t,e){for(var r,n,i;;){if(t.lookahead<ht){if(f(t),t.lookahead<ht&&e===O)return gt;if(0===t.lookahead)break}if(r=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=st-1,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-ht&&(t.match_length=u(t,r),t.match_length<=5&&(t.strategy===H||t.match_length===st&&t.strstart-t.match_start>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<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=st-1,t.strstart++,n&&(o(t,!1),0===t.strm.avail_out))return gt}else if(t.match_available){if((n=S._tr_tally(t,0,t.window[t.strstart-1]))&&o(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return gt}else t.match_available=1,t.strstart++,t.lookahead--}if(t.match_available&&(n=S._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<st-1?t.strstart:st-1,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 m(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=ot){if(f(t),t.lookahead<=ot&&e===O)return gt;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=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]&&i<a);t.match_length=ot-(a-i),t.match_length>t.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<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=a+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+st-1)/st),h.window=new E.Buf8(2*h.w_size),h.head=new E.Buf16(h.hash_size),h.prev=new E.Buf16(h.w_size),h.lit_bufsize=1<<a+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new E.Buf8(h.pending_buf_size),h.d_buf=h.lit_bufsize>>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.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,h(o,u)}while(0!==u);o.gzhead.hcrc&&o.pending>l&&(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.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,h(o,u)}while(0!==u);o.gzhead.hcrc&&o.pending>l&&(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<<a.lenbits)-1,y=(1<<a.distbits)-1;t:do{g<15&&(m+=S[s++]<<g,g+=8,m+=S[s++]<<g,g+=8),k=b[m&v];e:for(;;){if(m>>>=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)-1)];continue e}if(32&x){a.mode=i;break t}e.msg="invalid literal/length code",a.mode=n;break t}z=65535&k,(x&=15)&&(g<x&&(m+=S[s++]<<g,g+=8),z+=m&(1<<x)-1,m>>>=x,g-=x),g<15&&(m+=S[s++]<<g,g+=8,m+=S[s++]<<g,g+=8),k=w[m&y];r:for(;;){if(m>>>=x=k>>>24,g-=x,!(16&(x=k>>>16&255))){if(0==(64&x)){k=w[(65535&k)+(m&(1<<x)-1)];continue r}e.msg="invalid distance code",a.mode=n;break t}if(C=65535&k,g<(x&=15)&&(m+=S[s++]<<g,(g+=8)<x&&(m+=S[s++]<<g,g+=8)),(C+=m&(1<<x)-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,x<z){z-=x;do{B[h++]=_[A++]}while(--x);A=h-C,E=B}}else if(p<x){if(A+=f+p-x,(x-=p)<z){z-=x;do{B[h++]=_[A++]}while(--x);if(A=0,p<z){z-=x=p;do{B[h++]=_[A++]}while(--x);A=h-C,E=B}}}else if(A+=p-x,x<z){z-=x;do{B[h++]=_[A++]}while(--x);A=h-C,E=B}while(z>2)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<o&&h<l);return s-=z=g>>3,m&=(1<<(g-=z<<3))-1,e.next_in=s,e.next_out=h,e.avail_in=s<o?5+(o-s):5-(s-o),e.avail_out=h<l?257+(l-h):257-(h-l),a.hold=m,void(a.bits=g)}},{}],35:[function(t,e,r){"use strict";function n(t){return(t>>>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.wbits,a.wnext=0,a.whave=0,a.window=new _.Buf8(a.wsize)),n>=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<a.wsize&&(a.whave+=i))),0}function f(t,e){var r,i,a,s,o,h,d,f,c,p,ft,ct,pt,_t,mt=0,gt,bt,wt,vt,yt,kt,xt,zt,Ct=new _.Buf8(4),At,Et,St=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return B;(r=t.state).mode===K&&(r.mode=V),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,p=h,ft=d,zt=A;t:for(;;)switch(r.mode){case L:if(0===r.wrap){r.mode=V;break}while(c<16){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(2&r.wrap&&35615===f){r.check=0,Ct[0]=255&f,Ct[1]=f>>>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<<xt,t.adler=r.check=1,r.mode=512&f?H:K,f=0,c=0;break;case D:while(c<16){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(r.flags=f,(255&r.flags)!==R){t.msg="unknown compression method",r.mode=dt;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=dt;break}r.head&&(r.head.text=f>>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++]<<c,c+=8}r.head&&(r.head.time=f),512&r.flags&&(Ct[0]=255&f,Ct[1]=f>>>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++]<<c,c+=8}r.head&&(r.head.xflags=255&f,r.head.os=f>>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++]<<c,c+=8}r.length=f,r.head&&(r.head.extra_len=f),512&r.flags&&(Ct[0]=255&f,Ct[1]=f>>>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<h);if(512&r.flags&&(r.check=g(r.check,i,ct,s)),h-=ct,s+=ct,xt)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=M;case M:if(4096&r.flags){if(0===h)break t;ct=0;do{xt=i[s+ct++],r.head&&xt&&r.length<65536&&(r.head.comment+=String.fromCharCode(xt))}while(xt&&ct<h);if(512&r.flags&&(r.check=g(r.check,i,ct,s)),h-=ct,s+=ct,xt)break t}else r.head&&(r.head.comment=null);r.mode=j;case j:if(512&r.flags){while(c<16){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(f!==(65535&r.check)){t.msg="header crc mismatch",r.mode=dt;break}f=0,c=0}r.head&&(r.head.hcrc=r.flags>>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++]<<c,c+=8}t.adler=r.check=n(f),f=0,c=0,r.mode=X;case X:if(0===r.havedict)return t.next_out=o,t.avail_out=d,t.next_in=s,t.avail_in=h,r.hold=f,r.bits=c,S;t.adler=r.check=1,r.mode=K;case K:if(e===z||e===C)break t;case V:if(r.last){f>>>=7&c,c-=7&c,r.mode=st;break}while(c<3){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}switch(r.last=1&f,c-=1,3&(f>>>=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++]<<c,c+=8}if((65535&f)!=(f>>>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++]<<c,c+=8}if(r.nlen=(31&f)+257,f>>>=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<r.ncode){while(c<3){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}r.lens[St[r.have++]]=7&f,f>>>=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<r.nlen+r.ndist){for(;;){if(bt=(mt=r.lencode[f&(1<<r.lenbits)-1])>>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(wt<16)f>>>=gt,c-=gt,r.lens[r.have++]=wt;else{if(16===wt){Et=gt+2;while(c<Et){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(f>>>=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<Et){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}c-=gt,xt=0,ct=3+(7&(f>>>=gt)),f>>>=3,c-=3}else{Et=gt+7;while(c<Et){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}c-=gt,xt=0,ct=11+(127&(f>>>=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<<r.lenbits)-1])>>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(bt&&0==(240&bt)){for(vt=gt,yt=bt,kt=wt;;){if(bt=(mt=r.lencode[kt+((f&(1<<vt+yt)-1)>>vt)])>>>16&255,wt=65535&mt,vt+(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<<c,c+=8}f>>>=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<Et){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}r.length+=f&(1<<r.extra)-1,f>>>=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<<r.distbits)-1])>>>16&255,wt=65535&mt,(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(0==(240&bt)){for(vt=gt,yt=bt,kt=wt;;){if(bt=(mt=r.distcode[kt+((f&(1<<vt+yt)-1)>>vt)])>>>16&255,wt=65535&mt,vt+(gt=mt>>>24)<=c)break;if(0===h)break t;h--,f+=i[s++]<<c,c+=8}f>>>=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<Et){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}r.offset+=f&(1<<r.extra)-1,f>>>=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++]<<c,c+=8}if(ft-=d,t.total_out+=ft,r.total+=ft,ft&&(t.adler=r.check=r.flags?g(r.check,a,ft,o-ft):m(r.check,a,ft,o-ft)),ft=d,(r.flags?f:n(f))!==r.check){t.msg="incorrect data check",r.mode=dt;break}f=0,c=0}r.mode=ot;case ot:if(r.wrap&&r.flags){while(c<32){if(0===h)break t;h--,f+=i[s++]<<c,c+=8}if(f!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=dt;break}f=0,c=0}r.mode=ht;case ht:zt=E;break t;case dt:zt=I;break t;case lt:return T;case ut:default:return B}if(t.next_out=o,t.avail_out=d,t.next_in=s,t.avail_in=h,r.hold=f,r.bits=c,(r.wsize||ft!==t.avail_out&&r.mode<dt&&(r.mode<st||e!==x))&&u(t,t.output,t.next_out,ft-t.avail_out))return r.mode=lt,T;return p-=t.avail_in,ft-=t.avail_out,t.total_in+=p,t.total_out+=ft,r.total+=ft,r.wrap&&ft&&(t.adler=r.check=r.flags?g(r.check,a,ft,t.next_out-ft):m(r.check,a,ft,t.next_out-ft)),t.data_type=r.bits+(r.last?64:0)+(r.mode===K?128:0)+(r.mode===$||r.mode===W?256:0),(0===p&&0===ft||e===x)&&zt===A&&(zt=O),zt}function c(t){if(!t||!t.state)return B;var e=t.state;return e.window&&(e.window=null),t.state=null,A}function p(t,e){var r;if(!t||!t.state)return B;if(0==(2&(r=t.state).wrap))return B;return r.head=e,e.done=!1,A}var _=t("../utils/common"),m=t("./adler32"),g=t("./crc32"),b=t("./inffast"),w=t("./inftrees"),v=0,y=1,k=2,x=4,z=5,C=6,A=0,E=1,S=2,B=-2,I=-3,T=-4,O=-5,R=8,L=1,D=2,N=3,U=4,F=5,Z=6,P=7,M=8,j=9,H=10,X=11,K=12,V=13,Y=14,W=15,q=16,G=17,J=18,Q=19,$=20,tt=21,et=22,rt=23,nt=24,it=25,at=26,st=27,ot=28,ht=29,dt=30,lt=31,ut=32,ft=852,ct=592,pt,_t=15,mt=!0,gt,bt;r.inflateReset=s,r.inflateReset2=o,r.inflateResetKeep=a,r.inflateInit=d,r.inflateInit2=h,r.inflate=f,r.inflateEnd=c,r.inflateGetHeader=p,r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(t,e,r){"use strict";var n=t("../utils/common"),i=15,a=852,s=592,o=0,h=1,d=2,l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],u=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function t(e,r,p,_,m,g,b,w){var v=w.bits,y=0,k=0,x=0,z=0,C=0,A=0,E=0,S=0,B=0,I=0,T,O,R,L,D,N=null,U=0,F,Z=new n.Buf16(i+1),P=new n.Buf16(i+1),M=null,j=0,H,X,K;for(y=0;y<=i;y++)Z[y]=0;for(k=0;k<_;k++)Z[r[p+k]]++;for(C=v,z=i;z>=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;x<z;x++)if(0!==Z[x])break;for(C<x&&(C=x),S=1,y=1;y<=i;y++)if(S<<=1,(S-=Z[y])<0)return-1;if(S>0&&(e===o||1!==z))return-1;for(P[1]=0,y=1;y<i;y++)P[y+1]=P[y]+Z[y];for(k=0;k<_;k++)0!==r[p+k]&&(b[P[r[p+k]]++]=k);if(e===o?(N=M=b,F=19):e===h?(N=l,U-=257,M=u,j-=257,F=256):(N=f,M=c,F=-1),I=0,k=0,y=x,D=g,A=C,E=0,R=-1,L=(B=1<<C)-1,e===h&&B>a||e===d&&B>s)return 1;for(var V=0;;){V++,H=y-E,b[k]<F?(X=0,K=b[k]):b[k]>F?(X=M[j+b[k]],K=N[U+b[k]]):(X=32+64,K=0),T=1<<y-E,x=O=1<<A;do{m[D+(I>>E)+(O-=T)]=H<<24|X<<16|K|0}while(0!==O);T=1<<y-1;while(I&T)T>>=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+E<z){if((S-=Z[A+E])<=0)break;A++,S<<=1}if(B+=1<<A,e===h&&B>a||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<<t.bi_valid&65535,a(t,t.bi_buf),t.bi_buf=e>>Y-t.bi_valid,t.bi_valid+=r-Y):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function o(t,e,r){s(t,r[2*e],r[2*e+1])}function h(t,e){var r=0;do{r|=1&t,t>>>=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;d<K;d++){if((f=r[2*r[2*(l=t.heap[d])+1]+1]+1)>h&&(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<P-1;n++)for(ht[n]=r,t=0;t<1<<$[n];t++)ot[r++]=n;for(ot[r-1]=n,i=0,n=0;n<16;n++)for(dt[n]=i,t=0;t<1<<tt[n];t++)st[i++]=n;for(i>>=7;n<H;n++)for(dt[n]=i<<7,t=0;t<1<<tt[n]-7;t++)st[256+i++]=n;for(e=0;e<=V;e++)a[e]=0;t=0;while(t<=143)it[2*t+1]=8,t++,a[8]++;while(t<=255)it[2*t+1]=9,t++,a[9]++;while(t<=279)it[2*t+1]=7,t++,a[7]++;while(t<=287)it[2*t+1]=8,t++,a[8]++;for(u(it,j+1,a),t=0;t<H;t++)at[2*t+1]=5,at[2*t]=h(t,5);ut=new lt(it,$,M+1,j,V),ft=new lt(at,tt,0,H,V),ct=new lt(new Array(0),et,0,X,W)}function c(t){var e;for(e=0;e<j;e++)t.dyn_ltree[2*e]=0;for(e=0;e<H;e++)t.dyn_dtree[2*e]=0;for(e=0;e<X;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*q]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function p(t){t.bi_valid>8?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]<t[a]||t[i]===t[a]&&n[e]<=n[r]}function g(t,e,r){var n=t.heap[r],i=r<<1;while(i<=t.heap_len){if(i<t.heap_len&&m(e,t.heap[i+1],t.heap[i],t.depth)&&i++,m(e,n,t.heap[i],t.depth))break;t.heap[r]=t.heap[i],r=i,i<<=1}t.heap[r]=n}function b(t,e,r){var n,a,h=0,d,l;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],a=t.pending_buf[t.l_buf+h],h++,0===n?o(t,a,e):(o(t,(d=ot[a])+M+1,e),0!==(l=$[d])&&s(t,a-=ht[d],l),o(t,d=i(--n),r),0!==(l=tt[d])&&s(t,n-=dt[d],l))}while(h<t.last_lit);o(t,q,e)}function w(t,e){var r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,a=e.stat_desc.elems,s,o,h=-1,d;for(t.heap_len=0,t.heap_max=K,s=0;s<a;s++)0!==r[2*s]?(t.heap[++t.heap_len]=h=s,t.depth[s]=0):r[2*s+1]=0;while(t.heap_len<2)r[2*(d=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[d]=0,t.opt_len--,i&&(t.static_len-=n[2*d+1]);for(e.max_code=h,s=t.heap_len>>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<h&&a===s)continue;o<d?t.bl_tree[2*a]+=o:0!==a?(a!==i&&t.bl_tree[2*a]++,t.bl_tree[2*G]++):o<=10?t.bl_tree[2*J]++:t.bl_tree[2*Q]++,o=0,i=a,0===s?(h=138,d=3):a===s?(h=6,d=3):(h=7,d=4)}}function y(t,e,r){var n,i=-1,a,h=e[0*2+1],d=0,l=7,u=4;for(0===h&&(l=138,u=3),n=0;n<=r;n++){if(a=h,h=e[2*(n+1)+1],++d<l&&a===h)continue;if(d<u)do{o(t,a,t.bl_tree)}while(0!=--d);else 0!==a?(a!==i&&(o(t,a,t.bl_tree),d--),o(t,G,t.bl_tree),s(t,d-3,2)):d<=10?(o(t,J,t.bl_tree),s(t,d-3,3)):(o(t,Q,t.bl_tree),s(t,d-11,7));d=0,i=a,0===h?(l=138,u=3):a===h?(l=6,u=3):(l=7,u=4)}}function k(t){var e;for(v(t,t.dyn_ltree,t.l_desc.max_code),v(t,t.dyn_dtree,t.d_desc.max_code),w(t,t.bl_desc),e=X-1;e>=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<n;i++)s(t,t.bl_tree[2*rt[i]+1],3);y(t,t.dyn_ltree,e-1),y(t,t.dyn_dtree,r-1)}function z(t){var e=4093624447,r;for(r=0;r<=31;r++,e>>>=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;r<M;r++)if(0!==t.dyn_ltree[2*r])return R;return O}function C(t){_t||(f(),_t=!0),t.l_desc=new pt(t.dyn_ltree,ut),t.d_desc=new pt(t.dyn_dtree,ft),t.bl_desc=new pt(t.bl_tree,ct),t.bi_buf=0,t.bi_valid=0,c(t)}function A(t,e,r,n){s(t,(D<<1)+(n?1:0),3),_(t,e,r,!0)}function E(t){s(t,N<<1,3),o(t,q,it),d(t)}function S(t,e,r,n){var i,a,o=0;t.level>0?(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<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,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(e){var t;!function(e){var t=function(){function e(){this.list=[]}return e.prototype.toList=function(){return this.list.stimulsoft.toList()},e.prototype.toCast=function(){return this.list},Object.defineProperty(e.prototype,"count",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this.list=[]},e.prototype.add=function(e){this.list.push(e)},e.prototype.addRange=function(e){var t,r,n,i;if(e.stimulsoft.is(Array))try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value;this.add(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else try{for(var u=__values(e.list),l=u.next();!l.done;l=u.next()){var s=l.value;this.add(s)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}},e.prototype.remove=function(e){var t=this.list.indexOf(e);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<arguments.length;a++)i[a]=arguments[a];if(this.value["equals"])return(e=this.value).equals.apply(e,__spread(i));var o=i[0];if(this.value.stimulsoft.is(String)||this.value.stimulsoft.is(Number)||this.value.stimulsoft.is(Boolean)||this.value.stimulsoft.is(Function))return this.value==o;var s=t.getOwnPropertyNames(this.value);try{for(var u=__values(s),l=u.next();!l.done;l=u.next()){var m=l.value;if(null!=this.value[m]&&!this.value[m].stimulsoft.equals(o[m]))return!1}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return!0},t.prototype.getHashCode=function(){for(var e,r,n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if("number"==typeof this.value)return this.value;if(this.value["getHashCode"])return(e=this.value).getHashCode.apply(e,__spread(i));null==this.value["stiHashLink"]&&(this.value["stiHashLink"]=Math.random());var o=0;if(null!=this.value["btoa"])return o;var s=t.getOwnPropertyNames(this.value);try{for(var u=__values(s),l=u.next();!l.done;l=u.next()){var m=l.value;null!=this.value[m]&&"function"!=typeof this.value[m]&&(null!=this.value[m]["stiHashLink"]?o+=this.value[m]["stiHashLink"]:o+=this.value[m].stimulsoft.getHashCode())}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o},t.prototype.compareTo=function(e){if(this.value["compareTo"])return this.value.compareTo(e);return-1},t.prototype.toBoolean=function(){if("1"==this.value.toString())return!0;return"true"==this.value.toString().toLowerCase()},t.prototype.toNumber=function(e){if(void 0===e&&(e=!0),!e)return parseInt(this.value);if(this.value.stimulsoft.is(String)&&this.value.indexOf(",")>=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;r<arguments.length;r++)t[r]=arguments[r];var n=this.value.valueOf();return n%1==0?n:(e=n.toString().stimulsoft).getHashCode.apply(e,__spread(t))},t.prototype.is=function(e){if(e==Number)return!0;return!1},t.prototype.as=function(e){if(e==Number)return this.value;return null},t.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},t.prototype.compareTo=function(e){return this.value<e?-1:this.value>e?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<arguments.length;r++)t[r]=arguments[r];return e.ExternalLibrary.XXH.h32(this.value.valueOf(),43981).stimulsoft.toNumber()},r.prototype.toBytesArray=function(){return Array.prototype.map.call(this.value,(function(e){return e.charCodeAt(0)}))},r.prototype.toUnicodeString=function(){return unescape(encodeURIComponent(this.value))},r.prototype.fromUnicodeString=function(){try{return decodeURIComponent(escape(this.value))}catch(e){return decodeURIComponent(encodeURIComponent(this.value))}},r.prototype.indexOfAny=function(e){return r.indexOfAny(this.value,e)},r.prototype.regexIndexOf=function(e,t){var r=this.value.substring(t||0).search(e);return 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;t<arguments.length;t++)e[t]=arguments[t];var r="/";return e.forEach((function(t,n){return r+=n<e.length-1?"|":""})),r+="/",this.value.split(new RegExp(r))},r.prototype.getType=function(){return String},r.prototype.getTypeName=function(){return"String"},r.prototype.getNetTypeName=function(){return"System.String"},r.prototype.toString=function(){return this.value},r.isNullOrEmpty=function(e){return null==e||""===e||void 0===e},r.isNullOrWhiteSpace=function(e){return null==e||""===e.trim()},r.repeat=function(e,t){if(0==t)return"";for(var r=e,n=1;n<t;n++)r+=e;return r},r.fill=function(e,t){return r.repeat(e,t)},r.format=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i="",a=0,o=0;while(a<e.length)if("{"==e.charAt(a)){while("{"==e.charAt(a))a++;a-1>o&&(i+=e.substring(o,a-1)),o=a;while(a<e.length&&"}"!=e.charAt(a))a++;a>o&&(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(i<e.length)if("{"==e.charAt(i)){while("{"==e.charAt(i))i++;i-1>a&&(n+=e.substring(a,i-1)),a=i;while(i<e.length&&"}"!=e.charAt(i))i++;i>a&&(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(i<t.length&&e.System.Char.isDigit(t.charAt(i)))i++;if(i>0){var a=parseInt(t.substring(0,i),10),o="",s=-1,u=null;if(i+1<t.length&&":"==t.charAt(i)){if(r.isNullOrEmpty(n[a]))return"";if(n[a].stimulsoft.is(e.System.DateTime)||n[a].stimulsoft.is(e.System.TimeSpan))return n[a].toString(t.substr(i+1));o=t.charAt(i+1),u=t.substr(i+1);var l=i+=2;while(i<t.length&&e.System.Char.isDigit(t.charAt(i)))i++;i>l&&(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<r)f+="0";u+=a+f}return i&&m&&(u="-"+u),u},r.customFormat=function(t,n){if(null==n||0==n.length)return t.toString();if("number"==typeof t)return r.customFormatNumber(t,n);var i;return(new e.System.SwitchSymbolFormatter).formatValue(n,t)},r.customFormatNumber=function(t,n){var i=["p.","$","€","¢","£","¤","¥","₣","₤","₧","₪","₫","฿","₠","₡","₢","₥","₦","₨","₩","₫"],a=e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,o=e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSeparator,s="",u="",l="",m="",y=!1,d=-1,f=-1,h=0;for(i.forEach((function(e){n.stimulsoft.startsWith(e)&&(s=e),n.stimulsoft.endsWith(e)&&(u=e)})),h=0;h<n.length;h++){var c=n.charAt(h);if("."==c){y=!0,f=h;continue}if("0"==c||"#"==c){y?m+=c:l+=c;continue}y||(d=l.length)}if(0==m.length&&0==l.length)return n;var p=0;-1!=d&&(p=l.length-d);var M=m.length,b=m.lastIndexOf("0")+1,g=l.indexOf("0"),v=-1==g?0:l.length-g,S="",w=Math.round2(t,M)<0,N=Math.abs(t),j=Math.trunc(N),I=Math.pow(10,M),k=Math.round(Math.round2(N-j,M)*I);k>=I&&(j++,k=0);var _=j.toString();if(_.length<v&&(_=r.fill("0",v-_.length)+_),0!=j||v>0)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<b)_="0"+_;S+=a+_}return w&&(S="-"+S),s+S+u},r.indexOfAny=function(e,t){if(r.isNullOrEmpty(e)||0==t.length)return-1;for(var n=0;n<e.length;n++)for(var i=e.charAt(n),a=0;a<t.length;a++)if(t[a]==i)return n;return-1},r.join=function(e,t){for(var r=0,n=t.length,i="",a=r;a<n;a++)i+=t[a],a!=n-1&&(i+=e);return i},r.fromBytesArray=function(e){for(var t="",r=new Uint8Array(e),n=0;n<r.byteLength;n++)t+=String.fromCharCode(r[n]);return t},r}(n);t.StiString=a;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.is=function(e){if(e==Boolean)return!0;return!1},t.prototype.as=function(e){if(e==Boolean)return this.value;return null},t.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},t.prototype.getHashCode=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1==this.value?1:2},t.prototype.getType=function(){return Boolean},t.prototype.getTypeName=function(){return"Boolean"},t.prototype.getNetTypeName=function(){return"System.Boolean"},t}(n);t.StiBoolean=o;var s=function(t){function r(e){var n=t.call(this,e)||this;return Object.defineProperty(r.prototype,"stimulsoft",{value:void 0,configurable:!0,enumerable:!1}),n}return __extends(r,t),r.prototype.getHashCode=function(){var e,t,r=0;try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;null!=a&&(r+=a.stimulsoft.getHashCode())}}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.getType=function(){return Boolean},r.prototype.getTypeName=function(){return"Array"},r.prototype.getNetTypeName=function(){var e,t,r="Byte";try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;if(null!=a){a.stimulsoft.is(String)&&(r="String");break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r+"[]"},Object.defineProperty(r.prototype,"countItems",{get:function(){var e;return n.keys(this.value).length},enumerable:!1,configurable:!0}),r.prototype.contains=function(e){return this.value.indexOf(e)>=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<this.value.length;n++)e[r]=this.value[n],r++},r.prototype.getKeys=function(){var e;return n.keys(this.value).sort((function(e,t){return+e<+t?-1:+e>+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;i<t;i++){var a=null;e==Number&&(a=0),e==Boolean&&(a=!1),r&&(a=new e),n.push(a)}return n},r.create2=function(e,t,n,i){void 0===i&&(i=!1);for(var a=[],o=0;o<t;o++){var s=r.create(e,n,i);a.push(s)}return a},r.create3=function(e,t,n,i,a){void 0===a&&(a=!1);for(var o=[],s=0;s<t;s++){var u=r.create2(e,n,i,a);o.push(u)}return o},r.create1=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=!1;if("boolean"==typeof t[t.length-1]&&(i=!!t.pop()),0==t.length){if(e==Number)return 0;if(e==Boolean)return!1;return i?new e:null}for(var a=[],o=t.shift(),s=0;s<o;s++){var u=r.create.apply(this,[e].concat(t,[i]));a.push(u)}return a},r.sti_sort3=function(e,t){var r,n,i=[];e.forEach((function(e,r){return i.push({key:e,item:t[r]})})),i.sort((function(e,t){return e.key.stimulsoft.compareTo(t.key)})),e.splice(0,e.length),t.splice(0,t.length);try{for(var a=__values(i),o=a.next();!o.done;o=a.next()){var s=o.value;e.push(s.key),t.push(s.item)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},r.distinct=function(e){var t,r,n=[],i=[];try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value,u=null==s?void 0:s.stimulsoft.getHashCode(),l;-1==i.indexOf(u)&&(n.push(s),i.push(u))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},r.numberSortFunction=function(){return function(e,t){if(e>t)return 1;if(e<t)return-1;return 0}},r.copy=function(e,t,r,n){for(var i=t;i<t+n;i++)r[i]=e[i]},r.copy2=function(e,t,r,n,i){for(var a=0;a<i;a++)r[n+a]=e[t+a]},r.reverse=function(e){return e.reverse()},r.sti_sort=function(e){return e.sort()},r.clear=function(e,t,r){var n=e[0].stimulsoft.getType();for(t;t<r;t++)n==Number?e[t]=0:n==Boolean?e[t]=!1:e[t]=null;return e},r}(n);t.StiArray=s}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},r=function(e){var t=Number(e);if(isNaN(t))return 0;if(0===t||!isFinite(t))return t;return(t>0?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<u)y=a[m],l[m]=o?void 0===s?o(y,m):o.call(s,y,m):y,m+=1;return l.length=u,l}}()),Stimulsoft.System.StiObject.init(),function(e){var t;!function(e){var t=function(){function t(){}return t.initialize=function(r){void 0===r&&(r=null),0==t.isInitialize&&(t._isNodeJs=!0,Stimulsoft.System.IO.File.getFile=t.getFile,Stimulsoft.System.IO.File.saveFile=t.saveFile,Stimulsoft.System.IO.File.getFilesNames=t.getFilesNames,Stimulsoft.System.IO.Path.getSep=t.getSep,Stimulsoft.StiVersion.platform=t.platform,Stimulsoft.Report.Dictionary.StiSqlAdapterService.prototype.callRemoteApi=t.callRemoteApi,t.useWebKit||(Stimulsoft.System.IO.Http.getFile=t.getFileHttp,Stimulsoft.System.Convert.fromBase64String=t.fromBase64String,Stimulsoft.System.Convert.fromBase64StringText=t.fromBase64StringText,Stimulsoft.System.Convert.toBase64String=t.toBase64String,e.StiString.prototype.fromUnicodeString=t.fromUnicodeString,Stimulsoft.Base.StiSettings.get=t.getSetting,Stimulsoft.Base.StiSettings.set=t.setSetting,Stimulsoft.System.StiObject.saveAs=t.saveAs,Stimulsoft.System.Xml.XmlConverter.toXml=Stimulsoft.System.Xml.XmlConverter.toXml2,Stimulsoft.System.Drawing.Image.prototype.convert=t.convert),t.getLocalizationInfo((function(e){var t,n;try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o=a.value;o.ext?Stimulsoft.Report.Check.StiLocalizationExt.addLocalizationFile(o.filePath,!1,o.language):Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile(o.filePath,!1,o.language)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}null!=r&&r()})),delete Buffer.prototype.stimulsoft,Object.defineProperty(Buffer.prototype,"stimulsoft",{get:function(){return new Stimulsoft.System.StiObject(this.valueOf())},configurable:!0,enumerable:!1})),t.isInitialize=!0},t.platform=function(){var e;return require("os").platform()},t.callRemoteApi=function(r,n){var i=new e.StiPromise;if(e.StiString.isNullOrEmpty(Stimulsoft.StiOptions.WebServer.url)){var a=function(e){e&&e.success&&i.callTry(e),e&&!e.success&&i.callCatch(e.notice),e||i.callCatch({success:!1,notice:""})};"MySQL"==r.database&&t.processMySql(r,a),"Firebird"==r.database&&t.processFirebird(r,a),"MS SQL"==r.database&&t.processMsSql(r,a),"PostgreSQL"==r.database&&t.processPostgreSQL(r,a)}else try{r.rnd=Math.random();var o=require("sync-request"),s={headers:{},timeout:n,json:r};s.headers["Content-Type"]="application/json";var u=o("POST",Stimulsoft.StiOptions.WebServer.url,s);if(200==u.statusCode){var l=Stimulsoft.System.Text.Encoding.UTF8.getString(t.stripBom(u.getBody()));i.callTry(l)}else i.callCatch(Stimulsoft.Base.Localization.StiLocalization.get("DesignerFx","ConnectionError"))}catch(e){Stimulsoft.System.StiError.showError(e,!1),i.callCatch(e.message)}return i},t.stripBom=function(e){if(Buffer.isBuffer(e)){if(239==e[0]&&187==e[1]&&191==e[2])return e.slice(3);if(254==e[0]&&255==e[1])return e.slice(2);if(255==e[0]&&254==e[1])return e.slice(2);if(0==e[0]&&0==e[1]&&254==e[2]&&255==e[3])return e.slice(4);if(255==e[0]&&254==e[1]&&0==e[2]&&0==e[3])return e.slice(4)}return e},t.getFile=function(e,r,n,i){if(void 0===r&&(r=!1),void 0===n&&(n=""),void 0===i&&(i=null),e.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi))return Stimulsoft.System.IO.Http.getFile(e,r,n,i);var a;try{var o=require("fs");a=t.stripBom(o.readFileSync(e.trim())),0==r&&"object"==typeof a&&(a=Stimulsoft.System.Text.Encoding.UTF8.getString(a))}catch(e){}return a},t.getFileHttp=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=require("sync-request"),l={headers:{}};if(e.StiString.isNullOrEmpty(i)||(l.headers["Content-Type"]=i),a)try{for(var m=__values(a),y=m.next();!y.done;y=m.next()){var d=y.value;l.headers[d.key]=d.value}}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}var f=u("GET",r,l);if(200==f.statusCode){if(n)return f.body;return Stimulsoft.System.Text.Encoding.UTF8.getString(t.stripBom(f.getBody()))}throw 404==f.statusCode?new Error("File not Found"):new Error("Status "+f.statusCode)}catch(e){}},t.saveAs=function(e,t,r){var n;require("fs").writeFileSync(t,e)},t.saveFile=function(e,t){var r;require("fs").writeFile(e,t,(function(e){e&&Stimulsoft.System.StiError.showError(e)}))},t.getFilesNames=function(e){var t;return require("fs").readdirSync(e)},t.getSep=function(){var e;return require("path").sep},t.fromBase64String=function(e){for(var t=Buffer.from(e.toString(),"base64"),r=[],n=0;n<t.length;n++){var i=t[n];r.push(i)}return r},t.fromBase64StringText=function(e){return Buffer.from(e.toString(),"base64").toString("binary")},t.toBase64String=function(e){if(null==e)return null;return e.stimulsoft.is(String)&&(e=e.stimulsoft.toUnicodeString()),Buffer.from(e).toString("base64")},t.fromUnicodeString=function(){return Buffer.from(this.toString(),"binary").toString("utf8")},t.isNodeJs=function(){return 0==this.isInitialize&&(this._isNodeJs=void 0===window),this._isNodeJs},t.fillInfo=function(e,t){var r,n=require("fs").createReadStream(e.filePath);n.setEncoding("utf8"),n.on("readable",(function(){var r;while(null!==(r=n.read(200))){var i=r.indexOf("language");i=r.indexOf('"',i)+1;var a=r.indexOf('"',i),o=r.substring(i,a),s=r.indexOf("description");s=r.indexOf('"',s)+1;var u=r.indexOf('"',s),l=r.substring(s,u),m=r.indexOf("cultureName");m=r.indexOf('"',m)+1;var y=r.indexOf('"',m),d=r.substring(m,y);e.language=o,e.description=l,e.cultureName=d,t();break}})),n.on("end",(function(){}))},t.getLocalizationInfo=function(e){var r=require("fs"),n=[],i=require("path"),a=t.localizationPath;r.exists(a,(function(o){if(o){var s=r.readdirSync(a),u=s.length;for(var l in 0==u&&e(n),s){var m=0;if(".xml"!=i.extname(s[l])){u--,m==u&&e(n);continue}var y=a+"/"+s[l],d=i.basename(y,".xml"),f=!1;d.indexOf(".ext")==d.length-4&&(f=!0);var h={filePath:y,ext:f};n.push(h),t.fillInfo(h,(function(){++m==u&&e(n)}))}}else e(n)}))},t.getSetting=function(e,t){return t},t.setSetting=function(e,t){},t.isInitialize=!1,t.convert=function(t,r){void 0===r&&(r=!1);var n=new e.StiPromise;try{var i=this.data[t.toString()];if(null!=i)return n.callTry(this),n;if(null==i&&(i=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Png.toString()]),null==i&&(i=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Bmp.toString()]),null==i&&(i=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Jpeg.toString()]),null==i&&(i=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Gif.toString()]),null!=i){this._isConverting=!0;var a=require("jimp"),o=Buffer.from(i.base64.replace(/^data:image\/\w+;base64,/,""),"base64"),s=this;a.read(o,(function(e,i){if(e)return void n.callCatch(e);i.background(4294967295),r?i.getBuffer(t.mimeType,(function(e,r){if(e)return void n.callCatch(e);s.imageData=r,i.getBase64(t.mimeType,(function(e,t){if(e)return void n.callCatch(e);s.base64=t,s._isConverting=!1,n.callTry(s)}))})):i.getBase64(t.mimeType,(function(e,t){if(e)return void n.callCatch(e);s.base64=t,s._isConverting=!1,n.callTry(s)}))}))}else n.callCatch("No Image")}catch(e){return n.callCatch(e.message),n}return n},t.processFirebird=function(e,t){var r=function(e){try{y&&y.detach(),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},n=function(e){r({success:!1,notice:e})};try{var i=function(){l.attach(m,(function(e,t){y=t,e?n(e.message):o()}))},a=function(e){y.query(e,void 0,(function(e,t){e?n(e.message):s(t),y.detach()}))},o=function(){e.queryString?a(e.queryString):r({success:!0})},s=function(e){var t=[],n=[],i=[],a=!1;for(var o in e){var s=[];for(var u in e[o]){a||t.push(u);var l=t.indexOf(u);i[l]=typeof e[o][u],e[o][u]instanceof Uint8Array&&(e[o][u]=e[o][u].toString(),i[l]="string"),null!=e[o][u]&&"function"==typeof e[o][u].toISOString&&(e[o][u]=e[o][u].toISOString(),i[l]="datetime"),s[l]=e[o][u]}a=!0,n.push(s)}r({success:!0,columns:t,rows:n,types:i})},u=function(e){var t={host:"localhost",port:"3050"},r=!1;for(var i in e.split(";")){var a=e.split(";")[i];if(a){var o=a.split("=");if(o&&o.length>=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.ticks<t.ticks)return-1;if(e.ticks>t.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;e<this.ticksPerDay&&(e+=this.doubleDateOffset);var t=(e-this.doubleDateOffset)/this.ticksPerMillisecond;if(t<0){var r=t%this.millisPerDay;0!=r&&(t-=2*(this.millisPerDay+r))}return t/this.millisPerDay},n.ticksNetToTicksJs=function(e){var t,r;return e/1e4-621356076e5},n.prototype.negate=function(){if(this.ticks==t.TimeSpan.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new n(-this.ticks)},n.prototype.addYears=function(e){return new n(this.year+e,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)},n.prototype.addMonths=function(e){var t=this.month+e,r=this.year;return t<1&&(r--,t=12+t),new n(r,t,this.day,this.hour,this.minute,this.second,this.millisecond)},n.prototype.addDays=function(e){var t=new n(this.innerDate.getTime()),r=t.day+e;return r<1&&(r=(t=t.addMonths(-1)).lastDayOfMonth().day+r),new n(t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond)},n.prototype.addHours=function(e){return new n(this.year,this.month,this.day,this.hour+e,this.minute,this.second,this.millisecond)},n.prototype.addMinutes=function(e){return new n(this.year,this.month,this.day,this.hour,this.minute+e,this.second,this.millisecond)},n.prototype.addSeconds=function(e){return new n(this.year,this.month,this.day,this.hour,this.minute,this.second+e,this.millisecond)},n.prototype.addMilliseconds=function(e){return new n(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond+e)},n.prototype.addTicks=function(e){return new n(this.ticks+e)},n.prototype.compareTo=function(e){if(this.ticks<e.ticks)return-1;if(this.ticks>e.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;r<arguments.length;r++)t[r-1]=arguments[r];var n=!1;if("boolean"==typeof t[t.length-1]&&(n=!!t.pop()),0==t.length){if(e==Number)return 0;if(e==Boolean)return!1;return n?new e:null}for(var a=new i,o=t.shift(),s=0;s<o;s++){var u=i.create.apply(this,[e].concat(t,[n]));a.push(u)}return a},Object.defineProperty(i.prototype,"countItems",{get:function(){var e;return t.StiObject.keys(this).length},enumerable:!1,configurable:!0}),i.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.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},i.prototype.removeRange=function(e,t){this.splice(e,t)},i.prototype.getRange=function(e,t){return(null==e||e<0)&&(e=0),e+t>this.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<this.length;n++)e[r]=this[n],r++},i.prototype.clear=function(){this.splice(0,this.length)},i.prototype.peek=function(){return this[this.length-1]},i.prototype.remove=function(e){var t=this.indexOf(e);t>=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<this.length;t++)if(e(this[t]))return t;return-1},i.prototype.findLastIndex2=function(e){for(var t=-1,r=0;r<this.length;r++)e(this[r])&&(t=r);return t},i.prototype.zip=function(e,t){for(var r=new i,n=0;n<this.length;n++)r.add(t(this[n],e[n]));return r},i.repeat=function(e,t){for(var r=new i,n=0;n<t;n++)r.push(e);return r},i.prototype.where=function(e,t){var r=new i;return this.forEach((function(n,i){return e.apply(t,[n,i])?r.push(n):null})),r},i.prototype.join2=function(e,t,n,a,o){var s,u,l,m,y=new i,d=new r.Hashtable;try{for(var f=__values(e),h=f.next();!h.done;h=f.next()){var c=h.value,p=n.apply(o,[c]);d.set(p,c)}}catch(e){s={error:e}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(s)throw s.error}}try{for(var M=__values(this),b=M.next();!b.done;b=M.next()){var g=b.value,v=t.apply(o,[g]),c;null!=(c=d.get(v))&&y.push(a.apply(o,[g,c]))}}catch(e){l={error:e}}finally{try{b&&!b.done&&(m=M.return)&&m.call(M)}finally{if(l)throw l.error}}return y},i.prototype.groupJoin=function(e,t,n,a,o){var s,u,l,m,y=new i,d=new r.Hashtable;try{for(var f=__values(e),h=f.next();!h.done;h=f.next()){var c=h.value,p=n.apply(o,[c]),M;null==(M=d.get(p))&&(M=new i,d.set(p,M)),M.push(c)}}catch(e){s={error:e}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(s)throw s.error}}try{for(var b=__values(this),g=b.next();!g.done;g=b.next()){var v=g.value,p=t.apply(o,[v]),M;null==(M=d.get(p))&&(M=new i),y.push(a.apply(o,[v,M]))}}catch(e){l={error:e}}finally{try{g&&!g.done&&(m=b.return)&&m.call(b)}finally{if(l)throw l.error}}return y},i.prototype.select=function(e,t){var r=new i;return this.forEach((function(n){return r.push(e.apply(t,[n]))})),r},i.prototype.selectMany=function(e,t){var r=new i;return this.forEach((function(n){return e.apply(t,[n]).forEach((function(e){return r.push(e)}))})),r},i.prototype.selectMany2=function(e,t,r){var n=new i;return this.forEach((function(i){return e.apply(r,[i]).forEach((function(e){return n.push(t.apply(r,[i,e]))}))})),n},i.prototype.orderBy=function(e,t){var r=this.stimulsoft.toArray();return null==t&&(t={compare:function(e,t){if(null!=e&&null==t)return 1;if(null==e&&null!=t)return-1;if(null==e&&null==t)return 0;return e.stimulsoft.compareTo(t)}}),r.sort((function(r,n){return t.compare(e(r),e(n))})),new i(r)},i.prototype.orderByDescending=function(e,t){var r=this.stimulsoft.toArray();return null==t&&(t={compare:function(e,t){if(null!=e&&null==t)return-1;if(null==e&&null!=t)return 1;if(null==e&&null==t)return 0;return t.stimulsoft.compareTo(e)}}),r.sort((function(r,n){return t.compare(e(r),e(n))})),new i(r)},i.prototype.groupBy=function(e,t,n){var a,o,s=new i;null==t&&(t={equals:function(e,t){if(e==t)return!0;return!1},getHashCode:function(){return 0}});var u=function(a){var o=e.apply(n,[a]),u=s.firstOrDefault((function(e){return t.equals(e.key,o)}));null==u&&((u=new r.Grouping(new i([]))).key=o,s.push(u)),u.push(a)};try{for(var l=__values(this),m=l.next();!m.done;m=l.next()){var y;u(m.value)}}catch(e){a={error:e}}finally{try{m&&!m.done&&(o=l.return)&&o.call(l)}finally{if(a)throw a.error}}return s},i.prototype.cast=function(){var e=new i,t;return t=function(e){return e},this.forEach((function(t){return e.push(t)})),e},i.prototype.toDictionary=function(e,t){for(var n=new r.Dictionary,i=0;i<this.length;i++)n.add(e(this[i]),t(this[i]));return n},i.prototype.toLookup=function(e,t){var n,a,o=new r.Hashtable;try{for(var s=__values(this),u=s.next();!u.done;u=s.next()){var l=u.value,m=e.apply(t,[l]),y=o.get(m);null==y&&(y=new i,o.set(m,y)),y.push(l)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return o},i.prototype.concat=function(e){var t,r,n,a,o=new i;try{for(var s=__values(this),u=s.next();!u.done;u=s.next()){var l=u.value;o.push(l)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}try{for(var m=__values(e),y=m.next();!y.done;y=m.next()){var l=y.value;o.push(l)}}catch(e){n={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}return o},i.prototype.aggregate=function(e){for(var t=this[0],r=1;r<this.length;r++)t=e(t,this[r]);return t},i.prototype.aggregate2=function(e,t){for(var r=0;r<this.length;r++)e=t(e,this[r]);return e},i.prototype.count2=function(e,t){null==e&&(e=function(e){return!0});var r=0;return this.forEach((function(n){return e.apply(t,[n])?r++:null})),r},i.prototype.max=function(e){if(null==e&&(e=function(e){return e}),0==this.length)return null;var t=e(this[0]),r;"string"==typeof t&&(r=function(e,t){return e.stimulsoft.compareTo(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<this.length;i++)t=r(e(this[i]),t);return t},i.prototype.min=function(e){if(null==e&&(e=function(e){return e}),0==this.length)return null;var t=e(this[0]),r;"string"==typeof t&&(r=function(e,t){return e.stimulsoft.compareTo(t)<=0?e:t}),"number"==typeof t&&(r=Math.min),t.stimulsoft.is(n)&&(r=function(e,t){return n.compare(e,t)<=0?e:t});for(var i=1;i<this.length;i++)t=r(e(this[i]),t);return t},i.prototype.sum=function(e){null==e&&(e=function(e){return e.stimulsoft.toNumber()});var t=0;return this.forEach((function(r){return t+=e(r)})),t},i.prototype.all=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!1}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!0},i.prototype.any=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!0}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},i.prototype.contains=function(e){return this.indexOf(e)>=0},i.prototype.skip=function(e){for(var t=new i,r=e;r<this.length;r++)t.add(this[r]);return t},i.prototype.take=function(e){var t=new i;e>this.length&&(e=this.length);for(var r=0;r<e;r++)t.add(this[r]);return t},i.prototype.defaultIfEmpty=function(){if(this.length>0)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;r<this.keys.length;r++)this.indexObject[this.keys[r]]=r}},t.prototype.clear=function(){this.keys=new e.List,this.values=new e.List,this.indexObject={},this.isSimpleKeys=!1},t.prototype.copyTo=function(e,t){var r,n;while(e.length<t)e.push(null);try{for(var i=__values(this.values),a=i.next();!a.done;a=i.next()){var o=a.value;e.length>t?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;r<t;r++)if(r<e)this.keySchedule[r]=this.key.words[r];else{var n=this.keySchedule[r-1];r%e?e>6&&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<t;i++){var r=t-i,n=void 0;n=i%4?this.keySchedule[r]:this.keySchedule[r-4],this.invKeySchedule[i]=i<4||r<=4?n:this.INV_SUB_MIX_0[this.SBOX[n>>>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<t;a+=this.blockSize)this.processBlock(this.data.words,a);i=this.data.words.splice(0,t),this.data.sigBytes-=n}return new r(i,n)},e.prototype.processBlock=function(e,t){var r=e.slice(t,t+this.blockSize);this.decryptBlock(e,t),this.xorBlock.call(this,e,t,this.blockSize),this.prevBlock=r},e.prototype.xorBlock=function(e,t,r){var n;this.iv?(n=this.iv,this.iv=void 0):n=this.prevBlock;for(var i=0;i<r;i++)e[t+i]^=n[i]},e.prototype.pkcs7pad=function(e){for(var t=4*this.blockSize,n=t-e.sigBytes%t,i=n<<24|n<<16|n<<8|n,a=[],o=0;o<n;o+=4)a.push(i);var s=new r(a,n);e.concat(s)},e.prototype.pkcs7Unpad=function(e){var t=255&e.words[e.sigBytes-1>>>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<this.nRounds;f++){var h=n[u>>>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<this.sigBytes;t++){var r=this.words[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<e.sigBytes;r++){var n=e.words[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<e.sigBytes;r+=4)this.words[this.sigBytes+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<e.length;n+=2)t[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<n;u++)if(u%4){var l=this.map.indexOf(t.charAt(u-1))<<u%4*2,m=this.map.indexOf(t.charAt(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<<e.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"DB",{get:function(){return e.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"DM",{get:function(){return(1<<e.dbits)-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FV",{get:function(){return Math.pow(2,this.BI_FP)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"F1",{get:function(){return this.BI_FP-e.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"F2",{get:function(){return 2*e.dbits-this.BI_FP},enumerable:!1,configurable:!0}),e.prototype.am=function(e,t,r,n,i,a){var o=16383&t,s=t>>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)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,(o+=n)>=this.DB&&(o-=this.DB)}8==n&&0!=(128&Number(t[0]))&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),a&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){var e=this.s&this.DM;while(this.t>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<<t)-1,n,i=!1,a="",o=this.t,s=this.DB-o*this.DB%t;if(o-- >0){s<this.DB&&(n=this[o]>>s)>0&&(i=!0,a=this.int2char(n));while(o>=0)s<t?(n=(this[o]&(1<<s)-1)<<t-s,n|=this[--o]>>(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<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var r=e%this.DB,n=this.DB-r,i=(1<<n)-1,a=Math.floor(e/this.DB),o=this.s<<r&this.DM,s=this.t-1;s>=0;--s)t[s+a+1]=this[s]>>n|o,o=(this[s]&i)<<r;for(var s=a-1;s>=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)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&a)<<i,t[o-r]=this[o]>>n;n>0&&(t[this.t-r-1]|=(this.s&a)<<i),t.t=this.t-r,t.clamp()},e.prototype.subTo=function(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n-=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n-=e[r],t[r++]=n&this.DM,n>>=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<i.t;++o)r[o+n.t]=n.am(0,i[o],r,o,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.squareTo=function(e){var t=this.abs(),r=e.t=2*t.t;while(--r>=0)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=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.t<i.t)return null!=r&&e.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=new e);var o=new e,s=this.s,u=t.s,l=this.DB-this.nbits(i[i.t-1]);l>0?(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<<this.F1)+(m>1?o[m-2]>>this.F2:0),f=this.FV/d,h=(1<<this.F1)/d,c=1<<this.F2,p=n.t,M=p-m,b=null==r?new e:r;o.dlShiftTo(M,b),n.compareTo(b)>=0&&(n[n.t++]=1,n.subTo(b,n)),e.ONE.dlShiftTo(m,b),b.subTo(o,o);while(o.t<m)o[o.t++]=0;while(--M>=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))<g){o.dlShiftTo(M,b),n.subTo(b,n);while(n[p]<--g)n.subTo(b,n)}}null!=r&&(n.drShiftTo(m,r),s!=u&&e.ZERO.subTo(r,r)),n.t=m,n.clamp(),l>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<<o)>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)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>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<t.length;++u){var l=this.intAt(t,u);if(l<0){"-"==t.charAt(u)&&0==this.signum()&&(a=!0);continue}s=r*s+l,++o>=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<<n)-1:r[0]=0,this.fromString(r,256)},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var r=this.DB-e*this.DB%8,n,i=0;if(e-- >0){r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);while(e>=0)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(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<i;++a)r[a]=t(this[a],e[a]);if(e.t<this.t){n=e.s&this.DM;for(var a=i;a<this.t;++a)r[a]=t(this[a],n);r.t=this.t}else{n=this.s&this.DM;for(var a=i;a<e.t;++a)r[a]=t(n,e[a]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},e.prototype.op_or=function(e,t){return e|t},e.prototype.shiftLeft=function(t){var r=new e;return t<0?this.rShiftTo(-t,r):this.lShiftTo(t,r),r},e.prototype.shiftRight=function(t){var r=new e;return t<0?this.lShiftTo(-t,r):this.rShiftTo(t,r),r},e.prototype.lbit=function(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=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;++e)if(0!=this[e])return e*this.DB+this.lbit(this[e]);if(this.s<0)return this.t*this.DB;return-1},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);if(t>=this.t)return 0!=this.s;return 0!=(this[t]&1<<e%this.DB)},e.prototype.addTo=function(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n+=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n+=e[r],t[r++]=n&this.DM,n>>=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<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(var i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},e.prototype.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;r.s=0;while(--n>=0)r[n]=0;for(var i=Math.max(t-this.t,0);i<e.t;++i)r[this.t+i-t]=this.am(t-i,e[i],r,0,0,this.t+i-t);r.clamp(),r.drShiftTo(1,r)},e.prototype.modPow=function(t,a){var o=t.bitLength(),s,u=e.fromInt(1),l;if(o<=0)return u;s=o<18?1:o<48?3:o<144?4:o<768?5:6,l=o<8?new r(a):a.isEven()?new n(a):new i(a);var m=[],y=3,d=s-1,f=(1<<s)-1;if(m[1]=l.convert(this),s>1){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<<o+1)-1)<<d-o,c>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<<o))l.sqrTo(u,b),g=u,u=b,b=g,--o<0&&(o=this.DB-1,--c)}return l.revert(u)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)return t;i<a&&(a=i),a>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<e.lowprimes.length;++i)if(n[0]==e.lowprimes[i])return!0;return!1}if(n.isEven())return!1;r=1;while(r<e.lowprimes.length){var a=e.lowprimes[r],o=r+1;while(o<e.lowprimes.length&&a<e.lplim)a*=e.lowprimes[o++];a=n.modInt(a);while(r<o)if(a%e.lowprimes[r++]==0)return!1}return n.millerRabin(t)},e.prototype.millerRabin=function(t){var r=this.subtract(e.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);(t=t+1>>1)>e.lowprimes.length&&(t=e.lowprimes.length);for(var a=new e,o=0;o<t;++o){a.fromInt(e.lowprimes[Math.floor(Math.random()*e.lowprimes.length)]);var s=a.modPow(i,this);if(0!=s.compareTo(e.ONE)&&0!=s.compareTo(r)){var u=1;while(u++<n&&0!=s.compareTo(r))if(0==(s=s.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=s.compareTo(r))return!1}}return!0},e.BI_RM="0123456789abcdefghijklmnopqrstuvwxyz",e.BI_RC=[],e.canary=0xdeadbeefcafe,e.j_lm=15715070==(16777215&e.canary),e.dbits=28,e.lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],e.lplim=(1<<26)/e.lowprimes[e.lowprimes.length-1],e.ZERO=e.fromInt(0),e.ONE=e.fromInt(1),e}();e.BigInteger=t;var r=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=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<<t.DB-15)-1,r.mt2=2*t.t,r}return __extends(r,e),r.prototype.convert=function(e){var r=new t;return e.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),e.s<0&&r.compareTo(t.ZERO)>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<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[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<t.length;++s){if(t.charAt(s)==n)break;var u=r.indexOf(t.charAt(s));if(u<0)continue;0==a?(i+=e.BigInteger.int2char(u>>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<t.length+11)return null;var n=[],i=t.length-1;while(i>=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&&0==r[n])++n;if(r.length-n!=t-1||2!=r[n])return null;++n;while(0!=r[n])if(++n>=r.length)return null;var i="";while(++n<r.length){var a=255&r[n];a<128?i+=String.fromCharCode(a):a>191&&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<<t|e>>>32-t},e.prototype.round=function(e){for(var t=[],r=[],n,i=[],a=0;a<this.state.length;a++)t[a]=this.state[a];for(var o=0;o<e.length;o+=this.blockLength){for(var a=0;a<this.state.length;a++)r[a]=t[a];i=this.toBigEndian32(e.slice(o,o+this.blockLength));for(var a=16;a<80;a++)i[a]=this.rotl(i[a-3]^i[a-8]^i[a-14]^i[a-16],1);for(var a=0;a<80;a++)n=a<20?(t[1]&t[2]^~t[1]&t[3])+this.K[0]:a<40?(t[1]^t[2]^t[3])+this.K[1]:a<60?(t[1]&t[2]^t[1]&t[3]^t[2]&t[3])+this.K[2]:(t[1]^t[2]^t[3])+this.K[3],n+=this.rotl(t[0],5)+i[a]+t[4],t[4]=t[3],t[3]=t[2],t[2]=this.rotl(t[1],30),t[1]=t[0],t[0]=n;for(var a=0;a<this.state.length;a++)t[a]+=r[a]}return this.fromBigEndian32(t)},e.prototype.paddingData=function(e){var t=e.length,r=t;e[r++]=128;while(r%this.blockLength!=56)e[r++]=0;return t*=8,e.concat(0,0,0,0,this.fromBigEndian32([t]))},e.prototype.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=(e[r]>15?"":"0")+e[r].toString(16);return t},e.prototype.fromBigEndian32=function(e){for(var t=[],r=0,n=0;n<e.length;n++)t[r++]=e[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<e.length;n+=4,r++)t[r]=e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3];return t},e.prototype.unpack=function(e){for(var t=[],r=0,n,i=0;i<e.length;i++)(n=e.charCodeAt(i))<=255?t[r++]=n:(t[r++]=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<arguments.length;n++)r[n-2]=arguments[n];for(var i=0,a=0,o=0,s=0;i<r.length/2;i++)o+=65535&(a=r[i]),s+=a>>>16;for(s+=o>>>16,e[t+1]=s<<16|65535&o,o=s>>>16,s=0;i<r.length;i++)o+=65535&(a=r[i]),s+=a>>>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<o&&c<128;++m){var v=t.charCodeAt(m);v<128?s[c>>2]|=v<<b[3&c++]:v<2048?(s[c>>2]|=(192|v>>6)<<b[3&c++],s[c>>2]|=(128|63&v)<<b[3&c++]):v<55296||v>=57344?(s[c>>2]|=(224|v>>12)<<b[3&c++],s[c>>2]|=(128|v>>6&63)<<b[3&c++],s[c>>2]|=(128|63&v)<<b[3&c++]):(v=65536+((1023&v)<<10|1023&t.charCodeAt(++m)),s[c>>2]|=(240|v>>18)<<b[3&c++],s[c>>2]|=(128|v>>12&63)<<b[3&c++],s[c>>2]|=(128|v>>6&63)<<b[3&c++],s[c>>2]|=(128|63&v)<<b[3&c++])}else for(c=d;m<o&&c<128;++m)s[c>>2]|=t[m]<<b[3&c++];for(y+=c-d,d=c-128,m===o&&(s[c>>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)<o<<3&&h++,h+=o>>29,c=0;c+63<o;c+=64){if("string"==typeof t)for(p=m;p<64;p++)s[p]=t.charCodeAt(y++);else for(p=m;p<64;p++)s[p]=t[y++];this.compress(a,s),m=0}if("string"==typeof t)for(c=0;c<d;c++)s[c]=t.charCodeAt(y++);else for(c=0;c<d;c++)s[c]=t[y++];for(m=f>>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<r.poolSize)e=Math.floor(65536*Math.random()),this.pool[this.position++]=e>>>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.position<this.pool.length;++this.position)this.pool[this.position]=0;this.position=0}return this.state.next()},e.prototype.nextBytes=function(e,t){void 0===t&&(t=0),0==t&&(t=e.length);for(var r=0;r<t;++r)e[r]=this.getByte()},e.prototype.createNextBytes=function(e){var t=[];return this.nextBytes(t,e),t},e}();e.SecureRandom=t;var r=function(){function e(){this.i=0,this.j=0,this.s=[]}return e.prototype.init=function(e){for(var t=0;t<256;++t)this.s[t]=t;for(var r=0,t=0;t<256;++t){r=r+this.s[t]+e[t%e.length]&255;var n=this.s[t];this.s[t]=this.s[r],this.s[r]=n}this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.s[this.i]&255,e=this.s[this.i],this.s[this.i]=this.s[this.j],this.s[this.j]=e,this.s[e+this.s[this.i]&255]},e.poolSize=256,e}()}(t=e.Crypt||(e.Crypt={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(e){this._column=e}return r.createStorage=function(r,n){switch(n){case String:case e.Char:return new t.StringStorage(r);case Number:case e.SByte:case e.Byte:case e.Int:case e.Int16:case e.Int32:case e.Int64:case e.UInt16:case e.UInt32:case e.UInt64:case e.Decimal:case e.Double:case e.Single:return new t.NumberStorage(r);case Object.stimulsoft.getType():return new t.ObjectStorage(r);case Boolean:return new t.BooleanStorage(r);case e.ByteArray:return new t.ByteArrayStorage(r);case e.DateTime:return new t.DateTimeStorage(r);default:return new t.ObjectStorage(r)}},r.prototype.getValue=function(e){return this.values[e]},r.prototype.setValue=function(e,t){this.values[e]=t},r.prototype.setStorage=function(){this.values=[]},r}();t.DataStorage=r}(t=e.Data||(e.Data={}))}(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.prototype.setValue=function(e,t){this.values[e]=null!=t&&t.stimulsoft.toBoolean()},t}(e.DataStorage);e.BooleanStorage=t}(t=e.Data||(e.Data={}))}(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.DataStorage);e.ByteArrayStorage=t}(t=e.Data||(e.Data={}))}(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.prototype.setValue=function(e,t){this.values[e]=null!=t?t.toString().charAt(0):""},t}(e.DataStorage);e.CharStorage=t}(t=e.Data||(e.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}();e.DBNull=t}(t=e.Data||(e.Data={}))}(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){void 0===t&&(t=String),void 0===r&&(r=null),this._caption=null,this.columnName="",this.dataType=String,this.columnName=null==e?"":e,this.dataType=t,this._caption=r,this.insureStorage(),this.storage.setStorage()}return t.prototype.clone=function(){var e=new t(this.columnName,this.dataType);return e._caption=this._caption,e.table=this.table,e},Object.defineProperty(t.prototype,"caption",{get:function(){if(null==this._caption||""==this._caption)return this.columnName;return this._caption},set:function(e){null==e&&(e=""),this._caption=e},enumerable:!1,configurable:!0}),t.prototype.getRecord=function(e){return this.storage.getValue(e)},t.prototype.setRecord=function(e,t){this.storage.setValue(e,t)},t.prototype.setTable=function(e){this.table=e},t.prototype.delete=function(){},t.prototype.insureStorage=function(){null==this.storage&&(this.storage=e.DataStorage.createStorage(this,this.dataType))},t.prototype.changeType=function(t){this.dataType=t;var r=e.DataStorage.createStorage(this,t);for(var n in r.setStorage(),this.storage.values)r.setValue(n,this.storage.values[n]);this.storage=r},t}();e.DataColumn=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 t(t){var r=e.call(this)||this;return r.table=t,r}return __extends(t,e),t.prototype.baseAdd=function(e){e.setTable(this.table)},t.prototype.baseRemove=function(e){e.setTable(null)},t.prototype.add=function(e){this.list.push(e),this.baseAdd(e)},t.prototype.contains=function(t){if("string"==typeof t)return null!=this.getByName(t);return e.prototype.contains.call(this,t)},t.prototype.remove=function(e){var t=this.list.lastIndexOf(e);-1!=t&&this.list.splice(t,1),this.baseRemove(e)},t.prototype.getByName=function(e){var t,r;e=e.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.columnName.toLowerCase()==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.getIndexByName=function(e){var t=this.getByName(e),r;return this.list.indexOf(t)},t}(e.System.Collections.CollectionBase);t.DataColumnCollection=n}(r=t.Data||(t.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(r,n){if(n){this.columns=e.StiArray.create(t.DataColumn,r.length);for(var i=0;i<r.length;i++)this.columns[i]=r[i]}else this.columns=r}return Object.defineProperty(r.prototype,"table",{get:function(){return this.columns[0].table},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"columnsReference",{get:function(){return this.columns},enumerable:!1,configurable:!0}),r.prototype.getKeyValues=function(e){for(var t=[],r=0;r<this.columns.length;r++)t.push(this.columns[r].getRecord(e));return t},r.prototype.getRows=function(e){var t=this.columns[0].columnName,r=e[0];if(this.columns.length>1)for(var n=1;n<this.columns.length;n++)t+="&"+this.columns[n].columnName,r+="&"+e[n];var i=[];if(1==this.columns.length)for(var a=this.columns[0].columnName,o=this.table.columns.getByName(a),s=0;s<this.table.rows.length;s++)o.getRecord(s)==e[0]&&i.push(this.table.rows.getByIndex(s));else for(var u=0;u<this.table.rows.length;u++){for(var l=!0,m=this.table.rows.getByIndex(u),y=0;y<this.columns.length;y++){var d=this.columns[y];m.getValue(d.columnName)!=e[y]&&(l=!1)}l&&i.push(m)}return i},r.prototype.toArray=function(){for(var e=new Array(this.columns.length),t=0;t<this.columns.length;t++)e[t]=this.columns[t];return e},r}();t.DataKey=r}(t=e.Data||(e.Data={}))}(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){this.create(e,t,r)}return Object.defineProperty(t.prototype,"parentTable",{get:function(){return this.parentKey.table},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childTable",{get:function(){return this.childKey.table},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentColumns",{get:function(){return this.parentKey.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childColumns",{get:function(){return this.childKey.toArray()},enumerable:!1,configurable:!0}),t.prototype.create=function(t,r,n){this.parentKey=new e.DataKey(r,!0),this.childKey=new e.DataKey(n,!0),this.relationName=null==t?"":t},t.prototype.setDataSet=function(e){this.dataSet!=e&&(this.dataSet=e)},t.getChildRows=function(e,t,r){var n=r.getKeyValues(e);return t.getRows(n)},t.getParentRows=function(e,t,r){var n=r.getKeyValues(t);return e.getRows(n)},t}();e.DataRelation=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 t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.addCore=function(e){if(null==e)return;var t=this.getDataSet();if(e.dataSet===t)return;if(null!=e.dataSet)return},t.prototype.add=function(e){this.addCore(e)},t.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.add(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},t.prototype.internalIndexOf=function(e){var t=-1;if(null!=e&&e.length>0)for(var r=this.list.length,n=0;n<r;n++){var i;if(this.getByIndex(n).relationName.toLowerCase()==e.toLowerCase())return n;t=-1==t?n:-2}return t},t.prototype.contains=function(t){if("string"==typeof t)return this.internalIndexOf(t)>=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;r<this.length;r++)e[t]=this.getByIndex(r),t++},r.prototype.replaceValues=function(e,t){var r,n;try{for(var i=__values(this.table.columns.list),a=i.next();!a.done;a=i.next()){var o=a.value,s=this.list[e].getValue(o);this.list[e].setValue(o,this.list[t].getValue(o)),this.list[t].setValue(o,s)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r.prototype.quickSort=function(e,t,r){var n=t,i=r,a=this.list[Math.trunc((t+r)/2)];do{while(e(this.list[n],a)<0)n++;while(e(a,this.list[i])<0)i--;n<=i&&(this.replaceValues(n,i),n++,i--)}while(n<i);t<i&&this.quickSort(e,t,i),n<r&&this.quickSort(e,n,r)},r.prototype.sort=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(this.list.length>0){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(r<n)return-1*a;if(r>n)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.ticks<n.ticks)return-1*a;if(r.ticks>n.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++);n<e.length;n++){var o=e.charCodeAt(n);o<48||o>57&&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<this.attributes.length;t++){var r=this.attributes.getByIndex(t);if(r.name==e)return r.value}return null},e.prototype.item=function(e){return this.childNodes[e]},e.prototype.getNodeByName=function(e){for(var t=0;t<this.childNodes.length;t++){var r=this.childNodes[t];if(r.nodeName==e)return r;var n=r.getNodeByName(e);if(null!=n)return n}return null},e.prototype.getNodesByName=function(e){for(var t,r,n=[],i=0;i<this.childNodes.length;i++){var a=this.childNodes[i];a.nodeName==e&&n.push(a);var o=a.getNodesByName(e);if(null!=o)try{for(var s=(t=void 0,__values(o)),u=s.next();!u.done;u=s.next()){var l=u.value;n.push(l)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}return n},e}();t.XmlNode=n}(r=t.Xml||(t.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["ATTRIBUTE_NODE"]=0]="ATTRIBUTE_NODE",e[e["ELEMENT_NODE"]=1]="ELEMENT_NODE",e[e["TEXT_NODE"]=2]="TEXT_NODE",e[e["DOCUMENT_NODE"]=3]="DOCUMENT_NODE"}(t=e.XmlNodeType||(e.XmlNodeType={}))}(t=e.Xml||(e.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n=function(){function n(){}return n.toXml=function(e){e=e.substring(e.indexOf("<?xml"));var t=n.getXmlDocumentFromString(e);return n.toXmlNode(t)},n.toXml2=function(t){var i=new e.ExternalLibrary.xmldoc.XmlDocument(t),a=new r.XmlNode;return a.childNodes.add(n.toXmlNode2(i)),a},n.toXmlNode2=function(i){var a,o,s=new r.XmlNode;if(s.nodeType=n.getNodeType2(i),s.nodeName=e.System.Text.XMLConvert.decodeName(i.name),s.localName=e.System.Text.XMLConvert.decodeName(n.getNodeLocalName2(i)),null!=i.attr)try{for(var u=__values(t.StiObject.keys(i.attr)),l=u.next();!l.done;l=u.next()){var m=l.value,y=new r.XmlAttr;y.name=m,y.value=i.attr[m],s.attributes.add(y)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}if(i.children)for(var d=0;d<i.children.length;d++){var f=this.toXmlNode2(i.children[d]);f.nodeType!=r.XmlNodeType.TEXT_NODE&&(0==f.childNodes.length&&(f.textContent=i.children[d].val),f.setParentNode(s),s.childNodes.add(f))}return s},n.toXmlNode=function(t){var i,a,o=new r.XmlNode;o.nodeType=n.getNodeType(t),o.nodeName=e.System.Text.XMLConvert.decodeName(n.getNodeName(t)),o.localName=e.System.Text.XMLConvert.decodeName(n.getNodeLocalName(t));var s=n.getAttributesArray(t);if(null!=s)try{for(var u=__values(s),l=u.next();!l.done;l=u.next()){var m=l.value,y=new r.XmlAttr;y.name=m.name,y.value=m.value,o.attributes.add(y)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}for(var d=0;d<n.getChildNodesArray(t).length;d++){var f=this.toXmlNode(n.getChildNodesArray(t)[d]);f.nodeType!=r.XmlNodeType.TEXT_NODE&&(0==f.childNodes.length&&(f.textContent=n.getNodeTextContent(n.getChildNodesArray(t)[d])),f.setParentNode(o),o.childNodes.add(f))}return o},n.getXmlDocumentFromString=function(e){var t=e.indexOf("<?");if(-1!=(t=e.indexOf("encoding",t+1))){var r=e.indexOf('"',t+1);r=e.indexOf('"',r+1),e=e.replace(e.substring(t,r+1),"")}return e=e.split("&#x").join("_amp#x"),(new DOMParser).parseFromString(e,"application/xhtml+xml")},n.getAttributesArray=function(e){return e.attributes},n.getNodeType2=function(e){switch(e.type){case"element":return r.XmlNodeType.ELEMENT_NODE;case"text":return r.XmlNodeType.TEXT_NODE}return r.XmlNodeType.TEXT_NODE},n.getNodeType=function(e){switch(e.nodeType){case Node.ELEMENT_NODE:return r.XmlNodeType.ELEMENT_NODE;case Node.ATTRIBUTE_NODE:return r.XmlNodeType.ATTRIBUTE_NODE;case Node.DOCUMENT_NODE:return r.XmlNodeType.DOCUMENT_NODE;case Node.TEXT_NODE:return r.XmlNodeType.TEXT_NODE}return r.XmlNodeType.TEXT_NODE},n.getNodeName=function(e){return e.nodeName},n.getNodeLocalName2=function(e){if(e.name&&e.name.indexOf(":")>=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;r<t.length;r++){var n=t[r].substr(0,t[r].indexOf(";"));t[r]=String.fromCharCode(parseInt(n,16))+t[r].substr(t[r].indexOf(";")+1)}return t.join("")},n.getChildNodesArray=function(e){return e.childNodes},n}();r.XmlConverter=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.Text.XMLConvert,i=e.System.Collections.Hashtable,a=e.System.Xml.XmlConverter,o=e.System.Xml.XmlNodeType,s;!function(e){e[e["ChildToParent"]=0]="ChildToParent",e[e["ParentToChild"]=1]="ParentToChild"}(s=r.JsonRelationDirection||(r.JsonRelationDirection={}));var u=function(){function u(e){void 0===e&&(e=null),this.isRetrieveColumns=!1,this.dataSetName="",this.enforceConstraints=!1,this.tables=new r.DataTableCollection(this),this.relations=new r.DataSetRelationCollection(this),this.dataSetName=e,t.StiString.isNullOrEmpty(this.dataSetName)&&(this.dataSetName="DataSet")}return Object.defineProperty(u.prototype,"tryParseDateTime",{get:function(){if(null==this._tryParseDateTime||null==this._tryParseDateTime)return u.tryParseDateTime;return this._tryParseDateTime},set:function(e){this._tryParseDateTime=e},enumerable:!1,configurable:!0}),u.prototype.dispose=function(){this.tables=new r.DataTableCollection(this),this.relations=new r.DataSetRelationCollection(this),this.dataSetName="DataSet"},u.prototype.correctJsonString=function(e){var t=e.replace(/,\s*}/gi,"}");t=(t=t.replace(/,\s*]/gi,"]")).replace(/:\s*null/gi,": null");var r=0;while(r<t.length){if("{"==t[r])return t;if("["==t[r])return'{"root": '+t+"}";r++}return t},u.prototype.correctJson=function(e){var t=function(e){if(e instanceof Array)for(var r=0;r<e.length;r++){var n;"string"==(n=typeof e[r])||"number"==n||"boolean"==n?e[r]={value:e[r]}:t(e[r])}else for(var i in e){var a=i,n;if(null==e[i])e[i]="";else"string"!=(n=typeof e[i])&&"number"!=n&&"boolean"!=n&&(e[i]instanceof Array||(e[i]=[e[i]]),t(e[i]))}};for(var r in t(e),e){var n=typeof e[r];if("string"==n||"number"==n||"boolean"==n)return{root:e}}return e},u.prototype.readJsonFile=function(r,n){if(void 0===n&&(n=s.ParentToChild),!t.StiString.isNullOrEmpty(r)){var i=e.System.IO.File.getFile(r,!1,"application/json");i&&this.readJson(i,n)}},u.prototype.readJson=function(r,n){void 0===n&&(n=s.ParentToChild);try{if(void 0===r||null==r)return;if((r.stimulsoft.is(Array)||r.stimulsoft.is(Uint8Array))&&null!=r[0]&&r[0].stimulsoft.is(Number)&&(r=e.System.Text.Encoding.UTF8.getString(r)),r.stimulsoft.is(String)){var i=this.correctJsonString(r);if(!t.StiString.isNullOrWhiteSpace(i)){var a=this.correctJson(JSON.parse(i));this.processObject2(a,n)}}else this.readJson(JSON.stringify(r),n)}catch(t){throw e.System.StiError.showError(t.message,!1),t}},u.prototype.readXmlFile=function(t){var r=e.System.IO.File.getFile(t,!1,"application/xml");null!=r&&(this.dataNode=a.toXml(r).firstChild,null!=this.dataNode&&this.fillDataSet())},u.prototype.readXml=function(t){try{if(void 0===t||null==t)return;(t.stimulsoft.is(Array)||t.stimulsoft.is(Uint8Array))&&(t=e.System.Text.Encoding.UTF8.getString(t)),t.stimulsoft.is(String)&&(t=a.toXml(t)),void 0!==t["firstChild"]&&(this.dataNode=t.firstChild,null!=this.dataNode&&this.fillDataSet())}catch(t){throw e.System.StiError.showError(t.message,!1),t}},u.prototype.readXmlSchemaFile=function(t){try{var r=e.System.IO.File.getFile(t);r&&(this.schemaNode=a.toXml(r).firstChild,null!=this.schemaNode&&this.fillDataSet())}catch(t){throw e.System.StiError.showError(t.message,!1),t}},u.prototype.readXmlSchema=function(t){try{if(void 0===t||null==t)return;(t.stimulsoft.is(Array)||t.stimulsoft.is(Uint8Array))&&(t=e.System.Text.Encoding.UTF8.getString(t)),t.stimulsoft.is(String)&&(t=a.toXml(t)),void 0!==t["firstChild"]&&(this.schemaNode=t.firstChild,null!=this.schemaNode&&this.fillDataSet())}catch(t){throw e.System.StiError.showError(t.message,!1),t}},u.prototype.processObject2=function(n,i){var a,o,u,l,m,y;void 0===i&&(i=s.ParentToChild);var d=[],f=function(e,r,n,i,a){var o,s;void 0===a&&(a=!1);var u=r+"_"+e;for(var l in t.StiString.isNullOrEmpty(r)&&(u=e),i){var m=typeof i[l];if(null==i[l]&&(m="string"),"object"==m){var y=!1;if(i instanceof Array)f(e,r,n+".#array#"+l,i[l],!1);else{if(!a&&i[l]instanceof Array)try{for(var h=(o=void 0,__values(i[l])),c=h.next();!c.done;c=h.next()){var p;c.value["relationId"]="#relation#"+u}}catch(e){o={error:e}}finally{try{c&&!c.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}f(l,u,n+"."+l,i[l]),i[l]instanceof Array?(i[l]="#relation#"+n+"."+l+".#array#0",y=!0):i[l]["relationId"]=-1}y||i[l]instanceof Array||(i[l]="#relation#"+n+"."+l)}}if(i instanceof Array)return;n&&(t.StiString.isNullOrEmpty(r)||(e=r+"_"+e),d.push({collectionName:e,address:n,cast:u,object:i}))};f("","","",n,!0);var h={},c={},p={},M=[];try{for(var b=__values(d),g=b.next();!g.done;g=b.next()){var v=g.value,S;if((S=c[v.cast])||(S=[]),S.lastIndexForAddress=0,h[v.address]=S,S.push(v),c[v.cast]=S,"relationId"in v.object&&-1!=v.object.relationId&&0==v.object.relationId.indexOf("#relation#")){var w=v.object.relationId.split("#relation#").join("");v.object.relationId=w in c?c[w].length:0}}}catch(e){a={error:e}}finally{try{g&&!g.done&&(o=b.return)&&o.call(b)}finally{if(a)throw a.error}}var N=this;for(var j in c){var S=c[j],I=0;try{for(var k=(u=void 0,__values(S)),_=k.next();!_.done;_=k.next()){var T=_.value,D=T.collectionName,F=this.tables.getByName(D);F||(F=new e.System.Data.DataTable(D),this.tables.add(F));var P=F.addNewRow();for(var O in I++,T.object)if(!t.StiString.isNullOrEmpty(O)){var C=T.object[O],H=typeof C,A=F.columns.getByName(O);if(!A){var E=String;"relationId"!=O&&("number"==H?E=e.System.Decimal:"boolean"==H&&(E=Boolean)),A=new e.System.Data.DataColumn(O,E),F.columns.add(A),"relationId"==O?M.push(A):E==String&&(A.initType=!1)}if("relationId"==O){if(-1==T.object.relationId){T.object.relationId=0;for(var x=h[T.address],B=x.lastIndexForAddress;B<x.length;B++){var L;if(x[B].address==T.address){T.object.relationId=B,x.lastIndexForAddress=B;break}}}P.setValue(A,T.object.relationId)}else if("string"==H&&0==C.indexOf("#relation#")){P.setValue(A,I-1);var R=h[C.split("#relation#").join("")];R&&R.length>0&&(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;B<M.length;B++)if(M[B]==G){M.stimulsoft.removeAt(B);break}}try{for(var K=__values(M),q=K.next();!q.done;q=K.next()){var U=q.value;U.table.columns.remove(U)}}catch(e){m={error:e}}finally{try{q&&!q.done&&(y=K.return)&&y.call(K)}finally{if(m)throw m.error}}},u.prototype.processObject=function(t,r){var n=new i;for(var a in t)try{if(Object.prototype.hasOwnProperty.call(t,a)){var o=t[a];o.stimulsoft.is(Array)?this.processArray(o,a):o.stimulsoft.is(String)||o.stimulsoft.is(Number)||o.stimulsoft.is(Boolean)?n.add(a,o):this.processObject(o,a)}}catch(t){throw e.System.StiError.showError(t,!1),t}this.processTable(n,r)},u.prototype.processTable=function(e,t){var n,i,a=new r.DataTable(t),o=!1;if(e.count>0){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;e<this.dataNode.childNodes.length;e++){var t=this.dataNode.childNodes[e];t.nodeType==o.ELEMENT_NODE&&null!=t.nodeName&&this.fillDataTable(t)}},u.prototype.fillDataTable=function(e){var t=n.decodeName(e.nodeName),i=this.tables.getByName(t);null==i&&(i=new r.DataTable(t),this.tables.add(i)),this.getDataColumnsFromTable(e,i)},u.prototype.getDataColumnsFromTable=function(e,t){for(var i,a,s,u,l=String,m=0;m<e.childNodes.length;m++)if(e.childNodes[m].nodeType==o.ELEMENT_NODE){var y=e.childNodes[m];if(null==y.nodeName)continue;null!=y.firstChild?this.fillDataTable(y):(u=n.decodeName(y.nodeName),null==(s=t.columns.getByName(u))&&(s=new r.DataColumn(u,l),t.columns.add(s)))}try{for(var d=__values(e.attributes.list),f=d.next();!f.done;f=d.next()){var h=f.value;u="@"+n.decodeName(h.name),null==(s=t.columns.getByName(u))&&(s=new r.DataColumn(u,l),t.columns.add(s))}}catch(e){i={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}},u.prototype.fillTable=function(e){var t,r=n.decodeName(e.nodeName);if(null!=t&&t.tableName==r||(t=this.tables.getByName(r)),null!=t)this.fillRow(e,t);else for(var i=0;i<e.childNodes.length;i++){var a=e.childNodes[i];a.nodeType==o.ELEMENT_NODE&&null!=a.nodeName&&this.fillTable(a)}},u.prototype.fillRow=function(e,r){for(var i,a,s,u,l,m=r.addNewRow(),y=0;y<e.childNodes.length;y++)if(e.childNodes[y].nodeType==o.ELEMENT_NODE){var d=e.childNodes[y];if(null!=d.nodeName)if(u=n.decodeName(d.nodeName),s=r.columns.getByName(u),l=null==d.firstChild?d.textContent:"true"==d.getAttribute("isNull")?null:"",null==s)this.fillTable(d);else switch(s.dataType){case Boolean:m.setValue(u,l.stimulsoft.toBoolean());break;case t.Byte:case t.Decimal:case t.Double:case t.Int16:case t.Int32:case t.Int64:case t.SByte:case t.Single:case t.UInt16:case t.UInt32:case t.UInt64:case Number:m.setValue(u,l.stimulsoft.toNumber());break;default:null!=l&&l.stimulsoft.is(String)&&(l=l.replace(/\r\n/gi,"\n").replace(/\r/gi,"\n").replace(/\n/gi,"\r\n")),m.setValue(u,l.toString());break}}try{for(var f=__values(e.attributes.list),h=f.next();!h.done;h=f.next()){var c=h.value;switch(u="@"+n.decodeName(c.name),s=r.columns.getByName(u),l=c.value,s.dataType){case Boolean:m.setValue(u,l.stimulsoft.toBoolean());break;case t.Byte:case t.Decimal:case t.Double:case t.Int16:case t.Int32:case t.Int64:case t.SByte:case t.Single:case t.UInt16:case t.UInt32:case t.UInt64:case Number:m.setValue(u,l.stimulsoft.toNumber());break;default:null!=l&&l.stimulsoft.is(String)&&(l=l.replace(/\r\n/gi,"\n").replace(/\r/gi,"\n").replace(/\n/gi,"\r\n")),m.setValue(u,l.toString());break}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}},u.prototype.parseSchema=function(){"schema"==this.schemaNode.localName&&(this.schemaNode=this.schemaNode.firstChild.firstChild.firstChild),this.getDataTables(this.schemaNode)},u.prototype.getDataTables=function(e){for(var i,a,s=0;s<e.childNodes.length;s++)if(e.childNodes[s].nodeType==o.ELEMENT_NODE){var u=e.childNodes[s];if("annotation"==u.localName)this.getRelations(u.firstChild);else if(a=n.decodeName(u.getAttribute("name")),!t.StiString.isNullOrEmpty(a)){i=new r.DataTable(a),null!=u.firstChild&&("element"==u.localName?this.getDataColumns(u.firstChild.firstChild,i):"complexType"==u.localName&&this.getDataColumns(u.firstChild,i));var l=this.tables.getByName(a);null!=l&&this.tables.remove(l),this.tables.add(i)}}},u.prototype.getStorageType=function(e){switch(e){case"boolean":case"Stimulsoft.System.Boolean":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Boolean]":return Boolean;case"Stimulsoft.System.Byte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Byte]":return t.Byte;case"Stimulsoft.System.Char":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Char]":return t.Char;case"binary":case"base64Binary":case"Stimulsoft.System.Byte[]":case"Stimulsoft.System.Drawing.Image":return t.ByteArray;case"date":case"dateTime":case"Stimulsoft.System.DateTime":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.DateTime]":return t.DateTime;case"Stimulsoft.System.TimeSpan":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.TimeSpan]":return t.TimeSpan;case"decimal":case"Stimulsoft.System.Decimal":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Decimal]":return t.Decimal;case"float":case"Stimulsoft.System.Double":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Double]":return t.Double;case"Stimulsoft.System.Guid":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Guid]":return t.Guid;case"short":case"Stimulsoft.System.Int16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int16]":return t.Int16;case"int":case"Stimulsoft.System.Int32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int32]":return t.Int32;case"long":case"Stimulsoft.System.Int64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int64]":return t.Int64;case"Stimulsoft.System.Object":return Object;case"Stimulsoft.System.SByte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.SByte]":return t.SByte;case"Stimulsoft.System.Single":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Single]":return t.Single;case"Stimulsoft.System.UInt16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt16]":return t.UInt16;case"Stimulsoft.System.UInt32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt32]":return t.UInt32;case"Stimulsoft.System.UInt64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt64]":return t.UInt64;case"string":case"Stimulsoft.System.String":return String}return String},u.prototype.getDataColumns=function(e,t){if(null==e)return;for(var i,a,s,u,l,m=0;m<e.childNodes.length;m++)if(e.childNodes[m].nodeType==o.ELEMENT_NODE){var y=e.childNodes[m];null==y.getAttribute("type")?this.getDataTables(y.parentNode):(a=n.decodeName(y.getAttribute("name")),u=null==y.getAttribute("type")?"string":y.getAttribute("type").substr(y.getAttribute("type").indexOf(":")+1),s=n.decodeName(y.getAttribute("msdata:Caption")),l=this.getStorageType(u),i=new r.DataColumn(a,l,s),t.columns.add(i))}},u.prototype.getRelations=function(e){for(var t=void 0;t<e.childNodes.length;t++)if(e.childNodes[t].nodeType==o.ELEMENT_NODE){var n=e.childNodes[t],i="",a=n.getAttribute("name"),s=this.findTable(n.getAttribute(i+"child")),u=this.findTable(n.getAttribute(i+"parent")),l=this.findColumn(n.getAttribute(i+"childkey").split(" "),s),m=this.findColumn(n.getAttribute(i+"parentkey").split(" "),u),y=new r.DataRelation(a,m,l);this.relations.add(y)}},u.prototype.findTable=function(e){return e=n.decodeName(e),this.tables.getByName(e)},u.prototype.findColumn=function(e,t){var r,i,a=[],o;try{for(var s=__values(e),u=s.next();!u.done;u=s.next()){var l=u.value;l=n.decodeName(l),null!=(o=t.columns.getByName(l))&&a.push(o)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a},u.tryParseDateTime=!0,u}();r.DataSet=u}(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){function t(t){var r=e.call(this)||this;return r.dataSet=t,r}return __extends(t,e),t.prototype.addCore=function(t){if(e.prototype.addCore.call(this,t),t.childTable.dataSet!=this.dataSet||t.parentTable.dataSet!=this.dataSet)return;this.list.push(t),t.parentTable.childRelations.add(t),t.childTable.parentRelations.add(t),t.setDataSet(this.dataSet)},t.prototype.getDataSet=function(){return this.dataSet},t}(e.DataRelationCollection);e.DataSetRelationCollection=t}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(e){void 0===e&&(e=""),this.needCleanCache=!0,this._index=null,this.tableName="",this.childRelations=new t.DataTableRelationCollection(this,!1),this.parentRelations=new t.DataTableRelationCollection(this,!1),this._extendedProperties={},this.columns=new t.DataColumnCollection(this),this.rows=new t.DataRowCollection(this),this.tableName=e,this.defaultView=new t.DataView(this)}return Object.defineProperty(r.prototype,"index",{get:function(){return null==this._index&&(this._index=[]),this.needCleanCache&&(this._index.splice(0),this.needCleanCache=!1),this._index},enumerable:!1,configurable:!0}),r.prototype.setDataSet=function(e){this.dataSet=e,this.needCleanCache=!0},r.prototype.addRow=function(e){return this.needCleanCache=!0,this.rows.addArray(e)},r.prototype.removeRow=function(e){this.rows.removeArray(e),this.needCleanCache=!0},r.prototype.addNewRow=function(){var e=this.newRow();return this.addRow(e),this.needCleanCache=!0,e},Object.defineProperty(r.prototype,"extendedProperties",{get:function(){return this._extendedProperties},enumerable:!1,configurable:!0}),r.prototype.newRow=function(){return t.DataRow.create(this)},r.prototype.clone=function(){var e,n,i=new r;i.rows=new t.DataRowCollection(i),i.tableName=this.tableName,i.dataSet=this.dataSet,i.childRelations=this.childRelations,i.parentRelations=this.parentRelations,i.columns=new t.DataColumnCollection(i);try{for(var a=__values(this.columns.list),o=a.next();!o.done;o=a.next()){var s,u=o.value.clone();u.table=i,i.columns.add(u)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i.needCleanCache=!0,i},r.prototype.copy=function(){var n,i,a,o,s=new r;s.rows=new t.DataRowCollection(s),s.tableName=this.tableName,s.dataSet=this.dataSet,s.columns=new t.DataColumnCollection(s);try{for(var u=__values(this.columns.list),l=u.next();!l.done;l=u.next()){var m=l.value,y=m.clone();y.table=s,s.columns.add(y),e.StiArray.copy(m.storage.values,0,y.storage.values,m.storage.values.length)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}try{for(var d=__values(this.rows.list),f=d.next();!f.done;f=d.next()){var h=f.value;s.addNewRow()}}catch(e){a={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}return s.needCleanCache=!0,s},r.prototype.toList=function(){return this.columns.toList()},r.prototype.loadDataRow=function(e,t){if(void 0===t&&(t=!0),e.length>this.columns.length)throw new Error("The array is larger than the number of columns in the table.");for(var r=this.addNewRow(),n=0;n<e.length;n++)r.sett(n,e[n]);return r},r}();t.DataTable=r}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n,i=function(e){function r(t){var r=e.call(this)||this;return r.dataSet=t,r}return __extends(r,e),r.prototype.add=function(e){this.checkTableName(e),this.list.push(e),this.baseAdd(e)},r.prototype.remove=function(e){var t=this.list.lastIndexOf(e);-1!==t&&this.list.splice(t,1),this.baseRemove(e)},r.prototype.baseAdd=function(e){e.setDataSet(this.dataSet)},r.prototype.baseRemove=function(e){e.setDataSet(null)},r.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.tableName==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},r.prototype.checkTableName=function(e){t.StiString.isNullOrEmpty(e.tableName)&&(e.tableName="Table");var r=1,n=e.tableName,i=this.getByName(n);while(null!=i)n=e.tableName+r.toString(),i=this.getByName(n),r++;e.tableName!=n&&(e.tableName=n)},r}(e.System.Collections.CollectionBase);r.DataTableCollection=i}(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){function t(t,r){var n=e.call(this)||this;return n.table=t,n.parentCollection=r,n}return __extends(t,e),t.prototype.addCache=function(e){this.list.push(e)},t.prototype.addCore=function(e){if(this.parentCollection){if(e.childTable!=this.table)return;if(e.parentTable!=this.table)return}this.addCache(e)},t.prototype.getDataSet=function(){return this.table.dataSet},t}(e.DataRelationCollection);e.DataTableRelationCollection=t}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function t(e){this.rowFilter="",this.sort="",this.table=e}return t.prototype.clone=function(){var e=new t(this.table);return e.rowFilter=this.rowFilter,e.sort=this.sort,e},t.prototype.toTable=function(e){if(void 0===e&&(e=!0),"FALSE"==this.rowFilter)return this.table.clone();var t=[];this.parse(this.rowFilter,t,e?" AND ":" OR ");for(var r=0;r<t.length;r++){var n=[];this.parse(t[r],n,e?" OR ":" AND "),t.splice(r,1,n)}return this.parseConditions(t),this.filter(e)},t.prototype.filter=function(t){var r,n;void 0===t&&(t=!0);for(var i=this.table.clone(),a=0;a<this.table.rows.length;a++){var o=this.ands.length>0;t||(o=!o);var s=this.table.rows.getByIndex(a),u=0;while(u<this.ands.length&&(t&&o||!t&&!o)){var l=this.ands[u],m=!t,y=0;while(y<l.length&&(t&&!m||!t&&m)){var d=l[y];try{var f=this.table.columns.getIndexByName(d["field"]),h=this.table.columns.getByIndex(f);if(!d["value"]&&d["value1"])if(e.Type.isNumericType(h.dataType))d["value"]=parseFloat(d["value1"]);else if(h.dataType==Boolean)d["value"]="true"==d["value1"];else if(e.Type.isDateType(h.dataType))d["value"]=e.DateTime.tryParseExact(d["value1"],["MM/DD/YYYY hh:mm:ss","MM/DD/YYYY"]).result,d["operator"]+="Date";else{var c;if(this.isString(d["value1"]))d["value"]=d["value1"].toUpperCase(),(c=d["value"].trim()).length>0&&(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<M||"Containing"==b&&(null==p?void 0:p.indexOf(M))>=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<e.length;t++){for(var r=[],n=0;n<e[t].length;n++){var i=e[t][n],a={};if(0==i.indexOf("[")?(a["field"]=i.substr(1,i.indexOf("]")-1),"="==(i=i.substr(i.indexOf("]")+2))[0]?(a["operator"]="EqualTo",a["value1"]=i.substr(2)):i[0]+i[1]=="<>"?(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<e.length;a++)")"==e[a]&&i--,"("==e[a]&&i++,0==i&&a!=e.length-1&&(n=!0);n||(e=e.substr(1,e.length-2))}var o=0,s=!1,u=0,l="";while(u<e.length)0==o&&!s&&(u<e.length-5&&e[u]+e[u+1]+e[u+2]+e[u+3]+e[u+4]==r||u<e.length-4&&e[u]+e[u+1]+e[u+2]+e[u+3]==r)?(this.parse(l,t,r),l="",u+=r.length):(")"==e[u]&&o--,"("==e[u]&&o++,"'"==e[u]&&(s=!s),l+=e[u],u++);l==e?t.push(l):this.parse(l,t,r)},t}();t.DataView=r}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.setValue=function(t,r){null==r?this.values[t]="":r.stimulsoft.is(String)?this.values[t]=e.DateTime.fromString(r,!1):r.stimulsoft.is(Number)?this.values[t]=new e.DateTime(new Date(r)):r.stimulsoft.is(Date)?this.values[t]=new e.DateTime(r):r.stimulsoft.is(e.DateTime)?this.values[t]=r:this.values[t]=""},r}(t.DataStorage);t.DateTimeStorage=r}(t=e.Data||(e.Data={}))}(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.prototype.setValue=function(e,t){if(null!=t)if("number"==typeof t)this.values[e]=t;else{var r=t.stimulsoft.toNumber();isNaN(r)&&(r=null),this.values[e]=r}else this.values[e]=null},t}(e.DataStorage);e.NumberStorage=t}(t=e.Data||(e.Data={}))}(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.DataStorage);e.ObjectStorage=t}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["ObjectType"]=1]="ObjectType",e[e["BooleanType"]=3]="BooleanType",e[e["CharType"]=4]="CharType",e[e["SByteType"]=5]="SByteType",e[e["ByteType"]=6]="ByteType",e[e["Number16Type"]=7]="Number16Type",e[e["Unumber16Type"]=8]="Unumber16Type",e[e["NumberType"]=9]="NumberType",e[e["Number32Type"]=9]="Number32Type",e[e["Unumber32Type"]=10]="Unumber32Type",e[e["Number64Type"]=11]="Number64Type",e[e["Unumber64Type"]=12]="Unumber64Type",e[e["SingleType"]=13]="SingleType",e[e["DoubleType"]=14]="DoubleType",e[e["DecimalType"]=15]="DecimalType",e[e["DateTimeType"]=16]="DateTimeType",e[e["TimeSpanType"]=17]="TimeSpanType",e[e["StringType"]=18]="StringType",e[e["GuidType"]=19]="GuidType",e[e["ByteArrayType"]=20]="ByteArrayType",e[e["IntType"]=30]="IntType",e[e["Int16Type"]=31]="Int16Type",e[e["Int32Type"]=32]="Int32Type",e[e["Int64Type"]=33]="Int64Type",e[e["UInt16Type"]=34]="UInt16Type",e[e["UInt32Type"]=35]="UInt32Type",e[e["UInt64Type"]=36]="UInt64Type"}(t=e.StorageType||(e.StorageType={}))}(t=e.Data||(e.Data={}))}(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.prototype.setValue=function(e,t){this.values[e]=null!=t?t.toString():null},t}(e.DataStorage);e.StringStorage=t}(t=e.Data||(e.Data={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t;!function(e){e[e["UppercaseLetter"]=0]="UppercaseLetter",e[e["LowercaseLetter"]=1]="LowercaseLetter",e[e["TitlecaseLetter"]=2]="TitlecaseLetter",e[e["ModifierLetter"]=3]="ModifierLetter",e[e["OtherLetter"]=4]="OtherLetter",e[e["NonSpacingMark"]=5]="NonSpacingMark",e[e["SpacingCombiningMark"]=6]="SpacingCombiningMark",e[e["EnclosingMark"]=7]="EnclosingMark",e[e["DecimalDigitNumber"]=8]="DecimalDigitNumber",e[e["LetterNumber"]=9]="LetterNumber",e[e["OtherNumber"]=10]="OtherNumber",e[e["SpaceSeparator"]=11]="SpaceSeparator",e[e["LineSeparator"]=12]="LineSeparator",e[e["ParagraphSeparator"]=13]="ParagraphSeparator",e[e["Control"]=14]="Control",e[e["Format"]=15]="Format",e[e["Surrogate"]=16]="Surrogate",e[e["PrivateUse"]=17]="PrivateUse",e[e["ConnectorPunctuation"]=18]="ConnectorPunctuation",e[e["DashPunctuation"]=19]="DashPunctuation",e[e["OpenPunctuation"]=20]="OpenPunctuation",e[e["ClosePunctuation"]=21]="ClosePunctuation",e[e["InitialQuotePunctuation"]=22]="InitialQuotePunctuation",e[e["FinalQuotePunctuation"]=23]="FinalQuotePunctuation",e[e["OtherPunctuation"]=24]="OtherPunctuation",e[e["MathSymbol"]=25]="MathSymbol",e[e["CurrencySymbol"]=26]="CurrencySymbol",e[e["ModifierSymbol"]=27]="ModifierSymbol",e[e["OtherSymbol"]=28]="OtherSymbol",e[e["OtherNotAssigned"]=29]="OtherNotAssigned"}(t=e.UnicodeCategory||(e.UnicodeCategory={}))}(t=e.Globalization||(e.Globalization={}))}(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.isUpper=function(e,t){var n;return void 0===t&&(t=0),this.getUnicodeCategory(e,t)==r.UppercaseLetter},e.isLower=function(e,t){var n;return void 0===t&&(t=0),this.getUnicodeCategory(e,t)==r.LowercaseLetter},e.isLetter=function(e,t){void 0===t&&(t=0);var r=this.getUnicodeCategory(e,t);return this.checkLetter(r)},e.isDigit=function(e,n){var i,a;if(void 0===n&&(n=0),null!=e&&"number"==typeof e)return t.Chars.getUnicodeCategory(e)==r.DecimalDigitNumber;return this.getUnicodeCategory(e,n)==r.DecimalDigitNumber},e.isLetterOrDigit=function(e,t){void 0===t&&(t=0);var n=this.getUnicodeCategory(e,t);return this.checkLetter(n)||n==r.DecimalDigitNumber},e.toLower=function(e){return e.toLocaleLowerCase()},e.toUpper=function(e){return e.toLocaleUpperCase()},e.isWhitespace=function(e,n,i){if(void 0===n&&(n=0),void 0===i&&(i=!0),null==e||e.length<n+1)return!1;var a=e.charCodeAt(n);if(32==a||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.length<n+1)return r.OtherNotAssigned;var i=e.charCodeAt(n);return t.Chars.getUnicodeCategory(i)},e.isControl=function(t,n){return void 0===n&&(n=0),e.getUnicodeCategory(t,n)==r.Control},e}();t.Char=n}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Char,n=function(){function e(t,r,n,i){if(void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),null==r)this._ticks=t;else{var a=t;null==i&&(i=0),this._ticks=e.timeToTicks(0,a,r,n,i)}}return Object.defineProperty(e,"zero",{get:function(){return new e},enumerable:!1,configurable:!0}),e.getNetTypeName=function(){return"Stimulsoft.System.TimeSpan"},Object.defineProperty(e,"minValue",{get:function(){return null==this._minValue&&(this._minValue=new e(0,0,Number.MIN_VALUE)),this._minValue},enumerable:!1,configurable:!0}),Object.defineProperty(e,"maxValue",{get:function(){return null==this._maxValue&&(this._maxValue=new e(0,0,Number.MAX_VALUE)),this._maxValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ticks",{get:function(){return this._ticks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"days",{get:function(){return Math.floor(this._ticks/e.ticksPerDay)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hours",{get:function(){return Math.floor(this._ticks/e.ticksPerHour)%24},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"milliseconds",{get:function(){return Math.floor(this._ticks/e.ticksPerMillisecond)%1e3},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minutes",{get:function(){return Math.floor(this._ticks/e.ticksPerMinute)%60},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seconds",{get:function(){return Math.floor(this._ticks/e.ticksPerSecond)%60},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalDays",{get:function(){return this.ticks*e.daysPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalHours",{get:function(){return this.ticks*e.hoursPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalMilliseconds",{get:function(){var t=this.ticks*e.millisecondsPerTick;if(t>e.maxMilliSeconds)return e.maxMilliSeconds;if(t<e.minMilliSeconds)return e.minMilliSeconds;return t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalMinutes",{get:function(){return this.ticks*e.minutesPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalSeconds",{get:function(){return this.ticks*e.secondsPerTick},enumerable:!1,configurable:!0}),e.fromString=function(n,i){if(void 0===i&&(i=null),null==n)return null;var a=!1;t.StiString.isNullOrEmpty(i)&&(i="hh:mm:ss",a=!0);var o=0,s=0,u=0,l=0,m=0,y,d=0,f=[];while(d<n.length){if(y=n.charAt(d),r.isDigit(y)){f.push(y),d++;while(d<n.length&&r.isDigit(y=n.charAt(d)))f[f.length-1]+=n.charAt(d),d++;f[f.length-1]=+f[f.length-1]}a&&"."===y&&(1===f.length?i="d.hh:mm:ss":i+=".f"),d++}d=0;var h=-1;while(d<i.length&&h+1<f.length){if("d"===(y=i.charAt(d))||"h"===y||"H"===y||"m"===y||"s"===y||"f"===y||"F"===y){h++;while(d<i.length&&i.charAt(d)===y)d++}switch(y){case"d":o=f[h];break;case"h":case"H":s=f[h];break;case"m":u=f[h];break;case"s":l=f[h];break;case"f":case"F":m=f[h];break;default:d++;break}}return e.create(o,s,u,l,m)},e.interval=function(t,r){var n,i;return new e((t*r+(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;r<arguments.length;r++)e[r]=arguments[r];this.a=1,this.c=0,this.b=0,this.d=1,this.tx=0,this.ty=0;var n=e.length;if(6==n)this.setValues(e[0],e[1],e[2],e[3],e[4],e[5]);else if(1==n&&e instanceof t){var i=e[0];this.setValues(i.a,i.c,i.b,i.d,i.tx,i.ty)}else this.reset()}return Object.defineProperty(t.prototype,"elements",{get:function(){return[this.a,this.c,this.b,this.d,this.tx,this.ty]},enumerable:!1,configurable:!0}),t.prototype.setValues=function(e,t,r,n,i,a){this.a=e,this.c=t,this.b=r,this.d=n,this.tx=i,this.ty=a},t.prototype.reset=function(){this.a=this.d=1,this.c=this.b=this.tx=this.ty=0},t.prototype.clone=function(){return new t(this.a,this.c,this.b,this.d,this.tx,this.ty)},t.prototype.toString=function(){return e.StiString.format("({0},{1},{2},{3},{4},{5})",this.a,this.c,this.b,this.d,this.tx,this.ty)},t.prototype.translate=function(e,t){return this.tx+=e*this.a+t*this.b,this.ty+=e*this.c+t*this.d,this},t.prototype.scale=function(e,t){return this.a*=e,this.c*=e,this.b*=t,this.d*=t,this},t.prototype.rotate=function(e){e*=Math.PI/180;var t=Math.cos(e),r=Math.sin(e),n=this.a,i=this.c,a=this.b,o=this.d;return this.a=n*t-i*r,this.c=n*r+i*t,this.b=a*t-o*r,this.d=a*r+o*t,this},t.prototype.isIdentity=function(){return 1==this.a&&0==this.c&&0==this.b&&1==this.d&&0==this.tx&&0==this.ty},t.prototype.transformPoints=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value,o=a.x,s=a.y;a.x=o*this.a+s*this.b+this.tx,a.y=o*this.c+s*this.d+this.ty}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},t.prototype.multiply=function(e){for(var t=[[this.a,this.c,0],[this.b,this.d,0],[this.tx,this.ty,1]],r=[[e.a,e.c,0],[e.b,e.d,0],[e.tx,e.ty,1]],n=[],i=0;i<3;i++){n[i]=[];for(var a=0;a<3;a++){for(var o=0,s=0;s<3;s++)o+=t[i][s]*r[s][a];n[i][a]=o}}return this.setValues(n[0][0],n[0][1],n[1][0],n[1][0],n[2][0],n[2][0]),this},t}();t.Matrix=r}(r=t.Drawing2D||(t.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["ColorTypeCMYK"]=0]="ColorTypeCMYK",e[e["ColorTypeYCCK"]=1]="ColorTypeYCCK",e[e["CompressionLZW"]=2]="CompressionLZW",e[e["CompressionCCITT3"]=3]="CompressionCCITT3",e[e["CompressionCCITT4"]=4]="CompressionCCITT4",e[e["CompressionRle"]=5]="CompressionRle",e[e["CompressionNone"]=6]="CompressionNone",e[e["ScanMethodInterlaced"]=7]="ScanMethodInterlaced",e[e["ScanMethodNonInterlaced"]=8]="ScanMethodNonInterlaced",e[e["VersionGif87"]=9]="VersionGif87",e[e["VersionGif89"]=10]="VersionGif89",e[e["RenderProgressive"]=11]="RenderProgressive",e[e["RenderNonProgressive"]=12]="RenderNonProgressive",e[e["TransformRotate90"]=13]="TransformRotate90",e[e["TransformRotate180"]=14]="TransformRotate180",e[e["TransformRotate270"]=15]="TransformRotate270",e[e["TransformFlipHorizontal"]=16]="TransformFlipHorizontal",e[e["TransformFlipVertical"]=17]="TransformFlipVertical",e[e["MultiFrame"]=18]="MultiFrame",e[e["LastFrame"]=19]="LastFrame",e[e["Flush"]=20]="Flush",e[e["FrameDimensionTime"]=21]="FrameDimensionTime",e[e["FrameDimensionResolution"]=22]="FrameDimensionResolution",e[e["FrameDimensionPage"]=23]="FrameDimensionPage"}(t=e.EncoderValue||(e.EncoderValue={}))}(t=e.Imaging||(e.Imaging={}))}(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(){}return t.getImageDecoders=function(){return null},t.getImageEncoders=function(){return[{clsid:e.Guid.newGuid(),codecName:"",filenameExtension:"",formatDescription:"",formatID:e.Guid.newGuid(),mimeType:"image/jpeg",version:1}]},t}();t.ImageCodecInfo=r}(r=t.Imaging||(t.Imaging={}))}(t=e.Drawing||(e.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var n;!function(r){var n=function(){function r(e){this.guid=e}return Object.defineProperty(r,"Tiff",{get:function(){return null==this._tiff&&(this._tiff=new r("tiff"),this._tiff.header=[73,73,42,0],this._tiff.getWidth=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0;i<=r;i++){var a;if(256==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHeight=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0;i<=r;i++){var a;if(257==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHorizontalResolution=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0;i<=r;i++){var a;if(282==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN},this._tiff.getVerticalResolution=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0;i<=r;i++){var a;if(232==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN}),this._tiff},enumerable:!1,configurable:!0}),Object.defineProperty(r,"Png",{get:function(){return null==this._png&&(this._png=new r("png"),this._png.header=[137,80,78,71,13,10,26,10],this._png.getWidth=function(e){for(var t=0,r=16;r<=16+3;r++)t=e[r]|t<<8;return t},this._png.getHeight=function(e){for(var t=0,r=20;r<=20+3;r++)t=e[r]|t<<8;return t},this._png.getHorizontalResolution=function(e){var t=-1;while(t<e.length)if(112==e[t++]&&72==e[t++]&&89==e[t++]&&115==e[t++]){var r=0;return r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,Math.round(.0254*r)}return NaN},this._png.getVerticalResolution=function(e){var t=-1;while(t<e.length)if(112==e[t++]&&72==e[t++]&&89==e[t++]&&115==e[t++]){t+=4;var r=0;return r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,Math.round(.0254*r)}return NaN}),this._png},enumerable:!1,configurable:!0}),Object.defineProperty(r,"Gif",{get:function(){return null==this._gif&&(this._gif=new r("gif"),this._gif.header=[71,73,70],this._gif.getWidth=function(e){var t;return e[6]|e[7]<<8},this._gif.getHeight=function(e){var t;return e[8]|e[9]<<8},this._gif.getHorizontalResolution=function(e){return 300},this._gif.getVerticalResolution=function(e){return 300}),this._gif},enumerable:!1,configurable:!0}),Object.defineProperty(r,"Jpeg",{get:function(){return null==this._jpeg&&(this._jpeg=new r("jpeg"),this._jpeg.header=[255,216],this._jpeg.getWidth=function(e){var t=-1,r=0;while(t<e.length)if(255==e[t++]){var n=e[t++];192!=n&&193!=n&&194!=n||(r=Math.max(e[t+5]<<8|e[t+6],r))}return r},this._jpeg.getHeight=function(e){var t=-1,r=0;while(t<e.length)if(255==e[t++]){var n=e[t++];192!=n&&193!=n&&194!=n||(r=Math.max(e[t+3]<<8|e[t+4],r))}return r},this._jpeg.getHorizontalResolution=function(e){var t=-1;while(t<e.length)if(255==e[t++]&&224==e[t++]){var r=256*e[t+12]+e[t+13];return 2==e[t+9]&&(r*=2.54),Math.round(r)}return NaN},this._jpeg.getVerticalResolution=function(e){var t=-1;while(t<e.length)if(255==e[t++]&&224==e[t++]){var r=256*e[t+10]+e[t+11];return 2==e[t+9]&&(r*=2.54),Math.round(r)}return NaN}),this._jpeg},enumerable:!1,configurable:!0}),Object.defineProperty(r,"Bmp",{get:function(){return null==this._bmp&&(this._bmp=new r("bmp"),this._bmp.header=[66,77],this._bmp.getWidth=function(e){var t;return e[18]|e[19]<<8},this._bmp.getHeight=function(e){var t;return e[22]|e[23]<<8},this._bmp.getHorizontalResolution=function(e){var t=e[38]|e[39]<<8;return Math.round(.0254*t)},this._bmp.getVerticalResolution=function(e){var t=e[42]|e[43]<<8;return Math.round(.0254*t)}),this._bmp},enumerable:!1,configurable:!0}),Object.defineProperty(r,"Svg",{get:function(){var n=this;return null==this._svg&&(this._svg=new r("svg+xml"),this._svg.header=[60,115,118,103],e.System.NodeJs.useWebKit&&(this._svg.getWidth=function(t,r){void 0===r&&(r="");var n=0,i=document.createElement("div");return i.style.wordWrap="break-word",i.style.display="inline-block",i.style.lineHeight="normal",i.innerHTML=e.System.Convert.fromBase64StringText(r),document.body.appendChild(i),n=i.getBoundingClientRect().width,document.body.removeChild(i),n},this._svg.getHeight=function(t,r){void 0===r&&(r="");var n=0,i=document.createElement("div");return i.style.wordWrap="break-word",i.style.display="inline-block",i.style.lineHeight="normal",i.innerHTML=e.System.Convert.fromBase64StringText(r),document.body.appendChild(i),n=i.getBoundingClientRect().height,document.body.removeChild(i),n}),this._svg.checkHeader=function(e){var r=1e3;try{if(e.length>5&&"<"==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<e.length-5&&s<r){if("<"==String.fromCharCode(e[s])){if(0==o&&"s"==String.fromCharCode(e[s+1])&&"v"==String.fromCharCode(e[s+2])&&"g"==String.fromCharCode(e[s+3])&&t.Char.isWhitespace(String.fromCharCode(e[s+4])))return n._svg;"/"==String.fromCharCode(e[s+1])?(o--,a=i.pop()):(o++,i.push(a),"!"!=String.fromCharCode(e[s+1])&&"?"!=String.fromCharCode(e[s+1])||(a=!0))}else">"==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;t<this.header.length;t++)if(this.header[t]!=e[t])return null;return this},r.prototype.getWidth=function(e,t){return void 0===t&&(t=null),NaN},r.prototype.getHeight=function(e,t){return void 0===t&&(t=null),NaN},r.prototype.getHorizontalResolution=function(e){return NaN},r.prototype.getVerticalResolution=function(e){return NaN},Object.defineProperty(r.prototype,"mimeType",{get:function(){return"image/"+this.guid},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.guid},r}();r.ImageFormat=n}(n=r.Imaging||(r.Imaging={}))}(r=t.Drawing||(t.Drawing={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!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}(e.System.Collections.CollectionBase);t.PaperSizeCollection=n}(r=t.PrinterSettings||(t.PrinterSettings={}))}(r=t.Printing||(t.Printing={}))}(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){var t;!function(t){var r=function(){function r(){}return Object.defineProperty(r.prototype,"paperSizes",{get:function(){var r,n=new t.PaperSizeCollection;return r=new e.PaperSize(e.PaperKind.A2,"A2",1654,2339),n.add(r),r=new e.PaperSize(e.PaperKind.A3,"A3",1169,1654),n.add(r),r=new e.PaperSize(e.PaperKind.A3Extra,"A3Extra",1268,1752),n.add(r),r=new e.PaperSize(e.PaperKind.A3ExtraTransverse,"A3ExtraTransverse",1268,1752),n.add(r),r=new e.PaperSize(e.PaperKind.A3Rotated,"A3Rotated",1654,1169),n.add(r),r=new e.PaperSize(e.PaperKind.A3Transverse,"A3Transverse",1169,1654),n.add(r),r=new e.PaperSize(e.PaperKind.A4,"A4",827,1169),n.add(r),r=new e.PaperSize(e.PaperKind.A4Extra,"A4Extra",927,1269),n.add(r),r=new e.PaperSize(e.PaperKind.A4Plus,"A4Plus",827,1299),n.add(r),r=new e.PaperSize(e.PaperKind.A4Rotated,"A4Rotated",1169,827),n.add(r),r=new e.PaperSize(e.PaperKind.A4Small,"A4Small",827,1169),n.add(r),r=new e.PaperSize(e.PaperKind.A4Transverse,"A4Transverse",827,1169),n.add(r),r=new e.PaperSize(e.PaperKind.A5,"A5",583,827),n.add(r),r=new e.PaperSize(e.PaperKind.A5Extra,"A5Extra",685,925),n.add(r),r=new e.PaperSize(e.PaperKind.A5Rotated,"A5Rotated",827,583),n.add(r),r=new e.PaperSize(e.PaperKind.A5Transverse,"A5Transverse",583,827),n.add(r),r=new e.PaperSize(e.PaperKind.A6,"A6",413,583),n.add(r),r=new e.PaperSize(e.PaperKind.A6Rotated,"A6Rotated",583,413),n.add(r),r=new e.PaperSize(e.PaperKind.APlus,"APlus",894,1402),n.add(r),r=new e.PaperSize(e.PaperKind.B4,"B4",1012,1433),n.add(r),r=new e.PaperSize(e.PaperKind.B4Envelope,"B4Envelope",984,1390),n.add(r),r=new e.PaperSize(e.PaperKind.B4JisRotated,"B4JisRotated",1433,1012),n.add(r),r=new e.PaperSize(e.PaperKind.B5,"B5",717,1012),n.add(r),r=new e.PaperSize(e.PaperKind.B5Envelope,"B5Envelope",693,984),n.add(r),r=new e.PaperSize(e.PaperKind.B5Extra,"B5Extra",791,1087),n.add(r),r=new e.PaperSize(e.PaperKind.B5JisRotated,"B5JisRotated",1012,717),n.add(r),r=new e.PaperSize(e.PaperKind.B5Transverse,"B5Transverse",717,1012),n.add(r),r=new e.PaperSize(e.PaperKind.B6Envelope,"B6Envelope",693,492),n.add(r),r=new e.PaperSize(e.PaperKind.B6Jis,"B6Jis",504,717),n.add(r),r=new e.PaperSize(e.PaperKind.B6JisRotated,"B6JisRotated",717,504),n.add(r),r=new e.PaperSize(e.PaperKind.BPlus,"BPlus",1201,1917),n.add(r),r=new e.PaperSize(e.PaperKind.C3Envelope,"C3Envelope",1276,1803),n.add(r),r=new e.PaperSize(e.PaperKind.C4Envelope,"C4Envelope",902,1276),n.add(r),r=new e.PaperSize(e.PaperKind.C5Envelope,"C5Envelope",638,902),n.add(r),r=new e.PaperSize(e.PaperKind.C65Envelope,"C65Envelope",449,902),n.add(r),r=new e.PaperSize(e.PaperKind.C6Envelope,"C6Envelope",449,638),n.add(r),r=new e.PaperSize(e.PaperKind.CSheet,"CSheet",1700,2200),n.add(r),r=new e.PaperSize(e.PaperKind.DLEnvelope,"DLEnvelope",433,866),n.add(r),r=new e.PaperSize(e.PaperKind.DSheet,"DSheet",2200,3400),n.add(r),r=new e.PaperSize(e.PaperKind.ESheet,"ESheet",3400,4400),n.add(r),r=new e.PaperSize(e.PaperKind.Executive,"Executive",725,1050),n.add(r),r=new e.PaperSize(e.PaperKind.Folio,"Folio",850,1300),n.add(r),r=new e.PaperSize(e.PaperKind.GermanLegalFanfold,"GermanLegalFanfold",850,1300),n.add(r),r=new e.PaperSize(e.PaperKind.GermanStandardFanfold,"GermanStandardFanfold",850,1200),n.add(r),r=new e.PaperSize(e.PaperKind.InviteEnvelope,"InviteEnvelope",866,866),n.add(r),r=new e.PaperSize(e.PaperKind.IsoB4,"IsoB4",984,1390),n.add(r),r=new e.PaperSize(e.PaperKind.ItalyEnvelope,"ItalyEnvelope",433,906),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseDoublePostcard,"JapaneseDoublePostcard",787,583),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseDoublePostcardRotated,"JapaneseDoublePostcardRotated",583,787),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber3,"JapaneseEnvelopeChouNumber3",472,925),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber3Rotated,"JapaneseEnvelopeChouNumber3Rotated",925,472),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber4,"JapaneseEnvelopeChouNumber4",354,807),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber4Rotated,"JapaneseEnvelopeChouNumber4Rotated",807,354),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber2,"JapaneseEnvelopeKakuNumber2",945,1307),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber2Rotated,"JapaneseEnvelopeKakuNumber2Rotated",1307,945),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber3,"JapaneseEnvelopeKakuNumber3",850,1091),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber3Rotated,"JapaneseEnvelopeKakuNumber3Rotated",1091,850),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeYouNumber4,"JapaneseEnvelopeYouNumber4",413,925),n.add(r),r=new e.PaperSize(e.PaperKind.JapaneseEnvelopeYouNumber4Rotated,"JapaneseEnvelopeYouNumber4Rotated",925,413),n.add(r),r=new e.PaperSize(e.PaperKind.JapanesePostcard,"JapanesePostcard",394,583),n.add(r),r=new e.PaperSize(e.PaperKind.JapanesePostcardRotated,"JapanesePostcardRotated",583,394),n.add(r),r=new e.PaperSize(e.PaperKind.Ledger,"Ledger",1700,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Legal,"Legal",850,1400),n.add(r),r=new e.PaperSize(e.PaperKind.LegalExtra,"LegalExtra",950,1500),n.add(r),r=new e.PaperSize(e.PaperKind.Letter,"Letter",850,1100),n.add(r),r=new e.PaperSize(e.PaperKind.LetterExtra,"LetterExtra",950,1200),n.add(r),r=new e.PaperSize(e.PaperKind.LetterExtraTransverse,"LetterExtraTransverse",950,1200),n.add(r),r=new e.PaperSize(e.PaperKind.LetterPlus,"LetterPlus",850,1269),n.add(r),r=new e.PaperSize(e.PaperKind.LetterRotated,"LetterRotated",1100,850),n.add(r),r=new e.PaperSize(e.PaperKind.LetterSmall,"LetterSmall",850,1100),n.add(r),r=new e.PaperSize(e.PaperKind.LetterTransverse,"LetterTransverse",850,1100),n.add(r),r=new e.PaperSize(e.PaperKind.MonarchEnvelope,"MonarchEnvelope",387,750),n.add(r),r=new e.PaperSize(e.PaperKind.Note,"Note",850,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Number10Envelope,"Number10Envelope",412,950),n.add(r),r=new e.PaperSize(e.PaperKind.Number11Envelope,"Number11Envelope",450,1037),n.add(r),r=new e.PaperSize(e.PaperKind.Number12Envelope,"Number12Envelope",475,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Number14Envelope,"Number14Envelope",500,1150),n.add(r),r=new e.PaperSize(e.PaperKind.Number9Envelope,"Number9Envelope",387,887),n.add(r),r=new e.PaperSize(e.PaperKind.PersonalEnvelope,"PersonalEnvelope",362,650),n.add(r),r=new e.PaperSize(e.PaperKind.Prc16K,"Prc16K",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.Prc16KRotated,"Prc16KRotated",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.Prc32K,"Prc32K",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.Prc32KBig,"Prc32KBig",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.Prc32KBigRotated,"Prc32KBigRotated",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.Prc32KRotated,"Prc32KRotated",0,0),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber1,"PrcEnvelopeNumber1",402,650),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber10,"PrcEnvelopeNumber10",1276,1803),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber10Rotated,"PrcEnvelopeNumber10Rotated",1803,1276),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber1Rotated,"PrcEnvelopeNumber1Rotated",650,402),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber2,"PrcEnvelopeNumber2",650,402),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber2Rotated,"PrcEnvelopeNumber2Rotated",402,650),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber3,"PrcEnvelopeNumber3",492,693),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber3Rotated,"PrcEnvelopeNumber3Rotated",693,492),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber4,"PrcEnvelopeNumber4",433,819),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber4Rotated,"PrcEnvelopeNumber4Rotated",819,433),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber5,"PrcEnvelopeNumber5",433,866),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber5Rotated,"PrcEnvelopeNumber5Rotated",866,433),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber6,"PrcEnvelopeNumber6",472,906),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber6Rotated,"PrcEnvelopeNumber6Rotated",906,472),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber7,"PrcEnvelopeNumber7",630,906),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber7Rotated,"PrcEnvelopeNumber7Rotated",906,630),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber8,"PrcEnvelopeNumber8",472,1217),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber8Rotated,"PrcEnvelopeNumber8Rotated",1217,472),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber9,"PrcEnvelopeNumber9",902,1276),n.add(r),r=new e.PaperSize(e.PaperKind.PrcEnvelopeNumber9Rotated,"PrcEnvelopeNumber9Rotated",1276,902),n.add(r),r=new e.PaperSize(e.PaperKind.Quarto,"Quarto",846,1083),n.add(r),r=new e.PaperSize(e.PaperKind.Standard10x11,"Standard10x11",1e3,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Standard10x14,"Standard10x14",1e3,1400),n.add(r),r=new e.PaperSize(e.PaperKind.Standard11x17,"Standard11x17",1100,1700),n.add(r),r=new e.PaperSize(e.PaperKind.Standard12x11,"Standard12x11",1200,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Standard15x11,"Standard15x11",1500,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Standard9x11,"Standard9x11",900,1100),n.add(r),r=new e.PaperSize(e.PaperKind.Statement,"Statement",550,850),n.add(r),r=new e.PaperSize(e.PaperKind.Tabloid,"Tabloid",1100,1700),n.add(r),r=new e.PaperSize(e.PaperKind.TabloidExtra,"TabloidExtra",1200,1800),n.add(r),r=new e.PaperSize(e.PaperKind.USStandardFanfold,"USStandardFanfold",1487,1100),n.add(r),n},enumerable:!1,configurable:!0}),r}();t.PrinterSettings=r}(t=e.PrinterSettings||(e.PrinterSettings={}))}(t=e.Printing||(e.Printing={}))}(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["A2"]=66]="A2",e[e["A3"]=8]="A3",e[e["A3Extra"]=63]="A3Extra",e[e["A3ExtraTransverse"]=68]="A3ExtraTransverse",e[e["A3Rotated"]=76]="A3Rotated",e[e["A3Transverse"]=67]="A3Transverse",e[e["A4"]=9]="A4",e[e["A4Extra"]=53]="A4Extra",e[e["A4Plus"]=60]="A4Plus",e[e["A4Rotated"]=77]="A4Rotated",e[e["A4Small"]=10]="A4Small",e[e["A4Transverse"]=55]="A4Transverse",e[e["A5"]=11]="A5",e[e["A5Extra"]=64]="A5Extra",e[e["A5Rotated"]=78]="A5Rotated",e[e["A5Transverse"]=61]="A5Transverse",e[e["A6"]=70]="A6",e[e["A6Rotated"]=83]="A6Rotated",e[e["APlus"]=57]="APlus",e[e["B4"]=12]="B4",e[e["B4Envelope"]=33]="B4Envelope",e[e["B4JisRotated"]=79]="B4JisRotated",e[e["B5"]=13]="B5",e[e["B5Envelope"]=34]="B5Envelope",e[e["B5Extra"]=65]="B5Extra",e[e["B5JisRotated"]=80]="B5JisRotated",e[e["B5Transverse"]=62]="B5Transverse",e[e["B6Envelope"]=35]="B6Envelope",e[e["B6Jis"]=88]="B6Jis",e[e["B6JisRotated"]=89]="B6JisRotated",e[e["BPlus"]=58]="BPlus",e[e["C3Envelope"]=29]="C3Envelope",e[e["C4Envelope"]=30]="C4Envelope",e[e["C5Envelope"]=28]="C5Envelope",e[e["C65Envelope"]=32]="C65Envelope",e[e["C6Envelope"]=31]="C6Envelope",e[e["CSheet"]=24]="CSheet",e[e["Custom"]=0]="Custom",e[e["DLEnvelope"]=27]="DLEnvelope",e[e["DSheet"]=25]="DSheet",e[e["ESheet"]=26]="ESheet",e[e["Executive"]=7]="Executive",e[e["Folio"]=14]="Folio",e[e["GermanLegalFanfold"]=41]="GermanLegalFanfold",e[e["GermanStandardFanfold"]=40]="GermanStandardFanfold",e[e["InviteEnvelope"]=47]="InviteEnvelope",e[e["IsoB4"]=42]="IsoB4",e[e["ItalyEnvelope"]=36]="ItalyEnvelope",e[e["JapaneseDoublePostcard"]=69]="JapaneseDoublePostcard",e[e["JapaneseDoublePostcardRotated"]=82]="JapaneseDoublePostcardRotated",e[e["JapaneseEnvelopeChouNumber3"]=73]="JapaneseEnvelopeChouNumber3",e[e["JapaneseEnvelopeChouNumber3Rotated"]=86]="JapaneseEnvelopeChouNumber3Rotated",e[e["JapaneseEnvelopeChouNumber4"]=74]="JapaneseEnvelopeChouNumber4",e[e["JapaneseEnvelopeChouNumber4Rotated"]=87]="JapaneseEnvelopeChouNumber4Rotated",e[e["JapaneseEnvelopeKakuNumber2"]=71]="JapaneseEnvelopeKakuNumber2",e[e["JapaneseEnvelopeKakuNumber2Rotated"]=84]="JapaneseEnvelopeKakuNumber2Rotated",e[e["JapaneseEnvelopeKakuNumber3"]=72]="JapaneseEnvelopeKakuNumber3",e[e["JapaneseEnvelopeKakuNumber3Rotated"]=85]="JapaneseEnvelopeKakuNumber3Rotated",e[e["JapaneseEnvelopeYouNumber4"]=91]="JapaneseEnvelopeYouNumber4",e[e["JapaneseEnvelopeYouNumber4Rotated"]=92]="JapaneseEnvelopeYouNumber4Rotated",e[e["JapanesePostcard"]=43]="JapanesePostcard",e[e["JapanesePostcardRotated"]=81]="JapanesePostcardRotated",e[e["Ledger"]=4]="Ledger",e[e["Legal"]=5]="Legal",e[e["LegalExtra"]=51]="LegalExtra",e[e["Letter"]=1]="Letter",e[e["LetterExtra"]=50]="LetterExtra",e[e["LetterExtraTransverse"]=56]="LetterExtraTransverse",e[e["LetterPlus"]=59]="LetterPlus",e[e["LetterRotated"]=75]="LetterRotated",e[e["LetterSmall"]=2]="LetterSmall",e[e["LetterTransverse"]=54]="LetterTransverse",e[e["MonarchEnvelope"]=37]="MonarchEnvelope",e[e["Note"]=18]="Note",e[e["Number10Envelope"]=20]="Number10Envelope",e[e["Number11Envelope"]=21]="Number11Envelope",e[e["Number12Envelope"]=22]="Number12Envelope",e[e["Number14Envelope"]=23]="Number14Envelope",e[e["Number9Envelope"]=19]="Number9Envelope",e[e["PersonalEnvelope"]=38]="PersonalEnvelope",e[e["Prc16K"]=93]="Prc16K",e[e["Prc16KRotated"]=106]="Prc16KRotated",e[e["Prc32K"]=94]="Prc32K",e[e["Prc32KBig"]=95]="Prc32KBig",e[e["Prc32KBigRotated"]=108]="Prc32KBigRotated",e[e["Prc32KRotated"]=107]="Prc32KRotated",e[e["PrcEnvelopeNumber1"]=96]="PrcEnvelopeNumber1",e[e["PrcEnvelopeNumber10"]=105]="PrcEnvelopeNumber10",e[e["PrcEnvelopeNumber10Rotated"]=118]="PrcEnvelopeNumber10Rotated",e[e["PrcEnvelopeNumber1Rotated"]=109]="PrcEnvelopeNumber1Rotated",e[e["PrcEnvelopeNumber2"]=97]="PrcEnvelopeNumber2",e[e["PrcEnvelopeNumber2Rotated"]=110]="PrcEnvelopeNumber2Rotated",e[e["PrcEnvelopeNumber3"]=98]="PrcEnvelopeNumber3",e[e["PrcEnvelopeNumber3Rotated"]=111]="PrcEnvelopeNumber3Rotated",e[e["PrcEnvelopeNumber4"]=99]="PrcEnvelopeNumber4",e[e["PrcEnvelopeNumber4Rotated"]=112]="PrcEnvelopeNumber4Rotated",e[e["PrcEnvelopeNumber5"]=100]="PrcEnvelopeNumber5",e[e["PrcEnvelopeNumber5Rotated"]=113]="PrcEnvelopeNumber5Rotated",e[e["PrcEnvelopeNumber6"]=101]="PrcEnvelopeNumber6",e[e["PrcEnvelopeNumber6Rotated"]=114]="PrcEnvelopeNumber6Rotated",e[e["PrcEnvelopeNumber7"]=102]="PrcEnvelopeNumber7",e[e["PrcEnvelopeNumber7Rotated"]=115]="PrcEnvelopeNumber7Rotated",e[e["PrcEnvelopeNumber8"]=103]="PrcEnvelopeNumber8",e[e["PrcEnvelopeNumber8Rotated"]=116]="PrcEnvelopeNumber8Rotated",e[e["PrcEnvelopeNumber9"]=104]="PrcEnvelopeNumber9",e[e["PrcEnvelopeNumber9Rotated"]=117]="PrcEnvelopeNumber9Rotated",e[e["Quarto"]=15]="Quarto",e[e["Standard10x11"]=45]="Standard10x11",e[e["Standard10x14"]=16]="Standard10x14",e[e["Standard11x17"]=17]="Standard11x17",e[e["Standard12x11"]=90]="Standard12x11",e[e["Standard15x11"]=46]="Standard15x11",e[e["Standard9x11"]=44]="Standard9x11",e[e["Statement"]=6]="Statement",e[e["Tabloid"]=3]="Tabloid",e[e["TabloidExtra"]=52]="TabloidExtra",e[e["USStandardFanfold"]=39]="USStandardFanfold"}(t=e.PaperKind||(e.PaperKind={}))}(t=e.Printing||(e.Printing={}))}(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(){function t(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=""),void 0===r&&(r=0),void 0===n&&(n=0),this.createdByDefaultConstructor=0==e&&""==t&&0==r&&0==n,this._kind=e,this._name=t,this._width=r,this._height=n}return Object.defineProperty(t.prototype,"kind",{get:function(){if(this._kind<=e.PaperKind.PrcEnvelopeNumber10Rotated&&this._kind!=(e.PaperKind.C65Envelope|e.PaperKind.Standard10x14)&&this._kind!=(e.PaperKind.B4Envelope|e.PaperKind.Standard10x14))return this._kind;return e.PaperKind.Custom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){(this._kind==e.PaperKind.Custom||this.createdByDefaultConstructor)&&(this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(t){(this._kind==e.PaperKind.Custom||this.createdByDefaultConstructor)&&(this._width=t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){(this._kind==e.PaperKind.Custom||this.createdByDefaultConstructor)&&(this._height=t)},enumerable:!1,configurable:!0}),t}();e.PaperSize=t}(t=e.Printing||(e.Printing={}))}(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["Display"]=0]="Display",e[e["ThousandthsOfAnInch"]=1]="ThousandthsOfAnInch",e[e["HundredthsOfAMillimeter"]=2]="HundredthsOfAMillimeter",e[e["TenthsOfAMillimeter"]=3]="TenthsOfAMillimeter"}(t=e.PrinterUnit||(e.PrinterUnit={}))}(t=e.Printing||(e.Printing={}))}(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(){function t(){}return t.convert=function(e,r,n){var i=t.unitsPerDisplay(r),a;return e*t.unitsPerDisplay(n)/i},t.unitsPerDisplay=function(t){switch(t){case e.PrinterUnit.Display:return 1;case e.PrinterUnit.ThousandthsOfAnInch:return 10;case e.PrinterUnit.HundredthsOfAMillimeter:return 25.4;case e.PrinterUnit.TenthsOfAMillimeter:return 2.54}return 1},t}();e.PrinterUnitConvert=t}(t=e.Printing||(e.Printing={}))}(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["Hide"]=0]="Hide",e[e["None"]=1]="None",e[e["Show"]=2]="Show"}(t=e.HotkeyPrefix||(e.HotkeyPrefix={}))}(t=e.Text||(e.Text={}))}(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(){}return e}();e.Brush=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 Object.defineProperty(t,"aliceBlue",{get:function(){return new e.SolidBrush(e.Color.aliceBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"antiqueWhite",{get:function(){return new e.SolidBrush(e.Color.antiqueWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"aqua",{get:function(){return new e.SolidBrush(e.Color.aqua)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"aquamarine",{get:function(){return new e.SolidBrush(e.Color.aquamarine)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"azure",{get:function(){return new e.SolidBrush(e.Color.azure)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"beige",{get:function(){return new e.SolidBrush(e.Color.beige)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bisque",{get:function(){return new e.SolidBrush(e.Color.bisque)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"black",{get:function(){return new e.SolidBrush(e.Color.black)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blanchedAlmond",{get:function(){return new e.SolidBrush(e.Color.blanchedAlmond)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blue",{get:function(){return new e.SolidBrush(e.Color.blue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blueViolet",{get:function(){return new e.SolidBrush(e.Color.blueViolet)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"brown",{get:function(){return new e.SolidBrush(e.Color.brown)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"burlyWood",{get:function(){return new e.SolidBrush(e.Color.burlyWood)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cadetBlue",{get:function(){return new e.SolidBrush(e.Color.cadetBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"chartreuse",{get:function(){return new e.SolidBrush(e.Color.chartreuse)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"chocolate",{get:function(){return new e.SolidBrush(e.Color.chocolate)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"coral",{get:function(){return new e.SolidBrush(e.Color.coral)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cornflowerBlue",{get:function(){return new e.SolidBrush(e.Color.cornflowerBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cornsilk",{get:function(){return new e.SolidBrush(e.Color.cornsilk)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"crimson",{get:function(){return new e.SolidBrush(e.Color.crimson)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cyan",{get:function(){return new e.SolidBrush(e.Color.cyan)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkBlue",{get:function(){return new e.SolidBrush(e.Color.darkBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkCyan",{get:function(){return new e.SolidBrush(e.Color.darkCyan)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGoldenrod",{get:function(){return new e.SolidBrush(e.Color.darkGoldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGray",{get:function(){return new e.SolidBrush(e.Color.darkGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGreen",{get:function(){return new e.SolidBrush(e.Color.darkGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkKhaki",{get:function(){return new e.SolidBrush(e.Color.darkKhaki)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkMagenta",{get:function(){return new e.SolidBrush(e.Color.darkMagenta)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOliveGreen",{get:function(){return new e.SolidBrush(e.Color.darkOliveGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOrange",{get:function(){return new e.SolidBrush(e.Color.darkOrange)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOrchid",{get:function(){return new e.SolidBrush(e.Color.darkOrchid)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkRed",{get:function(){return new e.SolidBrush(e.Color.darkRed)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSalmon",{get:function(){return new e.SolidBrush(e.Color.darkSalmon)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSeaGreen",{get:function(){return new e.SolidBrush(e.Color.darkSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSlateBlue",{get:function(){return new e.SolidBrush(e.Color.darkSlateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSlateGray",{get:function(){return new e.SolidBrush(e.Color.darkSlateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkTurquoise",{get:function(){return new e.SolidBrush(e.Color.darkTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkViolet",{get:function(){return new e.SolidBrush(e.Color.darkViolet)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"deepPink",{get:function(){return new e.SolidBrush(e.Color.deepPink)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"deepSkyBlue",{get:function(){return new e.SolidBrush(e.Color.deepSkyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"dimGray",{get:function(){return new e.SolidBrush(e.Color.dimGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"dodgerBlue",{get:function(){return new e.SolidBrush(e.Color.dodgerBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"firebrick",{get:function(){return new e.SolidBrush(e.Color.firebrick)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"floralWhite",{get:function(){return new e.SolidBrush(e.Color.floralWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"forestGreen",{get:function(){return new e.SolidBrush(e.Color.forestGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"fuchsia",{get:function(){return new e.SolidBrush(e.Color.fuchsia)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gainsboro",{get:function(){return new e.SolidBrush(e.Color.gainsboro)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ghostWhite",{get:function(){return new e.SolidBrush(e.Color.ghostWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gold",{get:function(){return new e.SolidBrush(e.Color.gold)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"goldenrod",{get:function(){return new e.SolidBrush(e.Color.goldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gray",{get:function(){return new e.SolidBrush(e.Color.gray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"green",{get:function(){return new e.SolidBrush(e.Color.green)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"greenYellow",{get:function(){return new e.SolidBrush(e.Color.greenYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"honeydew",{get:function(){return new e.SolidBrush(e.Color.honeydew)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hotPink",{get:function(){return new e.SolidBrush(e.Color.hotPink)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"indianRed",{get:function(){return new e.SolidBrush(e.Color.indianRed)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"indigo",{get:function(){return new e.SolidBrush(e.Color.indigo)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ivory",{get:function(){return new e.SolidBrush(e.Color.ivory)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"khaki",{get:function(){return new e.SolidBrush(e.Color.khaki)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lavender",{get:function(){return new e.SolidBrush(e.Color.lavender)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lavenderBlush",{get:function(){return new e.SolidBrush(e.Color.lavenderBlush)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lawnGreen",{get:function(){return new e.SolidBrush(e.Color.lawnGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lemonChiffon",{get:function(){return new e.SolidBrush(e.Color.lemonChiffon)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightBlue",{get:function(){return new e.SolidBrush(e.Color.lightBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightCoral",{get:function(){return new e.SolidBrush(e.Color.lightCoral)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightCyan",{get:function(){return new e.SolidBrush(e.Color.lightCyan)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGoldenrodYellow",{get:function(){return new e.SolidBrush(e.Color.lightGoldenrodYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGray",{get:function(){return new e.SolidBrush(e.Color.lightGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGreen",{get:function(){return new e.SolidBrush(e.Color.lightGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightPink",{get:function(){return new e.SolidBrush(e.Color.lightPink)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSalmon",{get:function(){return new e.SolidBrush(e.Color.lightSalmon)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSeaGreen",{get:function(){return new e.SolidBrush(e.Color.lightSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSkyBlue",{get:function(){return new e.SolidBrush(e.Color.lightSkyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSlateGray",{get:function(){return new e.SolidBrush(e.Color.lightSlateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSteelBlue",{get:function(){return new e.SolidBrush(e.Color.lightSteelBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightYellow",{get:function(){return new e.SolidBrush(e.Color.lightYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lime",{get:function(){return new e.SolidBrush(e.Color.lime)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"limeGreen",{get:function(){return new e.SolidBrush(e.Color.limeGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"linen",{get:function(){return new e.SolidBrush(e.Color.linen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"magenta",{get:function(){return new e.SolidBrush(e.Color.magenta)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"maroon",{get:function(){return new e.SolidBrush(e.Color.maroon)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumAquamarine",{get:function(){return new e.SolidBrush(e.Color.mediumAquamarine)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumBlue",{get:function(){return new e.SolidBrush(e.Color.mediumBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumOrchid",{get:function(){return new e.SolidBrush(e.Color.mediumOrchid)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumPurple",{get:function(){return new e.SolidBrush(e.Color.mediumPurple)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSeaGreen",{get:function(){return new e.SolidBrush(e.Color.mediumSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSlateBlue",{get:function(){return new e.SolidBrush(e.Color.mediumSlateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSpringGreen",{get:function(){return new e.SolidBrush(e.Color.mediumSpringGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumTurquoise",{get:function(){return new e.SolidBrush(e.Color.mediumTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumVioletRed",{get:function(){return new e.SolidBrush(e.Color.mediumVioletRed)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"midnightBlue",{get:function(){return new e.SolidBrush(e.Color.midnightBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mintCream",{get:function(){return new e.SolidBrush(e.Color.mintCream)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mistyRose",{get:function(){return new e.SolidBrush(e.Color.mistyRose)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"moccasin",{get:function(){return new e.SolidBrush(e.Color.moccasin)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"navajoWhite",{get:function(){return new e.SolidBrush(e.Color.navajoWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"navy",{get:function(){return new e.SolidBrush(e.Color.navy)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"oldLace",{get:function(){return new e.SolidBrush(e.Color.oldLace)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"olive",{get:function(){return new e.SolidBrush(e.Color.olive)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"oliveDrab",{get:function(){return new e.SolidBrush(e.Color.oliveDrab)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orange",{get:function(){return new e.SolidBrush(e.Color.orange)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orangeRed",{get:function(){return new e.SolidBrush(e.Color.orangeRed)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orchid",{get:function(){return new e.SolidBrush(e.Color.orchid)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleGoldenrod",{get:function(){return new e.SolidBrush(e.Color.paleGoldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleGreen",{get:function(){return new e.SolidBrush(e.Color.paleGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleTurquoise",{get:function(){return new e.SolidBrush(e.Color.paleTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleVioletRed",{get:function(){return new e.SolidBrush(e.Color.paleVioletRed)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"papayaWhip",{get:function(){return new e.SolidBrush(e.Color.papayaWhip)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"peachPuff",{get:function(){return new e.SolidBrush(e.Color.peachPuff)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"peru",{get:function(){return new e.SolidBrush(e.Color.peru)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"pink",{get:function(){return new e.SolidBrush(e.Color.pink)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"plum",{get:function(){return new e.SolidBrush(e.Color.plum)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"powderBlue",{get:function(){return new e.SolidBrush(e.Color.powderBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"purple",{get:function(){return new e.SolidBrush(e.Color.purple)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"red",{get:function(){return new e.SolidBrush(e.Color.red)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rosyBrown",{get:function(){return new e.SolidBrush(e.Color.rosyBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"royalBlue",{get:function(){return new e.SolidBrush(e.Color.royalBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"saddleBrown",{get:function(){return new e.SolidBrush(e.Color.saddleBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"salmon",{get:function(){return new e.SolidBrush(e.Color.salmon)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sandyBrown",{get:function(){return new e.SolidBrush(e.Color.sandyBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"seaGreen",{get:function(){return new e.SolidBrush(e.Color.seaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"seaShell",{get:function(){return new e.SolidBrush(e.Color.seaShell)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sienna",{get:function(){return new e.SolidBrush(e.Color.sienna)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"silver",{get:function(){return new e.SolidBrush(e.Color.silver)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"skyBlue",{get:function(){return new e.SolidBrush(e.Color.skyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"slateBlue",{get:function(){return new e.SolidBrush(e.Color.slateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"slateGray",{get:function(){return new e.SolidBrush(e.Color.slateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"snow",{get:function(){return new e.SolidBrush(e.Color.snow)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"springGreen",{get:function(){return new e.SolidBrush(e.Color.springGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"steelBlue",{get:function(){return new e.SolidBrush(e.Color.steelBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"tan",{get:function(){return new e.SolidBrush(e.Color.tan)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"teal",{get:function(){return new e.SolidBrush(e.Color.teal)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"thistle",{get:function(){return new e.SolidBrush(e.Color.thistle)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"tomato",{get:function(){return new e.SolidBrush(e.Color.tomato)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"turquoise",{get:function(){return new e.SolidBrush(e.Color.turquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"violet",{get:function(){return new e.SolidBrush(e.Color.violet)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"wheat",{get:function(){return new e.SolidBrush(e.Color.wheat)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"white",{get:function(){return new e.SolidBrush(e.Color.white)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"whiteSmoke",{get:function(){return new e.SolidBrush(e.Color.whiteSmoke)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"yellow",{get:function(){return new e.SolidBrush(e.Color.yellow)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"yellowGreen",{get:function(){return new e.SolidBrush(e.Color.yellowGreen)},enumerable:!1,configurable:!0}),t}();e.Brushes=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(){this.name=t.customName}return Object.defineProperty(t,"aliceBlue",{get:function(){var e=t.fromArgb(240,248,255);return e.name="Alice Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"antiqueWhite",{get:function(){var e=t.fromArgb(250,235,215);return e.name="Antique White",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"aqua",{get:function(){var e=t.fromArgb(0,255,255);return e.name="Aqua",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"aquamarine",{get:function(){var e=t.fromArgb(127,255,212);return e.name="Aquamarine",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"azure",{get:function(){var e=t.fromArgb(240,255,255);return e.name="Azure",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"beige",{get:function(){var e=t.fromArgb(245,245,220);return e.name="Beige",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bisque",{get:function(){var e=t.fromArgb(255,228,196);return e.name="Bisque",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"black",{get:function(){var e=t.fromArgb(0,0,0);return e.name="Black",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blanchedAlmond",{get:function(){var e=t.fromArgb(255,235,205);return e.name="Blanched Almond",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blue",{get:function(){var e=t.fromArgb(0,0,255);return e.name="Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"blueViolet",{get:function(){var e=t.fromArgb(138,43,226);return e.name="Blue Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"brown",{get:function(){var e=t.fromArgb(165,42,42);return e.name="Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"burlyWood",{get:function(){var e=t.fromArgb(222,184,135);return e.name="Burly Wood",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cadetBlue",{get:function(){var e=t.fromArgb(95,158,160);return e.name="Cadet Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"chartreuse",{get:function(){var e=t.fromArgb(127,255,0);return e.name="Chartreuse",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"chocolate",{get:function(){var e=t.fromArgb(210,105,30);return e.name="Chocolate",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"coral",{get:function(){var e=t.fromArgb(255,127,80);return e.name="Coral",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cornflowerBlue",{get:function(){var e=t.fromArgb(100,149,237);return e.name="Cornflower Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cornsilk",{get:function(){var e=t.fromArgb(255,248,220);return e.name="Cornsilk",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"crimson",{get:function(){var e=t.fromArgb(220,20,60);return e.name="Crimson",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cyan",{get:function(){var e=t.fromArgb(0,255,255);return e.name="Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkBlue",{get:function(){var e=t.fromArgb(0,0,139);return e.name="Dark Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkCyan",{get:function(){var e=t.fromArgb(0,139,139);return e.name="Dark Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGoldenrod",{get:function(){var e=t.fromArgb(184,134,11);return e.name="Dark Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGray",{get:function(){var e=t.fromArgb(169,169,169);return e.name="Dark Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkGreen",{get:function(){var e=t.fromArgb(0,100,0);return e.name="Dark Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkKhaki",{get:function(){var e=t.fromArgb(189,183,107);return e.name="Dark Khaki",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkMagenta",{get:function(){var e=t.fromArgb(139,0,139);return e.name="Dark Magenta",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOliveGreen",{get:function(){var e=t.fromArgb(85,107,47);return e.name="Dark Olive Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOrange",{get:function(){var e=t.fromArgb(255,140,0);return e.name="Dark Orange",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkOrchid",{get:function(){var e=t.fromArgb(153,50,204);return e.name="Dark Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkRed",{get:function(){var e=t.fromArgb(139,0,0);return e.name="Dark Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSalmon",{get:function(){var e=t.fromArgb(233,150,122);return e.name="Dark Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSeaGreen",{get:function(){var e=t.fromArgb(143,188,143);return e.name="Dark Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSlateBlue",{get:function(){var e=t.fromArgb(72,61,139);return e.name="Dark Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkSlateGray",{get:function(){var e=t.fromArgb(47,79,79);return e.name="Dark Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkTurquoise",{get:function(){var e=t.fromArgb(0,206,209);return e.name="Dark Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"darkViolet",{get:function(){var e=t.fromArgb(148,0,211);return e.name="Dark Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"deepPink",{get:function(){var e=t.fromArgb(255,20,147);return e.name="Deep Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"deepSkyBlue",{get:function(){var e=t.fromArgb(0,191,255);return e.name="Deep Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"dimGray",{get:function(){var e=t.fromArgb(105,105,105);return e.name="Dim Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"dodgerBlue",{get:function(){var e=t.fromArgb(30,144,255);return e.name="Dodger Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"firebrick",{get:function(){var e=t.fromArgb(178,34,34);return e.name="Firebrick",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"floralWhite",{get:function(){var e=t.fromArgb(255,250,240);return e.name="Floral White",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"forestGreen",{get:function(){var e=t.fromArgb(34,139,34);return e.name="Forest Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"fuchsia",{get:function(){var e=t.fromArgb(255,0,255);return e.name="Fuchsia",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gainsboro",{get:function(){var e=t.fromArgb(220,220,220);return e.name="Gainsboro",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ghostWhite",{get:function(){var e=t.fromArgb(248,248,255);return e.name="Ghost White",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gold",{get:function(){var e=t.fromArgb(255,215,0);return e.name="Gold",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"goldenrod",{get:function(){var e=t.fromArgb(218,165,32);return e.name="Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"gray",{get:function(){var e=t.fromArgb(128,128,128);return e.name="Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"green",{get:function(){var e=t.fromArgb(0,128,0);return e.name="Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"greenYellow",{get:function(){var e=t.fromArgb(173,255,47);return e.name="Green Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"honeydew",{get:function(){var e=t.fromArgb(240,255,240);return e.name="Honeydew",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hotPink",{get:function(){var e=t.fromArgb(255,105,180);return e.name="Hot Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"indianRed",{get:function(){var e=t.fromArgb(205,92,92);return e.name="Indian Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"indigo",{get:function(){var e=t.fromArgb(75,0,130);return e.name="Indigo",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ivory",{get:function(){var e=t.fromArgb(255,255,240);return e.name="Ivory",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"khaki",{get:function(){var e=t.fromArgb(240,230,140);return e.name="Khaki",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lavender",{get:function(){var e=t.fromArgb(230,230,250);return e.name="Lavender",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lavenderBlush",{get:function(){var e=t.fromArgb(255,240,245);return e.name="Lavender Blush",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lawnGreen",{get:function(){var e=t.fromArgb(124,252,0);return e.name="Lawn Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lemonChiffon",{get:function(){var e=t.fromArgb(255,250,205);return e.name="Lemon Chiffon",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightBlue",{get:function(){var e=t.fromArgb(173,216,230);return e.name="Light Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightCoral",{get:function(){var e=t.fromArgb(240,128,128);return e.name="Light Coral",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightCyan",{get:function(){var e=t.fromArgb(224,255,255);return e.name="Light Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGoldenrodYellow",{get:function(){var e=t.fromArgb(250,250,210);return e.name="Light Goldenrod Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGray",{get:function(){var e=t.fromArgb(211,211,211);return e.name="Light Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightGreen",{get:function(){var e=t.fromArgb(144,238,144);return e.name="Light Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightPink",{get:function(){var e=t.fromArgb(255,182,193);return e.name="Light Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSalmon",{get:function(){var e=t.fromArgb(255,160,122);return e.name="Light Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSeaGreen",{get:function(){var e=t.fromArgb(32,178,170);return e.name="Light Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSkyBlue",{get:function(){var e=t.fromArgb(135,206,250);return e.name="Light Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSlateGray",{get:function(){var e=t.fromArgb(119,136,153);return e.name="Light Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightSteelBlue",{get:function(){var e=t.fromArgb(176,196,222);return e.name="Light Steel Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lightYellow",{get:function(){var e=t.fromArgb(255,255,224);return e.name="Light Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"lime",{get:function(){var e=t.fromArgb(0,255,0);return e.name="Lime",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"limeGreen",{get:function(){var e=t.fromArgb(50,205,50);return e.name="Lime Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"linen",{get:function(){var e=t.fromArgb(250,240,230);return e.name="Linen",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"magenta",{get:function(){var e=t.fromArgb(255,0,255);return e.name="Magenta",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"maroon",{get:function(){var e=t.fromArgb(128,0,0);return e.name="Maroon",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumAquamarine",{get:function(){var e=t.fromArgb(102,205,170);return e.name="Medium Aquamarine",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumBlue",{get:function(){var e=t.fromArgb(0,0,205);return e.name="Medium Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumOrchid",{get:function(){var e=t.fromArgb(186,85,211);return e.name="Medium Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumPurple",{get:function(){var e=t.fromArgb(147,112,219);return e.name="Medium Purple",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSeaGreen",{get:function(){var e=t.fromArgb(60,179,113);return e.name="Medium Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSlateBlue",{get:function(){var e=t.fromArgb(123,104,238);return e.name="Medium Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumSpringGreen",{get:function(){var e=t.fromArgb(0,250,154);return e.name="Medium Spring Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumTurquoise",{get:function(){var e=t.fromArgb(72,209,204);return e.name="Medium Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mediumVioletRed",{get:function(){var e=t.fromArgb(199,21,133);return e.name="Medium Violet Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"midnightBlue",{get:function(){var e=t.fromArgb(25,25,112);return e.name="Midnight Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mintCream",{get:function(){var e=t.fromArgb(245,255,250);return e.name="Mint Cream",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mistyRose",{get:function(){var e=t.fromArgb(255,228,225);return e.name="Misty Rose",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"moccasin",{get:function(){var e=t.fromArgb(255,228,181);return e.name="Moccasin",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"navajoWhite",{get:function(){var e=t.fromArgb(255,222,173);return e.name="Navajo White",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"navy",{get:function(){var e=t.fromArgb(0,0,128);return e.name="Navy",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"oldLace",{get:function(){var e=t.fromArgb(253,245,230);return e.name="Old Lace",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"olive",{get:function(){var e=t.fromArgb(128,128,0);return e.name="Olive",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"oliveDrab",{get:function(){var e=t.fromArgb(107,142,35);return e.name="Olive Drab",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orange",{get:function(){var e=t.fromArgb(255,165,0);return e.name="Orange",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orangeRed",{get:function(){var e=t.fromArgb(255,69,0);return e.name="Orange Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"orchid",{get:function(){var e=t.fromArgb(218,112,214);return e.name="Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleGoldenrod",{get:function(){var e=t.fromArgb(238,232,170);return e.name="Pale Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleGreen",{get:function(){var e=t.fromArgb(152,251,152);return e.name="Pale Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleTurquoise",{get:function(){var e=t.fromArgb(175,238,238);return e.name="Pale Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"paleVioletRed",{get:function(){var e=t.fromArgb(219,112,147);return e.name="Pale Violet Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"papayaWhip",{get:function(){var e=t.fromArgb(255,239,213);return e.name="Papaya Whip",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"peachPuff",{get:function(){var e=t.fromArgb(255,218,185);return e.name="Peach Puff",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"peru",{get:function(){var e=t.fromArgb(205,133,63);return e.name="Peru",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"pink",{get:function(){var e=t.fromArgb(255,192,203);return e.name="Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"plum",{get:function(){var e=t.fromArgb(221,160,221);return e.name="Plum",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"powderBlue",{get:function(){var e=t.fromArgb(176,224,230);return e.name="Powder Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"purple",{get:function(){var e=t.fromArgb(128,0,128);return e.name="Purple",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"red",{get:function(){var e=t.fromArgb(255,0,0);return e.name="Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rosyBrown",{get:function(){var e=t.fromArgb(188,143,143);return e.name="Rosy Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"royalBlue",{get:function(){var e=t.fromArgb(65,105,225);return e.name="Royal Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"saddleBrown",{get:function(){var e=t.fromArgb(139,69,19);return e.name="Saddle Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"salmon",{get:function(){var e=t.fromArgb(250,128,114);return e.name="Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sandyBrown",{get:function(){var e=t.fromArgb(244,164,96);return e.name="Sandy Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"seaGreen",{get:function(){var e=t.fromArgb(46,139,87);return e.name="Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"seaShell",{get:function(){var e=t.fromArgb(255,245,238);return e.name="Sea Shell",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sienna",{get:function(){var e=t.fromArgb(160,82,45);return e.name="Sienna",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"silver",{get:function(){var e=t.fromArgb(192,192,192);return e.name="Silver",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"skyBlue",{get:function(){var e=t.fromArgb(135,206,235);return e.name="Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"slateBlue",{get:function(){var e=t.fromArgb(106,90,205);return e.name="Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"slateGray",{get:function(){var e=t.fromArgb(112,128,144);return e.name="Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"snow",{get:function(){var e=t.fromArgb(255,250,250);return e.name="Snow",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"springGreen",{get:function(){var e=t.fromArgb(0,255,127);return e.name="Spring Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"steelBlue",{get:function(){var e=t.fromArgb(70,130,180);return e.name="Steel Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"tan",{get:function(){var e=t.fromArgb(210,180,140);return e.name="Tan",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"teal",{get:function(){var e=t.fromArgb(0,128,128);return e.name="Teal",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"thistle",{get:function(){var e=t.fromArgb(216,191,216);return e.name="Thistle",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"tomato",{get:function(){var e=t.fromArgb(255,99,71);return e.name="Tomato",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"turquoise",{get:function(){var e=t.fromArgb(64,224,208);return e.name="Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"violet",{get:function(){var e=t.fromArgb(238,130,238);return e.name="Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"wheat",{get:function(){var e=t.fromArgb(245,222,179);return e.name="Wheat",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"white",{get:function(){var e=t.fromArgb(255,255,255);return e.name="White",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"whiteSmoke",{get:function(){var e=t.fromArgb(245,245,245);return e.name="White Smoke",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"yellow",{get:function(){var e=t.fromArgb(255,255,0);return e.name="Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"yellowGreen",{get:function(){var e=t.fromArgb(154,205,50);return e.name="Yellow Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"transparent",{get:function(){var e=t.fromArgb(0,255,255,255);return e.name="Transparent",e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"empty",{get:function(){var e=t.fromArgb(0,255,255,255);return e.name="Empty",e},enumerable:!1,configurable:!0}),t.fromName=function(r){var n=t[r=(r=r.replace(/ /gi,"")).charAt(0).toLowerCase()+r.substr(1)];if(n instanceof t)return n;throw e.StiString.format("Color.fromName(name); Color name {0} not found.",r)},Object.defineProperty(t.prototype,"a",{get:function(){return this._a},set:function(e){this._a=e,this.name=t.customName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"r",{get:function(){return this._r},set:function(e){this._r=e,this.name=t.customName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){return this._g},set:function(e){this._g=e,this.name=t.customName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){return this._b},set:function(e){this._b=e,this.name=t.customName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNamedColor",{get:function(){return this.name!=t.customName},enumerable:!1,configurable:!0}),t.prototype.equals=function(e){if(null!=e)return 0==e._a&&255==e._r&&255==e._g&&255==e._b||0==this._a&&255==this._r&&255==this._g&&255==this._b?this._a==e._a:this._a==e._a&&this._r==e._r&&this._g==e._g&&this._b==e._b;return!1},t.prototype.toString=function(){return e.StiString.format("rgba({0},{1},{2},{3})",this.r,this.g,this.b,this.a/255)},t.fromArgb=function(e,r,n,i){void 0===n?(i=r._b,n=r._g,r=r._r):void 0===i&&(i=n,n=r,r=e,e=255);var a=new t;return a._a=e,a._r=r,a._g=n,a._b=i,a.name=t.customName,a},t.prototype.toArgb=function(){var e=this._a<<24;return e+=this._r<<16,e+=this._g<<8,e+=this._b},t.prototype.getHashCode=function(){return this.toArgb()},t.customName="Custom",t}();t.Color=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(){}return t.toHtml=function(e){return this.toHtml2(e,!0)},t.toHtml2=function(t,r){var n="";if(t.isNamedColor&&r){if(t.stimulsoft.equals(e.Color.lightGray))return"LightGrey";return t.name.stimulsoft.replaceAll(" ","")}var i=t.r.toString(16),a=t.g.toString(16),o=t.b.toString(16);return 1==i.length&&(i="0"+i),1==a.length&&(a="0"+a),1==o.length&&(o="0"+o),("#"+i+a+o).toUpperCase()},t.fromHtml=function(t){var r=0,n="FF";t.stimulsoft.startsWith("0x")&&(t="#"+t.substring(2)),t.stimulsoft.startsWith("#")&&4==t.length&&(t+=t.substring(1)),t.length>7&&(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;d<y.count;d++){var f=y.keys[d],h=m;d>0&&(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;o<a.count;o++)if(n==a.keys[o])return 0==o?e:t.Enum.getName(r.FontStyle,a.keys[o])+"_"+e;return e},i.allowStyle=function(e,t){var r=i.opentypeFonts.get(e);if(r)return r.count<2;return!0},i.measureString=function(n,a,o,s,u,l,m){var y,d,f;if(void 0===o&&(o=null),void 0===s&&(s=!0),void 0===u&&(u=1),void 0===l&&(l=0),void 0===m&&(m=!1),t.StiString.isNullOrEmpty(n))return new r.Size(0,0);var h="pt";a.unit==r.GraphicsUnit.Pixel&&(h="px");var c=o&&o>0?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;z<B.length;z++){var J=B[z],G=0;J.advanceWidth&&(G+=J.advanceWidth),z<B.length-1&&(G+=w.getKerningValue(J,B[z+1]),G+=J.leftSideBearing*this.measureBearingScale),x+=G*=_,c&&(L[z]=G,this.isWordWrapSymbol(E,z)&&z>0&&W++,R[z]=W)}if(c&&x>c){var K=0;while(K<B.length){x=0;var q=R[K];while(K<B.length&&x+L[K]<c)x+=L[K],K++;if(K<B.length)if(R[K]>q)if(R[K]!=R[K-1])while(K<B.length&&t.Char.isWhitespace(E,K)&&"\t"!=E.charAt(K))K++;else while(K>0&&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("<br>").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<t;u++){var l=e[u];if(32==l){var m=.55,y=new r.Size(0,0),d=new r.Size(0,1);while(y.height<d.height)m-=.05,y=i.measureString("a",n,null,!1,m),d=i.measureString("a a",n,null,!1,m);var f=i.measureString("aa",n,null,!1,m);a=new r.Size(d.width-f.width,0)}else a=l>=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 t<s&&r<u&&n>a&&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<e.right&&(this.width+=e.right-this.right),this.bottom<e.bottom&&(this.height+=e.bottom-this.bottom),this},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.width&&0==this.height&&0==this.x&&0==this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmptyF",{get:function(){return 0==this.width&&0==this.height},enumerable:!1,configurable:!0}),t.prototype.contains=function(e,t){if(this.x<=e&&e<this.x+this.width&&this.y<=t)return t<this.y+this.height;return!1},t.convertFromXml=function(e){var r=e.split(",");return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber())},Object.defineProperty(t.prototype,"left",{get:function(){return this.x},set:function(e){this.width+=this.x-e,this.x=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},set:function(e){this.height+=this.y-e,this.y=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},set:function(e){this.width=e-this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},set:function(e){this.height=e-this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"location",{get:function(){return new e.Point(this.x,this.y)},set:function(e){this.x=e.x,this.y=e.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return new e.Size(this.width,this.height)},set:function(e){this.width=e.width,this.height=e.height},enumerable:!1,configurable:!0}),t}();e.Rectangle=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 e(e,t){this.width=0,this.height=0,this.width=e,this.height=t}return Object.defineProperty(e,"empty",{get:function(){return new e(0,0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0==this.width&&0==this.height},enumerable:!1,configurable:!0}),e.prototype.isDefault=function(){return 0==this.width&&0==this.height},e.prototype.swap=function(){var e=this.height;return this.height=this.width,this.width=e,this},e.prototype.round=function(e){return void 0===e&&(e=0),this.width=Math.round2(this.width,e),this.height=Math.round2(this.height,e),this},e.convertFromXml=function(t){var r=t.split(",");return new e(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber())},e}();e.Size=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){function t(t){var r=e.call(this)||this;return r.color=t,r}return __extends(t,e),t}(e.Brush);e.SolidBrush=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["Near"]=0]="Near",e[e["Center"]=1]="Center",e[e["Far"]=2]="Far"}(t=e.StringAlignment||(e.StringAlignment={}))}(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(){this.lineAlignment=e.StringAlignment.Near}return t}();e.StringFormat=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["DirectionRightToLeft"]=1]="DirectionRightToLeft",e[e["DirectionVertical"]=2]="DirectionVertical",e[e["FitBlackBox"]=4]="FitBlackBox",e[e["DisplayFormatControl"]=32]="DisplayFormatControl",e[e["NoFontFallback"]=1024]="NoFontFallback",e[e["MeasureTrailingSpaces"]=2048]="MeasureTrailingSpaces",e[e["NoWrap"]=4096]="NoWrap",e[e["LineLimit"]=8192]="LineLimit",e[e["NoClip"]=16384]="NoClip"}(t=e.StringFormatFlags||(e.StringFormatFlags={}))}(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["None"]=0]="None",e[e["Character"]=1]="Character",e[e["Word"]=2]="Word",e[e["EllipsisCharacter"]=3]="EllipsisCharacter",e[e["EllipsisWord"]=4]="EllipsisWord",e[e["EllipsisPath"]=5]="EllipsisPath"}(t=e.StringTrimming||(e.StringTrimming={}))}(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(){}return r.getWeekOfYear=function(r,n,i){switch(void 0===n&&(n=t.CalendarWeekRule.FirstDay),void 0===i&&(i=e.DayOfWeek.Monday),n){case t.CalendarWeekRule.FirstDay:return this.getFirstDayWeekOfYear(r,i);case t.CalendarWeekRule.FirstFullWeek:return this.getWeekOfYearFullDays(r,i,7,365);case t.CalendarWeekRule.FirstFourDayWeek:return this.getWeekOfYearFullDays(r,i,4,365)}return 0},r.getFirstDayWeekOfYear=function(e,t){var r=e.dayOfYear-1,n,i=(e.dayOfWeek-r%7-t+14)%7;return Math.trunc((r+i)/7)+1},r.getWeekOfYearFullDays=function(e,t,r,n){var i=e.dayOfYear-1,a=e.dayOfWeek-i%7,o=(t-a+14)%7;0!=o&&o>=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;M<b;M++)p[M]=255&f.charCodeAt(M);return f=null,p}return u.responseText}}catch(e){}},r.getFileAsync=function(r,n,i,a){void 0===i&&(i=!1),void 0===a&&(a="");try{var o=new XMLHttpRequest;try{o.open("get",n,!0),t.StiString.isNullOrEmpty(a)||o.setRequestHeader("Content-Type",a)}catch(t){e.System.StiError.showError('File "'+n+'" not found',!0),r(null)}var s=!1;if(i){try{o.responseType="arraybuffer",s=!0}catch(e){s=!1}s||("overrideMimeType"in o?o.overrideMimeType("text/plain; charset=x-user-defined"):o.setRequestHeader("Accept-Charset","x-user-defined"))}o.onreadystatechange=function(){if(o.readyState!=XMLHttpRequest.DONE)return;if(200==o.status){if(i){if(s){var e=new Uint8Array(o.response,0);return void r(e)}for(var t=new ArrayBuffer(o.response.length),n=new Uint8Array(t),a=0,u=o.response.length;a<u;a++)n[a]=255&o.response.charCodeAt(a);return void r(n)}return void r(o.responseText)}},o.send()}catch(e){r(null)}},r}();r.Http=n}(r=t.IO||(t.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(){function r(e){void 0===e&&(e=null),this._origin=0,this._position=0,this._buffer=[],null!=e&&this._buffer.stimulsoft.addRange(e)}return Object.defineProperty(r.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this._buffer.length-this._origin},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"canSeek",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"canWrite",{get:function(){return!0},enumerable:!1,configurable:!0}),r.prototype.setLength=function(e){this._buffer=this._buffer.slice(0,e)},r.prototype.toArray=function(){return this._buffer},r.prototype.writeTo=function(e){e.write(this._buffer,0,null!=this._buffer?this._buffer.length:0)},r.prototype.writeByte=function(e){this._buffer[this._position++]=e},r.prototype.write=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=0;n<r;n++)this._buffer[this._position++]=e[t+n]},r.prototype.writeBytes=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=0;n<r;n++)this._buffer[this._position++]=e[t+n]},r.prototype.writeLine1=function(t){void 0===t&&(t=null);for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=null;e.StiString.isNullOrEmpty(t)||(i=e.StiString.format1(t,r)),this.writeString(i,!0)},r.prototype.writeLine=function(e){void 0===e&&(e=null),this.writeString(e,!0)},r.prototype.writeString=function(e,t){if(void 0===t&&(t=!1),null!=e)for(var r=0;r<e.length;r++)this._buffer[this._position++]=255&e.charCodeAt(r);t&&(this._buffer[this._position++]=13,this._buffer[this._position++]=10)},r.prototype.read=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=t;n<t+r;n++){if(this._position+1>this.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||i<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=i;break;case t.SeekOrigin.Current:if(i=this._position+e,this._position+e<this._origin||i<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=i;break;case t.SeekOrigin.End:if(i=this.length+e,this.length+e<this._origin||i<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=i;break;default:throw new Error("Argument_InvalidSeekOrigin")}return this._position},r.prototype.flush=function(){},r.prototype.close=function(){this._position=0,this._buffer=null},r.prototype.copyTo=function(e){for(var t=0;t<this.length;t++)e._buffer[t]=this._buffer[t]},r.memStreamMaxLength=Number.MAX_VALUE,r}();t.MemoryStream=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(){}return e.Combine=function(e,t){if(!e)return t;if(!t)return e;return e.stimulsoft.trimEnd("\\"),t.stimulsoft.trimStart("\\"),e+"\\"+t},e.getFileNameWithoutExtension=function(e){var t=e.lastIndexOf(".");return t>0&&(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;t<arguments.length;t++)e[t]=arguments[t];return this.appendThese(e),this},t.prototype.appendCount=function(e,t){if(void 0===t&&(t=1),null!=e){e=e.toString();for(var r=0;r<t;r++)this.partArray.push(e);this.isNew=!0}return this},t.prototype.appendLine=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.appendLines(e),this},t.prototype.appendLines=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;null!=a&&(this.appendSingle(a),this.partArray.push("\r\n"),this.isNew=!0)}}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.appendFormat=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return this.append(e.StiString.format1(t,r))},t.prototype.insert=function(e,t,r){void 0===r&&(r=1);for(var n=e;n<e+r;n++)this.partArray.splice(n,0,t),this.isNew=!0;return this},t.prototype.remove=function(e,t){for(var r=e;r<e+t;r++)this.partArray.stimulsoft.removeAt(e),this.isNew=!0;return this},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.partArray.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this.toString(),this.latest.length},set:function(e){var t=this.length;if(e>t){for(var r="",n=0;n<e-t;n++)r+=" ";this.partArray.push(r)}else if(e<t){var i=this.toString();this.clear(),this.append(i.substr(0,e))}},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return this.isNew&&(this.latest=this.partArray.join("")),this.isNew=!1,this.latest},t.prototype.join=function(e){return this.partArray.join(e)},t.prototype.clear=function(){this.partArray.length=0,this.isNew=!0},t.prototype.dispose=function(){this.clear()},t.prototype.charAt=function(e){return this.toString().charAt(e)},t.prototype.charCodeAt=function(e){return this.toString().charCodeAt(e)},t.prototype.setByIndex=function(e,t){var r=this.toString();r=(e>0?r.substring(0,e):"")+t+(e+1<r.length?r.substring(e+1):""),this.clear(),this.append(r)},t.prototype.formatError=function(e){throw void 0===e&&(e=""),new Error("Format_InvalidString"+e)},t.prototype.replace=function(e,t){return this.isNew=!0,this.partArray=[this.toString().split(e).join(t)],this},t}();t.StringBuilder=r}(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.Text.StringBuilder,n=function(){function e(){this.sb=new r}return e.prototype.write=function(e){this.sb.append(e)},e.prototype.writeLine=function(e){void 0===e&&(e=null),null==e?this.sb.appendLine(""):this.sb.appendLine(e)},e.prototype.close=function(){},e.prototype.flush=function(){},e.prototype.getStringBuilder=function(){return this.sb},e}();t.TextWriter=n}(r=t.IO||(t.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Text.Encoding,n,i=function(e){function t(t,n){void 0===n&&(n=r.UTF8);var i=e.call(this)||this;return i.cn="\r\n".stimulsoft.toBytesArray(),i.stream=t,i.encoding=n,i}return __extends(t,e),t.prototype.writeLine=function(e){this.write(e),this.stream.write(this.cn)},t.prototype.write=function(e){null!=e&&this.stream.write(this.encoding.getBytes(e))},t.prototype.close=function(){this.stream.close()},t.prototype.flush=function(){this.stream.flush()},t}(e.System.IO.TextWriter);t.StreamWriter=i}(r=t.IO||(t.IO={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Color,n=function(){function t(){}return t.convertStringToColorArray=function(e){var t,r,n=[];if(e.length>0)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;o<e.length;o++){var s=e.charCodeAt(o);10==s?(r.push(this.trimEndWhiteSpace2(a.toString(),t)),a.clear()):t&&i.isControl(e,o)&&9!=s||a.append(e.charAt(o))}return a.length>0&&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<u.length;m++){var y=u[m],d=new n,f=0;while(f<y.length)if(i.isWhitespace(y,f))d.append(y.charAt(f)),f++;else{var h=new n;while(f<y.length&&!i.isWhitespace(y,f))h.append(y.charAt(f)),f++;d.append(h)}var c=[],p;y=d.toString();for(var M=0;M<y.length;M++)c[M]=y.charCodeAt(M);for(var b=t.StiArray.create(Number,y.length),g=t.StiArray.create(Number,y.length),v=0,S=0,w=0;w<c.length;w++)c[w]>=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;n<e.length;n+=2)for(var i=parseInt(e.charAt(n+1)),a=parseInt(e.charAt(n));a<=i;a++)t.s_CharProperties[a]|=r},t.fWhitespace=1,t.fLetter=2,t.fNCStartName=4,t.fNCName=8,t.fCharData=16,t.fPublicId=32,t.fText=64,t.fAttrValue=128,t.charPropertiesSize=0,t.s_Whitespace="\t\n\r\r ",t.s_Letter="AZazÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁΆΆΈΊ"+"ΌΌΎΡΣώϐϖ"+"ϚϚϜϜϞϞϠϠ"+"ϢϳЁЌЎяёќ"+"ўҁҐӄӇӈӋӌ"+"ӐӫӮӵӸӹԱՖ"+"ՙՙաֆאתװײ"+"ءغفيٱڷںھ"+"ۀێېۓەەۥۦ"+"अहऽऽक़ॡঅঌ"+"এঐওনপরলল"+"শহড়ঢ়য়ৡৰৱ"+"ਅਊਏਐਓਨਪਰ"+"ਲਲ਼ਵਸ਼ਸਹਖ਼ੜ"+"ਫ਼ਫ਼ੲੴઅઋઍઍ"+"એઑઓનપરલળ"+"વહઽઽૠૠଅଌ"+"ଏଐଓନପରଲଳ"+"ଶହଽଽଡ଼ଢ଼ୟୡ"+"அஊஎஐஒகஙச"+"ஜஜஞடணதநப"+"மவஷஹఅఌఎఐ"+"ఒనపళవహౠౡ"+"ಅಌಎಐಒನಪಳ"+"ವಹೞೞೠೡഅഌ"+"എഐഒനപഹൠൡ"+"กฮะะาำเๅ"+"ກຂຄຄງຈຊຊ"+"ຍຍດທນຟມຣ"+"ລລວວສຫອຮ"+"ະະາຳຽຽເໄ"+"ཀཇཉཀྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼΩΩKÅ℮℮"+"ↀↂ〇〇〡〩ぁゔ"+"ァヺㄅㄬ一龥가힣",t.s_NCStartName="AZ__az"+"ÀÖØöøıĴľ"+"ŁňŊžƀǃǍǰ"+"ǴǵǺȗɐʨʻˁ"+"ΆΆΈΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"ЎяёќўҁҐӄ"+"ӇӈӋӌӐӫӮӵ"+"ӸӹԱՖՙՙաֆ"+"אתװײءغفي"+"ٱڷںھۀێېۓ"+"ەەۥۦअहऽऽ"+"क़ॡঅঌএঐওন"+"পরললশহড়ঢ়"+"য়ৡৰৱਅਊਏਐ"+"ਓਨਪਰਲਲ਼ਵਸ਼"+"ਸਹਖ਼ੜਫ਼ਫ਼ੲੴ"+"અઋઍઍએઑઓન"+"પરલળવહઽઽ"+"ૠૠଅଌଏଐଓନ"+"ପରଲଳଶହଽଽ"+"ଡ଼ଢ଼ୟୡஅஊஎஐ"+"ஒகஙசஜஜஞட"+"ணதநபமவஷஹ"+"అఌఎఐఒనపళ"+"వహౠౡಅಌಎಐ"+"ಒನಪಳವಹೞೞ"+"ೠೡഅഌഎഐഒന"+"പഹൠൡกฮะะ"+"าำเๅກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະະາຳ"+"ຽຽເໄཀཇཉཀྵ"+"ႠჅაჶᄀᄀᄂᄃ"+"ᄅᄇᄉᄉᄋᄌᄎᄒ"+"ᄼᄼᄾᄾᅀᅀᅌᅌ"+"ᅎᅎᅐᅐᅔᅕᅙᅙ"+"ᅟᅡᅣᅣᅥᅥᅧᅧ"+"ᅩᅩᅭᅮᅲᅳᅵᅵ"+"ᆞᆞᆨᆨᆫᆫᆮᆯ"+"ᆷᆸᆺᆺᆼᇂᇫᇫ"+"ᇰᇰᇹᇹḀẛẠỹ"+"ἀἕἘἝἠὅὈὍ"+"ὐὗὙὙὛὛὝὝ"+"Ὗώᾀᾴᾶᾼιι"+"ῂῄῆῌῐΐῖΊ"+"ῠῬῲῴῶῼΩΩ"+"KÅ℮℮ↀↂ〇〇"+"〡〩ぁゔァヺㄅㄬ"+"一龥가힣",t.s_NCName="-.09AZ__"+"az··ÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁːˑ̀ͅ"+"͠͡ΆΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"Ўяёќўҁ҃҆"+"ҐӄӇӈӋӌӐӫ"+"ӮӵӸӹԱՖՙՙ"+"աֆֹֻֽ֑֣֡"+"ֿֿׁׂׄׄאת"+"װײءغـْ٠٩"+"ٰڷںھۀێېۓ"+"ە۪ۭۨ۰۹ँः"+"अह़्॑॔क़ॣ"+"०९ঁঃঅঌএঐ"+"ওনপরললশহ"+"়়াৄেৈো্"+"ৗৗড়ঢ়য়ৣ০ৱ"+"ਂਂਅਊਏਐਓਨ"+"ਪਰਲਲ਼ਵਸ਼ਸਹ"+"਼਼ਾੂੇੈੋ੍"+"ਖ਼ੜਫ਼ਫ਼੦ੴઁઃ"+"અઋઍઍએઑઓન"+"પરલળવહ઼ૅ"+"ેૉો્ૠૠ૦૯"+"ଁଃଅଌଏଐଓନ"+"ପରଲଳଶହ଼ୃ"+"େୈୋ୍ୖୗଡ଼ଢ଼"+"ୟୡ୦୯ஂஃஅஊ"+"எஐஒகஙசஜஜ"+"ஞடணதநபமவ"+"ஷஹாூெைொ்"+"ௗௗ௧௯ఁఃఅఌ"+"ఎఐఒనపళవహ"+"ాౄెైొ్ౕౖ"+"ౠౡ౦౯ಂಃಅಌ"+"ಎಐಒನಪಳವಹ"+"ಾೄೆೈೊ್ೕೖ"+"ೞೞೠೡ೦೯ംഃ"+"അഌഎഐഒനപഹ"+"ാൃെൈൊ്ൗൗ"+"ൠൡ൦൯กฮะฺ"+"เ๎๐๙ກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະູົຽ"+"ເໄໆໆ່ໍ໐໙"+"༘༙༠༩༵༵༷༷"+"༹༹༾ཇཉཀྵ྄ཱ"+"྆ྋྐྕྗྗྙྭ"+"ྱྷྐྵྐྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼ⃐⃜⃡⃡ΩΩ"+"KÅ℮℮ↀↂ々々"+"〇〇〡〯〱〵ぁゔ"+"゙゚ゝゞァヺーヾ"+"ㄅㄬ一龥가힣",t.s_CharData="\t\n\r\r <ED9FBF>",t.s_PublicID="\n\n\r\r !#%"+"';==?Z__"+"az",t.s_Text=" %';=\\^<ED9FBF>",t.s_AttrValue=" !#%(;==?<ED9FBF>",t}();t.XmlCharType=r}(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(){}return e.NsCollationBase="http://collations.microsoft.com",e.NsCollCodePoint="http://www.w3.org/2004/10/xpath-functions/collation/codepoint",e.NsDataType="urn:schemas-microsoft-com:datatypes",e.NsDataTypeAlias="uuid:C2F41010-65B3-11D1-A29F-00AA00C14882",e.NsDataTypeOld="urn:uuid:C2F41010-65B3-11D1-A29F-00AA00C14882/",e.NsExsltCommon="http://exslt.org/common",e.NsExsltDates="http://exslt.org/dates-and-times",e.NsExsltMath="http://exslt.org/math",e.NsExsltRegExps="http://exslt.org/regular-expressions",e.NsExsltSets="http://exslt.org/sets",e.NsExsltStrings="http://exslt.org/strings",e.NsMsxsl="urn:schemas-microsoft-com:xslt",e.NsWdXsl="http://www.w3.org/TR/WD-xsl",e.NsXdr="urn:schemas-microsoft-com:xml-data",e.NsXdrAlias="uuid:BDC6E3F0-6DA3-11D1-A2A3-00AA00C14882",e.NsXml="http://www.w3.org/XML/1998/namespace",e.NsXmlNs="http://www.w3.org/2000/xmlns/",e.NsXQueryDataType="http://www.w3.org/2003/11/xpath-datatypes",e.NsXQueryFunc="http://www.w3.org/2003/11/xpath-functions",e.NsXs="http://www.w3.org/2001/XMLSchema",e.NsXsd="http://www.w3.org/2001/XMLSchema-datatypes",e.NsXsi="http://www.w3.org/2001/XMLSchema-instance",e.NsXslDebug="urn:schemas-microsoft-com:xslt-debug",e.NsXslt="http://www.w3.org/1999/XSL/Transform",e.NsXsltInternal="http://schemas.microsoft.com/framework/2003/xml/xslt/internal",e}();e.XmlReservedNs=t}(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(e){e[e["Default"]=1]="Default",e[e["None"]=0]="None",e[e["Preserve"]=2]="Preserve"}(t=e.XmlSpace||(e.XmlSpace={}))}(t=e.Xml||(e.Xml={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Text.StringBuilder,n=function(){function e(e){this.surHighStart=55296,this.surHighEnd=56319,this.surLowStart=56320,this.surLowEnd=57343,this.textWriter=e,this.quoteChar='"',this.xmlCharType=t.XmlCharType.instance}return e.prototype.startAttribute=function(e){this.inAttribute=!0,this.cacheAttrValue=e,e&&(null==this.attrValue?this.attrValue=new r:this.attrValue.clear())},e.prototype.endAttribute=function(){this.cacheAttrValue&&this.attrValue.clear(),this.inAttribute=!1,this.cacheAttrValue=!1},Object.defineProperty(e.prototype,"attributeValue",{get:function(){return this.cacheAttrValue?this.attrValue.toString():""},enumerable:!1,configurable:!0}),e.prototype.writeSurrogateChar=function(e,t){e.charCodeAt(0)<this.surLowStart||e.charCodeAt(0)>this.surLowEnd||t.charCodeAt(0)<this.surHighStart||(t.charCodeAt(0),this.surHighEnd),this.textWriter.write(t),this.textWriter.write(e)},e.prototype.write=function(e){if(null==e)return;return this.cacheAttrValue&&this.attrValue.append(e),void this.textWriter.write(e.replace(/&/g,"&").replace(/</g,"<").replace(/>/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&&r<this.nsTop&&this.popNamespaces(r+1,this.nsTop),this.nsTop=r,this.top--}catch(t){e.System.StiError.showError(t,!1),this.currentState=y.Error}},f.prototype.writeEndStartTag=function(e){this.xmlEncoder.startAttribute(!1);for(var t=this.nsTop;t>this.stack[this.top].prevNsTop;t--)this.nsStack[t].declared||(this.textWriter.write(" xmlns"),this.textWriter.write(":"),this.textWriter.write(this.nsStack[t].prefix),this.textWriter.write("="),this.textWriter.write(this.quoteChar),this.xmlEncoder.write(this.nsStack[t].ns),this.textWriter.write(this.quoteChar));this.stack[this.top].defaultNs!=this.stack[this.top-1].defaultNs&&this.stack[this.top].defaultNsState==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("<?"),this.validateName(e,!1),this.textWriter.write(e),this.textWriter.write(" "),null!=t&&this.xmlEncoder.writeRawWithSurrogateChecking(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(i<n&&0!=(this.xmlCharType.charProperties[e.charCodeAt(i)]&r.XmlCharType.fNCName))i++;if(i==n)return;if(":"==e[i]&&!t&&-1==a&&i+1<n){a=i;continue}o=!1}}}else if(0!=(this.xmlCharType.charProperties[e.charCodeAt(0)]&r.XmlCharType.fNCStartName)||":"==e[0]){i++;while(i<n&&(0!=(this.xmlCharType.charProperties[e.charCodeAt(i)]&r.XmlCharType.fNCName)||":"==e[i]))i++;if(i==n)return}},f.prototype.handleSpecialAttribute=function(){var e=this.xmlEncoder.attributeValue;switch(this.specialAttr){case m.XmlLang:this.stack[this.top].xmlLang=e;break;case m.XmlSpace:"default"==(e=e.trim())?this.stack[this.top].xmlSpace=r.XmlSpace.Default:"preserve"==e&&(this.stack[this.top].xmlSpace=r.XmlSpace.Preserve);break;case m.XmlNs:this.verifyPrefixXml(this.prefixForXmlNs,e),this.pushNamespace(this.prefixForXmlNs,e,!0);break}},f.prototype.verifyPrefixXml=function(e,t){null!=e&&3==e.length&&("x"!=e.charAt(0)&&"X"!=e.charAt(0)||"m"!=e.charAt(1)&&"M"!=e.charAt(1)||"l"!=e.charAt(2)&&"L"!=e.charAt(2)||r.XmlReservedNs.NsXml)},f.prototype.pushStack=function(){if(this.top==this.stack.length-1){var e=t.StiArray.create(u,this.stack.length+10,!0);this.top>0&&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<t.length)o=(n=t.charCodeAt(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<t.length)n=(o=this.keyStr.indexOf(t.charAt(m++)))<<2|(s=this.keyStr.indexOf(t.charAt(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;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&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(r<e.length)(n=e.charCodeAt(r))<128?(t+=String.fromCharCode(n),r++):n>191&&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,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,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,14,11,24,26,26,26,26,28,28,27,28,1,22,25,19,28,27,28,25,10,10,27,1,28,24,27,10,1,23,10,10,10,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,25,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,1,0,1,0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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,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,5,5,5,5,5,5,5,5,5,5,5,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,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,5,5,5,5,5,5,5,5,5,3,3,28,24,24,24,3,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,5,5,5,5,3,5,5,5,5,5,5,5,5,5,3,5,5,5,3,5,5,5,5,5,29,29,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,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,5,5,5,29,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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,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,29,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,5,6,6,5,5,5,5,5,5,5,5,5,5,5,24,24,24,3,24,24,24,26,4,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,10,10,10,10,10,10,10,10,10,10,29,29,29,29,29,29,24,24,24,24,24,24,19,24,24,24,24,5,5,5,15,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,5,5,5,6,6,6,6,5,5,6,6,6,29,29,29,29,6,6,5,6,6,6,6,6,6,5,5,5,29,29,29,29,28,29,29,29,24,24,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,10,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,6,5,29,29,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,6,5,5,5,5,5,5,5,29,5,6,5,6,6,5,5,5,5,5,5,5,5,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,29,29,5,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,24,24,24,24,24,24,24,3,24,24,24,24,24,24,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,7,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,5,5,5,6,5,6,6,6,6,6,5,6,6,4,4,4,4,4,4,4,29,29,29,29,8,8,8,8,8,8,8,8,8,8,24,24,24,24,24,24,24,28,28,28,28,28,28,28,28,28,28,5,5,5,5,5,5,5,5,5,28,28,28,28,28,28,28,28,28,29,29,29,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,5,5,5,6,6,5,5,6,5,5,5,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,6,6,6,5,6,5,5,5,6,6,29,29,29,29,29,29,29,29,24,24,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,6,6,5,5,29,29,29,24,24,24,24,24,8,8,8,8,8,8,8,8,8,8,29,29,29,4,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,24,24,24,24,24,24,24,24,29,29,29,29,29,29,29,29,5,5,5,24,5,5,5,5,5,5,5,5,5,5,5,5,5,6,5,5,5,5,5,5,5,4,4,4,4,5,4,4,4,4,6,6,5,4,4,29,5,5,29,29,29,29,29,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3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,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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,24,29,29,29,29,29,29,29,29,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,3,3,3,3,3,3,3,3,3,27,27,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,1,1,1,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,3,27,27,0,1,0,1,4,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,29,29,0,0,0,0,0,1,0,1,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,3,3,1,4,4,4,4,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,5,6,28,28,28,28,29,29,29,29,10,10,10,10,10,10,28,28,26,28,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,24,24,24,24,29,29,29,29,29,29,29,29,6,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,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,29,29,29,29,29,29,29,29,29,24,24,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,21,20,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,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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,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;i<n.byteLength;i++)r+=String.fromCharCode(n[i]);return window&&window.atob?window.btoa(r):t.Base64.encode(r)},r.fromBase64String=function(e){if(void 0===e||null==e)return null;var r=[];try{var n=window&&window.atob?window.atob(e.stimulsoft.replaceAll("\r\n","\n").stimulsoft.replaceAll("\n","")):t.Base64.decode(e);if(this.isUTF16LE(n))return this.fromUTF16LE(n);for(var i=0;i<n.length;i++)r.push(n.charCodeAt(i))}catch(e){}return r},r.fromBase64StringText=function(e){if(window&&window.atob)return window.atob(e).stimulsoft.fromUnicodeString();return t.Base64.decode(e)},r.fromUTF16LE=function(e){var t=[];if(e.stimulsoft.is(Array)||e.stimulsoft.is(Uint8Array))for(var r=e,n=2;n<e.length;n+=2)t.push(r[n]|r[n+1]<<8);else if(e.stimulsoft.is(String))for(var i=e,n=2;n<e.length;n+=2)t.push(i.charCodeAt(n)|i.charCodeAt(n+1)<<8);return t},r.isUTF16LE=function(e){if(e.stimulsoft.is(Array)||e.stimulsoft.is(Uint8Array))return 255==e[0]&&254==e[1];if(e.stimulsoft.is(String))return 255==e.charCodeAt(0)&&254==e.charCodeAt(1);return!1},r.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r}();t.Convert=r}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e[e["Sunday"]=0]="Sunday",e[e["Monday"]=1]="Monday",e[e["Tuesday"]=2]="Tuesday",e[e["Wednesday"]=3]="Wednesday",e[e["Thursday"]=4]="Thursday",e[e["Friday"]=5]="Friday",e[e["Saturday"]=6]="Saturday"}(t=e.DayOfWeek||(e.DayOfWeek={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(e,t){void 0===t&&(t=null),this.name=e,this.value=t}return t.getName=function(e,t){var r="";if(null==e[t]){for(var n in e){var i=+n;0!=i&&(t&i)==i&&(t-=i,r+=(r.length>0?", ":"")+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;s<a.length;s++)void 0===o?o=r[a[s]]:o+=r[a[s]];return o},t.getNames=function(e){var t=[];for(var r in e)"number"!=typeof e[r]&&t.push(e[r]);return t},t.getValues=function(e){var t=[];for(var r in e)"number"!=typeof e[r]&&t.push(+r);return t},t.prototype.toString=function(){return this.name},t.prototype.compareTo=function(e){if(null!=this.value)return this.value.stimulsoft.compareTo(e.value);return this.name.stimulsoft.compareTo(e.name)},t}();e.Enum=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return Object.defineProperty(e,"newLine",{get:function(){return"\r\n"},enumerable:!1,configurable:!0}),e}();e.Environment=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){this.eventList=[]}return Object.defineProperty(e.prototype,"isNull",{get:function(){return 0==this.eventList.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isNotNull",{get:function(){return!this.isNull},enumerable:!1,configurable:!0}),e.prototype.add=function(e,t){this.eventList.push({funct:e,_this:t})},e.prototype.call=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var i=__values(this.eventList),a=i.next();!a.done;a=i.next()){var o=a.value;o.funct.apply(o._this,__spread([o._this],r))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},e}();e.Event=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e}();e.EventArgs=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,n=function(){function e(e){this.args=e.split(",").map((function(e){return e.split(":")[0]})).join(",")}return e.prototype.create=function(t,n){if(r.isNullOrEmpty(t))return null;var i;null!=n?i=n:null!=e._this&&(i=e._this);var a="",o="";null!=i&&"StiReport"==i.constructor.ssTypeName&&(i.dictionary.variables.list.forEach((function(t){r.isNullOrWhiteSpace(t.name)||(a+="var "+e.fixName(t.name)+' = this.getVariable("'+t.name+'");\r\n')})),a+="\r\n",i.dictionary.dataSources.list.forEach((function(t,r){a+="var "+e.fixName(t.name)+" = this.dictionary.dataSources.getByIndex("+r.toString()+");\r\n"})),a+="\r\n",o+=";\r\n\r\n",i.dictionary.variables.list.forEach((function(t){r.isNullOrWhiteSpace(t.name)||(o+='this.setVariable("'+t.name+'", '+e.fixName(t.name)+");\r\n")})));var s="try{\r\n"+' var scriptComponents = "var __report__components__ = this.getComponents();\\r\\n";\r\n'+" let __report__components__ = this.getComponents();\r\n"+" __report__components__.list.forEach(function(component, index){\r\n"+' scriptComponents += "var " + component.name.stimulsoft.replaceAll(" ", "_").stimulsoft.replaceAll(".", "_").stimulsoft.replaceAll(":", "_") + " = __report__components__.getByIndex(" + index.toString() + ");\\r\\n";\r\n'+" });\r\n"+' var script = "'+(a+t+o).stimulsoft.replaceAll('"','\\"').stimulsoft.replaceAll("\r","\\r").stimulsoft.replaceAll("\n","\\n")+'";\r\n'+' var functionn = new Function("'+this.args+'", scriptComponents + script);\r\n'+" functionn.call(this, "+this.args+");\r\n"+"}\r\n"+"catch(e) {\r\n"+" Stimulsoft.System.StiError.showError(e, true);\r\n"+"}",u=new Function(this.args,s);return null!=i&&(u=u.bind(i)),u},e.fixName=function(e){return e.stimulsoft.replaceAll(" ","_").stimulsoft.replaceAll(".","_").stimulsoft.replaceAll(":","_").stimulsoft.replaceAll("-","_").stimulsoft.replaceAll("+","_")},e.create=function(t,r){return e.handler.create(t,r)},e.handler=new e("sender: any, e: EventArgs"),e}();t.EventHandler=n}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(e){function t(t,r){var n=e.call(this,t)||this;return n.innerException=r,n}return __extends(t,e),t}(Error);e.Exception=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(e){this.id=e.toLowerCase()}return e.newGuid=function(){return new e(e.s4()+e.s4()+"-"+e.s4()+"-"+e.s4()+"-"+e.s4()+"-"+e.s4()+e.s4()+e.s4())},e.newGuidString=function(){return e.s4()+e.s4()+e.s4()+e.s4()+e.s4()+e.s4()+e.s4()+e.s4()},e.s4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},e.prototype.toString=function(){return this.id},Object.defineProperty(e,"empty",{get:function(){return new e("00000000-0000-0000-0000-000000000000")},enumerable:!1,configurable:!0}),e.compareTo=function(e){return this.toString().localeCompare(e.toString())},e}();e.Guid=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.ICloneable="ICloneable"}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IComparable="IComparable"}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IFormatProvider="IFormatProvider"}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(){}return t.decode=function(e){return JSON.parse(e)},t.encode=function(e){return JSON.stringify(e)},t.stiPopulateObject=function(r,n){var i,a;if(e.StiObject.isNullOrUndefined(r)||r.stimulsoft.is(String)||r.stimulsoft.is(Number)||r.stimulsoft.is(Boolean)||r.stimulsoft.is(Function))return;if(e.StiObject.isNullOrUndefined(n)||n.stimulsoft.is(String)||n.stimulsoft.is(Number)||n.stimulsoft.is(Boolean)||n.stimulsoft.is(Function))return;var o=e.StiObject.getOwnPropertyNames(r);try{for(var s=__values(o),u=s.next();!u.done;u=s.next()){var l=u.value;Object.prototype.hasOwnProperty.call(n,l)&&(e.StiObject.isNullOrUndefined(n[l])||n[l].stimulsoft.is(String)||n[l].stimulsoft.is(Number)||n[l].stimulsoft.is(Boolean)?n[l]=r[l]:t.stiPopulateObject(r[l],n[l]))}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}},t}();e.JSON2=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),Math.round2=function(e,t){if(void 0===t&&(t=0),Math.trunc(e)==e)return e;var r=e<0?-1:1;if(r<0&&(e=Math.abs(e)),t>0){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<i;a++){var o;e.charAt(a)==this.numberSymbol?r+=t.charAt(n++):r+=e.charAt(a)}return r},e}();e.SwitchSymbolFormatter=t}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e[e["Empty"]=0]="Empty",e[e["Object"]=1]="Object",e[e["DBNull"]=2]="DBNull",e[e["Boolean"]=3]="Boolean",e[e["Char"]=4]="Char",e[e["SByte"]=5]="SByte",e[e["Byte"]=6]="Byte",e[e["Int16"]=7]="Int16",e[e["UInt16"]=8]="UInt16",e[e["Int32"]=9]="Int32",e[e["UInt32"]=10]="UInt32",e[e["Int64"]=11]="Int64",e[e["UInt64"]=12]="UInt64",e[e["Single"]=13]="Single",e[e["Double"]=14]="Double",e[e["Decimal"]=15]="Decimal",e[e["DateTime"]=16]="DateTime",e[e["String"]=18]="String"}(t=e.TypeCode||(e.TypeCode={}))}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.TypeCode,n=function(){function r(){}return r.getTypes=function(){return null==r.types&&(r.types=[a,o,t.Char,t.DateTime,t.TimeSpan,s,u,t.Guid,m,y,h,d,f,c,Object,p,M,g,w,b,v,S,N,e.System.Drawing.Image,I,k,_,T,D,F,P,C,H,A,B,E,x,L,R,W,J,q,z,G,U,K,V,Y,X,Z,Q,$,ee,te,re,ne,ie,ae,se,ue,le,me,ye,de,fe,he,ce,pe,Me,be,ge,Number,Array,Boolean,String]),r.types},r.isValueType=function(r){return r==Boolean||r==a||r==t.Char||r==t.DateTime||r==t.TimeSpan||r==Number||r==l||r==s||r==u||r==t.Guid||r==y||r==d||r==f||r==Object||r==p||r==M||r==String||r==g||r==v||r==S||r==e.System.Drawing.Image||r==I||r==k||r==_||r==T||r==D||r==F||r==P||r==C||r==A||r==E||r==x||r==R||r==W||r==J||r==G||r==K},r}();t.TypeHelper=n;var i=function(){function e(){}return e.prototype.apply=function(e,t){return null},e.prototype.call=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return null},e.prototype.bind=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return null},e.getType=function(e){if(null==e)return null;if("string"==typeof e)return String;if("number"==typeof e)return Number;if("boolean"==typeof e)return Boolean;return e.__proto__?e.__proto__.constructor:Object.getPrototypeOf(e).constructor},e.getTypeName=function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()},e.getTypeCode=function(n){var i;switch(e.getType(n)){case Object:return r.Object;case Boolean:return r.Boolean;case t.Char:return r.Char;case p:return r.SByte;case a:return r.Byte;case y:return r.Int16;case g:return r.UInt16;case d:return r.Int32;case v:return r.UInt32;case f:return r.Int64;case S:return r.UInt64;case M:return r.Single;case u:return r.Double;case Number:case s:return r.Decimal;case t.DateTime:return r.DateTime;case String:return r.String}return r.Empty},e.isNumericType=function(e){if(null==e)return!1;if(p==e)return!0;if(a==e)return!0;if(h==e)return!0;if(w==e)return!0;if(m==e||y==e||d==e||f==e)return!0;if(b==e||g==e||v==e||S==e)return!0;if(c==e)return!0;if(N==e)return!0;if(l==e)return!0;if(u==e)return!0;if(s==e)return!0;if(Number==e)return!0;return!1},e.isIntegerType=function(e){if(null==e)return!1;if(p==e)return!0;if(a==e)return!0;if(h==e)return!0;if(w==e)return!0;if(m==e||y==e||d==e||f==e)return!0;if(b==e||g==e||v==e||S==e)return!0;if(c==e)return!0;if(N==e)return!0;return!1},e.isDateType=function(e){if(null==e)return!1;return e==t.DateTime||e==t.TimeSpan},e.getHashCode=function(e){return 0},e}();t.Type=i,i.prototype=Function.prototype;var a=function(){function e(){}return e}();t.Byte=a;var o=function(){function e(){}return e.getTypeName=function(){return"Byte[]"},e.getNetTypeName=function(){return"System.Byte[]"},e}();t.ByteArray=o;var s=function(){function e(){}return e}();t.Decimal=s;var u=function(){function e(){}return e}();t.Double=u;var l=function(){function e(){}return e}();t.Float=l;var m=function(){function e(){}return e}();t.Int=m;var y=function(){function e(){}return e}();t.Int16=y;var d=function(){function e(){}return e}();t.Int32=d;var f=function(){function e(){}return e}();t.Int64=f;var h=function(){function e(){}return e}();t.Short=h;var c=function(){function e(){}return e}();t.Long=c;var p=function(){function e(){}return e}();t.SByte=p;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(Number);t.Single=M;var b=function(){function e(){}return e}();t.UInt=b;var g=function(){function e(){}return e}();t.UInt16=g;var v=function(){function e(){}return e}();t.UInt32=v;var S=function(){function e(){}return e}();t.UInt64=S;var w=function(){function e(){}return e}();t.UShort=w;var N=function(){function e(){}return e}();t.ULong=N;var j=function(){function e(){}return e}();t.Nullable=j;var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Boolean]"},t}(j);t.NullableBoolean=I;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Byte]"},t}(j);t.NullableByte=k;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Char]"},t}(j);t.NullableChar=_;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.DateTime]"},t}(j);t.NullableDateTime=T;var D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.TimeSpan]"},t}(j);t.NullableTimeSpan=D;var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Decimal]"},t}(j);t.NullableDecimal=F;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Double]"},t}(j);t.NullableDouble=P;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Float]"},t}(j);t.NullableFloat=O;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Guid]"},t}(j);t.NullableGuid=C;var H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Int]"},t}(j);t.NullableInt=H;var A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Int16]"},t}(j);t.NullableInt16=A;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Int32]"},t}(j);t.NullableInt32=E;var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Int64]"},t}(j);t.NullableInt64=x;var B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Short]"},t}(j);t.NullableShort=B;var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Long]"},t}(j);t.NullableLong=L;var R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.SByte]"},t}(j);t.NullableSByte=R;var W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.Single]"},t}(j);t.NullableSingle=W;var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.UInt]"},t}(j);t.NullableUInt=z;var J=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.UInt16]"},t}(j);t.NullableUInt16=J;var G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.UInt32]"},t}(j);t.NullableUInt32=G;var K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.UInt64]"},t}(j);t.NullableUInt64=K;var q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.UShort]"},t}(j);t.NullableUShort=q;var U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"Nullable`1"},t.getNetTypeName=function(){return"System.Nullable`1[System.ULong]"},t}(j);t.NullableULong=U;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"ByteRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.ByteRange"},t}(e.Report.ByteRange);t.StimulsoftByteRange=V;var Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"CharRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.CharRange"},t}(e.Report.CharRange);t.StimulsoftCharRange=Y;var X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DateTimeRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.DateTimeRange"},t}(e.Report.DateTimeRange);t.StimulsoftDateTimeRange=X;var Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DecimalRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.DecimalRange"},t}(e.Report.DecimalRange);t.StimulsoftDecimalRange=Z;var Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DoubleRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.DoubleRange"},t}(e.Report.DoubleRange);t.StimulsoftDoubleRange=Q;var $=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"FloatRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.FloatRange"},t}(e.Report.FloatRange);t.StimulsoftFloatRange=$;var ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"GuidRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.GuidRange"},t}(e.Report.GuidRange);t.StimulsoftGuidRange=ee;var te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"IntRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.IntRange"},t}(e.Report.IntRange);t.StimulsoftIntRange=te;var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"LongRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.LongRange"},t}(e.Report.LongRange);t.StimulsoftLongRange=re;var ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"ShortRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.ShortRange"},t}(e.Report.ShortRange);t.StimulsoftShortRange=ne;var ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"StringRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.StringRange"},t}(e.Report.StringRange);t.StimulsoftStringRange=ie;var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"TimeSpanRange"},t.getNetTypeName=function(){return"Stimulsoft.Report.TimeSpanRange"},t}(e.Report.TimeSpanRange);t.StimulsoftTimeSpanRange=ae;var oe=function(){function e(){}return e}();t.StimulsoftList=oe;var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"BoolList"},t.getNetTypeName=function(){return"Stimulsoft.Report.BoolList"},t}(oe);t.StimulsoftBoolList=se;var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"ByteList"},t.getNetTypeName=function(){return"Stimulsoft.Report.ByteList"},t}(oe);t.StimulsoftByteList=ue;var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"CharList"},t.getNetTypeName=function(){return"Stimulsoft.Report.CharList"},t}(oe);t.StimulsoftCharList=le;var me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DateTimeList"},t.getNetTypeName=function(){return"Stimulsoft.Report.DateTimeList"},t}(oe);t.StimulsoftDateTimeList=me;var ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DecimalList"},t.getNetTypeName=function(){return"Stimulsoft.Report.DecimalList"},t}(oe);t.StimulsoftDecimalList=ye;var de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"DoubleList"},t.getNetTypeName=function(){return"Stimulsoft.Report.DoubleList"},t}(oe);t.StimulsoftDoubleList=de;var fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"FloatList"},t.getNetTypeName=function(){return"Stimulsoft.Report.FloatList"},t}(oe);t.StimulsoftFloatList=fe;var he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"GuidList"},t.getNetTypeName=function(){return"Stimulsoft.Report.GuidList"},t}(oe);t.StimulsoftGuidList=he;var ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"IntList"},t.getNetTypeName=function(){return"Stimulsoft.Report.IntList"},t}(oe);t.StimulsoftIntList=ce;var pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"LongList"},t.getNetTypeName=function(){return"Stimulsoft.Report.LongList"},t}(oe);t.StimulsoftLongList=pe;var Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"ShortList"},t.getNetTypeName=function(){return"Stimulsoft.Report.ShortList"},t}(oe);t.StimulsoftShortList=Me;var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"StringList"},t.getNetTypeName=function(){return"Stimulsoft.Report.StringList"},t}(oe);t.StimulsoftStringList=be;var ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.getTypeName=function(){return"TimeSpanList"},t.getNetTypeName=function(){return"Stimulsoft.Report.TimeSpanList"},t}(oe);t.StimulsoftTimeSpanList=ge}(t=e.System||(e.System={}))}(Stimulsoft||(Stimulsoft={}));;
|
||
var __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.")},__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;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,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=e.System.Drawing.Color,i=e.System.Drawing.FontStyle,n=function(){function t(e,t,i,n){void 0===n&&(n=!1),this.SelectedColor=r.white,this.Name=e,this.Size=t,this.Color=i,this.IsBold=n}return t.prototype.getGdiFont=function(t,r,n){if(void 0===t&&(t=1),void 0===r&&(r=null),void 0===n&&(n=null),null!=n)return new e.System.Drawing.Font(n.fontFamily.name,null!=r?r*t:n.size*t,n.style);var o=this.IsBold?i.Bold:i.Regular;return new e.System.Drawing.Font(this.Name,null!=r?r*t:this.Size*t,o)},t.prototype.getCachedGdiFont=function(){return null==this.cachedFont&&(this.cachedFont=this.getGdiFont()),this.cachedFont},t}(),o=function(){function e(){}return e.font=new n("Arial",12,r.fromArgb(255,140,140,140)),e}(),a=function(){function e(){}return e.color=r.fromArgb(255,43,87,154),e.darkColor=r.fromArgb(255,91,135,202),e}(),s=function(){function e(){}return e.font=new n("Arial",8,r.dimGray),e}(),l=function(){function e(){}return e.checkColor=r.gray,e.indeterminateCheckColor=r.lightGray,e.selectedBorderColor=r.white,e.selectedIndeterminateCheckColor=r.white,e}(),u=function(){function e(){}return e.TitleFont=new n("Arial",12,r.gray),e.ForegroundColor=r.dimGray,e.BackgroundColor=r.white,e.TreeView={ItemHeight:32},e.ComboBox={ItemHeight:32},e.ListBox={ItemHeight:32,CheckBoxWidth:20},e.Table={Font:new n("Arial",10,r.black),BorderColor:r.gainsboro,Height:28,getHeight:function(t,r){return void 0===r&&(r=1),Math.max(e.Table.Height*r,t.getHeight()*r*.8)},Header:{BackgroundColor:r.fromArgb(255,240,240,240)}},e}();t.StiElementConsts=u}(r=t.Dashboard||(t.Dashboard={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=e.System.IO.StreamReader,n=e.System.IO.MemoryStream,o=e.System.Text.Encoding,a=e.System.Data.DataColumn,s=e.System.Data.DataTable,l=e.System.Data.DataSet,u=e.System.Collections.Hashtable,c=function(){function c(){}return c.getTable=function(t,r,i){return void 0===r&&(r=0),void 0===i&&(i=null),this.getTable2(e.System.IO.File.getFile(t,!0),r,i)},c.getDataSet=function(e,i,n,o){var a=this.getTable2(e,n,o);if(null==a)return null;a.tableName=r.isNullOrWhiteSpace(i)?t.StiFileItemTable.defaultCsvTableName:i;var s=new l;return s.enforceConstraints=!1,s.tables.add(a),s},c.getTable2=function(e,l,c,d){var h,m;void 0===l&&(l=0),void 0===c&&(c=null),void 0===d&&(d=!0);var f=new n(e),p,S=(r.isNullOrEmpty(c)?";":c)[0],g=null;0!=l&&(g=1==l?o.Default:o.getEncoding(l));var y=null==g?new i(f):new i(f,g),v=null,b=y.readLine();if(null!=b&&b.length>0){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;x<v.length;x++){var B=v[x].trim();0==B.length&&(B=r.format("Column{0}",x+1)),B=t.StiDataNameValidator.correct(B);var L="",N=0;while(1){if(!P.contains(B+L))break;L=(++N).toString()}B+=L,v[x]=B,P.add(B,B)}var A=new s(t.StiFileItemTable.defaultCsvTableName);if(null!=v)try{for(var F=__values(v),R=F.next();!R.done;R=F.next()){var k=R.value,O,M=new a(k,String);A.columns.add(M)}}catch(e){h={error:e}}finally{try{R&&!R.done&&(m=F.return)&&m.call(F)}finally{if(h)throw h.error}}if(d&&null!=v)while(null!=(b=y.readLine())){0==b.length&&(b=r.fill(S,v.length-1));var C={ref:b},E=this.splitToColumns(C,y,S);b=C.ref;var H=A.newRow(),I=Math.min(H.columns.length,E.length);A.rows.add(H);for(var z=0;z<I;z++)H.setValueByIndex(z,E[z])}return A},c.splitToColumns=function(e,t,r){var i=e.ref,n=[],o="",a=0,s=!1;while(a<i.length){var l=i[a];if(a++,'"'==l&&(s=!s),l==r&&!s){n.push(o),o="";continue}if(o+=l,a==i.length&&s){var u=t.readLine();null!=u&&(i+="\n"+u)}}n.push(o);for(var c=0;c<n.length;c++){var d=n[c];d.length>1&&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;i<t.length;i++)r.isLetterOrDigit(t[i])||"_"==t[i]||(t=t.substr(0,i)+"_"+t.substr(i+1));return(e=t).length>0&&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=<owner>;Database=<id>;Token=<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("<?xml")){var p=n.toXml(f),S=p.getNodeByName("title");null!=S&&(i.tableName=S.textContent);try{for(var g=__values(p.getNodesByName("entry")),y=g.next();!y.done;y=g.next()){var v=y.value,b=v.getNodeByName("content");if(null==b)continue;var C=b.childNodes.firstOrDefault((function(e){return e.localName.stimulsoft.endsWith("properties")}));if(null==C)continue;var T=i.newRow();i.rows.add(T);try{var w=v.getNodeByName("title"),D=i.columns.getByName("Name");null!=w&&null!=i.columns.getByName("Name")&&T.setValue(D,w.textContent)}catch(t){e.System.StiError.showError(t,!1)}try{var P=v.getNodeByName("summary"),D=i.columns.getByName("Description");null!=P&&null!=i.columns.getByName("Description")&&T.setValue(D,P.textContent)}catch(t){e.System.StiError.showError(t,!1)}try{for(var x=(l=void 0,__values(C.childNodes)),B=x.next();!B.done;B=x.next()){var L=B.value;try{var N=L.localName.stimulsoft.replaceAll("d:",""),A=L.textContent,F;null!=(F=i.columns.getByName(N))&&T.setValue(F,A)}catch(t){e.System.StiError.showError(t,!1)}}}catch(e){l={error:e}}finally{try{B&&!B.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}}}catch(e){a={error:e}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}}else{var R=JSON.parse(f);if(null!=R&&null!=R.value&&Array.isArray(R.value))try{for(var k=__values(R.value),O=k.next();!O.done;O=k.next()){var M=O.value,T=i.newRow();for(var E in i.rows.add(T),M){if(E.stimulsoft.startsWith("@odata."))continue;var N=E,H=M[E],F;null!=(F=i.columns.getByName(N))&&T.setValue(F,H)}}}catch(e){c={error:e}}finally{try{O&&!O.done&&(d=k.return)&&d.call(k)}finally{if(c)throw c.error}}}}catch(t){e.System.StiError.showError(t,!1)}},a.prototype.testConnection=function(){try{var r;this.getDefaultWebClient().downloadString(this.address,this.userName,this.password,this.bearerAccessToken)}catch(r){return e.System.StiError.showError(r,!1),t.StiTestConnectionResult.makeWrong(r.message)}return t.StiTestConnectionResult.makeFine()},a.getNetType=function(t){if(r.isNullOrWhiteSpace(t))return null;switch((t=t.toLowerCase()).stimulsoft.startsWith("edm.")&&(t=t.stimulsoft.replaceAll("edm.","")),t){case"int64":return e.System.Int64;case"int32":return e.System.Int32;case"int16":return e.System.Int16;case"byte":return e.System.Byte;case"sbyte":return e.System.SByte;case"int":return e.System.Int32;case"boolean":return Boolean;case"decimal":return e.System.Decimal;case"float":return e.System.Float;case"double":return e.System.Double;case"time":case"datetime":return e.System.DateTime;case"guid":return e.System.Guid;default:return String}},a.getBearerAccessToken=function(e,t,r){try{var i=new XMLHttpRequest,n="grant_type=password"+"&username="+t+"&password="+r,o;if(i.open("POST",e,!1),i.send(n),200==i.status)return JSON.parse(i.responseText)["access_token"]}catch(e){throw e}return null},a.prototype.getDefaultWebClient=function(){var e=this,t={};return t.headers=this.headers,r.isNullOrWhiteSpace(this.addressBearer)||r.isNullOrWhiteSpace(this.bearerAccessToken)&&(this.bearerAccessToken=a.getBearerAccessToken(this.addressBearer,this.userName,this.password)),t.downloadString=function(t,i,n,o){var a;try{var s=new XMLHttpRequest;if(!r.isNullOrWhiteSpace(i)&&r.isNullOrWhiteSpace(o)&&(s.withCredentials=!0),s.open("get",t,!1,i,n),r.isNullOrWhiteSpace(i)&&!r.isNullOrWhiteSpace(o)&&s.setRequestHeader("Authorization","Bearer "+o),null===(a=e.headers)||void 0===a||a.forEach((function(e){return s.setRequestHeader(e.key,e.value)})),s.send(),200==s.status)return s.responseText;throw new Error}catch(e){throw e}},t},a}();t.StiODataHelper=a}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r;!function(t){var r=e.System.Collections.List,i=e.System.StiString,n=function(){function e(){}return e.getConnectionStringKey=function(e,t){if(i.isNullOrWhiteSpace(e))return null;var n,o=new r(e.stimulsoft.split(";",",")).firstOrDefault((function(e){return e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())}));if(null==o)return null;var a=o.indexOf("="),s;if(o.split("=").length<2)return null;var l=o.substr(a+1,o.length-a-1);return l.stimulsoft.startsWith('"')&&l.stimulsoft.endsWith('"')&&(l=l.substr(0,l.length-2)),l},e.getConnectionStringKey2=function(e){if(i.isNullOrWhiteSpace(e))return null;var t;return new r(e.stimulsoft.split(";",",")).firstOrDefault((function(e){return!e.stimulsoft.contains("=")}))},e.setConnectionStringKey=function(e,t,n){if(i.isNullOrWhiteSpace(e))return t+"="+n;var o=new r(e.stimulsoft.split(";",",")).where((function(e){return!e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())}));return i.join(";",o)+";"+t+"="+n},e.removeConnectionStringKey=function(e,t){if(i.isNullOrWhiteSpace(e))return e;var n=new r(e.stimulsoft.split(";",",")).where((function(e){return!e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())}));return i.join(";",n)},e}();t.StiConnectionStringHelper=n}(r=t.Connectors||(t.Connectors={}))}(r=t.Data||(t.Data={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiObject,i=e.System.Data.DataTable,n=e.System.Collections.List,o=e.System.Text.Encoding,a=e.System.StiString,s=e.Base.Data.Connectors.StiConnectionStringHelper,l=e.System.Guid,u=e.System.Convert,c=function(){function e(e){void 0===e&&(e=""),this.stimulsoftClientId="ABPQz3WAKlBBQy07UBdcwkbeAZGG10hu9EpukpQinSUVXOM2iu",this.stimulsoftClientSecret="DAAaTBmTphB0fJfsjdPw2TlzEaWbZyYrRGOA6PMV",this.oauth2Url="https://appcenter.intuit.com/connect/oauth2",this.bearerUrl="https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer",this.baseUrl="https://quickbooks.api.intuit.com/v3",this.stimulsoftRedirectUrl="https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl",this.responseType="code",this.scope="com.intuit.quickbooks.accounting",this.state=u.toBase64String(l.newGuid().toString()).substr(0,8),this.сonnectionIdent=t.StiConnectionIdent.QuickBooksDataSource,this.connectionOrder=t.StiConnectionOrder.QuickBooksDataSource,this.name="QuickBooks",this.isAvailable=!0,this.connectionTimeout=30,this.connectionString=e}return Object.defineProperty(e.prototype,"useApp",{get:function(){return s.getConnectionStringKey(this.connectionString,"UseApp").stimulsoft.toBoolean()},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"UseApp",e.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientId",{get:function(){return s.getConnectionStringKey(this.connectionString,"ClientId")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"ClientId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientIdPrivate",{get:function(){if(this.useApp)return this.clientId;return this.stimulsoftClientId},set:function(e){this.clientId=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientSecret",{get:function(){return s.getConnectionStringKey(this.connectionString,"ClientSecret")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"ClientSecret",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientSecretPrivate",{get:function(){if(this.useApp)return this.clientSecret;return this.stimulsoftClientSecret},set:function(e){this.clientSecret=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"redirectURL",{get:function(){return s.getConnectionStringKey(this.connectionString,"RedirectURL")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RedirectURL",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"redirectURLPrivate",{get:function(){if(this.useApp)return this.redirectURL;return this.stimulsoftRedirectUrl},set:function(e){this.redirectURL=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationCode",{get:function(){return s.getConnectionStringKey(this.connectionString,"AuthorizationCode")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"AuthorizationCode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"realmId",{get:function(){return s.getConnectionStringKey(this.connectionString,"RealmId")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RealmId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){return s.getConnectionStringKey(this.connectionString,"AccessToken")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"AccessToken",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"refreshToken",{get:function(){return s.getConnectionStringKey(this.connectionString,"RefreshToken")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RefreshToken",e)},enumerable:!1,configurable:!0}),e.prototype.fillAuthorizationCode=function(){},e.prototype.getDefaultWebClient=function(){var e=this,t;return{headers:{Authorization:"Bearer "+this.accessToken,Accept:"application/json"},downloadString:function(t){try{var i=new XMLHttpRequest;for(var n in i.open("Get",t,!1),r.keys(e.headers))i.setRequestHeader(n,e.headers[n]);if(i.send(),200==i.status)return i.responseText;throw new Error}catch(e){throw e}},uploadString:function(e,t,r){try{var i=new XMLHttpRequest;if(i.open("POST",e,!1),i.send(r),200==i.status)return i.responseText;throw new Error}catch(e){throw e}}}},e.prototype.getAuthorizationUrl=function(){var e=this.oauth2Url+"?client_id="+this.clientIdPrivate+"&response_type="+this.responseType+"&scope="+this.scope+"&redirect_uri="+this.redirectURLPrivate+"&state="+this.state;return a.isNullOrWhiteSpace(this.realmId)||(e+="&realm_id="+this.realmId),e},e.prototype.fillTokens=function(){var e=this.getDefaultWebClient();e.headers["Authorization"]="Basic "+u.toBase64String(o.UTF8.getBytes(this.clientIdPrivate+": "+this.clientSecretPrivate+" ")),e.headers["Content-Type"]="application/x-www-form-urlencoded";var t=e.uploadString(this.bearerUrl,"POST","code="+this.authorizationCode+"&redirect_uri="+this.redirectURLPrivate+"&grant_type=authorization_code"),r=JSON.parse(t);this.accessToken=r["access_token"].toString(),this.refreshToken=r["refresh_token"].toString()},e.prototype.refreshAccessToken=function(){var e=this.getDefaultWebClient();e.headers["Authorization"]="Basic "+u.toBase64String(o.UTF8.getBytes(this.clientIdPrivate+": "+this.clientSecretPrivate+" ")),e.headers["Content-Type"]="application/x-www-form-urlencoded";var t=e.uploadString(this.bearerUrl,"POST","refresh_token="+this.refreshToken+"&grant_type=refresh_token"),r=JSON.parse(t);this.accessToken=r["access_token"].toString(),this.refreshToken=r["refresh_token"].toString()},e.prototype.getTableNames=function(){return new n(["Account","AccountListDetail","APAgingDetail","APAgingSummary","ARAgingDetail","ARAgingSummary","Attachable","BalanceSheet","Batch","Bill","BillPayment","Budget","CashFlow","ChangeDataCapture","Class","CompanyCurrency","CompanyInfo","CreditMemo","Customer","CustomerBalance","CustomerBalanceDetail","CustomerIncome","CustomerType","Department","Deposit","Employee","Entitlements","Estimate","Exchangerate","GeneralLedger","InventoryValuationSummary","Invoice","Item","JournalCode","JournalEntry","JournalReport","JournalReportFR","Payment","PaymentMethod","Preferences","ProfitAndLoss","ProfitAndLossDetail","Purchase","PurchaseOrder","RefundReceipt","SalesByClassSummary","SalesByCustomer","SalesByDepartment","SalesByProduct","SalesReceipt","TaxClassification","TaxCode","TaxRate","TaxService","TaxSummary","TaxAgency","Term","TimeActivity","TransactionList","Transfer","TrialBalance","Vendor","VendorBalance","VendorBalanceDetail","VendorCredit","VendorExpenses"])},e.prototype.getColumns=function(e){var r=new i(e);return null!=r?r.columns.toList().select((function(e){return new t.StiDataColumnSchema(e.columnName,e.dataType)})):null},e.prototype.retrieveSchema=function(e){var r,i;void 0===e&&(e=!1);var n=new t.StiDataSchema(t.StiConnectionIdent.QuickBooksDataSource);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(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return n.sort()}catch(t){if(e)throw t;return null}},e.prototype.getDataTable=function(e,r){try{a.isNullOrEmpty(r)&&(r=("SELECT * FROM "+e).stimulsoft.toUnicodeString());var n=this.executeQuery(r),o=t.StiJsonToDataSetConverter.getDataSet(n);return null!=o&&o.tables.length>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;i<e.childNodes.length;i++){var n=e.childNodes[i];switch(n.nodeName){case"Width":this._width=n.textContent.stimulsoft.toNumber();break;case"Style":this._style=r.parse(t.StiCapStyle,n.textContent);break;case"Height":this._height=n.textContent.stimulsoft.toNumber();break;case"Fill":this._fill=n.textContent.stimulsoft.toBoolean();break;case"Color":this._color=o.convertStringToColor(n.textContent);break}}},e}();t.StiCap=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(){function e(){}return e.changeLightness=function(e,t){var i=e.r,n=e.g,o=e.b;return t<0?(i*=t=1+t,n*=t,o*=t):(i=(255-i)*t+i,n=(255-n)*t+n,o=(255-o)*t+o),r.fromArgb(e.a,Math.round(i),Math.round(n),Math.round(o))},e.light=function(e,t){var i=e.r,n=e.g,o=e.b;return i+t>255?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<e.height&&t.height++,t},i.prototype.getBottomRectangle=function(e){var t=this.getTopRectangle(e).clone(),r=e.clone();return r.height=e.height-t.height,r.y=t.bottom,r},i}(t.StiBrush);t.StiGlassBrush=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 t(t,i,n){void 0===t&&(t=r.black),void 0===i&&(i=r.white),void 0===n&&(n=0);var o=e.call(this)||this;return o.defaultHashCode=0,o._startColor=t,o._endColor=i,o._angle=n,o}return __extends(t,e),t.prototype.memberwiseClone=function(){return new t(this._startColor,this._endColor,this._angle)},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}),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},t.prototype.getHashCode=function(){var e=this.defaultHashCode;return e=397*(e=397*(e=397*e^this.startColor.stimulsoft.getHashCode())^this.endColor.stimulsoft.getHashCode())^this.angle.stimulsoft.getHashCode(),Math.abs(e)},t}(t.StiBrush);t.StiGradientBrush=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=e.System.Drawing.Drawing2D.HatchStyle,n=function(e){function t(t,n,o){void 0===t&&(t=i.BackwardDiagonal),void 0===n&&(n=r.black),void 0===o&&(o=r.white);var a=e.call(this)||this;return a.defaultHashCode=0,a._style=t,a._foreColor=n,a._backColor=o,a}return __extends(t,e),t.prototype.memberwiseClone=function(){return new t(this._style,this._foreColor,this._backColor)},Object.defineProperty(t.prototype,"backColor",{get:function(){return this._backColor},set:function(e){this._backColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"foreColor",{get:function(){return this._foreColor},set:function(e){this._foreColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this._style},set:function(e){this._style=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._backColor.equals(r.backColor)&&this._foreColor.equals(r.foreColor)&&this._style==r.style},t.prototype.getHashCode=function(){var e=this.defaultHashCode;return e=397*(e=397*(e=397*e^this.backColor.stimulsoft.getHashCode())^this.foreColor.stimulsoft.getHashCode())^this.style.stimulsoft.getHashCode(),Math.abs(e)},t}(t.StiBrush);t.StiHatchBrush=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.Drawing.Imaging.ImageCodecInfo,i=function(){function e(){}return e.getImageCodec=function(e){var t,i,n=r.getImageEncoders();try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.mimeType==e)return s}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return null},e}();t.StiImageCodecInfo=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.StiString,i=e.System.Drawing.Image,n=function(){function e(){}return e.imageToString=function(e){if(null==e)return"";return e.base64},e.bytesToImage=function(e){if(null==e||0==e.length)return null;var t=new i;return t.bytes=e,t},e.stringToImage=function(e){if(r.isNullOrEmpty(e))return null;var t=new i;return t.base64=e,t},e}();t.StiImageConverter=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.Drawing.Image,i=function(){function t(){}return t.loadBitmap=function(t){var i=e.System.IO.File.getFile(t,!0),n=new r;return n.url=t,n.bytes=i,n},t.loadImage=function(t){var i=e.System.IO.File.getFile(t,!0),n=new r;return n.url=t,n.bytes=i,n},t}();t.StiImageFromURL=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.Drawing2D.DashStyle,i=function(){function e(){}return e.getPenStyle=function(e){switch(e){case t.StiPenStyle.Dash:return r.Dash;case t.StiPenStyle.DashDot:return r.DashDot;case t.StiPenStyle.DashDotDot:return r.DashDotDot;case t.StiPenStyle.Dot:return r.Dot;case t.StiPenStyle.Double:return r.Solid;default:return r.Solid}},e}();t.StiPenUtils=i}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Drawing.Color,n=e.System.Enum,o=function(){function e(e,t,n,o){void 0===e&&(e=r.StiBorderSides.None),void 0===t&&(t=i.gray),void 0===n&&(n=1),void 0===o&&(o=r.StiPenStyle.Solid),this.side=r.StiBorderSides.None,this.color=i.gray,this.size=1,this.style=r.StiPenStyle.Solid,this.side=e,this.color=t,this.size=n,this.style=o}return e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.getBorder=function(){return new r.StiBorder(this.side,this.color,this.size,this.style)},e.prototype.getSizeOffset=function(){if(this.style==r.StiPenStyle.None)return 0;if(this.style==r.StiPenStyle.Double)return 1;return this.size/2},e.prototype.getSize=function(){if(this.style==r.StiPenStyle.None)return 0;if(this.style==r.StiPenStyle.Double)return 3;return this.size},e.prototype.getSizeIncludingSide=function(){if(this.style==r.StiPenStyle.None)return 0;if(this.style==r.StiPenStyle.Double)return 3;if(this.side==r.StiBorderSides.None)return 0;return this.size},Object.defineProperty(e.prototype,"isTopBorderSidePresent",{get:function(){return 0!=(this.side&r.StiBorderSides.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isBottomBorderSidePresent",{get:function(){return 0!=(this.side&r.StiBorderSides.Bottom)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLeftBorderSidePresent",{get:function(){return 0!=(this.side&r.StiBorderSides.Left)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRightBorderSidePresent",{get:function(){return 0!=(this.side&r.StiBorderSides.Right)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAllBorderSidesPresent",{get:function(){return this.side==r.StiBorderSides.All},enumerable:!1,configurable:!0}),e.prototype.shouldSerializeColor=function(){return!i.gray.stimulsoft.equals(this.color)},e.prototype.isDefault=function(){return this.side==r.StiBorderSides.None&&i.gray.stimulsoft.equals(this.color)&&1==this.size&&this.style==r.StiPenStyle.Solid},e.prototype.saveToJsonObject=function(e){return null},e.prototype.loadFromJsonObject=function(e){var i,o;try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Side":this.side=n.parse(r.StiBorderSides,l.value);break;case"Color":this.color=t.StiJsonReportObjectHelper.Deserialize.color(l.value);break;case"Size":this.size=l.value.stimulsoft.toNumber();break;case"Style":this.style=n.parse(r.StiPenStyle,l.value);break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},e.prototype.loadFromXml=function(e){for(var i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Side":this.side=n.parse(r.StiBorderSides,o.textContent);break;case"Color":this.color=t.StiJsonReportObjectHelper.Deserialize.color(o.textContent);break;case"Size":this.size=o.textContent.stimulsoft.toNumber();break;case"Style":this.style=n.parse(r.StiPenStyle,o.textContent);break}}},e}();r.StiSimpleBorder=o}(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.StiArray,i=e.System.StiString,n=e.System.Drawing.Rectangle,o=e.System.Drawing.StringFormatFlags,a=e.System.Char,s=e.System.Collections.List,l=e.System.Drawing.Size,u=e.System.Drawing.Graphics,c=e.System.Drawing.StringAlignment,d=function(){function d(){}return d.measureString=function(e,r,i,n,o,a,s,c,d){void 0===d&&(d=!1),null==o&&(o=new t.StiTextOptions),o.wordWrap||(n=0);var h=new l(n,0);if(h=d?u.measureString(this.correctFontSize(r),i,999999,!0,1,0,!1):u.measureString(r,i,999999),90==o.angle||270==o.angle){var m=h.width;h.width=h.height,h.height=m}return new l(h.width,h.height)},d.correctFontSize=function(e){var t=e,r=-1;try{while(-1!=(r=t.indexOf("<font ",r))){var i=t.indexOf(">",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;T<C.length;T++){var w;if(0==(w=C[T]).length){var D=new t.LineInfo;D.text="",D.lineHeight=v,f.add(D);continue}for(var P=r.create(n,w.length),x=0,B=0,L=0;L<P.length;L++){b[32]=w.charCodeAt(L);var N=u.measureChars(b,33,y);P[L]=new n(0,0,N.width,N.height),(x+=N.width)>g.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;L<w.length;L++){if(0==k){var O=15;if(L+O>w.length-1&&(O=w.length-L-1),O>0){if((A=P[L+O]).top<F&&!A.isEmpty){L+=O;continue}k=O}}else k--;(A=P[L]).top>F&&(f.add(this.makeLineInfo(w,R,L-R,P,m)),R=L,F=A.top+A.height/2,k=0)}R<w.length&&f.add(this.makeLineInfo(w,R,w.length-R,P,!1))}else f.add(this.makeLineInfo(w,0,w.length,P,!1))}for(var L=0;L<f.length;L++){var w=f[L].text;if(!i.isNullOrWhiteSpace(w)&&-1!=w.indexOf("")){var M=w.stimulsoft.replaceAll("","");""==w[w.length-1]&&(M+=""),f[L].text=M}}return f},d.makeLineInfo=function(e,i,n,o,a){while(n>0&&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;l<n;l++)s.widths[l]=o[i+l].width/10;for(var u=0,c=0;c<n;c++)u=Math.max(u,o[i+c].height);return s.lineHeight=u/10,s},d.splitString=function(e,t){var r,i,n=new s;null==e&&(e="");var o="";try{for(var l=__values(e),u=l.next();!u.done;u=l.next()){var c=u.value;"\n"==c?(n.add(o.stimulsoft.trimEnd()),o=""):t&&a.isControl(c)&&"\t"!=c||(o+=c)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}return o.length>0&&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(t<e.length){if('"'==e[t]&&(t>0&&"\\"!=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;r<t.length;r++)if(t[r].length>0)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;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"RightToLeft":this.rightToLeft=i.textContent.stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=i.textContent.stimulsoft.toBoolean();break;case"Angle":this.angle=i.textContent.stimulsoft.toNumber();break;case"FirstTabOffset":this.firstTabOffset=i.textContent.stimulsoft.toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=i.textContent.stimulsoft.toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=u.parse(a,i.textContent);break;case"Trimming":this.trimming=u.parse(o,i.textContent);break;case"WordWrap":this.wordWrap=i.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){var t=new e;return null!=this.bits&&(t.bits=this.bits.clone()),t.wordWrap=this.wordWrap,t},e.prototype.getStringFormat=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=1);var n=new i;return n.formatFlags=0,this.wordWrap||(n.formatFlags=r.NoWrap),this.rightToLeft&&(n.formatFlags|=r.DirectionRightToLeft),this.lineLimit&&(n.formatFlags|=r.LineLimit),n.trimming=this.trimming,n.hotkeyPrefix=this.hotkeyPrefix,n},Object.defineProperty(e.prototype,"rightToLeft",{get:function(){if(null==this.bits)return!1;return this.bits.rightToLeft},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.rightToLeft=e:this.bits=new c(e,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lineLimit",{get:function(){if(null==this.bits)return!1;return this.bits.lineLimit},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.lineLimit=e:this.bits=new c(this.rightToLeft,e,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){if(null==this.bits)return 0;return this.bits.angle},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.angle=e:this.bits=new c(this.rightToLeft,this.lineLimit,e,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstTabOffset",{get:function(){if(null==this.bits)return 40;return this.bits.firstTabOffset},set:function(e){if(e<0)return;if(40==e&&null==this.bits)return;null!=this.bits?this.bits.firstTabOffset=e:this.bits=new c(this.rightToLeft,this.lineLimit,this.angle,e,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"distanceBetweenTabs",{get:function(){if(null==this.bits)return 20;return this.bits.distanceBetweenTabs},set:function(e){if(e<0)return;if(20==e&&null==this.bits)return;null!=this.bits?this.bits.distanceBetweenTabs=e:this.bits=new c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,e,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hotkeyPrefix",{get:function(){if(null==this.bits)return a.None;return this.bits.hotkeyPrefix},set:function(e){if(e==a.None&&null==this.bits)return;null!=this.bits?this.bits.hotkeyPrefix=e:this.bits=new c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,e,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trimming",{get:function(){if(null==this.bits)return o.None;return this.bits.trimming},set:function(e){if(e==o.None&&null==this.bits)return;null!=this.bits?this.bits.trimming=e:this.bits=new c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,e)},enumerable:!1,configurable:!0}),e.prototype.isDefault=function(){return!this._wordWrap&&null==this.bits},e.prototype.getHashCode=function(){return 397*(2881041151^(null!=this.bits?this.bits.stimulsoft.getHashCode():0))^(this.wordWrap?1231:1237)},e}();t.StiTextOptions=d}(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.StiArray,i=e.System.StiString,n=e.System.Enum,o=e.System.Drawing.ColorTranslator,a=e.System.Drawing.FontStyle,s=e.System.Collections.List,l=e.System.Drawing.Rectangle,u=e.System.Drawing.Color,c=e.System.Text.StringBuilder,d=e.System.Drawing.Graphics,h=e.System.Drawing.Font,m=e.System.Drawing.Size,f=e.System.Drawing.StringTrimming,p=e.System.Char,S=e.System.Globalization.UnicodeCategory,g=e.System.Collections.Hashtable,y=e.System.Convert,v=function(){function e(){this.iCharPos=0}return e.prototype.clone=function(){var t=new e;return t.iCharPos=this.iCharPos,t},e}(),b=function(){function b(){}return b.getTabsWidth=function(e,t,r){var i=20,n=40;null!=e&&(i=e.distanceBetweenTabs,n=e.firstTabOffset);var o=r,a=t*i,s=t*n+a,l;if(r<s)o=s;else if(i>0){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;c<s.length;c++){var d=s[c];if(d.fontName==e&&d.fontBase.size==t&&d.fontBase.bold==r&&d.fontBase.italic==i&&d.fontBase.underline==n&&d.fontBase.strikeout==o)return c}var m=a.Regular;r&&(m|=a.Bold),i&&(m|=a.Italic),n&&(m|=a.Underline),o&&(m|=a.Strikeout);var f=null;if(-1!=e.indexOf(",")){var p=e.split(",");try{for(var S=__values(p),g=S.next();!g.done;g=S.next()){var y=g.value;if((f=new h(y,t,m)).name.toLowerCase()==y.toLowerCase())break}}catch(e){l={error:e}}finally{try{g&&!g.done&&(u=S.return)&&u.call(S)}finally{if(l)throw l.error}}}else f=new h(e,t,m);var v=new C;return v.fontName=e,v.fontBase=f,v.parentFontIndex=-1,v.superOrSubscriptIndex=-1,s.add(v),s.length-1},Object.defineProperty(b,"htmlEscapeSequence",{get:function(){return null==this._htmlEscapeSequence&&(this._htmlEscapeSequence={},this._htmlEscapeSequence["""]=String.fromCharCode(34),this._htmlEscapeSequence["&"]=String.fromCharCode(38),this._htmlEscapeSequence["<"]=String.fromCharCode(60),this._htmlEscapeSequence[">"]=String.fromCharCode(62),this._htmlEscapeSequence[" "]=String.fromCharCode(160),this._htmlEscapeSequence["¡"]=String.fromCharCode(161),this._htmlEscapeSequence["¢"]=String.fromCharCode(162),this._htmlEscapeSequence["£"]=String.fromCharCode(163),this._htmlEscapeSequence["¤"]=String.fromCharCode(164),this._htmlEscapeSequence["¥"]=String.fromCharCode(165),this._htmlEscapeSequence["¦"]=String.fromCharCode(166),this._htmlEscapeSequence["§"]=String.fromCharCode(167),this._htmlEscapeSequence["¨"]=String.fromCharCode(168),this._htmlEscapeSequence["©"]=String.fromCharCode(169),this._htmlEscapeSequence["ª"]=String.fromCharCode(170),this._htmlEscapeSequence["«"]=String.fromCharCode(171),this._htmlEscapeSequence["¬"]=String.fromCharCode(172),this._htmlEscapeSequence["­"]=String.fromCharCode(173),this._htmlEscapeSequence["®"]=String.fromCharCode(174),this._htmlEscapeSequence["¯"]=String.fromCharCode(175),this._htmlEscapeSequence["°"]=String.fromCharCode(176),this._htmlEscapeSequence["±"]=String.fromCharCode(177),this._htmlEscapeSequence["²"]=String.fromCharCode(178),this._htmlEscapeSequence["³"]=String.fromCharCode(179),this._htmlEscapeSequence["´"]=String.fromCharCode(180),this._htmlEscapeSequence["µ"]=String.fromCharCode(181),this._htmlEscapeSequence["¶"]=String.fromCharCode(182),this._htmlEscapeSequence["·"]=String.fromCharCode(183),this._htmlEscapeSequence["¸"]=String.fromCharCode(184),this._htmlEscapeSequence["¹"]=String.fromCharCode(185),this._htmlEscapeSequence["º"]=String.fromCharCode(186),this._htmlEscapeSequence["»"]=String.fromCharCode(187),this._htmlEscapeSequence["¼"]=String.fromCharCode(188),this._htmlEscapeSequence["½"]=String.fromCharCode(189),this._htmlEscapeSequence["¾"]=String.fromCharCode(190),this._htmlEscapeSequence["¿"]=String.fromCharCode(191),this._htmlEscapeSequence["À"]=String.fromCharCode(192),this._htmlEscapeSequence["Á"]=String.fromCharCode(193),this._htmlEscapeSequence["Â"]=String.fromCharCode(194),this._htmlEscapeSequence["Ã"]=String.fromCharCode(195),this._htmlEscapeSequence["Ä"]=String.fromCharCode(196),this._htmlEscapeSequence["Å"]=String.fromCharCode(197),this._htmlEscapeSequence["Æ"]=String.fromCharCode(198),this._htmlEscapeSequence["Ç"]=String.fromCharCode(199),this._htmlEscapeSequence["È"]=String.fromCharCode(200),this._htmlEscapeSequence["É"]=String.fromCharCode(201),this._htmlEscapeSequence["Ê"]=String.fromCharCode(202),this._htmlEscapeSequence["Ë"]=String.fromCharCode(203),this._htmlEscapeSequence["Ì"]=String.fromCharCode(204),this._htmlEscapeSequence["Í"]=String.fromCharCode(205),this._htmlEscapeSequence["Î"]=String.fromCharCode(206),this._htmlEscapeSequence["Ï"]=String.fromCharCode(207),this._htmlEscapeSequence["Ð"]=String.fromCharCode(208),this._htmlEscapeSequence["Ñ"]=String.fromCharCode(209),this._htmlEscapeSequence["Ò"]=String.fromCharCode(210),this._htmlEscapeSequence["Ó"]=String.fromCharCode(211),this._htmlEscapeSequence["Ô"]=String.fromCharCode(212),this._htmlEscapeSequence["Õ"]=String.fromCharCode(213),this._htmlEscapeSequence["Ö"]=String.fromCharCode(214),this._htmlEscapeSequence["×"]=String.fromCharCode(215),this._htmlEscapeSequence["Ø"]=String.fromCharCode(216),this._htmlEscapeSequence["Ù"]=String.fromCharCode(217),this._htmlEscapeSequence["Ú"]=String.fromCharCode(218),this._htmlEscapeSequence["Û"]=String.fromCharCode(219),this._htmlEscapeSequence["Ü"]=String.fromCharCode(220),this._htmlEscapeSequence["Ý"]=String.fromCharCode(221),this._htmlEscapeSequence["Þ"]=String.fromCharCode(222),this._htmlEscapeSequence["ß"]=String.fromCharCode(223),this._htmlEscapeSequence["à"]=String.fromCharCode(224),this._htmlEscapeSequence["á"]=String.fromCharCode(225),this._htmlEscapeSequence["â"]=String.fromCharCode(226),this._htmlEscapeSequence["ã"]=String.fromCharCode(227),this._htmlEscapeSequence["ä"]=String.fromCharCode(228),this._htmlEscapeSequence["å"]=String.fromCharCode(229),this._htmlEscapeSequence["æ"]=String.fromCharCode(230),this._htmlEscapeSequence["ç"]=String.fromCharCode(231),this._htmlEscapeSequence["è"]=String.fromCharCode(232),this._htmlEscapeSequence["é"]=String.fromCharCode(233),this._htmlEscapeSequence["ê"]=String.fromCharCode(234),this._htmlEscapeSequence["ë"]=String.fromCharCode(235),this._htmlEscapeSequence["ì"]=String.fromCharCode(236),this._htmlEscapeSequence["í"]=String.fromCharCode(237),this._htmlEscapeSequence["î"]=String.fromCharCode(238),this._htmlEscapeSequence["ï"]=String.fromCharCode(239),this._htmlEscapeSequence["ð"]=String.fromCharCode(240),this._htmlEscapeSequence["ñ"]=String.fromCharCode(241),this._htmlEscapeSequence["ò"]=String.fromCharCode(242),this._htmlEscapeSequence["ó"]=String.fromCharCode(243),this._htmlEscapeSequence["ô"]=String.fromCharCode(244),this._htmlEscapeSequence["õ"]=String.fromCharCode(245),this._htmlEscapeSequence["ö"]=String.fromCharCode(246),this._htmlEscapeSequence["÷"]=String.fromCharCode(247),this._htmlEscapeSequence["ø"]=String.fromCharCode(248),this._htmlEscapeSequence["ù"]=String.fromCharCode(249),this._htmlEscapeSequence["ú"]=String.fromCharCode(250),this._htmlEscapeSequence["û"]=String.fromCharCode(251),this._htmlEscapeSequence["ü"]=String.fromCharCode(252),this._htmlEscapeSequence["ý"]=String.fromCharCode(253),this._htmlEscapeSequence["þ"]=String.fromCharCode(254),this._htmlEscapeSequence["ÿ"]=String.fromCharCode(255),this._htmlEscapeSequence["Œ"]=String.fromCharCode(338),this._htmlEscapeSequence["œ"]=String.fromCharCode(339),this._htmlEscapeSequence["Š"]=String.fromCharCode(352),this._htmlEscapeSequence["š"]=String.fromCharCode(353),this._htmlEscapeSequence["Ÿ"]=String.fromCharCode(376),this._htmlEscapeSequence["ƒ"]=String.fromCharCode(402),this._htmlEscapeSequence["ˆ"]=String.fromCharCode(710),this._htmlEscapeSequence["˜"]=String.fromCharCode(732),this._htmlEscapeSequence["Α"]=String.fromCharCode(913),this._htmlEscapeSequence["Β"]=String.fromCharCode(914),this._htmlEscapeSequence["Γ"]=String.fromCharCode(915),this._htmlEscapeSequence["Δ"]=String.fromCharCode(916),this._htmlEscapeSequence["Ε"]=String.fromCharCode(917),this._htmlEscapeSequence["Ζ"]=String.fromCharCode(918),this._htmlEscapeSequence["Η"]=String.fromCharCode(919),this._htmlEscapeSequence["Θ"]=String.fromCharCode(920),this._htmlEscapeSequence["Ι"]=String.fromCharCode(921),this._htmlEscapeSequence["Κ"]=String.fromCharCode(922),this._htmlEscapeSequence["Λ"]=String.fromCharCode(923),this._htmlEscapeSequence["Μ"]=String.fromCharCode(924),this._htmlEscapeSequence["Ν"]=String.fromCharCode(925),this._htmlEscapeSequence["Ξ"]=String.fromCharCode(926),this._htmlEscapeSequence["Ο"]=String.fromCharCode(927),this._htmlEscapeSequence["Π"]=String.fromCharCode(928),this._htmlEscapeSequence["Ρ"]=String.fromCharCode(929),this._htmlEscapeSequence["Σ"]=String.fromCharCode(931),this._htmlEscapeSequence["Τ"]=String.fromCharCode(932),this._htmlEscapeSequence["Υ"]=String.fromCharCode(933),this._htmlEscapeSequence["Φ"]=String.fromCharCode(934),this._htmlEscapeSequence["Χ"]=String.fromCharCode(935),this._htmlEscapeSequence["Ψ"]=String.fromCharCode(936),this._htmlEscapeSequence["Ω"]=String.fromCharCode(937),this._htmlEscapeSequence["α"]=String.fromCharCode(945),this._htmlEscapeSequence["β"]=String.fromCharCode(946),this._htmlEscapeSequence["γ"]=String.fromCharCode(947),this._htmlEscapeSequence["δ"]=String.fromCharCode(948),this._htmlEscapeSequence["ε"]=String.fromCharCode(949),this._htmlEscapeSequence["ζ"]=String.fromCharCode(950),this._htmlEscapeSequence["η"]=String.fromCharCode(951),this._htmlEscapeSequence["θ"]=String.fromCharCode(952),this._htmlEscapeSequence["ι"]=String.fromCharCode(953),this._htmlEscapeSequence["κ"]=String.fromCharCode(954),this._htmlEscapeSequence["λ"]=String.fromCharCode(955),this._htmlEscapeSequence["μ"]=String.fromCharCode(956),this._htmlEscapeSequence["ν"]=String.fromCharCode(957),this._htmlEscapeSequence["ξ"]=String.fromCharCode(958),this._htmlEscapeSequence["ο"]=String.fromCharCode(959),this._htmlEscapeSequence["π"]=String.fromCharCode(960),this._htmlEscapeSequence["ρ"]=String.fromCharCode(961),this._htmlEscapeSequence["ς"]=String.fromCharCode(962),this._htmlEscapeSequence["σ"]=String.fromCharCode(963),this._htmlEscapeSequence["τ"]=String.fromCharCode(964),this._htmlEscapeSequence["υ"]=String.fromCharCode(965),this._htmlEscapeSequence["φ"]=String.fromCharCode(966),this._htmlEscapeSequence["χ"]=String.fromCharCode(967),this._htmlEscapeSequence["ψ"]=String.fromCharCode(968),this._htmlEscapeSequence["ω"]=String.fromCharCode(969),this._htmlEscapeSequence["ϑ"]=String.fromCharCode(977),this._htmlEscapeSequence["ϒ"]=String.fromCharCode(978),this._htmlEscapeSequence["ϖ"]=String.fromCharCode(982),this._htmlEscapeSequence[" "]=String.fromCharCode(8194),this._htmlEscapeSequence[" "]=String.fromCharCode(8195),this._htmlEscapeSequence[" "]=String.fromCharCode(8201),this._htmlEscapeSequence["‌"]=String.fromCharCode(8204),this._htmlEscapeSequence["‍"]=String.fromCharCode(8205),this._htmlEscapeSequence["‎"]=String.fromCharCode(8206),this._htmlEscapeSequence["‏"]=String.fromCharCode(8207),this._htmlEscapeSequence["–"]=String.fromCharCode(8211),this._htmlEscapeSequence["—"]=String.fromCharCode(8212),this._htmlEscapeSequence["‘"]=String.fromCharCode(8216),this._htmlEscapeSequence["’"]=String.fromCharCode(8217),this._htmlEscapeSequence["‚"]=String.fromCharCode(8218),this._htmlEscapeSequence["“"]=String.fromCharCode(8220),this._htmlEscapeSequence["”"]=String.fromCharCode(8221),this._htmlEscapeSequence["„"]=String.fromCharCode(8222),this._htmlEscapeSequence["†"]=String.fromCharCode(8224),this._htmlEscapeSequence["‡"]=String.fromCharCode(8225),this._htmlEscapeSequence["•"]=String.fromCharCode(8226),this._htmlEscapeSequence["…"]=String.fromCharCode(8230),this._htmlEscapeSequence["‰"]=String.fromCharCode(8240),this._htmlEscapeSequence["′"]=String.fromCharCode(8242),this._htmlEscapeSequence["″"]=String.fromCharCode(8243),this._htmlEscapeSequence["‹"]=String.fromCharCode(8249),this._htmlEscapeSequence["›"]=String.fromCharCode(8250),this._htmlEscapeSequence["‾"]=String.fromCharCode(8254),this._htmlEscapeSequence["⁄"]=String.fromCharCode(8260),this._htmlEscapeSequence["€"]=String.fromCharCode(8364),this._htmlEscapeSequence["ℑ"]=String.fromCharCode(8365),this._htmlEscapeSequence["℘"]=String.fromCharCode(8472),this._htmlEscapeSequence["ℜ"]=String.fromCharCode(8476),this._htmlEscapeSequence["™"]=String.fromCharCode(8482),this._htmlEscapeSequence["ℵ"]=String.fromCharCode(8501),this._htmlEscapeSequence["←"]=String.fromCharCode(8592),this._htmlEscapeSequence["↑"]=String.fromCharCode(8593),this._htmlEscapeSequence["→"]=String.fromCharCode(8594),this._htmlEscapeSequence["↓"]=String.fromCharCode(8595),this._htmlEscapeSequence["↔"]=String.fromCharCode(8596),this._htmlEscapeSequence["↵"]=String.fromCharCode(8629),this._htmlEscapeSequence["⇐"]=String.fromCharCode(8656),this._htmlEscapeSequence["⇑"]=String.fromCharCode(8657),this._htmlEscapeSequence["⇒"]=String.fromCharCode(8658),this._htmlEscapeSequence["⇓"]=String.fromCharCode(8659),this._htmlEscapeSequence["⇔"]=String.fromCharCode(8660),this._htmlEscapeSequence["∀"]=String.fromCharCode(8704),this._htmlEscapeSequence["∂"]=String.fromCharCode(8706),this._htmlEscapeSequence["∃"]=String.fromCharCode(8707),this._htmlEscapeSequence["∅"]=String.fromCharCode(8709),this._htmlEscapeSequence["∇"]=String.fromCharCode(8711),this._htmlEscapeSequence["∈"]=String.fromCharCode(8712),this._htmlEscapeSequence["∉"]=String.fromCharCode(8713),this._htmlEscapeSequence["∋"]=String.fromCharCode(8715),this._htmlEscapeSequence["∏"]=String.fromCharCode(8719),this._htmlEscapeSequence["∑"]=String.fromCharCode(8721),this._htmlEscapeSequence["−"]=String.fromCharCode(8722),this._htmlEscapeSequence["∗"]=String.fromCharCode(8727),this._htmlEscapeSequence["√"]=String.fromCharCode(8730),this._htmlEscapeSequence["∝"]=String.fromCharCode(8733),this._htmlEscapeSequence["∞"]=String.fromCharCode(8734),this._htmlEscapeSequence["∠"]=String.fromCharCode(8736),this._htmlEscapeSequence["∧"]=String.fromCharCode(8743),this._htmlEscapeSequence["∨"]=String.fromCharCode(8744),this._htmlEscapeSequence["∩"]=String.fromCharCode(8745),this._htmlEscapeSequence["∪"]=String.fromCharCode(8746),this._htmlEscapeSequence["∫"]=String.fromCharCode(8747),this._htmlEscapeSequence["∴"]=String.fromCharCode(8756),this._htmlEscapeSequence["∼"]=String.fromCharCode(8764),this._htmlEscapeSequence["≅"]=String.fromCharCode(8773),this._htmlEscapeSequence["≈"]=String.fromCharCode(8776),this._htmlEscapeSequence["≠"]=String.fromCharCode(8800),this._htmlEscapeSequence["≡"]=String.fromCharCode(8801),this._htmlEscapeSequence["≤"]=String.fromCharCode(8804),this._htmlEscapeSequence["≥"]=String.fromCharCode(8805),this._htmlEscapeSequence["⊂"]=String.fromCharCode(8834),this._htmlEscapeSequence["⊃"]=String.fromCharCode(8835),this._htmlEscapeSequence["⊄"]=String.fromCharCode(8836),this._htmlEscapeSequence["⊆"]=String.fromCharCode(8838),this._htmlEscapeSequence["⊇"]=String.fromCharCode(8839),this._htmlEscapeSequence["⊕"]=String.fromCharCode(8853),this._htmlEscapeSequence["⊗"]=String.fromCharCode(8855),this._htmlEscapeSequence["⊥"]=String.fromCharCode(8869),this._htmlEscapeSequence["⋅"]=String.fromCharCode(8901),this._htmlEscapeSequence["⌈"]=String.fromCharCode(8968),this._htmlEscapeSequence["⌉"]=String.fromCharCode(8969),this._htmlEscapeSequence["⌊"]=String.fromCharCode(8970),this._htmlEscapeSequence["⌋"]=String.fromCharCode(8971),this._htmlEscapeSequence["⟨"]=String.fromCharCode(9001),this._htmlEscapeSequence["⟩"]=String.fromCharCode(9002),this._htmlEscapeSequence["◊"]=String.fromCharCode(9674),this._htmlEscapeSequence["♠"]=String.fromCharCode(9824),this._htmlEscapeSequence["♣"]=String.fromCharCode(9827),this._htmlEscapeSequence["♥"]=String.fromCharCode(9829),this._htmlEscapeSequence["♦"]=String.fromCharCode(9830)),this._htmlEscapeSequence},enumerable:!1,configurable:!0}),b.convertStringToTag=function(e){var t=new x;if((e=e.trim()).stimulsoft.endsWith("/")&&(t.state=P.Empty,e=e.substr(0,e.length-1).trim()),t.attributes=this.parseTagIntoPairs(e),0==t.attributes.length)return t;var r=t.attributes[0].key;switch(r.stimulsoft.startsWith("/")&&(t.state=P.End,r=r.substr(1)),r){case"p":t.tag=D.P;break;case"br":t.tag=D.Br;break;case"ol":t.tag=D.OrderedList;break;case"ul":t.tag=D.UnorderedList;break;case"li":t.tag=D.ListItem;break;case"a":t.tag=D.A;break;case"strong":case"b":t.tag=D.B;break;case"em":case"i":t.tag=D.I;break;case"u":t.tag=D.U;break;case"strike":case"s":t.tag=D.S;break;case"sup":t.tag=D.Sup;break;case"sub":t.tag=D.Sub;break;case"letter-spacing":t.tag=D.LetterSpacing;break;case"word-spacing":t.tag=D.WordSpacing;break;case"line-height":t.tag=D.LineHeight;break;case"text-align":t.tag=D.TextAlign;break;case"font":t.tag=D.Font;break;case"font-face":case"font-family":case"font-name":t.tag=D.FontName;break;case"font-size":t.tag=D.FontSize;break;case"font-color":case"color":t.tag=D.FontColor;break;case"background-color":t.tag=D.Backcolor;break}return t.tag!=D.None||i.isNullOrWhiteSpace(r)||(t.tag=D.Unknown,t.tagName=r),t},b.parseHtmlToStates=function(e,t,n){void 0===n&&(n=!1);var o=new Array,a=t.clone(),s=new Array,l=0,u=!1;null==e&&(e="");while(l<e.length)if("<"!=e.charAt(l)){var d=e.charAt(l);p.isWhitespace(d,0,!1)?u||(a.text.append(" "),u=!0):p.getUnicodeCategory(d)!=S.OtherNotAssigned&&(a.text.append(d),u=!1),l++}else{a.text.length>0&&(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.length&&"<"==e[l]){var h=++l;while(h<e.length&&">"!=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),l<e.length&&!i.isNullOrWhiteSpace(e.substr(l))){a.text.append("\n");var g=a.ts.lineHeight;a.ts.lineHeight=.8,o.push(a),(a=new L(a)).posBegin=l,a.ts.lineHeight=g,a.ts.tag=new x(D.None)}a.ts.indent>0&&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.length<a.ts.indent)a.listLevels.push(0);a.listLevels[a.ts.indent-1]=1-a.ts.indent,a=this.parseMarkerTypeAttribute(f.attributes,a)}else if(f.isEndTag(D.UnorderedList)){var v,b;if(v=o.length>0&&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.length<a.ts.indent)a.listLevels.push(1);a.listLevels[a.ts.indent-1]=1,a=this.parseMarkerTypeAttribute(f.attributes,a);var C=o[o.length-1];C.listLevels=a.listLevels,o[o.length-1]=C}else if(f.isEndTag(D.OrderedList)){var v,b;if(v=o.length>0&&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(r<i){var n=!1;if("&"==e.charAt(r)&&r+3<i){var o=r+1,a=new c;if("#"==e.charAt(o))if(o++,"x"==e.charAt(o)){o++;while(o<i&&p.isLetterOrDigit(e.charAt(o)))a.append(e.charAt(o)),o++;a.length>0&&o<i&&";"==e.charAt(o)&&(o++,t.append(String.fromCharCode(parseInt(a.toString(),16))),r=o,n=!0)}else{while(o<i&&p.isDigit(e.charAt(o)))a.append(e.charAt(o)),o++;a.length>0&&o<i&&";"==e.charAt(o)&&(o++,t.append(String.fromCharCode(parseInt(a.toString()))),r=o,n=!0)}else{while(o<i&&p.isLetterOrDigit(e.charAt(o)))a.append(e.charAt(o)),o++;if(a.length>0&&o<i&&";"==e.charAt(o)){var s=this.htmlEscapeSequence["&"+a.toString()+";"];null!=s&&(o++,t.append(s),r=o,n=!0)}}}n||(t.append(e.charAt(r)),r++)}var l=t.toString().stimulsoft.replaceAll(" "," ").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(""",'"').stimulsoft.replaceAll("&","&");return new c(l)},b.stateToHtml=function(e,r,n,a){var s="";s+=i.format('<font name="{0}" size="{1}">',e.ts.fontName,e.ts.fontSize),e.ts.isColorChanged&&(s+=i.format('<font-color="{0}">',o.toHtml(e.ts.fontColor))),e.ts.isBackcolorChanged&&(s+=i.format('<background-color="{0}">',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('<letter-spacing="{0}">',e.ts.letterSpacing),s+=i.format('<word-spacing="{0}">',e.ts.wordSpacing),s+=i.format('<line-height="{0}">',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('<text-align="{0}">',l),s+="<StiHtml "+this.stackToString(e.tagsStack)+">",r.ts.indent>0&&(s+=i.format("<StiHtml2 {0} {1}>",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;r<e;r++)t.append(" ");return t.toString()},b.insertMarker=function(e,t,r){var i=this.bulletBlack,n;t>0?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;l<i.length;l++)e.setByIndex(s+l,i[l])},b.stackToString=function(e){if(null==e||0==e.length)return"";var t=new c;try{for(var r=0;r<e.length;r++){var n=e[r],o=new B(null),a=0==r;a||(o=e[r-1]);var s=t.length;n.isBackcolorChanged&&t.appendFormat("bc{0:X2}{1:X2}{2:X2}{3:X2}:",n.backColor.a,n.backColor.r,n.backColor.g,n.backColor.b),n.bold&&(a||n.bold!=o.bold)&&t.append("bd:"),n.isColorChanged&&t.appendFormat("fc{0:X2}{1:X2}{2:X2}{3:X2}:",n.fontColor.a,n.fontColor.r,n.fontColor.g,n.fontColor.b),i.isNullOrEmpty(n.fontName)||!a&&n.fontName==o.fontName||t.appendFormat("fn{0}:",n.fontName.stimulsoft.replaceAll(" ","_")),(a||n.fontSize!=o.fontSize)&&t.appendFormat("fs{0}:",n.fontSize),n.italic&&(a||n.italic!=o.italic)&&t.append("it:"),(a||n.letterSpacing!=o.letterSpacing)&&t.appendFormat("ls{0}:",n.letterSpacing),(a||n.lineHeight!=o.lineHeight)&&t.appendFormat("lh{0}:",n.lineHeight),n.strikeout&&(a||n.strikeout!=o.strikeout)&&t.append("st:"),n.subsript&&(a||n.subsript!=o.subsript)&&t.append("sb:"),n.superscript&&(a||n.superscript!=o.superscript)&&t.append("sp:"),!a&&n.tag.equals(o.tag)||t.appendFormat("tg{0}:",n.tag.tag!=D.Unknown?Math.trunc(n.tag.tag).toString():"'"+n.tag.tagName+"'"),(a||n.textAlign!=o.textAlign)&&t.appendFormat("ta{0}:",n.textAlign),n.underline&&(a||n.underline!=o.underline)&&t.append("un:"),(a||n.wordSpacing!=o.wordSpacing)&&t.appendFormat("ws{0}:",n.wordSpacing),":"==t.charAt(t.length-1)&&t.length--,r<e.length-1&&t.length>s&&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;i<t;i++)i<e.length?r.append(e[i].toString()):r.append("0"),i<t-1&&r.append(";")}catch(e){}return r.toString()},b.parseHtmlTag=function(r,n,o,a){var s=new B(n.ts),l=r.attributes[0];switch(r.tag){case D.B:n.ts.bold=r.isStart;break;case D.I:n.ts.italic=r.isStart;break;case D.U:n.ts.underline=r.isStart;break;case D.S:n.ts.strikeout=r.isStart;break;case D.Sup:n.ts.superscript=r.isStart,n.ts.subsript=!1;break;case D.Sub:n.ts.subsript=r.isStart,n.ts.superscript=!1;break;case D.LetterSpacing:if(r.isStart){var c=0;"normal"!=l.value&&(c=parseFloat(l.value.toString().stimulsoft.replaceAll(",",".")),isNaN(c)&&(c=0)),n.ts.letterSpacing=c}break;case D.WordSpacing:if(r.isStart){var d=0;"normal"!=l.value&&(d=parseFloat(l.value.toString().stimulsoft.replaceAll(",",".")),isNaN(d)&&(d=0)),n.ts.wordSpacing=d}break;case D.LineHeight:if(r.isStart){var h=1;"normal"!=l.value&&(h=parseFloat(l.value.toString().stimulsoft.replaceAll(",",".")),isNaN(h)&&(h=0)),h<=0&&(h=1),n.ts.lineHeight=h}break;case D.TextAlign:if(r.isStart)try{var m=l.value.toString().toLowerCase();"left"==m&&(n.ts.textAlign=t.StiTextHorAlignment.Left),"right"==m&&(n.ts.textAlign=t.StiTextHorAlignment.Right),"center"==m&&(n.ts.textAlign=t.StiTextHorAlignment.Center),"justify"==m&&(n.ts.textAlign=t.StiTextHorAlignment.Width)}catch(t){e.System.StiError.showError(t,!1)}break;case D.Font:if(r.isStart&&r.attributes.length>1)for(var f=1;f<r.attributes.length;f++){var p;switch((p=r.attributes[f]).key){case"color":try{n.ts.fontColor=this.parseColor(p.value.toString()),n.ts.isColorChanged=!0}catch(t){e.System.StiError.showError(t,!1)}break;case"face":case"family":case"name":try{n.ts.fontName=p.value.toString()}catch(t){e.System.StiError.showError(t,!1)}break;case"size":var S=this.parseFontSize(p.value.toString());n.ts.fontSize=S;break;case"style":n.ts.htmlStyle=p.value.toString();break}}break;case D.FontName:if(r.isStart)try{n.ts.fontName=l.value.toString()}catch(t){e.System.StiError.showError(t,!1)}break;case D.FontSize:if(r.isStart){var g=this.parseFontSize(l.value.toString());n.ts.fontSize=g}break;case D.FontColor:if(r.isStart)try{n.ts.fontColor=this.parseColor(l.value.toString()),n.ts.isColorChanged=!0}catch(e){}break;case D.Backcolor:if(r.isStart)try{n.ts.backColor=this.parseColor(l.value.toString()),n.ts.isBackcolorChanged=!0}catch(t){e.System.StiError.showError(t,!1)}break;case D.A:if(r.isStart)try{if(r.attributes.length>0&&"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;f<r.attributes.length;f++){var p;"style"==(p=r.attributes[f]).key&&this.parseStyleAttribute(p.value.toString(),n)}return n},b.parseTagIntoPairs=function(e){var t=new s,r=0;while(r<e.length&&" "==e[r])r++;while(r<e.length){var i=r,n=new N;while(i<e.length&&" "!=e[i]&&"="!=e[i])i++;n.keyBase=e.substr(r,i-r),n.key=n.keyBase.toLowerCase(),r=i;while(r<e.length&&" "==e[r])r++;if(r<e.length&&"="==e[r]){r++;while(r<e.length&&" "==e[r])r++;if(r<e.length)if('"'==e[r]){i=++r;while(i<e.length&&'"'!=e[i])i++;n.value=e.substr(r,i-r),r=i,r++}else{i=r;while(i<e.length&&" "!=e[i])i++;n.value=e.substr(r,i-r),r=i}}while(r<e.length&&" "==e[r])r++;t.add(n)}return t},b.parseMarkerTypeAttribute=function(e,t){var r,n;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;if("type"==s.keyBase&&!i.isNullOrWhiteSpace(s.value)&&null!=t.listLevels){var l=s.value[0];"disc"==s.value&&(l=String.fromCharCode(8226)),"circle"==s.value&&(l=String.fromCharCode(9702)),"square"==s.value&&(l=String.fromCharCode(9642)),"none"==s.value&&(l=" "),t.listLevels[t.listLevels.length-1]=-l.charCodeAt(0)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t},b.parseStyleAttribute=function(r,i){var n=this,o;if(!r||""==r)return;return void r.split(";").forEach((function(r){var o=r.split(":"),a=o.length>1,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<n.length;a++){var s=n.charAt(a);"0"!=s&&"1"!=s&&"2"!=s&&"3"!=s&&"4"!=s&&"5"!=s&&"6"!=s&&"7"!=s&&"8"!=s&&"9"!=s&&"a"!=s&&"b"!=s&&"c"!=s&&"d"!=s&&"e"!=s&&"f"!=s||o.append(s)}if(3==(n=o.toString()).length&&(n=i.format("{0}{0}{1}{1}{2}{2}",n[0],n[1],n[2])),6==n.length){var l=y.toInt32(n,16);t=u.fromArgb(255,l>>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<m.length;f++){var p=m[f][0].toLowerCase(),l=y.toInt32(m[f][1].substr(1),16),S=u.fromArgb(255,l>>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;D<b.length;D++)for(var P=e.System.Text.TextUtils.getWordWrapTextLines(b[D],n,!1,o.width),x=0;x<P.length;x++)w.push(P[x]);else w=b;try{for(var B=__values(w),L=B.next();!L.done;L=B.next()){var N=L.value,A=d.measureString(N,n,null,!0,1,0);C.push(N),T.push({begin:0,length:N.length,needWidthAlign:!1,width:A.width,widths:[],justifyOffset:0,text:null,indexOfMaxFont:0,lineHeight:A.height,textAlignment:t.StiTextHorAlignment.Left,indent:0,end:N.length})}}catch(e){S={error:e}}finally{try{L&&!L.done&&(g=B.return)&&g.call(B)}finally{if(S)throw S.error}}return i.ref=v,f.ref=C,p.ref=T,[v]},b.drawTextForOutput=function(e,t,r,i,n,o,a,s,l,u,c,d,h,f,p,S,g,y,v){var b={ref:new m(0,0)};this.drawTextBase2(e,{ref:t},r,i,n,o,a,s,l,u,c,1,h,f,p,b,!0,null,null,S,g,y,v)},b.measureText=function(e,r,i,n,o,a,s,l,c,d,h,f,p){var S={ref:new m(0,0)};return this.drawTextBase2(e,{ref:r},i,n,u.black,u.black,o,t.StiTextHorAlignment.Left,t.StiVertAlignment.Top,a,s,1,c,d,h,S,!1,null,null,f,null,null,p),S.ref},b.drawTextBase=function(e,t,r,i,n,o,a,s,l,u,c,d,h,m,f,p,S,g,y,v,b,C){return""},b.drawTextBase2=function(e,n,o,a,c,m,g,y,b,P,x,N,A,F,R,k,O,M,E,H,I,z,W){var G=new l(a.x+0,a.y,a.width+1,a.height+1),j=new l(G.x+1.5*N,G.y,Math.round2(a.width-3*N,this.precisionDigits),a.height),V=new t.SizeD(j.width,j.height),X=o,q=N;this.precisionModeEnabled&&(o=new h(o.name,o.size*this.precisionModeFactor,o.style),N=q/this.precisionModeFactor);var U=n.ref,Y="",Z=new s,J=null,K=null,Q=null,_=0;if(!i.isNullOrEmpty(n.ref)&&!u.transparent.stimulsoft.equals(c)&&null!=o&&N>1e-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;ae<ie.length;ae++){var se=ie[ae];K[ae]=se;var le=this.prepareStateText(se.text);ne+=le.toString();for(var ue=0;ue<le.length;ue++)oe.add(ae);se.ts.textAlign==t.StiTextHorAlignment.Width&&(se.ts.wordSpacing=0)}n.ref=ne,Q=r.create(Number,oe.length);for(var ae=0;ae<Q.length;ae++)Q[ae]=oe[ae]}else{(K=r.create(L,1))[0]=re,Q=r.create(Number,n.ref.length);for(var ae=0;ae<Q.length;ae++)Q[ae]=0}for(var ce=new s,de=0;de<K.length;de++){var he=this.precisionModeEnabled?K[de].ts.fontSize*this.precisionModeFactor:K[de].ts.fontSize;K[de].fontIndex=this.getFontIndex(K[de].ts.fontName,he,K[de].ts.bold,K[de].ts.italic,K[de].ts.underline,K[de].ts.strikeout,K[de].ts.superscript||K[de].ts.subsript,ce)}J=r.create(C,ce.length);for(var me=0;me<J.length;me++)J[me]=ce[me];for(var me=0;me<J.length;me++)J[me].fontScaled=null,J[me].hFontScaled=0,J[me].hScriptCache=0,J[me].hScriptCacheScaled=0,(1!=N||this.precisionModeEnabled)&&O&&(J[me].fontScaled=new h(J[me].fontBase.fontFamily.name,J[me].fontBase.size*N,J[me].fontBase.style,J[me].fontBase.unit),J[me].hFontScaled=J[me].fontScaled.getHeight());try{try{for(var me=0;me<J.length;me++)J[me].lineHeight=J[me].fontBase.sizeInPoints*N*1.3,J[me].ascend=J[me].fontBase.sizeInPoints*N*1.1,J[me].descend=J[me].fontBase.sizeInPoints*N*.2,J[me].emValue=J[me].fontBase.sizeInPoints*N;for(var me=0;me<J.length;me++)J[me].hFont=J[me].fontBase.getHeight();try{if(A>45&&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(ge<n.ref.length){var ye=new T;ye.begin=ge;while(ge<n.ref.length&&"\r"!=n.ref[ge]&&"\n"!=n.ref[ge])ge++;ye.end=ge;while(ye.end>ye.begin+1&&p.isWhitespace(n.ref[ye.end-1]))ye.end--;Se.add(ye),++ge<n.ref.length&&("\r"==n.ref[ge]||"\n"==n.ref[ge])&&n.ref[ge-1]!=n.ref[ge]&&ge++}K.length>0&&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;xe<Se.length;xe++){var Be=Se[xe],Le,Ne=(Le=n.ref.substr(Be.begin,Be.length)).length,Ae,Fe=10*K[Q[Be.begin]].ts.indent,Re=0,ke=0,Oe=Fe>0,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<Ne){while(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))==S.OpenPunctuation||ze==S.ClosePunctuation||ze==S.InitialQuotePunctuation||ze==S.FinalQuotePunctuation)break;Ie++}if(Ie<Ne){var We=Ie,Ge=Ie;if(p.getUnicodeCategory(Le[Ie])==S.OpenPunctuation||p.getUnicodeCategory(Le[Ie])==S.InitialQuotePunctuation){while(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))!=S.OpenPunctuation&&ze!=S.InitialQuotePunctuation&&ze!=S.SpaceSeparator)break;Ie++}if(Ie<Ne&&p.getUnicodeCategory(Le[Ie])!=S.ClosePunctuation&&p.getUnicodeCategory(Le[Ie])!=S.FinalQuotePunctuation){while(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))==S.SpaceSeparator||this.isWordWrapSymbol2(Le,Ie)||this.isCJKWordWrap(Le,Ie))break;Ie++}while(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))!=S.SpaceSeparator)break;Ie++}Ie<Ne&&p.getUnicodeCategory(Le[Ie])==S.DashPunctuation&&Ie++}if(Ie<Ne&&(p.getUnicodeCategory(Le[Ie])==S.ClosePunctuation||p.getUnicodeCategory(Le[Ie])==S.FinalQuotePunctuation))while(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))!=S.ClosePunctuation&&ze!=S.FinalQuotePunctuation&&ze!=S.OtherPunctuation&&ze!=S.SpaceSeparator)break;Ie++}Ge=Ie}else{Ie--;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(Ie<Ne){var ze;if((ze=p.getUnicodeCategory(Le[Ie]))!=S.ClosePunctuation&&ze!=S.FinalQuotePunctuation&&ze!=S.OtherPunctuation&&ze!=S.SpaceSeparator)break;Ie++}Ge=Ie}while(Ge>We&&p.getUnicodeCategory(Le[Ge-1])==S.SpaceSeparator)Ge--;He[We]=2;for(var je=We+1;je<Ge;je++)He[je]=1}}for(var Ve=!1,Xe=0;Xe<Ne;Xe++)if("‑"==Le[Xe]||" "==Le[Xe]){Ve=!0,He[Xe]=1;var qe=Xe,Ue=!0;while(qe>0&&p.isLetterOrDigit(Le[qe-1])){if(0!=He[--qe]){Ue=!1;break}He[qe]=1}Ue&&(He[qe]=2),qe=Xe;while(qe+1<Ne&&(p.isLetterOrDigit(Le[qe+1])||"‑"==Le[qe+1]||" "==Le[qe+1]))He[++qe]=1;Xe=qe}Ve&&(Le=Le.stimulsoft.replaceAll("‑","-"));for(var Xe=0;Xe<Ne;Xe++)if(this.isNotWordWrapSymbol(Le,Xe))if(Xe>0&&this.isNotWordWrapSymbol2(Le,Xe-1)){He[Xe]=1;var qe=Xe;if(!this.isWordWrapSymbol2(Le,qe)&&!this.isCJKSymbol(Le,qe)){qe++;while(qe<Le.length&&p.isLetterOrDigit(Le[qe])&&!this.isCJKSymbol(Le,qe)){if(0!=He[qe])break;He[qe]=1,qe++}}qe=Xe;var Ue=!1,Ye=!0;while(qe>0&&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(Xe<Le.length-1&&this.isNotWordWrapSymbol2(Le,Xe+1)){var Ue=0==He[Xe],qe=Xe;if(!this.isWordWrapSymbol2(Le,qe)){qe++;while(qe<Le.length&&p.isLetterOrDigit(Le[qe])){if(0!=He[qe])break;He[qe]=1,qe++}}Ue&&(He[Xe]=2)}var Ze=r.create(Number,Ne),Je=null,Ke=1,Qe;(Je=r.create(v,Ke+1,!0))[1].iCharPos=Le.length;for(var _e=new s(Je),$e=Je.length-2,et;$e>0;$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.length<Je.length){Je=r.create(v,_e.length,!0);for(var rt=0;rt<_e.length;rt++)Je[rt]=_e[rt].clone();Ke=Je.length-1}_e.clear(),(et=new s).add(Je[0].clone());for(var it=0,Xe=0;Xe<Ne;Xe++){if(Xe==Je[it+1].iCharPos){it++,et.add(Je[it].clone());continue}if(2==He[Xe]&&0!=Xe){var nt;(nt=Je[it].clone()).iCharPos=Xe,et.add(nt);continue}if(Xe>0&&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;ot<et.length;ot++)Je[ot]=et[ot].clone();Ke=et.length-1,(Qe=2*Ne)<20&&(Qe=20);for(var at=0,st=0,lt=0,ut=0,ct=-1,ot=0,Ee;ot<Ke;ot++){var dt=r.create(Number,Qe),ht=r.create(Number,Ne),mt=r.create(Number,Qe),ft=void 0,pt=Je[ot].iCharPos,St=Je[ot+1].iCharPos-pt,gt=Le.substr(pt,St),yt=J[K[_=Q[Be.begin+pt]].fontIndex],vt;2==He[pt]&&ot!=ut&&(lt=ot),ft=St;for(var bt=0;bt<ft;bt++)ht[bt]=bt;for(var ae=0;ae<gt.length;ae++){var Ct=d.measureString(gt[ae],yt.fontBase);mt[ae]=Ct.width}if(this.correctionEnabled&&!this.compatibility2009)if((vt=this.getFontWidth(yt)).length>0)for(var Tt=this.maxFontSize/yt.emValue,wt=0;wt<ft;wt++){if(0==mt[wt])continue;var Dt;(Dt=dt[wt])>=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]<Pt-.4){var xt=Math.round(Pt);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;wt<ft;wt++){var Ft;At+=mt[wt]+Lt,Nt+=Ft=Math.trunc(At-Nt),mt[wt]=Ft}if(0!=K[_].ts.wordSpacing)for(var Rt=yt.emValue*K[_].ts.wordSpacing,Nt=0,At=0,Xe=0;Xe<St;Xe++){var Ft;if(p.isWhitespace(gt[Xe]))At+=mt[ht[Xe]]+Rt,Nt+=Ft=Math.trunc(At-Nt),mt[ht[Xe]]+=Ft}for(var kt=0,Xe=0;Xe<St;Xe++){""==gt[Xe]&&(ct=mt[Xe],mt[Xe]=0);var Ot=0;if("\t"==gt[Xe])Ot=this.getTabsWidth(W,be,at+kt);else{var Mt=ht[Xe];while(Xe<St-1&&ht[Xe+1]==Mt)Xe++;var Et=Mt,Ht=Mt;Ht=Xe+1<St?ht[Xe+1]:ft;for(var wt=Et;wt<Ht;wt++)Ot+=mt[wt]}kt+=Ot,Ze[pt+Xe]=Ot,Oe&&pt+Xe+1==Fe&&!Me&&(Re=at+kt)}var It=Number.MAX_VALUE,zt=!1;if(F!=f.None?(It=V.width,P&&De.length+1!=we||(zt=!0),F!=f.EllipsisCharacter&&F!=f.EllipsisWord||zt&&(It=V.width-ve)):P&&(It=V.width-ke),Math.round2((at+kt)*N,this.precisionDigits)<=It)at+=kt;else{for(var Wt=0,Gt=0,jt=0,Vt=0,Xe=0;Xe<St;Xe++){if("\t"==gt[Xe]){var Xt=this.getTabsWidth(W,be,at+Wt);Ze[pt+Xe]=Xt}var Mt=ht[Xe];while(Xe<St-1&&ht[Xe+1]==Mt)Xe++;if(Wt+=Ze[pt+Xe],Math.round2((at+Gt)*N),this.precisionDigits>It){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,st<Ne){var qt=new T;qt.begin=st,qt.end=Ne,qt.needWidthAlign=!1,F!=f.EllipsisCharacter&&F!=f.EllipsisWord||(qt.text=Le.substr(qt.begin,qt.length)+"…"),De.add(qt),st=Ne}break}var Ut=!1,Ee;if(1==He[pt+Xe]){var Yt=pt+Xe-1;while(1==He[Yt])Yt--;Yt==st&&(Ut=!0)}jt==Vt&&0==at||Ut?(0!=(Vt=Xe)||Ut||Vt++,pt+Vt-st==0&&Vt++,Vt>0&&""==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(Vt<St-1&&(p.isWhitespace(Le[pt+Vt])||""==Le[pt+Vt]))Vt++;if(Wt=0,Gt=0,at=0,jt=Vt,Xe=Vt-1,(st=pt+Vt)<Ne&&1==He[st]&&0!=lt){st=Je[lt].iCharPos,Ee.end=st,ot=lt-1,ut=lt,lt=0;while(Ee.end>Ee.begin+1&&p.isWhitespace(Le[Ee.end-1]))Ee.end--;break}lt=0,ut=0}}at+=Wt}}if(st<Ne)(Ee=new T).begin=st,Ee.end=Ne,Ee.needWidthAlign=!1,(F==f.EllipsisCharacter||F==f.EllipsisWord)&&De.length+1==we&&xe+1<Se.length&&(Ee.text=Le.substr(Ee.begin,Ee.length)+"…"),Me&&(Ee.indent=Re),De.add(Ee);for(var Zt=Pe;Zt<De.length;Zt++){for(var Jt=De[Zt],Kt=0,Qt=0,Xe=Jt.begin;Xe<Jt.end;Xe++){Kt+=Ze[Xe];var _t=n.ref[Be.begin+Xe];p.isWhitespace(_t)&&" "!=_t&&Qt++}if(null!=Jt.text&&(Kt+=ve),Jt.width=Math.trunc(Kt*N),Jt.begin+=Be.begin,Qt>0){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;xe<Se.length;xe++){var rr;er<(rr=Se[xe]).width&&(er=rr.width);for(var ir=K[Q[rr.begin]].fontIndex,Xe=rr.begin+1;Xe<rr.end;Xe++){var nr=K[Q[Xe]].fontIndex;J[ir].fontBase.size<J[nr].fontBase.size&&(ir=nr)}rr.indexOfMaxFont=ir;var or=1,ar,sr;if(xe!=Se.length-1)(sr=Se[xe+1].begin)>0&&sr--,or=K[Q[sr]].ts.lineHeight;rr.lineHeight=J[ir].lineHeight*or,((tr+=rr.lineHeight)<j.height||tr-rr.lineHeight+J[ir].lineHeight<j.height)&&Te++,rr.textAlignment=K[Q[rr.end-(rr.length>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;ae<Se.length;ae++){var rr,Le;null==(Le=(rr=Se[ae]).text)&&(Le=n.ref.substr(rr.begin,rr.length));var lr=Le.length>0&&""==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;xe<ur;xe++)dr+=Se[xe].lineHeight;dr=Math.trunc(dr);var hr=b;switch(0!=A&&90!=A&&180!=A&&270!=A&&(hr=t.StiVertAlignment.Center),hr){case t.StiVertAlignment.Center:cr+=(V.height-dr)/2;break;case t.StiVertAlignment.Bottom:cr+=V.height-dr;break}for(var mr=cr,xe=0;xe<ur;xe++){var fr=Se[xe];if(fr.length>0){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;Xe<Le.length;Xe++){if(Xe==Je[it+1].iCharPos){it++,et.add(Je[it].clone());continue}if(Xe>0&&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;ot<et.length;ot++)Je[ot]=et[ot].clone();Ke=et.length-1,(Qe=2*(Ne=Le.length))<20&&(Qe=20);for(var at=0,vr=pr,ot=0;ot<Ke;ot++){var dt=r.create(Number,Qe),ht=r.create(Number,Ne),mt=r.create(Number,Qe),ft=void 0,br=ot,pt=Je[br].iCharPos,St=Je[br+1].iCharPos-pt,gt=Le.substr(pt,St),yt,Cr=0!=(yt=J[K[_=Q[fr.begin+pt]].fontIndex]).hFontScaled,Tr=mr;if(K[_].ts.superscript||K[_].ts.subsript){var wr=J[yt.parentFontIndex];Tr+=J[fr.indexOfMaxFont].ascend-wr.ascend,K[_].ts.subsript&&(Tr+=wr.lineHeight-(yt.ascend+yt.descend))}else Tr+=J[fr.indexOfMaxFont].ascend-yt.ascend;var Dr=Cr?yt.hScriptCacheScaled:yt.hScriptCache;ft=St;for(var bt=0;bt<ft;bt++)ht[bt]=bt;var Pr=0,vt;if(Cr){for(var ae=0;ae<gt.length;ae++){var Ct=d.measureString(gt[ae],yt.fontBase);mt[ae]=Ct.width}var vt;if(this.correctionEnabled&&!this.compatibility2009)if((vt=this.getFontWidth(yt)).length>0)for(var Tt=this.maxFontSize/yt.emValue,wt=0;wt<ft;wt++){if(0==mt[wt])continue;var Dt;(Dt=dt[wt])>=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]<Pt-.4){var xt=Math.round(Pt);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;wt<ft;wt++)Pr+=mt[wt]}for(var ae=0;ae<gt.length;ae++){var Ct=d.measureString(gt[ae],yt.fontBase);mt[ae]=Ct.width}if(this.correctionEnabled&&!this.compatibility2009)if((vt=this.getFontWidth(yt)).length>0)for(var Tt=this.maxFontSize/yt.emValue/N,wt=0;wt<ft;wt++){if(0==mt[wt])continue;var Dt;(Dt=dt[wt])>=vt.length&&(Dt=vt.length-1);var Pt=vt[Dt]/Tt;if(mt[wt]<Pt-.4){var xt=Math.round(Pt);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;wt<ft;wt++)xr+=mt[wt];if(xr>0)for(var Br=Pr*N/xr,Nt=0,At=0,wt=0;wt<ft;wt++){var Ft;At+=mt[wt]*Br,Nt+=Ft=Math.trunc(At-Nt),mt[wt]=Ft}}var Lr=null;if(null!=I){Lr=r.create(Number,ft);for(var Xe=0;Xe<ft;Xe++)Lr[Xe]=mt[Xe]}var Nr=0;if(0!=K[_].ts.letterSpacing){for(var Lt=1.35*yt.emValue*K[_].ts.letterSpacing*N,Nt=0,At=0,wt=0;wt<ft;wt++){var Ft;At+=mt[wt]+Lt,Nt+=Ft=Math.trunc(At-Nt),mt[wt]=Ft}Nr+=Lt*ft}if(0!=K[_].ts.wordSpacing)for(var Rt=yt.emValue*K[_].ts.wordSpacing*N,Nt=0,At=0,Xe=0;Xe<St;Xe++){var Ft;if(p.isWhitespace(gt[Xe]))At+=mt[ht[Xe]]+Rt,Nt+=Ft=Math.trunc(At-Nt),mt[ht[Xe]]+=Ft,Nr+=Rt}for(var kt=0,Ar=!0,Xe=0;Xe<St;Xe++){var Ot=0;if("\t"==gt[Xe]){var Fr=this.getTabsWidth(W,be*N,at+kt);Ot=Fr,Pr+=Math.trunc(Fr/N)}else{var Mt=ht[Xe];while(Xe<St-1&&ht[Xe+1]==Mt)Xe++,Ar=!1;var Et=Mt,Ht=Mt;Ht=Xe+1<St?ht[Xe+1]:ft;for(var wt=Et;wt<Ht;wt++)Ot+=mt[wt];Ht-Et>1&&(Ar=!1)}kt+=Ot}var Rr=0,kr=0;if(gr==t.StiTextHorAlignment.Width)for(var Xe=0;Xe<St;Xe++)if(p.isWhitespace(gt[Xe])&&" "!=gt[Xe]){kr+=fr.justifyOffset;var Or=Math.trunc(kr-Rr);Rr+=Or,mt[ht[Xe]]+=Or}if(Ar||null!=I){var Mr=new w;Mr.text=gt,Mr.xPos=vr,Mr.yPos=Tr,Mr.widths=r.create(Number,St);for(var Xe=0;Xe<St;Xe++){var Er=Xe,Mt=ht[Xe];while(Xe<St-1&&ht[Xe+1]==Mt)Xe++;var Et=Mt,Ht=Mt;if(Ht=Xe+1<St?ht[Xe+1]:ft,Er!=Xe||Ht-Et>1){for(var Ot=0,wt=Et;wt<Ht;wt++)Ot+=mt[wt];if(Xe!=Er){for(var Hr=Xe-Er+1,Ir=Ot/Hr,zr=0,Wr=0,Gr=0;Gr<Hr-1;Gr++){zr+=Ir;var jr=Math.trunc(Math.round(zr)-Wr);Wr+=jr,Mr.widths[Er+Gr]=jr}Mr.widths[Xe]=Ot-Wr}else Mr.widths[Xe]=Ot}else Mr.widths[Xe]=mt[Et]}null==Lr&&(Lr=r.create(Number,ft)),Mr.glyphIndexList=r.create(Number,ft),Mr.glyphWidths=r.create(Number,ft),Mr.scaleList=r.create(Number,ft);for(var wt=0;wt<ft;wt++)Mr.glyphIndexList[wt]=dt[wt],Mr.glyphWidths[wt]=mt[wt],Mr.scaleList[wt]=1,0!=Lr[wt]&&(Mr.scaleList[wt]=mt[wt]/Lr[wt]);Mr.textColor=K[_].ts.fontColor,Mr.backColor=K[_].ts.backColor,Mr.fontIndex=K[_].fontIndex,Mr.href=K[_].ts.href,Z.add(Mr)}Cr?yt.hScriptCacheScaled!=Dr&&(yt.hScriptCacheScaled=Dr):yt.hScriptCache!=Dr&&(yt.hScriptCache=Dr),vr+=Cr?Pr*N+kr+Nr:kt+kr,at+=kt}}mr+=fr.lineHeight}}if(!O&&Se.length>we)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?"<li>"+Ur.substr(0,qr):(se.listLevels[se.listLevels.length-1]>0?"<ol>":"<ul>")+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&&sr<K.length&&(Y+=K[sr].text,sr++),sr<K.length&&(Y+=ee.substr(K[sr].posBegin))}else{var rr=null;we>0?(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;me<J.length;me++);}}catch(e){}Z.length>0&&null!=I&&(I.clear(),I.addRange(Z),z.clear(),z.addRange(J))}catch(e){}finally{for(var me=0;me<J.length;me++)J[me].hFontScaled}}return n.ref=Y,U},b.getFontWidth=function(e){var t=e.fontNameReal+(e.fontBase.bold?",bold":"")+(e.fontBase.italic?",italic":"");null==this.hashFonts&&(this.hashFonts=new g);var r=this.hashFonts.get(t);if(null==r){try{r=this.getFontWidth2(e.fontBase)}catch(e){r=[0]}this.hashFonts.set(t,r)}return r},b.getFontWidth2=function(e){for(var t=[],r=new h(e.name,this.maxFontSize,e.style),i=[],n=0;n<65536-1;n++)i[n]=n;return t},b.isWordWrapSymbol2=function(e,t){var r=e[t];return"!"==r||"%"==r||")"==r||"}"==r||"-"==r||"?"==r||")"==r||":"==r||"、"==r||","==r||"。"==r},b.isNotWordWrapSymbol=function(e,t){var r=p.getUnicodeCategory(e[t]),i=r==S.OtherPunctuation||r==S.MathSymbol||r==S.CurrencySymbol;return t>0&&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="<forcewidth>",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<l;u++)s.append(r[u]+(u!=l-1?"&":""));var c=new XMLHttpRequest;return c.open("POST",this.getBingUrl(t),!0),c.setRequestHeader("Content-Type","text/plain; charset=utf-8"),c.responseType="arraybuffer",c.onreadystatechange=function(){if(4!=c.readyState)return;if(200==c.status){var r=e.base64ArrayBuffer(c.response),n='<image x="0" y="0" width="'+t.width+'" height="'+t.height+'" xlink:href="data:image/png;base64,'+r+'" />';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<a;h+=3)t+=r[s=(16515072&(d=i[h]<<16|i[h+1]<<8|i[h+2]))>>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'></div>",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/pC1fcjxM02u3jVJ1l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QkuXhFlAtMxglYZ4fdalh5S8Sl7h3lTJ3B/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;r<e.length;r++)if(!this.equalValues(e[r],t[r]))return!1;return!0},e}();t.StiValueComparer=i}(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.StiNumber,n=e.System.Type,o=e.System.Convert,a=e.System.DateTime,s=e.System.TimeSpan,l=e.System.Globalization.CultureInfo,u=function(){function e(){}return e.isZero=function(e){if(null==e)return!0;var t;if(n.getType(e)==Number)return 0==e;return!1},e.equalDecimal=function(t,r){if(null==t||null==r)return!1;return e.tryToNumber(t)==e.tryToNumber(r)},e.tryToString=function(e){if(null==e)return null;if(e.stimulsoft.is(String))return e;return e.toString()},e.tryToNumber=function(t){try{if(null==t)return 0;if(t.stimulsoft.is(Boolean))return t?1:0;if(t.stimulsoft.is(Number))return t;var r=t.stimulsoft.as(String);if(null!=r){r=e.normalizeFloatingPointValue(t);var a=i.tryParse(r);if(a.successfully)return a.result;return 0}if(!n.isNumericType(t))return 0;return o.toNumber(t)}catch(e){return 0}},e.tryToBool=function(e){try{if(null==e)return!1;if(e.stimulsoft.is(Boolean))return e;var t=this.tryToNullableNumber(e);if(null!=t)return 1==t;var r=e.stimulsoft.as(String);if(null!=r)return"true"==(r=r.toLowerCase())||"on"==r||"yes"==r;return!1}catch(e){return!1}},e.tryToDateTime=function(e){try{if(e.stimulsoft.is(a))return e;if(null==e)return a.now;if(n.isNumericType(n.getType(e)))return a.now;return t.StiConvert.changeType(e,a,!1)}catch(e){return a.now}},e.tryToTimeSpan=function(e){try{if(e.stimulsoft.is(s))return e;if(null==e)return new s(0);return t.StiConvert.changeType(e,s,!1)}catch(e){return new s(0)}},e.tryToNullableNumber=function(t){if(null==t)return null;try{if(t.stimulsoft.is(a))return t.toOADate();var r=t.stimulsoft.as(String);if(null!=r){r=e.normalizeFloatingPointValue(t);var s=i.tryParse(r),l=s.result,u;return s.successfully&&-1==r.indexOf("\n")?l:null}if(n.getType(t)!=Number)return 0;return o.toNumber(t)}catch(e){return null}},e.tryToNullableDateTime=function(e){if(null==e)return null;if(e.stimulsoft.is(a))return e;return t.StiConvert.changeType(e,a,!1)},e.tryToNullableTimeSpan=function(e){if(null==e)return null;if(e.stimulsoft.is(s))return e;return t.StiConvert.changeType(e,s,!1)},e.parseNumber=function(e){var t,r;if("0"==e)return 0;var i="",n="",o=1,a=!0;try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;","==u||"."==u?a=!1:a?i+=u:(n+=u,o*=10)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(0==i.length&&0!=n.length)return n.stimulsoft.toNumber()/o;if(0!=i.length&&0!=n.length)return i.stimulsoft.toNumber()+n.stimulsoft.toNumber()/o;if(0!=i.length&&0==n.length)return i.stimulsoft.toNumber();return 0},e.normalizeFloatingPointValue=function(e){return e.replace(".",",").replace(",",l.currentCulture.numberFormat.numberDecimalSeparator)},e}();r.StiValueHelper=u}(r=t.Helpers||(t.Helpers={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){e[e["Report"]=0]="Report",e[e["Document"]=1]="Document"}(t=e.StiJsonSaveMode||(e.StiJsonSaveMode={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.Drawing.StiBorderSides,n=e.Base.Drawing.StiPenStyle,o=e.Base.Drawing.StiBorderSide,a=e.System.Drawing.Drawing2D.HatchStyle,s=e.System.Text.StringBuilder,l=e.System.Enum,u=e.Base.Drawing.StiCapStyle,c=e.Base.Drawing.StiCap,d=e.Base.StiJson,h=e.Base.Drawing.StiBorder,m=e.System.Drawing.Rectangle,f=e.Base.Drawing.StiAdvancedBorder,p=e.System.Drawing.Font,S=e.System.Drawing.FontStyle,g=e.System.Drawing.GraphicsUnit,y=e.System.Drawing.Color,v=e.System.Drawing.Size,b=e.System.Drawing.Point,C=e.Base.Drawing.StiEmptyBrush,T=e.Base.Drawing.StiGlareBrush,w=e.Base.Drawing.StiGlassBrush,D=e.Base.Drawing.StiGradientBrush,P=e.Base.Drawing.StiHatchBrush,x=e.Base.Drawing.StiSolidBrush,B=e.Base.Drawing.StiSimpleBorder,L=function(){function e(){}return e.fontArial8=function(t){return e.font(t,"Arial",8,S.Regular,g.Point)},e.font=function(e,t,r,i,n){void 0===t&&(t="Arial"),void 0===r&&(r=8),void 0===i&&(i=S.Regular),void 0===n&&(n=g.Point);var o="",a="",s="",u="",c=0;if(e.fontFamily.name!=t&&(c++,o=e.fontFamily.name),e.size!=r&&(c++,a=e.size.toString()),e.style!=i&&(c++,s=l.getName(S,e.style)),e.unit!=n&&(c++,u=l.getName(g,e.unit)),0==c)return null;return o+";"+a+";"+s+";"+u},e.rectangleD=function(e){return e.x.toString()+","+e.y.toString()+","+e.width.toString()+","+e.height.toString()},e.sizeD=function(e){return e.width.toString()+","+e.height.toString()},e.jColor=function(e,t){if(void 0===t&&(t=null),null==e||e.stimulsoft.equals(t))return null;return e.isNamedColor?e.name.stimulsoft.replaceAll(" ",""):255==e.a?e.r.toString()+","+e.g.toString()+","+e.b.toString():e.a.toString()+","+e.r.toString()+","+e.g.toString()+","+e.b.toString()},e.colorArray=function(t){for(var r=new d,i=0;i<t.length;i++){var n=t[i],o=e.jColor(n);r.addPropertyString(i.toString(),o)}return r},e.stringArray=function(e){if(null==e||0==e.length)return null;for(var t=new d,r=0;r<e.length;r++)t.addPropertyString(r.toString(),e[r]);return t},e.numberArray=function(e){if(null==e||0==e.length)return null;for(var t=new d,r=0;r<e.length;r++)t.addPropertyStringNullOrEmpty(r.toString(),e[r].toString());return t},e.objectArray=function(e,t){var r,i;if(null==e||0==e.length)return null;var n=new d,o=0;try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(t)),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=new d;return t.addPropertyNumber("Width",e.width),t.addPropertyNumber("Height",e.height),t},e.point=function(e){var t=new d;return t.addPropertyStringNullOrEmpty("X",e.x.toString()),t.addPropertyStringNullOrEmpty("Y",e.y.toString()),t},e.jCap=function(t){var r=new s;return 10!=t.width&&r.append(t.width),r.append(";"),10!=t.height&&r.append(t.height),r.append(";"),t.style!=u.None&&r.append(l.getName(u,t.style)),r.append(";"),r.append(e.jColor(t.color,y.black)),r.toString()},e.jBrush=function(t,r){void 0===r&&(r=null);var i=new s;if(t.stimulsoft.is(x)){var n=t;i.append("solid:"),i.append(e.jColor(n.color,y.transparent))}else if(t.stimulsoft.is(C))i.append("empty");else if(t.stimulsoft.is(T)){var o=t;i.append("glare:"),i.append(e.jColor(o.startColor,y.black)),i.append(":"),i.append(e.jColor(o.endColor,y.white)),i.append(":"),0!=o.angle&&i.append(o.angle),i.append(":"),.5!=o.focus&&i.append(o.focus),i.append(":"),1!=o.scale&&i.append(o.scale)}else if(t.stimulsoft.is(w)){var u=t;i.append("glass:"),i.append(e.jColor(u.color,y.silver)),i.append(":"),u.drawHatch&&i.append(u.drawHatch),i.append(":"),.2!=u.blend&&i.append(u.blend)}else if(t.stimulsoft.is(D)){var c=t;i.append("gradient:"),i.append(e.jColor(c.startColor,y.black)),i.append(":"),i.append(e.jColor(c.endColor,y.white)),i.append(":"),0!=c.angle&&i.append(c.angle)}else if(t.stimulsoft.is(P)){var d=t;i.append("hatch:"),i.append(e.jColor(d.backColor,y.black)),i.append(":"),i.append(e.jColor(d.foreColor,y.white)),i.append(":"),d.style!=a.BackwardDiagonal&&i.append(l.getName(a,d.style))}return i.toString()},e.jBorderSide=function(t){var r=e.jColor(t.color,y.black);null==r&&(r="");var i="";1!=t.size&&(i=t.size.toString());var o="";return t.style!=n.None&&(o=l.getName(n,t.style)),r+":"+i+":"+o},e.jBorder=function(t){var r=new s,o=t.stimulsoft.as(f);return null!=o?(r.append(e.jBorderSide(o.topSide)),r.append(";"),r.append(e.jBorderSide(o.bottomSide)),r.append(";"),r.append(e.jBorderSide(o.leftSide)),r.append(";"),r.append(e.jBorderSide(o.rightSide)),r.append(";"),t.dropShadow&&r.append(t.dropShadow),r.append(";"),4!=t.shadowSize&&r.append(t.shadowSize),r.append(";"),r.append(e.jBrush(t.shadowBrush,new x(y.black)))):(t.side!=i.None&&r.append(l.getName(i,t.side)),r.append(";"),t.color.stimulsoft.equals(y.black)||r.append(e.jColor(t.color)),r.append(";"),1!=t.size&&r.append(t.size),r.append(";"),t.style!=n.Solid&&r.append(l.getName(n,t.style)),r.append(";"),4!=t.shadowSize&&r.append(t.shadowSize),r.append(";"),t.dropShadow&&r.append(t.dropShadow),r.append(";"),t.topmost&&r.append(t.topmost),r.append(";"),r.append(e.jBrush(t.shadowBrush,new x(y.black)))),r.toString()},e.jBorder2=function(t){var r="";return t.side!=i.None&&(r+=t.side),r+=";",y.gray.stimulsoft.equals(t.color)||(r+=e.jColor(t.color)),r+=";",1!=t.size&&(r+=t.size),r+=";",t.style!=n.Solid&&(r+=t.style),r+=";"},e}();t.Serialize=L;var N=function(){function e(){}return e.stringArray=function(e){var t,r,i=[],n=0;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;i[n]=s.value,n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.numberArray=function(e){var t,r,i=[],n=0;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;i[n]=s.value,n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.font=function(e,t){var i=e.split(";");if(4!=i.length)throw new Error("Parsing Error");var n=t.fontFamily.name,o=t.size,a=t.style,s=t.unit;return r.isNullOrEmpty(i[0])||(n=i[0]),r.isNullOrEmpty(i[1])||(o=parseFloat(i[1])),r.isNullOrEmpty(i[2])||(a=l.parse(S,i[2])),r.isNullOrEmpty(i[3])||(s=l.parse(g,i[3])),new p(n,o,a,s)},e.jBorderSide=function(t){var i=t.split(":"),a=new o;return r.isNullOrEmpty(i[0])||(a.color=e.color(i[0])),r.isNullOrEmpty(i[1])||(a.size=parseFloat(i[1])),r.isNullOrEmpty(i[2])||(a.style=l.parse(n,i[2])),a},e.jCap=function(t){var i=t.split(";"),n=new c;if(4!=i.length)throw new Error("Parsing Error");return r.isNullOrEmpty(i[0])||(n.width=parseInt(i[0])),r.isNullOrEmpty(i[1])||(n.height=parseInt(i[1])),r.isNullOrEmpty(i[2])||(n.style=l.parse(u,i[2])),r.isNullOrEmpty(i[3])||(n.color=e.color(i[3])),n},e.border=function(t){var o=t.split(";");if(7==o.length){var a=!1,s=4,u=new x(y.black);return new f(e.jBorderSide(o[0]),e.jBorderSide(o[1]),e.jBorderSide(o[2]),e.jBorderSide(o[3]),a,s,u)}var c=new h;return r.isNullOrEmpty(o[0])||(c.side=l.parse(i,o[0])),r.isNullOrEmpty(o[1])||(c.color=e.color(o[1])),r.isNullOrEmpty(o[2])||(c.size=parseFloat(o[2])),r.isNullOrEmpty(o[3])||(c.style=l.parse(n,o[3])),o.length>4&&!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()<this["products"].length-1?e+=" },\r\n":e+=" }\r\n";return this["products"].length>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("<?xml")){var o=n.toXml(t);return r.loadLocalizationXmlInternal(o)}}catch(t){e.System.StiError.showError(t.message,!1)}return""},r.loadLocalizationFile=function(t){var r=e.System.IO.File.getFile(t);if(r)return this.loadLocalization(r);return""},r.loadLocalizationXmlInternal=function(t){try{var i=t.firstChild.getAttribute("language"),n=r["English"];null==n.jsonString&&(n.jsonString=JSON.stringify(r["English"])),r[i]=JSON.parse(n.jsonString.replace(/"/gi,'"')),r[i]["@language"]=t.firstChild.getAttribute("language"),r[i]["@description"]=t.firstChild.getAttribute("description"),r[i]["@cultureName"]=t.firstChild.getAttribute("cultureName");for(var o=0;o<t.firstChild.childNodes.length;o++){var a=t.firstChild.childNodes[o].nodeName;null==r[i][a]&&(r[i][a]={});for(var s=0;s<t.firstChild.childNodes[o].childNodes.length;s++){var l=t.firstChild.childNodes[o].childNodes[s].nodeName;r[i][a][l]=t.firstChild.childNodes[o].childNodes[s].textContent}}return r.languages[i]={language:i,cultureName:r[i]["@cultureName"]},i}catch(t){return e.System.StiError.showError(t,!1),""}},r.get=function(e,t){if(void 0!==r[r.cultureName]&&void 0!==r[r.cultureName][e]&&void 0!==r[r.cultureName][e][t]&&!i.isNullOrEmpty(r[r.cultureName][e][t]))return r[r.cultureName][e][t];return t},r.languages={English:{language:"English",cultureName:"en",filePath:""}},r.English={"@language":"English","@description":"English","@cultureName":"en",A_WebViewer:{AbbreviatedDayFriday:"Fr",AbbreviatedDayMonday:"Mo",AbbreviatedDaySaturday:"Sa",AbbreviatedDaySunday:"Su",AbbreviatedDayThursday:"Th",AbbreviatedDayTuesday:"Tu",AbbreviatedDayWednesday:"We",Attachment:"Attachment:",ButtonNext:"Next",ButtonPrev:"Previous",ButtonSend:"Send",CategoryAlreadyExists:"The category with that name already exists!",DayFriday:"Friday",DayMonday:"Monday",DaySaturday:"Saturday",DaySunday:"Sunday",DayThursday:"Thursday",DayTuesday:"Tuesday",DayWednesday:"Wednesday",Email:"Email:",EmailOptions:"Email Options",FirstPage:"First Page",Hours:"Hours",LabelFrom:"From:",LabelSelectExportFormat:"Select the format to which you want to save the report:",LabelTo:"To:",LastPage:"Last Page",Loading:"Loading...",Message:"Message:",Minutes:"Minutes",MonthApril:"April",MonthAugust:"August",MonthDecember:"December",MonthFebruary:"February",MonthJanuary:"January",MonthJuly:"July",MonthJune:"June",MonthMarch:"March",MonthMay:"May",MonthNovember:"November",MonthOctober:"October",MonthSeptember:"September",NextPage:"Next Page",OnePage:"One Page",Page:"Page",PageOf:"of",PreviousPage:"Previous Page",PrintContinue:"Click Print to continue",PrintReport:"Print",PrintToPdf:"PDF",PrintToXps:"Microsoft XPS",PrintWithoutPreview:"Print",PrintWithPreview:"Preview",SaveReport:"Save",Subject:"Subject:",TabItemContacts:"Contacts",TextComputer:"Computer",TextItemsRoot:"Root",TodayDate:"Today",WholeReport:"Whole Report"},ExceptionProvider:{SendErrorSuccess:"The error message delivered successfully.",SendErrorFailed:"Failed to deliver the error message.",Exception:"Exception",Assemblies:"Assemblies",Framework:"Framework",Message:"Message",General:"General",Source:"Source",Number:"Number",StackTrace:"Stack Trace",PleaseEnterDetailedInformation:"Please enter detailed information about events which cause this exception.",SaveToFile:"Save to File",ExceptionReport:"Exception Report"},Adapters:{AdapterBusinessObjects:"Data from Business Objects",AdapterConnection:"Data from {0}",AdapterCrossTabDataSource:"Data from Cross-Tab",AdapterCsvFiles:"Data from CSV Files",AdapterDataTables:"Data from DataSet, DataTables",AdapterDataViews:"Data from DataViews",AdapterDB2Connection:"Data from IBM DB2 Connection",AdapterDBaseFiles:"Data from dBase Files",AdapterFirebirdConnection:"Data from Firebird Connection",AdapterInformixConnection:"Data from Informix Connection",AdapterMySQLConnection:"Data from MySQL Connection",AdapterOdbcConnection:"Data from ODBC Connection",AdapterOleDbConnection:"Data from OLE DB Connection",AdapterOracleConnection:"Data from Oracle Connection",AdapterOracleODPConnection:"Data from Oracle ODP.NET Connection",AdapterPostgreSQLConnection:"Data from PostgreSQL Connection",AdapterSqlCeConnection:"Data from SQL CE Connection",AdapterSqlConnection:"Data from SQL Connection",AdapterSQLiteConnection:"Data from SQLite Connection",AdapterTeradataConnection:"Data from Teradata Connection",AdapterUniDirectConnection:"Data from Uni Direct Connection",AdapterUserSources:"Data from User Sources",AdapterVirtualSource:"Data from other Data Source",AdapterVistaDBConnection:"Data from VistaDB Connection"},BarCode:{Post:"Post",TwoDimensional:"Two-Dimensional"},Buttons:{Add:"Add",AddAllColumns:"Add All Columns",Attach:"Attach",Build:"Build...",Buttons:"Buttons",Cancel:"&Cancel",Check:"Check",Close:"Close",Delete:"Delete",Design:"Design",Down:"Down",Duplicate:"Duplicate",Export:"Export",ForceDelete:"Force Delete",Help:"Help",Install:"Install",LessOptions:"Less Options",LoadDataSet:"Load DataSet (*.data)",More:"More",MoreApps:"More Apps",MoreOptions:"More Options",MoveLeft:"Move Left",MoveRight:"Move Right",MoveToResource:"Move to Resource",No:"&No",Ok:"&OK",Open:"Open",Print:"Print",Publish:"Publish",QuickPrint:"Quick Print",Remove:"Remove",RemoveAll:"Remove All",Rename:"Rename",RestoreDefaults:"Restore Defaults",Reverse:"Reverse",Save:"Save",SaveCopy:"Save a Copy",SetAll:"Set All",ShowLess:"Show Less",ShowMore:"Show More",ShowSpecific:"Show '{0}'",Submit:"Submit",Test:"Test",Up:"Up",Upgrade:"Upgrade",UpgradeNow:"Upgrade Now",Upload:"Upload",Waiting:"Waiting",Yes:"&Yes"},Chart:{Histogram:"Histogram",AddCondition:"&Add Condition",AddConstantLine:"Add Constant Line",AddFilter:"&Add Filter",AddSeries:"&Add Series",AddStrip:"Add Strip",Area:"Area",Axes:"Axes",AxisReverse:"Reverse",AxisX:"Axis X",AxisY:"Axis Y",Bubble:"Bubble",Candlestick:"Candlestick",ChartConditionsCollectionForm:"Conditions",ChartEditorForm:"Chart Editor",ChartFiltersCollectionForm:"Filters",ChartType:"Chart Type",CheckBoxAutoRotation:"Auto Rotation",ClusteredBar:"Clustered Bar",ClusteredColumn:"Clustered Column",Common:"Common",ConstantLine:"Constant Line",ConstantLinesEditorForm:"Constant Lines Editor",DataColumns:"Data Columns",Doughnut:"Doughnut",Financial:"Financial",FullStackedArea:"Full-Stacked Area",FullStackedBar:"Full-Stacked Bar",FullStackedColumn:"Full-Stacked Column",FullStackedLine:"Full-Stacked Line",FullStackedSpline:"Full-Stacked Spline",FullStackedSplineArea:"Full-Stacked Spline Area",Funnel:"Funnel",FunnelWeightedSlices:"Funnel Weighted Slices",Gantt:"Gantt",GridInterlaced:"Interlaced",GridLines:"Grid Lines",LabelAlignment:"Alignment:",LabelAlignmentHorizontal:"Horizontal:",LabelAlignmentVertical:"Vertical:",LabelAngle:"Angle:",LabelArgumentDataColumn:"Argument Data Column:",LabelAutoRotation:"Auto Rotation:",LabelCloseValueDataColumn:"Close Value Data Column:",LabelEndValueDataColumn:"End Value Data Column:",LabelHighValueDataColumn:"High Value Data Column:",LabelHorizontal:"Horizontal:",LabelLowValueDataColumn:"Low Value Data Column:",LabelMinorCount:"Minor Count:",LabelOpenValueDataColumn:"Open Value Data Column:",Labels:"Labels",LabelsCenter:"Center",LabelSeriesName:"Series Name:",LabelsInside:"Inside",LabelsInsideBase:"Inside Base",LabelsInsideEnd:"Inside End",LabelsNone:"None",LabelsOutside:"Outside",LabelsOutsideBase:"Outside Base",LabelsOutsideEnd:"Outside End",LabelsStyleCategory:"Category",LabelsStyleCategoryPercentOfTotal:"Category - Percent Of Total",LabelsStyleCategoryValue:"Category - Value",LabelsStylePercentOfTotal:"Percent Of Total",LabelsStyleValue:"Value",LabelsTwoColumns:"Two Columns",LabelTextAfter:"Text After:",LabelTextBefore:"Text Before:",LabelTitleAlignment:"Alignment:",LabelValueDataColumn:"Value Data Column:",LabelValueType:"Value Type:",LabelVertical:"Vertical:",LabelVisible:"Visible:",Legend:"Legend",LegendSpacing:"Spacing",Line:"Line",ListOfValues:"List of Values",Marker:"Marker",MoveConstantLineDown:"Move Constant Line Down",MoveConstantLineUp:"Move Constant Line Up",MoveSeriesDown:"Move Series Down",MoveSeriesUp:"Move Series Up",MoveStripDown:"Move Strip Down",MoveStripUp:"Move Strip Up",NoConditions:"No Conditions",NoFilters:"No Filters",Pareto:"Pareto",Pictorial:"Pictorial",Pie:"Pie",Radar:"Radar",RadarArea:"Radar Area",RadarColumn:"Radar Column",RadarLine:"Radar Line",RadarPoint:"Radar Point",Range:"Range",RangeBar:"Range Bar",RemoveCondition:"&Remove Condition",RemoveConstantLine:"Remove Constant Line",RemoveFilter:"&Remove Filter",RemoveSeries:"&Remove Series",RemoveStrip:"Remove Strip",RunChartWizard:"Run Chart &Wizard",Scatter:"Scatter",ScatterLine:"Scatter Line",ScatterSpline:"Scatter Spline",Series:"Series",SeriesColorsCollectionForm:"Series Colors",SeriesEditorForm:"Series Editor",Serieses:"Series",SparklinesArea:"Area",SparklinesColumn:"Column",SparklinesLine:"Line",SparklinesWinLoss:"Win / Loss",Spline:"Spline",SplineArea:"Spline Area",SplineRange:"Spline Range",StackedArea:"Stacked Area",StackedBar:"Stacked Bar",StackedColumn:"Stacked Column",StackedLine:"Stacked Line",StackedSpline:"Stacked Spline",StackedSplineArea:"Stacked Spline Area",SteppedArea:"Stepped Area",SteppedLine:"Stepped Line",SteppedRange:"Stepped Range",Stock:"Stock",Strip:"Strip",StripsEditorForm:"Strips Editor Form",Style:"Style",Sunburst:"Sunburst",Treemap:"Treemap",TrendLinesEditorForm:"Trend Lines Editor",Waterfall:"Waterfall"},CharterMapEditor:{Characters:"Characters"},ChartRibbon:{Axes:"Axes",AxesArrowStyle:"Arrow Style",AxesArrowStyleLines:"Lines",AxesArrowStyleNone:"None",AxesArrowStyleTriangle:"Triangle",AxesLabel:"Label Placement",AxesLabelsNone:"None",AxesLabelsOneLine:"One Line",AxesLabelsTwoLines:"Two Lines",AxesReverseHorizontal:"Reverse Horizontal",AxesReverseVertical:"Reverse Vertical",AxesTicks:"Ticks",AxesTicksMajor:"Major",AxesTicksMinor:"Minor",AxesTicksNone:"None",AxesVisible:"Visible",AxesXAxis:"X Axis",AxesXTopAxis:"X Top Axis",AxesYAxis:"Y Axis",AxesYRightAxis:"Y Right Axis",CenterLabels:"Center",ChangeType:"Change Type",GridLines:"Grid Lines",GridLinesHorizontal:"Grid Lines Horizontal",GridLinesVertical:"Grid Lines Vertical",HorAlCenter:"<b>Overlay Legend at Center</b><br>Show Legend at center of the chart</br><br>without resizing</br>",HorAlLeft:"<b>Overlay Legend at Left</b><br>Show Legend at left of the chart</br><br>without resizing</br>",HorAlLeftOutside:"<b>Show Legend at Left</b><br>Show Legend and align left</br>",HorAlRight:"<b>Overlay Legend at Right</b><br>Show Legend at right of the chart</br><br>without resizing</br>",HorAlRightOutside:"<b>Show Legend at Right</b><br>Show Legend and align right</br>",HorizontalMajor:"<b>Major</b><br>Display Horizontal Gridlines for Major units</br>",HorizontalMajorMinor:"<b>Major && Minor Gridlines</b><br>Display Horizontal Gridlines for Major and Minor units</br>",HorizontalMinor:"<b>Minor</b><br>Display Horizontal Gridlines for Minor units</br>",HorizontalNone:"<b>None</b><br>Do not display Horizontal Grirdlines</br>",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:"<b>Overlay Legend at Bottom</b><br>Show Legend at bottom of the chart</br><br>without resizing</br>",VertAlBottomOutside:"<b>Show Legend at Bottom</b><br>Show Legend and align bottom</br>",VertAlCenter:"<b>Overlay Legend at Center</b><br>Show Legend at center of the chart</br><br>without resizing</br>",VertAlTop:"<b>Overlay Legend at Top</b><br>Show Legend at top of the chart</br><br>without resizing</br>",VertAlTopOutside:"<b>Show Legend at Top</b><br>Show Legend and align top</br>",VerticalMajor:"<b>Major</b><br>Display Vertical Gridlines for Major units</br>",VerticalMajorMinor:"<b>Major && Minor Gridlines</b><br>Display Vertical Gridlines for Major and Minor units</br>",VerticalMinor:"<b>Minor</b><br>Display Vertical Gridlines for Minor units</br>",VerticalNone:"<b>None</b><br>Do not display Vertical Gridlines</br>"},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 <barname> 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<e.length;r++)t=t>>>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;i<e.length;i+=1)t.putByte(e.charCodeAt(i),r)},t.readByte=function(e){return e.shift()},t.readShort=function(e){return e.shift()|e.shift()<<8},t.readLong=function(e){var r=t.readShort(e),i=t.readShort(e);if(i>32768)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<t;i+=1)r.push(e.shift());return r},t.pack=function(n,o){var a,s;if(null==n||void 0===n)return null;var l=0,u=[],c=n;n.stimulsoft.is(String)&&(c=n.stimulsoft.toUnicodeString().stimulsoft.toBytesArray()),t.putByte(t.ID1,u),t.putByte(t.ID2,u),t.putByte(t.DefaultMethod,u),r.isNullOrEmpty(o)||(l|=i.FName),t.putByte(l,u),t.putLong(parseInt((Date.now()/1e3).toString(),10),u),1==t.DefaultLevel?t.putByte(4,u):9==t.DefaultLevel?t.putByte(2,u):t.putByte(0,u),-1!=navigator.appVersion.indexOf("Win")?t.putByte(11,u):t.putByte(3,u),r.isNullOrEmpty(o)||(t.putString(o.substring(o.lastIndexOf("/")+1),u),t.putByte(0,u));var d=e.ExternalLibrary.JSZip.compressions.DEFLATE.compress(c,{level:6});try{for(var h=__values(d),m=h.next();!m.done;m=h.next()){var f=m.value;t.putByte(f,u)}}catch(e){a={error:e}}finally{try{m&&!m.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}if(t.putLong(t.crc32(c),u),t.putLong(c.length,u),n.stimulsoft.is(Array))return u;return e.System.Convert.toBase64String(u)},t.unpack=function(r){var n,o,a=r;if(r.stimulsoft.is(String)&&(a=e.System.Convert.fromBase64String(r)),"undefined"!=typeof Buffer&&r.stimulsoft.is(Buffer)&&(a=__spread(r)),t.readByte(a)!==t.ID1||t.readByte(a)!==t.ID2)throw new Error("Not a GZIP file");if(8!==t.readByte(a))throw new Error("Unsupported compression method");var s=t.readByte(a),l=t.readLong(a),u=t.readByte(a),c=t.readByte(a);if(s&i.FExtra){var d=t.readShort(a);t.readBytes(a,d)}s&i.FName&&t.readString(a),s&i.FComment&&t.readString(a),s&i.FHcrc&&t.readShort(a);var h=e.ExternalLibrary.JSZip.compressions.DEFLATE.uncompress(a.splice(0,a.length-8));if(r.stimulsoft.is(Array))return h;var m="";try{for(var f=__values(h),p=f.next();!p.done;p=f.next()){var S=p.value;m+=String.fromCharCode(S)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return m.stimulsoft.fromUnicodeString()},t.DefaultLevel=6,t.DefaultMethod=8,t.ID1=31,t.ID2=139,t._crcTable=null,t}();t.StiGZipHelper=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Text.Encoding,i=function(){function t(){this._mainStream=null,this.zip=null,this._mainStream=null}return t.convertToArray=function(e,t){if(null==t)return[];return e?r.UTF8.getBytes(t):r.Default.getBytes(t)},t.getDosTime=function(e){return(e.year-1980&127)<<25|e.month<<21|e.day<<16|e.hour<<11|e.minute<<5|e.second>>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;i<t.length;i++)r.push(t[i]);this._mainStream.write(r,0,r.length),this._mainStream=null},t}();t.StiZipWriter20=i}(r=t.Zip||(t.Zip={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t,r,i,n,o;!function(e){e[e["Opacity"]=0]="Opacity",e[e["Scale"]=1]="Scale",e[e["Translation"]=2]="Translation",e[e["Rotation"]=3]="Rotation",e[e["Column"]=4]="Column",e[e["Points"]=5]="Points",e[e["PieSegment"]=6]="PieSegment"}(t=e.StiAnimationType||(e.StiAnimationType={})),function(e){e[e["None"]=0]="None",e[e["Dot"]=1]="Dot",e[e["Comma"]=2]="Comma",e[e["Colon"]=3]="Colon",e[e["SemiColon"]=4]="SemiColon",e[e["Shl"]=5]="Shl",e[e["Shr"]=6]="Shr",e[e["Assign"]=7]="Assign",e[e["Equal"]=8]="Equal",e[e["NotEqual"]=9]="NotEqual",e[e["LeftEqual"]=10]="LeftEqual",e[e["Left"]=11]="Left",e[e["RightEqual"]=12]="RightEqual",e[e["Right"]=13]="Right",e[e["Or"]=14]="Or",e[e["And"]=15]="And",e[e["Not"]=16]="Not",e[e["DoubleOr"]=17]="DoubleOr",e[e["DoubleAnd"]=18]="DoubleAnd",e[e["Copyright"]=19]="Copyright",e[e["Question"]=20]="Question",e[e["Plus"]=21]="Plus",e[e["Minus"]=22]="Minus",e[e["Mult"]=23]="Mult",e[e["Div"]=24]="Div",e[e["Splash"]=25]="Splash",e[e["Percent"]=26]="Percent",e[e["Ampersand"]=27]="Ampersand",e[e["Sharp"]=28]="Sharp",e[e["Dollar"]=29]="Dollar",e[e["Euro"]=30]="Euro",e[e["DoublePlus"]=31]="DoublePlus",e[e["DoubleMinus"]=32]="DoubleMinus",e[e["LPar"]=33]="LPar",e[e["RPar"]=34]="RPar",e[e["LBrace"]=35]="LBrace",e[e["RBrace"]=36]="RBrace",e[e["LBracket"]=37]="LBracket",e[e["RBracket"]=38]="RBracket",e[e["Value"]=39]="Value",e[e["Ident"]=40]="Ident",e[e["Unknown"]=41]="Unknown",e[e["EOF"]=42]="EOF"}(r=e.StiTokenType||(e.StiTokenType={})),function(e){e[e["Basic"]=0]="Basic",e[e["Standard"]=1]="Standard",e[e["Professional"]=2]="Professional"}(i=e.StiLevel||(e.StiLevel={})),function(e){e[e["Auto"]=0]="Auto",e[e["True"]=1]="True",e[e["False"]=2]="False"}(n=e.StiAutoBool||(e.StiAutoBool={})),function(e){e[e["Sum"]=0]="Sum",e[e["Min"]=1]="Min",e[e["Max"]=2]="Max",e[e["Count"]=3]="Count",e[e["Average"]=4]="Average"}(o=e.StiSummaryColumnType||(e.StiSummaryColumnType={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiApp="IStiApp"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppAlias="IStiAppAlias"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppCalcDataColumn="IStiAppCalcDataColumn"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppCell="IStiAppCell"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiIStiAppComponentAppCell="IStiAppComponent"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppConnection="IStiAppConnection"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppDataCell="IStiAppDataCell"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppDataColumn="IStiAppDataColumn"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppDataRelation="IStiAppDataRelation"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppDataSource="IStiAppDataSource"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppDictionary="IStiAppDictionary"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppFunction="IStiAppFunction"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiAppVariable="IStiAppVariable"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiGetFonts="IStiGetFonts"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiReport="IStiReport"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiReportComponent="IStiReportComponent"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){e.IStiReportPage="IStiReportPage"}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function t(){}return t.createObject=function(t){if(t.prototype instanceof e.System.StimulsoftList)return[];var r;return new t},t.createObject2=function(t){var r=t.split(".");if("Stimulsoft"!=r.splice(0,1)[0])return null;var i=e;while(r.length>0){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<i&&(i-=t),e=i}return e},e.alignToGrid=function(e,t,r){var i;r&&(e=Math.round(e/t)*t);return e},e}();e.StiAlignValue=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.List,i=e.System.Collections.Hashtable,n=function(){function e(){}return e.getFunctions=function(e,t){var i,n,o=new r,a=e?this.functionsToCompile:this.functions;try{for(var s=__values(a.keys),l=s.next();!l.done;l=s.next()){var u=l.value,c=this.getFunctions2(u,e,t);o.addRange(c)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o.stimulsoft.toArray()},e.getFunctions2=function(e,t,r){var i=t?this.functionsToCompile:this.functions,n=t?this.functionsToCompileLower:this.functionsLower,o=i.get(e);if(null!=o)return o.stimulsoft.toArray();return null!=(o=r?i.get(e):n.get(e.toLowerCase()))?o.stimulsoft.toArray():null},e.functionsToCompile=new i,e.functionsToCompileLower=new i,e.functions=new i,e.functionsLower=new i,e}();t.StiAppFunctions=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(){}return t.getOrGeneratedKey=function(e){var t=e.getApp();return this.getOrGeneratedKey2(t)},t.getOrGeneratedKey2=function(t){return t.setKey(e.StiKeyHelper.getOrGeneratedKey(t.getKey())),t.getKey()},t.getOrGeneratedKey3=function(e){var t=e.getApp();return this.getOrGeneratedKey2(t)},t.getOrGeneratedKey4=function(e){var t=e.getDictionary();return this.getOrGeneratedKey3(t)},t}();e.StiAppKey=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Convert,i=e.System.Text.Encoding,n=e.System.IO.MemoryStream,o=function(){function e(){}return e.encrypt=function(e,t){return this.encryptAdv(e,t)},e.encrypt2=function(e,t){var r=this.getKeyFromPassword(t);return this.encryptAdv(e,r)},e.encryptS=function(e,t){if(null==e)return null;var n=i.UTF8.getBytes(e),o=this.getKeyFromPassword(t),a=this.encryptAdv(n,o);return r.toBase64String(a)},e.decrypt=function(e,t){return this.decryptAdv(e,t)},e.decrypt2=function(e,t){var r=this.getKeyFromPassword(t);return this.decryptAdv(e,r)},e.decryptS=function(e,t){var n=r.fromBase64String(e),o=this.getKeyFromPassword(t),a=this.decryptAdv(n,o);return i.UTF8.getString(a)},e.generateRandomKey=function(){for(var e=[],t=0;t<32;t++)e[t]=Math.floor(256*Math.random());return e},e.encryptAdv=function(e,t){if(null==e)return null;var r=[];return r=this.cryptRandom(e,t,!0),r=this.cryptXor(r,t),r=this.cryptShift(r,t,!0)},e.decryptAdv=function(e,t){if(null==e)return null;var r=[];return r=this.cryptShift(e,t,!1),r=this.cryptXor(r,t),r=this.cryptRandom(r,t,!1)},e.cryptXor=function(e,t){var r=[],i=0,n=0;while(i<e.length)n>=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<e.length)o>=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(n<e.length)r?i[n]=e[o[n]]:i[o[n]]=e[n],n++;return i},e.getMixArray=function(e){for(var t=[],r=[],i=0;i<e;i++)t[i]=i;for(var n=0;n<e;n++){var o=this.getRandom(0,e-n-1);r[n]=t[o],t[o]=t[e-n-1]}return r},e.setRandomSeed=function(e){this.randomSeed=e[0]|e[1]<<8|e[e.length-2]<<16|e[e.length-1]<<24,this.randomSeed<0&&(this.randomSeed=4294967296+this.randomSeed),this.randomSeed=this.randomSeed%this.rand_m,this.randomSeed<0&&(this.randomSeed=16777215-this.randomSeed&16777215)},e.getRandom=function(e,t){var r;return this.randomSeed=(this.randomSeed*this.rand_a+this.rand_c)%this.rand_m,e+(t-e+1)*this.randomSeed/this.rand_m&4294967295},e.getKeyFromPassword=function(e){var r=new n,i=t.StiMD5Helper.MD5(e);r.write(i);var o=i.length;while(o<e.length)i=t.StiMD5Helper.MD5(e.substring(0,o)),r.write(i,0,o+i.length<e.length?i.length:e.length-o),o+=i.length;var a=r.toArray();return r.close(),r=null,a},e.randomSeed=0,e.rand_m=714025,e.rand_a=4096,e.rand_c=150889,e}();t.StiEncryption=o}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.NodeJs,i=e.Base.StiJson,n=e.Base.StiEncryption,o=function(){function e(t,r,i,o){this.machineName=t,this.machineAddress=r,this.machineUserName=i,this.machineGuid=o;var a=t;if(!e.isCID(a))return;a=a.substr(e.prefix.length),this.loadFromString(n.decryptS(a,e.key))}return e.prototype.saveToString=function(){return this.saveToJsonObject().serialize()},e.prototype.saveToJsonObject=function(){var e=new i;return e.addPropertyStringNullOrEmpty("MachineName",this.machineName),e.addPropertyStringNullOrEmpty("MachineAddress",this.machineAddress),e.addPropertyStringNullOrEmpty("MachineUserName",this.machineUserName),e.addPropertyStringNullOrEmpty("MachineGuid",this.machineGuid),e},e.prototype.loadFromString=function(e){var t=new i;t.deserialize(e),this.loadFromJsonObject(t)},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"MachineName":this.machineName=o.value;break;case"MachineAddress":this.machineAddress=o.value;break;case"MachineUserName":this.machineUserName=o.value;break;case"MachineGuid":this.machineGuid=o.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.getDefault=function(){return e.prefix+n.encryptS(this.getDeveloperCID().saveToString(),e.key)},e.getDeveloperCID=function(){return new e(this.getCurrentMachineName(),this.getCurrentMachineAddress(),this.getCurrentMachineUserName(),this.getCurrentMachineGuid())},e.getCurrentMachineName=function(){try{var e;if(r.isNodeJs())return require("os").hostname()||this.undefined}catch(e){}return this.undefined},e.getCurrentMachineGuid=function(){try{var e;if(r.isNodeJs())return(0,require("node-machine-id").machineIdSync)(!0)}catch(e){}return this.undefined},e.getCurrentMachineAddress=function(){var e=this;try{var t=function(t){return t?t.toString().toUpperCase().replace(/:/g,"-"):e.undefined},r=function(e){return e.mac&&"00:00:00:00:00:00"!=e.mac&&e.address&&"127.0.0.1"!=e.address},i,n=require("os").networkInterfaces();if(n){var o=n.Ethernet;if(o||(o=n.Wireless80211),!o)for(var a in n){if(o)break;var s=n[a];if(s.length>0)for(var l=0;l<s.length;l++)if(r(s[l])){o=s;break}}if(o&&o.length>0)for(var l=0;l<o.length;l++)if(r(o[l]))return t(o[l].mac)}}catch(e){}return this.undefined},e.getCurrentMachineUserName=function(){var e;try{var t;return(null===(e=require("os").userInfo())||void 0===e?void 0:e.username)||this.undefined}catch(e){}return this.undefined},e.isCID=function(e){return null!=e&&e.stimulsoft.startsWith(this.prefix)},e.key="fjk2dpfko5epefko4prmk",e.undefined="Undefined",e.prefix="PL534950",e}();t.StiCID=o}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Xml.XmlConverter,i=function(){function e(){}return e.getTextJson=function(e){var r=new t.StiJson;return r.deserialize('{"Ident": "StiText",'+'"Name": "'+e.value.find((function(e){return"Name"==e.name})).value+'",'+'"ClientRectangle": "'+e.value.find((function(e){return"ClientRectangle"==e.name})).value+'",'+'"Text": { "Value": "'+this.message+'" },'+'"Brush": "solid:46,117,181", "HorAlignment": "Center", "VertAlignment": "Center", "Font": ";12;;", "Border": "All;255,0,0;2;;;;;solid:0,0,0",'+'"TextOptions": { "WordWrap": true }}'),r},e.getTextXml=function(e){var t="<"+e.nodeName+' Ref="'+e.attributes.toList().firstOrDefault((function(e){return"Ref"==e.name})).value+'" type="Text" isKey="true">'+"<Border>All;[255:0:0];2;Solid;False;4;[0:0:0]</Border>"+"<Brush>[46:117:181]</Brush>"+"<BackColor>[46:117:181]</BackColor>"+"<ClientRectangle>"+e.childNodes.firstOrDefault((function(e){return"ClientRectangle"==e.nodeName})).textContent+"</ClientRectangle>"+"<Font>Arial,10</Font>"+"<HorAlignment>Center</HorAlignment>"+"<Name>"+e.nodeName+"</Name>"+"<Text>"+this.message+"</Text>"+"<TextOptions>,,,,WordWrap=True,A=0</TextOptions>"+"<VertAlignment>Center</VertAlignment>"+"</"+e.nodeName+'>"';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;t<arguments.length;t++)e[t]=arguments[t];return e.stimulsoft.toList().select(this.get).stimulsoft.toArray()},e}();t.StiColor=o}(r=t.Drawing||(t.Drawing={}))}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Drawing.Image,i=function(){function i(){}return i.changeType=function(i,n,o){void 0===o&&(o=!0);try{if((null==i||i==e.System.Data.DBNull)&&!o){if(n===String)return"";if(n===Boolean)return!1;if(n===e.System.Guid)return e.System.Guid.empty;if(n===e.System.DateTime)return"";if(n===e.System.NullableDecimal||n===e.System.NullableDouble||n===e.System.NullableFloat||n===e.System.NullableInt||n===e.System.NullableInt16||n===e.System.NullableInt32||n===e.System.NullableInt64||n===e.System.NullableLong||n===e.System.NullableByte||n===e.System.NullableShort||n===e.System.NullableUInt||n===e.System.NullableUInt16||n===e.System.NullableUInt32||n===e.System.NullableUInt64||n===e.System.NullableULong||n===e.System.NullableSByte||n===e.System.NullableUShort)return null;return null}if(n===String){if(null==i)return null;if(i.stimulsoft.is(Array))return e.System.Convert.fromBase64StringText(e.System.Convert.toBase64String(i));return i.toString()}if(n===Number||n===e.System.Decimal||n===e.System.Double||n===e.System.Float||n===e.System.NullableDecimal||n===e.System.NullableDouble||n===e.System.NullableFloat||n===e.System.Int||n===e.System.Int16||n===e.System.Int32||n===e.System.Int64||n===e.System.Long||n===e.System.Byte||n===e.System.Short||n===e.System.UInt||n===e.System.UInt16||n===e.System.UInt32||n===e.System.UInt64||n===e.System.ULong||n===e.System.SByte||n===e.System.UShort||n===e.System.NullableInt||n===e.System.NullableInt16||n===e.System.NullableInt32||n===e.System.NullableInt64||n===e.System.NullableLong||n===e.System.NullableByte||n===e.System.NullableShort||n===e.System.NullableUInt||n===e.System.NullableUInt16||n===e.System.NullableUInt32||n===e.System.NullableUInt64||n===e.System.NullableULong||n===e.System.NullableSByte||n===e.System.NullableUShort){var a=null==i?"":i.toString();i=a.trim(),0==a.length&&(i="0");var s=i.stimulsoft.toNumber();if(isNaN(s))throw new Error("NaN");return s}if(n===Boolean)return null==i?void 0:i.stimulsoft.toBoolean();if(n===e.System.DateTime){if(null==i?void 0:i.stimulsoft.is(e.System.DateTime))return i;if(null==i?void 0:i.stimulsoft.is(String)){var l={ref:null};if(t.StringExt.tryParseDateTime(i,l))return l.ref;return null}}if(n===e.System.TimeSpan){if(null==i?void 0:i.stimulsoft.is(e.System.TimeSpan))return i;if(null==i?void 0:i.stimulsoft.is(String)){var u=e.System.TimeSpan.fromString(i);if(u)return u;return null}}if(n==r)try{var c=new r;return c.base64=i,c}catch(e){return i}return i}catch(t){return e.System.StiError.showError(t,!1),i}},i}();t.StiConvert=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.Base.Localization.StiLocalization,i=function(){function e(){}return Object.defineProperty(e.prototype,"message",{get:function(){return r.get("Dashboard","CannotLoadDashboard")},enumerable:!1,configurable:!0}),e}();t.StiDashboardNotSupportedException=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return Object.defineProperty(e.prototype,"message",{get:function(){return"The export library was not loaded. Include stimulsoft.reports.export.js to use export."},enumerable:!1,configurable:!0}),e}();e.StiExportNotSupportedException=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Drawing.FontFamily,i=e.System.Drawing.FontStyle,n=function(){function t(){}return t.addOpentypeFont=function(t,r,n,o,a,s){void 0===r&&(r=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===a&&(a=i.Regular),void 0===s&&(s=!0),e.System.Drawing.Graphics.addOpentypeFont(t,r,n,o,a,s)},t.addOpentypeFontFile=function(t,r,n,o){void 0===r&&(r=null),void 0===n&&(n=i.Regular),void 0===o&&(o=!0),e.System.Drawing.Graphics.addOpentypeFontFile(t,r,n,o)},t.addOpentypeFontFileAsync=function(t,r,n,o,a){void 0===n&&(n=null),void 0===o&&(o=i.Regular),void 0===a&&(a=!0),e.System.Drawing.Graphics.addOpentypeFontFileAsync(t,r,n,o,a)},t.setOpentypeFontsFolder=function(t){var r,n;if(1==e.System.NodeJs.isNodeJs()){var o=require("fs"),a=require("path"),s=o.readdirSync(t);try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;try{this.addOpentypeFontFile(a.join(t,c),null,i.Regular,!1)}catch(e){}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}},t.getFontFamilies=function(){var e;return r.families.stimulsoft.toList().orderBy((function(e){return e.name}))},t.getBinFont=function(t,r){var n;if(void 0===r&&(r=i.Regular),e.System.Drawing.Graphics.opentypeFonts.containsKey(t))return e.System.Drawing.Graphics.opentypeFonts.get(t).get(r);return null},t.getBinFonts=function(){return e.System.Drawing.Graphics.opentypeFonts.keys},t}();t.StiFontCollection=n}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function t(){}return t.newGuid=function(){return e.System.Guid.newGuidString()},t}();t.StiGuidUtils=r}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.isValidJson=function(e){if(!((e=e.trim()).stimulsoft.startsWith("{")&&e.stimulsoft.endsWith("}")||e.stimulsoft.startsWith("[")&&e.stimulsoft.endsWith("]")))return!1;try{return JSON.parse(e),!0}catch(e){return!1}},e}();e.StiJsonChecker=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=function(){function e(){}return e.generateKey=function(){return t.StiGuidUtils.newGuid()},e.isKey=function(e){return!this.isEmptyKey(e)},e.isCorrectKey=function(e){if(this.isEmptyKey(e))return!0;if(32!=e.length)return!1;return!0},e.isEmptyKey=function(e){return r.isNullOrWhiteSpace(e)},e.isEmptyKey2=function(e,t){return this.isEmptyKey(e)&&this.isEmptyKey(t)},e.selectKey=function(e,t){return this.isEmptyKey(e)?t:e},e.isEqualKeys=function(e,t){if(this.isEmptyKey(e)&&this.isEmptyKey(t))return!0;return e=e.trim().toLowerCase(),t=t.trim().toLowerCase(),0==e.stimulsoft.compareTo(t)},e.getOrGeneratedKey=function(e){return this.isEmptyKey(e)?this.generateKey():e},e.getOrGeneratedKey2=function(e,t){return this.getOrGeneratedKey(this.selectKey(e,t))},e}();t.StiKeyHelper=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.List,i=e.System.Char,n=function(){function e(e){this.positions=new r,this.baseText=e,this.text=e,this.positionInText=0}return Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this.baseText=e.toString()},enumerable:!1,configurable:!0}),e.prototype.savePosToken=function(){this.positions.add(this.positionInText)},e.prototype.getPosition=function(e){for(var r=new t.StiPosition(1,1),i=0;i<this.positionInText;i++)r.column++,"\n"==this.text[i]&&(r.line++,r.column=1);return r},e.prototype.skip=function(){while(this.positionInText<this.text.length&&(i.isWhitespace(this.text[this.positionInText])||i.isControl(this.text[this.positionInText])))this.positionInText++},e.prototype.waitLparen2=function(){var e;return this.getToken().type==t.StiTokenType.LPar},e.prototype.waitComma2=function(){var e;return this.getToken().type==t.StiTokenType.Comma},e.prototype.waitAssign2=function(){var e;return this.getToken().type==t.StiTokenType.Assign},e.prototype.waitRparen2=function(){var e;return this.getToken().type==t.StiTokenType.RPar},e.prototype.waitLbrace2=function(){var e;return this.getToken().type==t.StiTokenType.LBrace},e.prototype.waitSemicolon2=function(){var e;return this.getToken().type==t.StiTokenType.SemiColon},e.prototype.waitRbrace2=function(){var e;return this.getToken().type==t.StiTokenType.RBrace},e.prototype.scanNumber=function(){var e=this.positionInText,r=!1;while(this.positionInText!=this.text.length&&i.isDigit(this.text[this.positionInText]))this.positionInText++;if(this.positionInText!=this.text.length&&"."==this.text[this.positionInText]&&this.positionInText+1!=this.text.length&&i.isDigit(this.text[this.positionInText+1])){this.positionInText++;while(this.positionInText!=this.text.length&&i.isDigit(this.text[this.positionInText]))this.positionInText++;r=!0}var n=this.baseText.substring(e,this.positionInText-e);if(r)return new t.StiToken(t.StiTokenType.Value,e,this.positionInText-e,n.stimulsoft.toNumber());var o=n;try{if(o.length>19)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<<t|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<r)s=l%4*8,a[t=(l-l%4)/4]=a[t]|e.charCodeAt(l)<<s,l++;return s=l%4*8,a[t=(l-l%4)/4]=a[t]|128<<s,a[o-2]=r<<3,a[o-1]=r>>>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;r<e.length;r++){var i=e.charCodeAt(r);i<128?t+=String.fromCharCode(i):i>127&&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;g<S.length;g+=16)y=T,v=w,b=D,C=P,T=l(T,w,D,P,S[g+0],x,3614090360),P=l(P,T,w,D,S[g+1],B,3905402710),D=l(D,P,T,w,S[g+2],L,606105819),w=l(w,D,P,T,S[g+3],N,3250441966),T=l(T,w,D,P,S[g+4],x,4118548399),P=l(P,T,w,D,S[g+5],B,1200080426),D=l(D,P,T,w,S[g+6],L,2821735955),w=l(w,D,P,T,S[g+7],N,4249261313),T=l(T,w,D,P,S[g+8],x,1770035416),P=l(P,T,w,D,S[g+9],B,2336552879),D=l(D,P,T,w,S[g+10],L,4294925233),w=l(w,D,P,T,S[g+11],N,2304563134),T=l(T,w,D,P,S[g+12],x,1804603682),P=l(P,T,w,D,S[g+13],B,4254626195),D=l(D,P,T,w,S[g+14],L,2792965006),T=u(T,w=l(w,D,P,T,S[g+15],N,1236535329),D,P,S[g+1],A,4129170786),P=u(P,T,w,D,S[g+6],F,3225465664),D=u(D,P,T,w,S[g+11],R,643717713),w=u(w,D,P,T,S[g+0],k,3921069994),T=u(T,w,D,P,S[g+5],A,3593408605),P=u(P,T,w,D,S[g+10],F,38016083),D=u(D,P,T,w,S[g+15],R,3634488961),w=u(w,D,P,T,S[g+4],k,3889429448),T=u(T,w,D,P,S[g+9],A,568446438),P=u(P,T,w,D,S[g+14],F,3275163606),D=u(D,P,T,w,S[g+3],R,4107603335),w=u(w,D,P,T,S[g+8],k,1163531501),T=u(T,w,D,P,S[g+13],A,2850285829),P=u(P,T,w,D,S[g+2],F,4243563512),D=u(D,P,T,w,S[g+7],R,1735328473),T=c(T,w=u(w,D,P,T,S[g+12],k,2368359562),D,P,S[g+5],O,4294588738),P=c(P,T,w,D,S[g+8],M,2272392833),D=c(D,P,T,w,S[g+11],E,1839030562),w=c(w,D,P,T,S[g+14],H,4259657740),T=c(T,w,D,P,S[g+1],O,2763975236),P=c(P,T,w,D,S[g+4],M,1272893353),D=c(D,P,T,w,S[g+7],E,4139469664),w=c(w,D,P,T,S[g+10],H,3200236656),T=c(T,w,D,P,S[g+13],O,681279174),P=c(P,T,w,D,S[g+0],M,3936430074),D=c(D,P,T,w,S[g+3],E,3572445317),w=c(w,D,P,T,S[g+6],H,76029189),T=c(T,w,D,P,S[g+9],O,3654602809),P=c(P,T,w,D,S[g+12],M,3873151461),D=c(D,P,T,w,S[g+15],E,530742520),T=d(T,w=c(w,D,P,T,S[g+2],H,3299628645),D,P,S[g+0],I,4096336452),P=d(P,T,w,D,S[g+7],z,1126891415),D=d(D,P,T,w,S[g+14],W,2878612391),w=d(w,D,P,T,S[g+5],G,4237533241),T=d(T,w,D,P,S[g+12],I,1700485571),P=d(P,T,w,D,S[g+3],z,2399980690),D=d(D,P,T,w,S[g+10],W,4293915773),w=d(w,D,P,T,S[g+1],G,2240044497),T=d(T,w,D,P,S[g+8],I,1873313359),P=d(P,T,w,D,S[g+15],z,4264355552),D=d(D,P,T,w,S[g+6],W,2734768916),w=d(w,D,P,T,S[g+13],G,1309151649),T=d(T,w,D,P,S[g+4],I,4149444226),P=d(P,T,w,D,S[g+11],z,3174756917),D=d(D,P,T,w,S[g+2],W,718787259),w=d(w,D,P,T,S[g+9],G,3951481745),T=i(T,y),w=i(w,v),D=i(D,b),P=i(P,C);var j=[];return f(T,j,0),f(w,j,4),f(D,j,8),f(P,j,12),j},e}();e.StiMD5Helper=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function t(){}return t.convertToNumber=function(t){try{if(null==t)return 0;if(t.stimulsoft.is(String)){if(0==t.length)return 0;return t.toString().stimulsoft.toNumber()}return t.stimulsoft.toNumber()}catch(t){return e.System.StiError.showError(t,!1),0}},t}();t.StiObjectConverter=r}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(e,t){this.line=e,this.column=t}return e}();e.StiPosition=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.xx=function(e){return e},e.yy=function(e){return e},e.factor=1,e}();e.StiScale=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function e(){}return e.get=function(e,t){var r=t;try{var i=" "+document.cookie,n=" "+e+"=",o=0,a=0;i.length>0&&-1!=(o=i.indexOf(n))&&(o+=n.length,-1==(a=i.indexOf(";",o))&&(a=i.length),r=unescape(i.substring(o,a)))}catch(e){}return r},e.set=function(e,t){try{var r=new Date;r.setTime(r.getTime()+365*24*3600*1e3),document.cookie=e+"="+escape(t)+"; expires="+r.toString()}catch(e){}},e}();e.StiSettings=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t=function(){function t(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=0),this.data=i,this.type=e,this.index=t,this.length=r}return t.prototype.toString=function(){switch(this.type){case e.StiTokenType.Value:return this.type+"="+this.data;case e.StiTokenType.Ident:return this.type+"("+this.data+")";default:return this.type.toString()}},t}();e.StiToken=t}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.Collections.Hashtable,i=function(){function t(){}return t.getCorrectTypeName=function(e){if(e.stimulsoft.startsWith("System.Nullable`1")){var t=e.indexOf(",");-1!=t&&(e=e.substring(0,t).stimulsoft.replaceAll("[[","[")+"]")}return"System.Drawing.Bitmap"==e&&(e="System.Drawing.Image"),e},t.getStiType=function(t){var r,i,n=this.getCorrectTypeName(t);try{for(var o=__values(e.System.TypeHelper.getTypes()),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.stimulsoft.getNetTypeName()==n)return s}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return null},t.addTypeFF=function(e,t,i){if(null==e||null==t)return;var n=this.findTypes.get(e);null==n&&(n=new r,this.findTypes.set(e,n)),n.containsKey(t)||n.set(t,i)},t.getTypeFF=function(e,t){if(null==e)return null;var r=this.findTypes.get(e);if(null==r)return null;return r.get(t)},t.findType=function(e,t){if(null==e)return!1;if("object"==typeof t)return!0;var r=this.getTypeFF(e,t);if(null!=r)return r;while("object"!=typeof e){if(e==t)return this.addTypeFF(e,t,!0),!0;if(null==e.__proto__)return this.addTypeFF(e,t,!1),!1;e=e.__proto__}return this.addTypeFF(e,t,!1),!1},t.findTypes=new r,t}();t.StiTypeFinder=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=function(){function t(e){this._type=e}return Object.defineProperty(t.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return t.toString(this._type)},t.toString=function(t){if(null==t)return"null";if(t===Boolean)return"bool";if(t===e.System.Byte)return"byte";if(t===e.System.ByteArray)return"byte[]";if(t===e.System.Char)return"char";if(t===e.System.DateTime)return"datetime";if(t===e.System.Decimal)return"decimal";if(t===e.System.Double)return"double";if(t===e.System.Guid)return"guid";if(t===e.System.Short)return"short";if(t===e.System.Int)return"int";if(t===e.System.Long)return"long";if(t===e.System.SByte)return"sbyte";if(t===e.System.Single)return"float";if(t===String)return"string";if(t===e.System.TimeSpan)return"timespan";if(t===e.System.UShort)return"ushort";if(t===e.System.UInt)return"uint";if(t===e.System.ULong)return"ulong";if(t===e.System.Drawing.Image)return"image";if(t===e.System.NullableBoolean)return"bool (Nullable)";if(t===e.System.NullableByte)return"byte (Nullable)";if(t===e.System.NullableChar)return"char (Nullable)";if(t===e.System.NullableDateTime)return"datetime (Nullable)";if(t===e.System.NullableDecimal)return"decimal (Nullable)";if(t===e.System.NullableDouble)return"double (Nullable)";if(t===e.System.NullableGuid)return"guid (Nullable)";if(t===e.System.NullableShort)return"short (Nullable)";if(t===e.System.NullableInt)return"int (Nullable)";if(t===e.System.NullableLong)return"long (Nullable)";if(t===e.System.NullableSByte)return"sbyte (Nullable)";if(t===e.System.NullableSingle)return"float (Nullable)";if(t===e.System.NullableTimeSpan)return"timespan (Nullable)";if(t===e.System.NullableUShort)return"ushort (Nullable)";if(t===e.System.NullableUInt)return"uint (Nullable)";if(t===e.System.NullableULong)return"ulong (Nullable)";if(t===Object)return"object";return t.stimulsoft.getType().stimulsoft.getNetTypeName()},Object.defineProperty(t,"simpleTypes",{get:function(){return null==t._simpleTypes&&(t._simpleTypes.push(String),t._simpleTypes.push(e.System.Single),t._simpleTypes.push(e.System.Double),t._simpleTypes.push(e.System.Decimal),t._simpleTypes.push(e.System.DateTime),t._simpleTypes.push(e.System.TimeSpan),t._simpleTypes.push(e.System.SByte),t._simpleTypes.push(e.System.Byte),t._simpleTypes.push(e.System.ByteArray),t._simpleTypes.push(e.System.Short),t._simpleTypes.push(e.System.UShort),t._simpleTypes.push(e.System.Int),t._simpleTypes.push(e.System.UInt),t._simpleTypes.push(e.System.Long),t._simpleTypes.push(e.System.ULong),t._simpleTypes.push(Boolean),t._simpleTypes.push(e.System.Char),t._simpleTypes.push(e.System.Guid),t._simpleTypes.push(Object),t._simpleTypes.push(e.System.Drawing.Image),t._simpleTypes.push(e.System.NullableSingle),t._simpleTypes.push(e.System.NullableDouble),t._simpleTypes.push(e.System.NullableDecimal),t._simpleTypes.push(e.System.NullableDateTime),t._simpleTypes.push(e.System.NullableTimeSpan),t._simpleTypes.push(e.System.NullableSByte),t._simpleTypes.push(e.System.NullableByte),t._simpleTypes.push(e.System.NullableShort),t._simpleTypes.push(e.System.NullableUShort),t._simpleTypes.push(e.System.NullableInt),t._simpleTypes.push(e.System.NullableUInt),t._simpleTypes.push(e.System.NullableLong),t._simpleTypes.push(e.System.NullableULong),t._simpleTypes.push(e.System.NullableBoolean),t._simpleTypes.push(e.System.NullableChar),t._simpleTypes.push(e.System.NullableGuid)),t._simpleTypes},enumerable:!1,configurable:!0}),Object.defineProperty(t,"simpleBaseTypes",{get:function(){return null==t._simpleBaseTypes&&(t._simpleBaseTypes.push(String),t._simpleBaseTypes.push(e.System.Single),t._simpleBaseTypes.push(e.System.Double),t._simpleBaseTypes.push(e.System.Decimal),t._simpleBaseTypes.push(e.System.DateTime),t._simpleBaseTypes.push(e.System.TimeSpan),t._simpleBaseTypes.push(e.System.SByte),t._simpleBaseTypes.push(e.System.Byte),t._simpleBaseTypes.push(e.System.Short),t._simpleBaseTypes.push(e.System.UShort),t._simpleBaseTypes.push(e.System.Int),t._simpleBaseTypes.push(e.System.UInt),t._simpleBaseTypes.push(e.System.Long),t._simpleBaseTypes.push(e.System.ULong),t._simpleBaseTypes.push(Boolean),t._simpleBaseTypes.push(e.System.Char),t._simpleBaseTypes.push(e.System.Guid),t._simpleBaseTypes.push(Object),t._simpleBaseTypes.push(e.System.Drawing.Image)),t._simpleBaseTypes},enumerable:!1,configurable:!0}),t.getTypeWrappers=function(){var e,r,i=[],n=0;try{for(var o=__values(t.simpleTypes),a=o.next();!a.done;a=o.next()){var s=a.value;i[n++]=new t(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},t}();t.StiTypeWrapper=r}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiString,i=function(){function e(){}return e.combine=function(e){var t="";if(null!=e&&e.length>0){var i=["\\","/"];null==e[0]&&(e[0]=""),t=(t=e[0].stimulsoft.trimEnd(i[0])).stimulsoft.trimEnd(i[1]);for(var n=1;n<e.length;n++){var o="";null!=e[n]&&(o=(o=e[n].stimulsoft.trimStart(i[0])).stimulsoft.trimStart(i[1])),t=(t=t.stimulsoft.trimEnd(i[0])).stimulsoft.trimEnd(i[1]),t=r.format("{0}/{1}",t,o)}}return t},e}();t.StiUrl=i}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t=function(){function t(){}return t.platform=function(){return navigator.appName+" * "+navigator.userAgent},t.version="2020.4.1",t.creationDate="2020.08.07",t.created=5==t.creationDate.length?new e["System"]["DateTime"](2017,1,1,0,0,0,0):e["System"]["DateTime"]["fromString"](t.creationDate),t.versionInfo="Version= "+"2020.4.1"+".0, Culture = neutral",t.copyright="Copyright (C) 2003-2017 Stimulsoft",t}();e.StiVersion=t}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r=e.System.StiNumber,i=e.System.StiString,n=e.System.DateTime,o=function(){function t(){}return t.tryParseDateTime=function(t,r){var o=n.now;if(r.ref=o,i.isNullOrWhiteSpace(t))return!1;if(this.tryParseJsonDateTime(t,r))return!0;if(this.tryParseUsingDate(t,r))return!0;var a="en-US"==e.System.Globalization.CultureInfo.currentCulture.name?e.Base.Helpers.DateTimeFormat.USA_DATE:e.Base.Helpers.DateTimeFormat.UK_DATE;if(e.Base.Helpers.DateTimeRoutines.tryParseDateTime(t,a,r))return!0;if(null!=(o=e.System.DateTime.fromString(t,!1)))return r.ref=o,!0;return!1},t.tryParseUsingDate=function(t,r){var i=e.System.DateTime.now;r.ref=i;try{var o=new Date(t);return null!=o&&!isNaN(o.getTime())&&!isNaN(o.getDate())&&(r.ref=new n(o),!0)}catch(e){return!1}},t.tryParseJsonDateTime=function(t,r){var o=e.System.DateTime.now;r.ref=o;try{if(i.isNullOrWhiteSpace(t))return!1;if(!t.stimulsoft.replaceAll(" ","").stimulsoft.contains("Date("))return!1;if(this.tryParseJsonDateTimeInNewDate(t,r))return!0;return r.ref=n.fromNetJsonString(t),!0}catch(e){return!1}},t.tryParseJsonDateTimeInNewDate=function(t,i){var o=e.System.DateTime.now;i.ref=o;try{var a=t.stimulsoft.replaceAll(" ","").toLowerCase();if(!a.stimulsoft.startsWith("newdate(",!0))return!1;var s=a.indexOf("(")+1;if(-1==s)return!1;var l=a.indexOf(")",s);if(-1==l)return!1;a=a.substr(s,l-s);var u=r.tryParse(a);if(!u.successfully)return!1;return i.ref=new n(1970,1,1,0,0,0,0).addTicks(u.result),!0}catch(e){return!1}},t}();t.StringExt=o}(t=e.Base||(e.Base={}))}(Stimulsoft||(Stimulsoft={}));;
|
||
var __read=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],a;try{while((void 0===e||e-- >0)&&!(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<arguments.length;e++)t=t.concat(__read(arguments[e]));return t},__extends=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__values=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=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]<s[3])){i.label=n[1];break}if(6===n[0]&&i.label<s[1]){i.label=s[1],s=n;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(n);break}s[2]&&i.ops.pop(),i.trys.pop();continue}n=e.call(t,i)}catch(t){n=[6,t],a=0}finally{o=s=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},o,a,s,u;return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,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 t(){}return t.correct=function(t){return t},t}();t.StiDateTimeCorrector=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Data.Helpers.StiDateTimeCorrector,r=t.System.UInt64,i=t.System.UInt32,o=t.System.UInt16,a=t.System.Int64,s=t.System.Int32,u=t.System.Type,l=t.System.DateTime,c=function(){function e(){}return e.prototype.equals=function(t,n){return 0==e.compare(t,n)},e.prototype.getHashCode=function(t){return 0},e.compare=function(n,c){if(null==n&&null==c)return 0;if(null==n)return-1;if(null==c)return 1;var h=u.getType(n);if(h==l)return e.dateTimeCompare(n,c);if(h==String)return n.toLowerCase().stimulsoft.compareTo(c);if(h==Boolean)return e.defaultCompare(n,c);if(h==Number)return n.stimulsoft.compareTo(c);if(h==s)return n.stimulsoft.compareTo(c);if(h==a)return n.stimulsoft.compareTo(c);if(h==o)return n.stimulsoft.compareTo(c);if(h==i)return n.stimulsoft.compareTo(c);if(h==r)return n.stimulsoft.compareTo(c);if(h.stimulsoft.is(t.System.Enum))return n.stimulsoft.compareTo(c);return 0},e.defaultCompare=function(t,e){return 0},e.dateTimeCompare=function(t,e){if(t.stimulsoft.is(l)&&e.stimulsoft.is(l))return l.compare(n.correct(t),n.correct(e));if(t.stimulsoft.is(l)&&!e.stimulsoft.is(l))return-1;return 1},e.arrayCompare=function(t,e){if(t.length<e.length)return-1;if(t.length>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;r<t.length;r++){var i=n.compare(t[r],e[r]);if(0!=i)return i}return 0},t}();e.StiArrayComparer=r}(n=e.Comparers||(e.Comparers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.prototype.equals=function(t,e){if(t.length==e.length){for(var n=0;n<t.length;n++)if(t[n]!=e[n])return!1;return!0}return!1},t.prototype.getHashCode=function(t){return null},t}();t.StiArrayEqualityComparer=e}(e=t.Comparers||(t.Comparers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.prototype.compare=function(t,e){if(null==t||null==e)return 0;if(t.type>e.type)return 1;if(t.type<e.type)return-1;return 0},t}();t.StiDataActionComparer=e}(e=t.Comparers||(t.Comparers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.prototype.compare=function(t,e){return null},t}();t.StiDataRowComparer=e}(e=t.Comparers||(t.Comparers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e,n,r,i,o,a,s,u,l;!function(t){t[t["Inner"]=1]="Inner",t[t["Left"]=2]="Left",t[t["Right"]=3]="Right",t[t["Cross"]=4]="Cross",t[t["Full"]=5]="Full"}(e=t.StiDataJoinType||(t.StiDataJoinType={})),function(t){t[t["Ascending"]=1]="Ascending",t[t["Descending"]=2]="Descending",t[t["None"]=3]="None"}(n=t.StiDataSortDirection||(t.StiDataSortDirection={})),function(t){t[t["EqualTo"]=0]="EqualTo",t[t["NotEqualTo"]=1]="NotEqualTo",t[t["GreaterThan"]=2]="GreaterThan",t[t["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",t[t["LessThan"]=4]="LessThan",t[t["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",t[t["Between"]=6]="Between",t[t["NotBetween"]=7]="NotBetween",t[t["Containing"]=8]="Containing",t[t["NotContaining"]=9]="NotContaining",t[t["BeginningWith"]=10]="BeginningWith",t[t["EndingWith"]=11]="EndingWith",t[t["IsNull"]=12]="IsNull",t[t["IsNotNull"]=13]="IsNotNull",t[t["IsBlank"]=14]="IsBlank",t[t["IsNotBlank"]=15]="IsNotBlank",t[t["IsBlankOrNull"]=16]="IsBlankOrNull",t[t["IsFalse"]=17]="IsFalse",t[t["PairEqualTo"]=18]="PairEqualTo"}(r=t.StiDataFilterCondition||(t.StiDataFilterCondition={})),function(t){t[t["AND"]=0]="AND",t[t["OR"]=1]="OR"}(i=t.StiDataFilterOperation||(t.StiDataFilterOperation={})),function(t){t[t["Limit"]=0]="Limit",t[t["Replace"]=1]="Replace",t[t["RunningTotal"]=2]="RunningTotal",t[t["Percentage"]=3]="Percentage"}(o=t.StiDataActionType||(t.StiDataActionType={})),function(t){t[t["Equal"]=0]="Equal",t[t["NotEqual"]=1]="NotEqual",t[t["Custom"]=2]="Custom",t[t["Empty"]=3]="Empty"}(a=t.StiDataFilterConditionGroupType||(t.StiDataFilterConditionGroupType={})),function(t){t[t["None"]=0]="None",t[t["AllowOpenConnections"]=1]="AllowOpenConnections",t[t["AllowDataSort"]=2]="AllowDataSort",t[t["DisallowTransform"]=4]="DisallowTransform",t[t["All"]=3]="All"}(s=t.StiDataRequestOption||(t.StiDataRequestOption={})),function(t){t[t["None"]=0]="None",t[t["Top"]=1]="Top",t[t["Bottom"]=2]="Bottom"}(u=t.StiDataTopNMode||(t.StiDataTopNMode={})),function(t){t[t["V1"]=0]="V1",t[t["V2"]=1]="V2",t[t["V3"]=2]="V3"}(l=t.StiDataJoinEngine||(t.StiDataJoinEngine={}))}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowSortByVariation="IStiAllowSortByVariation",t.ImplementsIStiAllowSortByVariation=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataFilters="IStiDataFilters",t.ImplementsIStiDataFilters=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataTopN="IStiDataTopN",t.ImplementsIStiDataTopN=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataTransformationElement="IStiDataTransformationElement",t.ImplementsIStiDataTransformationElement=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDrillDownElement="IStiDrillDownElement",t.ImplementsIStiDrillDownElement=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRetrieval="IStiRetrieval",t.ImplementsIStiRetrieval=[]}(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.Data.Engine.IStiRetrieval,r=t.Data.Engine.ImplementsIStiRetrieval;e.IStiQueryObject="IStiQueryObject",e.ImplementsIStiQueryObject=__spread([n],r)}(n=e.Engine||(e.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSkipNormalizeDate="IStiSkipNormalizeDate"}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTransformActions="IStiTransformActions",t.ImplementsIStiTransformActions=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTransformFilters="IStiTransformFilters",t.ImplementsIStiTransformFilters=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTransformSorts="IStiTransformSorts",t.ImplementsIStiTransformSorts=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiUserFilters="IStiUserFilters",t.ImplementsIStiUserFilters=[]}(e=t.Engine||(t.Engine={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiUserSorts="IStiUserSorts",t.ImplementsIStiUserSorts=[]}(e=t.Engine||(t.Engine={}))}(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.LogicalExpressionVisitor=e}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(e=t.Expressions||(t.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.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor,i=t.System.Collections.Dictionary,o=t.System.Collections.List,a=t.Base.StiLexer,s=t.Base.StiTokenType,u=t.System.Collections.Hashtable,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.parameters=new u,e}return __extends(e,t),e.prototype.visit7=function(t){this.parameters.add(t.name,t.name)},e.prototype.visit4=function(t){},e.prototype.visit3=function(t){t.leftExpression.accept(this),t.rightExpression.accept(this)},e.prototype.visit2=function(t){t.leftExpression.accept(this),t.rightExpression.accept(this),t.middleExpression.accept(this)},e.prototype.visit6=function(t){var e,n;try{for(var r=__values(t.expressions),i=r.next();!i.done;i=r.next()){var o;i.value.accept(this)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.visit1=function(t){t.accept(this)},e.prototype.visit5=function(t){},e}(r),c=function(){function e(){}return e.newExpression=function(n){return t.Data.Expressions.NCalc.Expression.create1(e.prepareExpression(n),t.Data.Expressions.NCalc.EvaluateOptions.IgnoreCase)},e.prepareExpression=function(t){return t=n.isNullOrWhiteSpace(t)?t:t.stimulsoft.replaceAll('"',"'"),e.escapeExpression(t)},e.escapeExpression=function(t){if(n.isNullOrWhiteSpace(t)||t.stimulsoft.contains("[")&&t.stimulsoft.contains("]"))return t;try{var e=new o,r=new a(t);while(1){var i=r.getToken();if(null==i||i.type==s.EOF)break;e.add(i)}for(var u=t,l=0,c=0;c<e.length-2;c++)if(e[c].type==s.Ident&&e[c+1].type==s.Dot&&e[c+2].type==s.Ident){if(0!=c&&c+3<e.length&&(e[c-1].type==s.LBracket||e[c+3].type==s.RBracket))continue;var h=e[c].index,p=e[c+2].index+e[c+2].length;u=u.stimulsoft.insert(h+l,"[",0),l++,u=u.stimulsoft.insert(p+l,"]",0),l++,c++}return u}catch(t){}return t},e.replaceFunction=function(t,n){var r=e.getFunction(t);return null!=r?t=t.substring(r.length):((t=t.trim()).stimulsoft.startsWith("(")||(t="("+t),t.stimulsoft.endsWith(")")||(t+=")")),""+n+t},e.removeFunction=function(t){if(null==t)return t;var n=e.getFunction(t);return null!=n&&(t=t.substring(n.length)),(t=t.trim()).stimulsoft.startsWith("(")&&(t=t.substring(1)),t.stimulsoft.endsWith(")")&&(t=t.substring(0,t.length-1)),t},e.isAggregationFunctionPresent=function(e){var r=this.getFunction(e);if(n.isNullOrWhiteSpace(r))return!1;return t.Data.Functions.Funcs.isAggregationFunction(r)},e.isFunctionPresent=function(t){var r=e.getFunction(t);return!n.isNullOrWhiteSpace(r)},e.getFunction=function(e){if(n.isNullOrWhiteSpace(e))return null;try{var r,i=t.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(e),!0).stimulsoft.as(t.Data.Expressions.NCalc.Domain.Functionn);if(null!=i){var o=i.identifier.name;return null!=o&&e.trim().stimulsoft.startsWith(o)?o:null}return null}catch(t){return null}},e.getArguments=function(r){if(n.isNullOrWhiteSpace(r))return new o;try{if(e.expressionToArguments.contains(r))return e.expressionToArguments.get(r);var i=t.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(r),!0),a=new l;i.accept(a);var s=a.parameters.values.toList();return e.expressionToArguments.set(r,s),s}catch(t){}return new o},e.compile=function(e){return t.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(e),!0)},e.getFirstArgumentFromExpression=function(t){t=e.removeFunction(t);var r=e.getArguments(t);if(null==r)return null;var i=r.firstOrDefault();if(n.isNullOrWhiteSpace(i))return null;return i},e.parseReportExpression=function(t,e,r){if(null!=t&&!n.isNullOrEmpty(e))return r||e.stimulsoft.contains("{")||e.stimulsoft.contains("}")||(e="{"+e+"}"),t.fetchPages().firstOrDefault().parseExpression(e);return e},e.fetchBlocksFromExpression=function(t){if(n.isNullOrWhiteSpace(t))return null;var e=new o,r=0;while(r<t.length){while(r<t.length&&"{"!=t[r])r++;if(r<t.length&&"{"==t[r]){var i=++r;while(r<t.length){if('"'==t[r]){var a=++r;while(a<t.length){if('"'==t[a])break;"\\"==t[a]&&a++,a++}r=a+1;continue}if("}"==t[r]){var s=t.substr(i,r-i);n.isNullOrWhiteSpace(s)||e.add(s.trim()),r++;break}r++}}}return e},e.replaceExpressionBlocksByValues=function(t,e){if(n.isNullOrWhiteSpace(t))return null;var r="",i=0,o=0;while(o<t.length){var a=o;while(o<t.length&&"{"!=t[o])o++;o!=a&&(r+=t.substr(a,o-a));var s=!1;if(o<t.length&&"{"==t[o]){a=++o;while(o<t.length){if('"'==t[o]){var u=++o;while(u<t.length){if('"'==t[u])break;"\\"==t[u]&&u++,u++}o=u+1;continue}if("}"==t[o]){var l=t.substr(a,o-a);n.isNullOrWhiteSpace(l)||(r+=e[i++]),s=!0,o++;break}o++}s||(r+=t.substr(a-1))}}return r},e.expressionToArguments=new i,e}();e.StiExpressionHelper=c}(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=t.Data.Helpers.StiExpressionHelper,i=t.System.Data.DataTable,o=function(){function t(){}return t.getUniqueName=function(t,e){if(!t.columns.contains(e.label))return e.label;var i=r.getFunction(e.expression);if(!n.isNullOrWhiteSpace(i)){var o=e.label+"-"+i;if(!t.columns.contains(o))return o}return this.getUniqueName3(t,e.label)},t.getUniqueName2=function(t,e,i){if(!t.columns.contains(i))return i;var o=r.getFunction(e.expression);if(!n.isNullOrWhiteSpace(o)){var a=i+"-"+o;if(!t.columns.contains(a))return a}return this.getUniqueName3(t,e.label)},t.getUniqueName3=function(t,e){if(null==e)return null;var n=e,r=2;while(t.columns.contains(n))n=e+(r++).toString();return n},t.parentRelationList=function(t){return t.parentRelations.toList().cast()},t.childRelationList=function(t){return t.childRelations.toList().cast()},t.nullTable=new i,t}();e.DataTableExt=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 e(){}return e.toNetTable=function(e,n){return void 0===n&&(n=!1),t.ListTableExt.toNetTable(e.rows,e.meters,n)},e}();t.StiDataTableExt=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.Dictionary,r=t.Data.Extensions.DataTableExt,i=t.Base.StiKeyHelper,o=t.Data.Extensions.StiDataTableExt,a=function(){function t(){}return t.apply=function(t,n,i,o){if(null==n)return t;if(!(n=n.where((function(t){return!t.afterGroupingData}))).any())return t;var a=this.getFromCache(t,i,o);if(a==r.nullTable)return null;if(null==a){a=t.copy();var s=t.toList().cast().select((function(t){return t.columnName})).toList();e.StiDataActionRuleHelper.applyActions(a,n.toList(),null,s,i),this.addToCache(t,i,o,a)}return a},t.applyAfterGrouping=function(t,n,r,i){if(null==n)return t;if(!(n=n.where((function(t){return t.afterGroupingData}))).any())return t;var a=this.getFromCache2(t,r,i);if(null==a){var s=o.toNetTable(t),u=t.meters.select((function(t){return t.key})),l=s.toList().cast().select((function(t){return t.columnName}));e.StiDataActionRuleHelper.applyActions(s,n.toList(),u,l,r);var c=s.rows.toList().select((function(t){return t.itemArray}));a=new e.StiDataTable(t.meters,c),this.addToCache2(t,r,i,a)}return a},t.cleanCache=function(t){var e=this;null==t?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.where((function(e){return e.stimulsoft.startsWith(t)})).toList().forEach((function(t){return e.netCache.remove(t)})),this.meterCache.keys.where((function(e){return e.stimulsoft.startsWith(t)})).toList().forEach((function(t){return e.meterCache.remove(t)})))},t.getCacheKey=function(t,e,n){var r,o;return e&&e.setKey(i.getOrGeneratedKey(e.getKey())),(e&&e.getKey()||"")+"."+(t.columns.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,o;return e&&e.setKey(i.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.netCache.contains(r)?this.netCache.get(r):null},t.getFromCache2=function(t,e,n){var r=this.getCacheKey2(t,e,n);return this.meterCache.contains(r)?this.meterCache.get(r):null},t.addToCache=function(t,e,n,i){null==i&&(i=r.nullTable);var o=this.getCacheKey(t,e,n);this.netCache.set(o,i)},t.addToCache2=function(t,n,r,i){null==i&&(i=e.StiDataTable.nullTable);var o=this.getCacheKey2(t,n,r);this.meterCache.set(o,i)},t.lockObject={},t.netCache=new n,t.meterCache=new n,t}();e.StiDataActionOperator=a}(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 t(){}return t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t}();t.StiDataRule=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.Base.StiJson,r=t.System.Enum,i=function(t){function i(e,n,r,i,o,a,s,u,l,c,h){void 0===i&&(i=0),void 0===o&&(o=-1),void 0===a&&(a=!0),void 0===l&&(l=!1),void 0===c&&(c=!1);var p=t.call(this)||this;return p.rowsCount=-1,null!=e&&(p.key=e),null!=n&&(p.path=n),null!=r&&(p.type=r),null!=i&&(p.startIndex=i),null!=o&&(p.rowsCount=o),null!=s&&(p.valueFrom=s),null!=u&&(p.valueTo=u),null!=l&&(p.matchCase=l),null!=c&&(p.matchWholeWord=c),null!=h&&(p.initialValue=h),null!=a&&(p.afterGroupingData=a),p}return __extends(i,t),i.prototype.saveToJsonObject=function(t){var r=new n;return r.addPropertyEnum("Type",e.StiDataActionType,this.type),r.addPropertyStringNullOrEmpty("Key",this.key),r.addPropertyStringNullOrEmpty("Path",this.path),r.addPropertyNumber("StartIndex",this.startIndex),r.addPropertyNumber("RowsCount",this.rowsCount,-1),r.addPropertyStringNullOrEmpty("InitialValue",this.initialValue),r.addPropertyStringNullOrEmpty("ValueFrom",this.valueFrom),r.addPropertyStringNullOrEmpty("ValueTo",this.valueTo),r.addPropertyBool("MatchCase",this.matchCase),r.addPropertyBool("MatchWholeWord",this.matchWholeWord),r.addPropertyBool("AfterGroupingData",this.afterGroupingData),r},i.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"Type":this.type=r.parse(e.StiDataActionType,s.value);break;case"Key":this.key=s.value;break;case"Path":this.path=s.value;break;case"StartIndex":this.startIndex=s.value.stimulsoft.toNumber();break;case"RowsCount":this.rowsCount=null!=s.value?s.value.stimulsoft.toNumber():-1;break;case"InitialValue":this.initialValue=s.value;break;case"ValueFrom":this.valueFrom=s.value;break;case"ValueTo":this.valueTo=s.value;break;case"MatchCase":this.matchCase=s.value.stimulsoft.toBoolean();break;case"MatchWholeWord":this.matchWholeWord=s.value.stimulsoft.toBoolean();break;case"AfterGroupingData":this.afterGroupingData=s.value.stimulsoft.toBoolean();break}}}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,n){for(var i=0;i<t.childNodes.length;i++){var o=t.childNodes[i];switch(o.nodeName){case"Type":this.type=r.parse(e.StiDataActionType,o.textContent);break;case"Key":this.key=o.textContent;break;case"Path":this.path=o.textContent;break;case"StartIndex":this.startIndex=o.textContent.stimulsoft.toNumber();break;case"RowsCount":this.rowsCount=o.textContent.stimulsoft.toNumber();break;case"InitialValue":this.initialValue=o.textContent;break;case"ValueFrom":this.valueFrom=o.textContent;break;case"ValueTo":this.valueTo=o.textContent;break;case"MatchCase":this.matchCase=o.textContent.stimulsoft.toBoolean();break;case"MatchWholeWord":this.matchWholeWord=o.textContent.stimulsoft.toBoolean();break;case"AfterGroupingData":this.afterGroupingData=o.textContent.stimulsoft.toBoolean();break}}},i.loadFromJson=function(t){var e=new i;return e.loadFromJsonObject(t),e},i.loadFromXml=function(t){var e=new i;return e.loadFromXml(t,!1),e},i.prototype.getUniqueCode=function(){var t=this.type;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.key?this.key.stimulsoft.getHashCode():0))^(null!=this.path?this.path.stimulsoft.getHashCode():0))^this.startIndex)^this.rowsCount)^(null!=this.initialValue?this.initialValue.stimulsoft.getHashCode():0))^(null!=this.valueFrom?this.valueFrom.stimulsoft.getHashCode():0))^(null!=this.valueTo?this.valueTo.stimulsoft.getHashCode():0))^this.matchCase.stimulsoft.getHashCode())^this.matchWholeWord.stimulsoft.getHashCode())^this.afterGroupingData.stimulsoft.getHashCode(),Math.abs(t)},i.create1=function(t,n){return new i(t,n,e.StiDataActionType.Percentage,0,-1,!0,null,null,!1,!1,null)},i.create2=function(t,n,r,o,a){return new i(t,n,e.StiDataActionType.Limit,r,o,a,null,null,!1,!1,null)},i.create3=function(t,n,r,o,a,s){return new i(t,n,e.StiDataActionType.Replace,0,-1,!1,r,o,a,s,null)},i.create4=function(t,n,r){return new i(t,n,e.StiDataActionType.RunningTotal,0,-1,!0,null,null,!1,!1,r)},i}(e.StiDataRule);e.StiDataActionRule=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.StiString,r=t.System.StiNumber,i=t.Base.StiKeyHelper,o=t.Base.Helpers.StiValueHelper,a=t.Data.Helpers.StiExpressionHelper,s=t.Data.Comparers.StiDataActionComparer,u=function(){function u(){}return u.toList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},u.validate=function(t,e){return t.where((function(t){return i.isKey(t.key)&&e.contains(t.key)})).toList()},u.getColumnIndex=function(t,e,r){var i=-1;return null==r||n.isNullOrEmpty(t.path)||(i=r.indexOf(t.path)),-1!=i||null==e||n.isNullOrEmpty(t.key)||(i=e.indexOf(t.key)),i},u.applyActions=function(t,n,r,i,o){var a,u;n.stimulsoft.sort2(new s);try{for(var l=__values(n),c=l.next();!c.done;c=l.next()){var h=c.value,p=this.getColumnIndex(h,r,i);switch(h.type){case e.StiDataActionType.Limit:this.applyLimitAction(t,h.startIndex,h.rowsCount);break;case e.StiDataActionType.Replace:this.applyReplaceAction(t,p,h.valueFrom,h.valueTo,h.matchCase,h.matchWholeWord,o);break;case e.StiDataActionType.RunningTotal:this.applyRunningTotalAction(t,p,h.initialValue,o);break;case e.StiDataActionType.Percentage:this.applyPercentageAction(t,p);break}}}catch(t){a={error:t}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}},u.applyLimitAction=function(t,e,n){n<0&&(n=t.rows.length);var r=t.rows.toList().skip(e).take(Math.max(0,n));t.rows.toList().except(r).forEach((function(e){return t.rows.remove(e)}))},u.applyReplaceAction=function(t,e,r,i,s,u,l){if(-1==e)return;r=a.parseReportExpression(l,r,!0),i=a.parseReportExpression(l,i,!0),t.rows.toList().forEach((function(t){var a=o.tryToString(t.gett(e));if(n.isNullOrEmpty(a))return;var l=new RegExp(u?"\b"+r+"\b":r,s?"":"i");t.sett(e,a.replace(l,i))}))},u.applyRunningTotalAction=function(t,e,n,i){if(-1==e)return;n=a.parseReportExpression(i,n,!0);var s=r.tryParse(n.stimulsoft.replaceAll(",",".")).result;t.rows.toList().forEach((function(t){return t.sett(e,s+=o.tryToNumber(t.gett(e)))}))},u.applyPercentageAction=function(e,n){if(-1==n)return;var r=t.Data.Functions.Funcs.sum(e.rows.toList().select((function(t){return t.gett(n)})));e.rows.toList().forEach((function(t){return t.sett(n,Math.round2(o.tryToNumber(t.gett(n))/r*100,2))}))},u}();e.StiDataActionRuleHelper=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.System.Collections.List,r=function(){function t(){}return t.analyze=function(t,n,r,i,o,a,s,u,l,c,h,p){return void 0===i&&(i=e.StiDataRequestOption.All),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null),void 0===u&&(u=null),void 0===l&&(l=null),void 0===c&&(c=null),void 0===h&&(h=null),void 0===p&&(p=null),__awaiter(this,void 0,void 0,(function(){var f,m,d,y,v,g,S,b,x;return __generator(this,(function(T){switch(T.label){case 0:if(null==r||!r.any())return[2,e.StiDataTable.nullTable];return f=t.getDictionary(),m=f.getApp(),d=0,y=this.unionNames(null,null!=a?a.select((function(t){return t.path})):null),y=this.unionNames(y,null!=s?s.select((function(t){return t.path})):null),y=this.unionNames(y,null!=u?u.select((function(t){return t.path})):null),y=this.unionNames(y,null!=c?c.select((function(t){return t.path})):null),y=this.unionNames(y,null!=h?h.select((function(t){return t.path})):null),y=this.unionNames(y,null!=p?p.select((function(t){return t.path})):null),v=e.StiDataLinkHelper.getLinks(f),[4,e.StiDataPicker.fetch(t,n,i,y,v)];case 1:if(null==(g=T.sent())||!g.any())return[2,e.StiDataCreator.create(f,r)];if(null==(S=e.StiDataJoiner.join(g,e.StiDataLinkHelper.getLinks(f),r,m)))return[2,e.StiDataTable.nullTable];if(b=this.unionFilters(s,a,p),d=null!=n?n.stimulsoft.getHashCode():0,d=this.getUniqueCode(m,b,d),null==(S=e.StiDataFiltrator.filter(S,b,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,u&&u.where((function(t){return!t.afterGroupingData})),d),null==(S=e.StiDataActionOperator.apply(S,u,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode2(r,d),null==(x=e.StiDataGrouper.group(f,S,r)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,u&&u.where((function(t){return t.afterGroupingData})),d),null==(x=e.StiDataActionOperator.applyAfterGrouping(x,u,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,c,d),null==(x=e.StiDataFiltrator.filter2(x,c,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,h,d),null==(x=e.StiDataActionOperator.applyAfterGrouping(x,h,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,l,d),null==(x=e.StiDataSorter.sort(x,l,m,d)))return[2,e.StiDataTable.nullTable];if(d=this.getUniqueCode(m,o,d),null==(x=e.StiDataSorter.sort(x,o,m,d)))return[2,e.StiDataTable.nullTable];return[2,x]}}))}))},t.unionFilters=function(t,e,r){if(null==t&&null==e&&null==r)return null;var i=new n;return null!=t&&(i=i.union(t)),null!=e&&(i=i.union(e)),null!=r&&(i=i.union(r)),i},t.unionNames=function(t,e){if(null==t&&null==e)return null;if(null!=t&&null!=e)return t.union(e);return null!=t?t:e},t.getUniqueCode=function(t,n,r){if(void 0===r&&(r=null),null==n||!n.any())return null!=r?r:0;var i=n.select((function(t){return t.getUniqueCode()})).aggregate2(0,(function(t,e){return t+e})),o;n.all((function(t){return t.stimulsoft.is(e.StiDataFilterRule)}))&&(i+=e.StiDataFilterRuleHelper.getFilterRulesHash(t,n.cast()));return null==r?i:i+r},t.getUniqueCode2=function(t,e){if(void 0===e&&(e=null),null==t||!t.any())return null!=e?e:0;var n=t.select((function(t){return t.getUniqueCode()})).aggregate2(0,(function(t,e){return t+e}));return null==e?n:n+e},t}();e.StiDataAnalyzer=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=function(){function t(){}return t.isGoodColumnName=function(t){return!n.isNullOrEmpty(t)&&0==t.indexOf("[")&&t.indexOf("]")==t.length-1},t.getGoodColumnName=function(t){return this.isGoodColumnName(t)?t:"["+t+"]"},t.keywords=["and","between","child","false","in","is","like","not","null","or","parent","true"],t}();e.StiDataColumnRuleHelper=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.Collections.Hashtable,r=t.System.Collections.List,i=function(){function t(){}return t.isConnectionActive=function(e){if(null==e)return!1;return t.connections.containsKey(e)},t.registerConnection=function(e,n){if(null==e)return;if(n=null!=n?n:new r,t.connections.containsKey(e)){var i=t.connections.get(e);null!=i?i.addRange(n):t.connections.set(e,n)}else t.connections.add(e,n)},t.unRegisterConnections=function(e){return t.connections.values.where((function(t){return null!=t})).selectMany(t.unRegisterConnection).toList()},t.unRegisterConnection=function(e){if(null==e||!t.connections.containsKey(e))return new r;var n=t.connections.get(e);return t.connections.remove(e),null!=n?n:new r},t.connections=new n,t}();e.StiDataConnections=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(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.compare=function(t,e){return null},e.compareValues=function(t,e){return null},e.isList=function(t){return null!=t&&(!t.stimulsoft.is(String)&&t.stimulsoft.is(n)||Array.isArray(t))},e.isBoolList=function(t){return e.toList(t).firstOrDefault().stimulsoft.is(Boolean)},e.toList=function(t){return(null==t?void 0:t.stimulsoft.is(n))?t.cast():new n(t)},e.toStringList=function(t){return e.toList(t).tryCastToString()},e.toNumberList=function(t){return e.toList(t).tryCastToNumber()},e.toBoolList=function(t){return e.toList(t).tryCastToBool()},e.toNullableDateTimeList=function(t){return e.toList(t).tryCastToNullableDateTime()},e.toStringArray=function(t){return null},e.toNumberArray=function(t){return null},e}(n);e.ListExt=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(t){void 0===t&&(t=null),this.message="",this.message=t}return t}();t.StiDataException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e,n){var r=t.call(this,"Argument '"+n+"' in the function '"+e+"' not found!")||this;return r._functionName=e,r._argumentName=n,r}return __extends(e,t),Object.defineProperty(e.prototype,"functionName",{get:function(){return this._functionName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"argumentName",{get:function(){return this._argumentName},enumerable:!1,configurable:!0}),e}(t.StiDataException);t.StiArgumentNotFoundException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e){var n=t.call(this,"Parameter count mismatch in the function '"+e+"'!")||this;return n._functionName=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"functionName",{get:function(){return this._functionName},enumerable:!1,configurable:!0}),e}(t.StiDataException);t.StiArgumentCountException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e){var n=t.call(this,"Function '"+e+"' not found!")||this;return n._name=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e}(t.StiDataException);t.StiFunctionNotFoundException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),t}();t.SimpleValue=e}(e=t.Types||(t.Types={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.System.MidpointRounding,r=function(){function t(){}return t.allowNulls=!1,t.roundType=n.ToEven,t}();e.StiDataOptions=r}(n=e.Options||(e.Options={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var n;!function(e){var n=t.Base.Helpers.StiValueHelper,r=function(){function t(t){this.value=n.tryToNullableDateTime(t)}return t}();e.DateTimeValue=r}(n=e.Types||(e.Types={}))}(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.StiActivator,i=t.Data.Types.DateTimeValue,o=t.System.Collections.Hashtable,a=t.System.Enum,s=t.Base.StiAppFunctions,u=t.Data.Exceptions.StiFunctionNotFoundException,l=t.System.Globalization.CultureInfo,c=t.System.Collections.Dictionary,h=t.Data.Helpers.StiExpressionHelper,p=t.System.Char,f=t.System.Collections.List,m=t.Data.Extensions.ListExt,d=t.System.DateTime,y=t.System.TimeSpan,v=t.Base.Helpers.StiValueHelper,g=t.Data.Types.SimpleValue,S=t.Data.Options.StiDataOptions,b=t.Base.Localization.StiLocalization,x=function(){function t(){}return t.count=function(e){return m.isList(e)?t.optionalSkipNulls(m.toList(e)).count2():v.tryToNumber(e)},t.countIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?1:0;var i=this.skipNulls(m.toList(t)),o=this.getConditions(e),a=0,s=0,u=0;try{for(var l=__values(i),c=l.next();!c.done;c=l.next()){var h=c.value,p;(u<o.length?o[u]:o.lastOrDefault())&&(s+=1),u++}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s},t.distinct=function(e){return m.isList(e)?t.optionalSkipNulls(m.toList(e)).distinct():e},t.distinctCount=function(e){return m.isList(e)?t.optionalSkipNulls(m.toList(e)).distinct().count2():v.tryToNumber(e)},t.distinctCountIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?1:0;var i=m.toList(t),a=this.getConditions(e),s=0,u=new o,l=0,c=0;try{for(var h=__values(i),p=h.next();!p.done;p=h.next()){var f=p.value,d;(c<a.length?a[c]:a.lastOrDefault())&&null==u.get(f)&&(l+=1),u.set(f,f),c++}}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}return l},t.first=function(e){return m.isList(e)?t.skipNulls(m.toList(e)).firstOrDefault():e},t.last=function(e){return m.isList(e)?t.skipNulls(m.toList(e)).lastOrDefault():e},t.all=function(e){return m.isList(e)?t.skipNulls(m.toList(e)).select((function(t){return new g(t)})):new g(e)},t.isAggregationFunction=function(t){switch(this.toLowerCase(t)){case"avg":case"avgd":case"avgi":case"avgdate":case"avgtime":case"max":case"maxd":case"maxi":case"maxdate":case"maxtime":case"maxstr":case"median":case"mediand":case"mediani":case"min":case"mind":case"mini":case"mindate":case"mintime":case"minstr":case"minmaxdatestring":case"mode":case"moded":case"modei":case"sum":case"sumd":case"sumi":case"sumtime":case"sumdistinct":case"sumif":case"sumdif":case"sumiif":case"sumtimeif":case"sumdistinctif":case"count":case"countdistinct":case"countif":case"countdistinctif":return!0;default:return!1}},t.avg=function(e){if(!m.isList(e))return v.tryToNumber(e);var n=t.skipNulls(m.toList(e));if(0==t.count(n))return 0;return t.sum(n)/t.count(n)},t.avgNulls=function(t){if(!m.isList(t))return null==t?null:v.tryToNumber(t);var e=m.toList(t);if(null==e||0==e.count2())return null;return this.sum(e)/e.count2()},t.avgDate=function(e){if(!m.isList(e))return v.tryToNullableDateTime(e);var n=t.skipNulls(m.toList(e)).where((function(t){return null!=t&&t.stimulsoft.is(d)})).tryCastToDateTime();if(0==t.count(n))return null;return new d(n.sum((function(t){return t.ticks}))/t.count(n))},t.avgTime=function(t){return null},t.max=function(e){if(!m.isList(e))return v.tryToNumber(e);var n=t.skipNulls(m.toList(e)).tryCastToNumber();return n.any()?n.max():0},t.maxNulls=function(t){if(!m.isList(t))return null==t?null:v.tryToNumber(t);var e=m.toList(t);if(null==e||0==e.count2()||e.all((function(t){return null==t})))return null;var n=this.skipNulls(e).tryCastToNumber();return n.any()?n.max():0},t.maxD=function(e){if(!m.isList(e))return v.tryToNumber(e);var n=t.skipNulls(m.toList(e)).tryCastToNumber();return n.any()?n.max():0},t.maxI=function(e){if(!m.isList(e))return v.tryToNumber(e);var n=t.skipNulls(m.toList(e)).tryCastToNumber();return n.any()?n.max():0},t.maxDate=function(e){if(!m.isList(e))return v.tryToNullableDateTime(e);var n=t.skipNulls(m.toList(e)).tryCastToNullableDateTime();return n.any()?n.max():null},t.maxTime=function(e){if(!m.isList(e))return v.tryToNullableTimeSpan(e);var n=t.skipNulls(m.toList(e)).tryCastToNullableTimeSpan();return n.any()?n.max():null},t.maxStr=function(e){if(!m.isList(e))return t.toString(e);return t.skipNulls(m.toList(e)).orderBy(t.toString).cast().lastOrDefault()},t.median=function(t){if(!m.isList(t))return v.tryToNumber(t);var e=m.toList(t).tryCastToNumber().orderBy((function(t){return t})).toList();if(!e.any())return 0;if(e.length%2==0)return(e[e.length/2-1]+e[e.length/2])/2;return e[Math.ceil(e.length/2)]},t.min=function(e){if(!m.isList(e))return v.tryToNumber(e);var n=t.skipNulls(m.toList(e)).tryCastToNumber();return n.any()?n.min():0},t.minNulls=function(t){if(!m.isList(t))return null==t?null:v.tryToNumber(t);var e=m.toList(t);if(null==e||0==e.count2()||e.all((function(t){return null==t})))return null;var n=this.skipNulls(e).tryCastToNumber();return n.any()?n.min():0},t.minDate=function(e){if(!m.isList(e))return v.tryToNullableDateTime(e);var n=t.skipNulls(m.toList(e)).tryCastToNullableDateTime();return n.any()?n.min():null},t.minTime=function(e){if(!m.isList(e))return v.tryToNullableTimeSpan(e);var n=t.skipNulls(m.toList(e)).tryCastToNullableTimeSpan();return n.any()?n.min():null},t.minMaxDateString=function(e){var n=t.minDate(e),r=t.maxDate(e),i,o;return(null!=n?n.toString("MM/dd/yyyy"):"null")+"-"+(null!=r?r.toString("MM/dd/yyyy"):"null")},t.minStr=function(e){if(!m.isList(e))return t.toString(e);return t.skipNulls(m.toList(e)).orderBy(t.toString).cast().firstOrDefault()},t.mode=function(e){if(!m.isList(e))return v.tryToNumber(e);return t.skipNulls(m.toList(e)).tryCastToNumber().groupBy((function(t){return t})).orderByDescending((function(t){return t.count2()})).select((function(t){return t.key})).firstOrDefault()},t.sum=function(e){if(!m.isList(e))return v.tryToNumber(e);return t.skipNulls(m.toList(e)).tryCastToNumber().sum()},t.sumNulls=function(t){if(!m.isList(t))return null==t?null:v.tryToNumber(t);var e=m.toList(t);if(e.all((function(t){return null==t})))return null;return this.sum(e)},t.sumD=function(e){if(!m.isList(e))return v.tryToNumber(e);return t.skipNulls(m.toList(e)).tryCastToNumber().sum()},t.sumI=function(e){if(!m.isList(e))return v.tryToNumber(e);return t.skipNulls(m.toList(e)).tryCastToNumber().sum()},t.sumTime=function(t){if(!m.isList(t))return v.tryToTimeSpan(t);var e=this.skipNulls(m.toList(t)).tryCastToTimeSpan().sum((function(t){return t.ticks}));return new y(e)},t.sumDistinct=function(e){if(!m.isList(e))return v.tryToNumber(e);return t.skipNulls(m.toList(e)).tryCastToNumber().distinct().sum()},t.sumIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?v.tryToNumber(t):0;var i=m.toList(t).tryCastToNumber(),o=this.getConditions(e),a=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(a<o.length?o[a]:o.lastOrDefault())&&(s+=c),a++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},t.sumDIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?v.tryToNumber(t):0;var i=m.toList(t).tryCastToNumber(),o=this.getConditions(e),a=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(a<o.length?o[a]:o.lastOrDefault())&&(s+=c),a++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},t.sumIIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?v.tryToNumber(t):0;var i=m.toList(t).tryCastToNumber(),o=this.getConditions(e),a=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(a<o.length?o[a]:o.lastOrDefault())&&(s+=c),a++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},t.sumTimeIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?v.tryToTimeSpan(t):y.zero;var i=m.toList(t).tryCastToTimeSpan(),o=this.getConditions(e),a=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(a<o.length?o[a]:o.lastOrDefault())&&(s+=c.ticks),a++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return new y(s)},t.sumDistinctIf=function(t,e){var n,r;if(!m.isList(t))return this.getCondition(e)?v.tryToNumber(t):0;var i=m.toList(t).tryCastToNumber(),a=this.getConditions(e),s=new o,u=0,l=0;try{for(var c=__values(i),h=c.next();!h.done;h=c.next()){var p=h.value,f=u<a.length?a[u]:a.lastOrDefault();f&&null!=s.get(f)&&(l+=p,s.set(f,f)),u++}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return l},t.getCondition=function(t){if(!m.isList(t))return v.tryToBool(t);return m.toList(t).tryCastToBool().firstOrDefault()},t.getConditions=function(t){if(!m.isList(t))return new f([v.tryToBool(t)]);return m.toList(t).tryCastToBool().toList()},t.dayOfWeekIdent=function(t){return null},t.dayOfWeekIdentObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.dayOfWeekIdent):t.dayOfWeekIdent(v.tryToNullableDateTime(e))},t.dayOfWeekIndex=function(t){if(null==t)return-1;return t.dayOfWeek},t.dayOfWeekIndexObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.dayOfWeekIndex):t.dayOfWeekIndex(v.tryToNullableDateTime(e))},t.dayOfWeek=function(t){return null!=t?e.StiDayOfWeekToStrHelper.dayOfWeek(t):""},t.dayOfWeekObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.dayOfWeek):t.dayOfWeek(v.tryToNullableDateTime(e))},t.dayOfWeek2=function(t,n){return null!=t?e.StiDayOfWeekToStrHelper.dayOfWeek2(t,n):""},t.dayOfWeekObject2=function(e,n){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.dayOfWeek2(e,n)})):t.dayOfWeek2(v.tryToNullableDateTime(e),n)},t.dayOfWeek3=function(t,n){return null!=t?e.StiDayOfWeekToStrHelper.dayOfWeek3(t,n):""},t.dayOfWeekObject3=function(e,n){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.dayOfWeek3(e,n)})):t.dayOfWeek3(v.tryToNullableDateTime(e),n)},t.dayOfWeek4=function(t,n,r){return null!=t?e.StiDayOfWeekToStrHelper.dayOfWeek4(t,n,r):""},t.dayOfWeekObject4=function(e,n,r){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.dayOfWeek4(e,n,r)})):t.dayOfWeek4(v.tryToNullableDateTime(e),n,r)},t.daysInMonth=function(t,e){return d.daysInMonth(t,e)},t.daysInMonthObject=function(e,n){if(m.isList(e)||m.isList(n)){for(var r=m.toNullableDateTimeList(e),i=m.toNullableDateTimeList(n),o=null!=r?r.toList():null,a=null!=i?i.toList():null,s=null!=o?o.count2():a.length,u=new f,l=0;l<s;l++){var c=null!=o?o[l]:null,h=null!=a?a[l]:null;u.add(t.daysInMonthObject(c,h))}return u}return t.daysInMonth(v.tryToNumber(e),v.tryToNumber(n))},t.daysInMonth2=function(t){return null!=t?d.daysInMonth(t.year,t.month):0},t.daysInMonthObject2=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.daysInMonth2):t.daysInMonth2(v.tryToNullableDateTime(e))},t.daysInYear=function(t){return d.isLeapYear(t)?366:365},t.daysInYear2=function(e){return null!=e?t.daysInYear(e.year):0},t.daysInYearObject=function(e){if(m.isList(e))return m.toNullableDateTimeList(e).select(t.daysInMonth2);return e.stimulsoft.is(d)?t.daysInYear2(v.tryToNullableDateTime(e)):t.daysInYear(v.tryToNumber(e))},t.monthIdent=function(t){if(null==t)return null;return e.StiMonth[this.month(t)]},t.monthIdentObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.monthIdent):t.monthIdent(v.tryToNullableDateTime(e))},t.month=function(t){if(null==t)return-1;return t.month},t.monthObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.month):t.month(v.tryToNullableDateTime(e))},t.monthName=function(t){return null!=t?e.StiMonthToStrHelper.monthName(t):""},t.monthNameObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.monthName):t.monthName(v.tryToNullableDateTime(e))},t.monthName2=function(t,n){return null!=t?e.StiMonthToStrHelper.monthName2(t,n):""},t.monthNameObject2=function(e,n){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.monthName2(e,n)})):t.monthName2(v.tryToNullableDateTime(e),n)},t.monthName3=function(t,n){return null!=t?e.StiMonthToStrHelper.monthName3(t,n):""},t.monthNameObject3=function(e,n){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.monthName3(e,n)})):t.monthName3(v.tryToNullableDateTime(e),n)},t.monthName4=function(t,n,r){return null!=t?e.StiMonthToStrHelper.monthName4(t,n,r):""},t.monthNameObject4=function(e,n,r){return m.isList(e)?m.toNullableDateTimeList(e).select((function(e){return t.monthName4(e,n,r)})):t.monthName4(v.tryToNullableDateTime(e),n,r)},t.addMonthsObject=function(t,e){var n=v.tryToNullableDateTime(t);if(null==n)return null;return n.addMonths(e)},t.addYears=function(t,e){return t.addYears(e)},t.addYearsObject=function(e,n){var r=v.tryToNullableDateTime(e);if(null==r)return null;return t.addYears(r,n)},t.day=function(t){if(null==t)return-1;return t.day},t.dayObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.day):t.day(v.tryToNullableDateTime(e))},t.dateDiff=function(t,e){if(null==t||null==e)return null;return t.subtract(e)},t.dateDiffObject=function(e,n){if(m.isList(e)||m.isList(n)){for(var r=m.toNullableDateTimeList(e),i=m.toNullableDateTimeList(n),o=null!=r?r.toList():null,a=null!=i?i.toList():null,s=null!=o?o.count2():a.length,u=new f,l=0;l<s;l++){var c=null!=o?o[l]:null,h=null!=a?a[l]:null;u.add(t.dateDiff(c,h))}return u}return t.dateDiff(v.tryToNullableDateTime(e),v.tryToNullableDateTime(n))},t.dateTime=function(t){return m.isList(t)?this.skipNulls(m.toList(t)).select((function(t){return new i(t)})):new i(t)},t.dayOfYear=function(t){if(null==t)return-1;return t.dayOfYear},t.dayOfYearObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.dayOfYear):t.dayOfYear(v.tryToNullableDateTime(e))},t.financialQuarter=function(t){return null},t.financialQuarterObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.financialQuarter):t.financialQuarter(v.tryToNullableDateTime(e))},t.financialQuarterIndex=function(t){if(null==t)return-1;return Math.ceil(t.month/3+2)%4+1},t.financialQuarterIndexObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.financialQuarterIndex):t.financialQuarterIndex(v.tryToNullableDateTime(e))},t.hour=function(t){if(null==t)return-1;return t.hour},t.hourObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.hour):t.hour(v.tryToNullableDateTime(e))},t.makeDate=function(t,e,n){return void 0===e&&(e=1),void 0===n&&(n=1),null},t.makeDateObject=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null},t.makeDateTime=function(t,e,n,r,i,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),null},t.makeDateTimeObject=function(t,e,n,r,i,o){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),null},t.makeTime=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),null},t.makeTimeObject=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null},t.minute=function(t){if(null==t)return-1;return t.minute},t.minuteObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.minute):t.minute(v.tryToNullableDateTime(e))},t.now=function(){return d.now},t.quarterName=function(t,n){var r;switch(void 0===n&&(n=!0),this.quarter(t)){case e.StiQuarter.Q1:return n?b.get("DatePickerRanges","FirstQuarter"):"First Quarter";case e.StiQuarter.Q2:return n?b.get("DatePickerRanges","SecondQuarter"):"Second Quarter";case e.StiQuarter.Q3:return n?b.get("DatePickerRanges","ThirdQuarter"):"Third Quarter";case e.StiQuarter.Q4:return n?b.get("DatePickerRanges","FourthQuarter"):"FourthQuarter";default:return""}},t.quarterNameObject=function(t,e){var n=this;return void 0===e&&(e=!0),m.isList(t)?m.toNullableDateTimeList(t).select((function(t){return n.quarterName(t,e)})):this.quarterName(v.tryToNullableDateTime(t),e)},t.quarter=function(n){if(null==n)return null;return a.parse(e.StiQuarter,t.quarterIndex(n))},t.quarterObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.quarter):t.quarter(v.tryToNullableDateTime(e))},t.quarterIndex=function(t){if(null==t)return-1;return(t.month+2)/3|0},t.quarterIndexObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.quarterIndex):t.quarterIndex(v.tryToNullableDateTime(e))},t.second=function(t){if(null==t)return-1;return t.second},t.secondObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.second):t.second(v.tryToNullableDateTime(e))},t.time=function(t){return m.isList(t)?this.skipNulls(m.toList(t)).select((function(t){return t.stimulsoft.is(d)?t.timeOfDay:null})):t.stimulsoft.is(d)?t.timeOfDay:null},t.year=function(t){if(null==t)return-1;return t.year},t.yearObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.year):t.year(v.tryToNullableDateTime(e))},t.yearMonth=function(t){if(null==t)return"";return t.year+"-"+t.month},t.yearMonthObject=function(e){return m.isList(e)?m.toNullableDateTimeList(e).select(t.yearMonth):t.yearMonth(v.tryToNullableDateTime(e))},t.getDateDimensionFunctions=function(){return new f(["Year","Quarter","Month","Day","DateTime","Time"])},t.localize=function(e){switch(t.toLowerCase(e)){case"avg":return"Average";case"count":return"Count";case"distinctcount":return"Count (Distinct)";case"max":return"Max";case"median":return"Median";case"min":return"Min";case"sum":return"Sum";default:return e}},t.abs=function(t){return Math.abs(t)},t.absObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.abs):t.abs(v.tryToNumber(e))},t.acos=function(t){return Math.acos(t)},t.acosObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.acos):t.acos(v.tryToNumber(e))},t.asin=function(t){return Math.asin(t)},t.asinObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.asin):t.asin(v.tryToNumber(e))},t.atan=function(t){return Math.atan(t)},t.atanObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.atan):t.atan(v.tryToNumber(e))},t.ceiling=function(t){return Math.ceil(t)},t.ceilingObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.ceiling):t.ceiling(v.tryToNumber(e))},t.cos=function(t){return Math.cos(t)},t.cosObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.cos):t.cos(v.tryToNumber(e))},t.div=function(t,e,n){if(void 0===n&&(n=null),0==e)return n;return Math.trunc(t/e)},t.divObject=function(e,n,r){void 0===r&&(r=null);var i=v.tryToNumber(e),o=v.tryToNumber(n),a=v.tryToNullableNumber(r);return t.div(i,o,a)},t.exp=function(t){return Math.exp(t)},t.expObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.exp):t.exp(v.tryToNumber(e))},t.floor=function(t){return Math.floor(t)},t.floorObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.floor):t.floor(v.tryToNumber(e))},t.log=function(t){return Math.log(t)},t.logObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.log):t.log(v.tryToNumber(e))},t.round=function(t){return Math.round(t)},t.roundObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.round):t.round(v.tryToNumber(e))},t.sign=function(t){return Math.sign(t)},t.signObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.sign):t.sign(v.tryToNumber(e))},t.sin=function(t){return Math.sin(t)},t.sinObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.sin):t.sin(v.tryToNumber(e))},t.sqrt=function(t){return Math.sqrt(t)},t.sqrtObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.sqrt):t.sqrt(v.tryToNumber(e))},t.tan=function(t){return Math.tan(t)},t.tanObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.tan):t.tan(v.tryToNumber(e))},t.truncate=function(t){return Math.trunc(t)},t.truncateObject=function(e){return m.isList(e)?m.toNumberList(e).select(t.truncate):t.truncate(v.tryToNumber(e))},t.isMeasureFunction=function(e){var n=h.getFunction(e);if(null==n)return!1;return n=t.toLowerCase(n),t.getMeasureFunctions().any((function(e){return t.toLowerCase(e)==n}))},t.getMeasureFunctions=function(){return t.getAggregateMeasureFunctions().concat(t.getCommonMeasureFunctions()).distinct()},t.getAggregateMeasureFunctions=function(){return new f(["Sum","Avg","Min","Max","DistinctCount","Count","Median"])},t.getCommonMeasureFunctions=function(){return new f(["First","Last","Count","DistinctCount"])},t.calculate=function(e,n){switch(t.toLowerCase(e)){case"all":return t.all(n);case"avg":case"avgd":case"avgi":return t.avg(n);case"avgdate":return t.avgDate(n);case"avgtime":return t.avgTime(n);case"count":return t.count(n);case"distinctcount":return t.distinctCount(n);case"first":return t.first(n);case"last":return t.last(n);case"max":case"maxd":case"maxi":return t.max(n);case"maxdate":return t.maxDate(n);case"maxtime":return t.maxTime(n);case"maxstr":return t.maxStr(n);case"median":case"mediand":case"mediani":return t.median(n);case"min":case"mind":case"mini":return t.min(n);case"mindate":return t.minDate(n);case"mintime":return t.minTime(n);case"minstr":return t.minStr(n);case"mode":case"moded":case"modei":return t.mode(n);case"sum":case"sumd":case"sumi":return t.sum(n);case"sumtime":return t.sumTime(n);case"sumdistinct":return t.sumDistinct(n);default:throw new u(e)}},t.getIso2ConvertedValues=function(t){if(n.isNullOrWhiteSpace(t))return null;return this.iso2Cache.contains(t)?this.iso2Cache.get(t):new f([t])},t.iso2=function(t,e){if(void 0===e&&(e=null),null==t)return"";var n=r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var i=n.getIsoAlpha2FromName(t,e),o=null!=i?i:t,a=this.iso2Cache.contains(o)?this.iso2Cache.get(o):null;return null==a?(a=new f([t]),this.iso2Cache.set(o,a)):a.contains(t)||a.add(t),o},t.iso2Object=function(e,n){return void 0===n&&(n=null),m.isList(e)?m.toStringList(e).select((function(e){return t.iso2(e,n)})):this.iso2(v.tryToString(e),n)},t.iso2ToName=function(t,e){void 0===e&&(e=null);var n=r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var i=n.getNameFromIsoAlpha2(t,e);return null!=i?i:t},t.iso2ToNameObject=function(e,n){return void 0===n&&(n=null),m.isList(e)?m.toStringList(e).select((function(e){return t.iso2ToName(e,n)})):this.iso2ToName(v.tryToString(e),n)},t.iso3=function(t,e){if(void 0===e&&(e=null),null==t)return"";var n=r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var i=n.getIsoAlpha3FromName(t,e);return null!=i?i:t},t.iso3Object=function(e,n){return void 0===n&&(n=null),m.isList(e)?m.toStringList(e).select((function(e){return t.iso3(e,n)})):this.iso3(v.tryToString(e),n)},t.iso3ToName=function(t,e){void 0===e&&(e=null);var n=r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var i=n.getNameFromIsoAlpha3(t,e);return null!=i?i:t},t.iso3ToNameObject=function(e,n){return void 0===n&&(n=null),m.isList(e)?m.toStringList(e).select((function(e){return t.iso3ToName(e,n)})):this.iso3ToName(v.tryToString(e),n)},t.normalizeName=function(t,e){void 0===e&&(e=null);var n=r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;return n.normalizeName(t,e,null)},t.normalizeNameObject=function(e,n){return void 0===n&&(n=null),m.isList(e)?m.toStringList(e).select((function(e){return t.normalizeName(e,n)})):this.normalizeName(v.tryToString(e),n)},t.insert=function(t,e,n){if(null==t)return null;if(e<0||e>t.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<n;i++){if(this.arabics[i]==this.arabics[n]-this.arabics[i])continue;if(t>=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<t.length;r++){var i=t.charCodeAt(r);i>=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<x.length;b+=2){var g=x[b],f=x[b+1];if(g.stimulsoft.is(Boolean)&&1==g)return f;if(g.stimulsoft.is(Boolean)&&1==g)return f}return null;case"abs":return u.absObject(t.getObjectFromArg0("value",e,n));case"acos":return u.acosObject(t.getObjectFromArg0("value",e,n));case"asin":return u.asinObject(t.getObjectFromArg0("value",e,n));case"atan":return u.atanObject(t.getObjectFromArg0("value",e,n));case"ceiling":return u.ceilingObject(t.getObjectFromArg0("value",e,n));case"cos":return u.cosObject(t.getObjectFromArg0("value",e,n));case"div":return u.divObject(t.getObjectFromArg(0,"value1",e,n),t.getObjectFromArg(1,"value2",e,n),t.getObjectFromArg(2,"zeroResult",e,n));case"exp":return u.expObject(t.getObjectFromArg0("value",e,n));case"floor":return u.floorObject(t.getObjectFromArg0("value",e,n));case"log":return u.logObject(t.getObjectFromArg0("value",e,n));case"round":return u.roundObject(t.getObjectFromArg0("value",e,n));case"sign":return u.signObject(t.getObjectFromArg0("value",e,n));case"sin":return u.sinObject(t.getObjectFromArg0("value",e,n));case"sqrt":return u.sqrtObject(t.getObjectFromArg0("value",e,n));case"tan":return u.tanObject(t.getObjectFromArg0("value",e,n));case"truncate":return u.truncateObject(t.getObjectFromArg0("value",e,n));default:throw u.existsCustomFunction(e)&&u.invokeCustomFunction(e,t.evaluateArgs(n)),new a(e)}},t.prototype.getVariableValue=function(t){var e;if(r.isNullOrWhiteSpace(t))return null;if(this.nameToValue.keys.contains(t))return this.nameToValue.get(t);var n=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return this.nameToValue.set(t,n),n},t.prototype.isVariable=function(t){var e;if(r.isNullOrWhiteSpace(t))return!1;if(this.nameToVariable.keys.contains(t))return!0;var n=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return null!=n&&(this.nameToValue.set(t,n),!0)},t.prototype.isSystemVariable=function(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return!0;if("lineabc"==e)return!0;if("lineroman"==e)return!0;return this.dictionary.isSystemVariable(t)},t.prototype.getSystemVariableValue=function(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return n.Line;if("lineabc"==e)return n.LineABC;if("lineroman"==e)return n.LineRoman;return this.dictionary.getSystemVariableValue(t)},t.getObjectFromArg=function(t,e,n,r){if(t>=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<n.currentRow.length?e.result=n.currentRow[r]:e.result=null}},this.queryToExpression.set(t,e),e},e}(e.StiDataParser);e.StiDimensionDataParser=l}(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.StiArray,r=t.Data.Extensions.ListExt,i=t.Data.Parsers.StiMeasureDataParser,o=t.Base.Meters.IStiMeasureMeter,a=t.Base.Meters.IStiDimensionMeter,s=t.Data.Parsers.StiDimensionDataParser,u=t.System.Collections.List,l=t.Data.Engine.IStiSkipNormalizeDate,c=function(){function t(){}return t.create=function(t,i){var o=this;try{var a=i.select((function(e){return o.getData(t,e,i)}),this),s=a.where(r.isList),l=s.any()?s.max((function(t){return r.toList(t).count2()})):1;l=Math.max(1,l);for(var c=a.select((function(t){return o.convert(t,l)})),h=i.count2(),p=new u,f=0;f<l;f++){for(var m=n.create(Object,h),d=0;d<h;d++)m[d]=c[d][f];p.add(m)}return new e.StiDataTable(i,p)}catch(t){return new e.StiDataTable(i,new u)}},t.convert=function(t,e){if(r.isList(t)){var n=r.toList(t),i=u.repeat(n.lastOrDefault(),e).stimulsoft.toArray(),o=0;return n.toList().forEach((function(t){return i[o++]=t})),i}return u.repeat(t,e).stimulsoft.toArray()},t.getData=function(t,e,n){if(e.stimulsoft.is(a))return n.any((function(t){return t.stimulsoft.is(l)}))&&(n=null),new s(t,null,new u([e])).calculate([null],n).stimulsoft.toList().firstOrDefault();if(e.stimulsoft.is(o))return new i(t,null,new u([e]),null).calculateMeter(e);return null},t}();e.StiDataCreator=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.StiString,r=t.Data.Helpers.StiExpressionHelper,i=t.Data.Functions.Funcs,o=t.System.Collections.List,a=t.System.Type,s=function(){function t(){}return t.getDataColumnFromExpression=function(t,e){if(n.isNullOrWhiteSpace(e))return null;e=r.removeFunction(e);var a=r.getArguments(e);if(null==a||1!=a.count2())return null;var s=a.firstOrDefault();if(n.isNullOrWhiteSpace(s))return null;s=i.toDataName(s);var u=t&&t.getDataSources(new o([s]));if(null==u||!u.any())return null;var l=u.first();return l.fetchColumns().firstOrDefault((function(t){return i.isDataEqual(l,t.getName(),s)}))},t.isDateDataColumnInExpression=function(t,e){var n=this.getDataColumnFromExpression(t,e);return null!=n&&null!=n.getDataType()&&a.isDateType(n.getDataType())},t.isNumericDataColumnInExpression=function(t,e){var n=this.getDataColumnFromExpression(t,e);return null!=n&&null!=n.getDataType()&&a.isNumericType(n.getDataType())},t}();e.StiDataExpressionHelper=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.Type,r=t.System.Convert,i=t.System.DateTime,o=function(){function t(t){this.convertStrings=t}return t.prototype.compare=function(t,e){if(null==t&&null==e)return 0;if(null==t)return 1;if(null==e)return-1;if(n.getType(t)==Number&&n.getType(e)==Number)return r.toNumber(t).stimulsoft.compareTo(r.toNumber(e));if(t.stimulsoft.is(String)&&e.stimulsoft.is(String))return t.stimulsoft.compareTo(e);if(t.stimulsoft.is(i)&&e.stimulsoft.is(i))return-t.compareTo(e);if(t.stimulsoft.is(String)&&n.getType(e)==Number)return this.convertStrings?r.toNumber(t).stimulsoft.compareTo(r.toNumber(e)):-1;if(e.stimulsoft.is(String)&&n.getType(t)==Number)return this.convertStrings?r.toNumber(t).stimulsoft.compareTo(r.toNumber(e)):1;return 0},t}();e.StiDataFilterComparer=o}(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.Base.Localization.StiLocalization,r=function(){function t(){}return t.convertStringToCondition=function(t){if(t==n.get("PropertyEnum","StiFilterConditionEqualTo"))return e.StiDataFilterCondition.EqualTo;if(t==n.get("PropertyEnum","StiFilterConditionNotEqualTo"))return e.StiDataFilterCondition.NotEqualTo;if(t==n.get("PropertyEnum","StiFilterConditionBetween"))return e.StiDataFilterCondition.Between;if(t==n.get("PropertyEnum","StiFilterConditionNotBetween"))return e.StiDataFilterCondition.NotBetween;if(t==n.get("PropertyEnum","StiFilterConditionGreaterThan"))return e.StiDataFilterCondition.GreaterThan;if(t==n.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return e.StiDataFilterCondition.GreaterThanOrEqualTo;if(t==n.get("PropertyEnum","StiFilterConditionLessThan"))return e.StiDataFilterCondition.LessThan;if(t==n.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return e.StiDataFilterCondition.LessThanOrEqualTo;if(t==n.get("PropertyEnum","StiFilterConditionContaining"))return e.StiDataFilterCondition.Containing;if(t==n.get("PropertyEnum","StiFilterConditionNotContaining"))return e.StiDataFilterCondition.NotContaining;if(t==n.get("PropertyEnum","StiFilterConditionBeginningWith"))return e.StiDataFilterCondition.BeginningWith;if(t==n.get("PropertyEnum","StiFilterConditionEndingWith"))return e.StiDataFilterCondition.EndingWith;if(t==n.get("PropertyEnum","StiFilterConditionIsNull"))return e.StiDataFilterCondition.IsNull;if(t==n.get("PropertyEnum","StiFilterConditionIsNotNull"))return e.StiDataFilterCondition.IsNotNull;if(t==n.get("PropertyEnum","StiFilterConditionIsBlank"))return e.StiDataFilterCondition.IsBlank;if(t==n.get("PropertyEnum","StiFilterConditionIsNotBlank"))return e.StiDataFilterCondition.IsNotBlank;return e.StiDataFilterCondition.EqualTo},t.convertConditionToString=function(t){switch(t){case e.StiDataFilterCondition.EqualTo:return n.get("PropertyEnum","StiFilterConditionEqualTo");case e.StiDataFilterCondition.NotEqualTo:return n.get("PropertyEnum","StiFilterConditionNotEqualTo");case e.StiDataFilterCondition.Between:return n.get("PropertyEnum","StiFilterConditionBetween");case e.StiDataFilterCondition.NotBetween:return n.get("PropertyEnum","StiFilterConditionNotBetween");case e.StiDataFilterCondition.GreaterThan:return n.get("PropertyEnum","StiFilterConditionGreaterThan");case e.StiDataFilterCondition.GreaterThanOrEqualTo:return n.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case e.StiDataFilterCondition.LessThan:return n.get("PropertyEnum","StiFilterConditionLessThan");case e.StiDataFilterCondition.LessThanOrEqualTo:return n.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case e.StiDataFilterCondition.Containing:return n.get("PropertyEnum","StiFilterConditionContaining");case e.StiDataFilterCondition.NotContaining:return n.get("PropertyEnum","StiFilterConditionNotContaining");case e.StiDataFilterCondition.BeginningWith:return n.get("PropertyEnum","StiFilterConditionBeginningWith");case e.StiDataFilterCondition.EndingWith:return n.get("PropertyEnum","StiFilterConditionEndingWith");case e.StiDataFilterCondition.IsNull:return n.get("PropertyEnum","StiFilterConditionIsNull");case e.StiDataFilterCondition.IsNotNull:return n.get("PropertyEnum","StiFilterConditionIsNotNull");case e.StiDataFilterCondition.IsBlank:return n.get("PropertyEnum","StiFilterConditionIsBlank");case e.StiDataFilterCondition.IsNotBlank:return n.get("PropertyEnum","StiFilterConditionIsNotBlank")}return""},t}();e.StiDataFilterHelper=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.StiNumber,i=t.System.DateTime,o=t.System.Collections.List,a=t.Base.Localization.StiLocalization,s=t.Base.StiJson,u=t.System.Enum,l=function(t){function l(n,r,i,o,a,s,u,l){void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=!0),void 0===u&&(u=!1);var c=t.call(this)||this;return c.condition=e.StiDataFilterCondition.EqualTo,c.isEnabled=!0,c.isExpression=!1,null==i&&(i=e.StiDataFilterCondition.EqualTo),c.key=n,c.path=r,c.path2=l,c.condition=i,c.value=o,c.value2=a,c.isEnabled=s,c.isExpression=u,c}return __extends(l,t),l.prototype.saveToJsonObject=function(t){var n=new s;return n.addPropertyStringNullOrEmpty("Key",this.key),n.addPropertyStringNullOrEmpty("Path",this.path),n.addPropertyStringNullOrEmpty("Path2",this.path2),n.addPropertyEnum("Condition",e.StiDataFilterCondition,this.condition,e.StiDataFilterCondition.EqualTo),n.addPropertyStringNullOrEmpty("Value",this.value),n.addPropertyStringNullOrEmpty("Value2",this.value2),n.addPropertyBool("IsEnabled",this.isEnabled,!0),n.addPropertyBool("IsExpression",this.isExpression),n},l.prototype.loadFromJsonObject=function(t){var n,r;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Key":this.key=a.value;break;case"Path":this.path=a.value;break;case"Path2":this.path2=a.value;break;case"Condition":this.condition=u.parse(e.StiDataFilterCondition,a.value);break;case"Value":this.value=a.value;break;case"Value2":this.value2=a.value;break;case"IsEnabled":this.isEnabled=a.value.stimulsoft.toBoolean();break;case"IsExpression":this.isExpression=a.value.stimulsoft.toBoolean();break}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},l.prototype.loadFromXml=function(t,n){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Key":this.key=i.textContent;break;case"Path":this.path=i.textContent;break;case"Path2":this.path2=i.textContent;break;case"Condition":this.condition=u.parse(e.StiDataFilterCondition,i.textContent);break;case"Value":this.value=i.textContent;break;case"Value2":this.value2=i.textContent;break;case"IsEnabled":this.isEnabled=i.textContent.stimulsoft.toBoolean();break;case"IsExpression":this.isExpression=i.textContent.stimulsoft.toBoolean();break}}},l.loadFromJson=function(t){var e=new l;return e.loadFromJsonObject(t),e},l.loadFromXml=function(t){var e=new l;return e.loadFromXml(t,!1),e},l.prototype.toString=function(){return this.path+" "+this.condition+" "+this.value},l.prototype.getUniqueCode=function(){var t=null!=this.key?this.key.stimulsoft.getHashCode():0;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.path?this.path.stimulsoft.getHashCode():0))^(null!=this.path2?this.path2.stimulsoft.getHashCode():0))^this.condition.stimulsoft.getHashCode())^(null!=this.value?this.value.stimulsoft.getHashCode():0))^(null!=this.value2?this.value2.stimulsoft.getHashCode():0))^this.isEnabled.stimulsoft.getHashCode())^this.isExpression.stimulsoft.getHashCode(),Math.abs(t)},l.prototype.toList=function(){return new o([this])},l.prototype.getStringRepresentation=function(){var t=this.path,r=this.path2,i=this.getValue(this.value),o=this.getValue(this.value2);switch(n.isNullOrWhiteSpace(t)&&(t="["+a.get("PropertyMain","Field")+"]"),n.isNullOrWhiteSpace(r)&&(r="["+a.get("PropertyMain","Field")+"]"),n.isNullOrWhiteSpace(i)&&(i="["+a.get("PropertyMain","Value")+"]"),n.isNullOrWhiteSpace(o)&&(o="["+a.get("PropertyMain","Value")+"]"),this.condition){case e.StiDataFilterCondition.IsBlank:return t+" "+a.get("PropertyEnum","StiFilterConditionIsBlank")+" "+i;case e.StiDataFilterCondition.IsNotBlank:return t+" "+a.get("PropertyEnum","StiFilterConditionIsNotBlank")+" "+i;case e.StiDataFilterCondition.IsNull:return t+" "+a.get("PropertyEnum","StiFilterConditionIsNull")+" "+i;case e.StiDataFilterCondition.IsNotNull:return t+" "+a.get("PropertyEnum","StiFilterConditionIsNotNull")+" "+i;case e.StiDataFilterCondition.Containing:return t+" "+a.get("PropertyEnum","StiFilterConditionContaining")+" "+i;case e.StiDataFilterCondition.NotContaining:return t+" "+a.get("PropertyEnum","StiFilterConditionNotContaining")+" "+i;case e.StiDataFilterCondition.PairEqualTo:return t+" = "+i+" AND "+r+" = "+o;case e.StiDataFilterCondition.EqualTo:return t+" = "+i;case e.StiDataFilterCondition.NotEqualTo:return t+" <> "+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;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},t.validate=function(t,e){return t.where((function(t){return u.isKey(t.key)&&e.contains(t.key)})).toList()},t.getDataTableFilterQuery=function(e,n,r){return t.getDataTableFilterQuery2(e,n.select((function(t){return t.getName()})).toList(),n.select((function(t){return t.getDataType()})).toList(),r)},t.getDataTableFilterQuery2=function(r,i,o,a){var s,u,l=this;if(null==r)return"";var c="";r.any((function(t){return t.condition==e.StiDataFilterCondition.IsFalse}))&&(r=r.firstOrDefault((function(t){return t.condition==e.StiDataFilterCondition.IsFalse})).toList());var h=r.where((function(t){return t.isEnabled&&!n.isNullOrWhiteSpace(t.path)})).orderBy((function(t){return null!=i?i.findIndex2((function(e){return e==t.path})):null})).groupBy(t.getFullPath),p=function(t){var e=r.where((function(e){return e.isEnabled&&l.getFullPath(e)==t.key})),n=f.getFilterGroupQuery(e,i,o,a);n.length>0&&(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&&S<m.length)return m.splice(0,1),m.push(t),S++,"continue";if(null==r||null==o)return m.splice(0,1),null==y.get(t)?m.push(t):v.add(t),y.set(t,t),"continue";x.copyColumns(t,f);var s=0==f.rows.length?r:f,l=new e.StiDataRowJoiner(f,s,t).join(e.StiDataJoinType.Left,o,u);f=l.any()?n.copyToDataTable(l):new a,m.splice(0,1),g.add(t)},x=this;while(m.length>0)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<t.rows.length;r++){var i=n.newRow();if(r<t.rows.length)for(var o=0;o<t.columns.length;o++)try{i.sett(o,t.rows.gett(r,o))}catch(t){}n.rows.add(i)}for(var r=0;r<e.rows.length;r++){var i=n.newRow();if(r<e.rows.length)for(var o=0;o<e.columns.length;o++)try{i.sett(t.columns.length+o,e.rows.gett(r,o))}catch(t){}n.rows.add(i)}return n},t.findLink=function(t,e,n){if(null==t||null==e)return null;var r=n.where((function(n){return n.parentTable==t.tableName&&n.childTable==e.tableName||n.parentTable==e.tableName&&n.childTable==t.tableName}));if(r.any((function(t){return t.active})))return r.first((function(t){return t.active}));if(r.any())return r.firstOrDefault();return(r=n.where((function(n){return n.parentTable==t.tableName&&n.childTable==e.tableName||n.parentTable==e.tableName&&n.childTable==t.tableName}))).any((function(t){return t.active}))?r.first((function(t){return t.active})):r.any()?r.firstOrDefault():null},t.getCacheKey=function(t,e){e.setKey(l.getOrGeneratedKey(e.getKey()));var n=e.getKey()||"",r;if(null==t||0==t.count2((function(t){return null!=t})))return n+".0";return n+"."+t.where((function(t){return null!=t})).selectMany((function(t){return t.columns.toList()})).select((function(t){return t.stimulsoft.getHashCode()})).aggregate2(0,(function(t,e){return t+e}))},t.getFromCache=function(t,e){var n=this.getCacheKey(t,e);return this.cache.contains(n)?this.cache.get(n):null},t.addToCache=function(t,e,n){var i=this.getCacheKey(t,n);null==e&&(e=r.nullTable),this.cache.set(i,e)},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.cache=new i,t.joinEngine=e.StiDataJoinEngine.V3,t}();e.StiDataJoiner=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.StiString,r=t.Base.StiJson,i=function(){function t(t,e,n,r,i,o){this.parentTable=t,this.childTable=e,this.parentColumn=n,this.childColumn=r,this.active=i,this.key=o}return t.prototype.saveToJsonObject=function(t){var e=new r;return e.addPropertyStringNullOrEmpty("Key",this.key),e},t.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var o=i.value;switch(o.name){case"Key":this.key=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"Key":this.key=n.textContent}}},Object.defineProperty(t.prototype,"parentKey",{get:function(){if(n.isNullOrEmpty(this.parentTable)||n.isNullOrEmpty(this.parentColumn))return null;return this.parentTable+"."+this.parentColumn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childKey",{get:function(){if(n.isNullOrEmpty(this.childTable)||n.isNullOrEmpty(this.childColumn))return null;return this.childTable+"."+this.childColumn},enumerable:!1,configurable:!0}),t.loadFromJson=function(e){var n=new t;return n.loadFromJsonObject(e),n},t.loadFromXml=function(e){var n=new t;return n.loadFromXml(e),n},t.prototype.toString=function(){return this.nullStr(this.parentTable)+"->"+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;_<w.length;_++)e.StiDataJoiner.joinEngine==e.StiDataJoinEngine.V2?this.isNumericType(w[_])||(D[_]=w[_]):e.StiDataJoiner.joinEngine==e.StiDataJoinEngine.V3&&(d.containsKey(_)&&this.isNumericType(w[_])||(D[_]=w[_]));var C=this.resultTable.loadDataRow(D,!1);y.add(this.splitRows(C,E))}b=!1}}catch(t){a={error:t}}finally{try{T&&!T.done&&(s=x.return)&&s.call(x)}finally{if(a)throw a.error}}}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}return y},t.prototype.calculateIndexes=function(t){var e,n,s=t.where((function(t){return t.stimulsoft.is(a)})).selectMany((function(t){return i.getArguments(t.expression)})).where((function(t){return!r.isNullOrWhiteSpace(t)})).select((function(t){return t.trim().toLowerCase()})),u=new o,l=function(t){var e=c.table1.columns.toList().cast().firstOrDefault((function(e){return e.columnName.toLowerCase()==t}));if(null==e)return"continue";var n=c.table1.columns.indexOf(e);if(-1==n)return"continue";u[n]=n},c=this;try{for(var h=__values(s),p=h.next();!p.done;p=h.next()){var f;l(p.value)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}return u},t.prototype.isNumericType=function(t){return null!=t&&s.isNumericType(t.stimulsoft.getType())},t.prototype.crossJoinRows=function(){var t=this,e=this.table1.rows.toList(),n=this.table2.rows.toList();return e.selectMany((function(e){return n.select((function(n){return t.splitRows(e,n)}),t)}),this)},t.prototype.fullJoinRows=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.fullOuterJoin(o,(function(t){return e.stimulsoft.getHashCode(t,n)}),(function(t){return e.stimulsoft.getHashCode(t,r)}),this.splitRows,this)},t.prototype.getHashCode=function(t,e){var n=t.gett(e);return null!=n?n.stimulsoft.getHashCode():0},t.prototype.splitRows=function(t,e){var n,r,i=[];try{for(var o=__values(this.resultTable.columns.list),a=o.next();!a.done;a=o.next()){var s=a.value,u=s.columnName in this.resultColumnIndexes?this.resultColumnIndexes[s.columnName]:-1;if(-1==u)continue;var l=s.columnName in this.column1Indexes?this.column1Indexes[s.columnName]:-1,c=s.columnName in this.column2Indexes?this.column2Indexes[s.columnName]:-1;-1!=l&&null!=t&&(i[u]=t.gett(l)),-1!=c&&null!=e&&(i[u]=e.gett(c))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return this.resultTable.loadDataRow(i,!1)},t.prototype.getFieldIndex=function(t,e){var n=t.columns.toList().cast().firstOrDefault((function(t){return t.columnName==e.parentKey||t.columnName==e.childKey||t.table.tableName+"."+t.columnName==e.parentKey||t.table.tableName+"."+t.columnName==e.childKey}));if(null==n)return-1;return t.columns.indexOf(n)},t}();e.StiDataRowJoiner=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.Base.StiKeyHelper,r=t.Base.StiJson,i=t.System.Enum,o=function(t){function o(r,i){void 0===r&&(r=n.generateKey()),void 0===i&&(i=e.StiDataSortDirection.Ascending);var o=t.call(this)||this;return o.direction=e.StiDataSortDirection.Ascending,o.key=r,o.direction=i,o}return __extends(o,t),o.prototype.saveToJsonObject=function(t){var n=new r;return n.addPropertyStringNullOrEmpty("Key",this.key),n.addPropertyEnum("Direction",e.StiDataSortDirection,this.direction,e.StiDataSortDirection.Ascending),n},o.prototype.loadFromJsonObject=function(t){var n,r;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Key":this.key=s.value;break;case"Direction":this.direction=i.parse(e.StiDataSortDirection,s.value);break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},o.prototype.loadFromXml=function(t,n){for(var r=0;r<t.childNodes.length;r++){var o=t.childNodes[r];switch(o.nodeName){case"Key":this.key=o.textContent;break;case"Direction":this.direction=i.parse(e.StiDataSortDirection,o.textContent);break}}},o.loadFromJson=function(t){var e=new o;return e.loadFromJsonObject(t),e},o.loadFromXml=function(t){var e=new o;return e.loadFromXml(t,!1),e},o.prototype.toString=function(){return this.direction+" "+this.key},o.prototype.getUniqueCode=function(){return 397*(null!=this.key?this.key.stimulsoft.getHashCode():0)^this.direction},o}(e.StiDataRule);e.StiDataSortRule=o}(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.Base.StiKeyHelper,i=function(){function t(){}return t.toList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},t.validate=function(t,e){if(null==e||0==e.count2())return t;return t.where((function(t){return r.isKey(t.key)&&e.contains(t.key)})).toList()},t.getDataTableSortQuery=function(e,n){var r=n.select((function(t){return t&&t.getKey()})).where((function(t){return null!=t})).toList(),i=n.select((function(t){return t&&t.getName()})).where((function(t){return null!=t})).toList();return t.getDataTableSortQuery2(e,r,i)},t.getDataTableSortQuery2=function(t,r,i){var o,a;if(null==t||!t.any())return"";t=this.validate(t,r);var s="";try{for(var u=__values(t.where((function(t){return!n.isNullOrWhiteSpace(t.key)}))),l=u.next();!l.done;l=u.next()){var c=l.value;s.length>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<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"Mode":this.mode=r.parse(e.StiDataTopNMode,i.textContent.toString());break;case"Count":this.count=i.textContent.stimulsoft.toNumber();break;case"ShowOthers":this.showOthers=i.textContent.stimulsoft.toBoolean();break;case"OthersText":this.othersText=i.textContent.toString();break;case"MeasureField":this.measureField=i.textContent.toString();break}}},t.createFromJsonObject=function(e){var n=new t;return n.loadFromJsonObject(e),n},t.createFromXml=function(e){var n=new t;return n.loadFromXml(e),n},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t.prototype.isDefault=function(){return this.mode==e.StiDataTopNMode.None&&5==this.count&&this.showOthers&&""==this.othersText&&""==this.measureField},t.prototype.toString=function(){return this.mode==e.StiDataTopNMode.None?o.get("PropertyEnum","SelectionModeNone"):""+(this.mode==e.StiDataTopNMode.Bottom?o.get("PropertyMain","Bottom"):o.get("PropertyMain","Top"))+this.count+(n.isNullOrEmpty(this.measureField)?"":" ["+this.measureField+"]")},t.prototype.getUniqueCode=function(){var t=this.mode;return t=397*(t=397*(t=397*(t=397*t^this.count)^this.showOthers.stimulsoft.getHashCode())^(null!=this.othersText?this.othersText.stimulsoft.getHashCode():0))^(null!=this.measureField?this.measureField.stimulsoft.getHashCode():0),Math.abs(t)},t}();e.StiDataTopN=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.Collections.Dictionary,r=function(){function t(){}return t.setOk=function(t){this.keyToError.contains(t)&&this.keyToError.remove(t)},t.setError=function(t,e){this.keyToError.set(t,e)},t.getError=function(t){return this.keyToError.contains(t)?this.keyToError.get(t):null},t.isFail=function(t){return this.keyToError.contains(t)},t.keyToError=new n,t}();e.StiErrorStack=r}(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,"BING: '"+e+"'")||this}return __extends(e,t),e}(t.StiDataException);t.StiBingException=e}(e=t.Exceptions||(t.Exceptions={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(t){function e(e){var n=t.call(this,"Column '"+e+"' not found!")||this;return n._name=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e}(t.StiDataException);t.StiColumnNotFoundException=e}(e=t.Exceptions||(t.Exceptions={}))}(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,"System Variable '"+e+"' Is Not Recognized!")||this}return __extends(e,t),e}(t.StiDataException);t.StiSystemVariableNotRecognizedException=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;!function(e){var n;!function(e){var n;!function(e){var n=t.System.Exception,r=t.System.Collections.List,i=function(){function t(){this._data=new r,this._p=0,this.range=0}return Object.defineProperty(t.prototype,"count",{get:function(){return this._data.length-this._p},enumerable:!1,configurable:!0}),t.prototype.get=function(t){var e=this._p+t;if(e>=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<e;n++)t+=this.get(n),n+1<e&&(t+=" ");return t},t}();e.FastQueue=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(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.Action=e;var n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(Function);t.Func=n}(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.Exception,r,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.peek=function(t){var e;if(void 0===t&&(t=0),!this.tryPeek2(t,e))throw new n("InvalidOperationException");return e.item},e.prototype.tryPeek=function(t){return this.tryPeek2(0,t)},e.prototype.tryPeek2=function(t,e){if(t>=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;e<t;e++){var n=this.nextElement();this.isEndOfFile(n)&&(this._eof=n),this._data.add(n)}},Object.defineProperty(e.prototype,"count",{get:function(){throw new n("streams are of unknown size")},enumerable:!1,configurable:!0}),e.prototype.lt=function(t){if(0==t)return null;if(t<0)return this.lb(-t);if(this.syncAhead(t),this._p+t-1>this._data.length)return this._eof;return this[t-1]},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;o<i;o++){var a=e.getChild(o);this.children.add(a),a.parent=this,a.childIndex=this.children.length-1}}else this.children=r.children,this.freshenParentAndChildIndexes()}else null==this.children&&(this.children=this.createChildrenList()),this.children.add(e),e.parent=this,e.childIndex=this.children.length-1},t.prototype.addChildren=function(t){var e,r;if(null==t)throw new n("ArgumentNullException");try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var a=o.value;this.addChild(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},t.prototype.setChild=function(t,e){if(t<0)throw new n("ArgumentOutOfRangeException");if(null==e)return;if(e.isNil)throw new n("Can't set single child to a list");null==this.children&&(this.children=this.createChildrenList()),this.children[t]=e,e.parent=this,e.childIndex=t},t.prototype.insertChild=function(t,e){if(t<0)throw new n("ArgumentOutOfRangeException");if(t>this.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(i<e)throw new n("ArgumentException");if(null==this.children)throw new n("indexes invalid; no children in list");var a=i-e+1,s,u=o,l=null;if(u.isNil){var c=u.stimulsoft.as(t);if(null!=c&&null!=c.children)l=c.children;else{l=this.createChildrenList();for(var h=u.childCount,p=0;p<h;p++)l.add(u.getChild(p))}}else(l=new r(1)).add(u);s=l.length;var f=l.length,m=a-s;if(0==m)for(var d=0,p=e;p<=i;p++){var y=l[d];this.children[p]=y,y.parent=this,y.childIndex=p,d++}else if(m>0){for(var d=0;d<f;d++)this.children[e+d]=l[d];for(var v=e+f,g=v;g<=i;g++)this.children.removeAt(v);this.freshenParentAndChildIndexes(e)}else{for(var d=0;d<a;d++)this.children[e+d]=l[d];for(var S=s-a,d=a;d<s;d++)this.children.insert(e+d,l[d]);this.freshenParentAndChildIndexes(e)}},t.prototype.createChildrenList=function(){return new r},t.prototype.freshenParentAndChildIndexes=function(t){void 0===t&&(t=0);for(var e=this.childCount,n=t;n<e;n++){var r=this.getChild(n);r.childIndex=n,r.parent=this}},t.prototype.freshenParentAndChildIndexesDeeply=function(e){void 0===e&&(e=0);for(var n=this.childCount,r=e;r<n;r++){var i=this.getChild(r);i.childIndex=r,i.parent=this;var o=i.stimulsoft.as(t);null!=o&&o.freshenParentAndChildIndexesDeeply()}},t.prototype.sanityCheckParentAndChildIndexes=function(t,e){if(void 0===t&&(t=null),void 0===e&&(e=-1),t!=this.parent)throw new n("parents don't match; expected "+t.toString()+" found "+this.parent.toString());if(e!=this.childIndex)throw new n("child indexes don't match; expected "+e.toString()+" found "+this.childIndex.toString());for(var r=this.childCount,i=0;i<r;i++){var o;this.getChild(i).sanityCheckParentAndChildIndexes(this,i)}},t.prototype.hasAncestor=function(t){return null!=this.getAncestor(t)},t.prototype.getAncestor=function(t){var e=this.parent;while(null!=e){if(e.type==t)return e;e=e.parent}return null},t.prototype.getAncestors=function(){if(null==this.parent)return null;var t=new r,e=this.parent;while(null!=e)t.insert(0,e),e=e.parent;return t},t.prototype.toStringTree=function(){if(null==this.children||0==this.children.length)return this.toString();var t="";this.isNil||(t+="(",t+=this.toString(),t+=" ");for(var e=0;null!=this.children&&e<this.children.length;e++){var n;e>0&&(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;i<r;i++){var o=this.getChild(t,i),a=this.dupTree(o,t);this.addChild(n,a)}return n},t.prototype.addChild=function(t,e){null!=t&&null!=e&&t.addChild(e)},t.prototype.becomeRoot=function(t,e){var n=t,i=e;if(null==e)return t;if(n.isNil){var o=n.childCount;if(1==o)n=n.getChild(0);else if(o>1)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;i<r;i++){var o=this.adaptor.getChild(t,i);this.fillBuffer2(o)}!n&&r>0&&this.addNavigationNode(e.TokenTypes.up)},t.prototype.getNodeIndex=function(t){-1==this.p&&this.fillBuffer();for(var e=0;e<this.nodes.length;e++){var n;if(this.nodes[e]==t)return e}return-1},t.prototype.addNavigationNode=function(t){var n=null;n=t==e.TokenTypes.down?this.uniqueNavigationNodes?this.adaptor.create4(e.TokenTypes.down,"DOWN"):this.down:this.uniqueNavigationNodes?this.adaptor.create4(e.TokenTypes.up,"UP"):this.up,this.nodes.add(n)},t.prototype.get=function(t){if(-1==this.p)throw new r("Cannot get the node at index i before the buffer is filled.");return this.nodes[t]},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.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<this.nodes.length;e++){var n=this.nodes[e];t+=" ",t+=this.adaptor.getType(n)}return t},t.prototype.toTokenString=function(t,e){-1==this.p&&this.fillBuffer();for(var n="",r=t;r<this.nodes.length&&r<=e;r++){var i=this.nodes[r];n+=" ",n+=this.adaptor.getToken(i)}return n},t.prototype.toString=function(t,n){if(null==t||null==n)return null;if(-1==this.p)throw new r("Buffer is not yet filled.");if(null!=this.tokens){var i=this.adaptor.getTokenStartIndex(t),o=this.adaptor.getTokenStopIndex(n);return this.adaptor.getType(n)==e.TokenTypes.up?o=this.adaptor.getTokenStopIndex(t):this.adaptor.getType(n)==e.TokenTypes.endOfFile&&(o=this.count-2),this.tokens.toString(i,o)}for(var a=null,s=0;s<this.nodes.length;s++)if((a=this.nodes[s])==t)break;var u="";a=this.nodes[s];while(a!=n){var l=this.adaptor.getText(a);null==l&&(l=" "+this.adaptor.getType(a).toString()),u+=l,s++,a=this.nodes[s]}var c=this.adaptor.getText(n);return null==c&&(c=" "+this.adaptor.getType(n).toString()),u+=c},t}();n.BufferedTreeNodeStream=a;var s=function(t){function e(e){var n=t.call(this)||this;return n._outer=e,n._index=-1,n}return __extends(e,t),Object.defineProperty(e.prototype,"current",{get:function(){if(this._index<this._outer.nodes.length)return this._outer.nodes[this._index];return this._outer.eof},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){},e.prototype.moveNext=function(){return this._index<this._outer.nodes.length&&this._index++,this._index<this._outer.nodes.length},e.prototype.reset=function(){this._index=-1},e}(i);n.StreamIterator=s}(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=function(t){function n(e){var i=t.call(this)||this;if(i.startIndex=-1,i.stopIndex=-1,i.childIndex=-1,null!=e&&e.stimulsoft.is(n)){if(null==e)throw new r("ArgumentNullException");i.token=e.token,i.startIndex=e.startIndex,i.stopIndex=e.stopIndex}else i.token=e;return i}return __extends(n,t),Object.defineProperty(n.prototype,"isNil",{get:function(){return null==this.token},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){if(null==this.token)return null;return this.token.text},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokenStartIndex",{get:function(){if(-1==this.startIndex&&null!=this.token)return this.token.tokenIndex;return this.startIndex},set:function(t){this.startIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokenStopIndex",{get:function(){if(-1==this.stopIndex&&null!=this.token)return this.token.tokenIndex;return this.stopIndex},set:function(t){this.stopIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){if(null==this.token)return e.TokenTypes.invalid;return this.token.type},enumerable:!1,configurable:!0}),n.prototype.dupNode=function(){return new n(this)},n.prototype.setUnknownTokenBoundaries=function(){var t,e;if(null==this.children)return void((this.startIndex<0||this.stopIndex<0)&&(this.startIndex=this.stopIndex=this.token.tokenIndex));try{for(var r=__values(this.children),i=r.next();!i.done;i=r.next()){var o,a=i.value.stimulsoft.as(n);if(null==a)continue;a.setUnknownTokenBoundaries()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}if(this.startIndex>=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"<errornode>";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<r.tokenIndex&&i.type!=t.TokenTypes.endOfFile)&&(i=r),a.input=e,a.start=r,a.stop=i,a.trappedException=o,a}return __extends(r,n),Object.defineProperty(r.prototype,"isNil",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){var n=null;if(this.start.stimulsoft.is(t.IToken)){var r=this.start.tokenIndex,i=this.stop.tokenIndex;this.stop.type==t.TokenTypes.endOfFile&&(i=this.input.count),n=this.input.toString(r,i)}else n=this.start.stimulsoft.is(e.ITree)?this.input.toString(this.start,this.stop):"<unknown>";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"<missing type: "+this.trappedException.missingType.toString()+">";if(this.trappedException.stimulsoft.is(t.UnwantedTokenException))return"<extraneous: "+this.trappedException.unexpectedToken.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft.is(t.MismatchedTokenException))return"<mismatched token: "+this.trappedException.token.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft.is(t.NoViableAltException))return"<unexpected: "+this.trappedException.token.toString()+", resync="+Text.toString()+">";return"<error: "+Text.toString()+">"},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"<EOF>";return e.text}return this.payload.toString()},n.prototype.toStringWithHiddenTokens=function(){var t="";if(null!=this.hiddenTokens)for(var e=0;e<this.hiddenTokens.length;e++){var n;t+=this.hiddenTokens[e].text}var r=this.toString();return"<EOF>"!=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<this.children.length;n++){var r;this.children[n].toStringLeaves(e)}},n}(e.BaseTree);e.ParseTree=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,r=function(t){function e(e,n,r){var i=t.call(this,e,r)||this;return i._elementDescription=n,i}return __extends(e,t),e}(t.System.Exception);e.RewriteCardinalityException=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(t){var e=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(t.RewriteCardinalityException);t.RewriteEarlyExitException=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(t){var e=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(t.RewriteCardinalityException);t.RewriteEmptyStreamException=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.Collections.List,r=function(){function t(t,e,n,r){this.cursor=0,this.dirty=!1,this.elementDescription=e,this.adaptor=t,null!=n&&this.add(n),null!=r&&(this.singleElement=null,this.elements=r)}return t.prototype.reset=function(){this.cursor=0,this.dirty=!0},t.prototype.add=function(t){if(null==t)return;if(null!=this.elements)return void this.elements.add(t);if(null==this.singleElement)return void(this.singleElement=t);this.elements=new n(5),this.elements.add(this.singleElement),this.singleElement=null,this.elements.add(t)},t.prototype.nextTree=function(){var t=this.count,e;if(this.dirty||this.cursor>=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<this.elements.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){var t=0;if(null!=this.singleElement&&(t=1),null!=this.elements)return this.elements.length;return t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this.elementDescription},enumerable:!1,configurable:!0}),t}();e.RewriteRuleElementStream=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(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(){return this.nextCore()},e.prototype.toTree=function(t){return this.adaptor.dupNode(t)},e.prototype.dup=function(t){throw new n("dup can't be called for a node stream.")},e}(e.RewriteRuleElementStream);e.RewriteRuleNodeStream=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(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.nextNode=function(){var t=this.count;if(this.dirty||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&&t<this.state.ruleMemo.length;t++)this.state.ruleMemo[t]=null},t.prototype.match=function(t,e,n){var r=this.getCurrentInputSymbol(t);if(t.la(1)==e)return t.consume(),this.state.errorRecovery=!1,this.state.failed=!1,r;if(this.state.backtracking>0)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="<unknown>";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="<unknown>";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="<unknown>";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="<unknown>",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?"<EOF>":"<"+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<this.state.ruleMemo.length;e++){var n=this.state.ruleMemo[e];null!=n&&(t+=n.count)}return t},t.initialFollowStackSize=100,t}();e.BaseRecognizer=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){var n=function(e){function n(n,r){var i=e.call(this,r)||this;return i.DOWN=t.TokenTypes.down,i.UP=t.TokenTypes.up,i.input=n,i}return __extends(n,e),n.prototype.reset=function(){e.prototype.reset.call(this),null!=this.input&&this.input.seek(0)},n.prototype.setTreeNodeStream=function(t){this.input=t},n.prototype.getTreeNodeStream=function(){return this.input},Object.defineProperty(n.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),n.prototype.getCurrentInputSymbol=function(t){return t.lt(1)},n.prototype.getMissingSymbol=function(e,n,r,i){var o="<missing "+this.tokenNames[r]+">",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;r<this.adaptor.getChildCount(t);r++){var i=this.adaptor.getChild(t,r);this.visit(i,e)}return null==e||n||(t=e.post(t)),t},e}();t.TreeVisitor=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(n){var r=t.System.Collections.Dictionary,i=t.System.Collections.List,o=t.System.Type,a=function(){function t(){}return t.prototype.computeTokenTypes=function(t){var n=new r;if(null==t)return n;for(var i=e.TokenTypes.min;i<t.length;i++){var o=t[i];n.set(o,i)}return n},t.prototype.getTokenType=function(t){if(null==this.tokenNameToTypeMap)return e.TokenTypes.invalid;var n={ref:null};if(this.tokenNameToTypeMap.tryGetValue(t,n))return n.ref;return e.TokenTypes.invalid},t.prototype.index=function(t){var e=new r;return this.indexCore(t,e),e},t.prototype.indexCore=function(t,e){if(null==t)return;var n=this.adaptor.getType(t),r={ref:null};e.tryGetValue(n,r)&&null!=r.ref||(r.ref=new i,e.set(n,r.ref)),r.ref.add(t);for(var o=this.adaptor.getChildCount(t),a=0;a<o;a++){var s=this.adaptor.getChild(t,a);this.indexCore(s,e)}},t.prototype.find=function(t,e){var n=new i;return this.visit(t,e,new p(n)),n},t.prototype.find2=function(t,e){var r=new i,a=new n.TreePatternLexer(e),s,u=new n.TreePatternParser(a,this,new h).pattern();if(null==u||u.isNil||o.getType(u)==c)return null;var l=u.type;return this.visit(t,l,new f(this,u,r)),r},t.prototype.findFirst=function(t,e){return null},t.prototype.findFirst2=function(t,e){return null},t.prototype.visit=function(t,e,n){this.visitCore(t,null,0,e,n)},t.prototype.visit2=function(t,e,n){this.visit(t,e,new u(n))},t.prototype.visitCore=function(t,e,n,r,i){if(null==t)return;this.adaptor.getType(t)==r&&i.visit(t,e,n,null);for(var o=this.adaptor.getChildCount(t),a=0;a<o;a++){var s=this.adaptor.getChild(t,a);this.visitCore(s,t,a,r,i)}},t.prototype.visit3=function(t,e,i){var a=new n.TreePatternLexer(e),s,u=new n.TreePatternParser(a,this,new h).pattern();if(null==u||u.isNil||o.getType(u)==c)return;var l=new r,p=u.type;this.visit(t,p,new m(this,i,l,u))},t.prototype.parse=function(t,e,r){var i=new n.TreePatternLexer(e),o,a=new n.TreePatternParser(i,this,new h).pattern(),s;return this.parseCore(t,a,r)},t.prototype.parse2=function(t,e){return this.parse(t,e,null)},t.prototype.parseCore=function(t,e,n){if(null==t||null==e)return!1;if(o.getType(e)!=c){if(this.adaptor.getType(t)!=e.type)return!1;if(e.hasTextArg&&this.adaptor.getText(t)!=e.text)return!1}null!=e.label&&null!=n&&n.set(e.label,t);var r=this.adaptor.getChildCount(t),i;if(r!=e.childCount)return!1;for(var a=0;a<r;a++){var s=this.adaptor.getChild(t,a),u=e.getChild(a);if(!this.parseCore(s,u,n))return!1}return!0},t.prototype.create=function(t){var e=new n.TreePatternLexer(t),r,i;return new n.TreePatternParser(e,this,this.adaptor).pattern()},t.equals=function(t,e,n){return this.equalsCore(t,e,n)},t.equalsCore=function(t,e,n){if(null==t||null==e)return!1;if(n.getType(t)!=n.getType(e))return!1;if(n.getText(t)!=n.getText(e))return!1;var r=n.getChildCount(t),i;if(r!=n.getChildCount(e))return!1;for(var o=0;o<r;o++){var a=n.getChild(t,o),s=n.getChild(e,o);if(!this.equalsCore(a,s,n))return!1}return!0},t}();n.TreeWizard=a,n.IContextVisitor="IContextVisitor";var s=function(){function t(){}return t.prototype.implements=function(){return t.ImplementsVisitor||(t.ImplementsVisitor=[n.IContextVisitor]),t.ImplementsVisitor},t.prototype.visit2=function(t,e,n,r){this.visit(t)},t.prototype.visit=function(t){},t}();n.Visitor=s;var u=function(t){function e(e){var n=t.call(this)||this;return n._action=e,n}return __extends(e,t),e.prototype.visit=function(t){},e}(s);n.ActionVisitor=u;var l=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.toString=function(){return null!=this.label?"%"+this.label+":":t.prototype.toString.call(this)},e}(n.CommonTree);n.TreePattern=l;var c=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e}(l);n.WildcardTreePattern=c;var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.create=function(t){return new l(t)},e}(n.CommonTreeAdaptor);n.TreePatternTreeAdaptor=h;var p=function(t){function e(e){var n=t.call(this)||this;return n._nodes=e,n}return __extends(e,t),e.prototype.visit=function(t){this._nodes.add(t)},e}(s);n.FindTreeWizardVisitor=p;var f=function(){function t(t,e,n){this._outer=t,this._tpattern=e,this._subtrees=n}return t.prototype.implements=function(){return t.ImplementsFindTreeWizardContextVisitor||(t.ImplementsFindTreeWizardContextVisitor=[n.IContextVisitor]),t.ImplementsFindTreeWizardContextVisitor},t.prototype.visit=function(t,e,n,r){this._outer.parseCore(t,this._tpattern,null)&&this._subtrees.add(t)},t}();n.FindTreeWizardContextVisitor=f;var m=function(){function t(t,e,n,r){this._outer=t,this._visitor=e,this._labels=n,this._tpattern=r}return t.prototype.implements=function(){return t.ImplementsVisitTreeWizardContextVisitor||(t.ImplementsVisitTreeWizardContextVisitor=[n.IContextVisitor]),t.ImplementsVisitTreeWizardContextVisitor},t.prototype.visit=function(t,e,n,r){this._labels.clear(),this._outer.parseCore(t,this._tpattern,this._labels)&&this._visitor.visit(t,e,n,this._labels)},t}();n.VisitTreeWizardContextVisitor=m}(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=t.System.Exception,r=t.System.Collections.List,i=function(){function t(t,e,r,i){if(void 0===e&&(e=t.split("")),void 0===r&&(r=null!=t?t.length:null),void 0===i&&(i=null),this.p=0,this.markDepth=0,this.line=1,this.charPositionInLine=0,null==e)throw new n("ArgumentNullException");if(r<0)throw new n("ArgumentOutOfRangeException");if(r>e.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&&(this.charPositionInLine++,"\n"==this.data[this.p]&&(this.line++,this.charPositionInLine=0),this.p++)},t.prototype.la=function(t){if(0==t)return 0;if(t<0&&(t++,this.p+t-1<0))return e.CharStreamConstants.endOfFile;if(this.p+t-1>=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.p<t)this.consume()},t.prototype.substring=function(t,e){if(t<0)throw new n("ArgumentOutOfRangeException");if(e<0)throw new n("ArgumentOutOfRangeException");if(t+e>this.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<<i)&&e++}return e},t.prototype.getHashCode=function(){throw new r("NotImplementedException")},t.prototype.equals=function(e){if(null==e||!e.stimulsoft.is(t))return!1;for(var n=e,r=Math.min(this._bits.length,n._bits.length),i=0;i<r;i++)if(this._bits[i]!=n._bits[i])return!1;if(this._bits.length>r){for(var i=r+1;i<this._bits.length;i++)if(0!=this._bits[i])return!1}else if(n._bits.length>r)for(var i=r+1;i<n._bits.length;i++)if(0!=n._bits[i])return!1;return!0},t.prototype.member=function(e){if(e<0)return!1;var n=t.wordNumber(e);if(n>=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<<t.LOG_BITS},t.prototype.lengthInLongWords=function(){return this._bits.length},t.prototype.toArray=function(){for(var e=n.create(Number,this.size()),r=0,i=0;i<this._bits.length<<t.LOG_BITS;i++)this.member(i)&&(e[r++]=i);return e},t.wordNumber=function(t){return t>>this.LOG_BITS},t.prototype.toString=function(e){void 0===e&&(e=null);var n="",r=",",i=!1;n+="{";for(var o=0;o<this._bits.length<<t.LOG_BITS;o++)this.member(o)&&(o>0&&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<t;n++){var r=this.tokenSource.nextToken();if(r.tokenIndex=this._tokens.length,this._tokens.add(r),r.type==e.CharStreamConstants.endOfFile)break}},t.prototype.get=function(t){if(t<0||t>=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"):"<no text>","[@"+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<this.input.count)return this.input.substring(this.start,this.stop-this.start+1);return"<EOF>"},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"):"<no text>","[@"+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(n<t)e=this.skipOffTokenChannels(e+1),n++;return e>this.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;n<arguments.length;n++)e[n-1]=arguments[n]},t.prototype.dfaDebugInvalidSymbol=function(t){},t.prototype.noViableAlt=function(t,n){if(this.recognizer.state.backtracking>0)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;r<t.length;r+=2)e+=t[r].charCodeAt(0);for(var i=n.create(Number,e),o=0,r=0;r<t.length;r+=2)for(var a=t[r].charCodeAt(0),s=t[r+1].charCodeAt(0).stimulsoft.toShort(),u=1;u<=a;u++)i[o++]=s;return i},t.unpackEncodedStringToUnsignedChars=function(t){for(var e=0,r=0;r<t.length;r+=2)e+=t[r].charCodeAt(0);for(var i=n.create(String,e),o=0,r=0;r<t.length;r+=2)for(var a=t[r].charCodeAt(0),s=t[r+1],u=1;u<=a;u++)i[o++]=s;return i},t.prototype.debugRecognitionException=function(t){},t}();e.DFA=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.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream,i=t.Data.Expressions.Antlr.Runtime.Tree.IPositionTrackingStream,o=t.Data.Expressions.Antlr.Runtime.Tree.ITree,a=t.Data.Expressions.Antlr.Runtime.Tree.CommonTree,s=function(t){function n(n,i,o,a){void 0===n&&(n="A recognition error occurred."),void 0===o&&(o=1);var s=t.call(this,n,a)||this;if(s.input=i,s._k=o,null!=i){s.index=i.index+o-1,i.stimulsoft.is(e.ITokenStream)&&(s.token=i.lt(o),s.line=s.token.line,s.charPositionInLine=s.token.charPositionInLine);var u=i.stimulsoft.as(r),l;if(null!=u)s.extractInformationFromTreeNodeStream2(u,o);else if(null!=i.stimulsoft.as(e.ICharStream)){var c=i.mark();try{for(var h=0;h<o-1;h++)i.consume();s._c=i.la(1),s.line=i.line,s.charPositionInLine=i.charPositionInLine}finally{i.rewind(c)}}else s._c=i.la(o)}return s}return __extends(n,t),Object.defineProperty(n.prototype,"unexpectedType",{get:function(){if(this.input.stimulsoft.is(e.ITokenStream))return this.token.type;var t=this.input.stimulsoft.as(r),n;if(null!=t)return t.treeAdaptor.getType(this.node);return this._c},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lookahead",{get:function(){return this._k},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"character",{get:function(){return String.fromCharCode(this._c)},set:function(t){this._c=t.charCodeAt(0)},enumerable:!1,configurable:!0}),n.prototype.extractInformationFromTreeNodeStream=function(t){this.node=t.lt(1);var n=null,r=t.stimulsoft.as(i);null!=r&&null==(n=r.getKnownPositionElement(!1))&&(n=r.getKnownPositionElement(!0),this.approximateLineInfo=null!=n);var s=t.stimulsoft.as(e.ITokenStreamInformation);if(null!=s){var u=s.lastToken,l=s.lastRealToken;null!=l&&(this.token=l,this.line=l.line,this.charPositionInLine=l.charPositionInLine,this.approximateLineInfo=l==u)}else{var c=t.treeAdaptor,h=c.getToken(null!=n?n:this.node);if(null!=h)if(this.token=h,h.line<=0){var p=-1,f=t.lt(p);while(null!=f){var m=c.getToken(f);if(null!=m&&m.line>0){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<e-1;r++)t.consume();this.extractInformationFromTreeNodeStream(t)}finally{t.rewind(n)}},n}(n);e.RecognitionException=s}(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(e,n,r,i){var o=t.call(this,e,r,1,i)||this;return o.decisionNumber=n,o}return __extends(e,t),e}(t.RecognitionException);t.EarlyExitException=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,n,1,o)||this;return a.ruleName=r,a.predicateText=i,a}return __extends(e,t),e.prototype.toString=function(){return"FailedPredicateException("+this.ruleName+",{"+this.predicateText+"}?)"},e}(t.RecognitionException);t.FailedPredicateException=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,r=function(t){function e(e){var n=t.call(this)||this;return n.name=e,n}return __extends(e,t),e}(t.System.Attribute);e.GrammarRuleAttribute=r}(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){t.IAstRuleReturnScope="IAstRuleReturnScope"}(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){t.ICharStream="ICharStream"}(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){t.IIntStream="IIntStream"}(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){t.IRuleReturnScope="IRuleReturnScope"}(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){t.ITemplateRuleReturnScope="ITemplateRuleReturnScope"}(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){t.IToken="IToken"}(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){t.ITokenSource="ITokenSource"}(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){t.ITokenStream="ITokenStream"}(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){t.ITokenStreamInformation="ITokenStreamInformation"}(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.Collections.List,i=t.System.Collections.Dictionary,o=function(){function t(t,n){this.channel=e.TokenChannels.default,this.discardOffChannelTokens=!1,this.p=-1,this.range=0,this.tokens=new r(500),this._tokenSource=t,this.channel=n}return t.prototype.implements=function(){return t.ImplementsLegacyCommonTokenStream||(t.ImplementsLegacyCommonTokenStream=[e.ITokenStream]),t.ImplementsLegacyCommonTokenStream},Object.defineProperty(t.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),t.prototype.setTokenSource=function(t){this._tokenSource=t,this.tokens.clear(),this.p=-1,this.channel=e.TokenChannels.default},t.prototype.fillBuffer=function(){if(-1!=this.p)return;var t=0,n=this._tokenSource.nextToken();while(null!=n&&n.type!=e.CharStreamConstants.endOfFile){var r=!1,i={ref:null};null!=this.channelOverrideMap&&this.channelOverrideMap.tryGetValue(n.type,i)&&(n.channel=i.ref),(null!=this.discardSet&&this.discardSet.contains(n.type)||this.discardOffChannelTokens&&n.channel!=this.channel)&&(r=!0),r||(n.tokenIndex=t,this.tokens.add(n),t++),n=this._tokenSource.nextToken()}this.p=0,this.p=this.skipOffTokenChannels(this.p)},t.prototype.consume=function(){this.p<this.tokens.length&&(this.p++,this.p=this.skipOffTokenChannels(this.p))},t.prototype.skipOffTokenChannels=function(t){var e=this.tokens.length;while(t<e&&this.tokens[t].channel!=this.channel)t++;return t},t.prototype.skipOffTokenChannelsReverse=function(t){while(t>=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<t)e=this.skipOffTokenChannels(e+1),n++;if(e>=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(n<e.length){if(this.input.la(1)!=e.charCodeAt(n)){if(this.state.backtracking>0)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)<e||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="<EOF>";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<this.tokenNames.length?this.tokenNames[t]:t.toString())+"!="+(null!=this.tokenNames&&this.expecting>=0&&this.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString())+")"},e}(e.RecognitionException);e.MismatchedTokenException=r}(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(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"MismatchedTreeNodeException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},e}(t.RecognitionException);t.MismatchedTreeNodeException=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,a){var s=t.call(this,e,n,r,o,a)||this;return s._inserted=i,s}return __extends(e,t),Object.defineProperty(e.prototype,"missingType",{get:function(){return this.expecting},enumerable:!1,configurable:!0}),e.prototype.toString=function(){if(null!=this._inserted&&null!=this.token)return"MissingTokenException(inserted "+this._inserted+" at "+this.token.text+")";if(null!=this.token)return"MissingTokenException(at "+this.token.text+")";return"MissingTokenException"},e}(t.MismatchedTokenException);t.MissingTokenException=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(t,n,r,i,o,a,s){void 0===a&&(a=1);var u=e.call(this,t,o,a,s)||this;return u.grammarDecisionDescription=n,u.decisionNumber=r,u.stateNumber=i,u}return __extends(n,e),n.prototype.toString=function(){return this.input.stimulsoft.is(t.ICharStream)?"NoViableAltException('"+String.fromCharCode(this.unexpectedType)+"'@["+this.grammarDecisionDescription+"])":"NoViableAltException("+this.unexpectedType.toString()+"@["+this.grammarDecisionDescription+"])"},n}(t.RecognitionException);t.NoViableAltException=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(t,n){var r=e.call(this,n)||this;return r.input=t,r}return __extends(n,e),n.prototype.reset=function(){e.prototype.reset.call(this),null!=this.input&&this.input.seek(0)},n.prototype.getCurrentInputSymbol=function(t){return this.input.lt(1)},n.prototype.getMissingSymbol=function(e,n,r,i){var o=null;o=r==t.TokenTypes.endOfFile?"<missing EOF>":"<missing "+this.tokenNames[r]+">";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&&i<this._tokens.length;i++)this.get(i).type!=e.CharStreamConstants.endOfFile&&(r+=this.get(i).text);return r},a.prototype.toString=function(){return this.fill(),this.toString3(this.DEFAULT_PROGRAM_NAME,this.MIN_TOKEN_INDEX,this.count-1)},a.prototype.toString3=function(t,n,r){var i,o,a={ref:null};if(this.programs.tryGetValue(t,a)||(a.ref=null),r>this._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){var c={ref:null},h=u.tryGetValue(l,c);if(h&&u.remove(l),h&&null!=c.ref)l=c.ref.execute(s);else{var p=this._tokens[l];p.type!=e.CharStreamConstants.endOfFile&&(s+=p.text),l++}}if(r==this._tokens.length-1)try{for(var f=__values(u.values),m=f.next();!m.done;m=f.next()){var c;(c=m.value).index>=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;e<t.length;e++){var r;if(null==(r=t[e]))continue;if(!r.stimulsoft.is(l))continue;for(var o=t[e],a=this.getKindOfOps(t,u,e),s=0;s<a.length;s++){var c;(c=a[s]).index==o.index?(t[c.instructionIndex]=null,o.text=c.text.toString()+(null!=o.text?o.text.toString():"")):c.index>o.index&&c.index<=o.lastIndex&&(t[c.instructionIndex]=null)}for(var h=this.getKindOfOps(t,l,e),s=0;s<h.length;s++){var p=h[s];if(p.index>=o.index&&p.lastIndex<=o.lastIndex){t[p.instructionIndex]=null;continue}var f=p.lastIndex<o.index||p.index>o.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<t.length;e++){var r;if(null==(r=t[e]))continue;if(!r.stimulsoft.is(u))continue;for(var c=t[e],d=this.getKindOfOps(t,u,e),s=0;s<d.length;s++){var y=d[s];y.index==c.index&&(c.text=this.catOpText(c.text,y.text),t[y.instructionIndex]=null)}for(var h=this.getKindOfOps(t,l,e),s=0;s<h.length;s++){var o=h[s];if(c.index==o.index){o.text=this.catOpText(c.text,o.text),t[e]=null;continue}if(c.index>=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<t.length;e++){var r;if(null==(r=t[e]))continue;var g={ref:null};if(v.tryGetValue(r.index,g)&&null!=g.ref)throw new n("should only be one op per index");v.set(r.index,r)}return v},a.prototype.catOpText=function(t,e){return t+e},a.prototype.getKindOfOps=function(t,e,n){void 0===n&&(n=t.length);for(var i=new o,a=0;a<n&&a<t.length;a++){var s=t[a];if(null==s)continue;r.getType(s)==e&&i.add(s)}return i},a.prototype.toDebugString=function(t,e){void 0===t&&(t=this.MIN_TOKEN_INDEX),void 0===e&&(e=this.count-1);for(var n="",r=t;r>=this.MIN_TOKEN_INDEX&&r<=e&&r<this._tokens.length;r++)n+=this.get(r);return n},a}(e.CommonTokenStream);e.TokenRewriteStream=a;var s=function(){function t(t,e,n){this.index=e,this.text=n,this.stream=t}return t.prototype.execute=function(t){return this.index},t.prototype.toString=function(){var t=r.getTypeName(this),e=t.indexOf("$");return"<"+(t=t.substring(e+1))+"@"+this.stream._tokens[this.index].toString()+':"'+this.text+'">"'},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"<DeleteOp@"+this.stream._tokens[this.index].toString()+".."+this.stream._tokens[this.lastIndex].toString()+">";return"<ReplaceOp@"+this.stream._tokens[this.index].toString()+".."+this.stream._tokens[this.lastIndex].toString()+':"'+this.text+'">'},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.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString());if(this.expecting==t.TokenTypes.invalid&&(n=""),null==this.token)return"UnwantedTokenException(found="+n+")";return"UnwantedTokenException(found="+this.token.text+n+")"},n}(t.MismatchedTokenException);t.UnwantedTokenException=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=function(){function t(){}return t.extractString=function(e){var r=e,i=1,o=-1;while(-1!=(o=r.indexOf(t.bs,i))){var a=r[o+1];switch(a){case"u":var s=r[o+4]+r[o+5],u=r[o+2]+r[o+3];break;case"n":r.stimulsoft.insert(o,"\n",2);break;case"r":r.stimulsoft.insert(o,"\r",2);break;case"t":r.stimulsoft.insert(o,"\t",2);break;case"'":r.stimulsoft.insert(o,"'",2);break;case"\\":r.stimulsoft.insert(o,"\\",2);break;default:throw new n("Unvalid escape sequence: \\"+a)}i=o+1}return r.stimulsoft.remove(0,1),r.stimulsoft.remove(r.length-1,1),r},t.prototype.and=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.And,this,n):new e.BinaryExpression(e.BinaryExpressionType.And,this,new e.ValueExpression(n))},t.prototype.dividedBy=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Div,this,n):new e.BinaryExpression(e.BinaryExpressionType.Div,this,new e.ValueExpression(n))},t.prototype.equalsTo=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Equal,this,n):new e.BinaryExpression(e.BinaryExpressionType.Equal,this,new e.ValueExpression(n))},t.prototype.greaterThan=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Greater,this,n):new e.BinaryExpression(e.BinaryExpressionType.Greater,this,new e.ValueExpression(n))},t.prototype.greaterOrEqualThan=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.GreaterOrEqual,this,n):new e.BinaryExpression(e.BinaryExpressionType.GreaterOrEqual,this,new e.ValueExpression(n))},t.prototype.lesserThan=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Lesser,this,n):new e.BinaryExpression(e.BinaryExpressionType.Lesser,this,new e.ValueExpression(n))},t.prototype.lesserOrEqualThan=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.LesserOrEqual,this,n):new e.BinaryExpression(e.BinaryExpressionType.LesserOrEqual,this,new e.ValueExpression(n))},t.prototype.minus=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Minus,this,n):new e.BinaryExpression(e.BinaryExpressionType.Minus,this,new e.ValueExpression(n))},t.prototype.modulo=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Modulo,this,n):new e.BinaryExpression(e.BinaryExpressionType.Modulo,this,new e.ValueExpression(n))},t.prototype.notEqual=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.NotEqual,this,n):new e.BinaryExpression(e.BinaryExpressionType.NotEqual,this,new e.ValueExpression(n))},t.prototype.or=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Or,this,n):new e.BinaryExpression(e.BinaryExpressionType.Or,this,new e.ValueExpression(n))},t.prototype.plus=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Plus,this,n):new e.BinaryExpression(e.BinaryExpressionType.Plus,this,new e.ValueExpression(n))},t.prototype.mult=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.Times,this,n):new e.BinaryExpression(e.BinaryExpressionType.Times,this,new e.ValueExpression(n))},t.prototype.bitwiseOr=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.BitwiseOr,this,n):new e.BinaryExpression(e.BinaryExpressionType.BitwiseOr,this,new e.ValueExpression(n))},t.prototype.bitwiseAnd=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.BitwiseAnd,this,n):new e.BinaryExpression(e.BinaryExpressionType.BitwiseAnd,this,new e.ValueExpression(n))},t.prototype.bitwiseXOr=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.BitwiseXOr,this,n):new e.BinaryExpression(e.BinaryExpressionType.BitwiseXOr,this,new e.ValueExpression(n))},t.prototype.leftShift=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.LeftShift,this,n):new e.BinaryExpression(e.BinaryExpressionType.LeftShift,this,new e.ValueExpression(n))},t.prototype.rightShift=function(n){return n.stimulsoft.is(t)?new e.BinaryExpression(e.BinaryExpressionType.RightShift,this,n):new e.BinaryExpression(e.BinaryExpressionType.RightShift,this,new e.ValueExpression(n))},t.prototype.toString=function(){var t=new e.SerializationVisitor;return this.accept(t),t.result.toString().stimulsoft.trimEnd(" ")},t.prototype.accept=function(t){t.visit1(this)},t.bs="\\",t}();e.LogicalExpression=r}(n=e.Domain||(e.Domain={}))}(n=e.NCalc||(e.NCalc={}))}(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(e,n,r){var i=t.call(this)||this;return i.type=e,i.leftExpression=n,i.rightExpression=r,i}return __extends(e,t),e.prototype.accept=function(t){t.visit3(this)},e}(t.LogicalExpression),n;t.BinaryExpression=e,function(t){t[t["And"]=0]="And",t[t["Or"]=1]="Or",t[t["NotEqual"]=2]="NotEqual",t[t["LesserOrEqual"]=3]="LesserOrEqual",t[t["GreaterOrEqual"]=4]="GreaterOrEqual",t[t["Lesser"]=5]="Lesser",t[t["Greater"]=6]="Greater",t[t["Equal"]=7]="Equal",t[t["Minus"]=8]="Minus",t[t["Plus"]=9]="Plus",t[t["Modulo"]=10]="Modulo",t[t["Div"]=11]="Div",t[t["Times"]=12]="Times",t[t["BitwiseOr"]=13]="BitwiseOr",t[t["BitwiseAnd"]=14]="BitwiseAnd",t[t["BitwiseXOr"]=15]="BitwiseXOr",t[t["LeftShift"]=16]="LeftShift",t[t["RightShift"]=17]="RightShift",t[t["Unknown"]=18]="Unknown"}(n=t.BinaryExpressionType||(t.BinaryExpressionType={}))}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(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(n){var r=t.System.Exception,i=t.System.Collections.List,o=t.System.Convert,a=t.Data.Extensions.ListExt,s,u=function(t){function s(n){var r=t.call(this)||this;return r._options=e.EvaluateOptions.None,r.evaluateFunction=function(t,e){},r.evaluateParameter=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},r._options=n,r}return __extends(s,t),Object.defineProperty(s.prototype,"ignoreCase",{get:function(){return(this._options&e.EvaluateOptions.IgnoreCase)==e.EvaluateOptions.IgnoreCase},enumerable:!1,configurable:!0}),s.prototype.evaluate=function(t){return t.accept(this),this.result},s.prototype.visit1=function(t){throw new r("The method or operation is not implemented.")},s.getMostPreciseType=function(t,e){var n,r;try{for(var i=__values(s.commonTypes),o=i.next();!o.done;o=i.next()){var a=o.value;if(t==a||e==a)return a}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},s.prototype.compareUsingMostPreciseType=function(t,e){return null},s.prototype.visit2=function(t){var e;t.leftExpression.accept(this),o.toBoolean(this.result)?t.middleExpression.accept(this):t.rightExpression.accept(this)},s.isReal=function(t){return null},s.prototype.visit3=function(t){var r,u,l,c,h,p,f=null,m=this,d=function(){return null==f&&(t.leftExpression.accept(m),f=m.result),f},y=null,v=function(){return null==y&&(t.rightExpression.accept(m),y=m.result),y};switch(t.type){case n.BinaryExpressionType.And:this.result=o.toBoolean(d())&&o.toBoolean(v());break;case n.BinaryExpressionType.Or:this.result=o.toBoolean(d())||o.toBoolean(v());break;case n.BinaryExpressionType.Div:d().stimulsoft.is(i)||v().stimulsoft.is(i)||s.isReal(d())||s.isReal(v())?this.result=e.Numbers.divide(d(),v()):this.result=e.Numbers.divide(o.toDouble(d()),v());break;case n.BinaryExpressionType.Equal:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(r=this.result)||void 0===r?void 0:r.stimulsoft.is(Number))&&(this.result=0==this.result);break;case n.BinaryExpressionType.Greater:this.result=this.compareUsingMostPreciseType(d(),v()),(null===(u=this.result)||void 0===u?void 0:u.stimulsoft.is(Number))&&(this.result=this.result>0);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;case n.BinaryExpressionType.RightShift: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<t.expressions.length;a++)n.parameters[a]=e.Expression.create2(t.expressions[a],this._options),n.parameters[a].evaluateFunction=this.evaluateFunction,n.parameters[a].evaluateParameter=this.evaluateParameter,n.parameters[a].parameters=this.parameters;if(this.onEvaluateFunction(this.ignoreCase?t.identifier.name.toLowerCase():t.identifier.name,n),n.hasResult)return void(this.result=n.result);switch(t.identifier.name.toLowerCase()){case"abs":if(this.checkCase("Abs",t.identifier.name),1!=t.expressions.length)throw new r("Abs() takes exactly 1 argument");this.result=Math.abs(o.toNumber(this.evaluate(t.expressions[0])));break;case"acos":if(this.checkCase("Acos",t.identifier.name),1!=t.expressions.length)throw new r("Acos() takes exactly 1 argument");this.result=Math.acos(o.toDouble(this.evaluate(t.expressions[0])));break;case"asin":if(this.checkCase("Asin",t.identifier.name),1!=t.expressions.length)throw new r("Asin() takes exactly 1 argument");this.result=Math.asin(o.toDouble(this.evaluate(t.expressions[0])));break;case"atan":if(this.checkCase("Atan",t.identifier.name),1!=t.expressions.length)throw new r("Atan() takes exactly 1 argument");this.result=Math.atan(o.toDouble(this.evaluate(t.expressions[0])));break;case"ceiling":if(this.checkCase("Ceiling",t.identifier.name),1!=t.expressions.length)throw new r("Ceiling() takes exactly 1 argument");this.result=Math.ceil(o.toDouble(this.evaluate(t.expressions[0])));break;case"cos":if(this.checkCase("Cos",t.identifier.name),1!=t.expressions.length)throw new r("Cos() takes exactly 1 argument");this.result=Math.cos(o.toDouble(this.evaluate(t.expressions[0])));break;case"exp":if(this.checkCase("Exp",t.identifier.name),1!=t.expressions.length)throw new r("Exp() takes exactly 1 argument");this.result=Math.exp(o.toDouble(this.evaluate(t.expressions[0])));break;case"floor":if(this.checkCase("Floor",t.identifier.name),1!=t.expressions.length)throw new r("Floor() takes exactly 1 argument");this.result=Math.floor(o.toDouble(this.evaluate(t.expressions[0])));break;case"ieeeremainder":if(this.checkCase("IEEERemainder",t.identifier.name),2!=t.expressions.length)throw new r("IEEERemainder() takes exactly 2 arguments");break;case"log":if(this.checkCase("Log",t.identifier.name),2!=t.expressions.length)throw new r("Log() takes exactly 2 arguments");break;case"log10":if(this.checkCase("Log10",t.identifier.name),1!=t.expressions.length)throw new r("Log10() takes exactly 1 argument");this.result=Math.log10(o.toDouble(this.evaluate(t.expressions[0])));break;case"pow":if(this.checkCase("Pow",t.identifier.name),2!=t.expressions.length)throw new r("Pow() takes exactly 2 arguments");this.result=Math.pow(o.toDouble(this.evaluate(t.expressions[0])),o.toDouble(this.evaluate(t.expressions[1])));break;case"round":if(this.checkCase("Round",t.identifier.name),2!=t.expressions.length)throw new r("Round() takes exactly 2 arguments");break;case"sign":if(this.checkCase("Sign",t.identifier.name),1!=t.expressions.length)throw new r("Sign() takes exactly 1 argument");this.result=Math.sign(o.toDouble(this.evaluate(t.expressions[0])));break;case"sin":if(this.checkCase("Sin",t.identifier.name),1!=t.expressions.length)throw new r("Sin() takes exactly 1 argument");this.result=Math.sin(o.toDouble(this.evaluate(t.expressions[0])));break;case"sqrt":if(this.checkCase("Sqrt",t.identifier.name),1!=t.expressions.length)throw new r("Sqrt() takes exactly 1 argument");this.result=Math.sqrt(o.toDouble(this.evaluate(t.expressions[0])));break;case"tan":if(this.checkCase("Tan",t.identifier.name),1!=t.expressions.length)throw new r("Tan() takes exactly 1 argument");this.result=Math.tan(o.toDouble(this.evaluate(t.expressions[0])));break;case"truncate":if(this.checkCase("Truncate",t.identifier.name),1!=t.expressions.length)throw new r("Truncate() takes exactly 1 argument");this.result=Math.trunc(o.toDouble(this.evaluate(t.expressions[0])));break;case"max":if(this.checkCase("Max",t.identifier.name),2!=t.expressions.length)throw new r("Max() takes exactly 2 arguments");var s=this.evaluate(t.expressions[0]),u=this.evaluate(t.expressions[1]);this.result=e.Numbers.max(s,u);break;case"min":if(this.checkCase("Min",t.identifier.name),2!=t.expressions.length)throw new r("Min() takes exactly 2 arguments");var l=this.evaluate(t.expressions[0]),c=this.evaluate(t.expressions[1]);this.result=e.Numbers.min(l,c);break;case"if":if(this.checkCase("if",t.identifier.name),3!=t.expressions.length)throw new r("if() takes exactly 3 arguments");var h=o.toBoolean(this.evaluate(t.expressions[0]));this.result=h?this.evaluate(t.expressions[1]):this.evaluate(t.expressions[2]);break;case"in":if(this.checkCase("in",t.identifier.name),t.expressions.length<2)throw new r("in() takes at least 2 arguments");for(var p=this.evaluate(t.expressions[0]),f=!1,a=1;a<t.expressions.length;a++){var m=this.evaluate(t.expressions[a]),d=this.compareUsingMostPreciseType(p,m);if(d.stimulsoft.is(Number)&&0==d){f=!0;break}}this.result=f;break;default:throw new r("Function not found")}},s.prototype.checkCase=function(t,e){if(this.ignoreCase){if(t.toLowerCase()==e.toLowerCase())return;throw new r("Function not found")}if(t!=e)throw new Error("Function not found "+e+". Try "+t+" instead.")},s.prototype.onEvaluateFunction=function(t,e){null!=this.evaluateFunction&&this.evaluateFunction(t,e)},s.prototype.visit7=function(t){var n,i;if(this.parameters.contains(t.name))if(this.parameters.get(t.name).stimulsoft.is(e.Expression)){var o=this.parameters.get(t.name);try{for(var a=__values(this.parameters.pairs),s=a.next();!s.done;s=a.next()){var u=s.value;o.parameters.set(u.key,u.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}o.evaluateFunction=this.evaluateFunction,o.evaluateParameter=this.evaluateParameter,this.result=this.parameters.get(t.name).evaluate()}else this.result=this.parameters.get(t.name);else{var l=new e.ParameterArgs;if(this.onEvaluateParameter(t.name,l),!l.hasResult)throw new r("Parameter was not defined");this.result=l.result}},s.prototype.onEvaluateParameter=function(t,e){null!=this.evaluateParameter&&this.evaluateParameter(t,e)},s.commonTypes=[Number,Boolean,String],s}(t.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor);n.EvaluationVisitor=u}(n=e.Domain||(e.Domain={}))}(n=e.NCalc||(e.NCalc={}))}(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(e,n){var r=t.call(this)||this;return r.identifier=e,r.expressions=n,r}return __extends(e,t),e.prototype.accept=function(t){t.visit6(this)},e}(t.LogicalExpression);t.Functionn=e}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(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){var n=t.call(this)||this;return n.name=e,n}return __extends(e,t),e.prototype.accept=function(t){t.visit7(this)},e}(t.LogicalExpression);t.Identifier=e}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(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.Globalization.NumberFormatInfo,i=function(t){function i(){var e=t.call(this)||this;return e.result="",e._numberFormatInfo=new r,e._numberFormatInfo.numberDecimalSeparator=".",e}return __extends(i,t),i.prototype.visit1=function(t){throw new n("The method or operation is not implemented.")},i.prototype.visit2=function(t){this.encapsulateNoValue(t.leftExpression),this.result+="? ",this.encapsulateNoValue(t.middleExpression),this.result+=": ",this.encapsulateNoValue(t.rightExpression)},i.prototype.visit3=function(t){switch(this.encapsulateNoValue(t.leftExpression),t.type){case e.BinaryExpressionType.And:this.result+="and ";break;case e.BinaryExpressionType.Or:this.result+="or ";break;case e.BinaryExpressionType.Div:this.result+="/ ";break;case e.BinaryExpressionType.Equal:this.result+="= ";break;case e.BinaryExpressionType.Greater:this.result+="> ";break;case e.BinaryExpressionType.GreaterOrEqual:this.result+=">= ";break;case e.BinaryExpressionType.Lesser:this.result+="< ";break;case e.BinaryExpressionType.LesserOrEqual:this.result+="<= ";break;case e.BinaryExpressionType.Minus:this.result+="- ";break;case e.BinaryExpressionType.Modulo:this.result+="% ";break;case e.BinaryExpressionType.NotEqual:this.result+="!= ";break;case e.BinaryExpressionType.Plus:this.result+="+ ";break;case e.BinaryExpressionType.Times:this.result+="* ";break;case e.BinaryExpressionType.BitwiseAnd:this.result+="& ";break;case e.BinaryExpressionType.BitwiseOr:this.result+="| ";break;case e.BinaryExpressionType.BitwiseXOr:this.result+="~ ";break;case e.BinaryExpressionType.LeftShift:this.result+="<< ";break;case e.BinaryExpressionType.RightShift:this.result+=">> ";break}this.encapsulateNoValue(t.rightExpression)},i.prototype.visit4=function(t){switch(t.type){case e.UnaryExpressionType.Not:this.result+="!";break;case e.UnaryExpressionType.Negate:this.result+="-";break;case e.UnaryExpressionType.BitwiseNot:this.result+="~";break}this.encapsulateNoValue(t.expression)},i.prototype.visit5=function(t){switch(t.type){case e.ValueType.Boolean:this.result+=t.value.toString()+" ";break;case e.ValueType.DateTime:this.result+="#"+t.value.toString+"#"+" ";break;case e.ValueType.Float:break;case e.ValueType.Integer:this.result+=t.value.toString()+" ";break;case e.ValueType.String:this.result+="'"+t.value.toString+"'"+" ";break}},i.prototype.visit6=function(t){this.result+=t.identifier.name,this.result+="(";for(var e=0;e<t.expressions.length;e++)t.expressions[e].accept(this),e<t.expressions.length-1&&(this.result.stimulsoft.remove(this.result.length-1,1),this.result+=", ");while(" "==this.result[this.result.length-1])this.result.stimulsoft.remove(this.result.length-1,1);this.result+=") "},i.prototype.visit7=function(t){this.result+="["+t.name+"] "},i.prototype.encapsulateNoValue=function(t){if(t.stimulsoft.is(e.ValueExpression))t.accept(this);else{this.result+="(",t.accept(this);while(" "==this.result[this.result.length-1])this.result.stimulsoft.remove(this.result.length-1,1);this.result+=") "}},i}(e.LogicalExpressionVisitor);e.SerializationVisitor=i}(n=e.Domain||(e.Domain={}))}(n=e.NCalc||(e.NCalc={}))}(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(e,n,r){var i=t.call(this)||this;return i.leftExpression=e,i.middleExpression=n,i.rightExpression=r,i}return __extends(e,t),e.prototype.accept=function(t){t.visit2(this)},e}(t.LogicalExpression);t.TernaryExpression=e}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(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){var r=t.call(this)||this;return r.type=e,r.expression=n,r}return __extends(e,t),e.prototype.accept=function(t){t.visit4(this)},e}(t.LogicalExpression),n;t.UnaryExpression=e,function(t){t[t["Not"]=0]="Not",t[t["Negate"]=1]="Negate",t[t["BitwiseNot"]=2]="BitwiseNot"}(n=t.UnaryExpressionType||(t.UnaryExpressionType={}))}(e=t.Domain||(t.Domain={}))}(e=t.NCalc||(t.NCalc={}))}(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.DateTime,o=function(t){function e(e,o){var s=t.call(this)||this;if(null==o)switch(r.getType(e)){case Boolean:o=a.Boolean;break;case i:o=a.DateTime;break;case Number:o=a.Float;break;case String:o=a.String;break;default:throw new n("This value could not be handled: "+e)}return s.value=e,s.type=o,s}return __extends(e,t),e.prototype.accept=function(t){t.visit5(this)},e}(e.LogicalExpression),a;e.ValueExpression=o,function(t){t[t["Integer"]=0]="Integer",t[t["String"]=1]="String",t[t["DateTime"]=2]="DateTime",t[t["Float"]=3]="Float",t[t["Boolean"]=4]="Boolean"}(a=e.ValueType||(e.ValueType={}))}(n=e.Domain||(e.Domain={}))}(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(e,n){return t.call(this,e,n)||this}return __extends(e,t),e}(t.System.Exception);e.EvaluationException=r}(n=e.NCalc||(e.NCalc={}))}(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){t[t["None"]=1]="None",t[t["IgnoreCase"]=2]="IgnoreCase",t[t["NoCache"]=4]="NoCache",t[t["IterateParameters"]=8]="IterateParameters",t[t["RoundAwayFromZero"]=16]="RoundAwayFromZero"}(e=t.EvaluateOptions||(t.EvaluateOptions={}))}(e=t.NCalc||(t.NCalc={}))}(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=t.Data.Expressions.Antlr.Runtime.DFA,r=t.Data.Expressions.Antlr.Runtime.NoViableAltException,i=t.Data.Expressions.Antlr.Runtime.MismatchedSetException,o=t.Data.Expressions.Antlr.Runtime.EarlyExitException,a,s=function(t){function e(e,n){var r=t.call(this,e,n)||this;return 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}return __extends(e,t),e.prototype.mT__19=function(){try{var t=this.T__19,e=this.defaultTokenChannel;this.match3("!"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__20=function(){try{var t=this.T__20,e=this.defaultTokenChannel;this.match3("!="),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__21=function(){try{var t=this.T__21,e=this.defaultTokenChannel;this.match3("%"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__22=function(){try{var t=this.T__22,e=this.defaultTokenChannel;this.match3("&&"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__23=function(){try{var t=this.T__23,e=this.defaultTokenChannel;this.match3("&"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__24=function(){try{var t=this.T__24,e=this.defaultTokenChannel;this.match3("("),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__25=function(){try{var t=this.T__25,e=this.defaultTokenChannel;this.match3(")"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__26=function(){try{var t=this.T__26,e=this.defaultTokenChannel;this.match3("*"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__27=function(){try{var t=this.T__27,e=this.defaultTokenChannel;this.match3("+"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__28=function(){try{var t=this.T__28,e=this.defaultTokenChannel;this.match3(","),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__29=function(){try{var t=this.T__29,e=this.defaultTokenChannel;this.match3("-"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__30=function(){try{var t=this.T__30,e=this.defaultTokenChannel;this.match3("/"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__31=function(){try{var t=this.T__31,e=this.defaultTokenChannel;this.match3(":"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__32=function(){try{var t=this.T__32,e=this.defaultTokenChannel;this.match3("<"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__33=function(){try{var t=this.T__33,e=this.defaultTokenChannel;this.match3("<<"),this.state.type=t,this.state.channel=e}finally{}},e.prototype.enterRule_T__34=function(){},e.prototype.leaveRule_T__34=function(){},e.prototype.mT__34=function(){try{var t=this.T__34,e=this.defaultTokenChannel;this.match3("<="),this.state.type=t,this.state.channel=e}finally{}},e.prototype.mT__35=function(){try{var t=this.T__35,e=this.defaultTokenChannel;this.match3("<>"),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<t;r++)e.DFA7_transition[r]=n.unpackEncodedString(e.DFA7_transitionS[r])},e.prototype.error=function(t){this.debugRecognitionException(t)},e.DFA7_eotS="",e.DFA7_eofS="",e.DFA7_minS=".",e.DFA7_maxS="9e",e.DFA7_acceptS="",e.DFA7_specialS="}>",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<t;r++)e.DFA14_transition[r]=n.unpackEncodedString(e.DFA14_transitionS[r])},e.prototype.error=function(t){this.debugRecognitionException(t)},e.DFA14_eotS=' "\b&(+'+"036"+"9:="+"?",e.DFA14_eofS="@",e.DFA14_minS="\t=&\b<=n"+"or|ra."+"dt0ul0"+"es0e0",e.DFA14_maxS="~=&\b>=>"+"nor|rae"+"dtzulz"+"eszez",e.DFA14_acceptS="\b\t\n\v\f"+"\r!"+"#$%&'"+""+'"'+" ",e.DFA14_specialS="@}>",e.DFA14_transitionS=[""+"\b\t\n"+"\n\v\f\r"+""+"","","","!","","","","","","","","","#$%","'",")*","","",",","-",".","/","","1","2","","\n\v","","","","","","","","","","","","","","","","","","","4","5","\n","","","7","8","","\n","\n","",";","<","","","\n",">","","\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<v;O++){try{for(var A=(m=void 0,__values(this.parameterEnumerators.keys)),F=A.next();!F.done;F=A.next())var b=F.value}catch(t){m={error:t}}finally{try{F&&!F.done&&(d=A.return)&&d.call(A)}finally{if(m)throw m.error}}this.parsedExpression.accept(y),I.add(y.result)}return I}return this.parsedExpression.accept(y),y.result},t.Timeout={Infinite:1e5},t._cacheEnabled=!0,t._compiledExpressions=new i,t.rwl=new h,t}();e.Expression=f}(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.Collections.List,r,i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasResult=!1,e.parameters=new n,e}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.prototype.evaluateParameters=function(){for(var t=n.create(Object,this.parameters.length),e=0;e<t.length;e++)t[e]=this.parameters[e].evaluate();return t},e}(t.System.EventArgs);e.FunctionArgs=i}(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.Exception,r=t.Data.Expressions.NCalc.Domain.Functionn,i=t.Data.Expressions.NCalc.Domain.UnaryExpressionType,o=t.Data.Expressions.NCalc.Domain.UnaryExpression,a=t.Data.Expressions.NCalc.Domain.BinaryExpression,s=t.Data.Expressions.NCalc.Domain.TernaryExpression,u=t.Data.Expressions.NCalc.Domain.ValueExpression,l=t.Data.Expressions.NCalc.Domain.Identifier,c=t.Data.Expressions.Antlr.Runtime.NoViableAltException,h=t.Data.Expressions.Antlr.Runtime.MismatchedSetException,p=t.Data.Expressions.Antlr.Runtime.BitSet,f=t.Data.Expressions.Antlr.Runtime.Tree.CommonTreeAdaptor,m=t.Data.Expressions.Antlr.Runtime.Parser,d=t.System.Collections.List,y=t.Data.Expressions.Antlr.Runtime.AstParserRuleReturnScope,v=t.Data.Expressions.NCalc.Domain.BinaryExpressionType,g=t.System.DateTime,S=function(t){function e(e,n){var r=t.call(this,e,n)||this;r.tokenNames=["<invalid>","<EOR>","<DOWN>","<UP>","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&&++n<e.length)t/=1024;return t+" "+e[n]},t.getHumanReadableName=function(t){if(n.isNullOrEmpty(t))return"";var e=t.trim();e.stimulsoft.replaceAll("_"," ");for(var i=1;i<e.length;i++){var o=e[i-1],a=e[i];r.isLetter(o)&&r.isLetter(a)&&r.isLower(o)&&r.isUpper(a)&&(e.stimulsoft.insert(i," ",0),i++)}for(var i=1;i<e.length;i++){var o=e[i-1],a=e[i];(r.isLetter(o)&&r.isDigit(a)||r.isDigit(o)&&r.isLetter(a))&&(e.stimulsoft.insert(i," ",0),i++)}for(var i=0;i<e.length;i++){var a=e[i];r.isLetterOrDigit(a)||" "==a||e.stimulsoft.remove(i,1)}return e.length>0&&!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;r<e.length;r++)try{n.sett(r,e[r])}catch(t){}t.rows.add(n)}},t.findType=function(t,e){var n=this.findTypeInRows(t,e);if(null!=n)return n;return Object},t.findTypeInRows=function(t,e){var n=t.select((function(t){return t[e]})).where((function(t){return null!=t})).select((function(t){return r.getType(t)})).where((function(t){return null!=t})).distinct();if(null==n||!n.any()||n.count2()>1)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<t.days[u].length&&(r=t.days[u][a]),t.defaultUpperCaseList[u]&&(r=r.substring(0,1).toUpperCase()+r.substring(1))}return r},t.dayOfWeek4=function(e,n,r){var i=t.dayOfWeek3(e,n).toLowerCase();return r?i.substring(0,1).toUpperCase()+i.substring(1):i},t.addCulture=function(e,n,r){var i,o,a=t.days.count2();t.days.add(e),t.defaultUpperCaseList.add(r);try{for(var s=__values(n),u=s.next();!u.done;u=s.next()){var l=u.value;t.cultureIndexes.set(l.toLowerCase(),a)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}},t.initialize=function(){t.days=new n,t.defaultUpperCaseList=new n,t.cultureIndexes=new r,t.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),t.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),t.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),t.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),t.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),t.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),t.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),t.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),t.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),t.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),t.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),t.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),t.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),t.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),t.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),t.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),t.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),t.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),t.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),t.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),t.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),t.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),t.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),t.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),t.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),t.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)},t}();e.StiDayOfWeekToStrHelper=s,s.initialize()}(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.Collections.List,r=t.System.Collections.Hashtable,i=t.Base.Localization.StiLocalization,o=t.System.Globalization.CultureInfo,a=function(){function t(){}return t.monthName=function(t){return t.toString("MMMM")},t.monthName2=function(e,n){if(!n)return t.monthName(e);switch(e.month){case 1:return i.get("A_WebViewer","MonthJanuary");case 2:return i.get("A_WebViewer","MonthFebruary");case 3:return i.get("A_WebViewer","MonthMarch");case 4:return i.get("A_WebViewer","MonthApril");case 5:return i.get("A_WebViewer","MonthMay");case 6:return i.get("A_WebViewer","MonthJune");case 7:return i.get("A_WebViewer","MonthJuly");case 8:return i.get("A_WebViewer","MonthAugust");case 9:return i.get("A_WebViewer","MonthSeptember");case 10:return i.get("A_WebViewer","MonthOctober");case 11:return i.get("A_WebViewer","MonthNovember");case 12:return i.get("A_WebViewer","MonthDecember")}return t.monthName(e)},t.monthName3=function(e,n){var r=e.month,i="";try{var a;i=o.cultures[n].dateTimeFormat.monthNames[r]}catch(e){var s=n.toLowerCase();if(!t.cultureIndexes.containsKey(s))throw new Error("Function 'MonthName': There is no data for specified culture '"+n+"'.");var u=t.cultureIndexes.get(s);r<t.months[u].length&&(i=t.months[u][r-1]),t.defaultUpperCaseList[u]&&(i=i.substring(0,1).toUpperCase()+i.substring(1))}return i},t.monthName4=function(e,n,r){var i=t.monthName3(e,n).toLowerCase();return r?i.substring(0,1).toUpperCase()+i.substring(1):i},t.addCulture=function(e,n,r){var i,o,a=t.months.count2();t.months.add(e),t.defaultUpperCaseList.add(r);try{for(var s=__values(n),u=s.next();!u.done;u=s.next()){var l=u.value;t.cultureIndexes.set(l.toLowerCase(),a)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}},t.initialize=function(){t.months=new n,t.defaultUpperCaseList=new n,t.cultureIndexes=new r,t.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),t.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),t.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),t.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),t.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),t.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),t.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),t.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),t.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),t.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),t.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),t.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),t.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),t.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),t.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),t.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),t.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),t.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),t.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),t.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),t.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),t.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),t.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),t.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),t.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),t.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),t.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)},t}();e.StiMonthToStrHelper=a,a.initialize()}(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.Data.DataTable,r=t.System.Type,i=t.System.Data.DataColumn,o=t.Base.StiConvert,a=t.Data.Extensions.DataTableExt,s=function(){function t(){}return t.toNetTable=function(e,r){if(void 0===r&&(r=null),null==e)return null;var s=new n,u=e.rows.firstOrDefault(),l=0;return e.meters.forEach((function(e){s.columns.add(new i(a.getUniqueName(s,e),t.getDataType(u,l,r))),l++})),e.rows.forEach((function(t){var e=s.newRow();try{for(var n=0;n<t.length;n++){if(n>=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<n.length)return i=n[e];return i=null!=t?r.getType(t[e]):Object},t}();e.StiDataTableConverter=s}(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=t.System.Collections.List,i=function(){function t(){}return t.getMany=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(null==t)return new r;return t.stimulsoft.toList().where((function(t){return null!=t})).selectMany(this.getSingle,this).distinct().toList()},t.getMany2=function(t){if(null==t)return new r;return t.where((function(t){return null!=t})).selectMany(this.getSingle,this).distinct()},t.getSingle=function(t){return this.getSingle2(t.expression)},t.getSingle2=function(t){if(n.isNullOrWhiteSpace(t))return new r;try{return e.StiExpressionHelper.getArguments(t)}catch(t){}return new r},t}();e.StiUsedDataHelper=i}(n=e.Helpers||(e.Helpers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return Object.defineProperty(t.prototype,"function",{get:function(){return this._function},set:function(t){this._function=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnName",{get:function(){return this._columnName},set:function(t){this._columnName=t},enumerable:!1,configurable:!0}),t}();t.StiFunctionColumnPair=e}(e=t.Parsers||(t.Parsers={}))}(e=t.Data||(t.Data={}))}(Stimulsoft||(Stimulsoft={}));;
|
||
var __values=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=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]<s[3])){i.label=r[1];break}if(6===r[0]&&i.label<s[1]){i.label=s[1],s=r;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(r);break}s[2]&&i.ops.pop(),i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t],a=0}finally{o=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},o,a,s,l;return l={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l},__read=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],a;try{while((void 0===e||e-- >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<arguments.length;e++)t=t.concat(__read(arguments[e]));return t},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,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 t(){}return t.copy=function(t,e,r,n,i){for(var o=0;o<r.length;o++)void 0===r[o]&&(r[o]=0);for(var o=0;o<i;o++)r[n+o]=t[e+o]},t}();t.ArrayHelper=e}(e=t.BarCodes||(t.BarCodes={}))}(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 n(){this.sizeInBits=0,this.array=r.create(Number,32)}return n.prototype.at=function(t){var e;return(255&this.array[t>>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<e;++r)this.appendBit(t.at(r))},n.prototype.xor=function(t){for(var e=this.sizeInBits+7>>3,r=0;r<e;++r)this.array[r]^=t.array[r]},n.prototype.toString=function(){for(var e=new t.System.Text.StringBuilder,r=0;r<this.sizeInBits;r++)0==this.at(r)?e.append("0"):1==this.at(r)&&e.append("1");return e.toString()},n.prototype.getArray=function(){return this.array},n.prototype.appendByte=function(t){if(this.sizeInBits>>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<e){var r=new Array(e);null!=this._bytes&&t.ArrayHelper.copy(this._bytes,0,r,0,this._bytes.length),this._bytes=r}},e.prototype.set1=function(t,e,r){this._bytes=new Array(r),this._size=r;for(var n=0;n<r;n++)this._bytes[n]=t[e+n]},e.INITIAL_SIZE=32,e}();t.ByteArray=e}(e=t.BarCodes||(t.BarCodes={}))}(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 e(e,n){this._bytes=r.create(t.System.SByte,n);for(var i=0;i<n;i++)this._bytes[i]=r.create(t.System.SByte,e);this._width=e,this._height=n}return e.prototype.getValueString=function(){for(var t="",e=0;e<this._width;e++)for(var r=0;r<this._height;r++)t+=this._bytes[e][r].toString();return t},e.prototype.getHeight=function(){return this._height},e.prototype.getWidth=function(){return this._width},e.prototype.get=function(t,e){return this._bytes[e][t]},e.prototype.getArray=function(){return this._bytes},e.prototype.set=function(t,e,r){this._bytes[e][t]=r},e.prototype.set2=function(t,e,r){this._bytes[e][t]=r},e.prototype.clear=function(t){for(var e=0;e<this._height;e++)for(var r=0;r<this._width;r++)this._bytes[e][r]=t},e}();e.ByteMatrix=n}(r=e.BarCodes||(e.BarCodes={}))}(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(t,e){this._value=t,this._encodingName=e}return Object.defineProperty(t,"NAME_TO_ECI",{get:function(){return null==this._name_to_eci&&t.Initialize(),this._name_to_eci},set:function(t){this._name_to_eci=t},enumerable:!1,configurable:!0}),t.Initialize=function(){var e=new r;t.addCharacterSet(0,"Cp437",e),t.addCharacterSet(1,"ISO-8859-1",e),t.addCharacterSet(2,"Cp437",e),t.addCharacterSet(3,"ISO-8859-1",e),t.addCharacterSet(4,"ISO-8859-2",e),t.addCharacterSet(5,"ISO-8859-3",e),t.addCharacterSet(6,"ISO-8859-4",e),t.addCharacterSet(7,"ISO-8859-5",e),t.addCharacterSet(8,"ISO-8859-6",e),t.addCharacterSet(9,"ISO-8859-7",e),t.addCharacterSet(10,"ISO-8859-8",e),t.addCharacterSet(11,"ISO-8859-9",e),t.addCharacterSet(13,"ISO-8859-11",e),t.addCharacterSet(15,"ISO-8859-13",e),t.addCharacterSet(17,"ISO-8859-15",e),t.addCharacterSet(20,"Shift_JIS",e),t.addCharacterSet(21,"Windows-1250",e),t.addCharacterSet(22,"Windows-1251",e),t.addCharacterSet(23,"Windows-1252",e),t.addCharacterSet(24,"Windows-1256",e),t.addCharacterSet(26,"UTF-8",e),this._name_to_eci=e},t.prototype.getEncodingName=function(){return this._encodingName},t.prototype.getValue=function(){return this._value},t.addCharacterSet=function(e,r,n){var i=new t(e,r);n.set(r,i)},t.getCharacterSetECIByName=function(t){return this.NAME_TO_ECI.get(t)},t.GetEncodingByNumber=function(e,r){var n,i;try{for(var o=__values(this.NAME_TO_ECI.values),a=o.next();!a.done;a=o.next()){var s,l=a.value.stimulsoft.as(t);if(l._value==e)return l._encodingName}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r},t.lockNAME_TO_ECI=new Object,t._name_to_eci=null,t}();e.CharacterSetECI=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,r){this._ordinal=t,this._bits=e,this._name=r}return t.prototype.ordinal=function(){return this._ordinal},t.prototype.getBits=function(){return this._bits},t.prototype.getName=function(){return this._name},t.prototype.toString=function(){return this._name},t.forBits=function(t){switch(t){case 0:return this.M;case 1:return this.L;case 2:return this.H;case 3:return this.Q}return null},t.L=new t(0,1,"L"),t.M=new t(1,0,"M"),t.Q=new t(2,3,"Q"),t.H=new t(3,2,"H"),t}();t.ErrorCorrectionLevel=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){this.FORMAT_INFO_MASK_QR=21522,this.errorCorrectionLevel=t.ErrorCorrectionLevel.forBits(e>>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<this.FORMAT_INFO_DECODE_LOOKUP.stimulsoft.getLength(0);o++){var a=this.FORMAT_INFO_DECODE_LOOKUP[o],s=a[0];if(s==t||s==r)return new e(a[1]);var l=e.numBitsDiffering(t,s);l<n&&(i=a[1],n=l),t!=r&&(l=e.numBitsDiffering(r,s))<n&&(i=a[1],n=l)}if(n<=3)return new e(i);return null},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getDataMask=function(){return this.dataMask},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.errorCorrectionLevel==r.errorCorrectionLevel&&this.dataMask==r.dataMask},e.FORMAT_INFO_DECODE_LOOKUP=[[21522,0],[20773,1],[24188,2],[23371,3],[17913,4],[16590,5],[20375,6],[19104,7],[30660,8],[29427,9],[32170,10],[30877,11],[26159,12],[25368,13],[27713,14],[26998,15],[5769,16],[5054,17],[7399,18],[6608,19],[1890,20],[597,21],[3340,22],[2107,23],[13663,24],[12392,25],[16177,26],[14854,27],[9396,28],[8579,29],[11994,30],[11245,31]],e.BITS_SET_IN_HALF_BYTE=[0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4],e}();t.FormatInformation=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){this._zero=null,this._one=null,this._expTable=new Array(256),this._logTable=new Array(256);for(var e=1,r=0;r<256;r++)this._expTable[r]=e,(e<<=1)>=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(i<n&&0==r[i])i++;i==n?this._coefficients=e.getZero()._coefficients:(this._coefficients=new Array(n-i),t.ArrayHelper.copy(r,i,this._coefficients,0,this._coefficients.length))}else this._coefficients=r}return e.prototype.getCoefficients=function(){return this._coefficients},e.prototype.getDegree=function(){return this._coefficients.length-1},e.prototype.isZero=function(){return 0==this._coefficients[0]},e.prototype.getCoefficient=function(t){return this._coefficients[this._coefficients.length-1-t]},e.prototype.evaluateAt=function(e){if(0==e)return this.getCoefficient(0);var r=this._coefficients.length;if(1==e){for(var n=0,i=0;i<r;i++)n=t.GF256.addOrSubtract(n,this._coefficients[i]);return n}for(var o=this._coefficients[0],i=1;i<r;i++)o=t.GF256.addOrSubtract(this._field.multiply(e,o),this._coefficients[i]);return o},e.prototype.addOrSubtract=function(r){if(this.isZero())return r;if(r.isZero())return this;var n=this._coefficients,i=r._coefficients;if(n.length>i.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<i.length;l++)a[l]=t.GF256.addOrSubtract(n[l-s],i[l]);return new e(this._field,a)},e.prototype.multiply=function(r){if(this.isZero()||r.isZero())return this._field.getZero();for(var n=this._coefficients,i=n.length,o=r._coefficients,a=o.length,s=new Array(i+(a-1)),l=0;l<i;l++)for(var u=n[l],c=0;c<a;c++)s[l+c]=t.GF256.addOrSubtract(s[l+c],this._field.multiply(u,o[c]));return new e(this._field,s)},e.prototype.multiply1=function(t){if(0==t)return this._field.getZero();if(1==t)return this;for(var r=this._coefficients.length,n=new Array(r),i=0;i<r;i++)n[i]=this._field.multiply(this._coefficients[i],t);return new e(this._field,n)},e.prototype.multiplyByMonomial=function(t,r){if(0==r)return this._field.getZero();for(var n=this._coefficients.length,i=new Array(n+t),o=0;o<n;o++)i[o]=this._field.multiply(this._coefficients[o],r);return new e(this._field,i)},e.prototype.divide=function(t){var e=this._field.getZero(),r=this,n=t.getCoefficient(t.getDegree()),i=this._field.inverse(n);while(r.getDegree()>=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<i-1;o++)for(var a=0;a<n-1;a++){var s=r[o][a];s==r[o][a+1]&&s==r[o+1][a]&&s==r[o+1][a+1]&&(e+=3)}return e},t.applyMaskPenaltyRule3=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o<i;o++)for(var a=0;a<n;a++)a+6<n&&1==r[o][a]&&0==r[o][a+1]&&1==r[o][a+2]&&1==r[o][a+3]&&1==r[o][a+4]&&0==r[o][a+5]&&1==r[o][a+6]&&(a+10<n&&0==r[o][a+7]&&0==r[o][a+8]&&0==r[o][a+9]&&0==r[o][a+10]||a-4>=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<i&&1==r[o][a]&&0==r[o+1][a]&&1==r[o+2][a]&&1==r[o+3][a]&&1==r[o+4][a]&&0==r[o+5][a]&&1==r[o+6][a]&&(o+10<i&&0==r[o+7][a]&&0==r[o+8][a]&&0==r[o+9][a]&&0==r[o+10][a]||o-4>=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<i;o++)for(var a=0;a<n;a++)1==r[o][a]&&e++;var s,l=e/(t.getHeight()*t.getWidth());return Math.abs(100*l-50)/(5*10)},t.getDataMaskBit=function(t,e,r){var n,i;switch(t){case 0:i=r+e&1;break;case 1:i=1&r;break;case 2:i=e%3;break;case 3:i=(r+e)%3;break;case 4:i=(r>>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;l<o;++l){for(var u=0;u<a;++u){var c=e?s[l][u]:s[u][l];c==i?5==(n+=1)?r+=3:n>5&&(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;a<o.size();a++){var s=o.at(o.size()-1-a),l=this.TYPE_INFO_COORDINATES[a][0],u=this.TYPE_INFO_COORDINATES[a][1];if(i.set(l,u,s),a<8){var c=i.getWidth()-a-1,p=8;i.set(c,p,s)}else{var c=8,p=i.getHeight()-7+(a-8);i.set(c,p,s)}}},e.MaybeEmbedVersionInfo=function(r,n){if(r<7)return;var i=new t.BitVector;e.MakeVersionInfoBits(r,i);for(var o=6*3-1,a=0;a<6;++a)for(var s=0;s<3;++s){var l=i.at(o);o--,n.set(a,n.getHeight()-11+s,l),n.set(n.getHeight()-11+s,a,l)}},e.EmbedDataBits=function(r,n,i){var o=0,a=-1,s=i.getWidth()-1,l=i.getHeight()-1;while(s>0){6==s&&(s-=1);while(l>=0&&l<i.getHeight()){for(var u=0;u<2;++u){var c=s-u;if(10==c&&8==l)var p=1;if(!e.IsEmpty(i.get(c,l)))continue;var h=void 0;o<r.size()?(h=r.at(o),++o):h=0,-1!=n&&t.MaskUtil.getDataMaskBit(n,c,l)&&(h^=1),i.set(c,l,h)}l+=a}l+=a=-a,s-=2}},e.FindMSBSet=function(t){var e=t,r=0;while(0!=e)e>>=1,++r;return r},e.CalculateBCHCode=function(t,r){var n=e.FindMSBSet(r);t<<=n-1;while(this.FindMSBSet(t)>=n)t^=r<<this.FindMSBSet(t)-n;return t},e.MakeTypeInfoBits=function(r,n,i){var o=r.getBits()<<3|n;i.appendBits(o,5);var a=e.CalculateBCHCode(o,this.TYPE_INFO_POLY);i.appendBits(a,10);var s=new t.BitVector;s.appendBits(this.TYPE_INFO_MASK_PATTERN,15),i.xor(s)},e.MakeVersionInfoBits=function(t,r){r.appendBits(t,6);var n=e.CalculateBCHCode(t,this.VERSION_INFO_POLY);r.appendBits(n,12)},e.IsEmpty=function(t){return-1==t},e.IsValidValue=function(t){return-1==t||0==t||1==t},e.EmbedTimingPatterns=function(t){for(var r=8;r<t.getWidth()-8;r++){var n=Math.floor((r+1)%2);e.IsEmpty(t.get(r,6))&&t.set(r,6,n),e.IsEmpty(t.get(6,r))&&t.set(6,r,n)}},e.EmbedDarkDotAtLeftBottomCorner=function(t){t.set(8,t.getHeight()-8,1)},e.EmbedHorizontalSeparationPattern=function(t,e,r){for(var n=0;n<8;++n)r.set(t+n,e,this.HORIZONTAL_SEPARATION_PATTERN[0][n])},e.EmbedVerticalSeparationPattern=function(t,e,r){for(var n=0;n<7;++n)r.set(t,e+n,this.VERTICAL_SEPARATION_PATTERN[n][0])},e.EmbedPositionAdjustmentPattern=function(t,e,r){for(var n=0;n<5;n++)for(var i=0;i<5;i++)r.set(t+i,e+n,this.POSITION_ADJUSTMENT_PATTERN[n][i])},e.EmbedPositionDetectionPattern=function(t,e,r){for(var n=0;n<7;n++)for(var i=0;i<7;i++)r.set(t+i,e+n,this.POSITION_DETECTION_PATTERN[n][i])},e.EmbedPositionDetectionPatternsAndSeparators=function(t){var r=this.POSITION_DETECTION_PATTERN[0].length;e.EmbedPositionDetectionPattern(0,0,t),e.EmbedPositionDetectionPattern(t.getWidth()-r,0,t),e.EmbedPositionDetectionPattern(0,t.getWidth()-r,t);var n=this.HORIZONTAL_SEPARATION_PATTERN[0].length;e.EmbedHorizontalSeparationPattern(0,n-1,t),e.EmbedHorizontalSeparationPattern(t.getWidth()-n,n-1,t),e.EmbedHorizontalSeparationPattern(0,t.getWidth()-n,t);var i=this.VERTICAL_SEPARATION_PATTERN.length;e.EmbedVerticalSeparationPattern(i,0,t),e.EmbedVerticalSeparationPattern(t.getHeight()-i-1,0,t),e.EmbedVerticalSeparationPattern(i,t.getHeight()-i,t)},e.MaybeEmbedPositionAdjustmentPatterns=function(t,r){if(t<2)return;for(var n=t-1,i=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],o=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n].length,a=0;a<o;a++)for(var s=0;s<o;s++){var l=i[a],u=i[s];if(-1==u||-1==l)continue;e.IsEmpty(r.get(u,l))&&e.EmbedPositionAdjustmentPattern(u-2,l-2,r)}},e.POSITION_DETECTION_PATTERN=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],e.HORIZONTAL_SEPARATION_PATTERN=[[0,0,0,0,0,0,0,0]],e.VERTICAL_SEPARATION_PATTERN=[[0],[0],[0],[0],[0],[0],[0]],e.POSITION_ADJUSTMENT_PATTERN=[[1,1,1,1,1],[1,0,0,0,1],[1,0,1,0,1],[1,0,0,0,1],[1,1,1,1,1]],e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=[[-1,-1,-1,-1,-1,-1,-1],[6,18,-1,-1,-1,-1,-1],[6,22,-1,-1,-1,-1,-1],[6,26,-1,-1,-1,-1,-1],[6,30,-1,-1,-1,-1,-1],[6,34,-1,-1,-1,-1,-1],[6,22,38,-1,-1,-1,-1],[6,24,42,-1,-1,-1,-1],[6,26,46,-1,-1,-1,-1],[6,28,50,-1,-1,-1,-1],[6,30,54,-1,-1,-1,-1],[6,32,58,-1,-1,-1,-1],[6,34,62,-1,-1,-1,-1],[6,26,46,66,-1,-1,-1],[6,26,48,70,-1,-1,-1],[6,26,50,74,-1,-1,-1],[6,30,54,78,-1,-1,-1],[6,30,56,82,-1,-1,-1],[6,30,58,86,-1,-1,-1],[6,34,62,90,-1,-1,-1],[6,28,50,72,94,-1,-1],[6,26,50,74,98,-1,-1],[6,30,54,78,102,-1,-1],[6,28,54,80,106,-1,-1],[6,32,58,84,110,-1,-1],[6,30,58,86,114,-1,-1],[6,34,62,90,118,-1,-1],[6,26,50,74,98,122,-1],[6,30,54,78,102,126,-1],[6,26,52,78,104,130,-1],[6,30,56,82,108,134,-1],[6,34,60,86,112,138,-1],[6,30,58,86,114,142,-1],[6,34,62,90,118,146,-1],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],e.TYPE_INFO_COORDINATES=[[8,0],[8,1],[8,2],[8,3],[8,4],[8,5],[8,7],[8,8],[7,8],[5,8],[4,8],[3,8],[2,8],[1,8],[0,8]],e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();t.MatrixUtil=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(t,e,r){this.characterCountBitsForVersions=t,this.bits=e,this.name=r}return t.ForBits=function(t){switch(t){case 0:return this.TERMINATOR;case 1:return this.NUMERIC;case 2:return this.ALPHANUMERIC;case 3:return this.STRUCTURED_APPEND;case 4:return this.BYTE;case 5:return this.FNC1_FIRST_POSITION;case 7:return this.ECI;case 8:return this.KANJI;case 9:return this.FNC1_SECOND_POSITION}throw new Error("")},t.prototype.GetCharacterCountBits=function(t){var e=t.getVersionNumber(),r;return r=e<=9?0:e<=26?1:2,this.characterCountBitsForVersions[r]},t.prototype.GetBits=function(){return this.bits},t.prototype.GetName=function(){return this.name},t.prototype.ToString=function(){return this.name},t.TERMINATOR=new t([0,0,0],0,"TERMINATOR"),t.NUMERIC=new t([10,12,14],1,"NUMERIC"),t.ALPHANUMERIC=new t([9,11,13],2,"ALPHANUMERIC"),t.STRUCTURED_APPEND=new t([0,0,0],3,"STRUCTURED_APPEND"),t.BYTE=new t([8,16,16],4,"BYTE"),t.ECI=new t(null,7,"ECI"),t.KANJI=new t([8,10,12],8,"KANJI"),t.FNC1_FIRST_POSITION=new t(null,5,"FNC1_FIRST_POSITION"),t.FNC1_SECOND_POSITION=new t(null,9,"FNC1_SECOND_POSITION"),t}();t.Mode=e}(e=t.BarCodes||(t.BarCodes={}))}(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.Text.Encoding,i=function(){function i(){}return i.CalculateMaskPenalty=function(t){var r=0;return r+=e.MaskUtil.applyMaskPenaltyRule1(t),r+=e.MaskUtil.applyMaskPenaltyRule2(t),r+=e.MaskUtil.applyMaskPenaltyRule3(t),r+=e.MaskUtil.applyMaskPenaltyRule4(t)},i.Encode=function(t,r,n){var o=i.BYTE_MODE_UTF8,a=o,s=i.ChooseMode1(t,a);s==e.Mode.BYTE&&o!=i.BYTE_MODE_UTF8&&(a=i.GetEncodingName(t,o));var l=new e.BitVector;i.AppendBytes(t,s,l,a);var u=l.sizeInBytes();i.InitQRCode(u,r,s,n);var c=new e.BitVector;if(s==e.Mode.BYTE&&!i.defaultECIByteModeEncoding.stimulsoft.equals(a)&&a!=i.BYTE_MODE_UTF8){var p=e.CharacterSetECI.getCharacterSetECIByName(a);null!=p&&i.AppendECI(p,c)}i.AppendModeInfo(s,c);var h=s.stimulsoft.equals(e.Mode.BYTE)?l.sizeInBytes():t.length;i.AppendLengthInfo(h,n.GetVersion(),s,c),c.appendBitVector(l),i.TerminateBits(n.GetNumDataBytes(),c);var m=new e.BitVector;i.InterleaveWithECBytes(c,n.GetNumTotalBytes(),n.GetNumDataBytes(),n.GetNumRSBlocks(),m);var f=new e.ByteMatrix(n.GetMatrixWidth(),n.GetMatrixWidth());n.SetMaskPattern(i.ChooseMaskPattern(m,n.GetECLevel(),n.GetVersion(),f)),e.MatrixUtil.BuildMatrix(m,n.GetECLevel(),n.GetVersion(),n.GetMaskPattern(),f),n.SetMatrix(f)},i.GetEncodingName=function(t,e){return e},i.GetAlphanumericCode=function(t){if(t<i.ALPHANUMERIC_TABLE.length)return i.ALPHANUMERIC_TABLE[t];return-1},i.ChooseMode=function(t){return i.ChooseMode1(t,null)},i.ChooseMode1=function(t,r){for(var n=!1,o=!1,a=0;a<t.length;a++){var s=t[a];if(s>="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<e.StiQRCode.NUM_MASK_PATTERNS;l++){e.MatrixUtil.BuildMatrix(t,r,n,l,o);var u=i.CalculateMaskPenalty(o);u<a&&(a=u,s=l)}return s},i.InitQRCode=function(t,r,n,i){i.SetECLevel(r),i.SetMode(n);for(var o=1;o<=40;o++){var a=e.Version.getVersionForNumber(o),s=a.getTotalCodewords(),l=a.getECBlocksForLevel(r),u=l.getTotalECCodewords(),c=l.getNumBlocks(),p=s-u;if(p>=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()<r;n++)e.appendBit(0);var i=e.size()%8;if(i>0)for(var o=8-i,n=0;n<o;n++)e.appendBit(0);for(var a=t-e.sizeInBytes(),n=0;n<a;n++)n%2==0?e.appendBits(236,8):e.appendBits(17,8)},i.GetNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,i,o){var a=Math.trunc(t%r),s=Math.trunc(r-a),l=Math.trunc(t/r),u=Math.trunc(l+1),c=Math.trunc(e/r),p=Math.trunc(c+1),h=Math.trunc(l-c),m=Math.trunc(u-p);n<s?(i[0]=c,o[0]=h):(i[0]=p,o[0]=m)},i.InterleaveWithECBytes=function(t,n,o,a,s){for(var l=0,u=0,c=0,p=r.create(e.BlockPair,a),h=0;h<a;h++){var m=new Array(1),f=new Array(1),d;i.GetNumDataBytesAndNumECBytesForBlockID(n,o,a,h,m,f),(d=new e.ByteArray).set1(t.getArray(),l,m[0]);var g=i.GenerateECBytes(d,f[0]);p[h]=new e.BlockPair(d,g),u=Math.max(u,d.size()),c=Math.max(c,g.size()),l+=m[0]}for(var h=0;h<u;h++)for(var S=0;S<p.length;S++){var d;h<(d=p[S].getDataBytes()).size()&&s.appendBits(d.at(h),8)}for(var h=0;h<c;h++)for(var S=0;S<p.length;S++){var g;h<(g=p[S].getErrorCorrectionBytes()).size()&&s.appendBits(g.at(h),8)}},i.GenerateECBytes=function(t,r){for(var n=t.size(),i=new Array(n+r),o=0;o<n;o++)i[o]=t.at(o);new e.ReedSolomonEncoder(e.GF256.QR_CODE_FIELD).Encode(i,r);for(var a=new e.ByteArray(r),o=0;o<r;o++)a.set(o,i[n+o]);return a},i.AppendModeInfo=function(t,e){e.appendBits(t.GetBits(),4)},i.AppendLengthInfo=function(t,r,n,i){var o=n.GetCharacterCountBits(e.Version.getVersionForNumber(r));i.appendBits(t,o)},i.AppendBytes=function(t,r,n,o){r.stimulsoft.equals(e.Mode.NUMERIC)?i.AppendNumericBytes(t,n):r.stimulsoft.equals(e.Mode.ALPHANUMERIC)?i.AppendAlphanumericBytes(t,n):r.stimulsoft.equals(e.Mode.BYTE)?i.Append8BitBytes(t,n,o):r.stimulsoft.equals(e.Mode.KANJI)&&i.AppendKanjiBytes(t,n)},i.AppendNumericBytes=function(t,e){var r=t.length,n=0;while(n<r){var i=t.charCodeAt(n)-48;if(n+2<r){var o=t.charCodeAt(n+1)-48,a=t.charCodeAt(n+2)-48;e.appendBits(100*i+(10*o+a),10),n+=3}else if(n+1<r){var o=t.charCodeAt(n+1)-48;e.appendBits(10*i+o,7),n+=2}else e.appendBits(i,4),n++}},i.AppendAlphanumericBytes=function(t,e){var r=t.length,n=0;while(n<r){var o=i.GetAlphanumericCode(t.charCodeAt(n));if(n+1<r){var a=i.GetAlphanumericCode(t.charCodeAt(n+1));e.appendBits(45*o+a,11),n+=2}else e.appendBits(o,6),n++}},i.Append8BitBytes=function(e,r,o){var a;try{a=n.UTF8.getBytes(e)}catch(e){t.System.StiError.showError(e.message,!1)}o==i.BYTE_MODE_UTF8&&StiOptions.Engine.barcodeQRCodeAllowUnicodeBOM&&(r.appendBits(239,8),r.appendBits(187,8),r.appendBits(191,8));for(var s=0;s<a.length;s++)r.appendBits(a[s],8)},i.AppendKanjiBytes=function(t,e){for(var r,n=r.length,i=0;i<n;i+=2){var o,a,s=(255&r[i])+8|255&r[i+1],l=-1;s>=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<u;c++)e[n+c]=0;for(var p=0;p<l.length;p++)e[n+u+p]=l[p]},e}();t.ReedSolomonEncoder=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(){this._mode=null,this._ecLevel=null,this._version=-1,this._matrixWidth=-1,this._maskPattern=-1,this._numTotalBytes=-1,this._numDataBytes=-1,this._numECBytes=-1,this._numRSBlocks=-1,this._matrix=null}return t.prototype.GetMode=function(){return this._mode},t.prototype.GetECLevel=function(){return this._ecLevel},t.prototype.GetVersion=function(){return this._version},t.prototype.GetMatrixWidth=function(){return this._matrixWidth},t.prototype.GetMaskPattern=function(){return this._maskPattern},t.prototype.GetNumTotalBytes=function(){return this._numTotalBytes},t.prototype.GetNumDataBytes=function(){return this._numDataBytes},t.prototype.GetNumECBytes=function(){return this._numECBytes},t.prototype.GetNumRSBlocks=function(){return this._numRSBlocks},t.prototype.GetMatrix=function(){return this._matrix},t.prototype.At=function(t,e){var r;return this._matrix.get(t,e)},t.prototype.IsValid=function(){return null!=this._mode&&null!=this._ecLevel&&-1!=this._version&&-1!=this._matrixWidth&&-1!=this._maskPattern&&-1!=this._numTotalBytes&&-1!=this._numDataBytes&&-1!=this._numECBytes&&-1!=this._numRSBlocks&&t.IsValidMaskPattern(this._maskPattern)&&this._numTotalBytes==this._numDataBytes+this._numECBytes&&null!=this._matrix&&this._matrixWidth==this._matrix.getWidth()&&this._matrix.getWidth()==this._matrix.getHeight()},t.prototype.SetMode=function(t){this._mode=t},t.prototype.SetECLevel=function(t){this._ecLevel=t},t.prototype.SetVersion=function(t){this._version=t},t.prototype.SetMatrixWidth=function(t){this._matrixWidth=t},t.prototype.SetMaskPattern=function(t){this._maskPattern=t},t.prototype.SetNumTotalBytes=function(t){this._numTotalBytes=t},t.prototype.SetNumDataBytes=function(t){this._numDataBytes=t},t.prototype.SetNumECBytes=function(t){this._numECBytes=t},t.prototype.SetNumRSBlocks=function(t){this._numRSBlocks=t},t.prototype.SetMatrix=function(t){this._matrix=t},t.IsValidMaskPattern=function(t){return t>=0&&t<this.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}();t.StiQRCode=e}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=function(){function t(t,e){this._count=t,this._dataCodewords=e}return t.prototype.getCount=function(){return this._count},t.prototype.getDataCodewords=function(){return this._dataCodewords},t}();e.ECB=r;var n=function(){function t(t,e,n){void 0===n&&(n=new r(0,0)),this.ecCodewordsPerBlock=t,this.ecBlocks=[e,n]}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){for(var t=0,e=0;e<this.ecBlocks.length;e++)t+=this.ecBlocks[e].getCount();return t},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();e.ECBlocks=n;var i=function(){function i(t,e,r,n,i,o){this._versionNumber=t,this._alignmentPatternCenters=e,this._ecBlocks=[r,n,i,o];for(var a=0,s=r.getECCodewordsPerBlock(),l=r.getECBlocks(),u=0;u<l.length;u++){var c=l[u];a+=c.getCount()*(c.getDataCodewords()+s)}this._totalCodewords=a}return i.BuildVersions=function(){return[new i(1,[],new n(7,new r(1,19)),new n(10,new r(1,16)),new n(13,new r(1,13)),new n(17,new r(1,9))),new i(2,[6,18],new n(10,new r(1,34)),new n(16,new r(1,28)),new n(22,new r(1,22)),new n(28,new r(1,16))),new i(3,[6,22],new n(15,new r(1,55)),new n(26,new r(1,44)),new n(18,new r(2,17)),new n(22,new r(2,13))),new i(4,[6,26],new n(20,new r(1,80)),new n(18,new r(2,32)),new n(26,new r(2,24)),new n(16,new r(4,9))),new i(5,[6,30],new n(26,new r(1,108)),new n(24,new r(2,43)),new n(18,new r(2,15),new r(2,16)),new n(22,new r(2,11),new r(2,12))),new i(6,[6,34],new n(18,new r(2,68)),new n(16,new r(4,27)),new n(24,new r(4,19)),new n(28,new r(4,15))),new i(7,[6,22,38],new n(20,new r(2,78)),new n(18,new r(4,31)),new n(18,new r(2,14),new r(4,15)),new n(26,new r(4,13),new r(1,14))),new i(8,[6,24,42],new n(24,new r(2,97)),new n(22,new r(2,38),new r(2,39)),new n(22,new r(4,18),new r(2,19)),new n(26,new r(4,14),new r(2,15))),new i(9,[6,26,46],new n(30,new r(2,116)),new n(22,new r(3,36),new r(2,37)),new n(20,new r(4,16),new r(4,17)),new n(24,new r(4,12),new r(4,13))),new i(10,[6,28,50],new n(18,new r(2,68),new r(2,69)),new n(26,new r(4,43),new r(1,44)),new n(24,new r(6,19),new r(2,20)),new n(28,new r(6,15),new r(2,16))),new i(11,[6,30,54],new n(20,new r(4,81)),new n(30,new r(1,50),new r(4,51)),new n(28,new r(4,22),new r(4,23)),new n(24,new r(3,12),new r(8,13))),new i(12,[6,32,58],new n(24,new r(2,92),new r(2,93)),new n(22,new r(6,36),new r(2,37)),new n(26,new r(4,20),new r(6,21)),new n(28,new r(7,14),new r(4,15))),new i(13,[6,34,62],new n(26,new r(4,107)),new n(22,new r(8,37),new r(1,38)),new n(24,new r(8,20),new r(4,21)),new n(22,new r(12,11),new r(4,12))),new i(14,[6,26,46,66],new n(30,new r(3,115),new r(1,116)),new n(24,new r(4,40),new r(5,41)),new n(20,new r(11,16),new r(5,17)),new n(24,new r(11,12),new r(5,13))),new i(15,[6,26,48,70],new n(22,new r(5,87),new r(1,88)),new n(24,new r(5,41),new r(5,42)),new n(30,new r(5,24),new r(7,25)),new n(24,new r(11,12),new r(7,13))),new i(16,[6,26,50,74],new n(24,new r(5,98),new r(1,99)),new n(28,new r(7,45),new r(3,46)),new n(24,new r(15,19),new r(2,20)),new n(30,new r(3,15),new r(13,16))),new i(17,[6,30,54,78],new n(28,new r(1,107),new r(5,108)),new n(28,new r(10,46),new r(1,47)),new n(28,new r(1,22),new r(15,23)),new n(28,new r(2,14),new r(17,15))),new i(18,[6,30,56,82],new n(30,new r(5,120),new r(1,121)),new n(26,new r(9,43),new r(4,44)),new n(28,new r(17,22),new r(1,23)),new n(28,new r(2,14),new r(19,15))),new i(19,[6,30,58,86],new n(28,new r(3,113),new r(4,114)),new n(26,new r(3,44),new r(11,45)),new n(26,new r(17,21),new r(4,22)),new n(26,new r(9,13),new r(16,14))),new i(20,[6,34,62,90],new n(28,new r(3,107),new r(5,108)),new n(26,new r(3,41),new r(13,42)),new n(30,new r(15,24),new r(5,25)),new n(28,new r(15,15),new r(10,16))),new i(21,[6,28,50,72,94],new n(28,new r(4,116),new r(4,117)),new n(26,new r(17,42)),new n(28,new r(17,22),new r(6,23)),new n(30,new r(19,16),new r(6,17))),new i(22,[6,26,50,74,98],new n(28,new r(2,111),new r(7,112)),new n(28,new r(17,46)),new n(30,new r(7,24),new r(16,25)),new n(24,new r(34,13))),new i(23,[6,30,54,74,102],new n(30,new r(4,121),new r(5,122)),new n(28,new r(4,47),new r(14,48)),new n(30,new r(11,24),new r(14,25)),new n(30,new r(16,15),new r(14,16))),new i(24,[6,28,54,80,106],new n(30,new r(6,117),new r(4,118)),new n(28,new r(6,45),new r(14,46)),new n(30,new r(11,24),new r(16,25)),new n(30,new r(30,16),new r(2,17))),new i(25,[6,32,58,84,110],new n(26,new r(8,106),new r(4,107)),new n(28,new r(8,47),new r(13,48)),new n(30,new r(7,24),new r(22,25)),new n(30,new r(22,15),new r(13,16))),new i(26,[6,30,58,86,114],new n(28,new r(10,114),new r(2,115)),new n(28,new r(19,46),new r(4,47)),new n(28,new r(28,22),new r(6,23)),new n(30,new r(33,16),new r(4,17))),new i(27,[6,34,62,90,118],new n(30,new r(8,122),new r(4,123)),new n(28,new r(22,45),new r(3,46)),new n(30,new r(8,23),new r(26,24)),new n(30,new r(12,15),new r(28,16))),new i(28,[6,26,50,74,98,122],new n(30,new r(3,117),new r(10,118)),new n(28,new r(3,45),new r(23,46)),new n(30,new r(4,24),new r(31,25)),new n(30,new r(11,15),new r(31,16))),new i(29,[6,30,54,78,102,126],new n(30,new r(7,116),new r(7,117)),new n(28,new r(21,45),new r(7,46)),new n(30,new r(1,23),new r(37,24)),new n(30,new r(19,15),new r(26,16))),new i(30,[6,26,52,78,104,130],new n(30,new r(5,115),new r(10,116)),new n(28,new r(19,47),new r(10,48)),new n(30,new r(15,24),new r(25,25)),new n(30,new r(23,15),new r(25,16))),new i(31,[6,30,56,82,108,134],new n(30,new r(13,115),new r(3,116)),new n(28,new r(2,46),new r(29,47)),new n(30,new r(42,24),new r(1,25)),new n(30,new r(23,15),new r(28,16))),new i(32,[6,34,60,86,112,138],new n(30,new r(17,115)),new n(28,new r(10,46),new r(23,47)),new n(30,new r(10,24),new r(35,25)),new n(30,new r(19,15),new r(35,16))),new i(33,[6,30,58,86,114,142],new n(30,new r(17,115),new r(1,116)),new n(28,new r(14,46),new r(21,47)),new n(30,new r(29,24),new r(19,25)),new n(30,new r(11,15),new r(46,16))),new i(34,[6,34,62,90,118,146],new n(30,new r(13,115),new r(6,116)),new n(28,new r(14,46),new r(23,47)),new n(30,new r(44,24),new r(7,25)),new n(30,new r(59,16),new r(1,17))),new i(35,[6,30,54,78,102,126,150],new n(30,new r(12,121),new r(7,122)),new n(28,new r(12,47),new r(26,48)),new n(30,new r(39,24),new r(14,25)),new n(30,new r(22,15),new r(41,16))),new i(36,[6,24,50,76,102,128,154],new n(30,new r(6,121),new r(14,122)),new n(28,new r(6,47),new r(34,48)),new n(30,new r(46,24),new r(10,25)),new n(30,new r(2,15),new r(64,16))),new i(37,[6,28,54,80,106,132,158],new n(30,new r(17,122),new r(4,123)),new n(28,new r(29,46),new r(14,47)),new n(30,new r(49,24),new r(10,25)),new n(30,new r(24,15),new r(46,16))),new i(38,[6,32,58,84,110,136,162],new n(30,new r(4,122),new r(18,123)),new n(28,new r(13,46),new r(32,47)),new n(30,new r(48,24),new r(14,25)),new n(30,new r(42,15),new r(32,16))),new i(39,[6,26,54,82,110,138,166],new n(30,new r(20,117),new r(4,118)),new n(28,new r(40,47),new r(7,48)),new n(30,new r(43,24),new r(22,25)),new n(30,new r(10,15),new r(67,16))),new i(40,[6,30,58,86,114,142,170],new n(30,new r(19,118),new r(6,119)),new n(28,new r(18,47),new r(31,48)),new n(30,new r(34,24),new r(34,25)),new n(30,new r(20,15),new r(61,16)))]},i.prototype.getVersionNumber=function(){return this._versionNumber},i.prototype.getAlignmentPatternCenters=function(){return this._alignmentPatternCenters},i.prototype.getTotalCodewords=function(){return this._totalCodewords},i.prototype.getDimensionForVersion=function(){return 17+4*this._versionNumber},i.prototype.getECBlocksForLevel=function(t){return this._ecBlocks[t.ordinal()]},i.getProvisionalVersionForDimension=function(e){try{return this.getVersionForNumber(e-17>>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<this.VERSION_DECODE_INFO.length;o++){var a=this.VERSION_DECODE_INFO[o];if(a==t)return i.getVersionForNumber(o+7);var s=e.FormatInformation.numBitsDiffering(t,a);s<r&&(n=o+7,r=s)}if(r<=3)return i.getVersionForNumber(n);return null},i.prototype.toString=function(){return this._versionNumber.toString()},i.VERSION_DECODE_INFO=[31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017],i.VERSIONS=i.BuildVersions(),i}();e.Version=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,r,n,i,o,a,s,l,u,c,p,h,m,f,d;!function(t){t[t["None"]=0]="None",t[t["A"]=1]="A",t[t["B"]=2]="B",t[t["C"]=3]="C"}(e=t.CodeSet||(t.CodeSet={})),function(t){t[t["FNC1"]=129]="FNC1",t[t["FNC2"]=130]="FNC2",t[t["FNC3"]=131]="FNC3",t[t["FNC4"]=132]="FNC4",t[t["CodeA"]=133]="CodeA",t[t["CodeB"]=134]="CodeB",t[t["CodeC"]=135]="CodeC",t[t["Shift"]=136]="Shift"}(r=t.ControlCodes||(t.ControlCodes={})),function(t){t[t["FNC1"]=102]="FNC1",t[t["FNC2"]=97]="FNC2",t[t["FNC3"]=96]="FNC3",t[t["FNC4A"]=101]="FNC4A",t[t["FNC4B"]=100]="FNC4B",t[t["CodeA"]=101]="CodeA",t[t["CodeB"]=100]="CodeB",t[t["CodeC"]=99]="CodeC",t[t["Shift"]=98]="Shift",t[t["StartA"]=103]="StartA",t[t["StartB"]=104]="StartB",t[t["StartC"]=105]="StartC",t[t["Stop"]=106]="Stop"}(n=t.BarcodeCommands||(t.BarcodeCommands={})),function(t){t[t["Yes"]=0]="Yes",t[t["No"]=1]="No"}(i=t.StiCheckSum||(t.StiCheckSum={})),function(t){t[t["None"]=0]="None",t[t["Modulo10"]=1]="Modulo10",t[t["Modulo11"]=2]="Modulo11"}(o=t.StiPlesseyCheckSum||(t.StiPlesseyCheckSum={})),function(t){t[t["Automatic"]=-1]="Automatic",t[t["s10x10"]=0]="s10x10",t[t["s12x12"]=1]="s12x12",t[t["s8x18"]=2]="s8x18",t[t["s14x14"]=3]="s14x14",t[t["s8x32"]=4]="s8x32",t[t["s16x16"]=5]="s16x16",t[t["s12x26"]=6]="s12x26",t[t["s18x18"]=7]="s18x18",t[t["s20x20"]=8]="s20x20",t[t["s12x36"]=9]="s12x36",t[t["s22x22"]=10]="s22x22",t[t["s16x36"]=11]="s16x36",t[t["s24x24"]=12]="s24x24",t[t["s26x26"]=13]="s26x26",t[t["s16x48"]=14]="s16x48",t[t["s32x32"]=15]="s32x32",t[t["s36x36"]=16]="s36x36",t[t["s40x40"]=17]="s40x40",t[t["s44x44"]=18]="s44x44",t[t["s48x48"]=19]="s48x48",t[t["s52x52"]=20]="s52x52",t[t["s64x64"]=21]="s64x64",t[t["s72x72"]=22]="s72x72",t[t["s80x80"]=23]="s80x80",t[t["s88x88"]=24]="s88x88",t[t["s96x96"]=25]="s96x96",t[t["s104x104"]=26]="s104x104",t[t["s120x120"]=27]="s120x120",t[t["s132x132"]=28]="s132x132",t[t["s144x144"]=29]="s144x144"}(a=t.StiDataMatrixSize||(t.StiDataMatrixSize={})),function(t){t[t["Ascii"]=0]="Ascii",t[t["C40"]=1]="C40",t[t["Text"]=2]="Text",t[t["X12"]=3]="X12",t[t["Edifact"]=4]="Edifact",t[t["Binary"]=5]="Binary"}(s=t.StiDataMatrixEncodingType||(t.StiDataMatrixEncodingType={})),function(t){t[t["Text"]=0]="Text",t[t["Numeric"]=1]="Numeric",t[t["Byte"]=2]="Byte"}(l=t.StiPdf417EncodingMode||(t.StiPdf417EncodingMode={})),function(t){t[t["Automatic"]=-1]="Automatic",t[t["Level0"]=0]="Level0",t[t["Level1"]=1]="Level1",t[t["Level2"]=2]="Level2",t[t["Level3"]=3]="Level3",t[t["Level4"]=4]="Level4",t[t["Level5"]=5]="Level5",t[t["Level6"]=6]="Level6",t[t["Level7"]=7]="Level7",t[t["Level8"]=8]="Level8"}(u=t.StiPdf417ErrorsCorrectionLevel||(t.StiPdf417ErrorsCorrectionLevel={})),function(t){t[t["None"]=0]="None",t[t["TwoDigit"]=1]="TwoDigit",t[t["FiveDigit"]=2]="FiveDigit"}(c=t.StiEanSupplementType||(t.StiEanSupplementType={})),function(t){t[t["None"]=0]="None",t[t["OneDigit"]=1]="OneDigit",t[t["TwoDigits"]=2]="TwoDigits",t[t["Auto"]=3]="Auto"}(p=t.StiCode11CheckSum||(t.StiCode11CheckSum={})),function(t){t[t["Automatic"]=0]="Automatic",t[t["v1"]=1]="v1",t[t["v2"]=2]="v2",t[t["v3"]=3]="v3",t[t["v4"]=4]="v4",t[t["v5"]=5]="v5",t[t["v6"]=6]="v6",t[t["v7"]=7]="v7",t[t["v8"]=8]="v8",t[t["v9"]=9]="v9",t[t["v10"]=10]="v10",t[t["v11"]=11]="v11",t[t["v12"]=12]="v12",t[t["v13"]=13]="v13",t[t["v14"]=14]="v14",t[t["v15"]=15]="v15",t[t["v16"]=16]="v16",t[t["v17"]=17]="v17",t[t["v18"]=18]="v18",t[t["v19"]=19]="v19",t[t["v20"]=20]="v20",t[t["v21"]=21]="v21",t[t["v22"]=22]="v22",t[t["v23"]=23]="v23",t[t["v24"]=24]="v24",t[t["v25"]=25]="v25",t[t["v26"]=26]="v26",t[t["v27"]=27]="v27",t[t["v28"]=28]="v28",t[t["v29"]=29]="v29",t[t["v30"]=30]="v30",t[t["v31"]=31]="v31",t[t["v32"]=32]="v32",t[t["v33"]=33]="v33",t[t["v34"]=34]="v34",t[t["v35"]=35]="v35",t[t["v36"]=36]="v36",t[t["v37"]=37]="v37",t[t["v38"]=38]="v38",t[t["v39"]=39]="v39",t[t["v40"]=40]="v40"}(h=t.StiQRCodeSize||(t.StiQRCodeSize={})),function(t){t[t["Level1"]=0]="Level1",t[t["Level2"]=1]="Level2",t[t["Level3"]=2]="Level3",t[t["Level4"]=3]="Level4"}(m=t.StiQRCodeErrorCorrectionLevel||(t.StiQRCodeErrorCorrectionLevel={})),function(t){t[t["Cp437"]=2]="Cp437",t[t["ISO_8859_1"]=3]="ISO_8859_1",t[t["ISO_8859_2"]=4]="ISO_8859_2",t[t["ISO_8859_3"]=5]="ISO_8859_3",t[t["ISO_8859_4"]=6]="ISO_8859_4",t[t["ISO_8859_5"]=7]="ISO_8859_5",t[t["ISO_8859_6"]=8]="ISO_8859_6",t[t["ISO_8859_7"]=9]="ISO_8859_7",t[t["ISO_8859_8"]=10]="ISO_8859_8",t[t["ISO_8859_9"]=11]="ISO_8859_9",t[t["ISO_8859_11"]=13]="ISO_8859_11",t[t["ISO_8859_13"]=15]="ISO_8859_13",t[t["ISO_8859_15"]=17]="ISO_8859_15",t[t["Shift_JIS"]=20]="Shift_JIS",t[t["Windows_1250"]=21]="Windows_1250",t[t["Windows_1251"]=22]="Windows_1251",t[t["Windows_1252"]=23]="Windows_1252",t[t["Windows_1256"]=24]="Windows_1256",t[t["UTF_8"]=26]="UTF_8"}(f=t.StiQRCodeECIMode||(t.StiQRCodeECIMode={})),function(t){t[t["Mode2"]=2]="Mode2",t[t["Mode3"]=3]="Mode3",t[t["Mode4"]=4]="Mode4",t[t["Mode5"]=5]="Mode5",t[t["Mode6"]=6]="Mode6"}(d=t.StiMaxicodeMode||(t.StiMaxicodeMode={}))}(e=t.BarCodes||(t.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBarCode="IStiBarCode"}(e=t.BarCodes||(t.BarCodes={}))}(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,D,P,x,F,N,k,M,O,_,j,G,H,Q,L,Y,U,J,W,V,z,X;!function(t){t[t["None"]=0]="None",t[t["DecimalDigits"]=1]="DecimalDigits",t[t["DecimalSeparator"]=2]="DecimalSeparator",t[t["GroupSeparator"]=4]="GroupSeparator",t[t["GroupSize"]=8]="GroupSize",t[t["PositivePattern"]=16]="PositivePattern",t[t["NegativePattern"]=32]="NegativePattern",t[t["CurrencySymbol"]=64]="CurrencySymbol",t[t["PercentageSymbol"]=128]="PercentageSymbol",t[t["Abbreviation"]=256]="Abbreviation",t[t["NegativeInRed"]=512]="NegativeInRed"}(e=t.StiTextFormatState||(t.StiTextFormatState={})),function(t){t[t["None"]=0]="None",t[t["Full"]=1]="Full",t[t["ArrowsColored3"]=2]="ArrowsColored3",t[t["ArrowsColored4"]=3]="ArrowsColored4",t[t["ArrowsColored5"]=4]="ArrowsColored5",t[t["ArrowsGray3"]=5]="ArrowsGray3",t[t["ArrowsGray4"]=6]="ArrowsGray4",t[t["ArrowsGray5"]=7]="ArrowsGray5",t[t["Flags3"]=8]="Flags3",t[t["Latin4"]=9]="Latin4",t[t["Quarters5"]=10]="Quarters5",t[t["QuartersGreen5"]=11]="QuartersGreen5",t[t["QuartersRed5"]=12]="QuartersRed5",t[t["Ratings3"]=13]="Ratings3",t[t["Ratings4"]=14]="Ratings4",t[t["Ratings5"]=15]="Ratings5",t[t["RedToBlack4"]=16]="RedToBlack4",t[t["Signs3"]=17]="Signs3",t[t["Squares5"]=18]="Squares5",t[t["Stars3"]=19]="Stars3",t[t["Stars5"]=20]="Stars5",t[t["SymbolsCircled3"]=21]="SymbolsCircled3",t[t["SymbolsUncircled3"]=22]="SymbolsUncircled3",t[t["TrafficLights4"]=23]="TrafficLights4",t[t["TrafficLightsRimmed3"]=24]="TrafficLightsRimmed3",t[t["TrafficLightsUnrimmed3"]=25]="TrafficLightsUnrimmed3",t[t["Triangles3"]=26]="Triangles3"}(r=t.StiIconSet||(t.StiIconSet={})),function(t){t[t["None"]=0]="None",t[t["ArrowRightDownGray"]=1]="ArrowRightDownGray",t[t["ArrowRightUpGray"]=2]="ArrowRightUpGray",t[t["ArrowDownGray"]=3]="ArrowDownGray",t[t["ArrowRightGray"]=4]="ArrowRightGray",t[t["ArrowUpGray"]=5]="ArrowUpGray",t[t["ArrowUpGreen"]=6]="ArrowUpGreen",t[t["ArrowDownRed"]=7]="ArrowDownRed",t[t["ArrowRightYellow"]=8]="ArrowRightYellow",t[t["ArrowRightDownYellow"]=9]="ArrowRightDownYellow",t[t["ArrowRightUpYellow"]=10]="ArrowRightUpYellow",t[t["CheckGreen"]=11]="CheckGreen",t[t["CircleBlack"]=12]="CircleBlack",t[t["CircleGreen"]=13]="CircleGreen",t[t["CircleCheckGreen"]=14]="CircleCheckGreen",t[t["CircleRed"]=15]="CircleRed",t[t["CircleCrossRed"]=16]="CircleCrossRed",t[t["CircleYellow"]=17]="CircleYellow",t[t["CircleExclamationYellow"]=18]="CircleExclamationYellow",t[t["CrossRed"]=19]="CrossRed",t[t["ExclamationYellow"]=20]="ExclamationYellow",t[t["FlagGreen"]=21]="FlagGreen",t[t["FlagRed"]=22]="FlagRed",t[t["FlagYellow"]=23]="FlagYellow",t[t["FromRedToBlackGray"]=24]="FromRedToBlackGray",t[t["FromRedToBlackPink"]=25]="FromRedToBlackPink",t[t["FromRedToBlackRed"]=26]="FromRedToBlackRed",t[t["Latin1"]=27]="Latin1",t[t["Latin2"]=28]="Latin2",t[t["Latin3"]=29]="Latin3",t[t["Latin4"]=30]="Latin4",t[t["LightsGreen"]=31]="LightsGreen",t[t["LightsRed"]=32]="LightsRed",t[t["LightsYellow"]=33]="LightsYellow",t[t["MinusYellow"]=34]="MinusYellow",t[t["QuarterFull"]=35]="QuarterFull",t[t["QuarterFullGreen"]=36]="QuarterFullGreen",t[t["QuarterFullRed"]=37]="QuarterFullRed",t[t["QuarterHalf"]=38]="QuarterHalf",t[t["QuarterHalfGreen"]=39]="QuarterHalfGreen",t[t["QuarterHalfRed"]=40]="QuarterHalfRed",t[t["QuarterNone"]=41]="QuarterNone",t[t["QuarterNoneGreen"]=42]="QuarterNoneGreen",t[t["QuarterNoneRed"]=43]="QuarterNoneRed",t[t["QuarterQuarter"]=44]="QuarterQuarter",t[t["QuarterQuarterGreen"]=45]="QuarterQuarterGreen",t[t["QuarterQuarterRed"]=46]="QuarterQuarterRed",t[t["QuarterThreeFourth"]=47]="QuarterThreeFourth",t[t["QuarterThreeFourthGreen"]=48]="QuarterThreeFourthGreen",t[t["QuarterThreeFourthRed"]=49]="QuarterThreeFourthRed",t[t["Rating0"]=50]="Rating0",t[t["Rating1"]=51]="Rating1",t[t["Rating2"]=52]="Rating2",t[t["Rating3"]=53]="Rating3",t[t["Rating4"]=54]="Rating4",t[t["RhombRed"]=55]="RhombRed",t[t["Square0"]=56]="Square0",t[t["Square1"]=57]="Square1",t[t["Square2"]=58]="Square2",t[t["Square3"]=59]="Square3",t[t["Square4"]=60]="Square4",t[t["StarFull"]=61]="StarFull",t[t["StarHalf"]=62]="StarHalf",t[t["StarNone"]=63]="StarNone",t[t["StarQuarter"]=64]="StarQuarter",t[t["StarThreeFourth"]=65]="StarThreeFourth",t[t["TriangleGreen"]=66]="TriangleGreen",t[t["TriangleRed"]=67]="TriangleRed",t[t["TriangleYellow"]=68]="TriangleYellow"}(n=t.StiIcon||(t.StiIcon={})),function(t){t[t["MoreThan"]=0]="MoreThan",t[t["MoreThanOrEqual"]=1]="MoreThanOrEqual"}(i=t.StiIconSetOperation||(t.StiIconSetOperation={})),function(t){t[t["Value"]=0]="Value",t[t["Percent"]=1]="Percent"}(o=t.StiIconSetValueType||(t.StiIconSetValueType={})),function(t){t[t["None"]=0]="None",t[t["EndOfReport"]=1]="EndOfReport",t[t["EndOfPage"]=2]="EndOfPage"}(a=t.StiProcessAt||(t.StiProcessAt={})),function(t){t[t["Auto"]=0]="Auto",t[t["Value"]=1]="Value",t[t["Percent"]=2]="Percent",t[t["Minimum"]=3]="Minimum"}(s=t.StiMinimumType||(t.StiMinimumType={})),function(t){t[t["Auto"]=0]="Auto",t[t["Value"]=1]="Value",t[t["Percent"]=2]="Percent"}(l=t.StiMidType||(t.StiMidType={})),function(t){t[t["Auto"]=0]="Auto",t[t["Value"]=1]="Value",t[t["Percent"]=2]="Percent",t[t["Maximum"]=3]="Maximum"}(u=t.StiMaximumType||(t.StiMaximumType={})),function(t){t[t["SinglePage"]=0]="SinglePage",t[t["MultiPage"]=1]="MultiPage"}(c=t.StiDrillDownMode||(t.StiDrillDownMode={})),function(t){t[t["None"]=0]="None",t[t["All"]=15]="All",t[t["Top"]=1]="Top",t[t["Left"]=2]="Left",t[t["Right"]=4]="Right",t[t["Bottom"]=8]="Bottom",t[t["NotAssigned"]=16]="NotAssigned"}(p=t.StiConditionBorderSides||(t.StiConditionBorderSides={})),function(t){t[t["None"]=0]="None",t[t["Font"]=1]="Font",t[t["FontSize"]=2]="FontSize",t[t["FontStyleBold"]=4]="FontStyleBold",t[t["FontStyleItalic"]=8]="FontStyleItalic",t[t["FontStyleUnderline"]=16]="FontStyleUnderline",t[t["FontStyleStrikeout"]=32]="FontStyleStrikeout",t[t["TextColor"]=64]="TextColor",t[t["BackColor"]=128]="BackColor",t[t["Borders"]=256]="Borders",t[t["All"]=511]="All"}(h=t.StiConditionPermissions||(t.StiConditionPermissions={})),function(t){t[t["None"]=0]="None",t[t["ShowComponentsNames"]=1]="ShowComponentsNames",t[t["ShowAliases"]=2]="ShowAliases",t[t["ShowFieldsOnly"]=3]="ShowFieldsOnly",t[t["ShowFields"]=4]="ShowFields",t[t["ShowEvents"]=5]="ShowEvents",t[t["ShowContent"]=6]="ShowContent"}(m=t.StiQuickInfoType||(t.StiQuickInfoType={})),function(t){t[t["Angle0"]=0]="Angle0",t[t["Angle90"]=90]="Angle90",t[t["Angle180"]=180]="Angle180",t[t["Angle270"]=270]="Angle270"}(f=t.StiAngle||(t.StiAngle={})),function(t){t[t["Left"]=0]="Left",t[t["Right"]=1]="Right",t[t["Top"]=2]="Top",t[t["Bottom"]=3]="Bottom",t[t["None"]=4]="None",t[t["Fill"]=5]="Fill"}(d=t.StiDockStyle||(t.StiDockStyle={})),function(t){t[t["EqualTo"]=0]="EqualTo",t[t["NotEqualTo"]=1]="NotEqualTo",t[t["GreaterThan"]=2]="GreaterThan",t[t["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",t[t["LessThan"]=4]="LessThan",t[t["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",t[t["Between"]=6]="Between",t[t["NotBetween"]=7]="NotBetween",t[t["Containing"]=8]="Containing",t[t["NotContaining"]=9]="NotContaining",t[t["BeginningWith"]=10]="BeginningWith",t[t["EndingWith"]=11]="EndingWith",t[t["IsNull"]=12]="IsNull",t[t["IsNotNull"]=13]="IsNotNull"}(g=t.StiFilterCondition||(t.StiFilterCondition={})),function(t){t[t["Argument"]=0]="Argument",t[t["Value"]=1]="Value",t[t["ValueEnd"]=2]="ValueEnd",t[t["Expression"]=3]="Expression",t[t["ValueOpen"]=4]="ValueOpen",t[t["ValueClose"]=5]="ValueClose",t[t["ValueLow"]=6]="ValueLow",t[t["ValueHigh"]=7]="ValueHigh"}(S=t.StiFilterItem||(t.StiFilterItem={})),function(t){t[t["String"]=0]="String",t[t["Numeric"]=1]="Numeric",t[t["DateTime"]=2]="DateTime",t[t["Boolean"]=3]="Boolean",t[t["Expression"]=4]="Expression"}(y=t.StiFilterDataType||(t.StiFilterDataType={})),function(t){t[t["And"]=0]="And",t[t["Or"]=1]="Or"}(A=t.StiFilterMode||(t.StiFilterMode={})),function(t){t[t["ReportEngine"]=0]="ReportEngine",t[t["SQLQuery"]=1]="SQLQuery"}(b=t.StiFilterEngine||(t.StiFilterEngine={})),function(t){t[t["None"]=0]="None",t[t["KeepFirstRowTogether"]=1]="KeepFirstRowTogether",t[t["KeepFirstDetailTogether"]=2]="KeepFirstDetailTogether",t[t["KeepDetailsTogether"]=3]="KeepDetailsTogether"}(v=t.StiKeepDetails||(t.StiKeepDetails={})),function(t){t[t["AllPages"]=0]="AllPages",t[t["ExceptFirstPage"]=1]="ExceptFirstPage",t[t["ExceptLastPage"]=2]="ExceptLastPage",t[t["ExceptFirstAndLastPage"]=3]="ExceptFirstAndLastPage",t[t["OnlyFirstPage"]=4]="OnlyFirstPage",t[t["OnlyLastPage"]=8]="OnlyLastPage",t[t["OnlyFirstAndLastPage"]=12]="OnlyFirstAndLastPage"}(C=t.StiPrintOnType||(t.StiPrintOnType={})),function(t){t[t["Ignore"]=0]="Ignore",t[t["PrintOnEvenPages"]=1]="PrintOnEvenPages",t[t["PrintOnOddPages"]=2]="PrintOnOddPages"}(w=t.StiPrintOnEvenOddPagesType||(t.StiPrintOnEvenOddPagesType={})),function(t){t[t["None"]=0]="None",t[t["IncreasingSize"]=1]="IncreasingSize",t[t["DecreasingSize"]=2]="DecreasingSize",t[t["OnlyInWidthOfComponent"]=4]="OnlyInWidthOfComponent"}(B=t.StiShiftMode||(t.StiShiftMode={})),function(t){t[t["Top"]=1]="Top",t[t["Bottom"]=2]="Bottom",t[t["Left"]=4]="Left",t[t["Right"]=8]="Right"}(I=t.StiAnchorMode||(t.StiAnchorMode={})),function(t){t[t["None"]=0]="None",t[t["Merge"]=1]="Merge",t[t["Hide"]=2]="Hide",t[t["RemoveText"]=3]="RemoveText",t[t["BasedOnTagMerge"]=4]="BasedOnTagMerge",t[t["BasedOnTagHide"]=5]="BasedOnTagHide",t[t["BasedOnTagRemoveText"]=6]="BasedOnTagRemoveText",t[t["GlobalMerge"]=7]="GlobalMerge",t[t["GlobalHide"]=8]="GlobalHide",t[t["GlobalRemoveText"]=9]="GlobalRemoveText",t[t["BasedOnValueRemoveText"]=10]="BasedOnValueRemoveText",t[t["BasedOnValueAndTagMerge"]=11]="BasedOnValueAndTagMerge",t[t["BasedOnValueAndTagHide"]=12]="BasedOnValueAndTagHide",t[t["GlobalBasedOnValueRemoveText"]=13]="GlobalBasedOnValueRemoveText",t[t["GlobalBasedOnValueAndTagMerge"]=14]="GlobalBasedOnValueAndTagMerge",t[t["GlobalBasedOnValueAndTagHide"]=15]="GlobalBasedOnValueAndTagHide"}(T=t.StiProcessingDuplicatesType||(t.StiProcessingDuplicatesType={})),function(t){t[t["None"]=0]="None",t[t["Merge"]=1]="Merge",t[t["Hide"]=2]="Hide",t[t["RemoveImage"]=3]="RemoveImage",t[t["GlobalMerge"]=4]="GlobalMerge",t[t["GlobalHide"]=5]="GlobalHide",t[t["GlobalRemoveImage"]=6]="GlobalRemoveImage"}(E=t.StiImageProcessingDuplicatesType||(t.StiImageProcessingDuplicatesType={})),function(t){t[t["Cross"]=0]="Cross",t[t["Check"]=1]="Check",t[t["CrossRectangle"]=2]="CrossRectangle",t[t["CheckRectangle"]=3]="CheckRectangle",t[t["CrossCircle"]=4]="CrossCircle",t[t["DotCircle"]=5]="DotCircle",t[t["DotRectangle"]=6]="DotRectangle",t[t["NoneCircle"]=7]="NoneCircle",t[t["NoneRectangle"]=8]="NoneRectangle",t[t["None"]=9]="None"}(R=t.StiCheckStyle||(t.StiCheckStyle={})),function(t){t[t["Bands"]=0]="Bands",t[t["Cross"]=1]="Cross",t[t["Components"]=2]="Components",t[t["Shapes"]=3]="Shapes",t[t["Controls"]=4]="Controls",t[t["Dashboards"]=5]="Dashboards"}(D=t.StiToolboxCategory||(t.StiToolboxCategory={})),function(t){t[t["Component"]=0]="Component",t[t["ReportTitleBand"]=1]="ReportTitleBand",t[t["ReportSummaryBand"]=2]="ReportSummaryBand",t[t["PageHeaderBand"]=3]="PageHeaderBand",t[t["PageFooterBand"]=4]="PageFooterBand",t[t["GroupHeaderBand"]=5]="GroupHeaderBand",t[t["GroupFooterBand"]=6]="GroupFooterBand",t[t["HeaderBand"]=7]="HeaderBand",t[t["FooterBand"]=8]="FooterBand",t[t["ColumnHeaderBand"]=9]="ColumnHeaderBand",t[t["ColumnFooterBand"]=10]="ColumnFooterBand",t[t["DataBand"]=11]="DataBand",t[t["HierarchicalBand"]=13]="HierarchicalBand",t[t["ChildBand"]=14]="ChildBand",t[t["EmptyBand"]=15]="EmptyBand",t[t["OverlayBand"]=16]="OverlayBand",t[t["CrossGroupHeaderBand"]=21]="CrossGroupHeaderBand",t[t["CrossGroupFooterBand"]=22]="CrossGroupFooterBand",t[t["CrossHeaderBand"]=23]="CrossHeaderBand",t[t["CrossFooterBand"]=24]="CrossFooterBand",t[t["CrossDataBand"]=25]="CrossDataBand",t[t["Text"]=101]="Text",t[t["TextInCells"]=102]="TextInCells",t[t["SystemText"]=103]="SystemText",t[t["ContourText"]=104]="ContourText",t[t["RichText"]=105]="RichText",t[t["Image"]=106]="Image",t[t["BarCode"]=107]="BarCode",t[t["Shape"]=108]="Shape",t[t["Line"]=109]="Line",t[t["Container"]=110]="Container",t[t["Panel"]=110]="Panel",t[t["Clone"]=112]="Clone",t[t["CheckBox"]=113]="CheckBox",t[t["SubReport"]=114]="SubReport",t[t["WinControl"]=115]="WinControl",t[t["ZipCode"]=116]="ZipCode",t[t["HorizontalLinePrimitive"]=150]="HorizontalLinePrimitive",t[t["VerticalLinePrimitive"]=151]="VerticalLinePrimitive",t[t["RectanglePrimitive"]=152]="RectanglePrimitive",t[t["RoundedRectanglePrimitive"]=153]="RoundedRectanglePrimitive",t[t["Chart"]=200]="Chart",t[t["Table"]=201]="Table",t[t["CrossTab"]=202]="CrossTab",t[t["Map"]=210]="Map",t[t["Sparkline"]=225]="Sparkline",t[t["Gauge"]=220]="Gauge",t[t["TableElement"]=301]="TableElement",t[t["ChartElement"]=302]="ChartElement",t[t["ComboBoxElement"]=400]="ComboBoxElement",t[t["GaugeElement"]=303]="GaugeElement",t[t["PivotTableElement"]=304]="PivotTableElement",t[t["IndicatorElement"]=305]="IndicatorElement",t[t["ProgressElement"]=306]="ProgressElement",t[t["RegionMapElement"]=307]="RegionMapElement",t[t["ListBoxElement"]=308]="ListBoxElement",t[t["OnlineMapElement"]=309]="OnlineMapElement",t[t["ImageElement"]=310]="ImageElement",t[t["TextElement"]=311]="TextElement",t[t["PanelElement"]=312]="PanelElement",t[t["ShapeElement"]=313]="ShapeElement",t[t["TreeViewElement"]=314]="TreeViewElement",t[t["TreeViewBoxElement"]=315]="TreeViewBoxElement",t[t["DatePickerElement"]=316]="DatePickerElement",t[t["UserCode"]=1e3]="UserCode"}(P=t.StiComponentToolboxPosition||(t.StiComponentToolboxPosition={})),function(t){t[t["Component"]=0]="Component",t[t["CrossTab"]=1500]="CrossTab",t[t["SubReportsV1"]=1500]="SubReportsV1",t[t["SubReportsV2"]=0]="SubReportsV2",t[t["Container"]=0]="Container",t[t["Panel"]=0]="Panel",t[t["ReportTitleBandBefore"]=-400]="ReportTitleBandBefore",t[t["ReportTitleBandAfterV1"]=-200]="ReportTitleBandAfterV1",t[t["ReportTitleBandAfterV2"]=200]="ReportTitleBandAfterV2",t[t["ReportSummaryBand"]=500]="ReportSummaryBand",t[t["PageHeaderBandBefore"]=-200]="PageHeaderBandBefore",t[t["PageHeaderBandAfter"]=-400]="PageHeaderBandAfter",t[t["PageFooterBandBottom"]=-300]="PageFooterBandBottom",t[t["PageFooterBandTop"]=1e3]="PageFooterBandTop",t[t["GroupHeaderBand"]=300]="GroupHeaderBand",t[t["GroupFooterBand"]=300]="GroupFooterBand",t[t["HeaderBand"]=300]="HeaderBand",t[t["FooterBand"]=300]="FooterBand",t[t["ColumnHeaderBand"]=300]="ColumnHeaderBand",t[t["ColumnFooterBand"]=300]="ColumnFooterBand",t[t["DataBand"]=300]="DataBand",t[t["Table"]=300]="Table",t[t["ChildBand"]=300]="ChildBand",t[t["EmptyBand"]=300]="EmptyBand",t[t["OverlayBand"]=700]="OverlayBand",t[t["Primitive"]=1500]="Primitive",t[t["CrossGroupHeaderBand"]=300]="CrossGroupHeaderBand",t[t["CrossGroupFooterBand"]=300]="CrossGroupFooterBand",t[t["CrossHeaderBand"]=300]="CrossHeaderBand",t[t["CrossFooterBand"]=300]="CrossFooterBand",t[t["CrossDataBand"]=300]="CrossDataBand"}(x=t.StiComponentPriority||(t.StiComponentPriority={})),function(t){t[t["Simple"]=0]="Simple",t[t["Master"]=1]="Master",t[t["Detail"]=2]="Detail",t[t["Static"]=3]="Static"}(F=t.StiComponentType||(t.StiComponentType={})),function(t){t[t["None"]=0]="None",t[t["AllowMove"]=1]="AllowMove",t[t["AllowResize"]=2]="AllowResize",t[t["AllowSelect"]=4]="AllowSelect",t[t["AllowChange"]=8]="AllowChange",t[t["AllowDelete"]=16]="AllowDelete",t[t["All"]=31]="All"}(N=t.StiRestrictions||(t.StiRestrictions={})),function(t){t[t["Hide"]=0]="Hide",t[t["Show"]=1]="Show",t[t["Active"]=2]="Active"}(k=t.StiHighlightState||(t.StiHighlightState={})),function(t){t[t["Left"]=0]="Left",t[t["Center"]=1]="Center",t[t["Right"]=2]="Right",t[t["Top"]=3]="Top",t[t["Middle"]=4]="Middle",t[t["Bottom"]=5]="Bottom"}(M=t.StiAligning||(t.StiAligning={})),function(t){t[t["DownThenAcross"]=0]="DownThenAcross",t[t["AcrossThenDown"]=1]="AcrossThenDown"}(O=t.StiColumnDirection||(t.StiColumnDirection={})),function(t){t[t["IncreaseLastRow"]=0]="IncreaseLastRow",t[t["DecreaseLastRow"]=1]="DecreaseLastRow",t[t["AlignFooterToBottom"]=2]="AlignFooterToBottom",t[t["AlignFooterToTop"]=3]="AlignFooterToTop"}(_=t.StiEmptySizeMode||(t.StiEmptySizeMode={})),function(t){t[t["Ascending"]=0]="Ascending",t[t["Descending"]=1]="Descending",t[t["None"]=2]="None"}(j=t.StiGroupSortDirection||(t.StiGroupSortDirection={})),function(t){t[t["Avg"]=0]="Avg",t[t["AvgDate"]=1]="AvgDate",t[t["AvgTime"]=2]="AvgTime",t[t["Count"]=3]="Count",t[t["CountDistinct"]=4]="CountDistinct",t[t["MaxDate"]=5]="MaxDate",t[t["MaxTime"]=6]="MaxTime",t[t["Max"]=7]="Max",t[t["MinDate"]=8]="MinDate",t[t["MinTime"]=9]="MinTime",t[t["Min"]=10]="Min",t[t["Median"]=11]="Median",t[t["Mode"]=12]="Mode",t[t["Sum"]=13]="Sum",t[t["SumTime"]=14]="SumTime"}(G=t.StiGroupSummaryType||(t.StiGroupSummaryType={})),function(t){t[t["Portrait"]=0]="Portrait",t[t["Landscape"]=1]="Landscape"}(H=t.StiPageOrientation||(t.StiPageOrientation={})),function(t){t[t["Standard"]=0]="Standard",t[t["Typographic"]=1]="Typographic",t[t["Wysiwyg"]=2]="Wysiwyg"}(Q=t.StiTextQuality||(t.StiTextQuality={})),function(t){t[t["Totals"]=0]="Totals",t[t["SystemVariables"]=1]="SystemVariables",t[t["Expression"]=2]="Expression",t[t["DataColumn"]=3]="DataColumn",t[t["None"]=4]="None"}(L=t.StiSystemTextType||(t.StiSystemTextType={})),function(t){t[t["Solid"]=0]="Solid",t[t["Gradient"]=1]="Gradient"}(Y=t.StiBrushType||(t.StiBrushType={})),function(t){t[t["Color2"]=0]="Color2",t[t["Color3"]=1]="Color3"}(U=t.StiColorScaleType||(t.StiColorScaleType={})),function(t){t[t["Default"]=0]="Default",t[t["LeftToRight"]=1]="LeftToRight",t[t["RighToLeft"]=2]="RighToLeft"}(J=t.StiDataBarDirection||(t.StiDataBarDirection={})),function(t){t[t["Ascending"]=0]="Ascending",t[t["Descending"]=1]="Descending",t[t["None"]=2]="None"}(W=t.StiInteractionSortDirection||(t.StiInteractionSortDirection={})),function(t){t[t["None"]=0]="None",t[t["Rotate90CW"]=1]="Rotate90CW",t[t["Rotate90CCW"]=2]="Rotate90CCW",t[t["Rotate180"]=3]="Rotate180",t[t["FlipHorizontal"]=4]="FlipHorizontal",t[t["FlipVertical"]=5]="FlipVertical"}(V=t.StiImageRotation||(t.StiImageRotation={})),function(t){t[t["Desktop"]=0]="Desktop",t[t["Mobile"]=1]="Mobile"}(z=t.StiDashboardViewMode||(t.StiDashboardViewMode={})),function(t){t[t["Line"]=0]="Line",t[t["Area"]=1]="Area",t[t["Column"]=2]="Column",t[t["WinLoss"]=3]="WinLoss"}(X=t.StiSparklineType||(t.StiSparklineType={}))}(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.StiString,n=t.System.Drawing.StringFormat,i=t.System.Drawing.Point,o=t.System.Drawing.GraphicsUnit,a=t.Base.Drawing.StiSolidBrush,s=t.System.Drawing.Rectangle,l=t.Base.StiJson,u=t.Base.Services.StiService,c=t.System.Text.StringBuilder,p=t.System.Drawing.StringAlignment,h=t.System.Drawing.Font,m=t.Report.Components.StiAngle,f=t.System.Drawing.Color,d=t.Base.Drawing.StiVertAlignment,g=t.Base.Drawing.StiHorAlignment,S;!function(t){t[t["Fnc1"]=256]="Fnc1",t[t["Fnc2"]=512]="Fnc2",t[t["Fnc3"]=768]="Fnc3",t[t["Fnc4"]=1024]="Fnc4"}(S=e.BarcodeCommandCode||(e.BarcodeCommandCode={}));var y=function(u){function y(){var t=null!==u&&u.apply(this,arguments)||this;return t.visiblePropertiesCount=27,t._barCodeData=new e.StiBarCodeData,t.rectWindow=new s(0,0,0,0),t.defaultLabelFontHeight=8,t}return __extends(y,u),y.prototype.getNetTypeName=function(){return"Stimulsoft.Report.Components.BarCodes."+this.stimulsoft.getType().ssTypeName},y.loadFromJsonObjectInternal=function(t){var e=t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value.toString(),n=StiOptions.Services.barCodes.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e}));if(null==n)throw r.format("Type {0} is not found!",e);var i=n.createNew();return i.loadFromJsonObject(t),i},y.loadFromXmlInternal=function(t){if(null==t.attributes)return null;var e=t.attributes.getNamedItem("type"),n=StiOptions.Services.barCodes.firstOrDefault((function(t){return t.getNetTypeName()==e.value||t.stimulsoft.getType().stimulsoft.getNetTypeName()==e.value}));if(null==n)throw r.format("Type {0} is not found!",e.value);var i=n.createNew();return i.loadFromXmlObject(t),i},y.prototype.saveToJsonObject=function(t){var e=new l;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},y.prototype.loadFromJsonObject=function(t){},Object.defineProperty(y.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),y.prototype.loadFromXmlObject=function(t){},Object.defineProperty(y.prototype,"visibleProperties",{get:function(){return this._visibleProperties},set:function(t){this._visibleProperties=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"defaultCodeValue",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"customPainter",{get:function(){return this._customPainter},set:function(t){this._customPainter=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"mainWidth",{get:function(){return this.barCodeData.mainWidth},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"mainHeight",{get:function(){return this.barCodeData.mainHeight},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"barCodeData",{get:function(){return this._barCodeData},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"module",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"height",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textAlignment",{get:function(){return p.Center},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textSpacing",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"labelFontHeight",{get:function(){return null},enumerable:!1,configurable:!0}),y.prototype.checkCodeSymbols=function(t,e){var r=new c;if(null!=t)for(var n=0;n<t.length;n++){var i=t[n];-1!=e.indexOf(i)&&r.append(i)}return r.toString()},y.prototype.getCode=function(t){return t.getBarCodeString()},y.prototype.getCombinedCode=function(){return null},y.unpackTilde=function(e,r){var n=0,i=[];while(n<e.length){var o=e[n++];if(r&&126==o){var a=!1;if(n<e.length&&126==e[n]&&(i.push(126),a=!0,n++),!a&&n+2<e.length){var s,s;if(70==e[n]&&78==e[n+1]&&67==e[n+2]&&n+3<e.length)1!=(s=e[n+3]-48)&&2!=s&&3!=s&&4!=s||(1==s&&i.push(S.Fnc1),2==s&&i.push(S.Fnc2),3==s&&i.push(S.Fnc3),4==s&&i.push(S.Fnc4),a=!0,n+=4);if(!a&&t.System.Char.isDigit(e[n])&&t.System.Char.isDigit(e[n+1])&&t.System.Char.isDigit(e[n+2]))(s=100*(e[n]-48)+10*(e[n+1]-48)+(e[n+2]-48))>=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;r<t.length;r++)e+=this.getSymbolWidth(t[r]);return e},y.prototype.drawBars=function(t,e,r){for(var n=this.barCodeData.spaceLeft,i=this.barCodeData.spaceTop,o=0,a=0;a<e.length;a++){var s=e[a];if(0==this.isSymbolSpace(s)){var l=this.barCodeData.lineHeightShort;1==this.isSymbolLong(s)&&(l=this.barCodeData.lineHeightLong);var u=0;1==this.isSymbolPostDescend(s)&&(u=this.barCodeData.lineHeightLong-this.barCodeData.lineHeightShort),this.baseFillRectangle(t,r,n+this.barCodeData.lineWidth*o,i+u,this.barCodeData.lineWidth*this.getSymbolWidth(s),l-u)}o+=this.getSymbolWidth(s)}},y.prototype.drawBarCode=function(t,e,r){this.drawBarCode1(t,e,r,null)},y.prototype.drawBarCode1=function(t,e,r,i){var l=new h(r.font.name,r.font.size*(r.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,r.font.style,o.Pixel);this.translateRect(t,e,r);var u=new a(r.foreColor),m=new a(r.backColor);if(this.baseFillRectangle(t,m,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight),this.drawBars(t,this.barCodeData.barsArray,u),r.showLabelText&&this.barCodeData.textString.length>0){var f=new c;if(this.textSpacing){for(var d=0;d<this.barCodeData.textString.length;d++)f.append(this.barCodeData.textString[d]),f.append(" ");f.length=f.length-1}else f.append(this.barCodeData.textString);var g=f.toString(),S=this.baseMeasureString3(t,g,l),y=this.getSymbolsStringWidth(this.barCodeData.barsArray);S.width>y*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;d<this.barCodeData.matrixHeight;d++)for(var g=0;g<this.barCodeData.matrixWidth;g++)0!=this.barCodeData.matrixGrid[g+d*this.barCodeData.matrixWidth]&&this.baseFillRectangle2D(t,c,h+g*l,f+d*u*this.barCodeData.matrixRatioY,l,u*this.barCodeData.matrixRatioY);var S=this.stimulsoft.as(e.StiQRCodeBarCodeType);if(null!=S&&null!=S.image){var y=isNaN(S.image.horizontalResolution)||S.image.horizontalResolution<50?100:S.image.horizontalResolution,A=isNaN(S.image.verticalResolution)||S.image.verticalResolution<50?100:S.image.verticalResolution,b=S.image.width/(y/100)*i*S.imageMultipleFactor,v=S.image.height/(A/100)*i*S.imageMultipleFactor,C=h+(this.barCodeData.matrixWidth*l-b)/2,w=f+(this.barCodeData.matrixHeight*u-v)/2;this.baseDrawImage(t,S.image,n.report,C,w,b,v)}this.rollbackTransform(t)},y.prototype.drawMaxicode=function(t,e,r,n){this.rectWindow=new s(0,0,e.width,e.height),r.angle!=m.Angle90&&r.angle!=m.Angle270||(this.rectWindow=new s(0,0,e.height,e.width));var o,l=100/29,u=1.1547*l,c=.866*l,p=1.5*l,h=c+u/2,d=n,g=32*l,S=34*c+u;r.autoScale&&(d=Math.min(this.rectWindow.height,this.rectWindow.width)/g),this.barCodeData.mainWidth=g*d,this.barCodeData.mainHeight=S*d,this.translateRect(t,e,r);var y=new a(r.foreColor),A=new a(r.backColor.a<64?f.white:r.backColor);this.baseFillRectangle(t,A,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);for(var b=[0,l/2,l/2,0,-l/2,-l/2],v=[u/2,u/4,-u/4,-u/2,-u/4,u/4],C=.87,w=0;w<33;w++)for(var B=0;B<30;B++)if(1==this.barCodeData.matrixGrid[30*w+B]){var I=p+B*l;0!=(1&w)&&(I+=l/2);for(var T=h+c*w,E=[],R=0;R<6;R++)E[R]=new i((I+b[R]*C)*d,(T+v[R]*C)*d);this.baseFillPolygon(t,y,E)}for(var D=p+14*l,P=h+16*c,x=[15.236,12.598,9.96,7.32,4.646,2.008],R=0;R<x.length;R++){var F=new s((D-x[R])*d,(P-x[R])*d,2*x[R]*d,2*x[R]*d);this.baseFillEllipse(t,(1&R)>0?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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Angle":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Australia Post 4-state"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"1139987520"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<20&&(this._module=20),t>20&&(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<r;i++)e[i+4]=t[r-1-i];for(var i=r-1;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;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},r.prototype.makeBarsArray=function(t,e,r){var o=t.ref,s=e.ref,l=r.ref;if(o.length<10)return l="Data too short",!1;var u=o.substr(0,2),c=o.substr(2,8),p=o.substr(10),h=-1;switch(u){case"11":case"87":case"45":case"92":h=0;break;case"59":h=16;break;case"62":case"44":h=31;break}if(h<0)return l="Unknown FCC",!1;var m=h/3;if(p.length>m)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<m;d++)f.append(this.charTo4State(p[d],!0));if(f.length<21+h)for(var g=21+h-f.length,d=0;d<g;d++)f.append("3");f.toString().charCodeAt(0);for(var S=Math.floor(f.length/3),y=n.create(Number,S),d=0;d<S;d++)y[d]=(f.toString().charCodeAt(3*d+0)-48<<4)+(f.toString().charCodeAt(3*d+1)-48<<2)+(f.toString().charCodeAt(3*d+2)-48);for(var A=this.rSEncode(y),d=0;d<4;d++)f.append(String.fromCharCode((A[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;n<r.childNodes.length;n++){var i=r.childNodes[n];if("value"==i.nodeName){var o=i.textContent,c=!1;if(o.stimulsoft.startsWith("BreakIfTrue,")&&(c=!0,o=o.stimulsoft.replaceAll("BreakIfTrue,","")),i.textContent.stimulsoft.startsWith("Multi<")){var p;(p=new e.StiMultiCondition).loadfromXmlDoc(u.toXml(i.textContent.substr(5))),this.list.push(p);continue}var h=o.split(",");if("DataBar"==h[0]){var p=new e.StiDataBarCondition(a.decodeName(h[1]),s.parse(e.StiBrushType,a.decodeName(h[2])),l.convertStringToColor(h[3]),l.convertStringToColor(h[4]),"true"==h[5].toLowerCase(),l.convertStringToColor(h[6]),l.convertStringToColor(h[7]),s.parse(e.StiDataBarDirection,a.decodeName(h[8])),s.parse(e.StiMinimumType,a.decodeName(h[9])),h[10].stimulsoft.toNumber(),s.parse(e.StiMaximumType,a.decodeName(h[11])),h[12].stimulsoft.toNumber());this.list.push(p);continue}if("ColorScale"==h[0]){var p=new e.StiColorScaleCondition(a.decodeName(h[1]),s.parse(e.StiColorScaleType,a.decodeName(h[2])),l.convertStringToColor(h[3]),l.convertStringToColor(h[4]),l.convertStringToColor(h[5]),s.parse(e.StiMinimumType,a.decodeName(h[6])),h[7].stimulsoft.toNumber(),s.parse(e.StiMidType,a.decodeName(h[8])),h[9].stimulsoft.toNumber(),s.parse(e.StiMaximumType,a.decodeName(h[10])),h[11].stimulsoft.toNumber());this.list.push(p);continue}if("IconSet"==h[0]){var p=new e.StiIconSetCondition(a.decodeName(h[1]),s.parse(e.StiIconSet,a.decodeName(h[2])),s.parse(t.System.Drawing.ContentAlignment,a.decodeName(h[3])),this.convertIconSetItemFromString(a.decodeName(h[4])),this.convertIconSetItemFromString(a.decodeName(h[5])),this.convertIconSetItemFromString(a.decodeName(h[6])),this.convertIconSetItemFromString(a.decodeName(h[7])),this.convertIconSetItemFromString(a.decodeName(h[8])));this.list.push(p);continue}if(5==h.length){var p=new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(h[0]),l.convertStringToColor(h[1]),l.convertStringToColor(h[2]),t.System.Convert.toFont(a.decodeName(h[3])),"true"==h[4].toLowerCase());this.list.push(p);continue}if(6==h.length){var p=new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(h[0]),l.convertStringToColor(h[1]),l.convertStringToColor(h[2]),t.System.Convert.toFont(a.decodeName(h[3])),"true"==h[4].toLowerCase(),"true"==h[5].toLowerCase(),"");this.list.push(p);continue}if(7==h.length){var p=new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(h[0]),l.convertStringToColor(h[1]),l.convertStringToColor(h[2]),t.System.Convert.toFont(a.decodeName(h[3])),"true"==h[4].toLowerCase(),"true"==h[5].toLowerCase(),a.decodeName(h[6]));this.list.push(p);continue}if(9==h.length&&this.isBorderSides(h[8])){var p;(p=new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(h[0]),l.convertStringToColor(h[1]),l.convertStringToColor(h[2]),t.System.Convert.toFont(a.decodeName(h[3])),"true"==h[4].toLowerCase(),"true"==h[5].toLowerCase(),a.decodeName(h[6]),a.decodeName(h[7]),s.parse(e.StiConditionBorderSides,a.decodeName(h[8])))).breakIfTrue=c,this.list.push(p);continue}if(10==h.length&&this.isBorderSides(h[8])){var p;(p=new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(h[0]),l.convertStringToColor(h[1]),l.convertStringToColor(h[2]),t.System.Convert.toFont(a.decodeName(h[3])),"true"==h[4].toLowerCase(),"true"==h[5].toLowerCase(),a.decodeName(h[6]),a.decodeName(h[7]),s.parse(e.StiConditionBorderSides,a.decodeName(h[8])),s.parse(e.StiConditionPermissions,a.decodeName(h[9])))).breakIfTrue=c,this.list.push(p);continue}var m=h[1];if("GreaterThen"==m&&(m="GreaterThan"),"GreaterThenOrEqualTo"==m&&(m="GreaterThanOrEqualTo"),"LessThen"==m&&(m="LessThan"),"LessThenOrEqualTo"==m&&(m="LessThanOrEqualTo"),9==h.length){var p;(p=new e.StiCondition(e.StiFilterItem.Value,a.decodeName(h[0]),s.parse(e.StiFilterCondition,m),a.decodeName(h[2]),a.decodeName(h[3]),s.parse(e.StiFilterDataType,h[4]),"",l.convertStringToColor(h[5]),l.convertStringToColor(h[6]),t.System.Convert.toFont(a.decodeName(h[7])),"true"==h[8].toLowerCase())).breakIfTrue=c,this.list.push(p);continue}if(11==h.length){var p;(p=new e.StiCondition(e.StiFilterItem.Value,a.decodeName(h[0]),s.parse(e.StiFilterCondition,m),a.decodeName(h[2]),a.decodeName(h[3]),s.parse(e.StiFilterDataType,h[4]),"",l.convertStringToColor(h[5]),l.convertStringToColor(h[6]),t.System.Convert.toFont(a.decodeName(h[7])),"true"==h[8].toLowerCase(),"true"==h[9].toLowerCase(),a.decodeName(h[10]))).breakIfTrue=c,this.list.push(p);continue}if(13==h.length){var p;(p=new e.StiCondition(e.StiFilterItem.Value,a.decodeName(h[0]),s.parse(e.StiFilterCondition,m),a.decodeName(h[2]),a.decodeName(h[3]),s.parse(e.StiFilterDataType,h[4]),"",l.convertStringToColor(h[5]),l.convertStringToColor(h[6]),t.System.Convert.toFont(a.decodeName(h[7])),"true"==h[8].toLowerCase(),"true"==h[9].toLowerCase(),a.decodeName(h[10]),a.decodeName(h[11]),s.parse(e.StiConditionBorderSides,a.decodeName(h[12])))).breakIfTrue=c,this.list.push(p);continue}if(14==h.length){var p;(p=new e.StiCondition(e.StiFilterItem.Value,a.decodeName(h[0]),s.parse(e.StiFilterCondition,m),a.decodeName(h[2]),a.decodeName(h[3]),s.parse(e.StiFilterDataType,h[4]),"",l.convertStringToColor(h[5]),l.convertStringToColor(h[6]),t.System.Convert.toFont(a.decodeName(h[7])),"true"==h[8].toLowerCase(),"true"==h[9].toLowerCase(),a.decodeName(h[10]),a.decodeName(h[11]),s.parse(e.StiConditionBorderSides,a.decodeName(h[12])),s.parse(e.StiConditionPermissions,a.decodeName(h[13])))).breakIfTrue=c,this.list.push(p);continue}}}},c.prototype.clone=function(){var t,e,r=new c;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},c.prototype.addRange=function(t,e){var r,n,i,o;void 0===e&&(e=!1);try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(e)if(0==this.list.length)this.add(l);else try{for(var u=(i=void 0,__values(this.list)),c=u.next();!c.done;c=u.next()){var p;if(!c.value.stimulsoft.equals(l)){this.add(l);break}}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}else this.add(l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},c}(r);e.StiConditionsCollection=c}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r,n=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._name="",e}return __extends(r,t),r.prototype.memberwiseClone=function(e){void 0===e&&(e=!0);var r=t.prototype.memberwiseClone.call(this,e);return r._name=this._name,r},Object.defineProperty(r.prototype,"name",{get:function(){return this.getName()},set:function(t){this.setName(t)},enumerable:!1,configurable:!0}),r.prototype.getName=function(){return this._name},r.prototype.setName=function(t){this._name=t},r.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiName])},Object.defineProperty(r.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedCategory",{get:function(){return this.name},enumerable:!1,configurable:!0}),r}(t.Base.Services.StiService);e.StiBase=n}(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.ICloneable,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=function(){function t(t){void 0===t&&(t=""),this._script="",this.parent=null,"string"==typeof t?this._script=t:this.parent=t}return t.prototype.implements=function(){return t.ImplementsStiEvent||(t.ImplementsStiEvent=[n,i]),t.ImplementsStiEvent},t.prototype.saveToJsonObject=function(t){if(r.isNullOrEmpty(this.script))return null;var e=new o;return e.addPropertyStringNullOrEmpty("Script",this.script),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;"Script"==o.name&&(this.script=o.value.toString())}}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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Script":this.script=r.textContent.toString();break}}},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.toString()+"Event"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"script",{get:function(){if(null!=this.parent)return this.parent.properties.get(this.propertyName,"");return this._script},set:function(t){null!=this.parent?this.parent.properties.set(this.propertyName,t,""):this._script=t},enumerable:!1,configurable:!0}),t.prototype.set=function(t,e){this.parent=t,this.script=e},t}();e.StiEvent=a}(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"GetToolTip"},e}(t.StiEvent);t.StiGetToolTipEvent=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"GetHyperlink"},e}(t.StiEvent);t.StiGetHyperlinkEvent=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"GetTag"},e}(t.StiEvent);t.StiGetTagEvent=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"GetBookmark"},e}(t.StiEvent);t.StiGetBookmarkEvent=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"BeforePrint"},e}(t.StiEvent);t.StiBeforePrintEvent=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"AfterPrint"},e}(t.StiEvent);t.StiAfterPrintEvent=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"GetDrillDownReport"},e}(t.StiEvent);t.StiGetDrillDownReportEvent=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"Click"},e}(t.StiEvent);t.StiClickEvent=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"DoubleClick"},e}(t.StiEvent);t.StiDoubleClickEvent=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"MouseEnter"},e}(t.StiEvent);t.StiMouseEnterEvent=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"MouseLeave"},e}(t.StiEvent);t.StiMouseLeaveEvent=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.StiValueEventHandler=new r("sender: any, e: StiValueEventArgs");var i=function(t){function e(e){void 0===e&&(e=null);var r=t.call(this)||this;return r.value=e,r}return __extends(e,t),e}(n);e.StiValueEventArgs=i}(r=e.Events||(e.Events={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.StiArray,i=t.Base.IStiGetFonts,o=t.System.StiString,a=t.System.EventHandler,s=t.Report.Events.StiValueEventHandler,l=t.Report.Events.StiGetToolTipEvent,u=t.Report.Events.StiGetHyperlinkEvent,c=t.Report.Events.StiGetTagEvent,p=t.Report.Events.StiGetBookmarkEvent,h=t.Report.Events.StiBeforePrintEvent,m=t.Report.Events.StiAfterPrintEvent,f=t.Report.Events.StiGetDrillDownReportEvent,d=t.Report.Events.StiClickEvent,g=t.Report.Events.StiDoubleClickEvent,S=t.Report.Events.StiMouseEnterEvent,y=t.Report.Events.StiMouseLeaveEvent,A=t.Report.Events.StiValueEventArgs,b=t.Report.Expressions.StiExpression,v=t.Base.Drawing.StiSolidBrush,C=t.Base.StiJsonSaveMode,w=t.Report.StiBase,B=t.System.Guid,I=t.Report.Components.StiConditionsCollection,T=t.System.Collections.Hashtable,E=t.Base.StiJson,R=t.Base.StiJsonReportObjectHelper,D=t.System.Drawing.Rectangle,P=t.System.Drawing.Size,x=t.Base.JsonReportObject.IStiJsonReportObject,F=t.System.ICloneable,N=t.System.Enum,k=t.Base.Drawing.StiGradientBrush,M=t.Base.Drawing.StiGlareBrush,O=t.Base.Drawing.StiHatchBrush,_=t.Base.Drawing.StiGlassBrush,j=t.Base.IStiReportComponent,G=function(){function t(t,e,n,i,o,a,s,l,u){this.bookmarkValue=null,this.toolTipValue=null,this.hyperlinkValue=null,this.tagValue=null,this.enabled=!0,this.highlightState=r.StiHighlightState.Hide,this.ignoreNamingRule=!1,this._dockStyle=r.StiDockStyle.None,this.printable=!0,this.bookmarkValue=t,this.toolTipValue=e,this.hyperlinkValue=n,this.tagValue=i,this.enabled=o,this.highlightState=a,this.ignoreNamingRule=s,this.dockStyle=l,this.printable=u}return t.prototype.implements=function(){return[F]},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t.prototype,"dockStyle",{get:function(){return this.getDockStyle()},set:function(t){this.setDockStyle(t)},enumerable:!1,configurable:!0}),t.prototype.getDockStyle=function(){return this._dockStyle},t.prototype.setDockStyle=function(t){this._dockStyle=t},t}(),H=function(w){function F(t,e){void 0===t&&(t=D.empty),void 0===e&&(e=!1);var n=w.call(this)||this;return n._infographicsDisplayRectangle=new D(0,0,0,0),n._isSelected=!1,n._states=null,n._shiftMode=r.StiShiftMode.IncreasingSize,n._guid=null,n._printOn=r.StiPrintOnType.AllPages,n._canShrink=!1,n._canGrow=!1,n._growToHeight=!1,n._anchor=r.StiAnchorMode.Left|r.StiAnchorMode.Top,n._conditions=null,n._isRendered=!1,n.disableCheckWidthHeight=!1,n.defaultClientRectangle=new D(0,0,60,20),n._alias="",n._componentPlacement="",n._drillDownParameters=null,n.lockOnResize=!0,e||n.construct(t),n}return __extends(F,w),F.prototype.implements=function(){return F.ImplementsStiComponent||(F.ImplementsStiComponent=w.prototype.implements.call(this).concat([r.IStiComponentGuid,r.IStiCanGrow,r.IStiCanShrink,r.IStiUnitConvert,r.IStiShift,r.IStiGrowToHeight,r.IStiAnchor,r.IStiConditions,r.IStiPrintOn,e.IStiInherited,e.IStiStateSaveRestore,x,j,r.IStiComponent,i])),F.ImplementsStiComponent},F.prototype.saveToJsonObject=function(t){var e=new E;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyEnum("ShiftMode",r.StiShiftMode,this.shiftMode,r.StiShiftMode.IncreasingSize),e.addPropertyStringNullOrEmpty("Guid",this.guid),e.addPropertyEnum("PrintOn",r.StiPrintOnType,this.printOn,r.StiPrintOnType.AllPages),e.addPropertyBool("CanShrink",this.canShrink),e.addPropertyBool("CanGrow",this.canGrow),e.addPropertyBool("GrowToHeight",this.growToHeight),e.addPropertyEnum("Anchor",r.StiAnchorMode,this.anchor,r.StiAnchorMode.Left|r.StiAnchorMode.Top),e.addPropertyBool("Inherited",this.inherited),e.addPropertyBool("Printable",this.printable,!0),e.addPropertyEnum("DockStyle",r.StiDockStyle,this.dockStyle,r.StiDockStyle.None),e.addPropertyString("MinSize",R.Serialize.sizeD(this.minSize),R.Serialize.sizeD(P.empty)),e.addPropertyString("MaxSize",R.Serialize.sizeD(this.maxSize),R.Serialize.sizeD(P.empty)),e.addPropertyStringNullOrEmpty("ClientRectangle",R.Serialize.rectangleD(this.clientRectangle)),e.addPropertyJObject("GetToolTipEvent",this.getToolTipEvent.saveToJsonObject(t)),e.addPropertyJObject("GetHyperlinkEvent",this.getHyperlinkEvent.saveToJsonObject(t)),e.addPropertyJObject("GetTagEvent",this.getTagEvent.saveToJsonObject(t)),e.addPropertyJObject("GetBookmarkEvent",this.getBookmarkEvent.saveToJsonObject(t)),e.addPropertyJObject("BeforePrintEvent",this.beforePrintEvent.saveToJsonObject(t)),e.addPropertyJObject("AfterPrintEvent",this.afterPrintEvent.saveToJsonObject(t)),e.addPropertyJObject("GetDrillDownReportEvent",this.getDrillDownReportEvent.saveToJsonObject(t)),e.addPropertyJObject("ClickEvent",this.clickEvent.saveToJsonObject(t)),e.addPropertyJObject("DoubleClickEvent",this.doubleClickEvent.saveToJsonObject(t)),e.addPropertyJObject("MouseEnterEvent",this.mouseEnterEvent.saveToJsonObject(t)),e.addPropertyJObject("MouseLeaveEvent",this.mouseLeaveEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyEnum("Restrictions",r.StiRestrictions,this.restrictions,r.StiRestrictions.All),e.addPropertyStringNullOrEmpty("ComponentPlacement",this.componentPlacement),e.addPropertyStringNullOrEmpty("ComponentStyle",this.componentStyle),e.addPropertyBool("Locked",this.locked),e.addPropertyBool("Linked",this.linked),e.addPropertyBool("Enabled",this.enabled,!0),e.addPropertyBool("UseParentStyles",this.useParentStyles),t==C.Report&&(e.addPropertyJObject("Conditions",this.conditions.saveToJsonObject(t)),null!=this.interaction&&e.addPropertyJObject("Interaction",this.interaction.saveToJsonObject(t)),e.addPropertyJObject("Bookmark",new b(this.bookmark).saveToJsonObject(t)),e.addPropertyJObject("ToolTip",new b(this.toolTip).saveToJsonObject(t)),e.addPropertyJObject("Hyperlink",new b(this.hyperlink).saveToJsonObject(t)),e.addPropertyJObject("Tag",new b(this.tag).saveToJsonObject(t))),e},F.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Name":this.name=a.value;break;case"ShiftMode":this._shiftMode=N.parse(r.StiShiftMode,a.value);break;case"Guid":this._guid=a.value;break;case"PrintOn":this._printOn=N.parse(r.StiPrintOnType,a.value);break;case"CanShrink":this._canShrink=a.value.stimulsoft.toBoolean();break;case"CanGrow":this._canGrow=a.value.stimulsoft.toBoolean();break;case"GrowToHeight":this._growToHeight=a.value.stimulsoft.toBoolean();break;case"Anchor":this._anchor=N.parse(r.StiAnchorMode,a.value.toString());break;case"Conditions":this.conditions.loadFromJsonObject(a.value);break;case"Inherited":this.inherited=a.value.stimulsoft.toBoolean();break;case"Interaction":this.interaction=r.StiInteraction.loadInteractionFromJsonObject(a.value);break;case"Printable":this.printable=a.value.stimulsoft.toBoolean();break;case"DockStyle":this.dockStyle=N.parse(r.StiDockStyle,a.value);break;case"MinSize":this.minSize=R.Deserialize.sizeD(a.value);break;case"MaxSize":this.maxSize=R.Deserialize.sizeD(a.value);break;case"ClientRectangle":this.clientRectangle=R.Deserialize.rectangleD(a.value);break;case"GetToolTipEvent":var s;(s=new l).loadFromJsonObject(a.value),this.getToolTipEvent=s;break;case"GetHyperlinkEvent":var s;(s=new u).loadFromJsonObject(a.value),this.getHyperlinkEvent=s;break;case"GetTagEvent":var s;(s=new c).loadFromJsonObject(a.value),this.getTagEvent=s;break;case"GetBookmarkEvent":var s;(s=new p).loadFromJsonObject(a.value),this.getBookmarkEvent=s;break;case"BeforePrintEvent":var s;(s=new h).loadFromJsonObject(a.value),this.beforePrintEvent=s;break;case"AfterPrintEvent":var s;(s=new m).loadFromJsonObject(a.value),this.afterPrintEvent=s;break;case"GetDrillDownReportEvent":var s;(s=new f).loadFromJsonObject(a.value),this.getDrillDownReportEvent=s;break;case"ClickEvent":var s;(s=new d).loadFromJsonObject(a.value),this.clickEvent=s;break;case"DoubleClickEvent":var s;(s=new g).loadFromJsonObject(a.value),this.doubleClickEvent=s;break;case"MouseEnterEvent":var s;(s=new S).loadFromJsonObject(a.value),this.mouseEnterEvent=s;break;case"MouseLeaveEvent":var s;(s=new y).loadFromJsonObject(a.value),this.mouseLeaveEvent=s;break;case"Bookmark":var A;(A=new b).loadFromJsonObject(a.value),this.bookmark=A.value;break;case"ToolTip":var A;(A=new b).loadFromJsonObject(a.value),this.toolTip=A.value;break;case"Hyperlink":var A;(A=new b).loadFromJsonObject(a.value),this.hyperlink=A.value;break;case"Tag":var A;(A=new b).loadFromJsonObject(a.value),this.tag=A.value;break;case"Alias":this._alias=a.value;break;case"Restrictions":this.restrictions=N.parse(r.StiRestrictions,a.value);break;case"ComponentPlacement":this._componentPlacement=a.value;break;case"ComponentStyle":this.componentStyle=a.value;break;case"Locked":this.locked=a.value.stimulsoft.toBoolean();break;case"Linked":this.linked=a.value.stimulsoft.toBoolean();break;case"Enabled":this.enabled=a.value.stimulsoft.toBoolean();break;case"UseParentStyles":this.useParentStyles=a.value.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}}},F.prototype.loadRectangleDFromXml=function(t){var e=t.split(",");return new D(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber(),e[2].stimulsoft.toNumber(),e[3].stimulsoft.toNumber())},F.prototype.loadFromXml=function(t,e){for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];if("#text"==i.nodeName)continue;switch(i.nodeName){case"Name":this.name=i.textContent;break;case"ShiftMode":this._shiftMode=N.parse(r.StiShiftMode,i.textContent);break;case"Guid":this._guid=i.textContent;break;case"PrintOn":this._printOn=N.parse(r.StiPrintOnType,i.textContent);break;case"CanShrink":this._canShrink=i.textContent.stimulsoft.toBoolean();break;case"CanGrow":this._canGrow=i.textContent.stimulsoft.toBoolean();break;case"GrowToHeight":this._growToHeight=i.textContent.stimulsoft.toBoolean();break;case"Anchor":this._anchor=N.parse(r.StiAnchorMode,i.textContent.toString());break;case"Conditions":this.conditions.loadFromXml(i);break;case"Inherited":this.inherited=i.textContent.stimulsoft.toBoolean();break;case"Interaction":this.interaction=r.StiInteraction.loadInteractionFromXml(i);break;case"Printable":this.printable=i.textContent.stimulsoft.toBoolean();break;case"DockStyle":this.dockStyle=N.parse(r.StiDockStyle,i.textContent);break;case"MinSize":this.minSize=P.convertFromXml(i.textContent);break;case"MaxSize":this.maxSize=P.convertFromXml(i.textContent);break;case"ClientRectangle":case"rc":this.clientRectangle=this.loadRectangleDFromXml(i.textContent);break;case"GetToolTipEvent":break;case"GetHyperlinkEvent":break;case"GetTagEvent":break;case"GetBookmarkEvent":break;case"BeforePrintEvent":var o;(o=new h).script=i.textContent,this.beforePrintEvent=o;break;case"AfterPrintEvent":var o;(o=new m).script=i.textContent,this.afterPrintEvent=o;break;case"GetDrillDownReportEvent":break;case"ClickEvent":break;case"DoubleClickEvent":break;case"MouseEnterEvent":break;case"MouseLeaveEvent":break;case"Bookmark":this.bookmark=i.textContent;break;case"ToolTip":this.toolTip=i.textContent;break;case"Hyperlink":this.hyperlink=i.textContent;break;case"Tag":this.tag=i.textContent;break;case"Alias":this._alias=i.textContent;break;case"Restrictions":this.restrictions=N.parse(r.StiRestrictions,i.textContent);break;case"ComponentPlacement":case"pl":this._componentPlacement=i.textContent;break;case"ComponentStyle":this.componentStyle=i.textContent;break;case"Locked":this.locked=i.textContent.stimulsoft.toBoolean();break;case"Linked":this.linked=i.textContent.stimulsoft.toBoolean();break;case"Enabled":this.enabled=i.textContent.stimulsoft.toBoolean();break;case"UseParentStyles":this.useParentStyles=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(F.prototype,"componentId",{get:function(){return e.StiComponentId.StiComponent},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"infographicsDisplayRectangle",{get:function(){return this._infographicsDisplayRectangle},set:function(t){this._infographicsDisplayRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isSelected",{get:function(){return this._isSelected},set:function(t){this._isSelected=t},enumerable:!1,configurable:!0}),F.prototype.select=function(){this.isSelected=!0},F.prototype.invert=function(){this.isSelected=!this.isSelected},F.prototype.reset=function(){this._isSelected=!1},F.prototype.getApp=function(){return this.report},F.prototype.getKey=function(){return o.isNullOrWhiteSpace(this.guid)&&this.newGuid(),this.guid},F.prototype.setKey=function(t){this.guid=t},F.prototype.getReport=function(){return this.report},F.prototype.saveState=function(t){},F.prototype.restoreState=function(t){},Object.defineProperty(F.prototype,"states",{get:function(){return this.getStates()},enumerable:!1,configurable:!0}),F.prototype.getStates=function(){return null==this._states&&(this._states=new e.StiStatesManager),this._states},F.prototype.clearAllStates=function(){},Object.defineProperty(F.prototype,"shift",{get:function(){return this.getShift()},set:function(t){this.shiftMode=r.StiShiftMode.IncreasingSize},enumerable:!1,configurable:!0}),F.prototype.getShift=function(){return this.shiftMode==r.StiShiftMode.IncreasingSize},Object.defineProperty(F.prototype,"shiftMode",{get:function(){return this._shiftMode},set:function(t){this._shiftMode=t,t!=r.StiShiftMode.None&&(this.anchor=r.StiAnchorMode.Left|r.StiAnchorMode.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"guid",{get:function(){return this._guid},set:function(t){this._guid=t},enumerable:!1,configurable:!0}),F.prototype.newGuid=function(){this.guid=B.newGuidString()},Object.defineProperty(F.prototype,"printOn",{get:function(){return this._printOn},set:function(t){this._printOn=t},enumerable:!1,configurable:!0}),F.prototype.clone=function(t,e,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0);var n=w.prototype.clone.call(this,t,e,r);return null!=this._conditions?n._conditions=this._conditions.clone():n._conditions=null,null!=this._interaction?n._interaction=this._interaction.clone():n._interaction=null,null!=n._interaction&&(n._interaction.parentComponent=n),t&&(n.properties=this.properties.clone()),null!=this.bits&&(n.bits=this.bits.clone()),n},F.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var e=w.prototype.memberwiseClone.call(this,t);return e._alias=this._alias,e._canGrow=this._canGrow,e._canShrink=this._canShrink,e._componentPlacement=this._componentPlacement,e._conditions=this._conditions,e._currentBookmark=this._currentBookmark,e._events=this._events,e._growToHeight=this._growToHeight,e._guid=this._guid,e._height=this._height,e._interaction=this._interaction,e._isRendered=this._isRendered,e._isSelected=this._isSelected,e._left=this._left,e._page=this._page,e._parent=this._parent,e._parentBookmark=this._parentBookmark,e._printOn=this._printOn,e._shiftMode=this._shiftMode,e._states=this._states,e._top=this._top,e._width=this._width,e._drillDownParameters=this.drillDownParameters,e},F.prototype.convert=function(t,e,r){void 0===r&&(r=!1),this.disableCheckWidthHeight=!0;var n=this.right,i=this.bottom;this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),this.width=Math.round2(e.convertFromHInches(t.convertToHInches(n)),2)-this.left,this.height=Math.round2(e.convertFromHInches(t.convertToHInches(i)),2)-this.top,this.disableCheckWidthHeight=!1,r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))},Object.defineProperty(F.prototype,"canShrink",{get:function(){return this.getCanShrink()},set:function(t){this._canShrink=t},enumerable:!1,configurable:!0}),F.prototype.getCanShrink=function(){return this._canShrink},Object.defineProperty(F.prototype,"canGrow",{get:function(){return this.getCanGrow()},set:function(t){this.setCanGrow(t)},enumerable:!1,configurable:!0}),F.prototype.getCanGrow=function(){return this._canGrow},F.prototype.setCanGrow=function(t){this._canGrow=t},Object.defineProperty(F.prototype,"growToHeight",{get:function(){return this.getGrowToHeight()},set:function(t){this._growToHeight=t,t&&(this.anchor=r.StiAnchorMode.Left|r.StiAnchorMode.Top)},enumerable:!1,configurable:!0}),F.prototype.getGrowToHeight=function(){return this._growToHeight},Object.defineProperty(F.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor=t,this._anchor!=(r.StiAnchorMode.Left|r.StiAnchorMode.Top)&&(this.growToHeight=!1,this.shiftMode=r.StiShiftMode.None)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"conditions",{get:function(){return this.getConditions()},set:function(t){this.setConditions(t)},enumerable:!1,configurable:!0}),F.prototype.getConditions=function(){return null==this._conditions&&(this._conditions=new I),this._conditions},F.prototype.setConditions=function(t){this._conditions=t},Object.defineProperty(F.prototype,"inherited",{get:function(){return this.properties.getBool(F.propertyInherited,!1)},set:function(t){this.properties.setBool(F.propertyInherited,t,!1)},enumerable:!1,configurable:!0}),F.prototype.getActualSize=function(){return new P(this.width,this.height)},Object.defineProperty(F.prototype,"report",{get:function(){if(null!=this.page)return this.page.report;return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"interaction",{get:function(){return this._interaction},set:function(t){this._interaction!=t&&(this._interaction=t,null!=t&&(this._interaction.parentComponent=this))},enumerable:!1,configurable:!0}),F.prototype.getFonts=function(){var t,e,r=[];try{for(var o=__values(this.conditions.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.stimulsoft.is(i)&&r.stimulsoft.addRange(s.stimulsoft.as(i).getFonts())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n.distinct(r)},F.prototype.doBookmark=function(){this.doGetBookmark()},F.prototype.doGetBookmark=function(){var r=!0,n=N.getName(e.StiCalculationMode,this.report.calculationMode);if(null!=this.report&&(r=this.report.calculationMode==e.StiCalculationMode.Compilation),r&&null!=this.events.get(F.eventGetBookmark)||!r&&this.bookmark.length>0){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;p<u.length;p++){var h=u[p];s+=l+h,c=t.Report.Engine.StiBookmarksHelper.getBookmark(c,h),p==u.length-1&&(c.componentGuid=this.guid)}this.currentBookmark=c}else this.currentBookmark=t.Report.Engine.StiBookmarksHelper.createBookmark(a,this.guid),null!=this.parentBookmark&&this.parentBookmark.bookmarks.add(this.currentBookmark)}else this.currentBookmark=this.parentBookmark}else this.currentBookmark=this.parentBookmark},Object.defineProperty(F.prototype,"printable",{get:function(){return null==this.bits||this.bits.printable},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.printable=t:this.bits=new G(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isRendered",{get:function(){return this._isRendered},set:function(t){this._isRendered=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"renderedCount",{get:function(){return this.properties.getNumber(F.propertyRenderedCount,0)},set:function(t){this.properties.setNumber(F.propertyRenderedCount,t,0)},enumerable:!1,configurable:!0}),F.prototype.allowPrintOn=function(){if(this.printOn==r.StiPrintOnType.AllPages)return!0;if(null!=this.report){var t=this.report.pageNumber,n=this.report.totalPageCount;if(!StiOptions.Engine.useAdvancedPrintOnEngine){if((this.printOn&r.StiPrintOnType.ExceptFirstPage)>0&&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&&t<n);if((this.printOn&r.StiPrintOnType.OnlyFirstPage)>0&&t>1)return!1;if((this.printOn&r.StiPrintOnType.OnlyLastPage)>0&&t<n)return!1;if((this.printOn&r.StiPrintOnType.ExceptLastPage)>0&&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;i<e.childNodes.length;i++){var a=e.childNodes[i];switch(a.nodeName){case"Angle":this._angle=h.parse(C,a.textContent);break;case"Border":case"br":this._border=w.loadFromXml(a.textContent);break;case"ForeColor":this._foreColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(a.textContent);break;case"BackColor":this._backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(a.textContent);break;case"AutoScale":this._autoScale=a.textContent.stimulsoft.toBoolean();break;case"ShowLabelText":this._showLabelText=a.textContent.stimulsoft.toBoolean();break;case"ShowQuietZones":this._showQuietZones=a.textContent.stimulsoft.toBoolean();break;case"Font":case"fn":this._font=t.System.Convert.toFont(a.textContent);break;case"HorAlignment":case"ha":this._horAlignment=h.parse(g,a.textContent);break;case"VertAlignment":case"va":this._vertAlignment=h.parse(d,a.textContent);break;case"CodeValue":this.codeValue=a.textContent;break;case"Code":this.code=a.textContent;break;case"BarCodeType":var l=a.getAttribute("isRef");if(!o.isNullOrEmpty(l)&&this.report.jsonLoaderHelper)this.barCodeType=this.report.jsonLoaderHelper.barcodeTypes[l.stimulsoft.toNumber()].stimulsoft.memberwiseClone();else{this.barCodeType=r.StiBarCodeTypeService.loadFromXmlInternal(a),this.barCodeType.loadFromXmlObject(a);var u=a.getAttribute("Ref");!o.isNullOrEmpty(u)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.barcodeTypes[u.stimulsoft.toNumber()]=this.barCodeType)}break}}},Object.defineProperty(F.prototype,"componentId",{get:function(){return e.StiComponentId.StiBarCode},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_barcodes.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"localizedCategory",{get:function(){return p.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"localizedName",{get:function(){return p.get("Components","StiBarCode")},enumerable:!1,configurable:!0}),F.prototype.isExportAsImage=function(t){if(t==e.StiExportFormat.Excel2007||t==e.StiExportFormat.Word2007)return!0;return!1},F.prototype.getImage=function(r,n){void 0===n&&(n=e.StiExportFormat.None);var i=new e.Export.StiSvgData;if(i.component=this,i.x=0,i.y=0,i.width=this.report.unit.convertToHInches(this.width),i.height=this.report.unit.convertToHInches(this.height),null!=this.report&&null!=this.report.preparedExportImages){var o=this.report.preparedExportImages.get(this);if(null!=o)return o}return t.Report.Export.StiBarCodeSvgHelper.getImage(i)},Object.defineProperty(F.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"foreColor",{get:function(){return this._foreColor},set:function(t){this._foreColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"autoScale",{get:function(){return this._autoScale},set:function(t){this._autoScale=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"showLabelText",{get:function(){return this._showLabelText},set:function(t){this._showLabelText=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"showQuietZones",{get:function(){return this._showQuietZones},set:function(t){this._showQuietZones=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"barCodeType",{get:function(){return this._barCodeType},set:function(t){this._barCodeType=t},enumerable:!1,configurable:!0}),F.prototype.getBarCodeString=function(){if(null!=this.codeValue)return this.codeValue;return this.code},Object.defineProperty(F.prototype,"font",{get:function(){return null==this._font&&(this._font=new y("Arial",8,b.Bold,v.Pixel)),this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),F.prototype.getFonts=function(){var t=s.prototype.getFonts.call(this);return t.push(this.font),i.distinct(t)},Object.defineProperty(F.prototype,"codeValue",{get:function(){return this._codeValue},set:function(t){this._codeValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"code",{get:function(){return this._code},set:function(t){this._code=t},enumerable:!1,configurable:!0}),F.prototype.invokeEvents=function(){s.prototype.invokeEvents.call(this);try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){if(null!=this.events.get(F.eventGetBarCode)&&null==this._codeValue){var r=new A;this.invokeGetBarCode(this,r),null!=r.value&&(this._codeValue=r.value.toString())}}else if(null==this.codeValue){var r=new A;this.invokeGetBarCode(this,r),null!=r.value&&(this.codeValue=r.value.toString())}}catch(r){t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r)}},F.prototype.onGetBarCode=function(t){},F.prototype.invokeGetBarCode=function(r,n){try{if(this.onGetBarCode(n),this.report.calculationMode==e.StiCalculationMode.Compilation){var i;if(null!=(i=this.events.get(F.eventGetBarCode)))try{i(r,n)}catch(n){}}else{var a=t.Report.Engine.StiParser.StiParser.parseTextValue(this.code,this,r),i;if(null!=a&&(n.value=a),null!=(i=this.events.get(F.eventGetBarCode)))try{i(r,n)}catch(n){}}}catch(r){t.System.StiError.showError(r.message,!1);var s=o.format("Expression in BarCode property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),s),e.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(F.prototype,"getBarCodeEvent",{get:function(){return new t.Report.Events.StiGetBarCodeEvent(this)},set:function(t){t.set(this,t.script),this.events.set(F.eventGetBarCode,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),F.prototype.createNew=function(){return new F(f.empty)},F.eventGetBarCode={},F}(s);r.StiBarCode=F}(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(){}return t}();t.StiBarCodeData=e}(e=t.BarCodes||(t.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.codabarSymbols="0123456789-$:/.+ABCD",i.codabarTable=["11111221","11112211","11121121","22111111","11211211","21111211","12111121","12112111","12211111","21121111","11122111","11221111","21112121","21211121","21212111","11222221","11221211","11121221","12121121","11122211"],i._module=13,i._height=1,i._ratio=2.2,i.codabarSpaceLeft=7,i.codabarSpaceRight=7,i.codabarSpaceTop=0,i.codabarSpaceBottom=1,i.codabarLineHeightShort=45,i.codabarLineHeightLong=i.codabarLineHeightShort,i.codabarTextPosition=i.codabarLineHeightShort+i.codabarSpaceBottom,i.codabarTextHeight=8.33,i.codabarMainHeight=55,i.codabarLineHeightForCut=i.codabarLineHeightShort,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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCodabarBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Codabar"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"A12345678B"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<7.5&&(this._module=7.5),t>40&&(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;t<e&&(this._ratio=e),t>3&&(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;n<t.length;n++){var o=void 0;o=1==r?"1"==t[n]?"4":"5":"1"==t[n]?"0":"1",e.append(o),r=!r}return e.toString()},r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a,this.codabarSymbols);for(var s=n.create(Number,a.length),l=0;l<a.length;l++)s[l]=this.codabarSymbols.indexOf(a[l]);for(var u=new i,l=0;l<s.length;l++)u.append(this.codeToBar(this.codabarTable[s[l]]));this.calculateSizeFull(this.codabarSpaceLeft,this.codabarSpaceRight,this.codabarSpaceTop,this.codabarSpaceBottom,this.codabarLineHeightShort,this.codabarLineHeightLong,this.codabarTextPosition,this.codabarTextHeight,this.codabarMainHeight,this.codabarLineHeightForCut,this.ratio,o,a,a,u.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiCodabarBarCodeType=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.Enum,o=t.System.Text.StringBuilder,a=function(t){function a(e,n,i){void 0===e&&(e=8),void 0===n&&(n=1),void 0===i&&(i=r.StiCode11CheckSum.Auto);var o=t.call(this)||this;return o.code11Symbols="0123456789-",o.code11StartStopSymbolIndex=11,o.code11Table=["40405","50405","41405","51404","40505","50504","41504","40415","50414","50404","40504","40514"],o.code11SpaceLeft=5,o.code11SpaceRight=5,o.code11SpaceTop=0,o.code11SpaceBottom=1,o.code11LineHeightShort=40,o.code11LineHeightLong=o.code11LineHeightShort,o.code11TextPosition=o.code11LineHeightShort+o.code11SpaceBottom,o.code11TextHeight=8,o.code11MainHeight=50,o.code11LineHeightForCut=o.code11LineHeightShort,o.defaultCode11Module=8,o._module=o.defaultCode11Module,o._height=1,o._checksum=r.StiCode11CheckSum.Auto,o._module=e,o._height=n,o._checksum=i,o}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("Checksum",r.StiCode11CheckSum,this.checksum,r.StiCode11CheckSum.Auto),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"Checksum":this.checksum=i.parse(r.StiCode11CheckSum,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;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Module":this._module=o.textContent.stimulsoft.toNumber();break;case"Height":this.height=o.textContent.stimulsoft.toNumber();break;case"Checksum":this.checksum=i.parse(r.StiCode11CheckSum,o.textContent.toString());break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return e.StiComponentId.StiCode11BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code11"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"A12345678B"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<4&&(this._module=4),t>40&&(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;c<s.length;c++)u[c+1]=this.code11Symbols.indexOf(s[c]);for(var p=0,h=1,c=s.length;c>0;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;c<u.length;c++)m.append(this.code11Table[u[c]]),c!=u.length-1&&m.append("0");this.calculateSizeFull(this.code11SpaceLeft,this.code11SpaceRight,this.code11SpaceTop,this.code11SpaceBottom,this.code11LineHeightShort,this.code11LineHeightLong,this.code11TextPosition,this.code11TextHeight,this.code11MainHeight,this.code11LineHeightForCut,2,a,s,s,m.toString(),i,e),this.drawBarCode(t,i,e)},a.prototype.createNew=function(){return new a},a}(r.StiBarCodeTypeService);r.StiCode11BarCodeType=a}(r=e.BarCodes||(e.BarCodes={}))}(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.Text.StringBuilder,i=function(t){function i(r,n){void 0===r&&(r=20),void 0===n&&(n=1);var i=t.call(this)||this;return i.code128Table=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"],i._module=13,i._height=1,i.code128SpaceLeft=10,i.code128SpaceRight=10,i.code128SpaceTop=0,i.code128SpaceBottom=1,i.code128LineHeightShort=45,i.code128LineHeightLong=i.code128LineHeightShort,i.code128TextPosition=i.code128LineHeightShort+i.code128SpaceBottom,i.code128TextHeight=8.33,i.code128MainHeight=55,i.code128LineHeightForCut=i.code128LineHeightShort,i.defaultCodeSetAB=e.CodeSet.B,i.module=r,i.height=n,i}return __extends(i,t),i.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},i.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}}},i.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<9.84&&(this._module=9.84),t>40&&(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<t.length;i++){var o=void 0;if(1==r)switch(t[i]){case"1":o="4";break;case"2":o="5";break;case"3":o="6";break;case"4":o="7";break;default:o="4";break}else switch(t[i]){case"1":o="0";break;case"2":o="1";break;case"3":o="2";break;case"4":o="3";break;default:o="0";break}e.append(o),r=!r}return e.toString()},i.prototype.encodeAuto=function(t,r){for(var i=new n,o=new n,a=0;a<t.length;a++){var s;((s=t.charCodeAt(a))<128||s>=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<l.length){var p=this.getSet(l,c,u),s;if(p!=u&&(p==e.CodeSet.A?i.append(String.fromCharCode(e.BarcodeCommands.CodeA)):p==e.CodeSet.B?i.append(String.fromCharCode(e.BarcodeCommands.CodeB)):i.append(String.fromCharCode(e.BarcodeCommands.CodeC)),u=p),(s=l.charCodeAt(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<t.length&&this.isDigit(t.charAt(r+1)))return e.CodeSet.C}else if(r+3<t.length&&this.isDigit(t.charAt(r+1))&&this.isDigit(t.charAt(r+2))&&this.isDigit(t.charAt(r+3)))return e.CodeSet.C;return n!=e.CodeSet.None&&n!=e.CodeSet.C?n:this.defaultCodeSetAB},i}(e.StiBarCodeTypeService);e.StiCode128BarCodeType=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=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.StiCode128AutoBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code128 Auto"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"123456780123"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){for(var a=this.getCode(e),s=new i,l=0;l<a.length;l++){var u=a.charCodeAt(l);s.append(u>=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<c.length;l++)p[l]=c.toString().charCodeAt(l);for(var h=p[0],l=0;l<c.length-3;l++)h+=p[l+1]*(l+1);p[p.length-2]=h%103;for(var m=new i,l=0;l<p.length;l++)m.append(this.codeToBar(this.code128Table[p[l]]));var f=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,f,m.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiCode128AutoBarCodeType=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){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.StiCode128aBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code128a"},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);a=this.checkCodeSymbols(a," !\"#$%&'()*+,-./0123456789:;<=>?@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<a.length;c++){var p=a.charCodeAt(c);l[c+1]=p>=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<l.length;c++)h.append(this.codeToBar(this.code128Table[l[c]]));var m=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,m,h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiCode128aBarCodeType=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){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.StiCode128bBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code128b"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"ABCabc123"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+""+"");var s=new i,l=n.create(Number,a.length+3);l[0]=104;for(var u=l[0],c=0;c<a.length;c++){var p=a.charCodeAt(c);l[c+1]=p-32,129==p&&(l[c+1]=102),u+=l[c+1]*(c+1),s.append(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<l.length;c++)h.append(this.codeToBar(this.code128Table[l[c]]));var m=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,m,h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiCode128bBarCodeType=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){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.StiCode128cBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code128c"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"0123456789012345"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a,"0123456789"+"");for(var s=[],l=new i,u="",c=0;c<a.length;c++){var p=a.charCodeAt(c);129==p?(s.push(u),u="",l.append(String.fromCharCode(8226))):(u+=String.fromCharCode(p),l.append(p))}u.length>0&&s.push(u),0==s.length&&s.push(u);for(var h=new i,c=0;c<s.length;c++){for(var m=s[c],f=Math.floor(m.length/2),d=0;d<f;d++){var g=parseInt(m.substr(2*d,2));h.append(String.fromCharCode(g))}if(m.length%2==1){h.append(String.fromCharCode(100));var g=m.charCodeAt(m.length-1);h.append(String.fromCharCode(g-32)),c<s.length-1&&h.append(String.fromCharCode(99))}c<s.length-1&&h.append(String.fromCharCode(102))}var S=n.create(Number,h.length+3);S[0]=105;for(var c=0;c<h.length;c++)S[c+1]=h.toString().charCodeAt(c);for(var y=S[0],c=0;c<S.length-3;c++)y+=S[c+1]*(c+1);S[S.length-2]=y%103,S[S.length-1]=106;for(var A=new i,c=0;c<S.length;c++)A.append(this.codeToBar(this.code128Table[S[c]]));for(var b=new i,c=0;c<l.length;c++){var g=parseInt(l.toString().substr(c,2));b.append(String.fromCharCode(g)),c++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,b.toString(),A.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiCode128cBarCodeType=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.Enum,o=t.System.Text.StringBuilder,a=function(t){function a(e,n,i,o){void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=2.2),void 0===o&&(o=r.StiCheckSum.Yes);var a=t.call(this)||this;return a.code39Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",a.code39StartStopSymbolIndex=43,a.code39Table=["1112212111","2112111121","1122111121","2122111111","1112211121","2112211111","1122211111","1112112121","2112112111","1122112111","2111121121","1121121121","2121121111","1111221121","2111221111","1121221111","1111122121","2111122111","1121122111","1111222111","2111111221","1121111221","2121111211","1111211221","2111211211","1121211211","1111112221","2111112211","1121112211","1111212211","2211111121","1221111121","2221111111","1211211121","2211211111","1221211111","1211112121","2211112111","1221112111","1212121111","1212111211","1211121211","1112121211","1211212111"],a._checkSum=r.StiCheckSum.Yes,a._module=13,a._height=1,a._ratio=2.2,a.code39SpaceLeft=10,a.code39SpaceRight=10,a.code39SpaceTop=0,a.code39SpaceBottom=1,a.code39LineHeightShort=45,a.code39LineHeightLong=a.code39LineHeightShort,a.code39TextPosition=a.code39LineHeightShort+a.code39SpaceBottom,a.code39TextHeight=8.33,a.code39MainHeight=55,a.code39LineHeightForCut=a.code39LineHeightShort,a._module=e,a._height=n,a._ratio=i,a._checkSum=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,13),n.addPropertyNumber("Height",this.height,1),n.addPropertyEnum("CheckSum",r.StiCheckSum,this.checkSum,r.StiCheckSum.Yes),n.addPropertyNumber("Ratio",this.ratio,2.2),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"CheckSum":this.checkSum=i.parse(r.StiCheckSum,s.value.toString());break;case"Ratio":this.ratio=s.value.stimulsoft.toNumber();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;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Module":this.module=o.textContent.stimulsoft.toNumber();break;case"Height":this.height=o.textContent.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=i.parse(r.StiCheckSum,o.textContent);break;case"Ratio":this.ratio=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return e.StiComponentId.StiCode39BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code39"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABC123"},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,"module",{get:function(){return this._module},set:function(t){this._module=t,t<2&&(this._module=2),t>40&&(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;t<e&&(this._ratio=e),t>3&&(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;n<t.length;n++){var i=void 0;i=1==r?"1"==t[n]?"4":"5":"1"==t[n]?"0":"1",e.append(i),r=!r}return e.toString()},a.prototype.draw=function(t,e,i,a){var s=this.getCode(e);s=this.checkCodeSymbols(s,this.code39Symbols);var l=n.create(Number,s.length+(this.checkSum==r.StiCheckSum.Yes?3:2));l[0]=this.code39StartStopSymbolIndex;for(var u=0,c=0;c<s.length;c++)l[c+1]=this.code39Symbols.indexOf(s[c]),u+=l[c+1];this.checkSum==r.StiCheckSum.Yes&&(l[l.length-2]=u%43),l[l.length-1]=l[0];for(var p=new o,c=0;c<l.length;c++)p.append(this.codeToBar(this.code39Table[l[c]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,a,s,s,p.toString(),i,e),this.drawBarCode(t,i,e)},a.prototype.createNew=function(){return new a},a}(r.StiBarCodeTypeService);r.StiCode39BarCodeType=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 o(e,n,i,o){void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=2.2),void 0===o&&(o=r.StiCheckSum.Yes);var a=t.call(this,e,n,i,o)||this;return a.code39ExtTable=["%U","$A","$B","$C","$D","$E","$F","$G","$H","$I","$J","$K","$L","$M","$N","$O","$P","$Q","$R","$S","$T","$U","$V","$W","$X","$Y","$Z","%A","%B","%C","%D","%E"," ","/A","/B","/C","/D","/E","/F","/G","/H","/I","/J","/K","/L","-",".","/O","0","1","2","3","4","5","6","7","8","9","/Z","%F","%G","%H","%I","%J","%V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","%K","%L","%M","%N","%O","%W","+A","+B","+C","+D","+E","+F","+G","+H","+I","+J","+K","+L","+M","+N","+O","+P","+Q","+R","+S","+T","+U","+V","+W","+X","+Y","+Z","%P","%Q","%R","%S","%T"],a}return __extends(o,t),Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiCode39ExtBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Code39 Extended"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"Abc123"},enumerable:!1,configurable:!0}),o.prototype.draw=function(t,e,o,a){var s=this.getCode(e);null==s&&(s="");for(var l=new i,u=new i,c=0;c<s.length;c++){var p=s.charCodeAt(c);p<128&&(l.append(this.code39ExtTable[p]),u.append(String.fromCharCode(p)))}s=l.toString();var h=n.create(Number,s.length+(this.checkSum==r.StiCheckSum.Yes?3:2));h[0]=this.code39StartStopSymbolIndex;for(var m=0,c=0;c<s.length;c++)h[c+1]=this.code39Symbols.indexOf(s[c]),m+=h[c+1];this.checkSum==r.StiCheckSum.Yes&&(h[h.length-2]=m%43),h[h.length-1]=h[0];for(var f=new i,c=0;c<h.length;c++)f.append(this.codeToBar(this.code39Table[h[c]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,a,s,u.toString(),f.toString(),o,e),this.drawBarCode(t,o,e)},o.prototype.createNew=function(){return new o},o}(r.StiCode39BarCodeType);r.StiCode39ExtBarCodeType=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.code93Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",i.code93Table=["131112","111213","111312","111411","121113","121212","121311","111114","131211","141111","211113","211212","211311","221112","221211","231111","112113","112212","112311","122112","132111","111123","111222","111321","121122","131121","212112","212211","211122","211221","221121","222111","112122","112221","122121","123111","121131","311112","311211","321111","112131","113121","211131","121221","312111","311121","122211","111141","1111411"],i._module=13,i._height=1,i._ratio=2.2,i.code93SpaceLeft=10,i.code93SpaceRight=10,i.code93SpaceTop=0,i.code93SpaceBottom=1,i.code93LineHeightShort=45,i.code93LineHeightLong=i.code93LineHeightShort,i.code93TextPosition=i.code93LineHeightShort+i.code93SpaceBottom,i.code93TextHeight=8.33,i.code93MainHeight=55,i.code93LineHeightForCut=i.code93LineHeightShort,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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCode93BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Code93"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"ABC123"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<2&&(this._module=2),t>40&&(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;t<e&&(this._ratio=e),t>3&&(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<t.length;n++){var o=void 0;if(1==r)switch(t[n]){case"1":o="4";break;case"2":o="5";break;case"3":o="6";break;case"4":o="7";break;default:o="4";break}else switch(t[n]){case"1":o="0";break;case"2":o="1";break;case"3":o="2";break;case"4":o="3";break;default:o="0";break}e.append(o),r=!r}return e.toString()},r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a,this.code93Symbols);for(var s=n.create(Number,a.length+4),l=0;l<a.length;l++)s[l+1]=this.code93Symbols.indexOf(a[l]);for(var u=0,c=1,l=a.length-1;l>=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;l<s.length;l++)h.append(this.codeToBar(this.code93Table[s[l]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,o,a,a,h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiCode93BarCodeType=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,e,r,n)||this;return i.code93ExtSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%<]>[",i.code93ExtTable=["]U","<A","<B","<C","<D","<E","<F","<G","<H","<I","<J","<K","<L","<M","<N","<O","<P","<Q","<R","<S","<T","<U","<V","<W","<X","<Y","<Z","]A","]B","]C","]D","]E"," ",">A",">B",">C",">D",">E",">F",">G",">H",">I",">J",">K",">L","-",".",">O","0","1","2","3","4","5","6","7","8","9",">Z","]F","]G","]H","]I","]J","]V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","]K","]L","]M","]N","]O","]W","[A","[B","[C","[D","[E","[F","[G","[H","[I","[J","[K","[L","[M","[N","[O","[P","[Q","[R","[S","[T","[U","[V","[W","[X","[Y","[Z","]P","]Q","]R","]S","]T"],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<a.length;u++){var c=a.charCodeAt(u);c<128&&(s.append(this.code93ExtTable[c]),l.append(String.fromCharCode(c)))}a=s.toString();for(var p=n.create(Number,a.length+4),u=0;u<a.length;u++)p[u+1]=this.code93ExtSymbols.indexOf(a[u]);for(var h=0,m=1,u=a.length-1;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;u<p.length;u++)d.append(this.codeToBar(this.code93Table[p[u]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,o,a,l.toString(),d.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode93BarCodeType);r.StiCode93ExtBarCodeType=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.StiString,o=t.System.Enum,a;!function(t){t[t["Padding"]=129]="Padding",t[t["ModeC40"]=230]="ModeC40",t[t["ModeBinary"]=231]="ModeBinary",t[t["FNC1"]=232]="FNC1",t[t["ModeX12"]=238]="ModeX12",t[t["ModeText"]=239]="ModeText",t[t["ModeEdifact"]=240]="ModeEdifact",t[t["EscapeToAscii"]=254]="EscapeToAscii"}(a||(a={}));var s=function(){function t(t){this.log=null,this.alog=null,this.rspoly=null,this.logmod=255,this.log=n.create(Number,this.logmod+1),this.alog=n.create(Number,this.logmod);for(var e=1,r=0;r<this.logmod;r++)this.alog[r]=e,this.log[e]=r,(e<<=1)>255&&(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;i<t;i++){for(var o=r[this.rlen-1]^e[i],a=this.rlen-1;a>0;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<this.gridHeight;f++)for(var d=f*this.gridWidth,g=(this.gridHeight-f-1)*this.gridWidth,S=0;S<this.gridWidth;S++)this.grid[g+S]=c[d+S]}}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.gridWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.gridHeight},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),t.prototype.dataMatrixPlacementbit=function(t,e,r,n,i,o,a){n<0&&(n+=e,i+=4-(e+4)%8),i<0&&(i+=r,n+=4-(r+4)%8),t[n*r+i]=(o<<3)+a},t.prototype.dataMatrixPlacementBlock=function(t,e,r,n,i,o){this.dataMatrixPlacementbit(t,e,r,n-2,i-2,o,7),this.dataMatrixPlacementbit(t,e,r,n-2,i-1,o,6),this.dataMatrixPlacementbit(t,e,r,n-1,i-2,o,5),this.dataMatrixPlacementbit(t,e,r,n-1,i-1,o,4),this.dataMatrixPlacementbit(t,e,r,n-1,i-0,o,3),this.dataMatrixPlacementbit(t,e,r,n-0,i-2,o,2),this.dataMatrixPlacementbit(t,e,r,n-0,i-1,o,1),this.dataMatrixPlacementbit(t,e,r,n-0,i-0,o,0)},t.prototype.dataMatrixPlacementCornerA=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-1,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-1,1,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,2,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,n,0)},t.prototype.dataMatrixPlacementCornerB=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-3,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-2,0,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-4,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-3,n,3),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,2),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,0)},t.prototype.dataMatrixPlacementCornerC=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-3,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-2,0,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,n,0)},t.prototype.dataMatrixPlacementCornerD=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-1,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-1,r-1,n,6),this.dataMatrixPlacementbit(t,e,r,0,r-3,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-3,n,2),this.dataMatrixPlacementbit(t,e,r,1,r-2,n,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,0)},t.prototype.dataMatrixPlacement=function(t,e){var r=n.create(Number,e*t),i=4,o=0,a=1;do{i==t&&0==o&&this.dataMatrixPlacementCornerA(r,t,e,a++),i==t-2&&0==o&&e%4!=0&&this.dataMatrixPlacementCornerB(r,t,e,a++),i==t-2&&0==o&&e%8==4&&this.dataMatrixPlacementCornerC(r,t,e,a++),i==t+4&&2==o&&e%8==0&&this.dataMatrixPlacementCornerD(r,t,e,a++);do{i<t&&o>=0&&0==r[i*e+o]&&this.dataMatrixPlacementBlock(r,t,e,i,o,a++),i-=2,o+=2}while(i>=0&&o<e);i++,o+=3;do{i>=0&&o<e&&0==r[i*e+o]&&this.dataMatrixPlacementBlock(r,t,e,i,o,a++),i+=2,o-=2}while(i<t&&o>=0);i+=3,o++}while(i<t||o<e);return 0==r[t*e-1]&&(r[t*e-1]=r[t*e-e-2]=1),r},t.prototype.makeEcc200Blocks=function(t,e,r,i){for(var o=new s(i),a=Math.floor((e+2)/r),l=0;l<a;l++){for(var u=n.create(Number,256),c=0,p=l;p<e;p+=a)u[c++]=t[p];var h=o.encode(c,u);c=i-1;for(var p=l;p<i*a;p+=a)t[e+p]=h[c--]}},t.prototype.dataMatrixEncode=function(t,e,n,i){var o=0,s=0,l=r.StiBarCodeTypeService.unpackTilde(n,this._processTilde);if(l[s]==r.BarcodeCommandCode.Fnc1&&(t[o++]=a.FNC1,s++),l.length>0)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;o<e&&i!=r.StiDataMatrixEncodingType.Ascii&&(t[o++]=a.EscapeToAscii),o<e&&(t[o++]=a.Padding);while(o<e){var h=129+149*(o+1)%253+1;h>254&&(h-=254),t[o++]=h}if(o>e||s<l.length)return 0;return p},t.prototype.encodeB=function(t,e,r,n,i){var o=n.res,s=i.res;o=0,s=0,t[s++]=a.ModeBinary,r.length<250?t[s++]=r.length:(t[s++]=249+r.length/250,t[s++]=r.length%250);do{t[s]=r[o++]+149*(s+1)%255+1,s++}while(o<r.length&&s<e);n.res=o,i.res=s},t.prototype.encodeA=function(e,n,i,o,s){var l=o.res,u=s.res;l=0,u=0;do{i[l]>255?(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<i.length&&u<n);o.res=l,s.res=u},t.prototype.encodeE=function(t,e,r,i,o){var s=i.res,l=o.res,u=n.create(Number,4);s=0,l=0,t[l++]=a.ModeEdifact;do{u[0]=0,u[1]=0,u[2]=0,u[3]=0;var c=0;while(s<r.length&&c<4)u[c++]=r[s++];c<4&&(u[c++]=31),t[l]=(63&u[0])<<2,t[l++]|=(48&u[1])>>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<r.length&&l<e);i.res=s,o.res=l},t.prototype.encodeCTX=function(t,e,o,s,l,u){var c=l.res,p=u.res,h=n.create(Number,6),m=0;p=0,c=0;var f="!\"#$%&'()*+,-./:;<=>?@[\\]_"+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<o.length&&p<e);l.res=c,u.res=p},t.isDigit=function(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)},t.convertStringToBytes=function(t){for(var e=n.create(Number,t.length),r=0;r<t.length;r++)e[r]=t[r].charCodeAt(0);return e},t.prototype.makeGrid=function(t,e,r,o){var a=e.ref,s=r.ref,l=a,u=s,c=n.create(Number,3200),p=null,h=0;if(0!=l){for(h=0;h<this.ecc200List.length;h++)if(this.ecc200List[h].width==l&&this.ecc200List[h].height==u)break;if(h==this.ecc200List.length)throw i.format("Invalid size {0}x{1}",l,u)}else{var m=this.dataMatrixEncode(c,1558,t,o);for(h=0;h<this.ecc200List.length;h++)if(m<=this.ecc200List[h].bytes)break;if(h==this.ecc200List.length||0==m&&t.length>0)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;y<u;y+=this.ecc200List[h].fh){for(S=0;S<l;S++)p[y*l+S]=1;for(S=0;S<l;S+=2)p[(y+this.ecc200List[h].fh-1)*l+S]=1}for(S=0;S<l;S+=this.ecc200List[h].fw){for(y=0;y<u;y++)p[y*l+S]=1;for(y=0;y<u;y+=2)p[y*l+S+this.ecc200List[h].fw-1]=1}for(y=0;y<d;y++)for(S=0;S<f;S++){var A=g[(d-y-1)*f+S];(1==A||A>7&&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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"Module":this.module=i.textContent.stimulsoft.toNumber();break;case"Height":this.height=i.textContent.stimulsoft.toNumber();break;case"EncodingType":this.encodingType=o.parse(r.StiDataMatrixEncodingType,i.textContent);break;case"MatrixSize":this.matrixSize=o.parse(r.StiDataMatrixSize,i.textContent);break;case"UseRectangularSymbols":this.useRectangularSymbols=i.textContent.stimulsoft.toBoolean();break;case"ProcessTilde":this.processTilde=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiDataMatrixBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"DataMatrix"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<2&&(this._module=2),t>400&&(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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this._module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiDutchKIXBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Royal TPG Post KIX 4-State"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"2500GG30250"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<15&&(this._module=15),t>25&&(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;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},r.prototype.makeBarsArray=function(t,e,r){for(var n=t.ref,i=e.ref,a=r.ref,s=new o,l=0;l<n.length;l++)s.append(this.charTo4State(n[l]));return i=this.stateToBar(s.toString()),t.ref=n,e.ref=i,r.ref=a,!0},r.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o="",a="",s={ref:i=this.checkCodeSymbols(i,this.dutchKIXSymbols)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=u.ref,this.calculateSizeFull(this.dutchKIXSpaceLeft,this.dutchKIXSpaceRight,this.dutchKIXSpaceTop,this.dutchKIXSpaceBottom,this.dutchKIXLineHeightShort,this.dutchKIXLineHeightLong,this.dutchKIXTextPosition,this.dutchKIXTextHeight,this.dutchKIXMainHeight,this.dutchKIXLineHeightForCut,1,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.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<a.length;l++){var u=a.charCodeAt(l);s.append(u>=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<c.length;l++)p[l]=c.toString().charCodeAt(l);for(var h=p[0]+p[1],l=0;l<c.length-4;l++)h+=p[l+2]*(l+2);p[p.length-2]=h%103;for(var m=new i,l=0;l<p.length;l++)m.append(this.codeToBar(this.code128Table[p[l]]));var f=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,f,m.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiEAN128AutoBarCodeType=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){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.StiEAN128aBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"EAN-128a"},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);a=this.checkCodeSymbols(a," !\"#$%&'()*+,-./0123456789:;<=>?@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<a.length;c++){var p=a.charCodeAt(c);l[c+2]=p>=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<l.length;c++)h.append(this.codeToBar(this.code128Table[l[c]]));var m=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,m,h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiEAN128aBarCodeType=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){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.StiEAN128bBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"EAN-128b"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"ABCabc123"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a," !\"#$%&'()*+,-./0123456789:;<=>?@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;c<a.length;c++){var p=a.charCodeAt(c);l[c+2]=p-32,129==p&&(l[c+2]=102),u+=l[c+2]*(c+2),s.append(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<l.length;c++)h.append(this.codeToBar(this.code128Table[l[c]]));var m=s.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,m,h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiEAN128bBarCodeType=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){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.StiEAN128cBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"EAN-128c"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"0123456789012345"},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);a=this.checkCodeSymbols(a,"0123456789"+"");for(var s=[],l=new i,u="",c=0;c<a.length;c++){var p=a.charCodeAt(c);129==p?(s.push(u),u="",l.append(String.fromCharCode(8226))):(u+=String.fromCharCode(p),l.append(p))}u.length>0&&s.push(u),0==s.length&&s.push(u);for(var h=new i,c=0;c<s.length;c++){for(var m=s[c],f=Math.floor(m.length/2),d=0;d<f;d++){var g=parseInt(m.substr(2*d,2));h.append(String.fromCharCode(g))}if(m.length%2==1){h.append(String.fromCharCode(100));var g=m.charCodeAt(m.length-1);h.append(String.fromCharCode(g-32)),c<s.length-1&&h.append(String.fromCharCode(99))}c<s.length-1&&h.append(String.fromCharCode(102))}var S=n.create(Number,h.length+4);S[0]=105,S[1]=102;for(var c=0;c<h.length;c++)S[c+2]=h.toString().charCodeAt(c);for(var y=S[0]+S[1],c=0;c<S.length-4;c++)y+=S[c+2]*(c+2);S[S.length-2]=y%103,S[S.length-1]=106;for(var A=new i,c=0;c<S.length;c++)A.append(this.codeToBar(this.code128Table[S[c]]));for(var b=new i,c=0;c<l.length;c++){var g=parseInt(l.toString().substr(c,2));b.append(String.fromCharCode(g)),c++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,o,a,b.toString(),A.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiCode128BarCodeType);r.StiEAN128cBarCodeType=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.Drawing.StringAlignment,o=t.System.Drawing.GraphicsUnit,a=t.Report.Components.StiAngle,s=t.System.Text.StringBuilder,l=t.System.Drawing.Rectangle,u=t.Base.Drawing.StiSolidBrush,c=t.System.Drawing.Font,p=t.System.Drawing.StringFormat,h=t.System.Enum,m=function(){function t(t,e,r,n){void 0===n&&(n=!1),this.symbolType=t,this.symbolText=e,this.textAtTop=r,this.makeLonger=n}return t}(),f;r.EanBarInfo=m,function(t){t[t["ComboA0"]=0]="ComboA0",t[t["ComboA1"]=1]="ComboA1",t[t["ComboA2"]=2]="ComboA2",t[t["ComboA3"]=3]="ComboA3",t[t["ComboA4"]=4]="ComboA4",t[t["ComboA5"]=5]="ComboA5",t[t["ComboA6"]=6]="ComboA6",t[t["ComboA7"]=7]="ComboA7",t[t["ComboA8"]=8]="ComboA8",t[t["ComboA9"]=9]="ComboA9",t[t["ComboB0"]=10]="ComboB0",t[t["ComboB1"]=11]="ComboB1",t[t["ComboB2"]=12]="ComboB2",t[t["ComboB3"]=13]="ComboB3",t[t["ComboB4"]=14]="ComboB4",t[t["ComboB5"]=15]="ComboB5",t[t["ComboB6"]=16]="ComboB6",t[t["ComboB7"]=17]="ComboB7",t[t["ComboB8"]=18]="ComboB8",t[t["ComboB9"]=19]="ComboB9",t[t["ComboC0"]=20]="ComboC0",t[t["ComboC1"]=21]="ComboC1",t[t["ComboC2"]=22]="ComboC2",t[t["ComboC3"]=23]="ComboC3",t[t["ComboC4"]=24]="ComboC4",t[t["ComboC5"]=25]="ComboC5",t[t["ComboC6"]=26]="ComboC6",t[t["ComboC7"]=27]="ComboC7",t[t["ComboC8"]=28]="ComboC8",t[t["ComboC9"]=29]="ComboC9",t[t["GuardLeft"]=30]="GuardLeft",t[t["GuardCenter"]=31]="GuardCenter",t[t["GuardRight"]=32]="GuardRight",t[t["GuardSpecial"]=33]="GuardSpecial",t[t["GuardAddLeft"]=34]="GuardAddLeft",t[t["GuardAddDelineator"]=35]="GuardAddDelineator",t[t["SpaceLeft"]=36]="SpaceLeft",t[t["SpaceRight"]=37]="SpaceRight",t[t["SpaceBeforeAdd"]=38]="SpaceBeforeAdd"}(f=r.Ean13Symbol||(r.Ean13Symbol={}));var d=function(t){function d(e,n,i,o,a){void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0);var s=t.call(this)||this;return s._module=13,s._height=1,s._supplementType=r.StiEanSupplementType.None,s._supplementCode=null,s._showQuietZoneIndicator=!0,s.symComboSet=["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],s.symParitySetAdd2=["oo","oe","eo","ee"],s.symParitySetAdd5=["eeooo","eoeoo","eooeo","eoooe","oeeoo","ooeeo","oooee","oeoeo","oeooe","ooeoe"],s.ean13SymData=["2504","1514","1415","0704","0425","0524","0407","0605","0506","2405","0416","0515","1505","0434","1604","0614","3404","1424","2414","1406","6140","5150","5051","4340","4061","4160","4043","4241","4142","6041","808","08080","808","080808","809","08","x","y","z"],s.module=e,s.height=n,s.supplementType=i,s.supplementCode=o,s.showQuietZoneIndicator=a,s}return __extends(d,t),d.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyNumber("Module",this.module,13),n.addPropertyNumber("Height",this.height,1),n.addPropertyEnum("SupplementType",r.StiEanSupplementType,this.supplementType,r.StiEanSupplementType.None),n.addPropertyStringNullOrEmpty("SupplementCode",this.supplementCode),n.addPropertyBool("ShowQuietZoneIndicator",this.showQuietZoneIndicator,!0),n},d.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Module":this.module=a.value.stimulsoft.toNumber();break;case"Height":this.height=a.value.stimulsoft.toNumber();break;case"SupplementType":this.supplementType=h.parse(r.StiEanSupplementType,a.value.toString());break;case"SupplementCode":this.supplementCode=a.value.toString();break;case"ShowQuietZoneIndicator":this.showQuietZoneIndicator=a.value.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}}},d.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"Module":this.module=i.textContent.stimulsoft.toNumber();break;case"Height":this.height=i.textContent.stimulsoft.toNumber();break;case"SupplementType":this.supplementType=h.parse(r.StiEanSupplementType,i.textContent.toString());break;case"SupplementCode":this.supplementCode=i.textContent.toString();break;case"ShowQuietZoneIndicator":this.showQuietZoneIndicator=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return e.StiComponentId.StiEAN13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"serviceName",{get:function(){return"EAN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"defaultCodeValue",{get:function(){return"0123456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<10.4&&(this._module=10.4),t>26&&(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<v.length;C++){var w=v[C];if(0==this.isSymbolSpace(w)){var B=this.barCodeData.lineHeightShort;(this.isSymbolLong(w)||A.textAtTop)&&(B=this.barCodeData.lineHeightLong);var I=0;A.textAtTop&&(I=this.barCodeData.spaceTextTop),this.baseFillRectangle(t,h,m+this.barCodeData.lineWidth*b,f+I,this.barCodeData.lineWidth*this.getSymbolWidth(w),B-I)}b+=this.getSymbolWidth(w)}if(r.showLabelText&&" "!=A.symbolText){var T=null;T=A.textAtTop?new l(m,f+this.barCodeData.textPositionTop,b*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop):new l(m,f+this.barCodeData.textPositionBottom,b*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop),this.baseDrawString2(t,A.symbolText.toString(),g,h,T,d)}m+=this.barCodeData.lineWidth*b}}catch(t){n={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(n)throw n.error}}},d.prototype.makeEan13Bars=function(t,e){for(var r=t.ref,i=n.create(Number,12),o=0;o<12;o++)i[o]=r.charCodeAt(o)-48;var a,s=10-(3*(i[1]+i[3]+i[5]+i[7]+i[9]+i[11])+i[0]+i[2]+i[4]+i[6]+i[8]+i[10])%10;10==s&&(s=0),r=r.substr(0,12)+String.fromCharCode(s+48),i[12]=s;var l=[];l.push(new m(f.SpaceLeft,r[0],!1)),l.push(new m(f.GuardLeft," ",!1));for(var u=i[0],c=0;c<6;c++){var p=i[1+c],h=new m(f.ComboA0+p,r.charAt(1+c),!1);"0"!=this.symComboSet[u][c]&&(h.symbolType=f.ComboB0+p),l.push(h)}l.push(new m(f.GuardCenter," ",!1));for(var c=0;c<6;c++){var p=i[7+c],h=new m(f.ComboC0+p,r.charAt(7+c),!1);l.push(h)}return l.push(new m(f.GuardRight," ",!1)),e?l.push(new m(f.SpaceRight,this.showQuietZoneIndicator?">":" ",!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<i;a++){var s=parseInt(t[a].toString()),l=o[a],u=new m(f.ComboA0+s,t[a],!0);"o"!=l&&(u.symbolType=f.ComboB0+s),n.push(u),a<i-1&&n.push(new m(f.GuardAddDelineator," ",!0))}return r?n.push(new m(f.SpaceRight,this.showQuietZoneIndicator?">":" ",!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<a;s++){var l=parseInt(t[s].toString()),u=o[s],c=new m(f.ComboA0+l,t[s],!0);"o"!=u&&(c.symbolType=f.ComboB0+l),n.push(c),s<a-1&&n.push(new m(f.GuardAddDelineator," ",!0))}return r?n.push(new m(f.SpaceRight,this.showQuietZoneIndicator?">":" ",!0)):n.push(new m(f.SpaceBeforeAdd," ",!0)),n},d.prototype.makeLonger=function(t){for(var e=new s,r=0;r<t.length;r++){var n=t[r];switch(n){case"4":n="8";break;case"5":n="9";break;case"6":n="a";break;case"7":n="b";break}e.append(n)}return e.toString()},d.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.eanWideToNarrowRatio;break;case"2":case"6":case"a":e=1.5*this.eanWideToNarrowRatio;break;case"3":case"7":case"b":e=2*this.eanWideToNarrowRatio;break;case"x":e=this.eanSpaceLeft;break;case"y":e=this.eanSpaceRight;break;case"z":e=this.eanSpaceBeforeAdd;break;default:e=1;break}return e},d.prototype.isSymbolSpace=function(t){var e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;case"x":case"y":case"z":e=!0;break;default:e=!1;break}return e},d.prototype.draw=function(t,e,n,i){var o=this.getCode(e);o=this.checkCodeSymbols(o,"0123456789")+"0000000000000";var a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s=null;if(this.supplementType==r.StiEanSupplementType.None){var l={ref:o};s=this.makeEan13Bars(l,!0),o=l.ref}else{var l={ref:o};s=this.makeEan13Bars(l,!1),o=l.ref,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)},d.prototype.createNew=function(){return new d},d}(r.StiBarCodeTypeService);r.StiEAN13BarCodeType=d}(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 i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiEAN8BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"EAN-8"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceLeft",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceRight",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanLineHeightShort",{get:function(){return 55.2},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanMainHeight",{get:function(){return 64.58},enumerable:!1,configurable:!0}),i.prototype.makeEan8Bars=function(t,e){for(var i=n.create(Number,8),o=0;o<7;o++)i[o]=parseInt(t.charAt(o));var a,s=10-(3*(i[0]+i[2]+i[4]+i[6])+i[1]+i[3]+i[5])%10;10==s&&(s=0),t=t.substr(0,7)+String.fromCharCode(s+48);var l=[];l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceLeft,this.showQuietZoneIndicator?"<":" ",!1)),l.push(new r.EanBarInfo(r.Ean13Symbol.GuardLeft," ",!1));for(var u=0;u<4;u++){var c=parseInt(t.charAt(0+u)),p=new r.EanBarInfo(r.Ean13Symbol.ComboA0+c,t.charAt(0+u),!1);l.push(p)}l.push(new r.EanBarInfo(r.Ean13Symbol.GuardCenter," ",!1));for(var u=0;u<4;u++){var c=parseInt(t.charAt(4+u)),p=new r.EanBarInfo(r.Ean13Symbol.ComboC0+c,t.charAt(4+u),!1);l.push(p)}return l.push(new r.EanBarInfo(r.Ean13Symbol.GuardRight," ",!1)),e?l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceRight,this.showQuietZoneIndicator?">":" ",!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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this._module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"AddClearZone":this._addClearZone=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiFIMBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"FIM"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"A"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[22]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=this.defaultFIMModule},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"addClearZone",{get:function(){return this._addClearZone},set:function(t){this._addClearZone=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.fIMTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fIMSpaceLeft",{get:function(){return this.addClearZone?16:1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fIMSpaceRight",{get:function(){return this.addClearZone?7:1},enumerable:!1,configurable:!0}),r.prototype.draw=function(t,e,r,n){var i=this.getCode(e).toLowerCase(),o="";switch((i=this.checkCodeSymbols(i,this.fIMSymbols)+"a")[0]){case"a":o=this.fIMTable[0];break;case"b":o=this.fIMTable[1];break;case"c":o=this.fIMTable[2];break;case"d":o=this.fIMTable[3];break}this.calculateSizeFull(this.fIMSpaceLeft,this.fIMSpaceRight,this.fIMSpaceTop,this.fIMSpaceBottom,this.fIMLineHeightShort,this.fIMLineHeightLong,this.fIMTextPosition,this.fIMTextHeight,this.fIMMainHeight,this.fIMLineHeightForCut,2,n,i,"",o,r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiFIMBarCodeType=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=t.System.StiString,o=t.System.Text.StringBuilder,a=t.Base.Drawing.StiSolidBrush,s=function(t){function s(e,r,n,i){void 0===e&&(e=13),void 0===r&&(r=1),void 0===n&&(n=2.5),void 0===i&&(i=!1);var o=t.call(this)||this;return o._module=40,o._height=1,o._ratio=2.5,o._printVerticalBars=!1,o.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],o.itf14BearerBarWidth=2,o.itf14SpaceLeft=10,o.itf14SpaceRight=10,o.itf14SpaceTop=o.itf14BearerBarWidth,o.itf14SpaceBottom=o.itf14BearerBarWidth+1,o.itf14LineHeightShort=31.25,o.itf14LineHeightLong=o.itf14LineHeightShort,o.itf14TextHeight=8.33,o.itf14MainHeight=51.75,o.itf14TextPosition=o.itf14SpaceTop+o.itf14LineHeightShort+o.itf14SpaceBottom,o.itf14LineHeightForCut=o.itf14LineHeightShort,o.module=e,o.height=r,o.ratio=n,o.printVerticalBars=i,o}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Module",this.module,40),r.addPropertyNumber("Height",this.height,1),r.addPropertyNumber("Ratio",this.ratio,2.5),r.addPropertyBool("PrintVerticalBars",this.printVerticalBars),r},s.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;case"PrintVerticalBars":this.printVerticalBars=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}}},s.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=n.textContent.stimulsoft.toNumber();break;case"PrintVerticalBars":this.printVerticalBars=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiITF14BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"ITF-14"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"15400141288763"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<10&&(this._module=10),t>40&&(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;d<A.length;d++){var C=void 0;C=1==v?"0"==A[d]?"4":"5":"0"==A[d]?"0":"1",b.append(C),v=!v}this.calculateSizeFull(this.itf14SpaceLeft+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceRight+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceTop,this.itf14SpaceBottom,this.itf14LineHeightShort,this.itf14LineHeightLong,this.itf14TextPosition,this.itf14TextHeight,this.itf14MainHeight,this.itf14LineHeightForCut,this.ratio,l,u,u,b.toString(),s,e);var w=function(t,e,n){n.baseFillRectangle(t,e,0,0,n.barCodeData.mainWidth,n.barCodeData.spaceTop),n.baseFillRectangle(t,e,0,n.barCodeData.spaceTop+n.barCodeData.lineHeightShort,n.barCodeData.mainWidth,n.barCodeData.spaceTop),n.stimulsoft.as(r.StiBarCodeTypeService).printVerticalBars&&(n.baseFillRectangle(t,e,0,0,n.barCodeData.spaceTop,n.barCodeData.lineHeightShort+2*n.barCodeData.spaceTop),n.baseFillRectangle(t,e,n.barCodeData.mainWidth-n.barCodeData.spaceTop,0,n.barCodeData.spaceTop,n.barCodeData.lineHeightShort+2*n.barCodeData.spaceTop))};this.drawBarCode1(t,s,e,w);var B=new a(e.foreColor)},s.prototype.createNew=function(){return new s},s}(r.StiBarCodeTypeService);r.StiITF14BarCodeType=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.Text.StringBuilder,o=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._module=13,e._height=1,e._ratio=2.2,e.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],e.interleaved2of5SpaceLeft=10,e.interleaved2of5SpaceRight=10,e.interleaved2of5SpaceTop=0,e.interleaved2of5SpaceBottom=1,e.interleaved2of5LineHeightShort=40,e.interleaved2of5LineHeightLong=e.interleaved2of5LineHeightShort,e.interleaved2of5TextHeight=8.33,e.interleaved2of5MainHeight=50,e.interleaved2of5TextPosition=e.interleaved2of5LineHeightShort+e.interleaved2of5SpaceBottom,e.interleaved2of5LineHeightForCut=e.interleaved2of5LineHeightShort,e}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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiInterleaved2of5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"2of5 Interleaved"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<7.5&&(this._module=7.5),t>40&&(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;t<e&&(this._ratio=e),t>3&&(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<o.length/2;s++){var l=this.symTableSet[parseInt(o[2*s+0].toString())],u=this.symTableSet[parseInt(o[2*s+1].toString())],c=new i;c.append(l[0]),c.append(u[0]),c.append(l[1]),c.append(u[1]),c.append(l[2]),c.append(u[2]),c.append(l[3]),c.append(u[3]),c.append(l[4]),c.append(u[4]),a.append(c.toString())}a.append(this.symTableSet[11]);for(var p=!0,h=a.toString(),m=new i,s=0;s<h.length;s++){var f=void 0;f=1==p?"0"==h.charAt(s)?"4":"5":"0"==h.charAt(s)?"0":"1",m.append(f),p=!p}this.calculateSizeFull(this.interleaved2of5SpaceLeft,this.interleaved2of5SpaceRight,this.interleaved2of5SpaceTop,this.interleaved2of5SpaceBottom,this.interleaved2of5LineHeightShort,this.interleaved2of5LineHeightLong,this.interleaved2of5TextPosition,this.interleaved2of5TextHeight,this.interleaved2of5MainHeight,this.interleaved2of5LineHeightForCut,this.ratio,n,o,o,m.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r.prototype.StiInterleaved2of5BarCodeType=function(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2),this.module=t,this.height=e,this.ratio=r},r}(r.StiBarCodeTypeService);r.StiInterleaved2of5BarCodeType=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.Base.Drawing.StiSolidBrush,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Font,a=t.System.Drawing.StringFormat,s=t.System.Drawing.StringAlignment,l=t.System.Drawing.GraphicsUnit,u=function(t){function u(e,n,i,o,a){void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0);var s=t.call(this,e,n,i,o,a)||this;return s.isbnOffsetY=10,s}return __extends(u,t),Object.defineProperty(u.prototype,"componentId",{get:function(){return e.StiComponentId.StiIsbn13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"serviceName",{get:function(){return"ISBN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultCodeValue",{get:function(){return"978-0-7356-2153-4"},enumerable:!1,configurable:!0}),u.prototype.draw=function(t,e,u,c){var p=this.getCode(e),h=this.checkCodeSymbols(p,"0123456789")+"0000000000000",m=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",f=[];if(this.supplementType==r.StiEanSupplementType.None){var d={ref:h};f=this.makeEan13Bars(d,!0),h=d.ref}else{var d={ref:h};f=this.makeEan13Bars(d,!1),h=d.ref,this.supplementType==r.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(m,f,!0):this.makeEanAdd5Bars(m,f,!0)}this.calculateSizeEan(this.isbnOffsetY,c,f,u,e),this.translateRect(t,u,e),this.drawEanBars(t,f,e);var g=new n(e.foreColor),S=new a,y=new o(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,l.Pixel),A="ISBN "+p;S.lineAlignment=s.Center,S.alignment=s.Center,this.baseDrawString2(t,A,y,g,new i(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),S),this.rollbackTransform(t)},u.prototype.createNew=function(){return new u},u}(r.StiEAN13BarCodeType);r.StiIsbn13BarCodeType=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.Base.Drawing.StiSolidBrush,o=t.System.Drawing.StringAlignment,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Font,l=t.System.Drawing.StringFormat,u=t.System.Drawing.GraphicsUnit,c=function(t){function c(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(c,t),Object.defineProperty(c.prototype,"componentId",{get:function(){return e.StiComponentId.StiIsbn10BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"serviceName",{get:function(){return"ISBN-10"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"defaultCodeValue",{get:function(){return"0-7356-2153-5"},enumerable:!1,configurable:!0}),c.prototype.draw=function(t,e,n,c){var p=this.getCode(e),h="978"+this.checkCodeSymbols(p,"0123456789")+"0000000000000",m=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",f=[];if(this.supplementType==r.StiEanSupplementType.None){var d={ref:h};f=this.makeEan13Bars(d,!0),h=d.ref}else{var d={ref:h};f=this.makeEan13Bars(d,!1),h=d.ref,this.supplementType==r.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(m,f,!0):this.makeEanAdd5Bars(m,f,!0)}this.calculateSizeEan(this.isbnOffsetY,c,f,n,e),this.translateRect(t,n,e),this.drawEanBars(t,f,e);var g=new i(e.foreColor),S=new l,y=new s(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,u.Pixel),A="ISBN "+p;S.lineAlignment=o.Center,S.alignment=o.Center,this.baseDrawString2(t,A,y,g,new a(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),S),this.rollbackTransform(t)},c.prototype.createNew=function(){return new c},c}(r.StiIsbn13BarCodeType);r.StiIsbn10BarCodeType=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=function(t){function i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiJan13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"JAN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,n,i){var o=this.getCode(e),a=this.checkCodeSymbols(o,"0123456789")+"0000000000000",s=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";if(!a.stimulsoft.startsWith("45")&&!a.stimulsoft.startsWith("49"))return void this.drawBarCodeError(t,n,e);var l=[];if(this.supplementType==r.StiEanSupplementType.None){var u={ref:a};l=this.makeEan13Bars(u,!0),a=u.ref}else{var u={ref:a};l=this.makeEan13Bars(u,!1),a=u.ref,this.supplementType==r.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(s,l,!0):this.makeEanAdd5Bars(s,l,!0)}this.calculateSizeEan(0,i,l,n,e),this.translateRect(t,n,e),this.drawEanBars(t,l,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},i}(r.StiEAN13BarCodeType);r.StiJan13BarCodeType=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 i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiJan8BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"JAN-8"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,n,i){var o=this.getCode(e),a=this.checkCodeSymbols(o,"0123456789")+"0000000000000",s=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";if(!a.stimulsoft.startsWith("45")&&!a.stimulsoft.startsWith("49"))return void this.drawBarCodeError(t,n,e);var l=[];this.supplementType==r.StiEanSupplementType.None?l=this.makeEan8Bars(a,!0):(l=this.makeEan8Bars(a,!1),this.supplementType==r.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(s,l,!0):this.makeEanAdd5Bars(s,l,!0)),this.calculateSizeEan(0,i,l,n,e),this.translateRect(t,n,e),this.drawEanBars(t,l,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},i}(r.StiEAN8BarCodeType);r.StiJan8BarCodeType=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=t.System.Enum,o=t.Report.BarCodes.StiMaxicodeMode,a=t.System.Text.Encoding,s=function(){function t(t,e,r){this.log=null,this.alog=null,this.rspoly=null;var i=0,o=0;for(o=1;o<=t;o<<=1)i++;o>>=1,i--,this.logmod=(1<<i)-1,this.log=n.create(Number,this.logmod+1),this.alog=n.create(Number,this.logmod);for(var a=1,s=0;s<this.logmod;s++)this.alog[s]=a,this.log[a]=s,0!=((a<<=1)&o)&&(a^=t);this.rlen=e,this.rspoly=n.create(Number,e+1),this.rspoly[0]=1;for(var l=1;l<=e;l++){this.rspoly[l]=1;for(var u=l-1;u>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;i<t;i++){for(var o=r[this.rlen-1]^e[i],a=this.rlen-1;a>0;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<this.data_Postcode.length;p++)if(this.data_Postcode[p]<"0"||this.data_Postcode[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<t.length){var n=t[e++],i=!1;if("~"==n&&e+2<t.length){var o,a=t.substr(e,3).stimulsoft.toNumber();isNaN(a)||a>=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(n<e.length){var o=e[n++];if(o==t.com_GS){if(r.push(i),3==r.length){r.push(e.substr(n));break}i=""}else i+=o}return i.length>0&&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+1<e){var u=this.set[t+1],c=u==r||u==n||u==i||u==o||u==a;if(l&&c)return Math.min(s,u);if(l)return s;if(c)return u}else if(l)return s;return r},t.prototype.insertSymbol=function(t,e){for(var r=143;r>t;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<e;i++)this.set[i]=t.codeSet_Map[this.sourceBytes[i]],this.character[i]=t.charToSym_Map[this.sourceBytes[i]];for(0==this.set[0]&&(13==this.character[0]&&(this.character[0]=0),this.set[0]=1),r=1;r<e;r++)0==this.set[r]&&(13==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,5),5==this.set[r]?this.character[r]=13:this.character[r]=0):28==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=32)):29==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=33)):30==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),5==this.set[r]&&(this.character[r]=34)):32==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2,3,4,5),1==this.set[r]?this.character[r]=32:2==this.set[r]?this.character[r]=47:this.character[r]=59):44==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=48)):46==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=49)):47==this.character[r]?(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=50)):58==this.character[r]&&(this.set[r]=this.findBestSet(r,e,1,2),2==this.set[r]&&(this.character[r]=51)));for(r=e;r<this.set.length;r++)2==this.set[e-1]?this.set[r]=2:this.set[r]=1,this.character[r]=33;var a=0;for(r=n=this.mode==o.Mode2||this.mode==o.Mode3?9:0;r<143;r++)1==this.set[r]&&this.character[r]>=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<this.set.length&&1==this.set[r+1]?r+2<this.set.length&&1==this.set[r+2]?r+3<this.set.length&&1==this.set[r+3]?(this.insertSymbol(r,63),s=1,e++,r+=3):(this.insertSymbol(r,57),e++,r+=2):(this.insertSymbol(r,56),e++,r++):(this.insertSymbol(r,59),e++);break;case 2:r+1<this.set.length&&2==this.set[r+1]?(this.insertSymbol(r,63),s=2,e++,r++):(this.insertSymbol(r,59),e++);break;case 3:r+3<this.set.length&&3==this.set[r+1]&&3==this.set[r+2]&&3==this.set[r+3]?(this.insertSymbol(r,60),this.insertSymbol(r,60),s=3,e++,r+=3):(this.insertSymbol(r,60),e++);break;case 4:r+3<this.set.length&&4==this.set[r+1]&&4==this.set[r+2]&&4==this.set[r+3]?(this.insertSymbol(r,61),this.insertSymbol(r,61),s=4,e++,r+=3):(this.insertSymbol(r,61),e++);break;case 5:r+3<this.set.length&&5==this.set[r+1]&&5==this.set[r+2]&&5==this.set[r+3]?(this.insertSymbol(r,62),this.insertSymbol(r,62),s=5,e++,r+=3):(this.insertSymbol(r,62),e++);break;default:throw new Error("Encoding: unexpected set "+this.set[r].toString()+" at index "+r.toString()+".")}r++}r++}while(r<this.set.length);r=0;do{if(6==this.set[r]){var l=0;for(n=0;n<9;n++)l*=10,l+=this.character[r+n]-"0".charCodeAt(0);for(this.character[r]=31,this.character[r+1]=(1056964608&l)>>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(r<this.set.length);if(3!=this.eciMode&&(this.insertSymbol(0,27),this.insertSymbol(1,31&this.eciMode),e+=2),(this.mode==o.Mode2||this.mode==o.Mode3)&&e>84)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<e;a++)o[a]=i[e-1-a];return o},t.prototype.getPrimaryCodewords=function(){return this.mode==o.Mode2?t.getMode2PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service):t.getMode3PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service)},t.getMode2PrimaryCodewords=function(t,e,r){var i=t.stimulsoft.toNumber(),o=n.create(Number,10);return o[0]=(3&i)<<4|2,o[1]=(252&i)>>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<i.length;o++)i[o]=t[o].charCodeAt(0),t[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<u.length;h++)0!=(1&h)?c[(h-1)/2]=u[h]:p[h/2]=u[h];for(var m=t.getErrorCorrectionCodewords(c,a/2),f=t.getErrorCorrectionCodewords(p,a/2),h=0;h<f.length;h++)this.codewords.push(f[h]),this.codewords.push(m[h]);for(var d=n.create(Number,7),h=0;h<33;h++)for(var g=0;g<30;g++){var S=Math.floor((t.grid_Map[30*h+g]+5)/6),y=(t.grid_Map[30*h+g]+5)%6;0!=S&&(d[0]=(32&this.codewords[S-1])>>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;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Module":this._module=o.textContent.stimulsoft.toNumber();break;case"Height":this.height=o.textContent.stimulsoft.toNumber();break;case"CheckSum1":this._checkSum1=i.parse(r.StiPlesseyCheckSum,o.textContent);break;case"CheckSum2":this._checkSum2=i.parse(r.StiPlesseyCheckSum,o.textContent);break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return e.StiComponentId.StiPlesseyBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Plessey"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"1234567"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<1&&(this._module=1),t>40&&(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<t.length;r++){var n=new o;"1"==t[r]?n.append("71"):n.append("53"),e.append(n)}return e.toString()},a.prototype.draw=function(t,e,i,a){var s=this.getCode(e);s=this.checkCodeSymbols(s,this.plesseySymbols);var l=new o(s),u=s.length;this.checkSum1!=r.StiPlesseyCheckSum.None&&u++,this.checkSum2!=r.StiPlesseyCheckSum.None&&u++;for(var c=n.create(Number,u),p=0;p<s.length;p++)c[p]=this.plesseySymbols.indexOf(s.charAt(p));if(this.checkSum1!=r.StiPlesseyCheckSum.None){var h=0;if(this.checkSum1==r.StiPlesseyCheckSum.Modulo10){for(var m=0,f=0,d=1,g=!1,p=s.length-1;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 o;y.append(this.plesseyStartCode);for(var p=0;p<c.length;p++)y.append(this.plesseyTable[c[p]]);y.append(this.plesseyStopCode);var A=new o(this.codeToBar(y.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,a,s,l.toString(),A.toString(),i,e),this.drawBarCode(t,i,e)},a.prototype.createNew=function(){return new a},a}(r.StiBarCodeTypeService);r.StiPlesseyBarCodeType=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 o(e,n,i,o){void 0===e&&(e=8),void 0===n&&(n=1),void 0===i&&(i=r.StiPlesseyCheckSum.Modulo10),void 0===o&&(o=r.StiPlesseyCheckSum.None);var a=t.call(this,e,n,i,o)||this;return a.msiTable=["0000","0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111"],a.msiStartCode="1",a.msiStopCode="00",a}return __extends(o,t),Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiMsiBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Msi"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"1234567"},enumerable:!1,configurable:!0}),Object.defineProperty(o.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}),o.prototype.codeToBarMsi=function(t){for(var e=new i,r=0;r<t.length;r++){var n=new i;"1"==t[r]?n.append("71"):n.append("53"),e.append(n)}return e.toString()},o.prototype.draw=function(t,e,o,a){var s=this.getCode(e);s=this.checkCodeSymbols(s,this.plesseySymbols);var l=new i(s),u=s.length;this.checkSum1!=r.StiPlesseyCheckSum.None&&u++,this.checkSum2!=r.StiPlesseyCheckSum.None&&u++;for(var c=n.create(Number,u),p=0;p<s.length;p++)c[p]=this.plesseySymbols.indexOf(s.charAt(p));if(this.checkSum1!=r.StiPlesseyCheckSum.None){var h=0;if(this.checkSum1==r.StiPlesseyCheckSum.Modulo10){for(var m=0,f=0,d=1,g=!1,p=s.length-1;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;p<c.length;p++)y.append(this.msiTable[c[p]]);y.append(this.msiStopCode);var A=new i(this.codeToBarMsi(y.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,a,s,l.toString(),A.toString(),o,e),this.drawBarCode(t,o,e)},o.prototype.createNew=function(){return new o},o}(r.StiPlesseyBarCodeType);r.StiMsiBarCodeType=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.Enum,o,a,s,l;!function(t){t[t["Text"]=0]="Text",t[t["Numeric"]=1]="Numeric",t[t["Byte"]=2]="Byte"}(o||(o={})),function(t){t[t["TextMode"]=900]="TextMode",t[t["NumericMode"]=902]="NumericMode",t[t["ByteMode"]=901]="ByteMode",t[t["ByteMode6"]=924]="ByteMode6"}(a||(a={})),function(t){t[t["None"]=0]="None",t[t["Upper"]=1]="Upper",t[t["Lower"]=2]="Lower",t[t["Mixed"]=4]="Mixed",t[t["Punctuation"]=8]="Punctuation"}(s||(s={})),function(t){t[t["None"]=-1]="None",t[t["Punctuation"]=25]="Punctuation",t[t["Space"]=26]="Space",t[t["Lower"]=27]="Lower",t[t["TempUpper"]=27]="TempUpper",t[t["Mixed"]=28]="Mixed",t[t["UpperFromMixed"]=28]="UpperFromMixed",t[t["TempPunctuation"]=29]="TempPunctuation",t[t["UpperFromPunctuation"]=29]="UpperFromPunctuation"}(l||(l={}));var u=function(){function t(t,e,r){this.type=t,this.start=e,this.length=r}return t}(),c=function(){function t(){this.list=[]}return t.prototype.addSegment=function(t,e,r){this.list.push(new u(t,e,r))},t.prototype.getSegment=function(t){return this.list[t]},Object.defineProperty(t.prototype,"size",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),t}(),p=function(){function t(t,e,i,s,l,u,p,h,m){void 0===i&&(i=r.StiPdf417ErrorsCorrectionLevel.Automatic),void 0===s&&(s=0),void 0===l&&(l=0),void 0===u&&(u=!0),void 0===p&&(p=!0),void 0===h&&(h=1),void 0===m&&(m=3),this.max_data_codewords=926,this.codeWordLength=17,this.startPatternCode=130728,this.stopPatternCode=260649,this._matrix=null,this.text=null,this.codewords=null,this._errorMessage=null,this.codeColumns=1,this.codeRows=3,this.errorLevel=0,this.aspectRatio=1,this.ratioY=3,this.codeColumns=s,this.codeRows=l,this.aspectRatio=h,this.ratioY=m,i!=r.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=i),this.codewords=n.create(Number,2*this.max_data_codewords+2);try{if(null==t)throw new Error("Input data cannot be null.");this.text=n.create(Number,t.length);for(var f=0;f<t.length;f++){if(t[f].charCodeAt(0)>255)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<this.text.length;g++){var S=this.text[g];if(S>=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<this.text.length;g++){if(this.text[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<<this.errorLevel,B=A+w;if(u&&p){var I=(Math.sqrt(B*m*h*4/17+16)-4)/2;this.codeColumns=Math.trunc(I+.5),this.codeColumns<1&&(this.codeColumns=1),this.codeColumns>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.codeRows<B)throw new Error("Size is too small for data.");this.codeColumns*this.codeRows>this.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<this.codeRows;o++){this.outCodeword(this.startPatternCode,i,this.codeWordLength);var a=o%3,s=30*Math.floor(o/3);switch(a){case 0:s+=Math.floor((this.codeRows-1)/3);break;case 1:s+=3*this.errorLevel+(this.codeRows-1)%3;break;default:s+=this.codeColumns-1;break}this.outCodeword(t.clustersData[a][s],i,this.codeWordLength);for(var l=0;l<this.codeColumns;l++)this.outCodeword(t.clustersData[a][this.codewords[e++]],i,this.codeWordLength);switch(s=30*Math.floor(o/3),a){case 0:s+=this.codeColumns-1;break;case 1:s+=Math.floor((this.codeRows-1)/3);break;default:s+=3*this.errorLevel+(this.codeRows-1)%3;break}this.outCodeword(t.clustersData[a][s],i,this.codeWordLength),this.outCodeword(this.stopPatternCode,i,this.codeWordLength+1)}},t.prototype.outCodeword=function(t,e,r){for(var n=e.ref,i=0;i<r;i++){var o=n+r-i-1;this.matrix[o]=0!=(1&t)?1:0,t>>=1}n+=r,e.ref=n},t.prototype.calculateErrorCorrection=function(e){for(var r=e,n=929,i=2<<this.errorLevel,o=0;o<i;o++)this.codewords[r+o]=0;for(var a=i-1,s=0;s<e;s++)for(var l=this.codewords[s]+this.codewords[r],u=0;u<=a;u++){var c,p=n-l*t.errorLevelData[this.errorLevel][a-u]%n;this.codewords[r+u]=((u==a?0:this.codewords[r+u+1])+p)%n}for(var o=0;o<i;o++)this.codewords[r+o]=(n-this.codewords[r+o])%n},t.prototype.dataCompaction=function(t){for(var e=1,r={ref:e},n=0;n<t.size;n++){var i=t.getSegment(n);switch(i.type){case o.Text:this.textCompaction(i,r);break;case o.Numeric:this.numberCompaction(i,r);break;case o.Byte:this.byteCompaction(i,r);break}}return e=r.ref},t.prototype.getSubMode=function(t,e){var r=this.text[t];if(r>="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;h<i+o;h++){var m=void 0,f=l.None,d=l.None,g={ref:m},S=this.getSubMode(h,g);if(m=g.ref,0!=(S&c)){u[p++]=m;continue}var y=s.None;if(h+2<o){var A,b={ref:void 0};y=this.getSubMode(h+1,b)&this.getSubMode(h+2,b)}switch(c){case s.Upper:0!=(S&s.Lower)?(f=l.Lower,c=s.Lower):0!=(S&s.Mixed)?(f=l.Mixed,c=s.Mixed):0!=(y&s.Punctuation)?(f=l.Mixed,d=l.Punctuation,c=s.Punctuation):f=l.TempPunctuation;break;case s.Lower:0!=(S&s.Upper)?0!=(y&s.Upper)?(f=l.Mixed,d=l.UpperFromMixed,c=s.Upper):f=l.TempUpper:0!=(S&s.Mixed)?(f=l.Mixed,c=s.Mixed):0!=(y&s.Punctuation)?(f=l.Mixed,d=l.Punctuation,c=s.Punctuation):f=l.TempPunctuation;break;case s.Mixed:0!=(S&s.Lower)?(f=l.Lower,c=s.Lower):0!=(S&s.Upper)?(f=l.UpperFromMixed,c=s.Upper):0!=(y&s.Punctuation)?(f=l.Punctuation,c=s.Punctuation):f=l.TempPunctuation;break;case s.Punctuation:u[p++]=l.UpperFromPunctuation,c=s.Upper,h--;continue}f!=l.None&&(u[p++]=f),d!=l.None&&(u[p++]=d),u[p++]=m}0!=(1&p)&&(u[p++]=l.TempPunctuation);var v=p;p=0;while(p<v)this.codewords[r++]=30*u[p]+u[p+1],p+=2;e.ref=r},t.prototype.numberCompaction=function(t,e){var r=e.ref;this.codewords[r++]=a.NumericMode;var n=t.start,i=t.length;while(i>0){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<n+o;u++){for(var l=s;l>=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;s<i;s++)this.codewords[r++]=this.text[n+s];e.ref=r},t.clustersData=[[120256,125680,128380,120032,125560,128318,108736,119920,108640,86080,108592,86048,110016,120560,125820,109792,120440,125758,88256,109680,88160,89536,110320,120700,89312,110200,120638,89200,110140,89840,110460,89720,110398,89980,128506,119520,125304,128190,107712,119408,125244,107616,119352,84032,107568,119324,84e3,107544,83984,108256,119672,125374,85184,108144,119612,85088,108088,119582,85040,108060,85728,108408,119742,85616,108348,85560,108318,85880,108478,85820,85790,107200,119152,125116,107104,119096,125086,83008,107056,119068,82976,107032,82960,82952,83648,107376,119228,83552,107320,119198,83504,107292,83480,83468,83824,107452,83768,107422,83740,83900,106848,118968,125022,82496,106800,118940,82464,106776,118926,82448,106764,82440,106758,82784,106936,119006,82736,106908,82712,106894,82700,82694,106974,82830,82240,106672,118876,82208,106648,118862,82192,106636,82184,106630,82180,82352,82328,82316,82080,118830,106572,106566,82050,117472,124280,127678,103616,117360,124220,103520,117304,124190,75840,103472,75808,104160,117624,124350,76992,104048,117564,76896,103992,76848,76824,77536,104312,117694,77424,104252,77368,77340,77688,104382,77628,77758,121536,126320,128700,121440,126264,128670,111680,121392,126236,111648,121368,126222,111632,121356,103104,117104,124092,112320,103008,117048,124062,112224,121656,126366,93248,74784,102936,117006,93216,112152,93200,75456,103280,117180,93888,75360,103224,117150,93792,112440,121758,93744,75288,93720,75632,103356,94064,75576,103326,94008,112542,93980,75708,94140,75678,94110,121184,126136,128606,111168,121136,126108,111136,121112,126094,111120,121100,111112,111108,102752,116920,123998,111456,102704,116892,91712,74272,121244,116878,91680,74256,102668,91664,111372,102662,74244,74592,102840,116958,92e3,74544,102812,91952,111516,102798,91928,74508,74502,74680,102878,92088,74652,92060,74638,92046,92126,110912,121008,126044,110880,120984,126030,110864,120972,110856,120966,110852,110850,74048,102576,116828,90944,74016,102552,116814,90912,111e3,121038,90896,73992,102534,90888,110982,90884,74160,102620,91056,74136,102606,91032,111054,91020,74118,91014,91100,91086,110752,120920,125998,110736,120908,110728,120902,110724,110722,73888,102488,116782,90528,73872,102476,90512,110796,102470,90504,73860,90500,73858,73944,90584,90572,90566,120876,120870,110658,102444,73800,90312,90308,90306,101056,116080,123580,100960,116024,70720,100912,115996,70688,100888,70672,70664,71360,101232,116156,71264,101176,116126,71216,101148,71192,71180,71536,101308,71480,101278,71452,71612,71582,118112,124600,127838,105024,118064,124572,104992,118040,124558,104976,118028,104968,118022,100704,115896,123486,105312,100656,115868,79424,70176,118172,115854,79392,105240,100620,79376,70152,79368,70496,100792,115934,79712,70448,118238,79664,105372,100750,79640,70412,79628,70584,100830,79800,70556,79772,70542,70622,79838,122176,126640,128860,122144,126616,128846,122128,126604,122120,126598,122116,104768,117936,124508,113472,104736,126684,124494,113440,122264,126670,113424,104712,117894,113416,122246,104706,69952,100528,115804,78656,69920,100504,115790,96064,78624,104856,117966,96032,113560,122318,100486,96016,78600,104838,96008,69890,70064,100572,78768,70040,100558,96176,78744,104910,96152,113614,70022,78726,70108,78812,70094,96220,78798,122016,126552,128814,122e3,126540,121992,126534,121988,121986,104608,117848,124462,113056,104592,126574,113040,122060,117830,113032,104580,113028,104578,113026,69792,100440,115758,78240,69776,100428,95136,78224,104652,100422,95120,113100,69764,95112,78212,69762,78210,69848,100462,78296,69836,95192,78284,69830,95180,78278,69870,95214,121936,126508,121928,126502,121924,121922,104528,117804,112848,104520,117798,112840,121958,112836,104514,112834,69712,100396,78032,69704,100390,94672,78024,104550,94664,112870,69698,94660,78018,94658,78060,94700,94694,126486,121890,117782,104484,104482,69672,77928,94440,69666,77922,99680,68160,99632,68128,99608,115342,68112,99596,68104,99590,68448,99768,115422,68400,99740,68376,99726,68364,68358,68536,99806,68508,68494,68574,101696,116400,123740,101664,116376,101648,116364,101640,116358,101636,67904,99504,115292,72512,67872,116444,115278,72480,101784,116430,72464,67848,99462,72456,101766,67842,68016,99548,72624,67992,99534,72600,101838,72588,67974,68060,72668,68046,72654,118432,124760,127918,118416,124748,118408,124742,118404,118402,101536,116312,105888,101520,116300,105872,118476,116294,105864,101508,105860,101506,105858,67744,99416,72096,67728,116334,80800,72080,101580,99398,80784,105932,67716,80776,72068,67714,72066,67800,99438,72152,67788,80856,72140,67782,80844,72134,67822,72174,80878,126800,128940,126792,128934,126788,126786,118352,124716,122576,126828,124710,122568,126822,122564,118338,122562,101456,116268,105680,101448,116262,114128,105672,118374,114120,122598,101442,114116,105666,114114,67664,99372,71888,67656,99366,80336,71880,101478,97232,80328,105702,67650,97224,114150,71874,97220,67692,71916,67686,80364,71910,97260,80358,97254,126760,128918,126756,126754,118312,124694,122472,126774,122468,118306,122466,101416,116246,105576,101412,113896,105572,101410,113892,105570,113890,67624,99350,71784,101430,80104,71780,67618,96744,80100,71778,96740,80098,96738,71798,96758,126738,122420,122418,105524,113780,113778,71732,79988,96500,96498,66880,66848,98968,66832,66824,66820,66992,66968,66956,66950,67036,67022,1e5,99984,115532,99976,115526,99972,99970,66720,98904,69024,100056,98892,69008,100044,69e3,100038,68996,66690,68994,66776,98926,69080,100078,69068,66758,69062,66798,69102,116560,116552,116548,116546,99920,102096,116588,115494,102088,116582,102084,99906,102082,66640,68816,66632,98854,73168,68808,66628,73160,68804,66626,73156,68802,66668,68844,66662,73196,68838,73190,124840,124836,124834,116520,118632,124854,118628,116514,118626,99880,115478,101992,116534,106216,101988,99874,106212,101986,106210,66600,98838,68712,99894,72936,68708,66594,81384,72932,68706,81380,72930,66614,68726,72950,81398,128980,128978,124820,126900,124818,126898,116500,118580,116498,122740,118578,122738,99860,101940,99858,106100,101938,114420],[128352,129720,125504,128304,129692,125472,128280,129678,125456,128268,125448,128262,125444,125792,128440,129758,120384,125744,128412,120352,125720,128398,120336,125708,120328,125702,120324,120672,125880,128478,110144,120624,125852,110112,120600,125838,110096,120588,110088,120582,110084,110432,120760,125918,89664,110384,120732,89632,110360,120718,89616,110348,89608,110342,89952,110520,120798,89904,110492,89880,110478,89868,90040,110558,90012,89998,125248,128176,129628,125216,128152,129614,125200,128140,125192,128134,125188,125186,119616,125360,128220,119584,125336,128206,119568,125324,119560,125318,119556,119554,108352,119728,125404,108320,119704,125390,108304,119692,108296,119686,108292,108290,85824,108464,119772,85792,108440,119758,85776,108428,85768,108422,85764,85936,108508,85912,108494,85900,85894,85980,85966,125088,128088,129582,125072,128076,125064,128070,125060,125058,119200,125144,128110,119184,125132,119176,125126,119172,119170,107424,119256,125166,107408,119244,107400,119238,107396,107394,83872,107480,119278,83856,107468,83848,107462,83844,83842,83928,107502,83916,83910,83950,125008,128044,125e3,128038,124996,124994,118992,125036,118984,125030,118980,118978,106960,119020,106952,119014,106948,106946,82896,106988,82888,106982,82884,82882,82924,82918,124968,128022,124964,124962,118888,124982,118884,118882,106728,118902,106724,106722,82408,106742,82404,82402,124948,124946,118836,118834,106612,106610,124224,127664,129372,124192,127640,129358,124176,127628,124168,127622,124164,124162,117568,124336,127708,117536,124312,127694,117520,124300,117512,124294,117508,117506,104256,117680,124380,104224,117656,124366,104208,117644,104200,117638,104196,104194,77632,104368,117724,77600,104344,117710,77584,104332,77576,104326,77572,77744,104412,77720,104398,77708,77702,77788,77774,128672,129880,93168,128656,129868,92664,128648,129862,92412,128644,128642,124064,127576,129326,126368,124048,129902,126352,128716,127558,126344,124036,126340,124034,126338,117152,124120,127598,121760,117136,124108,121744,126412,124102,121736,117124,121732,117122,121730,103328,117208,124142,112544,103312,117196,112528,121804,117190,112520,103300,112516,103298,112514,75680,103384,117230,94112,75664,103372,94096,112588,103366,94088,75652,94084,75650,75736,103406,94168,75724,94156,75718,94150,75758,128592,129836,91640,128584,129830,91388,128580,91262,128578,123984,127532,126160,123976,127526,126152,128614,126148,123970,126146,116944,124012,121296,116936,124006,121288,126182,121284,116930,121282,102864,116972,111568,102856,116966,111560,121318,111556,102850,111554,74704,102892,92112,74696,102886,92104,111590,92100,74690,92098,74732,92140,74726,92134,128552,129814,90876,128548,90750,128546,123944,127510,126056,128566,126052,123938,126050,116840,123958,121064,116836,121060,116834,121058,102632,116854,111080,121078,111076,102626,111074,74216,102646,91112,74212,91108,74210,91106,74230,91126,128532,90494,128530,123924,126004,123922,126002,116788,120948,116786,120946,102516,110836,102514,110834,73972,90612,73970,90610,128522,123914,125978,116762,120890,102458,110714,123552,127320,129198,123536,127308,123528,127302,123524,123522,116128,123608,127342,116112,123596,116104,123590,116100,116098,101280,116184,123630,101264,116172,101256,116166,101252,101250,71584,101336,116206,71568,101324,71560,101318,71556,71554,71640,101358,71628,71622,71662,127824,129452,79352,127816,129446,79100,127812,78974,127810,123472,127276,124624,123464,127270,124616,127846,124612,123458,124610,115920,123500,118224,115912,123494,118216,124646,118212,115906,118210,100816,115948,105424,100808,115942,105416,118246,105412,100802,105410,70608,100844,79824,70600,100838,79816,105446,79812,70594,79810,70636,79852,70630,79846,129960,95728,113404,129956,95480,113278,129954,95356,95294,127784,129430,78588,128872,129974,95996,78462,128868,127778,95870,128866,123432,127254,124520,123428,126696,128886,123426,126692,124514,126690,115816,123446,117992,115812,122344,117988,115810,122340,117986,122338,100584,115830,104936,100580,113640,104932,100578,113636,104930,113634,70120,100598,78824,70116,96232,78820,70114,96228,78818,96226,70134,78838,129940,94968,113022,129938,94844,94782,127764,78206,128820,127762,95102,128818,123412,124468,123410,126580,124466,126578,115764,117876,115762,122100,117874,122098,100468,104692,100466,113140,104690,113138,69876,78324,69874,95220,78322,95218,129930,94588,94526,127754,128794,123402,124442,126522,115738,117818,121978,100410,104570,112890,69754,78074,94714,94398,123216,127148,123208,127142,123204,123202,115408,123244,115400,123238,115396,115394,99792,115436,99784,115430,99780,99778,68560,99820,68552,99814,68548,68546,68588,68582,127400,129238,72444,127396,72318,127394,123176,127126,123752,123172,123748,123170,123746,115304,123190,116456,115300,116452,115298,116450,99560,115318,101864,99556,101860,99554,101858,68072,99574,72680,68068,72676,68066,72674,68086,72694,129492,80632,105854,129490,80508,80446,127380,72062,127924,127378,80766,127922,123156,123700,123154,124788,123698,124786,115252,116340,115250,118516,116338,118514,99444,101620,99442,105972,101618,105970,67828,72180,67826,80884,72178,80882,97008,114044,96888,113982,96828,96798,129482,80252,130010,97148,80190,97086,127370,127898,128954,123146,123674,124730,126842,115226,116282,118394,122618,99386,101498,105722,114170,67706,71930,80378,96632,113854,96572,96542,80062,96702,96444,96414,96350,123048,123044,123042,115048,123062,115044,115042,99048,115062,99044,99042,67048,99062,67044,67042,67062,127188,68990,127186,123028,123316,123026,123314,114996,115572,114994,115570,98932,100084,98930,100082,66804,69108,66802,69106,129258,73084,73022,127178,127450,123018,123290,123834,114970,115514,116602,98874,99962,102138,66682,68858,73210,81272,106174,81212,81182,72894,81342,97648,114364,97592,114334,97564,97550,81084,97724,81054,97694,97464,114270,97436,97422,80990,97502,97372,97358,97326,114868,114866,98676,98674,66292,66290,123098,114842,115130,98618,99194,66170,67322,69310,73404,73374,81592,106334,81564,81550,73310,81630,97968,114524,97944,114510,97932,97926,81500,98012,81486,97998,97880,114478,97868,97862,81454,97902,97836,97830,69470,73564,73550,81752,106414,81740,81734,73518,81774,81708,81702],[109536,120312,86976,109040,120060,86496,108792,119934,86256,108668,86136,129744,89056,110072,129736,88560,109820,129732,88312,109694,129730,88188,128464,129772,89592,128456,129766,89340,128452,89214,128450,125904,128492,125896,128486,125892,125890,120784,125932,120776,125926,120772,120770,110544,120812,110536,120806,110532,84928,108016,119548,84448,107768,119422,84208,107644,84088,107582,84028,129640,85488,108284,129636,85240,108158,129634,85116,85054,128232,129654,85756,128228,85630,128226,125416,128246,125412,125410,119784,125430,119780,119778,108520,119798,108516,108514,83424,107256,119166,83184,107132,83064,107070,83004,82974,129588,83704,107390,129586,83580,83518,128116,83838,128114,125172,125170,119284,119282,107508,107506,82672,106876,82552,106814,82492,82462,129562,82812,82750,128058,125050,119034,82296,106686,82236,82206,82366,82108,82078,76736,103920,117500,76256,103672,117374,76016,103548,75896,103486,75836,129384,77296,104188,129380,77048,104062,129378,76924,76862,127720,129398,77564,127716,77438,127714,124392,127734,124388,124386,117736,124406,117732,117730,104424,117750,104420,104418,112096,121592,126334,92608,111856,121468,92384,111736,121406,92272,111676,92216,111646,92188,75232,103160,117118,93664,74992,103036,93424,112252,102974,93304,74812,93244,74782,93214,129332,75512,103294,129908,129330,93944,75388,129906,93820,75326,93758,127604,75646,128756,127602,94078,128754,124148,126452,124146,126450,117236,121844,117234,121842,103412,103410,91584,111344,121212,91360,111224,121150,91248,111164,91192,111134,91164,91150,74480,102780,91888,74360,102718,91768,111422,91708,74270,91678,129306,74620,129850,92028,74558,91966,127546,128634,124026,126202,116986,121338,102906,90848,110968,121022,90736,110908,90680,110878,90652,90638,74104,102590,91e3,74044,90940,74014,90910,74174,91070,90480,110780,90424,110750,90396,90382,73916,90556,73886,90526,90296,110686,90268,90254,73822,90334,90204,90190,71136,101112,116094,70896,100988,70776,100926,70716,70686,129204,71416,101246,129202,71292,71230,127348,71550,127346,123636,123634,116212,116210,101364,101362,79296,105200,118140,79072,105080,118078,78960,105020,78904,104990,78876,78862,70384,100732,79600,70264,100670,79480,105278,79420,70174,79390,129178,70524,129466,79740,70462,79678,127290,127866,123514,124666,115962,118266,100858,113376,122232,126654,95424,113264,122172,95328,113208,122142,95280,113180,95256,113166,95244,78560,104824,117950,95968,78448,104764,95856,113468,104734,95800,78364,95772,78350,95758,70008,100542,78712,69948,96120,78652,69918,96060,78622,96030,70078,78782,96190,94912,113008,122044,94816,112952,122014,94768,112924,94744,112910,94732,94726,78192,104636,95088,78136,104606,95032,113054,95004,78094,94990,69820,78268,69790,95164,78238,95134,94560,112824,121950,94512,112796,94488,112782,94476,94470,78008,104542,94648,77980,94620,77966,94606,69726,78046,94686,94384,112732,94360,112718,94348,94342,77916,94428,77902,94414,94296,112686,94284,94278,77870,94318,94252,94246,68336,99708,68216,99646,68156,68126,68476,68414,127162,123258,115450,99834,72416,101752,116414,72304,101692,72248,101662,72220,72206,67960,99518,72568,67900,72508,67870,72478,68030,72638,80576,105840,118460,80480,105784,118430,80432,105756,80408,105742,80396,80390,72048,101564,80752,71992,101534,80696,71964,80668,71950,80654,67772,72124,67742,80828,72094,80798,114016,122552,126814,96832,113968,122524,96800,113944,122510,96784,113932,96776,113926,96772,80224,105656,118366,97120,80176,105628,97072,114076,105614,97048,80140,97036,80134,97030,71864,101470,80312,71836,97208,80284,71822,97180,80270,97166,67678,71902,80350,97246,96576,113840,122460,96544,113816,122446,96528,113804,96520,113798,96516,96514,80048,105564,96688,80024,105550,96664,113870,96652,80006,96646,71772,80092,71758,96732,80078,96718,96416,113752,122414,96400,113740,96392,113734,96388,96386,79960,105518,96472,79948,96460,79942,96454,71726,79982,96494,96336,113708,96328,113702,96324,96322,79916,96364,79910,96358,96296,113686,96292,96290,79894,96310,66936,99006,66876,66846,67006,68976,100028,68920,99998,68892,68878,66748,69052,66718,69022,73056,102072,116574,73008,102044,72984,102030,72972,72966,68792,99934,73144,68764,73116,68750,73102,66654,68830,73182,81216,106160,118620,81184,106136,118606,81168,106124,81160,106118,81156,81154,72880,101980,81328,72856,101966,81304,106190,81292,72838,81286,68700,72924,68686,81372,72910,81358,114336,122712,126894,114320,122700,114312,122694,114308,114306,81056,106072,118574,97696,81040,106060,97680,114380,106054,97672,81028,97668,81026,97666,72792,101934,81112,72780,97752,81100,72774,97740,81094,97734,68654,72814,81134,97774,114256,122668,114248,122662,114244,114242,80976,106028,97488,80968,106022,97480,114278,97476,80962,97474,72748,81004,72742,97516,80998,97510,114216,122646,114212,114210,80936,106006,97384,80932,97380,80930,97378,72726,80950,97398,114196,114194,80916,97332,80914,97330,66236,66206,67256,99166,67228,67214,66142,67294,69296,100188,69272,100174,69260,69254,67164,69340,67150,69326,73376,102232,116654,73360,102220,73352,102214,73348,73346,69208,100142,73432,102254,73420,69190,73414,67118,69230,73454,106320,118700,106312,118694,106308,106306,73296,102188,81616,106348,102182,81608,73284,81604,73282,81602,69164,73324,69158,81644,73318,81638,122792,126934,122788,122786,106280,118678,114536,106276,114532,106274,114530,73256,102166,81512,73252,98024,81508,73250,98020,81506,98018,69142,73270,81526,98038,122772,122770,106260,114484,106258,114482,73236,81460,73234,97908,81458,97906,122762,106250,114458,73226,81434,97850,66396,66382,67416,99246,67404,67398,66350,67438,69456,100268,69448,100262,69444,69442,67372,69484,67366,69478,102312,116694,102308,102306,69416,100246,73576,102326,73572,69410,73570,67350,69430,73590,118740,118738,102292,106420,102290,106418,69396,73524,69394,81780,73522,81778,118730,102282,106394,69386,73498,81722,66476,66470,67496,99286,67492,67490,66454,67510,100308,100306,67476,69556,67474,69554,116714]],t.errorLevelData=[[27,917],[522,568,723,809],[237,308,436,284,646,653,428,379],[274,562,232,755,599,524,801,132,295,116,442,428,295,42,176,65],[361,575,922,525,176,586,640,321,536,742,677,742,687,284,193,517,273,494,263,147,593,800,571,320,803,133,231,390,685,330,63,410],[539,422,6,93,862,771,453,106,610,287,107,505,733,877,381,612,723,476,462,172,430,609,858,822,543,376,511,400,672,762,283,184,440,35,519,31,460,594,225,535,517,352,605,158,651,201,488,502,648,733,717,83,404,97,280,771,840,629,4,381,843,623,264,543],[521,310,864,547,858,580,296,379,53,779,897,444,400,925,749,415,822,93,217,208,928,244,583,620,246,148,447,631,292,908,490,704,516,258,457,907,594,723,674,292,272,96,684,432,686,606,860,569,193,219,129,186,236,287,192,775,278,173,40,379,712,463,646,776,171,491,297,763,156,732,95,270,447,90,507,48,228,821,808,898,784,663,627,378,382,262,380,602,754,336,89,614,87,432,670,616,157,374,242,726,600,269,375,898,845,454,354,130,814,587,804,34,211,330,539,297,827,865,37,517,834,315,550,86,801,4,108,539],[524,894,75,766,882,857,74,204,82,586,708,250,905,786,138,720,858,194,311,913,275,190,375,850,438,733,194,280,201,280,828,757,710,814,919,89,68,569,11,204,796,605,540,913,801,700,799,137,439,418,592,668,353,859,370,694,325,240,216,257,284,549,209,884,315,70,329,793,490,274,877,162,749,812,684,461,334,376,849,521,307,291,803,712,19,358,399,908,103,511,51,8,517,225,289,470,637,731,66,255,917,269,463,830,730,433,848,585,136,538,906,90,2,290,743,199,655,903,329,49,802,580,355,588,188,462,10,134,628,320,479,130,739,71,263,318,374,601,192,605,142,673,687,234,722,384,177,752,607,640,455,193,689,707,805,641,48,60,732,621,895,544,261,852,655,309,697,755,756,60,231,773,434,421,726,528,503,118,49,795,32,144,500,238,836,394,280,566,319,9,647,550,73,914,342,126,32,681,331,792,620,60,609,441,180,791,893,754,605,383,228,749,760,213,54,297,134,54,834,299,922,191,910,532,609,829,189,20,167,29,872,449,83,402,41,656,505,579,481,173,404,251,688,95,497,555,642,543,307,159,924,558,648,55,497,10],[352,77,373,504,35,599,428,207,409,574,118,498,285,380,350,492,197,265,920,155,914,299,229,643,294,871,306,88,87,193,352,781,846,75,327,520,435,543,203,666,249,346,781,621,640,268,794,534,539,781,408,390,644,102,476,499,290,632,545,37,858,916,552,41,542,289,122,272,383,800,485,98,752,472,761,107,784,860,658,741,290,204,681,407,855,85,99,62,482,180,20,297,451,593,913,142,808,684,287,536,561,76,653,899,729,567,744,390,513,192,516,258,240,518,794,395,768,848,51,610,384,168,190,826,328,596,786,303,570,381,415,641,156,237,151,429,531,207,676,710,89,168,304,402,40,708,575,162,864,229,65,861,841,512,164,477,221,92,358,785,288,357,850,836,827,736,707,94,8,494,114,521,2,499,851,543,152,729,771,95,248,361,578,323,856,797,289,51,684,466,533,820,669,45,902,452,167,342,244,173,35,463,651,51,699,591,452,578,37,124,298,332,552,43,427,119,662,777,475,850,764,364,578,911,283,711,472,420,245,288,594,394,511,327,589,777,699,688,43,408,842,383,721,521,560,644,714,559,62,145,873,663,713,159,672,729,624,59,193,417,158,209,563,564,343,693,109,608,563,365,181,772,677,310,248,353,708,410,579,870,617,841,632,860,289,536,35,777,618,586,424,833,77,597,346,269,757,632,695,751,331,247,184,45,787,680,18,66,407,369,54,492,228,613,830,922,437,519,644,905,789,420,305,441,207,300,892,827,141,537,381,662,513,56,252,341,242,797,838,837,720,224,307,631,61,87,560,310,756,665,397,808,851,309,473,795,378,31,647,915,459,806,590,731,425,216,548,249,321,881,699,535,673,782,210,815,905,303,843,922,281,73,469,791,660,162,498,308,155,422,907,817,187,62,16,425,535,336,286,437,375,273,610,296,183,923,116,667,751,353,62,366,691,379,687,842,37,357,720,742,330,5,39,923,311,424,242,749,321,54,669,316,342,299,534,105,667,488,640,672,576,540,316,486,721,610,46,656,447,171,616,464,190,531,297,321,762,752,533,175,134,14,381,433,717,45,111,20,596,284,736,138,646,411,877,669,141,919,45,780,407,164,332,899,165,726,600,325,498,655,357,752,768,223,849,647,63,310,863,251,366,304,282,738,675,410,389,244,31,121,303,263]],t}(),h=function(t){function o(e,n,i,o,a,s,l,u,c){void 0===e&&(e=25),void 0===n&&(n=r.StiPdf417EncodingMode.Text),void 0===i&&(i=r.StiPdf417ErrorsCorrectionLevel.Automatic),void 0===o&&(o=5),void 0===a&&(a=3),void 0===s&&(s=!0),void 0===l&&(l=!0),void 0===u&&(u=1),void 0===c&&(c=3);var p=t.call(this)||this;return p._module=20,p._height=1,p._encodingMode=r.StiPdf417EncodingMode.Text,p._errorsCorrectionLevel=r.StiPdf417ErrorsCorrectionLevel.Automatic,p._dataColumns=4,p._dataRows=7,p._autoDataColumns=!0,p._autoDataRows=!0,p._aspectRatio=3,p._ratioY=3,p._module=e,p._encodingMode=n,p._errorsCorrectionLevel=i,p._dataColumns=o,p._dataRows=a,p._autoDataColumns=s,p._autoDataRows=l,p._aspectRatio=u,p._ratioY=c,p}return __extends(o,t),o.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyNumber("Module",this.module,20),n.addPropertyNumber("Height",this.height,1),n.addPropertyEnum("EncodingMode",r.StiPdf417EncodingMode,this.encodingMode,r.StiPdf417EncodingMode.Text),n.addPropertyEnum("ErrorsCorrectionLevel",r.StiPdf417ErrorsCorrectionLevel,this.errorsCorrectionLevel,r.StiPdf417ErrorsCorrectionLevel.Automatic),n.addPropertyNumber("DataColumns",this.dataColumns,4),n.addPropertyNumber("DataRows",this.dataRows,7),n.addPropertyBool("AutoDataColumns",this.autoDataColumns,!0),n.addPropertyBool("AutoDataRows",this.autoDataRows,!0),n.addPropertyNumber("AspectRatio",this.aspectRatio,3),n.addPropertyNumber("RatioY",this.ratioY,3),n},o.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"EncodingMode":this.encodingMode=i.parse(r.StiPdf417EncodingMode,s.value.toString());break;case"ErrorsCorrectionLevel":this.errorsCorrectionLevel=i.parse(r.StiPdf417ErrorsCorrectionLevel,s.value.toString());break;case"DataColumns":this.dataColumns=s.value.stimulsoft.toNumber();break;case"DataRows":this.dataRows=s.value.stimulsoft.toNumber();break;case"AutoDataColumns":this.autoDataColumns=s.value.stimulsoft.toBoolean();break;case"AutoDataRows":this.autoDataRows=s.value.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=s.value.stimulsoft.toNumber();break;case"RatioY":this.ratioY=s.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},o.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Module":this.module=o.textContent.stimulsoft.toNumber();break;case"Height":this.height=o.textContent.stimulsoft.toNumber();break;case"EncodingMode":this.encodingMode=i.parse(r.StiPdf417EncodingMode,o.textContent.toString());break;case"ErrorsCorrectionLevel":this.errorsCorrectionLevel=i.parse(r.StiPdf417ErrorsCorrectionLevel,o.textContent.toString());break;case"DataColumns":this.dataColumns=o.textContent.stimulsoft.toNumber();break;case"DataRows":this.dataRows=o.textContent.stimulsoft.toNumber();break;case"AutoDataColumns":this.autoDataColumns=o.textContent.stimulsoft.toBoolean();break;case"AutoDataRows":this.autoDataRows=o.textContent.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=o.textContent.stimulsoft.toNumber();break;case"RatioY":this.ratioY=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiPdf417BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Pdf417"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<2&&(this._module=2),t>400&&(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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this._module=n.textContent.stimulsoft.toNumber();break;case"Height":this._height=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiPharmacodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Pharmacode"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"1256"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=20},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,"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<<p)>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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this._module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Space":this._space=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiPostnetBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"Postnet"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"12345"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<20&&(this._module=20),t>20&&(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;r<t.length;r++){var n=new i;"1"==t[r]?n.append("81"):n.append("e1"),e.append(n)}return e.toString()},r.prototype.draw=function(t,e,r,o){var a=this.getCode(e);switch((a=this.checkCodeSymbols(a,this.postnetSymbols)).length>11&&(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;u<a.length;u++)l[u]=this.postnetSymbols.indexOf(a[u]);for(var c=0,u=0;u<a.length;u++)c+=l[u];0!=(c%=10)&&(c=10-c),l[a.length]=c;var p=new i;p.append(this.postnetStartCode);for(var u=0;u<l.length;u++)p.append(this.postnetTable[l[u]]);p.append(this.postnetStopCode);var h=new i(this.codeToBar(p.toString()));this.calculateSizeFull(this.postnetSpaceLeft,this.postnetSpaceRight,this.postnetSpaceTop,this.postnetSpaceBottom,this.postnetLineHeightShort,this.postnetLineHeightLong,this.postnetTextPosition,this.postnetTextHeight,this.postnetMainHeight,this.postnetLineHeightForCut,this.space/this.module,o,a,s.toString(),h.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiPostnetBarCodeType=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.Base.Drawing.StiImageConverter,o=t.System.Enum,a=function(a){function s(t,e,n,i,o){void 0===t&&(t=40),void 0===e&&(e=r.StiQRCodeErrorCorrectionLevel.Level1),void 0===n&&(n=r.StiQRCodeSize.Automatic),void 0===i&&(i=null),void 0===o&&(o=1);var s=a.call(this)||this;return s._module=40,s._height=1,s._errorCorrectionLevel=r.StiQRCodeErrorCorrectionLevel.Level1,s._matrixSize=r.StiQRCodeSize.Automatic,s._image=null,s._imageMultipleFactor=1,s.module=t,s.errorCorrectionLevel=e,s.matrixSize=n,s.image=i,s.imageMultipleFactor=o,s}return __extends(s,a),s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyNumber("Height",this.height,1),e.addPropertyNumber("Module",this.module,40),e.addPropertyEnum("ErrorCorrectionLevel",r.StiQRCodeErrorCorrectionLevel,this.errorCorrectionLevel,r.StiQRCodeErrorCorrectionLevel.Level1),e.addPropertyEnum("MatrixSize",r.StiQRCodeSize,this.matrixSize,r.StiQRCodeSize.Automatic),e.addPropertyNumber("ImageMultipleFactor",this.imageMultipleFactor,1),e.addPropertyStringNullOrEmpty("Image",i.imageToString(this.image)),e},s.prototype.loadFromJsonObject=function(t){var e,n;try{for(var a=__values(t.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Module":this.module=l.value.stimulsoft.toNumber();break;case"Height":this.height=l.value.stimulsoft.toNumber();break;case"ErrorCorrectionLevel":this.errorCorrectionLevel=o.parse(typeof r.StiQRCodeErrorCorrectionLevel,l.value.toString());break;case"MatrixSize":this.matrixSize=o.parse(typeof r.StiQRCodeSize,l.value.toString());break;case"ImageMultipleFactor":this.imageMultipleFactor=l.value.stimulsoft.toNumber();break;case"Image":this.image=i.stringToImage(l.value);break}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}},s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"ErrorCorrectionLevel":this.errorCorrectionLevel=o.parse(typeof r.StiQRCodeErrorCorrectionLevel,n.textContent);break;case"MatrixSize":this.matrixSize=o.parse(typeof r.StiQRCodeSize,n.textContent);break;case"ImageMultipleFactor":this.imageMultipleFactor=n.textContent.stimulsoft.toNumber();break;case"Image":this.image=i.stringToImage(n.textContent);break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiQRCodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"QR Code"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<2&&(this._module=2),t>400&&(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;h<c.getHeight();h++)for(var m=h*c.getWidth(),f=0;f<c.getWidth();f++)p[m+f]=c.get(f,h);this.barCodeData.matrixGrid=p,this.barCodeData.matrixWidth=c.getWidth(),this.barCodeData.matrixHeight=c.getHeight(),this.barCodeData.matrixRatioY=1,this.draw2DBarCode(e,o,i,a)}catch(r){t.System.StiError.showError(r,!1),this.drawBarCodeError(e,o,i)}},s.prototype.createNew=function(){return new s},s}(r.StiBarCodeTypeService);r.StiQRCodeBarCodeType=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=t.System.Drawing.StringAlignment,a=t.System.Enum,s=function(t){function s(e,n,i){void 0===e&&(e=20),void 0===n&&(n=1),void 0===i&&(i=r.StiCheckSum.Yes);var o=t.call(this)||this;return o.royalMail4StateSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",o.royalMail4StateStartCode="1",o.royalMail4StateStopCode="0",o.royalMail4StateCodes=["3300","3210","3201","2310","2301","2211","3120","3030","3021","2130","2121","2031","3102","3012","3003","2112","2103","2013","1320","1230","1221","0330","0321","0231","1302","1212","1203","0312","0303","0213","1122","1032","1023","0132","0123","0033"],o._module=20,o._height=1,o._checkSum=r.StiCheckSum.Yes,o.royalMail4StateSpaceLeft=3.9,o.royalMail4StateSpaceRight=3.9,o.royalMail4StateSpaceTop=3.9,o.royalMail4StateSpaceBottom=3.9,o.royalMail4StateLineHeightLong=10,o.royalMail4StateLineHeightShort=.62*o.royalMail4StateLineHeightLong,o.royalMail4StateTextPosition=o.royalMail4StateSpaceTop+o.royalMail4StateLineHeightLong+o.royalMail4StateSpaceBottom+1,o.royalMail4StateTextHeight=5,o.royalMail4StateMainHeight=o.royalMail4StateSpaceTop+o.royalMail4StateLineHeightLong+o.royalMail4StateSpaceBottom+7,o.royalMail4StateLineHeightForCut=o.royalMail4StateLineHeightLong,o._module=e,o._height=n,o._checkSum=i,o}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.addPropertyNumber("Module",this.module,20),n.addPropertyNumber("Height",this.height,1),n.addPropertyEnum("CheckSum",r.StiCheckSum,this.checkSum,r.StiCheckSum.Yes),n},s.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var s=o.value;switch(s.name){case"Module":this._module=s.value.stimulsoft.toNumber();break;case"Height":this._height=s.value.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(r.StiCheckSum,s.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}}},s.prototype.loadFromXmlObject=function(e){t.prototype.loadFromXmlObject.call(this,e);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"Module":this._module=i.textContent.stimulsoft.toNumber();break;case"Height":this.height=i.textContent.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(r.StiCheckSum,i.textContent);break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiRoyalMail4StateBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Royal Mail 4-state"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"529508A"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<20&&(this._module=20),t>20&&(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;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},s.prototype.makeBarsArray=function(t,e,n){for(var o=t.ref,a=e.ref,s=n.ref,l=new i,u=0,c=0,p=0;p<o.length;p++){var h=this.charTo4State(o[p]);"0"!=h[0]&&"1"!=h[0]||(u+=4),"0"!=h[0]&&"2"!=h[0]||(c+=4),"0"!=h[1]&&"1"!=h[1]||(u+=2),"0"!=h[1]&&"2"!=h[1]||(c+=2),"0"!=h[2]&&"1"!=h[2]||(u+=1),"0"!=h[2]&&"2"!=h[2]||(c+=1),l.append(h)}0==(u%=6)&&(u=6),0==(c%=6)&&(c=6);var m=6*(u-1)+(c-1);return this.checkSum==r.StiCheckSum.Yes&&l.append(this.charTo4State(this.royalMail4StateSymbols[m])),a=this.stateToBar(this.royalMail4StateStartCode+l.toString()+this.royalMail4StateStopCode),t.ref=o,e.ref=a,n.ref=s,!0},s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o="",a="",s={ref:i=this.checkCodeSymbols(i,this.royalMail4StateSymbols)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=u.ref,this.calculateSizeFull(this.royalMail4StateSpaceLeft,this.royalMail4StateSpaceRight,this.royalMail4StateSpaceTop,this.royalMail4StateSpaceBottom,this.royalMail4StateLineHeightShort,this.royalMail4StateLineHeightLong,this.royalMail4StateTextPosition,this.royalMail4StateTextHeight,this.royalMail4StateMainHeight,this.royalMail4StateLineHeightForCut,1,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)},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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"CompanyPrefix":this._companyPrefix=n.textContent;break;case"SerialNumber":this._serialNumber=n.textContent;break;case"ExtensionDigit":this._serialNumber=n.textContent;break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiSSCC18BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"SSCC"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"(00)001234560000000018"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"companyPrefix",{get:function(){return this._companyPrefix},set:function(t){this._companyPrefix=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serialNumber",{get:function(){return this._serialNumber},set:function(t){this._serialNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"extensionDigit",{get:function(){return this._extensionDigit},set:function(t){this._extensionDigit=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textSpacing",{get:function(){return!1},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[24]=!0,t[25]=!0,t[26]=!0,t},enumerable:!1,configurable:!0}),r.prototype.getCombinedCode=function(){return i.format("(00){0}{1}{0}{2}{0}{3}{0}{4}","",this.extensionDigit,this.companyPrefix,this.serialNumber,this.getCheckDigit(this.checkCodeSymbols(this.extensionDigit+this.companyPrefix+this.serialNumber+i.fill("0",17),"0123456789")))},r.prototype.getCheckDigit=function(t){for(var e=n.create(Number,17),r=0;r<17;r++)e[r]=parseInt(t[r].toString());var i,o=10-(e[1]+e[3]+e[5]+e[7]+e[9]+e[11]+e[13]+e[15]+3*(e[0]+e[2]+e[4]+e[6]+e[8]+e[10]+e[12]+e[14]+e[16]))%10;return 10==o&&(o=0),String.fromCharCode(o+48)},r.prototype.checkContens=function(t,e){if(5!=e.length)return!0;if("00"!=e[0])return!0;if(1!=e[1].length)return!0;var r=e[2].length,n;if(r<7||r>10)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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Module":this.module=n.textContent.stimulsoft.toNumber();break;case"Height":this.height=n.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiStandard2of5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"2of5 Standard"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){this._module=t,t<7.5&&(this._module=7.5),t>40&&(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;t<e&&(this._ratio=e),t>3&&(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;s<o.length;s++){var l=this.symTableSet[parseInt(o[s].toString())],u=l[0]+"0"+l[1]+"0"+l[2]+"0"+l[3]+"0"+l[4]+"0";a.append(u)}a.append(this.symTableSet[11]);for(var c=a.toString(),p=new i,h=!0,s=0;s<c.length;s++){var m=void 0;m=1==h?"0"==c[s]?"4":"5":"0"==c[s]?"0":"1",p.append(m),h=!h}this.calculateSizeFull(this.standard2of5SpaceLeft,this.standard2of5SpaceRight,this.standard2of5SpaceTop,this.standard2of5SpaceBottom,this.standard2of5LineHeightShort,this.standard2of5LineHeightLong,this.standard2of5TextPosition,this.standard2of5TextHeight,this.standard2of5MainHeight,this.standard2of5LineHeightForCut,this.ratio,n,o,o,p.toString(),r,e),this.drawBarCode(t,r,e)},r.prototype.createNew=function(){return new r},r}(r.StiBarCodeTypeService);r.StiStandard2of5BarCodeType=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=function(t){function i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiUpcABarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"UPC-A"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceLeft",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceRight",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showQuietZoneIndicator",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),i.prototype.makeUpcABars=function(t,e){for(var i=n.create(Number,12),o=0;o<12;o++)i[o]=parseInt(t[o].toString());var a,s=10-(3*(i[1]+i[3]+i[5]+i[7]+i[9]+i[11])+i[0]+i[2]+i[4]+i[6]+i[8]+i[10])%10;10==s&&(s=0),t=t.substr(0,12)+String.fromCharCode(s+48);var l=[];l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceLeft,t[1],!1)),l.push(new r.EanBarInfo(r.Ean13Symbol.GuardLeft," ",!1)),l.push(new r.EanBarInfo(r.Ean13Symbol.ComboA0+parseInt(t[1].toString())," ",!1,!0));for(var u=0;u<5;u++){var c=parseInt(t[2+u].toString()),p=new r.EanBarInfo(r.Ean13Symbol.ComboA0+c,t[2+u],!1);l.push(p)}l.push(new r.EanBarInfo(r.Ean13Symbol.GuardCenter," ",!1));for(var u=0;u<5;u++){var c=parseInt(t[7+u].toString()),p=new r.EanBarInfo(r.Ean13Symbol.ComboC0+c,t[7+u],!1);l.push(p)}return l.push(new r.EanBarInfo(r.Ean13Symbol.ComboC0+parseInt(t[12].toString())," ",!1,!0)),l.push(new r.EanBarInfo(r.Ean13Symbol.GuardRight," ",!1)),e?l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceRight,t[12],!1)):l.push(new r.EanBarInfo(r.Ean13Symbol.SpaceBeforeAdd,t[12],!1)),l},i.prototype.draw=function(t,e,n,i){var o=this.getCode(e);o="0"+this.checkCodeSymbols(o,"0123456789")+"000000000000";var a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s=[];this.supplementType==r.StiEanSupplementType.None?s=this.makeUpcABars(o,!0):(s=this.makeUpcABars(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.StiUpcABarCodeType=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 i(e,n,i,o,a){void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0);var s=t.call(this,e,n,i,o,a)||this;return s.symParitySet=["eeeooo","eeoeoo","eeooeo","eeoooe","eoeeoo","eooeeo","eoooee","eoeoeo","eoeooe","eooeoe"],s}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiUpcEBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"UPC-E"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceLeft",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceRight",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"01234567"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showQuietZoneIndicator",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),i.prototype.makeUpcEBars=function(t,e){var n=[];n.push(new r.EanBarInfo(r.Ean13Symbol.SpaceLeft,t[0],!1)),n.push(new r.EanBarInfo(r.Ean13Symbol.GuardLeft," ",!1));for(var i=this.symParitySet[t[7].stimulsoft.toNumber()],o=0;o<6;o++){var a=t[1+o].stimulsoft.toNumber(),s=i[o];"0"!=t[0]&&(s="o"==s?"e":"o");var l=new r.EanBarInfo(r.Ean13Symbol.ComboA0+a,t[1+o],!1);"o"!=s&&(l.symbolType=r.Ean13Symbol.ComboB0+a),n.push(l)}return n.push(new r.EanBarInfo(r.Ean13Symbol.GuardSpecial," ",!1)),n.push(new r.EanBarInfo(e?r.Ean13Symbol.SpaceRight:r.Ean13Symbol.SpaceBeforeAdd,t[7],!1)),n},i.prototype.createNew=function(){return new i},i}(r.StiEAN13BarCodeType);r.StiUpcEBarCodeType=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 i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiUpcSup2BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"UPC-Supp2"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"02"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,r,n){var i=this.getCode(e);i=this.checkCodeSymbols(i,"0123456789")+"00";var o=this.makeEanAdd2Bars(i,null,!0);this.calculateSizeEan(0,n,o,r,e),this.translateRect(t,r,e),this.drawEanBars(t,o,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},i}(r.StiEAN13BarCodeType);r.StiUpcSup2BarCodeType=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 i(e,n,i,o,a){return void 0===e&&(e=13),void 0===n&&(n=1),void 0===i&&(i=r.StiEanSupplementType.None),void 0===o&&(o=null),void 0===a&&(a=!0),t.call(this,e,n,i,o,a)||this}return __extends(i,t),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiUpcSup5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"UPC-Supp5"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"00321"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=n.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,r,n){var i=this.getCode(e);i=this.checkCodeSymbols(i,"0123456789")+"00000";var o=this.makeEanAdd5Bars(i,null,!0);this.calculateSizeEan(0,n,o,r,e),this.translateRect(t,r,e),this.drawEanBars(t,o,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},i}(r.StiEAN13BarCodeType);r.StiUpcSup5BarCodeType=i}(r=e.BarCodes||(e.BarCodes={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBubbleArea="IStiBubbleArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCandlestickArea="IStiCandlestickArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiClusteredBarArea="IStiClusteredBarArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAreaArea="IStiAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiClusteredColumnArea="IStiClusteredColumnArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLineArea="IStiLineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiParetoArea="IStiParetoArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineArea="IStiSplineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineAreaArea="IStiSplineAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedAreaArea="IStiSteppedAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedLineArea="IStiSteppedLineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiWaterfallArea="IStiWaterfallArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDoughnutArea="IStiDoughnutArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedBarArea="IStiFullStackedBarArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedAreaArea="IStiFullStackedAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedColumnArea="IStiFullStackedColumnArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedLineArea="IStiFullStackedLineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedSplineArea="IStiFullStackedSplineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedSplineAreaArea="IStiFullStackedSplineAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFunnelArea="IStiFunnelArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGanttArea="IStiGanttArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPictorialArea="IStiPictorialArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPieArea="IStiPieArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarArea="IStiRadarArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAreaArea="IStiRadarAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarLineArea="IStiRadarLineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarPointArea="IStiRadarPointArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRangeArea="IStiRangeArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRangeBarArea="IStiRangeBarArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineRangeArea="IStiSplineRangeArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedRangeArea="IStiSteppedRangeArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiScatterArea="IStiScatterArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedBarArea="IStiStackedBarArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedAreaArea="IStiStackedAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedColumnArea="IStiStackedColumnArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedLineArea="IStiStackedLineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedSplineArea="IStiStackedSplineArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedSplineAreaArea="IStiStackedSplineAreaArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStockArea="IStiStockArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSunburstArea="IStiSunburstArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTreemapArea="IStiTreemapArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiArea="IStiArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAreaCoreXF="IStiAreaCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisArea="IStiAxisArea"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisAreaCoreXF="IStiAxisAreaCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStripLineXF="IStiStripLineXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStripLinesXF="IStiStripLinesXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStripPositionXF="IStiStripPositionXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxis="IStiAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisCoreXF="IStiAxisCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisDateTimeStep="IStiAxisDateTimeStep"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisInfoXF="IStiAxisInfoXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisInteraction="IStiAxisInteraction"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisLabels="IStiAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisLabelsCoreXF="IStiAxisLabelsCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisRange="IStiAxisRange"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisTicks="IStiAxisTicks"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisTitle="IStiAxisTitle"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisTitleCoreXF="IStiAxisTitleCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiXAxis="IStiXAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiXBottomAxis="IStiXBottomAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiXTopAxis="IStiXTopAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiYAxis="IStiYAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiYLeftAxis="IStiYLeftAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiYRightAxis="IStiYRightAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTitle="IStiChartTitle"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTitleCoreXF="IStiChartTitleCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartCondition="IStiChartCondition"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartConditionsCollection="IStiChartConditionsCollection"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiConstantLines="IStiConstantLines"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiConstantLinesCollection="IStiConstantLinesCollection"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiConstantLinesCoreXF="IStiConstantLinesCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartFilter="IStiChartFilter"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartFiltersCollection="IStiChartFiltersCollection"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGridLines="IStiGridLines"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGridLinesCoreXF="IStiGridLinesCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGridLinesHor="IStiGridLinesHor"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGridLinesVert="IStiGridLinesVert"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarGridLines="IStiRadarGridLines"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarGridLinesCoreXF="IStiRadarGridLinesCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarGridLinesHor="IStiRadarGridLinesHor"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarGridLinesVert="IStiRadarGridLinesVert"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInterlacing="IStiInterlacing"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInterlacingCoreXF="IStiInterlacingCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInterlacingHor="IStiInterlacingHor"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInterlacingVert="IStiInterlacingVert"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLegend="IStiLegend"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLegendCoreXF="IStiLegendCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLegendMarker="IStiLegendMarker"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLineMarker="IStiLineMarker"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiMarker="IStiMarker"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiMarkerCoreXF="IStiMarkerCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAxis="IStiRadarAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAxisCoreXF="IStiRadarAxisCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAxisLabels="IStiRadarAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAxisLabelsCoreXF="IStiRadarAxisLabelsCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiXRadarAxis="IStiXRadarAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiXRadarAxisCoreXF="IStiXRadarAxisCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiYRadarAxis="IStiYRadarAxis"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiYRadarAxisCoreXF="IStiYRadarAxisCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBubbleSeries="IStiBubbleSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiClusteredBarSeries="IStiClusteredBarSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAreaSeries="IStiAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBaseLineSeries="IStiBaseLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiClusteredColumnSeries="IStiClusteredColumnSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiHistogramSeries="IStiHistogramSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLineSeries="IStiLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiParetoSeries="IStiParetoSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineAreaSeries="IStiSplineAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineSeries="IStiSplineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedAreaSeries="IStiSteppedAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedLineSeries="IStiSteppedLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiWaterfallSeries="IStiWaterfallSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDoughnutSeries="IStiDoughnutSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCandlestickSeries="IStiCandlestickSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFinancialSeries="IStiFinancialSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStockSeries="IStiStockSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedBarSeries="IStiFullStackedBarSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedAreaSeries="IStiFullStackedAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedColumnSeries="IStiFullStackedColumnSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedLineSeries="IStiFullStackedLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedSplineAreaSeries="IStiFullStackedSplineAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFullStackedSplineSeries="IStiFullStackedSplineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFunnelSeries="IStiFunnelSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFunnelWeightedSlicesSeries="IStiFunnelWeightedSlicesSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGanttSeries="IStiGanttSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPictorialSeries="IStiPictorialSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPieSeries="IStiPieSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarAreaSeries="IStiRadarAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarLineSeries="IStiRadarLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarPointSeries="IStiRadarPointSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarSeries="IStiRadarSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLineRangeSeries="IStiLineRangeSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRangeBarSeries="IStiRangeBarSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRangeSeries="IStiRangeSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSplineRangeSeries="IStiSplineRangeSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSteppedRangeSeries="IStiSteppedRangeSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiScatterLineSeries="IStiScatterLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiScatterSeries="IStiScatterSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiScatterSplineSeries="IStiScatterSplineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedBarSeries="IStiStackedBarSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedAreaSeries="IStiStackedAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedBaseLineSeries="IStiStackedBaseLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedColumnSeries="IStiStackedColumnSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedLineSeries="IStiStackedLineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedSplineAreaSeries="IStiStackedSplineAreaSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStackedSplineSeries="IStiStackedSplineSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSunburstSeries="IStiSunburstSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTreemapSeries="IStiTreemapSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAxisSeriesLabels="IStiAxisSeriesLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCenterAxisLabels="IStiCenterAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInsideBaseAxisLabels="IStiInsideBaseAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInsideEndAxisLabels="IStiInsideEndAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiLeftAxisLabels="IStiLeftAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsideAxisLabels="IStiOutsideAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsideBaseAxisLabels="IStiOutsideBaseAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsideEndAxisLabels="IStiOutsideEndAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRightAxisLabels="IStiRightAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiValueAxisLabels="IStiValueAxisLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCenterFunnelLabels="IStiCenterFunnelLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFunnelSeriesLabels="IStiFunnelSeriesLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsideLeftFunnelLabels="IStiOutsideLeftFunnelLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsideRightFunnelLabels="IStiOutsideRightFunnelLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCenterPieLabels="IStiCenterPieLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInsideEndPieLabels="IStiInsideEndPieLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOutsidePieLabels="IStiOutsidePieLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPieSeriesLabels="IStiPieSeriesLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTwoColumnsPieLabels="IStiTwoColumnsPieLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRadarSeriesLabels="IStiRadarSeriesLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTangentRadarLabels="IStiTangentRadarLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowApplyBorderColor="IStiAllowApplyBorderColor"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowApplyBrush="IStiAllowApplyBrush"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowApplyBrushNegative="IStiAllowApplyBrushNegative"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowApplyColorNegative="IStiAllowApplyColorNegative"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFontIconsSeries="IStiFontIconsSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeries="IStiSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesCollection="IStiSeriesCollection"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesCoreXF="IStiSeriesCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiShowNullsSeries="IStiShowNullsSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiShowZerosSeries="IStiShowZerosSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiNoneLabels="IStiNoneLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesLabels="IStiSeriesLabels"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesLabelsCoreXF="IStiSeriesLabelsCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStrips="IStiStrips"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStripsCollection="IStiStripsCollection"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStripsCoreXF="IStiStripsCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartStyle="IStiChartStyle"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCustomStyle="IStiCustomStyle"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCustomStyleCoreXF="IStiCustomStyleCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiStyleCoreXF="IStiStyleCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTable="IStiChartTable"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTableCoreXF="IStiTrendLineCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTableDataCells="IStiChartTableDataCells"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartTableHeader="IStiChartTableHeader"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesTopN="IStiSeriesTopN"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLine="IStiTrendLine"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLineCoreXF="IStiTrendLineCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLineExponential="IStiTrendLineExponential"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLineLinear="IStiTrendLineLinear"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLineLogarithmic="IStiTrendLineLogarithmic"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTrendLineNone="IStiTrendLineNone"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiWaterfallConnectorLine="IStiWaterfallConnectorLine"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiWaterfallTotal="IStiWaterfallTotal"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiApplyStyle="IStiApplyStyle"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiApplyStyleSeries="IStiApplyStyleSeries"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCellGeom="IStiCellGeom"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChart="IStiChart"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartCoreXF="IStiChartCoreXF"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartInfo="IStiChartInfo"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGeomInteraction="IStiGeomInteraction"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesElement="IStiSeriesElement"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesInteraction="IStiSeriesInteraction"}(e=t.Chart||(t.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){this.lineColor=90,this.lineStyle=100,this.lineWidth=110,this.showShadow=120}return t}();t.StiTrendLinePropertyOrder=e;var r=function(){function t(){this.allowApplyStyle=90,this.angle=100,this.antialiasing=110,this.autoRotate=120,this.conditions=125,this.drawBorder=130,this.borderColor=140,this.brush=150,this.font=160,this.format=170,this.labelColor=180,this.legendValueType=190,this.lineColor=200,this.lineColorNegative=201,this.lineLength=205,this.markerAlignment=210,this.markerSize=220,this.markerVisible=230,this.preventIntersection=240,this.showInPercent=250,this.showNulls=255,this.showValue=260,this.showZeros=270,this.step=280,this.textAfter=290,this.textBefore=300,this.useSeriesColor=310,this.valueType=320,this.valueTypeSeparator=330,this.visible=340,this.width=350,this.wordWrap=360}return t}();t.StiSeriesLabelsPropertyOrder=r;var n=function(){function t(){this.allowSeries=90,this.allowSeriesElements=95,this.drillDownEnabled=100,this.drillDownPage=110,this.drillDownReport=120,this.hyperlinkDataColumn=130,this.tagDataColumn=140,this.toolTipDataColumn=150,this.weightDataColumn=160,this.hyperlink=170,this.tag=180,this.toolTip=190,this.weight=200,this.listOfHyperlinks=210,this.listOfTags=220,this.listOfToolTips=230,this.listOfWeights=240,this.valueValueDataColumn=100,this.valueValue=110,this.valueListOfValues=120,this.valueValueDataColumnEnd=100,this.valueValueEnd=110,this.valueListOfValuesEnd=120,this.valueValueDataColumnOpen=1,this.valueValueOpen=2,this.valueListOfValuesOpen=3,this.valueValueDataColumnClose=100,this.valueValueClose=110,this.valueListOfValuesClose=120,this.valueValueDataColumnHigh=100,this.valueValueHigh=110,this.valueListOfValuesHigh=120,this.valueValueDataColumnLow=100,this.valueValueLow=110,this.valueListOfValuesLow=120,this.argumentArgumentDataColumn=130,this.argumentArgument=140,this.argumentListOfArguments=150,this.weightWeightDataColumn=100,this.weightWeight=110,this.weightListOfWeights=120,this.appearanceAllowApplyBorderColor=130,this.appearanceAllowApplyBrush=135,this.appearanceAllowApplyBrushNegative=136,this.appearanceAllowApplyColorNegative=137,this.appearanceDiameter=140,this.appearanceBorderColor=145,this.appearanceBrush=150,this.appearanceBrushNegative=151,this.appearanceLighting=155,this.appearanceShowShadow=160,this.appearanceTopmostLine=170,this.appearanceFunnelSliceMode=180,this.dataConditions=210,this.dataFilters=220,this.dataFilterMode=230,this.dataTopN=235,this.dataFormat=240,this.dataSortBy=250,this.dataSortDirection=260,this.dataAutoSeriesKeyDataColumn=270,this.dataAutoSeriesColorDataColumn=280,this.dataAutoSeriesTitleDataColumn=290}return t}(),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,D,P,x,F,N,k,M,O,_,j,G;t.StiSeriesPropertyOrder=n,function(t){t[t["Top"]=0]="Top",t[t["Right"]=90]="Right",t[t["Bottom"]=180]="Bottom",t[t["Left"]=270]="Left"}(i=t.StiChartTitleDock||(t.StiChartTitleDock={})),function(t){t[t["LeftToRight"]=0]="LeftToRight",t[t["RightToLeft"]=1]="RightToLeft",t[t["TopToBottom"]=2]="TopToBottom",t[t["BottomToTop"]=3]="BottomToTop"}(o=t.StiLegendDirection||(t.StiLegendDirection={})),function(t){t[t["LeftToRight"]=0]="LeftToRight",t[t["RightToLeft"]=1]="RightToLeft",t[t["TopToBottom"]=2]="TopToBottom",t[t["BottomToTop"]=3]="BottomToTop"}(a=t.StiDirection||(t.StiDirection={})),function(t){t[t["LeftOutside"]=0]="LeftOutside",t[t["Left"]=1]="Left",t[t["Center"]=2]="Center",t[t["Right"]=3]="Right",t[t["RightOutside"]=4]="RightOutside"}(s=t.StiLegendHorAlignment||(t.StiLegendHorAlignment={})),function(t){t[t["TopOutside"]=0]="TopOutside",t[t["Top"]=1]="Top",t[t["Center"]=2]="Center",t[t["Bottom"]=3]="Bottom",t[t["BottomOutside"]=4]="BottomOutside"}(l=t.StiLegendVertAlignment||(t.StiLegendVertAlignment={})),function(t){t[t["Left"]=0]="Left",t[t["Center"]=1]="Center",t[t["Right"]=2]="Right"}(u=t.StiMarkerAlignment||(t.StiMarkerAlignment={})),function(t){t[t["ClusteredColumn"]=0]="ClusteredColumn",t[t["StackedColumn"]=1]="StackedColumn",t[t["FullStackedColumn"]=2]="FullStackedColumn",t[t["Pareto"]=3]="Pareto",t[t["Waterfall"]=4]="Waterfall",t[t["Histogram"]=5]="Histogram",t[t["ClusteredBar"]=10]="ClusteredBar",t[t["StackedBar"]=11]="StackedBar",t[t["FullStackedBar"]=12]="FullStackedBar",t[t["Pie"]=20]="Pie",t[t["Doughnut"]=21]="Doughnut",t[t["Line"]=30]="Line",t[t["SteppedLine"]=31]="SteppedLine",t[t["StackedLine"]=32]="StackedLine",t[t["FullStackedLine"]=33]="FullStackedLine",t[t["Spline"]=40]="Spline",t[t["StackedSpline"]=41]="StackedSpline",t[t["FullStackedSpline"]=42]="FullStackedSpline",t[t["Area"]=50]="Area",t[t["SteppedArea"]=51]="SteppedArea",t[t["StackedArea"]=52]="StackedArea",t[t["FullStackedArea"]=53]="FullStackedArea",t[t["SplineArea"]=60]="SplineArea",t[t["StackedSplineArea"]=61]="StackedSplineArea",t[t["FullStackedSplineArea"]=62]="FullStackedSplineArea",t[t["Gantt"]=70]="Gantt",t[t["Scatter"]=80]="Scatter",t[t["Bubble"]=81]="Bubble",t[t["RadarPoint"]=82]="RadarPoint",t[t["RadarLine"]=83]="RadarLine",t[t["RadarArea"]=84]="RadarArea",t[t["Range"]=90]="Range",t[t["SteppedRange"]=91]="SteppedRange",t[t["RangeBar"]=92]="RangeBar",t[t["SplineRange"]=93]="SplineRange",t[t["Funnel"]=100]="Funnel",t[t["Candlestick"]=110]="Candlestick",t[t["Stock"]=120]="Stock",t[t["Treemap"]=130]="Treemap",t[t["Pictorial"]=131]="Pictorial",t[t["Sunburst"]=140]="Sunburst"}(c=t.StiChartAreaPosition||(t.StiChartAreaPosition={})),function(t){t[t["Horizontal"]=0]="Horizontal",t[t["Vertical"]=1]="Vertical"}(p=t.StiChartSeriesOrientation||(t.StiChartSeriesOrientation={})),function(t){t[t["None"]=0]="None",t[t["Triangle"]=1]="Triangle",t[t["Lines"]=2]="Lines",t[t["Circle"]=3]="Circle",t[t["Arc"]=4]="Arc",t[t["ArcAndCircle"]=5]="ArcAndCircle"}(h=t.StiArrowStyle||(t.StiArrowStyle={})),function(t){t[t["None"]=0]="None",t[t["OneLine"]=1]="OneLine",t[t["TwoLines"]=2]="TwoLines",t[t["AutoRotation"]=3]="AutoRotation"}(m=t.StiLabelsPlacement||(t.StiLabelsPlacement={})),function(t){t[t["Top"]=0]="Top",t[t["Bottom"]=1]="Bottom"}(f=t.StiXAxisDock||(t.StiXAxisDock={})),function(t){t[t["Left"]=0]="Left",t[t["Right"]=1]="Right"}(d=t.StiYAxisDock||(t.StiYAxisDock={})),function(t){t[t["Inside"]=0]="Inside",t[t["Outside"]=1]="Outside"}(g=t.StiTitlePosition||(t.StiTitlePosition={})),function(t){t[t["None"]=0]="None",t[t["InsideEndAxis"]=1]="InsideEndAxis",t[t["InsideBaseAxis"]=2]="InsideBaseAxis",t[t["CenterAxis"]=3]="CenterAxis",t[t["OutsideEndAxis"]=4]="OutsideEndAxis",t[t["OutsideBaseAxis"]=5]="OutsideBaseAxis",t[t["OutsideAxis"]=6]="OutsideAxis",t[t["Left"]=7]="Left",t[t["Value"]=8]="Value",t[t["Right"]=9]="Right",t[t["InsideEndPie"]=10]="InsideEndPie",t[t["CenterPie"]=11]="CenterPie",t[t["OutsidePie"]=12]="OutsidePie",t[t["TwoColumnsPie"]=13]="TwoColumnsPie",t[t["CenterFunnel"]=14]="CenterFunnel",t[t["OutsideRightFunnel"]=15]="OutsideRightFunnel",t[t["OutsideLeftFunnel"]=16]="OutsideLeftFunnel",t[t["CenterTreemap"]=17]="CenterTreemap"}(S=t.StiSeriesLabelsPosition||(t.StiSeriesLabelsPosition={})),function(t){t[t["Axis"]=1]="Axis",t[t["Pie"]=2]="Pie",t[t["Doughnut"]=4]="Doughnut",t[t["Radar"]=8]="Radar",t[t["Funnel"]=10]="Funnel",t[t["Treemap"]=12]="Treemap",t[t["All"]=15]="All"}(y=t.StiSeriesLabelsType||(t.StiSeriesLabelsType={})),function(t){t[t["Value"]=0]="Value",t[t["SeriesTitle"]=1]="SeriesTitle",t[t["Argument"]=2]="Argument",t[t["Tag"]=3]="Tag",t[t["Weight"]=4]="Weight",t[t["ValueArgument"]=5]="ValueArgument",t[t["ArgumentValue"]=6]="ArgumentValue",t[t["SeriesTitleValue"]=7]="SeriesTitleValue",t[t["SeriesTitleArgument"]=8]="SeriesTitleArgument"}(A=t.StiSeriesLabelsValueType||(t.StiSeriesLabelsValueType={})),function(t){t[t["Rectangle"]=0]="Rectangle",t[t["Triangle"]=1]="Triangle",t[t["Circle"]=2]="Circle",t[t["HalfCircle"]=3]="HalfCircle",t[t["Star5"]=4]="Star5",t[t["Star6"]=5]="Star6",t[t["Star7"]=6]="Star7",t[t["Star8"]=7]="Star8",t[t["Hexagon"]=8]="Hexagon"}(b=t.StiMarkerType||(t.StiMarkerType={})),function(t){t[t["Value"]=0]="Value",t[t["Argument"]=1]="Argument",t[t["None"]=2]="None"}(v=t.StiSeriesSortType||(t.StiSeriesSortType={})),function(t){t[t["Ascending"]=0]="Ascending",t[t["Descending"]=1]="Descending"}(C=t.StiSeriesSortDirection||(t.StiSeriesSortDirection={})),function(t){t[t["BottomXAxis"]=0]="BottomXAxis",t[t["TopXAxis"]=1]="TopXAxis"}(w=t.StiSeriesXAxis||(t.StiSeriesXAxis={})),function(t){t[t["LeftYAxis"]=0]="LeftYAxis",t[t["RightYAxis"]=1]="RightYAxis"}(B=t.StiSeriesYAxis||(t.StiSeriesYAxis={})),function(t){t[t["None"]=0]="None",t[t["FromChart"]=1]="FromChart",t[t["FromSeries"]=2]="FromSeries"}(I=t.StiShowSeriesLabels||(t.StiShowSeriesLabels={})),function(t){t[t["Left"]=0]="Left",t[t["Center"]=1]="Center",t[t["Both"]=2]="Both"}(T=t.StiShowYAxis||(t.StiShowYAxis={})),function(t){t[t["Bottom"]=0]="Bottom",t[t["Center"]=1]="Center",t[t["Both"]=2]="Both"}(E=t.StiShowXAxis||(t.StiShowXAxis={})),function(t){t[t["Polygon"]=0]="Polygon",t[t["Circle"]=1]="Circle"}(R=t.StiRadarStyle||(t.StiRadarStyle={})),function(t){t[t["None"]=0]="None",t[t["Second"]=1]="Second",t[t["Minute"]=2]="Minute",t[t["Hour"]=3]="Hour",t[t["Day"]=4]="Day",t[t["Month"]=5]="Month",t[t["Year"]=6]="Year"}(D=t.StiTimeDateStep||(t.StiTimeDateStep={})),function(t){t[t["None"]=0]="None",t[t["Top"]=1]="Top",t[t["Bottom"]=2]="Bottom"}(P=t.StiTopNMode||(t.StiTopNMode={})),function(t){t[t["StiStyle01"]=0]="StiStyle01",t[t["StiStyle02"]=1]="StiStyle02",t[t["StiStyle03"]=2]="StiStyle03",t[t["StiStyle04"]=3]="StiStyle04",t[t["StiStyle05"]=4]="StiStyle05",t[t["StiStyle06"]=5]="StiStyle06",t[t["StiStyle07"]=6]="StiStyle07",t[t["StiStyle08"]=7]="StiStyle08",t[t["StiStyle09"]=8]="StiStyle09",t[t["StiStyle10"]=9]="StiStyle10",t[t["StiStyle11"]=10]="StiStyle11",t[t["StiStyle12"]=11]="StiStyle12",t[t["StiStyle13"]=12]="StiStyle13",t[t["StiStyle14"]=13]="StiStyle14",t[t["StiStyle15"]=14]="StiStyle15",t[t["StiStyle16"]=15]="StiStyle16",t[t["StiStyle17"]=16]="StiStyle17",t[t["StiStyle18"]=17]="StiStyle18",t[t["StiStyle19"]=18]="StiStyle19",t[t["StiStyle20"]=19]="StiStyle20",t[t["StiStyle21"]=20]="StiStyle21",t[t["StiStyle22"]=21]="StiStyle22",t[t["StiStyle23"]=22]="StiStyle23",t[t["StiStyle24"]=23]="StiStyle24",t[t["StiStyle25"]=24]="StiStyle25",t[t["StiStyle26"]=25]="StiStyle26",t[t["StiStyle27"]=26]="StiStyle27",t[t["StiStyle28"]=27]="StiStyle28",t[t["StiStyle29"]=28]="StiStyle29",t[t["StiStyle30"]=29]="StiStyle30",t[t["StiStyle31"]=30]="StiStyle31",t[t["StiStyle32"]=31]="StiStyle32",t[t["StiStyle33"]=32]="StiStyle33",t[t["StiStyle34"]=33]="StiStyle34"}(x=t.StiChartStyleId||(t.StiChartStyleId={})),function(t){t[t["Horizontal"]=0]="Horizontal",t[t["Vertical"]=1]="Vertical",t[t["HorizontalRight"]=2]="HorizontalRight"}(F=t.StiStrips_StiOrientation||(t.StiStrips_StiOrientation={})),function(t){t[t["Horizontal"]=0]="Horizontal",t[t["Vertical"]=1]="Vertical",t[t["HorizontalRight"]=2]="HorizontalRight"}(N=t.StiConstantLines_StiOrientation||(t.StiConstantLines_StiOrientation={})),function(t){t[t["LeftTop"]=0]="LeftTop",t[t["LeftBottom"]=1]="LeftBottom",t[t["CenterTop"]=2]="CenterTop",t[t["CenterBottom"]=3]="CenterBottom",t[t["RightTop"]=4]="RightTop",t[t["RightBottom"]=5]="RightBottom"}(k=t.StiConstantLines_StiTextPosition||(t.StiConstantLines_StiTextPosition={})),function(t){t[t["LeftTop"]=0]="LeftTop",t[t["LeftBottom"]=1]="LeftBottom",t[t["RightTop"]=2]="RightTop",t[t["RightBottom"]=3]="RightBottom"}(M=t.StiTrendLine_StiTextPosition||(t.StiTrendLine_StiTextPosition={})),function(t){t[t["FromStyle"]=0]="FromStyle",t[t["True"]=1]="True",t[t["False"]=2]="False"}(O=t.StiExtendedStyleBool||(t.StiExtendedStyleBool={})),function(t){t[t["Value"]=0]="Value",t[t["Argument"]=1]="Argument",t[t["Series"]=2]="Series"}(_=t.StiChartConditionalField||(t.StiChartConditionalField={})),function(t){t[t["Gap"]=0]="Gap",t[t["ConnectPointsWithLine"]=1]="ConnectPointsWithLine"}(j=t.StiShowEmptyCellsAs||(t.StiShowEmptyCellsAs={})),function(t){t[t["Simple"]=0]="Simple",t[t["Advanced"]=1]="Advanced"}(G=t.StiChartEditorType||(t.StiChartEditorType={}))}(e=t.Chart||(t.Chart={}))}(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.Components["StiChart"]},enumerable:!1,configurable:!0}),e}();e.StiChartAssembly=r}(r=e.Chart||(e.Chart={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Text.StringBuilder,n=function(){function t(){}return t.parseRtf=function(t,e){if(null!=e){var n,i=!1,o=t.toString().lastIndexOf("__LP__"),a;-1==o&&(o=0);for(var s=t.length-1;s>o;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(s<e.length){if(0==a)if("{"==e[s]){if(a=!0,(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)}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.length;o++)if("\\"==t.toString()[o]&&o<t.length-1){o++;var a=t.toString()[o];switch(a){case"\\":e&&!n&&o+1<t.length&&"n"==t.toString()[o+1]?(i.append("\n"),o++):i.append("\\");break;case"'":e?i.append("\\'"):i.append("'");break;case"0":i.append("\0");break;case"n":i.append("\n");break;case"r":i.append("\r");break;case"t":i.append("\t");break;case"x":var s=new r,l=0;while(o<t.length-1&&l<4&&-1!="0123456789abcdefABCDEF".indexOf(t.toString()[o+1]))s.append(t.toString()[o+1]),o++,l++;var u=s.stimulsoft.toNumber();i.append(String.fromCharCode(u));break;default:i.append("\\"+a);break}}else i.append(t.toString()[o]);return i},t}();e.StiCodeDomExpressionHelper=n}(r=e.CodeDom||(e.CodeDom={}))}(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.isReservedWordExist=function(t){return null!=this.reservedWordsHashtable.get(t)},t.isKeywordExist=function(t){return null!=this.keywordsHashtable.get(t)},t.prototype.quoteSnippetString=function(t){return""},t.init=function(){var t,e,r,n;try{for(var i=__values(this.keywords),o=i.next();!o.done;o=i.next()){var a=o.value;this.keywordsHashtable.add(a,a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}try{for(var s=__values(this.reservedWords),l=s.next();!l.done;l=s.next()){var a=l.value;this.reservedWordsHashtable.add(a,a)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},t.keywordsHashtable=new r,t.keywords=["as","do","if","in","is","for","int","new","out","ref","try","base","bool","byte","case","char","else","enum","goto","lock","long","null","this","true","uint","void","break","catch","class","const","event","false","fixed","float","sbyte","short","throw","ulong","using","while","double","extern","object","params","public","return","sealed","sizeof","static","string","struct","switch","typeof","unsafe","ushort","checked","decimal","default","exfloat","finally","foreach","private","virtual","abstract","continue","delegate","exdouble","explicit","implicit","internal","operator","override","readonly","interface","namespace","protected","unchecked"],t.reservedWordsHashtable=new r,t.reservedWords=["this","date","time","line","today","column"],t}();e.StiCodeGenerator=n,n.init()}(r=e.CodeDom||(e.CodeDom={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),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;!function(t){t[t["ReportParser"]=0]="ReportParser",t[t["DataParser"]=1]="DataParser"}(e=t.StiParserType||(t.StiParserType={})),function(t){t[t["High"]=0]="High",t[t["Normal"]=1]="Normal",t[t["Low"]=2]="Low"}(r=t.StiNestedFactor||(t.StiNestedFactor={})),function(t){t[t["ProcessAllPages"]=1]="ProcessAllPages",t[t["RebuildReport"]=2]="RebuildReport",t[t["RescaleContent"]=4]="RescaleContent",t[t["PageOrientationChanged"]=8]="PageOrientationChanged",t[t["ShowProgressOnRebuildReport"]=16]="ShowProgressOnRebuildReport",t[t["AllowPageMarginsRescaling"]=32]="AllowPageMarginsRescaling"}(n=t.StiResizeReportOptions||(t.StiResizeReportOptions={})),function(t){t[t["Compilation"]=0]="Compilation",t[t["Interpretation"]=1]="Interpretation"}(i=t.StiCalculationMode||(t.StiCalculationMode={})),function(t){t[t["CSharp"]=0]="CSharp",t[t["VB"]=1]="VB",t[t["JS"]=2]="JS"}(o=t.StiReportLanguageType||(t.StiReportLanguageType={})),function(t){t[t["Centimeters"]=0]="Centimeters",t[t["HundredthsOfInch"]=1]="HundredthsOfInch",t[t["Inches"]=2]="Inches",t[t["Millimeters"]=3]="Millimeters"}(a=t.StiReportUnitType||(t.StiReportUnitType={})),function(t){t[t["Lines"]=0]="Lines",t[t["Dots"]=1]="Dots"}(s=t.StiGridMode||(t.StiGridMode={})),function(t){t[t["None"]=0]="None",t[t["First"]=1]="First",t[t["Second"]=2]="Second"}(l=t.StiReportPass||(t.StiReportPass={})),function(t){t[t["SinglePass"]=0]="SinglePass",t[t["DoublePass"]=1]="DoublePass"}(u=t.StiNumberOfPass||(t.StiNumberOfPass={})),function(t){t[t["None"]=0]="None",t[t["Pdf"]=1]="Pdf",t[t["Xps"]=2]="Xps",t[t["HtmlTable"]=3]="HtmlTable",t[t["HtmlSpan"]=4]="HtmlSpan",t[t["HtmlDiv"]=5]="HtmlDiv",t[t["Rtf"]=6]="Rtf",t[t["RtfTable"]=7]="RtfTable",t[t["RtfFrame"]=8]="RtfFrame",t[t["RtfWinWord"]=9]="RtfWinWord",t[t["RtfTabbedText"]=10]="RtfTabbedText",t[t["Text"]=11]="Text",t[t["Excel"]=12]="Excel",t[t["ExcelXml"]=13]="ExcelXml",t[t["Excel2007"]=14]="Excel2007",t[t["Word2007"]=15]="Word2007",t[t["Xml"]=16]="Xml",t[t["Csv"]=17]="Csv",t[t["Dif"]=18]="Dif",t[t["Sylk"]=19]="Sylk",t[t["Image"]=20]="Image",t[t["ImageGif"]=21]="ImageGif",t[t["ImageBmp"]=22]="ImageBmp",t[t["ImagePng"]=23]="ImagePng",t[t["ImageTiff"]=24]="ImageTiff",t[t["ImageJpeg"]=25]="ImageJpeg",t[t["ImagePcx"]=26]="ImagePcx",t[t["ImageEmf"]=27]="ImageEmf",t[t["ImageSvg"]=28]="ImageSvg",t[t["ImageSvgz"]=29]="ImageSvgz",t[t["Mht"]=30]="Mht",t[t["Dbf"]=31]="Dbf",t[t["Html"]=32]="Html",t[t["Ods"]=33]="Ods",t[t["Odt"]=34]="Odt",t[t["Ppt2007"]=35]="Ppt2007",t[t["Html5"]=36]="Html5",t[t["Data"]=37]="Data",t[t["Json"]=38]="Json",t[t["Document"]=1e3]="Document"}(c=t.StiExportFormat||(t.StiExportFormat={})),function(t){t[t["Off"]=0]="Off",t[t["On"]=1]="On",t[t["Auto"]=2]="Auto"}(p=t.StiReportCacheMode||(t.StiReportCacheMode={})),function(t){t[t["Bitmap"]=0]="Bitmap",t[t["Metafile"]=1]="Metafile",t[t["Report"]=2]="Report"}(h=t.StiReportResourceType||(t.StiReportResourceType={})),function(t){t[t["All"]=1]="All",t[t["CurrentPage"]=2]="CurrentPage",t[t["Pages"]=3]="Pages"}(m=t.StiRangeType||(t.StiRangeType={})),function(t){t[t["Html"]=1]="Html",t[t["Html5"]=2]="Html5",t[t["Mht"]=3]="Mht"}(f=t.StiHtmlType||(t.StiHtmlType={})),function(t){t[t["Bmp"]=0]="Bmp",t[t["Emf"]=1]="Emf",t[t["Exif"]=2]="Exif",t[t["Gif"]=3]="Gif",t[t["Guid"]=4]="Guid",t[t["Icon"]=5]="Icon",t[t["Jpeg"]=6]="Jpeg",t[t["MemoryBmp"]=7]="MemoryBmp",t[t["Png"]=8]="Png",t[t["Tiff"]=9]="Tiff",t[t["Wmf"]=10]="Wmf"}(d=t.ImageFormat||(t.ImageFormat={})),function(t){t[t["Standard"]=0]="Standard",t[t["Eastern"]=1]="Eastern"}(g=t.StiArabicDigitsType||(t.StiArabicDigitsType={})),function(t){t[t["Solid"]=0]="Solid",t[t["Glare"]=1]="Glare",t[t["Gradient0"]=2]="Gradient0",t[t["Gradient90"]=3]="Gradient90",t[t["Gradient180"]=4]="Gradient180",t[t["Gradient270"]=5]="Gradient270",t[t["Gradient45"]=6]="Gradient45"}(S=t.StiBrushType||(t.StiBrushType={})),function(t){t[t["StiComponent"]=0]="StiComponent",t[t["StiBarCode"]=1]="StiBarCode",t[t["StiButtonControl"]=2]="StiButtonControl",t[t["StiChart"]=3]="StiChart",t[t["StiSparkline"]=4]="StiSparkline",t[t["StiChartCommon"]=5]="StiChartCommon",t[t["StiCheckBox"]=6]="StiCheckBox",t[t["StiCheckBoxControl"]=7]="StiCheckBoxControl",t[t["StiCheckedListBoxControl"]=8]="StiCheckedListBoxControl",t[t["StiChildBand"]=9]="StiChildBand",t[t["StiClone"]=10]="StiClone",t[t["StiColumnFooterBand"]=11]="StiColumnFooterBand",t[t["StiColumnHeaderBand"]=12]="StiColumnHeaderBand",t[t["StiComboBoxControl"]=13]="StiComboBoxControl",t[t["StiContainer"]=14]="StiContainer",t[t["StiContourText"]=15]="StiContourText",t[t["StiCrossColumn"]=16]="StiCrossColumn",t[t["StiCrossColumnTotal"]=17]="StiCrossColumnTotal",t[t["StiCrossDataBand"]=18]="StiCrossDataBand",t[t["StiCrossFooterBand"]=19]="StiCrossFooterBand",t[t["StiCrossGroupFooterBand"]=20]="StiCrossGroupFooterBand",t[t["StiCrossGroupHeaderBand"]=21]="StiCrossGroupHeaderBand",t[t["StiCrossHeaderBand"]=22]="StiCrossHeaderBand",t[t["StiCrossRow"]=23]="StiCrossRow",t[t["StiCrossRowTotal"]=24]="StiCrossRowTotal",t[t["StiCrossSummary"]=25]="StiCrossSummary",t[t["StiCrossTab"]=26]="StiCrossTab",t[t["StiCrossTitle"]=27]="StiCrossTitle",t[t["StiDashboardPage"]=28]="StiDashboardPage",t[t["StiDataBand"]=29]="StiDataBand",t[t["StiDateTimePickerControl"]=30]="StiDateTimePickerControl",t[t["StiEmptyBand"]=31]="StiEmptyBand",t[t["StiFooterBand"]=32]="StiFooterBand",t[t["StiForm"]=33]="StiForm",t[t["StiGridControl"]=34]="StiGridControl",t[t["StiGroupBoxControl"]=35]="StiGroupBoxControl",t[t["StiGroupFooterBand"]=36]="StiGroupFooterBand",t[t["StiGroupHeaderBand"]=37]="StiGroupHeaderBand",t[t["StiHeaderBand"]=38]="StiHeaderBand",t[t["StiHierarchicalBand"]=39]="StiHierarchicalBand",t[t["StiHorizontalLinePrimitive"]=40]="StiHorizontalLinePrimitive",t[t["StiImage"]=41]="StiImage",t[t["StiLabelControl"]=42]="StiLabelControl",t[t["StiListBoxControl"]=43]="StiListBoxControl",t[t["StiListViewControl"]=44]="StiListViewControl",t[t["StiLookUpBoxControl"]=45]="StiLookUpBoxControl",t[t["StiNumericUpDownControl"]=46]="StiNumericUpDownControl",t[t["StiOverlayBand"]=47]="StiOverlayBand",t[t["StiPage"]=48]="StiPage",t[t["StiPageFooterBand"]=49]="StiPageFooterBand",t[t["StiPageHeaderBand"]=50]="StiPageHeaderBand",t[t["StiPanel"]=51]="StiPanel",t[t["StiPanelControl"]=52]="StiPanelControl",t[t["StiPictureBoxControl"]=53]="StiPictureBoxControl",t[t["StiRadioButtonControl"]=54]="StiRadioButtonControl",t[t["StiRectanglePrimitive"]=55]="StiRectanglePrimitive",t[t["StiReportControl"]=56]="StiReportControl",t[t["StiReportSummaryBand"]=57]="StiReportSummaryBand",t[t["StiReportTitleBand"]=58]="StiReportTitleBand",t[t["StiRichText"]=59]="StiRichText",t[t["StiRichTextBoxControl"]=60]="StiRichTextBoxControl",t[t["StiRoundedRectanglePrimitive"]=61]="StiRoundedRectanglePrimitive",t[t["StiShape"]=62]="StiShape",t[t["StiSubReport"]=63]="StiSubReport",t[t["StiSystemText"]=64]="StiSystemText",t[t["StiTable"]=65]="StiTable",t[t["StiTableCell"]=66]="StiTableCell",t[t["StiText"]=67]="StiText",t[t["StiTextBoxControl"]=68]="StiTextBoxControl",t[t["StiTextInCells"]=69]="StiTextInCells",t[t["StiTreeViewControl"]=70]="StiTreeViewControl",t[t["StiVerticalLinePrimitive"]=71]="StiVerticalLinePrimitive",t[t["StiWinControl"]=72]="StiWinControl",t[t["StiUndefinedComponent"]=73]="StiUndefinedComponent",t[t["StiZipCode"]=74]="StiZipCode",t[t["StiTableCellCheckBox"]=75]="StiTableCellCheckBox",t[t["StiTableCellImage"]=76]="StiTableCellImage",t[t["StiTableCellRichText"]=77]="StiTableCellRichText",t[t["StiDataColumn"]=78]="StiDataColumn",t[t["StiCalcDataColumn"]=79]="StiCalcDataColumn",t[t["StiBusinessObject"]=80]="StiBusinessObject",t[t["StiDataSource"]=81]="StiDataSource",t[t["StiDataStoreSource"]=82]="StiDataStoreSource",t[t["StiFileDataSource"]=83]="StiFileDataSource",t[t["StiDataRelation"]=84]="StiDataRelation",t[t["StiVariable"]=85]="StiVariable",t[t["StiResource"]=86]="StiResource",t[t["StiReport"]=87]="StiReport",t[t["StiStyle"]=88]="StiStyle",t[t["StiCrossTabStyle"]=89]="StiCrossTabStyle",t[t["StiChartStyle"]=90]="StiChartStyle",t[t["StiMapStyle"]=91]="StiMapStyle",t[t["StiTableStyle"]=92]="StiTableStyle",t[t["StiGaugeStyle"]=93]="StiGaugeStyle",t[t["StiIndicatorStyle"]=94]="StiIndicatorStyle",t[t["StiDialogStyle"]=95]="StiDialogStyle",t[t["StiDataParameter"]=96]="StiDataParameter",t[t["StiCrossField"]=97]="StiCrossField",t[t["StiCrossTotal"]=98]="StiCrossTotal",t[t["StiCrossCell"]=99]="StiCrossCell",t[t["StiCrossHeader"]=100]="StiCrossHeader",t[t["StiCrossSummaryHeader"]=101]="StiCrossSummaryHeader",t[t["StiStartPointPrimitive"]=102]="StiStartPointPrimitive",t[t["StiEndPointPrimitive"]=103]="StiEndPointPrimitive",t[t["StiEvent"]=104]="StiEvent",t[t["StiChartElement"]=105]="StiChartElement",t[t["StiGaugeElement"]=106]="StiGaugeElement",t[t["StiImageElement"]=107]="StiImageElement",t[t["StiIndicatorElement"]=108]="StiIndicatorElement",t[t["StiRegionMapElement"]=109]="StiRegionMapElement",t[t["StiOnlineMapElement"]=110]="StiOnlineMapElement",t[t["StiTableElement"]=111]="StiTableElement",t[t["StiPivotTableElement"]=112]="StiPivotTableElement",t[t["StiProgressElement"]=113]="StiProgressElement",t[t["StiTextElement"]=114]="StiTextElement",t[t["StiPanelElement"]=115]="StiPanelElement",t[t["StiShapeElement"]=116]="StiShapeElement",t[t["StiTreeViewElement"]=117]="StiTreeViewElement",t[t["StiTreeViewBoxElement"]=118]="StiTreeViewBoxElement",t[t["StiListBoxElement"]=119]="StiListBoxElement",t[t["StiComboBoxElement"]=120]="StiComboBoxElement",t[t["StiDatePickerElement"]=121]="StiDatePickerElement",t[t["StiDateRangeElement"]=122]="StiDateRangeElement",t[t["StiDashboard"]=123]="StiDashboard",t[t["StiSeries"]=124]="StiSeries",t[t["StiBubbleSeries"]=125]="StiBubbleSeries",t[t["StiClusteredColumnSeries"]=126]="StiClusteredColumnSeries",t[t["StiParetoSeries"]=127]="StiParetoSeries",t[t["StiLineSeries"]=128]="StiLineSeries",t[t["StiSteppedLineSeries"]=129]="StiSteppedLineSeries",t[t["StiSplineSeries"]=130]="StiSplineSeries",t[t["StiAreaSeries"]=131]="StiAreaSeries",t[t["StiSteppedAreaSeries"]=132]="StiSteppedAreaSeries",t[t["StiSplineAreaSeries"]=133]="StiSplineAreaSeries",t[t["StiStackedColumnSeries"]=134]="StiStackedColumnSeries",t[t["StiStackedLineSeries"]=135]="StiStackedLineSeries",t[t["StiStackedSplineSeries"]=136]="StiStackedSplineSeries",t[t["StiStackedAreaSeries"]=137]="StiStackedAreaSeries",t[t["StiStackedSplineAreaSeries"]=138]="StiStackedSplineAreaSeries",t[t["StiFullStackedColumnSeries"]=139]="StiFullStackedColumnSeries",t[t["StiFullStackedLineSeries"]=140]="StiFullStackedLineSeries",t[t["StiFullStackedAreaSeries"]=141]="StiFullStackedAreaSeries",t[t["StiFullStackedSplineSeries"]=142]="StiFullStackedSplineSeries",t[t["StiFullStackedSplineAreaSeries"]=143]="StiFullStackedSplineAreaSeries",t[t["StiClusteredBarSeries"]=144]="StiClusteredBarSeries",t[t["StiStackedBarSeries"]=145]="StiStackedBarSeries",t[t["StiTreemapSeries"]=146]="StiTreemapSeries",t[t["StiSunburstSeries"]=147]="StiSunburstSeries",t[t["StiWaterfallSeries"]=148]="StiWaterfallSeries",t[t["StiPictorialSeries"]=149]="StiPictorialSeries",t[t["StiHistogramSeries"]=150]="StiHistogramSeries",t[t["StiFullStackedBarSeries"]=151]="StiFullStackedBarSeries",t[t["StiPieSeries"]=152]="StiPieSeries",t[t["StiDoughnutSeries"]=153]="StiDoughnutSeries",t[t["StiGanttSeries"]=154]="StiGanttSeries",t[t["StiScatterSeries"]=155]="StiScatterSeries",t[t["StiScatterLineSeries"]=156]="StiScatterLineSeries",t[t["StiScatterSplineSeries"]=157]="StiScatterSplineSeries",t[t["StiRadarAreaSeries"]=158]="StiRadarAreaSeries",t[t["StiRadarLineSeries"]=159]="StiRadarLineSeries",t[t["StiRadarPointSeries"]=160]="StiRadarPointSeries",t[t["StiRangeSeries"]=161]="StiRangeSeries",t[t["StiSteppedRangeSeries"]=162]="StiSteppedRangeSeries",t[t["StiFunnelSeries"]=163]="StiFunnelSeries",t[t["StiFunnelWeightedSlicesSeries"]=164]="StiFunnelWeightedSlicesSeries",t[t["StiRangeBarSeries"]=165]="StiRangeBarSeries",t[t["StiSplineRangeSeries"]=166]="StiSplineRangeSeries",t[t["StiCandlestickSeries"]=167]="StiCandlestickSeries",t[t["StiStockSeries"]=168]="StiStockSeries",t[t["StiChartTitle"]=169]="StiChartTitle",t[t["StiLineMarker"]=170]="StiLineMarker",t[t["StiMarker"]=171]="StiMarker",t[t["StiChartTable"]=172]="StiChartTable",t[t["StiSeriesTopN"]=173]="StiSeriesTopN",t[t["StiSeriesInteraction"]=174]="StiSeriesInteraction",t[t["StiTrendLine"]=175]="StiTrendLine",t[t["StiSeriesLabels"]=176]="StiSeriesLabels",t[t["StiNoneLabels"]=177]="StiNoneLabels",t[t["StiInsideEndAxisLabels"]=178]="StiInsideEndAxisLabels",t[t["StiInsideBaseAxisLabels"]=179]="StiInsideBaseAxisLabels",t[t["StiCenterTreemapLabels"]=180]="StiCenterTreemapLabels",t[t["StiCenterAxisLabels"]=181]="StiCenterAxisLabels",t[t["StiOutsideEndAxisLabels"]=182]="StiOutsideEndAxisLabels",t[t["StiOutsideBaseAxisLabels"]=183]="StiOutsideBaseAxisLabels",t[t["StiOutsideAxisLabels"]=184]="StiOutsideAxisLabels",t[t["StiLeftAxisLabels"]=185]="StiLeftAxisLabels",t[t["StiValueAxisLabels"]=186]="StiValueAxisLabels",t[t["StiRightAxisLabels"]=187]="StiRightAxisLabels",t[t["StiCenterFunnelLabels"]=188]="StiCenterFunnelLabels",t[t["StiCenterPieLabels"]=189]="StiCenterPieLabels",t[t["StiOutsidePieLabels"]=190]="StiOutsidePieLabels",t[t["StiTwoColumnsPieLabels"]=191]="StiTwoColumnsPieLabels",t[t["StiOutsideLeftFunnelLabels"]=192]="StiOutsideLeftFunnelLabels",t[t["StiOutsideRightFunnelLabels"]=193]="StiOutsideRightFunnelLabels",t[t["StiLegend"]=194]="StiLegend",t[t["StiClusteredColumnArea"]=195]="StiClusteredColumnArea",t[t["StiPieArea"]=196]="StiPieArea",t[t["StiTreemapArea"]=197]="StiTreemapArea",t[t["StiSunburstArea"]=198]="StiSunburstArea",t[t["StiWaterfallArea"]=199]="StiWaterfallArea",t[t["StiHistorgamArea"]=200]="StiHistorgamArea",t[t["StiFunnelArea"]=201]="StiFunnelArea",t[t["StiFunnelWeightedSlicesArea"]=202]="StiFunnelWeightedSlicesArea",t[t["StiPictorialArea"]=203]="StiPictorialArea",t[t["StiRadarAreaArea"]=204]="StiRadarAreaArea",t[t["StiRadarLineArea"]=205]="StiRadarLineArea",t[t["StiRadarPointArea"]=206]="StiRadarPointArea",t[t["StiStackedColumnArea"]=207]="StiStackedColumnArea",t[t["StiGridLines"]=208]="StiGridLines",t[t["StiInterlacing"]=209]="StiInterlacing",t[t["StiXAxis"]=210]="StiXAxis",t[t["StiXTopAxis"]=211]="StiXTopAxis",t[t["StiYAxis"]=212]="StiYAxis",t[t["StiYRightAxis"]=213]="StiYRightAxis",t[t["StiRadarGridLines"]=214]="StiRadarGridLines",t[t["StiXRadarAxis"]=215]="StiXRadarAxis",t[t["StiYRadarAxis"]=216]="StiYRadarAxis",t[t["StiDialogInfoItem"]=217]="StiDialogInfoItem",t[t["StiStringDialogInfoItem"]=218]="StiStringDialogInfoItem",t[t["StiGuidDialogInfoItem"]=219]="StiGuidDialogInfoItem",t[t["StiCharDialogInfoItem"]=220]="StiCharDialogInfoItem",t[t["StiBoolDialogInfoItem"]=221]="StiBoolDialogInfoItem",t[t["StiImageDialogInfoItem"]=222]="StiImageDialogInfoItem",t[t["StiDateTimeDialogInfoItem"]=223]="StiDateTimeDialogInfoItem",t[t["StiTimeSpanDialogInfoItem"]=224]="StiTimeSpanDialogInfoItem",t[t["StiDoubleDialogInfoItem"]=225]="StiDoubleDialogInfoItem",t[t["StiDecimalDialogInfoItem"]=226]="StiDecimalDialogInfoItem",t[t["StiLongDialogInfoItem"]=227]="StiLongDialogInfoItem",t[t["StiExpressionDialogInfoItem"]=228]="StiExpressionDialogInfoItem",t[t["StiStringRangeDialogInfoItem"]=229]="StiStringRangeDialogInfoItem",t[t["StiGuidRangeDialogInfoItem"]=230]="StiGuidRangeDialogInfoItem",t[t["StiByteArrayRangeDialogInfoItem"]=231]="StiByteArrayRangeDialogInfoItem",t[t["StiCharRangeDialogInfoItem"]=232]="StiCharRangeDialogInfoItem",t[t["StiDateTimeRangeDialogInfoItem"]=233]="StiDateTimeRangeDialogInfoItem",t[t["StiTimeSpanRangeDialogInfoItem"]=234]="StiTimeSpanRangeDialogInfoItem",t[t["StiDoubleRangeDialogInfoItem"]=235]="StiDoubleRangeDialogInfoItem",t[t["StiDecimalRangeDialogInfoItem"]=236]="StiDecimalRangeDialogInfoItem",t[t["StiLongRangeDialogInfoItem"]=237]="StiLongRangeDialogInfoItem",t[t["StiExpressionRangeDialogInfoItem"]=238]="StiExpressionRangeDialogInfoItem",t[t["OracleConnectionStringBuilder"]=239]="OracleConnectionStringBuilder",t[t["StiStrips"]=240]="StiStrips",t[t["StiConstantLines"]=241]="StiConstantLines",t[t["StiShapeTypeService"]=242]="StiShapeTypeService",t[t["StiDiagonalDownLineShapeType"]=243]="StiDiagonalDownLineShapeType",t[t["StiRoundedRectangleShapeType"]=244]="StiRoundedRectangleShapeType",t[t["StiTriangleShapeType"]=245]="StiTriangleShapeType",t[t["StiComplexArrowShapeType"]=246]="StiComplexArrowShapeType",t[t["StiBentArrowShapeType"]=247]="StiBentArrowShapeType",t[t["StiChevronShapeType"]=248]="StiChevronShapeType",t[t["StiEqualShapeType"]=249]="StiEqualShapeType",t[t["StiFlowchartCollateShapeType"]=250]="StiFlowchartCollateShapeType",t[t["StiFlowchartOffPageConnectorShapeType"]=251]="StiFlowchartOffPageConnectorShapeType",t[t["StiArrowShapeType"]=252]="StiArrowShapeType",t[t["StiOctagonShapeType"]=253]="StiOctagonShapeType",t[t["StiAustraliaPost4StateBarCodeType"]=254]="StiAustraliaPost4StateBarCodeType",t[t["StiCode11BarCodeType"]=255]="StiCode11BarCodeType",t[t["StiCode128aBarCodeType"]=256]="StiCode128aBarCodeType",t[t["StiCode128bBarCodeType"]=257]="StiCode128bBarCodeType",t[t["StiCode128cBarCodeType"]=258]="StiCode128cBarCodeType",t[t["StiCode128AutoBarCodeType"]=259]="StiCode128AutoBarCodeType",t[t["StiCode39BarCodeType"]=260]="StiCode39BarCodeType",t[t["StiCode39ExtBarCodeType"]=261]="StiCode39ExtBarCodeType",t[t["StiCode93BarCodeType"]=262]="StiCode93BarCodeType",t[t["StiCode93ExtBarCodeType"]=263]="StiCode93ExtBarCodeType",t[t["StiCodabarBarCodeType"]=264]="StiCodabarBarCodeType",t[t["StiEAN128aBarCodeType"]=265]="StiEAN128aBarCodeType",t[t["StiEAN128bBarCodeType"]=266]="StiEAN128bBarCodeType",t[t["StiEAN128cBarCodeType"]=267]="StiEAN128cBarCodeType",t[t["StiEAN128AutoBarCodeType"]=268]="StiEAN128AutoBarCodeType",t[t["StiGS1_128BarCodeType"]=269]="StiGS1_128BarCodeType",t[t["StiEAN13BarCodeType"]=270]="StiEAN13BarCodeType",t[t["StiEAN8BarCodeType"]=271]="StiEAN8BarCodeType",t[t["StiFIMBarCodeType"]=272]="StiFIMBarCodeType",t[t["StiIsbn10BarCodeType"]=273]="StiIsbn10BarCodeType",t[t["StiIsbn13BarCodeType"]=274]="StiIsbn13BarCodeType",t[t["StiITF14BarCodeType"]=275]="StiITF14BarCodeType",t[t["StiJan13BarCodeType"]=276]="StiJan13BarCodeType",t[t["StiJan8BarCodeType"]=277]="StiJan8BarCodeType",t[t["StiMsiBarCodeType"]=278]="StiMsiBarCodeType",t[t["StiPdf417BarCodeType"]=279]="StiPdf417BarCodeType",t[t["StiPharmacodeBarCodeType"]=280]="StiPharmacodeBarCodeType",t[t["StiPlesseyBarCodeType"]=281]="StiPlesseyBarCodeType",t[t["StiPostnetBarCodeType"]=282]="StiPostnetBarCodeType",t[t["StiQRCodeBarCodeType"]=283]="StiQRCodeBarCodeType",t[t["StiRoyalMail4StateBarCodeType"]=284]="StiRoyalMail4StateBarCodeType",t[t["StiDutchKIXBarCodeType"]=285]="StiDutchKIXBarCodeType",t[t["StiSSCC18BarCodeType"]=286]="StiSSCC18BarCodeType",t[t["StiUpcABarCodeType"]=287]="StiUpcABarCodeType",t[t["StiUpcEBarCodeType"]=288]="StiUpcEBarCodeType",t[t["StiUpcSup2BarCodeType"]=289]="StiUpcSup2BarCodeType",t[t["StiUpcSup5BarCodeType"]=290]="StiUpcSup5BarCodeType",t[t["StiInterleaved2of5BarCodeType"]=291]="StiInterleaved2of5BarCodeType",t[t["StiStandard2of5BarCodeType"]=292]="StiStandard2of5BarCodeType",t[t["StiDataMatrixBarCodeType"]=293]="StiDataMatrixBarCodeType",t[t["StiMaxicodeBarCodeType"]=294]="StiMaxicodeBarCodeType",t[t["StiDatabase"]=295]="StiDatabase",t[t["StiFileDatabase"]=296]="StiFileDatabase",t[t["StiCsvDatabase"]=297]="StiCsvDatabase",t[t["StiDBaseDatabase"]=298]="StiDBaseDatabase",t[t["StiExcelDatabase"]=299]="StiExcelDatabase",t[t["StiJsonDatabase"]=300]="StiJsonDatabase",t[t["StiXmlDatabase"]=301]="StiXmlDatabase",t[t["StiSqlDatabase"]=302]="StiSqlDatabase",t[t["StiGauge"]=303]="StiGauge",t[t["StiMap"]=304]="StiMap",t[t["StiFullStackedColumnArea"]=305]="StiFullStackedColumnArea",t[t["StiClusteredBarArea"]=306]="StiClusteredBarArea",t[t["StiStackedBarArea"]=307]="StiStackedBarArea",t[t["StiFullStackedBarArea"]=308]="StiFullStackedBarArea",t[t["StiDoughnutArea"]=309]="StiDoughnutArea",t[t["StiLineArea"]=310]="StiLineArea",t[t["StiParetoArea"]=311]="StiParetoArea",t[t["StiSteppedLineArea"]=312]="StiSteppedLineArea",t[t["StiStackedLineArea"]=313]="StiStackedLineArea",t[t["StiFullStackedLineArea"]=314]="StiFullStackedLineArea",t[t["StiSplineArea"]=315]="StiSplineArea",t[t["StiStackedSplineArea"]=316]="StiStackedSplineArea",t[t["StiFullStackedSplineArea"]=317]="StiFullStackedSplineArea",t[t["StiAreaArea"]=318]="StiAreaArea",t[t["StiSteppedAreaArea"]=319]="StiSteppedAreaArea",t[t["StiStackedAreaArea"]=320]="StiStackedAreaArea",t[t["StiFullStackedAreaArea"]=321]="StiFullStackedAreaArea",t[t["StiSplineAreaArea"]=322]="StiSplineAreaArea",t[t["StiStackedSplineAreaArea"]=323]="StiStackedSplineAreaArea",t[t["StiFullStackedSplineAreaArea"]=324]="StiFullStackedSplineAreaArea",t[t["StiGanttArea"]=325]="StiGanttArea",t[t["StiScatterArea"]=326]="StiScatterArea",t[t["StiBubbleArea"]=327]="StiBubbleArea",t[t["StiRangeArea"]=328]="StiRangeArea",t[t["StiSteppedRangeArea"]=329]="StiSteppedRangeArea",t[t["StiRangeBarArea"]=330]="StiRangeBarArea",t[t["StiSplineRangeArea"]=331]="StiSplineRangeArea",t[t["StiCandlestickArea"]=332]="StiCandlestickArea",t[t["StiStockArea"]=333]="StiStockArea",t[t["StiInsideEndPieLabels"]=334]="StiInsideEndPieLabels",t[t["StiTrendLineNone"]=335]="StiTrendLineNone",t[t["StiTrendLineLinear"]=336]="StiTrendLineLinear",t[t["StiTrendLineExponential"]=337]="StiTrendLineExponential",t[t["StiTrendLineLogarithmic"]=338]="StiTrendLineLogarithmic",t[t["StiDB2Database"]=339]="StiDB2Database",t[t["StiDotConnectUniversalDatabase"]=340]="StiDotConnectUniversalDatabase",t[t["StiFirebirdDatabase"]=341]="StiFirebirdDatabase",t[t["StiInformixDatabase"]=342]="StiInformixDatabase",t[t["StiMongoDbDatabase"]=343]="StiMongoDbDatabase",t[t["StiAzureTableStorageDatabase"]=344]="StiAzureTableStorageDatabase",t[t["StiMySqlDatabase"]=345]="StiMySqlDatabase",t[t["StiMSAccessDatabase"]=346]="StiMSAccessDatabase",t[t["StiOdbcDatabase"]=347]="StiOdbcDatabase",t[t["StiOleDbDatabase"]=348]="StiOleDbDatabase",t[t["StiOracleDatabase"]=349]="StiOracleDatabase",t[t["StiPostgreSQLDatabase"]=350]="StiPostgreSQLDatabase",t[t["StiSQLiteDatabase"]=351]="StiSQLiteDatabase",t[t["StiSqlCeDatabase"]=352]="StiSqlCeDatabase",t[t["StiSybaseDatabase"]=353]="StiSybaseDatabase",t[t["StiTeradataDatabase"]=354]="StiTeradataDatabase",t[t["StiVistaDBDatabase"]=355]="StiVistaDBDatabase",t[t["StiODataDatabase"]=356]="StiODataDatabase",t[t["StiDataTableSource"]=357]="StiDataTableSource",t[t["StiDataViewSource"]=358]="StiDataViewSource",t[t["StiUndefinedDataSource"]=359]="StiUndefinedDataSource",t[t["StiCsvSource"]=360]="StiCsvSource",t[t["StiDBaseSource"]=361]="StiDBaseSource",t[t["StiBusinessObjectSource"]=362]="StiBusinessObjectSource",t[t["StiCrossTabDataSource"]=363]="StiCrossTabDataSource",t[t["StiEnumerableSource"]=364]="StiEnumerableSource",t[t["StiUserSource"]=365]="StiUserSource",t[t["StiVirtualSource"]=366]="StiVirtualSource",t[t["StiDataTransformation"]=367]="StiDataTransformation",t[t["StiOracleODPSource"]=368]="StiOracleODPSource",t[t["StiFirebirdSource"]=369]="StiFirebirdSource",t[t["StiInformixSource"]=370]="StiInformixSource",t[t["StiMongoDbSource"]=371]="StiMongoDbSource",t[t["StiAzureTableStorageSource"]=372]="StiAzureTableStorageSource",t[t["StiMSAccessSource"]=373]="StiMSAccessSource",t[t["StiMySqlSource"]=374]="StiMySqlSource",t[t["StiDataWorldSource"]=375]="StiDataWorldSource",t[t["StiQuickBooksSource"]=376]="StiQuickBooksSource",t[t["StiOdbcSource"]=377]="StiOdbcSource",t[t["StiOleDbSource"]=378]="StiOleDbSource",t[t["StiOracleSource"]=379]="StiOracleSource",t[t["StiPostgreSQLSource"]=380]="StiPostgreSQLSource",t[t["StiSqlCeSource"]=381]="StiSqlCeSource",t[t["StiSQLiteSource"]=382]="StiSQLiteSource",t[t["StiSqlSource"]=383]="StiSqlSource",t[t["StiNoSqlSource"]=384]="StiNoSqlSource",t[t["StiSybaseSource"]=385]="StiSybaseSource",t[t["StiTeradataSource"]=386]="StiTeradataSource",t[t["StiVistaDBSource"]=387]="StiVistaDBSource",t[t["StiDB2Source"]=388]="StiDB2Source",t[t["StiDiagonalUpLineShapeType"]=389]="StiDiagonalUpLineShapeType",t[t["StiHorizontalLineShapeType"]=390]="StiHorizontalLineShapeType",t[t["StiLeftAndRightLineShapeType"]=391]="StiLeftAndRightLineShapeType",t[t["StiOvalShapeType"]=392]="StiOvalShapeType",t[t["StiRectangleShapeType"]=393]="StiRectangleShapeType",t[t["StiTopAndBottomLineShapeType"]=394]="StiTopAndBottomLineShapeType",t[t["StiVerticalLineShapeType"]=395]="StiVerticalLineShapeType",t[t["StiDivisionShapeType"]=396]="StiDivisionShapeType",t[t["StiFlowchartCardShapeType"]=397]="StiFlowchartCardShapeType",t[t["StiFlowchartDecisionShapeType"]=398]="StiFlowchartDecisionShapeType",t[t["StiFlowchartManualInputShapeType"]=399]="StiFlowchartManualInputShapeType",t[t["StiFlowchartSortShapeType"]=400]="StiFlowchartSortShapeType",t[t["StiFrameShapeType"]=401]="StiFrameShapeType",t[t["StiMinusShapeType"]=402]="StiMinusShapeType",t[t["StiMultiplyShapeType"]=403]="StiMultiplyShapeType",t[t["StiParallelogramShapeType"]=404]="StiParallelogramShapeType",t[t["StiPlusShapeType"]=405]="StiPlusShapeType",t[t["StiRegularPentagonShapeType"]=406]="StiRegularPentagonShapeType",t[t["StiTrapezoidShapeType"]=407]="StiTrapezoidShapeType",t[t["StiSnipSameSideCornerRectangleShapeType"]=408]="StiSnipSameSideCornerRectangleShapeType",t[t["StiSnipDiagonalSideCornerRectangleShapeType"]=409]="StiSnipDiagonalSideCornerRectangleShapeType",t[t["StiFlowchartPreparationShapeType"]=410]="StiFlowchartPreparationShapeType",t[t["StiRadialScale"]=411]="StiRadialScale",t[t["StiLinearScale"]=412]="StiLinearScale",t[t["StiLinearBar"]=413]="StiLinearBar",t[t["StiRadialBar"]=414]="StiRadialBar",t[t["StiNeedle"]=415]="StiNeedle",t[t["StiRadialMarker"]=416]="StiRadialMarker",t[t["StiScaleRangeList"]=417]="StiScaleRangeList",t[t["StiRadialRange"]=418]="StiRadialRange",t[t["StiStateIndicator"]=419]="StiStateIndicator",t[t["StiStateIndicatorFilter"]=420]="StiStateIndicatorFilter",t[t["StiRadialRangeList"]=421]="StiRadialRangeList",t[t["StiLinearRangeList"]=422]="StiLinearRangeList",t[t["StiLinearRange"]=423]="StiLinearRange",t[t["StiLinearTickMarkMajor"]=424]="StiLinearTickMarkMajor",t[t["StiLinearTickMarkMinor"]=425]="StiLinearTickMarkMinor",t[t["StiLinearTickMarkCustomValue"]=426]="StiLinearTickMarkCustomValue",t[t["StiLinearTickLabelMajor"]=427]="StiLinearTickLabelMajor",t[t["StiLinearTickLabelMinor"]=428]="StiLinearTickLabelMinor",t[t["StiLinearTickLabelCustom"]=429]="StiLinearTickLabelCustom",t[t["StiLinearTickLabelCustomValue"]=430]="StiLinearTickLabelCustomValue",t[t["StiRadialTickMarkMajor"]=431]="StiRadialTickMarkMajor",t[t["StiRadialTickMarkMinor"]=432]="StiRadialTickMarkMinor",t[t["StiRadialTickMarkCustom"]=433]="StiRadialTickMarkCustom",t[t["StiRadialTickMarkCustomValue"]=434]="StiRadialTickMarkCustomValue",t[t["StiRadialTickLabelMajor"]=435]="StiRadialTickLabelMajor",t[t["StiRadialTickLabelMinor"]=436]="StiRadialTickLabelMinor",t[t["StiRadialTickLabelCustom"]=437]="StiRadialTickLabelCustom",t[t["StiRadialTickLabelCustomValue"]=438]="StiRadialTickLabelCustomValue",t[t["StiLinearMarker"]=439]="StiLinearMarker",t[t["StiLinearTickMarkCustom"]=440]="StiLinearTickMarkCustom",t[t["StiLinearIndicatorRangeInfo"]=441]="StiLinearIndicatorRangeInfo",t[t["StiRadialIndicatorRangeInfo"]=442]="StiRadialIndicatorRangeInfo",t[t["StiBlueDashboardControlStyle"]=443]="StiBlueDashboardControlStyle",t[t["StiBlueDashboardIndicatorStyle"]=444]="StiBlueDashboardIndicatorStyle",t[t["StiBlueDashboardPageStyle"]=445]="StiBlueDashboardPageStyle",t[t["StiBlueDashboardPivotStyle"]=446]="StiBlueDashboardPivotStyle",t[t["StiBlueDashboardProgressStyle"]=447]="StiBlueDashboardProgressStyle",t[t["StiBlueDashboardTableStyle"]=448]="StiBlueDashboardTableStyle",t[t["StiOrangeDashboardControlStyle"]=449]="StiOrangeDashboardControlStyle",t[t["StiOrangeDashboardIndicatorStyle"]=450]="StiOrangeDashboardIndicatorStyle",t[t["StiOrangeDashboardPageStyle"]=451]="StiOrangeDashboardPageStyle",t[t["StiOrangeDashboardPivotStyle"]=452]="StiOrangeDashboardPivotStyle",t[t["StiOrangeDashboardProgressStyle"]=453]="StiOrangeDashboardProgressStyle",t[t["StiOrangeDashboardTableStyle"]=454]="StiOrangeDashboardTableStyle",t[t["StiGreenDashboardControlStyle"]=455]="StiGreenDashboardControlStyle",t[t["StiGreenDashboardIndicatorStyle"]=456]="StiGreenDashboardIndicatorStyle",t[t["StiGreenDashboardPageStyle"]=457]="StiGreenDashboardPageStyle",t[t["StiGreenDashboardProgressStyle"]=458]="StiGreenDashboardProgressStyle",t[t["StiGreenDashboardPivotStyle"]=459]="StiGreenDashboardPivotStyle",t[t["StiGreenDashboardTableStyle"]=460]="StiGreenDashboardTableStyle",t[t["StiTurquoiseDashboardControlStyle"]=461]="StiTurquoiseDashboardControlStyle",t[t["StiTurquoiseDashboardIndicatorStyle"]=462]="StiTurquoiseDashboardIndicatorStyle",t[t["StiTurquoiseDashboardPageStyle"]=463]="StiTurquoiseDashboardPageStyle",t[t["StiTurquoiseDashboardProgressStyle"]=464]="StiTurquoiseDashboardProgressStyle",t[t["StiTurquoiseDashboardPivotStyle"]=465]="StiTurquoiseDashboardPivotStyle",t[t["StiTurquoiseDashboardTableStyle"]=466]="StiTurquoiseDashboardTableStyle",t[t["StiSlateGrayDashboardControlStyle"]=467]="StiSlateGrayDashboardControlStyle",t[t["StiSlateGrayDashboardIndicatorStyle"]=468]="StiSlateGrayDashboardIndicatorStyle",t[t["StiSlateGrayDashboardPageStyle"]=469]="StiSlateGrayDashboardPageStyle",t[t["StiSlateGrayDashboardProgressStyle"]=470]="StiSlateGrayDashboardProgressStyle",t[t["StiSlateGrayDashboardPivotStyle"]=471]="StiSlateGrayDashboardPivotStyle",t[t["StiSlateGrayDashboardTableStyle"]=472]="StiSlateGrayDashboardTableStyle",t[t["StiDarkBlueDashboardControlStyle"]=473]="StiDarkBlueDashboardControlStyle",t[t["StiDarkBlueDashboardIndicatorStyle"]=474]="StiDarkBlueDashboardIndicatorStyle",t[t["StiDarkBlueDashboardPageStyle"]=475]="StiDarkBlueDashboardPageStyle",t[t["StiDarkBlueDashboardProgressStyle"]=476]="StiDarkBlueDashboardProgressStyle",t[t["StiDarkBlueDashboardPivotStyle"]=477]="StiDarkBlueDashboardPivotStyle",t[t["StiDarkBlueDashboardTableStyle"]=478]="StiDarkBlueDashboardTableStyle",t[t["StiYellowDashboardPageStyle"]=479]="StiYellowDashboardPageStyle",t[t["StiDarkGrayDashboardControlStyle"]=480]="StiDarkGrayDashboardControlStyle",t[t["StiDarkGrayDashboardIndicatorStyle"]=481]="StiDarkGrayDashboardIndicatorStyle",t[t["StiDarkGrayDashboardPageStyle"]=482]="StiDarkGrayDashboardPageStyle",t[t["StiDarkGrayDashboardProgressStyle"]=483]="StiDarkGrayDashboardProgressStyle",t[t["StiDarkGrayDashboardPivotStyle"]=484]="StiDarkGrayDashboardPivotStyle",t[t["StiDarkGrayDashboardTableStyle"]=485]="StiDarkGrayDashboardTableStyle",t[t["StiDarkTurquoiseDashboardControlStyle"]=486]="StiDarkTurquoiseDashboardControlStyle",t[t["StiDarkTurquoiseDashboardIndicatorStyle"]=487]="StiDarkTurquoiseDashboardIndicatorStyle",t[t["StiDarkTurquoiseDashboardPageStyle"]=488]="StiDarkTurquoiseDashboardPageStyle",t[t["StiDarkTurquoiseDashboardProgressStyle"]=489]="StiDarkTurquoiseDashboardProgressStyle",t[t["StiDarkTurquoiseDashboardPivotStyle"]=490]="StiDarkTurquoiseDashboardPivotStyle",t[t["StiDarkTurquoiseDashboardTableStyle"]=491]="StiDarkTurquoiseDashboardTableStyle",t[t["StiSilverDashboardControlStyle"]=492]="StiSilverDashboardControlStyle",t[t["StiSilverDashboardIndicatorStyle"]=493]="StiSilverDashboardIndicatorStyle",t[t["StiSilverDashboardPageStyle"]=494]="StiSilverDashboardPageStyle",t[t["StiSilverDashboardPivotStyle"]=495]="StiSilverDashboardPivotStyle",t[t["StiSilverDashboardProgressStyle"]=496]="StiSilverDashboardProgressStyle",t[t["StiSilverDashboardTableStyle"]=497]="StiSilverDashboardTableStyle",t[t["StiAliceBlueDashboardControlStyle"]=498]="StiAliceBlueDashboardControlStyle",t[t["StiAliceBlueDashboardIndicatorStyle"]=499]="StiAliceBlueDashboardIndicatorStyle",t[t["StiAliceBlueDashboardPageStyle"]=500]="StiAliceBlueDashboardPageStyle",t[t["StiAliceBlueDashboardPivotStyle"]=501]="StiAliceBlueDashboardPivotStyle",t[t["StiAliceBlueDashboardProgressStyle"]=502]="StiAliceBlueDashboardProgressStyle",t[t["StiAliceBlueDashboardTableStyle"]=503]="StiAliceBlueDashboardTableStyle",t[t["StiDarkGreenDashboardControlStyle"]=504]="StiDarkGreenDashboardControlStyle",t[t["StiDarkGreenDashboardIndicatorStyle"]=505]="StiDarkGreenDashboardIndicatorStyle",t[t["StiDarkGreenDashboardPageStyle"]=506]="StiDarkGreenDashboardPageStyle",t[t["StiDarkGreenDashboardProgressStyle"]=507]="StiDarkGreenDashboardProgressStyle",t[t["StiDarkGreenDashboardPivotStyle"]=508]="StiDarkGreenDashboardPivotStyle",t[t["StiDarkGreenDashboardTableStyle"]=509]="StiDarkGreenDashboardTableStyle",t[t["StiCustomDashboardControlStyle"]=510]="StiCustomDashboardControlStyle",t[t["StiCustomDashboardPivotStyle"]=511]="StiCustomDashboardPivotStyle",t[t["StiCustomDashboardIndicatorStyle"]=512]="StiCustomDashboardIndicatorStyle",t[t["StiCustomDashboardProgressStyle"]=513]="StiCustomDashboardProgressStyle",t[t["StiCustomDashboardTableStyle"]=514]="StiCustomDashboardTableStyle",t[t["StiDataWorldDatabase"]=515]="StiDataWorldDatabase",t[t["StiQuickBooksDatabase"]=516]="StiQuickBooksDatabase"}(y=t.StiComponentId||(t.StiComponentId={})),function(t){t[t["Unknown"]=0]="Unknown",t[t["Net"]=1]="Net",t[t["Wpf"]=2]="Wpf",t[t["Silverlight"]=3]="Silverlight",t[t["WinRT"]=4]="WinRT",t[t["Flex"]=5]="Flex",t[t["Java"]=6]="Java",t[t["JS"]=7]="JS"}(A=t.StiRenderedWith||(t.StiRenderedWith={})),function(t){t[t["Asc"]=0]="Asc",t[t["Desc"]=1]="Desc"}(b=t.StiRankOrder||(t.StiRankOrder={})),function(t){t[t["AdoNetXml"]=0]="AdoNetXml",t[t["Xml"]=1]="Xml"}(v=t.StiXmlType||(t.StiXmlType={})),function(t){t[t["Font"]=1]="Font",t[t["Border"]=2]="Border",t[t["Brush"]=4]="Brush",t[t["TextBrush"]=8]="TextBrush",t[t["TextOptions"]=16]="TextOptions",t[t["HorAlignment"]=32]="HorAlignment",t[t["VertAlignment"]=64]="VertAlignment",t[t["All"]=127]="All"}(C=t.StiStyleElements||(t.StiStyleElements={})),function(t){t[t["CurrentMonth"]=0]="CurrentMonth",t[t["CurrentQuarter"]=1]="CurrentQuarter",t[t["CurrentWeek"]=2]="CurrentWeek",t[t["CurrentYear"]=3]="CurrentYear",t[t["NextMonth"]=4]="NextMonth",t[t["NextQuarter"]=5]="NextQuarter",t[t["NextWeek"]=6]="NextWeek",t[t["NextYear"]=7]="NextYear",t[t["PreviousMonth"]=8]="PreviousMonth",t[t["PreviousQuarter"]=9]="PreviousQuarter",t[t["PreviousWeek"]=10]="PreviousWeek",t[t["PreviousYear"]=11]="PreviousYear",t[t["FirstQuarter"]=12]="FirstQuarter",t[t["SecondQuarter"]=13]="SecondQuarter",t[t["ThirdQuarter"]=14]="ThirdQuarter",t[t["FourthQuarter"]=15]="FourthQuarter",t[t["MonthToDate"]=16]="MonthToDate",t[t["QuarterToDate"]=17]="QuarterToDate",t[t["WeekToDate"]=18]="WeekToDate",t[t["YearToDate"]=19]="YearToDate",t[t["Today"]=20]="Today",t[t["Tomorrow"]=21]="Tomorrow",t[t["Yesterday"]=22]="Yesterday",t[t["Last7Days"]=23]="Last7Days",t[t["Last14Days"]=24]="Last14Days",t[t["Last30Days"]=25]="Last30Days"}(w=t.StiDateRangeKind||(t.StiDateRangeKind={})),function(t){t[t["None"]=0]="None",t[t["ShowToolBar"]=1]="ShowToolBar",t[t["ShowRefreshButton"]=2]="ShowRefreshButton",t[t["ShowOpenButton"]=4]="ShowOpenButton",t[t["ShowFullScreenButton"]=8]="ShowFullScreenButton",t[t["ShowMenuButton"]=16]="ShowMenuButton",t[t["ShowEditButton"]=32]="ShowEditButton",t[t["ShowReportSnapshots"]=64]="ShowReportSnapshots",t[t["ShowExports"]=128]="ShowExports",t[t["All"]=255]="All"}(B=t.StiDashboardViewerSettings||(t.StiDashboardViewerSettings={})),function(t){t[t["None"]=0]="None",t[t["Rename"]=1]="Rename",t[t["Delete"]=2]="Delete",t[t["ClearAll"]=3]="ClearAll"}(I=t.StiElementMeterAction||(t.StiElementMeterAction={}))}(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.StiBorderSides,i=t.System.Drawing.Graphics,o=t.System.Char,a=function(){function a(){}return a.breakText=function(e,n,a,s,l,u,c,p){null!=p&&p.report;var h=a.ref;if(!r.isNullOrWhiteSpace(h)){c&&(h="<StiHtmlJs>"+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<g;S++){var y;if("<"==h.charAt(S)){while(S<g&&">"!=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?"<StiHtmlJs>":"")+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).top<c&&S.top+S.height>c){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.bottom<c){h?(c=r,m=!0):(c=v.bottom,h=!0),f=!0;break}continue}p=B.ref,S.height=A}if(S.stimulsoft.is(t.Report.Engine.StiNewPageContainer)){c=S.bottom,h=!0,f=!0;break}c=Math.min(c,S.top),f=!0}}}catch(t){o={error:t}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}var I=0,T=[];while(I<u.count){var S;if((S=u.getByIndex(I)).top+S.height>c){var y=S.stimulsoft.as(e.IStiBreakable);if(!(S.top<c&&null!=y&&y.canBreak)){S.top-=c,u.remove(S),I++,l.add(S);continue}var b=c-S.top,C=null;C=S.stimulsoft.is(e.StiContainer)?S.stimulsoft.as(e.StiContainer).clone(!0,!1).stimulsoft.as(e.StiComponent):S.clone();var A=S.height;C.height=S.height-b,C.top=0,C.stimulsoft.is(e.StiImage)?(C.canGrow=!1,C.canShrink=!1):(C.canGrow=!0,C.canShrink=!1),l.add(C),S.height=b;var B={ref:p};if(!y.break(C,b/A,B)){p=B.ref,u.remove(S),I++,C.canGrow=!1;continue}p=B.ref}T.push(S),I++}if(T.length!=u.count){for(var E=0;E<T.length;E++)u.setByIndex(E,T[E]);while(u.count>T.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(u<a.count){var p=a.getByIndex(u),h=Math.round(1e3*p.top),m;if(Math.round(1e3*(p.top+p.height))>l){var f=p.stimulsoft.as(e.IStiBreakable);if(!(h<l&&null!=f&&f.canBreak)){p.top-=s,u++,o.add(p);continue}var d=s-p.top,g=null;g=p.stimulsoft.is(e.StiContainer)?p.stimulsoft.as(e.StiContainer).clone(!0,!1).stimulsoft.as(e.StiComponent):p.clone();var S=p.height;g.height=p.height-d,g.top=0,g.stimulsoft.is(e.StiImage)?(g.canGrow=!1,g.canShrink=!1):(g.canGrow=!0,g.canShrink=!1),o.add(g),p.height=d;var y=s;if(!f.break(g,d/S,{ref:y})){u++,g.canGrow=!1;continue}}c.push(p),u++}if(c.length!=a.count){for(var A=0;A<c.length;A++)a.setByIndex(A,c[A]);while(a.count>c.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(f<c&&d>c){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))<y&&(l--,o.ref=l,0==l))return i;if(u!=y)return m.top+u;continue}var A=m.clone(),b=m.clone();A.height=y,b.height=y;var v=A.stimulsoft.as(e.IStiBreakable),C={ref:u};if(v.break(b,y/S,C)){if(A.bottom<n)return A.bottom;continue}u=C.ref}if(m.stimulsoft.is(t.Report.Engine.StiNewPageContainer))return m.bottom;n=m.top}}}catch(t){a={error:t}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}return n},a}();e.StiComponentDivider=a}(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.Localization.StiLocalization,i=t.Base.IStiGetFonts,o=t.System.StiArray,a=t.System.StiString,s=t.Base.Drawing.StiActionUtils,l=t.System.Collections.Hashtable,u=t.Base.Drawing.StiBorder,c=t.Base.Drawing.StiBrush,p=t.Base.Drawing.StiSolidBrush,h=t.System.Drawing.Color,m=t.Report.Components.StiComponentDivider,f=t.System.Drawing.Rectangle,d=t.System.Drawing.Size,g=t.Base.JsonReportObject.IStiJsonReportObject,S=t.Base.StiJsonReportObjectHelper,y=t.System.Drawing.Point,A=function(A){function b(t,e){void 0===t&&(t=f.empty),void 0===e&&(e=!1);var r=A.call(this,t,!0)||this;return r._border=new u,r._brush=new p(h.transparent),r._containerInfo=null,r.parentComponentIsBand=!1,r.parentComponentIsCrossBand=!1,r._collapsedValue=null,r._collapsingIndex=0,r._collapsingTreePath=null,r.defaultClientRectangle=new f(0,0,100,100),e||r.construct(t),r}return __extends(b,A),b.prototype.implements=function(){return b.ImplementsStiContainer||(b.ImplementsStiContainer=A.prototype.implements.call(this).concat([r.IStiBorder,r.IStiBrush,r.IStiBreakable,e.IStiIgnoryStyle,g,i])),b.ImplementsStiContainer},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyStringNullOrEmpty("Border",S.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",S.Serialize.jBrush(this.brush)),e.addPropertyJObject("Components",this.components.saveToJsonObject(t)),e},b.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"CanBreak":this.canBreak=o.value.stimulsoft.toBoolean();break;case"Border":this.border=S.Deserialize.border(o.value);break;case"Brush":this.brush=S.Deserialize.brush(o.value);break;case"Components":this.components.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}}},b.prototype.parseContainerFromXml=function(t){null!=t.attributes.getNamedItem("name")&&(this.name=t.attributes.getNamedItem("name").value),null!=t.attributes.getNamedItem("guid")&&(this.guid=t.attributes.getNamedItem("guid").value),null!=t.attributes.getNamedItem("pr")&&(this.printable=!1),null!=t.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=t.attributes.getNamedItem("bookmark").value),null!=t.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=t.attributes.getNamedItem("hyperlink").value),null!=t.attributes.getNamedItem("tag")&&(this.tagValue=t.attributes.getNamedItem("tag").value),null!=t.attributes.getNamedItem("toolTip")&&(this.toolTipValue=t.attributes.getNamedItem("toolTip").value),null!=t.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(t.attributes.getNamedItem("rc").value)),null!=t.attributes.getNamedItem("bh")&&(this.brush=c.loadFromXml(t.attributes.getNamedItem("bh").value)),null!=t.attributes.getNamedItem("br")&&(this.border=u.loadFromXml(t.attributes.getNamedItem("br").value))},b.prototype.loadFromXml=function(t,e){A.prototype.loadFromXml.call(this,t,e);var r=t.getAttribute("Ref");!a.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=t.nodeName),this.parseContainerFromXml(t);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"Components":e?this.components.loadDocumentFromXml(i):this.components.loadFromXml(i,e);break;case"CanBreak":this.canBreak=i.textContent.stimulsoft.toBoolean();break;case"Border":case"br":this.border=u.loadFromXml(i.textContent);break;case"Brush":case"bh":this.brush=c.loadFromXml(i.textContent);break}}},Object.defineProperty(b.prototype,"componentId",{get:function(){return e.StiComponentId.StiContainer},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"canBreak",{get:function(){return this.properties.getBool(b.propertyCanBreak,!1)},set:function(t){this.properties.setBool(b.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),b.prototype.break=function(e,n,i){var o,a,s,l,u,c,p,h,f,d,g=m.breakContainer(this.height,this);e.components.clear(),e.components.addRange(g.components);var S=this.height;if(StiOptions.Engine.usePrintOnAllPagesPropertyOfHeadersInSubreports){var y=[],A=[],v=[];try{for(var C=__values(this.components.list),w=C.next();!w.done;w=C.next()){var B,I;if((B=w.value).is(b))null!=(I=B.containerInfo.parentBand)&&I.is(t.Report.Components.StiHeaderBand)&&I.as(r.IStiPrintOnAllPages).printOnAllPages&&(y.stimulsoft.contains(I)||(y.push(I.as(t.Report.Components.StiHeaderBand)),A.push(B.clone().as(b)),null!=I.parent?v.push(t.Report.Engine.StiHeaderBandBuilder.getMaster(I.as(t.Report.Components.StiHeaderBand))):v.push(I)))}}catch(t){o={error:t}}finally{try{w&&!w.done&&(a=C.return)&&a.call(C)}finally{if(o)throw o.error}}if(y.length>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;j<y.length;j++){var G=null;j<T.count&&(G=T.getByIndex(j).as(b)),null!=G&&G.containerInfo.parentBand==y[O]&&(_=!1)}_&&E.push(A[O]),y[O]=null,R--}if(0==R)break}}}}catch(t){s={error:t}}finally{try{P&&!P.done&&(l=D.return)&&l.call(D)}finally{if(s)throw s.error}}if(E.length>0)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<t){var n=this.components.getByIndex(e).stimulsoft.as(r.StiComponent),i=n.stimulsoft.as(b);null!=i&&i.bringToFront(),n.isSelected?(this.components.remove(n),this.components.add(n),t--):e++}this.sortByPriority()},b.prototype.sendToBack=function(){var t=this.components.count,e=0;while(e<t){var n=this.components.getByIndex(e).stimulsoft.as(r.StiComponent),i=n.stimulsoft.as(b);null!=i&&i.sendToBack(),n.isSelected&&(this.components.remove(n),this.components.insert(0,n)),e++}this.sortByPriority()},b.prototype.moveForward=function(){var t=this.components.count-1;while(t>=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);i<this.components.count-1&&(this.components.remove(e),this.components.insert(i+1,e))}t--}this.sortByPriority()},b.prototype.moveBackward=function(){var t=this.components.count,e=0;while(e<t){var n=this.components.getByIndex(e).stimulsoft.as(r.StiComponent),i=n.stimulsoft.as(b);if(null!=i&&i.moveBackward(),n.isSelected){var o=this.components.indexOf(n);o>0&&(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<e.count;o++)e.getByIndex(o).left=i.left;break;case r.StiAligning.Center:for(var o=0;o<e.count;o++)e.getByIndex(o).left=i.left+(i.width-e.getByIndex(o).width)/2;break;case r.StiAligning.Right:e.sortByRightPosition();for(var o=0;o<e.count;o++)e.getByIndex(o).left=i.right-e.getByIndex(o).width;break;case r.StiAligning.Top:e.sortByTopPosition();for(var o=0;o<e.count;o++)e.getByIndex(o).top=i.top;break;case r.StiAligning.Middle:for(var o=0;o<e.count;o++)e.getByIndex(o).top=i.top+(i.height-e.getByIndex(o).height)/2;break;case r.StiAligning.Bottom:e.sortByBottomPosition();for(var o=0;o<e.count;o++)e.getByIndex(o).top=i.bottom-e.getByIndex(o).height;break}},b.prototype.getContainerInRectPrivate=function(n,i){for(var o=null,a=this.pageToContainer(n),l=this.getComponents(),u=l.count-1;u>=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.x<a.x&&(a.width+=a.x-s.x,a.x=s.x),s.y<a.y&&(a.height+=a.y-s.y,a.y=s.y),s.x+s.width>a.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)&&u<l.count-1&&l.getByIndex(u+1).left==c.left&&l.getByIndex(u+1).top==c.top)continue;var p=c.stimulsoft.as(b);if(null!=p){var h=i.get(c);if(!s.pointInRect(r.x,r.y,h))continue;var m=p.getContainerInRect2Private(r,n,i);if(null!=m){o=m;break}}}if(null==o&&null!=this.parent&&n.canContainIn(this)){if(a=this.parent.containerToPage(this.clientRectangle),null!=this.page&&this.stimulsoft.is(t.Report.Components.StiBand)&&!this.isCross){var d=this.page.unit.convertFromHInches(this.stimulsoft.as(t.Report.Components.StiBand).headerSize);a=a.offsetRect(new f(0,d,0,d));var g=this.page.unit.convertFromHInches(1);n.stimulsoft.is(t.Report.Components.StiPrimitive)&&(a.width+=g),null!=e&&this.report.info.showHeaders&&(a.height+=g)}s.pointInRect(r.x,r.y,a)&&(o=this)}if(n.isCross)return o;if(n.stimulsoft.is(t.Report.Components.Table.StiTable)&&null!=o&&o.stimulsoft.is(t.Report.Components.Table.StiTable))return null;if(n.stimulsoft.is(t.Report.Components.Table.StiTable)&&null!=o&&o.stimulsoft.is(t.Report.Components.StiDataBand))return o;if(!n.stimulsoft.is(t.Report.Components.Table.IStiTableCell)&&null!=o&&o.stimulsoft.is(t.Report.Components.Table.StiTable))return null;if(n.stimulsoft.is(t.Report.Components.Table.IStiTableCell)&&(null==o||!o.stimulsoft.is(t.Report.Components.Table.StiTable)))return null;if(n.stimulsoft.is(t.Report.Components.StiBand)&&null!=o&&null!=o&&o.stimulsoft.is(t.Report.Components.StiBand))return null;return o},b.prototype.getContainerInRect2=function(e,n,i){var o=n.stimulsoft.is(r.StiCrossDataBand)||n.stimulsoft.is(r.StiCrossHeaderBand)||n.stimulsoft.is(r.StiCrossFooterBand)||n.stimulsoft.is(r.StiCrossGroupHeaderBand)||n.stimulsoft.is(r.StiCrossGroupFooterBand);if(null!=n.page&&n.stimulsoft.is(t.Report.Components.StiBand)&&!o){var a=n.page.unit.convertFromHInches(n.headerSize);e=e.offsetRect(new f(0,a,0,a))}var s=this.getContainerInRect2Private(e,n,i);if(null==s)return this.page;if(s.checkForParentComponent(n))return this.page;return s},b.prototype.getIncorrect2=function(e,n){var i,o;void 0===n&&(n=null);var a=new r.StiComponentsCollection;null==n&&(n=this.getSizesTable(this));try{for(var s=__values(this.components.list),l=s.next();!l.done;l=s.next()){var u=l.value,c;if(!(u.linked||u.inherited)&&(!e||e&&u.isSelected)){var p=this.containerToPage(u.clientRectangle),h=this.page.getContainerInRect2(p,u,n);if(h==u.parent||h.checkForParentComponent(u))u.isCross&&!u.canContainIn(u.parent)&&a.add(u);else{var m=this.containerToPage(h.clientRectangle),f=this.containerToPage(u.clientRectangle);0==u.left&&m.left==f.left&&u.dockStyle!=t.Report.Components.StiDockStyle.None||a.add(u)}}var d=u.stimulsoft.as(b);null!=d&&a.addRange(d.getIncorrect2(e,n))}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a},b.prototype.correct2=function(t){var e,n,i=this.getSizesTable(this),o=this.getIncorrect2(t,i);try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(null==l.parent)continue;l.clientRectangle=l.componentToPage(l.clientRectangle);var u=l.parent;l.parent.components.remove(l);var c=void 0;null==(c=this.getContainerInRect2(l.clientRectangle,l,i))&&(c=this.page),l.canContainIn(c)?(l.clientRectangle=c.pageToContainer(l.clientRectangle),c.components.add(l)):u.stimulsoft.is(r.StiPage)||(l.clientRectangle=l.pageToComponent(l.clientRectangle),u.components.add(l))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}this.dockToContainer(),this.sortByPriority()},b.prototype.getIncorrect=function(e){var n,i;void 0===e&&(e=!1);var o=new r.StiComponentsCollection;try{for(var a=__values(this.components.list),s=a.next();!s.done;s=a.next()){var l=s.value,u;if(!(l.linked||l.inherited)){var c=this.containerToPage(new y(l.left,l.top)),p=this.containerToPage(l.clientRectangle),h=this.page.getContainerInRect(p,l);if(h==l.parent||h.checkForParentComponent(l))l.isCross&&!l.canContainIn(l.parent)&&o.add(l);else{var m=this.containerToPage(h.clientRectangle),f=this.containerToPage(l.clientRectangle);0==l.left&&m.left==f.left&&l.dockStyle!=t.Report.Components.StiDockStyle.None||o.add(l)}}var d=l.stimulsoft.as(b);null!=d&&o.addRange(d.getIncorrect(e))}}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.correct=function(t){var i,o;if(void 0===t&&(t=!1),StiOptions.Designer.useComponentPlacementOptimization)return this.correct2(t),void this.checkLargeHeight();var s=this.getIncorrect(t);try{for(var l=__values(s.list),u=l.next();!u.done;u=l.next()){var c=u.value;if(null==c.parent)continue;c.clientRectangle=c.componentToPage(c.clientRectangle);var p=c.parent;c.parent.components.remove(c);var h=void 0;null==(h=this.getContainerInRect(c.clientRectangle,c))&&(h=this.page),c.canContainIn(h)?(c.clientRectangle=h.pageToContainer(c.clientRectangle),h.components.add(c)):p.stimulsoft.is(r.StiPage)?e.StiLogService.write(this.stimulsoft.getType(),a.format(n.get("Errors","ContainerIsNotValidForComponent"),h.name,c.name)):(c.clientRectangle=c.pageToComponent(c.clientRectangle),p.components.add(c))}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}this.dockToContainer(),this.sortByPriority(),this.checkLargeHeight()},b.prototype.checkLargeHeight=function(e){var n,i,o,a;void 0===e&&(e=!1);var s=this.stimulsoft.as(r.StiPage);if(null==s)return;if(s.largeHeight||!StiOptions.Designer.autoLargeHeight||!this.isDesigning)return;var l=0,u=s.height;if(e)try{for(var c=__values(s.components.list),p=c.next();!p.done;p=c.next()){var h;(h=p.value).stimulsoft.is(t.Report.Components.StiBand)&&!h.isCross&&(h.stimulsoft.is(r.StiPageFooterBand)?u-=h.displayRectangle.height:l+=h.displayRectangle.height)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}else try{for(var m=__values(s.components.list),f=m.next();!f.done;f=m.next()){var h;(h=f.value).stimulsoft.is(t.Report.Components.StiBand)&&!h.isCross&&(h.stimulsoft.is(r.StiPageFooterBand)?u=Math.min(u,h.top):l=Math.max(l,h.bottom))}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}var d=.2,g=s.unit.convertFromHInches(30*3);while(s.pageHeight*d<g)d+=.2;var S=s.largeHeightAutoFactor;while(s.largeHeightAutoFactor<49&&u-l<s.pageHeight*d){var y=s.height;s.largeHeightAutoFactor+=d,u+=s.height-y}while(u-l>s.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;c<r.count-1;c++)r.getByIndex(c).left=u,u=r.getByIndex(c).right+l},b.prototype.makeVerticalSpacingEqual=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.height}}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.height-i)/Math.max(r.count-1,1);r.sortByTopPosition();for(var u=r.getByIndex(0).bottom+l,c=1;c<r.count-1;c++)r.getByIndex(c).top=u,u=r.getByIndex(c).bottom+l},b.prototype.makeSameSize=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.width=t.width,a.height=t.height}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},b.prototype.makeSameWidth=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a;o.value.width=t}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},b.prototype.makeSameHeight=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a;o.value.height=t}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},b.prototype.setCenterHorizontally=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.left=(i.parent.width-i.width)/2);var o=i.stimulsoft.as(b);null!=o&&o.setCenterHorizontally()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.setCenterVertically=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.top=(i.parent.height-i.height)/2);var o=i.stimulsoft.as(b);null!=o&&o.setCenterVertically()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.selectAll=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.select();var o=i.stimulsoft.as(b);null!=o&&o.selectAll()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},b.prototype.containerToPage=function(t){if(t.stimulsoft.is(y))return this.containerToPagePoint(t);return this.containerToPageRectangle(t)},b.prototype.containerToPageRectangle=function(t){var e=this;while(null!=e&&!e.stimulsoft.is(r.StiPage)){var n=e.clientRectangle;e.isSelected&&(n=r.StiComponent.doOffsetRect(e,n,this.page.offsetRectangle)),t.x+=n.left,t.y+=n.top,e=e.parent}return t},b.prototype.containerToPagePoint=function(t){var e=this;while(null!=e){var n=e.clientRectangle;e.isSelected&&(n=r.StiComponent.doOffsetRect(e,n,this.page.offsetRectangle)),t.x=t.x+n.left,t.y=t.y+n.top,e=e.parent}return t},b.prototype.pageToContainer=function(t){var e=this;if(t.stimulsoft.is(y)){var n=t.stimulsoft.as(y);while(null!=e){var i=e.clientRectangle;e.isSelected&&(i=r.StiComponent.doOffsetRect(e,i,this.page.offsetRectangle)),n.x-=i.left,n.y-=i.top,e=e.parent}return n}if(t.stimulsoft.is(f)){var o=t.stimulsoft.as(f);while(null!=e){var i=e.clientRectangle;e.isSelected&&(i=r.StiComponent.doOffsetRect(e,i,this.page.offsetRectangle)),o.x-=i.left,o.y-=i.top,e=e.parent}return o}return null},b.prototype.getComponents=function(){var t,e,n=new r.StiComponentsCollection;if(this.stimulsoft.is(r.StiClone))return n;n.addRange(this.components);try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.stimulsoft.as(b);if(null!=s){var l={ref:n};s.getComponents2(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.getComponents2=function(t){var e,n;if(this.stimulsoft.is(r.StiClone))return;var i=t.ref;i.addRange(this.components);try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.stimulsoft.as(b);if(null!=l){var u={ref:i};l.getComponents2(u),i=u.ref}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}t.ref=i},b.prototype.getComponentsList=function(){var t,e,n=new Array;if(this.stimulsoft.is(r.StiClone))return n;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;n.push(a);var s=a.stimulsoft.as(b);null!=s&&n.stimulsoft.addRange(s.getComponentsList())}}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.moveComponentsToPage=function(){var t,e,r,n,i=this.getComponentsList();try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s;(s=a.value).parent!=s.page&&(s.setDirectDisplayRectangle(s.componentToPage(s.displayRectangle)),s.page.components.add(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 l=__values(i),u=l.next();!u.done;u=l.next()){var s,c=(s=u.value).stimulsoft.as(b);null!=c&&c.components.count>0&&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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ResetPageNumber":this._resetPageNumber=n.textContent.stimulsoft.toBoolean();break;case"MinHeight":this.minHeight=n.textContent.stimulsoft.toNumber();break;case"MaxHeight":this.maxHeight=n.textContent.stimulsoft.toNumber();break}}},s.prototype.canContainIn=function(e){if(this.isCross&&e.stimulsoft.is(s))return!0;if(this.stimulsoft.is(t.Report.Components.Table.StiTable)&&e.stimulsoft.is(s))return!0;if(e.stimulsoft.is(s))return!1;var r;return a.prototype.canContainIn.call(this,e)},Object.defineProperty(s.prototype,"componentType",{get:function(){return this.getComponentType()},enumerable:!1,configurable:!0}),s.prototype.getComponentType=function(){return e.StiComponentType.Master},s.prototype.clone=function(t,e){var r=a.prototype.clone.call(this,t,e);return r._bandInfo=this.bandInfo.clone(),r},Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return this._resetPageNumber},set:function(t){this._resetPageNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"bandInfo",{get:function(){return null==this._bandInfo&&(this._bandInfo=new e.StiBandInfo),this._bandInfo},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return StiOptions.Engine.dockPageFooterToBottom&&this.stimulsoft.is(e.StiPageFooterBand)?e.StiDockStyle.Bottom:e.StiDockStyle.Top},s.prototype.setDockStyle=function(t){},Object.defineProperty(s.prototype,"isAutomaticDock",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printable",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"minHeight",{get:function(){return this.getMinHeight()},set:function(t){this.setMinHeight(t)},enumerable:!1,configurable:!0}),s.prototype.getMinHeight=function(){return a.prototype.getMinSize.call(this).height},s.prototype.setMinHeight=function(t){a.prototype.getMinSize.call(this).height!=t&&a.prototype.setMinSize.call(this,new n(0,t))},Object.defineProperty(s.prototype,"maxHeight",{get:function(){return this.getMaxHeight()},set:function(t){this.setMaxHeight(t)},enumerable:!1,configurable:!0}),s.prototype.getMaxHeight=function(){return a.prototype.getMaxSize.call(this).height},s.prototype.setMaxHeight=function(t){a.prototype.getMaxSize.call(this).height!=t&&a.prototype.setMaxSize.call(this,new n(0,t))},s.prototype.getDisplayRectangle=function(){if(null!=this.report&&this.report.isRendering)return new r(this.left,this.top,this.width,this.height);var t=0,e=0;return null!=this.page&&null!=this.report&&this.report.info.showHeaders&&(t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize)),new r(this.left,this.top-t,this.width,this.height+t+e)},s.prototype.setDisplayRectangle=function(t){if(null!=this.report&&this.report.isRendering)this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height;else{var e=this.page.unit.convertFromHInches(this.headerSize),r=this.page.unit.convertFromHInches(this.footerSize);null==this.report||this.report.info.showHeaders||(e=0,r=0),this.left=t.left,this.top=t.top+e,this.width=t.width,this.height=t.height-e-r}},s.prototype.setDirectDisplayRectangle=function(t){this.displayRectangle=t},Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return this.dockStyle==e.StiDockStyle.Left||this.dockStyle==e.StiDockStyle.Right?new r(this.left-t,this.top,this.width+t,this.height):new r(this.left,this.top-t,this.width,this.height+t)},set:function(t){var r=this.page.unit.convertFromHInches(this.headerSize);this.dockStyle==e.StiDockStyle.Left||this.dockStyle==e.StiDockStyle.Right?(this.left=t.left+r,this.top=t.top,this.width=t.width-r,this.height=t.height):(this.left=t.left,this.top=t.top+r,this.width=t.width,this.height=t.height-r)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"nestedLevel",{get:function(){var r,n,i,o,a,s,l,u,c,p,h=this.stimulsoft.as(e.StiPageHeaderBand);if(null!=h){var m=1;try{for(var f=__values(this.page.components.list),d=f.next();!d.done;d=f.next()){var g;if((g=d.value)==h)return m;g.stimulsoft.is(e.StiPageHeaderBand)&&m++}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}return m}var S=this.stimulsoft.as(e.StiPageFooterBand);if(null!=S){var m=1;try{for(var y=__values(this.page.components.list),A=y.next();!A.done;A=y.next()){var g;if((g=A.value)==S)return m;g.stimulsoft.is(e.StiPageFooterBand)&&m++}}catch(t){i={error:t}}finally{try{A&&!A.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}return m}var b=this.stimulsoft.as(e.StiReportTitleBand);if(null!=b){var m=1;try{for(var v=__values(this.page.components.list),C=v.next();!C.done;C=v.next()){var g;if((g=C.value)==b)return m;g.stimulsoft.is(e.StiReportTitleBand)&&m++}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}return m}var w=this.stimulsoft.as(e.StiReportSummaryBand);if(null!=w){for(var m=1,B=this.page.components.count-1;B>=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<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"PrintAtBottom":this._printAtBottom=i.textContent.stimulsoft.toBoolean();break;case"NewPageBefore":this._newPageBefore=i.textContent.stimulsoft.toBoolean();break;case"NewPageAfter":this._newPageAfter=i.textContent.stimulsoft.toBoolean();break;case"NewColumnBefore":this._newColumnBefore=i.textContent.stimulsoft.toBoolean();break;case"NewColumnAfter":this._newColumnAfter=i.textContent.stimulsoft.toBoolean();break;case"SkipFirst":this._skipFirst=i.textContent.stimulsoft.toBoolean();break;case"BreakIfLessThan":this._breakIfLessThan=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"printAtBottom",{get:function(){return this._printAtBottom},set:function(t){this._printAtBottom!=t&&(this._printAtBottom=t)},enumerable:!1,configurable:!0}),i.prototype.break=function(t,e,r){return!1},Object.defineProperty(i.prototype,"newPageBefore",{get:function(){return this._newPageBefore},set:function(t){this._newPageBefore=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"newPageAfter",{get:function(){return this._newPageAfter},set:function(t){this._newPageAfter=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"newColumnBefore",{get:function(){return this._newColumnBefore},set:function(t){this._newColumnBefore=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"newColumnAfter",{get:function(){return this._newColumnAfter},set:function(t){this._newColumnAfter=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"skipFirst",{get:function(){return this._skipFirst},set:function(t){this._skipFirst!=t&&(this._skipFirst=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"breakIfLessThan",{get:function(){return this._breakIfLessThan},set:function(t){this._breakIfLessThan!=t&&t>=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<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"KeepChildTogether":this._keepChildTogether=i.textContent.stimulsoft.toBoolean();break;case"PrintIfParentDisabled":this._printIfParentDisabled=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(a.prototype,"keepChildTogether",{get:function(){return this._keepChildTogether},set:function(t){this._keepChildTogether!=t&&(this._keepChildTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerStartColor",{get:function(){var t=this.getMaster();return null!=t?i.light(t.headerStartColor,50):n.white},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerEndColor",{get:function(){var t=this.getMaster();return null!=t?i.light(t.headerEndColor,50):n.white},enumerable:!1,configurable:!0}),a.prototype.getComponentType=function(){return e.StiComponentType.Detail},Object.defineProperty(a.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.ChildBand},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"priority",{get:function(){return e.StiComponentPriority.ChildBand},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"printIfParentDisabled",{get:function(){return this._printIfParentDisabled},set:function(t){this._printIfParentDisabled!=t&&(this._printIfParentDisabled=t)},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},a.prototype.getMaster=function(){var t=this.parent.components.indexOf(this)-1;while(t>=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;o<r.childNodes.length;o++){var a=r.childNodes[o];switch(a.nodeName){case"KeepFooterTogether":this._keepFooterTogether=a.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=a.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=a.textContent.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=a.textContent.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=n.parse(e.StiPrintOnEvenOddPagesType,a.textContent);break;case"PrintOnAllPages":this._printOnAllPages=a.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(s.prototype,"keepFooterTogether",{get:function(){return this._keepFooterTogether},set:function(t){this._keepFooterTogether!=t&&(this._keepFooterTogether=t)},enumerable:!1,configurable:!0}),s.prototype.clone=function(e,r){var n=t.prototype.clone.call(this,e,r);return n._footerBandInfo=this.footerBandInfo.clone(),n},Object.defineProperty(s.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPageIfLessThan",{get:function(){return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty!=t&&(this._printIfEmpty=t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerBandInfo",{get:function(){return null==this._footerBandInfo&&(this._footerBandInfo=new e.StiFooterBandInfo),this._footerBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerStartColor",{get:function(){return o.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerEndColor",{get:function(){return o.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.FooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"priority",{get:function(){return e.StiComponentPriority.ColumnFooterBand},enumerable:!1,configurable:!0}),s.prototype.getComponentType=function(){return e.StiComponentType.Detail},s.prototype.onMoveFooterToBottom=function(t){},s.prototype.invokeMoveFooterToBottom=function(){this.onMoveFooterToBottom(r.empty)},s.prototype.createNew=function(){return new s},s.eventMoveFooterToBottom={},s}(e.StiDynamicBand);e.StiFooterBand=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.Base.JsonReportObject.IStiJsonReportObject,n=t.System.Drawing.Color,i=t.System.Drawing.Rectangle,o=function(t){function o(e){return void 0===e&&(e=i.empty),t.call(this,e)||this}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([r])},o.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return 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},o.prototype.loadFromJsonObject=function(e){t.prototype.loadFromJsonObject.call(this,e)},Object.defineProperty(o.prototype,"headerStartColor",{get:function(){return n.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerEndColor",{get:function(){return n.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.ColumnFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"priority",{get:function(){return e.StiComponentPriority.ColumnFooterBand},enumerable:!1,configurable:!0}),o}(e.StiFooterBand);e.StiColumnFooterBand=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.System.Enum,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.System.Drawing.Color,o=t.System.Drawing.Rectangle,a=function(t){function a(r){void 0===r&&(r=o.empty);var n=t.call(this,r)||this;return n._keepHeaderTogether=!0,n._startNewPage=!1,n._printIfEmpty=!1,n._printOnAllPages=!0,n._printOnEvenOddPages=e.StiPrintOnEvenOddPagesType.Ignore,n}return __extends(a,t),a.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiPrintIfEmpty,e.IStiPrintOnAllPages,e.IStiPrintOnEvenOddPages,e.IStiKeepHeaderTogether,n])},a.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.addPropertyBool("CanBreak",this.canBreak),n.addPropertyBool("KeepHeaderTogether",this.keepHeaderTogether,!0),n.addPropertyBool("StartNewPage",this.startNewPage),n.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),n.addPropertyBool("PrintIfEmpty",this.printIfEmpty),n.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),n.addPropertyEnum("PrintOnEvenOddPages",e.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,e.StiPrintOnEvenOddPagesType.Ignore),n},a.prototype.loadFromJsonObject=function(n){var i,o;t.prototype.loadFromJsonObject.call(this,n);try{for(var a=__values(n.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"KeepHeaderTogether":this._keepHeaderTogether=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"PrintOnAllPages":this._printOnAllPages=l.value.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=r.parse(e.StiPrintOnEvenOddPagesType,l.value);break}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},a.prototype.loadFromXml=function(n,i){t.prototype.loadFromXml.call(this,n,i);for(var o=0;o<n.childNodes.length;o++){var a=n.childNodes[o];switch(a.nodeName){case"KeepHeaderTogether":this._keepHeaderTogether=a.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=a.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=a.textContent.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=a.textContent.stimulsoft.toBoolean();break;case"PrintOnAllPages":this._printOnAllPages=a.textContent.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=r.parse(e.StiPrintOnEvenOddPagesType,a.textContent);break}}},a.prototype.clone=function(e,r){var n=t.prototype.clone.call(this,e,r);return n._headerBandInfo=this.headerBandInfo.clone(),n},Object.defineProperty(a.prototype,"keepHeaderTogether",{get:function(){return this._keepHeaderTogether},set:function(t){this._keepHeaderTogether!=t&&(this._keepHeaderTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"startNewPageIfLessThan",{get:function(){return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerBandInfo",{get:function(){return null==this._headerBandInfo&&(this._headerBandInfo=new e.StiHeaderBandInfo),this._headerBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerStartColor",{get:function(){return i.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerEndColor",{get:function(){return i.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.HeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"priority",{get:function(){return e.StiComponentPriority.HeaderBand},enumerable:!1,configurable:!0}),a.prototype.getComponentType=function(){return e.StiComponentType.Detail},a.prototype.createNew=function(){return new a},a}(e.StiDynamicBand);e.StiHeaderBand=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.Color,n=t.System.Drawing.Rectangle,i=function(t){function i(e){return void 0===e&&(e=n.empty),t.call(this,e)||this}return __extends(i,t),Object.defineProperty(i.prototype,"headerStartColor",{get:function(){return r.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"headerEndColor",{get:function(){return r.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.ColumnHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(e.StiHeaderBand);e.StiColumnHeaderBand=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.Collections.CollectionBase,i=t.System.ICloneable,o=t.System.Collections.IComparer,a=t.System.Collections.Hashtable,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,u=function(t){function n(e,r){var n=t.call(this)||this;return n.directionFactor=1,n.dictionary=e,n.parentBusinessObject=r,n}return __extends(n,t),n.prototype.implements=function(){return[i,s,o]},n.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,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},n.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new r.StiBusinessObject;s.dictionary=this.dictionary,s.loadFromJsonObject(a.value),this.list.push(s)}}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){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type")){var o=new r.StiBusinessObject;o.dictionary=this.dictionary,o.loadFromXml(n),this.list.push(o)}}},n.prototype.compare=function(t,e){var r,n=e;return t.name.stimulsoft.compareTo(n.name)*this.directionFactor},n.prototype.onSet=function(t,e,r){var n=r;null!=this.dictionary&&(n.dictionary=this.dictionary),null!=this.parentBusinessObject&&(n.parentBusinessObject=this.parentBusinessObject)},n.prototype.onInsert=function(t,e){var r=e;null!=this.dictionary&&(r.dictionary=this.dictionary),null!=this.parentBusinessObject&&(r.parentBusinessObject=this.parentBusinessObject)},n.prototype.remove=function(t){this.list.stimulsoft.remove(t);var e=t.name.toLowerCase();null!=this.cachedBusinessObjects.get(e)&&this.cachedBusinessObjects.remove(e)},Object.defineProperty(n.prototype,"cachedBusinessObjects",{get:function(){return null==this._cachedBusinessObjects&&(this._cachedBusinessObjects=new a),this._cachedBusinessObjects},enumerable:!1,configurable:!0}),n.prototype.getByName=function(t){var r,n;t=t.toLowerCase();var i=this.cachedBusinessObjects.get(t);if(null!=i)return i;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.name.toLowerCase()==t)return this.cachedBusinessObjects.set(t,s),s;if(e.StiNameValidator.correctName(s.name.toLowerCase())==e.StiNameValidator.correctName(t))return this.cachedBusinessObjects.set(t,s),s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},n.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},n.prototype.clone=function(){var t,e,r=new n(this.dictionary,this.parentBusinessObject);try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;r.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},n.prototype.sort=function(t,e){var n,i;if(void 0===t&&(t=r.StiSortOrder.Asc),void 0===e&&(e=!0),t==r.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),e)try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.columns.sort(t);var l=s.businessObjects;null!=l&&l.length>0&&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<t.childNodes.length;o++){var a=t.childNodes[o];switch(a.nodeName){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.textContent);break;case"Sort":this._sort=b.loadXmlSort(a);break;case"PrintOnAllPages":this._printOnAllPages=a.textContent.stimulsoft.toBoolean();break;case"PrintIfDetailEmpty":this._printIfDetailEmpty=a.textContent.stimulsoft.toBoolean();break;case"DataSourceName":this._dataSourceName=a.textContent;break;case"BusinessObjectGuid":this._businessObjectGuid=a.textContent;break;case"DataRelationName":this._dataRelationName=a.textContent;break;case"FilterMode":this._filterMode=f.parse(r.StiFilterMode,a.textContent);break;case"FilterEngine":this._filterEngine=f.parse(r.StiFilterEngine,a.textContent);break;case"Filters":null==this._filters&&(this._filters=new r.StiFiltersCollection),this._filters.loadFromXml(a);break;case"FilterOn":this._filterOn=a.textContent.stimulsoft.toBoolean();break;case"EvenStyle":this.evenStyle=a.textContent;break;case"OddStyle":this.oddStyle=a.textContent;break;case"BeginRenderEvent":var p;(p=new c).script=a.textContent,this.beginRenderEvent=p;break;case"RenderingEvent":var p;(p=new u).script=a.textContent,this.renderingEvent=p;break;case"EndRenderEvent":var p;(p=new l).script=a.textContent,this.endRenderEvent=p;break;case"GetCollapsedEvent":var p;(p=new s).script=a.textContent,this.getCollapsedEvent=p;break;case"Collapsed":var h=new y;h.loadFromXml(a),this.collapsed=h.value;break;case"RightToLeft":this._rightToLeft=a.textContent.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=a.textContent.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=a.textContent.stimulsoft.toNumber();break;case"Columns":this._columns=a.textContent.stimulsoft.toNumber();break;case"MinRowsInColumn":this._minRowsInColumn=a.textContent.stimulsoft.toNumber();break;case"ColumnDirection":this._columnDirection=f.parse(r.StiColumnDirection,a.textContent);break;case"ResetDataSource":this._resetDataSource=a.textContent.stimulsoft.toBoolean();break;case"CalcInvisible":this._calcInvisible=a.textContent.stimulsoft.toBoolean();break;case"CountData":this._countData=a.textContent.stimulsoft.toNumber();break;case"LimitRows":this._limitRows=a.textContent;break;case"MasterComponent":this.jsonMasterComponentTemp=a.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break}}},b.loadXmlSort=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent,r++)}return e},b.prototype.saveState=function(t){null!=this.report&&(this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),null!=this.dataSource&&this.dataSource.saveState(t),n.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.saveState(t))},b.prototype.restoreState=function(e){null!=this.report&&(this.isBofValue=this.states.popBool(e,this,"isBofValue"),this.isEofValue=this.states.popBool(e,this,"isEofValue"),this.positionValue=this.states.popInt(e,this,"positionValue"),null!=this.dataSource&&this.dataSource.restoreState(e),n.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.restoreState(e),t.Report.Engine.StiDataBandBuilder.prepareGroupResults(this))},Object.defineProperty(b.prototype,"masterComponent",{get:function(){return this._masterComponent},set:function(t){this._masterComponent=t},enumerable:!1,configurable:!0}),b.prototype.convert=function(t,e,r){void 0===r&&(r=!1),A.prototype.convert.call(this,t,e,r),this._columnGaps=e.convertFromHInches(t.convertToHInches(this.columnGaps)),this._columnWidth=e.convertFromHInches(t.convertToHInches(this.columnWidth))},Object.defineProperty(b.prototype,"keepDetailsTogether",{get:function(){return this._keepDetails==r.StiKeepDetails.KeepDetailsTogether},set:function(t){var e=t?r.StiKeepDetails.KeepDetailsTogether:r.StiKeepDetails.None;this._keepDetails!=e&&(this._keepDetails=e)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"keepDetails",{get:function(){return this._keepDetails},set:function(t){this._keepDetails!=t&&(this._keepDetails=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),b.prototype.clone=function(t,e){var r=A.prototype.clone.call(this,t,e);return r._dataBandInfo=this.dataBandInfo.clone(),r._masterComponent=null,null!=this._sort?r._sort=this._sort.stimulsoft.clone():r._sort=null,null!=this._filters?r._filters=this._filters.clone():r._filters=null,r},Object.defineProperty(b.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"printIfDetailEmpty",{get:function(){return this._printIfDetailEmpty},set:function(t){this._printIfDetailEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"isDataSourceEmpty",{get:function(){return n.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t,n.isNullOrEmpty(t)||(this._businessObjectGuid=null),n.isNullOrEmpty(t)||(this._countData=0))},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"isBusinessObjectEmpty",{get:function(){return n.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return null},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,n.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),b.prototype.first=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first(),t.Report.Engine.StiDataBandBuilder.setDetails(this)},b.prototype.prior=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior(),t.Report.Engine.StiDataBandBuilder.setDetails(this)},b.prototype.next=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next(),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;i<r.childNodes.length;i++){var o=r.childNodes[i];switch(o.nodeName){case"EvenStyle":this.evenStyle=o.textContent;break;case"OddStyle":this.oddStyle=o.textContent;break;case"BeginRenderEvent":break;case"RenderingEvent":break;case"EndRenderEvent":break;case"SizeMode":this._sizeMode=s.parse(e.StiEmptySizeMode,o.textContent);break}}},p.prototype.getHeaderText=function(){return this.toString()},Object.defineProperty(p.prototype,"headerStartColor",{get:function(){return u.fromArgb(186,235,137)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerEndColor",{get:function(){return u.fromArgb(186,235,137)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.EmptyBand},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"priority",{get:function(){return e.StiComponentPriority.EmptyBand},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"evenStyle",{get:function(){return this.properties.get(e.StiDataBand.propertyEvenStyle,"")},set:function(t){this.properties.set(e.StiDataBand.propertyEvenStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"oddStyle",{get:function(){return this.properties.get(e.StiDataBand.propertyOddStyle,"")},set:function(t){this.properties.set(e.StiDataBand.propertyOddStyle,t,"")},enumerable:!1,configurable:!0}),p.prototype.onBeginRender=function(t){},p.prototype.invokeBeginRender=function(){this.onBeginRender(n.empty);var t=this.events.get(p.eventBeginRender);null!=t&&t(this,n.empty)},Object.defineProperty(p.prototype,"beginRenderEvent",{get:function(){return new a(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(p.eventBeginRender,r.create(t.script,this.report))},enumerable:!1,configurable:!0}),p.prototype.onRendering=function(t){},p.prototype.invokeRendering=function(){this.onRendering(n.empty);var t=this.events.get(p.eventRendering);null!=t&&t(this,n.empty)},Object.defineProperty(p.prototype,"renderingEvent",{get:function(){return new o(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(p.eventRendering,r.create(t.script,this.report))},enumerable:!1,configurable:!0}),p.prototype.onEndRender=function(t){},p.prototype.invokeEndRender=function(){this.onEndRender(n.empty);var t=this.events.get(p.eventEndRender);null!=t&&t(this,n.empty)},Object.defineProperty(p.prototype,"endRenderEvent",{get:function(){return new i(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(p.eventEndRender,r.create(t.script,this.report))},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},Object.defineProperty(p.prototype,"sizeMode",{get:function(){return this._sizeMode},set:function(t){this._sizeMode=t},enumerable:!1,configurable:!0}),p.eventBeginRender={},p.eventRendering={},p.eventEndRender={},p}(e.StiBand);e.StiEmptyBand=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.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._keepGroupFooterTogether=!0,r}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiKeepGroupFooterTogether,r])},o.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("KeepGroupFooterTogether",this.keepGroupFooterTogether,!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"KeepGroupFooterTogether":this._keepGroupFooterTogether=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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"KeepGroupFooterTogether":this._keepGroupFooterTogether=i.textContent.stimulsoft.toBoolean();break}}},o.prototype.clone=function(e,r){var n=t.prototype.clone.call(this,e,r);return n._groupFooterBandInfo=this.groupFooterBandInfo.clone(),n},Object.defineProperty(o.prototype,"keepGroupFooterTogether",{get:function(){return this._keepGroupFooterTogether},set:function(t){this._keepGroupFooterTogether!=t&&(this._keepGroupFooterTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"groupFooterBandInfo",{get:function(){return null==this._groupFooterBandInfo&&(this._groupFooterBandInfo=new e.StiGroupFooterBandInfo),this._groupFooterBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"line",{get:function(){if(null!=this.groupFooterBandInfo.groupHeader)return this.groupFooterBandInfo.groupHeader.line;return 1},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerStartColor",{get:function(){return n.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerEndColor",{get:function(){return n.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.GroupFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),o.prototype.getComponentType=function(){return e.StiComponentType.Detail},Object.defineProperty(o.prototype,"priority",{get:function(){return e.StiComponentPriority.GroupFooterBand},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(e.StiDynamicBand);e.StiGroupFooterBand=o}(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(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetSummaryExpression"},e}(t.StiEvent);t.StiGetSummaryExpressionEvent=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"GetValue"},e}(t.StiEvent);t.StiGetGroupConditionEvent=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.EventHandler,o=t.Report.Events.StiValueEventHandler,a=t.Report.Events.StiGetSummaryExpressionEvent,s=t.Report.Events.StiGetGroupConditionEvent,l=t.Report.Events.StiGetCollapsedEvent,u=t.Report.Events.StiBeginRenderEvent,c=t.Report.Events.StiRenderingEvent,p=t.Report.Events.StiEndRenderEvent,h=t.Base.StiJsonSaveMode,m=t.System.Enum,f=t.Base.JsonReportObject.IStiJsonReportObject,d=t.System.Drawing.Color,g=t.System.Drawing.Rectangle,S=t.Base.Localization.StiLocalization,y=t.Report.Expressions.StiExpression,A=function(A){function b(t){void 0===t&&(t=g.empty);var e=A.call(this,t)||this;return e._keepGroupHeaderTogether=!0,e._keepGroupTogether=!1,e._startNewPage=!1,e._sortDirection=r.StiGroupSortDirection.Ascending,e._summarySortDirection=r.StiGroupSortDirection.None,e._summaryType=r.StiGroupSummaryType.Sum,e._printOnAllPages=!1,e._line=0,e._condition="",e._summaryExpression="",e._collapsed="",e}return __extends(b,A),b.prototype.implements=function(){return A.prototype.implements.call(this).concat([r.IStiGroup,r.IStiPrintOnAllPages,r.IStiKeepGroupTogether,f])},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("KeepGroupHeaderTogether",this.keepGroupHeaderTogether,!0),e.addPropertyBool("KeepGroupTogether",this.keepGroupTogether),e.addPropertyBool("StartNewPage",this.startNewPage),e.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),e.addPropertyEnum("SortDirection",r.StiGroupSortDirection,this.sortDirection,r.StiGroupSortDirection.Ascending),e.addPropertyEnum("SummarySortDirection",r.StiGroupSortDirection,this.summarySortDirection,r.StiGroupSortDirection.None),e.addPropertyEnum("SummaryType",r.StiGroupSummaryType,this.summaryType,r.StiGroupSummaryType.Sum),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages),e.addPropertyJObject("Condition",new y(this.condition).saveToJsonObject(t)),e.addPropertyJObject("SummaryExpression",new y(this.summaryExpression).saveToJsonObject(t)),e.addPropertyJObject("GetSummaryExpressionEvent",this.getSummaryExpressionEvent.saveToJsonObject(t)),e.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),e.addPropertyJObject("GetCollapsedEvent",this.getCollapsedEvent.saveToJsonObject(t)),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),t==h.Report&&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 h=o.value;switch(h.name){case"KeepGroupHeaderTogether":this._keepGroupHeaderTogether=h.value.stimulsoft.toBoolean();break;case"KeepGroupTogether":this._keepGroupTogether=h.value.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=h.value.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=h.value.stimulsoft.toNumber();break;case"SortDirection":this._sortDirection=m.parse(r.StiGroupSortDirection,h.value);break;case"SummarySortDirection":this._summarySortDirection=m.parse(r.StiGroupSortDirection,h.value);break;case"SummaryType":this._summaryType=m.parse(r.StiGroupSummaryType,h.value);break;case"PrintOnAllPages":this._printOnAllPages=h.value.stimulsoft.toBoolean();break;case"Condition":var f=new y;f.loadFromJsonObject(h.value),this.condition=f.value;break;case"SummaryExpression":var d=new y;d.loadFromJsonObject(h.value),this.summaryExpression=d.value;break;case"Collapsed":var g=new y;g.loadFromJsonObject(h.value),this.collapsed=g.value;break;case"GetSummaryExpressionEvent":var S;(S=new a).loadFromJsonObject(h.value),this.getSummaryExpressionEvent=S;break;case"GetValueEvent":var S;(S=new s).loadFromJsonObject(h.value),this.getValueEvent=S;break;case"GetCollapsedEvent":var S;(S=new l).loadFromJsonObject(h.value),this.getCollapsedEvent=S;break;case"BeginRenderEvent":var S;(S=new u).loadFromJsonObject(h.value),this.beginRenderEvent=S;break;case"RenderingEvent":var S;(S=new c).loadFromJsonObject(h.value),this.renderingEvent=S;break;case"EndRenderEvent":var S;(S=new p).loadFromJsonObject(h.value),this.endRenderEvent=S;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);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"KeepGroupHeaderTogether":this._keepGroupHeaderTogether=i.textContent.stimulsoft.toBoolean();break;case"KeepGroupTogether":this._keepGroupTogether=i.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=i.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=i.textContent.stimulsoft.toNumber();break;case"SortDirection":this._sortDirection=m.parse(r.StiGroupSortDirection,i.textContent);break;case"SummarySortDirection":this._summarySortDirection=m.parse(r.StiGroupSortDirection,i.textContent);break;case"SummaryType":this._summaryType=m.parse(r.StiGroupSummaryType,i.textContent);break;case"PrintOnAllPages":this._printOnAllPages=i.textContent.stimulsoft.toBoolean();break;case"Condition":var o=new y;o.loadFromXml(i),this.condition=o.value;break;case"SummaryExpression":var h=new y;h.loadFromXml(i),this.summaryExpression=h.value;break;case"Collapsed":var f=new y;f.loadFromXml(i),this.collapsed=f.value;break;case"GetSummaryExpressionEvent":var d;(d=new a).script=i.textContent,this.getSummaryExpressionEvent=d;break;case"GetValueEvent":var d;(d=new s).script=i.textContent,this.getValueEvent=d;break;case"GetCollapsedEvent":var d;(d=new l).script=i.textContent,this.getCollapsedEvent=d;break;case"BeginRenderEvent":var d;(d=new u).script=i.textContent,this.beginRenderEvent=d;break;case"RenderingEvent":var d;(d=new c).script=i.textContent,this.renderingEvent=d;break;case"EndRenderEvent":var d;(d=new p).script=i.textContent,this.endRenderEvent=d;break}}},b.prototype.clone=function(t,e){var r=A.prototype.clone.call(this,t,e);return r._groupHeaderBandInfo=this.groupHeaderBandInfo.clone(),r},Object.defineProperty(b.prototype,"keepGroupHeaderTogether",{get:function(){return this._keepGroupHeaderTogether},set:function(t){this._keepGroupHeaderTogether!=t&&(this._keepGroupHeaderTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"keepGroupTogether",{get:function(){return this._keepGroupTogether},set:function(t){this._keepGroupTogether!=t&&(this._keepGroupTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"startNewPageIfLessThan",{get:function(){if(null==this.breakIfLessThan)return 100;return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),b.prototype.saveState=function(t){A.prototype.saveState.call(this,t),A.prototype.getStates.call(this).pushInt(t,this,"line",this._line)},b.prototype.restoreState=function(t){this.states.isExist(t,this)&&(this._line=this.states.popInt(t,this,"line")),A.prototype.restoreState.call(this,t)},Object.defineProperty(b.prototype,"headerStartColor",{get:function(){return d.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"headerEndColor",{get:function(){return d.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"sortDirection",{get:function(){return this._sortDirection},set:function(t){this._sortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"summarySortDirection",{get:function(){return this._summarySortDirection},set:function(t){this._summarySortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"summaryType",{get:function(){return this._summaryType},set:function(t){this._summaryType=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"printOnAllPages",{
|
||
get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"groupHeaderBandInfo",{get:function(){return null==this._groupHeaderBandInfo&&(this._groupHeaderBandInfo=new r.StiGroupHeaderBandInfo),this._groupHeaderBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxPosition",{get:function(){return r.StiComponentToolboxPosition.GroupHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxCategory",{get:function(){return r.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),b.prototype.getComponentType=function(){return r.StiComponentType.Detail},Object.defineProperty(b.prototype,"priority",{get:function(){return r.StiComponentPriority.GroupHeaderBand},enumerable:!1,configurable:!0}),b.prototype.getDataBand=function(){var t;if(null==this.parent)return null;for(var e,n=this.parent.components.indexOf(this)+1;n<this.parent.components.count;n++)if(this.parent.components.getByIndex(n).stimulsoft.is(r.StiDataBand))return this.parent.components.getByIndex(n).stimulsoft.as(r.StiDataBand);return null},Object.defineProperty(b.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),b.prototype.onGetSummaryExpression=function(t){},b.prototype.invokeGetSummaryExpression=function(r){try{var n,n;if(this.report.calculationMode==e.StiCalculationMode.Compilation)this.onGetSummaryExpression(r),null!=(n=this.events.get(b.eventGetSummaryExpression))&&n(this,r);else this.onGetSummaryExpression(r),r.value=t.Report.Engine.StiParser.StiParser.parseTextValue(this.summaryExpression,this),null!=(n=this.events.get(b.eventGetSummaryExpression))&&n(this,r)}catch(r){t.System.StiError.showError(r.message,!1),e.StiLogService.write(this.stimulsoft.getType(),"DoGetSummaryExpression...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(b.prototype,"getSummaryExpressionEvent",{get:function(){return new a(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventGetSummaryExpression,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onGetValue=function(t){},b.prototype.invokeGetValue=function(r){try{var n,n;if(this.report.calculationMode==e.StiCalculationMode.Compilation)this.onGetValue(r),null!=(n=this.events.get(b.eventGetValue))&&n(this,r);else this.onGetValue(r),r.value=t.Report.Engine.StiParser.StiParser.parseTextValue(this.condition,this),null!=(n=this.events.get(b.eventGetValue))&&n(this,r)}catch(e){t.System.StiError.showError(e.message,!1)}},Object.defineProperty(b.prototype,"getValueEvent",{get:function(){return new s(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(b.eventGetValue,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 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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"KeyDataColumn":this._keyDataColumn=i.textContent;break;case"MasterKeyDataColumn":this._masterKeyDataColumn=i.textContent;break;case"ParentValue":this._parentValue=i.textContent;break;case"Indent":this._indent=i.textContent.stimulsoft.toNumber();break;case"Headers":this._headers=i.textContent;break;case"Footers":this._footers=i.textContent;break}}},Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.HierarchicalBand},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerStartColor",{get:function(){return n.fromArgb(118,167,151)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerEndColor",{get:function(){return n.fromArgb(118,167,151)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"keyDataColumn",{get:function(){return this._keyDataColumn},set:function(t){this._keyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"masterKeyDataColumn",{get:function(){return this._masterKeyDataColumn},set:function(t){this._masterKeyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"parentValue",{get:function(){return this._parentValue},set:function(t){this._parentValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"indent",{get:function(){return this._indent},set:function(t){this._indent=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headers",{get:function(){return this._headers},set:function(t){this._headers=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"footers",{get:function(){return this._footers},set:function(t){this._footers=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"hierarchicalBandInfo",{get:function(){return null==this._hierarchicalBandInfo&&(this._hierarchicalBandInfo=new e.StiHierarchicalBandInfo),this._hierarchicalBandInfo},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(e.StiDataBand);e.StiHierarchicalBand=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.JsonReportObject.IStiJsonReportObject,n=t.System.Drawing.Rectangle,i=function(t){function i(e){return void 0===e&&(e=n.empty),t.call(this,e)||this}return __extends(i,t),i.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBreakable,r])},i.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("CanBreak"),r},i.prototype.loadFromJsonObject=function(e){t.prototype.loadFromJsonObject.call(this,e)},i.prototype.getComponentType=function(){return e.StiComponentType.Static},i}(e.StiBand);e.StiStaticBand=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.Drawing.StiVertAlignment,n=t.System.Enum,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Color,a=t.System.Drawing.Rectangle,s=function(t){function s(e){void 0===e&&(e=a.empty);var n=t.call(this,e)||this;return n._vertAlignment=r.Center,n}return __extends(s,t),s.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiVertAlignment,i])},s.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return n.removeProperty("CanBreak"),n.removeProperty("Bookmark"),n.removeProperty("Hyperlink"),n.addPropertyEnum("VertAlignment",r,this.vertAlignment,r.Center),n},s.prototype.loadFromJsonObject=function(e){var i,o;t.prototype.loadFromJsonObject.call(this,e);try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"VertAlignment":this._vertAlignment=n.parse(r,l.value);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(e,i){t.prototype.loadFromXml.call(this,e,i);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"VertAlignment":this._vertAlignment=n.parse(r,a.textContent);break}}},Object.defineProperty(s.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerStartColor",{get:function(){return o.fromArgb(131,124,174)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerEndColor",{get:function(){return o.fromArgb(131,124,174)},enumerable:!1,configurable:!0}),s.prototype.getComponentType=function(){return null!=this.report?e.StiComponentType.Static:e.StiComponentType.Detail},Object.defineProperty(s.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.OverlayBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"priority",{get:function(){return e.StiComponentPriority.OverlayBand},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(e.StiStaticBand);e.StiOverlayBand=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.Drawing.Rectangle,n=t.System.Enum,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Color,a=function(t){function a(n){void 0===n&&(n=r.empty);var i=t.call(this,n)||this;return i._printOnEvenOddPages=e.StiPrintOnEvenOddPagesType.Ignore,StiOptions.Engine.dockPageFooterToBottom&&(i.dockStyle=e.StiDockStyle.Bottom),i}return __extends(a,t),a.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiPrintOnEvenOddPages,i])},a.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.addPropertyEnum("PrintOnEvenOddPages",e.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,e.StiPrintOnEvenOddPagesType.Ignore),n},a.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"PrintOnEvenOddPages":this._printOnEvenOddPages=n.parse(e.StiPrintOnEvenOddPagesType,l.value);break}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},a.prototype.loadFromXml=function(r,i){t.prototype.loadFromXml.call(this,r,i);for(var o=0;o<r.childNodes.length;o++){var a=r.childNodes[o];switch(a.nodeName){case"PrintOnEvenOddPages":this._printOnEvenOddPages=n.parse(e.StiPrintOnEvenOddPagesType,a.textContent);break}}},Object.defineProperty(a.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerStartColor",{get:function(){return o.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerEndColor",{get:function(){return o.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.PageFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"priority",{get:function(){if(StiOptions.Engine.dockPageFooterToBottom)return e.StiComponentPriority.PageFooterBandBottom;return e.StiComponentPriority.PageFooterBandTop},enumerable:!1,configurable:!0}),a.prototype.canContainIn=function(t){if(t.stimulsoft.is(e.StiPage))return!0;return!1},a.prototype.getComponentType=function(){if(null!=this.report)return t.prototype.getComponentType.call(this);return e.StiComponentType.Simple},a.prototype.getDisplayRectangle=function(){if(StiOptions.Engine.dockPageFooterToBottom){var e=this.page.unit.convertFromHInches(this.headerSize),n=this.page.unit.convertFromHInches(this.footerSize);return new r(this.left,this.top-e-n,this.width,this.height+e+n)}return t.prototype.getDisplayRectangle.call(this)},a.prototype.setDisplayRectangle=function(e){if(StiOptions.Engine.dockPageFooterToBottom){var r=this.page.unit.convertFromHInches(this.headerSize),n=this.page.unit.convertFromHInches(this.footerSize);return this.left=e.left,this.top=e.top+r+n,this.width=e.width,void(this.height=e.height-r-n)}t.prototype.setDisplayRectangle.call(this,e)},a.prototype.createNew=function(){return new a},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}(e.StiStaticBand);e.StiPageFooterBand=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.Enum,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.System.Drawing.Color,o=t.System.Drawing.Rectangle,a=function(t){function a(r){void 0===r&&(r=o.empty);var n=t.call(this,r)||this;return n._printOnEvenOddPages=e.StiPrintOnEvenOddPagesType.Ignore,n}return __extends(a,t),a.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBreakable,e.IStiPrintOnEvenOddPages,n])},a.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.removeProperty("CanBreak"),n.addPropertyEnum("PrintOnEvenOddPages",e.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,e.StiPrintOnEvenOddPagesType.Ignore),n},a.prototype.loadFromJsonObject=function(n){var i,o;t.prototype.loadFromJsonObject.call(this,n);try{for(var a=__values(n.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"PrintOnEvenOddPages":this._printOnEvenOddPages=r.parse(e.StiPrintOnEvenOddPagesType,l.value);break}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},a.prototype.loadFromXml=function(n,i){t.prototype.loadFromXml.call(this,n,i);for(var o=0;o<n.childNodes.length;o++){var a=n.childNodes[o];switch(a.nodeName){case"PrintOnEvenOddPages":this._printOnEvenOddPages=r.parse(e.StiPrintOnEvenOddPagesType,a.textContent);break}}},Object.defineProperty(a.prototype,"headerStartColor",{get:function(){return i.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"headerEndColor",{get:function(){return i.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.PageHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"priority",{get:function(){return this.page.titleBeforeHeader?e.StiComponentPriority.PageHeaderBandBefore:e.StiComponentPriority.PageHeaderBandAfter},enumerable:!1,configurable:!0}),a.prototype.canContainIn=function(t){if(t.stimulsoft.is(e.StiPage))return!0;return!1},a.prototype.getComponentType=function(){if(null!=this.report)return t.prototype.getComponentType.call(this);return e.StiComponentType.Simple},Object.defineProperty(a.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"printOnFirstPage",{get:function(){return 0==(this.printOn&e.StiPrintOnType.ExceptFirstPage)},set:function(t){t?(this.printOn&e.StiPrintOnType.ExceptFirstPage)>0&&(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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"KeepReportSummaryTogether":this._keepReportSummaryTogether=i.textContent.stimulsoft.toBoolean();break;case"PrintIfEmpty":this._printIfEmpty=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"keepReportSummaryTogether",{get:function(){return this._keepReportSummaryTogether},set:function(t){this._keepReportSummaryTogether!=t&&(this._keepReportSummaryTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerStartColor",{get:function(){return i.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerEndColor",{get:function(){return i.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.ReportSummaryBand},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),o.prototype.canContainIn=function(t){if(t.stimulsoft.is(e.StiPage))return!0;return!1},Object.defineProperty(o.prototype,"priority",{get:function(){return e.StiComponentPriority.ReportSummaryBand},enumerable:!1,configurable:!0}),o.prototype.getComponentType=function(){if(null!=this.report)return t.prototype.getComponentType.call(this);return e.StiComponentType.Master},o.prototype.createNew=function(){return new o},o.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))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},o}(e.StiDynamicBand);e.StiReportSummaryBand=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.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._printIfEmpty=!0,r}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBreakable,e.IStiPrintIfEmpty,r])},o.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("PrintOn"),r.removeProperty("CanBreak"),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"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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"PrintIfEmpty":this._printIfEmpty=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerStartColor",{get:function(){return n.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"headerEndColor",{get:function(){return n.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),o.prototype.getComponentType=function(){if(null!=this.report)return this.page.titleBeforeHeader?e.StiComponentType.Static:e.StiComponentType.Master;return e.StiComponentType.Simple},Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return e.StiComponentToolboxPosition.ReportTitleBand},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return e.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"priority",{get:function(){return this.page.titleBeforeHeader?e.StiComponentPriority.ReportTitleBandBefore:e.StiComponentPriority.ReportTitleBandAfterV2},enumerable:!1,configurable:!0}),o.prototype.canContainIn=function(t){if(t.stimulsoft.is(e.StiPage))return!0;return!1},o.prototype.createNew=function(){return new o},o.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},o}(e.StiStaticBand);e.StiReportTitleBand=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.Rectangle,o=function(t){function o(e,n){void 0===e&&(e=i.empty),void 0===n&&(n=!1);var o=t.call(this,e,!0)||this;return o._container=new r.StiContainer,o._components2=new r.StiComponentsCollection(o),n||o.construct(e),o}return __extends(o,t),o.prototype.implements=function(){return o.ImplementsStiClone||(o.ImplementsStiClone=t.prototype.implements.call(this).concat([r.IStiClone])),o.ImplementsStiClone},o.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("CanShrink"),r.removeProperty("CanGrow"),r.removeProperty("Conditions"),r.removeProperty("GrowToHeight"),r.removeProperty("Components"),null!=this.container&&r.addPropertyStringNullOrEmpty("Container",this.container.name),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"Container":this.jsonContainerValueTemp=a.value.toString(),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this);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);var i=e.getAttribute("Ref");!n.isNullOrEmpty(i)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[i.stimulsoft.toNumber()]=e.nodeName);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"Container":this.jsonContainerValueTemp=a.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiClone},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"canShrink",{get:function(){return t.prototype.getCanShrink.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t},enumerable:!1,configurable:!0}),o.prototype.clone=function(e,n){void 0===e&&(e=!0),void 0===n&&(n=!0);var i=t.prototype.clone.call(this,e);return i.components=new r.StiComponentsCollection(i),i},Object.defineProperty(o.prototype,"toolboxPosition",{get:function(){return r.StiComponentToolboxPosition.Clone},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toolboxCategory",{get:function(){return r.StiToolboxCategory.Components},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"componentType",{get:function(){return r.StiComponentType.Simple},enumerable:!1,configurable:!0}),o.prototype.canContainIn=function(t){if(t.stimulsoft.is(o))return!1;if(t.stimulsoft.is(r.StiContainer))return!0;return!1},Object.defineProperty(o.prototype,"components",{get:function(){return null==this.container||this.isDesigning?this._components2:this.container.components},set:function(t){},enumerable:!1,configurable:!0}),o.prototype.construct=function(e){void 0===e&&(e=i.empty),t.prototype.construct.call(this,e)},o}(r.StiContainer);r.StiClone=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.System.Collections.Hashtable,n=t.Base.Drawing.StiHorAlignment,i=t.Base.Drawing.StiTextHorAlignment,o=t.System.Drawing.Size,a=function(){function t(){}return t.checkSize=function(a){var s,l,u,c,p,h,m=a;if(null==m)return;var f=null;if(StiOptions.Engine.allowCacheForGetActualSize){var d=a.report;if(null==d&&null!=m.containerInfo&&null!=m.containerInfo.parentBand&&(d=m.containerInfo.parentBand.report),null==d&&null!=m.parent&&null!=m.parent.containerInfo&&null!=m.parent.containerInfo.parentBand&&(d=m.parent.containerInfo.parentBand.report),null!=d&&null!=d.engine){if(null==d.engine.hashCheckSize&&(d.engine.hashCheckSize=new r),d.engine.hashCheckSize.containsKey(a))return;f=d.engine.hashCheckSize}}var g=new r,S=new r,y=!1;try{for(var A=__values(m.components.list),b=A.next();!b.done;b=A.next()){var v;if((v=b.value).isEnabled){var C=void 0;if(v.stimulsoft.is(e.StiContainer)){var w=v.height;StiOptions.Engine.useCheckSizeForContinuedContainers&&t.checkSize(v);var B,I={ref:B=!1};if(C=v.getActualSize(!0,I),B=I.ref){var T=v.height;v.height=C.height,I={ref:B},C=v.getActualSize(!1,B),B=I.ref,v.height=T}StiOptions.Engine.useCheckSizeForContinuedContainers&&(v.height=w)}else C=v.getActualSize();v.stimulsoft.is(e.StiHorizontalLinePrimitive)||(C.height=Math.round2(C.height,2)),C.width=Math.round2(C.width,2),S.set(v,C),C.height!=v.height&&(y=!0)}else S.set(v,new o(0,0))}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=A.return)&&l.call(A)}finally{if(s)throw s.error}}if(y){var E=new e.StiComponentsCollection;E.addRange(m.components),E.sortByTopPosition();var R=0;try{for(var D=__values(E.list),P=D.next();!P.done;P=D.next()){var v=P.value,x=S.get(v).height-v.height,F=Math.round2(v.left,2),N=Math.round2(v.right,2),k=Math.round2(v.bottom,2);if(0!=x){var M=0;null!=g.get(v)&&(M=g.get(v));for(var O=R+1;O<E.count;O++){var _=E.getByIndex(O),j=Math.round2(_.left,2),G=Math.round2(_.top,2);if(0!=(_.shiftMode&e.StiShiftMode.OnlyInWidthOfComponent)&&(F>j||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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"RightToLeft":this._rightToLeft=i.textContent.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=i.textContent.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=i.textContent.stimulsoft.toNumber();break;case"Columns":this._columns=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnGaps",{get:function(){return this._columnGaps},set:function(t){this._columnGaps!=t&&(this._columnGaps=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnWidth",{get:function(){return this._columnWidth},set:function(t){this.columnWidth!=t&&(this._columnWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns!=t&&(this._columns=t)},enumerable:!1,configurable:!0}),e.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},e}(e.StiContainer);e.StiPanel=i}(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(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"FillParameters"},e}(t.StiEvent);t.StiFillParametersEvent=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.StiGetSubReportEventHandler=new r("sender: any, e: StiGetSubReportEventArgs");var i=function(t){function e(e){var r=t.call(this)||this;return r.subReportName=e,r}return __extends(e,t),e}(n);e.StiGetSubReportEventArgs=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.StiString,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.Image,o=function(){function e(){}return e.getBytes=function(e,r){var n=this.getResource(e,this.getResourceNameFromHyperlink(r));if(null!=n)return n.content;var i=this.getVariable(e,this.getVariableNameFromHyperlink(r));if(null!=i)return i.valueObject;var o=this.getFileNameFromHyperlink(r);if(null!=o)try{return t.System.IO.File.getFile(o,!0)}catch(t){}return t.System.IO.File.getFile(r,!0)},e.getImage=function(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return r.getResourceAsImage();var n=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=n)return n.valueObject;var o=this.getFileNameFromHyperlink(e);if(null!=o)try{return i.fromFile(o)}catch(t){}return i.fromFile(e)},e.getString=function(e,n){var i=this.getResource(e,this.getResourceNameFromHyperlink(n));if(null!=i)return r.fromBytesArray(i.content);var o=this.getVariable(e,this.getVariableNameFromHyperlink(n));if(null!=o)return o.valueObject;var a=this.getFileNameFromHyperlink(n);if(null!=a)try{return t.System.IO.File.getFile(a)}catch(t){}return t.System.IO.File.getFile(n)},e.getResource=function(t,e){if(null==t||r.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.resources.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase().trim()==e}))},e.getVariable=function(t,e){if(null==t||r.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.variables.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase().trim()==e}))},e.getServerNameFromHyperlink=function(t){if(!this.isServerHyperlink(t))return null;return t.stimulsoft.remove(0,this.serverIdent.length)},e.getResourceNameFromHyperlink=function(t){if(!this.isResourceHyperlink(t))return null;return t.stimulsoft.remove(0,this.resourceIdent.length)},e.getVariableNameFromHyperlink=function(t){if(!this.isVariableHyperlink(t))return null;return t.stimulsoft.remove(0,this.variableIdent.length)},e.getFileNameFromHyperlink=function(t){if(!this.isFileHyperlink(t))return null;return t.stimulsoft.remove(0,this.fileIdent.length)},e.isServerHyperlink=function(t){return!r.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.serverIdent)},e.isResourceHyperlink=function(t){return!r.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.resourceIdent)},e.isVariableHyperlink=function(t){return!r.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.variableIdent)},e.isFileHyperlink=function(t){return!r.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.fileIdent)},e.createResourceName=function(t){return r.format("{0}{1}",this.resourceIdent,t)},e.createVariableName=function(t){return r.format("{0}{1}",this.variableIdent,t)},e.createFileName=function(t){return r.format("{0}{1}",this.fileIdent,t)},e.hyperlinkToString=function(t){if(this.isResourceHyperlink(t))return r.format("{0}: {1}",n.get("PropertyMain","Resource"),this.getResourceNameFromHyperlink(t));if(this.isVariableHyperlink(t))return r.format("{0}: {1}",n.get("PropertyMain","Variable"),this.getVariableNameFromHyperlink(t));if(this.isServerHyperlink(t))return r.format("Server: {0}",this.getVariableNameFromHyperlink(t));if(this.isFileHyperlink(t))return r.format("{0}: {1}",n.get("PropertyMain","File"),this.getFileNameFromHyperlink(t));return r.format("{0}: {1}",n.get("PropertyMain","Hyperlink"),t)},e.serverIdent="stimulsoft-server://",e.resourceIdent="resource://",e.variableIdent="variable://",e.fileIdent="file://",e}();e.StiHyperlinkProcessor=o}(r=e.Helpers||(e.Helpers={}))}(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.Events.StiFillParametersEventHandler,o=t.Report.Events.StiGetSubReportEventArgs,a=t.Report.Events.StiFillParametersEvent,s=t.Base.StiJsonSaveMode,l=t.Base.StiGuidUtils,u=t.Report.Expressions.StiExpression,c=t.Report.Helpers.StiHyperlinkProcessor,p=function(p){function h(){var t=null!==p&&p.apply(this,arguments)||this;return t._keepSubReportTogether=!1,t._subReportPageGuid=null,t._subReportUrl=null,t._parameters=new r.StiParametersCollection,t}return __extends(h,p),h.prototype.saveToJsonObject=function(t){var e=p.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("GrowToHeight"),e.addPropertyJObject("FillParametersEvent",this.fillParametersEvent.saveToJsonObject(t)),e.addPropertyBool("KeepSubReportTogether",this.keepSubReportTogether),e.addPropertyStringNullOrEmpty("SubReportPageGuid",this.subReportPageGuid),e.addPropertyStringNullOrEmpty("SubReportUrl",this.subReportUrl),t==s.Report&&e.addPropertyJObject("Parameters",this.parameters.saveToJsonObject(t)),e},h.prototype.loadFromJsonObject=function(t){var e,r;p.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"FillParametersEvent":var s=new a;s.loadFromJsonObject(o.value),this.fillParametersEvent=s;break;case"KeepSubReportTogether":this._keepSubReportTogether=o.value.stimulsoft.toBoolean();break;case"SubReportPageGuid":this._subReportPageGuid=o.value;break;case"SubReportUrl":this.subReportUrl=o.value;break;case"Parameters":this._parameters.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}}},h.prototype.loadFromXml=function(t,e){p.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"FillParametersEvent":break;case"KeepSubReportTogether":this._keepSubReportTogether=n.textContent.stimulsoft.toBoolean();break;case"SubReportPageGuid":this._subReportPageGuid=n.textContent;break;case"SubReportUrl":var i=new u;i.loadFromXml(n),this.subReportUrl=i.value;break;case"Parameters":this._parameters.loadFromXml(n);break}}},Object.defineProperty(h.prototype,"componentType",{get:function(){return r.StiComponentType.Simple},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},h.prototype.convert=function(t,e,r){void 0===r&&(r=!1),this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),p.prototype.setWidth.call(this,e.convertFromHInches(t.convertToHInches(this.width))),this.height=e.convertFromHInches(t.convertToHInches(this.height)),r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))},Object.defineProperty(h.prototype,"width",{get:function(){return p.prototype.getWidth.call(this)},set:function(t){p.prototype.setWidth.call(this,t),this.updateSubReportPageWidth()},enumerable:!1,configurable:!0}),h.prototype.setClientRectangle=function(t){p.prototype.setClientRectangle.call(this,t),this.updateSubReportPageWidth()},h.prototype.updateSubReportPageWidth=function(){if(null!=this.subReportPage&&null!=this.report){if(null!=this.page&&this.subReportPage.orientation!=this.page.orientation){var t=this.subReportPage.pageHeight;this.subReportPage.orientation=this.page.orientation,this.subReportPage.pageHeight=t,this.subReportPage.margins=new r.StiMargins(this.subReportPage.margins.top,this.subReportPage.margins.bottom,this.subReportPage.margins.left,this.subReportPage.margins.right)}this.subReportPage.width=this.width}},h.prototype.getExternalSubReport=function(){var t,e,r=this.getSubReportFromUrl(this.subReportUrl);if(null==r&&(r=this.getSubReportFromFile(this.subReportUrl)),null==r){var n=new o(this.name);this.report.invokeGetSubReport(n),r=n.report}if(null!=r&&r.reportUnit!=this.report.reportUnit)if(r.isDocument)try{for(var i=__values(r.renderedPages.list),a=i.next();!a.done;a=i.next()){var s;a.value.convert(r.unit,this.report.unit)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}else r.reportUnit=this.report.reportUnit;return r},h.prototype.getSubReportFromUrl=function(t){try{if(!n.isNullOrEmpty(t)){var r=new e.StiReport,i=c.getResourceNameFromHyperlink(t);if(null!=i){i=i.toLowerCase().trim();var o=this.report.dictionary.resources.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase().trim()==i}));if(null!=o)switch(o.type){case e.Dictionary.StiResourceType.Report:r.load(o.content);break;case e.Dictionary.StiResourceType.ReportSnapshot:r.loadDocument(o.content);break}}else(t=t.stimulsoft.replaceAll("file://","")).stimulsoft.endsWith(".mdc")||t.stimulsoft.endsWith(".mdz")?r.loadDocumentFile(t):r.loadFile(t);return r}}catch(r){var a=n.format("SubReport can't be loaded from URL '{0}' in subreport component {1}!",t,this.name);e.StiLogService.write(this.stimulsoft.getType(),a),e.StiLogService.write(this.stimulsoft.getType(),r)}return null},h.prototype.getSubReportFromFile=function(t){return this.getSubReportFromUrl(t)},h.prototype.onFillParameters=function(t){},h.prototype.invokeFillParameters=function(r,i){var o,a;try{this.onFillParameters(i);var s=this.events.get(h.eventFillParameters);if(null!=s)try{s(r,i)}catch(i){}if(null!=this.report&&this.report.calculationMode==e.StiCalculationMode.Interpretation&&null!=this.parameters&&this.parameters.count>0)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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"ScaleType":this._scaleType=l.parse(r.StiColorScaleType,o.textContent);break;case"MinimumColor":this._minimumColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"MidColor":this._midColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"MaximumColor":this._maximumColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"MinimumType":this._minimumType=l.parse(r.StiMinimumType,o.textContent);break;case"MinimumValue":this._minimumValue=o.textContent.stimulsoft.toNumber();break;case"MidType":this._midType=l.parse(r.StiMidType,o.textContent);break;case"MidValue":this._midValue=o.textContent.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=l.parse(r.StiMaximumType,o.textContent);break;case"MaximumValue":this._maximumValue=o.textContent.stimulsoft.toNumber();break}}},c.prototype.createIndicator=function(a){if(n.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;var s=t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(a.report.dictionary,this.column);if(null!=s){s.saveState("Indicator"),s.first();var l=0;while(!s.isEof){var u=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary,this.column),c=0;try{c=+e.StiReport.changeType(u,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}0==l?(this.minimum=c,this.maximum=c):(this.minimum=Math.min(this.minimum,c),this.maximum=Math.max(this.maximum,c)),l++,s.next()}s.restoreState("Indicator")}if(null==s){var p=t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(a.report.dictionary,this.column);if(null==p)return null;p.saveState("Indicator"),p.createEnumerator();var l=0;while(!p.isEof){var u=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary,this.column),c=0;try{c=+e.StiReport.changeType(u,Number.stimulsoft.getType())}catch(e){t.System.StiError.showError(e,!1)}0==l?(this.minimum=c,this.maximum=c):(this.minimum=Math.min(this.minimum,c),this.maximum=Math.max(this.maximum,c)),l++,p.next()}p.restoreState("Indicator")}}var h=this.minimum,m=this.maximum,f=m-h,d=this.minimumValue;d=Math.min(d,100),d=Math.max(d,0);var g=this.maximumValue;g=Math.min(g,100),d>(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),y<h&&(y=h),y>m&&(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),b<h&&(b=h);var v=0,C,w;this.scaleType==r.StiColorScaleType.Color2?(v=(b-h)/(m-h),C=this.minimumColor,w=this.maximumColor):b>y?(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;i<r.childNodes.length;i++){var o=r.childNodes[i];switch(o.nodeName){case"Enabled":this._enabled=o.textContent.stimulsoft.toBoolean();break;case"TextColor":this._textColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"BackColor":this._backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"Font":case"fn":this._font=t.System.Convert.toFont(o.textContent);break;case"CanAssignExpression":this._canAssignExpression=o.textContent.stimulsoft.toBoolean();break;case"AssignExpression":this.assignExpression=o.textContent;break;case"Style":this._style=o.textContent;break;case"BorderSides":this._borderSides=l.parse(e.StiConditionBorderSides,o.textContent);break;case"Permissions":this._permissions=l.parse(e.StiConditionPermissions,o.textContent);break;case"BreakIfTrue":this._breakIfTrue=o.textContent.stimulsoft.toBoolean();break}}},c.prototype.clone=function(){return u.prototype.clone.call(this)},c.prototype.memberwiseClone=function(){var t=u.prototype.memberwiseClone.call(this);return t._enabled=this._enabled,t._textColor=this._textColor,t._backColor=this._backColor,t._font=this._font,t._canAssignExpression=this._canAssignExpression,t._assignExpression=this._assignExpression,t._style=this._style,t._borderSides=this._borderSides,t._permissions=this._permissions,t._breakIfTrue=this._breakIfTrue,t},c.prototype.getFonts=function(){return[this.font]},Object.defineProperty(c.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textColor",{get:function(){return this._textColor},set:function(t){this._textColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"canAssignExpression",{get:function(){return this._canAssignExpression},set:function(t){this._canAssignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"breakIfTrue",{get:function(){return this._breakIfTrue},set:function(t){this._breakIfTrue=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"assignExpression",{get:function(){return this._assignExpression},set:function(t){this._assignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderSides",{get:function(){return this._borderSides},set:function(t){this._borderSides=t,t==e.StiConditionBorderSides.NotAssigned&&(this._borderSides=e.StiConditionBorderSides.None,(this.permissions&e.StiConditionPermissions.Borders)>0&&(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),g<c&&(g=c),c>0&&(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),m<u&&(m=u);var f=(m-u)/p*100,d=e.StiIcon.None;if(null==this.iconSetItem4&&null==this.iconSetItem5?this.inRange(this.iconSetItem1,m,f)?d=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,m,f)?d=this.iconSetItem2.icon:null!=this.iconSetItem3&&(d=this.iconSetItem3.icon):null==this.iconSetItem5?this.inRange(this.iconSetItem1,m,f)?d=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,m,f)?d=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,m,f)?d=this.iconSetItem3.icon:null!=this.iconSetItem4&&(d=this.iconSetItem4.icon):this.inRange(this.iconSetItem1,m,f)?d=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,m,f)?d=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,m,f)?d=this.iconSetItem3.icon:this.inRange(this.iconSetItem4,m,f)?d=this.iconSetItem4.icon:null!=this.iconSetItem5&&(d=this.iconSetItem5.icon),d==e.StiIcon.None)return null;var g=new e.StiIconSetIndicator;return g.icon=d,g.alignment=this.contentAlignment,g},s.prototype.inRange=function(t,r,n){if(null==t)return!1;if(t.valueType==e.StiIconSetValueType.Percent){if(t.operation==e.StiIconSetOperation.MoreThan){if(n>t.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<r.firstChild.childNodes.length;n++){var i=r.firstChild.childNodes[n];switch(i.nodeName){case"Enabled":this.enabled=i.textContent.stimulsoft.toBoolean();break;case"TextColor":this.textColor=a.convertStringToColor(i.textContent);break;case"BackColor":this.backColor=a.convertStringToColor(i.textContent);break;case"Font":case"fn":this.font=t.System.Convert.toFont(i.textContent);break;case"CanAssignExpression":this.canAssignExpression=i.textContent.stimulsoft.toBoolean();break;case"Style":this.style=i.textContent;break;case"BorderSides":this.borderSides=s.parse(e.StiConditionBorderSides,i.textContent);break;case"Permissions":this.permissions=s.parse(e.StiConditionPermissions,i.textContent);break;case"FilterMode":this.filterMode=s.parse(e.StiFilterMode,i.textContent);break;case"AssignExpression":this.assignExpression=i.textContent;break;case"Filters":this.filters.loadFromXml(i);break}}}catch(e){t.System.StiError.showError(e,!1)}},u.prototype.clone=function(){var t;return l.prototype.clone.call(this)},Object.defineProperty(u.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filterMethodHandler",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filterOn",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"condition",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dataType",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"column",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"item",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"value1",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"value2",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"expression",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),u.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.enabled.stimulsoft.equals(e.enabled)&&this.font.stimulsoft.equals(e.font)&&this.filterMode==e.filterMode&&this.filters.stimulsoft.equals(e.filters)&&this.canAssignExpression.stimulsoft.equals(e.canAssignExpression)&&this.assignExpression.stimulsoft.equals(e.assignExpression)},u}(e.StiCondition);e.StiMultiCondition=l}(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.System.Drawing.Font,i=function(){function t(){this._filters=new e.StiFiltersCollection,this._filterMode=e.StiFilterMode.And,this._enabled=!0,this._textColor=r.red,this._backColor=r.transparent,this._font=new n("Arial",8),this._canAssignExpression=!1,this._assignExpression="",this._style="",this._borderSides=e.StiConditionBorderSides.NotAssigned,this._permissions=e.StiConditionPermissions.All}return Object.defineProperty(t.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){return this._textColor},set:function(t){this._textColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canAssignExpression",{get:function(){return this._canAssignExpression},set:function(t){this._canAssignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"assignExpression",{get:function(){return this._assignExpression},set:function(t){this._assignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderSides",{get:function(){return this._borderSides},set:function(t){this._borderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"permissions",{get:function(){return this._permissions},set:function(t){this._permissions=t},enumerable:!1,configurable:!0}),t}();e.StiMultiConditionContainer=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.Base.StiAlignValue,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=t.Base.Localization.StiLocalization,s=function(t){function s(e){void 0===e&&(e=i.empty);var n=t.call(this,e)||this;return n.isRightToLeft=!1,n.defaultClientRectangle=new i(0,0,30,50),n.columnCurrent=0,n._columnMode=!1,n.resetDataSource=!0,n.dockStyle=r.StiDockStyle.Left,n}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("NewPageBefore"),r.removeProperty("NewPageAfter"),r.removeProperty("NewColumnBefore"),r.removeProperty("NewColumnAfter"),r.removeProperty("SkipFirst"),r.removeProperty("BreakIfLessThan"),r.removeProperty("GrowToHeight"),r.removeProperty("ResetPageNumber"),r.removeProperty("StartNewPage"),r.removeProperty("StartNewPageIfLessThan"),r.removeProperty("KeepHeaderTogether"),r.removeProperty("KeepFooterTogether"),r.removeProperty("KeepChildTogether"),r.removeProperty("KeepGroupTogether"),r.removeProperty("PrintAtBottom"),r.addPropertyBool("CanBreak",this.canBreak),r.removeProperty("PrintOnAllPages"),r.removeProperty("PrintOn"),r.removeProperty("RightToLeft"),r.removeProperty("ColumnGaps"),r.removeProperty("ColumnWidth"),r.removeProperty("Columns"),r.removeProperty("MinRowsInColumn"),r.removeProperty("ColumnDirection"),r.addPropertyBool("ResetDataSource",this.resetDataSource,!0),r.addPropertyBool("ResetDataSource",this.resetDataSource,!0),r.removeProperty("DockStyle"),r.removeProperty("MinSize"),r.removeProperty("MaxSize"),r.removeProperty("MaxHeight"),r.removeProperty("MinHeight"),r.addPropertyNumber("MinWidth",this.minWidth,0),r.addPropertyNumber("MaxWidth",this.maxWidth,0),r},s.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"MinWidth":this.minWidth=a.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=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}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossDataBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),s.prototype.restoreState=function(e){t.prototype.restoreState.call(this,e),this.setColumnModeToParent()},Object.defineProperty(s.prototype,"keepHeaderTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"keepFooterTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"keepChildTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"keepGroupTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),s.prototype.setColumnModeToParent=function(){this.columnMode&&this.parent.stimulsoft.is(r.StiDataBand)&&null==this.dataSource&&(this.parent.isEofValue=this.isEof,this.parent.isBofValue=this.isBof,this.parent.positionValue=this.position)},s.prototype.getColumnModeFromParent=function(){this.columnMode&&this.parent.stimulsoft.is(r.StiDataBand)&&null==this.dataSource&&(this.enabled=this.parent.enabled,this.isEofValue=this.parent.isEofValue,this.isBofValue=this.parent.isBofValue,this.positionValue=this.parent.positionValue)},s.prototype.first=function(){t.prototype.first.call(this),this.setColumnModeToParent()},s.prototype.prior=function(){t.prototype.prior.call(this),this.setColumnModeToParent()},s.prototype.next=function(){t.prototype.next.call(this),this.setColumnModeToParent()},s.prototype.last=function(){t.prototype.last.call(this),this.setColumnModeToParent()},Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return a.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossDataBand")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return this.isRightToLeft?r.StiDockStyle.Right:r.StiDockStyle.Left},Object.defineProperty(s.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new i(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?n.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"columnMode",{get:function(){return this._columnMode},set:function(t){this._columnMode=t},enumerable:!1,configurable:!0}),s}(r.StiDataBand);r.StiCrossDataBand=s}(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.StiAlignValue,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=t.Base.Localization.StiLocalization,s=function(t){function s(e){void 0===e&&(e=i.empty);var r=t.call(this,e)||this;return r.defaultClientRectangle=new i(0,0,30,50),r}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("NewPageBefore"),r.removeProperty("NewPageAfter"),r.removeProperty("NewColumnBefore"),r.removeProperty("NewColumnAfter"),r.removeProperty("SkipFirst"),r.removeProperty("BreakIfLessThan"),r.removeProperty("GrowToHeight"),r.removeProperty("ResetPageNumber"),r.removeProperty("StartNewPage"),r.removeProperty("StartNewPageIfLessThan"),r.removeProperty("PrintAtBottom"),r.removeProperty("PrintOnAllPages"),r.removeProperty("PrintIfEmpty"),r.removeProperty("PrintOnEvenOddPages"),r.removeProperty("PrintOn"),r.removeProperty("DockStyle"),r.removeProperty("MinSize"),r.removeProperty("MaxSize"),r.removeProperty("MaxHeight"),r.removeProperty("MinHeight"),r.addPropertyNumber("MinWidth",this.minWidth,0),r.addPropertyNumber("MaxWidth",this.maxWidth,0),r},s.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"MinWidth":this.minWidth=a.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=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}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnAllPages",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return a.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossFooterBand")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return r.StiDockStyle.Left},s.prototype.setDockStyle=function(t){},Object.defineProperty(s.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new i(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?n.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(r.StiFooterBand);r.StiCrossFooterBand=s}(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.StiAlignValue,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=t.Base.Localization.StiLocalization,s=function(t){function s(e){void 0===e&&(e=i.empty);var r=t.call(this,e)||this;return r.defaultClientRectangle=new i(0,0,30,50),r}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("NewPageBefore"),r.removeProperty("NewPageAfter"),r.removeProperty("NewColumnBefore"),r.removeProperty("NewColumnAfter"),r.removeProperty("SkipFirst"),r.removeProperty("BreakIfLessThan"),r.removeProperty("GrowToHeight"),r.removeProperty("ResetPageNumber"),r.removeProperty("PrintAtBottom"),r.addPropertyBool("CanBreak",this.canBreak),r.removeProperty("DockStyle"),r.removeProperty("MinSize"),r.removeProperty("MaxSize"),r.removeProperty("MaxHeight"),r.removeProperty("MinHeight"),r.addPropertyNumber("MinWidth",this.minWidth,0),r.addPropertyNumber("MaxWidth",this.maxWidth,0),r},s.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"MinWidth":this.minWidth=a.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=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}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossGroupFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return a.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossGroupFooterBand")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return r.StiDockStyle.Left},s.prototype.setDockStyle=function(t){},Object.defineProperty(s.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new i(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?n.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(r.StiGroupFooterBand);r.StiCrossGroupFooterBand=s}(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.StiAlignValue,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=t.Base.Localization.StiLocalization,s=function(t){function s(e){void 0===e&&(e=i.empty);var r=t.call(this,e)||this;return r.defaultClientRectangle=new i(0,0,30,50),r}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("NewPageBefore"),r.removeProperty("NewPageAfter"),r.removeProperty("NewColumnBefore"),r.removeProperty("NewColumnAfter"),r.removeProperty("SkipFirst"),r.removeProperty("BreakIfLessThan"),r.removeProperty("GrowToHeight"),r.removeProperty("ResetPageNumber"),r.removeProperty("StartNewPage"),r.removeProperty("PrintOnAllPages"),r.removeProperty("PrintAtBottom"),r.removeProperty("DockStyle"),r.removeProperty("MinSize"),r.removeProperty("MaxSize"),r.removeProperty("MaxHeight"),r.removeProperty("MinHeight"),r.addPropertyNumber("MinWidth",this.minWidth,0),r.addPropertyNumber("MaxWidth",this.maxWidth,0),r},s.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"MinWidth":this.minWidth=a.value.toNumber;break;case"MaxWidth":this.maxWidth=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}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossGroupHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return a.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossGroupHeaderBand")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return r.StiDockStyle.Left},s.prototype.setDockStyle=function(t){},Object.defineProperty(s.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new i(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?n.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(r.StiGroupHeaderBand);r.StiCrossGroupHeaderBand=s}(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.StiAlignValue,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=t.Base.Localization.StiLocalization,s=function(t){function s(e){void 0===e&&(e=i.empty);var r=t.call(this,e)||this;return r.defaultClientRectangle=new i(0,0,30,50),r}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("NewPageBefore"),r.removeProperty("NewPageAfter"),r.removeProperty("NewColumnBefore"),r.removeProperty("NewColumnAfter"),r.removeProperty("SkipFirst"),r.removeProperty("BreakIfLessThan"),r.removeProperty("GrowToHeight"),r.removeProperty("ResetPageNumber"),r.removeProperty("StartNewPage"),r.removeProperty("StartNewPageIfLessThan"),r.removeProperty("PrintAtBottom"),r.removeProperty("PrintOnAllPages"),r.removeProperty("PrintIfEmpty"),r.removeProperty("PrintOnEvenOddPages"),r.removeProperty("PrintOn"),r.removeProperty("DockStyle"),r.removeProperty("MinSize"),r.removeProperty("MaxSize"),r.removeProperty("MaxHeight"),r.removeProperty("MinHeight"),r.addPropertyNumber("MinWidth",this.minWidth,0),r.addPropertyNumber("MaxWidth",this.maxWidth,0),r},s.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"MinWidth":this.minWidth=a.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=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}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return a.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossHeaderBand")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),s.prototype.getDockStyle=function(){return r.StiDockStyle.Left},s.prototype.setDockStyle=function(t){},Object.defineProperty(s.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new o(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new i(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?n.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new r.StiCrossFooterBand},s}(r.StiHeaderBand);r.StiCrossHeaderBand=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.Base.JsonReportObject.IStiJsonReportObject,n=t.Base.StiJson,i=t.System.Enum,o=t.System.Drawing.ContentAlignment,a=function(){function a(){}return a.prototype.implements=function(){return[r]},a.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},a.prototype.loadFromJsonObject=function(t){},a.loadFromJsonObjectInternal=function(t){var r=null,n;switch(t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiIconSetIndicator":r=new e.StiIconSetIndicator;break;case"StiDataBarIndicator":r=new e.StiDataBarIndicator;break}return r.loadFromJsonObject(t),r},a.loadFromXml=function(r){var n=r.split(",");if("DataBar"==n[0])return new e.StiDataBarIndicator(i.parse(e.StiBrushType,t.System.Text.XMLConvert.decodeName(n[1])),t.System.Text.StiReportObjectStringConverter.convertStringToColor(n[2]),t.System.Text.StiReportObjectStringConverter.convertStringToColor(n[3]),"true"==n[4].toLowerCase(),t.System.Text.StiReportObjectStringConverter.convertStringToColor(n[5]),t.System.Text.StiReportObjectStringConverter.convertStringToColor(n[6]),i.parse(e.StiDataBarDirection,t.System.Text.XMLConvert.decodeName(n[7])),n[8].stimulsoft.toNumber(),n[9].stimulsoft.toNumber(),n[10].stimulsoft.toNumber());if("IconSet"==n[0])return new e.StiIconSetIndicator(i.parse(e.StiIcon,t.System.Text.XMLConvert.decodeName(n[1])),i.parse(o,t.System.Text.XMLConvert.decodeName(n[2])));return null},a}();e.StiIndicator=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.Color,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.Base.StiJsonReportObjectHelper,o=t.System.Enum,a=t.Report.Components.StiBrushType,s=function(t){function s(n,i,o,s,l,u,c,p,h,m){void 0===n&&(n=a.Gradient),void 0===i&&(i=r.green),void 0===o&&(o=r.red),void 0===s&&(s=!1),void 0===l&&(l=r.darkGreen),void 0===u&&(u=r.darkRed),void 0===c&&(c=e.StiDataBarDirection.Default),void 0===p&&(p=0),void 0===h&&(h=0),void 0===m&&(m=100);var f=t.call(this)||this;return f._brushType=a.Gradient,f._positiveColor=r.green,f._negativeColor=r.red,f._positiveBorderColor=r.darkGreen,f._negativeBorderColor=r.darkRed,f._showBorder=!1,f._value=0,f._minimum=0,f._maximum=100,f._direction=e.StiDataBarDirection.Default,f.brushType=n,f.positiveColor=i,f.negativeColor=o,f.showBorder=s,f.positiveBorderColor=l,f.negativeBorderColor=u,f.direction=c,f.value=p,f.minimum=h,f.maximum=m,f}return __extends(s,t),s.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiDataBarIndicator,n])},s.prototype.saveToJsonObject=function(n){var o=t.prototype.saveToJsonObject.call(this,n);return o.addPropertyEnum("BrushType",a,this.brushType,a.Gradient),o.addPropertyStringNullOrEmpty("PositiveColor",i.Serialize.jColor(this.positiveColor,r.green)),o.addPropertyStringNullOrEmpty("NegativeColor",i.Serialize.jColor(this.negativeColor,r.red)),o.addPropertyStringNullOrEmpty("PositiveBorderColor",i.Serialize.jColor(this.positiveBorderColor,r.darkGreen)),o.addPropertyStringNullOrEmpty("NegativeBorderColor",i.Serialize.jColor(this.negativeBorderColor,r.darkRed)),o.addPropertyBool("ShowBorder",this.showBorder),o.addPropertyNumber("Value",this.value,0),o.addPropertyNumber("Minimum",this.minimum,0),o.addPropertyNumber("Maximum",this.maximum,100),o.addPropertyEnum("Direction",e.StiDataBarDirection,this.direction,e.StiDataBarDirection.Default),o},s.prototype.loadFromJsonObject=function(t){var r,n;try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.name){case"BrushType":this._brushType=o.parse(a,u.value);break;case"PositiveColor":this._positiveColor=i.Deserialize.color(u.value);break;case"NegativeColor":this._negativeColor=i.Deserialize.color(u.value);break;case"PositiveBorderColor":this._positiveBorderColor=i.Deserialize.color(u.value);break;case"NegativeBorderColor":this._negativeBorderColor=i.Deserialize.color(u.value);break;case"ShowBorder":this._showBorder=u.value.stimulsoft.toBoolean();break;case"Value":this._value=u.value.stimulsoft.toNumber();break;case"Minimum":this._minimum=u.value.stimulsoft.toNumber();break;case"Maximum":this._maximum=u.value.stimulsoft.toNumber();break;case"Direction":this._direction=o.parse(e.StiDataBarDirection,u.value);break}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},Object.defineProperty(s.prototype,"brushType",{get:function(){return this._brushType},set:function(t){this._brushType=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"positiveColor",{get:function(){return this._positiveColor},set:function(t){this._positiveColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"negativeColor",{get:function(){return this._negativeColor},set:function(t){this._negativeColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"positiveBorderColor",{get:function(){return this._positiveBorderColor},set:function(t){this._positiveBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"negativeBorderColor",{get:function(){return this._negativeBorderColor},set:function(t){this._negativeBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"showBorder",{get:function(){return this._showBorder},set:function(t){this._showBorder=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"minimum",{get:function(){return this._minimum},set:function(t){this._minimum=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maximum",{get:function(){return this._maximum},set:function(t){this._maximum=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),s}(e.StiIndicator);e.StiDataBarIndicator=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.Drawing.Image,n=t.Report.Components.StiIcon,i=t.System.Enum,o=function(){function t(){}return t.getIconSet=function(t){switch(t){case e.StiIconSet.ArrowsColored3:return[n.ArrowUpGreen,n.ArrowRightYellow,n.ArrowDownRed];case e.StiIconSet.ArrowsColored4:return[n.ArrowUpGreen,n.ArrowRightUpYellow,n.ArrowRightDownYellow,n.ArrowDownRed];case e.StiIconSet.ArrowsColored5:return[n.ArrowUpGreen,n.ArrowRightUpYellow,n.ArrowRightYellow,n.ArrowRightDownYellow,n.ArrowDownRed];case e.StiIconSet.ArrowsGray3:return[n.ArrowUpGray,n.ArrowRightGray,n.ArrowDownGray];case e.StiIconSet.ArrowsGray4:return[n.ArrowUpGray,n.ArrowRightUpGray,n.ArrowRightDownGray,n.ArrowDownGray];case e.StiIconSet.ArrowsGray5:return[n.ArrowUpGray,n.ArrowRightUpGray,n.ArrowRightGray,n.ArrowRightDownGray,n.ArrowDownGray];case e.StiIconSet.Flags3:return[n.FlagGreen,n.FlagYellow,n.FlagRed];case e.StiIconSet.Latin4:return[n.Latin1,n.Latin2,n.Latin3,n.Latin4];case e.StiIconSet.Quarters5:return[n.QuarterFull,n.QuarterThreeFourth,n.QuarterHalf,n.QuarterQuarter,n.QuarterNone];case e.StiIconSet.QuartersGreen5:return[n.QuarterFullGreen,n.QuarterThreeFourthGreen,n.QuarterHalfGreen,n.QuarterQuarterGreen,n.QuarterNoneGreen];case e.StiIconSet.QuartersRed5:return[n.QuarterFullRed,n.QuarterThreeFourthRed,n.QuarterHalfRed,n.QuarterQuarterRed,n.QuarterNoneRed];case e.StiIconSet.Ratings3:return[n.Rating4,n.Rating2,n.Rating0];case e.StiIconSet.Ratings4:return[n.Rating4,n.Rating3,n.Rating2,n.Rating1];case e.StiIconSet.Ratings5:return[n.Rating4,n.Rating3,n.Rating2,n.Rating1,n.Rating0];case e.StiIconSet.RedToBlack4:return[n.FromRedToBlackRed,n.FromRedToBlackPink,n.FromRedToBlackGray,n.QuarterFull];case e.StiIconSet.Signs3:return[n.CircleGreen,n.TriangleYellow,n.RhombRed];case e.StiIconSet.Squares5:return[n.Square0,n.Square1,n.Square2,n.Square3,n.Square4];case e.StiIconSet.Stars3:return[n.StarFull,n.StarHalf,n.StarNone];case e.StiIconSet.Stars5:return[n.StarFull,n.StarThreeFourth,n.StarHalf,n.StarQuarter,n.StarNone];case e.StiIconSet.SymbolsCircled3:return[n.CircleCheckGreen,n.CircleExclamationYellow,n.CircleCrossRed];case e.StiIconSet.SymbolsUncircled3:return[n.CheckGreen,n.ExclamationYellow,n.CrossRed];case e.StiIconSet.TrafficLights4:return[n.CircleGreen,n.CircleYellow,n.CircleRed,n.CircleBlack];case e.StiIconSet.TrafficLightsRimmed3:return[n.LightsGreen,n.LightsYellow,n.LightsRed];case e.StiIconSet.TrafficLightsUnrimmed3:return[n.CircleGreen,n.CircleYellow,n.CircleRed];case e.StiIconSet.Triangles3:return[n.TriangleGreen,n.MinusYellow,n.TriangleRed];case e.StiIconSet.Full:return[n.ArrowUpGreen,n.ArrowRightYellow,n.ArrowDownRed,n.ArrowUpGray,n.ArrowRightGray,n.ArrowDownGray,n.ArrowRightUpYellow,n.ArrowRightDownYellow,n.ArrowRightUpGray,n.ArrowRightDownGray,n.TriangleGreen,n.MinusYellow,n.TriangleRed,n.FlagGreen,n.FlagYellow,n.FlagRed,n.Latin1,n.Latin2,n.Latin3,n.Latin4,n.CheckGreen,n.ExclamationYellow,n.CrossRed,n.CircleCheckGreen,n.CircleExclamationYellow,n.CircleCrossRed,n.CircleGreen,n.CircleYellow,n.CircleRed,n.CircleBlack,n.TriangleYellow,n.RhombRed,n.FromRedToBlackRed,n.FromRedToBlackPink,n.FromRedToBlackGray,n.LightsGreen,n.LightsYellow,n.LightsRed,n.QuarterFull,n.QuarterThreeFourth,n.QuarterHalf,n.QuarterQuarter,n.QuarterNone,n.QuarterFullGreen,n.QuarterThreeFourthGreen,n.QuarterHalfGreen,n.QuarterQuarterGreen,n.QuarterNoneGreen,n.QuarterFullRed,n.QuarterThreeFourthRed,n.QuarterHalfRed,n.QuarterQuarterRed,n.QuarterNoneRed,n.Rating0,n.Rating1,n.Rating2,n.Rating3,n.Rating4,n.Square0,n.Square1,n.Square2,n.Square3,n.Square4,n.StarFull,n.StarThreeFourth,n.StarHalf,n.StarQuarter,n.StarNone];default:return null}},t.getIcons=function(t){var e,r,n=this.getIconSet(t),i=[],o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;i[o]=this.getIcon2(l),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},t.getIcon2=function(t){if(t==n.None)return null;return this.icons[i.getName(n,t)]},t.getIcon=function(t){if(null!=t.customIcon)return r.fromBytes(t.customIcon);return t.icon==n.None?null:this.icons[i.getName(n,t.icon)]},t.icons={ArrowDownGray:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAN1JREFUeNqs1NEJhDAMAND0cBJBhKIUPwR/BF3MEVypC+gKuojauwiReqZV7hoIlFofaU0VxhgIERE32batU9dai8cQRtd1sK7rKfu+d1b0cj34RjB94YS2bTvyL8iuhLCfKwqyNbuSYFt7AkVc3+R5zkJJklzWUl8J6mxcoJSCpmlgWZbjZRrbc+M4wjzPp+YU9hVBLMsyqOuaBXDMIReIMCklVFXFVjJNE3tNBHdpEUvTFMqyPFXiQpwQYXi4RVHAMAxexAsRFsfxLbIHQr78fEVztwZThPqxvQUYAMkFQzOhj4qDAAAAAElFTkSuQmCC"),ArrowDownRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAONJREFUeNpi/P//PwM1AAs2wYkaMjhNz7/xhJFog0Ags2Uiw/8/fxgYQPj3HyD7N8PM3gacLmLCJYFuCIjGB3AahGHI799kGoRmyH9yDcIwhBIXIRsCDjPyDEIzhICLWLClGy1tQ0xDgFhTXhVDLSxdMcJSNkiBlq4xg62NC1ZD4OEE9PLRG+cYrj97iJI4GZGzCNgwTX0GGzM7kgzBMAhumKo2g7WhJdGGYDUIbpiiOoOVtjFRhuA0CGaYpqwyg7WqHkFD8BoEN0xKnqAhkBQMNAgfnqAu/Z+QGhBmpFbBBhBgAD+BHSrfOF/gAAAAAElFTkSuQmCC"),ArrowRightDownGray:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQ1JREFUeNq0lEkORUAQhqt5NxALK7FhZUMskBA2TuGshhtwAgunENIv1UlLax3eWEkFpX35a0IopfAL0+RAXde0KAr6FQghhmGA53nwLuwhQkzThCiKYF1XFkNY0zTkZUUIsSwL0jQFXdeZJ0lyq0x8x0DzPMOyLDtEhLmuq4SVZUlPilD+MAzQti1omnYLw3vbttU1Qhg/nOc58LHAaxzHh1QcxwHf92GapjNIhmVZxiCoisN4I7ZtY345RzzNrusOKcop4/MliMPGcYS+708NEP0WJMJkJaI6ZbFVRgjZPxCLr9rPx9WwBUFwAInFfwmEkDAMoaoq1h0ZoFJF5MC7y8p3kfztf/SpPQUYAMw4nSlad+0eAAAAAElFTkSuQmCC"),ArrowRightDownYellow:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQVJREFUeNpi/P//PwM1ABO6wJ4a8/83i1j+U2QQyBB9zX8MAjoaDKQaxoJiiDYrg4ilBQPDvx9gMZBh6n1/GIl2EdgQHV4GEVsPoAgHGIs5OBB0GbIc2CDZb2cZ/v36zcDAyAE3iJBhN4tZ/2O4COT8DxeOMrzau5kow0BsAU0J7GEEMgymWMzZFyUaQIYhe0VAS45BzFKF4cO155gGEWOYmB0wIv7/gETGv5/YXUSMYWDwD1vqw2IQuYYx4YpaWASAAx0tAuBihFwEB4xAe5jY8XqJoEEgrwmauCEMImAYCy5DBIy9GMQ8koCafzH8ZyIc2IzoxQipmRWWFxlpVh6RCwACDADTG3TsSFHrCwAAAABJRU5ErkJggg=="),ArrowRightGray:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL9JREFUeNrMlE8OxBAYxT+TuUixs2liYWHlZD2aE+gR6iLFhKTS0k6ZdDEvEcLnl/fiDwohwBN6wUNqBimlwmOOvsG6QIyxS9i7xfYGkVKCcy7Va61RBYqapikVee9TH9u6rtVYCJFqSliOFhf3kBK6n+OcAyHkkCSDyg13bRxHGIYhwypHZy7OXM3zDNZa2OL95MgYc4BEofhEWk6NUprinEEyqPUyYoxhWZYK0n0hryDdoCtIV7T/+0bu9BFgAJkB9COMwS2UAAAAAElFTkSuQmCC"),ArrowRightUpGray:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQtJREFUeNq0lE+uREAQxqtl4gJiZ+MAWIitPyuX4GyuYcUKK7Fm5xYW6HklaenX3WbG5L1KKh2drp+vPtUIpRT+IogISpLkFrmua6IEMZjv+5CmKWzbBuu6SitmURQnSLt6S9/3UJblUbjv+7HyiXt8aK8kD8MgFfPPH4EwsG1RyW0Q+uS67mVbH4EYJAzD7xUhxPM8iKLopT+i2Y8rCH5evrjrOpim6Thn2zY4jqMGXSnhIWxm8Kw4fxoPieNYaqFt218QNhrzPMsgy7JA13VJiQrCoqoqorxreZ5T0zQhCILDn6ZpYBxHJeTtpUWYYRiwLMstyDm9fGZZRn+8ouL+uyT/9j/6Np4CDAAvBnYmNVluYQAAAABJRU5ErkJggg=="),ArrowRightUpYellow:r.fromBase64("data:image/png;base64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Ioh6EILEglqry/CtRbQWy+EEhWOZM1NMcJDMPn4vSKy18MRDYwO6rrO3IUTKsvwIozGk73soiiKK0RBSVRUMwwDLskDbtpDn+SVGQwgmmed5LcSEEJBlWRCjV0k2aKu6riFN01OMniFuEh/jnANj7IARPEd+Jy6ulHL90Rizt+M4wjRNb0m01gTbxH1x0zVNc0iDiD82uv0+gvXTOfIRXK9HoNuJ3J27nQixv00tCX1QSn11H5GnLraXAAMACjzifAPsf9sAAAAASUVORK5CYII="),ArrowUpGreen:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANRJREFUeNpi/P//PwM1ABMhBWrxMv8pNghkiLKOAVGGMREyRN/GkUFBS5egYUyEDPnz/y+Dlo0dg6ymNl7DmAgZAsJ///1lULOyYpDS0MBpGBMxhoDZQFrJ3JxBXF0Nq2FMxBoCY8uaGjOIqCpjGMYISkfognJaOgyaVjYYhtw9cZLh9a3bKC65tfAJI4hmQeYgu07V0hLFEBAbZAi6WoLRj24IiCYrHaEbAuKTZRC6IWS7CN0Q8g1CM4Rsr6Eb8peAi1hwSVxevpak8oiRWgUbQIABALWj3x6/E6sXAAAAAElFTkSuQmCC"),CheckGreen:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNpi/P//PwM1ABMDlQALiDBI1iBFTy+ULgYRF+beQBhEAmgXUpYp+gcMjQ/3nsANI9WgChEVmQpRHRWGf8AQ+fX1e9G3l293A8V3kBJGHkDcIqapyMDMysLw+uodBqAhy2CGEGuQIhAvVbUzYGbj4mB4ff0+w7vbj84CxVJIiTVmkCEKRqpCgjKiDB8ev2R4eeXua6CYPxB/x2VQFBBfAuJwJLFSGQ1ZS2ktBYZ/f/8xvLkLDuAIIH6KKx0JAfFkF39TXVlliRVA9mEgdgXiRlltBbCCJxduM3x5+a4PyNyHMx0BwQRdEyUhMSkhBiEJQQYpJQmbe9ce75JWl2Xg4OZgeHTjCcOLm4+uAdVV4k2QoNC/fOae/e/f/+S0jJUZpBTEGETlxBh+/WNg+PbtF8PdU9d/Qb30i1AWAUWlxo2LD7pPH7zK8Ob5e7iCB5fugahuIL5MMItAASgWyh7ffXEWiOfo2WrzsHFzMjy5/ugOULyJnEy7EogdLh2++u7xjccM0HD5RW7uByU455cPXm4F0muISfqMg648AggwAJuyjeLhsHEtAAAAAElFTkSuQmCC"),CircleBlack:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUhJREFUeNqsk0Fqg0AUhl+CghtBEV24EZceIAHXzbo5SS7QA/QCOUldpxdIlp4g4EKJiAE3EqJ9f5hQR9o6UAd+5qEz38y8979F3/c0x9DGH3Rdd3l6ZW1YK1bAOrNOrAMrud1ul/G+xfBGDHnhaReG4dZ1XbIsiwzDoKZpqKoqKsuSsiz74DV7hn3+CBKQ9ziO177vU9d1D93vdynO85zSND3y2rchbDl4zm4KAjmOQ1EUrbFe7PsGISd4zhTkGdu2TZ7nbUUuJdAGOVGBPGPTNEkURAKtkFhVCGYUQVRVAgX4oQqBNO3hnGAMOqPEqhDEbduS8JcEOsEnqhAIBwuTSqADzKYKQSxAhzEogWNhNhXI9Xqluq7h8EQCid7Zw7FFUUxC+NCjaJPLn70Gs8EnqCSqg8TiKZC4ye+9Nmv3/2csaabxJcAAcxjHnyL9wHkAAAAASUVORK5CYII="),CircleCheckGreen:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnFJREFUeNqsk11Lk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hWJhNBzKbeDQbT+DwrgKS2enAsb7rpkK8G2cgY+L/OWswG3yCFqM7KCxqgufITX6ftUyn/z8rTxmtdwEGACHEx5NTsUeYAAAAAElFTkSuQmCC"),CircleRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWxJREFUeNqsk79Lw0AUx1+Lg2IRQargj9YaENvFxXYXiw6CBVf/hg6u/gGuDv1LzKhxcmtxcGlRNJAaKTRQhHZNzveVB+aKmgNz8OXlkrvP5d77voxSitIYM9MvriqFPIcTVp1VZRVZHqvDclj2ebcfTO/LxP+IIQccmuXdvcb6pkXLK6uUm1+gyceIhgOf/L5Lve7jNa9pMezuR5BALo9Oz2rWdoUoikiFEceQSCLm7kuPbm7tNq+9iMOyses0kyAUhrRVsOhw/7iG9bLvG4Sc4DpJkC/x99JGiXasckNyqYHqyIkJRMnzGudPCqKBqkisKQTKLy6RVFUDFVEdU4jieW52jsQaGshDiU0hiJPxmMRfGqgDn5hCcGAwGpKYVAM5MJspBAf6wwGJ0zWQDcfCbCYQ992jp7dXONzWQNI7LTjWdZ8TIc7DfVvaJPiz12A2+AQlRnWQWOQE15E/+b3XUu3+/4wspTQ+BRgAOf98T7zyo24AAAAASUVORK5CYII="),CircleYellow:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWZJREFUeNqsk0FLQkEUha+SYWRiREHwyiBBwiAIdB3kMhLqd0jQsh/Qso0/onWvXdiqVboJJBDDUJIi3eirKDSY7olrvZHqDfQGDvfxmPmYOffcgFKK/Fhjoz+u98dnuWyzsqw0K85qssqsIstOHfU7o+cC7hsxZJNLfnptIze5tEIT84sUmopRv9emt4dbem5UqVu5POE9BYad/wgSyOHCzl4mmlw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fHDmsAj3ev1KIj1JTrY7YMpY8fIAkfGE+bsfahcyNTHYfMQyzDmebXB67gh9VMCvT90pLbKAl7D82ykKZwLrAYXY8H9lXk4MPcBFk1ldMZ6tyxE/AdFFv5Lc0YQ3gHNT/+WqKuBfuBkyUlJGSVS+4KCkjxa5BFYreW0qx5VNScDtgrhAh5r9+bF8CDADfci8waj1snwAAAABJRU5ErkJggg=="),FlagRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbFJREFUeNqslNsrg3EYx7/vEm/DnFbkkFpulMNKUrh1607iQvkDlPuhzJRyQcmF041bdyJXkmOSY9w4jJlNo9m8NlM7+r56J7QZ5qlPz6/n/b3f9/v8Dq8QiUTwH5ESHYwaTXqmdlJJ5LGfrBJjd1/PRSIhIepoyNC7Xna811iQJqK4sBRifhFuvI/YFEVZsItik98JqaKDsZlp+5zTjSzLBVQuJ8SAH1VparRenaeWSO4JOm76kdDtncO0bbW5rrNz4X98QODZgxDdaUU1Khx2ecosxcoSCrHFE+lJOl1XayjkQkByIxQOIZKjhc7nRYPdWsBpBxQzkZq4QnJIHs/4ssVqu9VkvbkKvvgQTs8ENDnQW83odN5n1EIwaIFdii3EFWIsnl2abRvl1Vgp1WE/6Me9ilPoCsxe7xOtA05A7rUr5q69FwRhkMk20j+ww9ysoFceHypHYpi7aP/0oiz0EUY1mf9aT8TX1uTiEZOPzup/c7JVcepLpO1XdySWTUYeWSO5f25NEX9g2iMtSTlSXNWRraQcKbFLRC56XTKLLX8lxDRFOn4iJPzXj+1VgAEAH8EvI11TK0kAAAAASUVORK5CYII="),FlagYellow:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbZJREFUeNpi/P//PwM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AAAAElFTkSuQmCC"),FromRedToBlackPink:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNqsk7EKwkAMhnNV6CI4FF27+QYVnO2sT1IQRx/AUYQ+iZ3rLNg3cOuqOBS6OOiZQMBrENvD+yHk6P33cZcmSmsNLtSXH0773QjTAiPGiDBCjBKjwMgxstlqfZPnlHkjhMwxJWP9Wg5BwwC3fMwPUFArgArzVXkH9KQIO34FMWQ70c9p8OO5d6XgonpnXG5MmGc8J2mDkGiffOTncx8Q1YSeE3QsPPnIz7VsgGKqiY3YH0tQNLDsAvZHEhT6ljdifyhBJf1iG7G/lKCituMA+wsJyivLG7E/l6CMOpaarYvIxx2eNUA8Oyl1bBvM6OzUnDn3s+Z0+v+RB470FmAAb6uGD7csPvsAAAAASUVORK5CYII="),FromRedToBlackRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNpi/P//PwM1AAu6wPEJfaJAyg+IXYDYFIjlgfghEJ8G4j1AvMmyoOg1uj5GZBcBDXEGUrliJ07689+6zcDz+BED+7v3DD+FBBm+yMoxfFRTZXhlYb4RqGYy0LC9KCaBDALhY/29zkB88o2+HshonBgkD1IHUg/T+x8iCzZEFIg3EDIEzbANIH0wg5igDvMDeUf44iWiAhakDqQeGpZgADPIBRQmpACoehd0g0xBAUsKgKo3RTdIHhQ7pACoenl0gx6CopgUAFX/EN2g06B0QgqAqj+NbtAeUGIjBUDV70E3aBMoxb7V1yPKEJA6aArfhGIQNO9MvpUQf4qQYSB5kDpoNnlN9bzGiF6MUCX3UwKYGKgEAAIMAARGyzW+NImdAAAAAElFTkSuQmCC"),Latin1:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE9JREFUeNpi/P//PwM1AOPQMoiRkRFFEqiWEZdaJny2ADUqIrFD8allIsH1Z6hlEMOoQUPQIBkGAokOJwZJw7CCgsJ/fGoZR2juJwUABBgAdtBRjTJr3HoAAAAASUVORK5CYII="),Latin2:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpi/P//PwM1AOPQMIiRkRGv6UA9jOhiTDgUKiJrQuOHYtPDRISrFdD4Z8g1iCgwatAgM+gBGl8GVyrFwCBhGFZQUPiPzsemh3GE5X5yAECAAQDrlVERvvylPAAAAABJRU5ErkJggg=="),Latin3:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFpJREFUeNpi/P//PwM1AOPgNoiRkZEkU4F6GZE5yFgBJAQRxuCHYJGHYyY8Fiqg8c/gk2dioBIYNWiQGPQAjS+DVx45UcESGwgrKCj8J8RH1ss4QnI/JQAgwABSHWh1IkE1yAAAAABJRU5ErkJggg=="),Latin4:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwM1AOOgM4gBZBDUsP/4MBAoYFMLE2NCMlARiR2KxldEs18aSpvABJhwOPQMiDA1NYXxH6DJS0Lp54QMAgNFRUU/EG1mZoYSkEALzuTk5IBc+gwjjEBhgB4ebW1t5uhiQCAFFTNG0ovfIBANtB05UEFqjKHqpJANYiIUq+jew+otQl7D5j1s3i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AT2qf4KMADo908btDBkcwAAAABJRU5ErkJggg=="),LightsRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnNJREFUeNqsVE1vElEUPQ8GinwUWrR+p1YTA2hDXGgT11YtlLr2DxhWJv03jfFXoBjizsSdJZomtJoYpS0KxgCF6QzIfHneJNA2wsKkL7nzZvLuO/fcc+8d4TgOTmMpw5e11WwuFJkuhIJBWJYFy7ZdM03zyAwDg8EAQfo4lrlWeF18NbwvJCMJwvfC8oNlfChvotfvo0/T9R40XeeuQzvUuNN6PRgEk+ermZURmMtIMrm/tITn6+suejwSQeZWEk/nZgGvCUfp4y08KP5W0VW1UTrCqxTkNgIKk+pmueweLl6bx8snq7g9fxUMC+vHPuy9KrKmhfydJPLVBrb2aq5vp9M5qZFJTSTl2UgYL1YeIn33HjwLC3DaLcYTcNQunE4bScvERiqBXLuDpqqeENsjH1LU/h/mnLyJxfNnIWIxeK/fgDg3BxEMAT4fPb1w6JdSFGQSiX+q5gLZdJCMHsXCbnSrUYf56SPs6nfYB22AZyAbQTB4FTy+dHl8+Q2WVtN0YMqCXa/DoX72T+pAlvavBuxWExgYwJkwhD9ALSb0kewRWWI2A4FqENohnIC8QGD1wGUpFB/TnHbBoB5OBtI0DSV+ZsjG6ZMVRSY1Vxfh87NHYhDROEQghNKXz+M1MtixOoGK32rYkVGnggzBy0zDE5mBmLkAT/wiRDiGCtm+2dmeoBE7Ve/p6LJ78193sZFOI0UWQjCO3z8CrjD9Z+/fodntjgeSs2NIMbm2dvfZJwfIJFOszhVWbOBaieIXtytoHeufaDR6hCRnLZfN5IQQ8jfwXybvyfvSxPA3IgdXzs7xtp+0JJOx038ay4NTWn8FGAAI2k45EVMz0AAAAABJRU5ErkJggg=="),LightsYellow:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAY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o7QUQnDBfYwWf4CN/hBEf4hsWffyTJSA1d4dF7zyEEzjnLpPUo363j5lgDmYZh4LU2QOLJwhTSy0oWsgPSzHoL8lLOlnZAYq+gdmmVg0p+lvtpNpSlsQUZZc2I5gfRC+qgZmM77GX0RvxBXrS0B1RS2jdIQQkqASULilAJKNpm19lH1XZ2jbNG9hopPf1U6z5qm0r6CDAA2axZLQC7wZgAAAAASUVORK5CYII="),QuarterHalfGreen:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAapJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8ks+TxDrn/33/9+fL69YdbNy69f/T4zqXvP75NBxq2F6uLQIbIiMqmp/lky4U5RJnDxP8/ARJcbCw88tIiBnKSImpPDEQunjkiAFTPgGwYE8w7IJegG4IM/v3/x/Dn/18GJklBQW0jCyMODq5MaDAgDAKFCcg7hAz58w+E/zD8FecTlJZW0IOGJYpBLqAwIcaQ30D697/fDDIq6oLQCEEJI1NgwLJiMwibIb+BbBZBbgForKIYJC8vJo81fWAzBIR/sPxlgSYNFK89fPjq4TPsBmEaAsKsP4EEJH2hGHT64MV9T7AZhM0QEP77/vMHaCJFMWjP5uPr/2I3CNOQP///MLy4e/c9NKWjGLTp7tPbT1cdWHYS0yBMQ3je/nn/8tnjSyB9KAaB8s7P3z/nzNoy9RG6YdgMeXz58rmfP79PR85zBPNa3ZWZcqCABYUJyDsgl0AN2Ysz01It91MCmBioBAACDAD+QkmblNHNNgAAAABJRU5ErkJggg=="),QuarterHalfRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAadJ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;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARpJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8kIy8mL/Xw1cNnBy/ue7L5+Pq/d5/efvrz9885QMP2opgEMgiE1eNknZ2LrVat3L/0xH88ACQPUgdSD9MLdgzUEFG9ZJXlhAxBNgykHqQPZhAT1GF+IO+EOUSZExOwIHUg9dCwBAOYQS6gMCEllqDqXdANMgUFLCkGQdWboke/PDB2SEo3oNhE5sNc9BAUxaQYBFX/EN2g06B0QopBUPWn0Q3aA0pspBgEVb8H3aBNoBS76sCyk8QYAlIHUg/SR/WUTbW8xohejFAl91MCmBioBAACDAC69SCCZRqp9wAAAABJRU5ErkJggg=="),QuarterNoneRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARpJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOSEZCXl/rw8OGz+4f2PbmxZf3fd3dvP/3z8+ccoGF7UUwCGQTCfZqyznNdrVZdWrX0xH88ACQPUgdSD9MLdgzUENFJBirLCRmCbBhIPUgfzCAmqMP8QN7RDY0yJyZgQepA6qFhCQYwg1xAYUJKLEHVu6AbZAoKWFIMgqo3RY9+eWDskJRuQLGJzIe56CEoikkxCKr+IbpBp0HphBSDoOpPoxu0B5TYSDEIqn4PukGbQCn28uplJ4kxBKQOpB6kj+opm2p5jRG9GKFK7qcEMDFQCQAEGACDrSM46epEZgAAAABJRU5ErkJggg=="),QuarterQuarter:r.fromBase64("data:image/png;base64,iVBORw0KG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6stbwoKUE2zOtzhaQuisINQxExtZR5CW+nlJIJka8sliLD29FiQsQYL1p9WpUiQj5W+tNshOXGBlRkfUXUX4ie2ijMiBfyN/zgt9YGzuE3z4uaQFEjRVWgqJLNTkD3p7HaHCXaZGfgPlOiT7aQdTMqGf1rJI8RjAJv8wS2yt/PPbkg5zY6NZY6j1bRQvEWYAB1GjI1ev8a6gAAAABJRU5ErkJggg=="),QuarterThreeFourthGreen:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaZJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8kM/P+ejnG77//fHv99sO9W1ffP3l6/9KPH9+mAw3bi9VFIENkRGXT03yy5cIcosxh4n/v/2P4x8HIwigjJKIgbS2i8EJH5Ma5UwJA9QzIhjHBvANyCbohIPDv/z+Gv1AMYv8W5RJUNTQ24mDnzIQGA8IgUJiAvINuCNhFSIb8/fcXzP4hwikoKa2gBw1LFINcQGGCLTbQDYHxpVRUBaERghJGpsCAZcVmEDZD/v7/y8AiwCUAjVUUg+SBscMCDli0MMFmCIj9jfU/CzRpoHjtISiKiTUExGb/xfgHmr5QDDoNSifEGgKi/7//8gGaSFEM2gNKbMQaAqJf3L3zHprSUQzaBEqxDC8+vifGEN63v9+/ePb4EkgfikGgvANO9udOnWN69fk9IUMeXb587ufP79OR8xxGXgOlWFBiA6cTYBR/Y/3LAgpYUJiAvANyCdSQvTgzLdVyPyWAiYFKACDAAIlapLjIYf36AAAAAElFTkSuQmCC"),QuarterThreeFourthRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZxJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOS4TxwSO7L929/nr9+/uHOlQvvn9+/c+nX92/TgYbtxWoQyBB+Gdl009RsOd3QKHOYgp+z5zD8//uXgeEPEAPpe+9evL9w6ui5lw/vtSMbxgTzDsgl6IaAALIhDH/+MChyCwoaGFkYsXFyZUKDAWEQKExA3kE3BAyQDPkPM4ydR1BSVkEPGpYoBrmAwgRrdKAZAmOrKKkLQiMEJdZMgQHLitUgLIaAaDEuHgForKIYJA+MHZafe/djhAk2Q0ByPH//sUCTBorXHoKimFhDQGo+M/77A01fKAadBqUTYg0B8V99//wBmkhRDNoDSmzEGgJi33lw5z00paMYtAmUYkGJjRhDHvz/9f7F00eXQPpQDALlHVCyB6XY+x/fvCdkyMWbF8/9+vF9OnKew8hroBQLSmygdAKKYp6ff1lAAQsKE5B3QC6BGrIXZ6alWu6nBDAxUAkABBgAG6p7KNJI82AAAAAASUVORK5CYII="),Rating0:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIdJREFUeNqslGEKwCAIhVV2o87TWaqzdJ52pFqM7UcOmmlCiESP92mFrTXYEYf2YM459hT6St77SAYTwTkHjxhYhKA2BRpH4fukRbEIDSgmIR4oGf9fT7gSrfQEQYn26QkKbrYIZaJLUxQUGxrRquH9ktT6khDiHkfpLOXOb10Watz1sV0CDABFzzYl6O6gWAAAAABJRU5ErkJggg=="),Rating1:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFJREFUeNpi/P//PwM1AAu5GufPn/+fhYWF4c+fPwyJiYmMTGS7AGiIsbExmAYBJkq88+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=="),Rating4:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOhJREFUeNpi/P//PwM1ABO5Gg0DS44x6if8B9FgAZCLyMEMevH/q2Zs/w+iQXwmSrzz9+8/0r2G4RUg+E2OQRfuvbGsyooA03CD/vwlL7D/ILkABH6Ra9Cv339w8plICZOfGAYR4SJsYfLjJ6pBP3/9Ic5rP36havz+6zeqQdi8hs0rX3/8QjUI3UXYvIbNK1++/UR14c/fxAX2hy/fURR++voDr1dxRv+rd19QFH5GcxF6rOFMkC/foxqEHkbI0Q1OoH+wZBEDJZHjh4+eBNMw/unT51D4586dR+GfP38BzmekVsEGEGAAYtnSCDcWS3cAAAAASUVORK5CYII="),RhombRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNqs1GFOwjAUB/A/cyaAhJsYQ0gAlTowaLLhKTjImnkQb+EFqFHUkMXoSQx+MqP0dbBM3dqZsGRrP7z99rL332pSSuzjcOkyax+aasLteltWcPf5nUIm5OLMi6C6nj/NjZhrQ4KJDyQJ5HodieeHUsy1Ie3mESEIRlcAYa+PhZhTBaGOaB+wS7DuIMq9t1KoEEEO889HYJ3eH8ypitAqCWs04Q8Y2En3B+b8B8k6I6w3BDvuZNgOOqARO+q0IbuVaiG39+amxiknCglvxtdoqSeakNXXCvcLAfER0/T47/FznRPCvAla9UZlpChHXOdEYdPhWGNVkLJAcrFcpNipp7C6FTElm4v4RWFJOO0z3ZEJsX1rXLwtdWc0HRNig1LsPc72psLavn5sGwEGAFmY/uoyH+ELAAAAAElFTkSuQmCC"),Square0:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0WhGShxsEUlSUEgKRZQTi/2DE0D9njSUx8nCDQODrj18IqxiBqtG8TEgebtCX70gK/0NtRgKE5OEGff72A6gA6m64HxCAkDySQRAbGaG2occlIXkWWOjvP3gMa6wQIw+xYDQdjaajQZSOmBioBAACDACh/KcFkAtFXQAAAABJRU5ErkJggg=="),Square1:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMVJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0Wi1atKgByK3Hor8xLi6uAW4QyJCilBCIFCMQ/wcjhv45a2CG15uYmGCYcubMGZDhCINA4OuPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5JlEMRFjFDX/Ccn1kCxs//gMayxBosdaMBixBo8WOmajgjJE52OiEhnxKcjQvJEpyNC8kSnI0LyRKcjQvJEpSMi0hn10hETA5UAQIABAEDQjPQ2214MAAAAAElFTkSuQmCC"),Square2:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMNJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxUhebhBIEVFKSFQNwLxfzBi6J+zxpIYeeQwYvj64xfCKkagajQvE5KHG/TlO5LC/1CbkQAhebhBn7/9ACqAuhvuBwQgJI9k0C9oNELUoMclIXkWWOjvP3gMa6wQI0/VdES1LAIQYAB+fHLbqufYXAAAAABJRU5ErkJggg=="),Square3:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxXR6QhkSFFKCNSNQPwfjBj656yxJDKdwcOI4euPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5Jl0C9oNELM+E9OrIFiZ//BY1hjje7piGpZBCDAAJeNWMpRbKWWAAAAAElFTkSuQmCC"),Square4:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGxtF0NJqOBlM6oprXAAIMAGHFPrGNYSSXAAAAAElFTkSuQmCC"),StarFull:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjdJREFUeNqslE1oE0EUx2dmZ3dnzYdiWmwaPxpqYiu0pdSUFKEnD6IHBW+lJ8WDeJCeeiw9evAqeBQ8iJKLeK09KCqCVFBUkJLa+NE02TRNdmG/ZsZZW0NMtolIB/77mJn3fvvmMW8g5xzsx8D+J7c4vuc+VpTvEMIl17Zn9nK6srACUKe/SBjfSaTTUc7YZTE90sm3EyjCGLs5dHaSnBg9TWSi3v8vkKyq95JjIxwJj9TEKFRUJSuWM/8CCglNC83JhOREbS6eyk5gzlzga/zc1EEs4ycSlu4Kn1mh4bZii8A16jj94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oQMujs+/fvmU6fOXv4589f9UD+fnAi+/t3LZDKf/z4SefTp8+SgeHIQcigB0ADdEE0tvABBnI5CGOTY6RWwQYQYACCusaAujfEdQAAAABJRU5ErkJggg=="),StarQuarter:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAkxJREFUeNqslMtrE1EUh8+daSbJxKmCMlZMfNAm2DysBYtWtGqr4E4piCKuBBfiwoWgf4W4cuFCsLgRfKEIIpqoUNuqRARBBR9RmyZpnm2TyeNO7lzPRCwWM7OQHrgz3HPOfHPOub8ZwjmH5bAO83Lz1l3LONqMIJAopfoJq6TjR0dBsHuLKIqXNm7wdRoGP4LbtXa5diDFMIyz2/oiLr+/2yVJ0th/gdyZ2+8D/h6OVUEkFCROp7QT3QO2M2q1kXuhAqsfA1YbkUQ64DCK6/q2hsmf+O5dgyufxp49wLO512w2J9AVx/VxCUj+eVVntVKHoq7nq71eskpdA5Vidmmfygo4MLy/K53JnMnnCycLxRKv1+uyw+GIYvjQ74oI4f7BPRDce5AYzQYYugafxpP/Dg1hitID2LJi7l9OTJWzuXxqcUYNZyD09e07YyGbakEYrYAJtLPJqdeVXD7/UNf1U4sgpu77TOXeyPOxa7w6lwPWmAfO6paQV2/i2mw2F/tbW4unxtThD3pnfzh2/UYLZFVRciYF6XRmklJ62PL4TRjOC6hWxIrag2q1GqC+ErY6ErOxgCCISNTAsAB5PB5UvLDFUkct483tktvJGS0TznSIP7oMmrJjwSPLUiQcQnU7ECRjRXyTPcjQ+11uEQqpEpSwuyrwBNVmL6C6hxLff5z2+bxGONjrYYx12X8iout+ea4KX77J82UheJ66Nnej9w4+eA7nIk9PJ688fhItEEKobUVMHRnHjCHz3m4+CLtornYxslw/tl8CDAAS2wfU7oS1lwAAAABJRU5ErkJggg=="),StarThreeFourth:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAA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swhqJDdi4i3IjkCCLDMAKqvX1S+rqV9WLEkSES4SBC8Utg5xxgc4GyfEz1Ro+nOiJ/g3KICWvDScMYDW7kCOL/gxyIpNK7RbcYYA4jVHu+zBfPMhJkX4Nqo1MqnQ6kL0Aa4asFIv90ZcwXVc3+RFkR0WyvS7sfqghWpv4kD94VeTdpm52ChL7FbH5ss6QymCIWCX8pWTnrITzhDZIlQLxWb5+YjF7x9v0SxyBskkMIXRxjl0gx+Xp9/nJgCEYlT1XXMH+MZ2Lo4nuu3Z90FaAAQBat3AkY5cdmgAAAABJRU5ErkJggg=="),TriangleRed:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATBJREFUeNrsk71OAkEQx/9zx1MgRE1UVimwsxITTWzsTGy04A1Q4nvg17soDYno+QiXU69QwUMe4faAHXcRhBA4G2JhnGR2k53Jb2bng5gZsxALM5I/DEqY41ykexVXSsEGgcgGow2l4zABttI2Ut+Ru8QgbbCsBI69Opl3GnTtMpPmldw6tg8KwzCdDjhqA5EEhxIIQ32HcKrXcINXnPgBDVxptP0Gtipy2Doq9CERIL8gBmBATu0GXuMdRb9Oo1+j8Tm60jCxLJDfPwRLk8UQUrurwG294dRr0niNaNJAnmWSnF1YQ353rw+RuL2vwG81UHwMaFKxadpkl0WKs6l5bG7swHmowv14QempSdO6RnErcqEzW5pbxHMQD+mJAcVpWST5Jx+j9L+0vwf6FGAAUqTDoUy9nwgAAAAASUVORK5CYII="),TriangleYellow:r.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVdJREFUeNpi/P//PwM1AAuIuFnEgk+NE5Teh0uBet8fBhYiLOsC4r9AbI5PERMBQ0J41Y2NeVQNzYDsQHINYgbiFn59KwYBAysQvwUqRrJByfx6FupcMnIMXLIKDHzaJlpAsVhSDeIE4joBPSMGhv/fwRjMZmBoBGI2UgzKETQyk2YX5mdg+PcdjDnEhBkEDUzlgHKZxBokBMQVArraQAO+oWB+HU2QfDUQ8xBjUKmQsaEQCzcLw/+/31AwKx87g6ChnihQTREhg6TB3tJXxXANDAvqqoAtg7ocp0F1wqZaPEwsf+Bhg46ZOYAmGGrwQL2I1SCQVclC+nLwmMKFhQzkwBEC9QGGQS0i5irMDP9/Am3+gRczMv1mEDZWYoMmBxSDjNmFecIFtcSACn8ShYV0xUH6EkB5Fp77gaD959svDLfnHyO19GCGZp1QRmqVR0wMVAIAAQYArNiUNokAcDwAAAAASUVORK5CYII=")},t}();e.StiIconSetHelper=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.System.Drawing.ContentAlignment,n=t.Base.JsonReportObject.IStiJsonReportObject,i=t.System.Enum,o=function(t){function o(n,i,o,a){void 0===n&&(n=e.StiIcon.None),void 0===i&&(i=r.MiddleLeft),void 0===o&&(o=null),void 0===a&&(a=null);var s=t.call(this)||this;return s._icon=e.StiIcon.None,s._alignment=r.MiddleLeft,s.icon=n,s.alignment=i,s.customIcon=o,s.customIconSize=a,s}return __extends(o,t),o.prototype.implements=function(){return t.prototype.implements.call(this).concat([n,"StiIndicator"])},o.prototype.saveToJsonObject=function(n){var i=t.prototype.saveToJsonObject.call(this,n);return i.addPropertyEnum("Icon",e.StiIcon,this.icon,e.StiIcon.None),i.addPropertyEnum("Alignment",r,this.alignment,r.MiddleLeft),i},o.prototype.loadFromJsonObject=function(t){var n,o;try{for(var a=__values(t.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Icon":this._icon=i.parse(e.StiIcon,l.value);break;case"Alignment":this._alignment=i.parse(r,l.value);break}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}},Object.defineProperty(o.prototype,"icon",{get:function(){return this._icon},set:function(t){this._icon=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"alignment",{get:function(){return this._alignment},set:function(t){this._alignment=t},enumerable:!1,configurable:!0}),o}(e.StiIndicator);e.StiIconSetIndicator=o}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAnchor="IStiAnchor"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAutoWidth="IStiAutoWidth"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBorderColor="IStiBorderColor"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBrush="IStiBrush"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBusinessObject="IStiBusinessObject"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCanGrow="IStiCanGrow"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCanShrink="IStiCanShrink"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiClone="IStiClone"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiComponent="IStiComponent"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiComponentGuid="IStiComponentGuid"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiComponentsOwnerRenderer="IStiComponentsOwnerRenderer"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiConditions="IStiConditions"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCrossTab="IStiCrossTab"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiCrossTabField="IStiCrossTabField"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataBarIndicator="IStiDataBarIndicator"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataRelation="IStiDataRelation"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDataSource="IStiDataSource"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiEditable="IStiEditable"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFilter="IStiFilter"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFont="IStiFont",t.ImplementsIStiFont=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGroup="IStiGroup"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGrowToHeight="IStiGrowToHeight"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiIgnoreBorderWhenExport="IStiIgnoreBorderWhenExport"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiIndicatorCondition="IStiIndicatorCondition"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepChildTogether="IStiKeepChildTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepDetailsTogether="IStiKeepDetailsTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepFooterTogether="IStiKeepFooterTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepGroupFooterTogether="IStiKeepGroupFooterTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepGroupTogether="IStiKeepGroupTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepHeaderTogether="IStiKeepHeaderTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiKeepReportSummaryTogether="IStiKeepReportSummaryTogether"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiMasterComponent="IStiMasterComponent"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiOddEvenStyles="IStiOddEvenStyles"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPageBreak="IStiPageBreak"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintAtBottom="IStiPrintAtBottom"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintIfDetailEmpty="IStiPrintIfDetailEmpty"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintIfEmpty="IStiPrintIfEmpty"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintOn="IStiPrintOn"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintOnAllPages="IStiPrintOnAllPages"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPrintOnEvenOddPages="IStiPrintOnEvenOddPages"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiRenderMaster="IStiRenderMaster"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiResetPageNumber="IStiResetPageNumber"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiShape="IStiShape"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiShift="IStiShift"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSimpleBorder="IStiSimpleBorder"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSort="IStiSort"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiText="IStiText"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextBrush="IStiTextBrush"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextFont="IStiTextFont"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextFormat="IStiTextFormat",t.ImplementsIStiTextFormat=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextHorAlignment="IStiTextHorAlignment",t.ImplementsIStiTextHorAlignment=[]}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextOptions="IStiTextOptions"}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiUnitConvert="IStiUnitConvert"}(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[t["Up"]=0]="Up",t[t["Down"]=1]="Down",t[t["Left"]=2]="Left",t[t["Right"]=3]="Right"}(e=t.StiShapeDirection||(t.StiShapeDirection={}))}(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.Base.StiJson,o,a=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return __extends(o,t),o.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},o.prototype.loadFromJsonObject=function(t){},o.loadFromJsonObjectInternal=function(t){var e=t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,r=StiOptions.Services.shapes.firstOrDefault((function(t){return t.serviceEnabled&&t.stimulsoft.getType().stimulsoft.getTypeName()==e}));if(null==r)throw n.format("Type {0} is not found!",e);var i=r.createNew();return i.loadFromJsonObject(t),i},o.createFromJsonObject=function(t){var e=t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value.toString(),r=StiOptions.Services.shapes.firstOrDefault((function(t){return t.serviceEnabled&&t.stimulsoft.getType().stimulsoft.getTypeName()==e}));if(null==r)throw new Error("Type is not found!");var n=r.createNew();return n.loadFromJsonObject(t),n},o.prototype.loadFromXml=function(t){},o.convertFromXml=function(t){switch(t.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.ShapeTypes.StiVerticalLineShapeType":return new r.StiVerticalLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTriangleShapeType":return new r.StiTriangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTrapezoidShapeType":return new r.StiTrapezoidShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTopAndBottomLineShapeType":return new r.StiTopAndBottomLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiSnipSameSideCornerRectangleShapeType":return new r.StiSnipSameSideCornerRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiSnipDiagonalSideCornerRectangleShapeType":return new r.StiSnipDiagonalSideCornerRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRoundedRectangleShapeType":return new r.StiRoundedRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRegularPentagonShapeType":return new r.StiRegularPentagonShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRectangleShapeType":return new r.StiRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiPlusShapeType":return new r.StiPlusShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiParallelogramShapeType":return new r.StiParallelogramShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiOvalShapeType":return new r.StiOvalShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiOctagonShapeType":return new r.StiOctagonShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiMultiplyShapeType":return new r.StiMultiplyShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiMinusShapeType":return new r.StiMinusShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiLeftAndRightLineShapeType":return new r.StiLeftAndRightLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiHorizontalLineShapeType":return new r.StiHorizontalLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFrameShapeType":return new r.StiFrameShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartSortShapeType":return new r.StiFlowchartSortShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartPreparationShapeType":return new r.StiFlowchartPreparationShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartOffPageConnectorShapeType":return new r.StiFlowchartOffPageConnectorShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartManualInputShapeType":return new r.StiFlowchartManualInputShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartDecisionShapeType":return new r.StiFlowchartDecisionShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCollateShapeType":return new r.StiFlowchartCollateShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCardShapeType":return new r.StiFlowchartCardShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiEqualShapeType":return new r.StiEqualShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDivisionShapeType":return new r.StiDivisionShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDiagonalUpLineShapeType":return new r.StiDiagonalUpLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDiagonalDownLineShapeType":return new r.StiDiagonalDownLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiComplexArrowShapeType":return new r.StiComplexArrowShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiChevronShapeType":return new r.StiChevronShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiBentArrowShapeType":return new r.StiBentArrowShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiArrowShapeType":return new r.StiArrowShapeType}return null},Object.defineProperty(o.prototype,"componentId",{get:function(){return e.StiComponentId.StiShapeTypeService},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return null},o}(t.Base.Services.StiService);r.StiShapeTypeService=a}(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,n,i){void 0===e&&(e=r.StiShapeDirection.Up),void 0===n&&(n=.3),void 0===i&&(i=.4);var o=t.call(this)||this;return o._direction=r.StiShapeDirection.Up,o._arrowWidth=.3,o._arrowHeight=.4,o.direction=e,o.arrowWidth=n,o.arrowHeight=i,o}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.addPropertyNumber("ArrowWidth",this.arrowWidth,.3),n.addPropertyNumber("ArrowHeight",this.arrowHeight,.4),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;case"ArrowWidth":this.arrowWidth=s.value.stimulsoft.toNumber();break;case"ArrowHeight":this.arrowHeight=s.value.stimulsoft.toNumber();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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this.direction=n.parse(r.StiShapeDirection,o.textContent);break;case"ArrowWidth":this.arrowWidth=o.textContent.stimulsoft.toNumber();break;case"ArrowHeight":this.arrowHeight=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"arrowWidth",{get:function(){return this._arrowWidth},set:function(t){t>=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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiBentArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiBentArrowShapeType=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.Right);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Right,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.Right),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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiChevronShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiChevronShapeType=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.Left);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Left,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.Left),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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiComplexArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiComplexArrowShapeType=i}(r=e.Components||(e.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.StiDiagonalDownLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiDiagonalDownLineShapeType=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.StiDiagonalUpLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiDiagonalUpLineShapeType=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.StiDivisionShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiDivisionShapeType=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.StiEqualShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiEqualShapeType=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.StiFlowchartCardShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiFlowchartCardShapeType=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.Down);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Left,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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiFlowchartCollateShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiFlowchartCollateShapeType=i}(r=e.Components||(e.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.StiFlowchartDecisionShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiFlowchartDecisionShapeType=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.StiFlowchartManualInputShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiFlowchartManualInputShapeType=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.Down);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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiFlowchartOffPageConnectorShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiFlowchartOffPageConnectorShapeType=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.Left);var n=t.call(this)||this;return n._direction=r.StiShapeDirection.Left,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.Left),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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiFlowchartPreparationShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiFlowchartPreparationShapeType=i}(r=e.Components||(e.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.StiFlowchartSortShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiFlowchartSortShapeType=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.StiFrameShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiFrameShapeType=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.StiHorizontalLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiHorizontalLineShapeType=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.StiLeftAndRightLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiLeftAndRightLineShapeType=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.StiMinusShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiMinusShapeType=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.StiMultiplyShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiMultiplyShapeType=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,r){void 0===t&&(t=!0),void 0===r&&(r=0);var n=e.call(this)||this;return n._autoSize=!0,n._bevel=0,n.autoSize=t,n.bevel=r,n}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("AutoSize",this.autoSize,!0),r.addPropertyNumber("Bevel",this.bevel,0),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"AutoSize":this._autoSize=o.value.stimulsoft.toBoolean();break;case"Bevel":this._bevel=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;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"AutoSize":this._autoSize=n.textContent.stimulsoft.toBoolean();break;case"Bevel":this._bevel=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiOctagonShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoSize",{get:function(){return this._autoSize},set:function(t){this._autoSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bevel",{get:function(){return this._bevel},set:function(t){t>=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;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Round":this._round=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRoundedRectangleShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"round",{get:function(){return this._round},set:function(t){t>0&&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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Direction":this._direction=n.parse(r.StiShapeDirection,o.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiTriangleShapeType},enumerable:!1,configurable:!0}),i.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return t.direction=this.direction,t},Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(r.StiShapeTypeService);r.StiTriangleShapeType=i}(r=e.Components||(e.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.StiVerticalLineShapeType},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(e.StiShapeTypeService);e.StiVerticalLineShapeType=r}(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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetExcelValue"},e}(t.StiEvent);t.StiGetExcelValueEvent=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"GetChecked"},e}(t.StiEvent);t.StiGetCheckedEvent=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.StiGetExcelValueEventHandler=new r("sender: any, e: StiGetExcelValueEventArgs");var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(n);e.StiGetExcelValueEventArgs=i}(r=e.Events||(e.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.Base.JsonReportObject.IStiJsonReportObject,o=t.Report.Events.StiGetExcelValueEventHandler,a=t.Report.Events.StiValueEventHandler,s=t.Report.Events.StiGetExcelValueEventArgs,l=t.Report.Events.StiGetExcelValueEvent,u=t.Report.Events.StiGetCheckedEvent,c=t.Base.StiJsonSaveMode,p=t.Report.Components.IStiEditable,h=t.Base.Drawing.StiBrush,m=t.Base.Drawing.StiSolidBrush,f=t.Base.Drawing.StiBorder,d=t.System.Drawing.Color,g=t.Base.StiJsonReportObjectHelper,S=t.System.Enum,y=t.Report.Expressions.StiExpression,A=t.System.Text.StiReportObjectStringConverter,b=t.Report.Events.StiValueEventArgs,v=function(v){function C(){var t=null!==v&&v.apply(this,arguments)||this;return t._brush=new m,t._border=new f,t._textBrush=new m(d.black),t._editable=!1,t._canBreak=!1,t._contourColor=d.black,t._size=1,t._checkStyle=r.StiCheckStyle.Check,t._values="true/false",t._checkStyleForTrue=r.StiCheckStyle.Check,t._checkStyleForFalse=r.StiCheckStyle.None,t._checked="",t._excelDataValue="",t._excelValue="",t}return __extends(C,v),C.prototype.implements=function(){return v.prototype.implements.call(this).concat([r.IStiBorder,r.IStiTextBrush,r.IStiBrush,r.IStiBreakable,p,i])},C.prototype.saveToJsonObject=function(t){var e,n=v.prototype.saveToJsonObject.call(this,t);return n.removeProperty("CanShrink"),n.removeProperty("CanGrow"),n.addPropertyStringNullOrEmpty("Brush",g.Serialize.jBrush(this.brush)),n.addPropertyStringNullOrEmpty("Border",g.Serialize.jBorder(this.border)),n.addPropertyStringNullOrEmpty("TextBrush",g.Serialize.jBrush(this.textBrush)),n.addPropertyBool("Editable",this.editable),n.addPropertyJObject("GetCheckedEvent",this.getCheckedEvent.saveToJsonObject(t)),n.addPropertyJObject("GetExcelValueEvent",this.getExcelValueEvent.saveToJsonObject(t)),n.addPropertyJObject("Checked",new y(this.checked).saveToJsonObject(t)),n.addPropertyJObject("ExcelValue",new y(this.excelValue).saveToJsonObject(t)),n.addPropertyStringNullOrEmpty("ExcelDataValue",this.excelDataValue),n.addPropertyStringNullOrEmpty("ContourColor",g.Serialize.jColor(this.contourColor,d.black)),n.addPropertyNumber("Size",this.size,1),n.addPropertyString("Values",this.values,"true/false"),n.addPropertyEnum("CheckStyleForTrue",r.StiCheckStyle,this.checkStyleForTrue,r.StiCheckStyle.Check),n.addPropertyEnum("CheckStyleForFalse",r.StiCheckStyle,this.checkStyleForFalse,r.StiCheckStyle.None),t==c.Document&&n.addPropertyString("CheckedValue",null===(e=this.checkedValue)||void 0===e?void 0:e.toString(),null),n},C.prototype.loadFromJsonObject=function(t){var e,n;v.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"Brush":this.brush=g.Deserialize.brush(a.value);break;case"Border":this.border=g.Deserialize.border(a.value);break;case"TextBrush":this.textBrush=g.Deserialize.brush(a.value);break;case"Editable":this.editable=a.value.stimulsoft.toBoolean();break;case"GetCheckedEvent":var s;(s=new u).loadFromJsonObject(a.value),this.getCheckedEvent=s;break;case"GetExcelValueEvent":var s;(s=new l).loadFromJsonObject(a.value),this.getExcelValueEvent=s;break;case"Checked":var c;(c=new y).loadFromJsonObject(a.value),this.checked=c.value;break;case"ExcelDataValue":this.excelDataValue=a.value;break;case"ExcelValue":var c;(c=new y).loadFromJsonObject(a.value),this.excelValue=c.value;break;case"ContourColor":this.contourColor=g.Deserialize.color(a.value);break;case"Size":this.size=a.value.stimulsoft.toNumber();break;case"Values":this.values=a.value;break;case"CheckStyleForTrue":this.checkStyleForTrue=S.parse(r.StiCheckStyle,a.value);break;case"CheckStyleForFalse":this.checkStyleForFalse=S.parse(r.StiCheckStyle,a.value);break;case"CheckedValue":this.checkedValue=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}}},C.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"Brush":case"bh":this.brush=h.loadFromXml(i.textContent);break;case"Border":case"br":this.border=f.loadFromXml(i.textContent);break;case"TextBrush":case"tb":this.textBrush=h.loadFromXml(i.textContent);break;case"Editable":this.editable=i.textContent.stimulsoft.toBoolean();break;case"GetCheckedEvent":break;case"GetExcelValueEvent":break;case"Checked":var o;(o=new y).loadFromXml(i),this.checked=o.value;break;case"ExcelDataValue":this.excelDataValue=i.textContent;break;case"ExcelValue":var o;(o=new y).loadFromXml(i),this.excelValue=o.value;break;case"ContourColor":this.contourColor=A.convertStringToColor(i.textContent);break;case"Size":this.size=i.textContent.stimulsoft.toNumber();break;case"Values":this.values=i.textContent;break;case"CheckStyleForTrue":this.checkStyleForTrue=S.parse(r.StiCheckStyle,i.textContent);break;case"CheckStyleForFalse":this.checkStyleForFalse=S.parse(r.StiCheckStyle,i.textContent);break}}},Object.defineProperty(C.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"editable",{get:function(){return this._editable},set:function(t){this._editable=t},enumerable:!1,configurable:!0}),C.prototype.clone=function(t){var e=v.prototype.clone.call(this,t);return null!=this._textBrush?e._textBrush=this._textBrush.clone():e._textBrush=null,e},Object.defineProperty(C.prototype,"canBreak",{get:function(){return this._canBreak||this.growToHeight&&null!=this.page&&this.height/this.page.pageHeight>.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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"StringFormat":this._stringFormat=r.textContent;break}}},u.loadFormatFromXml=function(t,n){var i=t.attributes.getNamedItem("type"),o=null!=i?i.value:null,a=t.getAttribute("Ref");null==n||null==n.jsonLoaderHelper||r.isNullOrEmpty(a)||r.isNullOrEmpty(o)||(n.jsonLoaderHelper.textFormatTypes[a.stimulsoft.toNumber()]=o);var s=t.getAttribute("isRef");switch(null==n||null==n.jsonLoaderHelper||r.isNullOrEmpty(s)||(o=n.jsonLoaderHelper.textFormatTypes[s.stimulsoft.toNumber()]),o){case"BooleanFormat":var l=new e.StiBooleanFormatService;return l.loadFromXml(t),l;case"CurrencyFormat":var u=new e.StiCurrencyFormatService;return u.loadFromXml(t),u;case"CustomFormat":var c=new e.StiCustomFormatService;return c.loadFromXml(t),c;case"DateFormat":var p=new e.StiDateFormatService;return p.loadFromXml(t),p;case"GeneralFormat":var h=new e.StiGeneralFormatService;return h.loadFromXml(t),h;case"NumberFormat":var m=new e.StiNumberFormatService;return m.loadFromXml(t),m;case"PercentageFormat":var f=new e.StiPercentageFormatService;return f.loadFromXml(t),f;case"TimeFormat":var d=new e.StiTimeFormatService;return d.loadFromXml(t),d}return null},u.loadFromJsonObjectInternal=function(t){var e=StiOptions.Services.formats,r=t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,n=e.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r})).createNew();return n.loadFromJsonObject(t),n},Object.defineProperty(u.prototype,"position",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"sample",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"nativeFormatString",{get:function(){return"{0}"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isFormatStringFromVariable",{get:function(){if(this.stimulsoft.is(e.StiCustomFormatService)&&null!=this.stringFormat){var t=this.stringFormat.trim();return t.length>2&&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;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"NullDisplay":this.nullDisplay=n.textContent;break}}},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,s){if(null==s||s.stimulsoft.is(n))return this.nullDisplay;if(r.isNullOrEmpty(e))return s.toString();var l,l;s.stimulsoft.is(String)&&(StiOptions.Engine.allowConvertingInFormatting?null!=(l=t.Base.Helpers.StiValueHelper.tryToDateTime(s))&&(s=l):null!=(l=i.fromString(s.toString()))&&(s=l));if(s.stimulsoft.is(i)||s.stimulsoft.is(o)){var u=e.toUpperCase();if("Q"==u||"QI"==u||"YQ"==u||"YQI"==u)return a.formatQuarter(e,s);if(s.stimulsoft.is(i))return s.toString(e);if(s.stimulsoft.is(o))return s.toString(e)}return s.toString()},a.formatQuarter=function(e,n){if(n.stimulsoft.is(i)){var o=n;if("Q"==e)return t.Data.Functions.Funcs.quarterName(o);if("QI"==e)return t.Data.Functions.Funcs.quarterIndex(o).toString();if("YQ"==e)return r.format("{0}-{1}",o.year,t.Data.Functions.Funcs.quarterName(o));if("YQI"==e)return r.format("{0}-{1}",o.year,t.Data.Functions.Funcs.quarterIndex(o))}return n.ToString()},Object.defineProperty(a.prototype,"nullDisplay",{get:function(){return this._nullDisplay},set:function(t){this._nullDisplay=t},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},a}(e.StiFormatService);e.StiDateFormatService=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.ICloneable,i=t.System.Globalization.NumberFormatInfo,o=t.System.Globalization.CultureInfo,a=t.Report.Components.StiTextFormatState,s=t.System.Enum,l=function(){function t(t,e,r,n,i,o,a,s,l){this.negativePattern=t,this.decimalSeparator=e,this.decimalDigits=r,this.groupSeparator=n,this.groupSize=i,this.useGroupSeparator=o,this.useLocalSetting=a,this.nullDisplay=s,this.states=l}return t.prototype.implements=function(){return[n]},t.prototype.clone=function(){return new t(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.states)},t}(),u=function(e){function n(t,r,n,i,s,l,u,c,p,h){void 0===t&&(t=null),void 0===r&&(r=0),void 0===n&&(n=null),void 0===i&&(i=null),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=!0),void 0===c&&(c=!0),void 0===p&&(p=" "),void 0===h&&(h=null);var m=e.call(this)||this;return null==t&&(t=o.currentCulture.numberFormat.numberNegativePattern),null==n&&(n=o.currentCulture.numberFormat.numberDecimalSeparator),null==i&&(i=o.currentCulture.numberFormat.numberDecimalDigits),null==s&&(s=o.currentCulture.numberFormat.numberGroupSeparator),null==l&&(l=o.currentCulture.numberFormat.numberGroupSizes[0]),null==h&&(h=a.None),m.decimalDigits=i,m.decimalSeparator=n,m.groupSeparator=s,m.groupSize=l,m.negativePattern=t,m.useGroupSeparator=u,m.useLocalSetting=c,m.nullDisplay=p,m.state=h,m}return __extends(n,e),n.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("StringFormat"),r.addPropertyNumberNoDefaultValue("NegativePattern",this.negativePattern),r.addPropertyString("DecimalSeparator",this.decimalSeparator,"."),r.addPropertyNumber("DecimalDigits",this.decimalDigits,2),r.addPropertyString("GroupSeparator",this.groupSeparator),r.addPropertyNumber("GroupSize",this.groupSize,3),r.addPropertyBool("UseGroupSeparator",this.useGroupSeparator,!0),r.addPropertyBool("UseLocalSetting",this.useLocalSetting,!0),r.addPropertyString("NullDisplay",this.nullDisplay," "),r.addPropertyString("State",s.getName(a,this.state),"None"),r},n.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 l=o.value;switch(l.name){case"NegativePattern":this.negativePattern=l.value.stimulsoft.toNumber();break;case"DecimalSeparator":this.decimalSeparator=l.value;break;case"DecimalDigits":this.decimalDigits=l.value.stimulsoft.toNumber();break;case"GroupSeparator":this.groupSeparator=l.value;break;case"GroupSize":this.groupSize=l.value.stimulsoft.toNumber();break;case"UseGroupSeparator":this.useGroupSeparator=l.value.stimulsoft.toBoolean();break;case"UseLocalSetting":this.useLocalSetting=l.value.stimulsoft.toBoolean();break;case"NullDisplay":this.nullDisplay=l.value;break;case"State":this.state=s.parse(a,l.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(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"NegativePattern":this.negativePattern=n.textContent.stimulsoft.toNumber();break;case"DecimalSeparator":this.decimalSeparator=n.textContent;break;case"DecimalDigits":this.decimalDigits=n.textContent.stimulsoft.toNumber();break;case"GroupSeparator":this.groupSeparator=n.textContent;break;case"GroupSize":this.groupSize=n.textContent.stimulsoft.toNumber();break;case"UseGroupSeparator":this.useGroupSeparator=n.textContent.stimulsoft.toBoolean();break;case"UseLocalSetting":this.useLocalSetting=n.textContent.stimulsoft.toBoolean();break;case"NullDisplay":this.nullDisplay=n.textContent;break;case"State":this.state=s.parse(a,n.textContent);break}}},n.prototype.clone=function(){var t=e.prototype.clone.call(this);return null!=this.bits&&(t.bits=this.bits.clone()),t},Object.defineProperty(n.prototype,"nullDisplay",{get:function(){return null==this.bits?" ":this.bits.nullDisplay},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,t,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"negativePattern",{get:function(){return null==this.bits?1:this.bits.negativePattern},set:function(t){if(1==t&&null==this.bits)return;null!=this.bits?this.bits.negativePattern=t:this.bits=new l(t,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"decimalSeparator",{get:function(){return null==this.bits?".":this.bits.decimalSeparator},set:function(t){if("."==t&&null==this.bits)return;null!=this.bits?this.bits.decimalSeparator=t:this.bits=new l(this.negativePattern,t,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"decimalDigits",{get:function(){return null==this.bits?2:this.bits.decimalDigits},set:function(t){if(2==t&&null==this.bits)return;null!=this.bits?this.bits.decimalDigits=t:this.bits=new l(this.negativePattern,this.decimalSeparator,t,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupSeparator",{get:function(){return null==this.bits?" ":this.bits.groupSeparator},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.groupSeparator=t:this.bits=new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,t,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupSize",{get:function(){return null==this.bits?3:this.bits.groupSize},set:function(t){if(3==t&&null==this.bits)return;t>9&&(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.length<t.numberDecimalDigits)u="0"+u;n+=t.numberDecimalSeparator+u}if(i)switch(t.numberNegativePattern){case 0:n="("+n+")";break;case 2:n=t.negativeSign+" "+n;break;case 3:n+=t.negativeSign;break;case 4:n=n+" "+t.negativeSign;break;default:n=t.negativeSign+n;break}return n},n.prototype.createNew=function(){return new n},n}(e.StiFormatService);e.StiNumberFormatService=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(r){var n=t.System.StiString,i=t.System.Data.DBNull,o=t.System.Globalization.NumberFormatInfo,a=t.System.Globalization.CultureInfo,s=function(r){function s(t,n,i,o,s,l,u,c,p,h,m,f){void 0===t&&(t=a.currentCulture.numberFormat.currencyPositivePattern),void 0===n&&(n=a.currentCulture.numberFormat.currencyNegativePattern),void 0===i&&(i=0),void 0===o&&(o=a.currentCulture.numberFormat.currencyDecimalSeparator),void 0===s&&(s=a.currentCulture.numberFormat.currencyDecimalDigits),void 0===l&&(l=a.currentCulture.numberFormat.currencyGroupSeparator),void 0===u&&(u=a.currentCulture.numberFormat.currencyGroupSizes[0]),void 0===c&&(c="$"),void 0===p&&(p=!0),void 0===h&&(h=!0),void 0===m&&(m=" "),void 0===f&&(f=e.StiTextFormatState.None);var d=r.call(this)||this;return d._positivePattern=1,d._symbol="$",d.decimalDigits=s,d.decimalSeparator=o,d.groupSeparator=l,d.groupSize=u,d.negativePattern=n,d.positivePattern=t,d._symbol=c,d.useGroupSeparator=p,d.useLocalSetting=h,d.nullDisplay=m,d.state=f,d}return __extends(s,r),s.prototype.saveToJsonObject=function(t){var e=r.prototype.saveToJsonObject.call(this,t);return e.removeProperty("StringFormat"),e.addPropertyNumberNoDefaultValue("PositivePattern",this.positivePattern),e.addPropertyString("Symbol",this.symbol,"$"),e},s.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"PositivePattern":this.positivePattern=a.value.stimulsoft.toNumber();break;case"Symbol":this.symbol=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}}},s.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"PositivePattern":this.positivePattern=n.textContent.stimulsoft.toNumber();break;case"Symbol":this.symbol=n.textContent;break}}},Object.defineProperty(s.prototype,"positivePattern",{get:function(){return this._positivePattern},set:function(t){this._positivePattern=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"symbol",{get:function(){return this._symbol},set:function(t){this._symbol=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"nativeFormatString",{get:function(){return"{0:C2}"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"sample",{get:function(){return-1234.12345679},enumerable:!1,configurable:!0}),s.prototype.equals=function(t){var e=t;if(null==e)return!1;if(!r.prototype.equals.call(this,e))return!1;if(this.positivePattern!=e.positivePattern)return!1;if(this.symbol!=e.symbol)return!1;return!0},s.prototype.format=function(t){return this.format2(this.stringFormat,t)},s.prototype.format2=function(r,s){if(null==s)return this.nullDisplay;if(null==s||s.stimulsoft.is(i))return this.nullDisplay;var l=new o;if(this.useLocalSetting?(this.fillLocalSetting(l),(this.state&e.StiTextFormatState.DecimalDigits)>0&&(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<r.length?r[t]:"$n"},s.prototype.getNegativePattern=function(){var t=this.useLocalSetting&&0==(this.state&e.StiTextFormatState.NegativePattern)?a.currentCulture.numberFormat.currencyNegativePattern:this.negativePattern,r=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];return t>=0&&t<r.length?r[t]:"($n)"},s.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.abs(r),o=Math.round2(r,t.currencyDecimalDigits)<0,a=Math.floor(i),s=0;if(0==t.currencyDecimalDigits)a=Math.round(Math.abs(r));else{var l=Math.pow(10,t.currencyDecimalDigits);(s=Math.round2(Math.round2(Math.round2(i-a,t.currencyDecimalDigits+1),t.currencyDecimalDigits)*l))>=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.length<t.currencyDecimalDigits)u="0"+u;n+=t.currencyDecimalSeparator+u}if(o)switch(t.currencyNegativePattern){case 0:n="("+t.currencySymbol+n+")";break;case 1:n="-"+t.currencySymbol+n;break;case 2:n=t.currencySymbol+"-"+n;break;case 3:n=t.currencySymbol+n+"-";break;case 4:n="("+n+t.currencySymbol+")";break;case 6:n=n+"-"+t.currencySymbol;break;case 7:n=n+t.currencySymbol+"-";break;case 8:n="-"+n+" "+t.currencySymbol;break;case 9:n=n+" "+t.currencySymbol+"-";break;case 10:n=t.currencySymbol+" "+n+"-";break;case 11:n=t.currencySymbol+" "+"-"+n;break;case 12:n=n+"- "+t.currencySymbol;break;case 13:n="("+t.currencySymbol+" "+n+")";break;case 14:n="("+n+" "+t.currencySymbol+")";break;case 15:n="("+t.currencySymbol+" "+n+")";break;case 16:n="("+n+" "+t.currencySymbol+")";break;default:n="-"+n+t.currencySymbol;break}else switch(t.currencyPositivePattern){case 0:n=t.currencySymbol+n;break;case 1:n+=t.currencySymbol;break;case 2:n=t.currencySymbol+" "+n;break;case 3:n=n+" "+t.currencySymbol;break}return n},s.prototype.createNew=function(){return new s},s}(r.StiNumberFormatService);r.StiCurrencyFormatService=s}(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(r){var n=t.System.StiString,i=t.System.Data.DBNull,o=t.System.Globalization.NumberFormatInfo,a=t.System.Globalization.CultureInfo,s=function(t){function r(r,n,i,o,s,l,u,c,p,h,m,f){void 0===r&&(r=a.currentCulture.numberFormat.percentPositivePattern),void 0===n&&(n=a.currentCulture.numberFormat.percentNegativePattern),void 0===i&&(i=0),void 0===o&&(o=a.currentCulture.numberFormat.percentDecimalSeparator),void 0===s&&(s=a.currentCulture.numberFormat.percentDecimalDigits),void 0===l&&(l=a.currentCulture.numberFormat.percentGroupSeparator),void 0===u&&(u=a.currentCulture.numberFormat.percentGroupSizes[0]),void 0===c&&(c=a.currentCulture.numberFormat.percentSymbol),void 0===p&&(p=!0),void 0===h&&(h=!0),void 0===m&&(m=" "),void 0===f&&(f=e.StiTextFormatState.None);var d=t.call(this)||this;return d.decimalDigits=s,d.decimalSeparator=o,d.groupSeparator=l,d.groupSize=u,d.negativePattern=n,d.positivePattern=r,d.symbol=c,d.useGroupSeparator=p,d.useLocalSetting=h,d.nullDisplay=m,d.state=f,d}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("StringFormat"),r},r.prototype.format=function(t){return this.format2(this.stringFormat,t)},r.prototype.format2=function(t,r){if(null==r||r.stimulsoft.is(i))return this.nullDisplay;var s=new o;return this.useLocalSetting?(this.fillLocalSetting(s),(this.state&e.StiTextFormatState.DecimalDigits)>0&&(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.length<t.percentDecimalDigits)u="0"+u;n+=t.percentDecimalSeparator+u}if(i)switch(t.percentNegativePattern){case 0:n="-"+n+" "+t.percentSymbol;break;case 2:n="-"+t.percentSymbol+n;break;default:n="-"+n+t.percentSymbol;break}else switch(t.percentPositivePattern){case 0:n=n+" "+t.percentSymbol;break;case 2:n=t.percentSymbol+n;break;default:n+=t.percentSymbol;break}return n},r.prototype.createNew=function(){return new r},r}(r.StiCurrencyFormatService);r.StiPercentageFormatService=s}(r=e.TextFormats||(e.TextFormats={}))}(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(t){function e(){var e=t.call(this)||this;return e.stringFormat="",e}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("StringFormat"),r},Object.defineProperty(e.prototype,"sample",{get:function(){return""},enumerable:!1,configurable:!0}),e.prototype.equals=function(t){var e;if(null==t)return!1;return!0},e.prototype.createNew=function(){return new e},e.default=new e,e}(t.StiFormatService);t.StiGeneralFormatService=e}(e=t.TextFormats||(t.TextFormats={}))}(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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetValue"},e}(t.StiEvent);t.StiGetValueEvent=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.StiGetValueEventHandler=new r("sender: any, e: StiGetValueEventArgs");var i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e}return __extends(e,t),e}(n);e.StiGetValueEventArgs=i}(r=e.Events||(e.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.Base.JsonReportObject.IStiJsonReportObject,o=t.Report.Events.StiGetValueEventHandler,a=t.Report.Events.StiGetValueEvent,s=t.System.Enum,l=t.Report.Components.IStiEditable,u=t.Base.Drawing.StiPenStyle,c=t.Report.Events.StiGetValueEventArgs,p=t.Report.Events.StiValueEventArgs,h=t.System.Drawing.Rectangle,m=t.Report.Expressions.StiExpression,f=t.Report.Components.TextFormats.StiCurrencyFormatService,d=function(d){function g(t,e){void 0===t&&(t=h.empty),void 0===e&&(e=!1);var r=d.call(this)||this;return r._linesOfUnderline=u.None,r._hideZeros=!1,r._editable=!1,r._text="",r._totalValueHelp=null,e||r.construct(t),r}return __extends(g,d),g.prototype.implements=function(){return g.ImplementsStiSimpleText||(g.ImplementsStiSimpleText=d.prototype.implements.call(this).concat([r.IStiText,l,i])),g.ImplementsStiSimpleText},g.prototype.saveToJsonObject=function(t){var e=d.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("GlobalizedName",this.globalizedName),e.addPropertyEnum("LinesOfUnderline",u,this.linesOfUnderline,u.None),e.addPropertyBool("HideZeros",this.hideZeros),e.addPropertyEnum("ProcessingDuplicates",r.StiProcessingDuplicatesType,this.processingDuplicates,r.StiProcessingDuplicatesType.None),e.addPropertyNumber("MaxNumberOfLines",this.maxNumberOfLines),e.addPropertyBool("OnlyText",this.onlyText),e.addPropertyBool("Editable",this.editable),e.addPropertyBool("ProcessAtEnd",this.processAtEnd),e.addPropertyEnum("ProcessAt",r.StiProcessAt,this.processAt,r.StiProcessAt.None),e.addPropertyJObject("Text",new m(this.text).saveToJsonObject(t)),e.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("TotalValueHelp",this.totalValueHelp),e},g.prototype.loadFromJsonObject=function(t){var e,n;d.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"GlobalizedName":this.globalizedName=l.value;break;case"LinesOfUnderline":this._linesOfUnderline=s.parse(u,l.value);break;case"HideZeros":this._hideZeros=l.value.stimulsoft.toBoolean();break;case"ProcessingDuplicates":this.processingDuplicates=s.parse(r.StiProcessingDuplicatesType,l.value);break;case"MaxNumberOfLines":this.maxNumberOfLines=l.value.stimulsoft.toNumber();break;case"OnlyText":this.onlyText=l.value.stimulsoft.toBoolean();break;case"Editable":this._editable=l.value.stimulsoft.toBoolean();break;case"ProcessAtEnd":this.processAtEnd=l.value.stimulsoft.toBoolean();break;case"ProcessAt":this.processAt=s.parse(r.StiProcessAt,l.value);break;case"Text":var c=new m;c.loadFromJsonObject(l.value),this._text=c.value;break;case"GetValueEvent":var p=new a;p.loadFromJsonObject(l.value),this.getValueEvent=p;break;case"TotalValueHelp":this._totalValueHelp=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}}},g.prototype.loadFromXml=function(t,e){d.prototype.loadFromXml.call(this,t,e);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"GlobalizedName":this.globalizedName=i.textContent;break;case"LinesOfUnderline":this._linesOfUnderline=s.parse(u,i.textContent);break;case"HideZeros":this._hideZeros=i.textContent.stimulsoft.toBoolean();break;case"ProcessingDuplicates":this.processingDuplicates=s.parse(r.StiProcessingDuplicatesType,i.textContent);break;case"MaxNumberOfLines":this.maxNumberOfLines=i.textContent.stimulsoft.toNumber();break;case"OnlyText":this.onlyText=i.textContent.stimulsoft.toBoolean();break;case"Editable":this._editable=i.textContent.stimulsoft.toBoolean();break;case"ProcessAtEnd":this.processAtEnd=i.textContent.stimulsoft.toBoolean();break;case"ProcessAt":this.processAt=s.parse(r.StiProcessAt,i.textContent);break;case"Text":var o=new m;o.loadFromXml(i),this._text=o.value;break;case"GetValueEvent":var l=new a;l.script=i.textContent,this.getValueEvent=l;break;case"TotalValueHelp":this._totalValueHelp=i.textContent;break}}},Object.defineProperty(g.prototype,"globalizedName",{get:function(){return this.properties.get(g.propertyGlobalizedName,"")},set:function(t){this.properties.set(g.propertyGlobalizedName,t,"")},enumerable:!1,configurable:!0}),g.prototype.clone=function(t,e,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0);var n=d.prototype.clone.call(this,t,e,r);return null!=this._text?n._text=this._text:n._text=null,n},g.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var e=d.prototype.memberwiseClone.call(this,t);return e._editable=this._editable,e._hideZeros=this._hideZeros,e._linesOfUnderline=this._linesOfUnderline,e._text=this._text,e._textValue=this._textValue,e._totalValueHelp=this._totalValueHelp,e},g.prototype.getTextWithoutZero=function(e){if(!this.hideZeros)return e;if("0"==e)return this.canShrink?"":" ";if(null==e||0==e.trim().length)return e;var i=e.trim();try{if(-1!=n.indexOfAny(i,["1","2","3","4","5","6","7","8","9"]))return e;if(-1==i.indexOf("0"))return e;var o="$",a;if(this.stimulsoft.is(r.StiText)&&this.stimulsoft.as(r.StiText).textFormat.stimulsoft.is(f)&&(o=this.stimulsoft.as(r.StiText).textFormat.symbol),i.stimulsoft.startsWith(o)&&(i=i.substr(o.length)),i.stimulsoft.endsWith(o)&&(i=i.substr(0,i.length-o.length)),0==(a=i.stimulsoft.toNumber(!1)))return this.canShrink?"":" "}catch(e){var a;if(t.System.StiError.showError(e.message,!1),null!=(a=(i=i.stimulsoft.replaceAll("%","")).stimulsoft.toNumber(!1))&&0==a)return this.canShrink?"":" "}return e},g.prototype.setText=function(t,e){var r,n,i,o;void 0===t&&(t=null),void 0===e&&(e=null);var a=null,s=null;if(null!=this._text){var l=this.name;null!=s&&(l+="Excel");var u=this.report.totals.get(l);if(null!=u&&u.length>0){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&&m<this.report.renderedPages.count){var f=this.report.renderedPages.getByIndex(m);if(this.report.renderedPages.getPage(this.page),this.report.renderedPages.isNotSavedPage(this.page)){this.setTextTo(h.textBox,h,t,e);continue}var d=f.getComponents();try{for(var S=(i=void 0,__values(d.list)),y=S.next();!y.done;y=S.next()){var A=y.value,b=A.stimulsoft.as(g);null!=b&&A.name==this.name&&null==b.totalValueHelp&&this.setTextTo(A,h,t,e)}}catch(t){i={error:t}}finally{try{y&&!y.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}this.report.renderedPages.markPageAsNotSaved(f)}else this.setTextTo(h.textBox,h,t,e)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}u.stimulsoft.clear()}else null!=e&&(this._text=e)}null==s&&(this._textValue=this.processText(this.getTextWithoutZero(this._text)))},g.prototype.setTextTo=function(i,o,a,s){var l=i.stimulsoft.as(r.IStiText);if(null!=l){i.totalValueHelp="1";var u=this.report.pageNumber,h=new e.StiRuntimeVariables(this.report);o.setVariables(this.report);var m="",f="-",d=!0;if(null!=this.report&&(d=this.report.calculationMode==e.StiCalculationMode.Compilation),null!=s)this._text=s;else if(d);else try{var g=i.stimulsoft.as(r.StiText),S=null!=g&&null!=g.excelValue&&g.excelValue.length>0,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;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"CanBreak":this.canBreak=o.textContent.stimulsoft.toBoolean();break;case"AutoWidth":this.autoWidth=o.textContent.stimulsoft.toBoolean();break;case"RenderTo":this.renderTo=o.textContent;break;case"HorAlignment":case"ha":this._horAlignment=c.parse(m,o.textContent);break;case"VertAlignment":case"va":this._vertAlignment=c.parse(f,o.textContent);break;case"Font":case"fn":this._font=t.System.Convert.toFont(o.textContent);break;case"Border":case"br":this._border=d.loadFromXml(o.textContent);break;case"Brush":case"bh":this._brush=g.loadFromXml(o.textContent);break;case"TextBrush":case"tb":this._textBrush=g.loadFromXml(o.textContent);break;case"TextFormat":this.textFormat=b.loadFormatFromXml(o,this.report);break;case"Format":this._format=o.textContent;break;case"TextOptions":this._textOptions.loadFromXml(o);break;case"ExcelValue":var a=new O;a.loadFromXml(o),this.excelValue=a.value;break;case"GetExcelValueEvent":break;case"NullValue":this.nullValue=o.textContent;break;case"Type":this.type=c.parse(r.StiSystemTextType,o.textContent);break;case"ExportAsImage":this.exportAsImage=o.textContent.stimulsoft.toBoolean();break;case"TextQuality":this.textQuality=c.parse(r.StiTextQuality,o.textContent);break;case"ls":case"LineSpacing":this.lineSpacing=o.textContent.stimulsoft.toNumber();break;case"AllowHtmlTags":this.allowHtmlTags=o.textContent.stimulsoft.toBoolean();break;case"Margins":this.margins=r.StiMargins.loadFromXml(o);break;case"ShrinkFontToFit":this.shrinkFontToFit=o.textContent.stimulsoft.toBoolean();break;case"ShrinkFontToFitMinimumSize":this.shrinkFontToFitMinimumSize=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(j.prototype,"componentId",{get:function(){return e.StiComponentId.StiText},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"indicator",{get:function(){return this._indicator},set:function(t){this._indicator=t},enumerable:!1,configurable:!0}),j.prototype.getImage=function(t,r){return void 0===r&&(r=e.StiExportFormat.None),null},j.prototype.isExportAsImage=function(t){var r=_.prototype.isExportAsImage.call(this,t),n,n;if(r)return r;if(this.checkAllowHtmlTags()&&!(n=t==e.StiExportFormat.Html||t==e.StiExportFormat.HtmlDiv||t==e.StiExportFormat.HtmlSpan||t==e.StiExportFormat.HtmlTable||t==e.StiExportFormat.Rtf||t==e.StiExportFormat.RtfTabbedText||t==e.StiExportFormat.RtfFrame||t==e.StiExportFormat.RtfWinWord||t==e.StiExportFormat.RtfTable||t==e.StiExportFormat.Text||t==e.StiExportFormat.Pdf||t==e.StiExportFormat.ImageSvg||t==e.StiExportFormat.Word2007&&!StiOptions.Export.Word.renderHtmlTagsAsImage||t==e.StiExportFormat.Excel2007&&!StiOptions.Export.Excel.RenderHtmlTagsAsImage))return!0;if(this.linesOfUnderlining&&!(n=t==e.StiExportFormat.Dif||t==e.StiExportFormat.Pdf||t==e.StiExportFormat.Sylk||t==e.StiExportFormat.Text))return!0;return this.exportAsImage},j.prototype.setString=function(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw o.format("Property with name {0}",t);this.hyperlink=e}},j.prototype.getString=function(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw o.format("Property with name {0}",t)},j.prototype.getAllStrings=function(){var t=[];return StiOptions.Engine.Globalization.allowUseText&&t.push("Text"),StiOptions.Engine.Globalization.allowUseTag&&t.push("Tag"),StiOptions.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),StiOptions.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t},Object.defineProperty(j.prototype,"canBreak",{get:function(){return this.properties.getBool(j.propertyCanBreak,!1)},set:function(t){this.properties.setBool(j.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),j.prototype.break=function(t,e,n){var i=0,o=!0;if(null!=this.getTextInternal()&&this.getTextInternal().length>0){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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"ContourColor":this._contourColor=o.convertStringToColor(i.textContent);break;case"Size":this._size=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"contourColor",{get:function(){return this._contourColor},set:function(t){this._contourColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),e}(e.StiText);e.StiContourText=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.Localization.StiLocalization,n=t.System.Drawing.Rectangle,i=function(t){function i(e,r){void 0===r&&(r=!1);var n=t.call(this)||this;return r||n.construct(e),n}return __extends(i,t),i.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("CanShrink"),r.removeProperty("CanGrow"),r.removeProperty("Shift"),r.removeProperty("UseParentStyles"),r.removeProperty("DockStyle"),r.removeProperty("GrowToHeight"),r},Object.defineProperty(i.prototype,"canShrink",{get:function(){return t.prototype.getCanShrink.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"shift",{get:function(){return t.prototype.getShift.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"useParentStyles",{get:function(){return t.prototype.getUseParentStyles.call(this)},set:function(e){t.prototype.setUseParentStyles.call(this,e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dockStyle",{get:function(){return t.prototype.getDockStyle.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"growToHeight",{get:function(){return t.prototype.getGrowToHeight.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"localizedCategory",{get:function(){return r.get("Report","Shapes")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentType",{get:function(){return e.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"priority",{get:function(){return e.StiComponentPriority.Primitive},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"clientRectangle",{get:function(){return new n(this.left,this.top,this.width,this.height)},set:function(t){this.left=Math.round2(t.left,2),this.top=Math.round2(t.top,2),this.width=Math.round2(t.width,2),this.height=Math.round2(t.height,2)},enumerable:!1,configurable:!0}),i.prototype.getDisplayRectangle=function(){return new n(this.left,this.top,this.width,this.height)},i.prototype.setDisplayRectangle=function(t){this.left=Math.round2(t.left,2),this.top=Math.round2(t.top,2),this.width=Math.round2(t.width,2),this.height=Math.round2(t.height,2)},i.prototype.setDirectDisplayRectangle=function(t){this.displayRectangle=t},i.prototype.construct=function(e){null==e&&(e=n.empty),t.prototype.construct.call(this,e)},i}(e.StiComponent);e.StiPrimitive=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.Drawing.StiPenStyle,n=t.System.Drawing.Color,i=t.Base.StiJsonReportObjectHelper,o=t.System.Drawing.Rectangle,a=t.System.Enum,s=t.System.Text.StiReportObjectStringConverter,l=function(t){function e(e){void 0===e&&(e=o.empty);var i=t.call(this,e)||this;return i.defaultClientRectangle=new o(0,0,60,60),i._style=r.Solid,i._color=n.black,i._size=1,i}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var o=t.prototype.saveToJsonObject.call(this,e);return o.addPropertyEnum("Style",r,this.style,r.Solid),o.addPropertyStringNullOrEmpty("Color",i.Serialize.jColor(this.color,n.black)),o.addPropertyNumber("Size",this.size,1),o},e.prototype.loadFromJsonObject=function(e){var n,o;t.prototype.loadFromJsonObject.call(this,e);try{for(var s=__values(e.properties()),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.name){case"Style":this._style=a.parse(r,u.value);break;case"Color":this._color=i.Deserialize.color(u.value);break;case"Size":this._size=u.value.stimulsoft.toNumber();break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}},e.prototype.loadFromXml=function(e,n){t.prototype.loadFromXml.call(this,e,n);for(var i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Style":this._style=a.parse(r,o.textContent);break;case"Color":this._color=s.convertStringToColor(o.textContent);break;case"Size":this._size=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"invalidateOnMouseOver",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),e}(e.StiPrimitive);e.StiLinePrimitive=l}(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.Point,i=function(t){function i(e){void 0===e&&(e=r.empty);var n=t.call(this,e)||this;return n.storedStartPoint=null,n.storedEndPoint=null,n.newGuid(),n}return __extends(i,t),i.prototype.onRemoveComponent=function(){var t=this.getStartPoint();null!=t&&null!=t.parent&&t.parent.components.contains(t)&&(t.referenceToGuid=null,t.parent.components.remove(t));var e=this.getEndPoint();null!=e&&null!=e.parent&&e.parent.components.contains(e)&&(e.referenceToGuid=null,e.parent.components.remove(e))},i.prototype.canContainIn=function(t){return t.stimulsoft.is(e.StiPage)},Object.defineProperty(i.prototype,"linked",{get:function(){return t.prototype.getLinked.call(this)},set:function(e){t.prototype.setLinked.call(this,e);var r=this.getStartPoint();null!=r&&(r.linked=e);var n=this.getEndPoint();null!=n&&(n.linked=e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"left",{get:function(){var e=this.getStartPoint();if(null==e)return t.prototype.getLeft.call(this);var r=new n(e.left,e.top);return Math.round2(e.componentToPage(r).x,2)},set:function(e){var r=this.getStartPoint();if(null==r)t.prototype.setLeft.call(this,e);else if(!this.isParentContainerSelected(r)){var i=new n(e,0);i=r.pageToComponent(i),r.left=i.x}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"top",{get:function(){var e=this.getStartPoint();if(null==e)return t.prototype.getTop.call(this);var r=new n(e.left,e.top);return Math.round2(e.componentToPage(r).y,2)},set:function(e){var r=this.getStartPoint();if(null==r)t.prototype.setTop.call(this,e);else if(!this.isParentContainerSelected(r)){var i=new n(0,e);i=r.pageToComponent(i),r.top=i.y}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){var e=this.getStartPoint(),r=this.getEndPoint();if(null==e||null==r)return t.prototype.getHeight.call(this);var i=new n(e.left,e.top),o=new n(r.left,r.top);return i=e.componentToPage(i),o=r.componentToPage(o),Math.round2(o.y-i.y,2)},set:function(e){t.prototype.setHeight.call(this,e);var r=this.getStartPoint(),i=this.getEndPoint();if(null!=r&&null!=i){var o=new n(r.left,r.top);o=r.componentToPage(o);var a=new n(o.x,o.y+e);a=i.pageToComponent(a),i.top=a.y}},enumerable:!1,configurable:!0}),i.prototype.getStartPoint=function(t){var r,n;if(void 0===t&&(t=null),null!=t){try{for(var o=__values(t.components.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.stimulsoft.as(e.StiStartPointPrimitive);if(null!=l&&l.referenceToGuid==this.guid)return l;var u=s.stimulsoft.as(e.StiContainer);if(null!=u){var c=this.getStartPoint(u);if(null!=c)return c}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null}if(null!=this.report&&!this.report.isRendering&&!this.isDesigning)return null;if(this.guid==i.nullGuid)return null;if(this.isDesigning&&null!=this.storedStartPoint)return this.storedStartPoint;if(null==this.page)return null;return this.storedStartPoint=this.getStartPoint(this.page),this.storedStartPoint},i.prototype.getEndPoint=function(t){var r,n;if(void 0===t&&(t=null),null!=t){try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.stimulsoft.as(e.StiEndPointPrimitive);if(null!=s&&s.referenceToGuid==this.guid)return s;var l=a.stimulsoft.as(e.StiContainer);if(null!=l){var u=this.getEndPoint(l);if(null!=u)return u}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null}if(null!=this.report&&!this.report.isRendering&&!this.getStartPoint)return null;if(this.getStartPoint&&null!=this.storedEndPoint)return this.storedEndPoint;if(null==this.page)return null;return this.storedEndPoint=this.getEndPoint(this.page),this.storedEndPoint},i.prototype.isParentContainerSelected=function(t){var e=t.parent;while(1){if(null==e)return!1;e=e.parent}},i.nullGuid="nullGuid",i}(e.StiLinePrimitive);e.StiCrossLinePrimitive=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.System.Drawing.Rectangle,n=function(t){function e(e){void 0===e&&(e=r.empty);var n=t.call(this,e)||this;return n._referenceToGuid=null,n.storedColumn=0,n}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("IsSelected"),r.addPropertyString("ReferenceToGuid",this.referenceToGuid),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"ReferenceToGuid":this._referenceToGuid=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(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"ReferenceToGuid":this._referenceToGuid=i.textContent;break}}},Object.defineProperty(e.prototype,"isSelected",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"referenceToGuid",{get:function(){return this._referenceToGuid},set:function(t){this._referenceToGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),e}(e.StiPrimitive);e.StiPointPrimitive=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.System.Drawing.Rectangle,n=function(t){function e(e){return void 0===e&&(e=r.empty),t.call(this,e)||this}return __extends(e,t),e}(e.StiPointPrimitive);e.StiEndPointPrimitive=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=function(t){function l(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(l,t),l.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBorder,r])},l.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},l.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}}},l.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"StartCap":this._startCap.loadFromXml(i);break;case"EndCap":this._endCap.loadFromXml(i);break}}},l.prototype.clone=function(e){var r=t.prototype.clone.call(this,e);return null!=this._startCap?r._startCap=this._startCap.clone():r._startCap=null,null!=this._endCap?r._endCap=this._endCap.clone():r._endCap=null,r},Object.defineProperty(l.prototype,"border",{get:function(){return null==this._border&&(this._border=new i(o.Top,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"startCap",{get:function(){return this._startCap},set:function(t){this._startCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"endCap",{get:function(){return this._endCap},set:function(t){this._endCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"height",{get:function(){if(null!=this.page&&null!=this.page.unit)return this.page.unit.convertFromHInches(1);return 1},set:function(t){},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l}(e.StiLinePrimitive);e.StiHorizontalLinePrimitive=l}(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;e.StiGetImageDataEventHandler=new r("sender: any, e: StiGetImageDataEventArgs");var i=function(t){function e(e){void 0===e&&(e=null);var r=t.call(this)||this;return r.value=e,r}return __extends(e,t),e}(n);e.StiGetImageDataEventArgs=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.StiString,n=function(){function e(){}return e.parseText=function(e,n){if(r.isNullOrEmpty(n)||null==e)return n;if(n.stimulsoft.contains("{")&&n.stimulsoft.contains("}")&&!n.stimulsoft.contains("{{")&&!n.stimulsoft.contains("}}"))try{var i=new t.Report.Components.StiText;i.page=e;var o=t.Report.Engine.StiParser.StiParser.parseTextValue(n,i);if(null!=o)return o.toString()}catch(t){}return n},e.parseBool=function(e,n){if(r.isNullOrEmpty(n))return!1;try{var i=new t.Report.Components.StiText,o;return i.page=e,(n=n.trim()).stimulsoft.startsWith("{")||(n="{"+n),n.stimulsoft.endsWith("}")||(n+="}"),t.Report.Engine.StiParser.StiParser.parseTextValue(n,i).stimulsoft.toBoolean()}catch(t){}return!1},e}();e.StiExpressionHelper=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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetImageData"},e}(t.StiEvent);t.StiGetImageDataEvent=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"GetImageURL"},e}(t.StiEvent);t.StiGetImageURLEvent=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.Drawing.Image,n=t.Base.Drawing.StiImageConverter,i=function(){function e(){}return e.getImageFromObject=function(e){if(null!=e&&e.stimulsoft.is(r)){if(StiOptions.Engine.Image.useImageCloning)return e.stimulsoft.as(r).clone().stimulsoft.as(r);return e.stimulsoft.as(r)}if(null!=e&&e.stimulsoft.is(String)&&e.length>0)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;e<t.length-4;e++){if(60!=t[e])continue;if(115==t[e+1]&&118==t[e+2]&&103==t[e+3])return"Svg";break}return null},e.isXml=function(t){return 60==t[0]&&63==t[1]&&120==t[2]&&109==t[3]&&108==t[4]},e.isSvg=function(t){return 60==t[0]&&115==t[1]&&118==t[2]&&103==t[3]},e.isIcon=function(t){return 0==t[0]&&0==t[1]&&(1==t[2]||2==t[2])&&0==t[3]&&0!=t[4]},e.isWmf=function(t){return 215==t[0]&&205==t[1]&&198==t[2]&&154==t[3]||1==t[0]&&0==t[1]&&9==t[2]&&0==t[3]},e.isEmf=function(t){return 32==t[40]&&69==t[41]&&77==t[42]&&70==t[43]},e.isBmp=function(t){return 66==t[0]&&77==t[1]},e.isJpeg=function(t){return 255==t[0]&&216==t[1]},e.isGif=function(t){return 71==t[0]&&73==t[1]&&70==t[2]},e.isPng=function(t){return 137==t[0]&&80==t[1]&&78==t[2]&&71==t[3]},e.isTiff=function(t){return 73==t[0]&&73==t[1]&&42==t[2]&&0==t[3]||77==t[0]&&77==t[1]&&0==t[2]&&42==t[3]},e.isImage=function(e){if(null==e)return!1;if(e.stimulsoft.is(t.System.ByteArray))return this.isImage2(e);if(e.stimulsoft.is(String))return this.isImage3(e);return e.stimulsoft.is(r)},e.isImage2=function(t){if(t.length<128)return!1;return null!=this.getImageName(t)},e.isImage3=function(e){if(e.length<128)return!1;try{if(!e.stimulsoft.isBase64String())return!1;var r=t.System.Convert.fromBase64String(e.substring(0,128));return null!=this.getImageName(r)}catch(t){}return!1},e}();e.StiImageHelper=i}(r=e.Components||(e.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.System.IO.Path,i=t.System.Collections.Hashtable,o=function(){function t(){}return t.createNewCache=function(){return"StimulsoftImageCache"},t.getImageCacheName=function(t,e){return n.Combine(t,r.format("{0}.ich",e))},t.saveImage=function(e,r){null==t.imageCache&&(t.imageCache=new i),t.imageCache.set(r,e)},t.loadImage=function(e){if(null==t.imageCache)return null;return t.imageCache.get(e)},t.exist=function(e){return null!=t.imageCache&&t.imageCache.contains(e)},t.clear=function(){t.imageCache&&t.imageCache.clear()},t.remove=function(e){if(null==t.imageCache)return null;t.imageCache.remove(e)},t}();e.StiFileImageCache=o}(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.System.Enum,a=t.Base.StiJsonSaveMode,s=t.Base.StiJsonReportObjectHelper,l=t.Base.Drawing.StiBorder,u=t.Base.Drawing.StiBrush,c=t.Base.Drawing.StiHorAlignment,p=t.Base.Drawing.StiVertAlignment,h=t.Base.Drawing.StiSolidBrush,m=t.System.Drawing.Color,f=t.System.Drawing.Size,d=t.Base.Drawing.StiImageConverter,g=t.Report.StiFileImageCache,S=function(S){function y(){var t=null!==S&&S.apply(this,arguments)||this;return t._horAlignment=c.Left,t._vertAlignment=p.Top,t._border=new l,t._brush=new h(m.transparent),t._smoothing=!0,t._isCachedImage=!1,t._objectToDraw=null,t._imageToDraw=null,t._stretch=!1,t._multipleFactor=1,t._aspectRatio=!1,t}return __extends(y,S),y.prototype.implements=function(){return y.ImplementsStiView||(y.ImplementsStiView=S.prototype.implements.call(this).concat([r.IStiHorAlignment,r.IStiVertAlignment,r.IStiBorder,r.IStiExportImage,r.IStiExportImageExtended,r.IStiBrush,i])),y.ImplementsStiView},y.prototype.saveToJsonObject=function(t){var e=S.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("HorAlignment",c,this.horAlignment,c.Left),e.addPropertyEnum("VertAlignment",p,this.vertAlignment,p.Top),e.addPropertyStringNullOrEmpty("Border",s.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this.brush)),e.addPropertyBool("Smoothing",this.smoothing,!0),e.addPropertyBool("Stretch",this.stretch),e.addPropertyNumber("MultipleFactor",this.multipleFactor,1),e.addPropertyBool("AspectRatio",this.aspectRatio),t==a.Document&&e.addPropertyStringNullOrEmpty("ImageBytesToDraw",d.imageToString(this.imageToDraw)),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 a=i.value;switch(a.name){case"HorAlignment":this._horAlignment=o.parse(c,a.value);break;case"VertAlignment":this._vertAlignment=o.parse(p,a.value);break;case"Border":this._border=s.Deserialize.border(a.value);break;case"Brush":this._brush=s.Deserialize.brush(a.value);break;case"Smoothing":this._smoothing=a.value.stimulsoft.toBoolean();break;case"Stretch":this._stretch=a.value.stimulsoft.toBoolean();break;case"MultipleFactor":this._multipleFactor=a.value.stimulsoft.toNumber();break;case"AspectRatio":this._aspectRatio=a.value.stimulsoft.toBoolean();break;case"ImageToDraw":case"ImageBytesToDraw":this.imageToDraw=d.stringToImage(a.value);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(e,r){S.prototype.loadFromXml.call(this,e,r);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"HorAlignment":case"ha":this._horAlignment=o.parse(c,i.textContent);break;case"VertAlignment":case"va":this._vertAlignment=o.parse(p,i.textContent);break;case"Border":case"br":this._border=t.Base.Drawing.StiBorder.loadFromXml(i.textContent);break;case"Brush":case"bh":this._brush=u.convertToBrush(i.textContent);break;case"Smoothing":this._smoothing=i.textContent.stimulsoft.toBoolean();break;case"Stretch":this._stretch=i.textContent.stimulsoft.toBoolean();break;case"MultipleFactor":this._multipleFactor=i.textContent.stimulsoft.toNumber();break;case"AspectRatio":this._aspectRatio=i.textContent.stimulsoft.toBoolean();break;case"ImageToDraw":case"ImageBytesToDraw":this.imageToDraw=d.stringToImage(i.textContent);break}}},y.prototype.clone=function(t){var e=S.prototype.clone.call(this,t);return null!=this._border?e._border=this._border.clone():e._border=null,null!=this._brush?e._brush=this._brush.clone():e._brush=null,e._horAlignment=this._horAlignment,e._vertAlignment=this._vertAlignment,e},Object.defineProperty(y.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),y.prototype.getImage=function(r,n){var i,i;if(void 0===n&&(n=e.StiExportFormat.None),null!=this.objectToDraw)return(i=t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType())).getImage(this,r,n);return(i=t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType())).getImage(this,r,n)},y.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(y.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),y.prototype.getActualSize=function(){var t=new f(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return f.empty;var e=this.page.unit,r=e.convertToHInches(this.width),n=e.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(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.multipleFactor<r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor)))}return t},y.prototype.getRealSize=function(){var t=new f(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return f.empty;var e=this.page.unit,r=e.convertToHInches(this.width),n=e.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(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.multipleFactor<r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))}return t},y.prototype.setPage=function(t){var e=this.imageToDraw;S.prototype.setPage.call(this,t),this.imageToDraw=e},Object.defineProperty(y.prototype,"smoothing",{get:function(){return this._smoothing},set:function(t){this._smoothing=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"isCachedImage",{get:function(){return this._isCachedImage},set:function(t){this._isCachedImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"objectToDraw",{get:function(){return this._objectToDraw},set:function(t){this._objectToDraw=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"imageToDraw",{get:function(){if(null!=this._imageToDraw)return this._imageToDraw;if(null==this.guid)return null;if(null!=this.report&&null!=this.report.imageCachePath){var t=g.getImageCacheName(this.report.imageCachePath,this.guid);if(g.exist(t))return g.loadImage(t)}return null},set:function(t){if(this.isCachedImage=!1,null==this.report||this.isDesigning)this._imageToDraw=t;else if(null!=t){n.isNullOrEmpty(this.report.imageCachePath)&&(this.report.imageCachePath=g.createNewCache()),null==this.guid&&this.newGuid();var e=g.getImageCacheName(this.report.imageCachePath,this.guid);g.saveImage(t,e),this.isCachedImage=!0}else this._imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"multipleFactor",{get:function(){return this._multipleFactor},set:function(t){this._multipleFactor=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){this._aspectRatio=t},enumerable:!1,configurable:!0}),y.prototype.getImageFromSource=function(){return null},y}(r.StiComponent);r.StiView=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,r,n,i;!function(t){t[t["GdiImage"]=0]="GdiImage",t[t["SvgObject"]=1]="SvgObject"}(e=t.StiImageType||(t.StiImageType={})),function(t){t[t["Rating"]=0]="Rating",t[t["Quarter"]=1]="Quarter",t[t["Square"]=2]="Square",t[t["Star"]=3]="Star",t[t["Latin"]=4]="Latin"}(r=t.StiFontIconSet||(t.StiFontIconSet={})),function(t){t[t["WebApplicationIcons"]=0]="WebApplicationIcons",t[t["AccessibilityIcons"]=1]="AccessibilityIcons",t[t["HandIcons"]=2]="HandIcons",t[t["TransportationIcons"]=3]="TransportationIcons",t[t["GenderIcons"]=4]="GenderIcons",t[t["FileTypeIcons"]=5]="FileTypeIcons",t[t["SpinnerIcons"]=6]="SpinnerIcons",t[t["FormControlIcons"]=7]="FormControlIcons",t[t["PaymentIcons"]=8]="PaymentIcons",t[t["ChartIcons"]=9]="ChartIcons",t[t["CurrencyIcons"]=10]="CurrencyIcons",t[t["TextEditorIcons"]=11]="TextEditorIcons",t[t["DirectionalIcons"]=12]="DirectionalIcons",t[t["VideoPlayerIcons"]=13]="VideoPlayerIcons",t[t["BrandIcons"]=14]="BrandIcons",t[t["MedicalIcons"]=15]="MedicalIcons",t[t["OtherIcons"]=16]="OtherIcons"}(n=t.StiFontIconGroup||(t.StiFontIconGroup={})),function(t){t[t["Latin5"]=0]="Latin5",t[t["Latin4"]=1]="Latin4",t[t["Latin3"]=2]="Latin3",t[t["Latin2"]=3]="Latin2",t[t["Latin1"]=4]="Latin1",t[t["QuarterFull"]=5]="QuarterFull",t[t["QuarterThreeFourth"]=6]="QuarterThreeFourth",t[t["QuarterHalf"]=7]="QuarterHalf",t[t["QuarterQuarter"]=8]="QuarterQuarter",t[t["QuarterNone"]=9]="QuarterNone",t[t["Rating4"]=10]="Rating4",t[t["Rating3"]=11]="Rating3",t[t["Rating2"]=12]="Rating2",t[t["Rating1"]=13]="Rating1",t[t["Rating0"]=14]="Rating0",t[t["Square0"]=15]="Square0",t[t["Square1"]=16]="Square1",t[t["Square2"]=17]="Square2",t[t["Square3"]=18]="Square3",t[t["Square4"]=19]="Square4",t[t["StarFull"]=20]="StarFull",t[t["StarThreeFourth"]=21]="StarThreeFourth",t[t["StarHalf"]=22]="StarHalf",t[t["StarQuarter"]=23]="StarQuarter",t[t["StarNone"]=24]="StarNone",t[t["ArrowDown"]=25]="ArrowDown",t[t["ArrowRight"]=26]="ArrowRight",t[t["ArrowRightDown"]=27]="ArrowRightDown",t[t["ArrowRightUp"]=28]="ArrowRightUp",t[t["ArrowUp"]=29]="ArrowUp",t[t["Check"]=30]="Check",t[t["Circle"]=31]="Circle",t[t["CircleCheck"]=32]="CircleCheck",t[t["CircleCross"]=33]="CircleCross",t[t["CircleExclamation"]=34]="CircleExclamation",t[t["Cross"]=35]="Cross",t[t["Rhomb"]=36]="Rhomb",t[t["Exclamation"]=37]="Exclamation",t[t["Flag"]=38]="Flag",t[t["Minus"]=39]="Minus",t[t["Triangle"]=40]="Triangle",t[t["TriangleDown"]=41]="TriangleDown",t[t["TriangleUp"]=42]="TriangleUp",t[t["Home"]=43]="Home",t[t["Cart"]=44]="Cart",t[t["Phone"]=45]="Phone",t[t["Mobile"]=46]="Mobile",t[t["Mug"]=47]="Mug",t[t["Airplane"]=48]="Airplane",t[t["Man"]=49]="Man",t[t["Woman"]=50]="Woman",t[t["UserTie"]=51]="UserTie",t[t["Truck"]=52]="Truck",t[t["Earth"]=53]="Earth",t[t["ManWoman"]=54]="ManWoman",t[t["Appleinc"]=55]="Appleinc",t[t["Windows8"]=56]="Windows8",t[t["Glass"]=57]="Glass",t[t["Music"]=58]="Music",t[t["Search"]=59]="Search",t[t["EnvelopeO"]=60]="EnvelopeO",t[t["Heart"]=61]="Heart",t[t["Star"]=62]="Star",t[t["StarO"]=63]="StarO",t[t["User"]=64]="User",t[t["Film"]=65]="Film",t[t["ThLarge"]=66]="ThLarge",t[t["Th"]=67]="Th",t[t["ThList"]=68]="ThList",t[t["Times"]=69]="Times",t[t["SearchPlus"]=70]="SearchPlus",t[t["SearchMinus"]=71]="SearchMinus",t[t["PowerOff"]=72]="PowerOff",t[t["Signal"]=73]="Signal",t[t["Cog"]=74]="Cog",t[t["TrashO"]=75]="TrashO",t[t["FileO"]=76]="FileO",t[t["ClockO"]=77]="ClockO",t[t["Road"]=78]="Road",t[t["Download"]=79]="Download",t[t["ArrowCircleODown"]=80]="ArrowCircleODown",t[t["ArrowCircleOUp"]=81]="ArrowCircleOUp",t[t["Inbox"]=82]="Inbox",t[t["PlayCircleO"]=83]="PlayCircleO",t[t["Repeat"]=84]="Repeat",t[t["Refresh"]=85]="Refresh",t[t["ListAlt"]=86]="ListAlt",t[t["Lock"]=87]="Lock",t[t["FAFlag"]=88]="FAFlag",t[t["Headphones"]=89]="Headphones",t[t["VolumeOff"]=90]="VolumeOff",t[t["VolumeDown"]=91]="VolumeDown",t[t["VolumeUp"]=92]="VolumeUp",t[t["Qrcode"]=93]="Qrcode",t[t["Barcode"]=94]="Barcode",t[t["Tag"]=95]="Tag",t[t["Tags"]=96]="Tags",t[t["Book"]=97]="Book",t[t["Bookmark"]=98]="Bookmark",t[t["Print"]=99]="Print",t[t["Camera"]=100]="Camera",t[t["Font"]=101]="Font",t[t["Bold"]=102]="Bold",t[t["Italic"]=103]="Italic",t[t["TextHeight"]=104]="TextHeight",t[t["TextWidth"]=105]="TextWidth",t[t["AlignLeft"]=106]="AlignLeft",t[t["AlignCenter"]=107]="AlignCenter",t[t["AlignRight"]=108]="AlignRight",t[t["AlignJustify"]=109]="AlignJustify",t[t["List"]=110]="List",t[t["Outdent"]=111]="Outdent",t[t["Indent"]=112]="Indent",t[t["VideoCamera"]=113]="VideoCamera",t[t["PictureO"]=114]="PictureO",t[t["Pencil"]=115]="Pencil",t[t["MapMarker"]=116]="MapMarker",t[t["Adjust"]=117]="Adjust",t[t["Tint"]=118]="Tint",t[t["PencilSquareO"]=119]="PencilSquareO",t[t["ShareSquareO"]=120]="ShareSquareO",t[t["CheckSquareO"]=121]="CheckSquareO",t[t["Arrows"]=122]="Arrows",t[t["StepBackward"]=123]="StepBackward",t[t["FastBackward"]=124]="FastBackward",t[t["Backward"]=125]="Backward",t[t["Play"]=126]="Play",t[t["Pause"]=127]="Pause",t[t["Stop"]=128]="Stop",t[t["Forward"]=129]="Forward",t[t["FastForward"]=130]="FastForward",t[t["StepForward"]=131]="StepForward",t[t["Eject"]=132]="Eject",t[t["ChevronLeft"]=133]="ChevronLeft",t[t["ChevronRight"]=134]="ChevronRight",t[t["PlusCircle"]=135]="PlusCircle",t[t["MinusCircle"]=136]="MinusCircle",t[t["TimesCircle"]=137]="TimesCircle",t[t["CheckCircle"]=138]="CheckCircle",t[t["QuestionCircle"]=139]="QuestionCircle",t[t["InfoCircle"]=140]="InfoCircle",t[t["Crosshairs"]=141]="Crosshairs",t[t["TimesCircleO"]=142]="TimesCircleO",t[t["CheckCircleO"]=143]="CheckCircleO",t[t["Ban"]=144]="Ban",t[t["FAArrowLeft"]=145]="FAArrowLeft",t[t["FAArrowRight"]=146]="FAArrowRight",t[t["FAArrowUp"]=147]="FAArrowUp",t[t["FAArrowDown"]=148]="FAArrowDown",t[t["Share"]=149]="Share",t[t["Expand"]=150]="Expand",t[t["Compress"]=151]="Compress",t[t["FAPlus"]=152]="FAPlus",t[t["FAMinus"]=153]="FAMinus",t[t["Asterisk"]=154]="Asterisk",t[t["ExclamationCircle"]=155]="ExclamationCircle",t[t["Gift"]=156]="Gift",t[t["Leaf"]=157]="Leaf",t[t["Fire"]=158]="Fire",t[t["Eye"]=159]="Eye",t[t["EyeSlash"]=160]="EyeSlash",t[t["ExclamationTriangle"]=161]="ExclamationTriangle",t[t["Plane"]=162]="Plane",t[t["Calendar"]=163]="Calendar",t[t["Random"]=164]="Random",t[t["Comment"]=165]="Comment",t[t["Magnet"]=166]="Magnet",t[t["ChevronUp"]=167]="ChevronUp",t[t["ChevronDown"]=168]="ChevronDown",t[t["Retweet"]=169]="Retweet",t[t["ShoppingCart"]=170]="ShoppingCart",t[t["Folder"]=171]="Folder",t[t["FolderOpen"]=172]="FolderOpen",t[t["ArrowsV"]=173]="ArrowsV",t[t["ArrowsH"]=174]="ArrowsH",t[t["BarChart"]=175]="BarChart",t[t["TwitterSquare"]=176]="TwitterSquare",t[t["FacebookSquare"]=177]="FacebookSquare",t[t["CameraRetro"]=178]="CameraRetro",t[t["Key"]=179]="Key",t[t["Cogs"]=180]="Cogs",t[t["Comments"]=181]="Comments",t[t["ThumbsOUp"]=182]="ThumbsOUp",t[t["ThumbsODown"]=183]="ThumbsODown",t[t["HeartO"]=184]="HeartO",t[t["SignOut"]=185]="SignOut",t[t["LinkedinSquare"]=186]="LinkedinSquare",t[t["ThumbTack"]=187]="ThumbTack",t[t["ExternalLink"]=188]="ExternalLink",t[t["SignIn"]=189]="SignIn",t[t["Trophy"]=190]="Trophy",t[t["GithubSquare"]=191]="GithubSquare",t[t["Upload"]=192]="Upload",t[t["LemonO"]=193]="LemonO",t[t["SquareO"]=194]="SquareO",t[t["BookmarkO"]=195]="BookmarkO",t[t["PhoneSquare"]=196]="PhoneSquare",t[t["Twitter"]=197]="Twitter",t[t["Facebook"]=198]="Facebook",t[t["Github"]=199]="Github",t[t["Unlock"]=200]="Unlock",t[t["CreditCard"]=201]="CreditCard",t[t["Rss"]=202]="Rss",t[t["HddO"]=203]="HddO",t[t["Bullhorn"]=204]="Bullhorn",t[t["Bell"]=205]="Bell",t[t["Certificate"]=206]="Certificate",t[t["HandORight"]=207]="HandORight",t[t["HandOLeft"]=208]="HandOLeft",t[t["HandOUp"]=209]="HandOUp",t[t["HandODown"]=210]="HandODown",t[t["ArrowCircleLeft"]=211]="ArrowCircleLeft",t[t["ArrowCircleRight"]=212]="ArrowCircleRight",t[t["ArrowCircleUp"]=213]="ArrowCircleUp",t[t["ArrowCircleDown"]=214]="ArrowCircleDown",t[t["Globe"]=215]="Globe",t[t["Wrench"]=216]="Wrench",t[t["Tasks"]=217]="Tasks",t[t["Filter"]=218]="Filter",t[t["Briefcase"]=219]="Briefcase",t[t["ArrowsAlt"]=220]="ArrowsAlt",t[t["Users"]=221]="Users",t[t["Link"]=222]="Link",t[t["Cloud"]=223]="Cloud",t[t["Flask"]=224]="Flask",t[t["Scissors"]=225]="Scissors",t[t["FilesO"]=226]="FilesO",t[t["Paperclip"]=227]="Paperclip",t[t["FloppyO"]=228]="FloppyO",t[t["Square"]=229]="Square",t[t["Bars"]=230]="Bars",t[t["ListUl"]=231]="ListUl",t[t["ListOl"]=232]="ListOl",t[t["Strikethrough"]=233]="Strikethrough",t[t["Underline"]=234]="Underline",t[t["Table"]=235]="Table",t[t["Magic"]=236]="Magic",t[t["Pinterest"]=237]="Pinterest",t[t["PinterestSquare"]=238]="PinterestSquare",t[t["GooglePlusSquare"]=239]="GooglePlusSquare",t[t["GooglePlus"]=240]="GooglePlus",t[t["Money"]=241]="Money",t[t["CaretDown"]=242]="CaretDown",t[t["CaretUp"]=243]="CaretUp",t[t["CaretLeft"]=244]="CaretLeft",t[t["CaretRight"]=245]="CaretRight",t[t["Columns"]=246]="Columns",t[t["Sort"]=247]="Sort",t[t["SortDesc"]=248]="SortDesc",t[t["SortAsc"]=249]="SortAsc",t[t["Envelope"]=250]="Envelope",t[t["Linkedin"]=251]="Linkedin",t[t["Undo"]=252]="Undo",t[t["Gavel"]=253]="Gavel",t[t["Tachometer"]=254]="Tachometer",t[t["CommentO"]=255]="CommentO",t[t["CommentsO"]=256]="CommentsO",t[t["Bolt"]=257]="Bolt",t[t["Sitemap"]=258]="Sitemap",t[t["Umbrella"]=259]="Umbrella",t[t["Clipboard"]=260]="Clipboard",t[t["LightbulbO"]=261]="LightbulbO",t[t["Exchange"]=262]="Exchange",t[t["CloudDownload"]=263]="CloudDownload",t[t["CloudUpload"]=264]="CloudUpload",t[t["UserMd"]=265]="UserMd",t[t["Stethoscope"]=266]="Stethoscope",t[t["Suitcase"]=267]="Suitcase",t[t["BellO"]=268]="BellO",t[t["Coffee"]=269]="Coffee",t[t["Cutlery"]=270]="Cutlery",t[t["FileTextO"]=271]="FileTextO",t[t["BuildingO"]=272]="BuildingO",t[t["HospitalO"]=273]="HospitalO",t[t["Ambulance"]=274]="Ambulance",t[t["Medkit"]=275]="Medkit",t[t["FighterJet"]=276]="FighterJet",t[t["Beer"]=277]="Beer",t[t["HSquare"]=278]="HSquare",t[t["PlusSquare"]=279]="PlusSquare",t[t["AngleDoubleLeft"]=280]="AngleDoubleLeft",t[t["AngleDoubleRight"]=281]="AngleDoubleRight",t[t["AngleDoubleUp"]=282]="AngleDoubleUp",t[t["AngleDoubleDown"]=283]="AngleDoubleDown",t[t["AngleLeft"]=284]="AngleLeft",t[t["AngleRight"]=285]="AngleRight",t[t["AngleUp"]=286]="AngleUp",t[t["AngleDown"]=287]="AngleDown",t[t["Desktop"]=288]="Desktop",t[t["Laptop"]=289]="Laptop",t[t["Tablet"]=290]="Tablet",t[t["CircleO"]=291]="CircleO",t[t["QuoteLeft"]=292]="QuoteLeft",t[t["QuoteRight"]=293]="QuoteRight",t[t["Spinner"]=294]="Spinner",t[t["Reply"]=295]="Reply",t[t["GithubAlt"]=296]="GithubAlt",t[t["FolderO"]=297]="FolderO",t[t["FolderOpenO"]=298]="FolderOpenO",t[t["SmileO"]=299]="SmileO",t[t["FrownO"]=300]="FrownO",t[t["MehO"]=301]="MehO",t[t["Gamepad"]=302]="Gamepad",t[t["KeyboardO"]=303]="KeyboardO",t[t["FlagO"]=304]="FlagO",t[t["FlagCheckered"]=305]="FlagCheckered",t[t["Terminal"]=306]="Terminal",t[t["Code"]=307]="Code",t[t["ReplyAll"]=308]="ReplyAll",t[t["StarHalfO"]=309]="StarHalfO",t[t["LocationArrow"]=310]="LocationArrow",t[t["Crop"]=311]="Crop",t[t["CodeFork"]=312]="CodeFork",t[t["ChainBroken"]=313]="ChainBroken",t[t["Question"]=314]="Question",t[t["Info"]=315]="Info",t[t["Superscript"]=316]="Superscript",t[t["Subscript"]=317]="Subscript",t[t["Eraser"]=318]="Eraser",t[t["PuzzlePiece"]=319]="PuzzlePiece",t[t["Microphone"]=320]="Microphone",t[t["MicrophoneSlash"]=321]="MicrophoneSlash",t[t["Shield"]=322]="Shield",t[t["CalendarO"]=323]="CalendarO",t[t["FireExtinguisher"]=324]="FireExtinguisher",t[t["Rocket"]=325]="Rocket",t[t["Maxcdn"]=326]="Maxcdn",t[t["ChevronCircleLeft"]=327]="ChevronCircleLeft",t[t["ChevronCircleRight"]=328]="ChevronCircleRight",t[t["ChevronCircleUp"]=329]="ChevronCircleUp",t[t["ChevronCircleDown"]=330]="ChevronCircleDown",t[t["Html5"]=331]="Html5",t[t["Css3"]=332]="Css3",t[t["Anchor"]=333]="Anchor",t[t["UnlockAlt"]=334]="UnlockAlt",t[t["Bullseye"]=335]="Bullseye",t[t["EllipsisH"]=336]="EllipsisH",t[t["EllipsisV"]=337]="EllipsisV",t[t["RssSquare"]=338]="RssSquare",t[t["PlayCircle"]=339]="PlayCircle",t[t["Ticket"]=340]="Ticket",t[t["MinusSquare"]=341]="MinusSquare",t[t["InusSquareO"]=342]="InusSquareO",t[t["LevelUp"]=343]="LevelUp",t[t["LevelDown"]=344]="LevelDown",t[t["CheckSquare"]=345]="CheckSquare",t[t["PencilSquare"]=346]="PencilSquare",t[t["ExternalLinkSquare"]=347]="ExternalLinkSquare",t[t["ShareSquare"]=348]="ShareSquare",t[t["Compass"]=349]="Compass",t[t["CaretSquareODown"]=350]="CaretSquareODown",t[t["CaretSquareOUp"]=351]="CaretSquareOUp",t[t["CaretSquareORight"]=352]="CaretSquareORight",t[t["Eur"]=353]="Eur",t[t["Gbp"]=354]="Gbp",t[t["Usd"]=355]="Usd",t[t["Inr"]=356]="Inr",t[t["Jpy"]=357]="Jpy",t[t["Rub"]=358]="Rub",t[t["Krw"]=359]="Krw",t[t["Btc"]=360]="Btc",t[t["File"]=361]="File",t[t["FileText"]=362]="FileText",t[t["SortAlphaAsc"]=363]="SortAlphaAsc",t[t["SortAlphaDesc"]=364]="SortAlphaDesc",t[t["SortAmountAsc"]=365]="SortAmountAsc",t[t["SortAmountDesc"]=366]="SortAmountDesc",t[t["SortNumericAsc"]=367]="SortNumericAsc",t[t["SortNumericDesc"]=368]="SortNumericDesc",t[t["ThumbsUp"]=369]="ThumbsUp",t[t["ThumbsDown"]=370]="ThumbsDown",t[t["YoutubeSquare"]=371]="YoutubeSquare",t[t["Youtube"]=372]="Youtube",t[t["Xing"]=373]="Xing",t[t["XingSquare"]=374]="XingSquare",t[t["YoutubePlay"]=375]="YoutubePlay",t[t["Dropbox"]=376]="Dropbox",t[t["StackOverflow"]=377]="StackOverflow",t[t["Instagram"]=378]="Instagram",t[t["Flickr"]=379]="Flickr",t[t["Adn"]=380]="Adn",t[t["Bitbucket"]=381]="Bitbucket",t[t["BitbucketSquare"]=382]="BitbucketSquare",t[t["Tumblr"]=383]="Tumblr",t[t["TumblrSquare"]=384]="TumblrSquare",t[t["LongArrowDown"]=385]="LongArrowDown",t[t["LongArrowUp"]=386]="LongArrowUp",t[t["LongArrowLeft"]=387]="LongArrowLeft",t[t["LongArrowRight"]=388]="LongArrowRight",t[t["Apple"]=389]="Apple",t[t["Windows"]=390]="Windows",t[t["Android"]=391]="Android",t[t["Linux"]=392]="Linux",t[t["Dribbble"]=393]="Dribbble",t[t["Skype"]=394]="Skype",t[t["Foursquare"]=395]="Foursquare",t[t["Trello"]=396]="Trello",t[t["Female"]=397]="Female",t[t["Male"]=398]="Male",t[t["Gratipay"]=399]="Gratipay",t[t["SunO"]=400]="SunO",t[t["MoonO"]=401]="MoonO",t[t["Archive"]=402]="Archive",t[t["Bug"]=403]="Bug",t[t["Vk"]=404]="Vk",t[t["Weibo"]=405]="Weibo",t[t["Renren"]=406]="Renren",t[t["Pagelines"]=407]="Pagelines",t[t["StackExchange"]=408]="StackExchange",t[t["ArrowCircleORight"]=409]="ArrowCircleORight",t[t["ArrowCircleOLeft"]=410]="ArrowCircleOLeft",t[t["CaretSquareOLeft"]=411]="CaretSquareOLeft",t[t["DotCircleO"]=412]="DotCircleO",t[t["Wheelchair"]=413]="Wheelchair",t[t["VimeoSquare"]=414]="VimeoSquare",t[t["Try"]=415]="Try",t[t["PlusSquareO"]=416]="PlusSquareO",t[t["SpaceShuttle"]=417]="SpaceShuttle",t[t["Slack"]=418]="Slack",t[t["EnvelopeSquare"]=419]="EnvelopeSquare",t[t["Wordpress"]=420]="Wordpress",t[t["Openid"]=421]="Openid",t[t["University"]=422]="University",t[t["GraduationCap"]=423]="GraduationCap",t[t["Yahoo"]=424]="Yahoo",t[t["Google"]=425]="Google",t[t["Reddit"]=426]="Reddit",t[t["RedditSquare"]=427]="RedditSquare",t[t["StumbleuponCircle"]=428]="StumbleuponCircle",t[t["Stumbleupon"]=429]="Stumbleupon",t[t["Delicious"]=430]="Delicious",t[t["Digg"]=431]="Digg",t[t["PiedPiper"]=432]="PiedPiper",t[t["PiedPiperAlt"]=433]="PiedPiperAlt",t[t["Drupal"]=434]="Drupal",t[t["Joomla"]=435]="Joomla",t[t["Language"]=436]="Language",t[t["Fax"]=437]="Fax",t[t["Building"]=438]="Building",t[t["Child"]=439]="Child",t[t["Paw"]=440]="Paw",t[t["Spoon"]=441]="Spoon",t[t["Cube"]=442]="Cube",t[t["Cubes"]=443]="Cubes",t[t["Behance"]=444]="Behance",t[t["BehanceSquare"]=445]="BehanceSquare",t[t["Steam"]=446]="Steam",t[t["SteamSquare"]=447]="SteamSquare",t[t["Recycle"]=448]="Recycle",t[t["Car"]=449]="Car",t[t["Taxi"]=450]="Taxi",t[t["Tree"]=451]="Tree",t[t["Spotify"]=452]="Spotify",t[t["Deviantart"]=453]="Deviantart",t[t["Soundcloud"]=454]="Soundcloud",t[t["Database"]=455]="Database",t[t["FilePdfO"]=456]="FilePdfO",t[t["FileWordO"]=457]="FileWordO",t[t["FileExcelO"]=458]="FileExcelO",t[t["FilePowerpointO"]=459]="FilePowerpointO",t[t["FileImageO"]=460]="FileImageO",t[t["FileArchiveO"]=461]="FileArchiveO",t[t["FileAudioO"]=462]="FileAudioO",t[t["FileVideoO"]=463]="FileVideoO",t[t["FileCodeO"]=464]="FileCodeO",t[t["Vine"]=465]="Vine",t[t["Codepen"]=466]="Codepen",t[t["Jsfiddle"]=467]="Jsfiddle",t[t["LifeRing"]=468]="LifeRing",t[t["CircleONotch"]=469]="CircleONotch",t[t["Rebel"]=470]="Rebel",t[t["Empire"]=471]="Empire",t[t["GitSquare"]=472]="GitSquare",t[t["Git"]=473]="Git",t[t["HackerNews"]=474]="HackerNews",t[t["TencentWeibo"]=475]="TencentWeibo",t[t["Qq"]=476]="Qq",t[t["Weixin"]=477]="Weixin",t[t["PaperPlane"]=478]="PaperPlane",t[t["PaperPlaneO"]=479]="PaperPlaneO",t[t["History"]=480]="History",t[t["CircleThin"]=481]="CircleThin",t[t["Header"]=482]="Header",t[t["Paragraph"]=483]="Paragraph",t[t["Sliders"]=484]="Sliders",t[t["ShareAlt"]=485]="ShareAlt",t[t["ShareAltSquare"]=486]="ShareAltSquare",t[t["Bomb"]=487]="Bomb",t[t["FutbolO"]=488]="FutbolO",t[t["Tty"]=489]="Tty",t[t["Binoculars"]=490]="Binoculars",t[t["Plug"]=491]="Plug",t[t["Slideshare"]=492]="Slideshare",t[t["Twitch"]=493]="Twitch",t[t["Yelp"]=494]="Yelp",t[t["NewspaperO"]=495]="NewspaperO",t[t["Wifi"]=496]="Wifi",t[t["Calculator"]=497]="Calculator",t[t["Paypal"]=498]="Paypal",t[t["GoogleWallet"]=499]="GoogleWallet",t[t["CcVisa"]=500]="CcVisa",t[t["CcMastercard"]=501]="CcMastercard",t[t["CcDiscover"]=502]="CcDiscover",t[t["CcAmex"]=503]="CcAmex",t[t["CcPaypal"]=504]="CcPaypal",t[t["CcStripe"]=505]="CcStripe",t[t["BellSlash"]=506]="BellSlash",t[t["BellSlashO"]=507]="BellSlashO",t[t["Trash"]=508]="Trash",t[t["Copyright"]=509]="Copyright",t[t["At"]=510]="At",t[t["Eyedropper"]=511]="Eyedropper",t[t["PaintBrush"]=512]="PaintBrush",t[t["BirthdayCake"]=513]="BirthdayCake",t[t["AreaChart"]=514]="AreaChart",t[t["PieChart"]=515]="PieChart",t[t["LineChart"]=516]="LineChart",t[t["Lastfm"]=517]="Lastfm",t[t["LastfmSquare"]=518]="LastfmSquare",t[t["ToggleOff"]=519]="ToggleOff",t[t["ToggleOn"]=520]="ToggleOn",t[t["Bicycle"]=521]="Bicycle",t[t["Bus"]=522]="Bus",t[t["Ioxhost"]=523]="Ioxhost",t[t["Angellist"]=524]="Angellist",t[t["Cc"]=525]="Cc",t[t["Ils"]=526]="Ils",t[t["Meanpath"]=527]="Meanpath",t[t["Buysellads"]=528]="Buysellads",t[t["Connectdevelop"]=529]="Connectdevelop",t[t["Dashcube"]=530]="Dashcube",t[t["Forumbee"]=531]="Forumbee",t[t["Leanpub"]=532]="Leanpub",t[t["Sellsy"]=533]="Sellsy",t[t["Shirtsinbulk"]=534]="Shirtsinbulk",t[t["Simplybuilt"]=535]="Simplybuilt",t[t["Skyatlas"]=536]="Skyatlas",t[t["CartPlus"]=537]="CartPlus",t[t["CartArrowDown"]=538]="CartArrowDown",t[t["Diamond"]=539]="Diamond",t[t["Ship"]=540]="Ship",t[t["UserSecret"]=541]="UserSecret",t[t["Motorcycle"]=542]="Motorcycle",t[t["StreetView"]=543]="StreetView",t[t["Heartbeat"]=544]="Heartbeat",t[t["Venus"]=545]="Venus",t[t["Mars"]=546]="Mars",t[t["Mercury"]=547]="Mercury",t[t["Transgender"]=548]="Transgender",t[t["TransgenderAlt"]=549]="TransgenderAlt",t[t["VenusDouble"]=550]="VenusDouble",t[t["MarsDouble"]=551]="MarsDouble",t[t["VenusMars"]=552]="VenusMars",t[t["MarsStroke"]=553]="MarsStroke",t[t["MarsStrokeV"]=554]="MarsStrokeV",t[t["MarsStrokeH"]=555]="MarsStrokeH",t[t["Neuter"]=556]="Neuter",t[t["Genderless"]=557]="Genderless",t[t["FacebookOfficial"]=558]="FacebookOfficial",t[t["PinterestP"]=559]="PinterestP",t[t["Whatsapp"]=560]="Whatsapp",t[t["Server"]=561]="Server",t[t["UserPlus"]=562]="UserPlus",t[t["UserTimes"]=563]="UserTimes",t[t["Bed"]=564]="Bed",t[t["Viacoin"]=565]="Viacoin",t[t["Train"]=566]="Train",t[t["Subway"]=567]="Subway",t[t["Medium"]=568]="Medium",t[t["YCombinator"]=569]="YCombinator",t[t["OptinMonster"]=570]="OptinMonster",t[t["Opencart"]=571]="Opencart",t[t["Expeditedssl"]=572]="Expeditedssl",t[t["BatteryFull"]=573]="BatteryFull",t[t["BatteryThreeQuarters"]=574]="BatteryThreeQuarters",t[t["BatteryHalf"]=575]="BatteryHalf",t[t["BatteryQuarter"]=576]="BatteryQuarter",t[t["BatteryEmpty"]=577]="BatteryEmpty",t[t["MousePointer"]=578]="MousePointer",t[t["ICursor"]=579]="ICursor",t[t["ObjectGroup"]=580]="ObjectGroup",t[t["ObjectUngroup"]=581]="ObjectUngroup",t[t["StickyNote"]=582]="StickyNote",t[t["StickyNoteO"]=583]="StickyNoteO",t[t["CcJcb"]=584]="CcJcb",t[t["CcDinersClub"]=585]="CcDinersClub",t[t["Clone"]=586]="Clone",t[t["BalanceScale"]=587]="BalanceScale",t[t["HourglassO"]=588]="HourglassO",t[t["HourglassStart"]=589]="HourglassStart",t[t["HourglassHalf"]=590]="HourglassHalf",t[t["HourglassEnd"]=591]="HourglassEnd",t[t["Hourglass"]=592]="Hourglass",t[t["HandRockO"]=593]="HandRockO",t[t["HandPaperO"]=594]="HandPaperO",t[t["HandScissorsO"]=595]="HandScissorsO",t[t["HandLizardO"]=596]="HandLizardO",t[t["HandSpockO"]=597]="HandSpockO",t[t["HandPointerO"]=598]="HandPointerO",t[t["HandPeaceO"]=599]="HandPeaceO",t[t["Trademark"]=600]="Trademark",t[t["Registered"]=601]="Registered",t[t["CreativeCommons"]=602]="CreativeCommons",t[t["Gg"]=603]="Gg",t[t["GgCircle"]=604]="GgCircle",t[t["Tripadvisor"]=605]="Tripadvisor",t[t["Odnoklassniki"]=606]="Odnoklassniki",t[t["OdnoklassnikiSquare"]=607]="OdnoklassnikiSquare",t[t["GetPocket"]=608]="GetPocket",t[t["WikipediaW"]=609]="WikipediaW",t[t["Safari"]=610]="Safari",t[t["Chrome"]=611]="Chrome",t[t["Firefox"]=612]="Firefox",t[t["Opera"]=613]="Opera",t[t["InternetExplorer"]=614]="InternetExplorer",t[t["Television"]=615]="Television",t[t["Contao"]=616]="Contao",t[t["Px500"]=617]="Px500",t[t["Amazon"]=618]="Amazon",t[t["CalendarPlusO"]=619]="CalendarPlusO",t[t["CalendarMinusO"]=620]="CalendarMinusO",t[t["CalendarTimesO"]=621]="CalendarTimesO",t[t["CalendarCheckO"]=622]="CalendarCheckO",t[t["Industry"]=623]="Industry",t[t["MapPin"]=624]="MapPin",t[t["MapSigns"]=625]="MapSigns",t[t["MapO"]=626]="MapO",t[t["Map"]=627]="Map",t[t["Commenting"]=628]="Commenting",t[t["CommentingO"]=629]="CommentingO",t[t["Houzz"]=630]="Houzz",t[t["Vimeo"]=631]="Vimeo",t[t["BlackTie"]=632]="BlackTie",t[t["Fonticons"]=633]="Fonticons"}(i=t.StiFontIcons||(t.StiFontIcons={}))}(e=t.Helpers||(t.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.System.Drawing.Color,i=t.System.StiString,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.Drawing.StiImageFromURL,s=t.Report.Helpers.StiHyperlinkProcessor,l=t.Report.Helpers.StiExpressionHelper,u=t.Report.Events.StiGetImageDataEventHandler,c=t.Report.Events.StiValueEventHandler,p=t.Report.Events.StiGetImageDataEventArgs,h=t.Report.Events.StiValueEventArgs,m=t.Report.Events.StiGetImageDataEvent,f=t.Report.Events.StiGetImageURLEvent,d=t.System.Enum,g=t.Base.StiJsonSaveMode,S=t.System.Drawing.Image,y=t.Report.Components.IStiBreakable,A=t.Base.Drawing.StiImageConverter,b=t.Report.Components.StiImageHelper,v=t.Report.Expressions.StiExpression,C=t.System.Drawing.Rectangle,w=t.Base.StiJsonReportObjectHelper,B=t.Report.Helpers.StiFontIcons,I=function(I){function T(){var t=null!==I&&I.apply(this,arguments)||this;return t.defaultClientRectangle=new C(0,0,100,100),t._imageRotation=r.StiImageRotation.None,t._image=null,t._file="",t._dataColumn="",t._imageURL="",t._imageData="",t.icon=null,t.iconColor=n.fromArgb(68,114,196),t}return __extends(T,I),T.prototype.implements=function(){return T.ImplementsStiImage||(T.ImplementsStiImage=I.prototype.implements.call(this).concat([y,o])),T.ImplementsStiImage},T.prototype.saveToJsonObject=function(t){var e=I.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyJObject("GetImageURLEvent",this.getImageURLEvent.saveToJsonObject(t)),e.addPropertyJObject("GetImageDataEvent",this.getImageDataEvent.saveToJsonObject(t)),e.addPropertyEnum("ProcessingDuplicates",r.StiImageProcessingDuplicatesType,this.processingDuplicates,r.StiImageProcessingDuplicatesType.None),e.addPropertyEnum("ImageRotation",r.StiImageRotation,this.imageRotation,r.StiImageRotation.None),e.addPropertyStringNullOrEmpty("File",this.file),e.addPropertyStringNullOrEmpty("DataColumn",this.dataColumn),null!=this.icon&&e.addPropertyEnum("Icon",B,this.icon),e.addPropertyStringNullOrEmpty("IconColor",w.Serialize.jColor(this.iconColor,n.fromArgb(68,114,196))),t==g.Document?e.addPropertyStringNullOrEmpty("ImageURLValue",this.imageURLValue):(e.addPropertyJObject("ImageURL",new v(this.imageURL).saveToJsonObject(t)),e.addPropertyJObject("ImageData",new v(this.imageData).saveToJsonObject(t)),e.addPropertyString("ImageBytes",A.imageToString(this.image))),e},T.prototype.loadFromJsonObject=function(t){var e,n;I.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"GlobalizedName":break;case"CanBreak":this.canBreak=a.value.stimulsoft.toBoolean();break;case"ImageURLValue":this._imageURLValue=a.value;break;case"ImageURL":var s;(s=new v).loadFromJsonObject(a.value),this.imageURL=s.value;break;case"ImageData":var s;(s=new v).loadFromJsonObject(a.value),this.imageData=s.value;break;case"GetImageURLEvent":var l;(l=new f).loadFromJsonObject(a.value),this.getImageURLEvent=l;break;case"GetImageDataEvent":var l;(l=new m).loadFromJsonObject(a.value),this.getImageDataEvent=l;break;case"ProcessingDuplicates":this.processingDuplicates=d.parse(r.StiImageProcessingDuplicatesType,a.value);break;case"ImageRotation":this._imageRotation=d.parse(r.StiImageRotation,a.value);break;case"Image":case"ImageBytes":this.image=A.stringToImage(a.value);break;case"File":this._file=a.value;break;case"DataColumn":this._dataColumn=a.value;break;case"Icon":this.icon=d.parse(B,a.value.toString());break;case"IconColor":this.iconColor=w.Deserialize.color(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}}},T.prototype.loadFromXml=function(t,e){I.prototype.loadFromXml.call(this,t,e);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"GlobalizedName":break;case"CanBreak":this.canBreak=i.textContent.stimulsoft.toBoolean();break;case"ImageURLValue":this._imageURLValue=i.textContent;break;case"ImageURL":var o;(o=new v).loadFromXml(i),this.imageURL=o.value;break;case"ImageData":var o;(o=new v).loadFromXml(i),this.imageData=o.value;break;case"GetImageURLEvent":break;case"GetImageDataEvent":break;case"ProcessingDuplicates":this.processingDuplicates=d.parse(r.StiImageProcessingDuplicatesType,i.textContent);break;case"ImageRotation":this._imageRotation=d.parse(r.StiImageRotation,i.textContent);break;case"Image":case"ImageBytes":this.image=A.stringToImage(i.textContent);break;case"File":this._file=i.textContent;break;case"DataColumn":this._dataColumn=i.textContent;break;case"Icon":this.icon=d.parse(B,i.textContent);break;case"IconColor":this.iconColor=w.Deserialize.color(i.textContent);break}}},T.prototype.getImage=function(t,r){return void 0===r&&(r=e.StiExportFormat.None),this.imageToDraw},T.prototype.getImageFromFile=function(){if(!i.isNullOrEmpty(this.file)){var t=l.parseText(this.page,this.file),e;return S.fromFile(t)}return null},T.prototype.getImageFromUrl=function(){var r=this.imageURLValue;try{if(!i.isNullOrEmpty(r)){var n,o;if(null!=s.getResourceNameFromHyperlink(r))return s.getImage(this.report,r);if(null!=s.getVariableNameFromHyperlink(r))return s.getImage(this.report,r);return a.loadBitmap(r)}}catch(r){t.System.StiError.showError(r.message,!1);var l=i.format("Image can't be loaded from URL '{0}' in image component {1}!",this.imageURLValue,this.name);e.StiLogService.write(this.stimulsoft.getType(),l),e.StiLogService.write(this.stimulsoft.getType(),r)}return null},T.prototype.getImageFromDataColumn=function(){try{var r=t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(this.report.dictionary,this.dataColumn);return b.getImageFromObject(r)}catch(r){t.System.StiError.showError(r.message,!1);var n=i.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);e.StiLogService.write(this.stimulsoft.getType(),n),e.StiLogService.write(this.stimulsoft.getType(),r)}return null},T.prototype.getImageFromIcon=function(){try{if(null==this.icon)return null;var r=this.getPaintRectangle(!0,!1);return e.StiFontIconsHelper.convertFontIconToImage(this.icon,this.iconColor,r.width,r.height)}catch(r){t.System.StiError.showError(r.message,!1);var n=i.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);e.StiLogService.write(this.stimulsoft.getType(),n),e.StiLogService.write(this.stimulsoft.getType(),r)}return null},T.prototype.getImageFromSource=function(){var t=this.getImageFromFile();if(null!=t)return t;if(null!=(t=this.getImageFromDataColumn()))return t;if(null!=(t=this.getImageFromIcon()))return t;return null},Object.defineProperty(T.prototype,"canBreak",{get:function(){return this.properties.getBool(T.propertyCanBreak,!1)},set:function(t){this.properties.setBool(T.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),T.prototype.break=function(t,e,r){r.ref=0;var n=!0;return this.imageToDraw,n},Object.defineProperty(T.prototype,"imageURLValue",{get:function(){return this._imageURLValue},set:function(t){this._imageURLValue!=t&&(this._imageURLValue=t,null==this._image&&(this.isDesigning||null!=this.report&&this.report.isRendering)&&null!=t&&(this.imageToDraw=this.getImageFromUrl()))},enumerable:!1,configurable:!0}),T.prototype.invokeEvents=function(){try{if(I.prototype.invokeEvents.call(this),this.report.calculationMode==e.StiCalculationMode.Compilation){if(null!=this.events.get(T.eventGetImageURL)&&(null==this.imageURLValue||this.imageURLValue.stimulsoft.is(String)&&0==this.imageURLValue.length)){var t=new h;this.invokeGetImageURL(this,t),this.imageURLValue=t.value}}else if(null==this.imageURLValue||this.imageURLValue.stimulsoft.is(String)&&0==this.imageURLValue.length){var t=new h;this.invokeGetImageURL(this,t),this.imageURLValue=t.value}if(this.report.calculationMode==e.StiCalculationMode.Compilation){if(null!=this.events.get(T.eventGetImageData)){var r=new p;this.invokeGetImageData(this,r),null!=r.value&&(this.image=r.value)}}else if(!i.isNullOrEmpty(this.imageData)){var r=new p;this.invokeGetImageData(this,r),null!=r.value&&(this.image=r.value)}}catch(t){e.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t)}},T.prototype.onGetImageURL=function(t){},T.prototype.invokeGetImageURL=function(r,n){try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){var o;if(this.onGetImageURL(n),null!=(o=this.events.get(T.eventGetImageURL)))try{o(r,n)}catch(n){}}else{this.onGetImageURL(n);var a=t.Report.Engine.StiParser.StiParser.parseTextValue(this.imageURL,this,r),o;if(null!=a&&(n.value=a.toString()),null!=(o=this.events.get(T.eventGetImageURL)))try{o(r,n)}catch(n){}}}catch(t){var s=i.format("Expression in ImageURL 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(T.prototype,"getImageURLEvent",{get:function(){return new f(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(T.eventGetImageURL,c.create(t.script,this.report))},enumerable:!1,configurable:!0}),T.prototype.onGetImageData=function(t){},T.prototype.invokeGetImageData=function(r,n){try{if(this.report.calculationMode==e.StiCalculationMode.Compilation){var o;if(this.onGetImageData(n),null!=(o=this.events.get(T.eventGetImageData)))try{o(r,n)}catch(n){}}else{this.onGetImageData(n);var a=t.Report.Engine.StiParser.StiParser.parseTextValue(this.imageData,this,r),o;if((null==a?void 0:a.stimulsoft.is(S))&&(n.value=a),null!=(o=this.events.get(T.eventGetImageData)))try{o(r,n)}catch(n){}}}catch(t){var s=i.format("Expression in ImageData 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(T.prototype,"getImageDataEvent",{get:function(){return new m(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(T.eventGetImageData,u.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"processingDuplicates",{get:function(){return this.properties.get(T.propertyProcessingDuplicates,r.StiImageProcessingDuplicatesType.None)},set:function(t){this.properties.set(T.propertyProcessingDuplicates,t,r.StiImageProcessingDuplicatesType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"imageRotation",{get:function(){return this._imageRotation},set:function(t){this._imageRotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t,this.imageToDraw=this._image)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"margins",{get:function(){return this.properties.get(T.propertyMargins,r.StiMargins.empty)},set:function(t){this.properties.set(T.propertyMargins,t,r.StiMargins.empty)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"file",{get:function(){return this._file},set:function(e){if(this._file!=e&&(this._file=e,null==this.image))try{var r=this.getImageFromFile();this.imageToDraw=r}catch(e){t.System.StiError.showError(e)}},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"dataColumn",{get:function(){return this._dataColumn},set:function(t){this._dataColumn=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"imageURL",{get:function(){return this._imageURL},set:function(t){this._imageURL=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"imageData",{get:function(){return this._imageData},set:function(t){this._imageData=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),T.prototype.convertImageMargins=function(t,e){var r=this.margins;if(r.isEmpty)return t;var n=this.page.zoom;e||(n=1);var i=r.left,o=r.right,a=r.top,s=r.bottom;return 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},T.propertyCanBreak=Math.random().toString().substr(2),T.eventGetImageURL={},T.eventGetImageData={},T.propertyProcessingDuplicates=Math.random().toString().substr(2),T.propertyMargins=Math.random().toString().substr(2),T}(r.StiView);r.StiImage=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.Base.Drawing.StiBorder,i=t.Base.Drawing.StiBorderSides,o=t.System.Drawing.Point,a=t.System.Drawing.Rectangle,s=function(t){function s(e){void 0===e&&(e=a.empty);var r=t.call(this,e)||this;return r._border=null,r._topSide=!0,r._leftSide=!0,r._bottomSide=!0,r._rightSide=!0,r}return __extends(s,t),s.prototype.implements=function(){return t.prototype.implements.call(this).concat([e.IStiBorder,r])},s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyBool("TopSide",this.topSide,!0),r.addPropertyBool("LeftSide",this.leftSide,!0),r.addPropertyBool("BottomSide",this.bottomSide,!0),r.addPropertyBool("RightSide",this.rightSide,!0),r},s.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"TopSide":this._topSide=a.value.stimulsoft.toBoolean();break;case"LeftSide":this._leftSide=a.value.stimulsoft.toBoolean();break;case"BottomSide":this._bottomSide=a.value.stimulsoft.toBoolean();break;case"RightSide":this._rightSide=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}}},s.prototype.loadFromXml=function(e,r){t.prototype.loadFromXml.call(this,e,r);for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"TopSide":this._topSide=i.textContent.stimulsoft.toBoolean();break;case"LeftSide":this._leftSide=i.textContent.stimulsoft.toBoolean();break;case"BottomSide":this._bottomSide=i.textContent.stimulsoft.toBoolean();break;case"RightSide":this._rightSide=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(s.prototype,"border",{get:function(){return null==this._border&&(this._border=new n(i.All,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),s.prototype.convert=function(e,r,n){void 0===n&&(n=!1),null==this.getStartPoint()&&null==this.getEndPoint()&&t.prototype.convert.call(this,e,r,n)},Object.defineProperty(s.prototype,"width",{get:function(){var e=this.getStartPoint(),r=this.getEndPoint();if(null==e||null==r)return t.prototype.getWidth.call(this);var n=new o(e.left,e.top),i=new o(r.left,r.top);return n=e.componentToPage(n),i=r.componentToPage(i),Math.round2(i.x-n.x,2)},set:function(e){t.prototype.setWidth.call(this,e);var r=this.getStartPoint(),n=this.getEndPoint();if(null!=r&&null!=n){var i=new o(r.left,r.top);i=r.componentToPage(i);var a=new o(i.x+e,i.y);a=n.pageToComponent(a),n.left=a.x}},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"topSide",{get:function(){return this._topSide},set:function(t){this._topSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"leftSide",{get:function(){return this._leftSide},set:function(t){this._leftSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"bottomSide",{get:function(){return this._bottomSide},set:function(t){this._bottomSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"rightSide",{get:function(){return this._rightSide},set:function(t){this._rightSide=t},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},s}(e.StiCrossLinePrimitive);e.StiRectanglePrimitive=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(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetDataUrl"},e}(t.StiEvent);t.StiGetDataUrlEvent=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.Base.IStiGetFonts,i=t.System.StiArray,o=t.System.StiString,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Report.Events.StiGetDataUrlEventHandler,l=t.Report.Events.StiGetDataUrlEvent,u=t.Report.Components.IStiEditable,c=t.Base.Drawing.StiBorder,p=t.System.Drawing.Color,h=t.Base.StiJsonReportObjectHelper,m=t.Report.Expressions.StiExpression,f=t.System.Text.StiReportObjectStringConverter,d=function(t){function d(){var e=null!==t&&t.apply(this,arguments)||this;return e._border=new c,e._margins=new r.StiMargins(0,0,0,0),e._defaultFont=null,e._defaultColor=p.empty,e._wordWrap=!0,e._detectUrls=!0,e._backColor=p.white,e._dataColumn="",e._wysiwyg=!1,e._rightToLeft=!1,e._dataUrl="",e}return __extends(d,t),d.prototype.implements=function(){return d.implementsStiRichText||(d.implementsStiRichText=t.prototype.implements.call(this).concat([u,r.IStiBreakable,r.IStiBorder,e.IStiGlobalizationProvider,r.IStiBackColor,a,n])),d.implementsStiRichText},d.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("GlobalizedName"),r.removeProperty("LinesOfUnderline"),r.removeProperty("HideZeros"),r.removeProperty("ProcessingDuplicates"),r.removeProperty("MaxNumberOfLines"),r.addPropertyBool("CanBreak",this.canBreak,!1),r.addPropertyStringNullOrEmpty("Border",h.Serialize.jBorder(this.border)),r.addPropertyJObject("GetDataUrlEvent",this.getDataUrlEvent.saveToJsonObject(e)),r.addPropertyJObject("Margins",this.margins.saveToJsonObject(e,0,0,0,0)),r.addPropertyBool("WordWrap",this.wordWrap,!0),r.addPropertyBool("DetectUrls",this.detectUrls,!0),r.addPropertyStringNullOrEmpty("BackColor",h.Serialize.jColor(this.backColor,p.white)),r.addPropertyStringNullOrEmpty("DataColumn",this.dataColumn),r.addPropertyJObject("DataUrl",new m(this.dataUrl).saveToJsonObject(e)),r.addPropertyBool("Wysiwyg",this.wysiwyg),r.addPropertyBool("RightToLeft",this.rightToLeft),r},d.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"CanBreak":this.canBreak=a.value.stimulsoft.toBoolean();break;case"Border":this.border=h.Deserialize.border(a.value);break;case"GetDataUrlEvent":var s=new l;s.loadFromJsonObject(a.value),this.getDataUrlEvent=s;break;case"Margins":this.margins.loadFromJsonObject(a.value);break;case"WordWrap":this.wordWrap=a.value.stimulsoft.toBoolean();break;case"DetectUrls":this.detectUrls=a.value.stimulsoft.toBoolean();break;case"BackColor":this.backColor=h.Deserialize.color(a.value);break;case"DataColumn":this.dataColumn=a.value.toString();break;case"DataUrl":var u=new m;u.loadFromJsonObject(a.value),this.dataUrl=u.value;break;case"FullConvertExpression":break;case"Wysiwyg":this.wysiwyg=a.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=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}}},d.prototype.loadFromXml=function(e,n){t.prototype.loadFromXml.call(this,e,n);for(var i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"CanBreak":this.canBreak=o.textContent.stimulsoft.toBoolean();break;case"Border":case"br":this.border=c.loadFromXml(o.textContent);break;case"GetDataUrlEvent":break;case"Margins":this.margins=r.StiMargins.loadFromXml(o);break;case"WordWrap":this.wordWrap=o.textContent.stimulsoft.toBoolean();break;case"DetectUrls":this.detectUrls=o.textContent.stimulsoft.toBoolean();break;case"BackColor":this.backColor=f.convertStringToColor(o.textContent);break;case"DataColumn":this.dataColumn=o.textContent;break;case"DataUrl":var a=new m;a.loadFromXml(o),this.dataUrl=a.value;break;case"FullConvertExpression":break;case"Wysiwyg":this.wysiwyg=o.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=o.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(d.prototype,"canBreak",{get:function(){return this.properties.getBool(d.propertyCanBreak,!1)},set:function(t){this.properties.setBool(d.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),d.prototype.clone=function(e){var r=t.prototype.clone.call(this,e);return null!=this._border?r._border=this._border.clone():r._border=null,r},d.prototype.onGetDataUrl=function(t){},d.prototype.invokeGetDataUrl=function(t,r){try{this.onGetDataUrl(r);var n=this.events.get(d.eventGetDataUrl);if(null!=n)try{n(t,r)}catch(r){}}catch(t){var i=o.format("Expression in DataUrl property of '{0}' can't be evaluated!",this.name);e.StiLogService.write(this.stimulsoft.getType(),i),e.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(d.prototype,"getDataUrlEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(d.eventGetDataUrl,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),d.prototype.setString=function(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw o.format("Property with name {0}",t);this.hyperlink=e}},d.prototype.getString=function(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw o.format("Property with name {0}",t)},d.prototype.getAllStrings=function(){var t=[];return StiOptions.Engine.Globalization.allowUseText&&t.push("Text"),StiOptions.Engine.Globalization.allowUseTag&&t.push("Tag"),StiOptions.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),StiOptions.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t},Object.defineProperty(d.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),d.prototype.getFonts=function(){var e=t.prototype.getFonts.call(this);return i.distinct(e)},Object.defineProperty(d.prototype,"margins",{get:function(){return this._margins},set:function(t){this._margins=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"defaultFont",{get:function(){return this._defaultFont},set:function(t){this._defaultFont=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"defaultColor",{get:function(){return this._defaultColor},set:function(t){this._defaultColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(t){this._wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"detectUrls",{get:function(){return this._detectUrls},set:function(t){this._detectUrls=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dataColumn",{get:function(){return this._dataColumn},set:function(t){this._dataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"wysiwyg",{get:function(){return this._wysiwyg},set:function(t){this._wysiwyg=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dataUrl",{get:function(){return this._dataUrl},set:function(t){this._dataUrl=t},enumerable:!1,configurable:!0}),d.notSupportedText="RichText is not supported in the JS component",d.propertyCanBreak=Math.random().toString().substr(2),d.eventGetDataUrl={},d}(r.StiSimpleText);r.StiRichText=d}(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=function(t){function e(e){void 0===e&&(e=r.empty);var n=t.call(this,e)||this;return n._round=.2,n}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumber("Round",this.round,.2),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"Round":this._round=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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"Round":this._round=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"round",{get:function(){return this._round},set:function(t){t>0&&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<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"Brush":case"bh":this._brush=l.loadFromXml(o.textContent);break;case"BorderColor":this._borderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"Style":this._style=a.parse(h,o.textContent);break;case"Size":this._size=o.textContent.stimulsoft.toNumber();break;case"ShapeType":this._shapeType=r.StiShapeTypeService.convertFromXml(o),this._shapeType.loadFromXml(o);break}}},b.prototype.clone=function(t){var e=A.prototype.clone.call(this,t);return null!=this._shapeType?e._shapeType=this.shapeType.clone():e._shapeType=null,e},b.prototype.convert=function(t,e,n){void 0===n&&(n=!1),A.prototype.convert.call(this,t,e,n),this.shapeType.stimulsoft.is(r.StiOctagonShapeType)&&(this.shapeType.bevel=e.convertFromHInches(t.convertToHInches(this.shapeType.bevel)))},b.prototype.getImage=function(r,i){void 0===i&&(i=e.StiExportFormat.None);var a=new o;if(!n.useWebKit)return a;var s=new t.Report.Export.StiSvgData;s.x=0,s.y=0,s.width=this.report.unit.convertToHInches(this.width),s.height=this.report.unit.convertToHInches(this.height),s.component=this;var l=new d(g.UTF8);t.Report.Export.StiSvgHelper.writeShape(l,s),l.flush();var u=document.createElement("canvas");u.width=s.width+10,u.height=s.height+10;var c=y.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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(i<r.length){if(i==r.length-1)return n.getByName(r[i]);n=n.businessObjects.getByName(r[i]),i++}return null},h.getBusinessObjectFromDataColumn=function(t,e){var r=e.split("."),n=t.businessObjects.getByName(r[0]);if(null==n)return null;var i=1;while(i<r.length){if(i==r.length-1)return n;n=n.businessObjects.getByName(r[i]),i++}return null},h.getDataFromDataColumn=function(i,o,a){if(void 0===a&&(a=!0),null==o)return null;var s=o.split("."),l=i.dataSources.getByName(s[0]);if(null==l)return this.getDataFromBusinessObject(i,o);var u=null,c=s.length-1,p=1;while(c>0){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<e.childNodes.length;r++){var n=e.childNodes[r],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type")){var o=new t.Report.Styles.Conditions.StiStyleCondition;o.loadFromXml(n),this.list.push(o)}}},a.prototype.clone=function(){var t,e,r=new a;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},a.prototype.add=function(t){if(t.stimulsoft.is(e.StiStyleCondition))this.list.push(t);else{var r=new e.StiStyleCondition;r.fromElements(t),this.add(r)}},a.prototype.addRange=function(t){var e,r,n=t.stimulsoft.is(a)?t.list:t;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var s=o.value;this.add(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},a}(n);e.StiStyleConditionsCollection=a}(r=e.Conditions||(e.Conditions={}))}(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.StiString,i=t.Report.Chart.IStiChartStyle,o=t.System.Type,a=t.Report.Chart.IStiCustomStyle,s=t.Report.Chart.IStiChart,l=t.System.ICloneable,u=t.Report.Styles.Conditions.StiStyleConditionsCollection,c=t.Base.JsonReportObject.IStiJsonReportObject,p=t.Base.StiJson,h,m=function(h){function m(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var n=h.call(this)||this;return n._collectionName="",n._conditions=null,n._description="",n._name="",n.report=null,n._name=t,n._description=e,n.report=r,n}return __extends(m,h),m.prototype.implements=function(){return[l,c]},m.prototype.saveToJsonObject=function(t){var e=new p;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("CollectionName",this.collectionName),e.addPropertyJObject("Conditions",this.conditions.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Description",this.description),e.addPropertyStringNullOrEmpty("Name",this.name),e},m.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"CollectionName":this._collectionName=o.value;break;case"Conditions":this.conditions.loadFromJsonObject(o.value);break;case"Description":this._description=o.value;break;case"Name":this._name=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}}},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"CollectionName":this._collectionName=r.textContent;break;case"Description":this._description=r.textContent;break;case"Name":this._name=r.textContent;break;case"Conditions":this.conditions.loadFromXml(r);break}}},m.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return null!=this.conditions?t.conditions=this.conditions.clone():t.conditions=null,t},m.prototype.equals=function(n,s,l){if(void 0===s&&(s=!0),void 0===l&&(l=!0),this.stimulsoft.is(r.StiStyle)){var u;if(null==(u=n.stimulsoft.as(r.StiStyle)))return!1;var c=this;if(!u.border.stimulsoft.equals(c.border))return!1;if(!u.brush.stimulsoft.equals(c.brush))return!1;if(!u.font.stimulsoft.equals(c.font))return!1;if(null==u.image&&null!=u.image)return!1;if(null!=u.image&&null==u.image)return!1;if(null!=u.image&&null!=c.image&&!u.image.stimulsoft.equals(c.image))return!1;if(!u.textBrush.stimulsoft.equals(c.textBrush))return!1;if(!u.collectionName.stimulsoft.equals(c.collectionName))return!1;if(!u.conditions.stimulsoft.equals(c.conditions))return!1;if(u.allowUseBorderFormatting!=c.allowUseBorderFormatting)return!1;if(u.allowUseBorderSides!=c.allowUseBorderSides)return!1;if(u.allowUseBorderSidesFromLocation!=c.allowUseBorderSidesFromLocation)return!1;if(u.allowUseBrush!=c.allowUseBrush)return!1;if(u.allowUseFont!=c.allowUseFont)return!1;if(u.allowUseHorAlignment!=c.allowUseHorAlignment)return!1;if(u.allowUseImage!=c.allowUseImage)return!1;if(u.allowUseTextBrush!=c.allowUseTextBrush)return!1;if(u.allowUseVertAlignment!=c.allowUseVertAlignment)return!1;if(u.horAlignment!=c.horAlignment)return!1;if(u.vertAlignment!=c.vertAlignment)return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(r.StiChartStyle)){var u;if(null==(u=n.stimulsoft.as(r.StiChartStyle)))return!1;var c=this;if(!u.border.stimulsoft.equals(c.border))return!1;if(!u.brush.stimulsoft.equals(c.brush))return!1;if(!u.basicStyleColor.stimulsoft.equals(c.basicStyleColor))return!1;if(!u.brushType.stimulsoft.equals(c.brushType))return!1;if(!u.styleColors.stimulsoft.equals(c.styleColors))return!1;if(u.allowUseBorderFormatting!=c.allowUseBorderFormatting)return!1;if(u.allowUseBorderSides!=c.allowUseBorderSides)return!1;if(u.allowUseBrush!=c.allowUseBrush)return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(e.StiIndicatorStyle)){var u;if(null==(u=n.stimulsoft.as(e.StiIndicatorStyle)))return!1;var c=this;if(!u.backColor.stimulsoft.equals(c.backColor))return!1;if(!u.glyphColor.stimulsoft.equals(c.glyphColor))return!1;if(!u.foreColor.stimulsoft.equals(c.foreColor))return!1;if(!u.hotBackColor.stimulsoft.equals(c.hotBackColor))return!1;if(!u.positiveColor.stimulsoft.equals(c.positiveColor))return!1;if(!u.negativeColor.stimulsoft.equals(c.negativeColor))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(e.StiProgressStyle)){var u;if(null==(u=n.stimulsoft.as(e.StiProgressStyle)))return!1;var c=this;if(!u.trackColor.stimulsoft.equals(c.trackColor))return!1;if(!u.bandColor.stimulsoft.equals(c.bandColor))return!1;if(!u.seriesColors.stimulsoft.equals(c.seriesColors))return!1;if(!u.foreColor.stimulsoft.equals(c.foreColor))return!1;if(!u.backColor.stimulsoft.equals(c.backColor))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(i)){var u;if(null==(u=n.stimulsoft.as(i)))return!1;var c=this;if(u.stimulsoft.is(a)&&c.stimulsoft.is(a))return u.core.reportStyleName==c.core.reportStyleName;if(u.stimulsoft.is(a)||c.stimulsoft.is(a))return!1;return o.getType(u)==o.getType(c)}if(this.stimulsoft.is(t.Report.Styles.StiCrossTabStyle)){var u;if(null==(u=n.stimulsoft.as(t.Report.Styles.StiCrossTabStyle)))return!1;var c=this;if(!u.color.stimulsoft.equals(c.color))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(e.StiTableStyle)){var u;if(null==(u=n.stimulsoft.as(e.StiTableStyle)))return!1;var c=this;if(!u.headerColor.stimulsoft.equals(c.headerColor))return!1;if(!u.headerForeground.stimulsoft.equals(c.headerForeground))return!1;if(!u.footerForeground.stimulsoft.equals(c.footerForeground))return!1;if(!u.dataColor.stimulsoft.equals(c.dataColor))return!1;if(!u.dataForeground.stimulsoft.equals(c.dataForeground))return!1;if(!u.gridColor.stimulsoft.equals(c.gridColor))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(e.StiGaugeStyle)){var u;if(null==(u=n.stimulsoft.as(e.StiGaugeStyle)))return!1;var c=this;if(!u.brush.stimulsoft.equals(c.brush))return!1;if(!u.borderColor.stimulsoft.equals(c.borderColor))return!1;if(!u.foreColor.stimulsoft.equals(c.foreColor))return!1;if(!u.borderWidth.stimulsoft.equals(c.borderWidth))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(r.StiMapStyle)){var u;if(null==(u=n.stimulsoft.as(r.StiMapStyle)))return!1;var c=this;if(!u.colors.stimulsoft.equals(c.colors))return!1;if(!u.heatmapColors.stimulsoft.equals(c.heatmapColors))return!1;if(!u.defaultColor.stimulsoft.equals(c.defaultColor))return!1;if(!u.backColor.stimulsoft.equals(c.backColor))return!1;if(!u.labelForeground.stimulsoft.equals(c.labelForeground))return!1;if(!u.labelShadowForeground.stimulsoft.equals(c.labelShadowForeground))return!1;if(!u.borderSize.stimulsoft.equals(c.borderSize))return!1;if(!u.borderColor.stimulsoft.equals(c.borderColor))return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}if(this.stimulsoft.is(r.StiDialogStyle)){var u;if(null==(u=n.stimulsoft.as(r.StiDialogStyle)))return!1;var c=this;if(!u.foreColor.stimulsoft.equals(c.foreColor))return!1;if(!u.backColor.stimulsoft.equals(c.backColor))return!1;if(u.allowUseFont!=c.allowUseFont)return!1;if(u.allowUseBackColor!=c.allowUseBackColor)return!1;if(u.allowUseForeColor!=c.allowUseForeColor)return!1;if(s&&u.name!=c.name)return!1;if(l&&u.description!=c.description)return!1;return!0}return!1},m.getStyle=function(n,i,o){var a;if(void 0===o&&(o=null),n.stimulsoft.is(s))return n.style;n.stimulsoft.is(t.Report.CrossTab.StiCrossTab),i&&!i.stimulsoft.is(m)||(o=i,i=e.StiStyleElements.All);var l=new r.StiStyle;return l.getStyleFromComponent(n,i,o),l},m.prototype.getStyleFromComponent=function(t,e){},m.prototype.setStyleToComponent=function(t){},m.prototype.getStyleFromComponents=function(t,e){for(var r=t.count-1;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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ProcessCellEvent":break;case"MergeHeaders":this._mergeHeaders=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(b.prototype,"defaultHorAlignment",{get:function(){return g.Center},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},set:function(t){},enumerable:!1,configurable:!0}),b.prototype.onProcessCell=function(t){},b.prototype.invokeProcessCell=function(t){this.onProcessCell(t)},Object.defineProperty(b.prototype,"helpUrl",{get:function(){return null},enumerable:!1,configurable:!0}),b.prototype.toString=function(){return this.name},Object.defineProperty(b.prototype,"localizedCategory",{get:function(){return s.get("Report","CrossBands")},enumerable:!1,configurable:!0}),b.prototype.getRestrictions=function(){return null!=this.report&&this.report.isPageDesigner?A.prototype.getRestrictions.call(this)^a.AllowDelete:A.prototype.getRestrictions.call(this)},b.prototype.setRestrictions=function(e){t.Report.Components.StiRestrictionsHelper.isAllowDelete2(e)&&(e^=a.AllowDelete),A.prototype.setRestrictions.call(this,e)},b.prototype.getTextBoxFromField=function(){var t=new o;return t.border=this.border.clone(),t.brush=this.brush.clone(),t.font=this.font.clone(),t.textFormat=this.textFormat.clone(),t.textBrush=this.textBrush.clone(),t.textOptions=this.textOptions.clone(),t.horAlignment=this.horAlignment,t.vertAlignment=this.vertAlignment,t},Object.defineProperty(b.prototype,"cellText",{get:function(){return this.alias},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"mergeHeaders",{get:function(){return this._mergeHeaders},set:function(t){this._mergeHeaders=t},enumerable:!1,configurable:!0}),b}(o);e.StiCrossField=A}(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.Report.CrossTab.StiCrossField,n=t.System.Collections.Hashtable,i=t.Report.Styles.StiBaseStyle,o=t.System.EventArgs,a=t.Report.Components.StiSubReport,s=t.Base.Drawing.StiBorderSides,l=t.Report.Components.StiEmptyBand,u=t.Report.Components.IStiTextBrush,c=t.Report.Components.IStiFont,p=t.Report.Components.IStiBrush,h=t.Report.Components.IStiBorder,m=t.Report.Components.StiComponentHelper,f=function(e){function f(){return null!==e&&e.apply(this,arguments)||this}return __extends(f,e),f.prototype.setReportVariables=function(t){},f.prototype.prepare=function(t){m.fillComponentPlacement(t),StiOptions.Engine.allowResetValuesAtComponent&&(t.tagValue=null,t.toolTipValue=null,t.bookmarkValue=null,t.hyperlinkValue=null)},f.prototype.unPrepare=function(t){},f.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,t.clone(!1)]}))}))},f.prototype.internalRender=function(t){return t.clone(!1)},f.prototype.renderAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var m,f,d,g,S,y,A,b,v,C,w,B,I,T,E,R,D,P,x,F,N,k,M;return __generator(this,(function(O){switch(O.label){case 0:if(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,null!=f&&(A=f.textBrush),null!=d&&(b=d.brush),null!=g&&(v=g.font),null!=S&&null!=S.border&&(C=S.border.side),B=e.enabled,null!=y&&(w=y.horAlignment),I=e.report,T=!1,E=null,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,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;c<s.count;c++){var p=o.getDataFromDataColumn(t.report.dictionary,t.valueDataColumn);if(u[c]=n.tryToNumber(p),e>0&&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;c<h.count;c++){var p=o.getDataFromBusinessObject(t.report.dictionary,t.valueDataColumn);if(u[c]=n.tryToNumber(p),e>0&&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;n<t.childNodes.length;n++){var o=t.childNodes[n];switch(o.nodeName){case"DataRelationName":this.dataRelationName=o.textContent.toString();break;case"Brush":this.brush=m.loadFromXml(o.textContent);break;case"Border":case"br":this.border=s.loadFromXml(o.textContent);break;case"ValueDataColumn":this.valueDataColumn=o.textContent.toString();break;case"Type":this.type=c.parse(r.StiSparklineType,o.textContent);break;case"ShowHighLowPoints":this.showHighLowPoints=o.textContent.stimulsoft.toBoolean();break;case"ShowFirstLastPoints":this.showFirstLastPoints=o.textContent.stimulsoft.toBoolean();break;case"PositiveColor":this.positiveColor=i.convertStringToColor(o.textContent);break;case"NegativeColor":this.negativeColor=i.convertStringToColor(o.textContent);break;case"ValuesContainer":this.valuesContainer=o.textContent.toString();break}}},Object.defineProperty(b.prototype,"componentId",{get:function(){return d.StiSparkline},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}),b.prototype.getImage=function(t){return this.getImage2()},b.prototype.getImage2=function(){var r=new e.Export.StiSvgData;return r.component=this,r.x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height),t.Report.Export.StiSparklineSvgHelper.getImage(r)},b.prototype.isExportAsImage=function(t){if(t==e.StiExportFormat.Html)return!1;if(t==e.StiExportFormat.ImageSvg)return!1;return!0},b.prototype.clone=function(t){var e,r,n=g.prototype.clone.call(this,t);return n.border=null===(e=this.border)||void 0===e?void 0:e.clone(),n.brush=null===(r=this.brush)||void 0===r?void 0:r.clone(),n},Object.defineProperty(b.prototype,"priority",{get:function(){return r.StiComponentPriority.Component},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"localizedCategory",{get:function(){return S.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"componentType",{get:function(){return r.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toolboxPosition",{get:function(){return A.Sparkline},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"localizedName",{get:function(){return S.get("Components","StiSparkline")},enumerable:!1,configurable:!0}),b.prototype.fetchValues=function(){var t;if(null==this.values&&this.report.isDesigning){var e=n.getValuesFromValueDataColumn(this,10);null!=e&&e.length>0?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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellWidth":this.cellWidth=n.textContent.stimulsoft.toNumber();break;case"CellHeight":this.cellHeight=n.textContent.stimulsoft.toNumber();break;case"HorSpacing":this.horSpacing=n.textContent.stimulsoft.toNumber();break;case"VertSpacing":this.vertSpacing=n.textContent.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=n.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=n.textContent.stimulsoft.toBoolean();break;case"ContinuousText":this.continuousText=n.textContent.stimulsoft.toBoolean();break}}},y.prototype.getImage=function(r,n){var i;return void 0===n&&(n=e.StiExportFormat.None),t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType()).getImage(this,r,n)},y.prototype.convert=function(t,e,r){void 0===r&&(r=!1),S.prototype.convert.call(this,t,e,r),this.cellWidth=e.convertFromHInches(t.convertToHInches(this.cellWidth)),this.cellHeight=e.convertFromHInches(t.convertToHInches(this.cellHeight)),this.horSpacing=e.convertFromHInches(t.convertToHInches(this.horSpacing)),this.vertSpacing=e.convertFromHInches(t.convertToHInches(this.vertSpacing))},Object.defineProperty(y.prototype,"cellWidth",{get:function(){return this.properties.getNumber(y.propertyCellWidth,0)},set:function(t){this.properties.setNumber(y.propertyCellWidth,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"cellHeight",{get:function(){return this.properties.getNumber(y.propertyCellHeight,0)},set:function(t){t<0?this.properties.setNumber(y.propertyCellHeight,0,0):this.properties.setNumber(y.propertyCellHeight,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"horSpacing",{get:function(){return this.properties.getNumber(y.propertyHorSpacing,0)},set:function(t){t<0?this.properties.setNumber(y.propertyHorSpacing,0,0):this.properties.setNumber(y.propertyHorSpacing,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"vertSpacing",{get:function(){return this.properties.getNumber(y.propertyVertSpacing,0)},set:function(t){t<0?this.properties.setNumber(y.propertyVertSpacing,0,0):this.properties.setNumber(y.propertyVertSpacing,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"wordWrap",{get:function(){return this.textOptions.wordWrap},set:function(t){this.textOptions.wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"rightToLeft",{get:function(){return this.textOptions.rightToLeft},set:function(t){this.textOptions.rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"continuousText",{get:function(){return this.properties.getBool(y.propertyContinuousText,!1)},set:function(t){this.properties.setBool(y.propertyContinuousText,t,!1)},enumerable:!1,configurable:!0}),y.prototype.getActualSize=function(){return new u(this.width,this.height)},y.splitByCells=function(t,e,r){return this.splitByCells2(t,e,r,!1)},y.splitByCells2=function(t,i,o,a){var s=new r.StiContainer;s.clientRectangle=i.clientRectangle,s.name=i.name,s.canGrow=i.canGrow;var l=s.clientRectangle;l.x=0,l.y=0;var u=t.page.unit,f=u.convertFromHInches(t.border.size/2*t.page.zoom),d=t.horSpacing,g=t.vertSpacing,S=t.cellWidth,y=t.cellHeight,A=t.border.isLeftBorderSidePresent||t.border.isRightBorderSidePresent;if(0==t.cellWidth&&(S=u.convertFromHInches(2.4*t.font.getHeight()*e.StiDpiHelper.deviceCapsScale+(A?t.border.size:0))),0==t.cellHeight&&(y=u.convertFromHInches(2.4*t.font.getHeight()*e.StiDpiHelper.deviceCapsScale)),t.continuousText){var b=l.x+f,v=l.y+f,C=!0,w=0;while(1==1){var B=Math.round2(b,2),I=Math.round2(v,2),T=Math.round2(b+S,2)-B,E=Math.round2(v+y,2)-I,R;if((R=new m(B,I,T,E)).right+d<l.right||C){var D;(D=i.clone()).clientRectangle=R,D.horAlignment=StiTextHorAlignment.Center,D.vertAlignment=StiVertAlignment.Center,D.wordWrap=!1,s.components.add(D);var P="";null!=o&&w<o.length&&(P=o[w]),D.setTextInternal(P),b+=S+d,w++,C=!1}else{if(v+=y+g,b=l.x+f,C=!0,!t.wordWrap)break;if(a&&t.canGrow){if(w>=o.length)break}else if(l.bottom<v+y+g)break}}}else{var x=new c(1,1),b=l.x+f+S;while(b+d+S<l.right)b+=d+S,x.width++;var v=l.y+f+y;while(v+g+y<l.bottom)v+=g+y,x.height++;t.wordWrap||(x.height=1);var F=new p,N="";if(null!=o)for(var k=0;k<o.length;k++){var E=o[k];h.isControl(E)?"\n"==E&&(F.add(r.StiTextInCellsHelper.trimEndWhiteSpace(N)),N=""):N+=E}if(""!=N&&F.add(r.StiTextInCellsHelper.trimEndWhiteSpace(N)),0==F.length&&F.add(N),t.wordWrap)for(var M=0;M<F.length;M++){var O=F[M];if(O.length>x.width){var _=[],j=0,G=0;while(G<O.length&&h.isWhitespace(O[G]))_[G]=j,G++;for(var H=G;H<O.length;H++)h.isWhitespace(O[H])&&j++,_[H]=j;var w,Q=(w=x.width)-1;if(_[w]>0)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;L<x.height;L++){var Y=L<F.length?F[L]:"",U=0;t.horAlignment==StiTextHorAlignment.Center&&(U=(x.width-Y.length)/2),t.horAlignment==StiTextHorAlignment.Right&&(U=x.width-Y.length),U>0&&(Y=n.repeat(" ",U)+Y),b=l.x+f;for(var J=0;J<x.width;J++){var B=Math.round2(b,2),I=Math.round2(v,2),T=Math.round2(b+S,2)-B,E=Math.round2(v+y,2)-I,R=new m(B,I,T,E),D;(D=i.clone()).clientRectangle=R,D.horAlignment=StiTextHorAlignment.Center,D.vertAlignment=StiVertAlignment.Center,D.wordWrap=!1,s.components.add(D);var P="",W=t.rightToLeft?x.width-J-1:J;W<Y.length&&(P=Y[W]),D.setTextInternal(P),b+=S+d}v+=y+g}}return s},y.replaceContainerWithContentCells=function(t,e){var r,n,i=t.parent.components.indexOf(t);t.parent.components.removeAt(i);try{for(var o=__values(e.components.toList()),a=o.next();!a.done;a=o.next()){var s=a.value;s.left+=e.left,s.top+=e.top,t.parent.components.insert(i++,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},y.prototype.createNew=function(){return new y},y.propertyCellWidth=Math.random().toString().substr(2),y.propertyCellHeight=Math.random().toString().substr(2),y.propertyHorSpacing=Math.random().toString().substr(2),y.propertyVertSpacing=Math.random().toString().substr(2),y.propertyContinuousText=Math.random().toString().substr(2),y}(r.StiText);r.StiTextInCells=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.Char,n=function(){function t(){}return t.trimEndWhiteSpace=function(t){if(StiOptions.Engine.measureTrailingSpaces)return t;var e="",n=t.length;while(n>0&&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;n<e.childNodes.length;n++){var i=e.childNodes[n];switch(i.nodeName){case"StartCap":this._startCap.loadFromXml(i);break;case"EndCap":this._endCap.loadFromXml(i);break}}},u.prototype.clone=function(e){var r=t.prototype.clone.call(this,e);return null!=this._startCap?r._startCap=this._startCap.clone():r._startCap=null,null!=this._endCap?r._endCap=this._endCap.clone():r._endCap=null,r},Object.defineProperty(u.prototype,"border",{get:function(){return null==this._border&&(this._border=new i(o.Left,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),u.prototype.convert=function(e,r,n){void 0===n&&(n=!1),null==this.getStartPoint()&&null==this.getEndPoint()&&t.prototype.convert.call(this,e,r,n)},Object.defineProperty(u.prototype,"startCap",{get:function(){return this._startCap},set:function(t){this._startCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"endCap",{get:function(){return this._endCap},set:function(t){this._endCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"width",{get:function(){if(null!=this.page)return this.page.unit.convertFromHInches(1);return 0},set:function(e){if(this.isDesigning){t.prototype.setWidth.call(this,e);var r=this.getStartPoint(),n=this.getEndPoint();if(null!=r&&null!=n){var i=new l(r.left,r.top);i=r.componentToPage(i);var o=new l(i.x,i.y);o=n.pageToComponent(o),n.left=o.x}}},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u}(e.StiCrossLinePrimitive);e.StiVerticalLinePrimitive=u}(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,r,n,i;!function(t){t[t["StyleNone"]=0]="StyleNone",t[t["Style11"]=11]="Style11",t[t["Style12"]=12]="Style12",t[t["Style13"]=13]="Style13",t[t["Style14"]=14]="Style14",t[t["Style15"]=15]="Style15",t[t["Style16"]=16]="Style16",t[t["Style17"]=17]="Style17",t[t["Style18"]=18]="Style18",t[t["Style19"]=19]="Style19",t[t["Style31"]=31]="Style31",t[t["Style32"]=32]="Style32",t[t["Style33"]=33]="Style33",t[t["Style34"]=34]="Style34",t[t["Style35"]=35]="Style35",t[t["Style36"]=36]="Style36",t[t["Style37"]=37]="Style37",t[t["Style38"]=38]="Style38",t[t["Style39"]=39]="Style39",t[t["Style41"]=41]="Style41",t[t["Style42"]=42]="Style42",t[t["Style43"]=43]="Style43",t[t["Style44"]=44]="Style44",t[t["Style45"]=45]="Style45",t[t["Style46"]=46]="Style46",t[t["Style47"]=47]="Style47",t[t["Style48"]=48]="Style48",t[t["Style49"]=49]="Style49",t[t["Style51"]=51]="Style51",t[t["Style52"]=52]="Style52",t[t["Style53"]=53]="Style53",t[t["Style54"]=54]="Style54",t[t["Style55"]=55]="Style55",t[t["Style56"]=56]="Style56",t[t["Style57"]=57]="Style57",t[t["Style58"]=58]="Style58",t[t["Style59"]=59]="Style59"}(e=t.StiTableStyle||(t.StiTableStyle={})),function(t){t[t["Text"]=0]="Text",t[t["Image"]=1]="Image",t[t["CheckBox"]=2]="CheckBox",t[t["RichText"]=3]="RichText"}(r=t.StiTablceCellType||(t.StiTablceCellType={})),function(t){t[t["None"]=0]="None",t[t["Page"]=1]="Page",t[t["Table"]=2]="Table"}(n=t.StiTableAutoWidth||(t.StiTableAutoWidth={})),function(t){t[t["None"]=0]="None",t[t["LastColumns"]=1]="LastColumns",t[t["FullTable"]=2]="FullTable"}(i=t.StiTableAutoWidthType||(t.StiTableAutoWidthType={}))}(e=t.Table||(t.Table={}))}(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.IStiTableCell="IStiTableCell"}(e=t.Table||(t.Table={}))}(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.IStiTableComponent="IStiTableComponent"}(e=t.Table||(t.Table={}))}(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){var e=function(){function t(t){this._widths=new Array(t),this._fixedColumn=new Array(t);for(var e=0;e<t;e++)this._widths[e]=0,this._fixedColumn[e]=!1}return t.prototype.setFixedColumn=function(t,e){this._fixedColumn[t]=!0,this._widths[t]<e&&(this._widths[t]=e)},t.prototype.add=function(t,e){this._fixedColumn[t]||(this._widths[t]+=e)},t.prototype.addLastNotFixed=function(t){for(var e=this._fixedColumn.length-1;0!=e;e--)if(!this._fixedColumn[e])return void(this._widths[e]+=t)},t.prototype.subtract=function(t,e){this._fixedColumn[t]||(this._widths[t]-=e)},t.prototype.setWidth=function(t,e){this._fixedColumn[t]||(this._widths[t]=e)},t.prototype.getFixed=function(t){return this._fixedColumn[t]},Object.defineProperty(t.prototype,"length",{get:function(){return this._widths.length},enumerable:!1,configurable:!0}),t.prototype.getCountNotFixedColumn=function(){for(var t=0,e=0;e<this._fixedColumn.length;e++)this._fixedColumn[e]||t++;return t},t.prototype.getWidth=function(t){return this._widths[t]},t.prototype.normalize=function(){for(var t=0,e=0,r=0;r<this._widths.length;r++){t+=+this._widths[r];var n=Math.round2(t-e,2);this._widths[r]=+n,e+=n}},t}();t.StiColumnSize=e}(e=t.Table||(t.Table={}))}(e=t.Components||(t.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.System.StiString,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.Localization.StiLocalization,s=t.System.Collections.Hashtable,l=t.System.Drawing.Rectangle,u=t.System.Drawing.Size,c=t.System.Enum,p=t.System.Drawing.Color,h=t.Base.Drawing.StiSolidBrush,m=t.Base.Drawing.StiBrush,f=t.Base.Drawing.StiBorder,d=t.Base.Drawing.StiBorderSides,g=t.Base.Drawing.StiPenStyle,S=t.System.Drawing.Font,y=t.Base.Drawing.StiEmptyBrush,A=function(A){function v(t){void 0===t&&(t=l.empty);var e=A.call(this,t)||this;return e.isConverted=!1,e._dockableTable=!0,e._autoWidth=n.StiTableAutoWidth.None,e._autoWidthType=n.StiTableAutoWidthType.None,e._rowCount=5,e._columnCount=5,e._footerRowsCount=0,e._headerRowsCount=0,e._headerPrintOn=r.StiPrintOnType.AllPages,e._headerCanGrow=!0,e._headerCanShrink=!1,e._headerCanBreak=!1,e._headerPrintAtBottom=!1,e._headerPrintIfEmpty=!0,e._headerPrintOnAllPages=!0,e._headerPrintOnEvenOddPages=r.StiPrintOnEvenOddPagesType.Ignore,e._footerPrintOn=r.StiPrintOnType.AllPages,e._footerCanGrow=!0,e._footerCanShrink=!1,e._footerCanBreak=!1,e._footerPrintAtBottom=!1,e._footerPrintIfEmpty=!0,e._footerPrintOnAllPages=!1,e._footerPrintOnEvenOddPages=r.StiPrintOnEvenOddPagesType.Ignore,e._numberID=0,e.defaultClientRectangle=new l(0,0,300,120),e._tableStyle=n.StiTableStyle.StyleNone,e._rowCount=e._columnCount=5,e.placeOnToolbox=!1,e}return __extends(v,A),v.prototype.implements=function(){return v.ImplementsStiTable||(v.ImplementsStiTable=A.prototype.implements.call(this).concat([n.IStiTableComponent,o])),v.ImplementsStiTable},v.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.removeProperty("Columns"),e.removeProperty("ColumnWidth"),e.removeProperty("ColumnGaps"),e.removeProperty("MinRowsInColumn"),e.addPropertyBool("DockableTable",this.dockableTable,!0),e.addPropertyEnum("AutoWidth",n.StiTableAutoWidth,this.autoWidth,n.StiTableAutoWidth.None),e.addPropertyEnum("AutoWidthType",n.StiTableAutoWidthType,this.autoWidthType,n.StiTableAutoWidthType.None),e.addPropertyNumber("RowCount",this.rowCount,5),e.addPropertyNumber("ColumnCount",this.columnCount,5),e.addPropertyNumber("FooterRowsCount",this.footerRowsCount),e.addPropertyNumber("HeaderRowsCount",this.headerRowsCount),e.addPropertyEnum("HeaderPrintOn",r.StiPrintOnType,this.headerPrintOn,r.StiPrintOnType.AllPages),e.addPropertyBool("HeaderCanGrow",this.headerCanGrow,!0),e.addPropertyBool("HeaderCanShrink",this.headerCanShrink),e.addPropertyBool("HeaderCanBreak",this.headerCanBreak),e.addPropertyBool("HeaderPrintAtBottom",this.headerPrintAtBottom),e.addPropertyBool("HeaderPrintIfEmpty",this.headerPrintIfEmpty,!0),e.addPropertyBool("HeaderPrintOnAllPages",this.headerPrintOnAllPages,!0),e.addPropertyEnum("HeaderPrintOnEvenOddPages",r.StiPrintOnEvenOddPagesType,this.headerPrintOnEvenOddPages,r.StiPrintOnEvenOddPagesType.Ignore),e.addPropertyEnum("FooterPrintOn",r.StiPrintOnType,this.footerPrintOn,r.StiPrintOnType.AllPages),e.addPropertyBool("FooterCanGrow",this.footerCanGrow,!0),e.addPropertyBool("FooterCanShrink",this.footerCanShrink),e.addPropertyBool("FooterCanBreak",this.footerCanBreak),e.addPropertyBool("FooterPrintAtBottom",this.footerPrintAtBottom),e.addPropertyBool("FooterPrintIfEmpty",this.footerPrintIfEmpty,!0),e.addPropertyBool("FooterPrintOnAllPages",this.footerPrintOnAllPages),e.addPropertyEnum("FooterPrintOnEvenOddPages",r.StiPrintOnEvenOddPagesType,this.footerPrintOnEvenOddPages,r.StiPrintOnEvenOddPagesType.Ignore),e.addPropertyNumber("NumberID",this.numberID),e.addPropertyEnum("TableStyle",n.StiTableStyle,this.tableStyle,n.StiTableStyle.StyleNone),e},v.prototype.loadFromJsonObject=function(t){var e,i;A.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"DockableTable":this._dockableTable=s.value.stimulsoft.toBoolean();break;case"AutoWidth":this._autoWidth=c.parse(n.StiTableAutoWidth,s.value);break;case"AutoWidthType":this._autoWidthType=c.parse(n.StiTableAutoWidthType,s.value);break;case"RowCount":this._rowCount=s.value.stimulsoft.toNumber();break;case"ColumnCount":this._columnCount=s.value.stimulsoft.toNumber();break;case"FooterRowsCount":this._footerRowsCount=s.value.stimulsoft.toNumber();break;case"HeaderRowsCount":this._headerRowsCount=s.value.stimulsoft.toNumber();break;case"HeaderPrintOn":this._headerPrintOn=c.parse(r.StiPrintOnType,s.value);break;case"HeaderCanGrow":this._headerCanGrow=s.value.stimulsoft.toBoolean();break;case"HeaderCanShrink":this._headerCanShrink=s.value.stimulsoft.toBoolean();break;case"HeaderCanBreak":this._headerCanBreak=s.value.stimulsoft.toBoolean();break;case"HeaderPrintAtBottom":this._headerPrintAtBottom=s.value.stimulsoft.toBoolean();break;case"HeaderPrintIfEmpty":this._headerPrintIfEmpty=s.value.stimulsoft.toBoolean();break;case"HeaderPrintOnAllPages":this._headerPrintOnAllPages=s.value.stimulsoft.toBoolean();break;case"HeaderPrintOnEvenOddPages":this._headerPrintOnEvenOddPages=c.parse(r.StiPrintOnEvenOddPagesType,s.value);break;case"FooterPrintOn":this._footerPrintOn=c.parse(r.StiPrintOnType,s.value);break;case"FooterCanGrow":this._footerCanGrow=s.value.stimulsoft.toBoolean();break;case"FooterCanShrink":this._footerCanShrink=s.value.stimulsoft.toBoolean();break;case"FooterCanBreak":this._footerCanBreak=s.value.stimulsoft.toBoolean();break;case"FooterPrintAtBottom":this._footerPrintAtBottom=s.value.stimulsoft.toBoolean();break;case"FooterPrintIfEmpty":this._footerPrintIfEmpty=s.value.stimulsoft.toBoolean();break;case"FooterPrintOnAllPages":this._footerPrintOnAllPages=s.value.stimulsoft.toBoolean();break;case"FooterPrintOnEvenOddPages":this._footerPrintOnEvenOddPages=c.parse(r.StiPrintOnEvenOddPagesType,s.value);break;case"NumberID":this._numberID=s.value.stimulsoft.toNumber();break;case"TableStyle":this._tableStyle=c.parse(n.StiTableStyle,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}}},v.prototype.loadFromXml=function(t,e){A.prototype.loadFromXml.call(this,t,e);for(var i=0;i<t.childNodes.length;i++){var o=t.childNodes[i];switch(o.nodeName){case"DockableTable":this._dockableTable=o.textContent.stimulsoft.toBoolean();break;case"AutoWidth":this._autoWidth=c.parse(n.StiTableAutoWidth,o.textContent);break;case"AutoWidthType":this._autoWidthType=c.parse(n.StiTableAutoWidthType,o.textContent);break;case"RowCount":this._rowCount=o.textContent.stimulsoft.toNumber();break;case"ColumnCount":this._columnCount=o.textContent.stimulsoft.toNumber();break;case"FooterRowsCount":this._footerRowsCount=o.textContent.stimulsoft.toNumber();break;case"HeaderRowsCount":this._headerRowsCount=o.textContent.stimulsoft.toNumber();break;case"HeaderPrintOn":this._headerPrintOn=c.parse(r.StiPrintOnType,o.textContent);break;case"HeaderCanGrow":this._headerCanGrow=o.textContent.stimulsoft.toBoolean();break;case"HeaderCanShrink":this._headerCanShrink=o.textContent.stimulsoft.toBoolean();break;case"HeaderCanBreak":this._headerCanBreak=o.textContent.stimulsoft.toBoolean();break;case"HeaderPrintAtBottom":this._headerPrintAtBottom=o.textContent.stimulsoft.toBoolean();break;case"HeaderPrintIfEmpty":this._headerPrintIfEmpty=o.textContent.stimulsoft.toBoolean();break;case"HeaderPrintOnAllPages":this._headerPrintOnAllPages=o.textContent.stimulsoft.toBoolean();break;case"HeaderPrintOnEvenOddPages":this._headerPrintOnEvenOddPages=c.parse(r.StiPrintOnEvenOddPagesType,o.textContent);break;case"FooterPrintOn":this._footerPrintOn=c.parse(r.StiPrintOnType,o.textContent);break;case"FooterCanGrow":this._footerCanGrow=o.textContent.stimulsoft.toBoolean();break;case"FooterCanShrink":this._footerCanShrink=o.textContent.stimulsoft.toBoolean();break;case"FooterCanBreak":this._footerCanBreak=o.textContent.stimulsoft.toBoolean();break;case"FooterPrintAtBottom":this._footerPrintAtBottom=o.textContent.stimulsoft.toBoolean();break;case"FooterPrintIfEmpty":this._footerPrintIfEmpty=o.textContent.stimulsoft.toBoolean();break;case"FooterPrintOnAllPages":this._footerPrintOnAllPages=o.textContent.stimulsoft.toBoolean();break;case"FooterPrintOnEvenOddPages":this._footerPrintOnEvenOddPages=c.parse(r.StiPrintOnEvenOddPagesType,o.textContent);break;case"NumberID":this._numberID=o.textContent.stimulsoft.toNumber();break;case"TableStyle":this._tableStyle=c.parse(n.StiTableStyle,o.textContent);break}}},Object.defineProperty(v.prototype,"componentId",{get:function(){return e.StiComponentId.StiTable},enumerable:!1,configurable:!0}),v.prototype.clone=function(t,e){var i,o,a=A.prototype.clone.call(this,t,!1);if(a._numberID=this._numberID,a._rowCount=this._rowCount,a._columnCount=this._columnCount,a._footerRowsCount=this._footerRowsCount,a._headerRowsCount=this._headerRowsCount,a._tableStyle=this._tableStyle,a._dockableTable=this._dockableTable,a._headerPrintOn=this._headerPrintOn,a._headerCanGrow=this._headerCanGrow,a._headerCanShrink=this._headerCanShrink,a._headerCanBreak=this._headerCanBreak,a._headerPrintAtBottom=this._headerPrintAtBottom,a._headerPrintIfEmpty=this._headerPrintIfEmpty,a._headerPrintOnAllPages=this._headerPrintOnAllPages,a._headerPrintOnEvenOddPages=this._headerPrintOnEvenOddPages,a._footerPrintOn=this._footerPrintOn,a._footerCanGrow=this._footerCanGrow,a._footerCanShrink=this._footerCanShrink,a._footerCanBreak=this._footerCanBreak,a._footerPrintAtBottom=this._footerPrintAtBottom,a._footerPrintIfEmpty=this._footerPrintIfEmpty,a._footerPrintOnAllPages=this._footerPrintOnAllPages,a._footerPrintOnEvenOddPages=this._footerPrintOnEvenOddPages,a._autoWidth=this._autoWidth,a._autoWidthType=this._autoWidthType,a.components=new r.StiComponentsCollection(a),e)try{for(var s=__values(this.components.list),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:var c=u.clone(!0);c.parent=a,a.components.add(c);break;case n.StiTablceCellType.Image:var p=u.clone(!0);p.parent=a,a.components.add(p);break;case n.StiTablceCellType.CheckBox:var h=u.clone(!0);h.parent=a,a.components.add(h);break;case n.StiTablceCellType.RichText:var m=u.clone(!0);m.parent=a,a.components.add(m);break}}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a},v.prototype.convert=function(t,e,r){void 0===r&&(r=!1),A.prototype.convert.call(this,t,e,r),this.distributeRows(),this.distributeColumns()},Object.defineProperty(v.prototype,"canGrow",{get:function(){return A.prototype.getCanGrow.call(this)},set:function(t){A.prototype.setCanGrow.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"localizedName",{get:function(){return a.get("Components","StiTable")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"localizedCategory",{get:function(){return a.get("Report","Bands")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dockableTable",{get:function(){return this._dockableTable},set:function(t){this._dockableTable=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"autoWidth",{get:function(){return this._autoWidth},set:function(t){this._autoWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"autoWidthType",{get:function(){return this._autoWidthType},set:function(t){this._autoWidthType=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"rowCount",{get:function(){return this._rowCount},set:function(t){if(t>0){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;o<n+this.columnCount;o++){var a;if((a=this.components.getByIndex(o)).canGrow){i||(i=!0);break}}for(var o=n;o<n+this.columnCount;o++){var a;(a=this.components.getByIndex(o)).growToHeight=i}},Object.defineProperty(v.prototype,"tableStyle",{get:function(){return this._tableStyle},set:function(t){this._tableStyle!=t&&(this._tableStyle=t,0!=+this._tableStyle&&this.refreshTableStyle())},enumerable:!1,configurable:!0}),v.prototype.refreshTableStyle=function(){switch(this._tableStyle){case n.StiTableStyle.StyleNone:break;case n.StiTableStyle.Style11:this.applyStyle1(b.getStyle(n.StiTableStyle.Style11));break;case n.StiTableStyle.Style12:this.applyStyle1(b.getStyle(n.StiTableStyle.Style12));break;case n.StiTableStyle.Style13:this.applyStyle1(b.getStyle(n.StiTableStyle.Style13));break;case n.StiTableStyle.Style14:this.applyStyle1(b.getStyle(n.StiTableStyle.Style14));break;case n.StiTableStyle.Style15:this.applyStyle1(b.getStyle(n.StiTableStyle.Style15));break;case n.StiTableStyle.Style16:this.applyStyle1(b.getStyle(n.StiTableStyle.Style16));break;case n.StiTableStyle.Style17:this.applyStyle1(b.getStyle(n.StiTableStyle.Style17));break;case n.StiTableStyle.Style18:this.applyStyle1(b.getStyle(n.StiTableStyle.Style18));break;case n.StiTableStyle.Style19:this.applyStyle1(b.getStyle(n.StiTableStyle.Style19));break;case n.StiTableStyle.Style31:this.applyStyle3(b.getStyle(n.StiTableStyle.Style31));break;case n.StiTableStyle.Style32:this.applyStyle3(b.getStyle(n.StiTableStyle.Style32));break;case n.StiTableStyle.Style33:this.applyStyle3(b.getStyle(n.StiTableStyle.Style33));break;case n.StiTableStyle.Style34:this.applyStyle3(b.getStyle(n.StiTableStyle.Style34));break;case n.StiTableStyle.Style35:this.applyStyle3(b.getStyle(n.StiTableStyle.Style35));break;case n.StiTableStyle.Style36:this.applyStyle3(b.getStyle(n.StiTableStyle.Style36));break;case n.StiTableStyle.Style37:this.applyStyle3(b.getStyle(n.StiTableStyle.Style37));break;case n.StiTableStyle.Style38:this.applyStyle3(b.getStyle(n.StiTableStyle.Style38));break;case n.StiTableStyle.Style39:this.applyStyle3(b.getStyle(n.StiTableStyle.Style39));break;case n.StiTableStyle.Style41:this.applyStyle4(b.getStyle(n.StiTableStyle.Style41));break;case n.StiTableStyle.Style42:this.applyStyle4(b.getStyle(n.StiTableStyle.Style42));break;case n.StiTableStyle.Style43:this.applyStyle4(b.getStyle(n.StiTableStyle.Style43));break;case n.StiTableStyle.Style44:this.applyStyle4(b.getStyle(n.StiTableStyle.Style44));break;case n.StiTableStyle.Style45:this.applyStyle4(b.getStyle(n.StiTableStyle.Style45));break;case n.StiTableStyle.Style46:this.applyStyle4(b.getStyle(n.StiTableStyle.Style46));break;case n.StiTableStyle.Style47:this.applyStyle4(b.getStyle(n.StiTableStyle.Style47));break;case n.StiTableStyle.Style48:this.applyStyle4(b.getStyle(n.StiTableStyle.Style48));break;case n.StiTableStyle.Style49:this.applyStyle4(b.getStyle(n.StiTableStyle.Style49));break;case n.StiTableStyle.Style51:this.applyStyle5(b.getStyle(n.StiTableStyle.Style51));break;case n.StiTableStyle.Style52:this.applyStyle5(b.getStyle(n.StiTableStyle.Style52));break;case n.StiTableStyle.Style53:this.applyStyle5(b.getStyle(n.StiTableStyle.Style53));break;case n.StiTableStyle.Style54:this.applyStyle5(b.getStyle(n.StiTableStyle.Style54));break;case n.StiTableStyle.Style55:this.applyStyle5(b.getStyle(n.StiTableStyle.Style55));break;case n.StiTableStyle.Style56:this.applyStyle5(b.getStyle(n.StiTableStyle.Style56));break;case n.StiTableStyle.Style57:this.applyStyle5(b.getStyle(n.StiTableStyle.Style57));break;case n.StiTableStyle.Style58:this.applyStyle5(b.getStyle(n.StiTableStyle.Style58));break;case n.StiTableStyle.Style59:this.applyStyle5(b.getStyle(n.StiTableStyle.Style59));break}},v.prototype.applyStyleNone=function(){var e,r;if(0==this.components.count)return;var i=b.getStyle(n.StiTableStyle.StyleNone);try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:s.border=new f(d.All,i.gridColor,1,g.Solid,!1,4,new h(i.gridColor)),s.brush=new h(t.System.Drawing.Color.transparent),s.textBrush=new h(i.dataTextColor);break;case n.StiTablceCellType.Image:s.stimulsoft.as(n.StiTableCellImage).border=new f(d.All,i.gridColor,1,g.Solid,!1,4,new h(i.gridColor)),s.stimulsoft.as(n.StiTableCellImage).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.CheckBox:s.stimulsoft.as(n.StiTableCellCheckBox).border=new f(d.All,i.gridColor,1,g.Solid,!1,4,new h(i.gridColor)),s.stimulsoft.as(n.StiTableCellCheckBox).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.RichText:s.stimulsoft.as(n.StiTableCellRichText).border=new f(d.All,i.gridColor,1,g.Solid,!1,4,new h(i.gridColor)),s.stimulsoft.as(n.StiTableCellRichText).backColor=h.toColor(new h(t.System.Drawing.Color.transparent));break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},v.prototype.applyStyleNoneForCell=function(e){var r=b.getStyle(n.StiTableStyle.StyleNone);switch(e.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:e.border=new f(d.All,r.gridColor,1,g.Solid,!1,4,new h(r.gridColor)),e.brush=new h(t.System.Drawing.Color.transparent),e.textBrush=new h(r.dataTextColor);break;case n.StiTablceCellType.Image:e.stimulsoft.as(n.StiTableCellImage).border=new f(d.All,r.gridColor,1,g.Solid,!1,4,new h(r.gridColor)),e.stimulsoft.as(n.StiTableCellImage).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.CheckBox:e.stimulsoft.as(n.StiTableCellCheckBox).border=new f(d.All,r.gridColor,1,g.Solid,!1,4,new h(r.gridColor)),e.stimulsoft.as(n.StiTableCellCheckBox).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.RichText:e.stimulsoft.as(n.StiTableCellRichText).border=new f(d.All,r.gridColor,1,g.Solid,!1,4,new h(r.gridColor)),e.stimulsoft.as(n.StiTableCellRichText).backColor=h.toColor(new h(t.System.Drawing.Color.transparent));break}},v.prototype.applyStyle1=function(e){var r,i;if(0==this.components.count)return;try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:s.border=new f(d.All,e.gridColor,1,g.Solid,!1,4,new h(e.gridColor)),s.brush=new h(t.System.Drawing.Color.transparent),s.textBrush=new h(e.dataTextColor);break;case n.StiTablceCellType.Image:s.stimulsoft.as(n.StiTableCellImage).border=new f(d.All,e.gridColor,1,g.Solid,!1,4,new h(e.gridColor)),s.stimulsoft.as(n.StiTableCellImage).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.CheckBox:s.stimulsoft.as(n.StiTableCellCheckBox).border=new f(d.All,e.gridColor,1,g.Solid,!1,4,new h(e.gridColor)),s.stimulsoft.as(n.StiTableCellCheckBox).brush=new h(t.System.Drawing.Color.transparent);break;case n.StiTablceCellType.RichText:s.stimulsoft.as(n.StiTableCellRichText).border=new f(d.All,e.gridColor,1,g.Solid,!1,4,new h(e.gridColor)),s.stimulsoft.as(n.StiTableCellRichText).backColor=h.toColor(new h(t.System.Drawing.Color.transparent));break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},v.prototype.applyStyle3=function(t){if(0==this.components.count)return;var e=new f(d.All,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),r=new h(t.headerColor),i=new h(t.headerFooterTextColor),o=new f(d.None|d.Top|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),a=new f(d.None|d.Top|d.Left|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),s=new f(d.None|d.Top|d.Right|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),l=new h(t.dataColor),u=new h(t.dataTextColor),c=0;if(this._headerRowsCount>0){for(var p=0,S=0;S<this._headerRowsCount;S++)for(var y=0;y<this._columnCount;y++){var A=this.components.getByIndex(p);if(null!=A)switch(A.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:A.border=e.clone(),A.brush=r.clone(),A.textBrush=i.clone();break;case n.StiTablceCellType.Image:A.border=e.clone(),A.brush=r.clone();break;case n.StiTablceCellType.CheckBox:A.border=e.clone(),A.brush=r.clone();break;case n.StiTablceCellType.RichText:A.border=e.clone(),A.backColor=h.toColor(r.clone());break}p++}c=this._headerRowsCount}for(var b=this._rowCount-c,v=c*this._columnCount,S=c;S<this._rowCount;S++)for(var y=0;y<this._columnCount;y++){var C=this.components.getByIndex(v);if(null!=C)switch(C.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:0==y?C.border=a.clone():y==this._columnCount-1?C.border=s.clone():C.border=o.clone(),C.brush=l.clone(),C.textBrush=u.clone();break;case n.StiTablceCellType.Image:0==y?C.stimulsoft.as(n.StiTableCellImage).border=a.clone():y==this._columnCount-1?C.stimulsoft.as(n.StiTableCellImage).border=s.clone():C.stimulsoft.as(n.StiTableCellImage).border=o.clone(),C.stimulsoft.as(n.StiTableCellImage).brush=l.clone();break;case n.StiTablceCellType.CheckBox:0==y?C.stimulsoft.as(n.StiTableCellCheckBox).border=a.clone():y==this._columnCount-1?C.stimulsoft.as(n.StiTableCellCheckBox).border=s.clone():C.stimulsoft.as(n.StiTableCellCheckBox).border=o.clone(),C.stimulsoft.as(n.StiTableCellCheckBox).brush=l.clone();break;case n.StiTablceCellType.RichText:0==y?C.stimulsoft.as(n.StiTableCellRichText).border=a.clone():y==this._columnCount-1?C.stimulsoft.as(n.StiTableCellRichText).border=s.clone():C.stimulsoft.as(n.StiTableCellRichText).border=o.clone(),C.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(l.clone());break}v++}},v.prototype.applyStyle4=function(t){if(0==this.components.count)return;var e=new f(d.All,t.footerColor,1,g.Solid,!1,4,new h(t.footerColor)),r=new h(t.footerColor),i=new h(t.headerFooterTextColor),o=new f(d.None|d.Top|d.Bottom,t.footerColor,1,g.Solid,!1,4,new h(t.footerColor)),a=new f(d.None|d.Top|d.Left|d.Bottom,t.footerColor,1,g.Solid,!1,4,new h(t.footerColor)),s=new f(d.None|d.Top|d.Right|d.Bottom,t.footerColor,1,g.Solid,!1,4,new h(t.footerColor)),l=new h(t.dataColor),u=new h(t.dataTextColor);if(this._footerRowsCount>0)for(var c=this._rowCount-this._footerRowsCount,p=c*this._columnCount,S=c;S<this._rowCount;S++)for(var y=0;y<this._columnCount;y++){var A=this.components.getByIndex(p);if(null!=A)switch(A.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:A.border=e.clone(),A.brush=r.clone(),A.textBrush=i.clone();break;case n.StiTablceCellType.Image:A.stimulsoft.as(n.StiTableCellImage).border=e.clone(),A.stimulsoft.as(n.StiTableCellImage).brush=r.clone();break;case n.StiTablceCellType.CheckBox:A.stimulsoft.as(n.StiTableCellCheckBox).border=e.clone(),A.stimulsoft.as(n.StiTableCellCheckBox).brush=r.clone();break;case n.StiTablceCellType.RichText:A.stimulsoft.as(n.StiTableCellRichText).border=e.clone(),A.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(r.clone());break}p++}for(var b=0,S=0;S<this._rowCount-this._footerRowsCount;S++)for(var y=0;y<this._columnCount;y++){var v=this.components.getByIndex(b);if(null!=v)switch(v.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:0==y?v.border=a.clone():y==this._columnCount-1?v.border=s.clone():v.border=o.clone(),v.brush=l.clone(),v.textBrush=u.clone();break;case n.StiTablceCellType.Image:0==y?v.stimulsoft.as(n.StiTableCellImage).border=a.clone():y==this._columnCount-1?v.stimulsoft.as(n.StiTableCellImage).border=s.clone():v.stimulsoft.as(n.StiTableCellImage).border=o.clone(),v.stimulsoft.as(n.StiTableCellImage).brush=l.clone();break;case n.StiTablceCellType.CheckBox:0==y?v.stimulsoft.as(n.StiTableCellCheckBox).border=a.clone():y==this._columnCount-1?v.stimulsoft.as(n.StiTableCellCheckBox).border=s.clone():v.stimulsoft.as(n.StiTableCellCheckBox).border=o.clone(),v.stimulsoft.as(n.StiTableCellCheckBox).brush=l.clone();break;case n.StiTablceCellType.RichText:0==y?v.stimulsoft.as(n.StiTableCellRichText).border=a.clone():y==this._columnCount-1?v.stimulsoft.as(n.StiTableCellRichText).border=s.clone():v.stimulsoft.as(n.StiTableCellRichText).border=o.clone(),v.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(l.clone());break}b++}},v.prototype.applyStyle5=function(t){if(0==this.components.count)return;var e=new f(d.All,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),r=new h(t.headerColor),i=new h(t.headerFooterTextColor),o=new f(d.None|d.Top|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),a=new f(d.None|d.Top|d.Left|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),s=new f(d.None|d.Top|d.Right|d.Bottom,t.headerColor,1,g.Solid,!1,4,new h(t.headerColor)),l=new h(t.dataColor),u=new h(t.dataTextColor),c=0;if(this._headerRowsCount>0){for(var p=0,S=0;S<this._headerRowsCount;S++)for(var y=0;y<this._columnCount;y++){var A=this.components.getByIndex(p);if(null!=A)switch(A.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:A.border=e.clone(),A.brush=r.clone(),A.textBrush=i.clone();break;case n.StiTablceCellType.Image:A.stimulsoft.as(n.StiTableCellImage).border=e.clone(),A.stimulsoft.as(n.StiTableCellImage).brush=r.clone();break;case n.StiTablceCellType.CheckBox:A.stimulsoft.as(n.StiTableCellCheckBox).border=e.clone(),A.stimulsoft.as(n.StiTableCellCheckBox).brush=r.clone();break;case n.StiTablceCellType.RichText:A.stimulsoft.as(n.StiTableCellRichText).border=e.clone(),A.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(r.clone());break}p++}c=this._headerRowsCount}if(this.footerRowsCount>0)for(var b=this._rowCount-this._footerRowsCount,p=b*this._columnCount,S=b;S<this._rowCount;S++)for(var y=0;y<this._columnCount;y++){var v=this.components.getByIndex(p);if(null!=v)switch(v.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:v.border=e.clone(),v.brush=r.clone(),v.textBrush=i.clone();break;case n.StiTablceCellType.Image:v.stimulsoft.as(n.StiTableCellImage).border=e.clone(),v.stimulsoft.as(n.StiTableCellImage).brush=r.clone();break;case n.StiTablceCellType.CheckBox:v.stimulsoft.as(n.StiTableCellCheckBox).border=e.clone(),v.stimulsoft.as(n.StiTableCellCheckBox).brush=r.clone();break;case n.StiTablceCellType.RichText:v.stimulsoft.as(n.StiTableCellRichText).border=e.clone(),v.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(r.clone());break}p++}for(var C=c*this._columnCount,S=c;S<this._rowCount-this._footerRowsCount;S++)for(var y=0;y<this._columnCount;y++){var w=this.components.getByIndex(C);if(null!=w)switch(w.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Text:0==y?w.border=a.clone():y==this._columnCount-1?w.border=s.clone():w.border=o.clone(),w.brush=l.clone(),w.textBrush=u.clone();break;case n.StiTablceCellType.Image:0==y?w.stimulsoft.as(n.StiTableCellImage).border=a.clone():y==this._columnCount-1?w.stimulsoft.as(n.StiTableCellImage).border=s.clone():w.stimulsoft.as(n.StiTableCellImage).border=o.clone(),w.stimulsoft.as(n.StiTableCellImage).brush=l.clone();break;case n.StiTablceCellType.CheckBox:0==y?w.stimulsoft.as(n.StiTableCellCheckBox).border=a.clone():y==this._columnCount-1?w.stimulsoft.as(n.StiTableCellCheckBox).border=s.clone():w.stimulsoft.as(n.StiTableCellCheckBox).border=o.clone(),w.stimulsoft.as(n.StiTableCellCheckBox).brush=l.clone();break;case n.StiTablceCellType.RichText:0==y?w.stimulsoft.as(n.StiTableCellRichText).border=a.clone():y==this._columnCount-1?w.stimulsoft.as(n.StiTableCellRichText).border=s.clone():w.stimulsoft.as(n.StiTableCellRichText).border=o.clone(),w.stimulsoft.as(n.StiTableCellRichText).backColor=m.toColor(l.clone());break}C++}},v.prototype.changeRowCount=function(t,e){if(null==this.page||null==this.report)return;if(e>0&&e!=t){e<this._headerRowsCount+this._footerRowsCount&&(this._headerRowsCount=0,this._footerRowsCount=0),A.prototype.setMinHeight.call(this,this.page.gridSize*e);var r=e-t;r>0?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;o<t.length;o++)n>t[o]&&(n=t[o]),i<t[o]&&(i=t[o]);e.ref=n,r.ref=i},v.prototype.findRightSelectedElement=function(t,e,r){var n=e.ref,i=r.ref;n=t[0],i=t[0];for(var o=1;o<t.length;o++)n>t[o]&&(n=t[o]),i<t[o]&&(i=t[o]);e.ref=n,r.ref=i},v.prototype.changeTableCellContentInImage=function(t){if(t.stimulsoft.is(n.StiTableCell)){var e=t.stimulsoft.as(n.StiTableCell),r,i;if(-1==(r=this.components.indexOf(e)))return;(i=new n.StiTableCellImage).clientRectangle=e.clientRectangle,i.name=e.name,i.border=e.border,i.brush=e.brush,i.id=e.id,i.restrictions=e.restrictions,i.page=e.page,i.parent=e.parent,i.canBreak=e.canBreak,i.canGrow=e.canGrow,i.canShrink=e.canShrink,i.enabled=e.enabled,i.growToHeight=e.growToHeight,i.printable=e.printable,0!=e.text.length&&(i.dataColumn=e.text.substring(1,e.text.length-2)),e.join&&(i._join=e._join,i._parentJoin=e._parentJoin,i._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),e=null}else if(t.stimulsoft.is(n.StiTableCellCheckBox)){var o=t.stimulsoft.as(n.StiTableCellCheckBox),r,i;if(-1==(r=this.components.indexOf(o)))return;(i=new n.StiTableCellImage).clientRectangle=o.clientRectangle,i.name=o.name,i.border=o.border,i.brush=o.brush,i.id=o.id,i.restrictions=o.restrictions,i.page=o.page,i.parent=o.parent,i.canGrow=o.canGrow,i.canShrink=o.canShrink,i.enabled=o.enabled,i.growToHeight=o.growToHeight,i.printable=o.printable,0!=o.checkedValue.toString().length&&(i.dataColumn=o.checkedValue.toString().substring(1,o.checkedValue.toString().length-2)),o._join&&(i._join=o._join,i._parentJoin=o._parentJoin,i._joinCells=o._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),o=null}else if(t.stimulsoft.is(n.StiTableCellRichText)){var a=t.stimulsoft.as(n.StiTableCellRichText),r,i;if(-1==(r=this.components.indexOf(a)))return;(i=new n.StiTableCellImage).clientRectangle=a.clientRectangle,i.name=a.name,i.border=a.border,i.brush=new h(a.backColor),i.id=a.id,i.restrictions=a.restrictions,i.page=a.page,i.parent=a.parent,i.canGrow=a.canGrow,i.canShrink=a.canShrink,i.enabled=a.enabled,i.growToHeight=a.growToHeight,i.printable=a.printable,0!=a.dataColumn.length&&(i.dataColumn=a.dataColumn),a._join&&(i._join=a._join,i._parentJoin=a._parentJoin,i._joinCells=a._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),a=null}return},v.prototype.changeTableCellContentInText=function(t){if(t.stimulsoft.is(n.StiTableCellImage)){var e=t.stimulsoft.as(n.StiTableCellImage),r,i;if(-1==(r=this.components.indexOf(e)))return;(i=new n.StiTableCell).clientRectangle=e.clientRectangle,i.name=e.name,i.border=e.border,i.brush=e.brush,i.id=e.id,i.restrictions=e.restrictions,i.page=e.page,i.parent=e.parent,i.canBreak=e.canBreak,i.canGrow=e.canGrow,i.canShrink=e.canShrink,i.enabled=e.enabled,i.growToHeight=e.growToHeight,i.printable=e.printable,0!=e.dataColumn.length&&(i.text="{"+e.dataColumn+"}"),e._join&&(i._join=e._join,i._parentJoin=e._parentJoin,i._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),e=null}else if(t.stimulsoft.is(n.StiTableCellCheckBox)){var o=t.stimulsoft.as(n.StiTableCellCheckBox),r,i;if(-1==(r=this.components.indexOf(o)))return;(i=new n.StiTableCell).clientRectangle=o.clientRectangle,i.name=o.name,i.border=o.border,i.brush=o.brush,i.id=o.id,i.restrictions=o.restrictions,i.page=o.page,i.parent=o.parent,i.canGrow=o.canGrow,i.canShrink=o.canShrink,i.enabled=o.enabled,i.growToHeight=o.growToHeight,i.printable=o.printable,0!=o.checked.toString().length&&(i.text=o.checked.toString()),o.join&&(i._join=o._join,i._parentJoin=o._parentJoin,i._joinCells=o._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),o=null}else if(t.stimulsoft.is(n.StiTableCellRichText)){var a=t.stimulsoft.as(n.StiTableCellRichText),r,i;if(-1==(r=this.components.indexOf(a)))return;(i=new n.StiTableCell).clientRectangle=a.clientRectangle,i.name=a.name,i.border=a.border,i.brush=new h(a.backColor),i.id=a.id,i.restrictions=a.restrictions,i.page=a.page,i.parent=a.parent,i.canGrow=a.canGrow,i.canShrink=a.canShrink,i.enabled=a.enabled,i.growToHeight=a.growToHeight,i.printable=a.printable,0!=a.dataColumn.length&&(i.text=a.dataColumn),a._join&&(i._join=a._join,i._parentJoin=a._parentJoin,i._joinCells=a._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),a=null}},v.prototype.changeTableCellContentInCheckBox=function(t){if(t.stimulsoft.is(n.StiTableCellImage)){var e=t.stimulsoft.as(n.StiTableCellImage),r,i;if(-1==(r=this.components.indexOf(e)))return;(i=new n.StiTableCellCheckBox).clientRectangle=e.clientRectangle,i.name=e.name,i.border=e.border,i.brush=e.brush,i.id=e.id,i.restrictions=e.restrictions,i.page=e.page,i.parent=e.parent,i.canGrow=e.canGrow,i.canShrink=e.canShrink,i.enabled=e.enabled,i.growToHeight=e.growToHeight,i.printable=e.printable,0!=e.dataColumn.length&&(i.checkedValue="{"+e.dataColumn+"}"),e._join&&(i._join=e._join,i._parentJoin=e._parentJoin,i._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),e=null}else if(t.stimulsoft.is(n.StiTableCellRichText)){var o=t.stimulsoft.as(n.StiTableCellRichText),r,i;if(-1==(r=this.components.indexOf(o)))return;(i=new n.StiTableCellCheckBox).clientRectangle=o.clientRectangle,i.name=o.name,i.border=o.border,i.brush=new h(o.backColor),i.id=o.id,i.restrictions=o.restrictions,i.page=o.page,i.parent=o.parent,i.canGrow=o.canGrow,i.canShrink=o.canShrink,i.enabled=o.enabled,i.growToHeight=o.growToHeight,i.printable=o.printable,0!=o.dataColumn.length&&(i.checkedValue="{"+o.dataColumn+"}"),o._join&&(i._join=o._join,i._parentJoin=o._parentJoin,i._joinCells=o._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),o=null}else if(t.stimulsoft.is(n.StiTableCell)){var a=t.stimulsoft.as(n.StiTableCell),r,i;if(-1==(r=this.components.indexOf(a)))return;(i=new n.StiTableCellCheckBox).clientRectangle=a.clientRectangle,i.name=a.name,i.border=a.border,i.brush=a.brush,i.id=a.id,i.restrictions=a.restrictions,i.page=a.page,i.parent=a.parent,i.canGrow=a.canGrow,i.canShrink=a.canShrink,i.enabled=a.enabled,i.growToHeight=a.growToHeight,i.printable=a.printable,0!=a.text.length&&(i.checkedValue=a.text),a._join&&(i._join=a._join,i._parentJoin=a._parentJoin,i._joinCells=a._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),a=null}},v.prototype.changeTableCellContentInRichText=function(t){if(t.stimulsoft.is(n.StiTableCellImage)){var e=t.stimulsoft.as(n.StiTableCellImage),r,i;if(-1==(r=this.components.indexOf(e)))return;(i=new n.StiTableCellRichText).clientRectangle=e.clientRectangle,i.name=e.name,i.border=e.border,i.backColor=m.toColor(e.brush),i.id=e.id,i.restrictions=e.restrictions,i.page=e.page,i.parent=e.parent,i.canBreak=e.canBreak,i.canGrow=e.canGrow,i.canShrink=e.canShrink,i.enabled=e.enabled,i.growToHeight=e.growToHeight,i.printable=e.printable,0!=e.dataColumn.length&&(i.dataColumn=e.dataColumn),e._join&&(i._join=e._join,i._parentJoin=e._parentJoin,i._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),e=null}else if(t.stimulsoft.is(n.StiTableCellCheckBox)){var o=t.stimulsoft.as(n.StiTableCellCheckBox),r,i;if(-1==(r=this.components.indexOf(o)))return;(i=new n.StiTableCellRichText).clientRectangle=o.clientRectangle,i.name=o.name,i.border=o.border,i.backColor=m.toColor(o.brush),i.id=o.id,i.restrictions=o.restrictions,i.page=o.page,i.parent=o.parent,i.canGrow=o.canGrow,i.canShrink=o.canShrink,i.enabled=o.enabled,i.growToHeight=o.growToHeight,i.printable=o.printable,0!=o.checkedValue.toString().length&&(i.dataColumn=o.checkedValue.toString().substring(1,o.checkedValue.toString().length-2)),o._join&&(i._join=o._join,i._parentJoin=o._parentJoin,i._joinCells=o._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),o=null}else if(t.stimulsoft.is(n.StiTableCell)){var a=t.stimulsoft.as(n.StiTableCell),r,i;if(-1==(r=this.components.indexOf(a)))return;(i=new n.StiTableCellRichText).clientRectangle=a.clientRectangle,i.name=a.name,i.border=a.border,i.backColor=m.toColor(a.brush),i.id=a.id,i.restrictions=a.restrictions,i.page=a.page,i.parent=a.parent,i.canBreak=a.canBreak,i.canGrow=a.canGrow,i.canShrink=a.canShrink,i.enabled=a.enabled,i.growToHeight=a.growToHeight,i.printable=a.printable,0!=a.text.length&&(i.dataColumn=a.text.substring(1,a.text.length-2)),a._join&&(i._join=a._join,i._parentJoin=a._parentJoin,i._joinCells=a._joinCells),this.components.removeAt(r),this.components.insert(r,i),i.select(),a=null}},v.prototype.getColumnForCell=function(t){return 0},v.prototype.setCellID=function(t){t.id=this._numberID,this._numberID++},v.prototype.createCell=function(){if(null==this.page||null==this.parent||null==this.page.report)return;var t=this.clientRectangle;if(t.width<0)return;A.prototype.setHeight.call(this,this._rowCount*this.defaultHeightCell),t=this.clientRectangle,0!=this.components.count&&this.components.clear();for(var e,r=+(t.width/this._columnCount)/this.page.gridSize,o,a=+(t.height/this._rowCount)/this.page.gridSize,s=r*this.page.gridSize,u=t.width-s*(this._columnCount-1),c=a*this.page.gridSize,p=t.height-c*(this._rowCount-1),h=0,m=1,f=0;f<this._rowCount;f++){for(var d=0;d<this._columnCount;d++){var g=new n.StiTableCell;this.setCellID(g.stimulsoft.as(n.IStiTableCell)),g.name=i.format("{0}_Cell{1}",this.name,m);var S=d==this._columnCount-1?u:s,y=f==this._rowCount-1?p:c;g.clientRectangle=new l(h,c*f,S,y),this.setStyleForCell(g,!1),h=g.right,this.components.add(g),m++}h=0}this.resizeHeightCell(),this.applyStyleNone()},v.prototype.setStyleForCell=function(e,i){var o;if(e.stimulsoft.is(r.StiComponent))(o=e.stimulsoft.as(r.StiComponent)).restrictions=t.Report.Components.StiRestrictions.None|t.Report.Components.StiRestrictions.AllowMove|t.Report.Components.StiRestrictions.AllowSelect|t.Report.Components.StiRestrictions.AllowChange,o.isSelected=i,o.canGrow=!1,o.growToHeight=!1,o.page=this.page,o.parent=this;else if(e.stimulsoft.is(n.StiTableCell)){var o;(o=e.stimulsoft.as(n.StiTableCell)).restrictions=t.Report.Components.StiRestrictions.None|t.Report.Components.StiRestrictions.AllowMove|t.Report.Components.StiRestrictions.AllowSelect|t.Report.Components.StiRestrictions.AllowChange,o.brush=new h(p.white),o.font=new S("Arial",9),o.isSelected=i,o.canGrow=!1,o.growToHeight=!1,o.page=this.page,o.parent=this}},v.prototype.addNewRows=function(t){if(0==this.components.count)return;var e=this.components.count+1,o=this.clientRectangle;o.height+=this.defaultHeightCell*t,A.prototype.setClientRectangle.call(this,o);for(var a=0;a<t;a++)for(var s=0;s<this._columnCount;s++){var u=new n.StiTableCell,c=this.components.getByIndex(this.components.count-this._columnCount).stimulsoft.as(r.StiComponent);u.name=i.format("{0}_Cell{1}",this.name,e),this.setCellID(u.stimulsoft.as(n.IStiTableCell));var p=c.stimulsoft.as(n.IStiTableCell).getRealLeft(),h=c.stimulsoft.as(n.IStiTableCell).getRealWidth();u.clientRectangle=new l(p,c.bottom,h,this.defaultHeightCell),this.setStyleForCell(u,!0),this.tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(u),this.components.add(u),e++}this.refreshTableStyle()},v.prototype.deleteLastRows=function(t,e){if(0==this.components.count)return;for(var i=0,o=e-t;o<e;o++){if(o*this._columnCount>=this.components.count)break;for(var a=0;a<this._columnCount;a++){var s=this.components.getByIndex(o*this._columnCount+a).stimulsoft.as(r.StiComponent),l;if(s.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged)s.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(s.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).parentJoin).stimulsoft.as(n.IStiTableCell).join=!1}i+=this.components.getByIndex(o*this._columnCount).height}var u=(e-t)*this._columnCount;while(this.components.count>u)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<s;h++)p[h]=u*this.page.gridSize,h<c&&(p[h]+=this.page.gridSize);p[s-1]+=o.width-a*this.page.gridSize;for(var m=0,f=0,d=0,h=0;h<this._rowCount;h++){for(var g=0;g<e;g++){var S=this.components.getByIndex(m).stimulsoft.as(r.StiComponent);if(S.name=i.format("{0}_Cell{1}",this.name,m+1),S.clientRectangle=new l(d,S.top,p[f],S.height),d+=p[f],m++,f++,g==e-1)for(var y=S.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight(),A=S.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealTop(),b=0;b<t;b++){var v=new n.StiTableCell;v.name=i.format("{0}_Cell{1}",this.name,m+1),this.setCellID(v.stimulsoft.as(n.IStiTableCell)),v.clientRectangle=new l(d,A,p[f],y),this.setStyleForCell(v,!0),this._tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(v),this.components.insert(m,v),d+=p[f],m++,f++}}d=0,f=0}for(var h=0;h<this.components.count;h++){var C=this.components.getByIndex(h).stimulsoft.as(r.StiComponent);null!=C&&C.stimulsoft.as(n.IStiTableCell).join&&C.stimulsoft.as(n.IStiTableCell).setJoinSize()}this.refreshTableStyle()},v.prototype.deleteTableColumns=function(t,e){if(0==this.components.count)return;for(var o=e-t,a=0,s=0;s<this._rowCount;s++){a+=o;for(var l=0;l<t;l++)this.components.removeAt(a)}for(var u,c=+this.clientRectangle.width/this.page.gridSize,p=Math.trunc(c/o),h=c-p*o,m=new Array(o),s=0;s<o;s++)m[s]=p*this.page.gridSize,s<h&&(m[s]+=this.page.gridSize);var f=0;a=0;for(var s=0;s<this._rowCount;s++){for(var l=0;l<o;l++){var d=this.components.getByIndex(a).stimulsoft.as(r.StiComponent);d.name=i.format("{0}_Cell{1}",this.name,a+1),d.left=f,d.width=m[l],f+=m[l],a++}f=0}for(var s=0;s<this.components.count;s++){var g=this.components.getByIndex(s).stimulsoft.as(r.StiComponent);null!=g&&g.stimulsoft.as(n.IStiTableCell).join&&g.stimulsoft.as(n.IStiTableCell).setJoinSize()}this.refreshTableStyle()},v.prototype.insertColumnToLeft=function(t){if(t<0)return;if(0!=t)for(var e=t,i=0;i<this._rowCount;i++){var o=this.components.getByIndex(e).stimulsoft.as(r.StiComponent),a=this.components.getByIndex(e-1).stimulsoft.as(r.StiComponent);if(o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&a.stimulsoft.as(n.IStiTableCell).merged){var s=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).parentJoin);s.stimulsoft.as(n.IStiTableCell).containsGuid(a.stimulsoft.as(n.IStiTableCell).id)&&(s.stimulsoft.as(n.IStiTableCell).join=!1)}e+=this.columnCount}for(var l=t,u=0;u<this._rowCount;u++){var o=this.components.getByIndex(l),c=new n.StiTableCell;this.setCellID(c.stimulsoft.as(n.IStiTableCell)),c.top=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealTop(),c.height=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight(),this.setStyleForCell(c,!1),this._tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(c),this.components.insert(l,c),l++,l+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()},v.prototype.insertColumnToRight=function(t){if(t<0)return;if(t!=this._columnCount-1)for(var e=t,i=0;i<this._rowCount;i++){var o=this.components.getByIndex(e),a=this.components.getByIndex(e+1);if(o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&a.stimulsoft.as(n.IStiTableCell).merged){var s=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(r.StiComponent).getJoinComponentByGuid(o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).parentJoin);s.stimulsoft.as(n.IStiTableCell).containsGuid(a.stimulsoft.as(n.IStiTableCell).id)&&(s.stimulsoft.as(n.IStiTableCell).join=!1)}e+=this.columnCount}for(var l=t,u=0;u<this._rowCount;u++){var o=this.components.getByIndex(l),c=new n.StiTableCell;this.setCellID(c.stimulsoft.as(n.IStiTableCell)),c.top=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealTop(),c.height=o.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight(),this.setStyleForCell(c,!1),this._tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(c),this.components.insert(l+1,c),l++,l+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()},v.prototype.insertRowAbove=function(t){if(t<0)return;if(0!=t)for(var e=t*this._columnCount,r=0;r<this._columnCount;r++){var i=this.components.getByIndex(e),o=this.components.getByIndex(e-this._columnCount);if(i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&o.stimulsoft.as(n.IStiTableCell).merged){var a=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).parentJoin);a.stimulsoft.as(n.IStiTableCell).containsGuid(o.stimulsoft.as(n.IStiTableCell).id)&&(a.stimulsoft.as(n.IStiTableCell).join=!1)}e++}for(var s=t*this._columnCount,l=0;l<this._columnCount;l++){var i=this.components.getByIndex(s+l),u=new n.StiTableCell;this.setCellID(u.stimulsoft.as(n.IStiTableCell)),u.left=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealLeft(),u.width=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealWidth(),u.height=this.defaultHeightCell,this.setStyleForCell(u,!1),this._tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(u),this.components.insert(s,u),s++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()},v.prototype.insertRowBelow=function(t){if(t<0)return;if(t!=this._rowCount)for(var e=t*this._columnCount,r=0;r<this._columnCount;r++){var i=this.components.getByIndex(e),o=this.components.getByIndex(e-this._columnCount);if(i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&o.stimulsoft.as(n.IStiTableCell).merged){var a=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).parentJoin);a.stimulsoft.as(n.IStiTableCell).containsGuid(o.stimulsoft.as(n.IStiTableCell).id)&&(a.stimulsoft.as(n.IStiTableCell).join=!1)}e++}for(var s=t*this._columnCount,l=0;l<this._columnCount;l++){var i=void 0;i=t==this._rowCount?this.components.getByIndex(s-this._columnCount):this.components.getByIndex(s+l);var u=new n.StiTableCell;this.setCellID(u.stimulsoft.as(n.IStiTableCell)),u.left=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealLeft(),u.width=i.stimulsoft.as(n.IStiTableCell).getRealWidth(),u.height=this.defaultHeightCell,this.setStyleForCell(u,!1),this._tableStyle==n.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(u),this.components.insert(s,u),s++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()},v.prototype.deleteRows=function(t,e){var r=e-t+1;if(r==this._rowCount)return null;for(var i=new Array,o=t*this._columnCount,a=0,s=t;s<=e;s++)for(var l=0;l<this._columnCount;l++){var u=this.components.getByIndex(o);null!=u&&(u.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&(u.stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(u.stimulsoft.as(n.IStiTableCell).parentJoin).stimulsoft.as(n.IStiTableCell).join=!1),0==l&&(a+=u.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight()),this.components.removeAt(o),i.push(u))}return this._rowCount-=r,this.resizeHeightCellsAfterChanges(-1*a),this.refreshTableStyle(),i},v.prototype.deleteColumns=function(t,e){var r=e-t+1;if(r==this._columnCount)return null;for(var i=new Array,o=t,a=0;a<this._rowCount;a++){for(var s=t;s<=e;s++){var l=this.components.getByIndex(o);null!=l&&(l.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).merged&&(l.stimulsoft.as(n.IStiTableCell).getJoinComponentByGuid(l.stimulsoft.as(n.IStiTableCell).parentJoin).stimulsoft.as(n.IStiTableCell).join=!1),this.components.removeAt(o),i.push(l))}o+=this._columnCount-r}return this._columnCount-=r,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle(),i},v.prototype.distributeRows=function(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;if(this._rowCount*this._columnCount!=this.components.count)return;for(var t=this.clientRectangle,e=+t.height/this.page.gridSize,i=e/this._rowCount,o=e-i*this._rowCount,a=new Array(this._rowCount),s=0;s<this._rowCount;s++)a[s]=i*this.page.gridSize,s<o&&(a[s]+=this.page.gridSize);a[a.length-1]+=t.height-e*this.page.gridSize;for(var u=0,c=0,s=0;s<this._rowCount;s++){for(var p=0;p<this._columnCount;p++){var h=this.components.getByIndex(c).stimulsoft.as(r.StiComponent);null!=h&&(h.clientRectangle=new l(h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealLeft(),u,h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealWidth(),a[s]),h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).join&&h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).setJoinSize(),c++)}u+=a[s]}},v.prototype.distributeColumns=function(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;for(var t=this.clientRectangle,e=+t.width/this.page.gridSize,i=e/this._columnCount,o=e-i*this._columnCount,a=new Array(this._columnCount),s=0;s<this._columnCount;s++)a[s]=i*this.page.gridSize,s<o&&(a[s]+=this.page.gridSize);a[a.length-1]+=t.width-e*this.page.gridSize;for(var u=0,c=0,p=0;p<this._rowCount;p++){for(var s=0;s<this._columnCount;s++){var h=this.components.getByIndex(c).stimulsoft.as(r.StiComponent);null!=h&&(h.clientRectangle=new l(u,h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealTop(),a[s],h.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight()),u+=a[s],c++)}u=0}},v.prototype.autoSizeCells=function(){if(this.isConverted||0==this.components.count||null==this.page)return;for(var t=this.clientRectangle,e=+t.width/this.page.gridSize,r=Math.trunc(e/this._columnCount),n=e-r*this._columnCount,i=new Array(this._columnCount),o=0;o<this._columnCount;o++)i[o]=r*this.page.gridSize,o<n&&(i[o]+=this.page.gridSize);i[i.length-1]+=t.width-e*this.page.gridSize;for(var a=+t.height/this.page.gridSize,s=a-(r=Math.trunc(a/this._rowCount))*this._rowCount,u=new Array(this._rowCount),c=0;c<this._rowCount;c++)u[c]=r*this.page.gridSize,c<s&&(u[c]+=this.page.gridSize);u[u.length-1]+=t.height-a*this.page.gridSize;for(var p=0,h=0,m=0,c=0;c<this._rowCount;c++){for(var o=0;o<this._columnCount;o++){var f;this.components.getByIndex(m).clientRectangle=new l(p,h,i[o],u[c]),p+=i[o],m++}p=0,h+=u[c]}},v.prototype.resizeWidthCellsAfterChanges=function(){if(this.isConverted)return;for(var t=this.clientRectangle,e=+t.width/this.page.gridSize,o=Math.trunc(e/this._columnCount),a=e-o*this._columnCount,s=new Array(this._columnCount),u=0;u<this._columnCount;u++)s[u]=o*this.page.gridSize,u<a&&(s[u]+=this.page.gridSize);s[this._columnCount-1]+=t.width-e*this.page.gridSize;for(var c=0,p=0,h=0,u=0;u<this._rowCount;u++){for(var m=0;m<this._columnCount;m++){var f=this.components.getByIndex(c).stimulsoft.as(r.StiComponent);f.name=i.format("{0}_Cell{1}",this.name,c+1),f.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).join?(f.left=h,f.width=s[p],f.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).setJoinSize()):f.clientRectangle=new l(h,f.top,s[p],f.height),h+=s[p],c++,p++}p=0,h=0}},v.prototype.resizeHeightCellsAfterChanges=function(t){if(this.isConverted)return;var e=this.clientRectangle;e.height+=t;for(var r=0,o=0,a=null,s=0;s<this._rowCount;s++){for(var l=0;l<this._columnCount;l++)(a=this.components.getByIndex(o)).name=i.format("{0}_Cell{1}",this.name,o+1),a.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).join?(a.height=a.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeightAfterInsertRows(),a.top=r,a.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).setJoinSize()):a.top=r,o++;null!=a&&(r+=a.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getRealHeight())}A.prototype.setClientRectangle.call(this,e)},v.prototype.resizeWidthCell=function(t){if(this.isConverted||0==this.components.count||null==this.page)return;if(this._columnCount*this._rowCount!=this.components.count)return;for(var e=A.prototype.getWidth.call(this)-t,n,i=+(e/this._columnCount)/this.page.gridSize,o=this.page.gridSize*i,a=e-o*(this._columnCount-1),s=0;s<this._columnCount;s++)for(var l=0;l<this._rowCount;l++){var u=this.components.getByIndex(l*this._columnCount+s).stimulsoft.as(r.StiComponent);s==this._columnCount-1?(u.left+=s*o,u.width+=a):(u.left+=s*o,u.width+=o)}},v.prototype.resizeHeightCell=function(){if(this.isConverted||null==this.page&&0==this.components.count)return;var t=this.clientRectangle;if(1==this._rowCount)for(var e=0;e<this._columnCount;e++){var i;(i=this.components.getByIndex(e).stimulsoft.as(r.StiComponent)).top=0,i.height=t.height}else{for(var o=new Array(this._rowCount),a=+t.height/this.page.gridSize,s=Math.trunc(a/this._rowCount),l=a-s*this._rowCount,u=s*this.page.gridSize,e=0;e<this._rowCount;e++)o[e]=u,e<l&&(o[e]+=this.page.gridSize);o[this._rowCount-1]+=t.height-this.page.gridSize*a;for(var c=0,e=0;e<this._rowCount;e++){for(var p=0;p<this._columnCount;p++){var i;if((i=this.components.getByIndex(e*this._columnCount+p).stimulsoft.as(r.StiComponent)).stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).join){var h=i.stimulsoft.as(n.IStiTableCell).stimulsoft.as(n.IStiTableCell).getJoinComponentByIndex(0);i.left=h.left,i.top=h.top,i.height=c+o[e]-h.top}else i.top=c,i.height=o[e]}c+=o[e]}}},v.prototype.startRenderTableBand=function(t){var e=t.ref;if(!this.report.isInteractionRendering&&!this.enabled)return null;var n=this.parent.stimulsoft.as(r.StiPage),i=this.parent.stimulsoft.as(r.StiDataBand),o=this.parent.stimulsoft.as(r.StiPanel);if(this._dockableTable){if(null!=i){var a;(a=new r.StiPanel).name=this.name+"_Panel",a.canBreak=!0,a.clientRectangle=i.clientRectangle,a.dockStyle=r.StiDockStyle.Fill;var s=i.components.indexOf(this);return i.components.insert(s,a),this.startRenderTable(a,0,t)}if(null!=n){var l=this.page.components.indexOf(this);return this.startRenderTable(n,l,t)}if(null!=o){var l=o.components.indexOf(this);return this.startRenderTable(o,l,t)}}else{if(null!=i){var a;(a=new r.StiPanel).name=this.name+"_Panel",a.canBreak=!0,a.canGrow=!0,a.clientRectangle=this.clientRectangle;var s=i.components.indexOf(this);return i.components.insert(s,a),this.startRenderTable(a,0,t)}if(null!=n){var l=this.page.components.indexOf(this),u=new r.StiDataBand,a;return u.name=this.name+"_Band",u.left=this.left,u.top=this.top,this.page.components.insert(l,u),(a=new r.StiPanel).name=this.name+"_Panel",a.canBreak=!0,a.canGrow=!0,a.clientRectangle=this.clientRectangle,a.top=0,u.components.add(a),this.startRenderTable(a,0,t)}if(null!=o){var l=o.parent.components.indexOf(o);return this.startRenderTable(o,l,t)}}return null},v.prototype.startRenderTable=function(t,e,i){var o=i.ref,a=this.page,u=null;o.containsKey(a)?u=o.get(a).stimulsoft.as(Array):(u=[],o.add(a,u)),A.prototype.setEnabled.call(this,!1);var c=0,p=null,h=this.clientRectangle,m=this.dockableTable?h.y:0,f=0,d=0,g=0,S=+this.components.count/this._columnCount;this.reverseCells(this.rightToLeft);for(var b=0;b<this._rowCount;b++)for(var v=0;v<this._columnCount;v++)this.components.getByIndex(this._columnCount*b+v).stimulsoft.as(n.IStiTableCell).column=v,this.components.getByIndex(this._columnCount*b+v).stimulsoft.as(n.IStiTableCell).tableTag=this;var C=!1,w=this.parent.components.indexOf(this)-1;while(w>=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;I<this._headerRowsCount;I++)f+=this.components.getByIndex(I*this._columnCount).stimulsoft.as(n.IStiTableCell).getRealHeight();var T=new s,E=new s,R=null;C?((R=new r.StiGroupHeaderBand).stimulsoft.as(r.StiGroupHeaderBand).groupHeaderBandInfo.isTableGroupHeader=!0,R.name=this.name+"_GrHd",R.stimulsoft.as(r.StiGroupHeaderBand).printOnAllPages=this._headerPrintOnAllPages):((R=new r.StiHeaderBand).name=this.name+"_Hd",R.stimulsoft.as(r.StiHeaderBand).headerBandInfo.isTableHeader=!0,R.stimulsoft.as(r.StiHeaderBand).printOnAllPages=this._headerPrintOnAllPages,R.stimulsoft.as(r.StiHeaderBand).printIfEmpty=this._headerPrintIfEmpty,R.stimulsoft.as(r.StiHeaderBand).printOnEvenOddPages=this._headerPrintOnEvenOddPages),R.height=f,R.clientRectangle=new l(h.x,m,h.width,f),R.border=this.border,R.brush=this.brush,R.page=this.page,R.parent=this.page,R.canGrow=this._headerCanGrow,R.canShrink=this._headerCanShrink,R.canBreak=this._headerCanBreak,R.printAtBottom=this._headerPrintAtBottom,R.printOn=this._headerPrintOn;for(var D=0,P=0;P<this._headerRowsCount;P++){var x=this.components.getByIndex(c).stimulsoft.as(n.IStiTableCell).getRealHeight(),F;(F=new r.StiPanel).clientRectangle=new l(h.x,D,h.width,x),F.name=R.name+"_HPnl"+P.toString(),F.canGrow=!0,F.canShrink=!0,F.dockStyle=r.StiDockStyle.Top,R.components.add(F),D+=x,c+=this._columnCount;for(var N=this._columnCount*P;N<c;N++){var k,M=!1,O=null;if(-1!=(k=this.components.getByIndex(N)).stimulsoft.as(n.IStiTableCell).parentJoin){var _,j={ref:_=0};if(O=this.getParentJoin(k.stimulsoft.as(n.IStiTableCell).parentJoin,j),_=j.ref,T.containsKey(O)){if(P==+T.get(O))continue;var G;(G=new r.StiText).page=k.page,G.conditions=k.conditions,G.setPaintRectangle(k.getPaintRectangle()),G.clientRectangle=new l(k.stimulsoft.as(n.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(n.IStiTableCell).getRealWidth(),k.stimulsoft.as(n.IStiTableCell).getRealHeight()),G.name=k.name+"_Emp",G.growToHeight=!0,G.brush=new y,G.dockStyle=k.stimulsoft.as(n.IStiTableCell).cellDockStyle,F.components.add(G),u.push(G),k==O&&(E.get(O).stimulsoft.as(n.IStiTableCell).parentJoinCell=G);continue}T.add(O,P),k=O,M=!0}switch(k.top=0,k.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Image:var H;(H=k.stimulsoft.as(n.StiTableCellImage).clone(!0).stimulsoft.as(r.StiImage)).restrictions=H.restrictions^r.StiRestrictions.AllowDelete,H.dockStyle=k.stimulsoft.as(n.StiTableCellImage).cellDockStyle,this.setInteraction(k),F.components.add(H),u.push(H),M&&(H.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(H.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,H));break;case n.StiTablceCellType.Text:var Q;(Q=k.stimulsoft.as(n.StiTableCell).clone(!0).stimulsoft.as(r.StiText)).restrictions=Q.restrictions^r.StiRestrictions.AllowDelete,Q.dockStyle=k.stimulsoft.as(n.StiTableCell).cellDockStyle,this.setInteraction(k),F.components.add(Q),u.push(Q),M&&(Q.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(Q.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,Q));break;case n.StiTablceCellType.CheckBox:var L;(L=k.stimulsoft.as(n.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox)).restrictions=L.restrictions^r.StiRestrictions.AllowDelete,L.dockStyle=k.stimulsoft.as(n.StiTableCellCheckBox).cellDockStyle,this.setInteraction(k),F.components.add(L),u.push(L),M&&(L.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(L.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,L));break;case n.StiTablceCellType.RichText:var Y;(Y=k.stimulsoft.as(n.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText)).restrictions=Y.restrictions^r.StiRestrictions.AllowDelete,Y.dockStyle=k.stimulsoft.as(n.StiTableCellRichText).cellDockStyle,this.setInteraction(k),F.components.add(Y),u.push(Y),M&&(Y.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(Y.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,Y));break}}}t.components.insert(e,R),u.push(R),e++,m+=f+1}else if(C&&this._footerRowsCount>0){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;I<S-this._footerRowsCount;I++)g+=this.components.getByIndex(I*this._columnCount).stimulsoft.as(n.IStiTableCell).getRealHeight();p.parent=this.parent,p.page=this.page,p.enabled=!0,p.clientRectangle=new l(h.x,m,h.width,g),p.name=this.name+"_DB",p.masterComponent=this.masterComponent;for(var T=new s,E=new s,J=this._headerRowsCount*this._columnCount,W=0,V=0;V<this._rowCount-this._headerRowsCount-this._footerRowsCount;V++){var x=this.components.getByIndex(J).stimulsoft.as(n.IStiTableCell).getRealHeight(),F;(F=new r.StiPanel).clientRectangle=new l(h.x,W,h.width,x),F.name=p.name+"_DPnl"+V.toString(),F.canGrow=!0,F.canBreak=!0,F.canShrink=!0,F.dockStyle=r.StiDockStyle.Top,p.components.add(F),W+=x;for(var N=J;N<J+this._columnCount;N++){var k,M=!1,O=null;if(-1!=(k=this.components.getByIndex(N)).stimulsoft.as(n.IStiTableCell).parentJoin){var _,j={ref:_=0};if(O=this.getParentJoin(k.stimulsoft.as(n.IStiTableCell).parentJoin,j),_=j.ref,T.containsKey(O)){if(V==+T.get(O))continue;var G;(G=new r.StiText).page=k.page,G.conditions=k.conditions,G.setPaintRectangle(k.getPaintRectangle()),G.clientRectangle=new l(k.stimulsoft.as(n.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(n.IStiTableCell).getRealWidth(),k.stimulsoft.as(n.IStiTableCell).getRealHeight()),G.name=k.name+"_Emp",G.growToHeight=!0,G.brush=new y,G.dockStyle=k.stimulsoft.as(n.IStiTableCell).cellDockStyle,F.components.add(G),u.push(G),k==O&&(E.get(O).stimulsoft.as(n.IStiTableCell).parentJoinCell=G);continue}T.add(O,V),k=O,M=!0}switch(k.top=0,k.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Image:var H;(H=k.stimulsoft.as(n.StiTableCellImage).stimulsoft.as(r.StiImage).clone(!0)).restrictions=H.restrictions^r.StiRestrictions.AllowDelete,H.dockStyle=k.stimulsoft.as(n.StiTableCellImage).cellDockStyle,this.setInteraction(k),F.components.add(H),u.push(H),M&&(H.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(H.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,H));break;case n.StiTablceCellType.Text:var Q;(Q=k.stimulsoft.as(n.StiTableCell).clone(!0).stimulsoft.as(r.StiText)).restrictions=Q.restrictions^r.StiRestrictions.AllowDelete,Q.dockStyle=k.stimulsoft.as(n.StiTableCell).cellDockStyle,this.setInteraction(k),F.components.add(Q),u.push(Q),M&&(Q.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(F.canGrow=!1),E.add(O,Q));break;case n.StiTablceCellType.CheckBox:var L;(L=k.stimulsoft.as(n.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox)).restrictions=L.restrictions^r.StiRestrictions.AllowDelete,L.dockStyle=k.stimulsoft.as(n.StiTableCellCheckBox).cellDockStyle,this.setInteraction(k),F.components.add(L),u.push(L),M&&(L.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(L.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,L));break;case n.StiTablceCellType.RichText:var Y;(Y=k.stimulsoft.as(n.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText)).restrictions=Y.restrictions^r.StiRestrictions.AllowDelete,Y.dockStyle=k.stimulsoft.as(n.StiTableCellRichText).cellDockStyle,this.setInteraction(k),F.components.add(Y),u.push(Y),M&&(Y.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(Y.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,Y));break}}J+=this._columnCount}t.components.insert(e,p),u.push(p),m+=g+.8,e++}if(this._footerRowsCount>0){for(var z=new s,E=new s,X=this.components.count-this._footerRowsCount*this._columnCount,I=S-this._footerRowsCount;I<S;I++)d+=this.components.getByIndex(I*this._columnCount).stimulsoft.as(n.IStiTableCell).getRealHeight();var K=null;C?((K=new r.StiGroupFooterBand).stimulsoft.as(r.StiGroupFooterBand).groupFooterBandInfo.isTableGroupFooter=!0,K.name=this.name+"_GrFt"):((K=new r.StiFooterBand).name=this.name+"_Ft",K.stimulsoft.as(r.StiFooterBand).footerBandInfo.isTableFooter=!0,K.stimulsoft.as(r.StiFooterBand).printOnAllPages=this._footerPrintOnAllPages,K.stimulsoft.as(r.StiFooterBand).printIfEmpty=this._footerPrintIfEmpty,K.stimulsoft.as(r.StiFooterBand).printOnEvenOddPages=this._footerPrintOnEvenOddPages),K.clientRectangle=new l(h.x,m,h.width,d),K.border=this.border,K.brush=this.brush,K.interaction=null,K.page=this.page,K.parent=this.page,K.canGrow=this._footerCanGrow,K.canShrink=this._footerCanShrink,K.canBreak=this._footerCanBreak,K.printAtBottom=this._footerPrintAtBottom,K.printOn=this._footerPrintOn;for(var Z=0,q=0;q<this._footerRowsCount;q++){var x=this.components.getByIndex(X).stimulsoft.as(n.IStiTableCell).getRealHeight(),F;(F=new r.StiPanel).clientRectangle=new l(h.x,Z,h.width,x),F.name=K.name+"_FPnl"+q.toString(),F.canGrow=!0,F.canShrink=!0,F.dockStyle=r.StiDockStyle.Top,K.components.add(F),Z+=x;for(var N=X;N<X+this._columnCount;N++){var k,M=!1,O=null;if(-1!=(k=this.components.getByIndex(N)).stimulsoft.as(n.IStiTableCell).parentJoin){var _,j={ref:_=0};if(O=this.getParentJoin(k.stimulsoft.as(n.IStiTableCell).parentJoin,j),_=j.ref,z.containsKey(O)){if(q==+z.get(O))continue;var G;(G=new r.StiText).page=k.page,G.conditions=k.conditions,G.setPaintRectangle(k.getPaintRectangle()),G.clientRectangle=new l(k.stimulsoft.as(n.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(n.IStiTableCell).getRealWidth(),k.stimulsoft.as(n.IStiTableCell).getRealHeight()),G.name=k.name+"_Emp",G.growToHeight=!0,G.brush=new y,G.dockStyle=k.stimulsoft.as(n.IStiTableCell).cellDockStyle,F.components.add(G),u.push(G),k==O&&(E.get(O).stimulsoft.as(n.IStiTableCell).parentJoinCell=G);continue}z.add(O,q),k=O,M=!0}switch(k.top=0,k.stimulsoft.as(n.IStiTableCell).cellType){case n.StiTablceCellType.Image:var H;(H=k.stimulsoft.as(n.StiTableCellImage).clone(!0).stimulsoft.as(r.StiImage)).restrictions=H.restrictions^r.StiRestrictions.AllowDelete,H.dockStyle=k.stimulsoft.as(n.StiTableCellImage).cellDockStyle,this.setInteraction(k),F.components.add(H),u.push(H),M&&(H.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(H.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,H));break;case n.StiTablceCellType.Text:var Q;(Q=k.stimulsoft.as(n.StiTableCell).clone(!0).stimulsoft.as(r.StiText)).restrictions=Q.restrictions^r.StiRestrictions.AllowDelete,Q.dockStyle=k.stimulsoft.as(n.StiTableCell).cellDockStyle,this.setInteraction(k),F.components.add(Q),u.push(Q),M&&(Q.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(Q.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,Q));break;case n.StiTablceCellType.CheckBox:var L;(L=k.stimulsoft.as(n.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox)).restrictions=L.restrictions^r.StiRestrictions.AllowDelete,L.dockStyle=k.stimulsoft.as(n.StiTableCellCheckBox).cellDockStyle,this.setInteraction(k),F.components.add(L),u.push(L),M&&(L.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(L.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,L));break;case n.StiTablceCellType.RichText:var Y;(Y=k.stimulsoft.as(n.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText)).restrictions=Y.restrictions^r.StiRestrictions.AllowDelete,Y.dockStyle=k.stimulsoft.as(n.StiTableCellRichText).cellDockStyle,this.setInteraction(k),F.components.add(Y),u.push(Y),M&&(Y.canGrow=!0,this.isEqualRows(k,this.components.getByIndex(N))||(Y.height=k.stimulsoft.as(n.IStiTableCell).getRealHeight()),E.add(O,Y));break}}X+=this._columnCount}t.components.insert(e,K),e++,u.push(K)}else if(C&&this._headerRowsCount>0){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.rowCount;e++)for(var r=e*this.columnCount,n=this.columnCount/2,i=0;i<n;i++){var o=this.components.getByIndex(r+i);this.components.setByIndex(r+i,this.components.getByIndex(r+this.columnCount-1-i)),this.components.setByIndex(r+this.columnCount-1-i,o)}for(var a=0;a<this.components.count;a++){var s=this.components.getByIndex(a);s.left=this.width-s.right}},v.prototype.setFilter=function(e){var n=e.stimulsoft.as(t.Report.Dictionary.IStiEnumerator),i=e.stimulsoft.as(r.IStiFilter),o=e.stimulsoft.as(r.IStiDataSource)},v.prototype.setInteraction=function(t){if(null==t.interaction)return},v.prototype.getParentJoin=function(t,e){var i,o,a=e.ref,s=0;try{for(var l=__values(this.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;if(c.stimulsoft.as(n.IStiTableCell).id==t)return a=+s/this._columnCount,c.stimulsoft.as(r.StiComponent);s++}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return e.ref=a,null},v.prototype.isEqualRows=function(t,e){var r,n;return+this.components.indexOf(t)/this._columnCount==+this.components.indexOf(e)/this._columnCount},v.prototype.createNew=function(){return new v},v}(r.StiDataBand);n.StiTable=A;var b=function(){function t(t,e,r,n,i){void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),null!=i?"boolean"==typeof i?(this.dataColor=t,this.dataTextColor=r,this.headerFooterTextColor=n,i?this.headerColor=e:this.footerColor=e):(this.dataColor=t,this.dataTextColor=n,this.headerFooterTextColor=i.stimulsoft.as(p),this.headerColor=e,this.footerColor=r):(this.gridColor=t,this.dataTextColor=e)}return t.getStyle=function(e){switch(e){case n.StiTableStyle.StyleNone:return new t(p.fromArgb(105,105,105),p.black);case n.StiTableStyle.Style11:return new t(p.fromArgb(0,0,0),p.black);case n.StiTableStyle.Style12:return new t(p.fromArgb(79,129,189),p.black);case n.StiTableStyle.Style13:return new t(p.fromArgb(192,80,77),p.black);case n.StiTableStyle.Style14:return new t(p.fromArgb(155,187,89),p.black);case n.StiTableStyle.Style15:return new t(p.fromArgb(128,100,162),p.black);case n.StiTableStyle.Style16:return new t(p.fromArgb(75,172,198),p.black);case n.StiTableStyle.Style17:return new t(p.fromArgb(247,150,70),p.black);case n.StiTableStyle.Style18:return new t(p.fromArgb(221,160,221),p.black);case n.StiTableStyle.Style19:return new t(p.fromArgb(32,178,170),p.black);case n.StiTableStyle.Style31:return new t(p.white,p.fromArgb(0,0,0),p.black,p.white,!0);case n.StiTableStyle.Style32:return new t(p.white,p.fromArgb(79,129,189),p.black,p.white,!0);case n.StiTableStyle.Style33:return new t(p.white,p.fromArgb(192,80,77),p.black,p.white,!0);case n.StiTableStyle.Style34:return new t(p.white,p.fromArgb(155,187,89),p.black,p.white,!0);case n.StiTableStyle.Style35:return new t(p.white,p.fromArgb(128,100,162),p.black,p.white,!0);case n.StiTableStyle.Style36:return new t(p.white,p.fromArgb(75,172,198),p.black,p.white,!0);case n.StiTableStyle.Style37:return new t(p.white,p.fromArgb(247,150,70),p.black,p.white,!0);case n.StiTableStyle.Style38:return new t(p.white,p.fromArgb(221,160,221),p.black,p.white,!0);case n.StiTableStyle.Style39:return new t(p.white,p.fromArgb(32,178,170),p.black,p.white,!0);case n.StiTableStyle.Style41:return new t(p.white,p.fromArgb(0,0,0),p.black,p.white,!1);case n.StiTableStyle.Style42:return new t(p.white,p.fromArgb(79,129,189),p.black,p.white,!1);case n.StiTableStyle.Style43:return new t(p.white,p.fromArgb(192,80,77),p.black,p.white,!1);case n.StiTableStyle.Style44:return new t(p.white,p.fromArgb(155,187,89),p.black,p.white,!1);case n.StiTableStyle.Style45:return new t(p.white,p.fromArgb(128,100,162),p.black,p.white,!1);case n.StiTableStyle.Style46:return new t(p.white,p.fromArgb(75,172,198),p.black,p.white,!1);case n.StiTableStyle.Style47:return new t(p.white,p.fromArgb(247,150,70),p.black,p.white,!1);case n.StiTableStyle.Style48:return new t(p.white,p.fromArgb(221,160,221),p.black,p.white,!1);case n.StiTableStyle.Style49:return new t(p.white,p.fromArgb(32,178,170),p.black,p.white,!1);case n.StiTableStyle.Style51:return new t(p.white,p.fromArgb(0,0,0),p.fromArgb(0,0,0),p.black,p.white);case n.StiTableStyle.Style52:return new t(p.white,p.fromArgb(79,129,189),p.fromArgb(79,129,189),p.black,p.white);case n.StiTableStyle.Style53:return new t(p.white,p.fromArgb(192,80,77),p.fromArgb(192,80,77),p.black,p.white);case n.StiTableStyle.Style54:return new t(p.white,p.fromArgb(155,187,89),p.fromArgb(155,187,89),p.black,p.white);case n.StiTableStyle.Style55:return new t(p.white,p.fromArgb(128,100,162),p.fromArgb(128,100,162),p.black,p.white);case n.StiTableStyle.Style56:return new t(p.white,p.fromArgb(75,172,198),p.fromArgb(75,172,198),p.black,p.white);case n.StiTableStyle.Style57:return new t(p.white,p.fromArgb(247,150,70),p.fromArgb(247,150,70),p.black,p.white);case n.StiTableStyle.Style58:return new t(p.white,p.fromArgb(221,160,221),p.fromArgb(221,160,221),p.black,p.white);case n.StiTableStyle.Style59:return new t(p.white,p.fromArgb(32,178,170),p.fromArgb(32,178,170),p.black,p.white)}return null},t}()}(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.Text,e._fixedWidth=!1,e._column=0,e}return __extends(u,t),u.prototype.implements=function(){return u.ImplementsStiTableCell||(u.ImplementsStiTableCell=t.prototype.implements.call(this).concat([n.IStiTableCell,n.IStiTableComponent,i])),u.ImplementsStiTableCell},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.Text),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<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},u.prototype.loadFromXml=function(e,i){t.prototype.loadFromXml.call(this,e,i);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,a.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(a);break;case"ParentJoin":this._parentJoin=a.textContent.stimulsoft.toNumber();break;case"Join":this._join=a.textContent.stimulsoft.toBoolean();break;case"ID":this._id=a.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=a.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=a.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,a.textContent);break;case"FixedWidth":this._fixedWidth=a.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return e.StiComponentId.StiTableCell},enumerable:!1,configurable:!0}),u.prototype.clone=function(e){var r=t.prototype.clone.call(this,e).stimulsoft.as(u);return r._join=this._join,r.minSize=new s(0,0),r.maxSize=new s(0,0),r._cellDockStyle=this._cellDockStyle,r._joinWidth=this._joinWidth,r._joinHeight=this._joinHeight,r._cellType=this._cellType,r._column=this._column,r._fixedWidth=this._fixedWidth,r._id=this._id,r._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?r._parentJoin=this._parentJoin:r._parentJoin=-1,r},Object.defineProperty(u.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(e){t.prototype.getCanGrow.call(this)!=e&&(t.prototype.setCanGrow.call(this,e),this.parent.stimulsoft.is(n.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"autoWidth",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.stimulsoft.is(n.StiTable))return this.parent.components.indexOf(this)>=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.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeRightPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(n.StiTable);if(null!=e)switch(t){case n.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case n.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case n.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),u.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==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==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.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=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;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},u.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(n.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},o={ref:r},s={ref:this._joinWidth},l={ref:this._joinHeight};if(this._joinCells=t.createJoin(i,o,s,l),0==this._joinCells.length)return;e=i.ref,r=o.ref,this._joinWidth=s.ref,this._joinHeight=l.ref;for(var u=0,c=0,p=0;p<this._joinCells.length-1;p++){var h=this.getJoinComponentByIndex(p);0==p&&(u=h.left,c=h.top),h.enabled=!1,h.stimulsoft.as(n.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new a(u,c,e,r)},u.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.stimulsoft.as(n.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},u.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new a(t.right,t.top,this.right-t.right,t.height):new a(t.left,t.bottom,t.width,this.bottom-t.bottom)},u.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,r=t.top;this.clientRectangle=new a(e,r,this.right-e,this.bottom-r)},u.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return t.prototype.getHeight.call(this);for(var e=0,r=Math.trunc(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),n=Math.trunc(this.parent.components.indexOf(this)/this.parent.columnCount),i=r;i<n;i++){var o=i*this.parent.columnCount;e+=this.parent.components.getByIndex(o).height}return t.prototype.getHeight.call(this)-e}return t.prototype.getHeight.call(this)},u.prototype.getRealHeight=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.columnCount>1?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<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},u.prototype.loadFromXml=function(e,i){t.prototype.loadFromXml.call(this,e,i);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,a.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(a);break;case"ParentJoin":this._parentJoin=a.textContent.stimulsoft.toNumber();break;case"Join":this._join=a.textContent.stimulsoft.toBoolean();break;case"ID":this._id=a.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=a.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=a.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,a.textContent);break;case"FixedWidth":this._fixedWidth=a.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return e.StiComponentId.StiTableCellCheckBox},enumerable:!1,configurable:!0}),u.prototype.clone=function(e){var r=t.prototype.clone.call(this,e).stimulsoft.as(u);return r._join=this._join,r.minSize=new s(0,0),r.maxSize=new s(0,0),r._cellDockStyle=this._cellDockStyle,r._joinWidth=this._joinWidth,r._joinHeight=this._joinHeight,r._cellType=this._cellType,r._column=this._column,r._fixedWidth=this._fixedWidth,r._id=this._id,r._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?r._parentJoin=this._parentJoin:r._parentJoin=-1,r},Object.defineProperty(u.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(e){t.prototype.getCanGrow.call(this)!=e&&(t.prototype.setCanGrow.call(this,e),this.parent.stimulsoft.is(n.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.stimulsoft.is(n.StiTable))return this.parent.components.indexOf(this)>=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.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeRightPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.stimulsoft.as(n.StiTable).columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(n.StiTable);if(null!=e)switch(t){case n.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case n.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case n.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),u.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==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==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.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=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;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},u.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(n.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},o={ref:r},s={ref:this._joinWidth},l={ref:this._joinHeight};if(this._joinCells=t.createJoin(i,o,s,l),e=i.ref,r=o.ref,this._joinWidth=s.ref,this._joinHeight=l.ref,null==this._joinCells||0==this._joinCells.length)return;for(var u=0,c=0,p=0;p<this._joinCells.length-1;p++){var h=this.getJoinComponentByIndex(p);0==p&&(u=h.left,c=h.top),h.enabled=!1,h.stimulsoft.as(n.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new a(u,c,e,r)},u.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.stimulsoft.as(n.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},u.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new a(t.right,t.top,this.right-t.right,t.height):new a(t.left,t.bottom,t.width,this.bottom-t.bottom)},u.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,r=t.top;this.clientRectangle=new a(e,r,this.right-e,this.bottom-r)},u.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return t.prototype.getHeight.call(this);for(var e=0,r=+this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.stimulsoft.as(n.StiTable).columnCount,i=+this.parent.components.indexOf(this)/this.parent.stimulsoft.as(n.StiTable).columnCount,o=r;o<i;o++){var a=o*this.parent.stimulsoft.as(n.StiTable).columnCount;e+=this.parent.components.getByIndex(a).height}return t.prototype.getHeight.call(this)-e}return t.prototype.getHeight.call(this)},u.prototype.getRealHeight=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.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<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},u.prototype.loadFromXml=function(e,i){t.prototype.loadFromXml.call(this,e,i);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,a.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(a);break;case"ParentJoin":this._parentJoin=a.textContent.stimulsoft.toNumber();break;case"Join":this._join=a.textContent.stimulsoft.toBoolean();break;case"ID":this._id=a.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=a.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=a.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,a.textContent);break;case"FixedWidth":this._fixedWidth=a.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return e.StiComponentId.StiTableCellImage},enumerable:!1,configurable:!0}),u.prototype.clone=function(e){var r=t.prototype.clone.call(this,e).stimulsoft.as(u);return r._join=this._join,r.minSize=new s(0,0),r.maxSize=new s(0,0),r._cellDockStyle=this._cellDockStyle,r._joinWidth=this._joinWidth,r._joinHeight=this._joinHeight,r._cellType=this._cellType,r._column=this._column,r._fixedWidth=this._fixedWidth,r._id=this._id,r._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?r._parentJoin=this._parentJoin:r._parentJoin=-1,r},Object.defineProperty(u.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(e){t.prototype.getCanGrow.call(this)!=e&&(t.prototype.setCanGrow.call(this,e),this.parent.stimulsoft.is(n.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.stimulsoft.is(n.StiTable))return this.parent.components.indexOf(this)>=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.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"changeRightPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.stimulsoft.as(n.StiTable).columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(n.StiTable);if(null!=e)switch(t){case n.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case n.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case n.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),u.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==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==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.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=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;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},u.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(n.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},o={ref:r},s={ref:this._joinWidth},l={ref:this._joinHeight};if(this._joinCells=t.createJoin(i,o,s,l),0==this._joinCells.length)return;e=i.ref,r=o.ref,this._joinWidth=s.ref,this._joinHeight=l.ref;for(var u=0,c=0,p=0;p<this._joinCells.length-1;p++){var h=this.getJoinComponentByIndex(p);0==p&&(u=h.left,c=h.top),h.enabled=!1,h.stimulsoft.as(n.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new a(u,c,e,r)},u.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.stimulsoft.as(n.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},u.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new a(t.right,t.top,this.right-t.right,t.height):new a(t.left,t.bottom,t.width,this.bottom-t.bottom)},u.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,r=t.top;this.clientRectangle=new a(e,r,this.right-e,this.bottom-r)},u.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return t.prototype.getHeight.call(this);for(var e=0,r=+this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.stimulsoft.as(n.StiTable).columnCount,i=+this.parent.components.indexOf(this)/this.parent.stimulsoft.as(n.StiTable).columnCount,o=r;o<i;o++){var a=o*this.parent.stimulsoft.as(n.StiTable).columnCount;e+=this.parent.components.getByIndex(a).height}return t.prototype.getHeight.call(this)-e}return t.prototype.getHeight.call(this)},u.prototype.getRealHeight=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.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<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},c.prototype.loadFromXml=function(e,i){t.prototype.loadFromXml.call(this,e,i);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"CellDockStyle":this._cellDockStyle=l.parse(r.StiDockStyle,a.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(a);break;case"ParentJoin":this._parentJoin=a.textContent.stimulsoft.toNumber();break;case"Join":this._join=a.textContent.stimulsoft.toBoolean();break;case"ID":this._id=a.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=a.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=a.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=l.parse(n.StiTablceCellType,a.textContent);break;case"FixedWidth":this._fixedWidth=a.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return e.StiComponentId.StiTableCellRichText},enumerable:!1,configurable:!0}),c.prototype.clone=function(e){var r=t.prototype.clone.call(this,e).stimulsoft.as(c);return r._join=this._join,r.minSize=new s(0,0),r.maxSize=new s(0,0),r._cellDockStyle=this._cellDockStyle,r._joinWidth=this._joinWidth,r._joinHeight=this._joinHeight,r._cellType=this._cellType,r._column=this._column,r._fixedWidth=this._fixedWidth,r._id=this._id,r._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?r._parentJoin=this._parentJoin:r._parentJoin=-1,r},Object.defineProperty(c.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"canGrow",{get:function(){return t.prototype.getCanGrow.call(this)},set:function(e){t.prototype.getCanGrow.call(this)!=e&&(t.prototype.setCanGrow.call(this,e),this.parent.stimulsoft.is(n.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.stimulsoft.is(n.StiTable))return this.parent.components.indexOf(this)>=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.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"changeRightPosition",{get:function(){if(this.parent.stimulsoft.is(n.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.stimulsoft.as(n.StiTable).columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.stimulsoft.as(n.StiTable).columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(n.StiTable);if(null!=e)switch(t){case n.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case n.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case n.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),c.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==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==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.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=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;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},c.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(n.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,i={ref:e},o={ref:r},s={ref:this._joinWidth},l={ref:this._joinHeight};if(this._joinCells=t.createJoin(i,o,s,l),0==this._joinCells.length)return;e=i.ref,r=o.ref,this._joinWidth=s.ref,this._joinHeight=l.ref;for(var u=0,c=0,p=0;p<this._joinCells.length-1;p++){var h=this.getJoinComponentByIndex(p);0==p&&(u=h.left,c=h.top),h.enabled=!1,h.stimulsoft.as(n.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new a(u,c,e,r)},c.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.stimulsoft.as(n.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},c.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new a(t.right,t.top,this.right-t.right,t.height):new a(t.left,t.bottom,t.width,this.bottom-t.bottom)},c.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,r=t.top;this.clientRectangle=new a(e,r,this.right-e,this.bottom-r)},c.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return t.prototype.getHeight.call(this);for(var e=0,r=+this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.stimulsoft.as(n.StiTable).columnCount,i=+this.parent.components.indexOf(this)/this.parent.stimulsoft.as(n.StiTable).columnCount,o=r;o<i;o++){var a=o*this.parent.stimulsoft.as(n.StiTable).columnCount;e+=this.parent.components.getByIndex(a).height}return t.prototype.getHeight.call(this)-e}return t.prototype.getHeight.call(this)},c.prototype.getRealHeight=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.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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FalseValue":this.falseValue=r.textContent;break;case"TrueValue":this.trueValue=r.textContent;break;case"FalseDisplay":this.falseDisplay=r.textContent;break;case"TrueDisplay":this.trueDisplay=r.textContent;break;case"NullDisplay":this.nullDisplay=r.textContent;break}}},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return null!=this.bits&&(e.bits=this.bits.clone()),e},Object.defineProperty(e.prototype,"falseValue",{get:function(){return null==this.bits?"false":this.bits.falseValue},set:function(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseValue=t:this.bits=new i(t,this.trueValue,this.falseDisplay,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trueValue",{get:function(){return null==this.bits?"true":this.bits.trueValue},set:function(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueValue=t:this.bits=new i(this.falseValue,t,this.falseDisplay,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"falseDisplay",{get:function(){return null==this.bits?"false":this.bits.falseDisplay},set:function(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseDisplay=t:this.bits=new i(this.falseValue,this.trueValue,t,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trueDisplay",{get:function(){return null==this.bits?"true":this.bits.trueDisplay},set:function(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueDisplay=t:this.bits=new i(this.falseValue,this.trueValue,this.falseDisplay,t,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullDisplay",{get:function(){return null==this.bits?" ":this.bits.nullDisplay},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new i(this.falseValue,this.trueValue,this.falseDisplay,this.trueDisplay,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sample",{get:function(){return!1},enumerable:!1,configurable:!0}),e.prototype.equals=function(t){var e=t;if(null==e)return!1;if(this.falseValue!=e.falseValue)return!1;if(this.trueValue!=e.trueValue)return!1;if(this.falseDisplay!=e.falseDisplay)return!1;if(this.trueDisplay!=e.trueDisplay)return!1;if(this.nullDisplay!=e.nullDisplay)return!1;if(this.stringFormat!=e.stringFormat)return!1;return!0},e.prototype.format=function(t){return this.format2(this.stringFormat,t)},e.prototype.format2=function(t,e){if(null==e)return this.nullDisplay;var r=e.toString();if(null!=r&&null!=this.trueValue&&r.toLowerCase()==this.trueValue.toLowerCase())return this.trueDisplay;if(null!=r&&null!=this.trueValue&&r.toLowerCase()==this.falseValue.toLowerCase())return this.falseDisplay;return this.nullDisplay},e.prototype.createNew=function(){return new e},e}(e.StiFormatService);e.StiBooleanFormatService=o}(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=t.System.StiString,n=t.Base.StiJson,i=t.System.ICloneable,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Report.Components.StiInteractionSortDirection,s=t.Report.Components.StiDrillDownMode,l=t.Base.StiGuidUtils,u=t.System.Enum,c=function(){function c(){this._sortingEnabled=!0,this._sortingColumn="",this._sortingIndex=0,this._sortingDirection=a.None,this._drillDownEnabled=!1,this._drillDownReport="",this._drillDownMode=s.MultiPage,this._drillDownParameter1=null,this._drillDownParameter2=null,this._drillDownParameter3=null,this._drillDownParameter4=null,this._drillDownParameter5=null,this._drillDownParameter6=null,this._drillDownParameter7=null,this._drillDownParameter8=null,this._drillDownParameter9=null,this._drillDownParameter10=null,this._drillDownPageGuid=null,this.parentComponent=null,this.drillDownParameter1=new e.StiDrillDownParameter,this.drillDownParameter2=new e.StiDrillDownParameter,this.drillDownParameter3=new e.StiDrillDownParameter,this.drillDownParameter4=new e.StiDrillDownParameter,this.drillDownParameter5=new e.StiDrillDownParameter,this.drillDownParameter6=new e.StiDrillDownParameter,this.drillDownParameter7=new e.StiDrillDownParameter,this.drillDownParameter8=new e.StiDrillDownParameter,this.drillDownParameter9=new e.StiDrillDownParameter,this.drillDownParameter10=new e.StiDrillDownParameter}return c.prototype.implements=function(){return[i,o]},c.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SortingEnabled",this.sortingEnabled,!0),e.addPropertyStringNullOrEmpty("SortingColumn",this.sortingColumn),e.addPropertyBool("DrillDownEnabled",this.drillDownEnabled),e.addPropertyStringNullOrEmpty("DrillDownReport",this.drillDownReport),e.addPropertyEnum("DrillDownMode",s,this.drillDownMode,s.MultiPage),e.addPropertyStringNullOrEmpty("DrillDownPageGuid",this._drillDownPageGuid),e.addPropertyJObject("DrillDownParameter1",this.drillDownParameter1.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter2",this.drillDownParameter2.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter3",this.drillDownParameter3.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter4",this.drillDownParameter4.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter5",this.drillDownParameter5.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter6",this.drillDownParameter6.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter7",this.drillDownParameter7.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter8",this.drillDownParameter8.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter9",this.drillDownParameter9.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter10",this.drillDownParameter10.saveToJsonObject(t)),e},c.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"SortingEnabled":this._sortingEnabled=o.value.stimulsoft.toBoolean();break;case"SortingColumn":this._sortingColumn=o.value;break;case"DrillDownEnabled":this._drillDownEnabled=o.value.stimulsoft.toBoolean();break;case"DrillDownReport":this._drillDownReport=o.value;break;case"DrillDownMode":this._drillDownMode=u.parse(s,u.getName(s,o.value));break;case"DrillDownPageGuid":this._drillDownPageGuid=o.value;break;case"DrillDownParameter1":this._drillDownParameter1.loadFromJsonObject(o.value);break;case"DrillDownParameter2":this._drillDownParameter2.loadFromJsonObject(o.value);break;case"DrillDownParameter3":this._drillDownParameter3.loadFromJsonObject(o.value);break;case"DrillDownParameter4":this._drillDownParameter4.loadFromJsonObject(o.value);break;case"DrillDownParameter5":this._drillDownParameter5.loadFromJsonObject(o.value);break;case"DrillDownParameter6":this._drillDownParameter6.loadFromJsonObject(o.value);break;case"DrillDownParameter7":this._drillDownParameter7.loadFromJsonObject(o.value);break;case"DrillDownParameter8":this._drillDownParameter8.loadFromJsonObject(o.value);break;case"DrillDownParameter9":this._drillDownParameter9.loadFromJsonObject(o.value);break;case"DrillDownParameter10":this._drillDownParameter10.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}}},c.loadInteractionFromJsonObject=function(t){var r,n=null;switch(t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiInteraction":n=new c;break;case"StiBandInteraction":n=new e.StiBandInteraction;break;case"StiCrossHeaderInteraction":n=new e.StiCrossHeaderInteraction;break}return n.loadFromJsonObject(t),n},c.loadInteractionFromXml=function(e){switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.StiInteraction":var r=new t.Report.Components.StiInteraction;return r.loadFromXml(e),r;case"Stimulsoft.Report.Components.StiBandInteraction":var n=new t.Report.Components.StiBandInteraction;return n.loadFromXml(e),n;case"Stimulsoft.Report.Components.StiCrossHeaderInteraction":var i=new t.Report.Components.StiCrossHeaderInteraction;return i.loadFromXml(e),i}return null},c.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"SortingEnabled":this._sortingEnabled=r.textContent.stimulsoft.toBoolean();break;case"SortingColumn":this._sortingColumn=r.textContent;break;case"DrillDownEnabled":this._drillDownEnabled=r.textContent.stimulsoft.toBoolean();break;case"DrillDownReport":this._drillDownReport=r.textContent;break;case"DrillDownMode":this._drillDownMode=u.parse(s,r.textContent);break;case"DrillDownPageGuid":this._drillDownPageGuid=r.textContent;break;case"DrillDownParameter1":this._drillDownParameter1.loadFromXml(r);break;case"DrillDownParameter2":this._drillDownParameter2.loadFromXml(r);break;case"DrillDownParameter3":this._drillDownParameter3.loadFromXml(r);break;case"DrillDownParameter4":this._drillDownParameter4.loadFromXml(r);break;case"DrillDownParameter5":this._drillDownParameter5.loadFromXml(r);break;case"DrillDownParameter6":this._drillDownParameter6.loadFromXml(r);break;case"DrillDownParameter7":this._drillDownParameter7.loadFromXml(r);break;case"DrillDownParameter8":this._drillDownParameter8.loadFromXml(r);break;case"DrillDownParameter9":this._drillDownParameter9.loadFromXml(r);break;case"DrillDownParameter10":this._drillDownParameter10.loadFromXml(r);break}}},c.prototype.getReport=function(){if(null==this.parentComponent)return null;return this.parentComponent.report},c.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},c.prototype.isDefault=function(){
|
||
return this.sortingEnabled&&r.isNullOrEmpty(this.sortingColumn)&&!this.drillDownEnabled&&r.isNullOrEmpty(this.drillDownReport)&&null==this.drillDownPageGuid&&this.drillDownParameter1.isDefault()&&this.drillDownParameter2.isDefault()&&this.drillDownParameter3.isDefault()&&this.drillDownParameter4.isDefault()&&this.drillDownParameter5.isDefault()&&this.drillDownParameter6.isDefault()&&this.drillDownParameter7.isDefault()&&this.drillDownParameter8.isDefault()&&this.drillDownParameter9.isDefault()&&this.drillDownParameter10.isDefault()},Object.defineProperty(c.prototype,"sortingEnabled",{get:function(){return this._sortingEnabled},set:function(t){this._sortingEnabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sortingColumn",{get:function(){return this._sortingColumn},set:function(t){this._sortingColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sortingIndex",{get:function(){return this._sortingIndex},set:function(t){this._sortingIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sortingDirection",{get:function(){return this._sortingDirection},set:function(t){this._sortingDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownEnabled",{get:function(){return this._drillDownEnabled},set:function(t){this._drillDownEnabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownReport",{get:function(){return this._drillDownReport},set:function(t){this._drillDownReport=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownMode",{get:function(){return this._drillDownMode},set:function(t){this._drillDownMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter1",{get:function(){return this._drillDownParameter1},set:function(t){this._drillDownParameter1!=t&&(this._drillDownParameter1=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter2",{get:function(){return this._drillDownParameter2},set:function(t){this._drillDownParameter2!=t&&(this._drillDownParameter2=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter3",{get:function(){return this._drillDownParameter3},set:function(t){this._drillDownParameter3!=t&&(this._drillDownParameter3=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter4",{get:function(){return this._drillDownParameter4},set:function(t){this._drillDownParameter4!=t&&(this._drillDownParameter4=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter5",{get:function(){return this._drillDownParameter5},set:function(t){this._drillDownParameter5!=t&&(this._drillDownParameter5=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter6",{get:function(){return this._drillDownParameter6},set:function(t){this._drillDownParameter6!=t&&(this._drillDownParameter6=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter7",{get:function(){return this._drillDownParameter7},set:function(t){this._drillDownParameter7!=t&&(this._drillDownParameter7=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter8",{get:function(){return this._drillDownParameter8},set:function(t){this._drillDownParameter8!=t&&(this._drillDownParameter8=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter9",{get:function(){return this._drillDownParameter9},set:function(t){this._drillDownParameter9!=t&&(this._drillDownParameter9=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownParameter10",{get:function(){return this._drillDownParameter10},set:function(t){this._drillDownParameter10!=t&&(this._drillDownParameter10=t,null!=t&&(t.interaction=this))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownPage",{get:function(){var t,e;if(null==this.parentComponent||null==this.parentComponent.report)return null;try{for(var r=__values(this.parentComponent.report.pages.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.guid==this.drillDownPageGuid)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._drillDownPageGuid=null:(null==t.guid&&(t.guid=l.newGuid()),this._drillDownPageGuid=t.guid)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drillDownPageGuid",{get:function(){return this._drillDownPageGuid},set:function(t){this._drillDownPageGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"bookmark",{get:function(){return this.parentComponent.bookmark},set:function(t){this.parentComponent.bookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"hyperlink",{get:function(){return this.parentComponent.hyperlink},set:function(t){this.parentComponent.hyperlink=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"tag",{get:function(){return this.parentComponent.tag},set:function(t){this.parentComponent.tag=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolTip",{get:function(){return this.parentComponent.toolTip},set:function(t){this.parentComponent.toolTip=t},enumerable:!1,configurable:!0}),c.prototype.getSortDataBandName=function(){if(r.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(0,t);return""},c.prototype.getSortColumns=function(){var t=this.getSortColumnsString(),e;if(0==t.length)return null;return t.split(".")},c.prototype.getSortColumnsString=function(){if(r.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(t+1);return""},c}();e.StiInteraction=c}(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(){var t=null!==e&&e.apply(this,arguments)||this;return t.collapsingEnabled=!1,t.selectionEnabled=!1,t.collapseGroupFooter=!1,t}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("CollapsingEnabled",this.collapsingEnabled),r.addPropertyBool("SelectionEnabled",this.selectionEnabled),r.addPropertyBool("CollapseGroupFooter",this.collapseGroupFooter),r},r.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"CollapsingEnabled":this.collapsingEnabled=a.value.stimulsoft.toBoolean();break;case"SelectionEnabled":this.selectionEnabled=a.value.stimulsoft.toBoolean();break;case"CollapseGroupFooter":this.collapseGroupFooter=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}}},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CollapsingEnabled":this.collapsingEnabled=n.textContent.stimulsoft.toBoolean();break;case"SelectionEnabled":this.selectionEnabled=n.textContent.stimulsoft.toBoolean();break;case"CollapseGroupFooter":this.collapseGroupFooter=n.textContent.stimulsoft.toBoolean();break}}},r.prototype.isDefault=function(){return e.prototype.isDefault.call(this)&&!this.collapsingEnabled&&!this.selectionEnabled},Object.defineProperty(r.prototype,"collapsed",{get:function(){return this.parentComponent.stimulsoft.is(t.StiGroupHeaderBand),this.parentComponent.collapsed},set:function(e){this.parentComponent.stimulsoft.is(t.StiGroupHeaderBand),this.parentComponent.collapsed=e},enumerable:!1,configurable:!0}),r}(t.StiInteraction);t.StiBandInteraction=e}(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(){function e(t,e){void 0===t&&(t=""),void 0===e&&(e=null),this._bookmarks=null,this._text="",this._pageIndex=-1,this._text=t}return e.prototype.add=function(t){-1==this.bookmarks.indexOf(t)&&this.bookmarks.add(new e(t))},Object.defineProperty(e.prototype,"bookmarks",{get:function(){return null==this._bookmarks&&(this._bookmarks=new t.StiBookmarksCollection),this._bookmarks},set:function(t){this._bookmarks=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentGuid",{get:function(){return this._componentGuid},set:function(t){this._componentGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isManualBookmark",{get:function(){return this._isManualBookmark},set:function(t){this._isManualBookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),e}();t.StiBookmark=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,n=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.indexOf=function(t){var r,n;if(t.stimulsoft.is(e.StiBookmark))return this.list.indexOf(t);var i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s;if(a.value.text==t)return i;i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return-1},r.prototype.getByName=function(t){var r=null,n=this.indexOf(t);return-1==n?(r=new e.StiBookmark(t,this),this.add(r)):r=this.getByIndex(n),r},r}(t.System.Collections.CollectionBase);e.StiBookmarksCollection=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.StiError,i=t.Base.StiChartNotSupportedException,o=t.System.StiArray,a=t.System.StiString,s=t.System.Collections.CollectionBase,l=t.System.Collections.Hashtable,u=t.Report.Components.StiComponent,c=t.Report.Components.StiBand,p=t.System.ICloneable,h=t.Base.JsonReportObject.IStiJsonReportObject,m=t.Base.StiJson,f=t.Base.StiActivator,d=function(s){function d(t){void 0===t&&(t=null);var e=s.call(this)||this;return e.parent=t,e}return __extends(d,s),d.prototype.implements=function(){return[p,h]},d.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new m,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},d.prototype.loadFromJsonObject=function(e){var o,a,s=function(e){var o,a=e.value.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,s=StiOptions.Services.components.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==a})),u=void 0;null==s?"StiChart"!=a&&"StiChartElement"!=a||(n.showError(new i,!0),u="StiChartElement"==a?t.Report.Dashboard.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement"):new r.StiText,e.value=i.getTextJson(e.value)):u=new s,l.add(u);try{u.loadFromJsonObject(e.value)}catch(t){l.list.pop()}},l=this;try{for(var u=__values(e.properties()),c=u.next();!c.done;c=u.next()){var p;s(c.value)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}},d.prototype.loadFromXml=function(e,o){for(var a=0;a<e.childNodes.length;a++){var s=e.childNodes[a],l;if(null==s.attributes)continue;if(null!=s.attributes.getNamedItem("type")){var u=s.attributes.getNamedItem("type").value;switch(u){case"Stimulsoft.Report.Components.StiReportTitleBand":case"ReportTitleBand":var c=new r.StiReportTitleBand;this.add(c),c.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiReportSummaryBand":case"ReportSummaryBand":var p=new r.StiReportSummaryBand;this.add(p),p.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiPageHeaderBand":case"PageHeaderBand":var h=new r.StiPageHeaderBand;this.add(h),h.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiPageFooterBand":case"PageFooterBand":var m=new r.StiPageFooterBand;this.add(m),m.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiGroupHeaderBand":case"GroupHeaderBand":var d=new r.StiGroupHeaderBand;this.add(d),d.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiGroupFooterBand":case"GroupFooterBand":var g=new r.StiGroupFooterBand;this.add(g),g.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiHeaderBand":case"HeaderBand":var S=new r.StiHeaderBand;this.add(S),S.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiFooterBand":case"FooterBand":var y=new r.StiFooterBand;this.add(y),y.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiColumnHeaderBand":case"ColumnHeaderBand":var A=new r.StiColumnHeaderBand;this.add(A),A.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiColumnFooterBand":case"ColumnFooterBand":var b=new r.StiColumnFooterBand;this.add(b),b.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiHierarchicalBand":case"HierarchicalBand":var v=new r.StiHierarchicalBand;this.add(v),v.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiEmptyBand":case"EmptyBand":var C=new r.StiEmptyBand;this.add(C),C.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiOverlayBand":case"OverlayBand":var w=new r.StiOverlayBand;this.add(w),w.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiDataBand":case"DataBand":var B=new r.StiDataBand;this.add(B),B.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.Table.StiTable":case"Table":var I=new t.Report.Components.Table.StiTable;this.add(I),I.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.Table.StiTableCell":case"TableCell":var T=new t.Report.Components.Table.StiTableCell;this.add(T),T.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.Table.StiTableCellCheckBox":case"TableCellCheckBox":var E=new t.Report.Components.Table.StiTableCellCheckBox;this.add(E),E.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.Table.StiTableCellImage":case"TableCellImage":var R=new t.Report.Components.Table.StiTableCellImage;this.add(R),R.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.Table.StiTableCellRichText":case"TableCellRichText":var D=new t.Report.Components.Table.StiTableCellRichText;this.add(D),D.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiPage":case"Page":var P=new t.Report.Components.StiPage;this.add(P),P.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiPanel":case"Panel":var x=new t.Report.Components.StiPanel;this.add(x),x.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiContainer":case"Container":var F=new t.Report.Components.StiContainer;this.add(F),F.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCheckBox":case"CheckBox":var N=new t.Report.Components.StiCheckBox;this.add(N),N.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiChildBand":case"ChildBand":var k=new t.Report.Components.StiChildBand;this.add(k),k.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiText":case"Text":var M=new t.Report.Components.StiText;this.add(M),M.loadFromXml(s,o);break;case"Clone":var O=new t.Report.Components.StiClone;this.add(O),O.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiImage":case"Image":var _=new t.Report.Components.StiImage;this.add(_),_.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiRichText":case"RichText":var j=new t.Report.Components.StiRichText;this.add(j),j.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiShape":case"Shape":var G=new t.Report.Components.StiShape;this.add(G),G.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiSubReport":case"SubReport":var H=new t.Report.Components.StiSubReport;this.add(H),H.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiHorizontalLinePrimitive":case"HorizontalLinePrimitive":var Q=new t.Report.Components.StiHorizontalLinePrimitive;this.add(Q),Q.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiVerticalLinePrimitive":case"VerticalLinePrimitive":var L=new t.Report.Components.StiVerticalLinePrimitive;this.add(L),L.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiRectanglePrimitive":case"RectanglePrimitive":var Y=new t.Report.Components.StiRectanglePrimitive;this.add(Y),Y.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiRoundedRectanglePrimitive":case"RoundedRectanglePrimitive":var U=new t.Report.Components.StiRoundedRectanglePrimitive;this.add(U),U.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiStartPointPrimitive":case"StartPointPrimitive":var J=new t.Report.Components.StiStartPointPrimitive;this.add(J),J.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiEndPointPrimitive":case"EndPointPrimitive":var W=new t.Report.Components.StiEndPointPrimitive;this.add(W),W.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCrossDataBand":case"CrossDataBand":var V=new t.Report.Components.StiCrossDataBand;this.add(V),V.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCrossHeaderBand":case"CrossHeaderBand":var z=new t.Report.Components.StiCrossHeaderBand;this.add(z),z.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCrossFooterBand":case"CrossFooterBand":var X=new t.Report.Components.StiCrossFooterBand;this.add(X),X.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCrossGroupHeaderBand":case"CrossGroupHeaderBand":var K=new t.Report.Components.StiCrossGroupHeaderBand;this.add(K),K.loadFromXml(s,o);break;case"Stimulsoft.Report.Components.StiCrossGroupFooterBand":case"CrossGroupFooterBand":var Z=new t.Report.Components.StiCrossGroupFooterBand;this.add(Z),Z.loadFromXml(s,o);break;case"Stimulsoft.Report.BarCodes.StiBarCode":case"Stimulsoft.Report.Components.StiBarCode":case"BarCode":var q=new t.Report.BarCodes.StiBarCode;this.add(q);try{q.loadFromXml(s,o)}catch(t){this.list.pop()}break;case"Stimulsoft.Report.CrossTab.StiCrossTab":case"CrossTab":var $=new t.Report.CrossTab.StiCrossTab;this.add($),$.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossColumn":case"CrossColumn":var tt=new t.Report.CrossTab.StiCrossColumn;this.add(tt),tt.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossTotal":case"CrossTotal":var et=new t.Report.CrossTab.StiCrossTotal;this.add(et),et.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossRowTotal":case"CrossRowTotal":var rt=new t.Report.CrossTab.StiCrossRowTotal;this.add(rt),rt.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossColumnTotal":case"CrossColumnTotal":var nt=new t.Report.CrossTab.StiCrossColumnTotal;this.add(nt),nt.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossRow":case"CrossRow":var it=new t.Report.CrossTab.StiCrossRow;this.add(it),it.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossSummary":case"CrossSummary":var ot=new t.Report.CrossTab.StiCrossSummary;this.add(ot),ot.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossTitle":case"CrossTitle":var at=new t.Report.CrossTab.StiCrossTitle;this.add(at),at.loadFromXml(s);break;case"Stimulsoft.Report.CrossTab.StiCrossSummaryHeader":case"CrossSummaryHeader":var st=new t.Report.CrossTab.StiCrossSummaryHeader;this.add(st),st.loadFromXml(s);break;case"Stimulsoft.Report.Components.StiSparkline":case"Sparkline":var lt=new t.Report.Components.StiSparkline;this.add(lt),lt.loadFromXml(s,o);break;case"Stimulsoft.Report.Chart.StiChart":case"Chart":if(t.Report.Chart.StiChartAssembly.isAssemblyLoaded){var ut=f.createObject(t.Report.Components["StiChart"]);ut.report=this.parent.report,this.add(ut),ut.loadFromXml(s,o)}else{n.showError(new i,!0);var ct=new r.StiText;ct.loadFromXml(i.getTextXml(s),o),this.add(ct)}break;case"Stimulsoft.Report.Components.StiTextInCells":case"TextInCells":var pt=new t.Report.Components.StiTextInCells;this.add(pt),pt.loadFromXml(s,o);break;case"Stimulsoft.Report.Gauge.StiGauge":case"Gauge":var ht=f.createObject(t.Report.Components["StiGauge"]);this.add(ht),ht.loadFromXml(s,o);break;case"Stimulsoft.Report.Maps.StiMap":case"Map":var mt=new t.Report.Maps.StiMap;this.add(mt),mt.loadFromXml(s,o);break;case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":if(!t.Report.Chart.StiChartAssembly.isAssemblyLoaded){n.showError(new i,!0);var ft=t.Report.Dashboard.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement");ft.loadFromXml(i.getTextXml(s),o),this.add(ft);break}case"Stimulsoft.Dashboard.Components.Table.StiTableElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":var dt=t.Report.Dashboard.StiDashboardCreator.createDashboardElement(u);null!=dt&&(this.add(dt),dt.loadFromXml(s,o));break}}}},d.prototype.loadDocumentFromXml=function(e){for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];if(null==a.attributes)continue;var s=a.attributes.getNamedItem("type");if(null!=s)switch(s.value){case"Stimulsoft.Report.Components.StiReportTitleBand":case"ReportTitleBand":var l=new r.StiReportTitleBand;this.add(l),l.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiReportSummaryBand":case"ReportSummaryBand":var u=new r.StiReportSummaryBand;this.add(u),u.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiPageHeaderBand":case"PageHeaderBand":var c=new r.StiPageHeaderBand;this.add(c),c.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiPageFooterBand":case"PageFooterBand":var p=new r.StiPageFooterBand;this.add(p),p.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiGroupHeaderBand":case"GroupHeaderBand":var h=new r.StiGroupHeaderBand;this.add(h),h.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiGroupFooterBand":case"GroupFooterBand":var m=new r.StiGroupFooterBand;this.add(m),m.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiHeaderBand":case"HeaderBand":var d=new r.StiHeaderBand;this.add(d),d.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiFooterBand":case"FooterBand":var g=new r.StiFooterBand;this.add(g),g.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiColumnHeaderBand":case"ColumnHeaderBand":var S=new r.StiColumnHeaderBand;this.add(S),S.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiColumnFooterBand":case"ColumnFooterBand":var y=new r.StiColumnFooterBand;this.add(y),y.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiHierarchicalBand":case"HierarchicalBand":var A=new r.StiHierarchicalBand;this.add(A),A.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiEmptyBand":case"EmptyBand":var b=new r.StiEmptyBand;this.add(b),b.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiOverlayBand":case"OverlayBand":var v=new r.StiOverlayBand;this.add(v),v.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiDataBand":case"DataBand":var C=new r.StiDataBand;this.add(C),C.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.Table.StiTable":case"Table":var w=new t.Report.Components.Table.StiTable;this.add(w),w.loadFromXml(a,!0);break;case"TableCell":var B=new t.Report.Components.Table.StiTableCell;this.add(B),B.parseTextFromXml(a);break;case"Stimulsoft.Report.Components.Table.StiTableCellCheckBox":case"TableCellCheckBox":var I=new t.Report.Components.Table.StiTableCellCheckBox;this.add(I),I.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.Table.StiTableCellImage":case"TableCellImage":var T=new t.Report.Components.Table.StiTableCellImage;this.add(T),T.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.Table.StiTableCellRichText":case"TableCellRichText":var E=new t.Report.Components.Table.StiTableCellRichText;this.add(E),E.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiPage":case"Page":var R=new t.Report.Components.StiPage;this.add(R),R.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiPanel":case"Panel":var D=new t.Report.Components.StiPanel;this.add(D),D.loadFromXml(a,!0);break;case"Container":var P=new t.Report.Components.StiContainer;this.add(P),P.parseContainerFromXml(a);break;case"Stimulsoft.Report.Components.StiCheckBox":case"CheckBox":var x=new t.Report.Components.StiCheckBox;this.add(x),x.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiChildBand":case"ChildBand":var F=new t.Report.Components.StiChildBand;this.add(F),F.loadFromXml(a,!0);break;case"Text":case"SystemText":var N=new t.Report.Components.StiText;this.add(N),N.parseTextFromXml(a);break;case"Stimulsoft.Report.Components.StiTextInCells":case"TextInCells":var k=new t.Report.Components.StiTextInCells;this.add(k),k.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiImage":case"Image":var M=new t.Report.Components.StiImage;this.add(M),M.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiRichText":case"RichText":var O=new t.Report.Components.StiRichText;this.add(O),O.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiShape":case"Shape":var _=new t.Report.Components.StiShape;this.add(_),_.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiSubReport":case"SubReport":var j=new t.Report.Components.StiSubReport;this.add(j),j.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiHorizontalLinePrimitive":case"HorizontalLinePrimitive":var G=new t.Report.Components.StiHorizontalLinePrimitive;this.add(G),G.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiVerticalLinePrimitive":case"VerticalLinePrimitive":var H=new t.Report.Components.StiVerticalLinePrimitive;this.add(H),H.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiRectanglePrimitive":case"RectanglePrimitive":var Q=new t.Report.Components.StiRectanglePrimitive;this.add(Q),Q.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiRoundedRectanglePrimitive":case"RoundedRectanglePrimitive":var L=new t.Report.Components.StiRoundedRectanglePrimitive;this.add(L),L.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiStartPointPrimitive":case"StartPointPrimitive":var Y=new t.Report.Components.StiStartPointPrimitive;this.add(Y),Y.loadFromXml(a,!0);break;case"Stimulsoft.Report.Components.StiEndPointPrimitive":case"EndPointPrimitive":var U=new t.Report.Components.StiEndPointPrimitive;this.add(U),U.loadFromXml(a,!0);break;case"Stimulsoft.Report.Chart.StiChart":case"Chart":if(t.Report.Chart.StiChartAssembly.isAssemblyLoaded){var J=f.createObject(t.Report.Components["StiChart"]);J.report=this.parent.report,this.add(J),J.loadFromXml(a,!0)}else{n.showError(new i,!0);var W=new r.StiText;W.loadFromXml(i.getTextXml(a),!1),this.add(W)}break;case"Stimulsoft.Report.Components.StiSparkline":case"Sparkline":var V=new t.Report.Components.StiSparkline;this.add(V),V.loadFromXml(a,!0);break;case"Stimulsoft.Report.Maps.StiMap":case"Map":var z=new t.Report.Maps.StiMap;z.report=this.parent.report,this.add(z),z.loadFromXml(a,!0);break;case"Stimulsoft.Report.BarCodes.StiBarCode":case"BarCode":var X=new t.Report.BarCodes.StiBarCode;X.report=this.parent.report,this.add(X);try{X.loadFromXml(a,!0)}catch(t){this.list.pop()}break;case"Stimulsoft.Dashboard.Components.Table.StiTableElement":case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":var K=t.Report.Dashboard.StiDashboardCreator.createDashboardElement(s.value);null!=K&&(this.add(K),K.loadFromXml(a,!0));break}}},d.prototype.clone=function(){var t,e,r=new d;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},d.prototype.memberwiseClone=function(){var t=new(this.stimulsoft.getType());return t.parent=this.parent,t},d.prototype.addCore=function(t){null!=this.parent&&(t.parent=this.parent,null!=this.parent.page&&(t.page=this.parent.page,a.isNullOrEmpty(t.name)&&(null!=t.report&&t.report.isDesigning?t.name=e.StiNameCreation.createName(this.parent.report,e.StiNameCreation.generateName(t)):t.name=e.StiNameCreation.createSimpleName(this.parent.report,e.StiNameCreation.generateName(t))))),this.list.push(t)},d.prototype.add=function(t){this.addCore(t)},d.prototype.indexOf=function(t){var e,r;if("string"==typeof t){var n=t.toLowerCase(),i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s;if(a.value.name.toLowerCase()==n)return i;i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return-1}return this.list.indexOf(t)},d.prototype.insertRange=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;this.insert(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},d.prototype.insert=function(t,e){null!=this.parent&&(e.parent=this.parent,null!=this.parent.page&&(e.page=this.parent.page)),this.list.splice(t,0,e)},d.prototype.remove=function(t,e){void 0===e&&(e=!0),e&&null!=t.page&&null!=t.report&&(t.parent=null),this.contains(t)&&s.prototype.remove.call(this,t)},d.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},d.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).stimulsoft.as(u).name.toLowerCase()==t)return void(this.list[r]=e)}this.addCore(e)},d.prototype.sortByPriority=function(){if(this.count>1){var t=1;while(t<this.count)if(this.list[t-1].priority>this.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;c<s;c++){var p=this.getByIndex(c).top;a.set(p,null),p<u&&(i=!0),u=p}var h=a.keys.length;if(a.clear(),i&&h<s/2){for(var c=0;c<this.count;c++){var m,p=(m=this.getByIndex(c)).top,f;null==(f=a.get(p))&&(f=[],a.set(p,f)),f.push(m)}var d=o.create(Object,a.keys.length);a.keys.copyTo(d,0),d=o.sti_sort(d);var g=0;try{for(var S=__values(d),y=S.next();!y.done;y=S.next()){var A=y.value,f=a.get(A);try{for(var b=(r=void 0,__values(f)),v=b.next();!v.done;v=b.next()){var m=v.value;this.list[g++]=m}}catch(t){r={error:t}}finally{try{v&&!v.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{y&&!y.done&&(e=S.return)&&e.call(S)}finally{if(t)throw t.error}}a.clear(),i=!1}}if(i){var C=1;while(C<s)if(this.list[C-1].top>this.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(t<this.count)if(this.list[t-1].bottom>this.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(t<this.count)if(this.list[t-1].left>this.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(t<this.count)if(this.list[t-1].right>this.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(e<this.count)if(this.list[e-1].stimulsoft.is(c)&&this.list[e].stimulsoft.is(c)&&this.list[e-1].dockStyle==this.list[e].dockStyle&&(this.list[e-1].dockStyle==t.Report.Components.StiDockStyle.Top&&this.list[e-1].top>this.list[e].top||this.list[e-1].dockStyle==t.Report.Components.StiDockStyle.Bottom&&this.list[e-1].top<this.list[e].top)){var r=this.list[e-1];this.list[e-1]=this.list[e],this.list[e]=r,1!=e&&e--}else e++}},d.prototype.sortBandsByLeftPosition=function(){if(this.count>1){var t=1;while(t<this.count)if(this.list[t-1].stimulsoft.is(c)&&this.list[t].stimulsoft.is(c)&&this.list[t-1].left>this.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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"CollapsingEnabled":this._collapsingEnabled=n.textContent.stimulsoft.toBoolean();break}}},e.prototype.isDefault=function(){return t.prototype.isDefault.call(this)&&!this.collapsingEnabled},Object.defineProperty(e.prototype,"collapsingEnabled",{get:function(){return this._collapsingEnabled},set:function(t){this._collapsingEnabled=t},enumerable:!1,configurable:!0}),e}(t.StiInteraction);t.StiCrossHeaderInteraction=e}(e=t.Components||(t.Components={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiEnumerator="IStiEnumerator"}(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.Report.Dictionary.StiBusinessObjectsCollection,a=t.System.Collections.Hashtable,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,u=t.System.ICloneable,c;!function(t){t[t["Name"]=100]="Name",t[t["Alias"]=200]="Alias",t[t["Category"]=300]="Category",t[t["Columns"]=400]="Columns"}(c||(c={}));var p=function(){function c(e,n,i,a,s){void 0===e&&(e=""),void 0===n&&(n=""),void 0===i&&(i=""),void 0===a&&(a=null),void 0===s&&(s=null),this._states=null,this._inherited=!1,this.positionValue=0,this.countFiltered=null,this.isBofValue=!1,this.isEofValue=!1,this._isEmpty=!1,this._key=null,this.isEnumeratorCreated=!1,this.specPrevValue=null,this.specNextValue=null,this.specNextValueRead=!1,this.specMoveNextResult=!1,this.specStoredCurrentValue=null,this.enumerator=null,this.rowToLevel=null,this.specSetPrevValue=!1,this.specSetNextValue=!1,this.specFilterData=!1,this.specSortGroup=!1,this.specTotalsCalculation=!1,this.previousResetException=!1,this._category=e,this._name=n,this._alias=i,this._columns=new r.StiDataColumnsCollection(this),this._businessObjects=new o(null,this),null==this._guid&&(this._guid=t.System.Guid.newGuidString()),this._guid=a,this._key=s}return c.prototype.implements=function(){return[u,e.IStiStateSaveRestore,r.IStiEnumerator,e.IStiInherited,s]},c.prototype.saveToJsonObject=function(t){var e=new l;return e.addPropertyBool("Inherited",this.inherited),e.addPropertyJObject("BusinessObjects",this.businessObjects.saveToJsonObject(t)),e.addPropertyJObject("Columns",this.columns.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Guid",this.guid),e.addPropertyStringNullOrEmpty("Category",this.category),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e},c.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"Inherited":this._inherited=o.value.stimulsoft.toBoolean();break;case"BusinessObjects":this._businessObjects.loadFromJsonObject(o.value);break;case"Columns":this._columns.loadFromJsonObject(o.value);break;case"Guid":this._guid=o.value;break;case"Category":this._category=o.value;break;case"Name":this._name=o.value;break;case"Alias":this._alias=o.value;break;case"Key":this._key=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}}},c.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"Guid":this._guid=r.textContent;break;case"Category":this._category=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"Columns":this._columns.loadFromXml(r);break;case"BusinessObjects":this._businessObjects.loadFromXml(r);break}}},Object.defineProperty(c.prototype,"states",{get:function(){return null==this._states&&(this._states=new e.StiStatesManager),this._states},enumerable:!1,configurable:!0}),c.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.pushBool(t,this,"isEmpty",this.isEmpty),this.states.push(t,this,"current",this.currentObject),this.states.push(t,this,"businessObjectValue",this.businessObjectValue),this.states.push(t,this,"specPrevValue",this.specPrevValue),this.states.push(t,this,"specNextValue",this.specNextValue),this.states.push(t,this,"specStoredCurrentValue",this.specStoredCurrentValue),this.states.push(t,this,"enumerator",this.enumerator),this.states.push(t,this,"countFiltered",this.countFiltered),this.states.pushBool(t,this,"isEnumeratorCreated",this.isEnumeratorCreated),this.states.pushBool(t,this,"specNextValueRead",this.specNextValueRead),this.states.pushBool(t,this,"specMoveNextResult",this.specMoveNextResult)},c.prototype.restoreState=function(t){this.states.isExist(t,this)&&(this.positionValue=this.states.popInt(t,this,"positionValue"),this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this._isEmpty=this.states.popBool(t,this,"isEmpty"),this.currentObject=this.states.pop(t,this,"current"),this.businessObjectValue=this.states.pop(t,this,"businessObjectValue"),this.specPrevValue=this.states.pop(t,this,"specPrevValue"),this.specNextValue=this.states.pop(t,this,"specNextValue"),this.specStoredCurrentValue=this.states.pop(t,this,"specStoredCurrentValue"),this.enumerator=this.states.pop(t,this,"enumerator"),this.countFiltered=this.states.pop(t,this,"countFiltered"),this.isEnumeratorCreated=this.states.popBool(t,this,"isEnumeratorCreated"),this.specNextValueRead=this.states.popBool(t,this,"specNextValueRead"),this.specMoveNextResult=this.states.popBool(t,this,"specMoveNextResult"))},c.prototype.clearAllStates=function(){this._states=null},Object.defineProperty(c.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"position",{get:function(){return this.positionValue},set:function(t){if(t!=this.positionValue){this.first();var e=t;while(e>0)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<l.filters.count;h++){var m=l.filters.getByIndex(h);p+="(",o.stimulsoft.is(a)?p+=s.getFilterExpression(m,e.StiNameValidator.correctName(o.dataSourceName)+"."+m.column,c):p+=s.getFilterExpression(m,o.name+"."+m.column,c),p+=")",h<l.filters.count-1&&(p+=l.filterMode==r.StiFilterMode.And?" && ":" || ")}p+="}",u=new t.Report.Engine.StiParser.StiFilterParserData(n,p);var f=t.Report.Engine.StiParser.StiParser.checkExpression(p,n);null!=f&&c.writeToReportRenderingMessages(n.name+".Filters "+f.message)}return u},s.getFilterExpression=function(t,e,i){var o="";if(t.item==r.StiFilterItem.Expression){var a=t.expression;null!=a&&(a.stimulsoft.startsWith("{")&&a.stimulsoft.endsWith("}")?o+=a.substr(1,a.length-2):o+=a)}else if(t.item==r.StiFilterItem.Value)if(t.condition==r.StiFilterCondition.IsNull||t.condition==r.StiFilterCondition.IsNotNull){var s=null,l=e.lastIndexOf(".");if(l<0)s=e;else{var u=e.substr(0,l),c=e.substr(l+1);s=n.format('{0}["{1}"]',u,c)}t.condition==r.StiFilterCondition.IsNull?o+=n.format("{0} == null || {0} == DBNull.Value",s):o+=n.format("{0} != null && {0} != DBNull.Value",s)}else if(t.dataType==r.StiFilterDataType.String)t.condition==r.StiFilterCondition.EqualTo?o+=n.format('{0}.ToString().ToLower() == ToString("{1}").ToLower()',e,t.value1):t.condition==r.StiFilterCondition.NotEqualTo?o+=n.format('{0}.ToString().ToLower() != ToString("{1}").ToLower()',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));else if(t.dataType==r.StiFilterDataType.Numeric)t.condition==r.StiFilterCondition.EqualTo?o+=n.format("(decimal){0} == (decimal){1}",e,t.value1):t.condition==r.StiFilterCondition.NotEqualTo?o+=n.format("(decimal){0} != (decimal){1}",e,t.value1):t.condition==r.StiFilterCondition.Between?o+=n.format("(decimal){0} >= (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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Name":this._name=r.textContent;break;case"Expression":this._expression.loadFromXml(r);break}}},t.prototype.isDefault=function(){return r.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.value.length)},Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=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}),Object.defineProperty(t.prototype,"interaction",{set:function(t){this._interaction=t},enumerable:!1,configurable:!0}),t}();e.StiDrillDownParameter=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.Localization.StiLocalization,n=function(){function t(){}return t.convertStringToCondition=function(t){if(t==r.get("PropertyEnum","StiFilterConditionEqualTo"))return e.StiFilterCondition.EqualTo;if(t==r.get("PropertyEnum","StiFilterConditionNotEqualTo"))return e.StiFilterCondition.NotEqualTo;if(t==r.get("PropertyEnum","StiFilterConditionBetween"))return e.StiFilterCondition.Between;if(t==r.get("PropertyEnum","StiFilterConditionNotBetween"))return e.StiFilterCondition.NotBetween;if(t==r.get("PropertyEnum","StiFilterConditionGreaterThan"))return e.StiFilterCondition.GreaterThan;if(t==r.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return e.StiFilterCondition.GreaterThanOrEqualTo;if(t==r.get("PropertyEnum","StiFilterConditionLessThan"))return e.StiFilterCondition.LessThan;if(t==r.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return e.StiFilterCondition.LessThanOrEqualTo;if(t==r.get("PropertyEnum","StiFilterConditionContaining"))return e.StiFilterCondition.Containing;if(t==r.get("PropertyEnum","StiFilterConditionNotContaining"))return e.StiFilterCondition.NotContaining;if(t==r.get("PropertyEnum","StiFilterConditionBeginningWith"))return e.StiFilterCondition.BeginningWith;if(t==r.get("PropertyEnum","StiFilterConditionEndingWith"))return e.StiFilterCondition.EndingWith;if(t==r.get("PropertyEnum","StiFilterConditionIsNull"))return e.StiFilterCondition.IsNull;if(t==r.get("PropertyEnum","StiFilterConditionIsNotNull"))return e.StiFilterCondition.IsNotNull;return e.StiFilterCondition.EqualTo},t.convertConditionToString=function(t){switch(t){case e.StiFilterCondition.EqualTo:return r.get("PropertyEnum","StiFilterConditionEqualTo");case e.StiFilterCondition.NotEqualTo:return r.get("PropertyEnum","StiFilterConditionNotEqualTo");case e.StiFilterCondition.Between:return r.get("PropertyEnum","StiFilterConditionBetween");case e.StiFilterCondition.NotBetween:return r.get("PropertyEnum","StiFilterConditionNotBetween");case e.StiFilterCondition.GreaterThan:return r.get("PropertyEnum","StiFilterConditionGreaterThan");case e.StiFilterCondition.GreaterThanOrEqualTo:return r.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case e.StiFilterCondition.LessThan:return r.get("PropertyEnum","StiFilterConditionLessThan");case e.StiFilterCondition.LessThanOrEqualTo:return r.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case e.StiFilterCondition.Containing:return r.get("PropertyEnum","StiFilterConditionContaining");case e.StiFilterCondition.NotContaining:return r.get("PropertyEnum","StiFilterConditionNotContaining");case e.StiFilterCondition.BeginningWith:return r.get("PropertyEnum","StiFilterConditionBeginningWith");case e.StiFilterCondition.EndingWith:return r.get("PropertyEnum","StiFilterConditionEndingWith");case e.StiFilterCondition.IsNull:return r.get("PropertyEnum","StiFilterConditionIsNull");case e.StiFilterCondition.IsNotNull:return r.get("PropertyEnum","StiFilterConditionIsNotNull")}return""},t.convertStringToDataType=function(t){if(t==r.get("PropertyEnum","StiFilterDataTypeString"))return e.StiFilterDataType.String;if(t==r.get("PropertyEnum","StiFilterDataTypeNumeric"))return e.StiFilterDataType.Numeric;if(t==r.get("PropertyEnum","StiFilterDataTypeDateTime"))return e.StiFilterDataType.DateTime;if(t==r.get("PropertyEnum","StiFilterDataTypeBoolean"))return e.StiFilterDataType.Boolean;if(t==r.get("PropertyEnum","StiFilterDataTypeExpression"))return e.StiFilterDataType.Expression;return e.StiFilterDataType.String},t.convertDataTypeToString=function(t){switch(t){case e.StiFilterDataType.String:return r.get("PropertyEnum","StiFilterDataTypeString");case e.StiFilterDataType.Numeric:return r.get("PropertyEnum","StiFilterDataTypeNumeric");case e.StiFilterDataType.DateTime:return r.get("PropertyEnum","StiFilterDataTypeDateTime");case e.StiFilterDataType.Boolean:return r.get("PropertyEnum","StiFilterDataTypeBoolean");case e.StiFilterDataType.Expression:return r.get("PropertyEnum","StiFilterDataTypeExpression")}return""},t.setFilter=function(t){},t}();e.StiFilterHelper=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.System.Collections.CollectionBase,n=t.System.ICloneable,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=t.System.Enum,s=t.System.Text.XMLConvert,l=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.implements=function(){return[n,i]},r.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},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=null,l,u;switch(a.value.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiFilter":s=new e.StiFilter;break;case"StiBaseCondition":s=new e.StiBaseCondition;break;case"StiConditionHelper":s=new e.StiConditionHelper;break}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){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if("value"==n.nodeName){var i=n.textContent.split(","),o=void 0;o=1==i.length?new e.StiFilter(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,s.decodeName(i[0])):new e.StiFilter(e.StiFilterItem.Value,s.decodeName(i[0]),a.parse(e.StiFilterCondition,i[1]),s.decodeName(i[2]),s.decodeName(i[3]),a.parse(e.StiFilterDataType,i[4])),this.list.push(o)}}},r.prototype.clone=function(){var t,e,n=new r;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},r}(r);e.StiFiltersCollection=l}(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=function(){function t(t,e,r,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),this._left=t,this._top=r,this._right=e,this._bottom=n}return t.prototype.implements=function(){return[r]},t.prototype.saveToJsonObject=function(t,e,r,i,o){if(void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),this._left==e&&this._right==r&&this._top==i&&this._bottom==o)return null;var a=new n;return a.addPropertyNumberNoDefaultValue("Left",this.left),a.addPropertyNumberNoDefaultValue("Right",this.right),a.addPropertyNumberNoDefaultValue("Top",this.top),a.addPropertyNumberNoDefaultValue("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"Right":this._right=o.value.stimulsoft.toNumber();break;case"Top":this._top=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.loadFromText=function(e){var r=e.split(",");return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber())},t.loadFromXml=function(e){var r=e.textContent.split(",");return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber())},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t.prototype.equals=function(t){var e=t;return null!=e&&this._left==e.left&&this._right==e.right&&this._top==e.top&&this._bottom==e.bottom},Object.defineProperty(t.prototype,"left",{get:function(){return this._left},set:function(t){this._left=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this._right},set:function(t){this._right=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this._top},set:function(t){this._top=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this._bottom},set:function(t){this._bottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this._left&&0==this._right&&0==this._top&&0==this._bottom},enumerable:!1,configurable:!0}),t.create=function(e){return void 0===e&&(e=0),new t(e,e,e,e)},t.empty=new t(0,0,0,0),t}();e.StiMargins=i}(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(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetExcelSheet"},e}(t.StiEvent);t.StiGetExcelSheetEvent=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"ColumnEndRender"},e}(t.StiEvent);t.StiColumnEndRenderEvent=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"ColumnBeginRender"},e}(t.StiEvent);t.StiColumnBeginRenderEvent=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.Drawing.Printing.PaperKind,n=t.System.Drawing.Printing.PrinterUnitConvert,i=t.System.Drawing.Printing.PrinterUnit,o=t.System.Drawing.Printing.PrinterSettings.PrinterSettings,a=t.System.Drawing.Size,s=function(){function s(){}return s.getPaperSizeFromPaperKind=function(t){var e,n;if(t==r.Custom||!StiOptions.Print.allowUsePaperSizesFromPrinterSettings)return null;var i=StiOptions.Print.customPaperSizes,a;null==i&&(i=(new o).paperSizes);try{for(var s=__values(i.list),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.kind==t)return u}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return null},s.getPaperSize=function(r,o){var s=o.width,l=o.height;return r.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit)||r.unit.stimulsoft.is(t.Report.Units.StiMillimetersUnit)?(s=n.convert(o.width,i.ThousandthsOfAnInch,i.TenthsOfAMillimeter),l=n.convert(o.height,i.ThousandthsOfAnInch,i.TenthsOfAMillimeter),r.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit)&&(s/=10,l/=10)):(s=Math.round2(r.convertFromHInches(r.unit,s),2),l=Math.round2(r.convertFromHInches(r.unit,l),2)),r.orientation==e.StiPageOrientation.Landscape?new a(l,s):new a(s,l)},s}();e.StiPageHelper=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.ICloneable,n=function(){function t(){}return t.prototype.implements=function(){return[r]},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t}();e.StiComponentInfo=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(){var e=null!==t&&t.apply(this,arguments)||this;return e.overlays=null,e.indexOfStartRenderedPages=-1,e.masterDataBand=null,e.isReportTitlesRendered=!1,e.renderedCount=0,e.positionFromTop=0,e.positionFromBottom=0,e}return __extends(e,t),e}(t.Report.Engine.StiComponentInfo);e.StiPageInfo=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.Base.StiJson,i=t.System.Drawing.Rectangle,o=t.System.Drawing.Size,a=function(){function t(){}return t.saveToJsonObject=function(t){var e=new n;return e.addPropertyIdent("Ident",t.stimulsoft.getType().stimulsoft.getTypeName()),e},t.loadFromJsonObject=function(t){var e;switch(t.properties().firstOrDefault((function(t){return"Ident"==t.name})).value){case"StiMillimetersUnit":return new r.StiMillimetersUnit;case"StiInchesUnit":return new r.StiInchesUnit;case"StiHundredthsOfInchUnit":return new r.StiHundredthsOfInchUnit;case"StiCentimetersUnit":return new r.StiCentimetersUnit}return null},t.loadFromXml=function(t){switch(t.textContent){case"Millimeters":return new r.StiMillimetersUnit;case"Inches":return new r.StiInchesUnit;case"HundredthsOfInch":return new r.StiHundredthsOfInchUnit;case"Centimeters":return new r.StiCentimetersUnit}return new r.StiHundredthsOfInchUnit},t.getUnitFromReportUnit=function(r){switch(r){case e.StiReportUnitType.HundredthsOfInch:return t.HundredthsOfInch;case e.StiReportUnitType.Inches:return t.Inches;case e.StiReportUnitType.Millimeters:return t.Millimeters;default:return t.Centimeters}},Object.defineProperty(t,"Centimeters",{get:function(){return null==this._centimeters&&r.StiCentimetersUnit&&(this._centimeters=new r.StiCentimetersUnit),this._centimeters},enumerable:!1,configurable:!0}),Object.defineProperty(t,"HundredthsOfInch",{get:function(){return null==this._hundredthsOfInch&&r.StiHundredthsOfInchUnit&&(this._hundredthsOfInch=new r.StiHundredthsOfInchUnit),this._hundredthsOfInch},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Inches",{get:function(){return null==this._inches&&r.StiInchesUnit&&(this._inches=new r.StiInchesUnit),this._inches},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Millimeters",{get:function(){return null==this._millimeters&&r.StiMillimetersUnit&&(this._millimeters=new r.StiMillimetersUnit),this._millimeters},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rulerStep",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"factor",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shortName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return""},enumerable:!1,configurable:!0}),t.prototype.convertToHInches=function(t){return t},t.prototype.convertFromHInches=function(t){return t},t.prototype.convertRectangleToHInches=function(t){return new i(this.convertToHInches(t.left),this.convertToHInches(t.top),this.convertToHInches(t.width),this.convertToHInches(t.height))},t.prototype.convertRectangleFromHInches=function(t){return new i(this.convertFromHInches(t.left),this.convertFromHInches(t.top),this.convertFromHInches(t.width),this.convertFromHInches(t.height))},t.prototype.convertSizeToHInches=function(t){return new o(this.convertToHInches(t.width),this.convertToHInches(t.height))},t.prototype.convertSizeFromHInches=function(t){return new o(this.convertFromHInches(t.width),this.convertFromHInches(t.height))},t}();r.StiUnit=a}(r=e.Units||(e.Units={}))}(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.Helpers.StiHyperlinkProcessor,i=t.Base.Drawing.StiImageConverter,o=t.System.Drawing.ContentAlignment,a=t.System.Enum,s=t.Base.Drawing.StiBrush,l=t.Base.Drawing.StiSolidBrush,u=t.System.Drawing.Font,c=t.System.Drawing.Color,p=t.Base.StiJson,h=t.Base.StiJsonReportObjectHelper,m=t.System.ICloneable,f=t.Base.JsonReportObject.IStiJsonReportObject,d=function(){function e(t,e,r,n,i,a,s,p){void 0===t&&(t=null),void 0===e&&(e=""),void 0===r&&(r=45),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===a&&(a=!0),void 0===s&&(s=!1),void 0===p&&(p=!1),this.font=new u("Arial",100),this.textBrush=new l(c.fromArgb(50,0,0,0)),this.text="",this.angle=45,this.enabled=!0,this.showImageBehind=!0,this.showBehind=!1,this.rightToLeft=!1,this.imageMultipleFactor=1,this._imageTransparency=0,this._image=null,this._imageHyperlink="",this.imageAlignment=o.MiddleCenter,this.imageTiling=!1,this.imageStretch=!1,this.aspectRatio=!1,this.enabledExpression="",this.imageHyperlink="",null!=t&&(this.textBrush=t),this.text=e,this.angle=r,null!=n&&(this.font=n),this.showBehind=i,this.enabled=a,this.aspectRatio=s,this.rightToLeft=p}return e.prototype.implements=function(){return[m,f]},e.prototype.saveToJsonObject=function(t){var e=new p;if(e.addPropertyStringNullOrEmpty("Font",h.Serialize.font(this.font,"Arial",100)),e.addPropertyStringNullOrEmpty("TextBrush",h.Serialize.jBrush(this.textBrush)),e.addPropertyStringNullOrEmpty("Text",this.text),e.addPropertyStringNullOrEmpty("ImageHyperlink",this.imageHyperlink),e.addPropertyNumber("Angle",this.angle,45),e.addPropertyBool("Enabled",this.enabled,!0),e.addPropertyBool("ShowImageBehind",this.showImageBehind,!0),e.addPropertyBool("ShowBehind",this.showBehind),e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyNumber("ImageMultipleFactor",this.imageMultipleFactor,1),e.addPropertyNumber("ImageTransparency",this.imageTransparency,0),e.addPropertyStringNullOrEmpty("ImageBytes",i.imageToString(this.image)),e.addPropertyEnum("ImageAlignment",o,this.imageAlignment,o.MiddleCenter),e.addPropertyBool("ImageTiling",this.imageTiling),e.addPropertyBool("ImageStretch",this.imageStretch),e.addPropertyBool("AspectRatio",this.aspectRatio),e.addPropertyStringNullOrEmpty("EnabledExpression",this.enabledExpression),0==e.count)return null;return e},e.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),s=n.next();!s.done;s=n.next()){var l=s.value;switch(l.name){case"Font":case"fn":this.font=h.Deserialize.font(l.value,this.font);break;case"TextBrush":case"tb":this.textBrush=h.Deserialize.brush(l.value);break;case"Text":case"text":this.text=l.value;break;case"Angle":this.angle=l.value.stimulsoft.toNumber();break;case"Enabled":this.enabled=l.value.stimulsoft.toBoolean();break;case"ShowImageBehind":this.showImageBehind=l.value.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=l.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=l.value.stimulsoft.toBoolean();break;case"ImageMultipleFactor":this.imageMultipleFactor=l.value.stimulsoft.toNumber();break;case"ImageTransparency":this._imageTransparency=l.value.stimulsoft.toNumber();break;case"Image":case"ImageBytes":this._image=i.stringToImage(l.value);break;case"ImageHyperlink":this.imageHyperlink=l.value.toString();break;case"ImageAlignment":this.imageAlignment=a.parse(o,l.value);break;case"ImageTiling":this.imageTiling=l.value.stimulsoft.toBoolean();break;case"ImageStretch":this.imageStretch=l.value.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=l.value.stimulsoft.toBoolean();break;case"EnabledExpression":this.enabledExpression=l.value;break}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},e.prototype.loadFromXml=function(e){for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Font":this.font=t.System.Convert.toFont(n.textContent);break;case"TextBrush":this.textBrush=s.convertToBrush(n.textContent);break;case"Text":this.text=n.textContent;break;case"Angle":this.angle=n.textContent.stimulsoft.toNumber();break;case"Enabled":this.enabled=n.textContent.stimulsoft.toBoolean();break;case"ShowImageBehind":this.showImageBehind=n.textContent.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=n.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=n.textContent.stimulsoft.toBoolean();break;case"ImageMultipleFactor":this.imageMultipleFactor=n.textContent.stimulsoft.toNumber();break;case"ImageTransparency":this.imageTransparency=n.textContent.stimulsoft.toNumber();break;case"Image":case"ImageBytes":this.image=i.stringToImage(n.textContent);break;case"ImageAlignment":this.imageAlignment=a.parse(o,n.textContent);break;case"ImageTiling":this.imageTiling=n.textContent.stimulsoft.toBoolean();break;case"ImageStretch":this.imageStretch=n.textContent.stimulsoft.toBoolean();break;case"ImageHyperlink":this.imageHyperlink=n.textContent;break;case"AspectRatio":this.aspectRatio=n.textContent.stimulsoft.toBoolean();break;case"EnabledExpression":this.enabledExpression=n.textContent;break}}},e.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return t.font=this.font.clone(),t.textBrush=this.textBrush.clone(),null!=this._image&&(t._image=this._image.clone()),null!=this.cachedImage&&(t.cachedImage=this.cachedImage.clone()),t},Object.defineProperty(e.prototype,"imageTransparency",{get:function(){return this._imageTransparency},set:function(t){(t=Math.max(0,Math.min(t,255)))!=this._imageTransparency&&(this._imageTransparency=t,this.disposeCachedImage())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t,this.disposeCachedImage())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"imageHyperlink",{get:function(){return this._imageHyperlink},set:function(t){this._imageHyperlink!=t&&(this._imageHyperlink=t)},enumerable:!1,configurable:!0}),e.prototype.getImage=function(t){var e=r.isNullOrWhiteSpace(this.imageHyperlink)?this.image:n.getImage(t,this.imageHyperlink);if(0==this.imageTransparency)return e;return null==this.cachedImage&&(this.cachedImage=this.getTransparentedImage(e,1-this.imageTransparency/255)),this.cachedImage},e.prototype.getTransparentedImage=function(t,e){return t},e.prototype.disposeCachedImage=function(){null!=this.cachedImage&&(this.cachedImage.dispose(),this.cachedImage=null)},e}();e.StiWatermark=d}(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;e.StiGetExcelSheetEventHandler=new r("sender: any, e: StiGetExcelSheetEventArgs");var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(n);e.StiGetExcelSheetEventArgs=i}(r=e.Events||(e.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.Base.StiActivator,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.EventHandler,s=t.Report.Events.StiGetExcelSheetEventHandler,l=t.Report.Events.StiGetExcelSheetEventArgs,u=t.Report.Events.StiBeginRenderEvent,c=t.Report.Events.StiRenderingEvent,p=t.Report.Events.StiEndRenderEvent,h=t.Report.Events.StiColumnBeginRenderEvent,m=t.Report.Events.StiColumnEndRenderEvent,f=t.Report.Events.StiGetExcelSheetEvent,d=t.Base.StiJsonSaveMode,g=t.Base.Drawing.StiAdvancedBorder,S=t.System.Drawing.Font,y=t.Report.Units.StiUnit,A=t.Report.Components.StiShiftMode,b=t.Report.Components.StiMargins,v=t.Report.Components.StiPageInfo,C=t.Report.Components.StiPageOrientation,w=t.Report.Components.StiWatermark,B=t.System.Drawing.Printing.PaperKind,I=t.Report.Components.StiPageHelper,T=t.Report.Components.IStiResetPageNumber,E=t.System.Drawing.Rectangle,R=t.System.Collections.Hashtable,D=t.Base.Drawing.StiBorderSides,P=t.Base.Drawing.StiSolidBrush,x=t.System.Drawing.Color,F=t.System.Enum,N=t.Base.IStiReportPage,k=t.Report.Expressions.StiExpression,M=function(M){function O(t,e){void 0===e&&(e=!1);var r=M.call(this,E.empty,!0)||this;return r._resetPageNumber=!1,r._excelSheetValue=null,r._excelSheet="",r._printOnPreviousPage=!1,r._printHeadersFootersFromPreviousPage=!1,r._paperSize=B.Custom,r._paperSourceOfFirstPage="",r._paperSourceOfOtherPages="",r._numberOfCopies=1,r._unlimitedBreakable=!0,r._largeHeight=!1,r._largeHeightFactor=4,r._largeHeightAutoFactor=1,r._stopBeforePrint=0,r._skip=!1,r._stretchToPrintArea=!1,r._titleBeforeHeader=!1,r._unlimitedHeight=!1,r._unlimitedWidth=!0,r._offsetRectangle=E.empty,r._orientation=C.Portrait,r._segmentPerWidth=1,r._segmentPerHeight=1,r._margins=new b(39,39,39,39),r._mirrorMargins=!1,r._reportUnit=null,r._drillDownActivated=!1,r._cacheGuid=null,e||r.construct(t),r}return __extends(O,M),O.prototype.implements=function(){return O.ImplementsStiPage||(O.ImplementsStiPage=M.prototype.implements.call(this).concat([T,N,o])),O.ImplementsStiPage},O.prototype.saveToJsonObject=function(t){var e=M.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("PrintOn"),e.removeProperty("CanBreak"),e.removeProperty("DockStyle"),e.removeProperty("MinSize"),e.removeProperty("MaxSize"),e.removeProperty("ClientRectangle"),e.removeProperty("DisplayRectangle"),e.removeProperty("UseParentStyles"),e.removeProperty("GrowToHeight"),e.removeProperty("ShiftMode"),e.removeProperty("Printable"),e.removeProperty("Page"),e.removeProperty("Parent"),e.removeProperty("Restrictions"),e.removeProperty("Locked"),e.removeProperty("Linked"),e.addPropertyBool("ResetPageNumber",this.resetPageNumber),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("ColumnBeginRenderEvent",this.columnBeginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("ColumnEndRenderEvent",this.columnEndRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("GetExcelSheetEvent",this.getExcelSheetEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("ExcelSheetValue",this._excelSheetValue),t==d.Report&&e.addPropertyJObject("ExcelSheet",new k(this._excelSheet).saveToJsonObject(t)),e.addPropertyBool("PrintOnPreviousPage",this.printOnPreviousPage),e.addPropertyBool("PrintHeadersFootersFromPreviousPage",this.printHeadersFootersFromPreviousPage),e.addPropertyEnum("PaperSize",B,this.paperSize,B.Custom),e.addPropertyStringNullOrEmpty("PaperSourceOfFirstPage",this.paperSourceOfFirstPage),e.addPropertyStringNullOrEmpty("PaperSourceOfOtherPages",this.paperSourceOfOtherPages),e.addPropertyNumber("NumberOfCopies",this.numberOfCopies,1),e.addPropertyBool("UnlimitedBreakable",this.unlimitedBreakable,!0),e.addPropertyBool("LargeHeight",this.largeHeight),e.addPropertyNumber("LargeHeightFactor",this.largeHeightFactor,4),e.addPropertyNumber("StopBeforePrint",this.stopBeforePrint),e.addPropertyBool("StretchToPrintArea",this.stretchToPrintArea),e.addPropertyBool("TitleBeforeHeader",this.titleBeforeHeader),e.addPropertyBool("UnlimitedHeight",this.unlimitedHeight),e.addPropertyBool("UnlimitedWidth",this.unlimitedWidth,!0),e.addPropertyEnum("Orientation",C,this.orientation,C.Portrait),e.addPropertyNumber("PageWidth",this.pageWidth,827),e.addPropertyNumber("PageHeight",this.pageHeight,1169),e.addPropertyNumber("SegmentPerWidth",this.segmentPerWidth,1),e.addPropertyNumber("SegmentPerHeight",this.segmentPerHeight,1),e.addPropertyJObject("Watermark",this.watermark.saveToJsonObject(t)),e.addPropertyJObject("Margins",this.margins.saveToJsonObject(t,39,39,39,39)),e.addPropertyBool("MirrorMargins",this.mirrorMargins,!1),null!=this.reportUnit&&e.addPropertyJObject("ReportUnit",y.saveToJsonObject(this.reportUnit)),e},O.prototype.loadFromJsonObject=function(t){var e,r;M.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"BeginRenderEvent":var a;(a=new u).loadFromJsonObject(o.value),this.beginRenderEvent=a;break;case"RenderingEvent":var a;(a=new c).loadFromJsonObject(o.value),this.renderingEvent=a;break;case"EndRenderEvent":var a;(a=new p).loadFromJsonObject(o.value),this.endRenderEvent=a;break;case"ColumnBeginRenderEvent":var a;(a=new h).loadFromJsonObject(o.value),this.columnBeginRenderEvent=a;break;case"ColumnEndRenderEvent":var a;(a=new m).loadFromJsonObject(o.value),this.columnEndRenderEvent=a;break;case"GetExcelSheetEvent":var a;(a=new f).loadFromJsonObject(o.value),this.getExcelSheetEvent=a;break;case"ExcelSheetValue":this._excelSheetValue=o.value;break;case"ExcelSheet":var s=new k;s.loadFromJsonObject(o.value),this._excelSheet=s.value;break;case"PrintOnPreviousPage":this._printOnPreviousPage=o.value.stimulsoft.toBoolean();break;case"PrintHeadersFootersFromPreviousPage":this._printHeadersFootersFromPreviousPage=o.value.stimulsoft.toBoolean();break;case"PaperSize":this._paperSize=F.parse(B,o.value);break;case"PaperSourceOfFirstPage":this._paperSourceOfFirstPage=o.value;break;case"PaperSourceOfOtherPages":this._paperSourceOfOtherPages=o.value;break;case"NumberOfCopies":this._numberOfCopies=o.value.stimulsoft.toNumber();break;case"UnlimitedBreakable":this._unlimitedBreakable=o.value.stimulsoft.toBoolean();break;case"LargeHeight":this._largeHeight=o.value.stimulsoft.toBoolean();break;case"LargeHeightFactor":this._largeHeightFactor=o.value.stimulsoft.toNumber();break;case"StopBeforePrint":this._stopBeforePrint=o.value.stimulsoft.toNumber();break;case"StretchToPrintArea":this._stretchToPrintArea=o.value.stimulsoft.toBoolean();break;case"TitleBeforeHeader":this._titleBeforeHeader=o.value.stimulsoft.toBoolean();break;case"UnlimitedHeight":this._unlimitedHeight=o.value.stimulsoft.toBoolean();break;case"UnlimitedWidth":this._unlimitedWidth=o.value.stimulsoft.toBoolean();break;case"Orientation":this._orientation=F.parse(C,o.value);break;case"PageWidth":this._pageWidth=o.value.stimulsoft.toNumber();break;case"PageHeight":this._pageHeight=o.value.stimulsoft.toNumber();break;case"SegmentPerWidth":this._segmentPerWidth=o.value.stimulsoft.toNumber();break;case"SegmentPerHeight":this._segmentPerHeight=o.value.stimulsoft.toNumber();break;case"Watermark":this.watermark.loadFromJsonObject(o.value);break;case"Margins":this._margins.loadFromJsonObject(o.value);break;case"MirrorMargins":this._mirrorMargins=o.value.stimulsoft.toBoolean();break;case"ReportUnit":this._reportUnit=y.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}}},O.prototype.loadFromXml=function(e,r){M.prototype.loadFromXml.call(this,e,r);for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"ResetPageNumber":this._resetPageNumber=o.textContent.stimulsoft.toBoolean();break;case"BeginRenderEvent":var a;(a=new u).script=o.textContent,this.beginRenderEvent=a;break;case"RenderingEvent":var a;(a=new c).script=o.textContent,this.renderingEvent=a;break;case"EndRenderEvent":var a;(a=new p).script=o.textContent,this.endRenderEvent=a;break;case"ColumnBeginRenderEvent":var a;(a=new h).script=o.textContent,this.columnBeginRenderEvent=a;break;case"ColumnEndRenderEvent":var a;(a=new m).script=o.textContent,this.columnEndRenderEvent=a;break;case"GetExcelSheetEvent":var a;(a=new f).script=o.textContent,this.getExcelSheetEvent=a;break;case"ExcelSheetValue":this._excelSheetValue=o.textContent;break;case"ExcelSheet":var s=new k;s.loadFromXml(o),this._excelSheet=s.value;break;case"PrintOnPreviousPage":this._printOnPreviousPage=o.textContent.stimulsoft.toBoolean();break;case"PrintHeadersFootersFromPreviousPage":this._printHeadersFootersFromPreviousPage=o.textContent.stimulsoft.toBoolean();break;case"PaperSize":this._paperSize=F.parse(B,o.textContent);break;case"PaperSourceOfFirstPage":this._paperSourceOfFirstPage=o.textContent;break;case"PaperSourceOfOtherPages":this._paperSourceOfOtherPages=o.textContent;break;case"NumberOfCopies":this._numberOfCopies=o.textContent.stimulsoft.toNumber();break;case"UnlimitedBreakable":this._unlimitedBreakable=o.textContent.stimulsoft.toBoolean();break;case"LargeHeight":this._largeHeight=o.textContent.stimulsoft.toBoolean();break;case"LargeHeightFactor":this._largeHeightFactor=o.textContent.stimulsoft.toNumber();break;case"StopBeforePrint":this._stopBeforePrint=o.textContent.stimulsoft.toNumber();break;case"StretchToPrintArea":this._stretchToPrintArea=o.textContent.stimulsoft.toBoolean();break;case"TitleBeforeHeader":this._titleBeforeHeader=o.textContent.stimulsoft.toBoolean();break;case"UnlimitedHeight":this._unlimitedHeight=o.textContent.stimulsoft.toBoolean();break;case"UnlimitedWidth":this._unlimitedWidth=o.textContent.stimulsoft.toBoolean();break;case"Orientation":this._orientation=F.parse(C,o.textContent);break;case"PageWidth":this._pageWidth=o.textContent.stimulsoft.toNumber();break;case"PageHeight":this._pageHeight=o.textContent.stimulsoft.toNumber();break;case"SegmentPerWidth":this._segmentPerWidth=o.textContent.stimulsoft.toNumber();break;case"SegmentPerHeight":this._segmentPerHeight=o.textContent.stimulsoft.toNumber();break;case"Watermark":this.watermark.loadFromXml(o);break;case"Margins":this._margins=b.loadFromXml(o);break;case"MirrorMargins":this._mirrorMargins=o.textContent.stimulsoft.toBoolean();break;case"ReportUnit":this._reportUnit=t.Report.Units.StiUnit.loadFromXml(o);break;case"Name":if(o.textContent.indexOf(":Unit:")>0){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<this.components.count){var a=this.components.getByIndex(o),s=a.stimulsoft.as(r.StiContainer),l=!1,u;null!=s&&(null==t.get(s.name)?(l=this.getIsPageTotalDataBand(s.name))?t.set(s.name,e):t.set(s.name,n):l=t.get(s.name)==e),!l&&null!=s&&null==s.tagValue&&null==s.bookmarkValue&&null==s.toolTipValue&&null==s.hyperlinkValue&&null==s.guid&&(null==s.interaction||s.interaction.isDefault())&&(null==s.border||s.border.side==D.None&&0==s.border.dropShadow)&&(null==s.brush||s.brush.stimulsoft.is(P)&&s.brush.color.stimulsoft.equals(x.transparent))||i.add(a),o++}this.components.clear(),this.components.addRange(i),i.clear()},O.prototype.removeNewPageContainers=function(e){for(var n=!1,i=e.components.count-1;i>=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;i<e.childNodes.length;i++){var o=e.childNodes[i];if(null==o.attributes)continue;var a=o.attributes.getNamedItem("type");if(null!=a)switch(a.value){case"Page":var s=new r.StiPage;s.report=this.report,this.list.push(s),s.loadFromXml(o,n);break;case"Stimulsoft.Dashboard.Components.StiDashboard":var l=t.Report.Dashboard.StiDashboardCreator.createDashboard(this.report);if(null==l)return;l.report=this.report,this.list.push(l),l.loadFromXml(o,n);break;case"Form":break}}},s.prototype.add=function(t){null!=this.report&&(t.displayRectangle=t.convertFromHInchesRect(t.unit,t.displayRectangle)),null!=this.report&&this.report.isDesigning&&n.isNullOrEmpty(t.name)&&(t.name=e.StiNameCreation.createName(this.report,e.StiNameCreation.generateName(t))),n.isNullOrEmpty(t.name)&&(null!=this.report&&this.report.isDesigning?t.name=e.StiNameCreation.createName(this.report,e.StiNameCreation.generateName(t)):t.name=e.StiNameCreation.createSimpleName(this.report,e.StiNameCreation.generateName(t))),this.addV2Internal(t)},s.prototype.addV2Internal=function(t){null==t.report&&(t.report=this.report),this.list.push(t)},s.prototype.remove=function(t,e){if(t.stimulsoft.is(r.StiPage))return void this.list.stimulsoft.remove(t);while(e>0)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;n<this.list.length;n++){var i;if(this.getByIndex(n).stimulsoft.as(r.StiComponent).name.toLowerCase()==t)return void(this.list[n]=e)}this.add(e)},s.prototype.getComponentByName=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.components.getComponentByName(t,o);if(null!=a)return a}}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.setParent=function(t){var e,n;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.parent=t;var l=a.stimulsoft.as(r.StiContainer);null!=l&&s.setParent(l)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},s.prototype.saveState=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o;i.value.saveState(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.restoreState=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o;i.value.restoreState(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.clearAllStates=function(){var t,e;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i;n.value.clearAllStates()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},Object.defineProperty(s.prototype,"containsDashboards",{get:function(){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o;if(i.value.stimulsoft.is(t.Report.Dashboard.IStiDashboard))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},enumerable:!1,configurable:!0}),s.prototype.isNotSavedPage=function(t){return!1},s.prototype.markPageAsNotSaved=function(t){},s.prototype.getPage=function(t){return t},s.prototype.savePage=function(t){},s}(i);r.StiPagesCollection=s;var l=function(){function t(t,e){this.page=t,this.savePage=e}return Object.defineProperty(t.prototype,"isNotSaved",{get:function(){return this.savePage},enumerable:!1,configurable:!0}),t}()}(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.StiJson,i=t.Report.Expressions.StiExpression,o=function(){function t(){this._name="",this._expression=""}return t.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("Expression",new i(this._expression).saveToJsonObject(t)),e},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Name":this._name=a.value.toString();break;case"Expression":var s=new i;s.loadFromJsonObject(a.value),this._expression=s.value;break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Name":this.name=r.textContent;break;case"Expression":this._expression=r.textContent;break}}},t.prototype.isDefault=function(){return r.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.length)},Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=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.StiParameter=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.StiJson,n,i=function(t){function n(){return t.call(this)||this}return __extends(n,t),n.prototype.saveToJsonObject=function(t){var e,n;if(0==this.list.length)return null;var i=new r,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&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i},n.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.StiParameter;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}}},n.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i=new e.StiParameter;i.loadFromXml(n),this.list.push(i)}},n.prototype.clone=function(){var t,r,i=new n;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=new e.StiParameter;l.name=s.name,l.expression=s.expression,i.add(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},n.prototype.indexOf2=function(t){var e,r;t=t.toLowerCase();var n=0;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;if(o.value.name.toLowerCase()==t)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.insertRange=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;this.insert(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},n.prototype.remove2=function(t){this.list.stimulsoft.contains(t)&&this.list.stimulsoft.remove(t)},n.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},n.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},n.prototype.copyTo=function(t,e){this.list.stimulsoft.copyTo(t,e)},n}(t.System.Collections.CollectionBase);e.StiParametersCollection=i}(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(){function e(){}return e.isAllowChange=function(e){if(null==e)return!0;return(e.restrictions&t.StiRestrictions.AllowChange)>0},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;a<t.length;a++)o[a]=t[a];o[t.length]=n?"ASC":"DESC";for(var a=0;a<i.length;a++)o[t.length+a+1]=i[a];return o},t}();e.StiSortHelper=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.Base.Drawing.StiFontUtils,i=function(){function r(){}return r.measureString=function(r,i,o){var a=i;e.StiDpiHelper.needDeviceCapsScale&&(a=n.changeFontSize(i,i.size));var s=t.Base.Drawing.StiTextDrawing.measureString(null,o.text,a,r,o.textOptions,o.horAlignment,o.vertAlignment,!1,o.allowHtmlTags),l=o.report;if(null!=l&&l.reportUnit!=e.StiReportUnitType.HundredthsOfInch){var u=l.unit,c=o.margins,p=s.width+c.left+c.right+o.border.size;u.convertToHInches(Math.round2(u.convertFromHInches(p),2))<p&&(s.width+=u.convertToHInches(.01))}return s},r}();r.StiStandardTextRenderer=i}(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,r,n,i,o,a,s,l;!function(t){t[t["Asc"]=0]="Asc",t[t["Desc"]=1]="Desc",t[t["None"]=2]="None"}(e=t.StiSortDirection||(t.StiSortDirection={})),function(t){t[t["None"]=0]="None",t[t["Sum"]=1]="Sum",t[t["Average"]=2]="Average",t[t["Min"]=3]="Min",t[t["Max"]=4]="Max",t[t["Count"]=5]="Count",t[t["CountDistinct"]=6]="CountDistinct",t[t["Image"]=7]="Image"}(r=t.StiSummaryType||(t.StiSummaryType={})),function(t){t[t["AllValues"]=0]="AllValues",t[t["SkipZerosAndNulls"]=1]="SkipZerosAndNulls",t[t["SkipNulls"]=2]="SkipNulls"}(n=t.StiSummaryValues||(t.StiSummaryValues={})),function(t){t[t["ByValue"]=0]="ByValue",t[t["ByDisplayValue"]=1]="ByDisplayValue"}(i=t.StiSortType||(t.StiSortType={})),function(t){t[t["Column"]=0]="Column",t[t["Row"]=1]="Row",t[t["Cell"]=2]="Cell"}(o=t.StiFieldType||(t.StiFieldType={})),function(t){t[t["LeftToRight"]=0]="LeftToRight",t[t["UpToDown"]=1]="UpToDown"}(a=t.StiSummaryDirection||(t.StiSummaryDirection={})),function(t){t[t["None"]=0]="None",t[t["Arabic"]=1]="Arabic",t[t["Roman"]=2]="Roman",t[t["ABC"]=3]="ABC"}(s=t.StiEnumeratorType||(t.StiEnumeratorType={})),function(t){t[t["Dot"]=0]="Dot",t[t["Dash"]=1]="Dash",t[t["Colon"]=2]="Colon",t[t["RoundBrackets"]=3]="RoundBrackets",t[t["SquareBrackets"]=4]="SquareBrackets"}(l=t.StiEnumeratorSeparator||(t.StiEnumeratorSeparator={}))}(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.Drawing.Size,n=function(){function t(t,e,n,i,o){void 0===t&&(t=""),void 0===e&&(e=0),void 0===n&&(n=NaN),void 0===i&&(i=NaN),void 0===o&&(o=null),this.size=r.empty,this.isChangeWidthForRightToLeft=!1,this.isNumeric=!1,this.isNegativeColor=!1,this.isImage=!1,this.field=null,this._text="",this.hyperlinkValue=null,this.toolTipValue=null,this.tagValue=null,this.width=1,this.height=1,this.summaryIndex=-1,this.level=-1,this._drillDownParameters=null,(isNaN(n)||isNaN(i))&&(this.isNumeric=!0,n=1,i=1),this._text=t,this.value=e,this.width=n,this.height=i,this.field=o}return t.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone().stimulsoft.as(t);return e.parentCell=e,e},Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drillDownParameters",{get:function(){return this._drillDownParameters},set:function(t){this._drillDownParameters!=t&&(this._drillDownParameters=t)},enumerable:!1,configurable:!0}),t}();e.StiCell=n}(r=e.Core||(e.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.cols=new t.StiColumnCollection}return e}();t.StiColumn=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=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.StiColumn),i=r.stimulsoft.as(e.StiColumn),o=n.parentCollection.sortType,a=n.parentCollection.directionFactor;if(o==e.StiSortType.ByDisplayValue){if(null!=n.displayValue){if(null!=i.othersText)return-1;if(null!=n.othersText)return 1;return n.displayValue.stimulsoft.compareTo(i.displayValue)*a}return 1}if(null!=n.value){if(null!=i.othersText)return-1;if(null!=n.othersText)return 1;return n.value.stimulsoft.compareTo(i.value)*a}return 1},r.prototype.add2=function(t,r){var n=new e.StiColumn(t,r);this.add(n)},r.prototype.add=function(e){t.prototype.add.call(this,e),e.isTotal||this.items.add(e.value,e),e.parentCollection=this},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.clear=function(){this.list.stimulsoft.clear(),this.items.clear()},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.StiColumnCollection=i}(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(r){var n=t.System.StiArray,i=t.System.Drawing.ContentAlignment,o=t.System.Drawing.Rectangle,a=t.Base.Drawing.StiTextRenderer,s=t.System.Drawing.Point,l=t.Report.Events.StiValueEventArgs,u=t.System.Drawing.Size,c=t.System.Collections.Hashtable,p=t.Base.StiAlignValue,h=function(){function t(){this.fields=new c,this.designTime=!1,this.maxWidth=10,this.maxHeight=10}return Object.defineProperty(t.prototype,"gridSize",{get:function(){return this.report.info.gridSize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowCount",{get:function(){return this.heights.length},set:function(t){this.init(this.widths.length,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colCount",{get:function(){return this.widths.length},set:function(t){this.init(t,this.heights.length)},enumerable:!1,configurable:!0}),t.prototype.setTextOfCell=function(t,e,r){this.cells[t][e].text=r},t.prototype.align=function(t){return p.alignToMaxGrid(t,this.gridSize,!0)},t.prototype.getCellTotalWidth=function(t,e){for(var r=0,n=t;n<t+e;n++)n<this.widths.length&&(r+=this.widths[n]);return r},t.prototype.getCellTotalHeight=function(t,e){for(var r=0,n=t;n<t+e;n++)r+=this.heights[n];return r},t.prototype.doAutoSize=function(){for(var t=0;t<this.colCount;t++)for(var e=0;e<this.rowCount;e++){var r;if(null!=(r=this.cells[t][e]).field&&r.parentCell==r){var n=1e4;0!=r.field.maxSize.width&&(n=this.getFieldWidth(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.width))),0==r.field.maxSize.height||90!=r.field.angle&&270!=r.field.angle||(n=this.getFieldHeight(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.height)));var o=u.empty;(o=a.measureString(n,r.field.font,r.text,r.field.angle)).width+=r.field.margins.left+r.field.margins.right,o.height+=r.field.margins.top+r.field.margins.bottom;var s=r.field.indicator;null!=s&&null!=s.customIcon&&null!=s.customIconSize&&(o.height=Math.max(o.height,s.customIconSize.height),s.alignment!=i.BottomCenter&&s.alignment!=i.MiddleCenter&&s.alignment!=i.TopCenter&&(o.width+=s.customIconSize.width)),o.width=this.report.unit.convertFromHInches(o.width),o.height=this.report.unit.convertFromHInches(o.height),0!=r.field.maxSize.width&&r.field.maxSize.width<o.width&&(o.width=r.field.maxSize.width),0!=r.field.minSize.width&&r.field.minSize.width>o.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;t<this.colCount;t++){for(var l=this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultWidth),e=0;e<this.rowCount;e++){var r;if((r=this.cells[t][e]).width>1)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;e<this.rowCount;e++){for(var h=this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultHeight),t=0;t<this.colCount;t++){var r;if((r=this.cells[t][e]).height>1)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;t<this.colCount;t++)for(var e=0;e<this.rowCount;e++){var r;if(null!=(r=this.cells[t][e]).field&&r.parentCell==r&&(r.width>1||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;S<t+r.size.width;S++)S<this.widths.length&&(this.widths[S]*=g);if(r.size.height>d)for(var g=r.size.height/d,S=e;S<e+r.size.height;S++)S<this.heights.length&&(this.heights[S]*=g)}}for(var t=0;t<this.colCount;t++)this.widths[t]=p.alignToMaxGrid(this.widths[t],this.report.info.gridSize,!0);for(var e=0;e<this.rowCount;e++)this.heights[e]=p.alignToMaxGrid(this.heights[e],this.report.info.gridSize,!0);for(var y=0,t=0;t<this.colCount;t++)this.coordX[t]=y,y+=this.widths[t];for(var A=0,e=0;e<this.rowCount;e++)this.coordY[e]=A,A+=this.heights[e]},t.prototype.getFieldWidth=function(t,e){var r=new o(0,0,e,t.height);return r=t.convertTextMargins(r,!1),(r=t.convertTextBorders(r,!1)).width},t.prototype.getFieldHeight=function(t,e){var r=new o(0,0,t.height,e);return r=t.convertTextMargins(r,!1),(r=t.convertTextBorders(r,!1)).height},t.prototype.setCell=function(t,r,n,i,o,a,u,c,p,h,m,f,d,g,S){void 0===d&&(d=-1),void 0===g&&(g=null),void 0===S&&(S=null);var y=this.cells[t][r];this.designTime||(u=u.clone(!0).stimulsoft.as(e.StiCrossField));var A=u.tagValue,b=u.toolTipValue,v=u.hyperlinkValue,C=u.textValue,w=new l(a);u.tagValue=m,u.toolTipValue=h,u.hyperlinkValue=p,u.originalValue=a;var B=u.stimulsoft.as(e.StiCrossSummary);null!=B&&(this.cellExists(0,r)&&(B.crossRowValue=this.cells[0][r].value),this.cellExists(t,1)&&(B.crossColumnValue=this.cells[t][1].value)),u.invokeTextProcess(u,w),u.tagValue=A,u.toolTipValue=b,u.hyperlinkValue=v,u.stimulsoft.is(e.StiCrossSummary)&&(u.crossRowValue=null,u.crossColumnValue=null),u.textValue!=C&&(o=u.textValue);for(var I=t;I<t+n;I++)for(var T=r;T<r+i;T++)null!=o&&(this.cells[I][T].text=o.toString()),this.cells[I][T].parentCell=y,this.cells[I][T].value=a,this.cells[I][T].width=n-(I-t),this.cells[I][T].height=i-(T-r),this.cells[I][T].field=u,this.cells[I][T].isNumeric=c,this.cells[I][T].hyperlinkValue=p,this.cells[I][T].toolTipValue=h,this.cells[I][T].tagValue=m,this.cells[I][T].drillDownParameters=f,this.cells[I][T].level=d,this.cells[I][T].parentGuid=g,this.cells[I][T].guid=S;return this.designTime&&null==this.fields.get(u)&&this.fields.set(u,new s(t,r)),this.cells[t][r]},t.prototype.cellExists=function(t,e){return this.cells.stimulsoft.getLength(0)>t&&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;i<t;i++)this.widths[i]=10;for(var i=0;i<e;i++)this.heights[i]=10;this.cells=n.create(Array,t);for(var o=0;o<t;o++){this.cells[o]=n.create(r.StiCell,e);for(var a=0;a<e;a++)this.cells[o][a]=new r.StiCell}},t}();r.StiGrid=h}(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(r){var n;!function(n){var i=t.System.StiArray,o=t.System.StiString,a=t.Data.Engine.StiDataTopNMode,s=t.System.Collections.List,l=t.Report.Components.TextFormats.StiGeneralFormatService,u=t.System.EventArgs,c=t.System.Data.DBNull,p=t.System.DateTime,h=t.Report.Components.TextFormats.StiFormatService,m=t.Report.Components.StiComponentsCollection,f=t.System.Drawing.Rectangle,d=t.Report.Events.StiValueEventArgs,g=t.System.Char,S=t.Report.Events.StiGetValueEventArgs,y=t.System.Collections.Hashtable,A=t.System.Guid,b=t.System.Type,v=t.Base.Helpers.StiValueHelper,C=function(C){function w(){var t=null!==C&&C.apply(this,arguments)||this;return t.crossTab=null,t.strNull="",t.emptyField=w.emptyField,t.oneCellSize=0,t.oneCellWidth=0,t.oneCellHeight=0,t.summaryDirection=n.StiSummaryDirection.LeftToRight,t.widthCorrection=0,t.heightCorrection=0,t.columnsCell=new y,t.rowsCell=new y,t.rows=new n.StiRowCollection,t.cols=new n.StiColumnCollection,t.summaryContainer=null,t.leftCrossTitle=null,t.rightCrossTitle=null,t.summaryCrossTitle=null,t}return __extends(w,C),w.prototype.invokeEvents2=function(r,n){var i=!0;if(null!=this.report&&(i=this.report.calculationMode==e.StiCalculationMode.Compilation),i){var o=new d;o.displayValue=n,r.invokeGetHyperlink(r,o),r.hyperlinkValue=o.value;var a=new d;a.displayValue=n,r.invokeGetToolTip(r,a),r.toolTipValue=a.value;var s=new d;s.displayValue=n,r.invokeGetTag(r,s),r.tagValue=s.value}else{if(r.hyperlink.length>0){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(e<r){var u=this.rowFields.getByIndex(e).sortDirection;u!=n.StiSortDirection.None&&t.sort(u,this.rowFields.getByIndex(e).sortType)}},w.prototype.sortCols=function(t,e,r){var i,o;void 0===t&&(t=this.cols),void 0===e&&(e=0),void 0===r&&(r=this.getColsHeaderHeight());try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.sortCols(l.cols,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(e<r){var u=this.colFields.getByIndex(e).sortDirection;u!=n.StiSortDirection.None&&t.sort(u,this.colFields.getByIndex(e).sortType)}},w.prototype.createRowTotals=function(){var t=this.getRowsHeaderWidth();t>0&&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<s.length;u++)if(g.isDigit(s[u])){l=!0;break}if(!l)return i;a=(s=s.replace(".",",").replace(",",t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator).stimulsoft.replaceAll(" ","")).stimulsoft.toNumber()}else a=t.System.Convert.changeType(i,Number);if(0==a)return""}catch(t){}return i}return i}if(null==i)return 0;if(i.stimulsoft.is(String)){var s;if(0==(s=i.toString()).length)return null;var h=(s=s.replace(".",",").replace(",",t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)).stimulsoft.toNumber();return isNaN(h)?0:h}if(i.stimulsoft.is(p))return i;if(null==i)return 0;if(i==c)return 0;return t.System.Convert.changeType(i,Number)}catch(t){return 0}},w.prototype.allowTotal=function(e,r){if(null==e)return!1;if(null!=r){var n=null==r.interaction?null:r.interaction.stimulsoft.as(t.Report.Components.StiCrossHeaderInteraction);if(null!=n&&n.collapsingEnabled)return!1}return e.isTotalVisible},w.prototype.getRow=function(e){var i,o,a=!1,s=this.rows,l=null,u=0;try{for(var c=__values(this.rowFields.toCast()),p=c.next();!p.done;p=c.next()){var h=p.value,m=this.strNull,f=this.strNull;if(h.name!=this.emptyField&&(m=this.getDataFromDataRow(e,h.name),f=this.getDataFromDataRow(e,"Display__"+h.name)),a&&(m="all",f="all"),null==(l=s.getByValue(m))){l=new n.StiRow(m,f);var g=new d;h.invokeGetHyperlink(h,g),l.hyperlinkValue=g.value;var S=new d;h.invokeGetToolTip(h,S),l.toolTipValue=S.value;var y=new d;h.invokeGetTag(h,y),l.tagValue=y.value,s.add(l)}a=h.stimulsoft.is(r.StiCrossHeader)&&t.Report.Engine.StiCrossTabBuilder.isCollapsed2(h.stimulsoft.as(r.StiCrossHeader),u,m.toString()),s=l.rows,u++}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return l},w.prototype.getColumn=function(e){var i,o,a=!1,s=this.cols,l=null,u=0;try{for(var c=__values(this.colFields.toCast()),p=c.next();!p.done;p=c.next()){var h=p.value,m="",f="";if(h.name!=this.emptyField&&(m=this.getDataFromDataRow(e,h.name),f=this.getDataFromDataRow(e,"Display__"+h.name)),a&&(m="all",f="all"),null==(l=s.getByValue(m))){l=new n.StiColumn(m,f);var g=new d;h.invokeGetHyperlink(h,g),l.hyperlinkValue=g.value;var S=new d;h.invokeGetToolTip(h,S),l.toolTipValue=S.value;var y=new d;h.invokeGetTag(h,y),l.tagValue=y.value,s.add(l)}a=h.stimulsoft.is(r.StiCrossHeader)&&t.Report.Engine.StiCrossTabBuilder.isCollapsed2(h.stimulsoft.as(r.StiCrossHeader),u,m.toString()),s=l.cols,u++}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return l},w.prototype.calculateTopN=function(){for(var t=this.colFields.count-1;t>=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(e<t)try{for(var v=__values(i.list),C=v.next();!C.done;C=v.next()){var w=C.value;this.processTopNRows(t,e+1,r,w.rows,o)}}catch(t){l={error:t}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}else{var B=new y;try{for(var I=__values(i.list),T=I.next();!T.done;T=I.next()){var w=T.value,E=new s;this.getRowsArray2(w.rows,E),0==E.length&&E.add(w);var R=[];try{for(var D=(h=void 0,__values(E)),P=D.next();!P.done;P=D.next()){var x=P.value;try{for(var F=(f=void 0,__values(this.summaryContainer.getDataCol().keys)),N=F.next();!N.done;N=F.next()){var k=N.value,M=this.summaryContainer.getDataCol().get(k).get(x);if(null!=M&&(M=M.stimulsoft.as(n.StiSummary)),null!=M)try{for(var O=(g=void 0,__values(M.sums[r])),_=O.next();!_.done;_=O.next()){var j=_.value;R.push(j)}}catch(t){g={error:t}}finally{try{_&&!_.done&&(S=O.return)&&S.call(O)}finally{if(g)throw g.error}}}}catch(t){f={error:t}}finally{try{N&&!N.done&&(d=F.return)&&d.call(F)}finally{if(f)throw f.error}}}}catch(t){h={error:t}}finally{try{P&&!P.done&&(m=D.return)&&m.call(D)}finally{if(h)throw h.error}}var G=this.getSummaryResult(R,r,!1);null==B.get(G)&&B.set(G,new s),B.get(G).add(w)}}catch(t){c={error:t}}finally{try{T&&!T.done&&(p=I.return)&&p.call(I)}finally{if(c)throw c.error}}var H=new s;try{for(var Q=__values(B.keys),L=Q.next();!L.done;L=Q.next()){var G=L.value;H.addRange(B.get(G))}}catch(t){A={error:t}}finally{try{L&&!L.done&&(b=Q.return)&&b.call(Q)}finally{if(A)throw A.error}}for(var Y=new s,U=o.mode==a.Top?Math.max(0,H.length-o.count):0;U<(o.mode==a.Top?H.length:Math.min(H.length,o.count));U++)Y.add(H[U]);var J=0,W=new s;while(J<i.count)Y.contains(i.getByIndex(J))?J++:(W.add(i.getByIndex(J)),i.removeAt(J));if(o.showOthers&&W.length>0){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(e<t)try{for(var v=__values(i.list),C=v.next();!C.done;C=v.next()){var w=C.value;this.processTopNColumns(t,e+1,r,w.cols,o)}}catch(t){l={error:t}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}else{var B=new y;try{for(var I=__values(i.list),T=I.next();!T.done;T=I.next()){var w=T.value,E=new s;this.getColsArray2(w.cols,E),0==E.length&&E.add(w);var R=[];try{for(var D=(h=void 0,__values(E)),P=D.next();!P.done;P=D.next()){var x=P.value,F=this.summaryContainer.getDataCol().get(x).stimulsoft.as(y);if(null!=F)try{for(var N=(f=void 0,__values(F.values)),k=N.next();!k.done;k=N.next()){var M=k.value;try{for(var O=(g=void 0,__values(M.sums[r])),_=O.next();!_.done;_=O.next()){var j=_.value;R.push(j)}}catch(t){g={error:t}}finally{try{_&&!_.done&&(S=O.return)&&S.call(O)}finally{if(g)throw g.error}}}}catch(t){f={error:t}}finally{try{k&&!k.done&&(d=N.return)&&d.call(N)}finally{if(f)throw f.error}}}}catch(t){h={error:t}}finally{try{P&&!P.done&&(m=D.return)&&m.call(D)}finally{if(h)throw h.error}}var G=this.getSummaryResult(R,r,!1);null==B.get(G)&&B.set(G,new s),B.get(G).add(w)}}catch(t){c={error:t}}finally{try{T&&!T.done&&(p=I.return)&&p.call(I)}finally{if(c)throw c.error}}var H=new s;try{for(var Q=__values(B.keys),L=Q.next();!L.done;L=Q.next()){var G=L.value;H.addRange(B.get(G))}}catch(t){A={error:t}}finally{try{L&&!L.done&&(b=Q.return)&&b.call(Q)}finally{if(A)throw A.error}}for(var Y=new s,U=o.mode==a.Top?Math.max(0,H.length-o.count):0;U<(o.mode==a.Top?H.length:Math.min(H.length,o.count));U++)Y.add(H[U]);var J=0,W=new s;while(J<i.count)Y.contains(i.getByIndex(J))?J++:(W.add(i.getByIndex(J)),i.removeAt(J));if(o.showOthers&&W.length>0){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<this.sumFields.count;e++)if(this.sumFields.getByIndex(e).alias.stimulsoft.endsWith(t.measureField+")"))return e;return-1},w.prototype.calculateDataTable=function(t){var e,r,n,i;if(null==t||0==t.rows.count)this.calculateDataRow(null);else if(null!=this.crossTab.dataSource){var o=this.crossTab.dataSource.position,a=0;try{for(var s=__values(t.rows.list),l=s.next();!l.done;l=s.next()){var u=l.value;this.crossTab.dataSource.position=a++,this.calculateDataRow(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}this.crossTab.dataSource.position=o}else if(null!=this.crossTab.businessObject){var o=this.crossTab.businessObject.position,a=0;try{for(var c=__values(t.rows.list),p=c.next();!p.done;p=c.next()){var u=p.value;this.crossTab.businessObject.position=a++,this.calculateDataRow(u)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}this.crossTab.businessObject.position=o}},w.prototype.calculateDataRow=function(t){var e,r,n,o,a,s,l=this.getRow(t),u=this.getColumn(t),c=this.summaryContainer.getSummary(u,l),p=0;try{for(var h=__values(this.sumFields.toCast()),m=h.next();!m.done;m=h.next()){var f;if((f=m.value).name!=this.emptyField){var d=this.getValueFromDataRow(t,f);c.sums[p].push(d),this.invokeEvents(f),c.hyperlinkValues[p]=f.hyperlinkValue,c.toolTipValues[p]=f.toolTipValue,c.tagValues[p]=f.tagValue,null!=f.drillDownParameters&&(null==c.drillDownParameters&&(c.drillDownParameters=i.create(Object,c.tagValues.length)),c.drillDownParameters[p]=f.drillDownParameters),p++}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}try{for(var g=__values(this.rowFields.toCast()),S=g.next();!S.done;S=g.next()){var f;(f=S.value).name!=this.emptyField&&(this.invokeEvents(f),l.hyperlinkValue=f.hyperlinkValue,l.toolTipValue=f.toolTipValue,l.tagValue=f.tagValue,null!=f.drillDownParameters&&(null==l.drillDownParameters&&(l.drillDownParameters={}),l.drillDownParameters=f.drillDownParameters))}}catch(t){n={error:t}}finally{try{S&&!S.done&&(o=g.return)&&o.call(g)}finally{if(n)throw n.error}}try{for(var y=__values(this.colFields.toCast()),A=y.next();!A.done;A=y.next()){var f;(f=A.value).name!=this.emptyField&&(this.invokeEvents(f),u.hyperlinkValue=f.hyperlinkValue,u.toolTipValue=f.toolTipValue,u.tagValue=f.tagValue,null!=f.drillDownParameters&&(null==u.drillDownParameters&&(u.drillDownParameters={}),u.drillDownParameters=f.drillDownParameters))}}catch(t){a={error:t}}finally{try{A&&!A.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}},w.prototype.copyRows=function(e,i,o,a,s,u,c){var p,h,m=0;c.ref=A.newGuid().toString();try{for(var d=__values(e.list),g=d.next();!g.done;g=d.next()){var S=g.value,y={ref:""},b=this.copyRows(S.rows,i+1,o,a+1,s,u,y),v=this.rowFields.getByIndex(a).stimulsoft.as(r.StiCrossField);m+=b;var C=1;if(t.Report.Engine.StiCrossTabBuilder.isCollapsed2(v.stimulsoft.as(r.StiCrossHeader),a,S.value.toString())){var w=S;while(1){if(0==w.rows.count)break;C++,w=w.rows.getByIndex(0)}}var B=new f(i,o,C,b);S.isTotal&&(B.width=this.rowsHeaderWidth+this.widthCorrection-B.x-(this.isSummarySubHeadersPresent&&this.summaryDirection==n.StiSummaryDirection.UpToDown?1:0),v=v.total);var I=v.textFormat.format(S.displayValue);this.invokeEvents2(v,I);var T=null!=v&&v.stimulsoft.is(t.Report.CrossTab.StiCrossRow)&&!v.textFormat.stimulsoft.is(l);if(v.mergeHeaders||this.report.isDesigning)this.setCell(B.x,B.y,B.width,B.height,I,I,v,T,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,a,c.ref,y.ref);else for(var E=0;E<B.height;E++)this.setCell(B.x,B.y+E,B.width,1,I,I,v,T,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,a,c.ref,y.ref);o+=B.height}}catch(t){p={error:t}}finally{try{g&&!g.done&&(h=d.return)&&h.call(d)}finally{if(p)throw p.error}}return Math.max(m,this.oneCellHeight)},w.prototype.copyCols=function(e,i,o,a,s,u,c){var p,h,m=0;c.ref=A.newGuid().toString();try{for(var d=__values(e.list),g=d.next();!g.done;g=d.next()){var S=g.value,y={ref:""},b=this.copyCols(S.cols,i,o+1,a+1,s,u,y),v=this.colFields.getByIndex(a).stimulsoft.as(r.StiCrossField);m+=b;var C=1;if(t.Report.Engine.StiCrossTabBuilder.isCollapsed2(v.stimulsoft.as(r.StiCrossHeader),a,S.value.toString())){var w=S;while(1){if(0==w.cols.count)break;C++,w=w.cols.getByIndex(0)}}var B=new f(i,o,b,C);S.isTotal&&(B.height=this.colsHeaderHeight+this.heightCorrection-B.y-(this.isSummarySubHeadersPresent&&this.summaryDirection==n.StiSummaryDirection.LeftToRight?1:0),v=v.total);var I=v.textFormat.format(S.displayValue);this.invokeEvents2(v,I);var T=null!=v&&v.stimulsoft.is(t.Report.CrossTab.StiCrossColumn)&&!v.textFormat.stimulsoft.is(l);if(v.mergeHeaders||this.report.isDesigning)this.setCell(B.x,B.y,B.width,B.height,I,I,v,T,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,a,c.ref,y.ref);else for(var E=0;E<B.width;E++)this.setCell(B.x+E,B.y,1,B.height,I,I,v,T,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,a,c.ref,y.ref);i+=B.width}}catch(t){p={error:t}}finally{try{g&&!g.done&&(h=d.return)&&h.call(d)}finally{if(p)throw p.error}}return Math.max(m,this.oneCellWidth)},w.prototype.convertToDecimal=function(t){try{if(t.stimulsoft.is(String)&&("-"==t.toString()||""==t.toString()))return 0;return t.stimulsoft.toNumber()}catch(t){return 0}},w.prototype.isAllowConvertToDecimal=function(t){if(null==t||c.stimulsoft.equals(t))return!1;if(t.stimulsoft.is(Number))return!0;return!1},w.prototype.getSummary2=function(t,e,r,n){void 0===n&&(n=!1);var i=this.sumFields.getByIndex(e),o=this.getSummaryResult(t,e,r,n);return this.isHideZeros(o)&&i.hideZeros?this.crossTab.emptyValue:o},w.prototype.getSummaryResult=function(t,e,i,o){var a,s,l,u,h,m,f,d,g,S,A,b,v,C,w,B,I,T;void 0===o&&(o=!1);var E=this.sumFields.getByIndex(e).stimulsoft.as(r.StiCrossSummary),R=E.summary,D=E.summaryValues;!i||R!=n.StiSummaryType.Count&&R!=n.StiSummaryType.CountDistinct||(R=n.StiSummaryType.Sum),!o||R!=n.StiSummaryType.Count&&R!=n.StiSummaryType.CountDistinct||(R=n.StiSummaryType.Sum);var P=0,x=!0;switch(R){case n.StiSummaryType.None:case n.StiSummaryType.Image:var F=0;if(0!=e)for(var N=e-1;N>=0;N--)if(-1!=this.sumFields.getByIndex(N).indexOfSelectValue){if((F=this.sumFields.getByIndex(N).indexOfSelectValue)<t.length)break;F=0}if(null==t||0==t.length)return"";return t[F];case n.StiSummaryType.Sum:try{for(var k=__values(t),M=k.next();!M.done;M=k.next()){var O;if(null==(O=M.value)||c.stimulsoft.equals(O))continue;x=!1,this.isAllowConvertToDecimal(P)&&(P+=this.convertToDecimal(O))}}catch(t){a={error:t}}finally{try{M&&!M.done&&(s=k.return)&&s.call(k)}finally{if(a)throw a.error}}if(x)return this.crossTab.emptyValue;return P;case n.StiSummaryType.Max:if(null!=t&&t.length>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;_?j<L&&(j=L,G=N):(j=L,_=!0,G=0)}N++}}catch(t){l={error:t}}finally{try{Q&&!Q.done&&(u=H.return)&&u.call(H)}finally{if(l)throw l.error}}if(E.indexOfSelectValue=G,x)return this.crossTab.emptyValue;return _?j:null}var G=-1,N=0;try{for(var Y=__values(t),U=Y.next();!U.done;U=Y.next()){var O,J;if(null==(O=U.value)||c.stimulsoft.equals(O))continue;if(x=!1,0==N)this.isAllowConvertToDecimal(O)&&(P=this.convertToDecimal(O),G=N);else if(this.isAllowConvertToDecimal(O))P<(J=this.convertToDecimal(O))&&(P=J,G=N);N++}}catch(t){h={error:t}}finally{try{U&&!U.done&&(m=Y.return)&&m.call(Y)}finally{if(h)throw h.error}}if(E.indexOfSelectValue=G,x)return this.crossTab.emptyValue;return P;case n.StiSummaryType.Min:if(null!=t&&t.length>0&&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<S.length;y++)S[y]=[];var A=0,b=0;try{for(var v=__values(d),C=v.next();!C.done;C=v.next()){for(var w=C.value,y=0;y<S.length;y++)S[y].stimulsoft.clear();b=0;try{for(var B=(u=void 0,__values(g)),I=B.next();!I.done;I=B.next()){var T;if((T=I.value).isTotal)for(var E=0;E<this.oneCellSize;E++){var R=S[T.level*this.oneCellSize+E],D=this.getSummary2(R,E,!0);R.stimulsoft.clear();var P=0,x=0,F,N;this.summaryDirection==n.StiSummaryDirection.UpToDown?(P=t+b,x=e+A*this.oneCellSize+E):(P=t+b*this.oneCellSize+E,x=e+A),(F=this.summaryContainer.getSummary(T,w,!0)).sums[E].push(D),this.invokeEvents(this.sumFields.getByIndex(E)),(N=this.setCellValue(P,x,D,E,T.level,n.StiFieldType.Column,this.sumFields.getByIndex(E).hyperlinkValue,this.sumFields.getByIndex(E).toolTipValue,this.sumFields.getByIndex(E).tagValue,this.sumFields.getByIndex(E).drillDownParameters)).summaryIndex=E,N.isCrossSummary=!0,this.sumFields.getByIndex(E).summary!=n.StiSummaryType.Image&&this.sumFields.getByIndex(E).summary!=n.StiSummaryType.None||(N.value=null,N.text="");var k=0;N.isNumeric&&null!=N.value&&(k=N.value.stimulsoft.toNumber());for(var M=!1,O=P-1;O>=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.colsHeaderHeight;y++)for(var E=0;E<this.oneCellSize;E++){var R;(R=S[y*this.oneCellSize+E]).push(G[E])}b++}}catch(t){u={error:t}}finally{try{I&&!I.done&&(c=B.return)&&c.call(B)}finally{if(u)throw u.error}}A++}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}S=i.create(Array,this.rowsHeaderWidth*this.oneCellSize);for(var y=0;y<S.length;y++)S[y]=[];b=0;try{for(var H=__values(g),Q=H.next();!Q.done;Q=H.next()){for(var T=Q.value,y=0;y<this.rowsHeaderWidth*this.oneCellSize;y++)S[y].stimulsoft.clear();A=0;try{for(var L=(m=void 0,__values(d)),Y=L.next();!Y.done;Y=L.next()){var w;if((w=Y.value).isTotal)for(var E=0;E<this.oneCellSize;E++){var R=S[w.level*this.oneCellSize+E],U=b==g.length-1&&A==d.length-1,D=this.getSummary2(R,E,!0,U);R.stimulsoft.clear();var P=0,x=0,N;this.summaryDirection==n.StiSummaryDirection.UpToDown?(P=t+b,x=e+A*this.oneCellSize+E):(P=t+b*this.oneCellSize+E,x=e+A),this.invokeEvents(this.sumFields.getByIndex(E)),(N=this.setCellValue(P,x,D,E,w.level,n.StiFieldType.Row,this.sumFields.getByIndex(E).hyperlinkValue,this.sumFields.getByIndex(E).toolTipValue,this.sumFields.getByIndex(E).tagValue,this.sumFields.getByIndex(E).drillDownParameters)).summaryIndex=E,this.sumFields.getByIndex(E).summary!=n.StiSummaryType.Image&&this.sumFields.getByIndex(E).summary!=n.StiSummaryType.None||(N.value=null,N.text=""),this.sumFields.getByIndex(E).useStyleOfSummaryInRowTotal&&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,!1,g.indexOf(T)==g.length-1,a),y=0;y<this.rowsHeaderWidth;y++)for(var E=0;E<this.oneCellSize;E++){var R;(R=S[y*this.oneCellSize+E]).push(G[E])}A++}}catch(t){m={error:t}}finally{try{Y&&!Y.done&&(f=L.return)&&f.call(L)}finally{if(m)throw m.error}}b++}}catch(t){p={error:t}}finally{try{Q&&!Q.done&&(h=H.return)&&h.call(H)}finally{if(p)throw p.error}}},w.prototype.copySummary=function(t,e,r,o,a,s,l,u){for(var c=i.create(Object,this.oneCellSize),p=0;p<this.oneCellSize;p++){var h=u;null!=t&&(h=this.getSummary(t,p,l),c[p]=h);var m=0,f=0;this.summaryDirection==n.StiSummaryDirection.UpToDown?(m=e+o,f=r+a*this.oneCellSize+p):(m=e+o*this.oneCellSize+p,f=r+a);var d=null!=t?t.hyperlinkValues[p]:null,g=null!=t?t.toolTipValues[p]:null,S=null!=t?t.tagValues[p]:null,y=null!=t&&null!=t.drillDownParameters?t.drillDownParameters[p]:null,A;if(!s||m>=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;o<this.colCount;o++){for(var a=1,s=0;s<this.rowCount;s++){var l=this.cells[o][s];if(l.parentCell==l&&l.text.stimulsoft.contains("#|#")&&1==l.width){for(var u=1,c=0;c<l.text.length;c++)c<l.text.length-3&&"#"==l.text[c]&&"|"==l.text[c+1]&&"#"==l.text[c+2]&&(e.set(l,l),i=!0,u++);a=Math.max(a,u)}}r[o]=a,t+=a}if(t>this.colCount||i){var p=this.colCount,h=this.cells;this.init(t,this.rowCount);for(var m=0,o=0;o<p;o++){for(var f=Math.trunc(r.get(o)),a=1,s=0;s<this.rowCount;s++){var d=h[o][s];if(null!=e.get(d)&&d.parentCell==d){var g=d.text.split("#|#");a=Math.max(a,g.length+1),d.text=g[0],this.cells[m][s]=d;for(var c=1;c<g.length;c++){var S=d.clone().stimulsoft.as(n.StiCell);this.cells[m+c][s]=S,S.text=g[c]}}else d.parentCell.width+=f-1,this.cells[m][s]=d}m+=f}}},w.prototype.create=function(t,e,i,o){var a,s,l,u,c,p,h,m;this.summaryDirection=i,this.report=e,this.oneCellSize=this.sumFields.count,this.oneCellWidth=this.summaryDirection==n.StiSummaryDirection.LeftToRight?this.oneCellSize:1,this.oneCellHeight=this.summaryDirection==n.StiSummaryDirection.UpToDown?this.oneCellSize:1,this.summaryContainer=new n.StiSummaryContainer(this.oneCellSize),this.rows.clear(),this.cols.clear(),this.calculateDataTable(t),this.calculateTopN(),this.sortRows(),this.sortCols(),this.rows.count>0&&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;j<Y;j++){var G=this.sumHeaderFields.getByIndex(L).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(Q,g,1,1,null==G.textValue?G.getTextInternal():G.textValue,o,G,!1,G.hyperlinkValue,G.toolTipValue,G.tagValue,G.drillDownParameters),g++,++L==this.sumHeaderFields.count&&(L=0)}}if(this.isTopLinePresent&&(this.isLeftTopLinePresent&&(this.invokeEvents(this.leftCrossTitle),this.setCell(0,0,this.rowsHeaderWidth,1,null==this.leftCrossTitle.textValue?this.leftCrossTitle.getTextInternal():this.leftCrossTitle.textValue,o,this.leftCrossTitle,!1,this.leftCrossTitle.hyperlinkValue,this.leftCrossTitle.toolTipValue,this.leftCrossTitle.tagValue,this.leftCrossTitle.drillDownParameters)),this.isRightTopLinePresent&&f-this.rowsHeaderWidth>0&&(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;V<this.colCount;V++)for(var z=0;z<this.rowCount;z++){var X;(X=this.cells[V][z]).isNumeric&&null!=X.value&&X.value.stimulsoft.is(Number)?this.report.cells.setCell(V,z,X.value.stimulsoft.toNumber()):this.report.cells.setCell(V,z,0)}for(var V=0;V<this.colCount;V++)for(var z=0;z<this.rowCount;z++){var X;if((X=this.cells[V][z]).parentCell==X){X.field.stimulsoft.is(r.StiCrossSummary)&&X.field.summary==n.StiSummaryType.Image&&(X.isImage=!0);var K=new r.StiProcessCellEventArgs;K.row=z,K.column=V,K.cell=X;var Z=0;if(null!=X.value&&X.value.stimulsoft.is(Number)&&(Z=X.value.stimulsoft.toNumber()),K.text=X.text,K.value=Z,e.cells.distX=V,e.cells.distY=z,X.field.stimulsoft.is(r.StiCrossTotal)&&(X.field=X.field),null!=X.field&&X.field.invokeProcessCell(K),K.value!=Z?(this.report.cells.setCell(V,z,K.value),X.value=K.value,X.text=X.field.textFormat.format(K.value)):X.text=K.text,X.isNumeric&&null!=X.field){if(X.field.hideZeros&&null!=X.value&&X.value.stimulsoft.is(Number)&&0==X.value.stimulsoft.toNumber())continue;null!=X.value&&(X.field.excelDataValue=X.value.toString())}}}if(this.isRowsEmpty&&!this.isColsEmpty&&this.isSummariesEmpty){this.heights.splice(this.heights.length-1,1);for(var q=0;q<this.cells.length;q++)this.cells[q].splice(this.cells[q].length-1,1)}},w.prototype.clear=function(){var t=!1,e;null!=this.cells&&this.cells.length>1&&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;e<t;e++)this.sums[e]=[]}return t}();e.StiSummary=n}(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.Collections.Hashtable,n=function(){function t(t){this.level=0,this.dataCol=new r,this.level=t}return t.prototype.getSummary=function(t,n,i){void 0===i&&(i=!0);var o=this.dataCol.get(t);if(null==o){if(!i)return null;this.dataCol.set(t,new r),o=this.dataCol.get(t)}var a=o.get(n);if(null==a){if(!i)return null;a=new e.StiSummary(this.level),o.set(n,a)}return a},t.prototype.getDataCol=function(){return this.dataCol},t}();e.StiSummaryContainer=n}(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,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"GetCrossValue"},e}(t.Report.Events.StiEvent);e.StiGetCrossValueEvent=n}(r=e.CrossTab||(e.CrossTab={}))}(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.EventArgs);e.StiGetCrossValueEventArgs=n}(r=e.CrossTab||(e.CrossTab={}))}(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.prototype.toString=function(){return"GetDisplayCrossValue"},e}(t.Report.Events.StiEvent);e.StiGetDisplayCrossValueEvent=n}(r=e.CrossTab||(e.CrossTab={}))}(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.prototype.toString=function(){return"ProcessCell"},e}(t.Report.Events.StiEvent);e.StiProcessCellEvent=n}(r=e.CrossTab||(e.CrossTab={}))}(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.EventArgs);e.StiProcessCellEventArgs=n}(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){t[t["Left"]=0]="Left",t[t["Center"]=1]="Center",t[t["Right"]=2]="Right",t[t["None"]=3]="None",t[t["Width"]=4]="Width"}(e=t.StiCrossHorAlignment||(t.StiCrossHorAlignment={}))}(e=t.CrossTab||(t.CrossTab={}))}(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.Expressions.StiExpression,o=function(o){function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.getCrossValueEvent=new r.StiGetCrossValueEvent,t.val="",t}return __extends(a,o),a.prototype.saveToJsonObject=function(t){var e=o.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("GetCrossValueEvent",this.getCrossValueEvent.saveToJsonObject(t)),e.addPropertyJObject("Value",new i(this.value).saveToJsonObject(t)),e},a.prototype.loadFromJsonObject=function(t){var e,n;o.prototype.loadFromJsonObject.call(this,t);try{for(var a=__values(t.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"GetCrossValueEvent":var u=new r.StiGetCrossValueEvent;u.loadFromJsonObject(l.value),this.getCrossValueEvent=u;break;case"Value":var c=new i;c.loadFromJsonObject(l.value),this.val=c.value;break}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){o.prototype.loadFromXml.call(this,t);var e=t.getAttribute("Ref");!n.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var a=t.childNodes[r];switch(a.nodeName){case"GetCrossValueEvent":break;case"Value":var s=new i;s.loadFromXml(a),this.val=s.value;break}}},a.prototype.paint=function(t){this.parent.stimulsoft.is(r.StiCrossTab)&&this.setTextInternal(this.cellText)},a.prototype.onGetCrossValue=function(t){},a.prototype.invokeGetCrossValue=function(r){if(this.report.calculationMode==e.StiCalculationMode.Compilation)this.onGetCrossValue(r);else{this.onGetCrossValue(r);var n=t.Report.Engine.StiParser.StiParser.parseTextValue(this.value,this);null!=n&&(r.value=n)}},Object.defineProperty(a.prototype,"value",{get:function(){return this.getValue()},set:function(t){this.setValue(t)},enumerable:!1,configurable:!0}),a.prototype.getValue=function(){return this.val},a.prototype.setValue=function(t){this.val=t},a}(r.StiCrossField);r.StiCrossCell=o}(r=e.CrossTab||(e.CrossTab={}))}(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.StiSolidBrush,o=t.System.Drawing.Color,a=t.Report.CrossTab.Core.StiSortType,s=t.Report.CrossTab.Core.StiSortDirection,l=t.Report.Expressions.StiExpression,u=t.System.Enum,c=function(c){function p(){var t=c.call(this)||this;return t.getDisplayCrossValueEvent=new r.StiGetDisplayCrossValueEvent,t._displayValue="",t._headerLevel=-1,t._headerValue=null,t._totalGuid=null,t._showTotal=!0,t._sortDirection=s.Asc,t._sortType=a.ByDisplayValue,t._printOnAllPages=!0,t.brush=new i(o.lightGray),t}return __extends(p,c),p.prototype.saveToJsonObject=function(t){var e=c.prototype.saveToJsonObject.call(this,t);return e.removeProperty("HideZeros"),e.addPropertyJObject("GetDisplayCrossValueEvent",this.getDisplayCrossValueEvent.saveToJsonObject(t)),e.addPropertyJObject("DisplayValue",new l(this.displayValue).saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("TotalGuid",this.totalGuid),e.addPropertyBool("ShowTotal",this.showTotal,!0),e.addPropertyEnum("SortDirection",s,this.sortDirection,s.Asc),e.addPropertyEnum("SortType",a,this.sortType,a.ByDisplayValue),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),e},p.prototype.loadFromJsonObject=function(t){var e,n;c.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var p=o.value;switch(p.name){case"GetDisplayCrossValueEvent":var h=new r.StiGetDisplayCrossValueEvent;h.loadFromJsonObject(p.value),this.getDisplayCrossValueEvent=h;break;case"DisplayValue":var m=new l;m.loadFromJsonObject(p.value),this.displayValue=m.value;break;case"TotalGuid":this.totalGuid=p.value.toString();break;case"ShowTotal":this.showTotal=p.value.stimulsoft.toBoolean();break;case"SortDirection":this.sortDirection=u.parse(s,p.value.toString());break;case"SortType":this.sortType=u.parse(a,p.value.toString());break;case"PrintOnAllPages":this.printOnAllPages=p.value.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}}},p.prototype.loadFromXml=function(t){c.prototype.loadFromXml.call(this,t);var e=t.getAttribute("Ref");!n.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"GetDisplayCrossValueEvent":break;case"DisplayValue":var o=new l;o.loadFromXml(i),this.displayValue=o.value;break;case"TotalGuid":this.totalGuid=i.textContent.toString();break;case"ShowTotal":this.showTotal=i.textContent.stimulsoft.toBoolean();break;case"SortDirection":this.sortDirection=u.parse(s,i.textContent.toString());break;case"SortType":this.sortType=u.parse(a,i.textContent.toString());break;case"PrintOnAllPages":this.printOnAllPages=i.textContent.stimulsoft.toBoolean();break}}},p.prototype.onGetDisplayCrossValue=function(t){},p.prototype.invokeGetDisplayCrossValue=function(r){if(this.report.calculationMode==e.StiCalculationMode.Compilation)this.onGetDisplayCrossValue(r);else{this.onGetDisplayCrossValue(r);var n=t.Report.Engine.StiParser.StiParser.parseTextValue(this.displayValue,this);null!=n&&(r.value=n)}},p.prototype.setValue=function(t){c.prototype.getValue.call(this)==this.displayValue&&(this.displayValue=t),c.prototype.setValue.call(this,t)},Object.defineProperty(p.prototype,"displayValue",{get:function(){return this._displayValue},set:function(t){this._displayValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"total",{get:function(){var t,e;if(null==this.totalGuid||null==this.parent)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.stimulsoft.as(r.StiCrossTotal);if(null!=a&&a.guid==this.totalGuid)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return null},set:function(t){this.totalGuid=null==t?null:t.guid},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isTotalVisible",{get:function(){return this.showTotal&&null!=this.total&&this.total.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerLevel",{get:function(){return this._headerLevel},set:function(t){this._headerLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerValue",{get:function(){return this._headerValue},set:function(t){this._headerValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"totalGuid",{get:function(){return this._totalGuid},set:function(t){this._totalGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"showTotal",{get:function(){return this._showTotal},set:function(t){this._showTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"sortDirection",{get:function(){return this._sortDirection},set:function(t){this._sortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"sortType",{get:function(){return this._sortType},set:function(t){this._sortType=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),p}(r.StiCrossCell);r.StiCrossHeader=c}(r=e.CrossTab||(e.CrossTab={}))}(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.Enum,a=t.Report.CrossTab.Core.StiEnumeratorType,s=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._enumeratorType=a.None,e._enumeratorSeparator=".",e}return __extends(r,t),r.prototype.implements=function(){return r.ImplementsStiCrossColumn||(r.ImplementsStiCrossColumn=t.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),r.ImplementsStiCrossColumn},r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyEnum("EnumeratorType",a,this.enumeratorType,a.None),r.addPropertyString("EnumeratorSeparator",this.enumeratorSeparator,"."),r},r.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),s=i.next();!s.done;s=i.next()){var l=s.value;switch(l.name){case"EnumeratorType":this._enumeratorType=o.parse(a,l.value.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=l.value.toString();break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);var r=e.getAttribute("Ref");!n.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var i=0;i<e.childNodes.length;i++){var s=e.childNodes[i];switch(s.nodeName){case"EnumeratorType":this._enumeratorType=o.parse(a,s.textContent.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=s.textContent.toString();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossColumn},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return i.get("Components","StiCrossColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"enumeratorType",{get:function(){return this._enumeratorType},set:function(t){this._enumeratorType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"enumeratorSeparator",{get:function(){return this._enumeratorSeparator},set:function(t){this._enumeratorSeparator=t},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossHeader);r.StiCrossColumn=s}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.Drawing.StiSolidBrush,i=t.System.Drawing.Color,o=function(t){function r(){var e=t.call(this)||this;return e.brush=new n(i.whiteSmoke),e}return __extends(r,t),r.prototype.implements=function(){return r.ImplementsStiCrossTotal||(r.ImplementsStiCrossTotal=t.prototype.implements.call(this).concat(["StiCrossField"])),r.ImplementsStiCrossTotal},r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("TextFormat"),r.removeProperty("HideZeros"),r},Object.defineProperty(r.prototype,"cellText",{get:function(){return this.text},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossTotal},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossField);r.StiCrossTotal=o}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.Localization.StiLocalization,i=function(t){function r(){var e=t.call(this)||this;return e.text="Total",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossColumnTotal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return n.get("Components","StiCrossColumnTotal")},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossTotal);r.StiCrossColumnTotal=i}(r=e.CrossTab||(e.CrossTab={}))}(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.Core.StiEnumeratorType,o=t.System.Enum,a=t.Base.Localization.StiLocalization,s=function(t){function s(){var e=null!==t&&t.apply(this,arguments)||this;return e._enumeratorType=i.None,e._enumeratorSeparator=".",e}return __extends(s,t),s.prototype.implements=function(){return s.ImplementsStiCrossRow||(s.ImplementsStiCrossRow=t.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),s.ImplementsStiCrossRow},s.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyEnum("EnumeratorType",i,this.enumeratorType,i.None),r.addPropertyString("EnumeratorSeparator",this.enumeratorSeparator,"."),r},s.prototype.loadFromJsonObject=function(e){var r,n;t.prototype.loadFromJsonObject.call(this,e);try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"EnumeratorType":this._enumeratorType=o.parse(i,l.value.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=l.value.toString();break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},s.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);var r=e.getAttribute("Ref");!n.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var a=0;a<e.childNodes.length;a++){var s=e.childNodes[a];switch(s.nodeName){case"EnumeratorType":this._enumeratorType=o.parse(i,s.textContent.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=s.textContent.toString();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossRow},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossRow")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"enumeratorType",{get:function(){return this._enumeratorType},set:function(t){this._enumeratorType=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"enumeratorSeparator",{get:function(){return this._enumeratorSeparator},set:function(t){this._enumeratorSeparator=t},enumerable:!1,configurable:!0}),s.prototype.getCrossRowTitle=function(){var t=this.parent.stimulsoft.as(r.StiCrossTab);if(null==t)return null;var e=n.format("{0}_Title",this.name);return t.components.toList().firstOrDefault((function(t){return t.stimulsoft.is(r.StiCrossTitle)&&t.name==e})).stimulsoft.as(r.StiCrossTitle)},s.prototype.getCrossRowTotal=function(){var t=this.parent.stimulsoft.as(r.StiCrossTab);if(null==t)return null;var e=this.name.stimulsoft.replaceAll("Row","RowTotal");return t.components.toList().firstOrDefault((function(t){return t.stimulsoft.is(r.StiCrossRowTotal)&&t.name==e})).stimulsoft.as(r.StiCrossRowTotal)},s.prototype.createNew=function(){return new s},s}(r.StiCrossHeader);r.StiCrossRow=s}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.Localization.StiLocalization,i=function(t){function r(){var e=t.call(this)||this;return e.text="Total",e}return __extends(r,t),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossRowTotal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return n.get("Components","StiCrossRowTotal")},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossTotal);r.StiCrossRowTotal=i}(r=e.CrossTab||(e.CrossTab={}))}(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.StiTextHorAlignment,o=t.Base.Drawing.StiHorAlignment,a=t.Base.Drawing.StiVertAlignment,s=t.Report.CrossTab.Core.StiSummaryType,l=t.Report.CrossTab.Core.StiSummaryValues,u=t.System.Enum,c=t.Base.Localization.StiLocalization,p=function(t){function r(){var e=t.call(this)||this;return e._aspectRatio=!1,e._stretch=!0,e._imageHorAlignment=o.Left,e._imageVertAlignment=a.Top,e._indexOfSelectValue=-1,e._summary=s.Sum,e._summaryValues=l.AllValues,e._useStyleOfSummaryInRowTotal=!1,e._useStyleOfSummaryInColumnTotal=!1,e._showPercents=!1,e.horAlignment=i.Right,e.hideZeros=!0,e}return __extends(r,t),r.prototype.implements=function(){return r.ImplementsStiCrossSummary||(r.ImplementsStiCrossSummary=t.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField"])),r.ImplementsStiCrossSummary},r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyEnum("HorAlignment",i,this.horAlignment,i.Right),r.addPropertyBool("HideZeros",this.hideZeros,!0),r.addPropertyBool("AspectRatio",this.aspectRatio),r.addPropertyBool("Stretch",this.stretch,!0),r.addPropertyEnum("Summary",s,this.summary,s.Sum),r.addPropertyEnum("SummaryValues",l,this.summaryValues,l.AllValues),r.addPropertyBool("UseStyleOfSummaryInRowTotal",this.useStyleOfSummaryInRowTotal),r.addPropertyBool("UseStyleOfSummaryInColumnTotal",this.useStyleOfSummaryInColumnTotal),r.addPropertyBool("ShowPercents",this.showPercents),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"AspectRatio":this._aspectRatio=a.value.stimulsoft.toBoolean();break;case"Stretch":this._stretch=a.value.stimulsoft.toBoolean();break;case"Summary":this._summary=u.parse(s,a.value.toString());break;case"SummaryValues":this._summaryValues=u.parse(l,a.value.toString());break;case"UseStyleOfSummaryInRowTotal":this._useStyleOfSummaryInRowTotal=a.value.stimulsoft.toBoolean();break;case"UseStyleOfSummaryInColumnTotal":this._useStyleOfSummaryInColumnTotal=a.value.stimulsoft.toBoolean();break;case"ShowPercents":this._showPercents=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}}},r.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);var r=e.getAttribute("Ref");!n.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"AspectRatio":this._aspectRatio=o.textContent.stimulsoft.toBoolean();break;case"Stretch":this._stretch=o.textContent.stimulsoft.toBoolean();break;case"Summary":this._summary=u.parse(s,o.textContent.toString());break;case"SummaryValues":this._summaryValues=u.parse(l,o.textContent.toString());break;case"UseStyleOfSummaryInRowTotal":this._useStyleOfSummaryInRowTotal=o.textContent.stimulsoft.toBoolean();break;case"UseStyleOfSummaryInColumnTotal":this._useStyleOfSummaryInColumnTotal=o.textContent.stimulsoft.toBoolean();break;case"ShowPercents":this._showPercents=o.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossSummary},enumerable:!1,configurable:!0}),r.prototype.clone=function(e){var r=t.prototype.clone.call(this,e);return r.aspectRatio=this.aspectRatio,r.stretch=this.stretch,r.imageHorAlignment=this.imageHorAlignment,r.imageVertAlignment=this.imageVertAlignment,r.summary=this.summary,r.summaryValues=this.summaryValues,r.useStyleOfSummaryInRowTotal=this.useStyleOfSummaryInRowTotal,r.useStyleOfSummaryInColumnTotal=this.useStyleOfSummaryInColumnTotal,r},Object.defineProperty(r.prototype,"defaultHorAlignment",{get:function(){return i.Right},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){this._aspectRatio=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"imageHorAlignment",{get:function(){return this._imageHorAlignment},set:function(t){this._imageHorAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"imageVertAlignment",{get:function(){return this._imageVertAlignment},set:function(t){this._imageVertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"crossColumnValue",{get:function(){return this._crossColumnValue},set:function(t){this._crossColumnValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"crossRowValue",{get:function(){return this._crossRowValue},set:function(t){this._crossRowValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"indexOfSelectValue",{get:function(){return this._indexOfSelectValue},set:function(t){this._indexOfSelectValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cellText",{get:function(){return"0"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"summary",{get:function(){return this._summary},set:function(t){this._summary=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"summaryValues",{get:function(){return this._summaryValues},set:function(t){this._summaryValues=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useStyleOfSummaryInRowTotal",{get:function(){return this._useStyleOfSummaryInRowTotal},set:function(t){this._useStyleOfSummaryInRowTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useStyleOfSummaryInColumnTotal",{get:function(){return this._useStyleOfSummaryInColumnTotal},set:function(t){this._useStyleOfSummaryInColumnTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return c.get("Components","StiCrossSummary")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"showPercents",{get:function(){return this._showPercents},set:function(t){this._showPercents=t},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossCell);r.StiCrossSummary=p}(r=e.CrossTab||(e.CrossTab={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Base.Localization.StiLocalization,i=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"cellText",{get:function(){return this.getTextInternal()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return n.get("Components","StiCrossSummaryHeader")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossSummaryHeader},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossField);r.StiCrossSummaryHeader=i}(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.EventHandler,n=t.System.EventArgs;e.StiFillParametersEventHandler=new r("sender: any, e: StiFillParametersEventArgs");var i=function(t){function e(e){void 0===e&&(e=[]);var r=t.call(this)||this;return r.val=[],r.val=e,r}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.val},set:function(t){this.val=t},enumerable:!1,configurable:!0}),e}(n);e.StiFillParametersEventArgs=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.Report.Events.StiFillParametersEventArgs,n=t.Report.Components.IStiRenderMaster,i=t.Report.Components.StiComponentType,o=t.Report.Components.StiBand,a=t.Report.Components.StiDataBand,s=t.Report.Components.StiChildBand,l=t.Report.Components.StiContainer,u=t.Report.Components.StiPage,c=function(){function c(){}return c.getMasterDataBand=function(t){t=t.parent;while(1){if(t.stimulsoft.is(a))return t;if(t.stimulsoft.is(u))return null;if(null==t)return null;if(t.stimulsoft.is(s)){var e=t.getMaster();if(null!=e){t=e;continue}}t=t.parent}},c.getParentBand=function(t){t=t.parent;while(1){if(t.stimulsoft.is(o))return t;if(t.stimulsoft.is(u))return null;if(null==t)return null;t=t.parent}},c.renderSubReportAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u,c,p,h,m,f,d,g,g,S,y,A,b,v,C,w,B,I,u,T,E,R,D,P,x,F,N,k,M;return __generator(this,(function(O){switch(O.label){case 0:n=e.subReportPage,i=null!=n?n.height:0,o=e.report.engine,null!=n&&(n.pageInfo.masterDataBand=this.getMasterDataBand(e));try{for(a=__values(e.report.dictionary.dataSources.list),s=a.next();!s.done;s=a.next())(u=s.value).initForSubreport=!0}catch(t){T={error:t}}finally{try{s&&!s.done&&(E=a.return)&&E.call(a)}finally{if(T)throw T.error}}if(null!=n&&(n.unlimitedBreakable=!1),c=e.getExternalSubReport(),p=new r,e.invokeFillParameters(e,p),null!=p.value&&p.value.length>0){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<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"BackColor":this.backColor=s.Deserialize.color(n.textContent);break;case"CellBackColor":this.cellBackColor=s.Deserialize.color(n.textContent);break;case"AlternatingCellBackColor":this.alternatingCellBackColor=s.Deserialize.color(n.textContent);break;case"AlternatingCellForeColor":this.alternatingCellForeColor=s.Deserialize.color(n.textContent);break;case"SelectedCellBackColor":this.selectedCellBackColor=s.Deserialize.color(n.textContent);break;case"SelectedCellForeColor":this.selectedCellForeColor=s.Deserialize.color(n.textContent);break;case"ColumnHeaderBackColor":this.columnHeaderBackColor=s.Deserialize.color(n.textContent);break;case"ColumnHeaderForeColor":this.columnHeaderForeColor=s.Deserialize.color(n.textContent);break;case"RowHeaderBackColor":this.rowHeaderBackColor=s.Deserialize.color(n.textContent);break;case"RowHeaderForeColor":this.rowHeaderForeColor=s.Deserialize.color(n.textContent);break;case"HotColumnHeaderBackColor":this.hotColumnHeaderBackColor=s.Deserialize.color(n.textContent);break;case"HotRowHeaderBackColor":this.hotRowHeaderBackColor=s.Deserialize.color(n.textContent);break;case"CellForeColor":this.cellForeColor=s.Deserialize.color(n.textContent);break;case"LineColor":this.lineColor=s.Deserialize.color(n.textContent);break}}},Object.defineProperty(l.prototype,"color",{get:function(){return this.columnHeaderBackColor},set:function(t){this.columnHeaderBackColor=t,this.rowHeaderBackColor=t},enumerable:!1,configurable:!0}),l.prototype.getStyleFromComponent=function(t,r){if(r!=e.StiStyleElements.All)throw new Error("StiCrossTabStyle support only StiStyleElements.All.");var i=t;if(null==i)return;var o=i.crossTabStyle;!n.isNullOrEmpty(o)&&null!=i.report&&i.report.styles.getByName(o).stimulsoft.is(l)?this.color=i.report.styles.getByName(o).color:i.crossTabStyleIndex<StiOptions.Designer.CrossTab.styleColors.length&&i.crossTabStyleIndex>=0&&i.crossTabStyleIndex<StiOptions.Designer.CrossTab.styleColors.length-1&&(this.color=StiOptions.Designer.CrossTab.styleColors[i.crossTabStyleIndex])},l.prototype.setStyleToComponent=function(r){if(null!=r&&r.stimulsoft.is(t.Report.CrossTab.StiCrossTab)){var n=r;if(!e.StiStyleConditionHelper.isAllowStyle(r,this))return;n.crossTabStyleColor=this.color,n.updateStyles()}},l}(r.StiBaseStyle);r.StiCrossTabStyle=l}(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.StiString,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Report.Styles.StiCrossTabStyle,a=t.Report.Dictionary.StiBusinessObjectHelper,s=t.Report.Components.StiFilter,l=t.Report.Components.StiFilterItem,u=t.Report.Components.StiComponentPriority,c=t.Report.Components.StiBand,p=t.Report.Components.StiComponentType,h=t.System.Drawing.Color,m=t.Base.Drawing.StiSolidBrush,f=t.Base.Drawing.StiColorUtils,d=t.System.Drawing.Rectangle,g=t.Report.CrossTab.Core.StiSummaryDirection,S=t.Report.Components.StiFilterMode,y=t.Report.Components.StiFilterEngine,A=t.Base.Localization.StiLocalization,b=t.Report.Components.StiContainer,v=t.System.Enum,C=t.Report.Components.IStiDataSource,w=t.Report.Components.IStiFilter,B=t.Report.Components.IStiCrossTab,I=t.Report.Components.IStiSort,T=t.Report.Components.IStiDataRelation,E=t.Report.Components.IStiPrintIfEmpty,R=t.Report.Components.IStiBusinessObject,D=t.Base.StiJsonReportObjectHelper,P=t.Report.Engine.StiSubReportsHelper,x=function(x){function F(e){void 0===e&&(e=d.empty);var n=x.call(this,e)||this;return n._printIfEmpty=!0,n._dataRelationName="",n._dataSourceName="",n._businessObjectGuid="",n._sort=[],n._crossTabInfo=new r.StiCrossTabInfo,n._filterEngine=y.ReportEngine,n._filterMode=S.And,n._filters=new t.Report.Components.StiFiltersCollection,n._filterOn=!0,n.defaultClientRectangle=new d(0,0,300,100),n._crossTabStyleIndex=0,n._crossTabStyleColor=null,n._horAlignment=r.StiCrossHorAlignment.None,n._printTitleOnAllPages=!0,n._summaryDirection=g.UpToDown,n._keepCrossTabTogether=!1,n._emptyValue="",n._wrap=!1,n._wrapGap=0,n._rightToLeft=!1,n.placeOnToolbox=!1,n.canGrow=!0,n}return __extends(F,x),F.prototype.implements=function(){return F.ImplementsStiCrossTab||(F.ImplementsStiCrossTab=x.prototype.implements.call(this).concat([C,w,B,I,T,E,R,i])),F.ImplementsStiCrossTab},F.prototype.saveToJsonObject=function(t){var e=x.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanGrow",this.canGrow,!0),e.addPropertyBool("PrintIfEmpty",this.printIfEmpty,!0),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyJObject("Sort",D.Serialize.stringArray(this.sort)),e.addPropertyEnum("FilterEngine",y,this.filterEngine,y.ReportEngine),e.addPropertyEnum("FilterMode",S,this.filterMode,S.And),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyBool("FilterOn",this.filterOn,!0),e.addPropertyNumber("CrossTabStyleIndex",this.crossTabStyleIndex),e.addPropertyEnum("HorAlignment",r.StiCrossHorAlignment,this.horAlignment,r.StiCrossHorAlignment.None),e.addPropertyBool("PrintTitleOnAllPages",this.printTitleOnAllPages,!0),e.addPropertyEnum("SummaryDirection",g,this.summaryDirection,g.UpToDown),e.addPropertyBool("KeepCrossTabTogether",this.keepCrossTabTogether),e.addPropertyStringNullOrEmpty("EmptyValue",this.emptyValue),e.addPropertyBool("Wrap",this.wrap),e.addPropertyNumber("WrapGap",this.wrapGap,0),e.addPropertyBool("RightToLeft",this.rightToLeft),e},F.prototype.loadFromJsonObject=function(t){var e,n;x.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"PrintIfEmpty":this.printIfEmpty=a.value.stimulsoft.toBoolean();break;case"DataRelationName":this.dataRelationName=a.value.toString();break;case"DataSourceName":this.dataSourceName=a.value.toString();break;case"BusinessObjectGuid":this.businessObjectGuid=a.value.toString();break;case"Sort":this.sort=D.Deserialize.stringArray(a.value);break;case"FilterEngine":this.filterEngine=v.parse(y,a.value.toString());break;case"FilterMode":this.filterMode=v.parse(S,a.value.toString());break;case"Filters":this.filters.loadFromJsonObject(a.value);break;case"FilterOn":this.filterOn=a.value.stimulsoft.toBoolean();break;case"CrossTabStyleIndex":this.crossTabStyleIndex=a.value.stimulsoft.toNumber();break;case"HorAlignment":this.horAlignment=v.parse(r.StiCrossHorAlignment,a.value.toString());break;case"PrintTitleOnAllPages":this.printTitleOnAllPages=a.value.stimulsoft.toBoolean();break;case"SummaryDirection":this.summaryDirection=v.parse(g,a.value.toString());break;case"KeepCrossTabTogether":this.keepCrossTabTogether=a.value.stimulsoft.toBoolean();break;case"EmptyValue":this.emptyValue=a.value.toString();break;case"Wrap":this.wrap=a.value.stimulsoft.toBoolean();break;case"WrapGap":this.wrapGap=a.value.stimulsoft.toNumber();break;case"RightToLeft":this.rightToLeft=a.value.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}}},F.prototype.loadFromXml=function(e){var i,o;x.prototype.loadFromXml.call(this,e,!1);var a=e.getAttribute("Ref");!n.isNullOrEmpty(a)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[a.stimulsoft.toNumber()]=e.nodeName);for(var s=0;s<e.childNodes.length;s++){var l=e.childNodes[s];switch(l.nodeName){case"PrintIfEmpty":this.printIfEmpty=l.textContent.stimulsoft.toBoolean();break;case"DataRelationName":this.dataRelationName=l.textContent.toString();break;case"DataSourceName":this.dataSourceName=l.textContent.toString();break;case"BusinessObjectGuid":this.businessObjectGuid=l.textContent.toString();break;case"Sort":this._sort=t.Report.Components.StiDataBand.loadXmlSort(l);break;case"FilterEngine":this.filterEngine=v.parse(y,l.textContent.toString());break;case"FilterMode":this.filterMode=v.parse(S,l.textContent.toString());break;case"Filters":null==this._filters&&(this._filters=new t.Report.Components.StiFiltersCollection),this._filters.loadFromXml(l);break;case"FilterOn":this.filterOn=l.textContent.stimulsoft.toBoolean();break;case"CrossTabStyleIndex":this.crossTabStyleIndex=l.textContent.stimulsoft.toNumber();break;case"HorAlignment":this.horAlignment=v.parse(r.StiCrossHorAlignment,l.textContent.toString());break;case"PrintTitleOnAllPages":this.printTitleOnAllPages=l.textContent.stimulsoft.toBoolean();break;case"SummaryDirection":this.summaryDirection=v.parse(g,l.textContent.toString());break;case"KeepCrossTabTogether":this.keepCrossTabTogether=l.textContent.stimulsoft.toBoolean();break;case"EmptyValue":this.emptyValue=l.textContent.toString();break;case"Wrap":this.wrap=l.textContent.stimulsoft.toBoolean();break;case"WrapGap":this.wrapGap=l.textContent.stimulsoft.toNumber();break;case"RightToLeft":this.rightToLeft=l.textContent.stimulsoft.toBoolean();break}}try{for(var u=__values(this.components.list),c=u.next();!c.done;c=u.next()){var p;c.value.paint(null)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}},Object.defineProperty(F.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossTab},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_crosstable.htm"},enumerable:!1,configurable:!0}),F.prototype.convert=function(t,e,r){void 0===r&&(r=!1),x.prototype.convert.call(this,t,e,r),this.wrapGap=e.convertFromHInches(t.convertToHInches(this.wrapGap))},Object.defineProperty(F.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.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(F.prototype,"dataRelationName",{get:function(){return this._dataRelationName},set:function(t){this._dataRelationName=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isDataSourceEmpty",{get:function(){return n.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isBusinessObjectEmpty",{get:function(){return n.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return a.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,n.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"canBreak",{get:function(){var t;return null!=P.getParentBand(this)||this.properties.getBool(b.propertyCanBreak,!1)},enumerable:!1,configurable:!0}),F.prototype.first=function(){null!=this.dataSource?this.dataSource.first():null!=this.businessObject&&this.businessObject.first()},F.prototype.prior=function(){null!=this.dataSource?this.dataSource.prior():null!=this.businessObject&&this.businessObject.prior()},F.prototype.next=function(){null!=this.dataSource?this.dataSource.next():null!=this.businessObject&&this.businessObject.next()},F.prototype.last=function(){null!=this.dataSource?this.dataSource.last():null!=this.businessObject&&this.businessObject.last()},Object.defineProperty(F.prototype,"isEof",{get:function(){return null!=this.dataSource?this.dataSource.isEof:null==this.businessObject||this.businessObject.isEof},set:function(t){null!=this.dataSource?this.dataSource.isEof=t:null!=this.businessObject&&(this.businessObject.isEof=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isBof",{get:function(){return null!=this.dataSource?this.dataSource.isBof:null==this.businessObject||this.businessObject.isBof},set:function(t){null!=this.dataSource?this.dataSource.isBof=t:null!=this.businessObject&&(this.businessObject.isBof=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isEmpty",{get:function(){return null!=this.dataSource?this.dataSource.isEmpty:null==this.businessObject||this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"position",{get:function(){return null!=this.dataSource?this.dataSource.position:null!=this.businessObject?this.businessObject.position:0},set:function(t){null!=this.dataSource?this.dataSource.position=t:null!=this.businessObject&&(this.businessObject.position=t)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"count",{get:function(){return null!=this.dataSource?this.dataSource.count:null!=this.businessObject?this.businessObject.count:0},enumerable:!1,configurable:!0}),F.prototype.clone=function(){var e=x.prototype.clone.call(this);return e._crossTabInfo=this.crossTabInfo.clone().stimulsoft.as(r.StiCrossTabInfo),null!=this._filters?e._filters=this._filters.clone().stimulsoft.as(t.Report.Components.StiFiltersCollection):e._filters=null,e},F.prototype.packService=function(){this._filters=null},Object.defineProperty(F.prototype,"crossTabInfo",{get:function(){return this._crossTabInfo},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"filterEngine",{get:function(){return this._filterEngine},set:function(t){this._filterEngine=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"filter",{get:function(){return 0==this.filters.count&&this.filters.add(new s),this.filters.getByIndex(0).item=l.Expression,this.filters.getByIndex(0).expression},set:function(t){0==this.filters.count&&this.filters.add(new s),this.filters.getByIndex(0).item=l.Expression,this.filters.getByIndex(0).expression=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),F.prototype.canContainIn=function(t){if(t.stimulsoft.is(F))return!1;if(t.stimulsoft.is(b))return!0;return!1},Object.defineProperty(F.prototype,"localizedCategory",{get:function(){return A.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"priority",{get:function(){return u.CrossTab},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"componentType",{get:function(){if(null!=this.report)return p.Simple;if(this.parent.stimulsoft.is(c))return p.Simple;return p.Master},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"localizedName",{get:function(){return A.get("Components","StiCrossTab")},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"crossTabStyleIndex",{get:function(){return this._crossTabStyleIndex},set:function(t){t!=this._crossTabStyleIndex&&(-1!=t&&(x.prototype.setComponentStyle.call(this,""),this._crossTabStyleColor=null),t>=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;a<e+o.width;a++)n+=t.crossTabInfo.cross.widths[a];for(var s=r;s<r+o.height;s++)i+=t.crossTabInfo.cross.heights[s];return new b(t.crossTabInfo.cross.coordX[e],t.crossTabInfo.cross.coordY[r],n,i)},t.getCellsRect=function(t,e,r,n,i){for(var o=0,a=0,s=e;s<n;s++)o+=t.crossTabInfo.cross.widths[s];for(var l=r;l<i;l++)a+=t.crossTabInfo.cross.heights[l];return new g(o,a)},t.renderCells=function(t,r,n,o,a,c,p){t.crossTabInfo.hidedCells.clear();for(var h=p.left-t.crossTabInfo.cross.coordX[n],m=p.top-t.crossTabInfo.cross.coordY[o],f=o;f<c;f++)for(var d=n;d<a;d++){var A=t.crossTabInfo.cross.cells[d][f];if(null==t.crossTabInfo.hidedCells.get(A)){var v=null;if(A.isImage){var C=null;null!=A.field?(C=new y).border=A.field.border.clone().stimulsoft.as(l):(C=new y).border.side=u.All,null!=A.value&&(C.image=s.getImageFromObject(A.value)),A.field.stimulsoft.is(e.StiCrossSummary)&&(C.stretch=A.field.stretch,C.aspectRatio=A.field.aspectRatio,C.horAlignment=A.field.imageHorAlignment,C.vertAlignment=A.field.imageVertAlignment),v=C}else{var B=null;if(null!=A.field){var I=(B=A.width>1||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;R<T;R++)for(var D=f;D<E;D++){var P=t.crossTabInfo.cross.cells[R][D];t.crossTabInfo.hidedCells.set(P,P)}for(var x=0,F=0,R=d;R<T;R++)x+=t.crossTabInfo.cross.widths[R];for(var D=f;D<E;D++)F+=t.crossTabInfo.cross.heights[D];var N=new b(t.crossTabInfo.cross.coordX[d],t.crossTabInfo.cross.coordY[f],x,F);N.x+=h,N.y+=m,null!=v&&(v.clientRectangle=N.clone())}}},t.createCrossForCrossTabDataSource=function(t){return a.setData(t,!0,t.parent.stimulsoft.as(d)),this.buildCrossForCrossTabDataSource(t,!1)},t.buildCrossForCrossTabDataSource=function(t,r){var n,i,o,a,s=new h(null),l=new h(null),u=new h(null),p=new h(null),d=new h(null),g=new h(null),S=new f;try{for(var y=__values(t.components.list),A=y.next();!A.done;A=y.next()){var b;if((b=A.value).stimulsoft.is(e.StiCrossCell)||b.stimulsoft.is(e.StiCrossTitle)||b.stimulsoft.is(e.StiCrossSummaryHeader)){var v=b.stimulsoft.as(e.StiCrossRow),C=b.stimulsoft.as(e.StiCrossColumn),w=b.stimulsoft.as(e.StiCrossSummary),B=b.stimulsoft.as(e.StiCrossSummaryHeader),I=b.stimulsoft.as(e.StiCrossTitle);if(null!=I){I.typeOfComponent.stimulsoft.startsWith("Row:")&&d.add(I),I.typeOfComponent.stimulsoft.startsWith("Col:")&&g.add(I);continue}null!=v&&(l.add(v),v.isTotalVisible||(v.total.height=0)),null!=C&&(s.add(C),C.isTotalVisible||(C.total.width=0)),null!=w&&u.add(w),null!=B&&p.add(B);var T=new m(b.name,Object);S.columns.add(T),b.stimulsoft.is(e.StiCrossHeader)&&(T=new m("Display__"+b.name,Object),S.columns.add(T))}}}catch(t){n={error:t}}finally{try{A&&!A.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}if(!r){t.first();while(!t.isEof){var v=S.newRow();try{for(var E=(o=void 0,__values(t.components.list)),R=E.next();!R.done;R=E.next()){var b;if((b=R.value).stimulsoft.is(e.StiCrossSummaryHeader))continue;var D=b.stimulsoft.as(e.StiCrossCell);if(null!=D){var P=new e.StiGetCrossValueEventArgs;D.invokeGetCrossValue(P),v.sett(D.name,P.value),D.stimulsoft.is(e.StiCrossHeader)&&(P=new e.StiGetCrossValueEventArgs,D.stimulsoft.as(e.StiCrossHeader).InvokeGetDisplayCrossValue(P),v.sett("Display__"+b.name,P.value))}else if(b.stimulsoft.is(e.StiCrossTitle)){var x=new c;b.invokeGetValue(b,x),b.textValue=x.value}}}catch(t){o={error:t}}finally{try{R&&!R.done&&(a=E.return)&&a.call(E)}finally{if(o)throw o.error}}S.rows.add(v),t.next()}}return S},t.buildCross=function(t,r){var i,o,a,s,l=new h(null),u=new h(null),d=new h(null),g=new h(null),S=new h(null),y=new h(null),A=null,b=null,v=null,C=new f;try{for(var w=__values(t.components.list),B=w.next();!B.done;B=w.next()){var I;if((I=B.value).stimulsoft.is(e.StiCrossCell)||I.stimulsoft.is(e.StiCrossTitle)||I.stimulsoft.is(e.StiCrossSummaryHeader)){var T=I.stimulsoft.as(e.StiCrossRow),E=I.stimulsoft.as(e.StiCrossColumn),R=I.stimulsoft.as(e.StiCrossSummary),D=I.stimulsoft.as(e.StiCrossSummaryHeader),P=I.stimulsoft.as(e.StiCrossTitle);if(null!=P){P.typeOfComponent.stimulsoft.startsWith("Row:")&&S.add(P),P.typeOfComponent.stimulsoft.startsWith("Col:")&&y.add(P),P.typeOfComponent.stimulsoft.startsWith("LeftTitle")&&(A=P),P.typeOfComponent.stimulsoft.startsWith("RightTitle")&&(b=P),P.typeOfComponent.stimulsoft.startsWith("SummaryTitle")&&(v=P);continue}null!=T&&(u.add(T),T.isTotalVisible||(T.total.height=0)),null!=E&&(l.add(E),E.isTotalVisible||(E.total.width=0)),null!=R&&d.add(R),null!=D&&g.add(D);var x=new m(I.name,Object);C.columns.add(x),I.stimulsoft.is(e.StiCrossHeader)&&(x=new m("Display__"+I.name,Object),C.columns.add(x))}}}catch(t){i={error:t}}finally{try{B&&!B.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}if(!r){t.first();while(!t.isEof){var T=C.newRow();try{for(var F=(a=void 0,__values(t.components.list)),N=F.next();!N.done;N=F.next()){var I;if((I=N.value).stimulsoft.is(e.StiCrossSummaryHeader))continue;var k=I.stimulsoft.as(e.StiCrossCell);if(null!=k){var M=new e.StiGetCrossValueEventArgs;k.invokeGetCrossValue(M);var O=M.value;null!=O&&O.stimulsoft.is(String)||null==(O=n.tryToNullableNumber(M.value))&&(O=M.value),T.sett(k.name,O),k.stimulsoft.is(e.StiCrossHeader)&&(M=new e.StiGetCrossValueEventArgs,k.invokeGetDisplayCrossValue(M),T.sett("Display__"+I.name,M.value))}else if(I.stimulsoft.is(e.StiCrossTitle)){var _=new c;I.invokeGetValue(I,_),I.textValue=_.value}}}catch(t){a={error:t}}finally{try{N&&!N.done&&(s=F.return)&&s.call(F)}finally{if(a)throw a.error}}C.rows.add(T),t.next()}}t.crossTabInfo.cross=new p,t.crossTabInfo.cross.designTime=r,t.crossTabInfo.cross.colFields=l,t.crossTabInfo.cross.rowFields=u,t.crossTabInfo.cross.sumFields=d,t.crossTabInfo.cross.sumHeaderFields=g,t.crossTabInfo.cross.colTitleFields=y,t.crossTabInfo.cross.rowTitleFields=S,t.crossTabInfo.cross.leftCrossTitle=A,t.crossTabInfo.cross.rightCrossTitle=b,t.crossTabInfo.cross.summaryCrossTitle=v,t.crossTabInfo.cross.crossTab=t,t.crossTabInfo.cross.create(C,t.report,t.summaryDirection,t.emptyValue),t.crossTabInfo.cross.crossTab=null},t.getEndCol=function(t,r,n){var i=t.crossTabInfo.cross.colCount;if(t.horAlignment!=e.StiCrossHorAlignment.None&&t.horAlignment!=e.StiCrossHorAlignment.Left&&!t.wrap)return i;for(var o=r,a=0,s=r;s<t.crossTabInfo.cross.colCount;s++){if((a+=t.crossTabInfo.cross.widths[s])>n.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;a<t.crossTabInfo.cross.rowCount;a++){if((o+=t.crossTabInfo.cross.heights[a])>r.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;s<r.colCount;s++)i<a+r.widths[s]&&(o++,a=0),a+=r.widths[s];return o},t.checkMergedRowCells=function(t,e,r,n,i){for(var o=t.crossTabInfo.cross.cells,a=0,s=n;s<i;s++){var l=o[s][r-1],u=l.parentCell;null!=l.field&&l.height>1&&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;i<e.colCount;i++){n[i]=r.create(A,e.rowCount);for(var o=0;o<e.rowCount;o++){var a=e.cells[e.colCount-i-1][o];n[i][o]=a}}for(var s=new C,i=0;i<e.colCount;i++)for(var o=0;o<e.rowCount;o++){var a,a;if(o<2){if(null!=(a=n[e.colCount-i-1][o])&&a.width>1&&!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<t.components.count;a++){var s=t.components.getByIndex(a);a==n?(i=s.left,o=s.right):(i=Math.min(i,s.left),o=Math.max(o,s.right))}e.ref=i,r.ref=o},t.makeHorAlignmentByWidth=function(t,e){var n,i,a=0,s=0,l={ref:a},u={ref:s};this.calculateMaxAndMin(t,l,u,e),a=l.ref,s=u.ref;for(var c=new C,p=e;p<t.components.count;p++){var h=t.components.getByIndex(p);c.set(h.left,h.left),c.set(h.right,h.right)}var m=t.width/(s-a),f=r.create(Number,c.count);c.keys.copyTo(f,0);try{for(var d=__values(f),g=d.next();!g.done;g=d.next()){var y=g.value,A=y-a;A=v.alignToGrid(A*m,.01,!0),c.set(y,A)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}for(var p=e;p<t.components.count;p++){var h=t.components.getByIndex(p),b=0;c.containsKey(h.left)&&(b=c.get(h.left));var w=0;if(c.containsKey(h.right)&&(w=c.get(h.right)),h.left=b,h.width=w-b,m<1){var B=h.stimulsoft.as(S);null!=B&&(B.font=o.changeFontSize(B.font,B.font.size*m))}}},t.clearCross=function(t){if(null!=t&&null!=t.crossTabInfo&&null!=t.crossTabInfo.cross){var e=t.crossTabInfo.cross.clear();t.crossTabInfo.cross=null}},t.isCrossTabRendering=!1,t}();e.StiCrossTabHelper=B}(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.Report.Engine.StiComponentInfo,n=t.System.Drawing.Rectangle,i=t.System.Collections.Hashtable,o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultWidth=60,e.defaultHeight=14,e.hidedCells=new i,e.cross=null,e.renderRect=n.empty,e.finishRender=!1,e}return __extends(e,t),e}(r);e.StiCrossTabInfo=o}(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.Drawing.Rectangle,n=function(){function t(){this._startRow=0,this._startColumn=0,this._renderingIsFinished=!1,this._allowRendering=!0,this._destinationRectangle=r.empty,this.shiftX=0}return Object.defineProperty(t.prototype,"startRow",{get:function(){return this._startRow},set:function(t){this._startRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startColumn",{get:function(){return this._startColumn},set:function(t){this._startColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderingIsFinished",{get:function(){return this._renderingIsFinished},set:function(t){this._renderingIsFinished=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowRendering",{get:function(){return this._allowRendering},set:function(t){this._allowRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"destinationRectangle",{get:function(){return this._destinationRectangle},set:function(t){this._destinationRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"destinationContainer",{get:function(){return this._destinationContainer},set:function(t){this._destinationContainer=t},enumerable:!1,configurable:!0}),t}();e.StiCrossTabParams=n}(r=e.CrossTab||(e.CrossTab={}))}(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.StiSolidBrush,o=t.System.Drawing.Color,a=t.Base.Localization.StiLocalization,s=function(t){function r(){var e=t.call(this)||this;return e._printOnAllPages=!0,e._typeOfComponent="",e.brush=new i(o.lightGray),e}return __extends(r,t),r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("TextFormat"),r.removeProperty("HideZeros"),r.removeProperty("Conditions"),r.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),r.addPropertyStringNullOrEmpty("TypeOfComponent",this.typeOfComponent),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"PrintOnAllPages":this.printOnAllPages=a.value.stimulsoft.toBoolean();break;case"TypeOfComponent":this.typeOfComponent=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.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);var r=e.getAttribute("Ref");!n.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var i=0;i<e.childNodes.length;i++){var o=e.childNodes[i];switch(o.nodeName){case"PrintOnAllPages":this.printOnAllPages=o.textContent.stimulsoft.toBoolean();break;case"TypeOfComponent":this.typeOfComponent=o.textContent.toString();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossTitle},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"typeOfComponent",{get:function(){return this._typeOfComponent},set:function(t){this._typeOfComponent=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cellText",{get:function(){return this.getTextInternal()},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiCrossField);r.StiCrossTitle=s}(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){t.IStiDashboardExportSettings="IStiDashboardExportSettings"}(e=t.Export||(t.Export={}))}(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){t.IStiDataDashboardExportSettings="IStiDataDashboardExportSettings"}(e=t.Export||(t.Export={}))}(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){t.IStiExcelDashboardExportSettings="IStiExcelDashboardExportSettings"}(e=t.Export||(t.Export={}))}(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){t.IStiImageDashboardExportSettings="IStiImageDashboardExportSettings"}(e=t.Export||(t.Export={}))}(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){t.IStiPdfDashboardExportSettings="IStiPdfDashboardExportSettings"}(e=t.Export||(t.Export={}))}(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.Report.Components.IStiSimpleBorder,n=function(){function t(){}return t.getBorderContentRect=function(t,n,i){void 0===i&&(i=!0);var o=n.stimulsoft.as(r);if(null!=o&&null==o.border2)return t;return this.getBorderContentRect2(t,o.border2,e.StiElementScale.factor(n),i)},t.getBorderContentRect2=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.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;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"IndividualColor":this.individualColor=i.Deserialize.color(o.textContent);break;case"Colors":this.colors=t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(o.textContent);break;case"HeatmapColors":this.heatmapColors=t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(o.textContent);break;case"DefaultColor":this.defaultColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"BackColor":this.backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"BorderSize":this.borderSize=o.textContent.stimulsoft.toNumber();break;case"BorderColor":this.borderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"LabelShadowForeground":this.labelShadowForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break;case"LabelForeground":this.labelForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent);break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiMapStyle},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"individualColor",{get:function(){return this._individualColor},set:function(t){this._individualColor=t},enumerable:!1,configurable:!0}),s.prototype.getStyleFromComponent=function(t,r){if(r!=e.StiStyleElements.All)throw new n("StiCrossTabStyle support only StiStyleElements.All.");var i=t.stimulsoft.as(e.Maps.StiMap);if(null==i)return;var o=i.getComponentStyle2().stimulsoft.as(s);if(null==o)return;this.individualColor=o.individualColor,null==o.colors?this.colors=null:this.colors=o.colors.stimulsoft.clone(),null==o.heatmapColors?this.heatmapColors=null:this.heatmapColors=o.heatmapColors.stimulsoft.clone(),this.defaultColor=o.defaultColor,this.backColor=o.backColor,this.borderSize=o.borderSize,this.borderColor=o.borderColor,this.labelShadowForeground=o.labelShadowForeground,this.labelForeground=o.labelForeground},s.prototype.setStyleToComponent=function(t){},s}(r.StiBaseStyle);r.StiMapStyle=s}(r=e.Styles||(e.Styles={}))}(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.allowDashboard=!1,e}return __extends(e,t),Object.defineProperty(e.prototype,"localizeName",{get:function(){return null},enumerable:!1,configurable:!0}),e}(t.Report.Styles.StiMapStyle);e.StiMapStyleFX=n}(r=e.Maps||(e.Maps={}))}(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,D;!function(t){t[t["Auto"]=1]="Auto",t[t["Blue"]=2]="Blue",t[t["Orange"]=3]="Orange",t[t["Green"]=4]="Green",t[t["Turquoise"]=5]="Turquoise",t[t["SlateGray"]=6]="SlateGray",t[t["DarkBlue"]=7]="DarkBlue",t[t["DarkGray"]=8]="DarkGray",t[t["DarkGreen"]=9]="DarkGreen",t[t["DarkTurquoise"]=10]="DarkTurquoise",t[t["Silver"]=11]="Silver",t[t["AliceBlue"]=12]="AliceBlue",t[t["Custom"]=13]="Custom"}(e=t.StiElementStyleIdent||(t.StiElementStyleIdent={})),function(t){t[t["One"]=0]="One",t[t["Multi"]=1]="Multi"}(r=t.StiItemSelectionMode||(t.StiItemSelectionMode={})),function(t){t[t["Single"]=0]="Single",t[t["Range"]=1]="Range",t[t["AutoRange"]=2]="AutoRange"}(n=t.StiDateSelectionMode||(t.StiDateSelectionMode={})),function(t){t[t["Selection"]=0]="Selection",t[t["Variable"]=1]="Variable"}(i=t.StiInitialDateRangeSelectionSource||(t.StiInitialDateRangeSelectionSource={})),function(t){t[t["DayTomorrow"]=0]="DayTomorrow",t[t["DayToday"]=1]="DayToday",t[t["DayYesterday"]=2]="DayYesterday",t[t["WeekNext"]=3]="WeekNext",t[t["WeekCurrent"]=4]="WeekCurrent",t[t["WeekPrevious"]=5]="WeekPrevious",t[t["MonthNext"]=6]="MonthNext",t[t["MonthCurrent"]=7]="MonthCurrent",t[t["MonthPrevious"]=8]="MonthPrevious",t[t["QuarterNext"]=9]="QuarterNext",t[t["QuarterCurrent"]=10]="QuarterCurrent",t[t["QuarterPrevious"]=11]="QuarterPrevious",t[t["QuarterFirst"]=12]="QuarterFirst",t[t["QuarterSecond"]=13]="QuarterSecond",t[t["QuarterThird"]=14]="QuarterThird",t[t["QuarterFourth"]=15]="QuarterFourth",t[t["YearNext"]=16]="YearNext",t[t["YearCurrent"]=17]="YearCurrent",t[t["YearPrevious"]=18]="YearPrevious",t[t["Last7Days"]=19]="Last7Days",t[t["Last14Days"]=20]="Last14Days",t[t["Last30Days"]=21]="Last30Days",t[t["DateToWeek"]=22]="DateToWeek",t[t["DateToMonth"]=23]="DateToMonth",t[t["DateToQuarter"]=24]="DateToQuarter",t[t["DateToYear"]=25]="DateToYear"}(o=t.StiInitialDateRangeSelection||(t.StiInitialDateRangeSelection={})),function(t){t[t["Pie"]=0]="Pie",t[t["Circle"]=1]="Circle",t[t["DataBars"]=2]="DataBars"}(a=t.StiProgressElementMode||(t.StiProgressElementMode={})),function(t){t[t["EqualTo"]=0]="EqualTo",t[t["NotEqualTo"]=1]="NotEqualTo",t[t["GreaterThan"]=2]="GreaterThan",t[t["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",t[t["LessThan"]=4]="LessThan",t[t["LessThanOrEqualTo"]=5]="LessThanOrEqualTo"}(s=t.StiDateCondition||(t.StiDateCondition={})),function(t){t[t["AutoSize"]=0]="AutoSize",t[t["Fit"]=1]="Fit"}(l=t.StiTableSizeMode||(t.StiTableSizeMode={})),function(t){t[t["None"]=0]="None",t[t["Center"]=1]="Center",t[t["InsideBase"]=2]="InsideBase",t[t["InsideEnd"]=3]="InsideEnd",t[t["Left"]=4]="Left",t[t["Outside"]=5]="Outside",t[t["OutsideBase"]=6]="OutsideBase",t[t["OutsideEnd"]=7]="OutsideEnd",t[t["OutsideLeft"]=8]="OutsideLeft",t[t["OutsideRight"]=9]="OutsideRight",t[t["Right"]=10]="Right",t[t["TwoColumns"]=11]="TwoColumns",t[t["Value"]=12]="Value",t[t["Total"]=13]="Total"}(u=t.StiChartLabelsPosition||(t.StiChartLabelsPosition={})),function(t){t[t["Chart"]=1]="Chart",t[t["Gauge"]=2]="Gauge",t[t["Image"]=3]="Image",t[t["Indicator"]=4]="Indicator",t[t["OnlineMap"]=5]="OnlineMap",t[t["Page"]=6]="Page",t[t["PivotTable"]=7]="PivotTable",t[t["Progress"]=8]="Progress",t[t["RegionMap"]=9]="RegionMap",t[t["Table"]=10]="Table",t[t["TableColumn"]=11]="TableColumn",t[t["Text"]=12]="Text"}(c=t.StiInteractionIdent||(t.StiInteractionIdent={})),function(t){t[t["ShowToolTip"]=1]="ShowToolTip",t[t["ShowHyperlink"]=2]="ShowHyperlink",t[t["None"]=0]="None",t[t["All"]=3]="All"}(p=t.StiAvailableInteractionOnHover||(t.StiAvailableInteractionOnHover={})),function(t){t[t["ShowDashboard"]=1]="ShowDashboard",t[t["OpenHyperlink"]=2]="OpenHyperlink",t[t["ApplyFilter"]=4]="ApplyFilter",t[t["DrillDown"]=8]="DrillDown",t[t["None"]=0]="None",t[t["All"]=15]="All"}(h=t.StiAvailableInteractionOnClick||(t.StiAvailableInteractionOnClick={})),function(t){t[t["AllowSorting"]=1]="AllowSorting",t[t["AllowFiltering"]=2]="AllowFiltering",t[t["AllowDrillDown"]=4]="AllowDrillDown",t[t["All"]=7]="All",t[t["None"]=0]="None"}(m=t.StiAvailableInteractionOnDataManipulation||(t.StiAvailableInteractionOnDataManipulation={})),function(t){t[t["None"]=0]="None",t[t["ShowToolTip"]=1]="ShowToolTip",t[t["ShowHyperlink"]=2]="ShowHyperlink"}(f=t.StiInteractionOnHover||(t.StiInteractionOnHover={})),function(t){t[t["None"]=0]="None",t[t["ShowDashboard"]=1]="ShowDashboard",t[t["OpenHyperlink"]=2]="OpenHyperlink",t[t["ApplyFilter"]=3]="ApplyFilter",t[t["DrillDown"]=4]="DrillDown"}(d=t.StiInteractionOnClick||(t.StiInteractionOnClick={})),function(t){t[t["NewTab"]=0]="NewTab",t[t["CurrectTab"]=1]="CurrectTab"}(g=t.StiInteractionOpenHyperlinkDestination||(t.StiInteractionOpenHyperlinkDestination={})),function(t){t[t["None"]=0]="None",t[t["Rename"]=1]="Rename",t[t["Delete"]=2]="Delete",t[t["ClearAll"]=3]="ClearAll"}(S=t.StiElementMeterAction||(t.StiElementMeterAction={})),function(t){t[t["Auto"]=0]="Auto",t[t["AdminDivision1"]=1]="AdminDivision1",t[t["AdminDivision2"]=2]="AdminDivision2",t[t["CountryRegion"]=3]="CountryRegion",t[t["Neighborhood"]=4]="Neighborhood",t[t["PopulatedPlace"]=5]="PopulatedPlace",t[t["Postcode1"]=6]="Postcode1",t[t["Postcode2"]=7]="Postcode2",t[t["Postcode3"]=8]="Postcode3",t[t["Postcode4"]=9]="Postcode4"}(y=t.StiOnlineMapLocationType||(t.StiOnlineMapLocationType={})),function(t){t[t["Single"]=0]="Single",t[t["ColorEach"]=1]="ColorEach",t[t["Group"]=2]="Group",t[t["Value"]=3]="Value"}(A=t.StiOnlineMapLocationColorType||(t.StiOnlineMapLocationColorType={})),function(t){t[t["Bubble"]=0]="Bubble",t[t["Value"]=1]="Value",t[t["Icon"]=2]="Icon",t[t["Chart"]=3]="Chart"}(b=t.StiOnlineMapValueViewMode||(t.StiOnlineMapValueViewMode={})),function(t){t[t["ar_SA"]=0]="ar_SA",t[t["eu"]=1]="eu",t[t["bg"]=2]="bg",t[t["bg_BG"]=3]="bg_BG",t[t["ca"]=4]="ca",t[t["ku_Arab"]=5]="ku_Arab",t[t["zh_CN"]=6]="zh_CN",t[t["zh_HK"]=7]="zh_HK",t[t["zh_Hans"]=8]="zh_Hans",t[t["zh_TW"]=9]="zh_TW",t[t["zh_Hant"]=10]="zh_Hant",t[t["cs"]=11]="cs",t[t["cs_CZ"]=12]="cs_CZ",t[t["da"]=13]="da",t[t["da_DK"]=14]="da_DK",t[t["nl_BE"]=15]="nl_BE",t[t["nl"]=16]="nl",t[t["nl_NL"]=17]="nl_NL",t[t["en_AU"]=18]="en_AU",t[t["en_CA"]=19]="en_CA",t[t["en_IN"]=20]="en_IN",t[t["en_GB"]=21]="en_GB",t[t["en_US"]=22]="en_US",t[t["fi"]=23]="fi",t[t["fi_FI"]=24]="fi_FI",t[t["fr_BE"]=25]="fr_BE",t[t["fr_CA"]=26]="fr_CA",t[t["fr"]=27]="fr",t[t["fr_FR"]=28]="fr_FR",t[t["fr_CH"]=29]="fr_CH",t[t["gl"]=30]="gl",t[t["de"]=31]="de",t[t["de_DE"]=32]="de_DE",t[t["el"]=33]="el",t[t["he"]=34]="he",t[t["he_IL"]=35]="he_IL",t[t["hi"]=36]="hi",t[t["hi_IN"]=37]="hi_IN",t[t["hu"]=38]="hu",t[t["hu_HU"]=39]="hu_HU",t[t["is_IS"]=40]="is_IS",t[t["it"]=41]="it",t[t["it_IT"]=42]="it_IT",t[t["ja"]=43]="ja",t[t["ja_JP"]=44]="ja_JP",t[t["ko"]=45]="ko",t[t["Ko_KR"]=46]="Ko_KR",t[t["ky_Cyrl"]=47]="ky_Cyrl",t[t["lv"]=48]="lv",t[t["lv_LV"]=49]="lv_LV",t[t["lt"]=50]="lt",t[t["lt_LT"]=51]="lt_LT",t[t["nb"]=52]="nb",t[t["nb_NO"]=53]="nb_NO",t[t["nn"]=54]="nn",t[t["pl"]=55]="pl",t[t["pl_PL"]=56]="pl_PL",t[t["pt_BR"]=57]="pt_BR",t[t["pt_P"]=58]="pt_P",t[t["ru"]=59]="ru",t[t["ru_RU"]=60]="ru_RU",t[t["es_MX"]=61]="es_MX",t[t["es"]=62]="es",t[t["es_ES"]=63]="es_ES",t[t["es_US"]=64]="es_US",t[t["sv"]=65]="sv",t[t["sv_SE"]=66]="sv_SE",t[t["tt_Cyrl"]=67]="tt_Cyrl",t[t["th"]=68]="th",t[t["th_TH"]=69]="th_TH",t[t["tr"]=70]="tr",t[t["tr_TR"]=71]="tr_TR",t[t["uk"]=72]="uk",t[t["uk_UA"]=73]="uk_UA",t[t["ug_Arab"]=74]="ug_Arab",t[t["ca_ES_valencia"]=75]="ca_ES_valencia",t[t["vi"]=76]="vi",t[t["vi_VN"]=77]="vi_VN"}(v=t.StiOnlineMapCulture||(t.StiOnlineMapCulture={})),function(t){t[t["None"]=0]="None",t[t["Left"]=1]="Left",t[t["Right"]=2]="Right",t[t["Top"]=3]="Top",t[t["Bottom"]=4]="Bottom"}(C=t.StiIconAlignment||(t.StiIconAlignment={})),function(t){t[t["Value"]=0]="Value",t[t["Series"]=1]="Series",t[t["Target"]=2]="Target",t[t["Variation"]=3]="Variation"}(w=t.StiIndicatorFieldCondition||(t.StiIndicatorFieldCondition={})),function(t){t[t["None"]=0]="None",t[t["Font"]=1]="Font",t[t["FontSize"]=2]="FontSize",t[t["FontStyleBold"]=4]="FontStyleBold",t[t["FontStyleItalic"]=8]="FontStyleItalic",t[t["FontStyleUnderline"]=16]="FontStyleUnderline",t[t["FontStyleStrikeout"]=32]="FontStyleStrikeout",t[t["TextColor"]=64]="TextColor",t[t["BackColor"]=128]="BackColor",t[t["Borders"]=256]="Borders",t[t["Icon"]=512]="Icon",t[t["TargetIcon"]=1024]="TargetIcon",t[t["All"]=2047]="All"}(B=t.StiIndicatorConditionPermissions||(t.StiIndicatorConditionPermissions={})),function(t){t[t["Percentage"]=0]="Percentage",t[t["Variation"]=1]="Variation"}(I=t.StiTargetMode||(t.StiTargetMode={})),function(t){t[t["None"]=0]="None",t[t["Exponential"]=1]="Exponential",t[t["Linear"]=2]="Linear",t[t["Logarithmic"]=3]="Logarithmic"}(T=t.StiChartTrendLineType||(t.StiChartTrendLineType={})),function(t){t[t["Gap"]=0]="Gap",t[t["Zero"]=1]="Zero",t[t["ConnectPointsWithLine"]=2]="ConnectPointsWithLine"}(E=t.StiEmptyCellsAs||(t.StiEmptyCellsAs={})),function(t){t[t["Auto"]=0]="Auto",t[t["Value"]=1]="Value",t[t["Target"]=2]="Target"}(R=t.StiFontSizeMode||(t.StiFontSizeMode={})),function(t){t[t["Outside"]=0]="Outside",t[t["Inside"]=1]="Inside"}(D=t.StiLabelPlacement||(t.StiLabelPlacement={}))}(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.Base.Drawing.StiColor,n=t.Report.Dashboard.StiElementStyleIdent,i=t.Base.Localization.StiLocalization,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return n.DarkGreen},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style34},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return i.get("Chart","Style")+"34"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return r.get("e3911c")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return r.get("e3c08e")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[r.get("144b45"),r.get("ecb92f"),r.get("d66153"),r.get("25775b"),r.get("319491"),r.get("f7f7f7"),r.get("dd7c21")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[r.get("#539790"),r.get("#264945")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return r.get("#e3c08e")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return r.get("#3f745e")},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap34StyleFX=o}(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.Drawing.StiColor,n=t.Report.Dashboard.StiElementStyleIdent,i=t.Base.Localization.StiLocalization,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return n.AliceBlue},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style33},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return i.get("Chart","Style")+"33"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return r.get("647cb9")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return r.get("40568d")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[r.get("40568d"),r.get("4569bb"),r.get("e47334"),r.get("9d9c9c"),r.get("f8b92d"),r.get("5e93cc"),r.get("6ea548")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[r.get("40568d"),r.get("ccd5f0")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return r.get("#40568d")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return r.get("#ffffff")},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap33StyleFX=o}(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.Drawing.StiColor,n=t.Report.Dashboard.StiElementStyleIdent,i=t.Base.Localization.StiLocalization,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return n.Silver},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style32},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return i.get("Chart","Style")+"32"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return r.get("bb8698a2")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return r.get("3a5263")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[r.get("3a5263"),r.get("90a1ab"),r.get("c9d5dc")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[r.get("3a5263"),r.get("c9d5dc")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return r.get("#fefef9")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return r.get("#6d7e8b")},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap32StyleFX=o}(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.Drawing.StiColor,n=t.Report.Dashboard.StiElementStyleIdent,i=t.Base.Localization.StiLocalization,o=t.System.Drawing.ColorTranslator,a=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(a,t),Object.defineProperty(a.prototype,"styleIdent",{get:function(){return n.DarkTurquoise},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style31},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizeName",{get:function(){return i.get("Chart","Style")+"31"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"borderColor",{get:function(){return r.get("aa1c4458")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"individualColor",{get:function(){return r.get("#5ea8bf")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"colors",{get:function(){return[o.fromHtml("#fefef9"),o.fromHtml("#a8d7e2"),o.fromHtml("#5ea8bf"),o.fromHtml("#2b7f9e"),o.fromHtml("#1c4458")]},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"heatmapColors",{get:function(){return[o.fromHtml("#a8d7e2"),o.fromHtml("#1c4458")]},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultColor",{get:function(){return r.get("#fefef9")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"backColor",{get:function(){return r.get("#235e6d")},enumerable:!1,configurable:!0}),a}(e.StiMapStyleFX);e.StiMap31StyleFX=a}(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.Drawing.StiColor,n=t.Report.Dashboard.StiElementStyleIdent,i=t.Base.Localization.StiLocalization,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return n.DarkGray},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return i.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style30},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return i.get("Chart","Style")+"30"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return r.get("aadb7b46")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return r.get("#4a4c55")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[r.get("#db7b46"),r.get("#d3d3d5"),r.get("#6b6e75"),r.get("#4a4c55")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[r.get("#d3d3d5"),r.get("#4a4c55")]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return r.get("#d0d0d0")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return r.get("#595b65")},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap30StyleFX=o}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=t.Base.Drawing.StiColor,a=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(a,t),Object.defineProperty(a.prototype,"styleIdent",{get:function(){return r.Blue},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style29},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"29"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"colors",{get:function(){return[i.fromHtml("#3498db"),i.fromHtml("#ef717a"),i.fromHtml("#6dcbb3"),i.fromHtml("#f28161"),i.fromHtml("#fccd1b")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"individualColor",{get:function(){return o.get("#3498db")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#3498db"),i.fromHtml("#ef717a")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultColor",{get:function(){return i.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"backColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"borderColor",{get:function(){return i.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),a}(e.StiMapStyleFX);e.StiMap29StyleFX=a}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=t.Base.Drawing.StiColor,a=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(a,t),Object.defineProperty(a.prototype,"styleIdent",{get:function(){return r.DarkBlue},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style28},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"28"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"colors",{get:function(){return[i.fromHtml("#165d9e"),i.fromHtml("#577eb6"),i.fromHtml("#569436"),i.fromHtml("#225056"),i.fromHtml("#d4dae0")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"individualColor",{get:function(){return o.get("#165d9e")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#165d9e"),i.fromHtml("#569436")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"backColor",{get:function(){return i.fromHtml("#0a325a")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"borderColor",{get:function(){return i.fromHtml("#99bbbbbb")},set:function(t){},enumerable:!1,configurable:!0}),a}(e.StiMapStyleFX);e.StiMap28StyleFX=a}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return r.SlateGray},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style27},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"27"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return i.fromHtml("#0bac45")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return i.fromHtml("#bb33475b")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[i.fromHtml("#0bac45"),i.fromHtml("#585257"),i.fromHtml("#ec334d"),i.fromHtml("#a1ae94"),i.fromHtml("#ed7d31"),i.fromHtml("#5ab0ee")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#0bac45"),i.fromHtml("#ec334d")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return i.fromHtml("#33475B")},set:function(t){},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap27StyleFX=o}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return r.Turquoise},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style26},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"26"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return i.fromHtml("#2ec6c8")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return i.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[i.fromHtml("#2ec6c8"),i.fromHtml("#b5a1dd"),i.fromHtml("#5ab0ee"),i.fromHtml("#f4984e"),i.fromHtml("#d77a80"),i.fromHtml("#d04456")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#2ec6c8"),i.fromHtml("#f4984e")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return i.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap26StyleFX=o}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return r.Green},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style25},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"25"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return i.fromHtml("#70ad47")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return i.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[i.fromHtml("#70ad47"),i.fromHtml("#4472c4"),i.fromHtml("#ffc000"),i.fromHtml("#43682b"),i.fromHtml("#fd6a37"),i.fromHtml("#997300")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#70ad47"),i.fromHtml("#ffc000")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return i.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap25StyleFX=o}(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.Dashboard.StiElementStyleIdent,n=t.Base.Localization.StiLocalization,i=t.System.Drawing.ColorTranslator,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.allowDashboard=!0,e}return __extends(o,t),Object.defineProperty(o.prototype,"styleIdent",{get:function(){return r.Orange},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dashboardName",{get:function(){return n.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return e.StiMapStyleIdent.Style24},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizeName",{get:function(){return n.get("Chart","Style")+"24"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"individualColor",{get:function(){return i.fromHtml("#ed7d31")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colors",{get:function(){return[i.fromHtml("#ed7d31"),i.fromHtml("#ffc000"),i.fromHtml("#70ad47"),i.fromHtml("#9e480e"),i.fromHtml("#997300"),i.fromHtml("#43682b")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"heatmapColors",{get:function(){return[i.fromHtml("#ed7d31"),i.fromHtml("#70ad47")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultColor",{get:function(){return i.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"backColor",{get:function(){return i.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return i.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),o}(e.StiMapStyleFX);e.StiMap24StyleFX=o}(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.Drawing.Font,n=t.System.Drawing.FontStyle,i=t.Base.Dashboard.StiElementConsts,o=t.Base.Drawing.StiColorUtils,a=t.System.Drawing.ColorTranslator,s=t.System.Drawing.Color,l=t.Base.StiJsonReportObjectHelper,u=function(e){function u(){var t=null!==e&&e.apply(this,arguments)||this;return t.font=new r("Arial",8),t.foreColor=s.black,t.backColor=s.white,t.glyphColor=s.dimGray,t.separatorColor=s.lightGray,t.selectedBackColor=a.fromHtml("#3498db"),t.selectedForeColor=s.white,t.selectedGlyphColor=s.white,t.hotBackColor=o.light(s.lightGray,15),t.hotForeColor=i.ForegroundColor,t.hotGlyphColor=i.ForegroundColor,t.hotSelectedBackColor=o.light(a.fromHtml("#3498db"),30),t.hotSelectedForeColor=s.white,t.hotSelectedGlyphColor=s.white,t.allowUseFont=!0,t.allowUseBackColor=!0,t.allowUseForeColor=!0,t}return __extends(u,e),u.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyStringNullOrEmpty("ForeColor",l.Serialize.jColor(this.foreColor,s.black)),r.addPropertyStringNullOrEmpty("BackColor",l.Serialize.jColor(this.backColor,s.white)),r.addPropertyStringNullOrEmpty("GlyphColor",l.Serialize.jColor(this.glyphColor,s.dimGray)),r.addPropertyStringNullOrEmpty("SeparatorColor",l.Serialize.jColor(this.separatorColor,s.lightGray)),r.addPropertyStringNullOrEmpty("SelectedBackColor",l.Serialize.jColor(this.selectedBackColor,a.fromHtml("#3498db"))),r.addPropertyStringNullOrEmpty("SelectedForeColor",l.Serialize.jColor(this.selectedForeColor,s.white)),r.addPropertyStringNullOrEmpty("SelectedGlyphColor",l.Serialize.jColor(this.selectedGlyphColor,s.white)),r.addPropertyStringNullOrEmpty("HotBackColor",l.Serialize.jColor(this.hotBackColor,o.light(s.lightGray,15))),r.addPropertyStringNullOrEmpty("HotForeColor",l.Serialize.jColor(this.hotForeColor,i.ForegroundColor)),r.addPropertyStringNullOrEmpty("HotGlyphColor",l.Serialize.jColor(this.hotGlyphColor,i.ForegroundColor)),r.addPropertyStringNullOrEmpty("HotSelectedBackColor",l.Serialize.jColor(this.hotSelectedBackColor,o.light(a.fromHtml("#3498db"),30))),r.addPropertyStringNullOrEmpty("HotSelectedForeColor",l.Serialize.jColor(this.hotSelectedForeColor,s.white)),r.addPropertyStringNullOrEmpty("HotSelectedGlyphColor",l.Serialize.jColor(this.hotSelectedGlyphColor,s.white)),r.addPropertyBool("AllowUseFont",this.allowUseFont,!0),r.addPropertyBool("AllowUseBackColor",this.allowUseBackColor,!0),r.addPropertyBool("AllowUseForeColor",this.allowUseForeColor,!0),r.addPropertyStringNullOrEmpty("Font",l.Serialize.fontArial8(this.font)),r},u.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"ForeColor":this.foreColor=l.Deserialize.color(a.value);break;case"BackColor":this.backColor=l.Deserialize.color(a.value);break;case"GlyphColor":this.glyphColor=l.Deserialize.color(a.value);break;case"SeparatorColor":this.separatorColor=l.Deserialize.color(a.value);break;case"SelectedBackColor":this.selectedBackColor=l.Deserialize.color(a.value);break;case"SelectedForeColor":this.selectedForeColor=l.Deserialize.color(a.value);break;case"SelectedGlyphColor":this.selectedGlyphColor=l.Deserialize.color(a.value);break;case"HotBackColor":this.hotBackColor=l.Deserialize.color(a.value);break;case"HotForeColor":this.hotForeColor=l.Deserialize.color(a.value);break;case"HotGlyphColor":this.hotGlyphColor=l.Deserialize.color(a.value);break;case"HotSelectedBackColor":this.hotSelectedBackColor=l.Deserialize.color(a.value);break;case"HotSelectedForeColor":this.hotSelectedForeColor=l.Deserialize.color(a.value);break;case"HotSelectedGlyphColor":this.hotSelectedGlyphColor=l.Deserialize.color(a.value);break;case"AllowUseFont":this.allowUseFont=a.value.stimulsoft.toBoolean();break;case"AllowUseBackColor":this.allowUseBackColor=a.value.stimulsoft.toBoolean();break;case"AllowUseForeColor":this.allowUseForeColor=a.value.stimulsoft.toBoolean();break;case"Font":this.font=l.Deserialize.font(a.value,this.font);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(r){e.prototype.loadFromXml.call(this,r);for(var n=0;n<r.childNodes.length;n++){var i=r.childNodes[n];switch(i.nodeName){case"ForeColor":this.foreColor=l.Deserialize.color(i.textContent);break;case"BackColor":this.backColor=l.Deserialize.color(i.textContent);break;case"GlyphColor":this.glyphColor=l.Deserialize.color(i.textContent);break;case"SeparatorColor":this.separatorColor=l.Deserialize.color(i.textContent);break;case"SelectedBackColor":this.selectedBackColor=l.Deserialize.color(i.textContent);break;case"SelectedForeColor":this.selectedForeColor=l.Deserialize.color(i.textContent);break;case"SelectedGlyphColor":this.selectedGlyphColor=l.Deserialize.color(i.textContent);break;case"HotBackColor":this.hotBackColor=l.Deserialize.color(i.textContent);break;case"HotForeColor":this.hotForeColor=l.Deserialize.color(i.textContent);break;case"HotGlyphColor":this.hotGlyphColor=l.Deserialize.color(i.textContent);break;case"HotSelectedBackColor":this.hotSelectedBackColor=l.Deserialize.color(i.textContent);break;case"HotSelectedForeColor":this.hotSelectedForeColor=l.Deserialize.color(i.textContent);break;case"HotSelectedGlyphColor":this.hotSelectedGlyphColor=l.Deserialize.color(i.textContent);break;case"AllowUseFont":this.allowUseFont=i.textContent.stimulsoft.toBoolean();break;case"AllowUseBackColor":this.allowUseBackColor=i.textContent.stimulsoft.toBoolean();break;case"AllowUseForeColor":this.allowUseForeColor=i.textContent.stimulsoft.toBoolean();break;case"Font":this.font=t.System.Convert.toFont(i.textContent);break}}},u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.font=this.font.clone(),t},u.prototype.stimulsofthouldSerializeFont=function(){return!(null!=this.font&&"Arial"==this.font.name&&8==this.font.size&&this.font.style==n.Regular)},u.prototype.shouldSerializeForeColor=function(){return!s.black.stimulsoft.equals(this.foreColor)},u.prototype.shouldSerializeBackColor=function(){return!s.white.stimulsoft.equals(this.backColor)},u.prototype.shouldSerializeGlyphColor=function(){return!s.dimGray.stimulsoft.equals(this.glyphColor)},u.prototype.shouldSerializeSeparatorColor=function(){return!s.lightGray.stimulsoft.equals(this.separatorColor)},u.prototype.shouldSerializeSelectedBackColor=function(){return!a.fromHtml("#3498db").stimulsoft.equals(this.selectedBackColor)},u.prototype.shouldSerializeSelectedForeColor=function(){return!s.white.stimulsoft.equals(this.selectedForeColor)},u.prototype.shouldSerializeSelectedGlyphColor=function(){return!s.white.stimulsoft.equals(this.selectedGlyphColor)},u.prototype.shouldSerializeHotBackColor=function(){return this.hotBackColor!=o.light(s.lightGray,15)},u.prototype.shouldSerializeHotForeColor=function(){return this.hotForeColor!=i.ForegroundColor},u.prototype.shouldSerializeHotGlyphColor=function(){return this.hotGlyphColor!=i.ForegroundColor},u.prototype.shouldSerializeHotSelectedBackColor=function(){return this.hotSelectedBackColor!=o.light(a.fromHtml("#3498db"),30)},u.prototype.shouldSerializeHotSelectedForeColor=function(){return!s.white.stimulsoft.equals(this.hotSelectedForeColor)},u.prototype.shouldSerializeHotSelectedGlyphColor=function(){return!s.white.stimulsoft.equals(this.hotSelectedGlyphColor)},u.prototype.getStyleFromComponent=function(t,e,r){void 0===r&&(r=null)},u.prototype.setStyleToComponent=function(t){},u}(e.StiBaseStyle);e.StiDialogStyle=u}(r=e.Styles||(e.Styles={}))}(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(e){function n(t,r,n){void 0===t&&(t=""),void 0===r&&(r="");var a=e.call(this,t,r,n)||this;return a.backColor=o.transparent,a.dataColor=o.white,a.dataForeground=i.fromHtml("#222"),a.selectedDataColor=i.fromHtml("#3498db"),a.selectedDataForeground=o.white,a.alternatingDataColor=i.fromHtml("#eee"),a.alternatingDataForeground=i.fromHtml("#222"),a.headerColor=i.fromHtml("#3498db"),a.headerForeground=o.white,a.hotHeaderColor=o.transparent,a.footerColor=o.white,a.footerForeground=o.black,a.gridColor=o.gainsboro,a}return __extends(n,e),n.prototype.saveToJsonObject=function(t){var n=e.prototype.saveToJsonObject.call(this,t);return n.addPropertyStringNullOrEmpty("BackColor",r.Serialize.jColor(this.backColor,o.transparent)),n.addPropertyStringNullOrEmpty("DataColor",r.Serialize.jColor(this.dataColor,o.white)),n.addPropertyStringNullOrEmpty("DataForeground",r.Serialize.jColor(this.dataForeground,i.fromHtml("#222"))),n.addPropertyStringNullOrEmpty("SelectedDataColor",r.Serialize.jColor(this.selectedDataColor,i.fromHtml("#3498db"))),n.addPropertyStringNullOrEmpty("SelectedDataForeground",r.Serialize.jColor(this.selectedDataForeground,o.white)),n.addPropertyStringNullOrEmpty("AlternatingDataColor",r.Serialize.jColor(this.alternatingDataColor,i.fromHtml("#eee"))),n.addPropertyStringNullOrEmpty("AlternatingDataForeground",r.Serialize.jColor(this.alternatingDataForeground,i.fromHtml("#222"))),n.addPropertyStringNullOrEmpty("HeaderColor",r.Serialize.jColor(this.headerColor,i.fromHtml("#3498db"))),n.addPropertyStringNullOrEmpty("HeaderForeground",r.Serialize.jColor(this.headerForeground,o.white)),n.addPropertyStringNullOrEmpty("HotHeaderColor",r.Serialize.jColor(this.hotHeaderColor,o.transparent)),n.addPropertyStringNullOrEmpty("FooterColor",r.Serialize.jColor(this.footerColor,o.white)),n.addPropertyStringNullOrEmpty("FooterForeground",r.Serialize.jColor(this.footerForeground,o.black)),n.addPropertyStringNullOrEmpty("GridColor",r.Serialize.jColor(this.gridColor,o.black)),n},n.prototype.loadFromJsonObject=function(t){var n,i;e.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"DataColor":this.dataColor=r.Deserialize.color(s.value);break;case"DataForeground":this.dataForeground=r.Deserialize.color(s.value);break;case"SelectedDataColor":this.selectedDataColor=r.Deserialize.color(s.value);break;case"SelectedDataForeground":this.selectedDataForeground=r.Deserialize.color(s.value);break;case"AlternatingDataColor":this.alternatingDataColor=r.Deserialize.color(s.value);break;case"AlternatingDataForeground":this.alternatingDataForeground=r.Deserialize.color(s.value);break;case"HeaderColor":this.headerColor=r.Deserialize.color(s.value);break;case"HeaderForeground":this.headerForeground=r.Deserialize.color(s.value);break;case"HotHeaderColor":this.hotHeaderColor=r.Deserialize.color(s.value);break;case"FooterColor":this.footerColor=r.Deserialize.color(s.value);break;case"FooterForeground":this.footerForeground=r.Deserialize.color(s.value);break;case"GridColor":this.gridColor=r.Deserialize.color(s.value);break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},n.prototype.loadFromXml=function(r){e.prototype.loadFromXml.call(this,r);for(var n=0;n<r.childNodes.length;n++){var i=r.childNodes[n];switch(i.nodeName){case"BackColor":this.backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"DataColor":this.dataColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"DataForeground":this.dataForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"SelectedDataColor":this.selectedDataColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"SelectedDataForeground":this.selectedDataForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"AlternatingDataColor":this.alternatingDataColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"AlternatingDataForeground":this.alternatingDataForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"HeaderColor":this.headerColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"HeaderForeground":this.headerForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"HotHeaderColor":this.hotHeaderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"FooterColor":this.footerColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"FooterForeground":this.footerForeground=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"GridColor":this.gridColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break}}},n.prototype.getColor=function(t){return o.white.stimulsoft.equals(t)?o.fromArgb(180,255,255,255):t},n.prototype.getStyleFromComponent=function(t,e){},n.prototype.setStyleToComponent=function(t){},n}(n);e.StiTableStyle=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.Base.Drawing.StiSolidBrush,o=t.Base.Drawing.StiBrush,a=t.Base.Drawing.StiBorder,s=t.System.Drawing.Color,l=t.Base.StiJsonReportObjectHelper,u=t.System.Enum,c=t.Report.StiBrushType,p=t.Report.Components.IStiBorder,h=t.Report.Components.IStiBrush,m=t.Report.Components.IStiBackColor,f=function(f){function d(){var t=null!==f&&f.apply(this,arguments)||this;return t.border=new a,t.brush=new i(s.transparent),t.chartAreaBrush=new i(s.white),t.chartAreaBorderColor=s.fromArgb(171,172,173),t.chartAreaShowShadow=!1,t.seriesLighting=!1,t.seriesShowShadow=!1,t.seriesShowBorder=!1,t.seriesLabelsLineColor=s.fromArgb(140,140,140),t.trendLineColor=s.fromArgb(140,140,140),t.trendLineShowShadow=!1,t.seriesLabelsBrush=new i(s.white),t.seriesLabelsColor=s.fromArgb(90,90,90),t.seriesLabelsBorderColor=s.fromArgb(140,140,140),t.legendBrush=new i(s.white),t.legendLabelsColor=s.fromArgb(140,140,140),t.legendBorderColor=s.fromArgb(105,105,105),t.legendTitleColor=s.fromArgb(105,105,105),t.axisTitleColor=s.fromArgb(140,140,140),t.axisLineColor=s.fromArgb(140,140,140),t.axisLabelsColor=s.fromArgb(140,140,140),t.markerVisible=!0,t.interlacingHorBrush=new i(s.fromArgb(10,155,155,155)),t.interlacingVertBrush=new i(s.fromArgb(10,155,155,155)),t.gridLinesHorColor=s.fromArgb(100,105,105,105),t.gridLinesVertColor=s.fromArgb(100,105,105,105),t.brushType=c.Solid,t.styleColors=[s.fromArgb(112,173,71),s.fromArgb(68,114,196),s.fromArgb(255,192,0),s.fromArgb(67,104,43),s.fromArgb(253,106,55),s.fromArgb(153,115,0)],t.basicStyleColor=s.whiteSmoke,t.allowUseBorderFormatting=!0,t.allowUseBorderSides=!0,t.allowUseBrush=!0,t}return __extends(d,f),d.prototype.saveToJsonObject=function(t){var e=f.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("Border",l.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",l.Serialize.jBrush(this.brush)),e.addPropertyEnum("BrushType",c,this.brushType,c.Glare),e.addPropertyJObject("StyleColors",l.Serialize.colorArray(this.styleColors)),e.addPropertyStringNullOrEmpty("BasicStyleColor",l.Serialize.jColor(this.basicStyleColor,s.whiteSmoke)),e.addPropertyBool("AllowUseBorderFormatting",this.allowUseBorderFormatting,!0),e.addPropertyBool("AllowUseBorderSides",this.allowUseBorderSides,!0),e.addPropertyBool("AllowUseBrush",this.allowUseBrush,!0),e.addPropertyStringNullOrEmpty("ChartAreaBrush",l.Serialize.jBrush(this.chartAreaBrush)),e.addPropertyStringNullOrEmpty("ChartAreaBorderColor",l.Serialize.jColor(this.chartAreaBorderColor,s.fromArgb(171,172,173))),e.addPropertyBool("ChartAreaShowShadow",this.chartAreaShowShadow),e.addPropertyStringNullOrEmpty("SeriesLabelsBrush",l.Serialize.jBrush(this.seriesLabelsBrush)),e.addPropertyStringNullOrEmpty("SeriesLabelsColor",l.Serialize.jColor(this.seriesLabelsColor,s.fromArgb(90,90,90))),e.addPropertyStringNullOrEmpty("SeriesLabelsLineColor",l.Serialize.jColor(this.seriesLabelsLineColor,s.fromArgb(140,140,140))),e.addPropertyStringNullOrEmpty("SeriesLabelsBorderColor",l.Serialize.jColor(this.seriesLabelsBorderColor,s.fromArgb(90,90,90))),e.addPropertyBool("SeriesShowShadow",this.seriesShowShadow),e.addPropertyBool("SeriesShowBorder",this.seriesShowBorder),e.addPropertyBool("SeriesLighting",this.seriesLighting),e.addPropertyStringNullOrEmpty("TrendLineColor",l.Serialize.jColor(this.trendLineColor,s.fromArgb(140,140,140))),e.addPropertyBool("TrendLineShowShadow",this.trendLineShowShadow),e.addPropertyStringNullOrEmpty("LegendBrush",l.Serialize.jBrush(this.legendBrush)),e.addPropertyStringNullOrEmpty("LegendLabelsColor",l.Serialize.jColor(this.legendLabelsColor,s.fromArgb(140,140,140))),e.addPropertyStringNullOrEmpty("LegendBorderColor",l.Serialize.jColor(this.legendBorderColor,s.fromArgb(105,105,105))),e.addPropertyStringNullOrEmpty("LegendTitleColor",l.Serialize.jColor(this.legendTitleColor,s.fromArgb(105,105,105))),e.addPropertyStringNullOrEmpty("AxisTitleColor",l.Serialize.jColor(this.axisTitleColor,s.fromArgb(140,140,140))),e.addPropertyStringNullOrEmpty("AxisLineColor",l.Serialize.jColor(this.axisLineColor,s.fromArgb(140,140,140))),e.addPropertyStringNullOrEmpty("AxisLabelsColor",l.Serialize.jColor(this.axisLabelsColor,s.fromArgb(140,140,140))),e.addPropertyBool("MarkerVisible",this.markerVisible,!0),e.addPropertyStringNullOrEmpty("InterlacingHorBrush",l.Serialize.jBrush(this.interlacingHorBrush)),e.addPropertyStringNullOrEmpty("InterlacingVertBrush",l.Serialize.jBrush(this.interlacingVertBrush)),e.addPropertyStringNullOrEmpty("GridLinesHorColor",l.Serialize.jColor(this.gridLinesHorColor,s.fromArgb(105,105,105))),e.addPropertyStringNullOrEmpty("GridLinesVertColor",l.Serialize.jColor(this.gridLinesVertColor,s.fromArgb(105,105,105))),e},d.prototype.loadFromJsonObject=function(t){var e,r;f.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"Border":this.border=l.Deserialize.border(o.value);break;case"Brush":this.brush=l.Deserialize.brush(o.value);break;case"BrushType":this.brushType=u.parse(c,o.value);break;case"StyleColors":this.styleColors=l.Deserialize.colorArray(o.value);break;case"BasicStyleColor":this.basicStyleColor=l.Deserialize.color(o.value);break;case"AllowUseBorderFormatting":this.allowUseBorderFormatting=o.value.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this.allowUseBorderSides=o.value.stimulsoft.toBoolean();break;case"ChartAreaBrush":this.chartAreaBrush=l.Deserialize.brush(o.value);break;case"ChartAreaBorderColor":this.chartAreaBorderColor=l.Deserialize.color(o.value);break;case"SeriesLabelsBrush":this.seriesLabelsBrush=l.Deserialize.brush(o.value);break;case"SeriesLabelsColor":this.seriesLabelsColor=l.Deserialize.color(o.value);break;case"SeriesLabelsBorderColor":this.seriesLabelsBorderColor=l.Deserialize.color(o.value);break;case"SeriesShowShadow":this.seriesShowShadow=o.value.stimulsoft.toBoolean();break;case"SeriesShowBorder":this.seriesShowBorder=o.value.stimulsoft.toBoolean();break;case"SeriesLighting":this.seriesLighting=o.value.stimulsoft.toBoolean();break;case"SeriesLabelsLineColor":this.seriesLabelsLineColor=l.Deserialize.color(o.value);break;case"TrendLineColor":this.trendLineColor=l.Deserialize.color(o.value);break;case"TrendLineShowShadow":this.trendLineShowShadow=o.value.stimulsoft.toBoolean();break;case"LegendBrush":this.legendBrush=l.Deserialize.brush(o.value);break;case"LegendLabelsColor":this.legendLabelsColor=l.Deserialize.color(o.value);break;case"LegendBorderColor":this.legendBorderColor=l.Deserialize.color(o.value);break;case"LegendTitleColor":this.legendTitleColor=l.Deserialize.color(o.value);break;case"AxisTitleColor":this.axisTitleColor=l.Deserialize.color(o.value);break;case"AxisLineColor":this.axisLineColor=l.Deserialize.color(o.value);break;case"AxisLabelsColor":this.axisLabelsColor=l.Deserialize.color(o.value);break;case"MarkerVisible":this.markerVisible=o.value.stimulsoft.toBoolean();break;case"InterlacingHorBrush":this.interlacingHorBrush=l.Deserialize.brush(o.value);break;case"InterlacingVertBrush":this.interlacingVertBrush=l.Deserialize.brush(o.value);break;case"GridLinesHorColor":this.gridLinesHorColor=l.Deserialize.color(o.value);break;case"GridLinesVertColor":this.gridLinesVertColor=l.Deserialize.color(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}}},d.prototype.loadFromXml=function(e){f.prototype.loadFromXml.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Border":case"br":this.border=a.loadFromXml(n.textContent);break;case"Brush":case"bh":this.brush=o.loadFromXml(n.textContent);break;case"BrushType":this.brushType=u.parse(c,n.textContent);break;case"StyleColors":this.styleColors=t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(n.textContent);break;case"BasicStyleColor":this.basicStyleColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"AllowUseBorderFormatting":this.allowUseBorderFormatting=n.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this.allowUseBorderSides=n.textContent.stimulsoft.toBoolean();break;case"ChartAreaBrush":this.chartAreaBrush=o.loadFromXml(n.textContent);break;case"ChartAreaBorderColor":this.chartAreaBorderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"SeriesLabelsBrush":this.seriesLabelsBrush=o.loadFromXml(n.textContent);break;case"SeriesLabelsColor":this.seriesLabelsColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"SeriesLabelsBorderColor":this.seriesLabelsBorderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"SeriesShowShadow":this.seriesShowShadow=n.textContent.stimulsoft.toBoolean();break;case"SeriesShowBorder":this.seriesShowBorder=n.textContent.stimulsoft.toBoolean();break;case"SeriesLighting":this.seriesLighting=n.textContent.stimulsoft.toBoolean();break;case"SeriesLabelsLineColor":this.seriesLabelsLineColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"TrendLineColor":this.trendLineColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"TrendLineShowShadow":this.trendLineShowShadow=n.textContent.stimulsoft.toBoolean();break;case"LegendBrush":this.legendBrush=o.loadFromXml(n.textContent);break;case"LegendLabelsColor":this.legendLabelsColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"LegendBorderColor":this.legendBorderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"LegendTitleColor":this.legendTitleColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"AxisTitleColor":this.axisTitleColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"AxisLineColor":this.axisLineColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"AxisLabelsColor":this.axisLabelsColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"MarkerVisible":this.markerVisible=n.textContent.stimulsoft.toBoolean();break;case"InterlacingHorBrush":this.interlacingHorBrush=o.loadFromXml(n.textContent);break;case"InterlacingVertBrush":this.interlacingVertBrush=o.loadFromXml(n.textContent);break;case"GridLinesHorColor":this.gridLinesHorColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"GridLinesVertColor":this.gridLinesVertColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break}}},d.prototype.getStyleFromComponent=function(o,a,s){void 0===s&&(s=null);var l=null==s?null:s.stimulsoft.as(r.StiStyle),u=o.stimulsoft.as(t.Report.Chart.IStiChart);if(null!=u){if(u.style.stimulsoft.is(t.Report.Chart.IStiCustomStyle)){var c=u.customStyleName;!n.isNullOrEmpty(c)&&null!=u.report&&u.report.styles.getByName(c)&&u.report.styles.getByName(c).stimulsoft.is(d)&&(this.basicStyleColor=u.report.styles.getByName(c).basicStyleColor,this.styleColors=u.report.styles.getByName(c).styleColors,this.axisLabelsColor=u.report.styles.getByName(c).axisLabelsColor)}else this.basicStyleColor=u.style.core.basicStyleColor,this.styleColors=u.style.core.styleColors,this.axisLabelsColor=u.style.core.axisLabelsColor;if((a&e.StiStyleElements.Border)>0){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<t.length;r++)e[r]=t[r];return e},k.getCopyChartStyle=function(t,e){var r=t.core,n=new N;return n.brush=new B(this.getBackColor(e)),n.chartAreaBrush=r.chartAreaBrush.clone(),n.chartAreaBorderColor=r.chartAreaBorderColor,n.seriesLighting=r.seriesLighting,n.seriesShowShadow=r.seriesShowShadow,n.seriesShowBorder=r.seriesShowBorder,n.seriesLabelsBrush=r.seriesLabelsBrush.clone(),n.seriesLabelsColor=r.seriesLabelsColor,n.seriesLabelsBorderColor=r.seriesLabelsBorderColor,n.legendBrush=r.legendBrush,n.legendLabelsColor=r.legendLabelsColor,n.legendBorderColor=r.legendBorderColor,n.legendTitleColor=r.legendTitleColor,n.axisTitleColor=r.axisTitleColor,n.axisLineColor=r.axisLineColor,n.axisLabelsColor=r.axisLabelsColor,n.markerVisible=r.markerVisible,n.interlacingHorBrush=r.interlacingHorBrush.clone(),n.interlacingVertBrush=r.interlacingVertBrush.clone(),n.gridLinesHorColor=r.gridLinesHorColor,n.gridLinesVertColor=r.gridLinesVertColor,n.styleColors=this.cloneColors(r.styleColors),n.basicStyleColor=r.basicStyleColor,n},k.getCopyTableStyle=function(t){var e=new a;return e.backColor=t.backColor,e.alternatingDataColor=t.alternatingCellBackColor,e.alternatingDataForeground=t.alternatingCellForeColor,e.dataColor=t.cellBackColor,e.dataForeground=t.cellForeColor,e.gridColor=t.lineColor,e.headerColor=t.headerBackColor,e.headerForeground=t.headerForeColor,e.hotHeaderColor=t.hotHeaderBackColor,e.selectedDataColor=t.selectedCellBackColor,e.selectedDataForeground=t.selectedCellForeColor,e.footerColor=t.footerColor,e.footerForeground=t.footerForeground,e},k.convertToReportGaugeStyle=function(n){var i=null;if(n.style!=r.StiElementStyleIdent.Custom||o.isNullOrEmpty(n.customStyleName)){var a=n.style==r.StiElementStyleIdent.Auto?n.page.style:n.style;i=this.getGaugeStyle2(a)}else{var s=n.report.styles.toList().firstOrDefault((function(t){return t.name==n.customStyleName}));null!=s&&(i=new t.Report["Gauge"].StiCustomGaugeStyle(s))}null==i&&(i=new t.Report["Gauge"].StiGaugeStyleXF29);var u=i.core,c=new e.StiGaugeStyle;return c.brush=u.brush.clone(),c.borderColor=u.borderColor,c.foreColor=u.foreColor,c.targetColor=u.targetColor,c.borderWidth=u.borderWidth,c.tickMarkMajorBrush=new l,c.tickMarkMajorBorder=u.tickMarkMajorBorder.clone(),c.tickMarkMinorBrush=u.tickMarkMinorBrush.clone(),c.tickMarkMinorBorder=u.tickMarkMinorBorder.clone(),c.tickLabelMajorTextBrush=u.tickLabelMajorTextBrush.clone(),c.tickLabelMajorFont=u.tickLabelMajorFont.clone(),c.tickLabelMinorTextBrush=u.tickLabelMinorTextBrush.clone(),c.tickLabelMinorFont=u.tickLabelMinorFont.clone(),c.markerBrush=u.markerBrush.clone(),c.linearBarBrush=u.linearBarBrush.clone(),c.linearBarBorderBrush=u.linearBarBorderBrush.clone(),c.linearBarEmptyBrush=u.linearBarEmptyBrush.clone(),c.linearBarEmptyBorderBrush=u.linearBarEmptyBorderBrush.clone(),c.radialBarBrush=u.radialBarBrush.clone(),c.radialBarBorderBrush=u.radialBarBorderBrush.clone(),c.radialBarEmptyBrush=u.radialBarEmptyBrush.clone(),c.radialBarEmptyBorderBrush=u.radialBarEmptyBorderBrush.clone(),c.needleBrush=u.needleBrush.clone(),c.needleBorderBrush=u.needleBorderBrush.clone(),c.needleCapBrush=u.needleCapBrush.clone(),c.needleCapBorderBrush=u.needleCapBorderBrush.clone(),c},k.convertToReportPivotTableStyle=function(t){var e=this.getPivotTableStyle(t),r=new w;return r.backColor=e.backColor,r.alternatingCellForeColor=e.alternatingCellForeColor,r.alternatingCellBackColor=e.alternatingCellBackColor,r.cellBackColor=e.cellBackColor,r.cellForeColor=e.cellForeColor,r.lineColor=e.lineColor,r.columnHeaderBackColor=e.columnHeaderBackColor,r.columnHeaderForeColor=e.columnHeaderForeColor,r.hotColumnHeaderBackColor=e.hotColumnHeaderBackColor,r.hotRowHeaderBackColor=e.hotRowHeaderBackColor,r.rowHeaderBackColor=e.rowHeaderBackColor,r.rowHeaderForeColor=e.rowHeaderForeColor,r.selectedCellBackColor=e.selectedCellBackColor,r.selectedCellForeColor=e.selectedCellForeColor,r},k.convertToReportIndicatorStyle=function(t){var r=this.getIndicatorStyle(t),n=new e.StiIndicatorStyle;return n.backColor=this.getBackColor(t),n.foreColor=this.getForeColor(t),n.hotBackColor=this.getHotBackColor(t),n.glyphColor=r.glyphColor,n.positiveColor=r.positiveColor,n.negativeColor=r.negativeColor,n},k.convertToReportProgressStyle=function(t){var r=this.getProgressStyle(t),n=new e.StiProgressStyle;return n.backColor=r.backColor,n.trackColor=r.trackColor,n.bandColor=r.bandColor,n.seriesColors=r.seriesColors,n},k.convertToReportRegionMapStyle=function(t){var e;if(t.style!=r.StiElementStyleIdent.Custom||o.isNullOrEmpty(t.customStyleName)){var n=t.style==r.StiElementStyleIdent.Auto?t.page.style:t.style;e=this.getMapStyle2(n)}else e=t.report.styles.toList().firstOrDefault((function(e){return e.name==t.customStyleName}));null==e&&(e=new f);var i=new I;return i.backColor=e.backColor,i.borderColor=e.borderColor,i.borderSize=e.borderSize,i.colors=e.colors,i.defaultColor=e.defaultColor,i.heatmapColors=e.heatmapColors,i.individualColor=e.individualColor,i.labelForeground=e.labelForeground,i.labelShadowForeground=e.labelShadowForeground,i},k.convertToReportControlStyle=function(t){var e=this.getControlStyle(t),r=new C;return r.backColor=e.backColor,r.foreColor=e.foreColor,r.glyphColor=e.glyphColor,r.hotBackColor=e.hotBackColor,r.hotForeColor=e.hotForeColor,r.hotGlyphColor=e.hotGlyphColor,r.hotSelectedBackColor=e.hotSelectedBackColor,r.hotSelectedForeColor=e.hotSelectedForeColor,r.hotSelectedGlyphColor=e.hotSelectedGlyphColor,r.selectedBackColor=e.selectedBackColor,r.selectedForeColor=e.selectedForeColor,r.selectedGlyphColor=e.selectedGlyphColor,r.separatorColor=e.separatorColor,r},k.getDashboardBackColor=function(t,e){if(null==t)return R.white;var n=t.stimulsoft.as(D);if(null!=n&&!n.backColor.stimulsoft.equals(R.transparent))return n.backColor;switch(t.style){case r.StiElementStyleIdent.SlateGray:case r.StiElementStyleIdent.DarkBlue:case r.StiElementStyleIdent.DarkGray:return s.get("#333333");case r.StiElementStyleIdent.DarkGreen:return s.get("144b45");case r.StiElementStyleIdent.DarkTurquoise:return s.get("#1e4a61");case r.StiElementStyleIdent.Silver:return s.get("43545e");case r.StiElementStyleIdent.AliceBlue:return s.get("40508d");default:return e?s.get("#f3f3f3"):R.white}},k.isDarkStyle=function(t){if(null==t)return!1;return this.isDarkStyle2(t.style)},k.isDarkStyle3=function(t){var e=this.getStyle(t);if(e!=r.StiElementStyleIdent.Custom&&e!=r.StiElementStyleIdent.Auto||null==t.page||(e=this.getStyle(t.page.stimulsoft.as(r.IStiDashboard))),e==r.StiElementStyleIdent.AliceBlue&&!t.stimulsoft.is(r.IStiDashboard))return!1;return this.isDarkStyle2(e)},k.isDarkStyle2=function(t){switch(t){case r.StiElementStyleIdent.SlateGray:case r.StiElementStyleIdent.DarkBlue:case r.StiElementStyleIdent.DarkGray:case r.StiElementStyleIdent.DarkGreen:case r.StiElementStyleIdent.DarkTurquoise:case r.StiElementStyleIdent.Silver:case r.StiElementStyleIdent.AliceBlue:return!0;default:return!1}},k.getFont=function(t){var e;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName).stimulsoft.as(C);if(null!=n&&n.allowUseFont&&null!=n.font)return n.font}return t.font},k.getForeColor=function(t,e){void 0===e&&(e=null);var n=t.stimulsoft.as(P);if(null!=n&&!n.foreColor.stimulsoft.equals(R.transparent))return n.foreColor;var i=this.getStyleForeColor(t);if(!i.stimulsoft.equals(R.transparent))return i;var o=t.stimulsoft.as(r.IStiControlElement);if(null!=o&&!R.transparent.stimulsoft.equals(this.getControlStyle(o).foreColor))return this.getControlStyle(o).foreColor;if(null!=e)return e;return this.getNativeForeColor(t)},k.getStyleForeColor=function(t){var e;if(this.getStyle(t)!=r.StiElementStyleIdent.Custom)return R.transparent;var n=t.stimulsoft.as(r.IStiDashboardElementStyle),i=null!=n?n.customStyleName:null,o,o,o,o,o;if(t.stimulsoft.is(r.IStiIndicatorElement))return null==(o=this.getIndicatorStyle(t))?R.transparent:o.foreColor;if(t.stimulsoft.is(r.IStiProgressElement))return null==(o=this.getProgressStyle(t))?R.transparent:o.foreColor;if(t.stimulsoft.is(r.IStiGaugeElement))return null!=(o=t.report.styles.getCustomGaugeStyle(i))&&null!=o.core&&null!=o.core.foreColor?o.core.foreColor:R.transparent;if(t.stimulsoft.is(r.IStiRegionMapElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.labelForeground;if(t.stimulsoft.is(r.IStiControlElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.foreColor;return R.transparent},k.getForeColor2=function(t){if(t==r.StiElementStyleIdent.Silver)return s.get("e9f4fc");if(t==r.StiElementStyleIdent.AliceBlue)return s.get("2e2e2e");return this.isDarkStyle2(t)?E.fromHtml("#dddddd"):x.ForegroundColor},k.getNativeForeColor=function(t){return void 0===t&&(t=null),this.getForeColor2(this.getStyle(t))},k.getSelectedForeColor=function(t){var e;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName).stimulsoft.as(C);if(null!=n&&!R.transparent.stimulsoft.equals(n.selectedForeColor))return n.selectedForeColor}return this.getControlStyle(t).foreColor},k.getSelectedBackColor=function(t){var e;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName).stimulsoft.as(C);if(null!=n&&!R.transparent.stimulsoft.equals(n.selectedBackColor))return n.selectedBackColor}return this.getControlStyle(t).backColor},k.getGlyphColor2=function(t){var e;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName).stimulsoft.as(C);if(null!=n&&!R.transparent.stimulsoft.equals(n.glyphColor))return n.glyphColor}return this.getControlStyle(t).glyphColor},k.getGlyphColor=function(t){if(!R.transparent.stimulsoft.equals(t.glyphColor))return t.glyphColor;var e,n;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var i=t.report.styles.getByName(t.customStyleName);if(null!=i&&!R.transparent.stimulsoft.equals(i.glyphColor))return i.glyphColor}return this.getIndicatorStyle(t).glyphColor},k.getSeparatorColor=function(t){var e;if(this.getStyle(t)==r.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName);if(null!=n&&!R.transparent.stimulsoft.equals(n.separatorColor))return n.separatorColor}return this.getControlStyle(t).separatorColor},k.getBackColor=function(t,e,n){void 0===e&&(e=null);var i=t.stimulsoft.as(D);if(null!=i&&!i.backColor.stimulsoft.equals(R.transparent)){var o=i.backColor;return 255!=o.a?n?o:R.fromArgb(255,o):o}var a=this.getStyleBackColor(t);if(n&&this.getStyle(t)==r.StiElementStyleIdent.Custom)return a;if(!a.stimulsoft.equals(R.transparent))return a;var s=t.stimulsoft.as(r.IStiControlElement);if(null!=s&&!R.transparent.stimulsoft.equals(this.getControlStyle(s).backColor))return this.getControlStyle(s).backColor;if(null!=e)return e;return this.getBackColor2(this.getStyle(t))},k.getStyleBackColor=function(t){var e;if(this.getStyle(t)!=r.StiElementStyleIdent.Custom)return R.transparent;var n=t.stimulsoft.as(r.IStiDashboardElementStyle),i=null!=n?n.customStyleName:null,o,o,o,o,o,o,o,o;if(t.stimulsoft.is(r.IStiIndicatorElement))return null==(o=this.getIndicatorStyle(t))?R.transparent:o.backColor;if(t.stimulsoft.is(r.IStiProgressElement))return null==(o=this.getProgressStyle(t))?R.transparent:o.backColor;if(t.stimulsoft.is(r.IStiGaugeElement))return null!=(o=t.report.styles.getCustomGaugeStyle(i))&&null!=o.core&&null!=o.core.brush?b.toColor(o.core.brush):R.transparent;if(t.stimulsoft.is(r.IStiChartElement))return null!=(o=t.report.styles.getByName(i))&&null!=o.brush?b.toColor(o.brush):R.transparent;if(t.stimulsoft.is(r.IStiRegionMapElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.backColor;if(t.stimulsoft.is(r.IStiTableElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.backColor;if(t.stimulsoft.is(r.IStiPivotTableElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.backColor;if(t.stimulsoft.is(r.IStiControlElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.backColor;return R.transparent},k.getStyleHotBackColor=function(t){var e;if(this.getStyle(t)!=r.StiElementStyleIdent.Custom)return R.transparent;var n=t.stimulsoft.as(r.IStiDashboardElementStyle),i=null!=n?n.customStyleName:null,o,o;if(t.stimulsoft.is(r.IStiIndicatorElement))return null==(o=this.getIndicatorStyle(t))?R.transparent:o.hotBackColor;if(t.stimulsoft.is(r.IStiControlElement))return null==(o=t.report.styles.getByName(i))?R.transparent:o.hotBackColor;return R.transparent},k.getHotBackColor=function(t){var e=this.getStyle(t);if(e==r.StiElementStyleIdent.Custom)return this.getStyleHotBackColor(t);return this.isDarkStyle2(e)?v.light(this.getBackColor(t),15):v.dark(this.getBackColor(t),15)},k.getBackColor2=function(t){switch(t){case r.StiElementStyleIdent.DarkBlue:return E.fromHtml("#0a325a");case r.StiElementStyleIdent.SlateGray:return E.fromHtml("#33475b");case r.StiElementStyleIdent.DarkGray:return E.fromHtml("#595b65");case r.StiElementStyleIdent.DarkGreen:return s.get("3f745e");case r.StiElementStyleIdent.DarkTurquoise:return E.fromHtml("#235e6d");case r.StiElementStyleIdent.Silver:return s.get("6d7e8b");case r.StiElementStyleIdent.AliceBlue:return s.get("f2f5fc");default:return x.BackgroundColor}},k.getTitleForeColor=function(t){var e=this.getStyle(t);if(e==r.StiElementStyleIdent.Silver)return s.get("e9f4fc");if(e==r.StiElementStyleIdent.AliceBlue)return s.get("1f377f");return this.isDarkStyle2(this.getStyle(t))?E.fromHtml("#dddddd"):x.TitleFont.Color},k.getGaugeStyle=function(t){return this.getGaugeStyle2(this.getStyle(t))},k.getGaugeStyle2=function(e){switch(e){case r.StiElementStyleIdent.Orange:return new t.Report["Gauge"].StiGaugeStyleXF24;case r.StiElementStyleIdent.Green:return new t.Report["Gauge"].StiGaugeStyleXF25;case r.StiElementStyleIdent.Turquoise:return new t.Report["Gauge"].StiGaugeStyleXF26;case r.StiElementStyleIdent.SlateGray:return new t.Report["Gauge"].StiGaugeStyleXF27;case r.StiElementStyleIdent.DarkBlue:return new t.Report["Gauge"].StiGaugeStyleXF28;case r.StiElementStyleIdent.Blue:return new t.Report["Gauge"].StiGaugeStyleXF29;case r.StiElementStyleIdent.DarkGray:return new t.Report["Gauge"].StiGaugeStyleXF30;case r.StiElementStyleIdent.DarkTurquoise:return new t.Report["Gauge"].StiGaugeStyleXF31;case r.StiElementStyleIdent.Silver:return new t.Report["Gauge"].StiGaugeStyleXF32;case r.StiElementStyleIdent.AliceBlue:return new t.Report["Gauge"].StiGaugeStyleXF33;case r.StiElementStyleIdent.DarkGreen:return new t.Report["Gauge"].StiGaugeStyleXF34;default:return new t.Report["Gauge"].StiGaugeStyleXF29}},k.getChartStyle=function(t){return this.getChartStyle2(this.getStyle(t))},k.getChartStyle2=function(e){switch(e){case r.StiElementStyleIdent.Orange:var n=new t.Report.Chart["StiStyle24"];return n.core.markerVisible=!1,n;case r.StiElementStyleIdent.Green:var i=new t.Report.Chart["StiStyle25"];return i.core.markerVisible=!1,i;case r.StiElementStyleIdent.Turquoise:var o=new t.Report.Chart["StiStyle26"];return o.core.markerVisible=!1,o;case r.StiElementStyleIdent.SlateGray:var a=new t.Report.Chart["StiStyle27"];return a.core.markerVisible=!1,a;case r.StiElementStyleIdent.DarkBlue:var s=new t.Report.Chart["StiStyle28"];return s.core.markerVisible=!1,s;case r.StiElementStyleIdent.Blue:var l=new t.Report.Chart["StiStyle29"];return l.core.markerVisible=!1,l;case r.StiElementStyleIdent.DarkGray:var u=new t.Report.Chart["StiStyle30"];return u.core.markerVisible=!1,u;case r.StiElementStyleIdent.DarkTurquoise:var c=new t.Report.Chart["StiStyle31"];return c.core.markerVisible=!1,c;case r.StiElementStyleIdent.Silver:var p=new t.Report.Chart["StiStyle32"];return p.core.markerVisible=!1,p;case r.StiElementStyleIdent.AliceBlue:var h=new t.Report.Chart["StiStyle33"];return h.core.markerVisible=!1,h;case r.StiElementStyleIdent.DarkGreen:var m=new t.Report.Chart["StiStyle34"];return m.core.markerVisible=!1,m;default:var f=new t.Report.Chart["StiStyle29"];return f.core.markerVisible=!1,f}},k.getMapStyleIdent=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Orange:return T.Style24;case r.StiElementStyleIdent.Green:return T.Style25;case r.StiElementStyleIdent.Turquoise:return T.Style26;case r.StiElementStyleIdent.SlateGray:return T.Style27;case r.StiElementStyleIdent.DarkBlue:return T.Style28;case r.StiElementStyleIdent.Blue:return T.Style29;case r.StiElementStyleIdent.DarkGray:return T.Style30;case r.StiElementStyleIdent.DarkTurquoise:return T.Style31;case r.StiElementStyleIdent.Silver:return T.Style32;case r.StiElementStyleIdent.AliceBlue:return T.Style33;case r.StiElementStyleIdent.DarkGreen:return T.Style34;default:return T.Style29}},k.getMapStyle=function(t){return this.getMapStyle2(this.getStyle(t))},k.getMapStyle2=function(t){switch(t){case r.StiElementStyleIdent.Orange:return new m;case r.StiElementStyleIdent.Green:return new h;case r.StiElementStyleIdent.Turquoise:return new p;case r.StiElementStyleIdent.SlateGray:return new c;case r.StiElementStyleIdent.DarkBlue:return new u;case r.StiElementStyleIdent.Blue:return new f;case r.StiElementStyleIdent.DarkGray:return new d;case r.StiElementStyleIdent.DarkTurquoise:return new g;case r.StiElementStyleIdent.Silver:return new S;case r.StiElementStyleIdent.AliceBlue:return new y;case r.StiElementStyleIdent.DarkGreen:return new A;default:return new f}},k.getControlStyle=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Orange:return new n.StiOrangeControlElementStyle;case r.StiElementStyleIdent.Green:return new n.StiGreenControlElementStyle;case r.StiElementStyleIdent.Turquoise:return new n.StiTurquoiseControlElementStyle;case r.StiElementStyleIdent.SlateGray:return new n.StiSlateGrayControlElementStyle;case r.StiElementStyleIdent.DarkBlue:return new n.StiDarkBlueControlElementStyle;case r.StiElementStyleIdent.Blue:return new n.StiBlueControlElementStyle;case r.StiElementStyleIdent.DarkGray:return new n.StiDarkGrayControlElementStyle;case r.StiElementStyleIdent.DarkTurquoise:return new n.StiDarkTurquoiseControlElementStyle;case r.StiElementStyleIdent.Silver:return new n.StiSilverControlElementStyle;case r.StiElementStyleIdent.AliceBlue:return new n.StiAliceBlueControlElementStyle;case r.StiElementStyleIdent.DarkGreen:return new n.StiDarkGreenControlElementStyle;case r.StiElementStyleIdent.Custom:var e=t.stimulsoft.as(r.IStiControlElement);if(null!=e&&!o.isNullOrWhiteSpace(e.customStyleName)){var i=e.customStyleName.toLowerCase(),a=t.report.styles.toList().where((function(t){return t.stimulsoft.is(C)&&null!=t.name})).cast().firstOrDefault((function(t){return t.name.toLowerCase()==i}));if(null!=a)return new n.StiCustomControlElementStyle(a)}break}return new n.StiDarkBlueControlElementStyle},k.getIndicatorStyle=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Orange:return new n.StiOrangeIndicatorElementStyle;case r.StiElementStyleIdent.Green:return new n.StiGreenIndicatorElementStyle;case r.StiElementStyleIdent.Turquoise:return new n.StiTurquoiseIndicatorElementStyle;case r.StiElementStyleIdent.SlateGray:return new n.StiSlateGrayIndicatorElementStyle;case r.StiElementStyleIdent.DarkBlue:return new n.StiDarkBlueIndicatorElementStyle;case r.StiElementStyleIdent.Blue:return new n.StiBlueIndicatorElementStyle;case r.StiElementStyleIdent.DarkGray:return new n.StiDarkGrayIndicatorElementStyle;case r.StiElementStyleIdent.DarkTurquoise:return new n.StiDarkTurquoiseIndicatorElementStyle;case r.StiElementStyleIdent.Silver:return new n.StiSilverIndicatorElementStyle;case r.StiElementStyleIdent.AliceBlue:return new n.StiAliceBlueIndicatorElementStyle;case r.StiElementStyleIdent.DarkGreen:return new n.StiDarkGreenIndicatorElementStyle;case r.StiElementStyleIdent.Custom:if(!o.isNullOrWhiteSpace(t.customStyleName)){var i=t.customStyleName.toLowerCase(),a=t.report.styles.toList().where((function(t){return t.stimulsoft.is(e.StiIndicatorStyle)&&null!=t.name})).cast().firstOrDefault((function(t){return t.name.toLowerCase()==i}));if(null!=a)return new n.StiCustomIndicatorElementStyle(a)}break}return new n.StiOrangeIndicatorElementStyle},k.getProgressStyle=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Blue:return new n.StiBlueProgressElementStyle;case r.StiElementStyleIdent.Orange:return new n.StiOrangeProgressElementStyle;case r.StiElementStyleIdent.Green:return new n.StiGreenProgressElementStyle;case r.StiElementStyleIdent.Turquoise:return new n.StiTurquoiseProgressElementStyle;case r.StiElementStyleIdent.SlateGray:return new n.StiSlateGrayProgressElementStyle;case r.StiElementStyleIdent.DarkBlue:return new n.StiDarkBlueProgressElementStyle;case r.StiElementStyleIdent.DarkGray:return new n.StiDarkGrayProgressElementStyle;case r.StiElementStyleIdent.DarkTurquoise:return new n.StiDarkTurquoiseProgressElementStyle;case r.StiElementStyleIdent.Silver:return new n.StiSilverProgressElementStyle;case r.StiElementStyleIdent.AliceBlue:return new n.StiAliceBlueProgressElementStyle;case r.StiElementStyleIdent.DarkGreen:return new n.StiDarkGreenProgressElementStyle;case r.StiElementStyleIdent.Custom:if(!o.isNullOrWhiteSpace(t.customStyleName)){var i=t.customStyleName.toLowerCase(),a=t.report.styles.toList().where((function(t){return t.stimulsoft.is(e.StiProgressStyle)&&null!=t.name})).cast().firstOrDefault((function(t){return t.name.toLowerCase()==i}));if(null!=a)return new n.StiCustomProgressElementStyle(a)}break}return new n.StiOrangeProgressElementStyle},k.getTableStyle=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Orange:return new n.StiOrangeTableElementStyle;case r.StiElementStyleIdent.Green:return new n.StiGreenTableElementStyle;case r.StiElementStyleIdent.Turquoise:return new n.StiTurquoiseTableElementStyle;case r.StiElementStyleIdent.SlateGray:return new n.StiSlateGrayTableElementStyle;case r.StiElementStyleIdent.DarkBlue:return new n.StiDarkBlueTableElementStyle;case r.StiElementStyleIdent.Blue:return new n.StiBlueTableElementStyle;case r.StiElementStyleIdent.DarkGray:return new n.StiDarkGrayTableElementStyle;case r.StiElementStyleIdent.DarkTurquoise:return new n.StiDarkTurquoiseTableElementStyle;case r.StiElementStyleIdent.Silver:return new n.StiSilverTableElementStyle;case r.StiElementStyleIdent.AliceBlue:return new n.StiAliceBlueTableElementStyle;case r.StiElementStyleIdent.DarkGreen:return new n.StiDarkGreenTableElementStyle;case r.StiElementStyleIdent.Custom:if(!o.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),i=t.report.styles.toList().where((function(t){return t.stimulsoft.is(a)&&null!=t.name})).cast().firstOrDefault((function(t){return t.name.toLowerCase()==e}));if(null!=i)return new n.StiCustomTableElementStyle(i)}break}return new n.StiBlueTableElementStyle},k.getPivotTableStyle=function(t){switch(this.getStyle(t)){case r.StiElementStyleIdent.Orange:return new n.StiOrangePivotElementStyle;case r.StiElementStyleIdent.Green:return new n.StiGreenPivotElementStyle;case r.StiElementStyleIdent.Turquoise:return new n.StiTurquoisePivotElementStyle;case r.StiElementStyleIdent.SlateGray:return new n.StiSlateGrayPivotElementStyle;case r.StiElementStyleIdent.DarkBlue:return new n.StiDarkBluePivotElementStyle;case r.StiElementStyleIdent.Blue:return new n.StiBluePivotElementStyle;case r.StiElementStyleIdent.DarkGray:return new n.StiDarkGrayPivotElementStyle;case r.StiElementStyleIdent.DarkTurquoise:return new n.StiDarkTurquoisePivotElementStyle;case r.StiElementStyleIdent.Silver:return new n.StiSilverPivotElementStyle;case r.StiElementStyleIdent.AliceBlue:return new n.StiAliceBluePivotElementStyle;case r.StiElementStyleIdent.DarkGreen:return new n.StiDarkGreenPivotElementStyle;case r.StiElementStyleIdent.Custom:if(!o.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),i=t.report.styles.toList().where((function(t){return t.stimulsoft.is(w)&&null!=t.name})).cast().firstOrDefault((function(t){return t.name.toLowerCase()==e}));if(null!=i)return new n.StiCustomPivotElementStyle(i)}break}return new n.StiOrangePivotElementStyle},k.getStyle=function(t){var e=t.stimulsoft.as(r.IStiDashboardElementStyle),n=null!=t.page?t.page.stimulsoft.as(r.IStiDashboardElementStyle):null;if(null==e&&null==n)return r.StiElementStyleIdent.Blue;if(null==e)return n.style;if(null==n)return e.style;return e.style==r.StiElementStyleIdent.Auto?n.style:e.style},k.getIconFontFamily=function(){if(null==this.iconFontFamily){var e=t["Dashboard"]["Helpers"]["StiFontIconsHelper"];if(null!=e){var r=e["getFontFamaliIcons"];null!=r&&(this.iconFontFamily=r.apply())}}return null==this.iconFontFamily&&(this.iconFontFamily=new F("Arial")),this.iconFontFamily},k}();n.StiDashboardStyleHelper=k}(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;!function(t){t.IStiGaugeVisualSvgHelper="IStiGaugeVisualSvgHelper"}(e=t.Visuals||(t.Visuals={}))}(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){t.IStiIndicatorVisualSvgHelper="IStiIndicatorVisualSvgHelper"}(e=t.Visuals||(t.Visuals={}))}(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){t.IStiProgressVisualSvgHelper="IStiProgressVisualSvgHelper"}(e=t.Visuals||(t.Visuals={}))}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowUserDrillDownDashboardInteraction="IStiAllowUserDrillDownDashboardInteraction"}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowUserFilteringDashboardInteraction="IStiAllowUserFilteringDashboardInteraction"}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAllowUserSortingDashboardInteraction="IStiAllowUserSortingDashboardInteraction"}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiAltProperties="IStiAltProperties",t.ImplementsIStiAltProperties=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartArea="IStiChartArea",t.ImplementsIStiChartArea=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var StiPenStyle=Stimulsoft.Base.Drawing.StiPenStyle,Color=Stimulsoft.System.Drawing.Color,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(t){var e;!function(t){var e;!function(t){t.IStiChartConstantLines="IStiChartConstantLines",t.ImplementsIStiChartConstantLines=[]}(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.Base.IStiReportComponent,n=t.Data.Engine.IStiRetrieval,i=t.Data.Engine.ImplementsIStiRetrieval;e.IStiElement="IStiElement",e.ImplementsIStiElement=__spread([r,n],i)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGroupElement="IStiGroupElement",t.ImplementsIStiGroupElement=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDashboardElementStyle="IStiDashboardElementStyle",t.ImplementsIStiDashboardElementStyle=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiConvertibleElement="IStiConvertibleElement",t.ImplementsIStiConvertibleElement=[]}(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.IStiUserSorts,n=t.Report.Dashboard.ImplementsIStiConvertibleElement,i=t.Report.Dashboard.IStiConvertibleElement,o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.ImplementsIStiDataTopN,s=t.Data.Engine.IStiDataTransformationElement,l=t.Data.Engine.IStiDataTopN,u=t.Report.Dashboard.ImplementsIStiGroupElement,c=t.Report.Dashboard.IStiGroupElement,p=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,h=t.Report.Dashboard.IStiDashboardElementStyle,m=t.Report.Dashboard.ImplementsIStiElement,f=t.Report.Dashboard.IStiElement,d=t.Data.Engine.IStiUserFilters,g=t.Data.Engine.ImplementsIStiUserFilters,S=t.Data.Engine.ImplementsIStiUserSorts,y=t.Data.Engine.IStiTransformActions,A=t.Data.Engine.ImplementsIStiTransformActions,b=t.Data.Engine.IStiTransformFilters,v=t.Data.Engine.ImplementsIStiTransformFilters,C=t.Data.Engine.IStiTransformSorts,w=t.Data.Engine.ImplementsIStiTransformSorts,B=t.Data.Engine.IStiDataFilters,I=t.Data.Engine.ImplementsIStiDataFilters;e.IStiChartElement="IStiChartElement",e.ImplementsIStiChartElement=__spread([f,d,r,h,y,b,C,l,s,c,B,i],m,g,S,p,A,v,w,a,o,u,I,n)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var StiMarkerType=Stimulsoft.Report.Chart.StiMarkerType,StiFilterCondition=Stimulsoft.Report.Components.StiFilterCondition,StiFilterDataType=Stimulsoft.Report.Components.StiFilterDataType,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){t.IStiChartElementCondition="IStiChartElementCondition",t.ImplementsIStiChartElementCondition=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiChartLabels="IStiChartLabels",t.ImplementsIStiChartLabels=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiItemElement="IStiItemElement",t.ImplementsIStiItemElement=[]}(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.Report.Dashboard.ImplementsIStiConvertibleElement,n=t.Report.Dashboard.IStiConvertibleElement,i=t.Base.IStiAppCell;e.IStiFilterElement="IStiFilterElement",e.ImplementsIStiFilterElement=__spread([i,n],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.Report.Dashboard.ImplementsIStiFilterElement,n=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,i=t.Report.Dashboard.ImplementsIStiElement,o=t.Report.Dashboard.IStiElement,a=t.Report.Dashboard.IStiDashboardElementStyle,s=t.Report.Dashboard.IStiFilterElement,l=t.Data.Engine.IStiUserFilters,u=t.Data.Engine.ImplementsIStiUserFilters,c=t.Report.Components.IStiBackColor,p=t.Report.Components.ImplementsIStiBackColor,h=t.Report.Components.IStiForeColor,m=t.Report.Components.ImplementsIStiForeColor,f=t.Report.Components.IStiTextFormat,d=t.Report.Components.ImplementsIStiTextFormat,g=t.Report.Components.IStiFont,S=t.Report.Components.ImplementsIStiFont;e.IStiControlElement="IStiControlElement",e.ImplementsIStiControlElement=__spread([o,a,l,s,g,h,c,f],i,n,u,r,S,m,p,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=t.Data.Engine.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Report.Dashboard.ImplementsIStiGroupElement,o=t.Report.Dashboard.ImplementsIStiItemElement,a=t.Report.Dashboard.ImplementsIStiControlElement,s=t.Report.Dashboard.IStiItemElement,l=t.Report.Dashboard.IStiGroupElement,u=t.Report.Dashboard.IStiControlElement,c=t.Data.Engine.IStiTransformActions,p=t.Data.Engine.ImplementsIStiTransformActions,h=t.Data.Engine.IStiTransformFilters,m=t.Data.Engine.ImplementsIStiTransformFilters,f=t.Data.Engine.IStiTransformSorts,d=t.Data.Engine.ImplementsIStiTransformSorts,g=t.Data.Engine.IStiDataFilters,S=t.Data.Engine.ImplementsIStiDataFilters;e.IStiComboBoxElement="IStiComboBoxElement",e.ImplementsIStiComboBoxElement=__spread([u,s,c,h,f,n,l,g],a,o,p,m,d,r,i,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.Report.Components.IStiBackColor,n=t.Report.Components.ImplementsIStiBackColor;e.IStiPanel="IStiPanel",e.ImplementsIStiPanel=__spread([e.IStiElement,r],e.ImplementsIStiElement,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.Report.Dashboard.IStiPanel,n=t.Report.Dashboard.ImplementsIStiPanel,i=t.Report.Dashboard.IStiDashboardElementStyle,o=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,a=t.Data.Engine.IStiQueryObject,s=t.Data.Engine.ImplementsIStiQueryObject;e.IStiDashboard="IStiDashboard",e.ImplementsIStiDashboard=__spread([r,a,i],n,s,o)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiDashboardDrillDownParameter="IStiDashboardDrillDownParameter",t.ImplementsIStiDashboardDrillDownParameter=[]}(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.System.ICloneable,n=t.Base.Design.IStiDefault;e.IStiDashboardInteraction="IStiDashboardInteraction",e.ImplementsIStiDashboardInteraction=[r,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.Data.Engine.IStiDataFilters,n=t.Data.Engine.ImplementsIStiDataFilters;e.IStiDatePickerElement="IStiDatePickerElement",e.ImplementsIStiDatePickerElement=__spread([e.IStiControlElement,r],e.ImplementsIStiControlElement,n)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiElementInteraction="IStiElementInteraction"}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiElementLayout="IStiElementLayout",t.ImplementsIStiElementLayout=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiFixedHeightElement="IStiFixedHeightElement",t.ImplementsIStiFixedHeightElement=[]}(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.IStiUserSorts,n=t.Report.Dashboard.ImplementsIStiConvertibleElement,i=t.Report.Dashboard.IStiConvertibleElement,o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.IStiDataTransformationElement,s=t.Data.Engine.IStiTransformActions,l=t.Data.Engine.ImplementsIStiTransformActions,u=t.Data.Engine.IStiTransformFilters,c=t.Data.Engine.ImplementsIStiTransformFilters,p=t.Data.Engine.IStiTransformSorts,h=t.Data.Engine.ImplementsIStiTransformSorts,m=t.Data.Engine.IStiDataFilters,f=t.Data.Engine.ImplementsIStiDataFilters,d=t.Data.Engine.ImplementsIStiUserSorts;e.IStiGaugeElement="IStiGaugeElement",e.ImplementsIStiGaugeElement=__spread([e.IStiElement,r,e.IStiDashboardElementStyle,s,u,p,a,e.IStiGroupElement,m,i],e.ImplementsIStiElement,d,e.ImplementsIStiDashboardElementStyle,l,c,h,o,e.ImplementsIStiGroupElement,f,n)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGaugeLabels="IStiGaugeLabels",t.ImplementsIStiGaugeLabels=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiGaugeRange="IStiGaugeRange",t.ImplementsIStiGaugeRange=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiImageElement="IStiImageElement",t.ImplementsIStiImageElement=__spread([t.IStiElement],t.ImplementsIStiElement)}(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.IStiUserSorts,n=t.Report.Dashboard.ImplementsIStiConvertibleElement,i=t.Report.Dashboard.IStiConvertibleElement,o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.ImplementsIStiDataTopN,s=t.Data.Engine.IStiDataTransformationElement,l=t.Data.Engine.IStiDataTopN,u=t.Data.Engine.IStiTransformActions,c=t.Data.Engine.ImplementsIStiTransformActions,p=t.Data.Engine.IStiTransformFilters,h=t.Data.Engine.ImplementsIStiTransformFilters,m=t.Data.Engine.IStiTransformSorts,f=t.Data.Engine.ImplementsIStiTransformSorts,d=t.Data.Engine.IStiDataFilters,g=t.Data.Engine.ImplementsIStiDataFilters,S=t.Data.Engine.ImplementsIStiUserSorts;e.IStiIndicatorElement="IStiIndicatorElement",e.ImplementsIStiIndicatorElement=__spread([e.IStiElement,r,e.IStiDashboardElementStyle,u,p,m,l,s,e.IStiGroupElement,d,i],e.ImplementsIStiElement,S,e.ImplementsIStiDashboardElementStyle,c,h,f,a,o,e.ImplementsIStiGroupElement,g,n)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var Font=Stimulsoft.System.Drawing.Font,StiFontIcons=Stimulsoft.Report.Helpers.StiFontIcons,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,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){t.IStiIndicatorElementCondition="IStiIndicatorElementCondition",t.ImplementsIStiIndicatorElementCondition=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiInteractionLayout="IStiInteractionLayout"}(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.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Data.Engine.IStiTransformActions,o=t.Data.Engine.ImplementsIStiTransformActions,a=t.Data.Engine.IStiTransformFilters,s=t.Data.Engine.ImplementsIStiTransformFilters,l=t.Data.Engine.IStiTransformSorts,u=t.Data.Engine.ImplementsIStiTransformSorts,c=t.Data.Engine.IStiDataFilters,p=t.Data.Engine.ImplementsIStiDataFilters;e.IStiListBoxElement="IStiListBoxElement",e.ImplementsIStiListBoxElement=__spread([e.IStiControlElement,e.IStiItemElement,i,a,l,n,e.IStiGroupElement,c],e.ImplementsIStiControlElement,e.ImplementsIStiItemElement,o,s,u,r,e.ImplementsIStiGroupElement,p)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiMargin="IStiMargin",t.ImplementsIStiMargin=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiNegativeSeriesColors="IStiNegativeSeriesColors",t.ImplementsIStiNegativeSeriesColors=[]}(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.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Data.Engine.IStiTransformActions,o=t.Data.Engine.ImplementsIStiTransformActions,a=t.Data.Engine.IStiTransformFilters,s=t.Data.Engine.ImplementsIStiTransformFilters,l=t.Data.Engine.IStiTransformSorts,u=t.Data.Engine.ImplementsIStiTransformSorts,c=t.Data.Engine.IStiDataFilters,p=t.Data.Engine.ImplementsIStiDataFilters;e.IStiOnlineMapElement="IStiOnlineMapElement",e.ImplementsIStiOnlineMapElement=__spread([e.IStiElement,i,a,l,n,e.IStiGroupElement,c],e.ImplementsIStiElement,o,s,u,r,e.ImplementsIStiGroupElement,p)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPadding="IStiPadding",t.ImplementsIStiPadding=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiParetoSeriesColors="IStiParetoSeriesColors",t.ImplementsIStiParetoSeriesColors=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPivotTableCreator="IStiPivotTableCreator",t.ImplementsIStiPivotTableCreator=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiPivotGridContainer="IStiPivotGridContainer",t.ImplementsIStiPivotGridContainer=[]}(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.Report.Dashboard.ImplementsIStiConvertibleElement,n=t.Report.Dashboard.IStiConvertibleElement,i=t.Data.Engine.ImplementsIStiDataTransformationElement,o=t.Data.Engine.IStiDataTransformationElement,a=t.Data.Engine.IStiTransformActions,s=t.Data.Engine.ImplementsIStiTransformActions,l=t.Data.Engine.IStiTransformFilters,u=t.Data.Engine.ImplementsIStiTransformFilters,c=t.Data.Engine.IStiTransformSorts,p=t.Data.Engine.ImplementsIStiTransformSorts,h=t.Data.Engine.IStiDataFilters,m=t.Data.Engine.ImplementsIStiDataFilters;e.IStiPivotTableElement="IStiPivotTableElement",e.ImplementsIStiPivotTableElement=__spread([e.IStiElement,e.IStiDashboardElementStyle,a,l,c,o,e.IStiGroupElement,h,n],e.ImplementsIStiElement,e.ImplementsIStiDashboardElementStyle,s,u,p,i,e.ImplementsIStiGroupElement,m,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.JsonReportObject.IStiJsonReportObject;e.IStiPivotTableElementCondition="IStiPivotTableElementCondition",e.ImplementsIStiPivotTableElementCondition=[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.Data.Engine.IStiUserSorts,n=t.Report.Dashboard.ImplementsIStiConvertibleElement,i=t.Report.Dashboard.IStiConvertibleElement,o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.ImplementsIStiDataTopN,s=t.Data.Engine.IStiDataTransformationElement,l=t.Data.Engine.IStiDataTopN,u=t.Data.Engine.IStiTransformActions,c=t.Data.Engine.ImplementsIStiTransformActions,p=t.Data.Engine.IStiTransformFilters,h=t.Data.Engine.ImplementsIStiTransformFilters,m=t.Data.Engine.IStiTransformSorts,f=t.Data.Engine.ImplementsIStiTransformSorts,d=t.Data.Engine.IStiDataFilters,g=t.Data.Engine.ImplementsIStiDataFilters,S=t.Data.Engine.ImplementsIStiUserSorts;e.IStiProgressElement="IStiProgressElement",e.ImplementsIStiProgressElement=__spread([e.IStiElement,r,e.IStiDashboardElementStyle,u,p,m,l,s,e.IStiGroupElement,d,i],e.ImplementsIStiElement,S,e.ImplementsIStiDashboardElementStyle,c,h,f,a,o,e.ImplementsIStiGroupElement,g,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.Data.Engine.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Data.Engine.IStiUserFilters,o=t.Data.Engine.ImplementsIStiUserFilters,a=t.Data.Engine.IStiTransformActions,s=t.Data.Engine.ImplementsIStiTransformActions,l=t.Data.Engine.IStiTransformFilters,u=t.Data.Engine.ImplementsIStiTransformFilters,c=t.Data.Engine.IStiTransformSorts,p=t.Data.Engine.ImplementsIStiTransformSorts,h=t.Data.Engine.IStiDataFilters,m=t.Data.Engine.ImplementsIStiDataFilters;e.IStiRegionMapElement="IStiRegionMapElement",e.ImplementsIStiRegionMapElement=__spread([e.IStiElement,e.IStiDashboardElementStyle,i,a,l,c,n,e.IStiGroupElement,h],e.ImplementsIStiElement,e.ImplementsIStiDashboardElementStyle,o,s,u,p,r,e.ImplementsIStiGroupElement,m)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSeriesColors="IStiSeriesColors",t.ImplementsIStiSeriesColors=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiShapeElement="IStiShapeElement",t.ImplementsIStiShapeElement=__spread([t.IStiElement],t.ImplementsIStiElement)}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiSkipOwnFilter="IStiSkipOwnFilter",t.ImplementsIStiSkipOwnFilter=[]}(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.Report.Dashboard.IStiDashboardInteraction;e.IStiTableDashboardInteraction="IStiTableDashboardInteraction",e.ImplementsIStiTableDashboardInteraction=[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.Report.Dashboard.ImplementsIStiConvertibleElement,n=t.Report.Dashboard.IStiConvertibleElement,i=t.Data.Engine.ImplementsIStiDataTransformationElement,o=t.Data.Engine.IStiDataTransformationElement,a=t.Data.Engine.IStiUserFilters,s=t.Data.Engine.ImplementsIStiUserFilters,l=t.Data.Engine.IStiTransformActions,u=t.Data.Engine.ImplementsIStiTransformActions,c=t.Data.Engine.IStiTransformFilters,p=t.Data.Engine.ImplementsIStiTransformFilters,h=t.Data.Engine.IStiTransformSorts,m=t.Data.Engine.ImplementsIStiTransformSorts,f=t.Data.Engine.IStiDataFilters,d=t.Data.Engine.ImplementsIStiDataFilters,g=t.Data.Engine.IStiUserSorts,S=t.Data.Engine.ImplementsIStiUserSorts,y=t.Report.Components.IStiFont,A=t.Report.Components.ImplementsIStiFont;e.IStiTableElement="IStiTableElement",e.ImplementsIStiTableElement=__spread([e.IStiElement,g,a,e.IStiDashboardElementStyle,l,c,h,o,e.IStiGroupElement,f,y,n],e.ImplementsIStiElement,S,s,e.ImplementsIStiDashboardElementStyle,u,p,m,i,e.ImplementsIStiGroupElement,d,A,r)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTableElementAutoSizer="IStiTableElementAutoSizer",t.ImplementsIStiTableElementAutoSizer=[]}(e=t.Dashboard||(t.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTextElement="IStiTextElement",t.ImplementsIStiTextElement=__spread([t.IStiElement],t.ImplementsIStiElement)}(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.Report.Components.IStiBackColor,n=t.Report.Components.ImplementsIStiBackColor,i=t.Report.Components.IStiForeColor,o=t.Report.Components.ImplementsIStiForeColor,a=t.Report.Components.IStiHorAlignment,s=t.Report.Components.ImplementsIStiHorAlignment,l=t.Report.Components.IStiFont,u=t.Report.Components.ImplementsIStiFont;e.IStiTitle="IStiTitle",e.ImplementsIStiTitle=__spread([l,a,i,r],u,s,o,n)}(r=e.Dashboard||(e.Dashboard={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiTitleElement="IStiTitleElement",t.ImplementsIStiTitleElement=[]}(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.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Data.Engine.IStiTransformActions,o=t.Data.Engine.ImplementsIStiTransformActions,a=t.Data.Engine.IStiTransformFilters,s=t.Data.Engine.ImplementsIStiTransformFilters,l=t.Data.Engine.IStiTransformSorts,u=t.Data.Engine.ImplementsIStiTransformSorts,c=t.Data.Engine.IStiDataFilters,p=t.Data.Engine.ImplementsIStiDataFilters;e.IStiTreeViewBoxElement="IStiTreeViewBoxElement",e.ImplementsIStiTreeViewBoxElement=__spread([e.IStiControlElement,e.IStiItemElement,i,a,l,n,e.IStiGroupElement,c],e.ImplementsIStiControlElement,e.ImplementsIStiItemElement,o,s,u,r,e.ImplementsIStiGroupElement,p)}(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.Data.Engine.ImplementsIStiDataTransformationElement,n=t.Data.Engine.IStiDataTransformationElement,i=t.Data.Engine.IStiTransformActions,o=t.Data.Engine.ImplementsIStiTransformActions,a=t.Data.Engine.IStiTransformFilters,s=t.Data.Engine.ImplementsIStiTransformFilters,l=t.Data.Engine.IStiTransformSorts,u=t.Data.Engine.ImplementsIStiTransformSorts,c=t.Data.Engine.IStiDataFilters,p=t.Data.Engine.ImplementsIStiDataFilters;e.IStiTreeViewElement="IStiTreeViewElement",e.ImplementsIStiTreeViewElement=__spread([e.IStiControlElement,e.IStiItemElement,i,a,l,n,e.IStiGroupElement,c],e.ImplementsIStiControlElement,e.ImplementsIStiItemElement,o,s,u,r,e.ImplementsIStiGroupElement,p)}(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.StiAppKey,n=t.System.Collections.Dictionary,i=function(){function t(){}return t.getKey=function(t){var e=r.getOrGeneratedKey(t);null==e&&(e="");var n=null!=t?t.getKey():"";return null==n&&(n=""),e+"."+n},t.getLastImage=function(t){var e=this.getKey(t);return this.cache.contains(e)?this.cache.get(e):null},t.existsLastImage=function(t){var e=this.getKey(t);return this.cache.contains(e)},t.storeLastImage=function(t,e){var r=this.getKey(t);this.cache.set(r,e)},t.clean=function(t){var e=this;null==t?this.cache.clear():this.cache.keys.toList().where((function(e){return e.stimulsoft.startsWith(t)}),this).forEach((function(t){return e.cache.remove(t)}))},t.cache=new n,t}();e.StiOnlineMapLastImageCache=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.Base.StiAppKey,n=t.System.Collections.Dictionary,i=function(){function t(){}return t.getIntKey=function(t){var e,r,n=t.getMeters();if(null==n||!n.any())return"0";var i=0,o=n.select((function(t){return(i++).toString()+t.getUniqueCode().toString()})).toList(),a=t.title.text;null==a&&(a=""),o.add(a.stimulsoft.getHashCode().toString());var s=0;try{for(var l=__values(o),u=l.next();!u.done;u=l.next()){var c;s+=u.value.stimulsoft.getHashCode()}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return""+s},t.getKey=function(t){var e=r.getOrGeneratedKey(t);null==e&&(e="");var n=null!=t?t.getKey():"";null==n&&(n="");var i=null!=t?this.getIntKey(t):"";return null==i&&(i=""),e+"."+n+"."+i},t.isConverted=function(t){var e=this.getKey(t);return this.cache.contains(e)&&this.cache.get(e)},t.putTrue=function(t){this.put(t,!0)},t.putFalse=function(t){this.put(t,!1)},t.put=function(t,e){var r=this.getKey(t);this.cache.set(r,e)},t.contains=function(t){var e=this.getKey(t);return this.cache.contains(e)},t.clean=function(t){var e=this;void 0===t&&(t=null),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)}))},t.cache=new n,t}();e.StiPivotToConvertedStateCache=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.Dictionary,n=t.Base.StiAppKey,i=function(){function t(){}return t.getKey=function(t){var e=n.getOrGeneratedKey(t);null==e&&(e="");var r=null!=t?t.getKey():"";return null==r&&(r=""),e+"."+r},t.get=function(t){var e=this.getKey(t);return this.cache.contains(e)?this.cache.get(e):null},t.put=function(t,e){var r=this.getKey(t);this.cache.set(r,e)},t.contains=function(t){var e=this.getKey(t);return this.cache.contains(e)},t.remove=function(t){var e=this.getKey(t);this.cache.contains(e)&&this.cache.remove(e)},t.clean=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)}))},t.cache=new r,t}();e.StiPivotTableToCrossTabCache=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.Dictionary,n=function(){function t(){}return t.get=function(t){var r=e.StiElementDataCache.getKey(t);return this.cache.contains(r)?this.cache.get(r):null},t.put=function(t,r){var n=e.StiElementDataCache.getKey(t);this.cache.set(n,r)},t.remove=function(t){var r=e.StiElementDataCache.getKey(t);this.cache.contains(r)&&this.cache.remove(r)},t.contains=function(t){var r=e.StiElementDataCache.getKey(t);return this.cache.contains(r)},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 r,t}();e.StiPivotToContainerCache=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.System.StiArray,n=t.System.StiString,i=t.System.Collections.Hashtable,o=function(){function t(){}return t.removeFunction=function(t){null!=this.functionsToCompile.get(t)&&this.functionsToCompile.remove(t),null!=this.functionsToCompileLower.get(t.toLowerCase())&&this.functionsToCompileLower.remove(t.toLowerCase()),null!=this.functions.get(t)&&this.functions.remove(t),null!=this.functionsLower.get(t.toLowerCase())&&this.functionsLower.remove(t.toLowerCase())},t.getFunctionsList=function(t){return null!=this.functions.get(t)?this.functions.get(t):null},t.getFunctionsGrouppedInCategories=function(){var t,e,r=new i,n=this.getFunctions(!1);try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value,l=r.get(s.category);null==l&&(l=[],r.set(s.category,l)),l.push(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},t.getFunctions=function(t){var e,r,n,i,o,a;if(t.stimulsoft.is(Boolean)){var s=t.stimulsoft.as(Boolean),l=[],u=s?this.functionsToCompile:this.functions;try{for(var c=__values(u.keys),p=c.next();!p.done;p=c.next()){var h=p.value,m=this.getFunctionsEx(null,h,s);try{for(var f=(n=void 0,__values(m)),d=f.next();!d.done;d=f.next()){var g=d.value;l.push(g)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return l.stimulsoft.toArray()}if(t.stimulsoft.is(String)){var S=t.stimulsoft.as(String),y=this.getFunctions(!1),l=[];try{for(var A=__values(y),b=A.next();!b.done;b=A.next()){var g;(g=b.value).category==S&&l.push(g)}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}return l.stimulsoft.toArray()}return null},t.getFunctionsEx=function(t,e,r){if(r){var n;if(null==(n=this.functionsToCompile.get(e))&&null==(n=this.functionsToCompile.get(e)))return null;return n.stimulsoft.toArray()}var n;if(null==(n=this.functions.get(e))&&null==(n=this.functions.get(e)))return null;return n.stimulsoft.toArray()},t.getCategories=function(){var t,e,r=new i,n=this.getFunctions(!1),o=new Array;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;null==r.get(l.category)&&(o.push(l.category),r.set(l.category,l.category))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return o},t.getAssebliesOfFunctions=function(){var t,e,n=this.getFunctions(!0),o=new i,a;try{for(var s=__values(n),l=s.next();!l.done;l=s.next())var u=l.value}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return r.create(String,o.count)},t.addFunction=function(t,r,i,o,a,s,l,u,c,p,h){void 0===l&&(l=""),void 0===u&&(u=null),void 0===c&&(c=null),void 0===p&&(p=null),void 0===h&&(h=null),n.isNullOrEmpty(r)&&(r=i);var m=new e.StiFunction(t,r,i,o,a,s,l,u,c,p),f=this.functions.get(r);return null==f&&(f=[],this.functions.set(r,f)),f.push(m),null==(f=this.functionsToCompile.get(i))&&(f=[],this.functionsToCompile.set(i,f)),f.push(m),m.jsFunction=h,m},t.StiFunctions=function(){},t.functionsToCompile=new i,t.functionsToCompileLower=new i,t.functions=new i,t.functionsLower=new i,t}();e.StiFunctions=o}(r=e.Dictionary||(e.Dictionary={}))}(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;!function(t){t[t["Empty"]=0]="Empty",t[t["Delimiter"]=1]="Delimiter",t[t["Variable"]=2]="Variable",t[t["SystemVariable"]=3]="SystemVariable",t[t["DataSourceField"]=4]="DataSourceField",t[t["BusinessObjectField"]=5]="BusinessObjectField",t[t["Number"]=6]="Number",t[t["Function"]=7]="Function",t[t["Method"]=8]="Method",t[t["Property"]=9]="Property",t[t["Component"]=10]="Component",t[t["Cast"]=11]="Cast",t[t["String"]=12]="String",t[t["Dot"]=13]="Dot",t[t["Comma"]=14]="Comma",t[t["Colon"]=15]="Colon",t[t["SemiColon"]=16]="SemiColon",t[t["Shl"]=17]="Shl",t[t["Shr"]=18]="Shr",t[t["Assign"]=19]="Assign",t[t["Equal"]=20]="Equal",t[t["NotEqual"]=21]="NotEqual",t[t["LeftEqual"]=22]="LeftEqual",t[t["Left"]=23]="Left",t[t["RightEqual"]=24]="RightEqual",t[t["Right"]=25]="Right",t[t["Not"]=26]="Not",t[t["Or"]=27]="Or",t[t["And"]=28]="And",t[t["Xor"]=29]="Xor",t[t["DoubleOr"]=30]="DoubleOr",t[t["DoubleAnd"]=31]="DoubleAnd",t[t["Question"]=32]="Question",t[t["Plus"]=33]="Plus",t[t["Minus"]=34]="Minus",t[t["Mult"]=35]="Mult",t[t["Div"]=36]="Div",t[t["Percent"]=37]="Percent",t[t["LParenthesis"]=38]="LParenthesis",t[t["RParenthesis"]=39]="RParenthesis",t[t["LBracket"]=40]="LBracket",t[t["RBracket"]=41]="RBracket",t[t["Identifier"]=42]="Identifier",t[t["Unknown"]=43]="Unknown"}(e=t.StiTokenType||(t.StiTokenType={})),function(t){t[t["PushValue"]=2e3]="PushValue",t[t["PushVariable"]=2001]="PushVariable",t[t["PushSystemVariable"]=2002]="PushSystemVariable",t[t["PushDataSourceField"]=2003]="PushDataSourceField",t[t["PushBusinessObjectField"]=2004]="PushBusinessObjectField",t[t["PushFunction"]=2005]="PushFunction",t[t["PushMethod"]=2006]="PushMethod",t[t["PushProperty"]=2007]="PushProperty",t[t["PushComponent"]=2008]="PushComponent",t[t["PushArrayElement"]=2009]="PushArrayElement",t[t["CopyToVariable"]=2010]="CopyToVariable",t[t["Add"]=2020]="Add",t[t["Sub"]=2021]="Sub",t[t["Mult"]=2022]="Mult",t[t["Div"]=2023]="Div",t[t["Mod"]=2024]="Mod",t[t["Power"]=2025]="Power",t[t["Neg"]=2026]="Neg",t[t["Cast"]=2027]="Cast",t[t["Not"]=2028]="Not",t[t["CompareLeft"]=2029]="CompareLeft",t[t["CompareLeftEqual"]=2030]="CompareLeftEqual",t[t["CompareRight"]=2031]="CompareRight",t[t["CompareRightEqual"]=2032]="CompareRightEqual",t[t["CompareEqual"]=2033]="CompareEqual",t[t["CompareNotEqual"]=2034]="CompareNotEqual",t[t["Shl"]=2035]="Shl",t[t["Shr"]=2036]="Shr",t[t["And"]=2037]="And",t[t["And2"]=2038]="And2",t[t["Or"]=2039]="Or",t[t["Or2"]=2040]="Or2",t[t["Xor"]=2041]="Xor",t[t["Jump"]=2042]="Jump",t[t["JumpTrue"]=2043]="JumpTrue",t[t["JumpFalse"]=2044]="JumpFalse"}(r=t.StiAsmCommandType||(t.StiAsmCommandType={})),function(t){t[t["Column"]=0]="Column",t[t["Line"]=1]="Line",t[t["LineThrough"]=2]="LineThrough",t[t["LineABC"]=3]="LineABC",t[t["LineRoman"]=4]="LineRoman",t[t["GroupLine"]=5]="GroupLine",t[t["PageNumber"]=6]="PageNumber",t[t["PageNumberThrough"]=7]="PageNumberThrough",t[t["PageNofM"]=8]="PageNofM",t[t["PageNofMThrough"]=9]="PageNofMThrough",t[t["TotalPageCount"]=10]="TotalPageCount",t[t["TotalPageCountThrough"]=11]="TotalPageCountThrough",t[t["IsFirstPage"]=12]="IsFirstPage",t[t["IsFirstPageThrough"]=13]="IsFirstPageThrough",t[t["IsLastPage"]=14]="IsLastPage",t[t["IsLastPageThrough"]=15]="IsLastPageThrough",t[t["PageCopyNumber"]=16]="PageCopyNumber",t[t["ReportAlias"]=17]="ReportAlias",t[t["ReportAuthor"]=18]="ReportAuthor",t[t["ReportChanged"]=19]="ReportChanged",t[t["ReportCreated"]=20]="ReportCreated",t[t["ReportDescription"]=21]="ReportDescription",t[t["ReportName"]=22]="ReportName",t[t["Time"]=23]="Time",t[t["Today"]=24]="Today",t[t["ConditionValue"]=25]="ConditionValue",t[t["ConditionValue2"]=26]="ConditionValue2",t[t["ConditionTag"]=27]="ConditionTag",t[t["Sender"]=28]="Sender",t[t["DateTimeNow"]=29]="DateTimeNow",t[t["DateTimeToday"]=30]="DateTimeToday"}(n=t.StiSystemVariableType||(t.StiSystemVariableType={})),function(t){t[t["Year"]=0]="Year",t[t["Month"]=1]="Month",t[t["Day"]=2]="Day",t[t["Hour"]=3]="Hour",t[t["Minute"]=4]="Minute",t[t["Second"]=5]="Second",t[t["Date"]=6]="Date",t[t["Length"]=7]="Length",t[t["From"]=8]="From",t[t["To"]=9]="To",t[t["FromDate"]=10]="FromDate",t[t["ToDate"]=11]="ToDate",t[t["FromTime"]=12]="FromTime",t[t["ToTime"]=13]="ToTime",t[t["SelectedLine"]=14]="SelectedLine",t[t["Name"]=15]="Name",t[t["TagValue"]=16]="TagValue",t[t["Days"]=17]="Days",t[t["Hours"]=18]="Hours",t[t["Milliseconds"]=19]="Milliseconds",t[t["Minutes"]=20]="Minutes",t[t["Seconds"]=21]="Seconds",t[t["Ticks"]=22]="Ticks",t[t["TotalDays"]=23]="TotalDays",t[t["TotalHours"]=24]="TotalHours",t[t["TotalMinutes"]=25]="TotalMinutes",t[t["TotalSeconds"]=26]="TotalSeconds",t[t["TotalMilliseconds"]=27]="TotalMilliseconds",t[t["Count"]=28]="Count",t[t["BusinessObjectValue"]=29]="BusinessObjectValue",t[t["Position"]=30]="Position",t[t["Line"]=31]="Line"}(i=t.StiPropertyType||(t.StiPropertyType={})),function(t){t[t["NameSpace"]=0]="NameSpace",t[t["Count"]=1]="Count",t[t["CountDistinct"]=2]="CountDistinct",t[t["Avg"]=3]="Avg",t[t["AvgD"]=4]="AvgD",t[t["AvgDate"]=5]="AvgDate",t[t["AvgI"]=6]="AvgI",t[t["AvgTime"]=7]="AvgTime",t[t["Max"]=8]="Max",t[t["MaxD"]=9]="MaxD",t[t["MaxDate"]=10]="MaxDate",t[t["MaxI"]=11]="MaxI",t[t["MaxStr"]=12]="MaxStr",t[t["MaxTime"]=13]="MaxTime",t[t["Median"]=14]="Median",t[t["MedianD"]=15]="MedianD",t[t["MedianI"]=16]="MedianI",t[t["Min"]=17]="Min",t[t["MinD"]=18]="MinD",t[t["MinDate"]=19]="MinDate",t[t["MinI"]=20]="MinI",t[t["MinStr"]=21]="MinStr",t[t["MinTime"]=22]="MinTime",t[t["Mode"]=23]="Mode",t[t["ModeD"]=24]="ModeD",t[t["ModeI"]=25]="ModeI",t[t["Sum"]=26]="Sum",t[t["SumD"]=27]="SumD",t[t["SumDistinct"]=28]="SumDistinct",t[t["SumI"]=29]="SumI",t[t["SumTime"]=30]="SumTime",t[t["First"]=31]="First",t[t["Last"]=32]="Last",t[t["rCount"]=33]="rCount",t[t["rCountDistinct"]=34]="rCountDistinct",t[t["rAvg"]=35]="rAvg",t[t["rAvgD"]=36]="rAvgD",t[t["rAvgDate"]=37]="rAvgDate",t[t["rAvgI"]=38]="rAvgI",t[t["rAvgTime"]=39]="rAvgTime",t[t["rMax"]=40]="rMax",t[t["rMaxD"]=41]="rMaxD",t[t["rMaxDate"]=42]="rMaxDate",t[t["rMaxI"]=43]="rMaxI",t[t["rMaxStr"]=44]="rMaxStr",t[t["rMaxTime"]=45]="rMaxTime",t[t["rMedian"]=46]="rMedian",t[t["rMedianD"]=47]="rMedianD",t[t["rMedianI"]=48]="rMedianI",t[t["rMin"]=49]="rMin",t[t["rMinD"]=50]="rMinD",t[t["rMinDate"]=51]="rMinDate",t[t["rMinI"]=52]="rMinI",t[t["rMinStr"]=53]="rMinStr",t[t["rMinTime"]=54]="rMinTime",t[t["rMode"]=55]="rMode",t[t["rModeD"]=56]="rModeD",t[t["rModeI"]=57]="rModeI",t[t["rSum"]=58]="rSum",t[t["rSumD"]=59]="rSumD",t[t["rSumDistinct"]=60]="rSumDistinct",t[t["rSumI"]=61]="rSumI",t[t["rSumTime"]=62]="rSumTime",t[t["rFirst"]=63]="rFirst",t[t["rLast"]=64]="rLast",t[t["iCount"]=65]="iCount",t[t["iCountDistinct"]=66]="iCountDistinct",t[t["iAvg"]=67]="iAvg",t[t["iAvgD"]=68]="iAvgD",t[t["iAvgDate"]=69]="iAvgDate",t[t["iAvgI"]=70]="iAvgI",t[t["iAvgTime"]=71]="iAvgTime",t[t["iMax"]=72]="iMax",t[t["iMaxD"]=73]="iMaxD",t[t["iMaxDate"]=74]="iMaxDate",t[t["iMaxI"]=75]="iMaxI",t[t["iMaxStr"]=76]="iMaxStr",t[t["iMaxTime"]=77]="iMaxTime",t[t["iMedian"]=78]="iMedian",t[t["iMedianD"]=79]="iMedianD",t[t["iMedianI"]=80]="iMedianI",t[t["iMin"]=81]="iMin",t[t["iMinD"]=82]="iMinD",t[t["iMinDate"]=83]="iMinDate",t[t["iMinI"]=84]="iMinI",t[t["iMinStr"]=85]="iMinStr",t[t["iMinTime"]=86]="iMinTime",t[t["iMode"]=87]="iMode",t[t["iModeD"]=88]="iModeD",t[t["iModeI"]=89]="iModeI",t[t["iSum"]=90]="iSum",t[t["iSumD"]=91]="iSumD",t[t["iSumDistinct"]=92]="iSumDistinct",t[t["iSumI"]=93]="iSumI",t[t["iSumTime"]=94]="iSumTime",t[t["iFirst"]=95]="iFirst",t[t["iLast"]=96]="iLast",t[t["riCount"]=97]="riCount",t[t["riCountDistinct"]=98]="riCountDistinct",t[t["riAvg"]=99]="riAvg",t[t["riAvgD"]=100]="riAvgD",t[t["riAvgDate"]=101]="riAvgDate",t[t["riAvgI"]=102]="riAvgI",t[t["riAvgTime"]=103]="riAvgTime",t[t["riMax"]=104]="riMax",t[t["riMaxD"]=105]="riMaxD",t[t["riMaxDate"]=106]="riMaxDate",t[t["riMaxI"]=107]="riMaxI",t[t["riMaxStr"]=108]="riMaxStr",t[t["riMaxTime"]=109]="riMaxTime",t[t["riMedian"]=110]="riMedian",t[t["riMedianD"]=111]="riMedianD",t[t["riMedianI"]=112]="riMedianI",t[t["riMin"]=113]="riMin",t[t["riMinD"]=114]="riMinD",t[t["riMinDate"]=115]="riMinDate",t[t["riMinI"]=116]="riMinI",t[t["riMinStr"]=117]="riMinStr",t[t["riMinTime"]=118]="riMinTime",t[t["riMode"]=119]="riMode",t[t["riModeD"]=120]="riModeD",t[t["riModeI"]=121]="riModeI",t[t["riSum"]=122]="riSum",t[t["riSumD"]=123]="riSumD",t[t["riSumDistinct"]=124]="riSumDistinct",t[t["riSumI"]=125]="riSumI",t[t["riSumTime"]=126]="riSumTime",t[t["riFirst"]=127]="riFirst",t[t["riLast"]=128]="riLast",t[t["cCount"]=129]="cCount",t[t["cCountDistinct"]=130]="cCountDistinct",t[t["cAvg"]=131]="cAvg",t[t["cAvgD"]=132]="cAvgD",t[t["cAvgDate"]=133]="cAvgDate",t[t["cAvgI"]=134]="cAvgI",t[t["cAvgTime"]=135]="cAvgTime",t[t["cMax"]=136]="cMax",t[t["cMaxD"]=137]="cMaxD",t[t["cMaxDate"]=138]="cMaxDate",t[t["cMaxI"]=139]="cMaxI",t[t["cMaxStr"]=140]="cMaxStr",t[t["cMaxTime"]=141]="cMaxTime",t[t["cMedian"]=142]="cMedian",t[t["cMedianD"]=143]="cMedianD",t[t["cMedianI"]=144]="cMedianI",t[t["cMin"]=145]="cMin",t[t["cMinD"]=146]="cMinD",t[t["cMinDate"]=147]="cMinDate",t[t["cMinI"]=148]="cMinI",t[t["cMinStr"]=149]="cMinStr",t[t["cMinTime"]=150]="cMinTime",t[t["cMode"]=151]="cMode",t[t["cModeD"]=152]="cModeD",t[t["cModeI"]=153]="cModeI",t[t["cSum"]=154]="cSum",t[t["cSumD"]=155]="cSumD",t[t["cSumDistinct"]=156]="cSumDistinct",t[t["cSumI"]=157]="cSumI",t[t["cSumTime"]=158]="cSumTime",t[t["cFirst"]=159]="cFirst",t[t["cLast"]=160]="cLast",t[t["crCount"]=161]="crCount",t[t["crCountDistinct"]=162]="crCountDistinct",t[t["crAvg"]=163]="crAvg",t[t["crAvgD"]=164]="crAvgD",t[t["crAvgDate"]=165]="crAvgDate",t[t["crAvgI"]=166]="crAvgI",t[t["crAvgTime"]=167]="crAvgTime",t[t["crMax"]=168]="crMax",t[t["crMaxD"]=169]="crMaxD",t[t["crMaxDate"]=170]="crMaxDate",t[t["crMaxI"]=171]="crMaxI",t[t["crMaxStr"]=172]="crMaxStr",t[t["crMaxTime"]=173]="crMaxTime",t[t["crMedian"]=174]="crMedian",t[t["crMedianD"]=175]="crMedianD",t[t["crMedianI"]=176]="crMedianI",t[t["crMin"]=177]="crMin",t[t["crMinD"]=178]="crMinD",t[t["crMinDate"]=179]="crMinDate",t[t["crMinI"]=180]="crMinI",t[t["crMinStr"]=181]="crMinStr",t[t["crMinTime"]=182]="crMinTime",t[t["crMode"]=183]="crMode",t[t["crModeD"]=184]="crModeD",t[t["crModeI"]=185]="crModeI",t[t["crSum"]=186]="crSum",t[t["crSumD"]=187]="crSumD",t[t["crSumDistinct"]=188]="crSumDistinct",t[t["crSumI"]=189]="crSumI",t[t["crSumTime"]=190]="crSumTime",t[t["crFirst"]=191]="crFirst",t[t["crLast"]=192]="crLast",t[t["ciCount"]=193]="ciCount",t[t["ciCountDistinct"]=194]="ciCountDistinct",t[t["ciAvg"]=195]="ciAvg",t[t["ciAvgD"]=196]="ciAvgD",t[t["ciAvgDate"]=197]="ciAvgDate",t[t["ciAvgI"]=198]="ciAvgI",t[t["ciAvgTime"]=199]="ciAvgTime",t[t["ciMax"]=200]="ciMax",t[t["ciMaxD"]=201]="ciMaxD",t[t["ciMaxDate"]=202]="ciMaxDate",t[t["ciMaxI"]=203]="ciMaxI",t[t["ciMaxStr"]=204]="ciMaxStr",t[t["ciMaxTime"]=205]="ciMaxTime",t[t["ciMedian"]=206]="ciMedian",t[t["ciMedianD"]=207]="ciMedianD",t[t["ciMedianI"]=208]="ciMedianI",t[t["ciMin"]=209]="ciMin",t[t["ciMinD"]=210]="ciMinD",t[t["ciMinDate"]=211]="ciMinDate",t[t["ciMinI"]=212]="ciMinI",t[t["ciMinStr"]=213]="ciMinStr",t[t["ciMinTime"]=214]="ciMinTime",t[t["ciMode"]=215]="ciMode",t[t["ciModeD"]=216]="ciModeD",t[t["ciModeI"]=217]="ciModeI",t[t["ciSum"]=218]="ciSum",t[t["ciSumD"]=219]="ciSumD",t[t["ciSumDistinct"]=220]="ciSumDistinct",t[t["ciSumI"]=221]="ciSumI",t[t["ciSumTime"]=222]="ciSumTime",t[t["ciFirst"]=223]="ciFirst",t[t["ciLast"]=224]="ciLast",t[t["criCount"]=225]="criCount",t[t["criCountDistinct"]=226]="criCountDistinct",t[t["criAvg"]=227]="criAvg",t[t["criAvgD"]=228]="criAvgD",t[t["criAvgDate"]=229]="criAvgDate",t[t["criAvgI"]=230]="criAvgI",t[t["criAvgTime"]=231]="criAvgTime",t[t["criMax"]=232]="criMax",t[t["criMaxD"]=233]="criMaxD",t[t["criMaxDate"]=234]="criMaxDate",t[t["criMaxI"]=235]="criMaxI",t[t["criMaxStr"]=236]="criMaxStr",t[t["criMaxTime"]=237]="criMaxTime",t[t["criMedian"]=238]="criMedian",t[t["criMedianD"]=239]="criMedianD",t[t["criMedianI"]=240]="criMedianI",t[t["criMin"]=241]="criMin",t[t["criMinD"]=242]="criMinD",t[t["criMinDate"]=243]="criMinDate",t[t["criMinI"]=244]="criMinI",t[t["criMinStr"]=245]="criMinStr",t[t["criMinTime"]=246]="criMinTime",t[t["criMode"]=247]="criMode",t[t["criModeD"]=248]="criModeD",t[t["criModeI"]=249]="criModeI",t[t["criSum"]=250]="criSum",t[t["criSumD"]=251]="criSumD",t[t["criSumDistinct"]=252]="criSumDistinct",t[t["criSumI"]=253]="criSumI",t[t["criSumTime"]=254]="criSumTime",t[t["criFirst"]=255]="criFirst",t[t["criLast"]=256]="criLast",t[t["pCount"]=257]="pCount",t[t["pCountDistinct"]=258]="pCountDistinct",t[t["pAvg"]=259]="pAvg",t[t["pAvgD"]=260]="pAvgD",t[t["pAvgDate"]=261]="pAvgDate",t[t["pAvgI"]=262]="pAvgI",t[t["pAvgTime"]=263]="pAvgTime",t[t["pMax"]=264]="pMax",t[t["pMaxD"]=265]="pMaxD",t[t["pMaxDate"]=266]="pMaxDate",t[t["pMaxI"]=267]="pMaxI",t[t["pMaxStr"]=268]="pMaxStr",t[t["pMaxTime"]=269]="pMaxTime",t[t["pMedian"]=270]="pMedian",t[t["pMedianD"]=271]="pMedianD",t[t["pMedianI"]=272]="pMedianI",t[t["pMin"]=273]="pMin",t[t["pMinD"]=274]="pMinD",t[t["pMinDate"]=275]="pMinDate",t[t["pMinI"]=276]="pMinI",t[t["pMinStr"]=277]="pMinStr",t[t["pMinTime"]=278]="pMinTime",t[t["pMode"]=279]="pMode",t[t["pModeD"]=280]="pModeD",t[t["pModeI"]=281]="pModeI",t[t["pSum"]=282]="pSum",t[t["pSumD"]=283]="pSumD",t[t["pSumDistinct"]=284]="pSumDistinct",t[t["pSumI"]=285]="pSumI",t[t["pSumTime"]=286]="pSumTime",t[t["pFirst"]=287]="pFirst",t[t["pLast"]=288]="pLast",t[t["prCount"]=289]="prCount",t[t["prCountDistinct"]=290]="prCountDistinct",t[t["prAvg"]=291]="prAvg",t[t["prAvgD"]=292]="prAvgD",t[t["prAvgDate"]=293]="prAvgDate",t[t["prAvgI"]=294]="prAvgI",t[t["prAvgTime"]=295]="prAvgTime",t[t["prMax"]=296]="prMax",t[t["prMaxD"]=297]="prMaxD",t[t["prMaxDate"]=298]="prMaxDate",t[t["prMaxI"]=299]="prMaxI",t[t["prMaxStr"]=300]="prMaxStr",t[t["prMaxTime"]=301]="prMaxTime",t[t["prMedian"]=302]="prMedian",t[t["prMedianD"]=303]="prMedianD",t[t["prMedianI"]=304]="prMedianI",t[t["prMin"]=305]="prMin",t[t["prMinD"]=306]="prMinD",t[t["prMinDate"]=307]="prMinDate",t[t["prMinI"]=308]="prMinI",t[t["prMinStr"]=309]="prMinStr",t[t["prMinTime"]=310]="prMinTime",t[t["prMode"]=311]="prMode",t[t["prModeD"]=312]="prModeD",t[t["prModeI"]=313]="prModeI",t[t["prSum"]=314]="prSum",t[t["prSumD"]=315]="prSumD",t[t["prSumDistinct"]=316]="prSumDistinct",t[t["prSumI"]=317]="prSumI",t[t["prSumTime"]=318]="prSumTime",t[t["prFirst"]=319]="prFirst",t[t["prLast"]=320]="prLast",t[t["piCount"]=321]="piCount",t[t["piCountDistinct"]=322]="piCountDistinct",t[t["piAvg"]=323]="piAvg",t[t["piAvgD"]=324]="piAvgD",t[t["piAvgDate"]=325]="piAvgDate",t[t["piAvgI"]=326]="piAvgI",t[t["piAvgTime"]=327]="piAvgTime",t[t["piMax"]=328]="piMax",t[t["piMaxD"]=329]="piMaxD",t[t["piMaxDate"]=330]="piMaxDate",t[t["piMaxI"]=331]="piMaxI",t[t["piMaxStr"]=332]="piMaxStr",t[t["piMaxTime"]=333]="piMaxTime",t[t["piMedian"]=334]="piMedian",t[t["piMedianD"]=335]="piMedianD",t[t["piMedianI"]=336]="piMedianI",t[t["piMin"]=337]="piMin",t[t["piMinD"]=338]="piMinD",t[t["piMinDate"]=339]="piMinDate",t[t["piMinI"]=340]="piMinI",t[t["piMinStr"]=341]="piMinStr",t[t["piMinTime"]=342]="piMinTime",t[t["piMode"]=343]="piMode",t[t["piModeD"]=344]="piModeD",t[t["piModeI"]=345]="piModeI",t[t["piSum"]=346]="piSum",t[t["piSumD"]=347]="piSumD",t[t["piSumDistinct"]=348]="piSumDistinct",t[t["piSumI"]=349]="piSumI",t[t["piSumTime"]=350]="piSumTime",t[t["piFirst"]=351]="piFirst",t[t["piLast"]=352]="piLast",t[t["priCount"]=353]="priCount",t[t["priCountDistinct"]=354]="priCountDistinct",t[t["priAvg"]=355]="priAvg",t[t["priAvgD"]=356]="priAvgD",t[t["priAvgDate"]=357]="priAvgDate",t[t["priAvgI"]=358]="priAvgI",t[t["priAvgTime"]=359]="priAvgTime",t[t["priMax"]=360]="priMax",t[t["priMaxD"]=361]="priMaxD",t[t["priMaxDate"]=362]="priMaxDate",t[t["priMaxI"]=363]="priMaxI",t[t["priMaxStr"]=364]="priMaxStr",t[t["priMaxTime"]=365]="priMaxTime",t[t["priMedian"]=366]="priMedian",t[t["priMedianD"]=367]="priMedianD",t[t["priMedianI"]=368]="priMedianI",t[t["priMin"]=369]="priMin",t[t["priMinD"]=370]="priMinD",t[t["priMinDate"]=371]="priMinDate",t[t["priMinI"]=372]="priMinI",t[t["priMinStr"]=373]="priMinStr",t[t["priMinTime"]=374]="priMinTime",t[t["priMode"]=375]="priMode",t[t["priModeD"]=376]="priModeD",t[t["priModeI"]=377]="priModeI",t[t["priSum"]=378]="priSum",t[t["priSumD"]=379]="priSumD",t[t["priSumDistinct"]=380]="priSumDistinct",t[t["priSumI"]=381]="priSumI",t[t["priSumTime"]=382]="priSumTime",t[t["priFirst"]=383]="priFirst",t[t["priLast"]=384]="priLast",t[t["CountAllLevels"]=385]="CountAllLevels",t[t["CountAllLevelsOnlyChilds"]=386]="CountAllLevelsOnlyChilds",t[t["CountOnlyChilds"]=387]="CountOnlyChilds",t[t["Rank"]=388]="Rank",t[t["Abs"]=389]="Abs",t[t["Acos"]=390]="Acos",t[t["Asin"]=391]="Asin",t[t["Atan"]=392]="Atan",t[t["Ceiling"]=393]="Ceiling",t[t["Cos"]=394]="Cos",t[t["Div"]=395]="Div",t[t["Exp"]=396]="Exp",t[t["Floor"]=397]="Floor",t[t["Log"]=398]="Log",t[t["Maximum"]=399]="Maximum",t[t["Minimum"]=400]="Minimum",t[t["Round"]=401]="Round",t[t["Sign"]=402]="Sign",t[t["Sin"]=403]="Sin",t[t["Sqrt"]=404]="Sqrt",t[t["Tan"]=405]="Tan",t[t["Truncate"]=406]="Truncate",t[t["DateDiff"]=407]="DateDiff",t[t["DateSerial"]=408]="DateSerial",t[t["Day"]=409]="Day",t[t["DayOfWeek"]=410]="DayOfWeek",t[t["DayOfYear"]=411]="DayOfYear",t[t["DaysInMonth"]=412]="DaysInMonth",t[t["DaysInYear"]=413]="DaysInYear",t[t["Hour"]=414]="Hour",t[t["Minute"]=415]="Minute",t[t["Month"]=416]="Month",t[t["Second"]=417]="Second",t[t["TimeSerial"]=418]="TimeSerial",t[t["Year"]=419]="Year",t[t["MonthName"]=420]="MonthName",t[t["WeekOfYear"]=421]="WeekOfYear",t[t["WeekOfMonth"]=422]="WeekOfMonth",t[t["DateToStr"]=423]="DateToStr",t[t["DateToStrPl"]=424]="DateToStrPl",t[t["DateToStrRu"]=425]="DateToStrRu",t[t["DateToStrUa"]=426]="DateToStrUa",t[t["DateToStrPt"]=427]="DateToStrPt",t[t["DateToStrPtBr"]=428]="DateToStrPtBr",t[t["Insert"]=429]="Insert",t[t["Length"]=430]="Length",t[t["Remove"]=431]="Remove",t[t["Replace"]=432]="Replace",t[t["Roman"]=433]="Roman",t[t["Substring"]=434]="Substring",t[t["ToCurrencyWords"]=435]="ToCurrencyWords",t[t["ToCurrencyWordsAr"]=436]="ToCurrencyWordsAr",t[t["ToCurrencyWordsEnGb"]=437]="ToCurrencyWordsEnGb",t[t["ToCurrencyWordsEnIn"]=438]="ToCurrencyWordsEnIn",t[t["ToCurrencyWordsEs"]=439]="ToCurrencyWordsEs",t[t["ToCurrencyWordsFr"]=440]="ToCurrencyWordsFr",t[t["ToCurrencyWordsNl"]=441]="ToCurrencyWordsNl",t[t["ToCurrencyWordsPl"]=442]="ToCurrencyWordsPl",t[t["ToCurrencyWordsPt"]=443]="ToCurrencyWordsPt",t[t["ToCurrencyWordsPtBr"]=444]="ToCurrencyWordsPtBr",t[t["ToCurrencyWordsRu"]=445]="ToCurrencyWordsRu",t[t["ToCurrencyWordsThai"]=446]="ToCurrencyWordsThai",t[t["ToCurrencyWordsTr"]=447]="ToCurrencyWordsTr",t[t["ToCurrencyWordsUa"]=448]="ToCurrencyWordsUa",t[t["ToCurrencyWordsZh"]=449]="ToCurrencyWordsZh",t[t["ToLowerCase"]=450]="ToLowerCase",t[t["ToProperCase"]=451]="ToProperCase",t[t["ToUpperCase"]=452]="ToUpperCase",t[t["ToWords"]=453]="ToWords",t[t["ToWordsAr"]=454]="ToWordsAr",t[t["ToWordsEs"]=455]="ToWordsEs",t[t["ToWordsEnIn"]=456]="ToWordsEnIn",t[t["ToWordsFa"]=457]="ToWordsFa",t[t["ToWordsPl"]=458]="ToWordsPl",t[t["ToWordsPt"]=459]="ToWordsPt",t[t["ToWordsRu"]=460]="ToWordsRu",t[t["ToWordsTr"]=461]="ToWordsTr",t[t["ToWordsUa"]=462]="ToWordsUa",t[t["Trim"]=463]="Trim",t[t["TryParseDecimal"]=464]="TryParseDecimal",t[t["TryParseDouble"]=465]="TryParseDouble",t[t["TryParseLong"]=466]="TryParseLong",t[t["Arabic"]=467]="Arabic",t[t["Persian"]=468]="Persian",t[t["ToOrdinal"]=469]="ToOrdinal",t[t["Left"]=470]="Left",t[t["Mid"]=471]="Mid",t[t["Right"]=472]="Right",t[t["StrToNullableDateTime"]=473]="StrToNullableDateTime",t[t["IsNull"]=474]="IsNull",t[t["Next"]=475]="Next",t[t["NextIsNull"]=476]="NextIsNull",t[t["Previous"]=477]="Previous",t[t["PreviousIsNull"]=478]="PreviousIsNull",t[t["IIF"]=479]="IIF",t[t["Choose"]=480]="Choose",t[t["Switch"]=481]="Switch",t[t["ToString"]=482]="ToString",t[t["Format"]=483]="Format",t[t["SystemConvertToBoolean"]=484]="SystemConvertToBoolean",t[t["SystemConvertToByte"]=485]="SystemConvertToByte",t[t["SystemConvertToChar"]=486]="SystemConvertToChar",t[t["SystemConvertToDateTime"]=487]="SystemConvertToDateTime",t[t["SystemConvertToDecimal"]=488]="SystemConvertToDecimal",t[t["SystemConvertToDouble"]=489]="SystemConvertToDouble",t[t["SystemConvertToInt16"]=490]="SystemConvertToInt16",t[t["SystemConvertToInt32"]=491]="SystemConvertToInt32",t[t["SystemConvertToInt64"]=492]="SystemConvertToInt64",t[t["SystemConvertToSByte"]=493]="SystemConvertToSByte",t[t["SystemConvertToSingle"]=494]="SystemConvertToSingle",t[t["SystemConvertToString"]=495]="SystemConvertToString",t[t["SystemConvertToUInt16"]=496]="SystemConvertToUInt16",t[t["SystemConvertToUInt32"]=497]="SystemConvertToUInt32",t[t["SystemConvertToUInt64"]=498]="SystemConvertToUInt64",t[t["MathRound"]=499]="MathRound",t[t["MathPow"]=500]="MathPow",t[t["AddAnchor"]=501]="AddAnchor",t[t["GetAnchorPageNumber"]=502]="GetAnchorPageNumber",t[t["GetAnchorPageNumberThrough"]=503]="GetAnchorPageNumberThrough",t[t["ConvertRtf"]=504]="ConvertRtf",t[t["ParseInt"]=505]="ParseInt",t[t["ParseDouble"]=506]="ParseDouble",t[t["ParseDecimal"]=507]="ParseDecimal",t[t["ParseDateTime"]=508]="ParseDateTime",t[t["ParseTimeSpan"]=509]="ParseTimeSpan",t[t["StringIsNullOrEmpty"]=510]="StringIsNullOrEmpty",t[t["StringIsNullOrWhiteSpace"]=511]="StringIsNullOrWhiteSpace",t[t["EngineHelperJoinColumnContent"]=512]="EngineHelperJoinColumnContent",t[t["EngineHelperToQueryString"]=513]="EngineHelperToQueryString",t[t["m_Substring"]=1e3]="m_Substring",t[t["m_ToString"]=1001]="m_ToString",t[t["m_ToLower"]=1002]="m_ToLower",t[t["m_ToUpper"]=1003]="m_ToUpper",t[t["m_IndexOf"]=1004]="m_IndexOf",t[t["m_StartsWith"]=1005]="m_StartsWith",t[t["m_EndsWith"]=1006]="m_EndsWith",t[t["m_Parse"]=1007]="m_Parse",t[t["m_Contains"]=1008]="m_Contains",t[t["m_GetData"]=1009]="m_GetData",t[t["m_ToQueryString"]=1010]="m_ToQueryString",t[t["m_AddYears"]=1011]="m_AddYears",t[t["m_AddMonths"]=1012]="m_AddMonths",t[t["m_AddDays"]=1013]="m_AddDays",t[t["m_AddHours"]=1014]="m_AddHours",t[t["m_AddMinutes"]=1015]="m_AddMinutes",t[t["m_AddSeconds"]=1016]="m_AddSeconds",t[t["m_AddMilliseconds"]=1017]="m_AddMilliseconds",t[t["m_ToShortDateString"]=1018]="m_ToShortDateString",t[t["m_ToShortTimeString"]=1019]="m_ToShortTimeString",t[t["m_ToLongDateString"]=1020]="m_ToLongDateString",t[t["m_ToLongTimeString"]=1021]="m_ToLongTimeString",t[t["m_GetCurrentConditionValue"]=1022]="m_GetCurrentConditionValue",t[t["m_Add"]=1023]="m_Add",t[t["m_Subtract"]=1024]="m_Subtract",t[t["m_MethodNameSpace"]=1025]="m_MethodNameSpace",t[t["op_Add"]=2020]="op_Add",t[t["op_Sub"]=2021]="op_Sub",t[t["op_Mult"]=2022]="op_Mult",t[t["op_Div"]=2023]="op_Div",t[t["op_Mod"]=2024]="op_Mod",t[t["op_Power"]=2025]="op_Power",t[t["op_Neg"]=2026]="op_Neg",t[t["op_Cast"]=2027]="op_Cast",t[t["op_Not"]=2028]="op_Not",t[t["op_CompareLeft"]=2029]="op_CompareLeft",t[t["op_CompareLeftEqual"]=2030]="op_CompareLeftEqual",t[t["op_CompareRight"]=2031]="op_CompareRight",t[t["op_CompareRightEqual"]=2032]="op_CompareRightEqual",t[t["op_CompareEqual"]=2033]="op_CompareEqual",t[t["op_CompareNotEqual"]=2034]="op_CompareNotEqual",t[t["op_Shl"]=2035]="op_Shl",t[t["op_Shr"]=2036]="op_Shr",t[t["op_And"]=2037]="op_And",t[t["op_And2"]=2038]="op_And2",t[t["op_Or"]=2039]="op_Or",t[t["op_Or2"]=2040]="op_Or2",t[t["op_Xor"]=2041]="op_Xor",t[t["UserFunction"]=3e3]="UserFunction"}(o=t.StiFunctionType||(t.StiFunctionType={})),function(t){t[t["Substring"]=1e3]="Substring",t[t["ToString"]=1001]="ToString",t[t["ToLower"]=1002]="ToLower",t[t["ToUpper"]=1003]="ToUpper",t[t["IndexOf"]=1004]="IndexOf",t[t["StartsWith"]=1005]="StartsWith",t[t["EndsWith"]=1006]="EndsWith",t[t["Parse"]=1007]="Parse",t[t["Contains"]=1008]="Contains",t[t["GetData"]=1009]="GetData",t[t["ToQueryString"]=1010]="ToQueryString",t[t["AddYears"]=1011]="AddYears",t[t["AddMonths"]=1012]="AddMonths",t[t["AddDays"]=1013]="AddDays",t[t["AddHours"]=1014]="AddHours",t[t["AddMinutes"]=1015]="AddMinutes",t[t["AddSeconds"]=1016]="AddSeconds",t[t["AddMilliseconds"]=1017]="AddMilliseconds",t[t["ToShortDateString"]=1018]="ToShortDateString",t[t["ToShortTimeString"]=1019]="ToShortTimeString",t[t["ToLongDateString"]=1020]="ToLongDateString",t[t["ToLongTimeString"]=1021]="ToLongTimeString",t[t["GetCurrentConditionValue"]=1022]="GetCurrentConditionValue",t[t["Add"]=1023]="Add",t[t["Subtract"]=1024]="Subtract",t[t["MethodNameSpace"]=1025]="MethodNameSpace"}(a=t.StiMethodType||(t.StiMethodType={})),function(t){t[t["Param1"]=1]="Param1",t[t["Param2"]=2]="Param2",t[t["Param3"]=4]="Param3",t[t["Param4"]=8]="Param4"}(s=t.StiParameterNumber||(t.StiParameterNumber={}))}(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.Report.Components.StiBand,i=t.Report.Components.StiGroupHeaderBand,o=t.Report.Components.IStiComponentsOwnerRenderer,a=t.Report.Components.StiContainerHelper,s=t.Report.Components.StiContainer,l=t.Report.Components.StiPanel,u=function(u){function c(){return null!==u&&u.apply(this,arguments)||this}return __extends(c,u),c.getRenderContainer=function(e,r){void 0===r&&(r=null);var o=null;null!=r?(o=t.System.Activator.createInstance(r)).clientRectangle=e.clientRectangle.clone():e.is(l)?(o=new l(e.clientRectangle.clone())).columns=e.columns:o=new s(e.clientRectangle.clone()),o.minSize=e.minSize,o.maxSize=e.maxSize,o.dockStyle=e.dockStyle,o.name=e.name,o.parentComponentIsBand=e.is(n),o.parentComponentIsCrossBand=e.is(t.Report.Components.StiCrossDataBand),o.canBreak=e.canBreak,o.canGrow=e.canGrow,o.canShrink=e.canShrink,o.growToHeight=e.growToHeight,o.shiftMode=e.shiftMode,o.printable=e.printable,o.printOn=e.printOn,o.componentStyle=e.componentStyle,o.currentBookmark=e.currentBookmark,o.parentBookmark=e.parentBookmark,o.guid=e.guid,o.interaction=e.interaction,o.drillDownParameters=e.drillDownParameters,e.is(i)&&(o.collapsingIndex=e.collapsingIndex,o.collapsedValue=e.collapsedValue),e.is(t.Report.Components.StiDataBand)&&(o.collapsingIndex=e.collapsingIndex,o.collapsedValue=e.collapsedValue,o.collapsingTreePath=e.collapsingTreePath);var a=e.as(n);null!=a&&(a.bandInfo.forceCanBreak&&(o.canBreak=!0),a.bandInfo.forceCanGrow&&(o.canGrow=!0));var u=e.as(s);return null!=u&&(o.brush=u.brush.clone(),o.border=u.border.clone()),StiOptions.Export.optimizeDataOnlyMode&&(o.componentPlacement=e.componentPlacement),o},c.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,(function(){var i,l,u,p,h,m,f,d,g,S,y,A,b,v,C,m,w,B,I,T,E,R,D,P,x,F;return __generator(this,(function(N){switch(N.label){case 0:if(i=n,l=!1,u=c.getRenderContainer(i),i.report.calculationMode==e.StiCalculationMode.Interpretation&&(u.bookmark=i.bookmark,u.hyperlink=i.hyperlink,u.tag=i.tag),i.is(o))return[3,8];N.label=1;case 1:N.trys.push([1,6,7,8]),p=__values(i.components.list),h=p.next(),N.label=2;case 2:if(h.done)return[3,5];if(null==(m=h.value).parentBookmark&&(m.parentBookmark=i.currentBookmark),m.componentType!=t.Report.Components.StiComponentType.Simple)return[3,4];return m.parentBookmark=i.currentBookmark,[4,m.renderAsync()];case 3:if(null!=(f=N.sent())&&(null!=(d=f.as(s))&&-1!=d.containerInfo.setSegmentPerWidth&&(u.containerInfo.setSegmentPerWidth=d.containerInfo.setSegmentPerWidth),u.components.add(f),StiOptions.Engine.allowInteractionInChartWithComponents&&null!=(g=f.as(t.Report.Chart.IStiChart))&&null!=g.chartInfo.interactiveComps))try{for(D=void 0,S=__values(g.chartInfo.interactiveComps),y=S.next();!y.done;y=S.next())(A=y.value).left+=f.left,A.top+=f.top,u.components.add(A)}catch(t){D={error:t}}finally{try{y&&!y.done&&(P=S.return)&&P.call(S)}finally{if(D)throw D.error}}N.label=4;case 4:return h=p.next(),[3,2];case 5:return[3,8];case 6:return b=N.sent(),E={error:b},[3,8];case 7:try{h&&!h.done&&(R=p.return)&&R.call(p)}finally{if(E)throw E.error}return[7];case 8:if(i.report.engine.denyRenderMasterComponentsInContainer)return[3,16];if(i.is(o))return[3,16];N.label=9;case 9:N.trys.push([9,14,15,16]),v=__values(i.components.list),C=v.next(),N.label=10;case 10:if(C.done)return[3,13];if((m=C.value).parentBookmark=i.currentBookmark,m.componentType!=t.Report.Components.StiComponentType.Master)return[3,12];return[4,m.renderAsync()];case 11:N.sent(),m.is(t.Report.Components.StiDataBand)&&(l=!0),N.label=12;case 12:return C=v.next(),[3,10];case 13:return[3,16];case 14:return w=N.sent(),x={error:w},[3,16];case 15:try{C&&!C.done&&(F=v.return)&&F.call(v)}finally{if(x)throw x.error}return[7];case 16:if(!l)return[3,18];B=!1,I=i;while(1){if(I.is(t.Report.Components.StiPageHeaderBand)||I.is(t.Report.Components.StiPageFooterBand)||I.is(t.Report.Components.StiReportTitleBand)||I.is(t.Report.Components.StiReportSummaryBand)){B=!0;break}if(null==I||I.is(t.Report.Components.StiPage))break;I=I.parent}return[4,r.StiSubReportsHelper.renderDataBandsInContainerAsync(u,i,B)];case 17:N.sent(),N.label=18;case 18:return T=u.width,a.checkSize(u),u.parentComponentIsCrossBand||(u.width=T),[2,u]}}))}))},c.prototype.internalRender=function(n){var i,l,u,p,h,m,f=n,d=!1,g=c.getRenderContainer(f);if(f.report.calculationMode==e.StiCalculationMode.Interpretation&&(g.bookmark=f.bookmark,g.hyperlink=f.hyperlink,g.tag=f.tag),!f.is(o))try{for(var S=__values(f.components.list),y=S.next();!y.done;y=S.next()){var A;if(null==(A=y.value).parentBookmark&&(A.parentBookmark=f.currentBookmark),A.componentType==t.Report.Components.StiComponentType.Simple){A.parentBookmark=f.currentBookmark;var b=A.render();if(null!=b){var v=b.as(s);if(null!=v&&-1!=v.containerInfo.setSegmentPerWidth&&(g.containerInfo.setSegmentPerWidth=v.containerInfo.setSegmentPerWidth),g.components.add(b),StiOptions.Engine.allowInteractionInChartWithComponents){var C=b.as(t.Report.Chart.IStiChart);if(null!=C&&null!=C.chartInfo.interactiveComps)try{for(var w=(u=void 0,__values(C.chartInfo.interactiveComps)),B=w.next();!B.done;B=w.next()){var I=B.value;I.left+=b.left,I.top+=b.top,g.components.add(I)}}catch(t){u={error:t}}finally{try{B&&!B.done&&(p=w.return)&&p.call(w)}finally{if(u)throw u.error}}}}}}}catch(t){i={error:t}}finally{try{y&&!y.done&&(l=S.return)&&l.call(S)}finally{if(i)throw i.error}}if(!f.report.engine.denyRenderMasterComponentsInContainer&&!f.is(o))try{for(var T=__values(f.components.list),E=T.next();!E.done;E=T.next()){var A;(A=E.value).parentBookmark=f.currentBookmark,A.componentType==t.Report.Components.StiComponentType.Master&&(A.render(),A.is(t.Report.Components.StiDataBand)&&(d=!0))}}catch(t){h={error:t}}finally{try{E&&!E.done&&(m=T.return)&&m.call(T)}finally{if(h)throw h.error}}if(d){var R=!1,D=f;while(1){if(D.is(t.Report.Components.StiPageHeaderBand)||D.is(t.Report.Components.StiPageFooterBand)||D.is(t.Report.Components.StiReportTitleBand)||D.is(t.Report.Components.StiReportSummaryBand)){R=!0;break}if(null==D||D.is(t.Report.Components.StiPage))break;D=D.parent}r.StiSubReportsHelper.renderDataBandsInContainer(g,f,R)}var P=g.width;return a.checkSize(g),g.parentComponentIsCrossBand||(g.width=P),g},c}(r.StiComponentBuilder);r.StiContainerBuilder=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.CrossTab.StiCrossTab,n=t.Report.Components.StiChildBand,i=t.Report.Components.StiSubReport,o=t.Report.Components.StiComponentsCollection,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.getChildBands=function(t){var e=new o,r=t.parent.components.indexOf(t)+1;while(r<t.parent.components.count){if(!t.parent.components.getByIndex(r).stimulsoft.is(n))break;e.add(t.parent.components.getByIndex(r)),r++}return e},e.getSubReports=function(t){var e,r,n=new o;try{for(var a=__values(t.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;l.stimulsoft.is(i)&&n.add(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},e.prototype.prepare=function(e){var n,o;t.prototype.prepare.call(this,e);var a=e,s=a.getComponents();try{for(var l=__values(s.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=c.stimulsoft.as(i);if(null!=p){p.keepSubReportTogether||(a.bandInfo.forceCanBreak=!0),a.bandInfo.forceCanGrow=!0;break}var h=c.stimulsoft.as(r);if(null!=h){h.keepCrossTabTogether||(a.bandInfo.forceCanBreak=!0),a.bandInfo.forceCanGrow=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}},e}(e.StiContainerBuilder);e.StiBandBuilder=a}(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=t.Report.Events.StiValueEventArgs,i=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<t.parent.components.count){if(t.parent.components.getByIndex(e).is(r))return t.parent.components.getByIndex(e);e++}return null},e.getCurrentConditionValue=function(t){var e=new n(null);return t.invokeGetValue(e),e.value},e.getCurrentSummaryExpressionValue=function(t){var e=new n(null);return t.invokeGetSummaryExpression(e),e.value},e.prototype.setReportVariables=function(t){var e=t;e.report.groupLine=e.line},e.prototype.prepare=function(e){var r=e;t.prototype.prepare.call(this,r),r.line=1},e}(e.StiBandBuilder);e.StiGroupHeaderBandBuilder=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.System.StiArray,i=t.Base.StiConvert,o=t.System.StiString,a=t.Data.Engine.StiDataPicker,s=t.System.Data.DBNull,l=t.System.Data.DataRow,u=t.System.Data.DataTable,c=t.System.Data.DataColumn,p=t.System.ICloneable,h=t.System.Collections.List,m=t.System.Collections.IEnumerator,f=t.Base.JsonReportObject.IStiJsonReportObject,d=t.System.Collections.Hashtable,g=t.System.Convert,S=t.Report.Components.StiHierarchicalBand,y=t.Report.Engine.StiGroupHeaderBandBuilder,A=t.Report.Components.StiGroupSummaryType,b=t.System.TimeSpan,v=t.System.DateTime,C=t.Base.StiJson,w=t.System.StiPromise,B=t.Base.IStiAppDataSource,I=t.Base.StiKeyHelper,T;!function(t){t[t["NameInSource"]=100]="NameInSource",t[t["Name"]=200]="Name",t[t["Alias"]=300]="Alias",t[t["AllowExpressions"]=400]="AllowExpressions",t[t["Columns"]=500]="Columns",t[t["CommandTimeout"]=600]="CommandTimeout",t[t["ConnectOnStart"]=700]="ConnectOnStart",t[t["Parameters"]=800]="Parameters",t[t["ReconnectOnEachRow"]=900]="ReconnectOnEachRow",t[t["SqlCommand"]=1e3]="SqlCommand",t[t["Type"]=1100]="Type"}(T||(T={}));var E=function(){function T(e,n,i){void 0===i&&(i=""),this._inherited=!1,this.positionValue=0,this.isBofValue=!1,this.isEofValue=!1,this._states=null,this.nameOfDataBandWhichInitDataSource=null,this.isInited=!1,this.initForSubreport=!1,this.xmlRefAttrValue=null,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null,this.calcColumns=new d,this.detailRows=null,this.rowToLevel=null,this._isCloud=!1,this.connectionOrder=t.Report.Dictionary.StiConnectionOrder.Standard,this.connectOnStart=!0,this._key=null,this.name=e,this.alias=n,o.isNullOrEmpty(this.alias)&&(this.alias=e),this.rows=new t.Report.Dictionary.StiRowsCollection(this),this.columns=new r.StiDataColumnsCollection(this),this.parameters=new t.Report.Dictionary.StiDataParametersCollection(this),this.key=i}return T.prototype.implements=function(){return[p,B,e.IStiStateSaveRestore,r.IStiEnumerator,m,e.IStiName,e.IStiInherited,f]},T.prototype.saveToJsonObject=function(t){var e=new C;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("Inherited",this.inherited),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyBool("IsCloud",this.isCloud,!1),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyJObject("Columns",this.columns.saveToJsonObject(t)),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"Inherited":this.inherited=o.value.stimulsoft.toBoolean();break;case"Name":this._name=o.value;break;case"IsCloud":this._isCloud=o.value.stimulsoft.toBoolean();break;case"Alias":this._alias=o.value;break;case"Key":this._key=o.value;break;case"Columns":this._columns.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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"IsCloud":this._isCloud=r.textContent.stimulsoft.toBoolean();break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"Columns":this._columns.loadFromXml(r);break}}},T.prototype.getNameInSource=function(){var t=this.stimulsoft.as(r.StiDataStoreSource);return null!=t?o.isNullOrEmpty(t.nameInSource)?"":t.nameInSource:""},T.prototype.getName=function(){return this.name},T.prototype.getDataTable2=function(e){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l,u,c,p,h;return __generator(this,(function(m){switch(m.label){case 0:if(!e)return[2,this.dataTable];n=this.stimulsoft.as(r.StiSqlSource),i=this.stimulsoft.as(r.StiVirtualSource),o="",m.label=1;case 1:if(m.trys.push([1,8,,9]),null==n)return[3,3];o=n.sqlCommand,(a=new t.Report.Components.StiText).name="**DataSourceParameter**",a.page=this.dictionary.report.pages.getByIndex(0);try{for(s=__values(this.parameters.list),l=s.next();!l.done;l=s.next())(u=l.value).parameterValue=t.Report.Engine.StiParser.StiParser.parseTextValue("{"+u.value+"}",a)}catch(t){p={error:t}}finally{try{l&&!l.done&&(h=s.return)&&h.call(s)}finally{if(p)throw p.error}}return n.sqlCommand=g.toString(t.Report.Engine.StiParser.StiParser.parseTextValue(n.sqlCommand,a)),t.Report.Dictionary.StiDataSourceParserHelper.connectSqlSource(n),[4,r.StiDataLeader.connectAsync2(this,null)];case 2:return m.sent(),[3,7];case 3:if(null==i)return[3,5];return[4,i.connectToDataAsync2(!0)];case 4:return m.sent(),[3,7];case 5:return[4,r.StiDataLeader.connectAsync2(this,null)];case 6:m.sent(),m.label=7;case 7:return[3,9];case 8:return c=m.sent(),this.dataTable=null,[3,9];case 9:return null!=n&&(n.sqlCommand=o),[2,this.dataTable]}}))}))},T.prototype.getDictionary=function(){return this.dictionary},T.prototype.fetchColumns=function(){return this.columns.toList().cast()},T.prototype.getConnection=function(){return r.StiDataSourceHelper.getDatabaseFromDataSource(this)},T.prototype.fetchParentRelations=function(t){return this.parentRelationList(t)},T.prototype.fetchChildRelations=function(t){return this.childRelationList(t)},T.prototype.fetchColumnValues=function(e){var o,a,s,l,u=this,c=new h;if(null==e||0==e.length)return c;var p=e.select((function(t){return u.columns.getByName(t)}));if(p.all((function(t){return null==t})))return c;var m=null==this.dataTable||0==this.dataTable.rows.count;if(null==this.dataTable||0==this.dataTable.rows.count)return c;this.first();try{for(var f=__values(this.dataTable.rows.list),d=f.next();!d.done;d=f.next()){var g=d.value,S=n.create(Object,p.count2()),y=0;try{for(var A=(s=void 0,__values(p)),b=A.next();!b.done;b=A.next()){var v=b.value;if(v.stimulsoft.is(r.StiCalcDataColumn)){var C="{"+v.value+"}",w=t.Report.Dashboard.StiReportParser.parse(C,this.dictionary.report.pages.getByIndex(0),!1);try{S[y]=i.changeType(w,v.type)}catch(t){}}else{var B=this.dataTable.columns.getIndexByName(v.nameInSource),w=g.gett(B);S[y]=w}y++}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=A.return)&&l.call(A)}finally{if(s)throw s.error}}c.add(S),this.next()}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}return this.first(),c},T.prototype.getKey=function(){return this.key=I.getOrGeneratedKey(this.key),this.key},T.prototype.setKey=function(t){this.key=t},Object.defineProperty(T.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"current",{get:function(){return this},enumerable:!1,configurable:!0}),T.prototype.moveNext=function(){return this.next(),!this.isEof},T.prototype.reset=function(){this.first()},T.prototype.getEnumerator=function(){return this},Object.defineProperty(T.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataSourceName&&(t=e.StiNameValidator.correctName(t)),this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"position",{get:function(){return this.positionValue},set:function(t){this.positionValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"realCount",{get:function(){if(null!=this.detailRows)return this.detailRows.length;return null==this.dataTable?0:this.dataTable.rows.count},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"count",{get:function(){if(0==this.realCount&&StiOptions.Engine.emulateData){if(null==this.dataTable)return 1;if(null!=this.dataTable&&0==this.dataTable.rows.count)return 1}return this.realCount},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isBof",{get:function(){if(this.isEmpty)return!0;return this.isBofValue},set:function(t){this.isBofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEof",{get:function(){if(this.isEmpty)return!0;return this.isEofValue},set:function(t){this.isEofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEmpty",{get:function(){return 0==this.count},enumerable:!1,configurable:!0}),T.prototype.first=function(){this.positionValue=0,this.isEofValue=!1,this.isBofValue=!0},T.prototype.prior=function(){this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--},T.prototype.next=function(){if(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=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;d<e.count;d++){e.position=d;var g=0;try{for(var S=(o=void 0,__values(l.toCast())),A=S.next();!A.done;A=S.next()){var f;(f=A.value).sortDirection!=t.Report.Components.StiGroupSortDirection.None&&(s[d][g][0]=y.getCurrentConditionValue(f),s[d][g][1]=f.sortDirection,g++)}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}}e.isEof=u,e.isBof=c}return s},T.prototype.setDetails=function(t){var e=this.stimulsoft.as(r.StiSqlSource);if(null!=e&&e.reconnectOnEachRow&&e.updateParameters(),!o.isNullOrEmpty(t)){var n=this.dictionary.relations.getByName(t);if(null!=n){var i=n.parentSource;if(null!=i){var a=i.dataTable;null!=a&&(null!=i.detailRows?0!=i.detailRows.length?i.position<i.detailRows.length?this.detailRows=i.detailRows[i.position].getChildRows(t):this.detailRows=[]:this.detailRows=i.detailRows:i.position<a.rows.count&&(this.detailRows=a.rows.getByIndex(i.position).getChildRows(t)))}}}},T.prototype.setFilter=function(e){if(null!=e&&this.realCount>0){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;a<this.count;a++){this.position=a,this.dictionary.report.line=a+1;try{var s=t.Report.Engine.StiParser.StiParser.parseTextValue(o.expression,o.component);null!=s&&s.stimulsoft.is(Boolean)&&s&&(null==this.detailRows?i.push(this.dataTable.rows.getByIndex(a)):i.push(this.detailRows[a]))}catch(e){t.System.StiError.showError(e,!1)}}this.detailRows=i,this.position=r,this.dictionary.report.line=n}},T.prototype.setSort=function(i,a,s,u,c){var p,h,m,f,y,C,w,B,I,T,E,R,D,P,x,F,N,k;try{if(null!=s&&s.stimulsoft.is(S)){if(0==this.realCount)return;null==this.detailRows&&null!=this.dataTable&&(this.detailRows=n.create(l,this.dataTable.rows.count),this.dataTable.rows.copyTo(this.detailRows,0));var M=new d,O=0,_;try{for(var j=__values(this.detailRows),G=j.next();!G.done;G=j.next()){var H=G.value;M.set(H.recordIndex,O++)}}catch(t){p={error:t}}finally{try{G&&!G.done&&(h=j.return)&&h.call(j)}finally{if(p)throw p.error}}return void new r.StiHierarchicalDataSort(this,s.stimulsoft.as(S),a).process(M)}if((null!=i||null!=a)&&this.realCount>0){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&&t<this.dataTable.rows.count)return this.dataTable.rows.getByIndex(t);return null}if(t<this.detailRows.length)return this.detailRows[t];return null},T.prototype.getParentData=function(t){var e,n=this.getDataRow(this.position);if(null!=n){var i=this.dictionary.relations.getByName(t);null!=i&&(t=i.nameInSource);var o=n.getParentRows(t);n=null!=o&&o.length>0?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<r.columns.count;i++){var o=r.columns.getByIndex(i);n[i]=e.columns.getIndexByName(o.columnName)}for(var i=0;i<e.rows.count;i++)for(var a=r.addNewRow(),s=0;s<r.columns.count;s++)try{a.sett(s,e.rows.getByIndex(i).gett(n[s]))}catch(e){t.System.StiError.showError(e,!1)}return r}catch(t){if(!StiOptions.Engine.hideExceptions)throw t}return new u(this.name)},T.prototype.getByName=function(t){return this.getData(t)},T.prototype.GetData=function(t,e){return void 0===e&&(e=this.position),this.getData(t,e)},T.prototype.getData=function(n,i){void 0===i&&(i=this.position);try{if(this.isConnected){var o=this.calcColumns.get(n);if(null!=o){var l=new t.Report.Components.StiText;return l.page=this.dictionary.report.pages.getByIndex(0),l.name=this.dictionary.report.reportGuid,t.Report.Engine.StiParser.StiParser.parseTextValue("{"+o.expression+"}",l)}var u=this.getColumnIndex(n);if(u<0)return null;var c=this.getDataRow(i);if(null==c)return null;return c.getValue(u)}var p=a.getFromCache(this);if(null==p&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any((function(t){return t.isPage}))&&(r.StiDataLeader.connect(this,null),p=(p=this.getDataTable()).copy(),p=a.processCalculatedColumns(p,this),a.addToCache(this,{ref:p}),r.StiDataLeader.disconnect(this)),null!=p)return p.columns.contains(n)&&i>=0&&i<p.rows.count?p.rows.getByIndex(i).gett(n):s.value;return t.System.Data.DBNull}catch(r){if(t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}return null},T.prototype.getDataAsync=function(n,i){var o=this;void 0===i&&(i=this.position);var l=new w;try{if(this.isConnected)return l.callTry(this.getData(n,i));var u=a.getFromCache(this);null==u&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any((function(t){return t.isPage}))&&r.StiDataLeader.connectAsync(this,null).try((function(){if(u=(u=o.getDataTable()).copy(),u=a.processCalculatedColumns(u,o),a.addToCache(o,{ref:u}),r.StiDataLeader.disconnect(o),null!=u)return l.callTry(u.columns.contains(n)&&i>=0&&i<u.rows.count?u.rows.getByIndex(i).gett(n):s.value);return l.callTry(s)})),l.callTry(s)}catch(r){if(t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}return l},T.prototype.getColumnIndex=function(t){var e,r,n,i;if(null!=this.columnsIndexs){var a;if(null!=(a=this.columnsIndexs.get(t))&&!a.stimulsoft.is(Number)||null!=a||(a=this.columnsIndexs.get(t.toLowerCase())),null==a)return-1;if(-1==+a)var s=o.format("Column '{0}' from data source '{1}' not found in table '{2}'",t,this.name,this.dataTable.tableName);return+a}var a=0;try{for(var l=__values(this.columns.list),u=l.next();!u.done;u=l.next()){var c;if((c=u.value).nameInSource==t)return a;a++}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}a=0;try{for(var p=__values(this.columns.list),h=p.next();!h.done;h=p.next()){var c;if((c=h.value).name==t||c.alias==t)return a;a++}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}return-1},Object.defineProperty(T.prototype,"rows",{get:function(){return this._rows},set:function(t){this._rows=t},enumerable:!1,configurable:!0}),T.prototype.synchronizeColumns=function(){var t,e,n=this.stimulsoft.as(r.StiDataStoreSource);if(null==n)return;var i=null;try{for(var o=__values(this.dictionary.dataStore.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.name.toLowerCase()==n.nameInSource.toLowerCase()){i=s;break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}if(null==i)return;this.dictionary.synchronizeColumns(i,this)},T.prototype.checkColumnsIndexs=function(){var t,n;if((null==this.columnsIndexs||0==this.columnsIndexs.keys.length)&&null!=this.dataTable&&this.dataTable.columns.count>0){this.columnsIndexs=new d;for(var i=new d,o=0;o<this.dataTable.columns.count;o++)i.set(this.dataTable.columns.getByIndex(o).columnName.toLowerCase(),o);try{for(var a=__values(this.columns.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.stimulsoft.is(r.StiCalcDataColumn)){this.calcColumns.set(l.nameInSource.toLowerCase(),l),this.calcColumns.set(l.nameInSource,l),this.calcColumns.set(l.name,l),this.calcColumns.set(l.alias,l),this.calcColumns.set(e.StiNameValidator.correctName(l.name),l);continue}var o=-1,u=i.get(l.nameInSource.toLowerCase());null!=u&&(o=Math.trunc(u.stimulsoft.toNumber())),this.columnsIndexs.set(l.nameInSource.toLowerCase(),o),this.columnsIndexs.set(l.nameInSource,o),this.columnsIndexs.set(l.name,o),this.columnsIndexs.set(l.alias,o),this.columnsIndexs.set(e.StiNameValidator.correctName(l.name),o)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}},T.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataSource)return this.alias;return name==this.alias||o.isNullOrEmpty(this.alias)?name:o.format("{0} [{1}]",this.name,this.alias)},T.prototype.getLevel=function(){if(null==this.rowToLevel)return 0;var t=null;if(null!=this.detailRows){if(this.detailRows.length<=this.position)return 0;t=this.detailRows[this.position]}else{if(null==this.dataTable||this.dataTable.rows.count<=this.position)return 0;t=this.dataTable.rows.getByIndex(this.position)}var e=this.rowToLevel.get(t);if(e.stimulsoft.is(Number))return+e;return 0},T.prototype.getCategoryName=function(){var t=r.StiDataAdapterService.getDataAdapter(this);if(null!=t)return t.serviceName;return""},T.prototype.createNew=function(){return null},Object.defineProperty(T.prototype,"isCloud",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"dataTable",{get:function(){return this._dataTable},set:function(t){if(this._dataTable=t,this.detailRows=null,null!=t&&(this.checkColumnsIndexs(),(this.stimulsoft.is(r.StiDataTableSource)&&this.dictionary.report.cacheAllData||null==this._dataTable.dataSet)&&null!=this.dictionary.cacheDataSet)){var e=0,n=this._dataTable.tableName;while(null!=this.dictionary.cacheDataSet.tables.getByName(n))e++,n=o.format("{0}{1}",this.dataTable.tableName,e);this.dataTable.tableName!=n&&(this.dataTable.tableName=n),this.dictionary.cacheDataSet.tables.add(this.dataTable)}this.first()},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isConnected",{get:function(){return null!=this._dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"columns",{get:function(){return this._columns},set:function(t){var e=this;this._columns=t,null!=t&&(t.dataSource=this,t.toList().forEach((function(t){return t.dataSource=e})))},enumerable:!1,configurable:!0}),T.prototype.disconnect=function(){if(null!=this.dataTable&&null!=this.dictionary&&null!=this.dictionary.cacheDataSet&&-1!=this.dictionary.cacheDataSet.tables.indexOf(this.dataTable)){var t=0;while(t<this.dictionary.cacheDataSet.relations.count){var e=this.dictionary.cacheDataSet.relations.getByIndex(t);e.parentTable==this.dataTable||e.childTable==this.dataTable?this.dictionary.cacheDataSet.relations.removeAt(t):t++}this.dictionary.cacheDataSet.tables.remove(this.dataTable),this.dataTable=null}this.rowToLevel=null,this.detailRows=null},T.prototype.getByColumnName=function(t){return this.getData(t)},Object.defineProperty(T.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),T.prototype.parentRelationList=function(t){void 0===t&&(t=!1);var e=this.getParentRelations().toList().cast();return t&&e.any((function(t){return t.active}))?e.where((function(t){return t.active})):e},T.prototype.childRelationList=function(t){void 0===t&&(t=!1);var e=this.getChildRelations().toList().cast();return t&&e.any((function(t){return t.active}))?e.where((function(t){return t.active})):e},T}();r.StiDataSource=E}(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.Report.Dictionary.StiFunctions,o=t.System.Collections.Hashtable,a=t.System.DateTime,s=t.System.TimeSpan,l=t.System.TypeCode,u=t.Report.Dictionary.StiDataSource,c=function(){function t(t,e,r,n){void 0===n&&(n=String),this.name=t,this.number=e,this.arguments=r,this.returnType=n}return t}();n.StiParserMethodInfo=c;var p=function(){function n(){this.report=null,this.expressionPosition=0,this._componentsList=null,this.lockUserFunctionsList={},this._userFunctionsList=null}return n.prototype.get_category=function(e){if(null==e)return-1;var r=e.stimulsoft.getType(),n=0;return r==String?n=1:r==Number?n=4:r==t.System.DateTime?n=8:r==Boolean&&(n=9),n},Object.defineProperty(n,"typesList",{get:function(){return null==this._typesList&&(this._typesList=new o,this._typesList.set("bool",l.Boolean),this._typesList.set("Boolean",l.Boolean),this._typesList.set("byte",l.Byte),this._typesList.set("Byte",l.Byte),this._typesList.set("sbyte",l.SByte),this._typesList.set("Sbyte",l.SByte),this._typesList.set("char",l.Char),this._typesList.set("Char",l.Char),this._typesList.set("decimal",l.Decimal),this._typesList.set("Decimal",l.Decimal),this._typesList.set("double",l.Double),this._typesList.set("Double",l.Double),this._typesList.set("float",l.Single),this._typesList.set("Single",l.Single),this._typesList.set("int",l.Int32),this._typesList.set("uint",l.UInt32),this._typesList.set("long",l.Int64),this._typesList.set("ulong",l.UInt64),this._typesList.set("short",l.Int16),this._typesList.set("Int16",l.Int16),this._typesList.set("Int32",l.Int32),this._typesList.set("Int64",l.Int64),this._typesList.set("ushort",l.UInt16),this._typesList.set("UInt16",l.UInt16),this._typesList.set("UInt32",l.UInt32),this._typesList.set("UInt64",l.UInt64),this._typesList.set("object",l.Object),this._typesList.set("string",l.String),this._typesList.set("String",l.String),this._typesList.set("DateTime",l.DateTime),this._typesList.set("TimeSpan",s)),this._typesList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"systemVariablesList",{get:function(){return null==this._systemVariablesList&&(this._systemVariablesList=new o,this._systemVariablesList.set("Column",r.StiSystemVariableType.Column),this._systemVariablesList.set("Line",r.StiSystemVariableType.Line),this._systemVariablesList.set("LineThrough",r.StiSystemVariableType.LineThrough),this._systemVariablesList.set("LineABC",r.StiSystemVariableType.LineABC),this._systemVariablesList.set("LineRoman",r.StiSystemVariableType.LineRoman),this._systemVariablesList.set("GroupLine",r.StiSystemVariableType.GroupLine),this._systemVariablesList.set("PageNumber",r.StiSystemVariableType.PageNumber),this._systemVariablesList.set("PageNumberThrough",r.StiSystemVariableType.PageNumberThrough),this._systemVariablesList.set("PageNofM",r.StiSystemVariableType.PageNofM),this._systemVariablesList.set("PageNofMThrough",r.StiSystemVariableType.PageNofMThrough),this._systemVariablesList.set("TotalPageCount",r.StiSystemVariableType.TotalPageCount),this._systemVariablesList.set("TotalPageCountThrough",r.StiSystemVariableType.TotalPageCountThrough),this._systemVariablesList.set("IsFirstPage",r.StiSystemVariableType.IsFirstPage),this._systemVariablesList.set("IsFirstPageThrough",r.StiSystemVariableType.IsFirstPageThrough),this._systemVariablesList.set("IsLastPage",r.StiSystemVariableType.IsLastPage),this._systemVariablesList.set("IsLastPageThrough",r.StiSystemVariableType.IsLastPageThrough),this._systemVariablesList.set("PageCopyNumber",r.StiSystemVariableType.PageCopyNumber),this._systemVariablesList.set("ReportAlias",r.StiSystemVariableType.ReportAlias),this._systemVariablesList.set("ReportAuthor",r.StiSystemVariableType.ReportAuthor),this._systemVariablesList.set("ReportChanged",r.StiSystemVariableType.ReportChanged),this._systemVariablesList.set("ReportCreated",r.StiSystemVariableType.ReportCreated),this._systemVariablesList.set("ReportDescription",r.StiSystemVariableType.ReportDescription),this._systemVariablesList.set("ReportName",r.StiSystemVariableType.ReportName),this._systemVariablesList.set("Time",r.StiSystemVariableType.Time),this._systemVariablesList.set("Today",r.StiSystemVariableType.Today),this._systemVariablesList.set("value",r.StiSystemVariableType.ConditionValue),this._systemVariablesList.set("value2",r.StiSystemVariableType.ConditionValue2),this._systemVariablesList.set("tag",r.StiSystemVariableType.ConditionTag),this._systemVariablesList.set("sender",r.StiSystemVariableType.Sender),this._systemVariablesList.set("DateTime.Now",r.StiSystemVariableType.DateTimeNow),this._systemVariablesList.set("DateTime.Today",r.StiSystemVariableType.DateTimeToday)),this._systemVariablesList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"propertiesList",{get:function(){return null==this._propertiesList&&(this._propertiesList=new o,this._propertiesList.set("Year",r.StiPropertyType.Year),this._propertiesList.set("Month",r.StiPropertyType.Month),this._propertiesList.set("Day",r.StiPropertyType.Day),this._propertiesList.set("Hour",r.StiPropertyType.Hour),this._propertiesList.set("Minute",r.StiPropertyType.Minute),this._propertiesList.set("Second",r.StiPropertyType.Second),this._propertiesList.set("Date",r.StiPropertyType.Date),this._propertiesList.set("Length",r.StiPropertyType.Length),this._propertiesList.set("From",r.StiPropertyType.From),this._propertiesList.set("To",r.StiPropertyType.To),this._propertiesList.set("FromDate",r.StiPropertyType.FromDate),this._propertiesList.set("ToDate",r.StiPropertyType.ToDate),this._propertiesList.set("FromTime",r.StiPropertyType.FromTime),this._propertiesList.set("ToTime",r.StiPropertyType.ToTime),this._propertiesList.set("SelectedLine",r.StiPropertyType.SelectedLine),this._propertiesList.set("Name",r.StiPropertyType.Name),this._propertiesList.set("TagValue",r.StiPropertyType.TagValue),this._propertiesList.set("Days",r.StiPropertyType.Days),this._propertiesList.set("Hours",r.StiPropertyType.Hours),this._propertiesList.set("Milliseconds",r.StiPropertyType.Milliseconds),this._propertiesList.set("Minutes",r.StiPropertyType.Minutes),this._propertiesList.set("Seconds",r.StiPropertyType.Seconds),this._propertiesList.set("Ticks",r.StiPropertyType.Ticks),this._propertiesList.set("TotalDays",r.StiPropertyType.TotalDays),this._propertiesList.set("TotalHours",r.StiPropertyType.TotalHours),this._propertiesList.set("TotalMinutes",r.StiPropertyType.TotalMinutes),this._propertiesList.set("TotalSeconds",r.StiPropertyType.TotalSeconds),this._propertiesList.set("TotalMilliseconds",r.StiPropertyType.TotalMilliseconds),this._propertiesList.set("Count",r.StiPropertyType.Count),this._propertiesList.set("BusinessObjectValue",r.StiPropertyType.BusinessObjectValue),this._propertiesList.set("Position",r.StiPropertyType.Position),this._propertiesList.set("Line",r.StiPropertyType.Line)),this._propertiesList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"functionsList",{get:function(){return null==this._functionsList&&(this._functionsList=new o,this._functionsList.set("Count",r.StiFunctionType.Count),this._functionsList.set("CountDistinct",r.StiFunctionType.CountDistinct),this._functionsList.set("Avg",r.StiFunctionType.Avg),this._functionsList.set("AvgD",r.StiFunctionType.AvgD),this._functionsList.set("AvgDate",r.StiFunctionType.AvgDate),this._functionsList.set("AvgI",r.StiFunctionType.AvgI),this._functionsList.set("AvgTime",r.StiFunctionType.AvgTime),this._functionsList.set("Max",r.StiFunctionType.Max),this._functionsList.set("MaxD",r.StiFunctionType.MaxD),this._functionsList.set("MaxDate",r.StiFunctionType.MaxDate),this._functionsList.set("MaxI",r.StiFunctionType.MaxI),this._functionsList.set("MaxStr",r.StiFunctionType.MaxStr),this._functionsList.set("MaxTime",r.StiFunctionType.MaxTime),this._functionsList.set("Median",r.StiFunctionType.Median),this._functionsList.set("MedianD",r.StiFunctionType.MedianD),this._functionsList.set("MedianI",r.StiFunctionType.MedianI),this._functionsList.set("Min",r.StiFunctionType.Min),this._functionsList.set("MinD",r.StiFunctionType.MinD),this._functionsList.set("MinDate",r.StiFunctionType.MinDate),this._functionsList.set("MinI",r.StiFunctionType.MinI),this._functionsList.set("MinStr",r.StiFunctionType.MinStr),this._functionsList.set("MinTime",r.StiFunctionType.MinTime),this._functionsList.set("Mode",r.StiFunctionType.Mode),this._functionsList.set("ModeD",r.StiFunctionType.ModeD),this._functionsList.set("ModeI",r.StiFunctionType.ModeI),this._functionsList.set("Sum",r.StiFunctionType.Sum),this._functionsList.set("SumD",r.StiFunctionType.SumD),this._functionsList.set("SumDistinct",r.StiFunctionType.SumDistinct),this._functionsList.set("SumI",r.StiFunctionType.SumI),this._functionsList.set("SumTime",r.StiFunctionType.SumTime),this._functionsList.set("First",r.StiFunctionType.First),this._functionsList.set("Last",r.StiFunctionType.Last),this._functionsList.set("CountRunning",r.StiFunctionType.rCount),this._functionsList.set("CountDistinctRunning",r.StiFunctionType.rCountDistinct),this._functionsList.set("AvgRunning",r.StiFunctionType.rAvg),this._functionsList.set("AvgDRunning",r.StiFunctionType.rAvgD),this._functionsList.set("AvgDateRunning",r.StiFunctionType.rAvgDate),this._functionsList.set("AvgIRunning",r.StiFunctionType.rAvgI),this._functionsList.set("AvgTimeRunning",r.StiFunctionType.rAvgTime),this._functionsList.set("MaxRunning",r.StiFunctionType.rMax),this._functionsList.set("MaxDRunning",r.StiFunctionType.rMaxD),this._functionsList.set("MaxDateRunning",r.StiFunctionType.rMaxDate),this._functionsList.set("MaxIRunning",r.StiFunctionType.rMaxI),this._functionsList.set("MaxStrRunning",r.StiFunctionType.rMaxStr),this._functionsList.set("MaxTimeRunning",r.StiFunctionType.rMaxTime),this._functionsList.set("MedianRunning",r.StiFunctionType.rMedian),this._functionsList.set("MedianDRunning",r.StiFunctionType.rMedianD),this._functionsList.set("MedianIRunning",r.StiFunctionType.rMedianI),this._functionsList.set("MinRunning",r.StiFunctionType.rMin),this._functionsList.set("MinDRunning",r.StiFunctionType.rMinD),this._functionsList.set("MinDateRunning",r.StiFunctionType.rMinDate),this._functionsList.set("MinIRunning",r.StiFunctionType.rMinI),this._functionsList.set("MinStrRunning",r.StiFunctionType.rMinStr),this._functionsList.set("MinTimeRunning",r.StiFunctionType.rMinTime),this._functionsList.set("ModeRunning",r.StiFunctionType.rMode),this._functionsList.set("ModeDRunning",r.StiFunctionType.rModeD),this._functionsList.set("ModeIRunning",r.StiFunctionType.rModeI),this._functionsList.set("SumRunning",r.StiFunctionType.rSum),this._functionsList.set("SumDRunning",r.StiFunctionType.rSumD),this._functionsList.set("SumDistinctRunning",r.StiFunctionType.rSumDistinct),this._functionsList.set("SumIRunning",r.StiFunctionType.rSumI),this._functionsList.set("SumTimeRunning",r.StiFunctionType.rSumTime),this._functionsList.set("FirstRunning",r.StiFunctionType.rFirst),this._functionsList.set("LastRunning",r.StiFunctionType.rLast),this._functionsList.set("CountIf",r.StiFunctionType.iCount),this._functionsList.set("CountDistinctIf",r.StiFunctionType.iCountDistinct),this._functionsList.set("AvgIf",r.StiFunctionType.iAvg),this._functionsList.set("AvgDIf",r.StiFunctionType.iAvgD),this._functionsList.set("AvgDateIf",r.StiFunctionType.iAvgDate),this._functionsList.set("AvgIIf",r.StiFunctionType.iAvgI),this._functionsList.set("AvgTimeIf",r.StiFunctionType.iAvgTime),this._functionsList.set("MaxIf",r.StiFunctionType.iMax),this._functionsList.set("MaxDIf",r.StiFunctionType.iMaxD),this._functionsList.set("MaxDateIf",r.StiFunctionType.iMaxDate),this._functionsList.set("MaxIIf",r.StiFunctionType.iMaxI),this._functionsList.set("MaxStrIf",r.StiFunctionType.iMaxStr),this._functionsList.set("MaxTimeIf",r.StiFunctionType.iMaxTime),this._functionsList.set("MedianIf",r.StiFunctionType.iMedian),this._functionsList.set("MedianDIf",r.StiFunctionType.iMedianD),this._functionsList.set("MedianIIf",r.StiFunctionType.iMedianI),this._functionsList.set("MinIf",r.StiFunctionType.iMin),this._functionsList.set("MinDIf",r.StiFunctionType.iMinD),this._functionsList.set("MinDateIf",r.StiFunctionType.iMinDate),this._functionsList.set("MinIIf",r.StiFunctionType.iMinI),this._functionsList.set("MinStrIf",r.StiFunctionType.iMinStr),this._functionsList.set("MinTimeIf",r.StiFunctionType.iMinTime),this._functionsList.set("ModeIf",r.StiFunctionType.iMode),this._functionsList.set("ModeDIf",r.StiFunctionType.iModeD),this._functionsList.set("ModeIIf",r.StiFunctionType.iModeI),this._functionsList.set("SumIf",r.StiFunctionType.iSum),this._functionsList.set("SumDIf",r.StiFunctionType.iSumD),this._functionsList.set("SumDistinctIf",r.StiFunctionType.iSumDistinct),this._functionsList.set("SumIIf",r.StiFunctionType.iSumI),this._functionsList.set("SumTimeIf",r.StiFunctionType.iSumTime),this._functionsList.set("FirstIf",r.StiFunctionType.iFirst),this._functionsList.set("LastIf",r.StiFunctionType.iLast),this._functionsList.set("CountIfRunning",r.StiFunctionType.riCount),this._functionsList.set("CountDistinctIfRunning",r.StiFunctionType.riCountDistinct),this._functionsList.set("AvgIfRunning",r.StiFunctionType.riAvg),this._functionsList.set("AvgDIfRunning",r.StiFunctionType.riAvgD),this._functionsList.set("AvgDateIfRunning",r.StiFunctionType.riAvgDate),this._functionsList.set("AvgIIfRunning",r.StiFunctionType.riAvgI),this._functionsList.set("AvgTimeIfRunning",r.StiFunctionType.riAvgTime),this._functionsList.set("MaxIfRunning",r.StiFunctionType.riMax),this._functionsList.set("MaxDIfRunning",r.StiFunctionType.riMaxD),this._functionsList.set("MaxDateIfRunning",r.StiFunctionType.riMaxDate),this._functionsList.set("MaxIIfRunning",r.StiFunctionType.riMaxI),this._functionsList.set("MaxStrIfRunning",r.StiFunctionType.riMaxStr),this._functionsList.set("MaxTimeIfRunning",r.StiFunctionType.riMaxTime),this._functionsList.set("MedianIfRunning",r.StiFunctionType.riMedian),this._functionsList.set("MedianDIfRunning",r.StiFunctionType.riMedianD),this._functionsList.set("MedianIIfRunning",r.StiFunctionType.riMedianI),this._functionsList.set("MinIfRunning",r.StiFunctionType.riMin),this._functionsList.set("MinDIfRunning",r.StiFunctionType.riMinD),this._functionsList.set("MinDateIfRunning",r.StiFunctionType.riMinDate),this._functionsList.set("MinIIfRunning",r.StiFunctionType.riMinI),this._functionsList.set("MinStrIfRunning",r.StiFunctionType.riMinStr),this._functionsList.set("MinTimeIfRunning",r.StiFunctionType.riMinTime),this._functionsList.set("ModeIfRunning",r.StiFunctionType.riMode),this._functionsList.set("ModeDIfRunning",r.StiFunctionType.riModeD),this._functionsList.set("ModeIIfRunning",r.StiFunctionType.riModeI),this._functionsList.set("SumIfRunning",r.StiFunctionType.riSum),this._functionsList.set("SumDIfRunning",r.StiFunctionType.riSumD),this._functionsList.set("SumDistinctIfRunning",r.StiFunctionType.riSumDistinct),this._functionsList.set("SumIIfRunning",r.StiFunctionType.riSumI),this._functionsList.set("SumTimeIfRunning",r.StiFunctionType.riSumTime),this._functionsList.set("FirstIfRunning",r.StiFunctionType.riFirst),this._functionsList.set("LastIfRunning",r.StiFunctionType.riLast),this._functionsList.set("colCount",r.StiFunctionType.cCount),this._functionsList.set("colCountDistinct",r.StiFunctionType.cCountDistinct),this._functionsList.set("colAvg",r.StiFunctionType.cAvg),this._functionsList.set("colAvgD",r.StiFunctionType.cAvgD),this._functionsList.set("colAvgDate",r.StiFunctionType.cAvgDate),this._functionsList.set("colAvgI",r.StiFunctionType.cAvgI),this._functionsList.set("colAvgTime",r.StiFunctionType.cAvgTime),this._functionsList.set("colMax",r.StiFunctionType.cMax),this._functionsList.set("colMaxD",r.StiFunctionType.cMaxD),this._functionsList.set("colMaxDate",r.StiFunctionType.cMaxDate),this._functionsList.set("colMaxI",r.StiFunctionType.cMaxI),this._functionsList.set("colMaxStr",r.StiFunctionType.cMaxStr),this._functionsList.set("colMaxTime",r.StiFunctionType.cMaxTime),this._functionsList.set("colMedian",r.StiFunctionType.cMedian),this._functionsList.set("colMedianD",r.StiFunctionType.cMedianD),this._functionsList.set("colMedianI",r.StiFunctionType.cMedianI),this._functionsList.set("colMin",r.StiFunctionType.cMin),this._functionsList.set("colMinD",r.StiFunctionType.cMinD),this._functionsList.set("colMinDate",r.StiFunctionType.cMinDate),this._functionsList.set("colMinI",r.StiFunctionType.cMinI),this._functionsList.set("colMinStr",r.StiFunctionType.cMinStr),this._functionsList.set("colMinTime",r.StiFunctionType.cMinTime),this._functionsList.set("colMode",r.StiFunctionType.cMode),this._functionsList.set("colModeD",r.StiFunctionType.cModeD),this._functionsList.set("colModeI",r.StiFunctionType.cModeI),this._functionsList.set("colSum",r.StiFunctionType.cSum),this._functionsList.set("colSumD",r.StiFunctionType.cSumD),this._functionsList.set("colSumDistinct",r.StiFunctionType.cSumDistinct),this._functionsList.set("colSumI",r.StiFunctionType.cSumI),this._functionsList.set("colSumTime",r.StiFunctionType.cSumTime),this._functionsList.set("colFirst",r.StiFunctionType.cFirst),this._functionsList.set("colLast",r.StiFunctionType.cLast),this._functionsList.set("colCountRunning",r.StiFunctionType.crCount),this._functionsList.set("colCountDistinctRunning",r.StiFunctionType.crCountDistinct),this._functionsList.set("colAvgRunning",r.StiFunctionType.crAvg),this._functionsList.set("colAvgDRunning",r.StiFunctionType.crAvgD),this._functionsList.set("colAvgDateRunning",r.StiFunctionType.crAvgDate),this._functionsList.set("colAvgIRunning",r.StiFunctionType.crAvgI),this._functionsList.set("colAvgTimeRunning",r.StiFunctionType.crAvgTime),this._functionsList.set("colMaxRunning",r.StiFunctionType.crMax),this._functionsList.set("colMaxDRunning",r.StiFunctionType.crMaxD),this._functionsList.set("colMaxDateRunning",r.StiFunctionType.crMaxDate),this._functionsList.set("colMaxIRunning",r.StiFunctionType.crMaxI),this._functionsList.set("colMaxStrRunning",r.StiFunctionType.crMaxStr),this._functionsList.set("colMaxTimeRunning",r.StiFunctionType.crMaxTime),this._functionsList.set("colMedianRunning",r.StiFunctionType.crMedian),this._functionsList.set("colMedianDRunning",r.StiFunctionType.crMedianD),this._functionsList.set("colMedianIRunning",r.StiFunctionType.crMedianI),this._functionsList.set("colMinRunning",r.StiFunctionType.crMin),this._functionsList.set("colMinDRunning",r.StiFunctionType.crMinD),this._functionsList.set("colMinDateRunning",r.StiFunctionType.crMinDate),this._functionsList.set("colMinIRunning",r.StiFunctionType.crMinI),this._functionsList.set("colMinStrRunning",r.StiFunctionType.crMinStr),this._functionsList.set("colMinTimeRunning",r.StiFunctionType.crMinTime),this._functionsList.set("colModeRunning",r.StiFunctionType.crMode),this._functionsList.set("colModeDRunning",r.StiFunctionType.crModeD),this._functionsList.set("colModeIRunning",r.StiFunctionType.crModeI),this._functionsList.set("colSumRunning",r.StiFunctionType.crSum),this._functionsList.set("colSumDRunning",r.StiFunctionType.crSumD),this._functionsList.set("colSumDistinctRunning",r.StiFunctionType.crSumDistinct),this._functionsList.set("colSumIRunning",r.StiFunctionType.crSumI),this._functionsList.set("colSumTimeRunning",r.StiFunctionType.crSumTime),this._functionsList.set("colFirstRunning",r.StiFunctionType.crFirst),this._functionsList.set("colLastRunning",r.StiFunctionType.crLast),this._functionsList.set("colCountIf",r.StiFunctionType.ciCount),this._functionsList.set("colCountDistinctIf",r.StiFunctionType.ciCountDistinct),this._functionsList.set("colAvgIf",r.StiFunctionType.ciAvg),this._functionsList.set("colAvgDIf",r.StiFunctionType.ciAvgD),this._functionsList.set("colAvgDateIf",r.StiFunctionType.ciAvgDate),this._functionsList.set("colAvgIIf",r.StiFunctionType.ciAvgI),this._functionsList.set("colAvgTimeIf",r.StiFunctionType.ciAvgTime),this._functionsList.set("colMaxIf",r.StiFunctionType.ciMax),this._functionsList.set("colMaxDIf",r.StiFunctionType.ciMaxD),this._functionsList.set("colMaxDateIf",r.StiFunctionType.ciMaxDate),this._functionsList.set("colMaxIIf",r.StiFunctionType.ciMaxI),this._functionsList.set("colMaxStrIf",r.StiFunctionType.ciMaxStr),this._functionsList.set("colMaxTimeIf",r.StiFunctionType.ciMaxTime),this._functionsList.set("colMedianIf",r.StiFunctionType.ciMedian),this._functionsList.set("colMedianDIf",r.StiFunctionType.ciMedianD),this._functionsList.set("colMedianIIf",r.StiFunctionType.ciMedianI),this._functionsList.set("colMinIf",r.StiFunctionType.ciMin),this._functionsList.set("colMinDIf",r.StiFunctionType.ciMinD),this._functionsList.set("colMinDateIf",r.StiFunctionType.ciMinDate),this._functionsList.set("colMinIIf",r.StiFunctionType.ciMinI),this._functionsList.set("colMinStrIf",r.StiFunctionType.ciMinStr),this._functionsList.set("colMinTimeIf",r.StiFunctionType.ciMinTime),this._functionsList.set("colModeIf",r.StiFunctionType.ciMode),this._functionsList.set("colModeDIf",r.StiFunctionType.ciModeD),this._functionsList.set("colModeIIf",r.StiFunctionType.ciModeI),this._functionsList.set("colSumIf",r.StiFunctionType.ciSum),this._functionsList.set("colSumDIf",r.StiFunctionType.ciSumD),this._functionsList.set("colSumDistinctIf",r.StiFunctionType.ciSumDistinct),this._functionsList.set("colSumIIf",r.StiFunctionType.ciSumI),this._functionsList.set("colSumTimeIf",r.StiFunctionType.ciSumTime),this._functionsList.set("colFirstIf",r.StiFunctionType.ciFirst),this._functionsList.set("colLastIf",r.StiFunctionType.ciLast),this._functionsList.set("colCountIfRunning",r.StiFunctionType.criCount),this._functionsList.set("colCountDistinctIfRunning",r.StiFunctionType.criCountDistinct),this._functionsList.set("colAvgIfRunning",r.StiFunctionType.criAvg),this._functionsList.set("colAvgDIfRunning",r.StiFunctionType.criAvgD),this._functionsList.set("colAvgDateIfRunning",r.StiFunctionType.criAvgDate),this._functionsList.set("colAvgIIfRunning",r.StiFunctionType.criAvgI),this._functionsList.set("colAvgTimeIfRunning",r.StiFunctionType.criAvgTime),this._functionsList.set("colMaxIfRunning",r.StiFunctionType.criMax),this._functionsList.set("colMaxDIfRunning",r.StiFunctionType.criMaxD),this._functionsList.set("colMaxDateIfRunning",r.StiFunctionType.criMaxDate),this._functionsList.set("colMaxIIfRunning",r.StiFunctionType.criMaxI),this._functionsList.set("colMaxStrIfRunning",r.StiFunctionType.criMaxStr),this._functionsList.set("colMaxTimeIfRunning",r.StiFunctionType.criMaxTime),this._functionsList.set("colMedianIfRunning",r.StiFunctionType.criMedian),this._functionsList.set("colMedianDIfRunning",r.StiFunctionType.criMedianD),this._functionsList.set("colMedianIIfRunning",r.StiFunctionType.criMedianI),this._functionsList.set("colMinIfRunning",r.StiFunctionType.criMin),this._functionsList.set("colMinDIfRunning",r.StiFunctionType.criMinD),this._functionsList.set("colMinDateIfRunning",r.StiFunctionType.criMinDate),this._functionsList.set("colMinIIfRunning",r.StiFunctionType.criMinI),this._functionsList.set("colMinStrIfRunning",r.StiFunctionType.criMinStr),this._functionsList.set("colMinTimeIfRunning",r.StiFunctionType.criMinTime),this._functionsList.set("colModeIfRunning",r.StiFunctionType.criMode),this._functionsList.set("colModeDIfRunning",r.StiFunctionType.criModeD),this._functionsList.set("colModeIIfRunning",r.StiFunctionType.criModeI),this._functionsList.set("colSumIfRunning",r.StiFunctionType.criSum),this._functionsList.set("colSumDIfRunning",r.StiFunctionType.criSumD),this._functionsList.set("colSumDistinctIfRunning",r.StiFunctionType.criSumDistinct),this._functionsList.set("colSumIIfRunning",r.StiFunctionType.criSumI),this._functionsList.set("colSumTimeIfRunning",r.StiFunctionType.criSumTime),this._functionsList.set("colFirstIfRunning",r.StiFunctionType.criFirst),this._functionsList.set("colLastIfRunning",r.StiFunctionType.criLast),this._functionsList.set("cCount",r.StiFunctionType.pCount),this._functionsList.set("cCountDistinct",r.StiFunctionType.pCountDistinct),this._functionsList.set("cAvg",r.StiFunctionType.pAvg),this._functionsList.set("cAvgD",r.StiFunctionType.pAvgD),this._functionsList.set("cAvgDate",r.StiFunctionType.pAvgDate),this._functionsList.set("cAvgI",r.StiFunctionType.pAvgI),this._functionsList.set("cAvgTime",r.StiFunctionType.pAvgTime),this._functionsList.set("cMax",r.StiFunctionType.pMax),this._functionsList.set("cMaxD",r.StiFunctionType.pMaxD),this._functionsList.set("cMaxDate",r.StiFunctionType.pMaxDate),this._functionsList.set("cMaxI",r.StiFunctionType.pMaxI),this._functionsList.set("cMaxStr",r.StiFunctionType.pMaxStr),this._functionsList.set("cMaxTime",r.StiFunctionType.pMaxTime),this._functionsList.set("cMedian",r.StiFunctionType.pMedian),this._functionsList.set("cMedianD",r.StiFunctionType.pMedianD),this._functionsList.set("cMedianI",r.StiFunctionType.pMedianI),this._functionsList.set("cMin",r.StiFunctionType.pMin),this._functionsList.set("cMinD",r.StiFunctionType.pMinD),this._functionsList.set("cMinDate",r.StiFunctionType.pMinDate),this._functionsList.set("cMinI",r.StiFunctionType.pMinI),this._functionsList.set("cMinStr",r.StiFunctionType.pMinStr),this._functionsList.set("cMinTime",r.StiFunctionType.pMinTime),this._functionsList.set("cMode",r.StiFunctionType.pMode),this._functionsList.set("cModeD",r.StiFunctionType.pModeD),this._functionsList.set("cModeI",r.StiFunctionType.pModeI),this._functionsList.set("cSum",r.StiFunctionType.pSum),this._functionsList.set("cSumD",r.StiFunctionType.pSumD),this._functionsList.set("cSumDistinct",r.StiFunctionType.pSumDistinct),this._functionsList.set("cSumI",r.StiFunctionType.pSumI),this._functionsList.set("cSumTime",r.StiFunctionType.pSumTime),this._functionsList.set("cFirst",r.StiFunctionType.pFirst),this._functionsList.set("cLast",r.StiFunctionType.pLast),this._functionsList.set("cCountRunning",r.StiFunctionType.prCount),this._functionsList.set("cCountDistinctRunning",r.StiFunctionType.prCountDistinct),this._functionsList.set("cAvgRunning",r.StiFunctionType.prAvg),this._functionsList.set("cAvgDRunning",r.StiFunctionType.prAvgD),this._functionsList.set("cAvgDateRunning",r.StiFunctionType.prAvgDate),this._functionsList.set("cAvgIRunning",r.StiFunctionType.prAvgI),this._functionsList.set("cAvgTimeRunning",r.StiFunctionType.prAvgTime),this._functionsList.set("cMaxRunning",r.StiFunctionType.prMax),this._functionsList.set("cMaxDRunning",r.StiFunctionType.prMaxD),this._functionsList.set("cMaxDateRunning",r.StiFunctionType.prMaxDate),this._functionsList.set("cMaxIRunning",r.StiFunctionType.prMaxI),this._functionsList.set("cMaxStrRunning",r.StiFunctionType.prMaxStr),this._functionsList.set("cMaxTimeRunning",r.StiFunctionType.prMaxTime),this._functionsList.set("cMedianRunning",r.StiFunctionType.prMedian),this._functionsList.set("cMedianDRunning",r.StiFunctionType.prMedianD),this._functionsList.set("cMedianIRunning",r.StiFunctionType.prMedianI),this._functionsList.set("cMinRunning",r.StiFunctionType.prMin),this._functionsList.set("cMinDRunning",r.StiFunctionType.prMinD),this._functionsList.set("cMinDateRunning",r.StiFunctionType.prMinDate),this._functionsList.set("cMinIRunning",r.StiFunctionType.prMinI),this._functionsList.set("cMinStrRunning",r.StiFunctionType.prMinStr),this._functionsList.set("cMinTimeRunning",r.StiFunctionType.prMinTime),this._functionsList.set("cModeRunning",r.StiFunctionType.prMode),this._functionsList.set("cModeDRunning",r.StiFunctionType.prModeD),this._functionsList.set("cModeIRunning",r.StiFunctionType.prModeI),this._functionsList.set("cSumRunning",r.StiFunctionType.prSum),this._functionsList.set("cSumDRunning",r.StiFunctionType.prSumD),this._functionsList.set("cSumDistinctRunning",r.StiFunctionType.prSumDistinct),this._functionsList.set("cSumIRunning",r.StiFunctionType.prSumI),this._functionsList.set("cSumTimeRunning",r.StiFunctionType.prSumTime),this._functionsList.set("cFirstRunning",r.StiFunctionType.prFirst),this._functionsList.set("cLastRunning",r.StiFunctionType.prLast),this._functionsList.set("cCountIf",r.StiFunctionType.piCount),this._functionsList.set("cCountDistinctIf",r.StiFunctionType.piCountDistinct),this._functionsList.set("cAvgIf",r.StiFunctionType.piAvg),this._functionsList.set("cAvgDIf",r.StiFunctionType.piAvgD),this._functionsList.set("cAvgDateIf",r.StiFunctionType.piAvgDate),this._functionsList.set("cAvgIIf",r.StiFunctionType.piAvgI),this._functionsList.set("cAvgTimeIf",r.StiFunctionType.piAvgTime),this._functionsList.set("cMaxIf",r.StiFunctionType.piMax),this._functionsList.set("cMaxDIf",r.StiFunctionType.piMaxD),this._functionsList.set("cMaxDateIf",r.StiFunctionType.piMaxDate),this._functionsList.set("cMaxIIf",r.StiFunctionType.piMaxI),this._functionsList.set("cMaxStrIf",r.StiFunctionType.piMaxStr),this._functionsList.set("cMaxTimeIf",r.StiFunctionType.piMaxTime),this._functionsList.set("cMedianIf",r.StiFunctionType.piMedian),this._functionsList.set("cMedianDIf",r.StiFunctionType.piMedianD),this._functionsList.set("cMedianIIf",r.StiFunctionType.piMedianI),this._functionsList.set("cMinIf",r.StiFunctionType.piMin),this._functionsList.set("cMinDIf",r.StiFunctionType.piMinD),this._functionsList.set("cMinDateIf",r.StiFunctionType.piMinDate),this._functionsList.set("cMinIIf",r.StiFunctionType.piMinI),this._functionsList.set("cMinStrIf",r.StiFunctionType.piMinStr),this._functionsList.set("cMinTimeIf",r.StiFunctionType.piMinTime),this._functionsList.set("cModeIf",r.StiFunctionType.piMode),this._functionsList.set("cModeDIf",r.StiFunctionType.piModeD),this._functionsList.set("cModeIIf",r.StiFunctionType.piModeI),this._functionsList.set("cSumIf",r.StiFunctionType.piSum),this._functionsList.set("cSumDIf",r.StiFunctionType.piSumD),this._functionsList.set("cSumDistinctIf",r.StiFunctionType.piSumDistinct),this._functionsList.set("cSumIIf",r.StiFunctionType.piSumI),this._functionsList.set("cSumTimeIf",r.StiFunctionType.piSumTime),this._functionsList.set("cFirstIf",r.StiFunctionType.piFirst),this._functionsList.set("cLastIf",r.StiFunctionType.piLast),this._functionsList.set("cCountIfRunning",r.StiFunctionType.priCount),this._functionsList.set("cCountDistinctIfRunning",r.StiFunctionType.priCountDistinct),this._functionsList.set("cAvgIfRunning",r.StiFunctionType.priAvg),this._functionsList.set("cAvgDIfRunning",r.StiFunctionType.priAvgD),this._functionsList.set("cAvgDateIfRunning",r.StiFunctionType.priAvgDate),this._functionsList.set("cAvgIIfRunning",r.StiFunctionType.priAvgI),this._functionsList.set("cAvgTimeIfRunning",r.StiFunctionType.priAvgTime),this._functionsList.set("cMaxIfRunning",r.StiFunctionType.priMax),this._functionsList.set("cMaxDIfRunning",r.StiFunctionType.priMaxD),this._functionsList.set("cMaxDateIfRunning",r.StiFunctionType.priMaxDate),this._functionsList.set("cMaxIIfRunning",r.StiFunctionType.priMaxI),this._functionsList.set("cMaxStrIfRunning",r.StiFunctionType.priMaxStr),this._functionsList.set("cMaxTimeIfRunning",r.StiFunctionType.priMaxTime),this._functionsList.set("cMedianIfRunning",r.StiFunctionType.priMedian),this._functionsList.set("cMedianDIfRunning",r.StiFunctionType.priMedianD),this._functionsList.set("cMedianIIfRunning",r.StiFunctionType.priMedianI),this._functionsList.set("cMinIfRunning",r.StiFunctionType.priMin),this._functionsList.set("cMinDIfRunning",r.StiFunctionType.priMinD),this._functionsList.set("cMinDateIfRunning",r.StiFunctionType.priMinDate),this._functionsList.set("cMinIIfRunning",r.StiFunctionType.priMinI),this._functionsList.set("cMinStrIfRunning",r.StiFunctionType.priMinStr),this._functionsList.set("cMinTimeIfRunning",r.StiFunctionType.priMinTime),this._functionsList.set("cModeIfRunning",r.StiFunctionType.priMode),this._functionsList.set("cModeDIfRunning",r.StiFunctionType.priModeD),this._functionsList.set("cModeIIfRunning",r.StiFunctionType.priModeI),this._functionsList.set("cSumIfRunning",r.StiFunctionType.priSum),this._functionsList.set("cSumDIfRunning",r.StiFunctionType.priSumD),this._functionsList.set("cSumDistinctIfRunning",r.StiFunctionType.priSumDistinct),this._functionsList.set("cSumIIfRunning",r.StiFunctionType.priSumI),this._functionsList.set("cSumTimeIfRunning",r.StiFunctionType.priSumTime),this._functionsList.set("cFirstIfRunning",r.StiFunctionType.priFirst),this._functionsList.set("cLastIfRunning",r.StiFunctionType.priLast),this._functionsList.set("Totals.Count",r.StiFunctionType.Count),this._functionsList.set("Totals.CountDistinct",r.StiFunctionType.CountDistinct),this._functionsList.set("Totals.Avg",r.StiFunctionType.Avg),this._functionsList.set("Totals.AvgD",r.StiFunctionType.AvgD),this._functionsList.set("Totals.AvgDate",r.StiFunctionType.AvgDate),this._functionsList.set("Totals.AvgI",r.StiFunctionType.AvgI),this._functionsList.set("Totals.AvgTime",r.StiFunctionType.AvgTime),this._functionsList.set("Totals.Max",r.StiFunctionType.Max),this._functionsList.set("Totals.MaxD",r.StiFunctionType.MaxD),this._functionsList.set("Totals.MaxDate",r.StiFunctionType.MaxDate),this._functionsList.set("Totals.MaxI",r.StiFunctionType.MaxI),this._functionsList.set("Totals.MaxStr",r.StiFunctionType.MaxStr),this._functionsList.set("Totals.MaxTime",r.StiFunctionType.MaxTime),this._functionsList.set("Totals.Median",r.StiFunctionType.Median),this._functionsList.set("Totals.MedianD",r.StiFunctionType.MedianD),this._functionsList.set("Totals.MedianI",r.StiFunctionType.MedianI),this._functionsList.set("Totals.Min",r.StiFunctionType.Min),this._functionsList.set("Totals.MinD",r.StiFunctionType.MinD),this._functionsList.set("Totals.MinDate",r.StiFunctionType.MinDate),this._functionsList.set("Totals.MinI",r.StiFunctionType.MinI),this._functionsList.set("Totals.MinStr",r.StiFunctionType.MinStr),this._functionsList.set("Totals.MinTime",r.StiFunctionType.MinTime),this._functionsList.set("Totals.Mode",r.StiFunctionType.Mode),this._functionsList.set("Totals.ModeD",r.StiFunctionType.ModeD),this._functionsList.set("Totals.ModeI",r.StiFunctionType.ModeI),this._functionsList.set("Totals.Sum",r.StiFunctionType.Sum),this._functionsList.set("Totals.SumD",r.StiFunctionType.SumD),this._functionsList.set("Totals.SumDistinct",r.StiFunctionType.SumDistinct),this._functionsList.set("Totals.SumI",r.StiFunctionType.SumI),this._functionsList.set("Totals.SumTime",r.StiFunctionType.SumTime),this._functionsList.set("Totals.First",r.StiFunctionType.First),this._functionsList.set("Totals.Last",r.StiFunctionType.Last),this._functionsList.set("Totals.cCount",r.StiFunctionType.pCount),this._functionsList.set("Totals.cCountDistinct",r.StiFunctionType.pCountDistinct),this._functionsList.set("Totals.cAvg",r.StiFunctionType.pAvg),this._functionsList.set("Totals.cAvgD",r.StiFunctionType.pAvgD),this._functionsList.set("Totals.cAvgDate",r.StiFunctionType.pAvgDate),this._functionsList.set("Totals.cAvgI",r.StiFunctionType.pAvgI),this._functionsList.set("Totals.cAvgTime",r.StiFunctionType.pAvgTime),this._functionsList.set("Totals.cMax",r.StiFunctionType.pMax),this._functionsList.set("Totals.cMaxD",r.StiFunctionType.pMaxD),this._functionsList.set("Totals.cMaxDate",r.StiFunctionType.pMaxDate),this._functionsList.set("Totals.cMaxI",r.StiFunctionType.pMaxI),this._functionsList.set("Totals.cMaxStr",r.StiFunctionType.pMaxStr),this._functionsList.set("Totals.cMaxTime",r.StiFunctionType.pMaxTime),this._functionsList.set("Totals.cMedian",r.StiFunctionType.pMedian),this._functionsList.set("Totals.cMedianD",r.StiFunctionType.pMedianD),this._functionsList.set("Totals.cMedianI",r.StiFunctionType.pMedianI),this._functionsList.set("Totals.cMin",r.StiFunctionType.pMin),this._functionsList.set("Totals.cMinD",r.StiFunctionType.pMinD),this._functionsList.set("Totals.cMinDate",r.StiFunctionType.pMinDate),this._functionsList.set("Totals.cMinI",r.StiFunctionType.pMinI),this._functionsList.set("Totals.cMinStr",r.StiFunctionType.pMinStr),this._functionsList.set("Totals.cMinTime",r.StiFunctionType.pMinTime),this._functionsList.set("Totals.cMode",r.StiFunctionType.pMode),this._functionsList.set("Totals.cModeD",r.StiFunctionType.pModeD),this._functionsList.set("Totals.cModeI",r.StiFunctionType.pModeI),this._functionsList.set("Totals.cSum",r.StiFunctionType.pSum),this._functionsList.set("Totals.cSumD",r.StiFunctionType.pSumD),this._functionsList.set("Totals.cSumDistinct",r.StiFunctionType.pSumDistinct),this._functionsList.set("Totals.cSumI",r.StiFunctionType.pSumI),this._functionsList.set("Totals.cSumTime",r.StiFunctionType.pSumTime),this._functionsList.set("Totals.cFirst",r.StiFunctionType.pFirst),
|
||
this._functionsList.set("Totals.cLast",r.StiFunctionType.pLast),this._functionsList.set("Totals.cCountRunning",r.StiFunctionType.prCount),this._functionsList.set("Totals.cCountDistinctRunning",r.StiFunctionType.prCountDistinct),this._functionsList.set("Totals.cAvgRunning",r.StiFunctionType.prAvg),this._functionsList.set("Totals.cAvgDRunning",r.StiFunctionType.prAvgD),this._functionsList.set("Totals.cAvgDateRunning",r.StiFunctionType.prAvgDate),this._functionsList.set("Totals.cAvgIRunning",r.StiFunctionType.prAvgI),this._functionsList.set("Totals.cAvgTimeRunning",r.StiFunctionType.prAvgTime),this._functionsList.set("Totals.cMaxRunning",r.StiFunctionType.prMax),this._functionsList.set("Totals.cMaxDRunning",r.StiFunctionType.prMaxD),this._functionsList.set("Totals.cMaxDateRunning",r.StiFunctionType.prMaxDate),this._functionsList.set("Totals.cMaxIRunning",r.StiFunctionType.prMaxI),this._functionsList.set("Totals.cMaxStrRunning",r.StiFunctionType.prMaxStr),this._functionsList.set("Totals.cMaxTimeRunning",r.StiFunctionType.prMaxTime),this._functionsList.set("Totals.cMedianRunning",r.StiFunctionType.prMedian),this._functionsList.set("Totals.cMedianDRunning",r.StiFunctionType.prMedianD),this._functionsList.set("Totals.cMedianIRunning",r.StiFunctionType.prMedianI),this._functionsList.set("Totals.cMinRunning",r.StiFunctionType.prMin),this._functionsList.set("Totals.cMinDRunning",r.StiFunctionType.prMinD),this._functionsList.set("Totals.cMinDateRunning",r.StiFunctionType.prMinDate),this._functionsList.set("Totals.cMinIRunning",r.StiFunctionType.prMinI),this._functionsList.set("Totals.cMinStrRunning",r.StiFunctionType.prMinStr),this._functionsList.set("Totals.cMinTimeRunning",r.StiFunctionType.prMinTime),this._functionsList.set("Totals.cModeRunning",r.StiFunctionType.prMode),this._functionsList.set("Totals.cModeDRunning",r.StiFunctionType.prModeD),this._functionsList.set("Totals.cModeIRunning",r.StiFunctionType.prModeI),this._functionsList.set("Totals.cSumRunning",r.StiFunctionType.prSum),this._functionsList.set("Totals.cSumDRunning",r.StiFunctionType.prSumD),this._functionsList.set("Totals.cSumDistinctRunning",r.StiFunctionType.prSumDistinct),this._functionsList.set("Totals.cSumIRunning",r.StiFunctionType.prSumI),this._functionsList.set("Totals.cSumTimeRunning",r.StiFunctionType.prSumTime),this._functionsList.set("Totals.cFirstRunning",r.StiFunctionType.prFirst),this._functionsList.set("Totals.cLastRunning",r.StiFunctionType.prLast),this._functionsList.set("Totals.CountAllLevels",r.StiFunctionType.CountAllLevels),this._functionsList.set("Totals.CountAllLevelsOnlyChilds",r.StiFunctionType.CountAllLevelsOnlyChilds),this._functionsList.set("Totals.CountOnlyChilds",r.StiFunctionType.CountOnlyChilds),this._functionsList.set("Totals.Rank",r.StiFunctionType.Rank),this._functionsList.set("Abs",r.StiFunctionType.Abs),this._functionsList.set("Acos",r.StiFunctionType.Acos),this._functionsList.set("Asin",r.StiFunctionType.Asin),this._functionsList.set("Atan",r.StiFunctionType.Atan),this._functionsList.set("Ceiling",r.StiFunctionType.Ceiling),this._functionsList.set("Cos",r.StiFunctionType.Cos),this._functionsList.set("Div",r.StiFunctionType.Div),this._functionsList.set("Exp",r.StiFunctionType.Exp),this._functionsList.set("Floor",r.StiFunctionType.Floor),this._functionsList.set("Log",r.StiFunctionType.Log),this._functionsList.set("Maximum",r.StiFunctionType.Maximum),this._functionsList.set("Minimum",r.StiFunctionType.Minimum),this._functionsList.set("Round",r.StiFunctionType.Round),this._functionsList.set("Sign",r.StiFunctionType.Sign),this._functionsList.set("Sin",r.StiFunctionType.Sin),this._functionsList.set("Sqrt",r.StiFunctionType.Sqrt),this._functionsList.set("Tan",r.StiFunctionType.Tan),this._functionsList.set("Truncate",r.StiFunctionType.Truncate),this._functionsList.set("DateDiff",r.StiFunctionType.DateDiff),this._functionsList.set("DateSerial",r.StiFunctionType.DateSerial),this._functionsList.set("Day",r.StiFunctionType.Day),this._functionsList.set("DayOfWeek",r.StiFunctionType.DayOfWeek),this._functionsList.set("DayOfYear",r.StiFunctionType.DayOfYear),this._functionsList.set("DaysInMonth",r.StiFunctionType.DaysInMonth),this._functionsList.set("DaysInYear",r.StiFunctionType.DaysInYear),this._functionsList.set("Hour",r.StiFunctionType.Hour),this._functionsList.set("Minute",r.StiFunctionType.Minute),this._functionsList.set("Month",r.StiFunctionType.Month),this._functionsList.set("Second",r.StiFunctionType.Second),this._functionsList.set("TimeSerial",r.StiFunctionType.TimeSerial),this._functionsList.set("Year",r.StiFunctionType.Year),this._functionsList.set("MonthName",r.StiFunctionType.MonthName),this._functionsList.set("WeekOfYear",r.StiFunctionType.WeekOfYear),this._functionsList.set("WeekOfMonth",r.StiFunctionType.WeekOfMonth),this._functionsList.set("DateToStr",r.StiFunctionType.DateToStr),this._functionsList.set("DateToStrPl",r.StiFunctionType.DateToStrPl),this._functionsList.set("DateToStrRu",r.StiFunctionType.DateToStrRu),this._functionsList.set("DateToStrUa",r.StiFunctionType.DateToStrUa),this._functionsList.set("DateToStrPt",r.StiFunctionType.DateToStrPt),this._functionsList.set("DateToStrPtBr",r.StiFunctionType.DateToStrPtBr),this._functionsList.set("Insert",r.StiFunctionType.Insert),this._functionsList.set("Length",r.StiFunctionType.Length),this._functionsList.set("Remove",r.StiFunctionType.Remove),this._functionsList.set("Replace",r.StiFunctionType.Replace),this._functionsList.set("Roman",r.StiFunctionType.Roman),this._functionsList.set("Substring",r.StiFunctionType.Substring),this._functionsList.set("ToCurrencyWords",r.StiFunctionType.ToCurrencyWords),this._functionsList.set("ToCurrencyWordsAr",r.StiFunctionType.ToCurrencyWordsAr),this._functionsList.set("ToCurrencyWordsEnGb",r.StiFunctionType.ToCurrencyWordsEnGb),this._functionsList.set("ToCurrencyWordsEnIn",r.StiFunctionType.ToCurrencyWordsEnIn),this._functionsList.set("ToCurrencyWordsEs",r.StiFunctionType.ToCurrencyWordsEs),this._functionsList.set("ToCurrencyWordsFr",r.StiFunctionType.ToCurrencyWordsFr),this._functionsList.set("ToCurrencyWordsNl",r.StiFunctionType.ToCurrencyWordsNl),this._functionsList.set("ToCurrencyWordsPl",r.StiFunctionType.ToCurrencyWordsPl),this._functionsList.set("ToCurrencyWordsPt",r.StiFunctionType.ToCurrencyWordsPt),this._functionsList.set("ToCurrencyWordsPtBr",r.StiFunctionType.ToCurrencyWordsPtBr),this._functionsList.set("ToCurrencyWordsRu",r.StiFunctionType.ToCurrencyWordsRu),this._functionsList.set("ToCurrencyWordsThai",r.StiFunctionType.ToCurrencyWordsThai),this._functionsList.set("ToCurrencyWordsTr",r.StiFunctionType.ToCurrencyWordsTr),this._functionsList.set("ToCurrencyWordsUa",r.StiFunctionType.ToCurrencyWordsUa),this._functionsList.set("ToCurrencyWordsZh",r.StiFunctionType.ToCurrencyWordsZh),this._functionsList.set("ToLowerCase",r.StiFunctionType.ToLowerCase),this._functionsList.set("ToProperCase",r.StiFunctionType.ToProperCase),this._functionsList.set("ToUpperCase",r.StiFunctionType.ToUpperCase),this._functionsList.set("ToWords",r.StiFunctionType.ToWords),this._functionsList.set("ToWordsAr",r.StiFunctionType.ToWordsAr),this._functionsList.set("ToWordsEs",r.StiFunctionType.ToWordsEs),this._functionsList.set("ToWordsEnIn",r.StiFunctionType.ToWordsEnIn),this._functionsList.set("ToWordsFa",r.StiFunctionType.ToWordsFa),this._functionsList.set("ToWordsPl",r.StiFunctionType.ToWordsPl),this._functionsList.set("ToWordsPt",r.StiFunctionType.ToWordsPt),this._functionsList.set("ToWordsRu",r.StiFunctionType.ToWordsRu),this._functionsList.set("ToWordsTr",r.StiFunctionType.ToWordsTr),this._functionsList.set("ToWordsUa",r.StiFunctionType.ToWordsUa),this._functionsList.set("Trim",r.StiFunctionType.Trim),this._functionsList.set("TryParseDecimal",r.StiFunctionType.TryParseDecimal),this._functionsList.set("TryParseDouble",r.StiFunctionType.TryParseDouble),this._functionsList.set("TryParseLong",r.StiFunctionType.TryParseLong),this._functionsList.set("Arabic",r.StiFunctionType.Arabic),this._functionsList.set("Persian",r.StiFunctionType.Persian),this._functionsList.set("ToOrdinal",r.StiFunctionType.ToOrdinal),this._functionsList.set("Left",r.StiFunctionType.Left),this._functionsList.set("Mid",r.StiFunctionType.Mid),this._functionsList.set("Right",r.StiFunctionType.Right),this._functionsList.set("StrToNullableDateTime",r.StiFunctionType.StrToNullableDateTime),this._functionsList.set("IsNull",r.StiFunctionType.IsNull),this._functionsList.set("Next",r.StiFunctionType.Next),this._functionsList.set("NextIsNull",r.StiFunctionType.NextIsNull),this._functionsList.set("Previous",r.StiFunctionType.Previous),this._functionsList.set("PreviousIsNull",r.StiFunctionType.PreviousIsNull),this._functionsList.set("IIF",r.StiFunctionType.IIF),this._functionsList.set("Choose",r.StiFunctionType.Choose),this._functionsList.set("Switch",r.StiFunctionType.Switch),this._functionsList.set("ToString",r.StiFunctionType.ToString),this._functionsList.set("Format",r.StiFunctionType.Format),this._functionsList.set("System.Convert.ToBoolean",r.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("System.Convert.ToByte",r.StiFunctionType.SystemConvertToByte),this._functionsList.set("System.Convert.ToChar",r.StiFunctionType.SystemConvertToChar),this._functionsList.set("System.Convert.ToDateTime",r.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("System.Convert.ToDecimal",r.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("System.Convert.ToDouble",r.StiFunctionType.SystemConvertToDouble),this._functionsList.set("System.Convert.ToInt16",r.StiFunctionType.SystemConvertToInt16),this._functionsList.set("System.Convert.ToInt32",r.StiFunctionType.SystemConvertToInt32),this._functionsList.set("System.Convert.ToInt64",r.StiFunctionType.SystemConvertToInt64),this._functionsList.set("System.Convert.ToSByte",r.StiFunctionType.SystemConvertToSByte),this._functionsList.set("System.Convert.ToSingle",r.StiFunctionType.SystemConvertToSingle),this._functionsList.set("System.Convert.ToString",r.StiFunctionType.SystemConvertToString),this._functionsList.set("System.Convert.ToUInt16",r.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("System.Convert.ToUInt32",r.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("System.Convert.ToUInt64",r.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Convert.ToBoolean",r.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("Convert.ToByte",r.StiFunctionType.SystemConvertToByte),this._functionsList.set("Convert.ToChar",r.StiFunctionType.SystemConvertToChar),this._functionsList.set("Convert.ToDateTime",r.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("Convert.ToDecimal",r.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("Convert.ToDouble",r.StiFunctionType.SystemConvertToDouble),this._functionsList.set("Convert.ToInt16",r.StiFunctionType.SystemConvertToInt16),this._functionsList.set("Convert.ToInt32",r.StiFunctionType.SystemConvertToInt32),this._functionsList.set("Convert.ToInt64",r.StiFunctionType.SystemConvertToInt64),this._functionsList.set("Convert.ToSByte",r.StiFunctionType.SystemConvertToSByte),this._functionsList.set("Convert.ToSingle",r.StiFunctionType.SystemConvertToSingle),this._functionsList.set("Convert.ToString",r.StiFunctionType.SystemConvertToString),this._functionsList.set("Convert.ToUInt16",r.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("Convert.ToUInt32",r.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("Convert.ToUInt64",r.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Math.Round",r.StiFunctionType.MathRound),this._functionsList.set("Math.Pow",r.StiFunctionType.MathPow),this._functionsList.set("AddAnchor",r.StiFunctionType.AddAnchor),this._functionsList.set("GetAnchorPageNumber",r.StiFunctionType.GetAnchorPageNumber),this._functionsList.set("GetAnchorPageNumberThrough",r.StiFunctionType.GetAnchorPageNumberThrough),this._functionsList.set("ConvertRtf",r.StiFunctionType.ConvertRtf),this._functionsList.set("int.Parse",r.StiFunctionType.ParseInt),this._functionsList.set("double.Parse",r.StiFunctionType.ParseDouble),this._functionsList.set("Double.Parse",r.StiFunctionType.ParseDouble),this._functionsList.set("decimal.Parse",r.StiFunctionType.ParseDecimal),this._functionsList.set("Decimal.Parse",r.StiFunctionType.ParseDecimal),this._functionsList.set("DateTime.Parse",r.StiFunctionType.ParseDateTime),this._functionsList.set("TimeSpan.Parse",r.StiFunctionType.ParseTimeSpan),this._functionsList.set("string.IsNullOrEmpty",r.StiFunctionType.StringIsNullOrEmpty),this._functionsList.set("String.IsNullOrEmpty",r.StiFunctionType.StringIsNullOrEmpty),this._functionsList.set("string.IsNullOrWhiteSpace",r.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("String.IsNullOrWhiteSpace",r.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("string.Format",r.StiFunctionType.Format),this._functionsList.set("String.Format",r.StiFunctionType.Format),this._functionsList.set("Func.EngineHelper.JoinColumnContent",r.StiFunctionType.EngineHelperJoinColumnContent),this._functionsList.set("Func.EngineHelper.ToQueryString",r.StiFunctionType.EngineHelperToQueryString)),this._functionsList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"methodsList",{get:function(){return null==this._methodsList&&(this._methodsList=new o,this._methodsList.set("Substring",r.StiMethodType.Substring),this._methodsList.set("ToString",r.StiMethodType.ToString),this._methodsList.set("ToLower",r.StiMethodType.ToLower),this._methodsList.set("ToUpper",r.StiMethodType.ToUpper),this._methodsList.set("IndexOf",r.StiMethodType.IndexOf),this._methodsList.set("StartsWith",r.StiMethodType.StartsWith),this._methodsList.set("EndsWith",r.StiMethodType.EndsWith),this._methodsList.set("Parse",r.StiMethodType.Parse),this._methodsList.set("Contains",r.StiMethodType.Contains),this._methodsList.set("GetData",r.StiMethodType.GetData),this._methodsList.set("ToQueryString",r.StiMethodType.ToQueryString),this._methodsList.set("AddYears",r.StiMethodType.AddYears),this._methodsList.set("AddMonths",r.StiMethodType.AddMonths),this._methodsList.set("AddDays",r.StiMethodType.AddDays),this._methodsList.set("AddHours",r.StiMethodType.AddHours),this._methodsList.set("AddMinutes",r.StiMethodType.AddMinutes),this._methodsList.set("AddSeconds",r.StiMethodType.AddSeconds),this._methodsList.set("AddMilliseconds",r.StiMethodType.AddMilliseconds),this._methodsList.set("ToShortDateString",r.StiMethodType.ToShortDateString),this._methodsList.set("ToShortTimeString",r.StiMethodType.ToShortTimeString),this._methodsList.set("ToLongDateString",r.StiMethodType.ToLongDateString),this._methodsList.set("ToLongTimeString",r.StiMethodType.ToLongTimeString),this._methodsList.set("GetCurrentConditionValue",r.StiMethodType.GetCurrentConditionValue),this._methodsList.set("Add",r.StiMethodType.Add),this._methodsList.set("Subtract",r.StiMethodType.Subtract)),this._methodsList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"parametersList",{get:function(){return null==this._parametersList&&(this._parametersList=new o,this._parametersList.set(r.StiFunctionType.CountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Avg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.AvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.AvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.AvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.AvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Max,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Median,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Min,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.MinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Mode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.ModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.ModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Sum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.SumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.SumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.SumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.SumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.First,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.Last,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rCountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rAvg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rAvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rAvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rAvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rAvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMax,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMedian,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMin,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rMode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rSum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rSumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.rSumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rSumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rFirst,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.rLast,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.iCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.iCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.iSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.iLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.riCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.riSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.riLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.cCountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cAvg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cAvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cAvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cAvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cAvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMax,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMedian,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMin,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cMode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cSum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cSumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.cSumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cSumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cFirst,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.cLast,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crCountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crAvg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crAvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crAvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crAvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crAvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMax,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMedian,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMin,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crMode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crSum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crSumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.crSumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crSumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crFirst,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.crLast,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.ciCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.ciCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.ciSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.ciLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.criCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.criSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.criLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.pCountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pAvg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pAvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pAvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pAvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pAvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMax,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMedian,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMin,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pMode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pSum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pSumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.pSumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pSumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pFirst,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.pLast,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prCountDistinct,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prAvg,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prAvgD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prAvgDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prAvgI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prAvgTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMax,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMaxD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMaxDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMaxI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMaxStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMaxTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMedian,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMedianD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMedianI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMin,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMinD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMinDate,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMinI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMinStr,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMinTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prMode,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prModeD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prModeI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prSum,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prSumD,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.prSumI,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prSumTime,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prFirst,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.prLast,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.piCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.piCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.piSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.piLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priCount,r.StiParameterNumber.Param2),this._parametersList.set(r.StiFunctionType.priCountDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priAvg,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priAvgD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priAvgDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priAvgI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priAvgTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMax,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMaxD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMaxDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMaxI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMaxStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMaxTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMedian,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMedianD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMedianI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMin,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMinD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMinDate,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMinI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMinStr,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMinTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priMode,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priModeD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priModeI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priSum,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priSumD,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priSumDistinct,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3|r.StiParameterNumber.Param4),this._parametersList.set(r.StiFunctionType.priSumI,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priSumTime,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priFirst,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.priLast,r.StiParameterNumber.Param2|r.StiParameterNumber.Param3),this._parametersList.set(r.StiFunctionType.Rank,r.StiParameterNumber.Param2)),this._parametersList},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentsList",{get:function(){var t,e;if(null==this._componentsList){this._componentsList=new o;var r=this.report.getComponents();try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var a=i.value;this._componentsList.set(a.name,a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this._componentsList.set("this",this.report)}return this._componentsList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"methodsHash",{get:function(){var e,n;if(null==this._methodsHash){var i=[new c(r.StiFunctionType.DateDiff,1,[a.stimulsoft.getType(),a.stimulsoft.getType()],s.stimulsoft.getType()),new c(r.StiFunctionType.DateSerial,1,[Number.stimulsoft.getType()],a.stimulsoft.getType()),new c(r.StiFunctionType.DateSerial,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],a.stimulsoft.getType()),new c(r.StiFunctionType.TimeSerial,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],s.stimulsoft.getType()),new c(r.StiFunctionType.Year,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Month,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Day,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Hour,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Minute,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Second,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.DayOfWeek,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.DayOfWeek,3,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DayOfWeek,5,[a.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.DayOfWeek,7,[a.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DayOfYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.DaysInMonth,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.DaysInMonth,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.DaysInYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.DaysInYear,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MonthName,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.MonthName,3,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.MonthName,5,[a.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.MonthName,7,[a.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.WeekOfYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.WeekOfYear,3,[a.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.WeekOfYear,5,[a.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.WeekOfMonth,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.WeekOfMonth,3,[a.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.WeekOfMonth,5,[a.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Abs,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Abs,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Abs,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Acos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Asin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Atan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Cos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Sin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Tan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Ceiling,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Ceiling,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,5,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Div,6,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Exp,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Floor,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Floor,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Log,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Maximum,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Maximum,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Maximum,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Minimum,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Minimum,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Minimum,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Round,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Round,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Round,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Round,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Sign,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Sign,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Sign,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Truncate,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Truncate,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.IsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.Next,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Object.stimulsoft.getType()),new c(r.StiFunctionType.NextIsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.Previous,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Object.stimulsoft.getType()),new c(r.StiFunctionType.PreviousIsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.DateToStr,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStr,3,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrPl,1,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrRu,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrRu,2,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrUa,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrUa,2,[a.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrPt,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.DateToStrPtBr,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.Insert,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.Left,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Right,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Mid,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Length,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Remove,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Remove,2,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Replace,1,[String.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.Substring,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.Trim,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.Roman,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToOrdinal,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToLowerCase,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.ToUpperCase,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.ToProperCase,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWords,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWords,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWords,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWords,10,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsAr,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsEnGb,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsEnIn,1,[String.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsEs,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsFr,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsNl,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsPl,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsPt,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsPtBr,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsRu,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsRu,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsRu,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsRu,10,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsThai,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsTr,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsTr,2,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsUa,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsUa,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsUa,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.ToCurrencyWordsZh,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWords,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWords,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsAr,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsEs,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsEs,2,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsEnIn,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsFa,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsPl,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsPt,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsRu,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsRu,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsTr,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsUa,1,[Number.stimulsoft.getType()]),new c(r.StiFunctionType.ToWordsUa,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.StrToNullableDateTime,1,[String.stimulsoft.getType()],a.stimulsoft.getType()),new c(r.StiFunctionType.CountAllLevels,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.CountAllLevelsOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.CountOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.Rank,1,[Object.stimulsoft.getType(),Object.stimulsoft.getType()]),new c(r.StiFunctionType.Rank,2,[Object.stimulsoft.getType(),Object.stimulsoft.getType(),Boolean.stimulsoft.getType(),Object.stimulsoft.getType()]),new c(r.StiFunctionType.MathRound,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,5,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,6,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,7,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathRound,8,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.MathPow,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.GetAnchorPageNumber,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.GetAnchorPageNumberThrough,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.ParseTimeSpan,1,[String.stimulsoft.getType()],s.stimulsoft.getType()),new c(r.StiFunctionType.ParseDateTime,1,[String.stimulsoft.getType()],a.stimulsoft.getType()),new c(r.StiFunctionType.ParseDecimal,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.ParseDouble,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.ParseInt,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.ToString,1,[Object.stimulsoft.getType()]),new c(r.StiFunctionType.StringIsNullOrEmpty,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.StringIsNullOrWhiteSpace,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.EngineHelperJoinColumnContent,1,[u.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.EngineHelperJoinColumnContent,2,[t.Report.Dictionary.StiBusinessObject.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.EngineHelperJoinColumnContent,3,[t.Report.Dictionary.StiDataSource.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.EngineHelperJoinColumnContent,4,[t.Report.Dictionary.StiBusinessObject.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new c(r.StiFunctionType.EngineHelperToQueryString,1,[Object.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToShortDateString,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToShortTimeString,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToLongDateString,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToLongTimeString,1,[a.stimulsoft.getType()]),new c(r.StiFunctionType.m_Substring,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.m_Substring,2,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToLower,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToUpper,1,[String.stimulsoft.getType()]),new c(r.StiFunctionType.m_IndexOf,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Number.stimulsoft.getType()),new c(r.StiFunctionType.m_StartsWith,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.m_EndsWith,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.m_Contains,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.m_Contains,21,[Object.stimulsoft.getType(),Object.stimulsoft.getType()],Boolean.stimulsoft.getType()),new c(r.StiFunctionType.m_ToString,1,[Object.stimulsoft.getType()]),new c(r.StiFunctionType.m_ToString,2,[Object.stimulsoft.getType(),String.stimulsoft.getType()])];this._methodsHash=new o;try{for(var l=__values(i),p=l.next();!p.done;p=l.next()){var h=p.value,m=this._methodsHash.get(h.name);null==m&&(m=[],this._methodsHash.set(h.name,m)),m.push(h)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}}return this._methodsHash},enumerable:!1,configurable:!0}),Object.defineProperty(n,"constantsList",{get:function(){return null==this._constantsList&&(this._constantsList=new o,this._constantsList.set("true",!0),this._constantsList.set("True",!0),this._constantsList.set("false",!1),this._constantsList.set("False",!1),this._constantsList.set("null",null),this._constantsList.set("DBNull",this.namespaceObj),this._constantsList.set("DBNull.Value",null),this._constantsList.set("MidpointRounding",this.namespaceObj),this._constantsList.set("MidpointRounding.ToEven",t.System.MidpointRounding.ToEven),this._constantsList.set("MidpointRounding.AwayFromZero",t.System.MidpointRounding.AwayFromZero),this._constantsList.set("StiRankOrder",this.namespaceObj),this._constantsList.set("StiRankOrder.Asc",e.StiRankOrder.Asc),this._constantsList.set("StiRankOrder.Desc",e.StiRankOrder.Desc),this._constantsList.set("DayOfWeek",this.namespaceObj),this._constantsList.set("DayOfWeek.Sunday",t.System.DayOfWeek.Sunday),this._constantsList.set("DayOfWeek.Monday",t.System.DayOfWeek.Monday),this._constantsList.set("DayOfWeek.Tuesday",t.System.DayOfWeek.Tuesday),this._constantsList.set("DayOfWeek.Wednesday",t.System.DayOfWeek.Wednesday),this._constantsList.set("DayOfWeek.Thursday",t.System.DayOfWeek.Thursday),this._constantsList.set("DayOfWeek.Friday",t.System.DayOfWeek.Friday),this._constantsList.set("DayOfWeek.Saturday",t.System.DayOfWeek.Saturday),this._constantsList.set("CalendarWeekRule",this.namespaceObj),this._constantsList.set("CalendarWeekRule.FirstDay",t.System.Globalization.CalendarWeekRule.FirstDay),this._constantsList.set("CalendarWeekRule.FirstFullWeek",t.System.Globalization.CalendarWeekRule.FirstFullWeek),this._constantsList.set("CalendarWeekRule.FirstFourDayWeek",t.System.Globalization.CalendarWeekRule.FirstFourDayWeek),this._constantsList.set("System.Globalization.CalendarWeekRule",this.namespaceObj),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstDay",t.System.Globalization.CalendarWeekRule.FirstDay),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFullWeek",t.System.Globalization.CalendarWeekRule.FirstFullWeek),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFourDayWeek",t.System.Globalization.CalendarWeekRule.FirstFourDayWeek)),this._constantsList},enumerable:!1,configurable:!0}),Object.defineProperty(n,"namespacesList",{get:function(){return null==this._namespacesList&&(this._namespacesList=new o,this._namespacesList.set("Totals",this.namespaceObj),this._namespacesList.set("System",this.namespaceObj),this._namespacesList.set("System.Convert",this.namespaceObj),this._namespacesList.set("System.Globalization",this.namespaceObj),this._namespacesList.set("Convert",this.namespaceObj),this._namespacesList.set("Math",this.namespaceObj),this._namespacesList.set("Func",this.namespaceObj),this._namespacesList.set("Func.EngineHelper",this.namespaceObj)),this._namespacesList},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"userFunctionsList",{get:function(){var t,e;if(null==this._userFunctionsList){this._userFunctionsList=new o;var n=new o,a=i.getFunctions(!1);try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c=n.get(u.functionName);null==c&&(c=[],n.set(u.functionName,c),this._userFunctionsList.set(u.functionName,r.StiFunctionType.UserFunction+this._userFunctionsList.count)),c.push(u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}}return this._userFunctionsList},enumerable:!1,configurable:!0}),n._typesList=null,n._systemVariablesList=null,n._propertiesList=null,n._functionsList=null,n._methodsList=null,n._parametersList=null,n._methodsHash=null,n._constantsList=null,n.namespaceObj={},n._namespacesList=null,n}();n.StiParser_Properties=p}(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(r){var n=t.System.StiArray,i=t.System.StiString,o=t.System.Type,a=t.System.Enum,s=t.System.Text.StringBuilder,l;!function(t){t[t["SyntaxError"]=0]="SyntaxError",t[t["IntegralConstantIsTooLarge"]=1]="IntegralConstantIsTooLarge",t[t["ExpressionIsEmpty"]=2]="ExpressionIsEmpty",t[t["DivisionByZero"]=3]="DivisionByZero",t[t["UnexpectedEndOfExpression"]=4]="UnexpectedEndOfExpression",t[t["NameDoesNotExistInCurrentContext"]=5]="NameDoesNotExistInCurrentContext",t[t["UnprocessedLexemesRemain"]=6]="UnprocessedLexemesRemain",t[t["LeftParenthesisExpected"]=7]="LeftParenthesisExpected",t[t["RightParenthesisExpected"]=8]="RightParenthesisExpected",t[t["FieldMethodOrPropertyNotFound"]=9]="FieldMethodOrPropertyNotFound",t[t["OperatorCannotBeAppliedToOperands"]=10]="OperatorCannotBeAppliedToOperands",t[t["FunctionNotFound"]=11]="FunctionNotFound",t[t["NoOverloadForMethodTakesNArguments"]=12]="NoOverloadForMethodTakesNArguments",t[t["FunctionHasInvalidArgument"]=13]="FunctionHasInvalidArgument",t[t["FunctionNotYetImplemented"]=14]="FunctionNotYetImplemented",t[t["MethodHasInvalidArgument"]=15]="MethodHasInvalidArgument",t[t["ItemDoesNotContainDefinition"]=16]="ItemDoesNotContainDefinition",t[t["NoMatchingOverloadedMethod"]=17]="NoMatchingOverloadedMethod",t[t["TheTypeOrNamespaceNotExistInTheNamespace"]=18]="TheTypeOrNamespaceNotExistInTheNamespace"}(l=r.ParserErrorCode||(r.ParserErrorCode={}));var u=function(){function t(t,e,r){this.position=-1,this.length=-1,this.typeCode=t,this.position=e,this.length=r}return t.prototype.toString=function(){return i.format("{0}",this.typeCode)},t}(),c=function(){function t(t){this.message=null,this.baseMessage=null,this.position=-1,this.length=-1,this.message=t}return t.prototype.toString=function(){return i.isNullOrWhiteSpace(this.baseMessage)?this.message:this.baseMessage},t}();r.StiParserException=c;var p=function(p){function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.report=null,t}return __extends(h,p),h.prototype.throwError=function(t,e,r,n,o,a){void 0===e&&(e=null),void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),void 0===a&&(a="");var s="Unknown error",l=t;l<h.errorsList.length&&(s=i.format(h.errorsList[l],r,n,o,a));var u,p=new c("Parser error: "+s);throw p.baseMessage=s,null!=e&&(p.position=this.expressionPosition+e.position,p.length=e.length),p},h.prototype.checkTypes=function(r){var n,i;if(null==r||0==r.length)return;var o=new Array,a=null,s=null,l,c;try{for(var p=__values(r),h=p.next();!h.done;h=p.next()){var m=h.value,f=Object.stimulsoft.getType();switch(m.type){case e.StiAsmCommandType.PushValue:o.push(new u(null==m.parameter1?Object.stimulsoft.getType():m.parameter1.stimulsoft.getType(),m.position,m.length));break;case e.StiAsmCommandType.PushVariable:var d=m.parameter1,g=this.report.dictionary.variables.getByName(d);if(null!=g)f=g.type;else if(null!=this.report.variables&&this.report.variables.containsKey(d)){var S=this.report.variables.get(d);null!=S&&(f=S.stimulsoft.getType())}o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushSystemVariable:var y=this.get_systemVariable(m.parameter1);null!=y&&(f=y.stimulsoft.getType()),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushComponent:o.push(new u(null==m.parameter1?Object.stimulsoft.getType():m.parameter1.stimulsoft.getType(),m.position,m.length));break;case e.StiAsmCommandType.CopyToVariable:break;case e.StiAsmCommandType.PushFunction:a=new Array;for(var A=0;A<m.parameter2.stimulsoft.toNumber();A++)a.push(o.pop());a.reverse(),s=new Array(a.length);for(var A=0;A<a.length;A++)s[A]=a[A].typeCode;var b=this.getParserMethodInfo(m.parameter1,s);f=null!=b?b.returnType:Object.stimulsoft.getType(),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushMethod:a=new Array;for(var A=0;A<m.parameter2.stimulsoft.toNumber();A++)a.push(o.pop());a.reverse(),s=new Array(a.length);for(var A=0;A<a.length;A++)s[A]=a[A].typeCode;f=this.getMethodResultType(m.parameter1,s),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushProperty:f=this.getPropertyType(m.parameter1,o.pop().typeCode),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushDataSourceField:var v=m.parameter1.split("."),C=this.report.dictionary.dataSources.getByName(v[0]);if(C.stimulsoft.is(t.Report.Dictionary.StiVirtualSource)&&v.length>2&&!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(T<v.length-1)I=v[T],C=C.getParentDataSource(I),T++;null!=(B=C.columns.getByName(v[T]))&&(f=B.type)}else f=C.stimulsoft.getType();o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushBusinessObjectField:var E=m.parameter1.split("."),R=this.report.dictionary.businessObjects.getByName(E[0]);if(E.length>1){var D=null,T=1;while(T<E.length-1){if(D=E[T],R.columns.contains(D))break;R=R.businessObjects.getByName(D),T++}f=R.columns.contains(E[T])?R.columns.getByName(E[T]).type:R.businessObjects.getByName(E[T]).stimulsoft.getType()}else f=R.stimulsoft.getType();o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.PushArrayElement:a=new Array;for(var A=0;A<m.parameter1.stimulsoft.toNumber();A++)a.push(o.pop());a.reverse(),s=new Array(a.length);for(var A=0;A<a.length;A++)s[A]=a[A].typeCode;f=this.getArrayElementType(s),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.Add:case e.StiAsmCommandType.Sub:case e.StiAsmCommandType.Mult:case e.StiAsmCommandType.Div:case e.StiAsmCommandType.Mod:case e.StiAsmCommandType.Shl:case e.StiAsmCommandType.Shr:case e.StiAsmCommandType.And:case e.StiAsmCommandType.Or:case e.StiAsmCommandType.Xor:case e.StiAsmCommandType.And2:case e.StiAsmCommandType.Or2:c=o.pop(),s=[(l=o.pop()).typeCode,c.typeCode],o.push(new u(l.typeCode,m.position,m.length));break;case e.StiAsmCommandType.Neg:case e.StiAsmCommandType.Not:s=[(l=o.pop()).typeCode];break;case e.StiAsmCommandType.CompareLeft:case e.StiAsmCommandType.CompareLeftEqual:case e.StiAsmCommandType.CompareRight:case e.StiAsmCommandType.CompareRightEqual:case e.StiAsmCommandType.CompareEqual:case e.StiAsmCommandType.CompareNotEqual:c=o.pop(),l=o.pop(),f=Boolean.stimulsoft.getType(),o.push(new u(f,m.position,m.length));break;case e.StiAsmCommandType.Cast:l=o.pop(),o.push(new u(f,m.position,m.length));break}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}},h.prototype.getMethodResultType=function(t,e){var r=this.getParserMethodInfo(t,e);if(null!=r)return r.returnType;return null},h.prototype.getPropertyType=function(t,e){return null},h.prototype.getArrayElementType=function(t){var e=t[0];return null},h.prototype.get_systemVariable=function(t){return null},h.isImplicitlyCastableTo=function(t,e){if(e==String&&null==t)return!0;if(null==t||null==e)return!1;if(e==Object.stimulsoft.getType())return!0;if(t==Number)return o.isNumericType(e);if(t.stimulsoft.is(e))return!0;return e==t},h.prototype.getTypeName=function(t){return null==t?"null":t.stimulsoft.getType().stimulsoft.getTypeName()},h.prototype.checkParserMethodInfo=function(t,e){for(var r=e.length,i=n.create(o,r),a=0;a<r;a++)null==e[a]?i[a]=Object:i[a]=e[a].stimulsoft.getType();var s=this.getParserMethodInfo(t,i);if(null!=s)return s.number;return 0},h.prototype.getParserMethodInfo=function(t,n){var i,o,u=r.StiParser_AsmFunctions.methodsHash.get(t);if(null==u)return null;var c=n.length,p=u,m=!1;try{for(var f=__values(p),d=f.next();!d.done;d=f.next()){var g=d.value;if(g.arguments.length!=c)continue;m=!0;for(var S=!0,y=0;y<c;y++){if(h.isImplicitlyCastableTo(n[y],g.arguments[y]))continue;S=!1;break}if(S)return g}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}m||this.throwError(l.NoOverloadForMethodTakesNArguments,null,a.getName(e.StiFunctionType,t.stimulsoft.toNumber()),c.toString());for(var A=new s,y=0;y<c;y++){var b=null==n[y]?"null":n[y].stimulsoft.getType().stimulsoft.getTypeName();"Decimal"==b&&(b="Number"),A.append(b),y<c-1&&A.append(",")}return this.throwError(l.NoMatchingOverloadedMethod,null,a.getName(e.StiFunctionType,t.stimulsoft.toNumber()),A.toString()),null},h.errorsList=["Syntax error","Integral constant is too large","The expression is empty","Division by zero","Unexpected end of expression","The name '{0}' does not exist in the current context","Syntax error - unprocessed lexemes remain","( expected",") expected","Field, method, or property is not found: '{0}'","Operator '{0}' cannot be applied to operands of type '{1}' and type '{2}'","The function is not found: '{0}'","No overload for method '{0}' takes '{1}' arguments","The '{0}' function has invalid argument '{1}': cannot convert from '{2}' to '{3}'","The '{0}' function is not yet implemented","The '{0}' method has invalid argument '{1}': cannot convert from '{2}' to '{3}'","'{0}' does not contain a definition for '{1}'","There is no matching overloaded method for '{0}({1})'","The type or namespace name '{0}' does not exist in the namespace '{1}'"],h}(r.StiParser_Properties);r.StiParser_Check=p}(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.TypeCode,a=t.System.Text.StringBuilder,s=t.System.Char,l=t.System.Collections.Hashtable,u=t.Report.Components.StiComponent,c=function(c){function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.position=0,t.inputExpression="",t.hashAliases=null,t.tokenPos=0,t.tokensList=null,t.component=null,t.runtimeConstants=null,t.runtimeConstantsHash=null,t}return __extends(p,c),p.prototype.getNextLexem=function(){while(this.position<this.inputExpression.length&&p.isWhiteSpace(this.inputExpression[this.position]))this.position++;if(this.position>=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(i<this.inputExpression.length&&(s.isLetterOrDigit(this.inputExpression[i])||"_"==this.inputExpression[i]))i++;(t=new n.StiToken).value=this.inputExpression.substr(this.position,i-this.position),t.type=r.StiTokenType.Identifier,t.position=this.position,t.length=i-this.position,this.position=i;var o=t.value;return t.position>0&&"."==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.position<this.inputExpression.length-1&&'"'==this.inputExpression[this.position+1]){var a=!0;"@"==e&&(a=!1,this.position++),this.position++;var i=this.position;while(i<this.inputExpression.length){if('"'==this.inputExpression[i])break;"\\"==this.inputExpression[i]&&i++,i++}(t=new n.StiToken).type=r.StiTokenType.String;var l=this.inputExpression.substr(this.position,i-this.position);return t.valueObject=a?p.replaceBackslash(l):l,t.position=this.position-1,this.position=i+1,t.length=this.position-t.position,t}if("["==e&&-1!=(i=this.inputExpression.indexOf("]",this.position))){i++;var o=this.inputExpression.substr(this.position,i-this.position);if(this.position>0&&"."==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<this.inputExpression.length&&(c=this.inputExpression[this.position]),e){case".":return new n.StiToken(r.StiTokenType.Dot,u,1);case"(":return new n.StiToken(r.StiTokenType.LParenthesis,u,1);case")":return new n.StiToken(r.StiTokenType.RParenthesis,u,1);case"[":return new n.StiToken(r.StiTokenType.LBracket,u,1);case"]":return new n.StiToken(r.StiTokenType.RBracket,u,1);case"+":return new n.StiToken(r.StiTokenType.Plus,u,1);case"-":return new n.StiToken(r.StiTokenType.Minus,u,1);case"*":return new n.StiToken(r.StiTokenType.Mult,u,1);case"/":return new n.StiToken(r.StiTokenType.Div,u,1);case"%":return new n.StiToken(r.StiTokenType.Percent,u,1);case"^":return new n.StiToken(r.StiTokenType.Xor,u,1);case",":return new n.StiToken(r.StiTokenType.Comma,u,1);case":":return new n.StiToken(r.StiTokenType.Colon,u,1);case";":return new n.StiToken(r.StiTokenType.SemiColon,u,1);case"?":return new n.StiToken(r.StiTokenType.Question,u,1);case"|":return"|"==c?(this.position++,new n.StiToken(r.StiTokenType.DoubleOr,u,2)):new n.StiToken(r.StiTokenType.Or,u,1);case"&":return"&"==c?(this.position++,new n.StiToken(r.StiTokenType.DoubleAnd,u,2)):new n.StiToken(r.StiTokenType.And,u,1);case"!":return"="==c?(this.position++,new n.StiToken(r.StiTokenType.NotEqual,u,2)):new n.StiToken(r.StiTokenType.Not,u,1);case"=":return"="==c?(this.position++,new n.StiToken(r.StiTokenType.Equal,u,2)):new n.StiToken(r.StiTokenType.Assign,u,1);case"<":return"<"==c?(this.position++,new n.StiToken(r.StiTokenType.Shl,u,2)):"="==c?(this.position++,new n.StiToken(r.StiTokenType.LeftEqual,u,2)):new n.StiToken(r.StiTokenType.Left,u,1);case">":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;e<t.length;e++)if(!s.isLetterOrDigit(t[e])&&"_"!=t[e])return!1;return!0},p.getCorrectedAlias=function(t){if(this.isValidName(t))return t;return i.format("[{0}]",t)},p.replaceBackslash=function(t){for(var e="",r=0;r<t.length;r++)if("\\"==t[r]&&r<t.length-1){var n=t[++r];switch(n){case"\\":e+="\\";break;case"'":e+="'";break;case'"':e+='"';break;case"0":e+="\0";break;case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"x":var i=new a,o=0;while(r<t.length-1&&o<4&&-1!="0123456789abcdefABCDEF".indexOf(t[r+1]))i.append(t[r+1]),r++,o++;var s=parseFloat(i.toString());e+=String.fromCharCode(s);break;default:e+="\\"+n;break}}else e+=t[r];return e},p.prototype.scanNumber=function(){var e=o.Int32,i=this.position,a=this.position;while(this.position!=this.inputExpression.length&&s.isDigit(this.inputExpression[this.position]))this.position++;if(this.position!=this.inputExpression.length&&"."==this.inputExpression[this.position]&&this.position+1!=this.inputExpression.length&&s.isDigit(this.inputExpression[this.position+1])){this.position++;while(this.position!=this.inputExpression.length&&s.isDigit(this.inputExpression[this.position]))this.position++;e=o.Double}var l=this.inputExpression.substr(i,this.position-i);if(l=l.replace(",","."),this.position!=this.inputExpression.length&&s.isLetter(this.inputExpression[this.position])){i=this.position;while(this.position!=this.inputExpression.length&&s.isLetter(this.inputExpression[this.position]))this.position++;var u=this.inputExpression.substr(i,this.position-i).toLowerCase();"f"==u&&(e=o.Single),"d"==u&&(e=o.Double),"m"==u&&(e=o.Decimal),"l"==u&&(e=o.Int64),"u"!=u&&"ul"!=u&&"lu"!=u||(e=o.UInt64)}e==o.Int32&&l.length>9&&(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){var s=o[this.tokenPos];if(this.tokenPos++,s.type==r.StiTokenType.Identifier){var l=this.report.dictionary.dataSources.getByName(s.value),c=this.report.dictionary.businessObjects.getByName(s.value),p="";if(t.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(s.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;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+1<o.length&&o[this.tokenPos].type==r.StiTokenType.Dot){s=o[this.tokenPos+1];var f=e.StiNameValidator.correctName(s.value),d=this.getDataRelationByName(f,l);if(null!=d){l=d.parentSource,this.tokenPos+=2,h+=".",h+=d.nameInSource,m.push(d.nameInSource);continue}var g=this.getDataColumnByName(f,l);if(null!=g){this.tokenPos+=2,h+=".",h+=f,m.push(g.name);break}s=o[this.tokenPos-1];break}s.type=r.StiTokenType.DataSourceField,s.value=h,s.valueObject=m}else if(null!=c){var h=s.value;while(this.tokenPos+1<o.length&&o[this.tokenPos].type==r.StiTokenType.Dot){var f=(s=o[this.tokenPos+1]).value;if(c.columns.contains(f)){this.tokenPos+=2,h+=".",h+=f;break}if(null!=(c=c.businessObjects.getByName(f))){this.tokenPos+=2,h+=".",h+=c.name;continue}s=o[this.tokenPos-1];break}s.type=r.StiTokenType.BusinessObjectField,s.value=h}else if(a.length>0&&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.tokenPos<o.length&&o[this.tokenPos].type==r.StiTokenType.LParenthesis||a.length>1&&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+1<o.length&&o[this.tokenPos].type==r.StiTokenType.Dot){var A=s.value+"."+o[this.tokenPos+1].value;t.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(A)&&(s.type=r.StiTokenType.Function,s.value=A,this.tokenPos+=2),t.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(A)&&(s.type=r.StiTokenType.SystemVariable,s.value=A,this.tokenPos+=2)}}else if(!this.componentsList.contains(s.value)||this.tokenPos<o.length&&o[this.tokenPos].type==r.StiTokenType.LParenthesis)if(t.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(p+s.value)&&this.tokenPos<o.length&&o[this.tokenPos].type==r.StiTokenType.LParenthesis)s.value=p+s.value,s.type=r.StiTokenType.Function;else if(null!=this.runtimeConstants&&this.runtimeConstants.count>0&&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<o.length&&o[this.tokenPos].type==r.StiTokenType.Colon&&this.componentsList.contains(o[this.tokenPos+1].value)){var v=this.componentsList.get(o[this.tokenPos+1].value).stimulsoft.as(u);null!=v&&v.stimulsoft.is(t.Report.Components.StiDataBand)&&(s.value=v.dataSourceName,s.type=r.StiTokenType.DataSourceField,this.tokenPos+=2)}}a.push(s)}return a},p.prototype.createRuntimeConstantsHash=function(){var t,e;null!=this.runtimeConstantsHash?this.runtimeConstantsHash.clear():this.runtimeConstantsHash=new l;try{for(var r=__values(this.runtimeConstants.keys),i=r.next();!i.done;i=r.next()){var o=i.value,a=o.toString();if(a.stimulsoft.contains(".")){var s=a.split("."),u=0,c=s[0];while(u<s.length-1)this.runtimeConstantsHash.set(c,n.StiParser_Properties.namespaceObj),c+="."+s[++u]}this.runtimeConstantsHash.set(a,this.runtimeConstants.get(o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},p.prototype.getDataRelationByName=function(t,r){var n,i,o,a;try{for(var s=__values(this.report.dictionary.relations.list),l=s.next();!l.done;l=s.next()){var u;if((u=l.value).childSource==r&&(u.name==t||u.nameInSource==t))return u}}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.report.dictionary.relations.list),p=c.next();!p.done;p=c.next()){var u;if((u=p.value).childSource==r&&(e.StiNameValidator.correctName(u.name)==t||e.StiNameValidator.correctName(u.nameInSource)==t))return u}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return null},p.prototype.getDataColumnByName=function(t,e){var r,n;if(null!=e.dataTable){var i=e.getColumnIndex(t);if(i>=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).ticks<r.toDateTime(n).ticks;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(n))}return null},s.prototype.op_CompareLeftEqual=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).ticks<=r.toDateTime(n).ticks;this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(t),this.getTypeName(n))}return null},s.prototype.op_CompareRight=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_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()<<r.stimulsoft.toNumber();return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<<",this.getTypeName(t),this.getTypeName(r)),null},s.prototype.op_Shr=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()>>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<d.length)return d[R];return null;case r.StiFunctionType.Switch:var D=0;while(D+1<d.length){if(l.toBoolean(d[D]))return d[D+1];D+=2}return null;case r.StiFunctionType.ToString:if(null==d[0]||d[0]==p.value)return"";if(1==(C=this.get_category(d[0])))return l.toString(d[0]);if(2==C||3==C){var P=l.toNumber(d[0]);return 1==d.length?P.toString():o.customFormat(P,l.toString(d[1]))}if(4==C||6==C){var x=l.toNumber(d[0]);return 1==d.length?x.toString():o.customFormat(x,l.toString(d[1]))}if(5==C||7==C){var F=l.toNumber(d[0]);return 1==d.length?F.toString():o.customFormat(F,l.toString(d[1]))}if(8==C){var N=l.toDateTime(d[0]);return 1==d.length?N.toString():o.format(l.toString(d[1]),N.toString)}return 8==C?l.toBoolean(d[0]).toString():d[0].toString();case r.StiFunctionType.Format:return C=this.get_category(d[0]),o.format(l.toString(d[0]),d[1]);case r.StiFunctionType.SystemConvertToBoolean:return t.System.Convert.toBoolean(d[0]);case r.StiFunctionType.SystemConvertToByte:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToChar:return t.System.Convert.toString(d[0]);case r.StiFunctionType.SystemConvertToDateTime:return t.System.Convert.toDateTime(d[0]);case r.StiFunctionType.SystemConvertToDecimal:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToDouble:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToInt16:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToInt32:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToInt64:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToSByte:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToSingle:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToString:return t.System.Convert.toString(d[0]);case r.StiFunctionType.SystemConvertToUInt16:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToUInt32:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.SystemConvertToUInt64:return t.System.Convert.toNumber(d[0]);case r.StiFunctionType.MathRound:switch(I){case 1:return Math.round2(l.toNumber(d[0]));case 2:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]));case 3:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]));case 4:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]));case 5:return Math.round2(l.toNumber(d[0]));case 6:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]));case 7:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]));case 8:return Math.round2(l.toNumber(d[0]),l.toNumber(d[1]))}break;case r.StiFunctionType.MathPow:switch(I){case 1:return Math.pow(l.toNumber(d[0]),l.toNumber(d[1]))}break;case r.StiFunctionType.ConvertRtf:var k=i.create(Object,d.length);return d.stimulsoft.copyTo(k),null;case r.StiFunctionType.GetAnchorPageNumber:switch(I){case 1:return this.report.getAnchorPageNumber(d[0])}break;case r.StiFunctionType.GetAnchorPageNumberThrough:switch(I){case 1:return this.report.getAnchorPageNumberThrough(d[0])}break;case r.StiFunctionType.ParseTimeSpan:switch(I){case 1:return c.fromString(l.toString(d[0]))}break;case r.StiFunctionType.ParseDateTime:switch(I){case 1:return l.toDateTime(l.toString(d[0]))}break;case r.StiFunctionType.ParseDecimal:switch(I){case 1:return l.toNumber(l.toString(d[0]))}break;case r.StiFunctionType.ParseDouble:switch(I){case 1:return l.toNumber(l.toString(d[0]))}break;case r.StiFunctionType.ParseInt:switch(I){case 1:return l.toNumber(l.toString(d[0]))}break;case r.StiFunctionType.EngineHelperJoinColumnContent:switch(I){case 1:return e.Func.EngineHelper.joinColumnContent(d[0],l.toString(d[1]),l.toString(d[2]));case 2:return e.Func.EngineHelper.joinColumnContent(d[0],l.toString(d[1]),l.toString(d[2]));case 3:return e.Func.EngineHelper.joinColumnContent(d[0],l.toString(d[1]),l.toString(d[2]),l.toBoolean(d[3]));case 4:return e.Func.EngineHelper.joinColumnContent(d[0],l.toString(d[1]),l.toString(d[2]),l.toBoolean(d[3]))}break;case r.StiFunctionType.EngineHelperToQueryString:switch(I){case 1:if(d[0].stimulsoft.is(h)||d[0].stimulsoft.is(Array))try{var M=[],O=d[0];try{for(var _=__values(O),j=_.next();!j.done;j=_.next()){var G=j.value;M.push(G)}}catch(t){g={error:t}}finally{try{j&&!j.done&&(S=_.return)&&S.call(_)}finally{if(g)throw g.error}}return e.Func.EngineHelper.toQueryString(M,l.toString(d[1]),l.toString(d[2]))}catch(e){t.System.StiError.showError(e,!1)}break}break}if(B>=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<U;V++)null==d[V]?J[V]=Object:J[V]=d[V].stimulsoft.getType(),W[V]=d[V];var z=a.getFunctions(!1);try{for(var X=__values(z),K=X.next();!K.done;K=X.next()){var Z=K.value;if(Z.functionName!=H)continue;if((null!=Z.argumentTypes?Z.argumentTypes.length:0)!=U)continue;for(var q=!0,V=0;V<U;V++){if(n.StiParser_Check.isImplicitlyCastableTo(J[V],Z.argumentTypes[V]))continue;q=!1;break}if(q&&null!=Z.jsFunction)return Z.jsFunction.apply(null,W)}}catch(t){b={error:t}}finally{try{K&&!K.done&&(v=X.return)&&v.call(X)}finally{if(b)throw b.error}}}}return null},d}(n.StiParser_AsmMethods);n.StiParser_AsmFunctions=f}(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(r){var n=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.currentToken=null,t.asmList=null,t}return __extends(i,n),i.prototype.eval_exp=function(){if(this.tokenPos=0,0==this.tokensList.length)return void this.throwError(r.ParserErrorCode.ExpressionIsEmpty);this.eval_exp0(),this.tokenPos<=this.tokensList.length&&this.throwError(r.ParserErrorCode.UnprocessedLexemesRemain)},i.prototype.eval_exp0=function(){this.get_token(),this.eval_exp01()},i.prototype.eval_exp01=function(){if(this.currentToken.type==e.StiTokenType.Variable){var t=this.currentToken;if(this.get_token(),this.currentToken.type==e.StiTokenType.Assign)return this.get_token(),this.eval_exp1(),void this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.CopyToVariable,t.value));this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1]}this.eval_exp1()},i.prototype.eval_exp1=function(){if(this.eval_exp10(),this.currentToken.type==e.StiTokenType.Question){this.get_token();var t=new r.StiAsmCommand(e.StiAsmCommandType.JumpFalse,0,null);this.asmList.push(t);var n=this.asmList.length;this.eval_exp10(),this.currentToken.type!=e.StiTokenType.Colon&&this.throwError(r.ParserErrorCode.SyntaxError,this.currentToken);var i=new r.StiAsmCommand(e.StiAsmCommandType.Jump,0,null);this.asmList.push(i);var o=this.asmList.length;this.get_token(),this.eval_exp10(),t.parameter1=o-n,i.parameter1=this.asmList.length-o}},i.prototype.eval_exp10=function(){this.eval_exp11();while(this.currentToken.type==e.StiTokenType.DoubleOr)this.get_token(),this.eval_exp11(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Or2))},i.prototype.eval_exp11=function(){this.eval_exp12();while(this.currentToken.type==e.StiTokenType.DoubleAnd)this.get_token(),this.eval_exp12(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.And2))},i.prototype.eval_exp12=function(){this.eval_exp14();while(this.currentToken.type==e.StiTokenType.Or)this.get_token(),this.eval_exp14(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Or))},i.prototype.eval_exp14=function(){this.eval_exp15(),this.currentToken.type==e.StiTokenType.Xor&&(this.get_token(),this.eval_exp15(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Xor)))},i.prototype.eval_exp15=function(){this.eval_exp16();while(this.currentToken.type==e.StiTokenType.And)this.get_token(),this.eval_exp16(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.And))},i.prototype.eval_exp16=function(){if(this.eval_exp17(),this.currentToken.type==e.StiTokenType.Equal||this.currentToken.type==e.StiTokenType.NotEqual){var t=new r.StiAsmCommand(e.StiAsmCommandType.CompareEqual);this.currentToken.type==e.StiTokenType.NotEqual&&(t.type=e.StiAsmCommandType.CompareNotEqual),this.get_token(),this.eval_exp17(),this.asmList.push(t)}},i.prototype.eval_exp17=function(){if(this.eval_exp18(),this.currentToken.type==e.StiTokenType.Left||this.currentToken.type==e.StiTokenType.LeftEqual||this.currentToken.type==e.StiTokenType.Right||this.currentToken.type==e.StiTokenType.RightEqual){var t=null;this.currentToken.type==e.StiTokenType.Left&&(t=new r.StiAsmCommand(e.StiAsmCommandType.CompareLeft)),this.currentToken.type==e.StiTokenType.LeftEqual&&(t=new r.StiAsmCommand(e.StiAsmCommandType.CompareLeftEqual)),this.currentToken.type==e.StiTokenType.Right&&(t=new r.StiAsmCommand(e.StiAsmCommandType.CompareRight)),this.currentToken.type==e.StiTokenType.RightEqual&&(t=new r.StiAsmCommand(e.StiAsmCommandType.CompareRightEqual)),this.get_token(),this.eval_exp18(),this.asmList.push(t)}},i.prototype.eval_exp18=function(){if(this.eval_exp2(),this.currentToken.type==e.StiTokenType.Shl||this.currentToken.type==e.StiTokenType.Shr){var t=new r.StiAsmCommand(e.StiAsmCommandType.Shl);this.currentToken.type==e.StiTokenType.Shr&&(t.type=e.StiAsmCommandType.Shr),this.get_token(),this.eval_exp2(),this.asmList.push(t)}},i.prototype.eval_exp2=function(){this.eval_exp3();while(this.currentToken.type==e.StiTokenType.Plus||this.currentToken.type==e.StiTokenType.Minus){var t=this.currentToken;this.get_token(),this.eval_exp3(),t.type==e.StiTokenType.Minus?this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Sub)):t.type==e.StiTokenType.Plus&&this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Add))}},i.prototype.eval_exp3=function(){this.eval_exp4();while(this.currentToken.type==e.StiTokenType.Mult||this.currentToken.type==e.StiTokenType.Div||this.currentToken.type==e.StiTokenType.Percent){var t=this.currentToken;this.get_token(),this.eval_exp4(),t.type==e.StiTokenType.Mult?this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Mult)):t.type==e.StiTokenType.Div&&this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Div)),t.type==e.StiTokenType.Percent&&this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Mod))}},i.prototype.eval_exp4=function(){this.eval_exp5()},i.prototype.eval_exp5=function(){var t=null;this.currentToken.type!=e.StiTokenType.Plus&&this.currentToken.type!=e.StiTokenType.Minus&&this.currentToken.type!=e.StiTokenType.Not||(this.currentToken.type==e.StiTokenType.Minus&&(t=new r.StiAsmCommand(e.StiAsmCommandType.Neg)),this.currentToken.type==e.StiTokenType.Not&&(t=new r.StiAsmCommand(e.StiAsmCommandType.Not)),this.get_token()),this.eval_exp6(),null!=t&&this.asmList.push(t)},i.prototype.eval_exp6=function(){if(this.currentToken.type==e.StiTokenType.LParenthesis)if(this.get_token(),this.currentToken.type==e.StiTokenType.Cast){var t=this.currentToken.valueObject;this.get_token(),this.currentToken.type!=e.StiTokenType.RParenthesis&&this.throwError(r.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.eval_exp5(),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.Cast,t))}else this.eval_exp1(),this.currentToken.type!=e.StiTokenType.RParenthesis&&this.throwError(r.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.currentToken.type==e.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==e.StiTokenType.LBracket&&this.eval_exp62();else this.eval_exp62()},i.prototype.eval_exp62=function(){if(this.currentToken.type==e.StiTokenType.LBracket){var t=0;while(0==t||this.currentToken.type==e.StiTokenType.Comma)this.get_token(),this.eval_exp1(),t++;this.currentToken.type!=e.StiTokenType.RBracket&&this.throwError(r.ParserErrorCode.SyntaxError,this.currentToken),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushArrayElement,t+1)),this.get_token(),this.currentToken.type==e.StiTokenType.LBracket&&this.eval_exp62(),this.currentToken.type==e.StiTokenType.Dot&&(this.get_token(),this.eval_exp7())}else this.eval_exp7()},i.prototype.eval_exp7=function(){this.atom(),this.currentToken.type==e.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==e.StiTokenType.LBracket&&this.eval_exp62()},i.prototype.atom=function(){if(this.currentToken.type==e.StiTokenType.Variable)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushVariable,this.currentToken.value)),void this.get_token();if(this.currentToken.type==e.StiTokenType.SystemVariable)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushSystemVariable,r.StiParser_Properties.systemVariablesList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==e.StiTokenType.Function){var t=this.currentToken,n=void 0,i=r.StiParser_Properties.functionsList.get(t.value),o;return n=null!=i?i:this.userFunctionsList.get(t.value),(o=new r.StiAsmCommand(e.StiAsmCommandType.PushFunction,n,this.get_args_count(n))).position=this.expressionPosition+t.position,o.length=t.length,this.asmList.push(o),void this.get_token()}if(this.currentToken.type==e.StiTokenType.Method){var a=this.currentToken,s=r.StiParser_Properties.methodsList.get(a.value);return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushMethod,s,this.get_args_count(s)+1)),void this.get_token()}if(this.currentToken.type==e.StiTokenType.Property){var l=this.currentToken,u=r.StiParser_Properties.propertiesList.get(l.value);return null==u&&(u=l.value),this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushProperty,u)),void this.get_token()}if(this.currentToken.type==e.StiTokenType.DataSourceField)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushDataSourceField,this.currentToken.value,this.currentToken.valueObject)),void this.get_token();var o;if(this.currentToken.type==e.StiTokenType.BusinessObjectField)return(o=new r.StiAsmCommand(e.StiAsmCommandType.PushBusinessObjectField,this.currentToken.value)).position=this.expressionPosition+this.currentToken.position,o.length=this.currentToken.length,this.asmList.push(o),void this.get_token();if(this.currentToken.type==e.StiTokenType.Component)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,this.componentsList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==e.StiTokenType.Number)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();if(this.currentToken.type==e.StiTokenType.String)return this.asmList.push(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();this.currentToken.type==e.StiTokenType.Empty&&this.throwError(r.ParserErrorCode.UnexpectedEndOfExpression),this.throwError(r.ParserErrorCode.SyntaxError,this.currentToken)},i.prototype.get_args_count=function(n){var i,o,a,s,l=-1,u=!1;null!=this.currentToken&&(l=this.currentToken.position,u=this.currentToken.value.stimulsoft.startsWith("Totals."));var c=this.get_args(),p=n,h,m,f;if((p==e.StiFunctionType.Count||p==e.StiFunctionType.rCount||p==e.StiFunctionType.cCount||p==e.StiFunctionType.crCount||p==e.StiFunctionType.pCount||p==e.StiFunctionType.prCount)&&0==c.length||(p>=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;w<this.report.dataBandsUsedInPageTotals.length;w++)C[w]=this.report.dataBandsUsedInPageTotals[w];C[this.report.dataBandsUsedInPageTotals.length]=S,this.report.dataBandsUsedInPageTotals=C}}}}var B=0;r.StiParser_Properties.parametersList.contains(n)&&(B=r.StiParser_Properties.parametersList.get(n));var I=1;try{for(var T=__values(c),E=T.next();!E.done;E=T.next()){var R=E.value;(B&I)>0?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.tokenPos<this.tokensList.length?this.currentToken=this.tokensList[this.tokenPos]:this.currentToken=new r.StiToken,this.tokenPos++},i}(r.StiParser_AsmFunctions);r.StiParser_Parser=n}(r=e.StiParser||(e.StiParser={}))}(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.executeIfStoreToPrint=!0,this.globalizedNameExt=""}return t}();t.StiParserParameters=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;!function(n){var i=t.System.Collections.List,o=t.Report.Engine.StiParserParameters,a=t.System.StiString,s=t.Base.StiActivator,l=t.System.Collections.Hashtable,u=t.Report.Components.StiText,c=t.System.DateTime,p=function(){function t(t,e,r,n){void 0===n&&(n=null),this.data=null,this.asmList=null,this.asmList2=null,this.conditionAsmList=null,this.parser=null,this.data=t,this.asmList=e,this.parser=r,this.conditionAsmList=n}return t}();n.StiParserData=p;var h=function(){function t(t,e){this.component=t,this.expression=e}return t}();n.StiFilterParserData=h;var m=function(){function t(t,e,n){void 0===t&&(t=r.StiTokenType.Empty),void 0===e&&(e=-1),void 0===n&&(n=-1),this.type=r.StiTokenType.Empty,this.position=-1,this.length=-1,this.type=t,this.position=e,this.length=n}return t.prototype.toString=function(){return a.format("TokenType={0}{1}",this.type.stimulsoft.getType().stimulsoft.getNetTypeName(),null!=this.value?a.format(', value="{0}"',this.value):"")},t}();n.StiToken=m;var f=function(){function e(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null),this.position=-1,this.length=-1,this.type=t,this.parameter1=e,this.parameter2=r}return e.prototype.toString=function(){return a.format("{0}({1},{2})",t.System.Enum.getName(r.StiAsmCommandType,this.type),null!=this.parameter1?this.parameter1.toString():"null",null!=this.parameter2?this.parameter2.toString():"null")},e}();n.StiAsmCommand=f;var d=function(){function t(t,e){this.dataSourceName=t,this.dataColumnName=e}return t}();n.StiParserGetDataFieldValueEventArgs=d;var g=function(p){function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.sender=null,t}return __extends(h,p),h.prototype.executeAsm=function(n){var i=n;if(null==i||0==i.length)return null;for(var o=[],a=null,s=0,l=0,u=0;u<i.length;u++){var c=i[u];switch(c.type){case r.StiAsmCommandType.PushValue:o.push(c.parameter1);break;case r.StiAsmCommandType.PushVariable:o.push(this.getVariableValue(c.parameter1));break;case r.StiAsmCommandType.PushSystemVariable:o.push(this.get_systemVariable(c.parameter1));break;case r.StiAsmCommandType.PushComponent:o.push(c.parameter1);break;case r.StiAsmCommandType.CopyToVariable:this.report.setVariable(c.parameter1,o[o.length-1]);break;case r.StiAsmCommandType.PushFunction:a=[];for(var p=0;p<c.parameter2;p++)a.push(o.pop());a.reverse(),o.push(this.call_func(c.parameter1,a));break;case r.StiAsmCommandType.PushMethod:a=[];for(var p=0;p<c.parameter2;p++)a.push(o.pop());a.reverse(),o.push(this.call_method(c.parameter1,a));break;case r.StiAsmCommandType.PushProperty:(a=[]).push(o.pop()),o.push(this.call_property(c.parameter1,a));break;case r.StiAsmCommandType.PushDataSourceField:var m=null;m=null!=c.parameter2&&c.parameter2.stimulsoft.is(Array)?c.parameter2:c.parameter1.split(".");var f=this.report.dictionary.dataSources.getByName(m[0]);if(f.stimulsoft.is(t.Report.Dictionary.StiVirtualSource)&&m.length>2&&!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(A<m.length-1)S=m[A],y=y.getParentData(S),f=f.getParentDataSource(S),A++;if(null!=(g=f.columns.getByName(m[A]))&&g.stimulsoft.is(t.Report.Dictionary.StiCalcDataColumn))o.push(h.parseTextValue("{"+g.expression+"}",this.component));else{var b=null;null!=y&&(b=y.getByColumnName(m[A])),o.push(e.StiReport.changeType(b,g.type,this.report.convertNulls))}}else o.push(f);break;case r.StiAsmCommandType.PushBusinessObjectField:break;case r.StiAsmCommandType.PushArrayElement:a=[];for(var p=0;p<c.parameter1.stimulsoft.toNumber();p++)a.push(o.pop());a.reverse(),o.push(this.call_arrayElement(a));break;case r.StiAsmCommandType.Jump:u+=c.parameter1.stimulsoft.toNumber();break;case r.StiAsmCommandType.JumpTrue:o.pop()&&(u+=c.parameter1.stimulsoft.toNumber());break;case r.StiAsmCommandType.JumpFalse:o.pop()||(u+=c.parameter1.stimulsoft.toNumber());break;case r.StiAsmCommandType.Add:l=o.pop(),s=o.pop(),o.push(this.op_Add(s,l));break;case r.StiAsmCommandType.Sub:l=o.pop(),s=o.pop(),o.push(this.op_Sub(s,l));break;case r.StiAsmCommandType.Mult:l=o.pop(),s=o.pop(),o.push(this.op_Mult(s,l));break;case r.StiAsmCommandType.Div:l=o.pop(),s=o.pop(),o.push(this.op_Div(s,l));break;case r.StiAsmCommandType.Mod:l=o.pop(),s=o.pop(),o.push(this.op_Mod(s,l));break;case r.StiAsmCommandType.Power:l=o.pop(),s=o.pop(),o.push(this.op_Pow(s,l));break;case r.StiAsmCommandType.Neg:s=o.pop(),o.push(this.op_Neg(s));break;case r.StiAsmCommandType.Cast:s=o.pop(),l=c.parameter1,o.push(this.op_Cast(s,l));break;case r.StiAsmCommandType.Not:s=o.pop(),o.push(this.op_Not(s));break;case r.StiAsmCommandType.CompareLeft:l=o.pop(),s=o.pop(),o.push(this.op_CompareLeft(s,l));break;case r.StiAsmCommandType.CompareLeftEqual:l=o.pop(),s=o.pop(),o.push(this.op_CompareLeftEqual(s,l));break;case r.StiAsmCommandType.CompareRight:l=o.pop(),s=o.pop(),o.push(this.op_CompareRight(s,l));break;case r.StiAsmCommandType.CompareRightEqual:l=o.pop(),s=o.pop(),o.push(this.op_CompareRightEqual(s,l));break;case r.StiAsmCommandType.CompareEqual:l=o.pop(),s=o.pop(),o.push(this.op_CompareEqual(s,l));break;case r.StiAsmCommandType.CompareNotEqual:l=o.pop(),s=o.pop(),o.push(this.op_CompareNotEqual(s,l));break;case r.StiAsmCommandType.Shl:l=o.pop(),s=o.pop(),o.push(this.op_Shl(s,l));break;case r.StiAsmCommandType.Shr:l=o.pop(),s=o.pop(),o.push(this.op_Shr(s,l));break;case r.StiAsmCommandType.And:l=o.pop(),s=o.pop(),o.push(this.op_And(s,l));break;case r.StiAsmCommandType.Or:l=o.pop(),s=o.pop(),o.push(this.op_Or(s,l));break;case r.StiAsmCommandType.Xor:l=o.pop(),s=o.pop(),o.push(this.op_Xor(s,l));break;case r.StiAsmCommandType.And2:l=o.pop(),s=o.pop(),o.push(this.op_And2(s,l));break;case r.StiAsmCommandType.Or2:l=o.pop(),s=o.pop(),o.push(this.op_Or2(s,l));break}}return o.pop()},h.prototype.getVariableValue=function(e){if(null!=this.runtimeConstants&&this.runtimeConstants.count>0&&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;o<r.length-1;o++)l.push(i[r[o+1].stimulsoft.toNumber()]);return l}return null},h.prototype.get_systemVariable=function(t){switch(t){case r.StiSystemVariableType.Column:return this.report.column;case r.StiSystemVariableType.Line:return this.report.line;case r.StiSystemVariableType.LineThrough:return this.report.lineThrough;case r.StiSystemVariableType.LineABC:return this.report.lineABC;case r.StiSystemVariableType.LineRoman:return this.report.lineRoman;case r.StiSystemVariableType.GroupLine:return this.report.groupLine;case r.StiSystemVariableType.PageNumber:return this.report.pageNumber;case r.StiSystemVariableType.PageNumberThrough:return this.report.pageNumberThrough;case r.StiSystemVariableType.PageNofM:return this.report.pageNofM;case r.StiSystemVariableType.PageNofMThrough:return this.report.pageNofMThrough;case r.StiSystemVariableType.TotalPageCount:return this.report.totalPageCount;case r.StiSystemVariableType.TotalPageCountThrough:return this.report.totalPageCountThrough;case r.StiSystemVariableType.IsFirstPage:return this.report.isFirstPage;case r.StiSystemVariableType.IsFirstPageThrough:return this.report.isFirstPageThrough;case r.StiSystemVariableType.IsLastPage:return this.report.isLastPage;case r.StiSystemVariableType.IsLastPageThrough:return this.report.isLastPageThrough;case r.StiSystemVariableType.PageCopyNumber:return this.report.pageCopyNumber;case r.StiSystemVariableType.ReportAlias:return this.report.reportAlias;case r.StiSystemVariableType.ReportAuthor:return this.report.reportAuthor;case r.StiSystemVariableType.ReportChanged:return this.report.reportChanged;case r.StiSystemVariableType.ReportCreated:return this.report.reportCreated;case r.StiSystemVariableType.ReportDescription:return this.report.reportDescription;case r.StiSystemVariableType.ReportName:return this.report.reportName;case r.StiSystemVariableType.Time:return this.report.time;case r.StiSystemVariableType.Today:return this.report.today;case r.StiSystemVariableType.ConditionValue:return this.report.engine.lastInvokeTextProcessValueEventArgsValue.stimulsoft.is(Number)?this.report.engine.lastInvokeTextProcessValueEventArgsValue:0;case r.StiSystemVariableType.ConditionValue2:return this.report.engine.lastInvokeTextProcessValueEventArgsValue;case r.StiSystemVariableType.ConditionTag:return this.component.stimulsoft.is(u)?this.component.tagValue:null;case r.StiSystemVariableType.Sender:return this.sender;case r.StiSystemVariableType.DateTimeNow:return c.now;case r.StiSystemVariableType.DateTimeToday:return c.today}return null},h.parseTextValue2=function(e,n,o,s){if(void 0===o&&(o=n),void 0===s&&(s=null),a.isNullOrEmpty(e))return null;null==s.parser&&(s.parser=new h),s.parser.report=n.report,s.parser.component=n,s.parser.sender=o,s.parser.runtimeConstants=s.constants,null!=s.constants&&s.parser.createRuntimeConstantsHash();var c=null,p=e+n.name+s.globalizedNameExt,m=s.conversionStore;if(null==m){var d=n.report.engine;null!=d?(null==d.parserConversionStore&&(d.parserConversionStore=new l),m=d.parserConversionStore):m=new l}if(m.contains(p)&&(c=m.get(p)),null==c){try{}catch(t){}if(n.stimulsoft.is(u)&&n.onlyText)(c=new i).add(new f(r.StiAsmCommandType.PushValue,e));else try{c=new i;var g=0,S=0;while(S<e.length){var y=S;while(S<e.length&&"{"!=e[S])S++;if(S!=y&&(1==g&&c.add(new f(r.StiAsmCommandType.Cast,t.System.TypeCode.String)),c.add(new f(r.StiAsmCommandType.PushValue,e.substr(y,S-y))),++g>1&&c.add(new f(r.StiAsmCommandType.Add))),S<e.length&&"{"==e[S]){y=++S;var A=!1;while(S<e.length){if('"'==e[S]){var b=++S;while(b<e.length){if('"'==e[b])break;"\\"==e[b]&&b++,b++}S=b+1;continue}if("}"==e[S]){var v=e.substr(y,S-y);null!=v&&v.length>0&&(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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FullScreenButton":this.fullScreenButton=r.textContent.stimulsoft.toBoolean();break;case"SaveButton":this.saveButton=r.textContent.stimulsoft.toBoolean();break}}},t.createFromJsonObject=function(e){var r=new t;return r.loadFromJsonObject(e),r},t.createFromXml=function(e){var r=new t;return r.loadFromXml(e),r},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},t.prototype.isDefault=function(){return this.fullScreenButton&&this.saveButton},t.prototype.StiElementLayout=function(){},t}();e.StiElementLayout=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=function(){function e(){}return e.getGroup=function(e){if(null==e)return null;if(!e.stimulsoft.is(t.IStiGroupElement))return null;var r=e.stimulsoft.as(t.IStiGroupElement).group;if(null==r)return null;return r.toLowerCase().trim()},e}();t.StiGroupElementHelper=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=function(){function e(){}return e.invokeStaticMethod=function(e,r,n,i,o){var a,s=(a=e.split(".")).concat.apply(a,__spread(r.split(".")));if("Stimulsoft"!=s.splice(0,1)[0])return null;var l=t;while(s.length>0){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;e<t.length;e++)if(!i.isLetterOrDigit(t[e])&&"_"!=t[e])return!1;return!0},t.getCorrectedAlias=function(t,e){if(this.isValidName(e))return e;return n.format("[{0}]",e)},t.addWord=function(t,e,r){var n,n;t.containsKey(e)?(n=t.get(e)).push(r):((n=[]).push(r),t.set(e,n))},t.buildDictionary=function(t,r,n,i){var o,a,u,c,p,h,m,f,d,g;if(r.ref=new s,n.ref=new s,null!=t){try{for(var S=__values(t.dictionary.dataSources.list),y=S.next();!y.done;y=S.next()){var A=y.value,b=A.name,v=this.getCorrectedAlias(t,A.alias);i?(b=b.stimulsoft.replaceAll(" ","").toLowerCase(),A.name!=A.alias&&r.ref.set(b,v),e.StiNameValidator.correctName(A.name,!0,t)!=A.alias&&(r.ref.set(e.StiNameValidator.correctName(b,!0,t),v),r.ref.set(e.StiNameValidator.correctName(A.name,!0,t).toLowerCase(),v))):(v=v.stimulsoft.replaceAll(" ","").toLowerCase(),r.ref.set(v,e.StiNameValidator.correctName(b,!0,t)));try{for(var C=(u=void 0,__values(A.columns.list)),w=C.next();!w.done;w=C.next()){var B=w.value,I=B.name,T=this.getCorrectedAlias(t,B.alias);if(i){I=I.stimulsoft.replaceAll(" ","").toLowerCase();var E=e.StiNameValidator.correctName(I,!0,t);B.name!=B.alias&&this.addWord(n.ref,I,new l(b,T)),e.StiNameValidator.correctName(B.name,!0,t)!=B.alias&&(this.addWord(n.ref,e.StiNameValidator.correctName(I,!0,t),new l(b,T)),this.addWord(n.ref,e.StiNameValidator.correctName(B.name,!0,t).toLowerCase(),new l(b,T)))}else T=T.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(n.ref,T,new l(b,e.StiNameValidator.correctName(I,!0,t)))}}catch(t){u={error:t}}finally{try{w&&!w.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}try{for(var R=__values(t.dictionary.businessObjects.list),D=R.next();!D.done;D=R.next()){var P=D.value;this.buildBusinessObject(t,P,r,n,i)}}catch(t){p={error:t}}finally{try{D&&!D.done&&(h=R.return)&&h.call(R)}finally{if(p)throw p.error}}}if(null!=t)try{for(var x=__values(t.dictionary.relations.list),F=x.next();!F.done;F=x.next()){var N=F.value,k=N.name,M=this.getCorrectedAlias(t,N.alias);if(i){k=k.stimulsoft.replaceAll(" ","").toLowerCase();var O=e.StiNameValidator.correctName(k,!0,t);N.name!=N.alias&&this.addWord(n.ref,k,M),e.StiNameValidator.correctName(N.name,!0,t)!=N.alias&&(this.addWord(n.ref,e.StiNameValidator.correctName(k,!0,t),M),this.addWord(n.ref,e.StiNameValidator.correctName(N.name,!0,t).toLowerCase(),M))}else M=M.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(n.ref,M,e.StiNameValidator.correctName(k,!0,t))}}catch(t){m={error:t}}finally{try{F&&!F.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(null!=t)try{for(var _=__values(t.dictionary.variables.list),j=_.next();!j.done;j=_.next()){var G=j.value,H=G.name,Q=this.getCorrectedAlias(t,G.alias);if(i){H=H.stimulsoft.replaceAll(" ","").toLowerCase();var L=e.StiNameValidator.correctName(H,!0,t);G.name!=G.alias&&r.ref.set(H,Q),e.StiNameValidator.correctName(G.name,!0,t)!=G.alias&&(r.ref.set(e.StiNameValidator.correctName(H,!0,t),Q),r.ref.set(e.StiNameValidator.correctName(G.name,!0,t).toLowerCase(),Q))}else Q=Q.stimulsoft.replaceAll(" ","").toLowerCase(),r.ref.set(Q,e.StiNameValidator.correctName(H,!0,t))}}catch(t){d={error:t}}finally{try{j&&!j.done&&(g=_.return)&&g.call(_)}finally{if(d)throw d.error}}},t.buildBusinessObject=function(t,r,n,i,o){var a,s,u,c,p=r.name,h=this.getCorrectedAlias(t,r.alias);o?(p=p.stimulsoft.replaceAll(" ","").toLowerCase(),r.name!=r.alias&&n.ref.set(p,h),e.StiNameValidator.correctName(r.name,!0,t)!=r.alias&&(n.ref.set(e.StiNameValidator.correctName(p,!0,t),h),n.ref.set(e.StiNameValidator.correctName(r.name,!0,t).toLowerCase(),h))):(h=h.stimulsoft.replaceAll(" ","").toLowerCase(),n.ref.set(h,e.StiNameValidator.correctName(p,!0,t)));try{for(var m=__values(r.columns.list),f=m.next();!f.done;f=m.next()){var d=f.value,g=d.name,S=this.getCorrectedAlias(t,d.alias);if(o){g=g.stimulsoft.replaceAll(" ","").toLowerCase();var y=e.StiNameValidator.correctName(g,!0,t);d.name!=d.alias&&this.addWord(i.ref,g,new l(p,S)),e.StiNameValidator.correctName(d.name,!0,t)!=d.alias&&(this.addWord(i.ref,e.StiNameValidator.correctName(g,!0,t),new l(p,S)),this.addWord(i.ref,e.StiNameValidator.correctName(d.name,!0,t).toLowerCase(),new l(p,S)))}else S=S.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(i.ref,S,new l(p,e.StiNameValidator.correctName(g,!0,t)))}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}try{for(var A=__values(r.businessObjects.list),b=A.next();!b.done;b=A.next()){var v=b.value;this.buildBusinessObject(t,v,n,i,o)}}catch(t){u={error:t}}finally{try{b&&!b.done&&(c=A.return)&&c.call(A)}finally{if(u)throw u.error}}},t}();r.StiExpressionPacker=u}(r=e.Design||(e.Design={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Localization.StiLocalization,n,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 r.get("Services","categoryDictionary")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceType",{get:function(){return e.stimulsoft.getType()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isObjectAdapter",{get:function(){return!1},enumerable:!1,configurable:!0}),e.prototype.getDatabaseSpecificName=function(t){return t},e.prototype.getDataCategoryName=function(t){return null},e.getDataAdapter=function(t){var e=StiOptions.Services.dataAdapters.where((function(t){return t.serviceEnabled})),r=null;if(null!=r)return r;return e.firstOrDefault((function(e){return e.getDataSourceType()==t.stimulsoft.getType()}))},e.getDataAdapter2=function(t){var e,r;if(null==t||null==t.data)return null;var n=t.data.stimulsoft.getType();try{for(var i=__values(StiOptions.Services.dataAdapters.where((function(t){return t.serviceEnabled}))),o=i.next();!o.done;o=i.next()){var a=o.value;if(null!=a&&a.isAdapterDataType(n))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},e.prototype.create=function(t,e){return void 0===e&&(e=!0),null},e.prototype.getDataSourceType=function(){return null},e.prototype.getDataTypes=function(){return null},e.prototype.isAdapterDataType=function(t){var e,r;if(null==t)return!1;var n=this.getDataTypes();if(null==n)return!1;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a;if(o.value==t)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},e.prototype.getColumnsFromDataAsync=function(t,e,r){return null},e.prototype.getColumnsFromData=function(t,e,r){return null},e.prototype.getParametersFromData=function(t,e){return},e.prototype.setDataSourceNames=function(t,e){},e.prototype.connectDataSourceToDataAsync=function(t,e,r){return null},e.prototype.connectDataSourceToData=function(t,e,r){},e.prototype.toString=function(){return this.serviceName},e}(t.Base.Services.StiService);e.StiDataAdapterService=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.Activator,i=t.Base.Localization.StiLocalization,o=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return __extends(o,t),o.prototype.setDataSourceNames=function(t,e){e.stimulsoft.as(r.StiDataStoreSource).nameInSource=t.name},o.prototype.create=function(t,r){void 0===r&&(r=!0);var o=n.createInstance(this.getDataSourceType());return null!=o&&r&&(o.name=o.alias=e.StiNameCreation.createName(t.report,i.get("PropertyMain","DataSource")),t.dataSources.add(o)),o},o}(r.StiDataAdapterService);r.StiDataStoreAdapterService=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.Base.Localization.StiLocalization,n=t.System.StiString,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 n.format(r.get("Adapters","AdapterConnection"))},enumerable:!1,configurable:!0}),e.prototype.getDataCategoryName=function(t){return t.name},e}(e.StiDataStoreAdapterService);e.StiFileAdapterService=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.StiPromise,n=t.Base.StiBIDataCacheHelper,i=t.Base.StiBIDataCacheOptions,o=function(){function t(){}return t.fetchAll=function(t,e){return e.dataSources.toList().where((function(e){return e.getCategoryName().toLowerCase()==t.name.toLowerCase()})).toList()},t.regData=function(t,e,r){if(this.existsInCache(t,e))return;t&&t.regData(e,r),this.regDataAfter(t,e,r)},t.regDataAsync=function(t,e,n){var i=this,o=new r;if(this.existsInCache(t,e))return o.callTry();return t?t.regDataAsync(e,n).try((function(){i.regDataAfterAsync(t,e,n).try((function(){o.callTry()}))})):this.regDataAfterAsync(t,e,n).try((function(){o.callTry()})),o},t.regDataAfter=function(t,r,o){var a,s;if(!i.enabled)return;if(t&&t.stimulsoft.is(e.StiFileDatabase)&&(o=!0),!o)return;var l=this.fetchAll(t,r);try{for(var u=__values(l),c=u.next();!c.done;c=u.next()){var p=c.value;if(n.exists(p.key))continue;p.connect(null,o),null!=p.dataTable&&p.dataTable.columns.count>0&&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;a<i.columns.count;a++){var s=i.columns.getByIndex(a),l=t.columns.getByName(s.columnName);null!=l&&l.type!=String&&(o[a]=!0)}try{for(var u=__values(i.rows.list),c=u.next();!c.done;c=u.next())for(var p=c.value,a=0;a<i.columns.count;a++)if(o[a]){var h=p.getValueByIndex(a);h.stimulsoft.is(String)&&""==h&&p.setValueByIndex(a,null)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}},a}(r.StiFileAdapterService);r.StiCsvAdapterService=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.Localization.StiLocalization,n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.getDataCategoryName=function(t){return t.name},n.prototype.testConnection=function(e){try{return""}catch(e){return t.System.StiError.showError(e,!1),r.get("DesignerFx","ConnectionError")+": "+e.message}},n}(e.StiDataStoreAdapterService);e.StiNoSqlAdapterService=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.Report.Dictionary.StiDataLeader,n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),Object.defineProperty(n.prototype,"name",{get:function(){return"MongoDB"},enumerable:!1,configurable:!0}),n.prototype.getDataSourceType=function(){return e.StiMongoDbSource},n.prototype.getColumnsFromData=function(t,r){var n,i=r;return new e.StiDataColumnsCollection},n.prototype.connectDataSourceToData=function(t,e,n){if(r.disconnect(e),!n)return},n}(e.StiNoSqlAdapterService);e.StiMongoDbAdapterService=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.Report.Dictionary.StiDataLeader,i=t.Base.Localization.StiLocalization,o=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.serviceName=r.format(i.get("Adapters","AdapterConnection"),i.get("PropertyMain","DataTransformation")),e.isObjectAdapter=!0,e}return __extends(o,t),o.prototype.edit=function(t,e){throw new Error("NotImplementedException")},o.prototype.new=function(t,e){throw new Error("NotImplementedException")},o.prototype.getDataTypes=function(){return null},o.prototype.getColumnsFromData=function(t,r){return new e.StiDataColumnsCollection},o.prototype.getParametersFromData=function(t,r){return new e.StiDataParametersCollection},o.prototype.getDataCategoryName=function(t){return this.serviceName},o.prototype.getDataSourceType=function(){return e.StiDataTransformation},o.prototype.connectDataSourceToData=function(t,e,r){n.disconnect(e)},o}(e.StiDataStoreAdapterService);e.StiDataTransformationAdapterService=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.Report.Dictionary.StiDataLeader,n=t.Base.Localization.StiLocalization,i=t.System.StiPromise,o=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return __extends(o,t),Object.defineProperty(o.prototype,"serviceName",{get:function(){return n.get("Adapters","AdapterVirtualSource")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isObjectAdapter",{get:function(){return!0},enumerable:!1,configurable:!0}),o.prototype.getDataTypes=function(){return null},o.prototype.getColumnsFromDataAsync=function(t,r,n){var o=new i;return o.callTry(new e.StiDataColumnsCollection),o},o.prototype.getColumnsFromData=function(t,r,n){return new e.StiDataColumnsCollection},o.prototype.getParametersFromData=function(t,r){return new e.StiDataParametersCollection},o.prototype.getDataCategoryName=function(t){return this.serviceName},o.prototype.getDataSourceType=function(){return e.StiVirtualSource},o.prototype.connectDataSourceToDataAsync=function(t,e,n){var o=new i;return r.disconnect(e),o.callTry(),o},o.prototype.connectDataSourceToData=function(t,e,n){r.disconnect(e)},o}(e.StiDataStoreAdapterService);e.StiVirtualAdapterService=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.Base.StiDataWorldConnector,n=t.Report.Dictionary.StiDataLeader,i=t.System.Data.DataTable,o=t.System.StiPromise,a=t.Base.StiDataSchema,s=t.System.StiString,l=t.Base.StiDataWorldHelper,u=t.Base.Localization.StiLocalization,c=function(c){function p(){return null!==c&&c.apply(this,arguments)||this}return __extends(p,c),p.prototype.getDataSourceType=function(){return e.StiDataWorldSource},p.prototype.createConnector=function(t){return r.get(t)},p.prototype.getColumnsFromData=function(t,r){for(var n,i,o=new e.StiDataColumnsCollection,a=r,s,l=0;l<r.dictionary.databases.count;l++){var u=r.dictionary.databases.getByIndex(l).stimulsoft.as(e.StiDatabase);if(null!=u&&u.name==a.nameInSource){s=u.stimulsoft.as(e.StiDataWorldDatabase);break}}if(null==s)return o;var c,p=this.createConnector(s.connectionString).getColumns(a.name);try{for(var h=__values(p),m=h.next();!m.done;m=h.next()){var f=m.value;o.add(new e.StiDataColumn(f.name,f.name,"",f.type))}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return o},p.prototype.getParametersFromData=function(t,r){return new e.StiDataParametersCollection},p.prototype.connectDataSourceToDataAsync=function(e,r,n){var i=new o,a=this;return setTimeout((function(){try{a.connectDataSourceToData(e,r,n),i.callTry()}catch(e){t.System.StiError.showError(e,!1),i.callCatch(e.message)}})),i},p.prototype.connectDataSourceToData=function(t,r,o){if(n.disconnect(r),!o)return void(r.dataTable=new i);for(var a=r.stimulsoft.as(e.StiDataWorldSource),s,l=0;l<t.databases.count;l++){var u=t.databases.getByIndex(l).stimulsoft.as(e.StiDataWorldDatabase);if(null!=u&&u.name==a.nameInSource){s=u;break}}var c=this.createConnector(s.connectionString);if(null==c)return;var p=a.query,h=t.report;r.dataTable=c.getDataTable(a.name,p)},p.prototype.testConnectionAsync=function(e,r){var n=new o;try{var i,a=new l(r).testConnection();1==a.success?n.callTry(u.get("DesignerFx","ConnectionSuccessfull")):n.callCatch(u.get("DesignerFx","ConnectionError")+": "+a.notice)}catch(e){t.System.StiError.showError(e,!1),n.callCatch(u.get("DesignerFx","ConnectionError")+": "+e.message)}return n},p.prototype.retrieveSchemaAsync=function(e,r,n,i){void 0===i&&(i=null);var u=new o;if(s.isNullOrEmpty(n))return u.callCatch("The connection string is empty."),u;var c=new a;try{var p;c=new l(n).retrieveSchema(),u.callTry(c)}catch(e){t.System.StiError.showError(e,!1),u.callCatch(e.message)}return u},p}(e.StiNoSqlAdapterService);e.StiDataWorldAdapterService=c}(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.StiDataLeader,o=t.System.Data.DataColumn,a=t.Base.StiDataColumnSchema,s=t.Base.StiDataTableSchema,l=t.System.Collections.Hashtable,u=t.Base.StiDataSchema,c=t.System.Data.DataTable,p=t.Base.Localization.StiLocalization,h=t.System.StiPromise,m=function(m){function f(){return m.call(this)||this}return __extends(f,m),Object.defineProperty(f.prototype,"url",{get:function(){return StiOptions.WebServer.url},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"serviceName",{get:function(){return n.format(p.get("Adapters","AdapterConnection"),this.name)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return"MS SQL"},enumerable:!1,configurable:!0}),f.prototype.getDatabaseSpecificName=function(t){return n.format("[{0}]",t)},f.prototype.getDataCategoryName=function(t){return t.name},f.prototype.getColumnsFromDataAsync=function(i,o,a){var s=new h,l=new r.StiDataColumnsCollection,u=o;try{if(n.isNullOrEmpty(u.sqlCommand))s.callCatch();else{var c=u.type==r.StiSqlSourceType.StoredProcedure;c||1&&this.retrieveDataAsync(u.dictionary.report,u,a,u.sqlCommand).try((function(t){var e,n;try{for(var i=__values(t.columns.list),o=i.next();!o.done;o=i.next()){var a=o.value,u=a.dataType;l.add(new r.StiDataColumn(a.columnName,a.columnName,a.columnName,u))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}s.callTry(l)})).catch((function(t){s.callCatch(t)})).abort(s)}}catch(r){t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),r)}return s},f.prototype.getParametersFromData=function(t,e){var i=new r.StiDataParametersCollection,o=e;if(o.type==r.StiSqlSourceType.StoredProcedure)try{n.isNullOrEmpty(o.sqlCommand)}catch(t){}return i},f.prototype.getDataSourceType=function(){return r.StiSqlSource},f.prototype.connectDataSourceToDataAsync=function(r,n,o){var a=new h;if(i.disconnect(n),!o)return n.dataTable=new c,a.callTry(),a;var s=n,l=s.nameInSource.toLowerCase();try{i.retrieveDataAsync(s,!o).try((function(){a.callTry()})).catch((function(t){a.callCatch(t)})).abort(a)}catch(r){t.System.StiError.showError(r,!1),a.callCatch(r),e.StiLogService.write(this.stimulsoft.getType(),r)}return a},f.prototype.callRemoteApi=function(e,r){var i,o,a=new h;e.rnd=Math.random();try{if(n.isNullOrEmpty(this.url))a.callCatch('An URL to the data adapter should be specified to get data from SQL database.</br>Please, read the <a href="https://www.stimulsoft.com/en/documentation/online/programming-manual/reports_js_engine_connecting_sql_data_bases.htm">manual</a> 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<f.callTurn.length;t++)if(f.callTurn[t].promise==o)return void f.callTurn.splice(t,1)})),o},f.prototype.testConnectionAsync=function(t,e){var r=new h;if(n.isNullOrEmpty(e))return r.callCatch(p.get("DesignerFx","ConnectionError")+": Connection string empty"),r;var i={command:"TestConnection",connectionString:e,database:this.name,headers:[]};return this.process(t,i,1e4).try((function(t){r.callTry(p.get("DesignerFx","ConnectionSuccessfull"))})).catch((function(t){r.callCatch(p.get("DesignerFx","ConnectionError")+": "+t.notice)})).abort(r),r},f.prototype.createConnectionInDataStore=function(n,i){try{if(null==i.name)return;var o=n.dataStore.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase()==i.name.toLowerCase()}));null!=o&&n.dataStore.remove(o),(o=new r.StiData(i.name,null)).isReportData=!0,n.dataStore.add(o)}catch(r){t.System.StiError.showError(r,!1),e.StiLogService.write(this.stimulsoft.getType(),r)}},f.prototype.retrieveSchemaAsync=function(e,r,i,o){void 0===o&&(o=null);var c=new h;if(n.isNullOrEmpty(i))return c.callCatch(p.get("DesignerFx","ConnectionError")+": Connection string empty"),c;o||(o="SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES");var m={command:"ExecuteQuery",connectionString:i,queryString:o.stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[]};if(r){var f=r.nameInSource.indexOf(".");-1==f&&(f=r.nameInSource.length);var d=r.nameInSource.substring(0,f);m.dataSource=r.name,m.connection=d}var g=r?1e3*r.commandTimeout:30*1e3,S=this,y=new u;S.process(e,m,g).try((function(r){var i,o,u=new l,p="";try{for(var h=__values(r.rows),f=h.next();!f.done;f=h.next()){var d=f.value,b=d[r.columns.indexOf("TABLE_NAME")],v=d[r.columns.indexOf("TABLE_TYPE")],C=s.newTableOrView(b);u.set(b,C),n.isNullOrEmpty(p)?p=" WHERE ":p+=" OR ",p+="TABLE_NAME='"+b+"'","BASE TABLE"==v&&y.tables.add(C),"VIEW"==v&&y.views.add(C)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}if(p.length<=0)return void A(y);m.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+p,S.process(e,m,g).try((function(e){var r,n;try{for(var i=__values(e.rows),o=i.next();!o.done;o=i.next()){var l=o.value,c=l[e.columns.indexOf("TABLE_NAME")],p=l[e.columns.indexOf("COLUMN_NAME")],h=l[e.columns.indexOf("DATA_TYPE")],m=String;switch(h.toLowerCase()){case"bigint":m=t.System.Int64;break;case"numeric":case"bit":m=t.System.Int16;break;case"smallint":m=t.System.Int16;break;case"decimal":m=t.System.Decimal;break;case"smallmoney":m=t.System.Decimal;break;case"int":m=t.System.Int32;break;case"tinyint":m=t.System.Int16;break;case"money":m=t.System.Decimal;break;case"float":case"real":m=t.System.Float;break;case"date":case"datetimeoffset":case"datetime2":case"smalldatetime":case"datetime":case"time":m=t.System.DateTime;break;case"char":case"varchar":case"text":case"nchar":case"nvarchar":case"ntext":case"binary strings":m=String;break;case"binary":case"varbinary":case"image":m=t.System.ByteArray;break;case"cursor":case"timestamp":case"hierarchyid":case"uniqueidentifier":case"sql_variant":case"xml":case"table":case"spatial types":}var f=new a(p,m),d=u.get(c).stimulsoft.as(s);null!=d&&d.columns.push(f)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}})).catch((function(e){t.System.StiError.showError(e.notice)})).finally((function(t){A(y)})).abort(c)})).catch((function(t){c.callCatch(t.notice)})).abort(c);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 i=__values(e.rows),o=i.next();!o.done;o=i.next()){var a,l=o.value[e.columns.indexOf("ROUTINE_NAME")],u=s.newProcedure(l);t.storedProcedures.add(u)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}c.callTry(t)})).catch((function(t){c.callCatch(t.notice)})).abort(c)};return c},f.prototype.retrieveDataAsync=function(e,r,i,a){var s=new h;n.isNullOrEmpty(i)&&(i=""),n.isNullOrEmpty(a)&&(a="");var l={command:"ExecuteQuery",connectionString:i,queryString:a.stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[]};if(r){var u=r.nameInSource.indexOf(".");-1==u&&(u=r.nameInSource.length);var p=r.nameInSource.substring(0,u);l.dataSource=r.name,l.connection=p}var m=r?1e3*r.commandTimeout:30*1e3,f;return this.process(e,l,m).try((function(e){var r,i;try{for(var a in f=new c(n.isNullOrEmpty(l.dataSource)?"table1":l.dataSource),e.columns){var u=e.columns[a],p=String;if(Object.prototype.hasOwnProperty.call(e,"types")&&null!=e.types)switch(e.types[a]){case"boolean":p=Boolean;break;case"int":p=t.System.Int32;break;case"number":p=t.System.Decimal;break;case"string":p=String;break;case"array":p=t.System.ByteArray;break;case"datetime":p=t.System.DateTime;break}var h=new o(u,p);f.columns.add(h)}try{for(var m=__values(e.rows),d=m.next();!d.done;d=m.next()){var g=d.value,S=f.addNewRow();for(var a in g){var h=f.columns.getByIndex(a.stimulsoft.toNumber()),y=g[a];S.setValue(h,y)}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}s.callTry(f)}catch(e){t.System.StiError.showError(e,!1),s.callCatch(e.message)}})).catch((function(t){s.callCatch(t.notice)})).abort(s),s},f.callTurn=[],f}(r.StiDataStoreAdapterService);r.StiSqlAdapterService=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.Report.Dictionary.StiDataLeader,i=t.Base.Localization.StiLocalization,o=t.System.Data.DataTable,a=t.System.Data.DataColumn,s=t.Base.StiODataHelper,l=t.Base.StiDataSchema,u=t.System.StiPromise,c=function(c){function p(){return null!==c&&c.apply(this,arguments)||this}
|
||
return __extends(p,c),Object.defineProperty(p.prototype,"serviceName",{get:function(){return i.get("Adapters","AdapterDataTables")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"name",{get:function(){return"QuickBooks"},enumerable:!1,configurable:!0}),p.prototype.getDataSourceType=function(){return e.StiODataSource},p.prototype.connectDataSourceToDataAsync=function(e,r,n){var i=new u,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},p.prototype.connectDataSourceToData=function(t,r,i){if(!i)return;n.disconnect(r);for(var l=r.stimulsoft.as(e.StiODataSource),u,c=0;c<t.databases.count;c++){var p=t.databases.getByIndex(c).stimulsoft.as(e.StiODataDatabase);if(null!=p&&p.name==l.nameInSource){u=p;break}}if(null==u)return;for(var h=new o(l.name),c=0;c<l.columns.count;c++){var m=l.columns.getByIndex(c);h.columns.add(new a(m.name,m.type))}var f={database:this.serviceName,command:"ExecuteQuery",connectionString:e.StiFileDatabase.parsePathExpression(t,u.connectionString),preventDefault:!1,headers:[]},d=function(t){var e=new s(t.connectionString);e.headers=t.headers,e.fillDataTable(h,l.sqlCommand),l.dataTable=h};t.report.invokeBeginProcessData(f,d),0==f.preventDefault&&d(f)},p.prototype.testConnectionAsync=function(r,n){var o=new u;try{var a,l=new s(e.StiFileDatabase.parsePathExpression(r.dictionary,n)).testConnection();1==l.success?o.callTry(i.get("DesignerFx","ConnectionSuccessfull")):o.callCatch(i.get("DesignerFx","ConnectionError")+": "+l.notice)}catch(e){t.System.StiError.showError(e,!1),o.callCatch(i.get("DesignerFx","ConnectionError")+": "+e.message)}return o},p.prototype.retrieveSchemaAsync=function(n,i,o,a){void 0===a&&(a=null);var c=new u;if(r.isNullOrEmpty(o))return c.callCatch("The connection string is empty."),c;var p=new l;try{var h={database:this.serviceName,command:"ExecuteQuery",connectionString:e.StiFileDatabase.parsePathExpression(n.dictionary,o),preventDefault:!1,headers:[]},m=function(t){var e=new s(t.connectionString);e.headers=t.headers,p=e.retrieveSchema(),c.callTry(p)};n.invokeBeginProcessData(h,m),0==h.preventDefault&&m(h)}catch(e){t.System.StiError.showError(e,!1),c.callCatch(e.message)}return c},p}(e.StiSqlAdapterService);e.StiODataAdapterService=c}(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.Data.DataColumn,i=t.System.Data.DataTable,o=t.System.StiString,a=t.Base.StiQuickBooksConnector,s=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return __extends(s,t),s.prototype.getDataSourceType=function(){return r.StiQuickBooksSource},s.prototype.createConnector=function(t){return void 0===t&&(t=null),new a(t)},s.prototype.getColumnsFromData=function(t,n){var i,a,s=new r.StiDataColumnsCollection,l=n;try{if(!o.isNullOrEmpty(l.sqlCommand)){var u,c=t.viewData.getDataTable(null,l.sqlCommand);try{for(var p=__values(c.columns.list),h=p.next();!h.done;h=p.next()){var m=h.value;s.add(new r.StiDataColumn(m.columnName,m.columnName,m.columnName,m.dataType))}}catch(t){i={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}}}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return s},s.prototype.getParametersFromData=function(t,e){return new r.StiDataParametersCollection},s.prototype.connectDataSourceToData=function(t,e,o){if(!o)return;r.StiDataLeader.disconnect(e);var a=e,s=t.databases.toList().firstOrDefault((function(t){return t.name==a.nameInSource}));if(null==s)return;var l=this.createConnector(s.connectionString),u=new i(a.name);a.columns.toList().forEach((function(t){return u.columns.add(new n(t.name,t.type))})),l.fillDataTable(u,a.sqlCommand),s.connectionString=l.connectionString,a.dataTable=u},s.prototype.createConnectionInDataStore=function(t,n){try{if(null==n.name)return;var i=t.dataStore.toList().firstOrDefault((function(t){return null!=t.name&&t.name.toLowerCase()==n.name.toLowerCase()}));null!=i&&t.dataStore.remove(i);var o=this.createConnector(n.connectionString),a=new r.StiData(n.name,o);a.isReportData=!0,t.dataStore.add(a)}catch(t){if(e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},s}(r.StiSqlAdapterService);r.StiQuickBooksAdapterService=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.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"Firebird"},enumerable:!1,configurable:!0}),c.prototype.getDataSourceType=function(){return e.StiFirebirdSource},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 RDB$RELATION_NAME, RDB$VIEW_BLR FROM RDB$RELATIONS WHERE (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)");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;return S.process(e,m,g).try((function(s){for(var l,u,c=new n,p=new a,f="",d=0;d<s.columns.length;d++)s.columns[d]=s.columns[d].toLowerCase();try{for(var y=__values(s.rows),A=y.next();!A.done;A=y.next()){var b=A.value,v=b[s.columns.indexOf("rdb$relation_name")].trim(),C=b[s.columns.indexOf("rdb$view_blr")],w=o.newTableOrView(v);p.set(v,w),r.isNullOrEmpty(f)?f=" AND (":f+=" OR ",f+="b.RDB$RELATION_NAME='"+v+"'",null==C?c.tables.add(w):c.views.add(w)}}catch(t){l={error:t}}finally{try{A&&!A.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}r.isNullOrEmpty(f)||(f+=") "),m.queryString="SELECT b.RDB$FIELD_NAME, d.RDB$TYPE_NAME, b.RDB$RELATION_NAME "+"FROM RDB$RELATIONS a "+"INNER JOIN RDB$RELATION_FIELDS b "+"ON a.RDB$RELATION_NAME = b.RDB$RELATION_NAME "+"INNER JOIN RDB$FIELDS c "+"ON b.RDB$FIELD_SOURCE = c.RDB$FIELD_NAME "+"INNER JOIN RDB$TYPES d "+"ON c.RDB$FIELD_TYPE = d.RDB$TYPE "+"WHERE a.RDB$SYSTEM_FLAG = 0 "+"AND d.RDB$FIELD_NAME = 'RDB$FIELD_TYPE'"+f+"ORDER BY a.RDB$RELATION_NAME, b.RDB$FIELD_ID",S.process(e,m,g).try((function(e){for(var r,n,a=0;a<e.columns.length;a++)e.columns[a]=e.columns[a].toLowerCase();try{for(var s=__values(e.rows),l=s.next();!l.done;l=s.next()){var u=l.value,c=u[e.columns.indexOf("rdb$relation_name")].trim(),h=u[e.columns.indexOf("rdb$field_name")].trim(),m=u[e.columns.indexOf("rdb$type_name")].trim(),f=String;switch(m){case"BLOB":f=t.System.ByteArray;break;case"CHAR":case"CHARACTER":case"VARCHAR":case"VARYING":case"CHAR VARYING":case"CHARACTER VARYING":case"NCHAR":case"NATIONAL CHAR":case"NATIONAL CHARACTER":f=String;break;case"DATE":case"TIME":case"TIMESTAMP":f=t.System.DateTime;break;case"DECIMAL":f=t.System.Decimal;break;case"LONG":f=t.System.Long;break;case"SHORT":f=t.System.Short;break;case"DOUBLE PRECISION":f=t.System.Double;break;case"FLOAT":f=t.System.Float;break;case"INT64":f=t.System.Int64;break;case"INTEGER":f=t.System.Int32;break;case"NUMERIC":f=t.System.Int64;break;case"SMALLINT":f=t.System.Int16;break}var d=new i(h,f),g=p.get(c).stimulsoft.as(o);null!=g&&g.columns.push(d)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}})).catch((function(e){t.System.StiError.showError(e.notice)})).finally((function(t){h.callTry(c)}))})).catch((function(t){h.callCatch(t.notice)})).abort(h),h},c}(e.StiSqlAdapterService);e.StiFirebirdAdapterService=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"MySQL"},enumerable:!1,configurable:!0}),c.prototype.getDatabaseSpecificName=function(t){return r.format("`{0}`",t)},c.prototype.getDataSourceType=function(){return e.StiMySqlSource},c.prototype.retrieveSchemaAsync=function(e,u,c,p){var h,m;void 0===p&&(p=null);var f=new l;if(r.isNullOrEmpty(c))return f.callCatch(s.get("DesignerFx","ConnectionError")+": Connection string empty"),f;var d={command:"ExecuteQuery",connectionString:c,queryString:p,database:this.name,headers:[]};if(u){var g=u.nameInSource.indexOf(".");-1==g&&(g=u.nameInSource.length);var S=u.nameInSource.substring(0,g);d.dataSource=u.name,d.connection=S}var y="";try{for(var A=__values(c.split(";")),b=A.next();!b.done;b=A.next()){var v=b.value;if(v){var C=v.split("=");if(C&&C.length>=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;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"NameInSource":case"DataName":this._nameInSource=n.textContent;break}}},n.prototype.getCategoryName=function(){var n=e.StiDataAdapterService.getDataAdapter(this),i=this.dictionary.dataStore.getByName(this.nameInSource);if(null!=i&&null!=n)return n.getDataCategoryName(i);if(this.nameInSource.stimulsoft.endsWith("."+this.name)&&this.nameInSource.length>this.name.length+1)return this.nameInSource.substr(0,this.nameInSource.length-(this.name.length+1));var 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;h<s.count;h++){var p,m=(p=s.getByIndex(h).stimulsoft.as(r.StiDataColumn)).name,f=p.alias,d=p.name;StiOptions.Designer.autoCorrectDataColumnName&&(p.name=e.StiNameValidator.correctName(p.name)),p.nameInSource=d,p.alias=d,f!=m&&(p.alias=f)}return s},l.prototype.getParametersFromData=function(t,e){return new r.StiDataParametersCollection},l.prototype.setDataSourceNames=function(t,e){s.prototype.setDataSourceNames.call(this,t,e);var r=t.viewData;null==r&&t.viewData.stimulsoft.is(o)&&(r=t.viewData),e.name=r.tableName,e.alias=r.tableName;var i=r.tableName;n.isNullOrEmpty(i)||(i=i.trim()).stimulsoft.startsWith("'")&&i.stimulsoft.endsWith("'")&&(e.alias=i.substr(1,i.length-2))},l.prototype.create=function(t,e){return void 0===e&&(e=!0),s.prototype.create.call(this,t,e)},l.prototype.getDataSourceType=function(){return t.Report.Dictionary.StiDataTableSource},l.prototype.getDataTypes=function(){return[o.stimulsoft.getType()]},l.prototype.getDataFromDataSource=function(t,e){var r,n,i,a,s,u,c,p,h,m=e.nameInSource.toLowerCase();try{for(var f=__values(e.dictionary.dataStore.list),d=f.next();!d.done;d=f.next()){var g;if((g=d.value).name.toLowerCase()==m&&g.viewData.stimulsoft.is(o))return g}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}if(!StiOptions.Dictionary.useAdvancedDataSearch)return null;if(null!=e.dictionary&&null!=e.dictionary.report&&e.dictionary.report.isDesigning)return null;var S=null;-1!=m.indexOf(".")&&(S=m.substr(m.indexOf(".")+1));try{for(var y=__values(e.dictionary.dataStore.list),A=y.next();!A.done;A=y.next()){var g;if(null!=(g=A.value).viewData&&!g.viewData.stimulsoft.is(o))continue;var b=g.name.toLowerCase();if(b==m||b==S)return g;if(-1!=b.indexOf(".")&&(b=b.substr(b.indexOf(".")+1)),b==m||b==S)return g}}catch(t){i={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}if(!StiOptions.Dictionary.allowConnectToFirstTableForEmptyDataSource)return null;var v=0,C=null;try{for(var w=__values(e.dictionary.dataStore.list),B=w.next();!B.done;B=w.next()){var g;if(null!=(g=B.value).viewData&&g.viewData.stimulsoft.is(o)){if(++v>1)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.ticks<e.ticks&&(this.maximum=e):(this.maximum=e,this.valueProcessed=!0)}},e.prototype.getValue=function(){if(this.valueProcessed)return this.maximum;return null},e.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMaxDateFunctionService=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"Max"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.maximum=Number.MIN_VALUE)},e.prototype.calcItem=function(t){if(null==t)return;var e=r.convertToNumber(t);this.maximum<e&&(this.maximum=e)},e.prototype.getValue=function(){return this.maximum},e.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMaxFunctionService=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"MaxStr"},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[this.values.length-1]},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(t.StiAggregateFunctionService);t.StiMaxStrFunctionService=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"MaxTime"},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.ticks<e.ticks&&(this.maximum=e):(this.maximum=e,this.valueProcessed=!0)}},e.prototype.getValue=function(){return this.maximum},e.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMaxTimeFunctionService=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"Median"},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)},e.prototype.calcItem=function(t){if(null==t)return;var e=r.convertToNumber(t);this.values.push(e)},e.prototype.getValue=function(){if(null==this.values||this.values.length<1)return null;if(1==this.values.length)return this.values[0];this.values.sort((function(t,e){return t-e}));var t=this.values.length/2|0,e,r;if(this.values.length%2==1)return this.values[t];return(this.values[t-1]+this.values[t])/2},e.prototype.setValue=function(t){},Object.defineProperty(e.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),e}(e.StiAggregateFunctionService);e.StiMedianFunctionService=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.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"MinDate"},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(){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;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"Path":this.path=n.textContent;break;case"CodePage":this.codePage=n.textContent.stimulsoft.toNumber();break;case"Separator":this.separator=n.textContent;break;case"ConvertEmptyStringToNull":this.convertEmptyStringToNull=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiCsvSource},enumerable:!1,configurable:!0}),n.prototype.getDataAdapterType=function(){return e.StiCsvAdapterService},n.prototype.createNew=function(){return new n},n}(e.StiFileDataSource);e.StiCsvSource=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.Data.DataColumn,i=t.System.Enum,o=t.System.StiPromise,a=function(a){function s(t,e,n,i,o,s,l,u){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=e),void 0===i&&(i=""),void 0===o&&(o=!0),void 0===s&&(s=!1),void 0===l&&(l=30),void 0===u&&(u="");var c=a.call(this,t,e,n,u)||this;return c._allowExpressions=!0,c._type=r.StiSqlSourceType.Table,c._commandTimeout=30,c._reconnectOnEachRow=!1,c._sqlCommand="",c._sqlCommand=i,c.connectOnStart=o,c._reconnectOnEachRow=s,c._commandTimeout=l,c.connectionOrder=r.StiConnectionOrder.Sql,c}return __extends(s,a),s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("ConnectOnStart",this.connectOnStart,!0),e.addPropertyBool("AllowExpressions",this.allowExpressions,!0),e.addPropertyEnum("Type",r.StiSqlSourceType,this.type,r.StiSqlSourceType.Table),e.addPropertyNumber("CommandTimeout",this.commandTimeout,30),e.addPropertyBool("ReconnectOnEachRow",this.reconnectOnEachRow),e.addPropertyStringNullOrEmpty("SqlCommand",this.sqlCommand),e.addPropertyJObject("Parameters",this.parameters.saveToJsonObject(t)),e},s.prototype.loadFromJsonObject=function(e){var r,n;a.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"ConnectOnStart":this.connectOnStart=l.value.stimulsoft.toBoolean();break;case"AllowExpressions":this._allowExpressions=l.value.stimulsoft.toBoolean();break;case"Type":this._type=i.parse(t.Report.Dictionary.StiSqlSourceType,l.value.toString());break;case"CommandTimeout":this._commandTimeout=l.value.stimulsoft.toNumber();break;case"ReconnectOnEachRow":this._reconnectOnEachRow=l.value.stimulsoft.toBoolean();break;case"SqlCommand":this._sqlCommand=l.value.toString();break;case"Parameters":this.parameters.loadFromJsonObject(l.value);break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},s.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"ConnectOnStart":this.connectOnStart=n.textContent.stimulsoft.toBoolean();break;case"AllowExpressions":this._allowExpressions=n.textContent.stimulsoft.toBoolean();break;case"Type":this._type=i.parse(r.StiSqlSourceType,n.textContent);break;case"CommandTimeout":this._commandTimeout=n.textContent.stimulsoft.toNumber();break;case"ReconnectOnEachRow":this._reconnectOnEachRow=n.textContent.stimulsoft.toBoolean();break;case"SqlCommand":this._sqlCommand=n.textContent;break;case"Parameters":this.parameters.loadFromXml(n);break}}},Object.defineProperty(s.prototype,"allowExpressions",{get:function(){return this._allowExpressions},set:function(t){this._allowExpressions=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"commandTimeout",{get:function(){return this._commandTimeout},set:function(t){this._commandTimeout=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"reconnectOnEachRow",{get:function(){return this._reconnectOnEachRow},set:function(t){this._reconnectOnEachRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"sqlCommand",{get:function(){return this._sqlCommand},set:function(t){this._sqlCommand=t},enumerable:!1,configurable:!0}),s.prototype.getDataAdapterType=function(){return r.StiSqlAdapterService},s.prototype.updateParameters=function(){if(null==this.dataTable||0==this.parameters.count)return;this.invokeConnecting()},s.prototype.retrieveDataAsync=function(e){var r,i,a=this;void 0===e&&(e=!1);var s=new o;if(this.parameters.count>0){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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FilterMode":this._filterMode=S.parse(g,r.textContent.toString());break;case"Filters":this._filters.loadFromXml(r);break;case"GroupColumns":for(var n=0;n<r.childNodes.length;n++)"value"==r.childNodes[n].nodeName&&this._groupColumns.push(r.childNodes[n].textContent);break;case"Results":for(var i=0;i<r.childNodes.length;i++)"value"==r.childNodes[i].nodeName&&this._results.push(r.childNodes[i].textContent);break;case"Sort":for(var o=0;o<r.childNodes.length;o++)"value"==r.childNodes[o].nodeName&&this._sort.push(r.childNodes[o].textContent);break}}},Object.defineProperty(A.prototype,"filterMethodHandler",{get:function(){return this._filterMethodHandler},set:function(t){this._filterMethodHandler=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),A.prototype.getDataAdapterType=function(){return r.StiVirtualAdapterService},Object.defineProperty(A.prototype,"groupColumns",{get:function(){return this._groupColumns},set:function(t){this._groupColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"results",{get:function(){return this._results},set:function(t){this._results=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),A.prototype.connectToDataAsync=function(t){var e=this;void 0===t&&(t=!1);var r=new a;if(!t)return this.connectToDataInternal(),r.callTry();var n=this.dictionary.dataSources.getByName(this.nameInSource);if(null!=n.dataTable)return this.connectToDataInternal(),r.callTry();if(s.existsInCache(n))return n.dataTable=s.getFromCache(n).copy(),this.connectToDataInternal(),r.callTry();return setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:return[4,s.getDataTable(this.dictionary.report,n)];case 1:return(t=e.sent())&&(n.dataTable=t.copy(),this.connectToDataInternal()),[2,r.callTry()]}}))}))}),0),r},A.prototype.connectToDataAsync2=function(t){return void 0===t&&(t=!1),__awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){switch(n.label){case 0:if(!t)return[3,3];if(null!=(e=this.dictionary.dataSources.getByName(this.nameInSource)).dataTable)return[3,3];if(!s.existsInCache(e))return[3,1];return e.dataTable=s.getFromCache(e).copy(),[3,3];case 1:return[4,s.getDataTable(this.dictionary.report,e)];case 2:(r=n.sent())&&(e.dataTable=r.copy()),n.label=3;case 3:return this.connectToDataInternal(),[2]}}))}))},A.prototype.connectToDataInternal=function(){var t,o,a,s,d,g,S,y,A,b,v,C,w,B,I=null,T=e.StiNameValidator.correctName(this.name);if(null==I&&this.dictionary.report.calculationMode==e.StiCalculationMode.Interpretation||this.dictionary.report.isDesigning){var E=new f;E.name="VirtualSourceBand",E.page=this.dictionary.report.pages.getByIndex(0),E.dataSourceName=this.nameInSource,E.filters=this.filters,I=m.getFilterEventHandler(E,E)}var R=this.dictionary.dataSources.getByName(this.nameInSource);if(null==R)throw i.format("'{0}' filter. Datasource '{1}' is not found.",this.name,this.nameInSource);var D=[];try{for(var P=__values(this.groupColumns),x=P.next();!x.done;x=P.next()){var F,N;if((N=F=x.value).stimulsoft.startsWith("DESC"))null!=R.columns.getByName(N)&&null==R.columns.getByName(N.substr(4))?D.push("ASC"):(D.push("DESC"),N=N.substr(4));else{if(N.stimulsoft.startsWith("NONE"))continue;D.push("ASC")}var k=N.split("."),M=0;try{for(var O=(a=void 0,__values(k)),_=O.next();!_.done;_=O.next()){var j=_.value,G=j;(0==M&&k.length>1||M<k.length-1)&&(G=r.StiDataColumn.getRelationName(this.dictionary,R,j)),D.push(G)}}catch(t){a={error:t}}finally{try{_&&!_.done&&(s=O.return)&&s.call(O)}finally{if(a)throw a.error}}}}catch(e){t={error:e}}finally{try{x&&!x.done&&(o=P.return)&&o.call(P)}finally{if(t)throw t.error}}try{for(var H=__values(this.sort),Q=H.next();!Q.done;Q=H.next()){var L=Q.value;D.push(L)}}catch(t){d={error:t}}finally{try{Q&&!Q.done&&(g=H.return)&&g.call(H)}finally{if(d)throw d.error}}var Y=D.stimulsoft.toArray();0==Y.length&&(Y=null),R.resetDetailsRows(),R.first(),R.setSort(null,Y,null,null,null),R.setFilter(I);var U=new h;try{for(var J=__values(this.columns.list),W=J.next();!W.done;W=J.next()){var V=W.value,z=new p(V.name,V.type);U.columns.add(z)}}catch(t){S={error:t}}finally{try{W&&!W.done&&(y=J.return)&&y.call(J)}finally{if(S)throw S.error}}var X=!1,K=new c,Z=[];try{for(var q=__values(this.groupColumns),$=q.next();!$.done;$=q.next()){var F,N;(N=F=$.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));var tt=new r.StiFirstFunctionService;K.set(N,tt),Z.push(tt)}}catch(t){A={error:t}}finally{try{$&&!$.done&&(b=q.return)&&b.call(q)}finally{if(A)throw A.error}}var et=0;while(et<this.results.length){var V=this.results[et++],rt=this.results[et++],nt=this.results[et++];switch(rt){case"Sum":var it=new r.StiSumFunctionService;K.set(nt,it),Z.push(it),X=!0;break;case"SumDistinct":var ot=new r.StiSumDistinctFunctionService;K.set(nt,ot),Z.push(ot),X=!0;break;case"Count":var at=new r.StiCountFunctionService;K.set(nt,at),Z.push(at),X=!0;break;case"CountDistinct":var st=new r.StiCountDistinctFunctionService;K.set(nt,st),Z.push(st),X=!0;break;case"Min":var lt=new r.StiMinFunctionService;K.set(nt,lt),Z.push(lt),X=!0;break;case"Max":var ut=new r.StiMaxFunctionService;K.set(nt,ut),Z.push(ut),X=!0;break;case"Avg":var ct=new r.StiAvgFunctionService;K.set(nt,ct),Z.push(ct),X=!0;break;case"First":var pt=new r.StiFirstFunctionService;K.set(nt,pt),Z.push(pt),X=!0;break;case"Last":var ht=new r.StiLastFunctionService;K.set(nt,ht),Z.push(ht),X=!0;break;case"MinDate":var mt=new r.StiMinDateFunctionService;K.set(nt,mt),Z.push(mt),X=!0;break;case"MaxDate":var ft=new r.StiMaxDateFunctionService;K.set(nt,ft),Z.push(ft),X=!0;break;case"MinTime":var dt=new r.StiMinTimeFunctionService;K.set(nt,dt),Z.push(dt),X=!0;break;case"MaxTime":var gt=new r.StiMaxTimeFunctionService;K.set(nt,gt),Z.push(gt),X=!0;break;case"MinStr":var St=new r.StiMinStrFunctionService;K.set(nt,St),Z.push(St),X=!0;break;case"MaxStr":var yt=new r.StiMaxStrFunctionService;K.set(nt,yt),Z.push(yt),X=!0;break;case"Mode":var At=new r.StiModeFunctionService;K.set(nt,At),Z.push(At),X=!0;break;case"Median":var bt=new r.StiMedianFunctionService;K.set(nt,bt),Z.push(bt),X=!0;break;default:var vt=new r.StiFirstFunctionService;K.set(nt,vt),Z.push(vt);break}}var Ct=this.groupColumns.length>0,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(_t<this.results.length)try{var V=this.results[_t++],rt=this.results[_t++],jt=this.results[_t++],Mt=u.value,Ot;if(i.isNullOrEmpty(V)||null==(Mt=r.StiDataColumn.getDataFromDataColumn(this.dictionary,e.StiNameValidator.correctName(R.name)+"."+V,!1))&&(Mt=u.value),Tt)Ft.sett(jt,Mt);else null!=(Ot=K.get(jt).stimulsoft.as(r.StiAggregateFunctionService))&&Ot.calcItem(Mt)}catch(t){l.showError(t,!1)}It++,Tt&&U.rows.add(Ft),R.next(),this.dictionary.report.line++,this.dictionary.report.lineThrough++}It>0&&(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;Y<L.count;Y++){var U=L.getByIndex(Y);try{var J=U.stimulsoft.as(y);null!=J&&null!=J.dataSourceName&&J.dataSourceName.length>0&&(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;gt<ft.filters.count;gt++){var St=ft.filters.getByIndex(gt);dt.append("("),dt.append(u.getFilterExpression(St,St.column,e)),dt.append(")"),gt<ft.filters.count-1&&dt.append(ft.filterMode==a.And?" && ":" || ")}dt.append("}");var yt={condition:ft,expression:dt.toString()};lt.push(yt)}}else if(null!=ht){var yt={condition:ht,expression:mt="{"+u.getFilterExpression(ht,ht.column,e)+"}"};lt.push(yt)}}}catch(t){B={error:t}}finally{try{ct&&!ct.done&&(T=ut.return)&&T.call(ut)}finally{if(B)throw B.error}}if(lt.length>0)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(gt<xt.results.length)this.addDataSourceColumn(G,Tt.name,xt.results[gt]),gt+=3;this.addSort(G,Q,xt.sort,Tt.name)}}catch(t){x={error:t}}finally{try{Dt&&!Dt.done&&(F=Rt.return)&&F.call(Rt)}finally{if(x)throw x.error}}try{for(var Mt=__values(e.dictionary.variables.list),Ot=Mt.next();!Ot.done;Ot=Mt.next()){var _t=Ot.value;_t.initBy==r.StiVariableInitBy.Expression&&(this.checkExpression("{"+_t.value+"}",Q,G),_t.type==t.Report.Range&&(this.checkExpression("{"+_t.initByExpressionFrom+"}",Q,G),this.checkExpression("{"+_t.initByExpressionTo+"}",Q,G))),_t.requestFromUser&&_t.dialogInfo.itemsInitializationType==r.StiItemsInitializationType.Columns&&this.checkExpression("{"+_t.dialogInfo.keysColumn+"}",Q,G)}}catch(t){M={error:t}}finally{try{Ot&&!Ot.done&&(O=Mt.return)&&O.call(Mt)}finally{if(M)throw M.error}}if(null!=e.listOfUsedData)try{for(var jt=__values(e.listOfUsedData),Gt=jt.next();!Gt.done;Gt=jt.next()){var Pt=Gt.value;this.addDataSourceName(G,Pt)}}catch(t){_={error:t}}finally{try{Gt&&!Gt.done&&(j=jt.return)&&j.call(jt)}finally{if(_)throw _.error}}return G},I.checkExpression=function(e,n,i){var o,a;try{var s=!1,l={ref:s},u=C.parseTextValue(e,n,n,l,!1,!0);if(s=l.ref,null!=u&&u.stimulsoft.is(Array)&&u.length>0&&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(l<e.length-1)s=e[l],p.addRelation(i,o.getParentRelations().toList().where((function(t){return t.nameInSource==s})).first()),o=o.getParentDataSource(s),p.addDataSourceName(i,o.name),l++}e.length>1&&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<r.length){var o=r[i];o.stimulsoft.startsWith("{")?this.checkExpression(o,e,t):this.addDataSourceColumn(t,n,o),i+=2}},I.getDataSourcesUsedInRequestFromUsersVariables=function(n){var i,o,a=new S,s=new v;s.name="*RequestFromUserVariable*",s.page=new t.Report.Components.StiPage(n);try{for(var l=__values(n.dictionary.variables.list),u=l.next();!u.done;u=l.next()){var c=u.value;c.requestFromUser&&(c.dialogInfo.itemsInitializationType==r.StiItemsInitializationType.Columns&&this.checkExpression("{"+c.dialogInfo.keysColumn+"}",s,a),c.initBy==r.StiVariableInitBy.Expression&&(this.checkExpression("{"+c.value+"}",s,a),c.type==e.Range&&(this.checkExpression("{"+c.initByExpressionFrom+"}",s,a),this.checkExpression("{"+c.initByExpressionTo+"}",s,a))))}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return a},I}();r.StiDataSourceHelper=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.Report.Engine.StiParser.StiParser,n=t.Report.Components.StiText,i=function(){function t(){}return t.connectSqlSource=function(t){var e,i,o=new n;o.name="**DataSourceParameter**",o.page=t.dictionary.report.pages.getByIndex(0);try{for(var a=__values(t.parameters.list),s=a.next();!s.done;s=a.next()){var l=s.value;l.parameterValue=r.parseTextValue("{"+l.value+"}",o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}t.sqlCommand=r.parseTextValue(t.sqlCommand,o)},t}();e.StiDataSourceParserHelper=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,r,n,i,o,a,s,l,u,c,p,h,m,f,d,g;!function(t){t[t["Value"]=0]="Value",t[t["Expression"]=1]="Expression"}(e=t.StiVariableInitBy||(t.StiVariableInitBy={})),function(t){t[t["Date"]=0]="Date",t[t["DateAndTime"]=1]="DateAndTime",t[t["Time"]=2]="Time"}(r=t.StiDateTimeType||(t.StiDateTimeType={})),function(t){t[t["Items"]=0]="Items",t[t["Columns"]=1]="Columns"}(n=t.StiItemsInitializationType||(t.StiItemsInitializationType={})),function(t){t[t["Value"]=0]="Value",t[t["NullableValue"]=1]="NullableValue",t[t["List"]=2]="List",t[t["Range"]=3]="Range"}(i=t.StiTypeMode||(t.StiTypeMode={})),function(t){t[t["Asc"]=0]="Asc",t[t["Desc"]=1]="Desc"}(o=t.StiSortOrder||(t.StiSortOrder={})),function(t){t[t["None"]=0]="None",t[t["IfDictionaryEmpty"]=1]="IfDictionaryEmpty",t[t["Always"]=2]="Always"}(a=t.StiAutoSynchronizeMode||(t.StiAutoSynchronizeMode={})),function(t){t[t["None"]=0]="None",t[t["DenyEdit"]=1]="DenyEdit",t[t["DenyDelete"]=2]="DenyDelete",t[t["DenyMove"]=4]="DenyMove",t[t["DenyShow"]=8]="DenyShow"}(s=t.StiRestrictionTypes||(t.StiRestrictionTypes={})),function(t){t[t["BusinessObject"]=0]="BusinessObject",t[t["DataSource"]=1]="DataSource",t[t["DataRelation"]=2]="DataRelation",t[t["DataColumn"]=3]="DataColumn",t[t["Database"]=4]="Database",t[t["Resource"]=5]="Resource",t[t["Variable"]=6]="Variable",t[t["Total"]=7]="Total"}(l=t.StiDataType||(t.StiDataType={})),function(t){t[t["Never"]=0]="Never",t[t["OnEachRecord"]=1]="OnEachRecord",t[t["OnGroupChanged"]=2]="OnGroupChanged",t[t["OnPageChanged"]=3]="OnPageChanged",t[t["OnColumnChanged"]=4]="OnColumnChanged",t[t["OnEachNewBand"]=5]="OnEachNewBand",t[t["OnExpressionChanged"]=6]="OnExpressionChanged"}(u=t.StiTotalEvent||(t.StiTotalEvent={})),function(t){t[t["Image"]=0]="Image",t[t["Csv"]=1]="Csv",t[t["Dbf"]=2]="Dbf",t[t["Json"]=3]="Json",t[t["Xml"]=4]="Xml",t[t["Xsd"]=5]="Xsd",t[t["Excel"]=6]="Excel",t[t["Rtf"]=7]="Rtf",t[t["Txt"]=8]="Txt",t[t["Report"]=9]="Report",t[t["ReportSnapshot"]=10]="ReportSnapshot",t[t["FontTtc"]=11]="FontTtc",t[t["FontTtf"]=12]="FontTtf",t[t["FontOtf"]=13]="FontOtf",t[t["FontEot"]=14]="FontEot",t[t["FontWoff"]=15]="FontWoff",t[t["Pdf"]=16]="Pdf",t[t["Word"]=17]="Word",t[t["Map"]=18]="Map"}(c=t.StiResourceType||(t.StiResourceType={})),function(t){t[t["All"]=0]="All",t[t["Browsable"]=1]="Browsable"}(p=t.StiPropertiesProcessingType||(t.StiPropertiesProcessingType={})),function(t){t[t["All"]=0]="All",t[t["Browsable"]=1]="Browsable"}(h=t.StiFieldsProcessingType||(t.StiFieldsProcessingType={})),function(t){t[t["None"]=0]="None",t[t["Standard"]=1]="Standard",t[t["Sql"]=2]="Sql"}(m=t.StiConnectionOrder||(t.StiConnectionOrder={})),function(t){t[t["Table"]=0]="Table",t[t["StoredProcedure"]=1]="StoredProcedure"}(f=t.StiSqlSourceType||(t.StiSqlSourceType={})),function(t){t[t["KeepAbsentColumns"]=0]="KeepAbsentColumns",t[t["RemoveAbsentColumns"]=1]="RemoveAbsentColumns"}(d=t.StiColumnsSynchronizationMode||(t.StiColumnsSynchronizationMode={})),function(t){t[t["FromVariable"]=0]="FromVariable",t[t["Nothing"]=1]="Nothing",t[t["First"]=2]="First"}(g=t.StiSelectionMode||(t.StiSelectionMode={}))}(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),e}(t.StiDataTableSource);t.StiUndefinedDataSource=e}(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.Collections.CollectionBase,i=t.System.ICloneable,o=t.System.Collections.IComparer,a=t.System.Collections.Hashtable,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,u=t.Report.Dictionary.StiUndefinedDataSource,c=t.System.StiPromise,p=function(t){function n(e){var r=t.call(this)||this;return r.directionFactor=1,r.dictionary=e,r}return __extends(n,t),n.prototype.implements=function(){return[s,i,o]},n.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,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},n.prototype.loadFromJsonObject=function(t){var e,n,i=StiOptions.Services.dataSource,o=function(t){var e=t.value,n,o=e.properties().firstOrDefault((function(t){return"Ident"==t.name})).value,s=null;if(null==(s="StiCustomSource"==o?new r.StiCustomSource:i.firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==o}))))return"continue";var l=s.createNew();if(null==l)return"continue";l.dictionary=a.dictionary,l.loadFromJsonObject(e),a.list.push(l)},a=this;try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var u;o(l.value)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}},n.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type")){var o=n.attributes.getNamedItem("Ref").value,a=n.attributes.getNamedItem("type").value.split(".").pop();switch(0==a.indexOf("Sti")&&(a=a.substr(3)),a){case"DataTableSource":var s=new r.StiDataTableSource;s.xmlRefAttrValue=o,s.dictionary=this.dictionary,s.loadFromXml(n),this.list.push(s);break;case"MySqlSource":var l=new r.StiMySqlSource;l.xmlRefAttrValue=o,l.dictionary=this.dictionary,l.loadFromXml(n),this.list.push(l);break;case"SqlSource":var c=new r.StiSqlSource;c.xmlRefAttrValue=o,c.dictionary=this.dictionary,c.loadFromXml(n),this.list.push(c);break;case"VirtualSource":var p=new r.StiVirtualSource;p.xmlRefAttrValue=o,p.dictionary=this.dictionary,p.loadFromXml(n),this.list.push(p);break;case"FirebirdSource":var h=new r.StiFirebirdSource;h.xmlRefAttrValue=o,h.dictionary=this.dictionary,h.loadFromXml(n),this.list.push(h);break;case"OracleSource":var m=new r.StiOracleSource;m.xmlRefAttrValue=o,m.dictionary=this.dictionary,m.loadFromXml(n),this.list.push(m);break;case"PostgreSQLSource":var f=new r.StiPostgreSQLSource;f.xmlRefAttrValue=o,f.dictionary=this.dictionary,f.loadFromXml(n),this.list.push(f);break;case"ODataSource":var d=new r.StiODataSource;d.xmlRefAttrValue=o,d.dictionary=this.dictionary,d.loadFromXml(n),this.list.push(d);break;case"DataTransformation":var g=new r.StiDataTransformation;g.xmlRefAttrValue=o,g.dictionary=this.dictionary,g.loadFromXml(n),this.list.push(g);break;case"DataWorldSource":var S=new r.StiDataWorldSource;S.xmlRefAttrValue=o,S.dictionary=this.dictionary,S.loadFromXml(n),this.list.push(S);break;default:var y=new u;y.xmlRefAttrValue=o,y.dictionary=this.dictionary,y.loadFromXml(n),this.list.push(y);break}}}},n.prototype.compare=function(t,e){var n=t.stimulsoft.as(r.StiDataSource),i=e.stimulsoft.as(r.StiDataSource);return n.name.stimulsoft.compareTo(i.name)*this.directionFactor},Object.defineProperty(n.prototype,"cachedDataSources",{get:function(){return null==this._cachedDataSources&&(this._cachedDataSources=new a),this._cachedDataSources},enumerable:!1,configurable:!0}),n.prototype.fetchAllDataTransformations=function(){return this.toList().where((function(t){return t.stimulsoft.is(r.StiDataTransformation)})).cast()},n.prototype.fetchAllVirtualDataSources=function(){return this.toList().where((function(t){return t.stimulsoft.is(r.StiVirtualSource)})).cast()},n.prototype.add=function(e){null!=this.dictionary&&(e.dictionary=this.dictionary),t.prototype.add.call(this,e)},n.prototype.contains=function(t){if(t.stimulsoft.is(r.StiDataSource))return this.list.stimulsoft.contains(t.stimulsoft.as(r.StiDataSource));if(t.stimulsoft.is(String))return null!=this.getByName(t);return!1},n.prototype.remove=function(t){if(this.list.stimulsoft.remove(t),null!=this.dictionary){var e=0;while(e<this.dictionary.relations.length)this.dictionary.relations.getByIndex(e).parentSource==t||this.dictionary.relations.getByIndex(e).childSource==t?this.dictionary.relations.remove(this.dictionary.relations.getByIndex(e)):e++}var r=t.name.toLowerCase();null!=this.cachedDataSources.get(r)&&this.cachedDataSources.remove(r)},n.prototype.getByName=function(t){var r,n;t=t.toLowerCase();var i=this.cachedDataSources.get(t);if(null!=i)return i;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.name.toLowerCase()==t)return this.cachedDataSources.set(t,s),s;if(e.StiNameValidator.correctName(s.name.toLowerCase())==e.StiNameValidator.correctName(t))return this.cachedDataSources.set(t,s),s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},n.prototype.getByXmlRef=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.xmlRefAttrValue==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},n.prototype.setByName=function(t,e){t=t.toLowerCase();for(var n=0;n<this.list.length;n++){var i;if(this.getByIndex(n).stimulsoft.as(r.StiDataSource).name.toLowerCase()==t)return void(this.list[n]=e)}this.add(e)},n.prototype.clone=function(){var t,e,i=new n(this.dictionary);try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.add(s.clone().stimulsoft.as(r.StiDataSource))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return i},n.prototype.sort=function(t,e){var n,i;if(void 0===t&&(t=r.StiSortOrder.Asc),void 0===e&&(e=!0),t==r.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),e)try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s;a.value.columns.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.clearParametersExpression=function(){var t,e,r,n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a,s=o.value;if(null!=s)try{for(var l=(r=void 0,__values(s.parameters.list)),u=l.next();!u.done;u=l.next()){var c;u.value.expression=""}}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}}},n.prototype.connectAsync=function(t,e){var n,i;void 0===e&&(e=null);var o=new c,a=[];this.list.stimulsoft.copyTo(a),a.sort();var s=0;try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var p=u.value;if(p.connectionOrder==r.StiConnectionOrder.None)continue;p.connectOnStart&&(t||p.stimulsoft.is(r.StiDataTableSource))&&(s++,r.StiDataLeader.connectAsync(p,e,t).try((function(){0==--s&&o.callTry()})).catch((function(t){o.callCatch(t)})).abort(o))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return 0==s&&o.callTry(),o},n.prototype.connect=function(t,e){var n,i;void 0===e&&(e=null);var o=[];this.list.stimulsoft.copyTo(o),o.sort();try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.connectionOrder==r.StiConnectionOrder.None)continue;l.connectOnStart&&(t||l.stimulsoft.is(r.StiDataTableSource))&&r.StiDataLeader.connect(l,e,t)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},n.prototype.disconnect=function(){var t,e;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.StiDataLeader.disconnect(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},n}(n);r.StiDataSourcesCollection=p;var h=function(){function t(){}return t.prototype.compare=function(t,e){return t.connectionOrder.stimulsoft.compareTo(e.connectionOrder)},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(t){t[t["Dimension"]=0]="Dimension",t[t["Measure"]=1]="Measure"}(e=t.StiDataTransformationMode||(t.StiDataTransformationMode={}))}(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.StiPromise,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Collections.List,a=t.System.Data.DataTable,s=t.Base.StiKeyHelper,l=t.Data.Engine.IStiQueryObject,u=t.Data.Helpers.StiUsedDataHelper,c=t.Data.Engine.StiDataSourcePicker,p=t.Data.Engine.StiDataRequestOption,h=t.Data.Engine.StiDataSortRule,m=t.Data.Engine.StiDataFilterRule,f=t.Data.Engine.StiDataActionRule,d=t.Data.Engine.StiDataAnalyzer,g=t.Data.Helpers.StiDataTableConverter,S=t.Data.Exceptions.StiTypeNotRecognizedException,y=t.Base.StiJsonReportObjectHelper,A=function(A){function b(t,e,n){var i=A.call(this,t,e,e,null!=n?n:s.generateKey())||this;return i.sorts=new o,i.filters=new o,i.actions=new o,i.connectionOrder=r.StiConnectionOrder.None,i.key=s.getOrGeneratedKey(n),i}return __extends(b,A),b.prototype.implements=function(){return b.ImplementsStiDataTransformation||(b.ImplementsStiDataTransformation=A.prototype.implements.call(this).concat([l,i])),b.ImplementsStiDataTransformation},b.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Sorts",y.Serialize.objectArray(this.sorts,t)),e.addPropertyJObject("Filters",y.Serialize.objectArray(this.filters,t)),e.addPropertyJObject("Actions",y.Serialize.objectArray(this.actions,t)),e},b.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"Sorts":this.sorts.addRange(o.value.properties().toList().select((function(t){return h.loadFromJson(t.value)})));break;case"Filters":this.filters.addRange(o.value.properties().toList().select((function(t){return m.loadFromJson(t.value)})));break;case"Actions":this.actions.addRange(o.value.properties().toList().select((function(t){return f.loadFromJson(t.value)})));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},b.prototype.loadFromXml=function(t){var e,r;A.prototype.loadFromXml.call(this,t);try{for(var n=__values(t.childNodes),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.nodeName){case"Sorts":this.sorts.addRange(o.childNodes.toList().select((function(t){return h.loadFromXml(t)})));break;case"Filters":this.filters.addRange(o.childNodes.toList().select((function(t){return m.loadFromXml(t)})));break;case"Actions":this.actions.addRange(o.childNodes.toList().select((function(t){return f.loadFromXml(t)})));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},b.prototype.retrieveUsedDataNames=function(t){return u.getMany2(this.getMeters())},b.prototype.getDataSources=function(t){var e=this,r=this.getDictionary();if(null==r)return null;var n=r.fetchDataSources().where((function(t){return!t.stimulsoft.is(b)&&(t.getKey()!=e.getKey()||null==e.getKey())}),this);return c.fetch(this,null,t,n)},b.prototype.getKey=function(){return this.key},b.prototype.getDataTable2=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(r){return[2,new Promise((function(r){e.retrieveDataTableAsync(t?p.AllowOpenConnections:p.None).try((function(t){return r(t)}))}))]}))}))},b.prototype.getDataAdapterType=function(){return r.StiDataTransformationAdapterService},b.prototype.retrieveDataTableAsync=function(t){var e=this,r=new n;if(0==this.columns.count)return r.callTry(new a(this.name));return setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var e,n,i;return __generator(this,(function(o){switch(o.label){case 0:return[4,d.analyze(this,null,this.getMeters(),t,this.sorts,this.filters,null,this.actions)];case 1:return e=o.sent(),n=this.columns.toList().select((function(t){return t.type})),(i=g.toNetTable(e,n)).tableName=this.name,r.callTry(i),[2]}}))}))}),0),r},b.prototype.connectToDataAsync=function(){var t=this,e=new n;return this.retrieveDataTableAsync(p.None).try((function(r){t.dataTable=r,e.callTry()}),this),e},b.prototype.getMeters=function(e){return this.columns.toList().where((function(e){return e.stimulsoft.is(t.Report.Dictionary.StiDataTransformationColumn)})).cast().select(this.getMeter)},b.prototype.getMeter=function(t){switch(t.mode){case r.StiDataTransformationMode.Dimension:return new r.StiDimensionTransformationMeter(t.expression,t.name,t.key);case r.StiDataTransformationMode.Measure:return new r.StiMeasureTransformationMeter(t.expression,t.name,t.key);default:throw new S(t.mode)}},Object.defineProperty(b.prototype,"componentId",{get:function(){return e.StiComponentId.StiDataTransformation},enumerable:!1,configurable:!0}),b.prototype.createNew=function(){return new b},b}(r.StiDataStoreSource);r.StiDataTransformation=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.Data.Helpers.StiExpressionHelper,n=t.System.Collections.List,i=t.System.Enum,o=function(t){function o(r,n,i,o,a,s){void 0===r&&(r="DataTransformationColumn"),void 0===n&&(n="DataTransformationColumn"),void 0===o&&(o=""),void 0===a&&(a="");var l=this;return null==i&&(i=Number),null==s&&(s=e.StiDataTransformationMode.Dimension),(l=t.call(this,r,r,n,i)||this).expression=o,l.key=a,l.mode=s,l}return __extends(o,t),o.prototype.saveToJsonObject=function(r){var n=t.prototype.saveToJsonObject.call(this,r);return n.addPropertyIdent("Ident","Transform"),n.addPropertyString("Expression",this.expression),n.addPropertyEnum("Mode",e.StiDataTransformationMode,this.mode,e.StiDataTransformationMode.Dimension),n},o.prototype.loadFromJsonObject=function(r){var n,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"Expression":this.expression=l.value;break;case"Mode":this.mode=i.parse(e.StiDataTransformationMode,l.value);break}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}},o.prototype.loadFromXml=function(r){var n,o;t.prototype.loadFromXml.call(this,r);try{for(var a=__values(r.childNodes),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.nodeName){case"Expression":this.expression=l.textContent;break;case"Mode":this.mode=i.parse(e.StiDataTransformationMode,l.textContent);break}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}},o.prototype.getDictionaryColumn=function(){var t=this.dataSource;if(null!=t){var i=r.removeFunction(this.expression),o=t.getDataSources(new n([i])).firstOrDefault().stimulsoft.as(e.StiDataSource);if(null!=o)return o.columns.toList().firstOrDefault((function(t){return t.getColumnPath().toLowerCase()==i.toLowerCase()}))}return null},o}(e.StiDataColumn);e.StiDataTransformationColumn=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.Type,n=function(){function t(t,e){this.expression=t,this.label=e}return t.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0;return t=397*(t=397*t^r.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0),Math.abs(t)},t}();e.StiDataTransformationMeter=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.Type,n=t.Base.Meters.IStiDimensionMeter,i=function(t){function e(e,r,n){var i=t.call(this,e,r)||this;return i.key=n,i}return __extends(e,t),e.prototype.implements=function(){return e.ImplementsStiDimensionTransformationMeter||(e.ImplementsStiDimensionTransformationMeter=[n]),e.ImplementsStiDimensionTransformationMeter},e.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0;return t=397*(t=397*(t=397*t^r.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0))^(null!=this.key?this.key.stimulsoft.getHashCode():0),Math.abs(t)},e}(e.StiDataTransformationMeter);e.StiDimensionTransformationMeter=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.Type,n=t.Base.Meters.IStiMeasureMeter,i=function(t){function e(e,r,n){var i=t.call(this,e,r)||this;return i.key=n,i}return __extends(e,t),e.prototype.implements=function(){return e.ImplementsStiMeasureTransformationMeter||(e.ImplementsStiMeasureTransformationMeter=[n]),e.ImplementsStiMeasureTransformationMeter},e.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0;return t=397*(t=397*(t=397*t^r.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0))^(null!=this.key?this.key.stimulsoft.getHashCode():0),Math.abs(t)},e}(e.StiDataTransformationMeter);e.StiMeasureTransformationMeter=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.StiString,n=t.Base.StiDataLoaderHelper,i=t.Base.StiDataLoaderHelperData,o=function(){function t(){}return t.loadMutiple=function(t,o,a,s,l){if(r.isNullOrEmpty(o))return null;if(e.StiHyperlinkProcessor.isResourceHyperlink(o))return new i(e.StiHyperlinkProcessor.getResourceNameFromHyperlink(o),e.StiHyperlinkProcessor.getBytes(t,o)).toList();return n.loadMultiple(o,a,s,l)},t.loadSingle=function(t,o,a,s){if(r.isNullOrEmpty(o))return null;if(e.StiHyperlinkProcessor.isResourceHyperlink(o))return new i(e.StiHyperlinkProcessor.getResourceNameFromHyperlink(o),e.StiHyperlinkProcessor.getBytes(t,o));return n.loadSingle(o,a,s)},t}();e.StiUniversalDataLoader=o}(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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.toString=function(){return"Disconnected"},e}(t.StiEvent);t.StiDisconnectedEvent=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"Disconnecting"},e}(t.StiEvent);t.StiDisconnectingEvent=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"Connected"},e}(t.StiEvent);t.StiConnectedEvent=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"Connecting"},e}(t.StiEvent);t.StiConnectingEvent=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.Report.Events.StiDisconnectedEvent,o=t.Report.Events.StiDisconnectingEvent,a=t.Report.Events.StiConnectedEvent,s=t.Report.Events.StiConnectingEvent,l=t.System.EventArgs,u=t.Base.Services.StiService,c=t.Base.Localization.StiLocalization,p=t.Base.JsonReportObject.IStiJsonReportObject,h=t.Base.StiJson,m=t.System.StiPromise,f=t.Base.IStiAppConnection,d=t.Base.StiKeyHelper,g;!function(t){t[t["Name"]=100]="Name",t[t["Alias"]=200]="Alias",t[t["ConnectionString"]=300]="ConnectionString",t[t["FirstRowIsHeader"]=350]="FirstRowIsHeader",t[t["PathSchema"]=400]="PathSchema",t[t["PathData"]=500]="PathData",t[t["XmlType"]=600]="XmlType",t[t["PromptUserNameAndPassword"]=700]="PromptUserNameAndPassword",t[t["SaveDataInReportResources"]=800]="SaveDataInReportResources"}(g=r.Order||(r.Order={}));var S=function(t){function u(e,r,n){void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=null);var l=t.call(this)||this;return l._inherited=!1,l.connectingEvent=new s,l.connectedEvent=new a,l.disconnectingEvent=new o,l.disconnectedEvent=new i,l._key=null,l._name=e,l._alias=r||e,l._key=n,l}return __extends(u,t),u.prototype.implements=function(){return[e.IStiInherited,f,p]},u.prototype.saveToJsonObject=function(t){var e=new h;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("Inherited",this.inherited),e.addPropertyJObject("ConnectingEvent",this.connectingEvent.saveToJsonObject(t)),e.addPropertyJObject("ConnectedEvent",this.connectedEvent.saveToJsonObject(t)),e.addPropertyJObject("DisconnectingEvent",this.disconnectingEvent.saveToJsonObject(t)),e.addPropertyJObject("DisconnectedEvent",this.disconnectedEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),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"Inherited":this._inherited=o.value.stimulsoft.toBoolean();break;case"ConnectingEvent":this.connectingEvent.loadFromJsonObject(o.value);break;case"ConnectedEvent":this.connectedEvent.loadFromJsonObject(o.value);break;case"DisconnectingEvent":this.disconnectingEvent.loadFromJsonObject(o.value);break;case"DisconnectedEvent":this.disconnectedEvent.loadFromJsonObject(o.value);break;case"Name":this._name=o.value;break;case"Alias":this._alias=o.value;break;case"Key":this._key=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.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break}}},Object.defineProperty(u.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),u.prototype.getName=function(){return this.name},u.prototype.getKey=function(){return this.key=d.getOrGeneratedKey(this.key),this.key},u.prototype.setKey=function(t){this.key=t},Object.defineProperty(u.prototype,"serviceCategory",{get:function(){return c.get("PropertyMain","CategoryConnections")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"serviceType",{get:function(){return u.stimulsoft.getType()},enumerable:!1,configurable:!0}),u.prototype.onConnecting=function(t){},u.prototype.invokeConnecting=function(){this.onConnecting(l.empty)},u.prototype.onConnected=function(t){},u.prototype.invokeConnected=function(){this.onConnected(l.empty)},u.prototype.onDisconnecting=function(t){},u.prototype.invokeDisconnecting=function(){this.onDisconnecting(l.empty)},u.prototype.onDisconnected=function(t){},u.prototype.invokeDisconnected=function(){this.onDisconnected(l.empty)},Object.defineProperty(u.prototype,"serviceName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"connectionType",{get:function(){return r.StiConnectionType.Other},enumerable:!1,configurable:!0}),u.prototype.applyDatabaseInformation=function(t,n,i){var o,a,s,l;void 0===i&&(i=null);try{for(var u=__values(t.tables),c=u.next();!c.done;c=u.next()){var p=c.value,h=new r.StiDataTableSource(this.name+"."+p.tableName,e.StiNameCreation.createName(n,p.tableName,!1,!1,!0));try{for(var m=(s=void 0,__values(p.columns.list)),f=m.next();!f.done;f=m.next()){var d=f.value,g=new r.StiDataColumn(d.columnName,d.columnName,d.columnName,d.dataType);h.columns.add(g)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}n.dictionary.dataSources.add(h)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}},u.prototype.getDatabaseInformationAsync=function(t){var e=new m,r=this;return setTimeout((function(){try{var n=r.getDatabaseInformation(t);e.callTry(n)}catch(t){e.callCatch(t.message)}})),e},u.prototype.getDatabaseInformation=function(t){return null},u.prototype.toString=function(){if(!StiOptions.Dictionary.showOnlyAliasForDatabase){if(this.name==this.alias||0==this.alias.length)return n.format("{0} [{1}] ",this.name,this.serviceName);return n.format("{0} [{1}] ",this.name,this.alias)}if(!n.isNullOrEmpty(this.alias))return this.alias;return this.name},u.prototype.regData=function(t,e){},u.prototype.regDataAsync=function(t,e){var r=new m,n=this;return setTimeout((function(){try{n.regData(t,e),r.callTry()}catch(t){r.callTry()}})),r},u.prototype.createNew=function(){return null},u}(u);r.StiDatabase=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=t.System.Convert,i=t.System.StiString,o=t.System.Drawing.Image,a=t.Base.StiJson,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.System.Enum,u=t.Base.StiPacker,c=t.System.Text.XMLConvert,p=t.Base.IStiAppCell,h=function(){function h(t,e,n,i,o,a){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=!1),void 0===i&&(i=r.StiResourceType.Image),void 0===o&&(o=null),void 0===a&&(a=!1),this.availableInTheViewer=!1,this.name=t,this.alias=e,this.inherited=n,this.type=i,this.content=o,this.availableInTheViewer=a}return h.prototype.implements=function(){return[e.IStiName,p,e.IStiInherited,s]},h.prototype.clone=function(){var t=new h;return t._name=this._name,t.alias=this.alias,t.availableInTheViewer=this.availableInTheViewer,t.key=this.key,t.inherited=this.inherited,t.type=this.type,null!=this.packAndEncryptContent?t.packAndEncryptContent=this.packAndEncryptContent:t.content=this.content,t.dataSet=this.dataSet,t},h.prototype.getKey=function(){return this.key},h.prototype.setKey=function(t){this.key=t},h.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyBool("Inherited",this.inherited),e.addPropertyEnum("Type",r.StiResourceType,this.type,r.StiResourceType.Image),null==this.packAndEncryptContent&&(this.packAndEncryptContent=u.packAndEncryptToString(this.content)),e.addPropertyString("Image",this.packAndEncryptContent),e.addPropertyBool("AvailableInTheViewer",this.availableInTheViewer),e},h.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Name":this.name=a.value.toString();break;case"Alias":this.alias=a.value.toString();break;case"Key":this.key=a.value.toString();break;case"Inherited":this.inherited=a.value.stimulsoft.toBoolean();break;case"Type":this.type=l.parse(r.StiResourceType,a.value);break;case"Image":this.packAndEncryptContent=a.value;break;case"AvailableInTheViewer":this.availableInTheViewer=a.value.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}}},h.prototype.loadFromXml=function(t){var e,n,i=t.textContent.split(",");this.type=r.StiResourceType.Image;try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value,u=c.decodeName(s).trim(),p=u.split("=")[0];switch(u=u.substr(p.length+1),p){case"Name":this.name=u;break;case"Alias":this.alias=u;break;case"Inherited":this.inherited=u.stimulsoft.toBoolean();break;case"Type":this.type=l.parse(r.StiResourceType,u);break;case"Content":this.packAndEncryptContent=u;break;case"AvailableInTheViewer":this.availableInTheViewer=u.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return e.StiComponentId.StiResource},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"propName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"name",{get:function(){return this._name},set:function(t){this._name!=t&&(this._name==this.alias&&(this.alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"content",{get:function(){if(null==this._content&&!i.isNullOrEmpty(this._packAndEncryptContent)&&(this._content=u.unpackAndDecrypt2(this._packAndEncryptContent),n.isUTF16LE(this._content)))return n.fromUTF16LE(this._content);return this._content},set:function(t){this._content!=t&&(this._content=t,this._packAndEncryptContent=null,this.dataSet=null)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"packAndEncryptContent",{get:function(){return i.isNullOrEmpty(this._packAndEncryptContent)&&null!=this._content&&(this._packAndEncryptContent=u.packAndEncryptToString(this._content)),this._packAndEncryptContent},set:function(t){this._packAndEncryptContent!=t&&(this._packAndEncryptContent=t,this.content=null)},enumerable:!1,configurable:!0}),h.prototype.getResourceAsImage=function(){if(null==this.content||this.type!=r.StiResourceType.Image)return null;try{return o.fromBytes(this.content)}catch(t){}return null},h.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForResource)return this.alias;return this.alias==this.name?this.name:this.name+" ["+this.alias+"]"},h.prototype.getContentType=function(){switch(this.type){case r.StiResourceType.ReportSnapshot:case r.StiResourceType.Report:return"application/octet-stream";case r.StiResourceType.Pdf:return"application/pdf";case r.StiResourceType.Txt:return"text/plain";case r.StiResourceType.Json:return"text/plain";case r.StiResourceType.Rtf:return"application/rtf";case r.StiResourceType.Word:return"application/vnd.openxmlformats-officedocument.wordprocessingml.document";case r.StiResourceType.Excel:return"application/vnd.ms-excel";case r.StiResourceType.Csv:return"text/csv";case r.StiResourceType.Dbf:return"application/dbf";case r.StiResourceType.Image:if(t.Report.Components.StiImageHelper.isPng(this.content))return"image/png";if(t.Report.Components.StiImageHelper.isBmp(this.content))return"image/bmp";if(t.Report.Components.StiImageHelper.isJpeg(this.content))return"image/jpeg";if(t.Report.Components.StiImageHelper.isGif(this.content))return"image/gif";if(t.Report.Components.StiImageHelper.isTiff(this.content))return"image/tiff";if(t.Report.Components.StiImageHelper.isEmf(this.content))return"image/x-emf";return"image/png"}return"text/plain"},h.prototype.getFileExt=function(){switch(this.type){case r.StiResourceType.ReportSnapshot:return".mdc";case r.StiResourceType.Report:return".mrt";case r.StiResourceType.Pdf:return".pdf";case r.StiResourceType.Txt:return".txt";case r.StiResourceType.Rtf:return".rtf";case r.StiResourceType.Word:return".docx";case r.StiResourceType.Excel:return".xlsx";case r.StiResourceType.Csv:return".csv";case r.StiResourceType.Dbf:return".dbf";case r.StiResourceType.Json:return".json";case r.StiResourceType.Image:if(t.Report.Components.StiImageHelper.isPng(this.content))return".png";if(t.Report.Components.StiImageHelper.isBmp(this.content))return".bmp";if(t.Report.Components.StiImageHelper.isJpeg(this.content))return".jpg";if(t.Report.Components.StiImageHelper.isGif(this.content))return".gif";if(t.Report.Components.StiImageHelper.isTiff(this.content))return".tiff";if(t.Report.Components.StiImageHelper.isEmf(this.content))return".emf";return".png"}return""},h}();r.StiResource=h}(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.System.StiString,o=t.Base.StiJsonReportObjectHelper,a=t.System.Enum,s=t.Base.StiJson,l=t.Base.Localization.StiLocalization,u=t.Base.StiTypeFinder,c=t.Base.Drawing.StiImageConverter,p=t.System.Collections.List,h=function(){function l(){this._dateTimeType=r.StiDateTimeType.Date,this._itemsInitializationType=r.StiItemsInitializationType.Items,this._keysColumn="",this._valuesColumn="",this._bindingVariable=null,this._bindingValuesColumn="",this._mask="",this._allowUserValues=!0,this._bindingValue=!1,this._keys=[],this._values=[],this.valuesBinding=[]}return l.prototype.saveToJsonObject=function(){var t=new s;return t.addPropertyEnum("DateTimeType",r.StiDateTimeType,this.dateTimeType,r.StiDateTimeType.Date),t.addPropertyEnum("ItemsInitializationType",r.StiItemsInitializationType,this.itemsInitializationType,r.StiItemsInitializationType.Items),t.addPropertyStringNullOrEmpty("KeysColumn",this.keysColumn),t.addPropertyStringNullOrEmpty("ValuesColumn",this.valuesColumn),t.addPropertyStringNullOrEmpty("BindingValuesColumn",this.bindingValuesColumn),t.addPropertyStringNullOrEmpty("Mask",this.mask),t.addPropertyBool("AllowUserValues",this.allowUserValues,!0),t.addPropertyBool("BindingValue",this.bindingValue),t.addPropertyJObject("Keys",o.Serialize.stringArray(this.keys)),t.addPropertyJObject("Values",o.Serialize.stringArray(this.values)),null!=this.bindingVariable&&t.addPropertyStringNullOrEmpty("BindingVariable",this.bindingVariable.name),t},l.prototype.loadFromJsonObject=function(t,e){var n,i;try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var u=l.value;switch(u.name){case"DateTimeType":this._dateTimeType=a.parse(r.StiDateTimeType,u.value);break;case"ItemsInitializationType":this._itemsInitializationType=a.parse(r.StiItemsInitializationType,u.value);break;case"KeysColumn":this._keysColumn=u.value;break;case"ValuesColumn":this._valuesColumn=u.value;break;case"BindingValuesColumn":this._bindingValuesColumn=u.value;break;case"Mask":this._mask=u.value;break;case"AllowUserValues":this._allowUserValues=u.value.stimulsoft.toBoolean();break;case"BindingValue":this._bindingValue=u.value.stimulsoft.toBoolean();break;case"Keys":this._keys=o.Deserialize.stringArray(u.value);break;case"Values":this._values=o.Deserialize.stringArray(u.value);break;case"BindingVariable":this.jsonLoadedBindingVariableName=u.value,e.jsonLoaderHelper.dialogInfo.push(this);break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}},Object.defineProperty(l.prototype,"dateTimeType",{get:function(){return this._dateTimeType},set:function(t){this._dateTimeType=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemsInitializationType",{get:function(){return this._itemsInitializationType},set:function(t){this._itemsInitializationType=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"keysColumn",{get:function(){return this._keysColumn},set:function(t){this._keysColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"valuesColumn",{get:function(){return this._valuesColumn},set:function(t){this._valuesColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"bindingVariable",{get:function(){return this._bindingVariable},set:function(t){this._bindingVariable=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"bindingValuesColumn",{get:function(){return this._bindingValuesColumn},set:function(t){this._bindingValuesColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"mask",{get:function(){return this._mask},set:function(t){this._mask=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"allowUserValues",{get:function(){return this._allowUserValues},set:function(t){this._allowUserValues=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"bindingValue",{get:function(){return this._bindingValue},set:function(t){this._bindingValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"keys",{get:function(){return this._keys},set:function(t){this._keys=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"values",{get:function(){return this._values},set:function(t){this._values=t},enumerable:!1,configurable:!0}),l.prototype.isDefault=function(){return this.allowUserValues&&this.dateTimeType==r.StiDateTimeType.Date&&null==this.bindingVariable&&(null==this.keys||0==this.keys.length)&&(null==this.values||0==this.values.length)&&i.isNullOrEmpty(this.mask)&&i.isNullOrEmpty(this.keysColumn)&&i.isNullOrEmpty(this.valuesColumn)&&i.isNullOrEmpty(this.bindingValuesColumn)},l.convert=function(t){return t.toString()},l.prototype.getDialogInfoItems=function(r){var n,o;try{var a=[];if(null==this.keys)return a;var s=0;try{for(var l=__values(this.keys),p=l.next();!p.done;p=l.next()){var h=p.value,m=null,f=null,R=null;try{if(null!=h&&h.stimulsoft.startsWith("{")&&h.stimulsoft.endsWith("}"))if(u.findType(r,e.Range)){if(h.stimulsoft.contains("<<|>>")){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<a.childNodes.length;s++){var l=a.childNodes[s];switch(l.nodeName){case"DateTimeType":i.dateTimeType=o.parse(e.StiDateTimeType,l.textContent);break;case"ItemsInitializationType":i.itemsInitializationType=o.parse(e.StiItemsInitializationType,l.textContent);break;case"KeysColumn":i.keysColumn=l.textContent;break;case"ValuesColumn":i.valuesColumn=l.textContent;break;case"BindingValuesColumn":i.bindingValuesColumn=l.textContent;break;case"Mask":i.mask=l.textContent;break;case"AllowUserValues":i.allowUserValues=l.textContent.stimulsoft.toBoolean();break;case"BindingValue":i.bindingValue=l.textContent.stimulsoft.toBoolean();break;case"Keys":i.keys=d.parseStringArray(l);break;case"Values":i.values=d.parseStringArray(l);break;case"BindingVariable":i.xmlLoadedBindingVariable=""!=l.textContent?l:null,n.jsonLoaderHelper.dialogInfo.push(i);break}}return i},d.parseStringArray=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[n]=i.textContent,r++)}return e},d.prototype.getValue=function(){return this.valueObject},d.prototype.getName=function(){return this.name},d.prototype.getKey=function(){return this.key=f.getOrGeneratedKey(this.key),this.key},d.prototype.setKey=function(t){this.key=t},d.prototype.getAlias=function(){return this.alias},Object.defineProperty(d.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t.stimulsoft.replaceAll(" ","_")},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"applyFormat",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dialogInfo",{get:function(){return this._dialogInfo},set:function(t){this._dialogInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"readOnly",{get:function(){return this._readOnly},set:function(t){this._readOnly=t,t&&(this._requestFromUser=!1)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"requestFromUser",{get:function(){return this._requestFromUser},set:function(t){this._requestFromUser=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"allowUseAsSqlParameter",{get:function(){return this._allowUseAsSqlParameter},set:function(t){this._allowUseAsSqlParameter=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"isCategory",{get:function(){return r.isNullOrEmpty(this.name)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"valueObject",{get:function(){var t=this.value;if(this.initBy==e.StiVariableInitBy.Expression)return this.value;return d.getValue(t,this.type)},set:function(t){this.initBy==e.StiVariableInitBy.Expression&&(this.value=t),null==t?this.value="":this.setValue(t)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"initByExpressionFrom",{get:function(){if(!a.findType(this.type,p.stimulsoft.getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[0]},set:function(t){if(!a.findType(this.type,p.stimulsoft.getType()))return;var e=this.getRangeValues(),n="";null!=e&&(n=e[1]),this.value=r.format("{0}<<|>>{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;l<s;l++)" "==e.charAt(l)?(o.stimulsoft.remove(a,1),a<o.length&&i.isLetter(o.charAt(a))&&o.stimulsoft.insert(a,i.toUpper(o.charAt(a)),1)):a++;return e=o.toString(),t.Report.StiNameValidator.correctName(e,!0,n)}return e},e.createSimpleName=function(t,e){return(e=this.removeSpacesFromName(e,!0))+(t.indexName++).toString()},e.createName=function(t,r,n,i,a){if(void 0===n&&(n=!0),void 0===i&&(i=!0),void 0===a&&(a=!1),r=e.removeSpacesFromName(r,i),!(a||t.isDesigning&&e.namingRule!=o.Simple))return r+(t.indexName++).toString();var s=t.getComponents(),l=1;if(0==s.count&&0==t.dataSources.count&&0==t.dictionary.dataSources.count&&0==t.dictionary.relations.count&&0==t.dictionary.variables.count){if(n)return r+"1";return r}while(1){var u=r+l.toString(),c=void 0;if(c=n||1!=l?u:r,null==e.getObjectWithName(null,t,s,c)){if(!n&&1==l)return r;return u}l++}},e.createResourceName=function(t,e){e=this.removeSpacesFromName(e,!1);var r=1;while(1){var n=1==r?e:e+r.toString();if(!this.isResourceNameExists(t,n))return n;r++}},e.createConnectionName=function(t,e){e=this.removeSpacesFromName(e,!1);var r=1;while(1){var n=1==r?e:e+r.toString();if(!this.isConnectionNameExists(t,n))return n;r++}},e.isResourceNameExists=function(t,e){return e=e.toLowerCase().trim(),t.dictionary.resources.toList().any((function(t){return t.name.toLowerCase().trim()==e}))},e.isConnectionNameExists=function(t,e){return e=e.toLowerCase().trim(),t.dictionary.databases.toList().any((function(t){return t.name.toLowerCase().trim()==e}))},e.createColumnName=function(t,e){var r=null!=t&&null!=t.dictionary?t.dictionary.report:null;e=this.removeSpacesFromName(e,!1,r);var n=1;while(1){var i=1==n?e:e+n.toString();if(!this.isColumnNameExists(t,i))return i;n++}},e.isColumnNameExists=function(t,e){return e=e.toLowerCase().trim(),t.columns.toList().any((function(t){return t.name.toLowerCase().trim()==e}))},e.isValidName=function(t,e){var n,o;if(r.isNullOrEmpty(e)||!i.isLetter(e.charAt(0))&&"_"!=e.charAt(0))return!1;for(var a=0;a<e.length;a++)if(!i.isLetterOrDigit(e.charAt(a))&&"_"!=e.charAt(a))return!1;var s=t.getComponents();try{for(var l=__values(s.list),u=l.next();!u.done;u=l.next()){var c;if(e==u.value.name)return!1}}catch(t){n={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!0},e.exists=function(t,r,n){if(null==r)return null;return null!=e.getObjectWithName(t,r,r.getComponents(),n)},e.checkName=function(t,r,n,i,o){if(void 0===o&&(o=!0),null!=r&&r.isDesigning){if(e.exists(t,r,n))return!1;if(o&&!e.isValidName(r,n))return!1}return!0},e.getObjectWithName=function(t,e,r,n){if(null==e)return null;for(var i=0;i<r.count;i++){var o=r.getByIndex(i);if(n==o.name&&t!=o)return o}for(var i=0;i<e.dictionary.dataSources.count;i++){var a=e.dictionary.dataSources.getByIndex(i);if(n==a.name&&t!=a)return a}for(var i=0;i<e.dictionary.businessObjects.count;i++){var s=e.dictionary.businessObjects.getByIndex(i);if(n==s.name&&t!=s)return s}for(var i=0;i<e.dictionary.variables.count;i++){var l=e.dictionary.variables.getByIndex(i);if(n==l.name&&t!=l)return l}return null},e.generateName1=function(t,e,r){var n=r;return n.length>1&&"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<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"PathData":this.pathData=r.textContent;break}}},s.prototype.createDataSources=function(t){var e=this.getDatabaseInformation(t),i=this;e.tables.select((function(e){var o=new r.StiDataTableSource;return o.dictionary=t,o.nameInSource=n.format("{0}.{1}",i.name,e.tableName),o.name=e.tableName,o.alias=e.tableName,o.columns=new r.StiDataColumnsCollection(e.columns.toList()),t.dataSources.add(o),o}))},s.parsePathExpression=function(r,n){if(!StiOptions.Dictionary.allowRestConnections)return n;var a=new o;if(a.name="**RestConnection**",a.page=r.report.pages.getByIndex(0),n.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi)){var s="",l=0;while(l<n.length){var u=l;while(l<n.length&&"{"!=n[l])l++;if(l!=u&&(s+=n.substr(u,l-u)),l<n.length&&"{"==n[l]){u=++l;var c=!1;while(l<n.length){if('"'==n[l]){var p=++l;while(p<n.length){if('"'==n[p])break;"\\"==n[p]&&p++,p++}l=p+1;continue}if("}"==n[l]){var h=n.substr(u,l-u),m=t.Report.Engine.StiParser.StiParser.parseTextValue("{"+h+"}",a);null!=m&&m.stimulsoft.is(i)&&(m=m.toString("YYYY-MM-DDThh:mm:ss")),null!=m&&(s+=t.Report.Export.StiExportUtils.stringToUrl(m.toString())),c=!0,l++;break}l++}c||(s+=n.substr(u))}}return s}var f=null;try{f=e.Engine.StiParser.StiParser.parseTextValue(n,a)}catch(t){}if(null==f)return"";return f.toString()},s}(r.StiDatabase);r.StiFileDatabase=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.Report.Helpers.StiHyperlinkProcessor,i=t.Report.Helpers.StiUniversalDataLoader,o=t.System.Data.DataSet,a=function(a){function s(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=0),void 0===n&&(n=null),void 0===i&&(i="");var o=a.call(this,t,e,i)||this;return o.codePage=r,o.separator=n,o}return __extends(s,a),s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("Separator",this.separator),e.addPropertyNumberNoDefaultValue("CodePage",this.codePage),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"Separator":this.separator=o.value;break;case"CodePage":this.codePage=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){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Separator":this.separator=r.textContent;break;case"CodePage":this.codePage=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"serviceName",{get:function(){return"CSV"},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"componentId",{get:function(){return e.StiComponentId.StiCsvDatabase},enumerable:!1,configurable:!0}),s.prototype.getDataSet=function(e,a){var s=r.StiFileDatabase.parsePathExpression(e,this.pathData),l={pathData:s,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},u=new o,c=this,p=function(r){var p,h;if(null==r){if(null==(r=i.loadMutiple(e.report,s,".csv",!0,l.headers)))return;try{for(var m=__values(r),f=m.next();!f.done;f=m.next()){var d=f.value,g=d.array;if(null!=g){var S=t.Base.StiCsvHelper.getTable2(g,c.codePage,c.separator,a);if(null!=S){if(n.isResourceHyperlink(s))S.tableName=n.getResourceNameFromHyperlink(s);else if(d.name)S.tableName=d.name;else{var y=s.substring(s.lastIndexOf("/"));s!=y?y=y.substr(1):(y=s.substring(s.lastIndexOf("\\")),s!=y&&(y=y.substr(1))),S.tableName=y.lastIndexOf(".")>=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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PathSchema":this._pathSchema=n.textContent;break;case"PathData":this.pathData=n.textContent;break;case"XmlType":this._xmlType=a.parse(e.StiXmlType,n.textContent);break}}},Object.defineProperty(u.prototype,"serviceName",{get:function(){return"XML"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"pathSchema",{get:function(){return this._pathSchema},set:function(t){this._pathSchema=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"xmlType",{get:function(){return this._xmlType},set:function(t){this._xmlType=t},enumerable:!1,configurable:!0}),u.prototype.getDataSet=function(t){var e=r.StiFileDatabase.parsePathExpression(t,this.pathSchema),o=r.StiFileDatabase.parsePathExpression(t,this.pathData),a={pathData:e,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[]},l={pathData:o,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},u=new s,c=function(r){if(null==r&&!n.isNullOrEmpty(e)){var o=i.loadSingle(t.report,e,!1,a.headers);null!=o&&(r=o.array)}u.readXmlSchema(r)},p=function(e){if(null==e&&!n.isNullOrEmpty(o)){var r=i.loadSingle(t.report,o,!1,l.headers);null!=r&&(e=r.array)}u.readXml(e)};return t.report.invokeBeginProcessData(a,c),t.report.invokeBeginProcessData(l,p),0==a.preventDefault&&c(null),0==l.preventDefault&&p(null),t.report.invokeEndProcessData({dataSet:u}),u},u.prototype.getDataSetAsync=function(t){var e=new o,a=r.StiFileDatabase.parsePathExpression(t,this.pathSchema),l=r.StiFileDatabase.parsePathExpression(t,this.pathData),u={pathData:a,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[]},c={pathData:l,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},p=new s,h=!1,m=!1,f=function(r){h=!0,null!=r||n.isNullOrEmpty(a)||(r=i.loadSingle(t.report,a,!1,u.headers).array),p.readXmlSchema(r),m&&e.callTry(p)},d=function(r){m=!0,null!=r||n.isNullOrEmpty(l)||(r=i.loadSingle(t.report,l,!1,c.headers).array),p.readXml(r),h&&e.callTry(p)};return t.report.invokeBeginProcessData(u,f),t.report.invokeBeginProcessData(c,d),0==u.preventDefault&&f(null),0==c.preventDefault&&d(null),h&&m&&e.callTry(p),t.report.invokeEndProcessData({dataSet:p}),e},u.prototype.regData=function(t,e){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 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}}}},u.prototype.regDataAsync=function(t,e){var n=this,i=new o;return this.getDataSetAsync(t).try((function(e){var o,a;if(null!=e){e.dataSetName=n.name;try{for(var s=__values(e.tables.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=new r.StiData(n.name+"."+u.tableName,u);c.isReportData=!0,t.dataStore.setByName(c.name,c)}}catch(t){o={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}}i.callTry()})).abort(i),i},u.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 t.System.StiError.showError(e,!1),e}},u.prototype.getDatabaseInformationAsync=function(e){var n=new o;try{this.getDataSetAsync(e).try((function(t){var e,i,o=new r.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){e={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}n.callTry(o)})).abort(n)}catch(e){t.System.StiError.showError(e,!1),n.callCatch(e.message)}return n},u}(r.StiFileDatabase);r.StiXmlDatabase=l}(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.StiEncryption,o=t.System.Data.DataColumn,a=t.System.Data.DataTable,s=function(s){function l(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=null),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null);var o=s.call(this,t,e,i)||this;return o.connectionString=r,o.promptUserNameAndPassword=n,o}return __extends(l,s),l.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("ConnectionStringEncrypted",this.connectionStringEncrypted),e.addPropertyBool("PromptUserNameAndPassword",this.promptUserNameAndPassword),e},l.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"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}}},l.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ConnectionString":this.connectionString=r.textContent;break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=r.textContent;break;case"PromptUserNameAndPassword":this.promptUserNameAndPassword=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(l.prototype,"connectionType",{get:function(){return r.StiConnectionType.NoSql},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"connectionStringEncrypted",{get:function(){return i.encryptS(this.connectionString,"8pTP5X15uKADcSw7")},set:function(t){this.connectionString=i.decryptS(t,"8pTP5X15uKADcSw7")},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"canEditConnectionString",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),l.prototype.regData=function(t,e){var r;if(null==this.getDataAdapter())throw n.format("A data adapter for the database {0} not found",this.stimulsoft.getTypeName())},l.prototype.getDataAdapterType=function(){return null},l.prototype.getDataAdapter=function(){var t=this.getDataAdapterType(),e=this.dataAdapterType,r=StiOptions.Services.dataAdapters.where((function(t){return t.serviceEnabled})).firstOrDefault((function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e}));if(null!=r)return r;throw n.format("Data adapter for the {0} database is not found!",this)},l.prototype.applyDatabaseInformation=function(t,e,r){var n,i;void 0===r&&(r=null);try{for(var o=__values(t.tables),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},l.prototype.applyDatabaseInformationSource=function(t,n,i,o,a){var s,l;void 0===a&&(a=r.StiSqlSourceType.Table);var u=this.createDataSource(this.name,e.StiNameCreation.createName(n,o.tableName,!1,!1,!0));u.alias=o.tableName;try{for(var c=__values(o.columns.list),p=c.next();!p.done;p=c.next()){var h=p.value;u.columns.add(new r.StiDataColumn(h.columnName,h.columnName,h.columnName,h.dataType))}}catch(t){s={error:t}}finally{try{p&&!p.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}n.dictionary.dataSources.add(u)},l.prototype.getDatabaseInformation=function(){try{var e=new r.StiDatabaseInformation,n,i=this.createConnector(this.connectionString).retrieveSchema();if(null==i)return e;return e.tables.addRange(this.getDatabaseInformationTables(i)),e}catch(e){return t.System.StiError.showError(e,!1),null}},l.prototype.getDatabaseInformationTables=function(e){var r,i,s,l,u=[];try{for(var c=__values(e.tables),p=c.next();!p.done;p=c.next()){var h=p.value;try{var m=new a(h.name);try{for(var f=(s=void 0,__values(h.columns)),d=f.next();!d.done;d=f.next()){var g=d.value;null==m.columns.getByName(g.name)&&m.columns.add(new o(g.name,g.type))}}catch(t){s={error:t}}finally{try{d&&!d.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}n.isNullOrWhiteSpace(h.query)||(m.extendedProperties["Query"]=h.query),u.push(m)}catch(e){t.System.StiError.showError(e,!1)}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return u},l.prototype.createDataSource=function(t,e){return null},l.prototype.getConnectionStringHelper=function(){return null},l.prototype.createConnector=function(t){return void 0===t&&(t=null),null},l.prototype.getSampleConnectionString=function(){return""},l}(r.StiDatabase);r.StiNoSqlDatabase=s}(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=null),void 0===n&&(n=""),void 0===i&&(i=!1),void 0===o&&(o=null),r.call(this,t,e,n,i,o)||this}return __extends(n,r),n.prototype.createNew=function(){return new n},Object.defineProperty(n.prototype,"componentId",{get:function(){return t.StiComponentId.StiMongoDbDatabase},enumerable:!1,configurable:!0}),n.prototype.getDataAdapterType=function(){return e.StiMongoDbAdapterService},n.prototype.createDataSource=function(t,r){return new e.StiMongoDbSource(t,r)},n.prototype.getSampleConnectionString=function(){return"mongodb://<user>:<password>@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=<owner>;Database=<id>;Token=<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;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ConnectionString":this.connectionString=r.textContent;break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=r.textContent;break;case"PromptUserNameAndPassword":this._promptUserNameAndPassword=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"connectionType",{get:function(){return r.StiConnectionType.Sql},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"connectionString",{get:function(){return this._connectionString},set:function(t){this._connectionString=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"connectionStringEncrypted",{get:function(){return s.encryptS(this._connectionString,c.encryptedId)},set:function(t){this._connectionString=s.decryptS(t,c.encryptedId)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"promptUserNameAndPassword",{get:function(){return this._promptUserNameAndPassword},set:function(t){this._promptUserNameAndPassword=t},enumerable:!1,configurable:!0}),c.prototype.createDataSource=function(t,e){return new r.StiSqlSource(t,e)},c.prototype.getDataAdapter=function(){var t=this.dataAdapterType,e=StiOptions.Services.dataAdapters.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==t}));if(null!=e)return e;throw n.format("Data adapter for the {0} database is not found!",this)},c.prototype.getDataAdapterType=function(){return r.StiSqlAdapterService},c.prototype.regData=function(t,e){var r=this.getDataAdapter();if(null==r)throw new Error("Database "+this.stimulsoft.getType()+" not found");r.createConnectionInDataStore(t,this)},c.prototype.applyDatabaseInformation=function(t,e,r){void 0===r&&(r=null),this.applyDatabaseInformationTables(t,e,r),this.applyDatabaseInformationViews(t,e,r),this.applyDatabaseInformationProcedures(t,e,r)},c.prototype.applyDatabaseInformationTables=function(t,e,r){var n,i;try{for(var o=__values(t.tables),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},c.prototype.applyDatabaseInformationViews=function(t,e,r){var n,i;try{for(var o=__values(t.views),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},c.prototype.applyDatabaseInformationProcedures=function(t,e,n){var i,o;try{for(var a=__values(t.storedProcedures),s=a.next();!s.done;s=a.next()){var l=s.value;this.applyDatabaseInformationSource(t,e,n,l,r.StiSqlSourceType.StoredProcedure)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},c.prototype.applyDatabaseInformationSource=function(t,o,a,s,l){var u,c;void 0===l&&(l=r.StiSqlSourceType.Table);var p=this.createDataSource(this.name,e.StiNameCreation.createName(o,s.tableName,!1,!1,!0)),h=p.getDataAdapter();p.sqlCommand=null!=s.extendedProperties["Query"]?p.sqlCommand=s.extendedProperties["Query"]:n.format("select * from {0}",null!=h?h.getDatabaseSpecificName(s.tableName):s.tableName);var m=new i;try{for(var f=__values(s.columns.list),d=f.next();!d.done;d=f.next()){var g=d.value;m=0==m.length?m.append(g.columnName):m.appendFormat(", {0}",g.columnName),p.columns.add(new r.StiDataColumn(g.columnName,g.columnName,g.columnName,g.dataType))}}catch(t){u={error:t}}finally{try{d&&!d.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}p.type=l;var S=null!=a?a.tables.firstOrDefault((function(t){return t.tableName==s.tableName})):null;null!=S&&s.columns.count!=S.columns.count&&p.sqlCommand.stimulsoft.contains("*")&&m.length>0&&(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<e.childNodes.length;r++){var n=e.childNodes[r],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type"))switch(n.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Dictionary.StiXmlDatabase":var o=new t.Report.Dictionary.StiXmlDatabase;o.loadFromXml(n),this.list.push(o);break;case"Stimulsoft.Report.Dictionary.StiJsonDatabase":var a=new t.Report.Dictionary.StiJsonDatabase;a.loadFromXml(n),this.list.push(a);break;case"Stimulsoft.Report.Dictionary.StiSqlDatabase":var s=new t.Report.Dictionary.StiSqlDatabase;s.loadFromXml(n),this.list.push(s);break;case"Stimulsoft.Report.Dictionary.StiMySqlDatabase":var l=new t.Report.Dictionary.StiMySqlDatabase;l.loadFromXml(n),this.list.push(l);break;case"Stimulsoft.Report.Dictionary.StiExcelDatabase":var u=new t.Report.Dictionary.StiExcelDatabase;u.loadFromXml(n),this.list.push(u);break;case"Stimulsoft.Report.Dictionary.StiCsvDatabase":var c=new t.Report.Dictionary.StiCsvDatabase;c.loadFromXml(n),this.list.push(c);break;case"Stimulsoft.Report.Dictionary.StiODataDatabase":var p=new t.Report.Dictionary.StiODataDatabase;p.loadFromXml(n),this.list.push(p);break;case"Stimulsoft.Report.Dictionary.StiPostgreSQLDatabase":var h=new t.Report.Dictionary.StiPostgreSQLDatabase;h.loadFromXml(n),this.list.push(h);break;case"Stimulsoft.Report.Dictionary.StiOracleDatabase":var m=new t.Report.Dictionary.StiOracleDatabase;m.loadFromXml(n),this.list.push(m);break;case"Stimulsoft.Report.Dictionary.StiDataWorldDatabase":var f=new t.Report.Dictionary.StiDataWorldDatabase;f.loadFromXml(n),this.list.push(f);break;case"Stimulsoft.Report.Dictionary.StiFirebirdDatabase":var d=new t.Report.Dictionary.StiFirebirdDatabase;d.loadFromXml(n),this.list.push(d);break;default:var g=new t.Report.Dictionary.StiUndefinedDatabase;g.loadFromXml(n),this.list.push(g);break}}},a.prototype.indexOf=function(t){var r,n;if(t.stimulsoft.is(e.StiDatabase))return this.list.indexOf(t);var i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s;if(t==a.value.name)return i;i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return-1},a.prototype.remove=function(t){if(t.stimulsoft.is(e.StiDatabase))this.list.stimulsoft.remove(t);else{var r=this.indexOf(t);if(-1==r)throw new Error("Database '"+t+"' is not found");this.list.splice(r,1)}},a.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},a.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},a.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},a}(r);e.StiDatabaseCollection=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){return void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=!1),void 0===o&&(o=""),t.call(this,e,r,o)||this}return __extends(e,t),e}(t.StiDatabase);t.StiUndefinedDatabase=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){t[t["Sql"]=0]="Sql",t[t["NoSql"]=1]="NoSql",t[t["Other"]=2]="Other",t[t["Rest"]=3]="Rest",t[t["Custom"]=4]="Custom",t[t["OnlineServices"]=5]="OnlineServices"}(e=t.StiConnectionType||(t.StiConnectionType={}))}(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.IComparable,i=t.System.Text.StringBuilder,o=function(){function r(t,e,r,n,i,o,a,s,l,u){void 0===a&&(a=""),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null),this._useFullPath=!0,this._category="",this._groupFunctionName="",this._functionName="",this._description="",this._typeOfFunction=null,this._returnType=null,this._returnDescription="",this._argumentTypes=null,this._argumentNames=null,this._argumentDescriptions=null,this.category=t,this.description=n,this.returnDescription=a,this.groupFunctionName=e,this.functionName=r,this.typeOfFunction=i,this.returnType=o,this.argumentTypes=s,this.argumentNames=l,this.argumentDescriptions=u}return r.prototype.implements=function(){return[n]},r.prototype.compareTo=function(t){var e=t.stimulsoft.as(r);return this.functionName.stimulsoft.compareTo(e.functionName)},Object.defineProperty(r.prototype,"useFullPath",{get:function(){return this._useFullPath},set:function(t){this._useFullPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"groupFunctionName",{get:function(){return this._groupFunctionName},set:function(t){this._groupFunctionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"functionName",{get:function(){return this._functionName},set:function(t){this._functionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"typeOfFunction",{get:function(){return this._typeOfFunction},set:function(t){this._typeOfFunction=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"returnType",{get:function(){return this._returnType},set:function(t){this._returnType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"returnDescription",{get:function(){return this._returnDescription},set:function(t){this._returnDescription=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"argumentTypes",{get:function(){return this._argumentTypes},set:function(t){this._argumentTypes=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"argumentNames",{get:function(){return this._argumentNames},set:function(t){this._argumentNames=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"argumentDescriptions",{get:function(){return this._argumentDescriptions},set:function(t){this._argumentDescriptions=t},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.functionName},r.prototype.getLongFunctionString=function(t){var r,n,o,a,s;if(t==e.StiReportLanguageType.CSharp){var s;(s=new i).append(this.convertTypeToString(this.returnType,t)),s.append(" "),s.append(this.functionName),s.append(" (");var l=0;if(null!=this.argumentTypes)try{for(var u=__values(this.argumentTypes),c=u.next();!c.done;c=u.next()){var p=c.value,h=this.argumentNames[l];p.stimulsoft.is(Array)||(s.append(this.convertTypeToString(p,t)),s.append(" ")),s.append(h),++l!=this.argumentTypes.length&&s.append(", ")}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return s.append(")"),s.toString()}(s=new i).append(this.functionName),s.append("(");var l=0;if(null!=this.argumentTypes)try{for(var m=__values(this.argumentTypes),f=m.next();!f.done;f=m.next()){var p=f.value,h=this.argumentNames[l];s.append(h),s.append(" As "),s.append(this.convertTypeToString(p,t)),++l!=this.argumentTypes.length&&s.append(", ")}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}return s.append(")"),"void"!=this.returnType.toString()&&s.append(" As "+this.convertTypeToString(this.returnType,t)),s.toString()},r.prototype.getFunctionString=function(t,e){var r,n;void 0===e&&(e=!0);var o=new i;e&&o.append(this.functionName),o.append(" (");var a=0;if(null!=this.argumentTypes)try{for(var s=__values(this.argumentTypes),l=s.next();!l.done;l=s.next()){var u=l.value,c=this.argumentNames[a];u.stimulsoft.is(Array)?o.append(c):o.append(this.convertTypeToString(u,t)),++a!=this.argumentTypes.length&&o.append(", ")}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o.append(")"),"void"!=this.returnType.toString()&&o.append(" : "+this.convertTypeToString(this.returnType,t)),o.toString()},r.prototype.convertTypeToString=function(e,r){if(e==t.System.Int32)return"int";if(e==t.System.UInt32)return"uint";if(e==t.System.Int64)return"long";if(e==t.System.UInt64)return"ulong";if(e==String)return"string";if(e==Boolean)return"bool";if(e==t.System.Byte)return"byte";if(e==t.System.SByte)return"sbyte";if(e==t.System.Int16)return"short";if(e==t.System.UInt16)return"ushort";if(e==t.System.Char)return"char";if(e==t.System.Double)return"double";if(e==t.System.Single)return"float";if(e==t.System.Decimal)return"decimal";if(e==t.System.DateTime)return"DateTime";if(e==t.System.TimeSpan)return"TimeSpan";if(e==t.System.Guid)return"Guid";if(e==t.System.NullableByte)return"byte?";if(e==t.System.NullableSByte)return"sbyte?";if(e==t.System.NullableBoolean)return"bool?";if(e==t.System.NullableByte)return"char?";if(e==t.System.NullableInt16)return"short?";if(e==t.System.NullableUInt16)return"ushort?";if(e==t.System.NullableInt32)return"int?";if(e==t.System.NullableUInt32)return"uint?";if(e==t.System.NullableInt64)return"long?";if(e==t.System.NullableUInt64)return"ulong?";if(e==t.System.NullableDouble)return"double?";if(e==t.System.NullableSingle)return"float?";if(e==t.System.NullableDecimal)return"decimal?";if(e==t.System.NullableDateTime)return"DateTime?";if(e==t.System.NullableTimeSpan)return"TimeSpan?";if(e==t.System.NullableGuid)return"Guid?";if(e==Object)return"object";return e.stimulsoft.getType().stimulsoft.getTypeName()},r}();r.StiFunction=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=function(){function r(){}return r.create=function(){0==r.isCreated&&(e.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of an integer.","System.Math",t.System.Int64,"An integer.",[t.System.Int64],["value"],["integer."]),e.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a decimal number.","System.Math",t.System.Decimal,"A decimal number.",[t.System.Decimal],["value"],["A decimal number."]),e.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a floating-point number.","System.Math",t.System.Double,"A floating-point number.",[t.System.Double],["value"],["A floating-point number."]),e.StiFunctions.addFunction("Math","","Div","Returns result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Result of checking.",[t.System.Int64,t.System.Int64],["value1","value2"],["Divisible","Divisor"]),e.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"The result of checking.",[t.System.Int64,t.System.Int64,t.System.Int64],["value1","value2","zeroResult"],["Divisible","Divisor"]),e.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is equal to 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Result of checking.",[t.System.Double,t.System.Double],["value1","value2"],["Divisible","Divisor"]),e.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Result of checking.",[t.System.Double,t.System.Double,t.System.Double],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),e.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Result of checking.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["Divisible","Divisor"]),e.StiFunctions.addFunction("Math","","Div","Returns result of dividing value1 and value2. If value2 is zero, then result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Result of checking.",[t.System.Decimal,t.System.Decimal,t.System.Decimal],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),e.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of an integer.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Int64],["value"],["integer."]),e.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a decimal number.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Decimal],["value"],["A decimal number."]),e.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a floating-point number.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Double],["value"],["A floating-point number."]),e.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",t.System.Decimal,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other is odd, then the even number is returned.",[t.System.Decimal],["value"],["A decimal number to be rounded."]),e.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",t.System.Decimal,"The number nearest to a value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of value is less than decimals, then value is returned unchanged.",[t.System.Decimal,t.System.Int32],["value","decimals"],["A decimal number to be rounded.","The number of significant decimal places (precision) in the return value."]),e.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",t.System.Double,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other odd, then the even number is returned.",[t.System.Double],["value"],["A floating-point number to be rounded."]),e.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",t.System.Double,"The number nearest value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of a value is less than decimals, then the value is returned unchanged.",[t.System.Double,t.System.Int32],["value","decimals"],["A floating-point number to be rounded.","The number of significant decimal places (precision) in the return value."]),e.StiFunctions.addFunction("Math","","Truncate","Calculates an integral part of the specified decimal number.","System.Math",t.System.Decimal,"The integral part of a value; that is, the number that remains after any fractional digits have been discarded.",[t.System.Decimal],["value"],["A number to truncate."]),e.StiFunctions.addFunction("Math","","Truncate","Calculates the integral part of a specified floating-point number.","System.Math",t.System.Double,"An integral part of a value; that is, the number that remains after any fractional digits were discarded.",[t.System.Double],["value"],["A number to truncate."]),e.StiFunctions.addFunction("Math","","Sin","Returns the sine of the specified angle.","System.Math",t.System.Double,"The sine of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),e.StiFunctions.addFunction("Math","","Cos","Returns the cosine of the specified angle.","System.Math",t.System.Double,"The cosine of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),e.StiFunctions.addFunction("Math","","Tan","Returns the tangent of the specified angle.","System.Math",t.System.Double,"The tangent of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),e.StiFunctions.addFunction("Math","","Acos","Returns an angle which cosine is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a cosine."]),e.StiFunctions.addFunction("Math","","Asin","Returns the angle which sine is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a sine."]),e.StiFunctions.addFunction("Math","","Atan","Returns the angle which tangent is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a tangent."]),e.StiFunctions.addFunction("Math","","Sqrt","Returns the square root of a specified number.","System.Math",t.System.Double,"Return the positive square root of value.",[t.System.Double],["value"],["A number."]),e.StiFunctions.addFunction("Math","","Exp","Returns e raised to the specified power.","System.Math",t.System.Double,"The number e raised to the power value.",[t.System.Int64],["value"],["A number specifying a power."]),e.StiFunctions.addFunction("Math","","Log","Returns the natural (base e) logarithm of a specified number.","System.Math",t.System.Double,"Returns the natural logarithm of a value.",[t.System.Double],["value"],["A number which logarithm is to be found."]),e.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Parameter val1 or val2, whichever is larger.",[t.System.Double,t.System.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),e.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Parameter val1 or val2, whichever is larger.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),e.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two integers numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Parameter val1 or val2, whichever is larger.",[t.System.Int64,t.System.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),e.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Parameter val1 or val2, whichever is smaller.",[t.System.Double,t.System.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),e.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Parameter val1 or val2, whichever is smaller.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),e.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two integer numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Parameter val1 or val2, whichever is smaller.",[t.System.Int64,t.System.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),e.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater than or equal to the specified floating-point number.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"The smallest integer greater or equal to value.",[t.System.Double],["value"],["A floating-point number. "]),e.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater or equal to the specified decimal number.","System.Math",t.System.Decimal,"The smallest integer greater or equal to value.",[t.System.Decimal],["value"],["A decimal number."]),e.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified floating-point number.","System.Math",t.System.Double,"The largest integer less or equal to value.",[t.System.Double],["value"],["A floating-point number. "]),e.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified decimal number.","System.Math",t.System.Decimal,"The largest integer less or equal to d.",[t.System.Decimal],["value"],["A decimal number."]),r.isCreated=!0)},r.isCreated=!1,r}();e.StiFunctionsMath=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 e(){}return e.create=function(){0==e.isCreated&&(t.StiFunctions.addFunction("Print State","","IsNull","Returns true if the specified row value is equal to null or DBNull.Value.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["Data Source for processing.","Name of Data Column."]),t.StiFunctions.addFunction("Print State","","NextIsNull","Returns true if the next row value is equal to null or DBNull.Value. If the next row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","Name of the Data Column."]),t.StiFunctions.addFunction("Print State","","PreviousIsNull","Returns true if the previous row value is equal to null or DBNull.Value. If the previous row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),t.StiFunctions.addFunction("Print State","","Previous","Returns a value of the specified field in the previous entry. If the previous row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),t.StiFunctions.addFunction("Print State","","Next","Returns a value of the specified field in the previous entry. If the next row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),e.isCreated=!0)},e.isNull=function(t,e){var r=t,n;if(null!=t)return null==t.getData(e);return!0},e.next=function(t,e){var r=t,n="*nextFunction*";null!=r&&r.saveState(n);var i=null;try{if(null!=r){if(r.next(),r.isEof)return null;i=r.getData(e)}}finally{null!=r&&r.restoreState(n)}return i},e.nextIsNull=function(t,e){var r;return null==this.next(t,e)},e.previous=function(t,e){var r=t,n="*prevFunction*";null!=r&&r.saveState(n);var i=null;try{if(null!=r){if(r.prior(),r.isBof)return null;i=r.getData(e)}}finally{null!=r&&r.restoreState(n)}return i},e.previousIsNull=function(t,e){var r;return null==this.previous(t,e)},e.isCreated=!1,e}();t.StiFunctionsPrintState=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 e(){}return e.create=function(){0==e.isCreated&&(t.StiFunctions.addFunction("Programming Shortcut","","Choose","Choose returns a value from the list of choices based on the value of index.","Stimulsoft.Report.Dictionary.StiFunctionsProgrammingShortcut",Object,"A value from the given list of choices.",[Object],["index, choice1, choice2, ..."],["The index is a number that specifies the index of the choice. It should be between 1 and the number of available choices. If it is out of bounds, Choose returns null."]),t.StiFunctions.addFunction("Programming Shortcut","","Switch","The Switch evaluates the expressions from left to right, and returns the value associated with the first expression to evaluate to True. If all of the expressions are False, then Switch returns null.","Stimulsoft.Report.Dictionary.StiFunctionsProgrammingShortcut",Object,"One of the values in the value list value1, value2, and so on.",[Object],["condition1, value1, condition2, value2, ..."],["Condition1, condition2, and so on are Boolean expressions. value1, value2, and so on are the possible values that may be returned."]),t.StiFunctions.addFunction("Programming Shortcut","","IIF","Returns one of two parts, depending on the evaluation of the expression.","IsNull",Object,"truePart if an expression is True and falsePart if an expression is False.",[Boolean,Object,Object],["condition","truePart","falsePart"],["A Boolean expression.","A value is returned if an expression is True.","A value is returned if an expression is False."]),e.isCreated=!0)},e.isCreated=!1,e}();t.StiFunctionsProgrammingShortcut=e}(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.Data.DBNull,a=function(){function a(){}return a.create=function(){0==a.isCreated&&(r.StiFunctions.addFunction("Strings","","Length","Returns the number of characters of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",t.System.Int32,"A number of characters.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","Trim","Removes all occurrences of white space characters from the beginning and end of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String after white space characters are removed.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToLowerCase","Returns a string converted to lowercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the lowercase.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToUpperCase","Returns a string converted to uppercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the uppercase.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToProperCase","Capitalizes the first letter of each word in the string and converts all other letters to lower case.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A converted String.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","Substring","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,t.System.Int32,t.System.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Mid","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,t.System.Int32,t.System.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Left","Returns a string containing a specified number of characters from the left side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the left side of a string, or Empty if length is zero.",[String,t.System.Int32],["str","length"],["Text String.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Right","Returns a string containing a specified number of characters from the right side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the right side of a string, or Empty if length is zero.",[String,t.System.Int32],["str","length"],["Text String.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Roman","Converts an Arabic numeral to a Roman numeral, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the roman numeral representation of value.",[t.System.Int32],["value"],["Arabic numeral to be converted."]),r.StiFunctions.addFunction("Strings","","Arabic","Converts Number to Arabic numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the arabic numeral representation of value.",[t.System.Int32],["value"],["Number to be converted."]),r.StiFunctions.addFunction("Strings","","Arabic","Converts all digits in string to Arabic digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with arabic digits.",[String],["value"],["String to be converted."]),r.StiFunctions.addFunction("Strings","","Persian","Converts Number to Persian numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the persian numeral representation of value.",[t.System.Int32],["value"],["Number to be converted."]),r.StiFunctions.addFunction("Strings","","Persian","Converts all digits in string to Persian digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with persian digits.",[String],["value"],["String to be converted."]),r.StiFunctions.addFunction("Strings","","Replace","Replaces all occurrences of a specified string in the specified instance, with another specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string equivalent to specified string but with all instances of an oldValue replaced with a newValue.",[String,String,String],["str","oldValue","newValue"],["A string to be processed.","A string to be replaced.","A string to replace all occurrences of oldValue."]),r.StiFunctions.addFunction("Strings","","Remove","Deletes a specified number of characters from this instance beginning at a specified position.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string that is equivalent to the specified string less count number of characters.",[String,t.System.Int32,t.System.Int32],["str","startIndex","count"],["A string to be processed.","The position to begin deleting characters. ","The number of characters to delete."]),r.StiFunctions.addFunction("Strings","","Insert","Inserts a specified instance of a string to the specified index position in the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string equivalent to the specified string but with value inserted at the startIndex position.",[String,t.System.Int32,String],["str","startIndex","value"],["A string to be processed.","The index position of the insertion.","The String to insert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[t.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[t.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with cents.",[t.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with or without cents with the first symbol in the uppercase.",[t.System.Int64,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with cents.",[t.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[t.System.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with cents.",[t.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase.",[t.System.Double,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase. Names of cents and dollars of the currency is to be specified in the dollars and cents parameters.",[t.System.Double,Boolean,Boolean,String,String],["value","upperCase","showCents","dollars","cents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String.",'A string in format "dollar/ dollars" ("pound/ pounds"), etc.','A string in format "cent/ cents" ("penny/ pence"), etc.']),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[t.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[t.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[t.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[t.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[t.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float- point value with the first symbol in the uppercase.",[t.System.Double,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value.",[t.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value.",[t.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[t.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[t.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[t.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[t.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[t.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[t.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Double,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToWords","ToWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[t.System.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPtBr","Converts the specified value to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPt","Converts the specified value: DateTime to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[t.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPtBr","Converts the specified value: DateTime to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[t.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsFr","Converts the specified value to its equivalent string representation in French (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Decimal,String,t.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Decimal,String,t.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("USD", "EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Int64,Boolean,Boolean],["value","upperCase","female"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then the female form will be used."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsNl","Converts the specified value to its equivalent string representation in Dutch (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Decimal,String,t.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnGb","Converts the specified value to its equivalent string representation in English (United Kingdom) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[t.System.Decimal,String,t.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsFa","Converts the specified value to its equivalent string representation in Persian (Farsi) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the value: number.",[t.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsPl","Converts the specified value to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPl","Converts the specified value: DateTime to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[t.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPl","Converts the specified value to its equivalent string representation with using specified currency in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[t.System.Decimal,String,Boolean,Boolean],["value","currencyISO","showCents","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "USD", "EUR", "PLN".',"If this parameter is true then cents of the value will be added to the resulting String.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEnIn","Converts the specified value to its equivalent string representation in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value.",[t.System.Int64,Boolean],["value","blankIfZero"],["A value containing a number to convert.","If this parameter is true and the value to convert is zero then return a empty String."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnIn","Converts the specified value to its equivalent string representation with using specified currency in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value.",[String,String,t.System.Decimal,t.System.Int32,Boolean],["currencyBasicUnit","currencyFractionalUnit","value","decimalPlaces","blankIfZero"],['The basic unit of the currency ("Rupees").','The fractional unit of the currency ("paisa").',"A value containing a currency to convert.","The number of decimal places to use while converting.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","TryParseDecimal","Converts the object representation of a number to its Decimal equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing the value to convert."]),r.StiFunctions.addFunction("Strings","","TryParseDouble","Converts the object representation of a number to its double-precision floating-point number equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","","TryParseLong","Converts the object representation of a number to its 64-bit signed integer equivalent","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToOrdinal","Converts the specified value to its ordinal representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A value containing an ordinal representation of the number.",[t.System.Int64],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsZh","Converts the specified value to its equivalent string representation in Chinese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[t.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsAr","Converts the specified value to its equivalent string representation in Arabic language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[t.System.Int64],["value"],["A value containing a number to convert."]),a.isCreated=!0)},a.toProperCase=function(t){if(null==t||t==o.value)return"";return t.toLowerCase().replace(/(^|[\s\xA0])[^\s\xA0]/g,(function(t){return t.toUpperCase()}))},a.substring=function(t,e,r){if(null==t||t==o.value)return"";var n=t.toString();if(e+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;s<a;s++){var l=this.conditions[i][s][0],u=this.conditions[o][s][0],c=+this.conditions[i][s][1],p=this.compareValues(l,u,c==n.Ascending);if(0==p)continue;return p}if(null==this.sortColumns||0==this.sortColumns.length)return 0;var h=0,m=0;while(m<this.sortColumns.length){var f=!1;"ASC"==this.sortColumns[m++]&&(f=!0);var d=m;while(m<this.sortColumns.length&&"ASC"!=this.sortColumns[m]&&"DESC"!=this.sortColumns[m])m++;var g=e,S=r;if(m-d>1)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;l<s.length;l++)n.isLetterOrDigit(s.charAt(l))||(s=s.substr(0,l)+"_"+s.substr(l+1));return s.length>0&&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;i<n.length;i++)e+=t.correctName(n[i]),i<n.length-1&&(e+=".");return e},t.cache=new i,t}();e.StiNameValidator=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.StiNameValidator,n=function(){function t(){}return t.getColumnFromPath=function(t,e){var n,i,o,a=t.split(".")[0];try{for(var s=__values(e.dataSources.list),l=s.next();!l.done;l=s.next()){var u=l.value;if(r.correctName(u.name)==a&&t.length>u.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;n<this.list.length;n++){var i;if(this.getByIndex(n).name.toLowerCase()==r)return void(this.list[n]=e)}this.add(e)},s.prototype.regData=function(n,l,u,c){var p,h;if(void 0===c&&(c=a.ParentToChild),null!=u){if(r.isNullOrEmpty(l)&&!r.isNullOrEmpty(n)&&(l=n),u.stimulsoft.is(i))return void(r.isNullOrEmpty(l)?this.regDataDataTable2(u):this.regDataDataTable(n,l,u));if(u.stimulsoft.is(o))return r.isNullOrEmpty(l)&&this.regDataDataSet2(u),void this.regDataDataSet(n,l,u);if(u.stimulsoft.is(String))try{var m=new o(n);return u.trim().stimulsoft.startsWith("<?xml")?m.readXml(u):m.readJson(u,c),void this.regDataDataSet(n,l,m)}catch(e){t.System.StiError.showError(e,!1)}if(u.stimulsoft.is(s))return void this.regDataStiDataCollection(u);if(u.stimulsoft.is(Object))try{var f=new o(n);return void 0!==u["firstChild"]&&void 0!==u["lastChild"]?f.readXml(u):f.readJson(u,c),void this.regDataDataSet(n,l,f)}catch(e){t.System.StiError.showError(e,!1)}var d,g=(new e.StiBusinessObjectToDataSet).convertBusinessObjectToDataSet(n,u);if(null!=g)try{for(var S=__values(g.tables.list),y=S.next();!y.done;y=S.next()){var A=y.value;this.regDataDataTable(A.tableName,l,A),this.getByIndex(this.length-1).data=u,this.getByIndex(this.length-1).isBusinessObjectData=!0}}catch(t){p={error:t}}finally{try{y&&!y.done&&(h=S.return)&&h.call(S)}finally{if(p)throw p.error}}else this.add(new e.StiData(n,u)),this.getByIndex(this.length-1).alias=l,this.getByIndex(this.length-1).isBusinessObjectData=!0}},s.prototype.regDataDataTable=function(t,r,n){null!=n&&(null==this.getByName(t)?(this.add(new e.StiData(t,n,n)),this.getByIndex(this.length-1).alias=r):(this.getByName(t).data=n,this.getByName(t).viewData=n,this.getByName(t).alias=r))},s.prototype.regDataDataSet=function(t,e,r){var n,i;if(null!=r)try{for(var o=__values(r.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.regDataDataTable(t+"."+s.tableName,e,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},s.prototype.regDataDataTable2=function(t){var e=t.tableName;r.isNullOrEmpty(e)&&(e="Table"),this.regData(e,"",t)},s.prototype.regDataDataSet2=function(t){var e=t.dataSetName;r.isNullOrEmpty(t.dataSetName)&&(e="DataSet"),this.regData(e,"",t)},s.prototype.regDataStiDataCollection=function(t){var e,r;if(t==this)return;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}}},s.prototype.clearReportDatabase=function(){var t=0;while(t<this.length)this.getByIndex(t).isReportData?this.removeAt(t):t++},s.prototype.contains=function(t){if(t.stimulsoft.is(e.StiData))return this.list.stimulsoft.contains(t.stimulsoft.as(e.StiData));if(t.stimulsoft.is(String))return null!=this.getByName(t);return!1},s.prototype.getData=function(t){var e,r,n=new s;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.viewData.stimulsoft.getType()==t&&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},s}(n);e.StiDataCollection=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.System.Enum,n=t.System.Data.DataColumn,i=t.System.Collections.CollectionBase,o=t.System.Type,a=t.System.Collections.Hashtable,s=t.Base.StiJson,l=t.Base.JsonReportObject.IStiJsonReportObject,u=t.System.Text.XMLConvert,c=t.Base.StiTypeFinder,p=function(i){function p(t){var r=i.call(this)||this;if(r.cachedDataColumns=new a,r.directionFactor=1,null!=t)if(Array.isArray(t)){var o=void 0;t.length>0&&(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;i<n.childNodes.length;i++){var o=n.childNodes[i];if("value"==o.nodeName){var a=o.textContent.split(",");if(7==a.length||6==a.length)if("CALC"==a[0]){var s=String;try{s=c.getStiType(this.decodeTypeName(a[3]))}catch(e){t.System.StiError.showError(e,!1)}var l=new e.StiCalcDataColumn(u.decodeName(a[1]),u.decodeName(a[2]),s,u.decodeName(a[4]),u.decodeName(a[5]));this.add(l)}else if("TRANSFORM"==a[0]){var s=c.getStiType(this.decodeTypeName(a[3]));s=p.checkType(this.decodeTypeName(a[2]),s);var h=6==a.length?e.StiDataTransformationMode.Dimension:r.parse(e.StiDataTransformationMode,u.decodeName(a[6])),m=new e.StiDataTransformationColumn(u.decodeName(a[1]),u.decodeName(a[2]),s,u.decodeName(a[4]),u.decodeName(a[5]),h);this.add(m)}else{var s=String;try{s=c.getStiType(this.decodeTypeName(a[4]))}catch(e){t.System.StiError.showError(e,!1)}var m=new e.StiDataColumn(u.decodeName(a[1]),u.decodeName(a[2]),u.decodeName(a[3]),s,u.decodeName(a[5]));this.add(m)}else if(5==a.length)if("ORIGINAL"==a[0]){var s=String;try{s=c.getStiType(this.decodeTypeName(a[4]))}catch(e){t.System.StiError.showError(e,!1)}var m=new e.StiDataColumn(u.decodeName(a[1]),u.decodeName(a[2]),u.decodeName(a[3]),s);this.add(m)}else{var s=String;try{s=c.getStiType(this.decodeTypeName(a[2]))}catch(e){t.System.StiError.showError(e,!1)}var l=new e.StiCalcDataColumn(u.decodeName(a[0]),u.decodeName(a[1]),s,u.decodeName(a[4]));this.add(l)}else if(4==a.length){var s=String;try{s=c.getStiType(this.decodeTypeName(a[2]))}catch(e){t.System.StiError.showError(e,!1)}var l=new e.StiCalcDataColumn(u.decodeName(a[0]),u.decodeName(a[1]),s,u.decodeName(a[3]));this.add(l)}else if(3==a.length){var s=String;try{s=c.getStiType(this.decodeTypeName(a[2]))}catch(e){t.System.StiError.showError(e,!1)}var m=new e.StiDataColumn(u.decodeName(a[0]),u.decodeName(a[0]),u.decodeName(a[1]),s);this.add(m)}else{var s=String;try{s=c.getStiType(this.decodeTypeName(a[1]))}catch(e){t.System.StiError.showError(e,!1)}var m=new e.StiDataColumn(u.decodeName(a[0]),u.decodeName(a[0]),u.decodeName(a[0]),s);this.add(m)}}}},p.checkType=function(t,e){return null==e&&(e=Object),e},p.prototype.onInsert=function(t){var e=t;null!=e&&(null==e.dataSource&&(e.dataSource=this.dataSource),null==e.businessObject&&(e.businessObject=this.businessObject),null==e.dataColumnsCollection&&(e.dataColumnsCollection=this))},p.prototype.add=function(t,r,n){if(t.stimulsoft.is(e.StiDataColumn)&&(this.list.push(t.stimulsoft.as(e.StiDataColumn)),this.onInsert(t)),"string"==typeof t&&null!=r&&r.stimulsoft.is(o)&&this.add(t,t,r),"string"==typeof t&&null!=r&&"string"==typeof r&&null!=n){var i=new e.StiDataColumn("",t,r,n);this.add(i),this.onInsert(i)}},p.prototype.contains=function(t){var r,n;if(t.stimulsoft.is(e.StiDataColumn))return this.list.stimulsoft.contains(t.stimulsoft.as(e.StiDataColumn));if("string"==typeof t)try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;if(o.value.name==t)return!0}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},p.prototype.insert=function(t,e){this.list.stimulsoft.insert(t,e),this.onInsert(e)},p.prototype.remove=function(t){this.list.stimulsoft.remove(t);var e=t.name.toLowerCase();this.cachedDataColumns.contains(e)&&this.cachedDataColumns.remove(e)},p.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedDataColumns.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedDataColumns.set(t,a),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},p.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},p.prototype.sort=function(t){t==e.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()},p}(i);e.StiDataColumnsCollection=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.Report.Expressions.StiExpression,i=t.Base.JsonReportObject.IStiJsonReportObject,o=function(t){function r(e,r,n,i,o){var a=t.call(this)||this;return a.dataParametersCollection=null,a._inherited=!1,a._type=0,a._size=0,a._key=null,null==e&&(e="Parameter"),null==r&&(e=""),null==n&&(n=0),null==i&&(i=0),a._type=n,a._name=e,a.value=r,a._size=i,null!=o&&(a._key=o),a}return __extends(r,t),r.prototype.implements=function(){return[e.IStiName,i]},r.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.removeProperty("Value"),r.addPropertyString("Name",this.name),r.addPropertyStringNullOrEmpty("Expression",this.expression),r.addPropertyNumber("Type",this.type),r.addPropertyNumber("Size",this.size),r.addPropertyStringNullOrEmpty("Key",this.key),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"Name":this._name=a.value;break;case"Expression":this.expression=a.value;break;case"Type":this._type=a.value.stimulsoft.toNumber();break;case"Size":this._size=a.value.stimulsoft.toNumber();break;case"Key":this._key=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(r.prototype,"inherited",{get:function(){if(null!=this.dataSource)return this.dataSource.inherited;return!1},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"applyFormat",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"expression",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!1,configurable:!0}),r.prototype.getParameterValue=function(){var t=null;null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&(t=this.dataSource.dictionary.report.variables);var e=null;return null!=t&&t.containsKey(this.name)?"string"==typeof(e=t.get(this.name))&&"#null#"==e&&(e=null):e=this.parameterValue,e},Object.defineProperty(r.prototype,"parameterValue",{get:function(){return this._parameterValue},set:function(t){this._parameterValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.name},r}(n),a;r.StiDataParameter=o,function(t){t[t["Name"]=100]="Name",t[t["Expression"]=200]="Expression",t[t["Size"]=300]="Size",t[t["Type"]=400]="Type"}(a||(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.CollectionBase,n=t.System.Collections.Hashtable,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,a=function(r){function a(t){void 0===t&&(t=null);var e=r.call(this)||this;return e.cachedDataParameters=new n,e.dataSource=t,e}return __extends(a,r),a.prototype.implements=function(){return[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.StiDataParameter;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(r){for(var n=0;n<r.childNodes.length;n++){var i=r.childNodes[n];if("value"==i.nodeName){var o=i.textContent.split(",");if(4==o.length){var a=new e.StiDataParameter(t.System.Text.XMLConvert.decodeName(o[0]),t.System.Text.XMLConvert.decodeName(o[1]),o[2].stimulsoft.toNumber(),o[3].stimulsoft.toNumber());this.list.push(a)}else{var a=new e.StiDataParameter(t.System.Text.XMLConvert.decodeName(o[0]),t.System.Text.XMLConvert.decodeName(o[1]),o[2].stimulsoft.toNumber(),o[3].stimulsoft.toNumber(),o[4]);this.list.push(a)}}}},a.prototype.onInsert=function(t,e){null==e.dataSource&&(e.dataSource=this.dataSource),null==e.dataParametersCollection&&(e.dataParametersCollection=this)},a.prototype.contains=function(t){var r,n;if(t.stimulsoft.is(e.StiDataParameter))return this.list.stimulsoft.contains(t);if("string"==typeof t)try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;if(o.value.name==t)return!0}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},a.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedDataParameters.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedDataParameters.set(t,a),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},a.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},a}(r);e.StiDataParametersCollection=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.ICloneable,i=t.Base.StiJsonReportObjectHelper,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJson,s=t.Base.IStiAppDataRelation,l=t.Base.StiKeyHelper,u=function(){function t(t,e,r,n,i,o,a,s){void 0===t&&(t=""),void 0===e&&(e=t),void 0===r&&(r=t),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=[]),void 0===a&&(a=[]),void 0===s&&(s=null),this._inherited=!1,this.isCloud=!1,this.active=!1,this.nameInSource=t,this.name=e,this.alias=r,this.parentSource=n,this.childSource=i,this.parentColumns=o,this.childColumns=a,this.key=s}return t.prototype.implements=function(){return[e.IStiName,e.IStiInherited,n,s,o]},t.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyBool("Inherited",this.inherited),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("ChildColumns",i.Serialize.stringArray(this.childColumns)),e.addPropertyJObject("ParentColumns",i.Serialize.stringArray(this.parentColumns)),e.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyBool("IsCloud",this.isCloud,!1),e.addPropertyBool("Active",this.active),e.addPropertyStringNullOrEmpty("Key",this.key),null!=this.parentSource&&e.addPropertyStringNullOrEmpty("ParentSource",this.parentSource.name),null!=this.childSource&&e.addPropertyStringNullOrEmpty("ChildSource",this.childSource.name),e},t.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Inherited":this._inherited=a.value.stimulsoft.toBoolean();break;case"Active":this.active=a.value.stimulsoft.toBoolean();break;case"Name":this._name=a.value;break;case"NameInSource":this._nameInSource=a.value;break;case"Alias":this._alias=a.value;break;case"IsCloud":break;case"Key":this._key=a.value;break;case"ParentSource":this.parentSource=this.dictionary.dataSources.getByName(a.value);break;case"ChildSource":this.childSource=this.dictionary.dataSources.getByName(a.value);break;case"ChildColumns":this._childColumns=i.Deserialize.stringArray(a.value);break;case"ParentColumns":this._parentColumns=i.Deserialize.stringArray(a.value);break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Active":this.active=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"RelationName":case"NameInSource":this._nameInSource=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"ParentSource":r.attributes.getNamedItem("isRef")&&(this.parentSource=this.dictionary.dataSources.getByXmlRef(r.attributes.getNamedItem("isRef").value));break;case"ChildSource":r.attributes.getNamedItem("isRef")&&(this.childSource=this.dictionary.dataSources.getByXmlRef(r.attributes.getNamedItem("isRef").value));break;case"ChildColumns":this._childColumns=this.parseStringArray(r);break;case"ParentColumns":this._parentColumns=this.parseStringArray(r);break}}},t.prototype.parseStringArray=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[n]=i.textContent,r++)}return e},Object.defineProperty(t.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataRelationName&&(t=e.StiNameValidator.correctName(t)),this._name=t},enumerable:!1,configurable:!0}),t.prototype.getName=function(){return this.name},t.prototype.getDictionary=function(){return this.dictionary},t.prototype.getParentDataSource=function(){return this.parentSource},t.prototype.getChildDataSource=function(){return this.childSource},t.prototype.fetchParentColumns=function(){return this.parentColumns.stimulsoft.toList()},t.prototype.fetchChildColumns=function(){return this.childColumns.stimulsoft.toList()},t.prototype.getActiveState=function(){return this.active},t.prototype.getKey=function(){return this.key=l.getOrGeneratedKey(this.key),this.key},t.prototype.setKey=function(t){this.key=t},t.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(t.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentSource",{get:function(){return this._parentSource},set:function(t){this._parentSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childSource",{get:function(){return this._childSource},set:function(t){this._childSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentColumns",{get:function(){return this._parentColumns},set:function(t){this._parentColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childColumns",{get:function(){return this._childColumns},set:function(t){this._childColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relationName",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=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,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),t.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataRelation)return this.alias;return this.alias==this.name?this._name:this.name+" ["+this.alias+"]"},t}(),c;r.StiDataRelation=u,function(t){t[t["NameInSource"]=100]="NameInSource",t[t["Name"]=200]="Name",t[t["Alias"]=300]="Alias",t[t["ParentSource"]=400]="ParentSource",t[t["ChildSource"]=500]="ChildSource",t[t["ParentColumns"]=600]="ParentColumns",t[t["ChildColumns"]=700]="ChildColumns"}(c||(c={}))}(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(){function t(){}return t.setName=function(t,e,n,i){t.nameInSource=i,null!=t.parentSource&&(r.isNullOrEmpty(t.name)&&(t.name=t.parentSource.name),r.isNullOrEmpty(t.alias)&&(t.alias=t.parentSource.name))},t}();e.StiDataRelationSetName=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.Collections.CollectionBase,i=t.System.Collections.Hashtable,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJson,s=t.System.ICloneable,l=function(t){function n(e){var r=t.call(this)||this;return r.cachedDataRelations=new i,r.dictionary=e,r}return __extends(n,t),n.prototype.implements=function(){return[s,o]},n.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},n.prototype.loadFromJsonObject=function(t){var e,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new r.StiDataRelation;s.dictionary=this.dictionary,s.loadFromJsonObject(a.value),this.list.push(s)}}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){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type"))switch(n.attributes.getNamedItem("type").value){case"DataRelation":var o=new r.StiDataRelation;o.dictionary=this.dictionary,o.loadFromXml(n),this.list.push(o);break}}},n.prototype.clone=function(){var t,e,r=new n(this.dictionary);try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;r.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},n.prototype.add=function(e){null!=this.dictionary&&(e.dictionary=this.dictionary),t.prototype.add.call(this,e)},n.prototype.contains=function(t){var e,n;if(t.stimulsoft.is(r.StiDataRelation))return this.list.stimulsoft.contains(t.stimulsoft.as(r.StiDataRelation));if("string"==typeof t)try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;if(o.value.name==t)return!0}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return!1},n.prototype.remove=function(e){t.prototype.remove.call(this,e),this.cachedDataRelations.clear()},n.prototype.setByIndex=function(t,e){this.list[t]=e,this.cachedDataRelations.clear()},n.prototype.getByName=function(t){var r,n,i=this.cachedDataRelations.get(t);if(null!=i)return i;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.nameInSource==t)return this.cachedDataRelations.set(t,s),s;if(e.StiNameValidator.correctName(s.nameInSource)==t)return this.cachedDataRelations.set(t,s),s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},n.prototype.setByName=function(t,e){for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name==t)return this.list[r]=e,void this.cachedDataRelations.clear()}this.add(e)},n}(n);r.StiDataRelationsCollection=l}(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.Collections.Hashtable,i=t.System.Char,o=t.Report.Components.IStiDataSource,a=t.Report.Components.IStiDataRelation,s=t.Report.Components.IStiSort,l=function(){function t(){this._usedColumns=new n,this._usedRelations=new n,this._usedDataSources=new n}return t.prototype.dispose=function(){this._usedColumns.clear(),this._usedColumns=null,this._usedRelations.clear(),this._usedRelations=null,this._usedDataSources.clear(),this._usedDataSources=null},t.prototype.buildTokens=function(t){var e=new n,r=0,o=u.Find,a="";while(r<t.length){var s=t[r];if(o==u.Find){if((i.isLetter(s)||"_"==s)&&(o=u.Lexem,a+=s),'"'==s){var l=t.indexOf('"',r+1);if(-1!=l){var c=t.substr(r+1,l-r-1);e.set(c,c),r=l+1}}}else if(o==u.Lexem)if(i.isLetterOrDigit(s)||"_"==s||"."==s)o=u.Lexem,a+=s;else if(""!=a){while(r<t.length){if("."==t[r]||" "!=t[r])break;r++}if(r<t.length&&"."==t[r]){a+=".";while(r<t.length){if(" "!=t[r])break;r++}}else r--,e.set(a,a),a="",o=u.Find}r++}return o==u.Lexem&&e.set(a,a),e},Object.defineProperty(t.prototype,"usedColumns",{get:function(){return this._usedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"usedRelations",{get:function(){return this._usedRelations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"usedDataSources",{get:function(){return this._usedDataSources},enumerable:!1,configurable:!0}),t.prototype.retrieval=function(t){var i,l,u,p,h,m,f,d,g,S,y,A,b,v,C,w,B,I,T,E,R,D;if(null!=t){var P=t.script,x=this.buildTokens(t.script);t.script=P;var F=new c,N=new n;F.build(N,t.dictionary);try{for(var k=__values(N.keys),M=k.next();!M.done;M=k.next()){var O=M.value;if(null!=x.get(O)){var _=N.get(O);_.stimulsoft.is(r.StiDataSource)&&null==this.usedDataSources.get(_)?this.usedDataSources.set(_,_):_.stimulsoft.is(r.StiDataColumn)&&null==this.usedColumns.get(_)?this.usedColumns.set(_,_):_.stimulsoft.is(r.StiDataRelation)&&null==this.usedRelations.get(_)&&this.usedRelations.set(_,_);var j=O.split(".");if(j.length>0)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(Z<X.sort.length){var q="",$;while(Z<X.sort.length&&"ASC"!=X.sort[Z]&&"DESC"!=X.sort[Z])0==q.length?q=X.sort[Z]:q+="."+X.sort[Z],Z++;Z++,q=e.StiNameValidator.correctName(q),null!=($=N.get(L+q))&&this.usedColumns.set($,$)}}}}catch(t){h={error:t}}finally{try{J&&!J.done&&(m=U.return)&&m.call(U)}finally{if(h)throw h.error}}var tt=this.usedColumns.values;try{for(var et=__values(tt),rt=et.next();!rt.done;rt=et.next()){var $;null!=($=rt.value).dataSource&&(this.usedDataSources.contains($.dataSource)||this.usedDataSources.set($.dataSource,$.dataSource))}}catch(t){f={error:t}}finally{try{rt&&!rt.done&&(d=et.return)&&d.call(et)}finally{if(f)throw f.error}}var nt=this.usedRelations.values;try{for(var it=__values(nt),ot=it.next();!ot.done;ot=it.next()){var z=ot.value;this.usedDataSources.set(z.parentSource,z.parentSource),this.usedDataSources.set(z.childSource,z.childSource)}}catch(t){g={error:t}}finally{try{ot&&!ot.done&&(S=it.return)&&S.call(it)}finally{if(g)throw g.error}}var at=this.usedDataSources.values;try{for(var st=__values(at),lt=st.next();!lt.done;lt=st.next()){var V,ut=(V=lt.value).getParentRelations();try{for(var ct=(b=void 0,__values(ut.list)),pt=ct.next();!pt.done;pt=ct.next()){var ht=pt.value;null!=this.usedDataSources.get(ht.parentSource)&&this.usedRelations.set(ht,ht)}}catch(t){b={error:t}}finally{try{pt&&!pt.done&&(v=ct.return)&&v.call(ct)}finally{if(b)throw b.error}}ut=V.getChildRelations();try{for(var mt=(C=void 0,__values(ut.list)),ft=mt.next();!ft.done;ft=mt.next()){var ht=ft.value;null!=this.usedDataSources.get(ht.childSource)&&this.usedRelations.set(ht,ht)}}catch(t){C={error:t}}finally{try{ft&&!ft.done&&(w=mt.return)&&w.call(mt)}finally{if(C)throw C.error}}}}catch(t){y={error:t}}finally{try{lt&&!lt.done&&(A=st.return)&&A.call(st)}finally{if(y)throw y.error}}nt=this.usedRelations.values;try{for(var dt=__values(nt),gt=dt.next();!gt.done;gt=dt.next()){var z;if(null!=(z=gt.value).parentSource)try{for(var St=(T=void 0,__values(z.parentColumns)),yt=St.next();!yt.done;yt=St.next()){var q=yt.value,$;null!=($=z.parentSource.columns.getByName(q))&&this.usedColumns.set($,$)}}catch(t){T={error:t}}finally{try{yt&&!yt.done&&(E=St.return)&&E.call(St)}finally{if(T)throw T.error}}if(null!=z.childSource)try{for(var At=(R=void 0,__values(z.childColumns)),bt=At.next();!bt.done;bt=At.next()){var q=bt.value,$;null!=($=z.childSource.columns.getByName(q))&&this.usedColumns.set($,$)}}catch(t){R={error:t}}finally{try{bt&&!bt.done&&(D=At.return)&&D.call(At)}finally{if(R)throw R.error}}}}catch(t){B={error:t}}finally{try{gt&&!gt.done&&(I=dt.return)&&I.call(dt)}finally{if(B)throw B.error}}}},t}(),u;r.StiDataRetrieval=l,function(t){t[t["Lexem"]=0]="Lexem",t[t["Find"]=1]="Find"}(u||(u={}));var c=function(){function t(){}return t.prototype.buildColumns=function(t,r,n){var i,o;try{for(var a=__values(r.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=n+"."+e.StiNameValidator.correctName(l.name);t.set(u,l)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},t.prototype.buildRelations=function(t,r,n,i){var o,a;if(r.count>0)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(a<this.sortColumns.length)"ASC"==this.sortColumns[a]&&s++,"DESC"==this.sortColumns[a]&&s++,a++;this.hashValues=[];for(var l=0;l<s;l++)this.hashValues[l]=new n}if(null!=this.dataSource.dictionary){var u=this.dataSource.dictionary.report;null!=u&&(this.textComp=new i,this.textComp.name="**StiDataSort**",this.textComp.page=u.pages.getByIndex(0))}}return t.prototype.compare=function(t,e){return this.compareRows(t,e)},t.prototype.compareRows=function(t,n){if(t==n)return 0;var i=t,o=n;if(null!=this.rowToConditions&&null!=this.conditions)for(var s=this.rowToConditions.get(i.recordIndex),l=this.rowToConditions.get(o.recordIndex),u=this.conditions.stimulsoft.getLength(1),c=0;c<u;c++){var p=this.conditions[s][c][0],h=this.conditions[l][c][0],m=this.conditions[s][c][1],f=this.compareValues(p,h,m==a.Ascending);if(0==f)continue;return f}if(null==this.sortColumns||0==this.sortColumns.length)return 0;var d=0,g=0;while(g<this.sortColumns.length){var S="ASC"==this.sortColumns[g++],y=g;while(g<this.sortColumns.length&&"ASC"!=this.sortColumns[g]&&"DESC"!=this.sortColumns[g])g++;var p=this.hashValues[d].get(t),h=this.hashValues[d].get(n);if(null==p||null==h){var A=this.dataSource,b=t,v=n,C=this.sortColumns[y];if(C.stimulsoft.startsWith("{")&&C.stimulsoft.endsWith("}")){var w=this.rowToConditions.get(b.recordIndex),B=this.rowToConditions.get(v.recordIndex),I=A.position;A.position=w,p=r.parseTextValue(C,this.textComp),A.position=B,h=r.parseTextValue(C,this.textComp),A.position=I}else{if(g-y>1){var T=y;while(T<g-1){if(null==(A=A.getParentDataSource(this.sortColumns[T])))return null;if(null==p){var E=null!=b?b.getParentRows(this.sortColumns[T]):null;b=null!=E&&E.length>0?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<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"BusinessObjects":this._businessObjects.loadFromXml(r);break;case"DataSources":this._dataSources.loadFromXml(r);break;case"Databases":this._databases.loadFromXml(r);break;case"Relations":this._relations.loadFromXml(r);break;case"Variables":this._variables.loadFromXml(r,this.report);break;case"Resources":this._resources.loadFromXml(r);break}}},A.prototype.clone=function(){var t;return new A},A.prototype.fetchDataSources=function(){return this.dataSources.toList().cast()},A.prototype.fetchDataRelations=function(){return this.relations.toList().cast()},A.prototype.fetchVariables=function(){return this.variables.toList().cast()},A.prototype.getDataSourceByName=function(t){if(i.isNullOrWhiteSpace(t))return null;return this.dataSources.getByName(t)},A.prototype.getColumnByName=function(t){return r.StiDataColumn.getDataColumnFromColumnName(this,t,!0)},A.prototype.getVariableByName=function(t){if(t=e.StiVariableExpressionHelper.getSimpleName(t),i.isNullOrWhiteSpace(t))return null;var r=this.variables.toList().cast().where((function(t){return!i.isNullOrWhiteSpace(t.name)})).firstOrDefault((function(e){return e.name.trim().toLowerCase()==t}));if(null!=r)return r;if(t.stimulsoft.endsWith(".from"))return t=t.substr(0,t.length-".from".length),this.variables.toList().cast().where((function(t){return!i.isNullOrWhiteSpace(t.name)})).firstOrDefault((function(e){return e.name.trim().toLowerCase()==t}));if(t.stimulsoft.endsWith(".to"))return t=t.substr(0,t.length-".to".length),this.variables.toList().cast().where((function(t){return!i.isNullOrWhiteSpace(t.name)})).firstOrDefault((function(e){return e.name.trim().toLowerCase()==t}));return null},A.prototype.getVariableValueByName=function(t){if(t=e.StiVariableExpressionHelper.getSimpleName(t),i.isNullOrWhiteSpace(t))return null;var r=this.getVariableByName(t);if(e.Range.isRangeType(null==r?void 0:r.type)){var n,n;if(t.stimulsoft.endsWith(".from"))return t=t.substr(0,t.length-".from".length),null!=(n=this.getVariableValueInternal(t).as(e.Range))?n.fromObject:null;if(t.stimulsoft.endsWith(".to"))return t=t.substr(0,t.length-".to".length),null!=(n=this.getVariableValueInternal(t).as(e.Range))?n.toObject:null}return this.getVariableValueInternal(t)},A.prototype.getVariableValueInternal=function(t){var e;if(null!=this.report&&null!=this.report.getVariable(t))return this.report.getVariable(t);return null===(e=this.getVariableByName(t))||void 0===e?void 0:e.getValue()},A.prototype.isSystemVariable=function(t){return["reportname","reportalias","reportauthor","reportdescription","reportcreated","reportchanged","time","today"].stimulsoft.contains(t.toLowerCase())},A.prototype.getSystemVariableValue=function(t){var e;switch(t.toLowerCase()){case"reportname":return this.report.reportName;case"reportalias":return this.report.reportAlias;case"reportauthor":return this.report.reportAuthor;case"reportdescription":return this.report.reportDescription;case"reportcreated":return this.report.reportCreated;case"reportchanged":return this.report.reportChanged;case"time":return a.now;case"today":return a.today;default:throw new y(t)}},A.prototype.getApp=function(){return this.report},A.prototype.openConnections=function(t){var e,n;null==t&&(t=this.databases.toList()),t=t.where((function(t){return!o.isConnectionActive(t)}));try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var s=a.value,l=this.dataStore.toList();s&&s.invokeConnecting(),r.StiDataLeader.regData(s,this,!0),s&&s.invokeConnected();var u=this.dataStore.toList().except(l).cast().toList();o.registerConnection(s,u)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return t},A.prototype.closeConnections=function(t){var e,r,n=this;null==t&&(t=this.databases.toList());try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var s=a.value;s&&s.invokeDisconnecting();var l=o.unRegisterConnection(s).cast();if(null==l)continue;this.disconnectingConnectionInDataStore(l),l.forEach((function(t){n.dataStore.contains(t)&&n.dataStore.remove(t)}),this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Object.defineProperty(A.prototype,"cachedUserNamesAndPasswords",{get:function(){return this._cachedUserNamesAndPasswords},set:function(t){this._cachedUserNamesAndPasswords=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"useInternalData",{get:function(){return this._useInternalData},set:function(t){this._useInternalData=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"restrictions",{get:function(){return this._restrictions},set:function(t){this._restrictions=t},enumerable:!1,configurable:!0}),Object.defineProperty(A,"autoSynchronize",{get:function(){return StiOptions.Dictionary.autoSynchronize},set:function(t){StiOptions.Dictionary.autoSynchronize=t},enumerable:!1,configurable:!0}),A.doAutoSynchronize=function(t){if(null==t)return;(A.autoSynchronize==r.StiAutoSynchronizeMode.Always||A.autoSynchronize==r.StiAutoSynchronizeMode.IfDictionaryEmpty&&0==t.dictionary.dataSources.count)&&t.dictionary.synchronize()},Object.defineProperty(A.prototype,"cacheDataSet",{get:function(){return this._cacheDataSet},set:function(t){this._cacheDataSet=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"dataStore",{get:function(){return this._dataStore},set:function(t){this._dataStore=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"variables",{get:function(){return this._variables},set:function(t){this._variables=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"resources",{get:function(){return this._resources},set:function(t){this._resources=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"dataSources",{get:function(){return this._dataSources},set:function(t){this._dataSources=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"databases",{get:function(){return this._databases},set:function(t){this._databases=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"businessObjects",{get:function(){return this._businessObjects},set:function(t){this._businessObjects=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"relations",{get:function(){return this._relations},set:function(t){this._relations=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isRequestFromUserVariablesPresent",{get:function(){var t,e;if(null==this.variables)return!1;try{for(var r=__values(this.variables.list),n=r.next();!n.done;n=r.next()){var i;if(n.value.requestFromUser)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}),A.prototype.equalsColumns=function(t,e){var r,n,i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value,u=!1;try{for(var c=(i=void 0,__values(e)),p=c.next();!p.done;p=c.next()){var h=p.value;if(h.columnName==l.columnName&&h.table==l.table){u=!0;break}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}if(!u)return!1}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!0},A.prototype.createDatabases=function(t){var e,r;this.dataStore.clearReportDatabase();try{for(var n=__values(this.databases.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.invokeConnecting(),o.regData(this,t),o.invokeConnected()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.createDatabasesAsync=function(t){var e=new g,r=this;return setTimeout((function(){var n,i;r.dataStore.clearReportDatabase();var o=r.databases.count,a=function(n){n.invokeConnecting(),n.regDataAsync(r,t).try((function(){n.invokeConnected(),0==--o&&e.callTry()})).abort(e)};try{for(var s=__values(r.databases.list),l=s.next();!l.done;l=s.next()){var u;a(l.value)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}0==r.databases.count&&e.callTry()})),e},A.prototype.removeUnusedData=function(){var t,e,n=new r.StiDataRetrieval;n.retrieval(this.report);var i=0;while(i<this.relations.count)null==n.usedRelations.get(this.relations.getByIndex(i))?this.relations.remove(this.relations.getByIndex(i)):i++;try{for(var o=__values(this.dataSources.list),a=o.next();!a.done;a=o.next()){var s=a.value;i=0;while(i<s.columns.count)null==n.usedColumns.get(s.columns.getByIndex(i))?s.columns.remove(s.columns.getByIndex(i)):i++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}i=0;while(i<this.dataSources.count)null==n.usedDataSources.get(this.dataSources.getByIndex(i))?this.dataSources.remove(this.dataSources.getByIndex(i)):i++;n.dispose()},A.prototype.removeUnusedDataSourcesV2=function(){var t=r.StiDataSourceHelper.getUsedDataSourcesNames(this.report),e=0;while(e<this.dataSources.count)t.containsKey(this.dataSources.getByIndex(e).name)?e++:this.dataSources.remove(this.dataSources.getByIndex(e))},A.prototype.retrievalData=function(t,e,n){var i=t.ref,o=e.ref,a=n.ref,s=new r.StiDataRetrieval;s.retrieval(this.report),i=s.usedRelations,o=s.usedDataSources,a=s.usedColumns,t.ref=i,e.ref=o,n.ref=a},A.prototype.getUnusedRelationsFromDataStore=function(){var t,e,n,i,o,a,s,l,u=new r.StiDataRelationsCollection(this),c=this.dataSources.toList().where((function(t){return null!=t.stimulsoft.is(r.StiDataTableSource)})).where((function(t){return null!=t.dataTable}));try{for(var p=__values(c),h=p.next();!h.done;h=p.next()){var m=h.value;try{for(var f=(n=void 0,__values(m.dataTable.parentRelations.list)),d=f.next();!d.done;d=f.next()){var g=d.value;try{for(var S=(o=void 0,__values(c)),y=S.next();!y.done;y=S.next()){var A=y.value;if(A.dataTable!=g.parentTable)continue;var b=0;try{for(var v=(s=void 0,__values(this.relations.list)),C=v.next();!C.done;C=v.next()){var w=C.value;if(r.StiStrFix.Del_(w.nameInSource)==r.StiStrFix.Del_(g.relationName))break;b++}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}if(b==this.relations.count){var B=new r.StiDataRelation(g.relationName,"","",A,m,g.parentColumns.map((function(t){return t.columnName})),g.childColumns.map((function(t){return t.columnName})));r.StiDataRelationSetName.setName(B,this.report,g.dataSet,g.relationName),u.add(B);break}}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}return u},A.prototype.synchronize2=function(t){var e,r;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.getBusinessObjectData();null!=a&&this.synchronizeColumns2(a,o),this.synchronize2(o.businessObjects)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.synchronize=function(){var t,n,i,o,a,s;try{for(var l=__values(this.dataSources.list),u=l.next();!u.done;u=l.next()){var c;(c=u.value).columns.cachedDataColumns.clear()}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}this.dataSources.cachedDataSources.clear(),this.connect(!1);for(var p=0;p<this.dataStore.count;p++){var h=this.dataStore.getByIndex(p).stimulsoft.as(r.StiData);if(null!=h.viewData){var m=null;try{for(var f=(i=void 0,__values(this.dataSources.list)),d=f.next();!d.done;d=f.next()){var c;if((c=d.value).stimulsoft.is(r.StiDataStoreSource)&&!c.stimulsoft.is(r.StiSqlSource)&&c.nameInSource.toLowerCase()==h.name.toLowerCase()){m=c;break}}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}if(null==m){var g=r.StiDataAdapterService.getDataAdapter2(h),c;if(null!=g)(c=g.create(this,!1)).columns.addRange(r.StiDataLeader.getColumnsFromData(g,h,c)),g.setDataSourceNames(h,c),c.name=e.StiNameCreation.createName(this.report,c.name,!1,!1,!0),this.dataSources.add(c),this.synchronizeColumns(h,c)}else this.synchronizeColumns(h,m)}}this.connect(!1);var S=this.getUnusedRelationsFromDataStore(),y=function(t){if(A.relations.toList().firstOrDefault((function(e){return r.StiStrFix.Del_(t.nameInSource)==r.StiStrFix.Del_(e.nameInSource)})))return"continue";t.name=A.getRelationName(t),A.relations.add(t)},A=this;try{for(var b=__values(S.list),v=b.next();!v.done;v=b.next()){var C;y(v.value)}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}this.connect(!1)},A.prototype.synchronizeBusinessObjects=function(){var t,e,n,i;try{for(var o=__values(this.report.businessObjectsStore),a=o.next();!a.done;a=o.next()){var s=a.value,l=!1;try{for(var u=(n=void 0,__values(this.businessObjects.list)),c=u.next();!c.done;c=u.next()){var p=c.value;if(p.name==s.name){l=!0,p.alias=s.alias,p.category=s.category,this.synchronizeColumns3(s,p),this.synchronize2(p.businessObjects);break}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}if(!l){var h=new r.StiBusinessObject(s.category,s.name,s.alias,null);this.businessObjects.add(h),this.synchronizeColumns3(s,h)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}},A.prototype.synchronizeColumns=function(n,o){var a,s,l,u,p,h,m,f,d=null;if(null!=(d=r.StiDataAdapterService.getDataAdapter2(n))){var g=void 0;g=r.StiDataLeader.getColumnsFromData(d,n,o);try{for(var S=__values(o.columns.list),y=S.next();!y.done;y=S.next()){var A=y.value,b=!1;try{for(var v=(l=void 0,__values(g.list)),C=v.next();!C.done;C=v.next()){var w=C.value;A.nameInSource==w.nameInSource&&(w.name=A.name,StiOptions.Designer.autoCorrectDataColumnName&&(w.name=e.StiNameValidator.correctName(w.name)),w.alias=A.alias,w.nameInSource=A.nameInSource,A.type!=t.System.DateTime&&A.type!=t.System.NullableDateTime||!StiOptions.Dictionary.useNullableDateTime?A.type!=t.System.TimeSpan&&A.type!=t.System.NullableTimeSpan||!StiOptions.Dictionary.useNullableTimeSpan||(w.type=t.System.NullableTimeSpan):w.type=t.System.NullableDateTime,b=!0)}}catch(t){l={error:t}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}(!b&&StiOptions.Dictionary.columnsSynchronizationMode==r.StiColumnsSynchronizationMode.KeepAbsentColumns||A.stimulsoft.is(r.StiCalcDataColumn))&&g.add(A)}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}for(var B=new c,I=g.count-1;I>=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;o<this.dataSources.count;o++){var a=this.dataSources.getByIndex(o).stimulsoft.as(r.StiDataTableSource);null!=a&&(a.nameInSource.stimulsoft.startsWith(n)?a.nameInSource=a.nameInSource.stimulsoft.replaceAll(n,i):a.nameInSource==t.name&&(a.nameInSource=e))}t.name=e},A.prototype.connectToDatabasesAsync=function(t,e){var n,i;void 0===t&&(t=null),void 0===e&&(e=!0);var o=new g;null==t&&(t=this.databases.toList()),this.dataStore.clearReportDatabase();var a=t.length,s=function(t){t.invokeConnecting(),r.StiDataLeader.regDataAsync(t,l,e).try((function(){a--,t.invokeConnected()})),0==a&&o.callTry()},l=this;try{for(var u=__values(t),c=u.next();!c.done;c=u.next()){var p;s(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return 0==a&&o.callTry(),o},A.prototype.connectAsync=function(e,n){void 0===e&&(e=!0),void 0===n&&(n=null);var i=new g,o=this;try{var a=function(){o.businessObjects.connect(),e&&o.regRelations2(),i.callTry()};null!=o.cacheDataSet&&o.cacheDataSet.dispose(),o.cacheDataSet=new p("CacheDataSet"),o.createDatabasesAsync(e).try((function(){var s,l;if(null!=n&&n.length>0){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;g<o.dataSources.count;g++){var S=o.dataSources.getByIndex(g);m.containsKey(S.name)?(f=!0,r.StiDataLeader.connectAsync(S,null,!0).try((function(){try{0==--d&&a()}catch(e){t.System.StiError.showError(e,!1),i.callCatch(e)}})).catch((function(t){i.callCatch(t)})).abort(i)):d--}f||0!=d||a()}else o.dataSources.connectAsync(e).try((function(){try{a()}catch(e){t.System.StiError.showError(e,!1),i.callCatch(e)}})).catch((function(t){i.callCatch(t)})).abort(i)})).abort(i)}catch(t){i.callCatch(t.message)}return i},A.prototype.connect=function(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=null),null!=this.cacheDataSet&&this.cacheDataSet.dispose(),this.cacheDataSet=new p("CacheDataSet"),this.createDatabases(t),null!=e)e.forEach((function(e){return r.StiDataLeader.connect(e,null,t)}));else if(this.report.retrieveOnlyUsedData&&t)for(var n=r.StiDataSourceHelper.getUsedDataSourcesNames(this.report),i=0;i<this.dataSources.count;i++){var o=this.dataSources.getByIndex(i);n.containsKey(o.name)&&r.StiDataLeader.connect(o,null,!0)}else this.dataSources.connect(t);this.businessObjects.connect(),t&&this.regRelations2()},A.prototype.connectVirtualDataSourcesAsync=function(){var t,e,n=new g,i=new c,o=0,a=!0;while(a){a=!1;try{for(var s=(t=void 0,__values(this.dataSources.fetchAllVirtualDataSources())),l=s.next();!l.done;l=s.next()){var u=l.value,p=this.report.dictionary.dataSources.getByName(u.nameInSource);if(null==p||p.name==u.name){i.set(u,u);continue}if(p.stimulsoft.is(r.StiVirtualSource)&&null==i.get(p)){a=!0;continue}i.set(u,u),o++,u.connectToDataAsync().try((function(){0==--o&&n.callTry()}))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}}return 0==o&&n.callTry(),n},A.prototype.connectDataTransformationsAsync=function(){var t=new g,e=0;return this.dataSources.fetchAllDataTransformations().forEach((function(r){e++,r.connectToDataAsync().try((function(){0==--e&&t.callTry()}))})),0==e&&t.callTry(),t},A.prototype.connectCrossTabDataSources=function(){},A.prototype.disconnect=function(){this.disconnectingDatabases(this.databases.toList()),this.disconnectingConnectionInDataStore(),this.disposeCacheDataSet(),this.businessObjects.disconnect(),this.dataSources.disconnect(),this.dataStore.clearReportDatabase(),this.disconnectedDatabases(this.databases.toList()),o.unRegisterConnections(this.databases.toList().cast())},A.prototype.disconnectingDatabases=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o;i.value.invokeDisconnecting()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.disconnectedDatabases=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o;i.value.invokeDisconnected()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.disconnectingConnectionInDataStore=function(t){var e,r;void 0===t&&(t=null),null==t&&(t=this.dataStore.toList().where((function(t){return null!=t.data})));try{for(var n=__values(t),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}}},A.prototype.checkRelation=function(t,e,r,n){var i=t.relations.getByName(e)?t.relations.getByName(e):t.relations.getByName(e.trim());if(null!=i){if(this.equalsRelationColumns(r,i.parentColumns)&&this.equalsRelationColumns(n,i.childColumns))return!0;t.relations.remove(i)}var o=0;while(o<t.relations.count)i=t.relations.getByIndex(o),this.equalsRelationColumns(i.parentColumns,r)&&this.equalsRelationColumns(i.childColumns,n)?t.relations.removeAt(o):o++;return!1},A.prototype.equalsRelationColumns=function(t,e){var r,n,i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(i=void 0,__values(e)),c=u.next();!c.done;c=u.next()){var p=c.value,h=p.columnName==l.columnName&&p.table==l.table;if(h)return h}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}}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.getRelationName=function(t){var e,i,o,a,s,l,u=!0,c=2,p=t.name,h=p;try{for(var m=__values(t.childSource.columns.list),f=m.next();!f.done;f=m.next()){var d;if(f.value.name==h){p=h="Parent"+h;break}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(e)throw e.error}}while(u){u=!1;try{for(var g=(o=void 0,__values(this.relations.list)),S=g.next();!S.done;S=g.next()){var y,A=S.value.stimulsoft.as(r.StiDataRelation);if(A.childSource==t.childSource&&A!=t&&A.name==h){var b;h=p+"_"+(b=c++).toString(),u=!0;break}}}catch(t){o={error:t}}finally{try{S&&!S.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}}u=!0;while(u){u=!1;try{for(var v=(s=void 0,__values(this.dataSources.list)),C=v.next();!C.done;C=v.next()){var w,B;if("Parent"+C.value.stimulsoft.as(n).name==h){var b;h=p+"_"+(b=c++).toString(),u=!0;break}}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}}return h},A.prototype.regRelations2=function(t){var e,r;void 0===t&&(t=!1);try{for(var n=__values(this.relations.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.regRelation(o,t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.regRelation=function(n,o){var a,s,l,u;try{var c=null,p=null;null!=n.parentSource&&(c=n.parentSource),null!=n.childSource&&(p=n.childSource);var h=null!=c&&c.stimulsoft.is(r.StiVirtualSource)||null!=p&&p.stimulsoft.is(r.StiVirtualSource);if(!o&&h)return;if(o&&!h)return;if(!this.report.isDesigning&&null==c)throw i.format("Please, check relation '{0}'. "+"Report engine can't find parent Data Source!",n.name);if(null==p)throw i.format("Please, check relation '{0}'. "+"Report engine can't find child Data Source!",n.name);if(null==c.dataTable)return;if(null==p.dataTable)return;if(!this.report.isDesigning&&null==c.dataTable.dataSet)throw i.format("Parent Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",c.name,n.name);if(null==p.dataTable.dataSet)throw i.format("Child Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",p.name,n.name);if(!this.report.isDesigning&&c.dataTable.dataSet!=p.dataTable.dataSet)throw i.format("Parent Data Source '{0}' and "+"Child Data Source '{1}' is not located"+" in one DataSet and can't be used in relation '{2}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",c.name,p.name,n.name);if(!this.report.isDesigning&&0==n.parentColumns.length)throw i.format("Parent columns is specified in "+"in relation '{0}'! Relation can't be created!",n.name);if(0==n.childColumns.length)throw i.format("Child columns is specified in "+"in relation '{0}'! Relation can't be created!",n.name);if(!this.report.isDesigning&&n.parentColumns.length!=n.childColumns.length)throw i.format("Count of parent columns is not equal to "+"count of child columns in relation '{0}'! Relation can't be created!",n.name);var m=[],f=0;try{for(var g=__values(n.parentColumns),S=g.next();!S.done;S=g.next()){var y=S.value;if(null==c.dataTable.columns.getByName(y))throw i.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",y,c.name,n.name);m[f]=c.dataTable.columns.getByName(y),f++}}catch(t){a={error:t}}finally{try{S&&!S.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}var A=[];f=0;try{for(var b=__values(n.childColumns),v=b.next();!v.done;v=b.next()){var y=v.value;if(null==p.dataTable.columns.getByName(y))throw i.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",y,p.name,n.name);A[f]=p.dataTable.columns.getByName(y),f++}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}var C=c.dataTable.dataSet;m.length>0&&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;r<t.childNodes.length;r++){var n=t.childNodes[r];if("value"==n.nodeName){var i=new e.StiResource;i.loadFromXml(n),this.list.push(i)}}},i.prototype.compare=function(t,e){var r=t,n=e;return StiOptions.Designer.sortDictionaryByAliases?r.alias.stimulsoft.compareTo(n.alias)*this.directionFactor:r.name.stimulsoft.compareTo(n.name)*this.directionFactor},i.prototype.sort=function(t){void 0===t&&(t=e.StiSortOrder.Asc),t==e.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.stimulsoft.sort2(this)},i.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},i.prototype.getByAlias=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.alias.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},i.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},i}(i);e.StiResourcesCollection=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.System.Collections.Hashtable,n=function(){function t(){}return t.prototype.clear=function(){null!=this.restrictionsDataSource&&(this.restrictionsDataSource.clear(),this.restrictionsDataSource=null),null!=this.restrictionsDataRelation&&(this.restrictionsDataRelation.clear(),this.restrictionsDataRelation=null),null!=this.restrictionsDataColumn&&(this.restrictionsDataColumn.clear(),this.restrictionsDataColumn=null),null!=this.restrictionsDatabase&&(this.restrictionsDatabase.clear(),this.restrictionsDatabase=null),null!=this.restrictionsVariable&&(this.restrictionsVariable.clear(),this.restrictionsVariable=null),null!=this.restrictionsTotal&&(this.restrictionsTotal.clear(),this.restrictionsTotal=null),null!=this.restrictionsBusinessObject&&(this.restrictionsBusinessObject.clear(),this.restrictionsBusinessObject=null)},t.prototype.getHashtable=function(t,n){switch(t){case e.StiDataType.Database:return null==this.restrictionsDatabase&&n&&(this.restrictionsDatabase=new r),this.restrictionsDatabase;case e.StiDataType.DataColumn:return null==this.restrictionsDataColumn&&n&&(this.restrictionsDataColumn=new r),this.restrictionsDataColumn;case e.StiDataType.DataRelation:return null==this.restrictionsDataRelation&&n&&(this.restrictionsDataRelation=new r),this.restrictionsDataRelation;case e.StiDataType.DataSource:return null==this.restrictionsDataSource&&n&&(this.restrictionsDataSource=new r),this.restrictionsDataSource;case e.StiDataType.BusinessObject:return null==this.restrictionsBusinessObject&&n&&(this.restrictionsBusinessObject=new r),this.restrictionsBusinessObject;case e.StiDataType.Total:return null==this.restrictionsTotal&&n&&(this.restrictionsTotal=new r),this.restrictionsTotal;default:return null==this.restrictionsVariable&&n&&(this.restrictionsVariable=new r),this.restrictionsVariable}},t.prototype.add=function(t,e,r){var n=this.getHashtable(e,!0),i=n.get(t).stimulsoft.as(Array);null==i&&(i=new Array,n.set(t,i)),i.push(r)},t.prototype.isAllowEdit=function(t,r){var n,i,o=this.getHashtable(r,!1);if(null==o||null==o.get(t))return!0;var a=o.get(t).stimulsoft.as(Array);if(null!=a)try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u;if(0!=(l.value&e.StiRestrictionTypes.DenyEdit))return!1}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return!0},t.prototype.isAllowDelete=function(t,r){var n,i,o=this.getHashtable(r,!1);if(null==o||null==o.get(t))return!0;var a=o.get(t).stimulsoft.as(Array);if(null!=a)try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u;if(0!=(l.value&e.StiRestrictionTypes.DenyDelete))return!1}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return!0},t.prototype.isAllowShow=function(t,r){var n,i,o=this.getHashtable(r,!1);if(null==o||null==o.get(t))return!0;var a=o.get(t).stimulsoft.as(Array);if(null!=a)try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u;if(0!=(l.value&e.StiRestrictionTypes.DenyShow))return!1}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return!0},t.prototype.isAllowMove=function(t,r){var n,i,o=this.getHashtable(r,!1);if(null==o||null==o.get(t))return!0;var a=o.get(t).stimulsoft.as(Array);if(null!=a)try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u;if(0!=(l.value&e.StiRestrictionTypes.DenyMove))return!1}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return!0},t}();e.StiRestrictions=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,e){this.dataSource=t,this.rowIndex=e}return t.prototype.getByName=function(t){return this.dataSource.getData(t,this.rowIndex)},t}();t.StiRow=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 e(t){this.dataSource=null,this.dataSource=t}return e.prototype.getEnumerator=function(){return this},Object.defineProperty(e.prototype,"current",{get:function(){return new t.StiRow(this.dataSource,this.dataSource.position)},enumerable:!1,configurable:!0}),e.prototype.moveNext=function(){return this.dataSource.next(),!this.dataSource.isEof},e.prototype.reset=function(){this.dataSource.first()},e.prototype.getbyIndex=function(e){return new t.StiRow(this.dataSource,e)},Object.defineProperty(e.prototype,"count",{get:function(){return this.dataSource.count},enumerable:!1,configurable:!0}),e}();t.StiRowsCollection=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.StiString,n=function(){function t(){}return t.Del_=function(t){return r.isNullOrWhiteSpace(t)?t:t.stimulsoft.replaceAll("_","")},t}();e.StiStrFix=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.Localization.StiLocalization,n=function(){function t(){}return t.getSystemVariableInfo=function(t){return r.get("SystemVariables",t)},t.getSystemVariables=function(t){if(null!=t)return this.getSystemVariablesV2();return[]},t.getSystemVariablesV2=function(){return null==t.systemVariablesV2&&(t.systemVariablesV2=["Column","Line","LineThrough","LineABC","LineRoman","GroupLine","PageNumber","PageNumberThrough","PageNofM","PageNofMThrough","TotalPageCount","TotalPageCountThrough","IsFirstPage","IsFirstPageThrough","IsLastPage","IsLastPageThrough","PageCopyNumber","ReportAlias","ReportAuthor","ReportChanged","ReportCreated","ReportDescription","ReportName","Time","Today"]),t.systemVariablesV2},t}();e.StiSystemVariablesHelper=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.StiTypeWrapper,n=function(){function n(t,e){this._name="",this._name=t,this._type=e}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),n.getTypes=function(){var t,i,o=new e.StiTypesCollection;try{for(var a=__values(r.simpleTypes),s=a.next();!s.done;s=a.next()){var l=s.value;o.add(new n(r.toString(l),l))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o},n.getBaseTypes=function(){var t,i,o=new e.StiTypesCollection;try{for(var a=__values(r.simpleBaseTypes),s=a.next();!s.done;s=a.next()){var l=s.value;o.add(new n(r.toString(l),l))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o},n.getTypeModeFromType=function(r,n){if(n.ref=e.StiTypeMode.Value,null==r)return r;if(r==String)return r;if(r==Boolean)return r;if(r==t.System.Byte)return r;if(r==t.System.SByte)return r;if(r==t.System.UInt16)return r;if(r==t.System.UShort)return r;if(r==t.System.Int16)return r;if(r==t.System.Short)return r;if(r==t.System.UInt)return r;if(r==t.System.Int)return r;if(r==t.System.Int32)return r;if(r==t.System.UInt64)return r;if(r==t.System.ULong)return r;if(r==t.System.Int64)return r;if(r==t.System.Long)return r;if(r==t.System.Single)return r;if(r==t.System.Double)return r;if(r==t.System.Decimal)return r;if(r==t.System.Char)return r;if(r==t.System.TimeSpan)return r;if(r==t.System.DateTime)return r;if(r==t.System.Guid)return r;if(r==t.System.Drawing.Image)return r;if(r==Object)return r;if(n.ref=e.StiTypeMode.NullableValue,r==t.System.NullableBoolean)return Boolean;if(r==t.System.NullableByte)return t.System.Byte;if(r==t.System.NullableSByte)return t.System.SByte;if(r==t.System.NullableUInt16)return t.System.UInt16;if(r==t.System.NullableUShort)return t.System.UShort;if(r==t.System.NullableInt16)return t.System.Int16;if(r==t.System.NullableShort)return t.System.Short;if(r==t.System.NullableUInt)return t.System.UInt;if(r==t.System.NullableInt)return t.System.Int;if(r==t.System.NullableInt32)return t.System.Int32;if(r==t.System.NullableUInt32)return t.System.UInt32;if(r==t.System.NullableUInt64)return t.System.UInt64;if(r==t.System.NullableULong)return t.System.ULong;if(r==t.System.NullableInt64)return t.System.Int64;if(r==t.System.NullableLong)return t.System.Long;if(r==t.System.NullableSingle)return t.System.Single;if(r==t.System.NullableDouble)return t.System.Double;if(r==t.System.NullableDecimal)return t.System.Decimal;if(r==t.System.NullableChar)return t.System.Char;if(r==t.System.NullableTimeSpan)return t.System.TimeSpan;if(r==t.System.NullableDateTime)return t.System.DateTime;if(r==t.System.NullableGuid)return t.System.Guid;if(n.ref=e.StiTypeMode.List,r==t.System.StimulsoftStringList)return String;if(r==t.System.StimulsoftBoolList)return Boolean;if(r==t.System.StimulsoftByteList)return t.System.Byte;if(r==t.System.StimulsoftShortList)return t.System.Short;if(r==t.System.StimulsoftIntList)return t.System.Int;if(r==t.System.StimulsoftLongList)return t.System.Long;if(r==t.System.StimulsoftFloatList)return t.System.Single;if(r==t.System.StimulsoftDoubleList)return t.System.Double;if(r==t.System.StimulsoftDecimalList)return t.System.Decimal;if(r==t.System.StimulsoftCharList)return t.System.Char;if(r==t.System.StimulsoftTimeSpanList)return t.System.TimeSpan;if(r==t.System.StimulsoftDateTimeList)return t.System.DateTime;if(r==t.System.StimulsoftGuidList)return t.System.Guid;if(n.ref=e.StiTypeMode.Range,r==t.System.StimulsoftStringRange)return String;if(r==t.System.StimulsoftByteRange)return t.System.Byte;if(r==t.System.StimulsoftShortRange)return t.System.Short;if(r==t.System.StimulsoftIntRange)return t.System.Int;if(r==t.System.StimulsoftLongRange)return t.System.Long;if(r==t.System.StimulsoftFloatRange)return t.System.Single;if(r==t.System.StimulsoftDoubleRange)return t.System.Double;if(r==t.System.StimulsoftDecimalRange)return t.System.Decimal;if(r==t.System.StimulsoftCharRange)return t.System.Char;if(r==t.System.StimulsoftTimeSpanRange)return t.System.TimeSpan;if(r==t.System.StimulsoftDateTimeRange)return t.System.DateTime;if(r==t.System.StimulsoftGuidRange)return t.System.Guid;if(r==t.Report.StringRange)return String;if(r==t.Report.ByteRange)return t.System.Byte;if(r==t.Report.ShortRange)return t.System.Short;if(r==t.Report.IntRange)return t.System.Int;if(r==t.Report.LongRange)return t.System.Long;if(r==t.Report.FloatRange)return t.System.Single;if(r==t.Report.DoubleRange)return t.System.Double;if(r==t.Report.DecimalRange)return t.System.Decimal;if(r==t.Report.CharRange)return t.System.Char;if(r==t.Report.TimeSpanRange)return t.System.TimeSpan;if(r==t.Report.DateTimeRange)return t.System.DateTime;if(r==t.Report.GuidRange)return t.System.Guid;return n.ref=e.StiTypeMode.Value,r},n.getTypeFromTypeMode=function(r,n){if(null==r)return null;switch(n){case e.StiTypeMode.Value:return r;case e.StiTypeMode.NullableValue:if(r==Boolean)return t.System.NullableBoolean;if(r==t.System.Byte)return t.System.NullableByte;if(r==t.System.SByte)return t.System.NullableSByte;if(r==t.System.UInt16)return t.System.NullableUInt16;if(r==t.System.Int16)return t.System.NullableInt16;if(r==t.System.UInt32)return t.System.NullableUInt32;if(r==t.System.Int32)return t.System.NullableInt32;if(r==t.System.UInt64)return t.System.NullableUInt64;if(r==t.System.Int64)return t.System.NullableInt64;if(r==t.System.Single)return t.System.NullableSingle;if(r==t.System.Double)return t.System.NullableDouble;if(r==t.System.Decimal)return t.System.NullableDecimal;if(r==t.System.Char)return t.System.NullableChar;if(r==t.System.TimeSpan)return t.System.NullableTimeSpan;if(r==t.System.DateTime)return t.System.NullableDateTime;if(r==t.System.Guid)return t.System.NullableGuid;break;case e.StiTypeMode.List:if(r==String)return t.System.StimulsoftStringList;if(r==Boolean)return t.System.StimulsoftBoolList;if(r==t.System.Byte)return t.System.StimulsoftByteList;if(r==t.System.Int16)return t.System.StimulsoftShortList;if(r==t.System.Int32)return t.System.StimulsoftIntList;if(r==t.System.Int64)return t.System.StimulsoftLongList;if(r==t.System.Single)return t.System.StimulsoftFloatList;if(r==t.System.Double)return t.System.StimulsoftDoubleList;if(r==t.System.Decimal)return t.System.StimulsoftDecimalList;if(r==t.System.Char)return t.System.StimulsoftCharList;if(r==t.System.TimeSpan)return t.System.StimulsoftTimeSpanList;if(r==t.System.DateTime)return t.System.StimulsoftDateTimeList;if(r==t.System.Guid)return t.System.StimulsoftGuidList;break;case e.StiTypeMode.Range:if(r==String)return t.System.StimulsoftStringRange;if(r==t.System.Byte)return t.System.StimulsoftByteRange;if(r==t.System.Int16)return t.System.StimulsoftShortRange;if(r==t.System.Int32)return t.System.StimulsoftIntRange;if(r==t.System.Int64)return t.System.StimulsoftLongRange;if(r==t.System.Single)return t.System.StimulsoftFloatRange;if(r==t.System.Double)return t.System.StimulsoftDoubleRange;if(r==t.System.Decimal)return t.System.StimulsoftDecimalRange;if(r==t.System.Char)return t.System.StimulsoftCharRange;if(r==t.System.TimeSpan)return t.System.StimulsoftTimeSpanRange;if(r==t.System.DateTime)return t.System.StimulsoftDateTimeRange;if(r==t.System.Guid)return t.System.StimulsoftGuidRange;break}return r},n.prototype.toString=function(){return this._name},n}();e.StiType=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,n=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.getByName=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.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 null},r.prototype.setByName=function(t,e){for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name==t)return void(this.list[r]=e)}this.add(e)},r.prototype.get=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.type==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.prototype.set=function(t,e){var r,n,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s;a.value.type==t&&(this.list[i]=e),i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},r.prototype.regType=function(t,r){this.add(new e.StiType(t,r))},r}(t.System.Collections.CollectionBase);e.StiTypesCollection=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,e){this._userName=t,this._password=e}return Object.defineProperty(t.prototype,"userName",{get:function(){return this._userName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"password",{get:function(){return this._password},enumerable:!1,configurable:!0}),t}();t.StiUserNameAndPassword=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(){}return t}();t.StiVariableAsParameterHelper=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=function(){function t(){}return t.getVariableSpecifiedAsExpression=function(t,e){var r,n;return e=this.getSimpleName(e),null===(n=null===(r=null==t?void 0:t.getReport())||void 0===r?void 0:r.getDictionary())||void 0===n?void 0:n.getVariableByName(e)},t.isVariableSpecifiedAsExpression=function(t,e){return null!=this.getVariableSpecifiedAsExpression(t,e)},t.extractVariableName=function(t){if(r.isNullOrWhiteSpace(t))return t;return(t=t.trim()).stimulsoft.startsWith("[")&&(t=t.substr(1)),t.stimulsoft.endsWith("]")&&(t=t.substr(0,t.length-1)),t.trim()},t.getSimpleName=function(t){if(r.isNullOrWhiteSpace(t))return t;return t=t.toLowerCase().trim(),(t=this.extractVariableName(t)).trim()},t}();e.StiVariableExpressionHelper=n}(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.Collections.CollectionBase,i=t.System.ICloneable,o=t.System.Collections.IComparer,a=t.Base.StiJson,s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.directionFactor=1,e}return __extends(n,t),n.prototype.implements=function(){return[o,i,r]},n.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()),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},n.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.StiVariable;l.loadFromJsonObject(s.value,r),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}}},n.prototype.loadFromXml=function(t,r){for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];if("value"==i.nodeName){var o=e.StiVariable.loadFromXml(i,r);this.list.push(o)}}},n.prototype.compare=function(t,e){var r=t,n=e,i=r.category.stimulsoft.compareTo(n.category)*this.directionFactor;return 0==i?r.name.stimulsoft.compareTo(n.name)*this.directionFactor:i},n.prototype.sort=function(t){void 0===t&&(t=e.StiSortOrder.Asc),t==e.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()},n.prototype.add=function(t){t.name.length>0&&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(i<this.list.length){var r;(r=this.getByIndex(i)).name.toLowerCase()==n?this.list.stimulsoft.removeAt(i):i++}}},n.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},n.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},n.prototype.clone=function(){var t,e,r=new n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;r.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},n.prototype.moveCategoryTo=function(t,e){var r,n,i,o;if(t==e)return;var a=this.getFirstCategoryIndex(t),s=this.getFirstCategoryIndex(e);if(a==s)return;var l=new Array;try{for(var u=__values(this.list),c=u.next();!c.done;c=u.next()){var p;(p=c.value).category==t&&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}}this.removeCategory(t);var h=a>s?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(e<this.length)this.list[e].category==t?this.removeAt(e):e++},n.prototype.getVariablesCount=function(t){var e,r,n=0;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a;o.value.category==t&&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},n}(n);e.StiVariablesCollection=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.Components.StiFilterHelper,n=t.Report.Components.StiDataHelper,i=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return __extends(i,e),i.renderAtEnd=function(t){null!=t.chartInfo.storedForProcessAtEndChart&&i.renderChart(t),t.chartInfo.storedForProcessAtEndChart=null},i.renderChart=function(e){var r=null;if(null!=e.chartInfo.storedForProcessAtEndChart)r=e.chartInfo.storedForProcessAtEndChart;else if(r=e.clone(),e.processAtEnd)return r;return StiOptions.Engine.dontSaveDataSourceBeforeChartRendering||e.saveState("ChartRender"),null==e.masterComponent&&n.setData(e,!0,e.parent),t.Report.Chart["StiChartHelper"].createChart(e,r),StiOptions.Engine.dontSaveDataSourceBeforeChartRendering||e.restoreState("ChartRender"),r},i.prototype.prepare=function(t){e.prototype.prepare.call(this,t),r.setFilter(t),(t.height>t.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(!(u<a.columns))return[3,7];if(o.report.column=u+1,!(a.position+u<a.count&&!o.printIfEmpty||o.printIfEmpty))return[3,5];return[4,t.prototype.internalRenderAsync.call(this,o)];case 4:return(c=p.sent()).dockStyle=r.None,c.width=l,s.components.add(c),a.rightToLeft?c.left=s.width-l*(u+1)+a.columnGaps:c.left=l*u,c.top=0,[3,6];case 5:return[3,7];case 6:return u++,[3,3];case 7:return[2,s]}}))}))},i.prototype.internalRender=function(i){var o=i,a=e.StiFooterBandBuilder.getMaster(o);if(null==a||a.columns<2)return t.prototype.internalRender.call(this,o);var s=new n;s.name=o.name,s.width=o.width,s.height=o.height;for(var l=a.getColumnWidth()+a.columnGaps,u=0;u<a.columns;u++){if(o.report.column=u+1,!(a.position+u<a.count&&!o.printIfEmpty||o.printIfEmpty))break;var c=t.prototype.internalRender.call(this,o);c.dockStyle=r.None,c.width=l,s.components.add(c),a.rightToLeft?c.left=s.width-l*(u+1)+a.columnGaps:c.left=l*u,c.top=0}return s},i}(e.StiFooterBandBuilder);e.StiColumnFooterBandBuilder=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.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<t.parent.components.count){if(t.parent.components.getByIndex(e).is(r))return t.parent.components.getByIndex(e);e++}return null},e}(e.StiBandBuilder);e.StiHeaderBandBuilder=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.StiContainerHelper,i=t.Report.Components.StiContainer,o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.internalRenderAsync=function(o){return __awaiter(this,void 0,void 0,(function(){var a,s,l,u,c,p,h;return __generator(this,(function(m){switch(m.label){case 0:if(a=o,!(null==(s=e.getMaster(a))||s.columns<2))return[3,2];return[4,t.prototype.internalRenderAsync.call(this,a)];case 1:return[2,m.sent()];case 2:(l=new i).name=a.name,l.width=a.width,l.height=a.height,l.canGrow=a.canGrow,l.canShrink=a.canShrink,l.parentComponentIsBand=!0,u=s.getColumnWidth()+s.columnGaps,c=0,m.label=3;case 3:if(!(c<s.columns))return[3,7];if(a.report.column=c+1,!(s.position+c<s.count&&!a.printIfEmpty||a.printIfEmpty))return[3,5];return[4,t.prototype.internalRenderAsync.call(this,o)];case 4:return(p=m.sent()).dockStyle=r.None,p.width=u,l.components.add(p),s.rightToLeft?p.left=l.width-u*(c+1)+s.columnGaps:p.left=u*c,p.top=0,[3,6];case 5:return[3,7];case 6:return c++,[3,3];case 7:return h=l.width,n.checkSize(l),l.parentComponentIsCrossBand||(l.width=h),[2,l]}}))}))},e.prototype.internalRender=function(o){var a=o,s=e.getMaster(a);if(null==s||s.columns<2)return t.prototype.internalRender.call(this,a);var l=new i;l.name=a.name,l.width=a.width,l.height=a.height,l.canGrow=a.canGrow,l.canShrink=a.canShrink,l.parentComponentIsBand=!0;for(var u=s.getColumnWidth()+s.columnGaps,c=0;c<s.columns;c++){if(a.report.column=c+1,!(s.position+c<s.count&&!a.printIfEmpty||a.printIfEmpty))break;var p=t.prototype.internalRender.call(this,o);p.dockStyle=r.None,p.width=u,l.components.add(p),s.rightToLeft?p.left=l.width-u*(c+1)+s.columnGaps:p.left=u*c,p.top=0}var h=l.width;return n.checkSize(l),l.parentComponentIsCrossBand||(l.width=h),l},e}(e.StiHeaderBandBuilder);e.StiColumnHeaderBandBuilder=o}(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.StiPrintOnType,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.prepare=function(e){if(t.prototype.prepare.call(this,e),e.printOn!=r.AllPages){var n=e.getStartPoint();null!=n&&(n.printOn=e.printOn);var i=e.getEndPoint();null!=i&&(i.printOn=e.printOn)}},e}(e.StiComponentBuilder);e.StiCrossLinePrimitiveBuilder=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.StiString,n=t.Report.CrossTab.Core.StiSummaryDirection,i=t.Report.CrossTab.StiCrossColumn,o=t.Report.CrossTab.StiCrossSummary,a=t.Report.Components.StiFilterHelper,s=t.Report.Components.StiDataBand,l=t.Report.Components.StiDockStyle,u=t.System.Drawing.Rectangle,c=t.Report.CrossTab.StiCrossTab,p=t.Report.CrossTab.StiCrossTabParams,h=t.Report.CrossTab.StiCrossTabHelper,m=t.Report.Components.StiContainer,f=t.Report.CrossTab.StiCrossHorAlignment,d=t.Report.Components.StiCrossHeaderInteraction,g=t.System.Collections.Hashtable,S=function(t){function S(){return null!==t&&t.apply(this,arguments)||this}return __extends(S,t),S.getCollapsingName=function(t){return this.getCollapsingName2(t.name,t.headerLevel,t.headerValue)},S.getCollapsingName2=function(t,e,n){return r.format("{0}.{1}.{2}",t,e,n)},S.isCollapsed=function(t){return this.isCollapsed2(t,t.headerLevel,t.headerValue)},S.isCollapsed2=function(t,e,r){if(null==t.interaction||t.interaction.stimulsoft.is(d)&&!t.interaction.collapsingEnabled)return!1;var n=!0;if(null==t.report.interactionCollapsingStates)return n;var i=t.report.interactionCollapsingStates[this.getCollapsingName2(t.name,e,r)];if(i.stimulsoft.is(Boolean))return i.stimulsoft.toBoolean();return!0},S.setCollapsed=function(t,e){if(null==t.interaction||t.interaction.stimulsoft.is(d)&&!t.interaction.collapsingEnabled)return;null==t.report.interactionCollapsingStates&&(t.report.interactionCollapsingStates=new g),t.report.interactionCollapsingStates[this.getCollapsingName(t)]=e},S.makeHorAlignment=function(t,e,r,n,i){if(t.wrap)return;if(t.horAlignment==f.Width)e.left=0,e.width=n,h.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=f.None){e.left=0,e.width=n*i;var o=0,a=0,s={ref:o},l={ref:a};h.calculateMaxAndMin(e,s,l,r),o=s.ref,a=l.ref;for(var u=r;u<e.components.count;u++){var c=e.components.getByIndex(u);if(t.horAlignment==f.Left)c.left-=o;else if(t.horAlignment==f.Right)c.left+=e.width-a;else if(t.horAlignment==f.Center){var p=(e.width-(a-o))/2;c.left-=o-p}}}},S.prototype.renderCrossTabOnPage=function(t,e,r,n,i,o){this.renderCrossTabSegment(t,e,r,n,i,o),this.makeHorAlignment(e,r,0,null!=t.destinationContainer?t.destinationContainer.width:e.parent.width,1),this.finalizeCross(r)},S.prototype.makeHorAlignment=function(t,e,r,n,i){if(t.wrap)return;if(t.horAlignment==f.Width)e.left=0,e.width=n,h.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=f.None){e.left=0,e.width=n*(i>1?i:1);var o={ref:0},a={ref:0};h.calculateMaxAndMin(e,o,a,r);for(var s=r;s<e.components.count;s++){var l=e.components.getByIndex(s);switch(t.horAlignment){case f.Left:l.left-=o.ref;break;case f.Right:l.left+=e.width-a.ref;break;case f.Center:var u=(e.width-(a.ref-o.ref))/2;l.left-=o.ref-u;break}}}},S.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},S.prototype.renderCrossTabSegment=function(t,e,r,n,i,o){var a=e.crossTabInfo.cross,s={ref:n};this.renderRowHeaders(t,e,r,s),this.renderColHeaders(t,e,r,s),n=s.ref,o.ref=h.getEndRow(e,t.startRow,n),i.ref=h.getEndCol(e,t.startColumn,n),o.ref=h.checkMergedRowCells(e,t.startRow,o.ref,t.startColumn,i.ref),t.startRow<o.ref&&h.renderCells(e,r,t.startColumn,t.startRow,i.ref,o.ref,n),t.renderingIsFinished=i.ref==a.colCount&&o.ref==a.rowCount,t.startColumn=i.ref,i.ref==a.colCount&&(t.startColumn=0,t.startRow=o.ref)},S.prototype.renderColHeaders=function(t,e,r,n,i,o){var a,s;if(void 0===i&&(i=!1),void 0===o&&(o=!1),0==t.startRow&&!o)return 0;if(!i){var l=n.ref.clone(),u;if(l.height=1e5,(u=this.renderColHeaders(t,e,r,{ref:l},!0,o))>n.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(o<r.colCount){if((i-=r.widths[o])<0&&n.horAlignment!=f.Width)break;o++}return o==t.startColumn&&o+1<=r.colCount&&o++,o},S.prototype.getEndRow=function(t,e,r){var n=e.height,i=t.startRow;while(i<r.rowCount){if((n-=r.heights[i])<0)break;i++}return i==t.startRow&&i+1<=r.rowCount&&i++,i},S.prototype.renderRowHeaders=function(t,e,r,n,i){var o,a;void 0===i&&(i=!1);var s=e.crossTabInfo.cross,l;if(!e.rightToLeft&&0==t.startColumn)return 0;if(e.rightToLeft&&!i&&(l=h.getEndCol(e,t.startColumn,n.ref))==s.cells.length){if(e.rightToLeft&&n.ref.width!=1e5-t.shiftX-r.left){for(var u=0,c=t.startColumn;c<l;c++)u+=s.widths[c];n.ref.x+=n.ref.width-u}return 0}var p=0;if(!i){var m=n.ref.clone();m.width=1e5;var f={ref:m};if(p=this.renderRowHeaders(t,e,r,f,!0),m=f.ref,p>n.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;c<l;c++)d+=s.widths[c];1e5!=n.ref.width&&(n.ref.x+=n.ref.width-(d+p)),n.ref.width=d+p}}var g=n.ref.height,S=n.ref.y,y=n.ref.x;if(this.renderCorner(t,e,r,n,s,i),!i){var A=n.ref.clone();if(this.renderRowHeaders(t,e,r,{ref:A},!0)>n.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(f<e.crossTabInfo.cross.rowCount){var g=new u;g.height=1e9;while(t.startColumn<e.crossTabInfo.cross.colCount){var y=0,A=0;g.width=s;var b=0,v=this.getActualHeaderRowCount(e);if(e.wrap&&e.rightToLeft){for(var C=e.crossTabInfo.cross.widths.length-1;C>e.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&&o<e.crossTabInfo.cross.colCount-1){for(var I=0,C=t.startColumn;C<o;C++)I+=e.crossTabInfo.cross.widths[C];n.x+=I,h.renderCells(e,r,e.crossTabInfo.cross.widths.length-v,f,e.crossTabInfo.cross.widths.length,i,n),n.x-=I}var T=h.getCellsRect(e,t.startColumn,t.startRow,o,i);g.height-T.height<T.height+e.wrapGap?(d++,n.y=e.page.height*d,n.x=0,g.height=0==f?e.report.engine.freeSpace-e.top:e.report.engine.staticBands.reservedFreeSpace):(n.y+=T.height+e.wrapGap,g.height-=T.height+e.wrapGap,n.x=0),t.startColumn=o}else n.x+=l-A,n.width=s,t.startColumn=o,0!=f&&(n.y-=y,g.height+=y)}e.wrap||(n.y+=g.height,n.x=0),f=i,t.startColumn=0}var E=r.containerInfo.setSegmentPerWidth=h.getPageSegmentsRequired(e);if(S.makeHorAlignment(e,r,c,e.parent.width,E),!a.unlimitedBreakable){for(var R=0,D=c;D<r.components.count;D++){var P=r.components.getByIndex(D);R=Math.max(P.right,R)}var x=a.width,F=a.segmentPerWidth;while(x<R)F++,r.containerInfo.setSegmentPerWidth=F,x+=a.width}return r},S.prototype.renderCrossTabAsync=function(r,n){return __awaiter(this,void 0,void 0,(function(){var i,o,a,s,u,c,p,f,d,g,y,A,b,v,C,w,B,I,T,E,R,w,D,P,x,F,N,I,k,M,O,_,j;return __generator(this,(function(G){switch(G.label){case 0:if(i=null!=e.StiSubReportsHelper.getParentBand(n),null!=(o=r.destinationContainer))return[3,2];return[4,t.prototype.internalRenderAsync.call(this,n)];case 1:(o=G.sent().stimulsoft.as(m)).components.clear(),G.label=2;case 2:if(o.dockStyle=l.None,n.page.unlimitedHeight&&!n.page.unlimitedBreakable||(o.canBreak=!0),!r.allowRendering)return[2,o];if((null==n.dataSource||n.dataSource.isEmpty)&&!n.printIfEmpty)return r.renderingIsFinished=!0,[2,o];if(i)return a=new e.StiCrossTabV2Builder,(s=r.destinationRectangle.clone()).x=0,s.y=0,[2,a.renderCrossTabOnDataBand(r,n,o,s)];if(u=r.destinationRectangle.clone(),n.page.unlimitedHeight&&(u.height=1e8),u.x=0,u.y=0,c=r.startRow,p=r.startColumn,n.wrap){f=o.stimulsoft.as(m);while(r.startColumn<n.crossTabInfo.cross.colCount){if(c=h.getEndRow(n,r.startRow,u),p=h.getEndCol(n,r.startColumn,u),h.renderCells(n,o,r.startColumn,r.startRow,p,c,u),d=h.getCellsRect(n,r.startColumn,r.startRow,p,c),p==n.crossTabInfo.cross.colCount&&c==n.crossTabInfo.cross.rowCount)return r.renderingIsFinished=!0,[2,o];if(p==n.crossTabInfo.cross.colCount?(r.startRow=c,r.startColumn=0):r.startColumn=p,!(u.height-n.wrapGap-d.height>d.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;w<n.crossTabInfo.cross.rowFields.count;w++)n.crossTabInfo.cross.rowFields.getByIndex(w).printOnAllPages&&!n.rightToLeft&&(B=n.crossTabInfo.cross.widths[w],A+=B,u.width-=B);if(0!=r.startRow)for(I=0;I<n.crossTabInfo.cross.colFields.count;I++)n.crossTabInfo.cross.colFields.getByIndex(I).printOnAllPages&&(b+=n.crossTabInfo.cross.heights[I],u.height-=n.crossTabInfo.cross.heights[I]);if(g&&y&&0!=r.startRow&&(b+=n.crossTabInfo.cross.heights[n.crossTabInfo.cross.colFields.count],u.height-=n.crossTabInfo.cross.heights[n.crossTabInfo.cross.colFields.count]),0!=r.startColumn&&!h.isRowFieldsEmpty(n)){for(u.x=v,u.y=b,T=u.height,E=r.startRow,R=r.startRow;R<c;R++){if((T-=n.crossTabInfo.cross.heights[R])<0)break;E++}c=E,w=0;while(w<n.crossTabInfo.cross.rowFields.count){D=w;while(D<n.crossTabInfo.cross.rowFields.count&&n.crossTabInfo.cross.rowFields.getByIndex(D).printOnAllPages&&!n.rightToLeft)D++;w!=D&&(r.startRow>0&&((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;N<p;N++){if((x-=n.crossTabInfo.cross.widths[N])<0)break;F++}p=F,g&&y&&(h.renderCells(n,o.stimulsoft.as(m),r.startColumn,0,p,1,u),u.y+=n.crossTabInfo.cross.heights[0]),I=0;while(I<n.crossTabInfo.cross.colFields.count){k=I;while(k<n.crossTabInfo.cross.colFields.count&&n.crossTabInfo.cross.colFields.getByIndex(k).printOnAllPages)k++;I!=k&&(g?(h.renderCells(n,o,r.startColumn,I+1,p,k+1,u),u.y+=n.crossTabInfo.cross.heights[I+1]):(h.renderCells(n,o,r.startColumn,I,p,k,u),u.y+=n.crossTabInfo.cross.heights[I])),I=k+1}}u.x=A,u.y=b,M=!0;while(M)if(M=!1,p=h.getEndCol(n,r.startColumn,u),c=h.getEndRow(n,r.startRow,u),r.startRow<c&&h.renderCells(n,o,r.startColumn,r.startRow,p,c,u),r.renderingIsFinished=p==n.crossTabInfo.cross.colCount&&c==n.crossTabInfo.cross.rowCount,r.startColumn=p,p==n.crossTabInfo.cross.colCount&&(r.startColumn=0,r.startRow=c),i||S.makeHorAlignment(n,o,0,null!=r.destinationContainer?r.destinationContainer.width:n.parent.width,1),n.canGrow&&(o.canGrow=!1,o.canShrink=!0,O=o.getActualSize(),o.width=O.width,o.height=O.height,o.canGrow=!0),n.page.unlimitedHeight){_=0,j=0;while(_<n.crossTabInfo.cross.rowCount)j+=n.crossTabInfo.cross.heights[_],_++;u.y+=j,r.renderingIsFinished?r.destinationContainer.containerInfo.setSegmentPerWidth=Math.trunc(u.y/r.destinationRectangle.height):M=!0}return[2,o]}}))}))},S.prototype.renderCrossTab=function(r,n){var i=null!=e.StiSubReportsHelper.getParentBand(n),o=r.destinationContainer;if(null==o&&(o=t.prototype.internalRender.call(this,n).stimulsoft.as(m)).components.clear(),o.dockStyle=l.None,n.page.unlimitedHeight&&!n.page.unlimitedBreakable||(o.canBreak=!0),!r.allowRendering)return o;if((null==n.dataSource||n.dataSource.isEmpty)&&!n.printIfEmpty)return r.renderingIsFinished=!0,o;if(i){var a=new e.StiCrossTabV2Builder,s=r.destinationRectangle.clone();return s.x=0,s.y=0,a.renderCrossTabOnDataBand(r,n,o,s)}var u=r.destinationRectangle.clone();n.page.unlimitedHeight&&(u.height=1e8),u.x=0,u.y=0;var c=r.startRow,p=r.startColumn;if(n.wrap){var f=o.stimulsoft.as(m);while(r.startColumn<n.crossTabInfo.cross.colCount){c=h.getEndRow(n,r.startRow,u),p=h.getEndCol(n,r.startColumn,u),h.renderCells(n,o,r.startColumn,r.startRow,p,c,u);var d=h.getCellsRect(n,r.startColumn,r.startRow,p,c);if(p==n.crossTabInfo.cross.colCount&&c==n.crossTabInfo.cross.rowCount)return r.renderingIsFinished=!0,o;if(p==n.crossTabInfo.cross.colCount?(r.startRow=c,r.startColumn=0):r.startColumn=p,!(u.height-n.wrapGap-d.height>d.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;w<n.crossTabInfo.cross.rowFields.count;w++)if(n.crossTabInfo.cross.rowFields.getByIndex(w).printOnAllPages&&!n.rightToLeft){var B=n.crossTabInfo.cross.widths[w];A+=B,u.width-=B}if(0!=r.startRow)for(var I=0;I<n.crossTabInfo.cross.colFields.count;I++)n.crossTabInfo.cross.colFields.getByIndex(I).printOnAllPages&&(b+=n.crossTabInfo.cross.heights[I],u.height-=n.crossTabInfo.cross.heights[I]);if(g&&y&&0!=r.startRow&&(b+=n.crossTabInfo.cross.heights[n.crossTabInfo.cross.colFields.count],u.height-=n.crossTabInfo.cross.heights[n.crossTabInfo.cross.colFields.count]),0!=r.startColumn&&!h.isRowFieldsEmpty(n)){u.x=v,u.y=b;for(var T=u.height,E=r.startRow,R=r.startRow;R<c;R++){if((T-=n.crossTabInfo.cross.heights[R])<0)break;E++}c=E;var w=0;while(w<n.crossTabInfo.cross.rowFields.count){var D=w;while(D<n.crossTabInfo.cross.rowFields.count&&n.crossTabInfo.cross.rowFields.getByIndex(D).printOnAllPages&&!n.rightToLeft)D++;if(w!=D){if(r.startRow>0){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;N<p;N++){if((x-=n.crossTabInfo.cross.widths[N])<0)break;F++}p=F,g&&y&&(h.renderCells(n,o.stimulsoft.as(m),r.startColumn,0,p,1,u),u.y+=n.crossTabInfo.cross.heights[0]);var I=0;while(I<n.crossTabInfo.cross.colFields.count){var k=I;while(k<n.crossTabInfo.cross.colFields.count&&n.crossTabInfo.cross.colFields.getByIndex(k).printOnAllPages)k++;I!=k&&(g?(h.renderCells(n,o,r.startColumn,I+1,p,k+1,u),u.y+=n.crossTabInfo.cross.heights[I+1]):(h.renderCells(n,o,r.startColumn,I,p,k,u),u.y+=n.crossTabInfo.cross.heights[I])),I=k+1}}u.x=A,u.y=b;var M=!0;while(M){if(M=!1,p=h.getEndCol(n,r.startColumn,u),c=h.getEndRow(n,r.startRow,u),r.startRow<c&&h.renderCells(n,o,r.startColumn,r.startRow,p,c,u),r.renderingIsFinished=p==n.crossTabInfo.cross.colCount&&c==n.crossTabInfo.cross.rowCount,r.startColumn=p,p==n.crossTabInfo.cross.colCount&&(r.startColumn=0,r.startRow=c),i||S.makeHorAlignment(n,o,0,null!=r.destinationContainer?r.destinationContainer.width:n.parent.width,1),n.canGrow){o.canGrow=!1,o.canShrink=!0;var O=o.getActualSize();o.width=O.width,o.height=O.height,o.canGrow=!0}if(n.page.unlimitedHeight){var _=0,j=0;while(_<n.crossTabInfo.cross.rowCount)j+=n.crossTabInfo.cross.heights[_],_++;u.y+=j,r.renderingIsFinished?r.destinationContainer.containerInfo.setSegmentPerWidth=Math.trunc(u.y/r.destinationRectangle.height):M=!0}}return o},S.prototype.renderCrossTabUnlimitedBreakable=function(t,e,r,n){var i=this.getPageForCrossTab(r);null==i&&(i=e.report.renderedPages.toList().lastOrDefault());var o=h.getEndCol(e,t.startColumn,n),a=h.getEndRow(e,t.startRow,n),s=i.width,l=i.height,u=0,c=0;while(c<a){i.segmentPerHeight=Math.max(i.segmentPerHeight,u+1);var p=0,m={ref:0},f={ref:0};while(m.ref<o){i.segmentPerWidth=Math.max(i.segmentPerWidth,p+1);var d=new Rectangle(n.left+p*s,n.top+u*l,t.destinationRectangle.width,t.destinationRectangle.height);t.startColumn=m.ref,t.startRow=c,this.renderCrossTabOnPage(t,e,r,d,m,f),p++}c=f.ref,u++}},S.prototype.getPageForCrossTab=function(t){var e=null,r=t;while(null==e&&null!=r)e=r.page,r=r.parent;return e},S.prototype.getActualHeaderRowCount=function(t){var e,r,a=0,s=0;try{for(var l=__values(t.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;c.stimulsoft.is(o)&&c.enabled&&s++,c.stimulsoft.is(i)&&c.enabled&&a++}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return s>1&&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.startRow<l.rowCount){t.startColumn=f?0:t.startColumn;var S=r.keepCrossTabTogether&&null!=r.parent&&!r.parent.canBreak,y=0!=t.startRow||m||S?u.staticBands.reservedFreeSpace:u.freeSpace-r.top;if(s.unlimitedHeight&&!s.unlimitedBreakable&&(y=1e8),y<0&&(y=u.staticBands.reservedFreeSpace),0==t.startRow||!f){var A={ref:o};if(this.renderColHeaders(t,r,n,A,!0,!0)>y){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){var w=new Rectangle(b,d,p-n.left-(C?t.shiftX:0),y),B=void 0,I={ref:B},T={ref:v};if(this.renderCrossTabSegment(t,r,n,w,I,T),B=I.ref,v=T.ref,t.startColumn=B,r.wrap){f=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;p<e.components.count;p++){var h=e.components.getByIndex(p);if(t.horAlignment==i.Left)h.left-=s;else if(t.horAlignment==i.Right)h.left+=e.width-l;else if(t.horAlignment==i.Center){var m=(e.width-(l-s))/2;h.left-=s-m}}}},e.prototype.getEndColumn=function(t,e,r,n){var o=e.width,a=t.startColumn;while(a<r.colCount){if((o-=r.widths[a])<0&&n.horAlignment!=i.Width)break;a++}return a==t.startColumn&&a+1<=r.colCount&&a++,a},e.prototype.getEndRow=function(t,e,r){var n=e.height,i=t.startRow;while(i<r.rowCount){if((n-=r.heights[i])<0)break;i++}return i==t.startRow&&i+1<=r.rowCount&&i++,i},e.prototype.allColFieldsPresentOnAllPages=function(t){return t.colFields.toList().count2((function(t){return t.printOnAllPages}))==t.colFields.count},e.prototype.renderColHeaders=function(t,e,i,a,s,l){if(void 0===s&&(s=!1),void 0===l&&(l=!1),0==t.startRow&&!l)return 0;if(!s){var u=a.ref.clone();u.height=1e5;var c={ref:u},p;if((p=this.renderColHeaders(t,e,i,c,!0,l))>a.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+A;y++){if(y<h.colFields.count&&h.colFields.getByIndex(y).as(o).printOnAllPages||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.startRow<a.ref&&n.renderCells(e,r,t.startColumn,t.startRow,o.ref,a.ref,i),t.renderingIsFinished=o.ref==s.colCount&&a.ref==s.rowCount,t.startColumn=o.ref,o.ref==s.colCount&&(t.startColumn=0,t.startRow=a.ref)},e.prototype.renderRowHeaders=function(t,e,r,i,o){var a,s;void 0===o&&(o=!1);var l=e.crossTabInfo.cross,u;if(!e.rightToLeft&&0==t.startColumn)return 0;if(e.rightToLeft&&!o&&(u=n.getEndCol(e,t.startColumn,i.ref))==l.cells.length){if(e.rightToLeft&&i.ref.width!=1e5-t.shiftX-r.left){for(var c=0,p=t.startColumn;p<u;p++)c+=l.widths[p];i.ref.x+=i.ref.width-c}return 0}var h=0;if(!o){var m=i.ref.clone();m.width=1e5;var f={ref:m};if(h=this.renderRowHeaders(t,e,r,f,!0),m=f.ref,h>i.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;p<u;p++)d+=l.widths[p];1e5!=i.ref.width&&(i.ref.x+=i.ref.width-(d+h)),i.ref.width=d+h}}var g=i.ref.height,S=i.ref.y,y=i.ref.x;if(this.renderCorner(t,e,r,i,l,o),!o){var A=i.ref.clone();if(this.renderRowHeaders(t,e,r,{ref:A},!0)>i.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<t.parent.components.count){if(!t.parent.components.getByIndex(r).is(m))if(t.parent.components.getByIndex(r).is(c));else if(t.parent.components.getByIndex(r).is(u));else{if(!t.parent.components.getByIndex(r).is(h))break;e.add(t.parent.components.getByIndex(r))}r++}return e},D.prototype.groupsComparison=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.groupHeaderComponents.toCast()),i=n.next();!i.done;i=n.next()){var o;i.value.groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}for(var a=0;a<t.dataBandInfo.groupFooterComponents.count;a++){var s=t.dataBandInfo.groupHeaderComponents.count-a-1;s>=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(r<e.parent.components.count){var n=e.parent.components.getByIndex(r);if(!n.is(t.Report.Components.StiGroupFooterBand))if(n.is(c));else if(n.is(u));else if(n.is(t.Report.Components.Table.StiTable)&&!n.isConverted);else{if(!n.is(m))break;n.printOnAllPages?e.dataBandInfo.footersOnAllPages.add(n):e.dataBandInfo.footersOnLastPage.add(n)}r++}},D.prototype.findHierarchicalFooters=function(e){var r,n,i,o,a,s,l,u;if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;var c=e.as(t.Report.Components.StiHierarchicalBand);if(null!=c&&c.footers.trim().length>0){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<e.parent.components.count){var n=e.parent.components.getByIndex(r);if(n.is(u)&&n.enabled&&e.dataBandInfo.emptyBands.add(n),n.is(t.Report.Components.Table.StiTable)&&!n.isConverted);else if(n.is(m)||n.is(t.Report.Components.StiGroupFooterBand)||n.is(l)||n.is(s)||n.is(t.Report.Components.StiDataBand))break;r++}},D.prototype.findGroupHeaders=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.groupHeaders=new I;var e=t.parent.components.indexOf(t)-1;while(e>=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<e.parent.components.count){var n=e.parent.components.getByIndex(r);if(!n.is(m))if(n.is(c));else if(n.is(u));else if(n.is(t.Report.Components.Table.StiTable)&&!n.isConverted);else{if(!n.is(t.Report.Components.StiGroupFooterBand))break;e.dataBandInfo.groupFooters.add(n)}r++}},D.prototype.findDetailDataBands=function(e){var r,n,i,o,s,l,c,h,m,d;if(null==e)return;if(null==e.parent)return;if(null==e.dataBandInfo)return;e.dataBandInfo.detailDataBands=new I;var S=e.page.getComponents(),y=e;if(e.isBusinessObjectEmpty)try{for(var A=__values(S.list),b=A.next();!b.done;b=A.next()){var v;if((v=b.value).is(u))continue;if(v==e)continue;v.is(t.Report.Components.Table.StiTable)&&!v.isConverted&&e.name==v.name+"_DB"&&(y=v);var C=v.as(g),w;if(null!=C&&C.stimulsoft.is(t.Report.Components.StiDataBand)&&(C.masterComponent==e||C.masterComponent==y)&&(C.dataSource!=y.dataSource||null==C.dataSource&&null==y.dataSource)){var T=v.parent;while(null!=T&&!T.is(B)){if(T==e)break;T=T.parent}T!=e&&e.dataBandInfo.detailDataBands.add(v)}if(null!=(w=v.as(f))&&null!=w.subReportPage)try{for(var E=(i=void 0,__values(w.subReportPage.getComponents().list)),R=E.next();!R.done;R=E.next()){var D=R.value,P=D.as(g);null==P||!P.stimulsoft.is(t.Report.Components.StiDataBand)||P.masterComponent!=e&&P.masterComponent!=y||P.dataSource==y.dataSource&&(null!=P.dataSource||null!=y.dataSource)||(null==e.dataBandInfo.detailDataBandsFromSubReports&&(e.dataBandInfo.detailDataBandsFromSubReports=new p),e.dataBandInfo.detailDataBandsFromSubReports.set(D,null))}}catch(t){i={error:t}}finally{try{R&&!R.done&&(o=E.return)&&o.call(E)}finally{if(i)throw i.error}}}}catch(t){r={error:t}}finally{try{b&&!b.done&&(n=A.return)&&n.call(A)}finally{if(r)throw r.error}}else{var x=new I,F=new I;try{for(var N=__values(S.list),k=N.next();!k.done;k=N.next()){var v,w;null!=(w=(v=k.value).as(f))&&null!=w.subReportPage?(x.addRange(w.subReportPage.getComponents()),F.addRange(w.subReportPage.getComponents())):x.add(v)}}catch(t){s={error:t}}finally{try{k&&!k.done&&(l=N.return)&&l.call(N)}finally{if(s)throw s.error}}S=x;var M=!1,O=new p;try{for(var _=__values(S.list),j=_.next();!j.done;j=_.next()){var v;if((v=j.value).is(u))continue;if(v==e)continue;if(O.containsKey(v))continue;var G=v.as(a);if(null!=G&&!G.isBusinessObjectEmpty){if(e.businessObject==G.businessObject.parentBusinessObject){var H=v.parent;while(null!=H&&!H.is(B)){if(H==e)break;H=H.parent}H!=e&&e.dataBandInfo.detailDataBands.add(v),-1!=F.indexOf(v)&&(null==e.dataBandInfo.detailDataBandsFromSubReports&&(e.dataBandInfo.detailDataBandsFromSubReports=new p),e.dataBandInfo.detailDataBandsFromSubReports.set(v,!0)),M=!0}if(M&&this.isParentOrCurrentBO(G.businessObject.parentBusinessObject,e.businessObject))break;if(null!=G.dataBandInfo.detailDataBands)try{for(var Q=(m=void 0,__values(G.dataBandInfo.detailDataBands.list)),L=Q.next();!L.done;L=Q.next()){var Y=L.value;O.set(Y,null)}}catch(t){m={error:t}}finally{try{L&&!L.done&&(d=Q.return)&&d.call(Q)}finally{if(m)throw m.error}}}}}catch(t){c={error:t}}finally{try{j&&!j.done&&(h=_.return)&&h.call(_)}finally{if(c)throw c.error}}}},D.prototype.isParentOrCurrentBO=function(t,e){while(null!=t){if(t==e)return!1;t=t.parentBusinessObject}return!0},D.prototype.findSubReports=function(t){var e,r,n,i;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.subReports=new I;var o=t.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l;(l=s.value).is(f)&&t.dataBandInfo.subReports.add(l)}}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.parent.components.indexOf(t)+1;while(u<t.parent.components.count&&t.parent.components.getByIndex(u).is(c)){var p,h=t.parent.components.getByIndex(u).getComponents();try{for(var m=(n=void 0,__values(h.list)),d=m.next();!d.done;d=m.next()){var l;(l=d.value).is(f)&&t.dataBandInfo.subReports.add(l)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}u++}},D.prototype.findDetails=function(t){var e,r;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.details=new I;var n=t.getComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var s=o.value,l=s.as(g);if(null!=l&&!s.is(f)){var u;if(!!(l.is(a)&&l.dataSource==t.dataSource&&null!=t.dataSource))continue;t.dataBandInfo.details.add(s)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},D.prototype.resetHeaders=function(t){t.dataBandInfo.headers=null},D.prototype.resetHierarchicalHeaders=function(t){t.dataBandInfo.hierarchicalHeaders=null},D.prototype.resetFooters=function(t){t.dataBandInfo.footersOnAllPages=null,t.dataBandInfo.footersOnLastPage=null},D.prototype.resetHierarchicalFooters=function(t){t.dataBandInfo.hierarchicalFooters=null},D.prototype.resetEmptyBands=function(t){t.dataBandInfo.emptyBands=null},D.prototype.resetGroupHeaders=function(t){t.dataBandInfo.groupHeaders=null},D.prototype.resetGroupFooters=function(t){t.dataBandInfo.groupFooters=null},D.prototype.resetDetailDataBands=function(t){t.dataBandInfo.detailDataBands=null},D.prototype.resetDetails=function(t){t.dataBandInfo.details=null},D.prototype.addKeepLevelAtLatestDataBandAsync=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(),null!=t.report.engine.containerForRender&&t.report.engine.addKeepLevelAtLatestDataBand(),[2]}}))}))},D.prototype.addKeepLevelAtLatestDataBand=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addKeepLevelAtLatestDataBand()},D.prototype.addKeepLevelAsync=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(),null!=t.report.engine.containerForRender&&t.report.engine.addLevel(),[2]}}))}))},D.prototype.addKeepLevel=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addLevel()},D.prototype.removeKeepLevelAsync=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(),null!=t.report.engine.containerForRender&&t.report.engine.removeLevel(),[2]}}))}))},D.prototype.removeKeepLevel=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.removeLevel()},D.prototype.removeKeepGroupHeadersAsync=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:e=0,l.label=1;case 1:l.trys.push([1,7,8,9]),r=__values(t.dataBandInfo.groupHeaders.list),n=r.next(),l.label=2;case 2:if(n.done)return[3,6];if(i=n.value,!t.dataBandInfo.groupHeaderResults[e])return[3,4];if(!i.keepGroupHeaderTogether)return[3,4];return[4,this.removeKeepLevelAsync(t)];case 3:l.sent(),l.label=4;case 4:e++,l.label=5;case 5:return n=r.next(),[3,2];case 6:return[3,9];case 7:return o=l.sent(),a={error:o},[3,9];case 8:try{n&&!n.done&&(s=r.return)&&s.call(r)}finally{if(a)throw a.error}return[7];case 9:return[2]}}))}))},D.prototype.removeKeepGroupHeaders=function(t){var e,r,n=0;try{for(var i=__values(t.dataBandInfo.groupHeaders.list),o=i.next();!o.done;o=i.next()){var a=o.value;t.dataBandInfo.groupHeaderResults[n]&&a.keepGroupHeaderTogether&&this.removeKeepLevel(t),n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},D.prototype.removeKeepHeadersAsync=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(!(r<t.dataBandInfo.headers.count))return[3,4];if(!(n=t.dataBandInfo.headers.getByIndex(r).as(l)).keepHeaderTogether||0!=t.position&&!e[r])return[3,3];return[4,this.removeKeepLevelAsync(t)];case 2:i.sent(),e[r]=!1,i.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}))},D.prototype.removeKeepHeaders=function(t,e){for(var r=0;r<t.dataBandInfo.headers.count;r++){var n;t.dataBandInfo.headers.getByIndex(r).as(l).keepHeaderTogether&&(0==t.position||e[r])&&(this.removeKeepLevel(t),e[r]=!1)}},D.prototype.allowKeepDetails=function(t){var e,r;if(!this.allowDetailDataBands(t))return!1;if(t.keepDetails==d.None)return!1;try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o;if(i.value.parent.name!=t.parent.name)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.prototype.addKeepDetailsAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){switch(n.label){case 0:if(!this.allowKeepDetails(t))return[2];return t.keepDetails!=d.KeepFirstDetailTogether&&t.keepDetails!=d.KeepFirstRowTogether||(e=t.report.engine.keepFirstDetailTogetherTablesList.get(t),null==(r=null!=e?e.as(a):null)&&(r=t),t.report.engine.keepFirstDetailTogetherList.set(r,t)),[4,this.addKeepLevelAsync(t)];case 1:return n.sent(),[2]}}))}))},D.prototype.addKeepDetails=function(t){if(!this.allowKeepDetails(t))return;if(t.keepDetails==d.KeepFirstDetailTogether||t.keepDetails==d.KeepFirstRowTogether){var e=t.report.engine.keepFirstDetailTogetherTablesList.get(t),r=null!=e?e.as(a):null;null==r&&(r=t),t.report.engine.keepFirstDetailTogetherList.set(r,t)}this.addKeepLevel(t)},D.prototype.removeKeepDetailsAsync=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.allowKeepDetails(t)||t.keepDetails!=d.KeepDetailsTogether)return[3,2];return[4,this.removeKeepLevelAsync(t)];case 1:e.sent(),e.label=2;case 2:if(null==t.masterComponent||null==t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent))return[3,4];return[4,this.removeKeepLevelAsync(t)];case 3:e.sent(),t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent,null),e.label=4;case 4:if(null==t.report.engine.keepFirstDetailTogetherList.get(t))return[3,6];return[4,this.removeKeepLevelAsync(t)];case 5:e.sent(),t.report.engine.keepFirstDetailTogetherList.set(t,null),e.label=6;case 6:return[2]}}))}))},D.prototype.removeKeepDetails=function(t){this.allowKeepDetails(t)&&t.keepDetails==d.KeepDetailsTogether&&this.removeKeepLevel(t),null!=t.masterComponent&&null!=t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent,null)),null!=t.report.engine.keepFirstDetailTogetherList.get(t)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t,null))},D.prototype.removeKeepDetailsRowAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:if(0==e.dataBandInfo.detailDataBands.count)return[2];r=e,n.label=1;case 1:if(null==r||null==r.masterComponent)return[3,4];if(null==(r=r.masterComponent.as(t.Report.Components.StiDataBand))||r.keepDetails!=d.KeepFirstRowTogether||null==e.report.engine.keepFirstDetailTogetherList.get(r))return[3,3];return[4,this.removeKeepLevelAsync(r)];case 2:n.sent(),e.report.engine.keepFirstDetailTogetherList.set(r,null),n.label=3;case 3:return[3,1];case 4:return[2]}}))}))},D.prototype.removeKeepDetailsRow=function(e){if(0==e.dataBandInfo.detailDataBands.count)return;var r=e;while(null!=r&&null!=r.masterComponent)null!=(r=r.masterComponent.as(t.Report.Components.StiDataBand))&&r.keepDetails==d.KeepFirstRowTogether&&null!=e.report.engine.keepFirstDetailTogetherList.get(r)&&(this.removeKeepLevel(r),e.report.engine.keepFirstDetailTogetherList.set(r,null))},D.prototype.startBands=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;this.startBand(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},D.prototype.startBand=function(t,e){var r=e.as(S);null!=r&&r.printOnAllPages&&t.report.engine.bandsOnAllPages.add(t,e)},D.prototype.endBands=function(t){t.report.engine.bandsOnAllPages.remove(t)},D.prototype.getGroupHeaderResult=function(t,e){var r,n,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next();!a.done;a=o.next()){var s;if(a.value==e)return t.dataBandInfo.groupHeaderResults[i];i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},D.prototype.getGroupFooterResult=function(t,e){var r,n,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next();!a.done;a=o.next()){var s;if(a.value==e)return t.dataBandInfo.groupFooterResults[i];i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},D.prototype.linkGroupHeadersAndGroupFooters=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.groupHeaders.list),i=n.next();!i.done;i=n.next()){var o;i.value.groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}for(var a=0;a<t.dataBandInfo.groupFooters.count;a++){var s=t.dataBandInfo.groupHeaders.count-a-1;s>=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<s-1)if(l){if(t.isBusinessObjectEmpty){t.position=a+1;var d=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);t.position=a;var m=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);d&&d.stimulsoft.is(i)&&m&&m.stimulsoft.is(i)?t.dataBandInfo.groupFooterResults[o]=0!=i.compare(d,m):t.dataBandInfo.groupFooterResults[o]=d!=m}else{var f;(f=t.businessObject).setNextValue();var d=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);f.restoreCurrentValue();var m=e.StiGroupHeaderBandBuilder.getCurrentConditionValue(p);d&&d.stimulsoft.is(i)&&m&&m.stimulsoft.is(i)?t.dataBandInfo.groupFooterResults[o]=0!=i.compare(d,m):t.dataBandInfo.groupFooterResults[o]=d!=m}t.dataBandInfo.groupFooterCachedResults[a][o]=t.dataBandInfo.groupFooterResults[o]}else t.dataBandInfo.groupFooterResults[o]=t.dataBandInfo.groupFooterCachedResults[a][o];else t.dataBandInfo.groupFooterResults[o]=!0;o++}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}for(var g=0;g<t.dataBandInfo.groupHeaderResults.length;g++)if(t.dataBandInfo.groupHeaderResults[g]){for(var S=g+1;S<t.dataBandInfo.groupHeaderResults.length;S++)t.dataBandInfo.groupHeaderResults[S]=!0;break}for(var y=0;y<t.dataBandInfo.groupFooterResults.length;y++)if(t.dataBandInfo.groupFooterResults[y]){for(var S=y+1;S<t.dataBandInfo.groupFooterResults.length;S++)t.dataBandInfo.groupFooterResults[S]=!0;break}},D.prototype.renderGroupHeadersAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,l,u,c,p;return __generator(this,(function(h){switch(h.label){case 0:t.parentBookmark=t.dataBandInfo.storedParentBookmark,e=!1,r=0,h.label=1;case 1:h.trys.push([1,11,12,13]),n=__values(t.dataBandInfo.groupHeaders.toCast()),i=n.next(),h.label=2;case 2:if(i.done)return[3,10];if(o=i.value,(a=o).parentBookmark=t.parentBookmark,a.doBookmark(),a.parentBookmark!=a.currentBookmark&&(t.parentBookmark=a.currentBookmark),!t.dataBandInfo.groupHeaderResults[r])return[3,8];for(s=r+1;s<t.dataBandInfo.groupHeaders.count;s++)t.report.engine.removeBandFromPageBreakSkipList(t.dataBandInfo.groupHeaders.getByIndex(s).as(b));if(null!=t.report&&(l=t.report).cacheTotals&&null!=l.cachedTotals&&l.cachedTotals.set(a,null),a.groupHeaderBandInfo.skipKeepGroups=t.report.engine.isFirstDataBandOnPage&&t.componentType==A.Master&&1==a.line,a.groupHeaderBandInfo.skipKeepGroups||!a.keepGroupTogether)return[3,4];return[4,this.addKeepLevelAsync(t)];case 3:h.sent(),h.label=4;case 4:if(!a.keepGroupHeaderTogether)return[3,6];return[4,this.addKeepLevelAsync(t)];case 5:h.sent(),h.label=6;case 6:return t.line=1,a.invokeBeginRender(),a.collapsingIndex=a.line,a.report.groupLine=a.line,D.invokeCollapsedEvent(a),[4,this.renderBandAsync(t,a)];case 7:h.sent(),e=!0,D.isCollapsed(a,!0)&&(a.groupHeaderBandInfo.oldSilentMode=t.report.engine.silentMode,t.report.engine.silentMode=!0,a.groupHeaderBandInfo.silentModeEnabled=!0),h.label=8;case 8:r++,h.label=9;case 9:return i=n.next(),[3,2];case 10:return[3,13];case 11:return u=h.sent(),c={error:u},[3,13];case 12:try{i&&!i.done&&(p=n.return)&&p.call(n)}finally{if(c)throw c.error}return[7];case 13:if(!e)return[3,15];return[4,this.renderColumnsAsync(t)];case 14:h.sent(),h.label=15;case 15:return[2]}}))}))},D.prototype.renderGroupHeaders=function(t){var e,r;t.parentBookmark=t.dataBandInfo.storedParentBookmark;var n=!1,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.toCast()),a=o.next();!a.done;a=o.next()){var s,l=a.value;if(l.parentBookmark=t.parentBookmark,l.doBookmark(),l.parentBookmark!=l.currentBookmark&&(t.parentBookmark=l.currentBookmark),t.dataBandInfo.groupHeaderResults[i]){for(var u=i+1;u<t.dataBandInfo.groupHeaders.count;u++)t.report.engine.removeBandFromPageBreakSkipList(t.dataBandInfo.groupHeaders.getByIndex(u).as(b));if(null!=t.report){var c=t.report;c.cacheTotals&&null!=c.cachedTotals&&c.cachedTotals.set(l,null)}l.groupHeaderBandInfo.skipKeepGroups=t.report.engine.isFirstDataBandOnPage&&t.componentType==A.Master&&1==l.line,!l.groupHeaderBandInfo.skipKeepGroups&&l.keepGroupTogether&&this.addKeepLevel(t),l.keepGroupHeaderTogether&&this.addKeepLevel(t),t.line=1,l.invokeBeginRender(),l.collapsingIndex=l.line,l.report.groupLine=l.line,D.invokeCollapsedEvent(l),this.renderBand(t,l),n=!0,D.isCollapsed(l,!0)&&(l.groupHeaderBandInfo.oldSilentMode=t.report.engine.silentMode,t.report.engine.silentMode=!0,l.groupHeaderBandInfo.silentModeEnabled=!0)}i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}n&&this.renderColumns(t)},D.prototype.renderGroupFootersAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:r=e.dataBandInfo.groupHeaders.count-1,a.label=1;case 1:if(!(r>=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(!(r<t.dataBandInfo.headers.count))return[3,6];if(n=t.dataBandInfo.headers.getByIndex(r).as(l),t.isEmpty&&!n.printIfEmpty)return[3,5];if(t.isEmpty||!n.keepHeaderTogether)return[3,3];return[4,this.addKeepLevelAsync(t)];case 2:i.sent(),e[r]=!0,i.label=3;case 3:return[4,this.renderBandAsync(t,n)];case 4:i.sent(),i.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))},D.prototype.renderHeaders=function(t,e){for(var r=0;r<t.dataBandInfo.headers.count;r++){var n=t.dataBandInfo.headers.getByIndex(r).as(l);t.isEmpty&&!n.printIfEmpty||(!t.isEmpty&&n.keepHeaderTogether&&(this.addKeepLevel(t),e[r]=!0),this.renderBand(t,n))}},D.prototype.renderHierarchicalHeadersAsync=function(t,r,n){return __awaiter(this,void 0,void 0,(function(){var i,o,a,s,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(null==t.dataBandInfo.hierarchicalHeaders)return[2];c.label=1;case 1:c.trys.push([1,8,9,10]),i=__values(t.dataBandInfo.hierarchicalHeaders.list),o=i.next(),c.label=2;case 2:if(o.done)return[3,7];if(a=o.value,t.isEmpty&&!a.printIfEmpty)return[3,6];if(t.isEmpty||!a.keepHeaderTogether)return[3,4];return[4,this.addKeepLevelAsync(t)];case 3:c.sent(),c.label=4;case 4:return r&&e.StiHierarchicalBandBuilder.createIndention(t,a,n),[4,this.renderBandAsync(t,a)];case 5:c.sent(),r&&e.StiHierarchicalBandBuilder.createIndention(t,a,-n),c.label=6;case 6:return o=i.next(),[3,2];case 7:return[3,10];case 8:return s=c.sent(),l={error:s},[3,10];case 9:try{o&&!o.done&&(u=i.return)&&u.call(i)}finally{if(l)throw l.error}return[7];case 10:return[2]}}))}))},D.prototype.renderHierarchicalHeaders=function(t,r,n){var i,o;if(null==t.dataBandInfo.hierarchicalHeaders)return;try{for(var a=__values(t.dataBandInfo.hierarchicalHeaders.list),s=a.next();!s.done;s=a.next()){var l=s.value;t.isEmpty&&!l.printIfEmpty||(!t.isEmpty&&l.keepHeaderTogether&&this.addKeepLevel(t),r&&e.StiHierarchicalBandBuilder.createIndention(t,l,n),this.renderBand(t,l),r&&e.StiHierarchicalBandBuilder.createIndention(t,l,-n))}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},D.prototype.addFooterMarkerAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,t.report.engine.threads.selectThreadFromContainerAsync(t)];case 1:return r.sent(),t.report.engine.addFooterMarker(e),[2]}}))}))},D.prototype.addFooterMarker=function(t,e){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.addFooterMarker(e)},D.prototype.renderMarkerFootersOnAllPagesAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,7]),e=__values(t.dataBandInfo.footersOnAllPages.list),r=e.next(),s.label=1;case 1:if(r.done)return[3,4];if(n=r.value,t.isEmpty&&!n.printIfEmpty)return[3,3];return[4,this.addFooterMarkerAsync(t,n)];case 2:s.sent(),s.label=3;case 3:return r=e.next(),[3,1];case 4:return[3,7];case 5:return i=s.sent(),o={error:i},[3,7];case 6:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 7:return[2]}}))}))},D.prototype.renderMarkerFootersOnAllPages=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.footersOnAllPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.addFooterMarker(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.renderFootersOnLastPageAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,l;return __generator(this,(function(u){switch(u.label){case 0:e.is(t.Report.Components.StiHierarchicalBand)&&(e.hierarchicalBandInfo.finalFooterCalculation=!0),u.label=1;case 1:u.trys.push([1,9,10,11]),r=__values(e.dataBandInfo.footersOnLastPage.list),n=r.next(),u.label=2;case 2:if(n.done)return[3,8];if(i=n.value,e.isEmpty&&!i.printIfEmpty)return[3,7];if(!(o=!e.isEmpty&&i.keepFooterTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(e)];case 3:u.sent(),u.label=4;case 4:return[4,this.renderBandAsync(e,i)];case 5:if(u.sent(),!o)return[3,7];return[4,this.removeKeepLevelAsync(e)];case 6:u.sent(),u.label=7;case 7:return n=r.next(),[3,2];case 8:return[3,11];case 9:return a=u.sent(),s={error:a},[3,11];case 10:try{n&&!n.done&&(l=r.return)&&l.call(r)}finally{if(s)throw s.error}return[7];case 11:return e.is(t.Report.Components.StiHierarchicalBand)&&(e.hierarchicalBandInfo.finalFooterCalculation=!1),[2]}}))}))},D.prototype.renderFootersOnLastPage=function(e){var r,n;e.is(t.Report.Components.StiHierarchicalBand)&&(e.hierarchicalBandInfo.finalFooterCalculation=!0);try{for(var i=__values(e.dataBandInfo.footersOnLastPage.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(!e.isEmpty||a.printIfEmpty){var s=!e.isEmpty&&a.keepFooterTogether;s&&this.addKeepLevelAtLatestDataBand(e),this.renderBand(e,a),s&&this.removeKeepLevel(e)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}e.is(t.Report.Components.StiHierarchicalBand)&&(e.hierarchicalBandInfo.finalFooterCalculation=!1)},D.prototype.renderFootersOnAllPagesAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,7]),e=__values(t.dataBandInfo.footersOnAllPages.list),r=e.next(),s.label=1;case 1:if(r.done)return[3,4];if(n=r.value,t.isEmpty&&!n.printIfEmpty)return[3,3];return[4,this.renderBandAsync(t,n)];case 2:s.sent(),s.label=3;case 3:return r=e.next(),[3,1];case 4:return[3,7];case 5:return i=s.sent(),o={error:i},[3,7];case 6:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 7:return[2]}}))}))},D.prototype.renderFootersOnAllPages=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.footersOnAllPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.renderBand(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.renderHierarchicalFootersAsync=function(t,r,n){return __awaiter(this,void 0,void 0,(function(){var i,o,a,s,l,u,c;return __generator(this,(function(p){switch(p.label){case 0:if(null==t.dataBandInfo.hierarchicalFooters)return[2];p.label=1;case 1:p.trys.push([1,9,10,11]),i=__values(t.dataBandInfo.hierarchicalFooters.list),o=i.next(),p.label=2;case 2:if(o.done)return[3,8];if(a=o.value,t.isEmpty&&!a.printIfEmpty)return[3,7];if(!(s=!t.isEmpty&&a.keepFooterTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(t)];case 3:p.sent(),p.label=4;case 4:return r&&e.StiHierarchicalBandBuilder.createIndention(t,a,n),[4,this.renderBandAsync(t,a)];case 5:if(p.sent(),r&&e.StiHierarchicalBandBuilder.createIndention(t,a,-n),!s)return[3,7];return[4,this.removeKeepLevelAsync(t)];case 6:p.sent(),p.label=7;case 7:return o=i.next(),[3,2];case 8:return[3,11];case 9:return l=p.sent(),u={error:l},[3,11];case 10:try{o&&!o.done&&(c=i.return)&&c.call(i)}finally{if(u)throw u.error}return[7];case 11:return[2]}}))}))},D.prototype.renderHierarchicalFooters=function(t,r,n){var i,o;if(null==t.dataBandInfo.hierarchicalFooters)return;try{for(var a=__values(t.dataBandInfo.hierarchicalFooters.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(!t.isEmpty||l.printIfEmpty){var u=!t.isEmpty&&l.keepFooterTogether;u&&this.addKeepLevelAtLatestDataBand(t),r&&e.StiHierarchicalBandBuilder.createIndention(t,l,n),this.renderBand(t,l),r&&e.StiHierarchicalBandBuilder.createIndention(t,l,-n),u&&this.removeKeepLevel(t)}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},D.prototype.renderReportTitlesAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(null==t.dataBandInfo.reportTitles)return[2];s.label=1;case 1:s.trys.push([1,6,7,8]),e=__values(t.dataBandInfo.reportTitles),r=e.next(),s.label=2;case 2:if(r.done)return[3,5];if(n=r.value,t.isEmpty&&!n.printIfEmpty)return[3,4];return[4,this.renderBandAsync(t,n)];case 3:s.sent(),s.label=4;case 4:return r=e.next(),[3,2];case 5:return[3,8];case 6:return i=s.sent(),o={error:i},[3,8];case 7:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 8:return[2]}}))}))},D.prototype.renderReportTitles=function(t){var e,r;if(null==t.dataBandInfo.reportTitles)return;try{for(var n=__values(t.dataBandInfo.reportTitles),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.renderBand(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.renderReportSummariesAsync=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(null==t.dataBandInfo.reportSummaries)return[2];l.label=1;case 1:l.trys.push([1,9,10,11]),e=__values(t.dataBandInfo.reportSummaries),r=e.next(),l.label=2;case 2:if(r.done)return[3,8];if(n=r.value,t.isEmpty&&!n.printIfEmpty)return[3,7];if(!(i=!t.isEmpty&&n.keepReportSummaryTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(t)];case 3:l.sent(),l.label=4;case 4:return[4,this.renderBandAsync(t,n)];case 5:if(l.sent(),!i)return[3,7];return[4,this.removeKeepLevelAsync(t)];case 6:l.sent(),l.label=7;case 7:return r=e.next(),[3,2];case 8:return[3,11];case 9:return o=l.sent(),a={error:o},[3,11];case 10:try{r&&!r.done&&(s=e.return)&&s.call(e)}finally{if(a)throw a.error}return[7];case 11:return[2]}}))}))},D.prototype.renderReportSummaries=function(t){var e,r;if(null==t.dataBandInfo.reportSummaries)return;try{for(var n=__values(t.dataBandInfo.reportSummaries),i=n.next();!i.done;i=n.next()){var o=i.value;if(!t.isEmpty||o.printIfEmpty){var a=!t.isEmpty&&o.keepReportSummaryTogether;a&&this.addKeepLevelAtLatestDataBand(t),this.renderBand(t,o),a&&this.removeKeepLevel(t)}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.checkKeepReportSummaryTogether=function(t){var e,r;if(null==t.dataBandInfo.reportSummaries)return!1;var n=!1;try{for(var i=__values(t.dataBandInfo.reportSummaries),o=i.next();!o.done;o=i.next()){var a=o.value;!t.isEmpty&&a.keepReportSummaryTogether&&(n=!0)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},D.prototype.block=function(t){var e,r,n,i,o,a,s,l,u,c,p,h;try{for(var m=__values(t.dataBandInfo.groupHeaders.list),f=m.next();!f.done;f=m.next()){var d;(d=f.value).blocked=!0}}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(t.dataBandInfo.groupFooters.list),S=g.next();!S.done;S=g.next()){var d;(d=S.value).blocked=!0}}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 y=__values(t.dataBandInfo.headers.list),A=y.next();!A.done;A=y.next()){var d;(d=A.value).blocked=!0}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}try{for(var b=__values(t.dataBandInfo.footersOnAllPages.list),v=b.next();!v.done;v=b.next()){var d;(d=v.value).blocked=!0}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}try{for(var C=__values(t.dataBandInfo.footersOnLastPage.list),w=C.next();!w.done;w=C.next()){var d;(d=w.value).blocked=!0}}catch(t){u={error:t}}finally{try{w&&!w.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}if(null!=t.dataBandInfo.reportSummaries)try{for(var B=__values(t.dataBandInfo.reportSummaries),I=B.next();!I.done;I=B.next()){var d;(d=I.value).blocked=!0}}catch(t){p={error:t}}finally{try{I&&!I.done&&(h=B.return)&&h.call(B)}finally{if(p)throw p.error}}t.blocked=!0},D.prototype.unBlock=function(t){var e,r,n,i,o,a,s,l,u,c;try{for(var p=__values(t.dataBandInfo.groupHeaders.list),h=p.next();!h.done;h=p.next()){var m;(m=h.value).blocked=!1}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}try{for(var f=__values(t.dataBandInfo.groupFooters.list),d=f.next();!d.done;d=f.next()){var m;(m=d.value).blocked=!1}}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 g=__values(t.dataBandInfo.headers.list),S=g.next();!S.done;S=g.next()){var m;(m=S.value).blocked=!1}}catch(t){o={error:t}}finally{try{S&&!S.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}try{for(var y=__values(t.dataBandInfo.footersOnAllPages.list),A=y.next();!A.done;A=y.next()){var m;(m=A.value).blocked=!1}}catch(t){s={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}try{for(var b=__values(t.dataBandInfo.footersOnLastPage.list),v=b.next();!v.done;v=b.next()){var m;(m=v.value).blocked=!1}}catch(t){u={error:t}}finally{try{v&&!v.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}t.blocked=!1},D.prototype.checkHierarchicalHeadersAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,i;return __generator(this,(function(a){switch(a.label){case 0:if(!e.is(t.Report.Components.StiHierarchicalBand))return[3,10];if(r=0,n=0,e.isDataSourceEmpty||(r=e.dataSource.getLevel(),n=e.dataSource.position),e.isBusinessObjectEmpty||(r=e.businessObject.getLevel(),n=e.businessObject.position),0!=n)return[3,5];i=0,a.label=1;case 1:if(!(i<=r))return[3,4];return i!=r&&(e.hierarchicalBandInfo.specifiedLevel=i),[4,this.renderHierarchicalHeadersAsync(e,!0,i)];case 2:a.sent(),e.hierarchicalBandInfo.specifiedLevel=-1,a.label=3;case 3:return i++,[3,1];case 4:return[3,10];case 5:if(o=0,e.isDataSourceEmpty||(e.dataSource.position--,o=e.dataSource.getLevel(),e.dataSource.position++),e.isBusinessObjectEmpty||(e.businessObject.setPrevValue(),o=e.businessObject.getLevel(),e.businessObject.restoreCurrentValue()),!(o<r))return[3,10];i=r,a.label=6;case 6:if(!(i>o))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()),o<r){for(var i=r;i>o;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()),!(a<i))return[3,10];o=i,s.label=6;case 6:if(!(o>a))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()),a<i){for(var o=i;o>a;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.length<l&&!r.isEof)u.push(r.businessObject.current),r.next();while(1){if(0==r.collapsingIndex||0==l)return!1;if(r.collapsingIndex--,l--,r.businessObject.currentObject=u[l],o<=r.businessObject.getLevel())continue;if(this.isCollapsed(r,!1))return!0}}if(!r.isDataSourceEmpty)while(1){if(0==r.collapsingIndex||0==r.position)return!1;if(r.collapsingIndex--,r.position--,o<=r.dataSource.getLevel())continue;if(this.isCollapsed(r,!1))return!0}return!1}finally{a&&(r.businessObject.currentObject=s),r.collapsingIndex=n,r.position=i}},e.createIndention=function(t,e,r){var n,i,o=r*t.report.unit.convertFromHInches(t.indent);try{for(var a=__values(e.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.locked)continue;l.left+=o}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e}(e.StiDataBandBuilder);e.StiHierarchicalBandBuilder=n}(r=e.Engine||(e.Engine={}))}(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),r.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(i){return(r=(e=t).clone(!1)).guid,null==r.image&&(r.guid=null),null==r.imageToDraw&&(n=e.getImageFromSource(),r.imageToDraw=n),r.invokeEvents(),[2,r]}))}))},r.prototype.internalRender=function(e){var r=e,n=r.clone(!1);if(n.guid&&t.StiFileImageCache.remove(t.StiFileImageCache.getImageCacheName(r.report.imageCachePath,n.guid)),null==n.image&&(n.guid=null),null==n.imageToDraw){var i=r.getImageFromSource();n.imageToDraw=i}return n.invokeEvents(),n},r}(e.StiComponentBuilder);e.StiViewBuilder=r}(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.StiImage,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=null!=e?e.stimulsoft.as(r):null,[4,t.prototype.internalRenderAsync.call(this,n)];case 1:return i=a.sent(),[2,o=null!=i?i.stimulsoft.as(r):null]}}))}))},e.prototype.internalRender=function(e){var n=null!=e?e.stimulsoft.as(r):null,i=t.prototype.internalRender.call(this,n),o;return null!=i?i.stimulsoft.as(r):null},e}(e.StiViewBuilder);e.StiImageBuilder=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.StiString,n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.renderMap=function(e){var n,i,o=e.clone(),a=null;if(null!=e.dataSource?a=e.dataSourceName:null!=e.businessObject&&(a=e.businessObjectGuid),null!=a&&!r.isNullOrEmpty(e.keyDataColumn)){var s=t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary,a+"."+e.keyDataColumn);if(null==s)return o;var l=null,u=null,c=null,p=null;if(r.isNullOrEmpty(e.nameDataColumn)||(l=t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary,a+"."+e.nameDataColumn)),r.isNullOrEmpty(e.valueDataColumn)||(u=t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary,a+"."+e.valueDataColumn)),r.isNullOrEmpty(e.groupDataColumn)||(c=t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary,a+"."+e.groupDataColumn)),r.isNullOrEmpty(e.colorDataColumn)||(p=t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary,a+"."+e.colorDataColumn)),null==l&&null==u&&null==c&&null==p)return o;for(var h=o.getMapData(),m=function(t){var e=s[t].toString(),n=null;if(r.isNullOrEmpty(e)||(n=h.firstOrDefault((function(t){return t.key==e}))),null==n)return"continue";if(null!=l&&l.length>0){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;f<s.length;f++)m(f);var d=[];try{for(var g=__values(h),S=g.next();!S.done;S=g.next()){var y=S.value;d.push({Key:y.key,Value:y.value,Group:y.group,Color:y.color,Name:y.name})}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}o.mapData=JSON.stringify(d)}return o},n.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))},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;q<t.renderedPages.count;q++){var $;($=t.renderedPages.getByIndex(q)).convert(E.unit,t.unit)}}finally{E.subReportsMasterReport=null,null!=E.compiledReport&&(E.compiledReport.subReportsMasterReport=null)}if(E.isStopped){t.isStopped=E.isStopped;break}t.bookmark.bookmarks.addRange(E.bookmark.bookmarks),_=E}}catch(t){p={error:t}}finally{try{G&&!G.done&&(h=j.return)&&h.call(j)}finally{if(p)throw p.error}}N.pageNumbers.processPageNumbers(),O=0;try{for(var tt=__values(t.subReports.list),et=tt.next();!et.done;et=tt.next()){var E,L;null!=(L=E=et.value).compiledReport&&(L=L.compiledReport),L.totals=F.get(O++),L.invokeEndRender()}}catch(t){S={error:t}}finally{try{et&&!et.done&&(y=tt.return)&&y.call(tt)}finally{if(S)throw S.error}}try{for(var rt=__values(t.subReports.list),nt=rt.next();!nt.done;nt=rt.next()){var E;(E=nt.value).totals=null}}catch(t){A={error:t}}finally{try{nt&&!nt.done&&(b=rt.return)&&b.call(rt)}finally{if(A)throw A.error}}null!=k&&(k.engine=N,k.invokeEndRender(),k.engine=null),null!=k&&k==t||t.invokeEndRender();try{for(var it=__values(t.renderedPages.list),ot=it.next();!ot.done;ot=it.next()){var $;($=ot.value).report=null!=t.compiledReport?t.compiledReport:t}}catch(t){v={error:t}}finally{try{ot&&!ot.done&&(C=it.return)&&C.call(it)}finally{if(v)throw v.error}}if(t.engine=null,t.isRendered=!0,null!=t.compiledReport&&(t.compiledReport.engine=null,t.compiledReport.isRendered=!0),null!=t.parentReport&&(t.parentReport.engine=null,t.parentReport.isRendered=!0),r.StiPostProcessProvider.postProcessPages(t.renderedPages),null!=t&&null!=t.renderedPages)try{for(var at=__values(t.renderedPages.list),st=at.next();!st.done;st=at.next()){var $;($=st.value).report=t}}catch(t){w={error:t}}finally{try{st&&!st.done&&(B=at.return)&&B.call(at)}finally{if(w)throw w.error}}e.isSubReportMode=!1,t.invokeRefreshViewer()},t}();r.StiReportBuilder=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.Helpers.StiHyperlinkProcessor,o=t.Report.Components.StiColorScaleCondition,a=t.Report.Components.IStiIndicatorCondition,s=t.Report.Components.StiSimpleText,l=t.Report.Components.StiText,u=t.Report.Events.StiGetValueEventArgs,c=t.Report.Components.StiOverlayBand,p=t.Report.Events.StiGetExcelValueEventArgs,h=t.Report.Events.StiValueEventArgs,m=t.Report.Components.StiPage,f=function(r){function f(){return null!==r&&r.apply(this,arguments)||this}return __extends(f,r),f.prototype.prepare=function(t){r.prototype.prepare.call(this,t),StiOptions.Engine.allowResetValuesAtComponent&&(t.textValue=null)},f.prototype.internalRenderAsync=function(r){return __awaiter(this,void 0,void 0,(function(){var f,d,g,S,y,A,b,v,C,w,B,w,I,T,E,R,I,T,E,D,P;return __generator(this,(function(x){if(f=r.as(s),d=f.clone(!1,!0,!1),null!=f.conditions&&f.conditions.count>0&&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(e<this.bands.length){var r;this.bands[e].dataBand==t?this.bands.stimulsoft.removeAt(e):e++}},t.prototype.allowRenderBand=function(t){if(0==this.engine.bandsInProgress.length)return!0;var e=this.engine.bandsInProgress[this.engine.bandsInProgress.length-1];if(t==e&&!t.is(n))return!1;if(e.is(i)&&t.is(i)){if(e.getDataBand()!=t.getDataBand())return!0;var r,o;if(t.parent.components.indexOf(t)>t.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(i<e.bookmarks.count-1)e.bookmarks.getByIndex(i).text==e.bookmarks.getByIndex(i+1).text?(e.bookmarks.getByIndex(i).bookmarks.addRange(e.bookmarks.getByIndex(i+1).bookmarks),e.bookmarks.remove(e.bookmarks.getByIndex(i+1))):i++;var o=0;while(o<e.bookmarks.count){var a=e.bookmarks.getByIndex(o),s=o+1;while(s<e.bookmarks.count){var l=e.bookmarks.getByIndex(s);a.text==l.text?(a.bookmarks.addRange(l.bookmarks),e.bookmarks.removeAt(s)):s++}o++}try{for(var u=__values(e.bookmarks.list),c=u.next();!c.done;c=u.next()){var p=c.value;t.prepareBookmark(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}},t.createBookmark=function(t,e){void 0===e&&(e=null);var n=new r;return n.text=t,n.componentGuid=e,n},t}();e.StiBookmarksHelper=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.IStiCrossTab,n=t.Report.Components.StiComponent,i=t.Report.Components.StiContainerHelper,o=t.Report.Components.StiComponentDivider,a=t.Report.Components.StiPage,s=t.Report.Components.StiContainer,l=function(){function e(t){this.engine=null,this.engine=t}return e.prototype.isCanBreak=function(e){var r=null==e.containerInfo.parentBand?null:e.containerInfo.parentBand.as(t.Report.Components.IStiBreakable);if(null!=r&&r.canBreak)return!0;if(null!=(r=e.as(t.Report.Components.IStiBreakable))&&r.canBreak)return!0;return!1},e.prototype.isNeedBreak=function(t){var e=this.engine.containerForRender?this.engine.containerForRender.as(a):null;if(!(null==e||e.unlimitedBreakable||null!=t.containerInfo&&null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.components.toList().exists((function(t){return t.is(r)}))))return!1;if(t.height>this.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(r<e.components.count){var i=e.components.getByIndex(r),o=i.as(t.Report.Components.IStiBreakable);if(null!=o){if(!o.canBreak&&null!=this.engine&&null!=this.engine.report){var a=this.engine.report.getComponents().getByName(i.name);null!=(a=null!=a?a.as(n):null)&&a.properties==i.properties&&null!=i.properties&&(i.properties=i.properties.clone())}o.canBreak=!0}var l=null!=i?i.as(s):null;null!=l&&this.setCanBreak(l),r++}},e.prototype.processBreakableAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(a){switch(a.label){case 0:if(this.engine.isCrossBandsMode)return[2,t];e=!1,a.label=1;case 1:if(!this.isNeedBreak(t))return[3,3];return r=t.height,[4,this.breakAsync(t)];case 2:if(t=a.sent(),r==t.height&&(n=o.breakContainer(this.engine.freeSpace,t.clone()),i.checkSize(n),t.height==n.height)){if(e)return[3,3];this.setCanBreak(t),e=!0}return[3,1];case 3:return[2,t]}}))}))},e.prototype.processBreakable=function(t){if(this.engine.isCrossBandsMode)return t;var e=!1;while(this.isNeedBreak(t)){var r;if(t.height==(t=this.break(t)).height){var n=o.breakContainer(this.engine.freeSpace,t.clone());if(i.checkSize(n),t.height==n.height){if(e)break;this.setCanBreak(t),e=!0}}}return t},e}();e.StiBreakableHelper=l}(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.StiColumnDirection,n=t.System.Collections.Hashtable,i,o=function(t){function i(e){void 0===e&&(e=null);var n=t.call(this)||this;return n.countOfItems=0,n.columns=0,n.columnWidth=0,n.columnGaps=0,n.columnDirection=r.AcrossThenDown,n.rightToLeft=!1,n.minRowsInColumn=0,n.engine=null,n.engine=e,n}return __extends(i,t),i.prototype.addContainer=function(t){if(this.components.add(t),t.stimulsoft.is(e.StiLevelContainer))return;this.countOfItems++},i.prototype.howMuchAdditionalSpaceNeeded=function(t,e){this.countOfItems++,this.components.add(e);var r=this.finishColumns(!0);return this.components.remove(e),this.countOfItems--,Math.max(r-t,0)},i.prototype.finishColumns=function(t){var i,o,a,s,l,u,c,p,h,m;void 0===t&&(t=!1);var f=0,d=1,g=this.columns,S=this.columnWidth,y=this.columnGaps,A=S+y;if(this.columnDirection==r.AcrossThenDown){var b=0,v=0,C=0;try{for(var w=__values(this.components.list),B=w.next();!B.done;B=w.next()){var I;if((I=B.value).stimulsoft.is(e.StiLevelContainer))b++,C++;else{if(null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable){var T=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom;(this.top+f)/T!=(this.top+f+I.height)/T&&(f+=T-(this.top+f)%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=f,b++,C++,d++}if(d>g||b==this.components.count){for(var R=0,D=v;D<C;D++){var P;if((P=this.components.getByIndex(D)).stimulsoft.is(e.StiLevelContainer))continue;R=Math.max(P.height,R)}if(!t)for(var D=v;D<C;D++){var P;if((P=this.components.getByIndex(D)).stimulsoft.is(e.StiLevelContainer))continue;try{for(var x=(a=void 0,__values(P.components.list)),F=x.next();!F.done;F=x.next()){var N;(N=F.value).bottom==P.height&&(N.height=R-N.top)}}catch(t){a={error:t}}finally{try{F&&!F.done&&(s=x.return)&&s.call(x)}finally{if(a)throw a.error}}P.height=R}f+=R,d=1,v=b,C=b}}}catch(t){i={error:t}}finally{try{B&&!B.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}}else{var k=new Array(g),M=Math.trunc(this.countOfItems/g),O=Math.min(this.minRowsInColumn,this.countOfItems),_;O>0&&(M=Math.max(O,M));for(var D=0;D<g;D++)k[D]=M;if(this.minRowsInColumn>0){if(O<=M){M=this.countOfItems-M*g;for(var D=0;D<M;D++)k[D]++}}else if(this.countOfItems-M*g>0){M++;for(var D=0;D<g;D++)k[D]=M}for(var j=0,G=0,H=new Array(g),D=0;D<g;D++)H[D]=[];var Q=-1,L=!1;try{for(var Y=__values(this.components.list),U=Y.next();!U.done;U=Y.next()){var I;if((I=U.value).stimulsoft.is(e.StiLevelContainer))continue;if(L||(-1==Q?Q=I.height:Q!=I.height&&(L=!0)),++j>k[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;W<g;W++){var V=H[W];J=Math.max(V.length,J)}for(var z=new n,X=0;X<J;X++){for(var R=0,W=0;W<g;W++)if(H[W].length>X){var K;if((K=H[W][X]).stimulsoft.is(e.StiLevelContainer))continue;R=Math.max(R,K.height)}for(var W=0;W<g;W++)if(H[W].length>X){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;W<g;W++){G=0;try{for(var $=(h=void 0,__values(H[W])),tt=$.next();!tt.done;tt=$.next()){var P,et;if((P=tt.value).stimulsoft.is(e.StiLevelContainer))continue;P.top=G,G+=t?z.get(P):P.height}}catch(t){h={error:t}}finally{try{tt&&!tt.done&&(m=$.return)&&m.call($)}finally{if(h)throw h.error}}f=Math.max(f,G)}}}return f},i.prototype.getCurrentColumn=function(){if(this.columnDirection==r.DownThenAcross)return 1;var t=Math.trunc(this.countOfItems/this.columns),e;return Math.trunc(this.countOfItems-t*this.columns+1)},i.prototype.getLengthOfLastRow=function(){var t=this.countOfItems,e,r=t/this.columns*this.columns;return t==r?this.columns:t-r},i}(t.Report.Components.StiContainer);e.StiColumnsContainer=o}(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(t){this.engine=null,this._enabled=!1,this.engine=t}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),e.prototype.renderColumnsAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(!(t.columns>1))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.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=o.height,this.freeSpace-=o.height,this.containerForRender.components.add(o),this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY,[2];if(!this.threads.isActive)return[3,2];return[4,this.newContainerAsync(t)];case 1:return h.sent(),[3,7];case 2:if(this.isCrossBandsMode&&null!=this.page)return this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width,[2];if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){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.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=o.height,this.freeSpace-=o.height,this.containerForRender.components.add(o),void(this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY)}if(this.threads.isActive)this.newContainer(t);else{if(this.isCrossBandsMode&&null!=this.page)return void(this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width);if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){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<t.components.count&&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);n<t.components.count;n++){var i=t.components.getByIndex(n).as(B);i.is(P)&&!this.isPrintAtBottomOrFooterOnAllPages(i.as(P))&&(this.positionY-=i.height),this.freeSpace+=i.height}},N.prototype.setNewColumnParameters=function(){this.isCrossBandsMode?(this.crossFreeSpace=this.staticBands.reservedCrossFreeSpace,this.positionX=this.staticBands.reservedPositionX,this.positionY=this.staticBands.reservedPositionY):(this.freeSpace=this.staticBands.reservedFreeSpace,this.columnsOnPanel.rightToLeft?this.positionX-=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps:this.positionX+=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps,this.positionY=this.staticBands.reservedPositionY+this.offsetNewColumnY,this.positionBottomY=this.staticBands.reservedPositionBottomY)},N.prototype.setNewPageParameters=function(){this.isCrossBandsMode?(this.crossFreeSpace=this.templateContainer.width,this.positionX=0,this.positionY=0):(this.freeSpace=this.templateContainer.height,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0,this.positionY=0,this.positionBottomY=this.templateContainer.height),this.columnsOnPanel.currentColumn=1},N.prototype.processNewContainerBeforeAsync=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,e,n,i;return __generator(this,(function(o){switch(o.label){case 0:if(this.needResetPageNumberForNewPage=t.resetPageNumber,!this.generateNewPageBeforeBand)return[3,7];if(this.generateNewPageBeforeBand=!1,e=this.canGenerateNewContainer(t.as(g)),r=!1,!this.ignoreSkipFirst)return[3,2];return this.ignoreSkipFirst=!1,[4,this.newPageAsync()];case 1:return o.sent(),r=!0,[3,4];case 2:if(!this.canGenerateNewContainer)return[3,4];return[4,this.newPageAsync()];case 3:o.sent(),r=!0,o.label=4;case 4:if(!(r&&t.is(f)&&t.columns>1&&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){var s=t.components.getByIndex(n).as(r.StiLevelStartContainer);null!=s&&(-1==i&&(a=s,o=n),i++);var l=t.components.getByIndex(n).as(r.StiLevelEndContainer);null!=l&&--i<0&&(i=-1,a=null,o=-1),null!=s||null!=l?t.components.removeAt(n):n++}return null!=a&&(a=o>=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;s<e.components.count;s++){if(null==(l=e.components.getByIndex(s).as(P)))continue;if(l.is(r.StiFooterMarkerContainer))continue;if(!l.containerInfo.isAutoRendered)for(a.push(l),u=s+1;u<e.components.count;u++){if(c=e.components.getByIndex(u).as(P),p=!1,null!=c&&(null!=c.containerInfo.parentBand&&c.containerInfo.parentBand.is(t.Report.Components.StiColumnHeaderBand)&&(p=!0),null!=(h=null!=c.containerInfo.parentBand?c.containerInfo.parentBand.as(t.Report.Components.IStiPrintAtBottom):null)&&h.printAtBottom))break;m=e.components.getByIndex(u).top>l.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);u<e.components.count;u++){var c=e.components.getByIndex(u).as(P);if(null==c)continue;if(c.is(r.StiFooterMarkerContainer))continue;if(!c.containerInfo.isAutoRendered){l.push(c);for(var p=u+1;p<e.components.count;p++){var h=e.components.getByIndex(p).as(P),m=!1;if(null!=h){null!=h.containerInfo.parentBand&&h.containerInfo.parentBand.is(t.Report.Components.StiColumnHeaderBand)&&(m=!0);var d=null!=h.containerInfo.parentBand?h.containerInfo.parentBand.as(t.Report.Components.IStiPrintAtBottom):null;if(null!=d&&d.printAtBottom)break}var g=e.components.getByIndex(p).top>c.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);u<t.components.count;u++){var c=t.components.getByIndex(u).as(P);null==c||c.containerInfo.isAutoRendered||(this.bandsOnAllPages.isBandInBandsList(c.containerInfo.parentBand)||null!=c.containerInfo.parentBand&&c.containerInfo.parentBand.is(d)&&this.bandsOnAllPages.isBandInBandsList(c.containerInfo.parentBand.getMaster()))&&(this.printOnAllPagesIgnoreList.containsKey(c.containerInfo.parentBand)||this.printOnAllPagesIgnoreList2.set(c.containerInfo.parentBand,c.containerInfo.parentBand),this.printOnAllPagesIgnoreList.set(c.containerInfo.parentBand,c.containerInfo.parentBand))}}},N.prototype.isNeedToPrintOddEven=function(e){var r=e.as(t.Report.Components.IStiPrintOnEvenOddPages);if(null==r)return!0;if(r.printOnEvenOddPages==b.Ignore)return!0;var n=1&this.report.pageNumber;if(r.printOnEvenOddPages==b.PrintOnEvenPages&&0==n)return!0;if(r.printOnEvenOddPages==b.PrintOnOddPages&&1==n)return!0;return!1},N.prototype.isNeedToSkip=function(t){if(null==t)return!1;if(null!=this.printOnAllPagesIgnoreList.get(t))return!0;if(t.is(f)&&null!=this.containerForRender){var e=this.containerForRender.components;if(e.count>0){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(i<t.components.count){var o=t.components.getByIndex(i).as(r.StiColumnsContainer);if(null!=o){o.finishColumns(),t.components.remove(o);try{for(var a=(e=void 0,__values(o.components.list)),s=a.next();!s.done;s=a.next()){var l=s.value;l.left+=o.left,l.top+=o.top,l.parent=t,t.components.insert(i,l),i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}}else i++}},N.prototype.addContainerToDestination=function(t){if(null==this.containerForRender)return;-1!=t.containerInfo.setSegmentPerWidth&&null!=this.page&&t.containerInfo.setSegmentPerWidth>this.page.segmentPerWidth&&(this.page.segmentPerWidth=t.containerInfo.setSegmentPerWidth),this.containerForRender.components.add(t)},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.freeSpace<i)||this.flagRenderColumnsOnDataBandOnNewPage||0==this.positionY)return[3,6];return null==(s=null!=n.containerInfo.parentBand?n.containerInfo.parentBand.as(f):null)&&(s=t.containerInfo.parentBand.as(f)),[4,this.newDestinationAsync()];case 1:if(u.sent(),null!=(l=this.columnsOnDataBand.getColumns()))return[3,3];return[4,this.columnsOnDataBand.renderColumnsAsync(s)];case 2:return l=u.sent(),[3,4];case 3:this.columnsOnDataBand.enabled=!0,u.label=4;case 4:return this.flagRenderColumnsOnDataBandOnNewPage=!0,[4,this.renderContainerAsync(t,e,r)];case 5:return u.sent(),[2,t];case 6:this.flagRenderColumnsOnDataBandOnNewPage=!1,n.height+=i+o,this.positionY+=i,this.freeSpace-=i,u.label=7;case 7:return n.addContainer(t),[2,t]}}))}))},N.prototype.internalRenderContainerToColumns=function(t,e,r){t.containerInfo.isColumns=!0;var n=this.columnsOnDataBand.getColumns();if(null==n)return null;var i=n.howMuchAdditionalSpaceNeeded(n.height,t);if(i>0){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.freeSpace<i&&!this.flagRenderColumnsOnDataBandOnNewPage&&0!=this.positionY){var s=null!=n.containerInfo.parentBand?n.containerInfo.parentBand.as(f):null;null==s&&(s=t.containerInfo.parentBand.as(f)),this.newDestination();var l=this.columnsOnDataBand.getColumns();return null==l?l=this.columnsOnDataBand.renderColumns(s):this.columnsOnDataBand.enabled=!0,this.flagRenderColumnsOnDataBandOnNewPage=!0,this.renderContainer(t,e,r),t}this.flagRenderColumnsOnDataBandOnNewPage=!1,n.height+=i+o,this.positionY+=i,this.freeSpace-=i}return n.addContainer(t),t},N.prototype.internalRenderContainerAsync=function(e,r,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(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[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;C<a.components.count;C++){var w,B,B;if(null==(w=a.components.getByIndex(C).as(i)))continue;if(null!=w.containerInfo.parentBand&&w.containerInfo.parentBand.is(o)&&(b=w.containerInfo.parentBand.as(o)),w==S&&(v=!1),v&&null!=this.bands.get(w))null!=w.containerInfo.parentBand&&w.containerInfo.parentBand.is(n)&&w.containerInfo.parentBand.invokeMoveFooterToBottom(),null==(B=y.get(w.name))&&(B=[],y.set(w.name,B)),B.push(w),A.push(w);if(w.is(e.StiFooterMarkerContainer))if(null!=(B=y.get(w.name))&&B.length>0){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;R<a.components.count;R++){var D=a.components.getByIndex(R).as(i);if(null==D)continue;if(D==S)break;D.top+=E}I.containerInfo.isAutoRendered=!0,w==S&&(S=I)}}try{for(var P=__values(A),x=P.next();!x.done;x=P.next()){var w=x.value,F=null;if(null!=w.containerInfo.parentBand&&w.containerInfo.parentBand.is(n))try{for(var N=(p=void 0,__values(a.components.list)),k=N.next();!k.done;k=N.next()){var M=k.value;if(M!=w&&M.is(i)&&!y.containsKey(M.name)){var O=M.as(i);if(null!=O.containerInfo&&null!=O.containerInfo.parentBand&&(O.containerInfo.parentBand.is(n)||O.containerInfo.parentBand.is(t.Report.Components.StiReportSummaryBand))){if(O.containerInfo.parentBand.is(t.Report.Components.StiReportSummaryBand)){F=M;break}if(null==b){F=M;break}try{for(var _=(m=void 0,__values(b.dataBandInfo.footersOnAllPages.list)),j=_.next();!j.done;j=_.next()){var G;if((G=j.value).name==M.name){F=M;break}}}catch(t){m={error:t}}finally{try{j&&!j.done&&(f=_.return)&&f.call(_)}finally{if(m)throw m.error}}try{for(var H=(d=void 0,__values(b.dataBandInfo.footersOnLastPage.list)),Q=H.next();!Q.done;Q=H.next()){var G;if((G=Q.value).name==M.name){F=M;break}}}catch(t){d={error:t}}finally{try{Q&&!Q.done&&(g=H.return)&&g.call(H)}finally{if(d)throw d.error}}}}}}catch(t){p={error:t}}finally{try{k&&!k.done&&(h=N.return)&&h.call(N)}finally{if(p)throw p.error}}if(null!=F){a.components.remove(w);var L=a.components.indexOf(F);a.components.insert(L,w),w.top=F.top;for(var Y=L+1;Y<a.components.count;Y++)a.components.getByIndex(Y).top+=w.height;this.engine.positionY+=w.height}else a.components.remove(w),a.components.add(w),w.top=this.engine.positionY,this.engine.positionY+=w.height;w.containerInfo.isAutoRendered=!0}}catch(t){u={error:t}}finally{try{x&&!x.done&&(c=P.return)&&c.call(P)}finally{if(u)throw u.error}}return this.bands.clear(),void(l.ref=S)},a}();e.StiFootersOnAllPages=a}(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(t,e){void 0===e&&(e=-1),this.index=-1,this.indexInColumnContainer=-1,this.index=t,this.indexInColumnContainer=e}return t}();t.StiIndex=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.Report.Components.StiContainer);e.StiLevelContainer=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(t){function e(){var e=t.call(this)||this;return e.name="LevelEnd",e.height=0,e.interaction=null,e}return __extends(e,t),e}(t.StiLevelContainer);t.StiLevelEndContainer=e}(e=t.Engine||(t.Engine={}))}(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=t.call(this)||this;return e.name="LevelStart",e.height=0,e.interaction=null,e}return __extends(e,t),e}(t.StiLevelContainer);t.StiLevelStartContainer=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(){var e=t.call(this)||this;return e.name="NewPageContainer",e.height=0,e.interaction=null,e}return __extends(e,t),e}(t.Report.Components.StiContainer);e.StiNewPageContainer=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.StiString,n=t.Report.Components.StiDataBand,i=t.Report.Components.StiComponent,o=function(){function t(){}return t.applyOddEvenStyles=function(t,e,o){var a=null;if(null!=t&&t.styles.count>0&&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(T<e.length){var y;if(!(y=e[T]).isBusinessObjectEmpty){var E=y.businessObject;if(null!=E.parentBusinessObject&&null==I.get(E.parentBusinessObject)&&null==y.masterComponent){var R=new p;R.businessObjectGuid=E.parentBusinessObject.guid,R.height=0,R.page=t,R.parent=y.parent,R.prepare(),R.dataBandInfo.detailDataBands.contains(y)||R.dataBandInfo.detailDataBands.add(y),e[T]=R,B=!0}else I.set(E,E)}T++}}},C.getReportTitles=function(e){var r,n,i=[];if(e.titleBeforeHeader)return i;try{for(var o=__values(e.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.as(t.Report.Components.StiReportTitleBand);null!=l&&i.push(l)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},C.getReportSummaries=function(e){var r,n,i=[];try{for(var o=__values(e.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.as(t.Report.Components.StiReportSummaryBand);null!=l&&i.push(l)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},C.renderSimpleComponentsAsync=function(e,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l,u,c,p,h,d,S,y,b,C,w,B,h,I,T,E,R,D,h,P,x,F,N,x,a,k,M,P,O,_,j,G,H,Q,L,Y,U,J,W,V,z,X;return __generator(this,(function(K){switch(K.label){case 0:n=0,i=0,null!=(o=e.as(v))&&(n=o.columns<2?1:o.columns,i=o.getColumnWidth()+o.columnGaps),a=0,K.label=1;case 1:if(!(a<n))return[3,13];e.report.column=a+1,K.label=2;case 2:K.trys.push([2,10,11,12]),O=void 0,s=__values(e.components.list),l=s.next(),K.label=3;case 3:if(l.done)return[3,9];if((u=l.value).componentType!=g.Simple)return[3,8];if(u.parentBookmark=r.currentBookmark,c=null,p=new m,!(this.checkContainerForBandsAndOtherContainers(u,p)&&p.count>0))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;b<d;b++){e.report.column=b+1;try{for(var C=(n=void 0,__values(e.components.list)),w=C.next();!w.done;w=C.next()){var B=w.value;if(B.componentType==g.Simple){B.parentBookmark=r.currentBookmark;var I=B.render();if(null==I)continue;if(null!=y&&y.columns>1&&!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.height<r.StiEngine.specialContainerHeight2?S.templatePage.height:S.templatePage.unit.convertFromHInches(1170),S.positionY+=lt.height,S.freeSpace-=lt.height,S.offsetNewColumnY=S.positionY-S.staticBands.reservedPositionY,S.containerForRender.parent.components.add(lt),(ut=S.containerForRender.clone(!0,!1).as(A)).top=S.positionY,S.containerForRender.parent.components.add(ut),S.containerForRender=ut,[3,75];case 73:return[4,S.newDestinationAsync()];case 74:_t.sent(),_t.label=75;case 75:return[3,71];case 76:a.clearCross(nt),_t.label=77;case 77:return et=tt.next(),[3,70];case 78:return[3,81];case 79:return ct=_t.sent(),Nt={error:ct},[3,81];case 80:try{et&&!et.done&&(kt=tt.return)&&kt.call(tt)}finally{if(Nt)throw Nt.error}return[7];case 81:return[3,83];case 82:return t.report.engine=m,[7];case 83:t.invokeEndRender(),t.invokeColumnEndRender(),t.isRendered=!0,_t.label=84;case 84:_t.trys.push([84,89,90,91]),pt=__values(m.slaveEngines.values),ht=pt.next(),_t.label=85;case 85:if(ht.done)return[3,88];return[4,(mt=ht.value).finalClearAsync()];case 86:_t.sent(),_t.label=87;case 87:return ht=pt.next(),[3,85];case 88:return[3,91];case 89:return ft=_t.sent(),Mt={error:ft},[3,91];case 90:try{ht&&!ht.done&&(Ot=pt.return)&&Ot.call(pt)}finally{if(Mt)throw Mt.error}return[7];case 91:return t.report.engine.slaveEngines.clear(),[2]}}))}))},C.renderPage=function(t){var e,n,u,c,p,h,m,f,d,g,S,y,v,w,B,I,T,E,R,D,P,x;t.invokeBeginRender(),t.resetPageNumber&&(null!=t.pageInfo&&-1!=t.pageInfo.indexOfStartRenderedPages?t.report.engine.pageNumbers.resetPageNumber(t.pageInfo.indexOfStartRenderedPages):t.report.engine.pageNumbers.resetPageNumber());var F=C.getReportTitles(t),N=C.getReportSummaries(t),k=[],M=[],O=[],_=[];C.createListOfDataBands(t,k,M,O,_);var j=t.report.engine;try{for(var G=__values(M),H=G.next();!H.done;H=G.next()){var Q=H.value,L=j.threads.createContainerEngine(Q.parent.name,t.report,j,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(Q.parent.name,L),L.printOnAllPagesIgnoreList=j.printOnAllPagesIgnoreList}}catch(t){e={error:t}}finally{try{H&&!H.done&&(n=G.return)&&n.call(G)}finally{if(e)throw e.error}}try{for(var Y=__values(O),U=Y.next();!U.done;U=Y.next()){var J=U.value,L=j.threads.createContainerEngine(J.name,t.report,j,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(J.name,L)}}catch(t){u={error:t}}finally{try{U&&!U.done&&(c=Y.return)&&c.call(Y)}finally{if(u)throw u.error}}try{for(var W=__values(_),V=W.next();!V.done;V=W.next()){var z=V.value,L=j.threads.createContainerEngine(z.name,t.report,j,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(z.name,L)}}catch(t){p={error:t}}finally{try{V&&!V.done&&(h=W.return)&&h.call(W)}finally{if(p)throw p.error}}if(k.length>0){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.freeSpace<r.StiEngine.specialContainerHeight2/2&&j.freeSpace<r.StiEngine.specialContainerHeight2/2&&(L.freeSpace=j.positionBottomY-Q.parent.top,null!=L.containerForRender&&(L.containerForRender.height=L.freeSpace),t.unlimitedHeight&&(L.freeSpace=r.StiEngine.specialContainerHeight2)),t.report.engine=L,null!=L.containerForRender&&(Q.parentBookmark=L.containerForRender.currentBookmark),Q.renderMaster()}}catch(t){v={error:t}}finally{try{ot&&!ot.done&&(w=it.return)&&w.call(it)}finally{if(v)throw v.error}}}finally{t.report.engine=j}try{try{for(var at=__values(O),st=at.next();!st.done;st=at.next()){var J=st.value,L=j.slaveEngines.get(J.name);t.report.engine=L;var lt=new A(J.clientRectangle);lt.name="Temp Container",lt.canBreak=!0,r.StiSubReportsHelper.renderSubReport(lt,J);var ut=0;try{for(var ct=(T=void 0,__values(lt.components.list)),pt=ct.next();!pt.done;pt=ct.next()){var ht=pt.value;ut=Math.max(ht.bottom,ut)}}catch(t){T={error:t}}finally{try{pt&&!pt.done&&(E=ct.return)&&E.call(ct)}finally{if(T)throw T.error}}lt.height=ut,null!=L.containerForRender&&L.renderContainer(lt)}}catch(t){B={error:t}}finally{try{st&&!st.done&&(I=at.return)&&I.call(at)}finally{if(B)throw B.error}}}finally{t.report.engine=j}try{try{for(var mt=__values(_),ft=mt.next();!ft.done;ft=mt.next()){var z=ft.value,L=j.slaveEngines.get(z.name).stimulsoft.as(r.StiEngine);t.report.engine=L;var dt=new s,gt=z;a.createCross(gt);while(!dt.renderingIsFinished&&null!=L.containerForRender){gt.horAlignment==o.None?L.containerForRender.width=L.containerForRender.parent.width-L.containerForRender.left:L.containerForRender.width=L.containerForRender.parent.width;var St=!1,yt;if(L.containerForRender.parent.canShrink&&0==L.containerForRender.parent.height){var At=t.getComponents().getByName(L.containerForRender.parent.name);St=!0,L.containerForRender.parent.width=At.width,L.containerForRender.parent.height=At.height,L.containerForRender.width=At.width,L.containerForRender.height=At.height}else L.containerForRender.height=L.containerForRender.parent.height-L.containerForRender.top;if(dt.destinationRectangle=L.containerForRender.clientRectangle.clone(),dt.destinationContainer=L.containerForRender,r.StiBuilder.getBuilder(l).stimulsoft.as(r.StiCrossTabBuilder).renderCrossTab(dt,gt),St){var bt=L.containerForRender.parent.getActualSize();L.containerForRender.parent.width=bt.width,L.containerForRender.parent.height=bt.height}if(!dt.renderingIsFinished)if(L.containerForRender.parent.height>r.StiEngine.specialContainerHeight2){var vt=new r.StiNewPageContainer;vt.top=L.positionY,vt.height=L.templatePage.height<r.StiEngine.specialContainerHeight2?L.templatePage.height:L.templatePage.unit.convertFromHInches(1170),L.positionY+=vt.height,L.freeSpace-=vt.height,L.offsetNewColumnY=L.positionY-L.staticBands.reservedPositionY,L.containerForRender.parent.components.add(vt);var Ct=L.containerForRender.clone(!0,!1).as(A);Ct.top=L.positionY,L.containerForRender.parent.components.add(Ct),L.containerForRender=Ct}else L.newDestination()}a.clearCross(gt)}}catch(t){R={error:t}}finally{try{ft&&!ft.done&&(D=mt.return)&&D.call(mt)}finally{if(R)throw R.error}}}finally{t.report.engine=j}t.invokeEndRender(),t.invokeColumnEndRender(),t.isRendered=!0;try{for(var wt=__values(j.slaveEngines.values),Bt=wt.next();!Bt.done;Bt=wt.next()){var It;Bt.value.finalClear()}}catch(t){P={error:t}}finally{try{Bt&&!Bt.done&&(x=wt.return)&&x.call(wt)}finally{if(P)throw P.error}}t.report.engine.slaveEngines.clear()},C.renderOverlaysAsync=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,l,u,c,p,h,m,f,d,g,A,f,b,v,C,f,w,B,f,I,T,E,R,D,P,x,F,N,k;return __generator(this,(function(M){switch(M.label){case 0:if(null==(r=t.pageInfo.overlays))return[3,9];n=[],i=[],o=[],M.label=1;case 1:M.trys.push([1,6,7,8]),a=__values(r.list),s=a.next(),M.label=2;case 2:if(s.done)return[3,5];return[4,(l=s.value).renderAsync()];case 3:null!=(u=M.sent())&&(u.dockStyle=y.None,e.components.add(u),l.vertAlignment==S.Top?n.push(u):l.vertAlignment==S.Center?i.push(u):l.vertAlignment==S.Bottom&&o.push(u),u=null),M.label=4;case 4:return s=a.next(),[3,2];case 5:return[3,8];case 6:return c=M.sent(),I={error:c},[3,8];case 7:try{s&&!s.done&&(T=a.return)&&T.call(a)}finally{if(I)throw I.error}return[7];case 8:p=-t.margins.top;try{for(h=__values(n),m=h.next();!m.done;m=h.next())(f=m.value).top=p,p+=f.height}catch(t){E={error:t}}finally{try{m&&!m.done&&(R=h.return)&&R.call(h)}finally{if(E)throw E.error}}d=t.height+t.margins.bottom;try{for(g=__values(o),A=g.next();!A.done;A=g.next())(f=A.value).top=d-f.height,d-=f.height}catch(t){D={error:t}}finally{try{A&&!A.done&&(P=g.return)&&P.call(g)}finally{if(D)throw D.error}}b=0;try{for(v=__values(i),C=v.next();!C.done;C=v.next())f=C.value,b+=f.height}catch(t){x={error:t}}finally{try{C&&!C.done&&(F=v.return)&&F.call(v)}finally{if(x)throw x.error}}p=(t.height-b)/2;try{for(w=__values(i),B=w.next();!B.done;B=w.next())(f=B.value).top=p,p+=f.height}catch(t){N={error:t}}finally{try{B&&!B.done&&(k=w.return)&&k.call(w)}finally{if(N)throw N.error}}M.label=9;case 9:return[2]}}))}))},C.renderOverlays=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=t.pageInfo.overlays;if(null!=h){var m=[],f=[],d=[];try{for(var g=__values(h.list),A=g.next();!A.done;A=g.next()){var b=A.value,v=b.render();null!=v&&(v.dockStyle=y.None,e.components.add(v),b.vertAlignment==S.Top?m.push(v):b.vertAlignment==S.Center?f.push(v):b.vertAlignment==S.Bottom&&d.push(v),v=null)}}catch(t){r={error:t}}finally{try{A&&!A.done&&(n=g.return)&&n.call(g)}finally{if(r)throw r.error}}var C=-t.margins.top;try{for(var w=__values(m),B=w.next();!B.done;B=w.next()){var I;(I=B.value).top=C,C+=I.height}}catch(t){i={error:t}}finally{try{B&&!B.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}var T=t.height+t.margins.bottom;try{for(var E=__values(d),R=E.next();!R.done;R=E.next()){var I;(I=R.value).top=T-I.height,T-=I.height}}catch(t){a={error:t}}finally{try{R&&!R.done&&(s=E.return)&&s.call(E)}finally{if(a)throw a.error}}var D=0;try{for(var P=__values(f),x=P.next();!x.done;x=P.next()){var I;D+=(I=x.value).height}}catch(t){l={error:t}}finally{try{x&&!x.done&&(u=P.return)&&u.call(P)}finally{if(l)throw l.error}}C=(t.height-D)/2;try{for(var F=__values(f),N=F.next();!N.done;N=F.next()){var I;(I=N.value).top=C,C+=I.height}}catch(t){c={error:t}}finally{try{N&&!N.done&&(p=F.return)&&p.call(F)}finally{if(c)throw c.error}}}},C.getPageFromTemplateAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var i,o,a,o,s,l;return __generator(this,(function(p){switch(p.label){case 0:if(i=e.clone(!1,!1),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{(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&&(this.pageNumbers.getByIndex(t).resetPageNumber=!0)},t.prototype.addPageNumber=function(t,r,n){if(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&&e<this.pageNumbers.count&&this.pageNumbers.getByIndex(e).resetPageNumber)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return e+1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).pageNumber},t.prototype.getTotalPageCount=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;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).totalPageCount},t.prototype.getPageNumberThrough=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;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return e=Math.max(e,0),e=Math.min(e,this.pageNumbers.count-1),this.pageNumbers.getByIndex(e).pageNumberThrough},t.prototype.getTotalPageCountThrough=function(t){if(0==this.pageNumbers.count)return 1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).totalPageCountThrough},t.prototype.setSystemVariables=function(t,e){if(t==e)return;for(var r=0,n=t;n<e;n++)r+=this.pageNumbers.getByIndex(n).step;for(var i=1,n=t;n<e;n++)this.pageNumbers.getByIndex(n).pageNumber=i,this.pageNumbers.getByIndex(n).totalPageCount=r,i+=this.pageNumbers.getByIndex(n).step},t.prototype.processPageNumbers=function(){var t,e,r,n;if(null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages)while(this.pageNumbers.count>this.engine.report.renderedPages.count)this.pageNumbers.removeAt(this.engine.report.renderedPages.count);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&&o<this.engine.report.renderedPages.count){var u=this.engine.report.renderedPages.getPageWithoutCache(o);l.segmentPerWidth=u.segmentPerWidth,l.segmentPerHeight=u.segmentPerHeight}i+=l.step,o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}var c=1,p=0,h=0;try{for(var m=__values(this.pageNumbers.list),f=m.next();!f.done;f=m.next()){var l;(l=f.value).resetPageNumber&&(this.setSystemVariables(p,h),p=h),l.pageNumberThrough=c++,l.totalPageCountThrough=i,h++}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}this.setSystemVariables(p,h),this.finished=!0},t.prototype.clear=function(){this.clearPageNumbersOnFinish&&this.pageNumbers.clear()},t.prototype.clearNotFixed=function(){if(this.clearPageNumbersOnFinish&&this.pageNumbers.count>0){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<b.stimulsoft.countItems){var B=b[w],I=u.get(B),T=B.bottom,E=w+1;while(E<b.stimulsoft.countItems){var R=b[E],D=u.get(R),P=n.None,x=!1;if(c==s.Text?((P=B.processingDuplicates)==n.BasedOnValueRemoveText&&(P=n.RemoveText),P==n.BasedOnValueAndTagHide&&(P=n.BasedOnTagHide),P==n.BasedOnValueAndTagMerge&&(P=n.BasedOnTagMerge),x=P==n.GlobalHide||P==n.GlobalMerge||P==n.GlobalRemoveText||P==n.GlobalBasedOnValueRemoveText||P==n.GlobalBasedOnValueAndTagHide||P==n.GlobalBasedOnValueAndTagMerge,P==n.GlobalBasedOnValueRemoveText&&(P=n.BasedOnTagRemoveText),P==n.GlobalBasedOnValueAndTagHide&&(P=n.BasedOnTagHide),P==n.GlobalBasedOnValueAndTagMerge&&(P=n.BasedOnTagMerge)):x=B.processingDuplicates==r.GlobalHide||B.processingDuplicates==r.GlobalMerge||B.processingDuplicates==r.GlobalRemoveImage,R.name==B.name||x){if(Math.round2(I.bottom,2)!=Math.round2(D.top,2)||!(I.name==D.name||x||"Continued"==I.name||null!=I.name&&I.name.stimulsoft.startsWith("Continued_")||"Breaked"==D.name||null!=D.name&&D.name.stimulsoft.startsWith("Breaked_")))break;if(c==s.Text){var F=R.getTextInternal(),N=B.getTextInternal();if(P!=n.BasedOnTagHide&&P!=n.BasedOnTagMerge&&P!=n.BasedOnTagRemoveText||(F=null==R.tagValue?"":R.tagValue.toString(),N=null==B.tagValue?"":B.tagValue.toString()),!(Math.round2(R.top,2)>=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;S<g;S++)d.pageNumbers.getByIndex(S).resetPageNumber&&(h[s]=!0,m[s-1]=!0),s+=d.pageNumbers.getByIndex(S).segmentPerWidth*d.pageNumbers.getByIndex(S).segmentPerHeight}s=1;try{for(var y=__values(t.list),A=y.next();!A.done;A=y.next()){var p=A.value;null!=f?(s=f.getPageNumber(p),l=f.getTotalPageCount(p),E.postProcessPage(p,1==s,s==l)):E.postProcessPage(p,h[s],m[s]),s+=p.segmentPerWidth*p.segmentPerHeight}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}E.postProcessPrimitives(t)},E.removeAllPointPrimitives=function(t){var e=0;while(e<t.components.count)if(t.components.getByIndex(e).is(l))t.components.removeAt(e);else{var r=t.components.getByIndex(e).as(B);null!=r&&E.removeAllPointPrimitives(r),e++}},E.postProcessPrimitives=function(e){var r,n,i,o,a=e;e.stimulsoft.is(t.Report.Components.StiPage)&&(a=new s(null)).add(e);var l={ref:new u},c={ref:new u},p={ref:new u},h={ref:new Array};try{for(var m=__values(a.list),f=m.next();!f.done;f=m.next()){var d=f.value;E.postProcessPrimitivesInContainer2(d,a,l,c,p,h)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}try{for(var g=__values(a.list),S=g.next();!S.done;S=g.next()){var y=S.value;E.removeAllPointPrimitives(y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}},E.postProcessPrimitivesInContainer=function(t){var e={ref:new u},r={ref:new u},n={ref:new u},i={ref:new Array};E.postProcessPrimitivesInContainer2(t,null,e,r,n,i),E.removeAllPointPrimitives(t)},E.postProcessPrimitivesInContainer2=function(t,e,r,n,i,o){var a,s,l,u,f,d,g=r.ref,S=n.ref,y=i.ref,A=o.ref,b=new I;b.addRange(t.components);try{for(var v=__values(b.list),C=v.next();!C.done;C=v.next()){var w,B=(w=C.value).as(p);null!=B&&null!=B.guid&&B.guid!=E.nullGuid&&(y.set(B.guid,B),B.parent.components.remove(w))}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}if(y.count>0){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(B<C&&v>0)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(n<t.count){var i=t.getByIndex(n);if(E.allowPrintOn(i,e,r)){var o=i.as(B);null!=o&&E.postProcessPrintOn(o.components,e,r),n++}else t.removeAt(n)}},E.allowPrintOn=function(t,e,r){if(t.printOn==v.AllPages)return!0;if((t.printOn&v.ExceptFirstPage)>0&&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;p<t.components.count;p++){var h;if(null==(h=t.components.getByIndex(p).stimulsoft.as(i)))continue;if(h.stimulsoft.is(e.StiLevelContainer))continue;if(h==o&&(c=!0),(null==h.containerInfo.parentBand||!h.containerInfo.parentBand.stimulsoft.is(n)||!h.containerInfo.parentBand.printOnAllPages)&&c)continue;if(null!=this.bands.get(h))l.stimulsoft.insert(0,h),-1==u&&(u=p);else if(-1!=u&&!h.stimulsoft.is(e.StiFooterMarkerContainer)){l.stimulsoft.clear();for(var m=0,f=u;f<t.components.count;f++){var d=t.components.getByIndex(f).stimulsoft.as(i);if(d==o)break;d.top+=m,null!=this.bands.get(d)&&f<p&&(d.containerInfo.parentBand.stimulsoft.is(n)&&d.containerInfo.parentBand.printOnAllPages||(m+=d.height,this.engine.positionY+=d.height))}u=-1}}try{for(var g=__values(l),S=g.next();!S.done;S=g.next()){var h;(h=S.value).top=this.engine.positionBottomY-h.height,null!=this.engine.page&&this.engine.page.segmentPerHeight>1&&(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;tt<V.length;tt++)(Z=V[tt]).autoWidth!=c.None&&($=!0),et={ref:H},rt=Z.startRenderTableBand(et),H=et.ref,null!=rt&&(q.add(rt.name,rt),a.engine.keepFirstDetailTogetherTablesList.set(rt,Z));if(0!=q.count)try{for(nt=__values(q.values),it=nt.next();!it.done;it=nt.next())null!=(ot=it.value).masterComponent&&ot.masterComponent.is(h)&&(ot.masterComponent=q.get(ot.masterComponent.name+"_DB").as(f))}catch(t){se={error:t}}finally{try{it&&!it.done&&(le=nt.return)&&le.call(nt)}finally{if(se)throw se.error}}q=null,W.clear(),W=a.getComponents(),a.containsTables=$}a.engine.parserConversionStore=new v,a.engine.anchorsArguments=new v,a.engine.hashDataSourceReferencesCounter=new v,Q=new v,at=a.calculationMode==e.StiCalculationMode.Compilation;try{for(st=__values(W.list),lt=st.next();!lt.done;lt=st.next()){if((m=lt.value).prepare(),!at){if(!at&&m.conditions.count>0){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;St<dt.filters.count;St++)yt=dt.filters.getByIndex(St),gt+="(",gt+=C.getFilterExpression(yt,yt.column,a),gt+=")",St<dt.filters.count-1&&(gt+=dt.filterMode==w.And?" && ":" || ");gt+="}",ut.push({key:dt,value:gt.toString()})}}else null!=mt&&(ft="{"+C.getFilterExpression(mt,mt.column,a)+"}",ut.push({key:mt,value:ft}))}catch(t){pe={error:t}}finally{try{pt&&!pt.done&&(he=ct.return)&&he.call(ct)}finally{if(pe)throw pe.error}}ut.length>0&&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;Mt<kt.length;Mt++)null!=(m=kt[Mt]).parent&&m.parent.components.remove(m)}catch(t){me={error:t}}finally{try{Ft&&!Ft.done&&(fe=xt.return)&&fe.call(xt)}finally{if(me)throw me.error}}try{for(Ot=__values(V),_t=Ot.next();!_t.done;_t=Ot.next())(Z=_t.value).enabled=!0}catch(t){de={error:t}}finally{try{_t&&!_t.done&&(ge=Ot.return)&&ge.call(Ot)}finally{if(de)throw de.error}}return[3,11];case 9:if(jt=Ie.sent(),a.isStopped=!0,e.StiLogService.write(F,jt),!StiOptions.Engine.hideExceptions)throw jt;return[3,11];case 10:if(a.currentPage=0,null==G&&(a.currentPrintPage=0),null==G&&a.reportPass!=e.StiReportPass.First)if(a.renderedPages.cacheMode){if(null!=a.renderedPages.notCachedPages)try{for(Gt=__values(a.renderedPages.notCachedPages),Ht=Gt.next();!Ht.done;Ht=Gt.next())Qt=Ht.value,r.StiPostProcessProvider.postProcessPage(Qt,F.isFirstPage(a,Qt),F.isLastPage(a,Qt)),r.StiPostProcessProvider.postProcessPrimitives(Qt)}catch(t){Se={error:t}}finally{try{Ht&&!Ht.done&&(ye=Gt.return)&&ye.call(Gt)}finally{if(Se)throw Se.error}}}else r.StiPostProcessProvider.postProcessPages(a.renderedPages);if(F.finishAllPagesInNotCachedPagesArray(a),F.removeAllPagesLessThenFromPageAndGreaterThenToPage(a,s),F.madeCollate(a),F.madeMirrorMargins(a),r.StiBookmarksHelper.prepareBookmark(a.bookmark),F.disconnectFromData(a),null==G&&(0==a.renderedPages.count&&a.renderedPages.add(new P(a)),a.engine.pageNumbers.processPageNumbers(),a.invokeEndRender(),a.engine.pageNumbers.clear(),!a.renderedPages.cacheMode))try{for(Lt=__values(a.renderedPages.list),Yt=Lt.next();!Yt.done;Yt=Lt.next()){Qt=Yt.value,Ut=Qt.getComponents();try{for(ve=void 0,Jt=__values(Ut.list),Wt=Jt.next();!Wt.done;Wt=Jt.next())Vt=Wt.value,null!=(K=Vt.as(D))&&null!=K.containerInfo&&(K.containerInfo.dataSourceRow=null,K.containerInfo.businessObjectCurrent=null)}catch(t){ve={error:t}}finally{try{Wt&&!Wt.done&&(Ce=Jt.return)&&Ce.call(Jt)}finally{if(ve)throw ve.error}}}}catch(t){Ae={error:t}}finally{try{Yt&&!Yt.done&&(be=Lt.return)&&be.call(Lt)}finally{if(Ae)throw Ae.error}}H=null,F.finishProgressForm(a),a.reportPass==e.StiReportPass.Second&&(a.reportPass=e.StiReportPass.None),null==G&&(F.clearTotals(a),a.reportPass!=e.StiReportPass.First&&(a.parentReport=null)),null!=a.engine.parserConversionStore&&(a.engine.parserConversionStore.clear(),a.engine.parserConversionStore=null),zt=a.getComponents();try{for(Xt=__values(zt.list),Kt=Xt.next();!Kt.done;Kt=Xt.next())(m=Kt.value).unPrepare()}catch(t){we={error:t}}finally{try{Kt&&!Kt.done&&(Be=Xt.return)&&Be.call(Xt)}finally{if(we)throw we.error}}return a.engine.keepFirstDetailTogetherTablesList.clear(),[7];case 11:return[2]}}))}))},F.render=function(a,s){var l,u,p,m,d,y,B,I,R,x,N,k,M,O,_,j,G,H,Q,L,Y,U,J,W,V,z,X,K,Z=a.getComponents();try{for(var q=__values(Z.list),$=q.next();!$.done;$=q.next()){var tt,et=(tt=$.value).as(A);if(null!=et&&et.processAt==b.EndOfPage){a.engine.allowEndOfPageProcessing=!0;break}}}catch(t){l={error:t}}finally{try{$&&!$.done&&(u=q.return)&&u.call(q)}finally{if(l)throw l.error}}if(F.initReport(a),!F.checkDialogsInPreview(a)){var rt=T.getDataSourcesUsedInRequestFromUsersVariables(a),nt=new v;try{for(var it=__values(a.dictionary.dataSources.list),ot=it.next();!ot.done;ot=it.next()){var at=ot.value;rt.containsKey(at.name)||(nt.set(at.name,at.connectOnStart),at.connectOnStart=!1)}}catch(t){p={error:t}}finally{try{ot&&!ot.done&&(m=it.return)&&m.call(it)}finally{if(p)throw p.error}}F.connectToData(a);try{for(var st=__values(a.dictionary.dataSources.list),lt=st.next();!lt.done;lt=st.next()){var at=lt.value;nt.containsKey(at.name)&&(at.connectOnStart=nt.get(at.name))}}catch(t){d={error:t}}finally{try{lt&&!lt.done&&(y=st.return)&&y.call(st)}finally{if(d)throw d.error}}if(r.StiVariableHelper.fillItemsOfVariables(a.compiledReport?null:a),a.pages.count>0&&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;Et<bt.length;Et++){var Bt;(Bt=bt[Et]).autoWidth!=c.None&&(Tt=!0);var Rt={ref:ft},Dt=Bt.startRenderTableBand(Rt);ft=Rt.ref,null!=Dt&&(It.add(Dt.name,Dt),a.engine.keepFirstDetailTogetherTablesList.set(Dt,Bt))}if(0!=It.count)try{for(var Pt=__values(It.values),xt=Pt.next();!xt.done;xt=Pt.next()){var Ft=xt.value;null!=Ft.masterComponent&&Ft.masterComponent.is(h)&&(Ft.masterComponent=It.get(Ft.masterComponent.name+"_DB").as(f))}}catch(t){N={error:t}}finally{try{xt&&!xt.done&&(k=Pt.return)&&k.call(Pt)}finally{if(N)throw N.error}}It=null,At.clear(),At=a.getComponents(),a.containsTables=Tt}a.engine.parserConversionStore=new v,a.engine.anchorsArguments=new v,a.engine.hashDataSourceReferencesCounter=new v,dt=new v;var Nt=a.calculationMode==e.StiCalculationMode.Compilation;try{for(var kt=__values(At.list),Mt=kt.next();!Mt.done;Mt=kt.next()){var tt;if((tt=Mt.value).prepare(),!Nt){if(!Nt&&tt.conditions.count>0){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;Ut<Lt.filters.count;Ut++){var Jt=Lt.filters.getByIndex(Ut);Yt+="(",Yt+=C.getFilterExpression(Jt,Jt.column,a),Yt+=")",Ut<Lt.filters.count-1&&(Yt+=Lt.filterMode==w.And?" && ":" || ")}Yt+="}",Ot.push({key:Lt,value:Yt.toString()})}}else null!=Ht&&(Qt="{"+C.getFilterExpression(Ht,Ht.column,a)+"}",Ot.push({key:Ht,value:Qt}))}}catch(t){_={error:t}}finally{try{jt&&!jt.done&&(j=_t.return)&&j.call(_t)}finally{if(_)throw _.error}}Ot.length>0&&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;le<se.length;le++){var tt;null!=(tt=se[le]).parent&&tt.parent.components.remove(tt)}}catch(t){G={error:t}}finally{try{oe&&!oe.done&&(H=ie.return)&&H.call(ie)}finally{if(G)throw G.error}}try{for(var ue=__values(bt),ce=ue.next();!ce.done;ce=ue.next()){var Bt;(Bt=ce.value).enabled=!0}}catch(t){Q={error:t}}finally{try{ce&&!ce.done&&(L=ue.return)&&L.call(ue)}finally{if(Q)throw Q.error}}}catch(t){if(a.isStopped=!0,e.StiLogService.write(F,t),!StiOptions.Engine.hideExceptions)throw t}finally{if(a.currentPage=0,null==mt&&(a.currentPrintPage=0),null==mt&&a.reportPass!=e.StiReportPass.First)if(a.renderedPages.cacheMode){if(null!=a.renderedPages.notCachedPages)try{for(var pe=__values(a.renderedPages.notCachedPages),he=pe.next();!he.done;he=pe.next()){var me=he.value;r.StiPostProcessProvider.postProcessPage(me,F.isFirstPage(a,me),F.isLastPage(a,me)),r.StiPostProcessProvider.postProcessPrimitives(me)}}catch(t){Y={error:t}}finally{try{he&&!he.done&&(U=pe.return)&&U.call(pe)}finally{if(Y)throw Y.error}}}else r.StiPostProcessProvider.postProcessPages(a.renderedPages);if(F.finishAllPagesInNotCachedPagesArray(a),F.removeAllPagesLessThenFromPageAndGreaterThenToPage(a,s),F.madeCollate(a),F.madeMirrorMargins(a),r.StiBookmarksHelper.prepareBookmark(a.bookmark),F.disconnectFromData(a),null==mt&&(0==a.renderedPages.count&&a.renderedPages.add(new P(a)),a.engine.pageNumbers.processPageNumbers(),a.invokeEndRender(),a.engine.pageNumbers.clear(),!a.renderedPages.cacheMode))try{for(var fe=__values(a.renderedPages.list),de=fe.next();!de.done;de=fe.next()){var me,ge=(me=de.value).getComponents();try{for(var Se=(V=void 0,__values(ge.list)),ye=Se.next();!ye.done;ye=Se.next()){var Ae,wt;null!=(wt=ye.value.as(D))&&null!=wt.containerInfo&&(wt.containerInfo.dataSourceRow=null,wt.containerInfo.businessObjectCurrent=null)}}catch(t){V={error:t}}finally{try{ye&&!ye.done&&(z=Se.return)&&z.call(Se)}finally{if(V)throw V.error}}}}catch(t){J={error:t}}finally{try{de&&!de.done&&(W=fe.return)&&W.call(fe)}finally{if(J)throw J.error}}ft=null,F.finishProgressForm(a),a.reportPass==e.StiReportPass.Second&&(a.reportPass=e.StiReportPass.None),null==mt&&(F.clearTotals(a),a.reportPass!=e.StiReportPass.First&&(a.parentReport=null)),null!=a.engine.parserConversionStore&&(a.engine.parserConversionStore.clear(),a.engine.parserConversionStore=null);var be=a.getComponents();try{for(var ve=__values(be.list),Ce=ve.next();!Ce.done;Ce=ve.next()){var tt;(tt=Ce.value).unPrepare()}}catch(t){X={error:t}}finally{try{Ce&&!Ce.done&&(K=ve.return)&&K.call(ve)}finally{if(X)throw X.error}}a.engine.keepFirstDetailTogetherTablesList.clear()}},F.StiRenderProviderV2_AddAnchor_Rendering=function(t,e){try{var r=t;if(null!=r&&null!=r.report&&null!=r.report.engine&&r.report.engine.anchorsArguments.count>0){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.toPage<n)&&t.renderedPages.getByIndex(n).components.clear(),r.toPage>0&&r.toPage<n&&r.renderOnlyPagesFromRange&&(t.isStopped=!0)}},F.initCacheMode=function(t){t.reportCacheMode!=R.Off&&(t.reportCacheMode==R.On&&(t.renderedPages.cacheMode=!0),t.renderedPages.canUseCacheMode=!0)},F.removeAllPagesLessThenFromPageAndGreaterThenToPage=function(t,r){if(r.destroyPagesWhichNotInRange&&t.reportPass!=e.StiReportPass.First){if(r.toPage>0)while(r.toPage<t.renderedPages.count-1)t.renderedPages.removeAt(t.renderedPages.count-1);var n=r.fromPage;while(n>0&&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+1<t.engine.pageNumbers.pageNumbers.count&&t.engine.pageNumbers.pageNumbers.getByIndex(r+1).resetPageNumber:n.pageNumber==n.totalPageCount}var n;return(n=t.renderedPages.indexOf(e))==t.renderedPages.count-1},F.renderFirstPassAsync=function(n,i){return __awaiter(this,void 0,void 0,(function(){var o,a,s,l,u,c,p,h;return __generator(this,(function(m){switch(m.label){case 0:if(i!=e.StiNumberOfPass.DoublePass||n.reportPass!=e.StiReportPass.None)return[3,5];if(n.reportPass!=e.StiReportPass.None)return[3,5];if(n.reportPass=e.StiReportPass.First,o=n.engine,n.engine=null,a=n.renderedPages.count,s=null,a>0)for((s=new B(n)).addRange(n.renderedPages),l=new P(n),u=0;u<n.renderedPages.count;u++)n.renderedPages.setByIndex(u,l);c=n.currentPrintPage,(p=new r.StiEngine(n)).pageNumbers.clearPageNumbersOnFinish=!1,p.pageNumbers.pageNumbers=o.pageNumbers.pageNumbers,p.parserConversionStore=o.parserConversionStore.clone(),null!=o.hashDataSourceReferencesCounter&&(p.hashDataSourceReferencesCounter=o.hashDataSourceReferencesCounter.clone()),n.engine=p,m.label=1;case 1:return m.trys.push([1,3,,4]),[4,n.renderAsync2()];case 2:return m.sent(),[3,4];case 3:throw h=m.sent(),t.System.StiError.showError(h,!1),n.reportPass=e.StiReportPass.None,h;case 4:o.latestProgressValue=n.engine.latestProgressValue,n.engine=o,p.parserConversionStore=null,n.engine.pageNumbers.processPageNumbers(),n.reportPass=e.StiReportPass.Second,n.isRendering=!0,n.isRendered=!1,n.renderedPages.clear(),a>0&&(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;u<n.renderedPages.count;u++)n.renderedPages.setByIndex(u,l)}var c=n.currentPrintPage,p=new r.StiEngine(n);p.pageNumbers.clearPageNumbersOnFinish=!1,p.pageNumbers.pageNumbers=o.pageNumbers.pageNumbers,p.parserConversionStore=o.parserConversionStore.clone(),null!=o.hashDataSourceReferencesCounter&&(p.hashDataSourceReferencesCounter=o.hashDataSourceReferencesCounter.clone()),n.engine=p;try{n.render()}catch(r){throw t.System.StiError.showError(r,!1),n.reportPass=e.StiReportPass.None,r}o.latestProgressValue=n.engine.latestProgressValue,n.engine=o,p.parserConversionStore=null,n.engine.pageNumbers.processPageNumbers(),n.reportPass=e.StiReportPass.Second,n.isRendering=!0,n.isRendered=!1,n.renderedPages.clear(),a>0&&(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;i<t.collate;i++)for(var o=i;o<t.renderedPages.count;o+=t.collate)n.push(t.renderedPages.getByIndex(o));else{var a=Math.trunc(t.renderedPages.count/t.collate);a*t.collate<t.renderedPages.count&&a++;for(var i=0;i<a;i++)for(var o=i;o<t.renderedPages.count;o+=a)n.push(t.renderedPages.getByIndex(o))}t.renderedPages.clear();try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;t.renderedPages.addV2Internal(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}},F.madeMirrorMargins=function(t){if(t.renderedPages.count<2)return;for(var e=1;e<t.renderedPages.count;e+=2){var r=t.renderedPages.getPageWithoutCache(e);r.mirrorMargins&&(r.margins=new y(r.margins.right,r.margins.left,r.margins.top,r.margins.bottom))}},F.initReport=function(t){t.currentPage=0,null==t.subReportsMasterReport&&(t.currentPrintPage=0),t.isStopped=!1,t.resetAggregateFunctions()},F.clearTotals=function(t){t.totals.clear(),null!=t.parentReport&&t.parentReport.totals.clear()},F.prepareSubReportsAndDrillDownPages=function(e){var r,n,i,o,a,s,l=new v,u=e.getComponents();try{for(var c=__values(e.pages.list),p=c.next();!p.done;p=c.next()){var h=p.value;h.skip=!1,l.set(h.guid,h)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}try{for(var m=__values(u.list),f=m.next();!f.done;f=m.next()){var g=f.value,S=g.as(d),y,A,y;if(null!=S&&null!=S.subReportPageGuid)null!=(y=l.get(S.subReportPageGuid))&&(y.skip=!0);if(null!=g.interaction&&g.interaction.drillDownEnabled&&null!=g.interaction.drillDownPageGuid)null==(y=null!=(A=l.get(g.interaction.drillDownPageGuid))?A.as(P):null)||y.drillDownActivated||(y.skip=!0);if(g.is(t.Report.Chart.IStiChart))try{for(var b=(a=void 0,__values(g.series.list)),C=b.next();!C.done;C=b.next()){var w=C.value;if(null!=w.interaction&&null!=w.interaction.drillDownPageGuid){var A,y;null!=(y=null!=(A=l.get(w.interaction.drillDownPageGuid))?A.as(P):null)&&(y.skip=!0);break}}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}return l},F.renderReportAsync=function(e,n,i){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,l,u,c,p,h,f,d,g,S,y,A,b,v,C,w,B,I;return __generator(this,(function(T){switch(T.label){case 0:T.trys.push([0,20,,21]),n=0,T.label=1;case 1:T.trys.push([1,16,17,18]),i=__values(e.pages.list),o=i.next(),T.label=2;case 2:if(o.done)return[3,15];a=o.value,s=a.enabled,T.label=3;case 3:if(T.trys.push([3,,11,12]),e.engine.templatePage=a,e.engine.templateContainer=a,e.currentPrintPage++,a.skip||(a.invokeBeforePrint(a,m.empty),e.engine.skipFirstPageBeforePrintEvent=!0),e.currentPrintPage--,!a.enabled||a.skip)return a.skip||(e.engine.skipFirstPageBeforePrintEvent=!1,a.invokeAfterPrint(a,m.empty)),[3,14];null!=e.engine.masterEngine&&(e.engine.masterEngine.templatePage=a,e.engine.masterEngine.templateContainer=a),l=0,T.label=4;case 4:if(!(l<a.numberOfCopies))return[3,10];if(e.pageCopyNumber=l+1,l>0&&(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;d<h.numberOfCopies;d++){if(e.pageCopyNumber=d+1,d>0&&(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;Y<L.count;Y++){var U=L.getByIndex(Y).as(p);if(null!=U){var J=null,W;if((W=U.tableTag).autoWidth==c.None)continue;if(W.autoWidth==c.Table)if(x.containsKey(W)?J=x.get(W):(J=new v,x.add(W,J),k.push(W)),N.containsKey(W.name))N.get(W.name).stimulsoft.contains(j)||N.get(W.name).push(j);else{var V=[];V.push(j),N.add(W.name,V)}else G.containsKey(W)?J=G.get(W):(J=new v,G.add(W,J),Q.push(W));if(!J.containsKey(U.column)){var z=[];J.add(U.column,z)}J.get(U.column).push(U)}}try{for(var X=(o=void 0,__values(G.values)),K=X.next();!K.done;K=X.next()){for(var Z=K.value,q=new u(Z.count),$=0;$<Z.count;$++){var tt;if(null==(tt=Z.get($)))continue;var et=0;try{for(var rt=(f=void 0,__values(tt)),nt=rt.next();!nt.done;nt=rt.next()){var it;if((it=nt.value).fixedWidth){q.setFixedColumn($,it.width),et=-1;break}switch(it.cellType){case l.CheckBox:case l.RichText:it.width>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){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;mt<Q.length;mt++){var W;if(null==(W=Q[mt].as(h)))continue;for(var ft=H.get(W),dt=0,gt=0;gt<ft.length;gt++)dt+=ft.getWidth(gt);switch(W.autoWidthType){case a.None:if(j.width<dt){var St=Math.trunc(dt/j.width+1);j.segmentPerWidth=St}break;case a.FullTable:if(dt<W.width){var yt=W.width-dt;yt/=ft.getCountNotFixedColumn();for(var At=0;At<ft.length;At++)ft.add(At,yt)}if(dt>W.width){var bt=dt-W.width;bt/=ft.getCountNotFixedColumn();for(var At=0;At<ft.length;At++)ft.subtract(At,bt)}break;case a.LastColumns:var vt=Math.abs(W.width-dt),Ct=ft.length-1,wt=!1,Bt=3*M;if(dt>W.width)while(!wt)if(ft.getFixed(Ct))0==Ct?wt=!0:Ct--;else if(ft.getWidth(Ct)-Bt<vt){var It=ft.getWidth(Ct)-Bt;ft.subtract(Ct,It),vt-=It,0==Ct?wt=!0:Ct--}else ft.subtract(Ct,vt),wt=!0;else ft.addLastNotFixed(vt);break}}try{for(var Tt=(g=void 0,__values(G.keys)),Et=Tt.next();!Et.done;Et=Tt.next()){var Rt=Et.value,Z=G.get(Rt),q;(q=H.get(Rt)).normalize();for(var Dt=0,$=0;$<Z.count;$++){var tt;if(null==(tt=Z.get($)))return;try{for(var Pt=(y=void 0,__values(tt)),xt=Pt.next();!xt.done;xt=Pt.next()){var it;(it=xt.value).width=q.getWidth($),it.left=Dt}}catch(t){y={error:t}}finally{try{xt&&!xt.done&&(A=Pt.return)&&A.call(Pt)}finally{if(y)throw y.error}}Dt+=q.getWidth($)}}}catch(t){g={error:t}}finally{try{Et&&!Et.done&&(S=Tt.return)&&S.call(Tt)}finally{if(g)throw g.error}}}}catch(t){r={error:t}}finally{try{_&&!_.done&&(i=O.return)&&i.call(O)}finally{if(r)throw r.error}}if(k.length>0){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;$<Z.count;$++){var tt;if(null==(tt=Z.get($)))continue;var et=0;try{for(var kt=(w=void 0,__values(tt)),Mt=kt.next();!Mt.done;Mt=kt.next()){var it;if((it=Mt.value).fixedWidth){q.setFixedColumn($,it.width),et=-1;break}switch(it.cellType){case l.CheckBox:case l.RichText:it.width>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;mt<k.length;mt++){var W;if(null==(W=k[mt].as(h)))continue;for(var ft=F.get(W),dt=0,gt=0;gt<ft.length;gt++)dt+=ft.getWidth(gt);switch(W.autoWidthType){case a.None:var Ot=N.get(W.name);if(null!=Ot&&Ot[0].width<dt){var St=Math.trunc(dt/Ot[0].width)+1;try{for(var _t=(I=void 0,__values(Ot)),jt=_t.next();!jt.done;jt=_t.next()){var Gt;jt.value.segmentPerWidth=St}}catch(t){I={error:t}}finally{try{jt&&!jt.done&&(T=_t.return)&&T.call(_t)}finally{if(I)throw I.error}}}break;case a.FullTable:if(dt<W.width){var yt=W.width-dt;yt/=ft.getCountNotFixedColumn();for(var At=0;At<ft.length;At++)ft.add(At,yt)}if(dt>W.width){var bt=dt-W.width;bt/=ft.getCountNotFixedColumn();for(var At=0;At<ft.length;At++)ft.subtract(At,bt)}break;case a.LastColumns:var vt=Math.abs(W.width-dt),Ct=ft.length-1,wt=!1,Bt=3*M;if(dt>W.width)while(!wt)if(ft.getFixed(Ct))0==Ct?wt=!0:Ct--;else if(ft.getWidth(Ct)-Bt<vt){var It=ft.getWidth(Ct)-Bt;ft.subtract(Ct,It),vt-=It,0==Ct?wt=!0:Ct--}else ft.subtract(Ct,vt),wt=!0;else ft.addLastNotFixed(vt);break}}try{for(var Ht=__values(x.keys),Qt=Ht.next();!Qt.done;Qt=Ht.next()){var Rt=Qt.value,Z=x.get(Rt),q;(q=F.get(Rt)).normalize();for(var Dt=0,$=0;$<Z.count;$++){var tt;if(null==(tt=Z.get($)))return;try{for(var Lt=(D=void 0,__values(tt)),Yt=Lt.next();!Yt.done;Yt=Lt.next()){var it;(it=Yt.value).width=q.getWidth($),it.left=Dt}}catch(t){D={error:t}}finally{try{Yt&&!Yt.done&&(P=Lt.return)&&P.call(Lt)}finally{if(D)throw D.error}}Dt+=q.getWidth($)}}}catch(t){E={error:t}}finally{try{Qt&&!Qt.done&&(R=Ht.return)&&R.call(Ht)}finally{if(E)throw E.error}}}},F.finishProgressForm=function(t){t.reportPass,e.StiReportPass.First},F}();r.StiRenderProvider=F}(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(t,e,r,n,i){void 0===t&&(t=-1),void 0===e&&(e=1),void 0===r&&(r=!0),void 0===n&&(n=!0),void 0===i&&(i=!1),this.latestProgressValue=0,this._fromPage=-1,this._toPage=-1,this._showProgress=!0,this._isSubReportMode=!1,this._destroyPagesWhichNotInRange=!0,this._renderOnlyPagesFromRange=!1,this._fromPage=t,this._toPage=e,-1==t&&-1==e&&(n=!1),this._showProgress=r,this._destroyPagesWhichNotInRange=n,this._renderOnlyPagesFromRange=i}return Object.defineProperty(t.prototype,"fromPage",{get:function(){return this._fromPage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toPage",{get:function(){return this._toPage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showProgress",{get:function(){return this._showProgress},set:function(t){this._showProgress=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSubReportMode",{get:function(){return this._isSubReportMode},set:function(t){this._isSubReportMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"destroyPagesWhichNotInRange",{get:function(){return this._destroyPagesWhichNotInRange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderOnlyPagesFromRange",{get:function(){return this._renderOnlyPagesFromRange},enumerable:!1,configurable:!0}),t}();t.StiRenderState=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.StiComponentsCollection,n=function(){function n(t){this.denyReportBands=!1,this.denyPageBands=!1,this.engine=null,this._reservedFreeSpace=0,this._reservedCrossFreeSpace=0,this._reservedPositionX=0,this._reservedPositionY=0,this._reservedPositionBottomY=0,this.engine=t}return Object.defineProperty(n.prototype,"reservedFreeSpace",{get:function(){return this._reservedFreeSpace},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reservedCrossFreeSpace",{get:function(){return this._reservedCrossFreeSpace},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reservedPositionX",{get:function(){return this._reservedPositionX},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reservedPositionY",{get:function(){return this._reservedPositionY},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reservedPositionBottomY",{get:function(){return this._reservedPositionBottomY},enumerable:!1,configurable:!0}),n.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(this.engine.threads.isActive||this.engine.denyChangeThread)return[3,6];if(!this.engine.templatePage.titleBeforeHeader)return[3,2];return[4,this.renderTitleBeforeHeaderAsync()];case 1:return r.sent(),[3,4];case 2:return[4,this.renderHeaderBeforeTitleAsync()];case 3:r.sent(),r.label=4;case 4:return this.engine.denyRenderMasterComponentsInContainer=!0,[4,e.StiPageHelper.renderSimpleComponentsAsync(this.engine.templatePage,this.engine.containerForRender)];case 5:r.sent(),this.engine.denyRenderMasterComponentsInContainer=!1,r.label=6;case 6:return null!=this.engine.page&&(this.engine.page.pageInfo.positionFromTop=this.engine.positionY,this.engine.page.pageInfo.positionFromBottom=this.engine.positionBottomY),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),[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;G<k;G++){var H=x.length>G?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;G<k;G++){var H=x.length>G?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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,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<o;i++)u[i]=new n;if(!e){var c=new n(t[0].x,t[0].y);a=this.calcCurveEnd(c,new n(t[1].x,t[1].y),l),u[0]=c,u[1]=a}for(i=0;i<t.length-(e?1:2);i++){var c=new n(t[i+1].x,t[i+1].y),p;a=(p=this.calcCurve([new n(t[i].x,t[i].y),c,new n(t[(i+2)%t.length].x,t[(i+2)%t.length].y)],l))[0],s=p[1],u[3*i+2]=a,u[3*i+3]=c,u[3*i+4]=s}if(e){var c=new n(t[0].x,t[0].y),p;a=(p=this.calcCurve([new n(t[t.length-1].x,t[t.length-1].y),c,new n(t[1].x,t[1].y)],l))[0],s=p[1],u[o-2]=a,u[0]=c,u[1]=s,u[o-1]=u[0]}else{var c=new n(t[t.length-1].x,t[t.length-1].y);a=this.calcCurveEnd(c,new n(t[t.length-2].x,t[t.length-2].y),l),u[o-2]=a,u[o-1]=c}return u},t.calcCurveEnd=function(t,e,r){return new n(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},t.calcCurve=function(t,e){var r=t[2].x-t[0].x,i=t[2].y-t[0].y,o,a,s;return[new n(t[1].x-e*r,t[1].y-e*i),new n(t[1].x+e*r,t[1].y+e*i)]},t}();e.StiCurveHelper=i}(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.Rectangle,a=t.Base.Drawing.StiBrush,s=t.System.Enum,l=t.System.Drawing.Color,u=t.Base.JsonReportObject.IStiJsonReportObject,c=function(){function t(){}return t.prototype.implements=function(){return t.implementsStiGeom||(t.implementsStiGeom=[u]),t.implementsStiGeom},t.prototype.is=function(t){var e=typeof t;if("string"==e)return this.implements().indexOf(t)>=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<t.length;o++)i[o]=t[o].saveToJsonObject(r);return i}return null},t.prototype.savePointDArrayToJsonObject=function(r){if(null!=r){for(var i=n.create(e.StiJson,r.length),o=0;o<r.length;o++)i[o]=t.savePointDToJsonObject(r[o]);return i}return null},t.prototype.saveBrushToJsonObject=function(t,r){if(t.stimulsoft.is(l)){var n=t;return i.format("Color,{0},{1},{2},{3}",n.a,n.r,n.g,n.b)}if(t.stimulsoft.is(a))return e.StiJsonReportObjectHelper.Serialize.jBrush(t);return null},t.prototype.saveRectToJsonObject=function(e){if(null!=e&&e.stimulsoft.is(o))return t.saveRectangleToJsonObject(e);return null},t.savePointDToJsonObject=function(t){var r=new e.StiJson;return r.addPropertyNumberNoDefaultValue("X",t.x),r.addPropertyNumberNoDefaultValue("Y",t.y),r},t.saveRectangleToJsonObject=function(t){var r=new e.StiJson;return r.addPropertyNumberNoDefaultValue("X",t.x),r.addPropertyNumberNoDefaultValue("Y",t.y),r.addPropertyNumberNoDefaultValue("Width",t.width),r.addPropertyNumberNoDefaultValue("Height",t.height),r},t.saveRectangleDToJsonObject=function(t){var r=new e.StiJson;return r.addPropertyNumberNoDefaultValue("X",t.x),r.addPropertyNumberNoDefaultValue("Y",t.y),r.addPropertyNumberNoDefaultValue("Width",t.width),r.addPropertyNumberNoDefaultValue("Height",t.height),r},t.prototype.loadFromJsonObject=function(t){},t.prototype.loadFromXml=function(t){},Object.defineProperty(t.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),t}();r.StiGeom=c}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(t,r){var n=e.call(this)||this;return n.x=t,n.y=r,n}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumberNoDefaultValue("X",this.x),r.addPropertyNumberNoDefaultValue("Y",this.y),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PushTranslateTransform},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPushTranslateTransformGeom=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(e){function r(t){var r=e.call(this)||this;return r.angle=t,r}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumberNoDefaultValue("Angle",this.angle),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PushRotateTransform},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPushRotateTransformGeom=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){function e(e,r){var n=t.call(this)||this;return n._animation=e,n.interaction=r,n}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r;return t.prototype.saveToJsonObject.call(this,e)},Object.defineProperty(e.prototype,"animation",{get:function(){return this._animation},enumerable:!1,configurable:!0}),e}(t.StiGeom);t.StiAnimationGeom=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(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this,s,l)||this;return u.value=i,u.background=t,u.borderPen=r,u.columnRect=n,u.tag=a,u.toolTip=o,u}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("ColumnRect",this.saveRectToJsonObject(this.columnRect)),r.addPropertyBool("UpMove",this.upMove),null!=this.tag&&this.tag.stimulsoft.is(String)&&r.addPropertyString("Tag",this.tag.toString()),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationBar},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiClusteredBarSeriesAnimationGeom=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(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PopTransform},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPopTransformGeom=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(e){function r(t,r,n,i,o,a,s){var l=e.call(this,o,a)||this;return l.background=t,l.borderPen=r,l.rect=n,l.tag=i,l.toolTip=s,l}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationBorder},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiBorderAnimationGeom=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(e){function r(t,r,n,i,o){var a=e.call(this)||this;return a.backgroundMouseOver=r,a.background=t,a.borderPen=n,a.rect=i,a.interaction=o,a}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Border},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiBorderGeom=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(){function t(t,e){this.duration=t,this.beginTime=e}return Object.defineProperty(t.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),t}();t.StiAnimation=e}(e=t.Animation||(t.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){return e.call(this,t,r)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Opacity},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiOpacityAnimation=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){function r(t){var r=e.call(this)||this;return r.clipRectangle=t,r}return __extends(r,e),r.prototype.saveToJsonObject=function(r){var n=e.prototype.saveToJsonObject.call(this,r);return n.addPropertyJObject("ClipRectangle",t.StiGeom.saveRectangleDToJsonObject(this.clipRectangle)),n},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PushClip},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPushClipGeom=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(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PopClip},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPopClipGeom=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(e){function r(t,r,n){var i=e.call(this)||this;return i.pen=t,i.tension=n,i.points=r,i}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),r.addPropertyNumberNoDefaultValue("Tension",this.tension),r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Curve},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiCurveGeom=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(e){function r(t,r,n,i,o){var a=e.call(this)||this;return a.background=t,a.borderPen=r,a.rect=n,a.interaction=i,a.toolTip=o,a}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Ellipse},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiEllipseGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Enum,n=function(n){function i(t,e,r){var i=n.call(this)||this;return i.rect=t,i.sides=e,i.isPrinting=r,i}return __extends(i,n),i.prototype.saveToJsonObject=function(i){var o=n.prototype.saveToJsonObject.call(this,i);return o.addPropertyJObject("Rect",e.StiGeom.saveRectangleDToJsonObject(this.rect)),o.addPropertyString("Sides",r.getName(t.Base.Drawing.StiShadowSides,this.sides)),o.addPropertyBool("IsPrinting",this.isPrinting),o},Object.defineProperty(i.prototype,"type",{get:function(){return e.StiGeomType.CachedShadow},enumerable:!1,configurable:!0}),i}(e.StiGeom);e.StiCachedShadowGeom=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(t,r,n){var i=e.call(this)||this;return i.shadowContext=t,i.rect=r,i.radius=n,i}return __extends(r,e),r.prototype.saveToJsonObject=function(r){var n=e.prototype.saveToJsonObject.call(this,r);return n.addPropertyJObject("Rect",t.StiGeom.saveRectangleDToJsonObject(this.rect)),n.addPropertyNumberNoDefaultValue("Radius",this.radius),n},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Shadow},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiShadowGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Drawing.Rectangle,n=t.System.Enum,i=t.System.Drawing.Point,o=function(o){function a(t,e,r,n,i,a,s,l,u,c,p){var h=o.call(this)||this;return h.isRounded=!1,h.isRotatedText=!1,h.isRotatedText=c,h.text=t,h.font=e,h.brush=r,h.location=n,h.stringFormat=i,h.angle=a,h.antialiasing=s,h.maximalWidth=l,h.rotationMode=u,h.toolTip=p,h}return __extends(a,o),a.prototype.saveToJsonObject=function(a){var s=o.prototype.saveToJsonObject.call(this,a);return s.addPropertyString("Text",this.text),s.addPropertyJObject("Font",this.font.saveToJsonObject(a)),s.addPropertyBool("IsRounded",this.isRounded),s.addPropertyBool("IsRotatedText",this.isRotatedText),s.addPropertyNumberNoDefaultValue("Angle",this.angle),s.addPropertyBool("Antialiasing",this.antialiasing),s.addPropertyNumberNoDefaultValue("MaximalWidth",this.maximalWidth),null!=this.brush&&s.addPropertyString("Brush",this.saveBrushToJsonObject(this.brush,a)),null!=this.stringFormat&&s.addPropertyJObject("StringFormat",this.stringFormat.saveToJsonObject(a)),null!=this.rotationMode&&s.addPropertyString("RotationMode",n.getName(t.Base.Drawing.StiRotationMode,this.rotationMode)),this.location.stimulsoft.is(i)&&s.addPropertyJObject("Location",e.StiGeom.savePointDToJsonObject(this.location)),this.location.stimulsoft.is(r)&&s.addPropertyJObject("Location",e.StiGeom.saveRectangleToJsonObject(this.location)),s},Object.defineProperty(a.prototype,"type",{get:function(){return e.StiGeomType.Text},enumerable:!1,configurable:!0}),a}(e.StiGeom);e.StiTextGeom=o}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(t,r,n,i,o,a){var s=e.call(this)||this;return s.background=t,s.pen=r,s.geoms=n,s.rect=i,s.interaction=o,s.toolTip=a,s}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),null!=this.geoms&&r.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.geoms,t)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Path},enumerable:!1,configurable:!0}),r.getBoundsState={},r}(t.StiGeom);t.StiPathGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Base.Context.StiGeomType,n=function(t){function e(e){var r=t.call(this)||this;return r.geoms=e,r}return __extends(e,t),Object.defineProperty(e.prototype,"type",{get:function(){return r.PushClipPath},enumerable:!1,configurable:!0}),e}(e.StiGeom);e.StiPushClipPathGeom=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=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.StiGeomType.Segment},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiSegmentGeom=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(e){function r(t,r,n,i){var o=e.call(this)||this;return o.rect=t,o.startAngle=r,o.sweepAngle=n,o}return __extends(r,e),r.prototype.saveToJsonObject=function(r){var n=e.prototype.saveToJsonObject.call(this,r);return n.addPropertyJObject("Rect",t.StiGeom.saveRectangleDToJsonObject(this.rect)),n.addPropertyNumberNoDefaultValue("StartAngle",this.startAngle),n.addPropertyNumberNoDefaultValue("SweepAngle",this.sweepAngle),n},r}(t.StiSegmentGeom);t.StiPieSegmentGeom=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(e){function r(t,r,n){var i=e.call(this)||this;return i.rect=t,i.startAngle=r,i.sweepAngle=n,i}return __extends(r,e),r.prototype.saveToJsonObject=function(r){var n=e.prototype.saveToJsonObject.call(this,r);return n.addPropertyJObject("Rect",t.StiGeom.saveRectangleDToJsonObject(this.rect)),n.addPropertyNumberNoDefaultValue("StartAngle",this.startAngle),n.addPropertyNumberNoDefaultValue("SweepAngle",this.sweepAngle),n},r}(t.StiSegmentGeom);t.StiArcSegmentGeom=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){function e(e,r,n,i,o){void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=null);var a=t.call(this)||this;return null==n&&null==i?(a.x1=e.x,a.y1=e.y,a.x2=r.x,a.y2=r.y):(a.x1=e,a.y1=r,a.x2=n,a.y2=i),a.animation=o,a}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumberNoDefaultValue("X1",this.x1),r.addPropertyNumberNoDefaultValue("Y1",this.y1),r.addPropertyNumberNoDefaultValue("X2",this.x2),r.addPropertyNumberNoDefaultValue("Y2",this.y2),r},e}(t.StiSegmentGeom);t.StiLineSegmentGeom=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){function e(e,r){void 0===r&&(r=null);var n=t.call(this)||this;return n.points=e,n.animation=r,n}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},e}(t.StiSegmentGeom);t.StiLinesSegmentGeom=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){function e(e,r,n){void 0===n&&(n=null);var i=t.call(this)||this;return i.tension=.55,i.points=null,i.points=e,i.tension=r,i.animation=n,i}return __extends(e,t),e.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyNumberNoDefaultValue("Tension",this.tension),r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},e}(t.StiSegmentGeom);t.StiCurveSegmentGeom=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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.StiSegmentGeom);t.StiCloseFigureSegmentGeom=e}(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.valueFrom=t,o.rectFrom=r,o}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Column},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiColumnAnimation=r}(r=e.Animation||(e.Animation={}))}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Enum,n=function(n){function i(t,e,r,i,o,a,s,l,u,c,p){var h=n.call(this,p,null)||this;return h.text=t,h.font=e,h.textBrush=r,h.labelBrush=i,h.penBorder=o,h.rectangle=a,h.stringFormat=s,h.rotationMode=l,h.angle=u,h.drawBorder=c,h}return __extends(i,n),i.prototype.saveToJsonObject=function(i){var o=n.prototype.saveToJsonObject.call(this,i);return o.addPropertyString("Text",this.text),o.addPropertyJObject("Font",this.font.saveToJsonObject(i)),o.addPropertyJObject("Rectangle",e.StiGeom.saveRectangleToJsonObject(this.rectangle)),o.addPropertyNumberNoDefaultValue("Angle",this.angle),o.addPropertyBool("DrawBorder",this.drawBorder),null!=this.textBrush&&o.addPropertyString("TextBrush",this.saveBrushToJsonObject(this.textBrush,i)),null!=this.labelBrush&&o.addPropertyString("LabelBrush",this.saveBrushToJsonObject(this.labelBrush,i)),null!=this.penBorder&&o.addPropertyJObject("PenBorder",this.penBorder.saveToJsonObject(i)),null!=this.stringFormat&&o.addPropertyJObject("StringFormat",this.stringFormat.saveToJsonObject(i)),null!=this.rotationMode&&o.addPropertyString("RotationMode",r.getName(t.Base.Drawing.StiRotationMode,this.rotationMode)),o},Object.defineProperty(i.prototype,"type",{get:function(){return e.StiGeomType.AnimationLabel},enumerable:!1,configurable:!0}),i}(e.StiAnimationGeom);e.StiLabelAnimationGeom=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(t,r,n,i,o){var a=e.call(this,o,null)||this;return a.rect=t,a.radiusX=r,a.radiusY=n,a.shadowWidth=i,a}return __extends(r,e),r.prototype.saveToJsonObject=function(r){var n=e.prototype.saveToJsonObject.call(this,r);return n.addPropertyJObject("Rect",t.StiGeom.saveRectangleDToJsonObject(this.rect)),n.addPropertyNumberNoDefaultValue("RadiusX",this.radiusX),n.addPropertyNumberNoDefaultValue("RadiusY",this.radiusY),n.addPropertyNumberNoDefaultValue("ShadowWidth",this.shadowWidth),n},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationShadow},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiShadowAnimationGeom=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(e){function r(t,r,n,i,o,a,s){var l=e.call(this,a,s)||this;return l.background=t,l.pen=r,l.geoms=n,l.rect=i,l.tag=o,l}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),null!=this.geoms&&r.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.geoms,t)),null!=this.tag&&null!=this.tag&&this.tag.stimulsoft.is(String)&&r.addPropertyString("Tag",this.tag.toString()),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationPath},enumerable:!1,configurable:!0}),r.getBoundsState={},r}(t.StiAnimationGeom);t.StiPathAnimationGeom=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(e){function r(t,r,n,i){var o=e.call(this,i,null)||this;return o.pen=t,o.points=r,o.tension=n,o}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),r.addPropertyNumberNoDefaultValue("Tension",this.tension),r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationCurve},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiCurveAnimationGeom=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(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this,s,l)||this;return u.value=i,u.background=t,u.borderPen=r,u.columnRect=n,u.tag=a,u.toolTip=o,u}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("ColumnRect",this.saveRectToJsonObject(this.columnRect)),null!=this.tag&&this.tag.stimulsoft.is(String)&&r.addPropertyString("Tag",this.tag.toString()),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationColumn},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiClusteredColumnSeriesAnimationGeom=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(e){function r(t,r,n,i,o,a,s){var l=e.call(this,a,s)||this;return l.background=t,l.borderPen=r,l.rect=n,l.tag=o,l.toolTip=i,l}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.tag&&null!=this.tag&&this.tag.stimulsoft.is(String)&&r.addPropertyString("Tag",this.tag.toString()),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationEllipse},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiEllipseAnimationGeom=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(e){function r(t,r,n){var i=e.call(this,n,null)||this;return i.pen=t,i.points=r,i}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationLines},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiLinesAnimationGeom=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(e){function r(t,r,n,i,o,a,s,l){var u=e.call(this,s,l)||this;return u.background=t,u.borderPen=r,u.rect=i,u.pathGeoms=n,u.toolTip=o,u.tag=a,u}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&r.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&r.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),null!=this.pathGeoms&&r.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.pathGeoms,t)),null!=this.tag&&this.tag.stimulsoft.is(String)&&r.addPropertyString("Tag",this.tag.toString()),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.AnimationPathElement},enumerable:!1,configurable:!0}),r}(t.StiAnimationGeom);t.StiPathElementAnimationGeom=e}(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,a){var s=e.call(this,o,a)||this;return s.pointFrom=n,s.point=i,s.valueFrom=t,s.value=r,s}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Translation},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiLabelAnimation=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){var i=e.call(this,r,n)||this;return i.pointsFrom=t,i}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Points},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiPointsAnimation=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,a,s,l,u){var c=e.call(this,l,u)||this;return c.valueFrom=t,c.value=r,c.clientRect=o,c.rectLabelFrom=a,c.rectLabel=s,c.angleFrom=n,c.angle=i,c}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Translation},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiPieLabelAnimation=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.rectFrom=t,a.startAngleFrom=r,a.sweepAngleFrom=n,a}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.PieSegment},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiPieSegmentAnimation=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){function r(t,r,n,i,o){var a=e.call(this)||this;return a.pen=t,a.x1=r,a.y1=n,a.x2=i,a.y2=o,a}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),r.addPropertyNumberNoDefaultValue("X1",this.x1),r.addPropertyNumberNoDefaultValue("Y1",this.y1),r.addPropertyNumberNoDefaultValue("X2",this.x2),r.addPropertyNumberNoDefaultValue("Y2",this.y2),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Line},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiLineGeom=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(e){function r(t,r){var n=e.call(this)||this;return n.pen=t,n.points=r,n}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&r.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),r.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),r},Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.Lines},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiLinesGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Convert,n=function(t){function n(e,r){var n=t.call(this)||this;return n.rect=e,n.image=r,n}return __extends(n,t),n.prototype.saveToJsonObject=function(e){var n=t.prototype.saveToJsonObject.call(this,e);return null!=this.image&&n.addPropertyString("CustomIcon",r.toBase64String(this.image)),n.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),n},Object.defineProperty(n.prototype,"type",{get:function(){return e.StiGeomType.Image},enumerable:!1,configurable:!0}),n}(e.StiGeom);e.StiImageGeom=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.Report.Chart.IStiAxisArea,n=function(){function t(){this.isElements=!0,this.tag=null,this.tooltip=null,this.hyperlink=null,this.argument=null,this.originalArgument=null,this.value=0}return t.prototype.fill=function(t,e,n){t.stimulsoft.is(r)&&t.reverseHor?(this.pointIndex=e.values.length-n-1,this.series=e,n>=0&&n<e.arguments.length&&(this.argument=e.arguments[e.arguments.length-n-1]),null!=e.originalArguments&&n>=0&&n<e.originalArguments.length&&(this.originalArgument=e.originalArguments[e.originalArguments.length-n-1]),n>=0&&n<e.values.length&&(this.value=e.values[e.values.length-n-1]),n>=0&&n<e.tags.length&&(this.tag=e.tags[e.tags.length-n-1]),n>=0&&n<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[e.hyperlinks.length-n-1]),n>=0&&n<e.toolTips.length&&(this.tooltip=e.toolTips[e.toolTips.length-n-1])):(this.pointIndex=n,this.series=e,null!=e.originalArguments&&n>=0&&n<e.originalArguments.length&&(this.originalArgument=e.originalArguments[n]),n>=0&&n<e.arguments.length&&(this.argument=e.arguments[n]),n>=0&&n<e.values.length&&(this.value=e.values[n]),n>=0&&n<e.tags.length&&(this.tag=e.tags[n]),n>=0&&n<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[n]),n>=0&&n<e.toolTips.length&&(this.tooltip=e.toolTips[n]))},t}();e.StiSeriesInteractionData=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t}();t.StiInteractionData=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){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e}(t.StiInteractionData);t.StiIndicatorInteractionData=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(r){var n;!function(r){var n=t.Base.Context.StiPushClipPathGeom,i=t.System.Drawing.SolidBrush,o=t.System.StiArray,a=t.Data.Extensions.ListExt,s=t.System.Convert,l=t.Base.Context.StiImageGeom,u=t.System.StiString,c=t.System.Text.Encoding,p=t.System.Drawing.Color,h=t.System.Drawing.Rectangle,m=t.System.Drawing.Rectangle,f=t.System.Text.StringBuilder,d=t.System.Drawing.StringFormat,g=t.Base.Drawing.StiRotationMode,S=t.Base.Context.StiPushTranslateTransformGeom,y=t.Base.Context.StiPushRotateTransformGeom,A=t.Base.Context.StiClusteredBarSeriesAnimationGeom,b=t.Base.Context.StiPopTransformGeom,v=t.Base.Context.StiBorderAnimationGeom,C=t.Base.Context.StiAnimationGeom,w=t.Base.Context.StiBorderGeom,B=t.Base.Context.StiLineGeom,I=t.Base.Context.StiLinesGeom,T=t.Base.Context.Animation.StiOpacityAnimation,E=t.Base.Context.StiPushClipGeom,R=t.Base.Context.StiPopClipGeom,D=t.Base.Context.StiCurveGeom,P=t.Base.Context.StiEllipseGeom,x=t.Base.Context.StiCachedShadowGeom,F=t.Base.Context.StiShadowGeom,N=t.Base.Context.StiTextGeom,k=t.Base.Context.StiPathGeom,M=t.Base.Context.StiPieSegmentGeom,O=t.Base.Context.StiArcSegmentGeom,_=t.Base.Context.StiLineSegmentGeom,j=t.Base.Context.StiLinesSegmentGeom,G=t.Base.Context.StiCurveSegmentGeom,H=t.Base.Context.StiCloseFigureSegmentGeom,Q=t.Base.Drawing.StiPenStyle,L=t.Base.Drawing.StiGradientBrush,Y=t.Base.Drawing.StiGlareBrush,U=t.Base.Drawing.StiHatchBrush,J=t.Base.Drawing.StiGlassBrush,W=t.Base.Drawing.StiBrush,V=t.System.Drawing.Point,z=t.Report.StiCurveHelper,X=t.System.Drawing.Font,K=t.Base.StiGuidUtils,Z=t.System.Drawing.Size,q=t.System.TimeSpan,$=t.System.Drawing.FontStyle,tt=t.Base.Context.Animation.StiColumnAnimation,et=t.Base.Context.StiLabelAnimationGeom,rt=t.Base.Context.StiShadowAnimationGeom,nt=t.Base.Context.StiPathAnimationGeom,it=t.Base.Context.StiCurveAnimationGeom,ot=t.Base.Context.StiClusteredColumnSeriesAnimationGeom,at=t.Base.Context.StiEllipseAnimationGeom,st=t.Base.Context.StiLinesAnimationGeom,lt=t.Base.Context.StiPathElementAnimationGeom,ut=t.Base.Context.Animation.StiLabelAnimation,ct=t.Base.Context.Animation.StiPointsAnimation,pt=t.Base.Context.Animation.StiPieLabelAnimation,ht=t.Base.Context.Animation.StiPieSegmentAnimation,mt=t.System.Drawing.Rectangle,ft=t.Base.StiAnimationType,dt=t.Base.Localization.StiLocalization,gt=t.System.Drawing.StringAlignment,St=t.Base.Context.StiSeriesInteractionData,yt=t.Base.Context.StiIndicatorInteractionData,At=function(){function r(){}return r.writeGeoms=function(t,r,i){var o,a,c,O,_,j,G="",H=0,L=!0;try{for(var Y=__values(r.geoms),U=Y.next();!U.done;U=Y.next()){var J,z=(J=U.value).as(C);null!=z&&z.animation.duration.totalMilliseconds+(null!=z.animation.beginTime?z.animation.beginTime.totalMilliseconds:0)>H&&(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;ae<ne.length;ae++)Gt.appendFormat("{0}:{1},{2}:{3} ",this.p(ie[ae].x+this.dx),this.p(ne[ae].x+this.dx),this.p(ie[ae].y+this.dy),this.p(ne[ae].y+this.dy+1e-4*ae));this.addAnimation(t,'[["path", "'+Gt.toString()+'", 1,""]]',q.fromMilliseconds(0),q.fromSeconds(1)),(oe=new f).appendFormat("M{0},{1} C",(ie[0].x+this.dx).toString().split(",").join("."),(ie[0].y+this.dy).toString().split(",").join("."));for(var ae=1;ae<ie.length;ae++)oe.appendFormat("{0},{1} ",(ie[ae].x+this.dx).toString().split(",").join("."),(ie[ae].y+this.dy+1e-4*ae).toString().split(",").join("."));t.writeAttributeString("d",oe.toString())}else{var oe;(oe=new f).appendFormat("M{0},{1} C",(ne[0].x+this.dx).toString().split(",").join("."),(ne[0].y+this.dy).toString().split(",").join("."));for(var ae=1;ae<ne.length;ae++)oe.appendFormat("{0},{1} ",(ne[ae].x+this.dx).toString().split(",").join("."),(ne[ae].y+this.dy+1e-4*ae).toString().split(",").join("."));t.writeAttributeString("d",oe.toString())}t.writeAttributeString("fill","none"),t.writeAttributeString("stroke-width",re.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",u.format("url(#{0})",jt)),re.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(re.pen.penStyle,re.pen.thickness)),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)),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;ae<ne.length;ae++)Gt.appendFormat("{0}:{1},{2}:{3} ",this.p(ie[ae].x+this.dx),this.p(ne[ae].x+this.dx),this.p(ie[ae].y+this.dy),this.p(ne[ae].y+this.dy+1e-4*ae));this.addAnimation(t,'[["path", "'+Gt.toString()+'", 1,""]]',q.fromMilliseconds(0),q.fromSeconds(1)),(oe=new f).appendFormat("M{0},{1} C",(ie[0].x+this.dx).toString().split(",").join("."),(ie[0].y+this.dy).toString().split(",").join("."));for(var ae=1;ae<ie.length;ae++)oe.appendFormat("{0},{1} ",(ie[ae].x+this.dx).toString().split(",").join("."),(ie[ae].y+this.dy+1e-4*ae).toString().split(",").join("."));t.writeAttributeString("d",oe.toString())}else{var oe;(oe=new f).appendFormat("M{0},{1} C",(ne[0].x+this.dx).toString().split(",").join("."),(ne[0].y+this.dy).toString().split(",").join("."));for(var ae=1;ae<ne.length;ae++)oe.appendFormat("{0},{1} ",(ne[ae].x+this.dx).toString().split(",").join("."),(ne[ae].y+this.dy+1e-4*ae).toString().split(",").join("."));t.writeAttributeString("d",oe.toString())}t.writeAttributeString("fill","none"),t.writeAttributeString("stroke-width",re.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",u.format("url(#{0})",jt)),re.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(re.pen.penStyle,re.pen.thickness)),t.writeEndElement()}}else if(J.is(l)){var se=J.as(l);null!=se.image&&(t.writeStartElement("image"),t.writeAttributeString("x",se.rect.x.toString().split(",").join(".")),t.writeAttributeString("y",se.rect.y.toString().split(",").join(".")),t.writeAttributeString("width",se.rect.width.toString().split(",").join(".")),t.writeAttributeString("height",se.rect.height.toString().split(",").join(".")),t.writeStartAttribute(null,"xlink:href",null),t.writeString("data:image/jpg;base64,"),t.writeRaw("\r\n"),t.writeString(s.toBase64String(se.image)),t.writeEndAttribute(),t.writeEndElement())}else if(J.is(w)){var vt,Ct=(vt=J.as(w)).rect.stimulsoft.as(h),It;if((It=new f).append(this.writeFillBrush(t,vt.background,Ct)),this.checkPenGeom(vt.borderPen)&&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"),null!=vt.backgroundMouseOver&&this.writeFillBrushMouserOver(t,vt.background,vt.backgroundMouseOver,Ct),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("x",(Ct.x+this.dx).toString()),t.writeAttributeString("y",(Ct.y+this.dy).toString()),t.writeAttributeString("width",Ct.width.toString()),t.writeAttributeString("height",Ct.height.toString()),t.writeAttributeString("style",It.toString()),t.writeAttributeString("shape-rendering","crispEdges"),this.writeInteraction(t,vt.interaction),t.writeEndElement()}else if(J.is(B)){var le=J.as(B);if(this.checkPenGeom(le.pen)){t.writeStartElement("line"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("x1",(le.x1+this.dx).toString()),t.writeAttributeString("y1",(le.y1+this.dy).toString()),t.writeAttributeString("x2",(le.x2+this.dx).toString()),t.writeAttributeString("y2",(le.y2+this.dy).toString());var Tt=u.format("{0}",this.writeBorderStroke(t,le.pen.brush,new h)),It=u.format("{0}stroke-width:{1};",Tt,le.pen.thickness);t.writeAttributeString("style",It),le.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(le.pen.penStyle,le.pen.thickness)),t.writeEndElement()}}else if(J.is(I)){var Jt=J.as(I);if(this.checkPenGeom(Jt.pen)){t.writeStartElement("polyline"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));for(var zt=new f,ue=0;ue<Jt.points.length;ue++){var Zt=Jt.points[ue];zt.appendFormat("{0},{1} ",(Zt.x+this.dx).toString(),(Zt.y+this.dy+1e-4*ue).toString())}t.writeAttributeString("fill","none"),t.writeAttributeString("points",zt.toString());var Tt=u.format("{0}",this.writeBorderStroke(t,Jt.pen.brush,new h)),It;(It=new f).appendFormat("{0}stroke-width:{1};",Tt,Jt.pen.thickness),t.writeAttributeString("style",It.toString()),Jt.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(Jt.pen.penStyle,Jt.pen.thickness)),t.writeEndElement()}}else if(J.is(D)){var re=J.as(D);if(this.checkPenGeom(re.pen)){t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G));var ne=this.convertSplineToCubicBezier(re.points,re.tension),oe;(oe=new f).appendFormat("M{0},{1} C",ne[0].x+this.dx,ne[0].y+this.dy);for(var ae=1;ae<ne.length;ae++)oe.appendFormat("{0},{1} ",ne[ae].x+this.dx,ne[ae].y+this.dy);t.writeAttributeString("d",oe.toString()),t.writeAttributeString("fill","none");var Tt=u.format("{0}",this.writeBorderStroke(t,re.pen.brush,new h)),It=u.format("{0}stroke-width:{1};",Tt,re.pen.thickness);t.writeAttributeString("style",It),re.pen.penStyle!=Q.Solid&&t.writeAttributeString("stroke-dasharray",e.StiSvgHelper.getLineStyleDash(re.pen.penStyle,re.pen.thickness)),t.writeEndElement()}}else if(J.is(P)){var $t,Ct=($t=J.as(P)).rect.stimulsoft.as(h),It="";if(It=null!=$t.background?this.writeFillBrush(t,$t.background,Ct):"fill-opacity:0;",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)}t.writeStartElement("ellipse"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("cx",(Ct.x+this.dx+Ct.width/2).toString()),t.writeAttributeString("cy",(Ct.y+this.dy+Ct.height/2).toString()),t.writeAttributeString("rx",(Ct.width/2).toString()),t.writeAttributeString("ry",(Ct.height/2).toString()),t.writeAttributeString("style",It),this.writeInteraction(t,$t.interaction),this.writeTooltip(t,$t.toolTip),t.writeEndElement()}else if(J.is(x)&&L){var Lt,Ct;(Ct=(Lt=J.as(x)).rect).x+=2,Ct.y+=2;var jt="s"+K.newGuid();t.writeStartElement("defs"),t.writeStartElement("filter"),t.writeAttributeString("id",jt),t.writeStartElement("feGaussianBlur"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("stdDeviation","2"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),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.writeAttributeString("fill","rgba(190,190,190,10)"),t.writeAttributeString("filter","url(#"+jt+")"),t.writeEndElement()}else if(J.is(F)){var Lt=J.as(F),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();try{for(var ce=(_=void 0,__values(Lt.shadowContext.geoms)),pe=ce.next();!pe.done;pe=ce.next()){var he=pe.value,Gt={ref:null},Ht={ref:null},me=he.as(k);if(null!=me){var Qt=this.getPathData(me.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("fill","rgb(150,150,150)"),t.writeAttributeString("filter",u.format("url(#{0})",jt)),t.writeEndElement()}}}catch(t){_={error:t}}finally{try{pe&&!pe.done&&(j=ce.return)&&j.call(ce)}finally{if(_)throw _.error}}}else if(J.is(N)){var Rt;"Stimulsoft"==(Rt=J.as(N)).font.fontName&&this.writeStimulsoftIconFont();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;var fe=new V;if(0!=Rt.angle||Rt.location.stimulsoft.is(V)||Rt.isRotatedText)if(Rt.location.stimulsoft.is(V))fe=Rt.location.stimulsoft.as(V);else{var Ct=Rt.location.stimulsoft.as(h);fe=new V(Ct.x+Ct.width/2,Ct.y+Ct.height/2)}else{var de=Rt.location.stimulsoft.as(h);switch(Ft.lineAlignment){case gt.Near:fe=new V(de.x,de.y);break;case gt.Center:fe=new V(de.x,de.y+de.height/2);break;case gt.Far:fe=new V(de.x,de.y+de.height);break}Rt.rotationMode=g.LeftCenter}var It=new f,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}0!=Rt.angle||0!=Rt.maximalWidth&&null!=Rt.maximalWidth?t.writeAttributeString("transform",u.format("translate({0}, {1}) rotate({2} 0,0)",(fe.x+this.dx).toString(),(fe.y+this.dy).toString(),Rt.angle)):(u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("x",(fe.x+this.dx).toString()),t.writeAttributeString("y",(fe.y+this.dy).toString())),t.writeAttributeString("font-size",Nt.toString()),t.writeAttributeString("font-family",xt.fontFamily.name),(xt.style&$.Bold)>0&&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;ae<Se;ae++)if((de=r.measureString(Rt.text.substring(0,ae),Rt.font)).width>Rt.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(ve<Se)t.writeStartElement("tspan"),t.writeAttributeString("x","0"),0==ae?t.writeAttributeString("y",be.toString()):t.writeAttributeString("dy",de.height.toString()),t.writeString(Rt.text.substr(ve,ye)),t.writeEndElement(),ve+=ye,ae++}}else t.writeString(Rt.text);t.writeEndElement()}else if(J.is(k)){var ee=J.as(k),It="",te="";if(It=null!=ee.background?this.writeFillBrush(t,ee.background,ee.rect):"fill-opacity:0;",this.checkPenGeom(ee.pen)){var Tt=u.format("{0}",this.writeBorderStroke(t,ee.pen.brush,ee.rect));It+=u.format("{0}stroke-width:{1};",Tt,ee.pen.thickness)}var Qt=this.getPathData(ee.geoms,this.dx,this.dy,{ref:null},{ref:null});t.writeStartElement("path"),u.isNullOrEmpty(G)||t.writeAttributeString("clip-path",u.format("url(#{0})",G)),t.writeAttributeString("d",Qt),t.writeAttributeString("style",It),this.writeInteraction(t,ee.interaction),this.writeTooltip(t,ee.toolTip),t.writeEndElement()}}}catch(t){c={error:t}}finally{try{dt&&!dt.done&&(O=ht.return)&&O.call(ht)}finally{if(c)throw c.error}}},r.addAnimation=function(t,e,r,n,i){void 0===i&&(i="");var o="{"+u.format('"actions":{0}, "begin":{1}, "duration":{2}',e,Math.round2(r.totalMilliseconds),Math.round2(n.totalMilliseconds))+"}";t.writeAttributeString("_animation"+i,o)},r.rectToCenterPoint=function(t){return new V(t.x+t.width/2,t.y+t.height/2)},r.writeInteraction=function(t,e){var r,n,i,o,s;if(null!=e){null!=e.componentName&&t.writeAttributeString("interaction",e.componentName.toString()),null!=e.pageGuid&&t.writeAttributeString("pageguid",e.pageGuid.toString()),null!=e.componentIndex&&t.writeAttributeString("compindex",e.componentIndex.toString()),null!=e.pageIndex&&t.writeAttributeString("pageindex",e.pageIndex.toString()),null!=e.elementIndex&&t.writeAttributeString("elementindex",e.elementIndex.toString()),null!=e.interactionHyperlink&&t.writeAttributeString("interactionhyperlink",e.interactionHyperlink),null!=e.interactionToolTip&&t.writeAttributeString("interactiontooltip",e.interactionToolTip);var l=null===(r=e.interactionData)||void 0===r?void 0:r.stimulsoft.as(St);if(null!=l){var c=null!=l.originalArgument?l.originalArgument:l.argument,p=null!=c&&a.isList(c)?null===(n=a.toList(c))||void 0===n?void 0:n.firstOrDefault():c;t.writeAttributeString("elementargument",null==p?"sti_IsNullValue":p.toString()),null!=l.value&&t.writeAttributeString("elementvalue",l.value.toString());var h=null===(i=l.series)||void 0===i?void 0:i.coreTitle;u.isNullOrEmpty(h)&&(h=null===(o=l.series)||void 0===o?void 0:o.titleValue),u.isNullOrEmpty(h)||t.writeAttributeString("elementseries",h)}var m=null===(s=e.interactionData)||void 0===s?void 0:s.stimulsoft.as(yt);null!=m&&(t.writeAttributeString("elementvalue",null!=m.value?m.value.toString():null),t.writeAttributeString("elementseries",m.seriesText),t.writeAttributeString("elementtarget",null!=m.target?m.target.toString():null))}},r.getPathData=function(t,e,r,n,i){var o,a,s="",l=new f,u=q.fromMilliseconds(0),c=0;try{for(var p=__values(t),h=p.next();!h.done;h=p.next()){var m=h.value;if(m.is(O)){var d=m.as(O);s+=this.addArcPath(d,s,e,r)}else if(m.is(G)){for(var g=m.as(G),S=null!=g.animation?g.animation.stimulsoft.as(ct):null,y=z.cardinalSpline(g.points,!1),A=null!=S?z.cardinalSpline(S.PointsFrom,!1):null,b=new f,v=1;v<y.length;v+=3)null!=S?(1==v?b.appendFormat("C{0},{1},{2},{3},{4},{5}",(A[v].x+e).toString().split(",").join("."),(A[v].y+r).toString().split(",").join("."),(A[v+1].x+e).toString().split(",").join("."),(A[v+1].y+r).toString().split(",").join("."),(A[v+2].x+e).toString().split(",").join("."),(A[v+2].y+r).toString().split(",").join(".")):b.appendFormat(",{0},{1},{2},{3},{4},{5}",(A[v].x+e).toString().split(",").join("."),(A[v].y+r).toString().split(",").join("."),(A[v+1].x+e).toString().split(",").join("."),(A[v+1].y+r).toString().split(",").join("."),(A[v+2].x+e).toString().split(",").join("."),(A[v+2].y+r+1e-4*v).toString().split(",").join(".")),1==v?l.appendFormat("C{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(A[v].x+e),this.p(y[v].x+e),this.p(A[v].y+r),this.p(y[v].y+r),this.p(A[v+1].x+e),this.p(y[v+1].x+e),this.p(A[v+1].y+r),this.p(y[v+1].y+r),this.p(A[v+2].x+e),this.p(y[v+2].x+e),this.p(A[v+2].y+r),this.p(y[v+2].y+r)):l.appendFormat(",{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(A[v].x+e),this.p(y[v].x+e),this.p(A[v].y+r),this.p(y[v].y+r),this.p(A[v+1].x+e),this.p(y[v+1].x+e),this.p(A[v+1].y+r),this.p(y[v+1].y+r),this.p(A[v+2].x+e),this.p(y[v+2].x+e),this.p(A[v+2].y+r),this.p(y[v+2].y+r+1e-4*v)),u=q.fromSeconds(1)):1==v?b.appendFormat("C{0},{1},{2},{3},{4},{5}",(y[v].x+e).toString().split(",").join("."),(y[v].y+r).toString().split(",").join("."),(y[v+1].x+e).toString().split(",").join("."),(y[v+1].y+r).toString().split(",").join("."),(y[v+2].x+e).toString().split(",").join("."),(y[v+2].y+r).toString().split(",").join(".")):b.appendFormat(",{0},{1},{2},{3},{4},{5}",(y[v].x+e).toString().split(",").join("."),(y[v].y+r).toString().split(",").join("."),(y[v+1].x+e).toString().split(",").join("."),(y[v+1].y+r).toString().split(",").join("."),(y[v+2].x+e).toString().split(",").join("."),(y[v+2].y+r+1e-4*v).toString().split(",").join("."));s+=b}else if(m.is(_)){var C=m.as(_),S=null!=C.animation?C.animation.stimulsoft.as(ct):null,b=new f;s.stimulsoft.startsWith("M")||(null!=S?(b.appendFormat("M{0},{1}",this.p(S.pointsFrom[0].x+e),this.p(S.pointsFrom[0].y+r)),l.appendFormat("M{0}:{1},{2}:{3}",this.p(S.pointsFrom[0].x+e),this.p(C.x1+e),this.p(S.pointsFrom[0].y+r),this.p(C.y1+r))):b.appendFormat("M{0},{1}",(C.x1+e).toString().split(",").join("."),(C.y1+r).toString().split(",").join("."))),null!=S?(b.appendFormat("L{0},{1}",this.p(S.pointsFrom[1].x+e),this.p(S.pointsFrom[1].y+r)),l.appendFormat("L{0}:{1},{2}:{3}",this.p(S.pointsFrom[1].x+e),this.p(C.x2+e),this.p(S.pointsFrom[1].y+r),this.p(C.y2+r+1e-4)),u=S.duration):b.appendFormat("L{0},{1}",(C.x2+e).toString().split(",").join("."),(C.y2+r+1e-4).toString().split(",").join(".")),s+=b}else if(m.is(j)){var w=m.as(j),S=null!=w.animation?w.animation.stimulsoft.as(ct):null,b=new f;s.stimulsoft.startsWith("M")||(null!=S?(b.appendFormat("M{0},{1}",this.p(S.pointsFrom[0].x+e),this.p(S.pointsFrom[0].y+r)),l.appendFormat("M{0}:{1},{2}:{3}",this.p(S.pointsFrom[0].x+e),this.p(S.pointsFrom[1].x+e),this.p(S.pointsFrom[0].y+r),this.p(S.pointsFrom[1].y+r+1e-4))):b.appendFormat("M{0},{1}",this.p(w.points[0].x+e),this.p(w.points[0].y+r+1e-4)));for(var v=0;v<w.points.length;v++)null!=S?(b.appendFormat("{0}{1},{2}",0==v?"L":",",this.p(S.pointsFrom[v].x+e),this.p(S.pointsFrom[v].y+r)),l.appendFormat("{0}{1}:{2},{3}:{4}",0==v?"L":",",this.p(S.pointsFrom[v].x+e),this.p(w.points[v].x+e),this.p(S.pointsFrom[v].y+r),this.p(w.points[v].y+r)),u=S.duration):b.appendFormat("{0}{1},{2}",0==v?"L":",",this.p(w.points[v].x+e),this.p(w.points[v].y+r+1e-4*v));s+=b}else if(m.is(M)){var B=m.as(M);s+=this.addPiePath(B,s,e,r,l,{ref:null})}else m.is(H);c++}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return n.ref=l,i.ref=u,s},r.addArcPath=function(t,e,r,n){var i=new f,o=t.rect.x+r+t.rect.width/2,a=t.rect.y+n+t.rect.height/2,s=t.rect.width/2,l=t.startAngle*Math.PI/180,u=o+s*Math.cos(l),c=a+s*Math.sin(l);e.stimulsoft.startsWith("M")&&t.sweepAngle%360!=0||i.appendFormat("M{0},{1}",u.toString().split(",").join("."),c.toString().split(",").join("."));var p=this.round(Math.abs(t.sweepAngle/90)),h=t.sweepAngle/p;l=t.startAngle;for(var m=0;m<p;m++){var d=this.convertArcToCubicBezier(t.rect,l,h);0==m?i.appendFormat("C{0},{1},{2},{3},{4},{5}",(d[1].x+r).toString().split(",").join("."),(d[1].y+n).toString().split(",").join("."),(d[2].x+r).toString().split(",").join("."),(d[2].y+n).toString().split(",").join("."),(d[3].x+r).toString().split(",").join("."),(d[3].y+n).toString().split(",").join(".")):i.appendFormat(",{0},{1},{2},{3},{4},{5}",(d[1].x+r).toString().split(",").join("."),(d[1].y+n).toString().split(",").join("."),(d[2].x+r).toString().split(",").join("."),(d[2].y+n).toString().split(",").join("."),(d[3].x+r).toString().split(",").join("."),(d[3].y+n).toString().split(",").join(".")),l+=h}return i.toString()},r.round=function(t){var e=Math.round2(t),r;return t-e>0?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<v;w++){for(var B=this.convertArcToCubicBezier(e.rect,y,C),I=1;I<B.length-1;I+=3)1==I?l.appendFormat("C{0},{1},{2},{3},{4},{5}",(B[I].x+n).toString().split(",").join("."),(B[I].y+i).toString().split(",").join("."),(B[I+1].x+n).toString().split(",").join("."),(B[I+1].y+i).toString().split(",").join("."),(B[I+2].x+n).toString().split(",").join("."),(B[I+2].y+i).toString().split(",").join(".")):l.appendFormat(",{0},{1},{2},{3},{4},{5}",(B[I].x+n).toString().split(",").join("."),(B[I].y+i).toString().split(",").join("."),(B[I+1].x+n).toString().split(",").join("."),(B[I+1].y+i).toString().split(",").join("."),(B[I+2].x+n).toString().split(",").join("."),(B[I+2].y+i).toString().split(",").join("."));y+=C}return l.appendFormat("L{0},{1}",h.toString().split(",").join("."),m.toString().split(",").join(".")),null!=p?(s=p.duration,o.append(t.System.Convert.toBase64String(c.UTF8.getBytes(u.format('{{"startAngle":{0}, "startAngleFrom": {1}, "sweepAngle": {2}, "sweepAngleFrom": {3}, "x": {4}, "y": {5},'+'"width": {6}, "height": {7}, "dx": {8}, "dy": {9}}}',this.p(e.startAngle),this.p(p.startAngleFrom),this.p(e.sweepAngle),this.p(p.sweepAngleFrom),this.p(e.rect.x),this.p(e.rect.y),this.p(e.rect.width),this.p(e.rect.height),this.p(n),this.p(i)))))):s=q.fromSeconds(1),a.ref=s,l.toString()},r.correctRectLabel=function(t,e){switch(t){case g.LeftCenter:return new h(e.x+e.width/2,e.y,e.width,e.height);case g.LeftBottom:return new h(e.x+e.width/2,e.y-e.height/2,e.width,e.height);case g.LeftTop:return new h(e.x+e.width/2,e.y+e.height/2,e.width,e.height);case g.CenterTop:return new h(e.x,e.y+e.height/2,e.width,e.height);case g.CenterCenter:return e;case g.CenterBottom:return new h(e.x,e.y-e.height/2,e.width,e.height);case g.RightTop:return new h(e.x-e.width/2,e.y+e.height/2,e.width,e.height);case g.RightCenter:return new h(e.x-e.width/2,e.y,e.width,e.height);case g.RightBottom:return new h(e.x-e.width/2,e.y-e.height/2,e.width,e.height);default:return e}},r.convertArcToCubicBezier=function(t,e,r){var n=t.x+t.width/2,i=t.y+t.height/2,a=Math.min(t.width/2,t.height/2),s=e*Math.PI/180,l=r*Math.PI/180,u=(e+r)*Math.PI/180,c=n+a*Math.cos(s),p=i+a*Math.sin(s),h=n+a*Math.cos(u),m=i+a*Math.sin(u),f=4*a/3*Math.tan(.25*l),d=Math.atan(f/a),g=a/Math.cos(d);d+=s;var S=n+g*Math.cos(d),y=i+g*Math.sin(d);d=Math.atan(-f/a),d+=u;var A=n+g*Math.cos(d),b=i+g*Math.sin(d),v=o.create(V,4);return v[0]=new V(c,p),v[1]=new V(S,y),v[2]=new V(A,b),v[3]=new V(h,m),v},r.writeTooltip=function(e,r){if(u.isNullOrEmpty(r))return;if(t.Base.StiJsonChecker.isValidJson(r)){var n=JSON.parse(r),i=n["StiColor"],o=n["StiValue"],a=n["StiArgument"],s=n["StiWeight"];if(null!=s?(e.writeAttributeString("_text1",o.toString()),e.writeAttributeString("_text2",dt.get("PropertyMain","Argument")+": "+a.toString()),e.writeAttributeString("_text3",dt.get("PropertyMain","Weight")+": "+s.toString())):(null!=o&&e.writeAttributeString("_text1",o.toString()),null!=a&&e.writeAttributeString("_text2",a.toString())),null!=i){var l=t.System.Drawing.ColorTranslator.fromHtml(i.toString());l.a=255,e.writeAttributeString("_color",t.System.Drawing.ColorTranslator.toHtml(l))}e.writeAttributeString("_ismap","true")}else e.writeStartElement("title"),e.writeString(r),e.writeEndElement()},r.getFillBrush=function(t,e,r){if(!e||null==e)return"none";if(e.stimulsoft.is(p)){var n=e.stimulsoft.as(p);return u.format("rgba({0},{1},{2},{3})",n.r,n.g,n.b,Math.round2(n.a/255,3))}if(e.stimulsoft.is(L)||e.stimulsoft.is(Y)||e.stimulsoft.is(U)||e.stimulsoft.is(J)){var o=r.clone();o.x+=this.dx,o.y+=this.dy;var a=this.writeBrush(t,e,o);return u.format("url(#{0})",a)}if(e.stimulsoft.is(W)||e.stimulsoft.is(i)){var n=e.stimulsoft.is(W)?W.toColor(e.stimulsoft.as(W)):e.stimulsoft.as(i).color;return u.format("rgba({0},{1},{2},{3})",n.r,n.g,n.b,Math.round2(n.a/255,3))}return"none"},r.writeFillBrush=function(t,e,r){return"fill:"+this.getFillBrush(t,e,r)+";"},r.writeFillBrushMouserOver=function(t,e,r,n){t.writeAttributeString("_brushOver",this.getFillBrush(t,r,n))},r.writeBorderStroke=function(t,e,r){if(e.stimulsoft.is(p)){var n=e.stimulsoft.as(p),i=u.format("stroke:rgb({0},{1},{2});",n.r,n.g,n.b),o;return 1!=(o=Math.round2(n.a/255,3))&&(i+=u.format("stroke-opacity:{0};",o)),i}if(e.stimulsoft.is(L)){var a=this.writeBrush(t,e,r);return u.format("stroke:url(#{0})",a)}if(e.stimulsoft.is(W)){var n=W.toColor(e.stimulsoft.as(W)),i=u.format("stroke:rgb({0},{1},{2})",n.r,n.g,n.b),o;1!=(o=Math.round2(n.a/255,3))&&(i+=u.format(";stroke-opacity:{0}",o))}return"stroke-opacity:0"},r.convertSplineToCubicBezier=function(t,e){var r=t.length,n=3*r-2,i=[];e*=.3,i[0]=t[0],i[1]=this.calculateCurveBezierEndPoints(t[0],t[1],e);for(var o=0;o<r-2;o++){var a=this.calculateCurveBezier(t,o,e);i[3*o+2]=a[0],i[3*o+3]=t[o+1],i[3*o+4]=a[1]}return i[n-2]=this.calculateCurveBezierEndPoints(t[r-1],t[r-2],e),i[n-1]=t[r-1],i},r.calculateCurveBezier=function(t,e,r){var n=t[e+2].x-t[e+0].x,i=t[e+2].y-t[e+0].y,o=[];return o[0]=new V(t[e+1].x-r*n,t[e+1].y-r*i),o[1]=new V(t[e+1].x+r*n,t[e+1].y+r*i),o},r.calculateCurveBezierEndPoints=function(t,e,r){return new V(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},r.writeBrush=function(t,r,n){var i="";return r.stimulsoft.is(Y)?i=e.StiBrushSvgHelper.writeGlareBrush(t,r,n):r.stimulsoft.is(L)?i=e.StiBrushSvgHelper.writeGradientBrush(t,r,n):r.stimulsoft.is(U)?i=e.StiBrushSvgHelper.writeHatchBrush(t,r):r.stimulsoft.is(J)&&(i=e.StiBrushSvgHelper.writeGlassBrush(t,r,n)),i},r.checkPenGeom=function(t){return!(null==t||null==t.brush||t.penStyle==Q.None)},r.p=function(t){return t.toString().split(",").join(".")},r.writeStimulsoftIconFont=function(){if(!this.isAddStimulsoftIconFont){this.isAddStimulsoftIconFont=!0;var e=document.createElement("style"),r=t.Report.Resources.StimulsoftFont.getBase64Content();e.appendChild(document.createTextNode("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+r+") format('truetype');font-weight: normal;font-style: normal;}")),document.head.appendChild(e)}},r.isAddStimulsoftIconFont=!1,r.dx=0,r.dy=0,r.listTransformGeom=[],r}();r.StiContextSvgHelper=At}(n=r.Helpers||(r.Helpers={}))}(r=e.Services||(e.Services={}))}(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.Drawing.Rectangle,n=function(){function t(t,r,n,i,o){this.geoms=[],this._contextPainter=t,this._options=new e.StiContextOptions(r,n,i,o)}return t.prototype.render=function(t){this.contextPainter.render(t,this.geoms)},t.prototype.getDefaultStringFormat=function(){return this.contextPainter.getDefaultStringFormat()},t.prototype.getGenericStringFormat=function(){return this.contextPainter.getGenericStringFormat()},t.prototype.drawImage=function(t,r){this.geoms.push(new e.StiImageGeom(r,t))},t.prototype.drawString3=function(t,r,n,i,o,a){var s=new e.StiTextGeom(t,r,n,i,o,0,!1,null,null,!1,a);return this.geoms.push(s),s},t.prototype.drawString2=function(t,r,n,i,o){var a=new e.StiTextGeom(t,r,n,i,o,0,!1,null,null,!1,null);return this.geoms.push(a),a},t.prototype.drawString=function(t,r,n,i,o){var a=new e.StiTextGeom(t,r,n,i,o,0,!1,null,null,!1,null);return this.geoms.push(a),a},t.prototype.drawRotatedString2=function(t,n,i,o,a,s,l){var u=new e.StiTextGeom(t,n,i,new r(o.x,o.y,o.width,o.height),a,s,l,null,null,!0,null);return this.geoms.push(u),u},t.prototype.drawRotatedString3=function(t,r,n,i,o,a,s){var l=new e.StiTextGeom(t,r,n,i,o,a,s,null,null,!0,null);return this.geoms.push(l),l},t.prototype.drawRotatedString4=function(t,r,n,i,o,a,s,l){var u=new e.StiTextGeom(t,r,n,i,o,s,l,null,a,!0,null);return this.geoms.push(u),u},t.prototype.drawRotatedString5=function(t,r,n,i,o,a,s,l){var u=new e.StiTextGeom(t,r,n,i,o,s,l,null,a,!0,null);return this.geoms.push(u),u},t.prototype.drawRotatedString6=function(t,r,n,i,o,a,s,l,u,c){void 0===c&&(c=!0);var p=new e.StiTextGeom(t,r,n,i,o,s,l,u,a,c,null);return this.geoms.push(p),p},t.prototype.drawRotatedString7=function(t,r,n,i,o,a,s,l,u){var c=new e.StiTextGeom(t,r,n,i,o,s,l,u,a,!0,null);return this.geoms.push(c),c},t.prototype.drawRotatedString8=function(t,r,n,i,o,a,s,l){var u=new e.StiTextGeom(t,r,n,i,o,s,l,null,a,!0,null);return this.geoms.push(u),u},t.prototype.drawRotatedString9=function(t,r,n,i,o,a,s,l,u){var c=new e.StiTextGeom(t,r,n,i,o,s,l,u,a,!0,null);return this.geoms.push(c),c},t.prototype.measureString=function(t,e){return this.contextPainter.measureString(t,e)},t.prototype.measureString2=function(t,e,r,n){return this.contextPainter.measureString(t,e,r,n)},t.prototype.measureRotatedString=function(t,e,r,n,i){return this.contextPainter.measureRotatedString1(t,e,r,n,i)},t.prototype.measureRotatedString2=function(t,e,r,n,i,o,a){return void 0===a&&(a=null),this.contextPainter.measureRotatedString2(t,e,r,n,i,o,a)},t.prototype.measureRotatedString3=function(t,e,r,n,i,o,a){return this.contextPainter.measureRotatedString3(t,e,r,n,i,o,a)},t.prototype.measureRotatedString4=function(t,e,r,n,i,o){return this.contextPainter.measureRotatedString4(t,e,r,n,i,o)},t.prototype.drawShadow=function(t,r,n){this.geoms.push(new e.StiShadowGeom(t,r,n))},t.prototype.drawCachedShadow=function(t,r,n){this.geoms.push(new e.StiCachedShadowGeom(t,r,n))},t.prototype.createShadowGraphics=function(){return this.contextPainter.createShadowGraphics(this.options.isPrinting,this.options.zoom)},t.prototype.pushTranslateTransform=function(t,r){this.geoms.push(new e.StiPushTranslateTransformGeom(t,r))},t.prototype.pushRotateTransform=function(t){this.geoms.push(new e.StiPushRotateTransformGeom(t))},t.prototype.popTransform=function(){this.geoms.push(new e.StiPopTransformGeom)},t.prototype.pushClipPath=function(t){this.geoms.push(new e.StiPushClipPathGeom(t))},t.prototype.pushClip=function(t){this.geoms.push(new e.StiPushClipGeom(t))},t.prototype.popClip=function(){this.geoms.push(new e.StiPopClipGeom)},t.prototype.drawAnimationColumn=function(t,r,n,i,o,a,s,l){this.geoms.push(new e.StiClusteredColumnSeriesAnimationGeom(t,r,n,i,o,a,s,l))},t.prototype.drawAnimationBar=function(t,r,n,i,o,a,s,l){this.geoms.push(new e.StiClusteredBarSeriesAnimationGeom(t,r,n,i,o,a,s,l))},t.prototype.drawAnimationRectangle=function(t,r,n,i,o,a,s){this.geoms.push(new e.StiBorderAnimationGeom(t,r,n,i,o,a,s))},t.prototype.drawAnimationPathElement=function(t,r,n,i,o,a,s,l){this.geoms.push(new e.StiPathElementAnimationGeom(t,r,n,i,o,a,s,l))},t.prototype.drawAnimationLabel=function(t,r,n,i,o,a,s,l,u,c,p){this.geoms.push(new e.StiLabelAnimationGeom(t,r,n,i,o,a,s,l,u,c,p))},t.prototype.drawAnimationLines=function(t,r,n){
|
||
this.geoms.push(new e.StiLinesAnimationGeom(t,r,n))},t.prototype.drawAnimationCurve=function(t,r,n,i){this.geoms.push(new e.StiCurveAnimationGeom(t,r,n,i))},t.prototype.fillDrawAnimationPath=function(t,r,n,i,o,a,s){this.geoms.push(new e.StiPathAnimationGeom(t,r,n,i,o,a,s))},t.prototype.fillDrawAnimationEllipse=function(t,n,i,o,a,s,l,u,c,p){this.geoms.push(new e.StiEllipseAnimationGeom(t,n,new r(i,o,a,s),l,u,c,p))},t.prototype.drawLine=function(t,r,n,i,o){this.geoms.push(new e.StiLineGeom(t,r,n,i,o))},t.prototype.drawLines=function(t,r){for(var n=0;n<r.length;n++){var i=r[n];isNaN(i.x)&&(i.x=0),isNaN(i.y)&&(i.y=0),r[n]=i}this.geoms.push(new e.StiLinesGeom(t,r))},t.prototype.drawRectangle=function(t,r){this.geoms.push(new e.StiBorderGeom(null,null,t,r,null))},t.prototype.drawRectangle2=function(t,n,i,o,a){this.geoms.push(new e.StiBorderGeom(null,null,t,new r(n,i,o,a),null))},t.prototype.drawEllipse=function(t,n,i,o,a){this.geoms.push(new e.StiEllipseGeom(null,t,new r(n,i,o,a),null,null))},t.prototype.drawEllipse2=function(t,r){this.geoms.push(new e.StiEllipseGeom(null,t,r,null,null))},t.prototype.fillEllipse=function(t,n,i,o,a,s){this.geoms.push(new e.StiEllipseGeom(t,null,new r(n,i,o,a),s,null))},t.prototype.fillEllipse2=function(t,r,n){this.geoms.push(new e.StiEllipseGeom(t,null,r,n,null))},t.prototype.fillEllipse3=function(t,n,i,o,a,s,l){this.geoms.push(new e.StiEllipseGeom(t,null,new r(n,i,o,a),l,s))},t.prototype.drawPath=function(t,r,n){this.geoms.push(new e.StiPathGeom(null,t,r,n,null,null))},t.prototype.fillPath=function(t,r,n,i){this.geoms.push(new e.StiPathGeom(t,null,r,n,i,null))},t.prototype.fillPath2=function(t,r,n,i,o){this.geoms.push(new e.StiPathGeom(t,null,r,n,i,o))},t.prototype.drawCurve=function(t,r,n){this.geoms.push(new e.StiCurveGeom(t,r,n))},t.prototype.fillRectangle=function(t,r,n){this.geoms.push(new e.StiBorderGeom(t,null,null,r,n))},t.prototype.fillRectangle2=function(t,n,i,o,a,s){this.geoms.push(new e.StiBorderGeom(t,null,null,new r(n,i,o,a),s))},t.prototype.fillRectangle3=function(t,r,n,i){this.geoms.push(new e.StiBorderGeom(t,r,null,n,i))},t.prototype.pushSmoothingModeToAntiAlias=function(){this.geoms.push(new e.StiPushSmothingModeToAntiAliasGeom)},t.prototype.popSmoothingMode=function(){this.geoms.push(new e.StiPopSmothingModeGeom)},t.prototype.pushTextRenderingHintToAntiAlias=function(){this.geoms.push(new e.StiPushTextRenderingHintToAntiAliasGeom)},t.prototype.popTextRenderingHint=function(){this.geoms.push(new e.StiPopTextRenderingHintGeom)},t.prototype.getPathBounds=function(t){return this.contextPainter.getPathBounds(t)},Object.defineProperty(t.prototype,"contextPainter",{get:function(){return this._contextPainter},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),t.prototype.drawShadowRect=function(t,r,n){this.geoms.push(new e.StiShadowAnimationGeom(t,0,0,r,n))},t.prototype.drawShadowRect2=function(t,r,n,i,o){this.geoms.push(new e.StiShadowAnimationGeom(t,r,n,i,o))},t}();e.StiContext=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.StiString,n=t.System.Drawing.StringFormat,i=t.System.Drawing.Size,o=t.System.Drawing.Font,a=t.System.Drawing.Graphics,s=t.System.Drawing.Point,l=t.System.Drawing.Rectangle,u=t.Base.Drawing.StiRotationMode,c=function(){function c(){}return Object.defineProperty(c.prototype,"svgRect",{get:function(){return null==this._svgRect&&(this.svgObj=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svgObj.setAttribute("xlink","http://www.w3.org/1999/xlink"),this._svgRect=document.createElementNS("http://www.w3.org/2000/svg","rect"),this.svgObj.appendChild(this._svgRect),this.svgObj.style.visibility="hidden",document.body.appendChild(this.svgObj)),this._svgRect},enumerable:!1,configurable:!0}),c.prototype.getDefaultStringFormat=function(){var t=new n;return new e.StiStringFormatGeom(t)},c.prototype.getGenericStringFormat=function(){var t=new n;return new e.StiStringFormatGeom(t)},c.prototype.createShadowGraphics=function(t,r){return new e.StiContext(this,!1,!1,!1,1)},c.prototype.getPathBounds=function(t){var r,n,i,o,a,s,u,c,p,h,m=[],f=[];try{for(var d=__values(t),g=d.next();!g.done;g=d.next()){var S=g.value;if(S.stimulsoft.is(e.StiArcSegmentGeom)){var y=S;m.push(y.rect.left),m.push(y.rect.right),f.push(y.rect.top),f.push(y.rect.bottom)}else if(S.stimulsoft.is(e.StiCloseFigureSegmentGeom));else if(S.stimulsoft.is(e.StiCurveSegmentGeom)){var A=S;try{for(var b=(i=void 0,__values(A.points)),v=b.next();!v.done;v=b.next()){var C=v.value;m.push(C.x),f.push(C.y)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}}else if(S.stimulsoft.is(e.StiLineSegmentGeom)){var w=S;m.push(w.x1),m.push(w.x2),f.push(w.y1),f.push(w.y2)}else if(S.stimulsoft.is(e.StiLinesSegmentGeom)){var B=S;try{for(var I=(a=void 0,__values(B.points)),T=I.next();!T.done;T=I.next()){var C=T.value;m.push(C.x),f.push(C.y)}}catch(t){a={error:t}}finally{try{T&&!T.done&&(s=I.return)&&s.call(I)}finally{if(a)throw a.error}}}else if(S.stimulsoft.is(e.StiPieSegmentGeom)){var E=S;m.push(E.rect.left),m.push(E.rect.right),f.push(E.rect.top),f.push(E.rect.bottom)}var R=null,D=null,P=null,x=null;try{for(var F=(u=void 0,__values(m)),N=F.next();!N.done;N=F.next()){var k=N.value;R=null==R?k:Math.min(R,k),D=null==D?k:Math.max(D,k)}}catch(t){u={error:t}}finally{try{N&&!N.done&&(c=F.return)&&c.call(F)}finally{if(u)throw u.error}}try{for(var M=(p=void 0,__values(f)),O=M.next();!O.done;O=M.next()){var k=O.value;P=null==P?k:Math.min(P,k),x=null==x?k:Math.max(x,k)}}catch(t){p={error:t}}finally{try{O&&!O.done&&(h=M.return)&&h.call(M)}finally{if(p)throw p.error}}return new l(R,P,D-R,x-P)}}catch(t){r={error:t}}finally{try{g&&!g.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}return l.empty},c.prototype.measureString=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var s=a.measureString(t,new o(e.fontName,e.fontSize,e.fontStyle,e.unit),r);return new i(s.width,s.height)},c.prototype.measureRotatedString1=function(t,e,r,n,i){var s=a.measureString(t,new o(e.fontName,e.fontSize,e.fontStyle,e.unit),r.width,!0,1,i);return new l(r.x,r.y,s.width,s.height)},c.prototype.measureRotatedString2=function(t,e,r,n,i,o,a){void 0===a&&(a=null);var l=new s(r.x+r.width/2,r.y+r.height/2);return this.measureRotatedString3(t,e,l,n,i,o,a)},c.prototype.measureRotatedString3=function(e,n,i,s,u,c,p){var h=new o(n.fontName,n.fontSize,n.fontStyle,n.unit);if(0==p&&(p=null),t.System.NodeJs.isNodeJs()){var m=a.measureString(e,h,p,!0,1,c),f=new l(0,0,m.width,m.height),d=this.getStartPoint(u,f);return f.x-=d.x,f.y-=d.y,new l(f.x+i.x-1,f.y+i.y-1,f.width+1,f.height+1)}var m=a.measureString(e,h,p,!0,1,0),f=new l(0,0,m.width,m.height),d=this.getStartPoint(u,f);f.x-=d.x,f.y-=d.y,0==f.x&&(f.x=1e-6),0==f.y&&(f.y=1e-6),0==f.width&&(f.width=1e-6),0==f.height&&(f.height=1e-6),this.svgRect.setAttribute("x",f.x),this.svgRect.setAttribute("y",f.y),this.svgRect.setAttribute("width",f.width),this.svgRect.setAttribute("height",f.height),this.svgRect.setAttribute("transform",r.format("translate({0}, {1}) rotate({2})",i.x,i.y,c));var g=new l(f.x+i.x,f.y+i.y,f.width,f.height),S=this.svgRect.getBoundingClientRect(),y=this.svgObj.getBoundingClientRect();return document.body.removeChild(this.svgObj),this.svgObj=null,this._svgRect=null,new l(S.left-y.left,S.top-y.top,S.width+1,S.height+1)},c.prototype.measureRotatedString4=function(t,e,r,n,i,s){var u=a.measureString(t,new o(e.fontName,e.fontSize,e.fontStyle,e.unit),null,!0,1,s);return new l(r.x,r.y,u.width,u.height)},c.prototype.getStartPoint=function(t,e){var r=new s(e.x+e.width/2,e.y+e.height/2);switch(t){case u.LeftCenter:return new s(e.x,r.y);case u.LeftBottom:return new s(e.x,e.bottom);case u.CenterTop:return new s(r.x,e.top);case u.CenterCenter:return r;case u.CenterBottom:return new s(r.x,e.bottom);case u.RightTop:return new s(e.right,e.top);case u.RightCenter:return new s(e.right,r.y);case u.RightBottom:return new s(e.right,e.bottom);default:return e.location}},c.prototype.render=function(t,e){},c}();e.StiContextPainter=c}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.NodeJs,n=t.System.Xml.XmlTextWriter,i=t.System.Text.Encoding,o=t.Report.Chart.IStiChart,a=t.Base.Context.StiContext,s=t.Base.Context.StiContextPainter,l=t.System.Drawing.Rectangle,u=t.System.Drawing.Image,c=t.System.Drawing.Imaging.ImageFormat,p=t.Report.Components.StiImageRotation,h=t.Report.Export.Services.Helpers.StiContextSvgHelper,m=t.System.Text.StringBuilder,f=t.System.StiString,d=function(){function t(){}return t.getImage=function(e){var a=new u;if(!r.useWebKit)return a;var s=document.createElement("canvas");s.width=e.width,s.height=e.height;var p=new n(i.UTF8),d=e.component.as(o);if(null!=d&&null!=d.brush){var g=new m;g.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();var S=f.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,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;d<f.points.length;d++)0==d?m.appendFormat("L{0},{1}",f.points[d].x.toString().split(",").join("."),f.points[d].y.toString().split(",").join(".")):m.appendFormat(",{0},{1}",f.points[d].x.toString().split(",").join("."),f.points[d].y.toString().split(",").join("."));o+=m}else c.type==B.GraphicsPathCloseFigure&&(o+="z");a++}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o},t.getArcPath=function(t,e,r,n,i){var o=!1,a=new l(e),s=new E(t.left+t.width/2,t.top+t.height/2),u=new E(s.x-t.width/2,s.y-t.height/2),c=new E(s.x,s.y-t.height/2),p=new E(s.x+t.width/2,s.y-t.height/2),h=new E(s.x+t.width/2,s.y),m=new E(s.x+t.width/2,s.y+t.height/2),f=new E(s.x,s.y+t.height/2),d=new E(s.x-t.width/2,s.y+t.height/2),g=new E(s.x-t.width/2,s.y);if(0==r?90==n?(i&&a.appendFormat("M{0},{1}",h.x.toString().split(",").join("."),h.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",m.x.toString().split(",").join("."),m.y.toString().split(",").join("."),f.x.toString().split(",").join("."),f.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",h.x.toString().split(",").join("."),h.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),o=!0):90==r?90==n?(i&&a.appendFormat("M{0},{1}",f.x.toString().split(",").join("."),f.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",d.x.toString().split(",").join("."),d.y.toString().split(",").join("."),g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0}, {1}",f.x.toString().split(",").join("."),f.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),o=!0):180==r?90==n?(i&&a.appendFormat("M{0},{1}",g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",u.x.toString().split(",").join("."),u.y.toString().split(",").join("."),c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",g.x.toString().split(",").join("."),g.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),h.x.toString().split(",").join("."),h.y.toString().split(",").join(".")),o=!0):270==r&&(90==n?(a.appendFormat("M{0},{1}",c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",p.x.toString().split(",").join("."),p.y.toString().split(",").join("."),h.x.toString().split(",").join("."),h.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",c.x.toString().split(",").join("."),c.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),f.x.toString().split(",").join("."),f.y.toString().split(",").join(".")),o=!0)),!o){var S=Math.min(t.width/2,t.height/2),y=r*this.PiDiv180,A=s.x+S*Math.cos(y),b=s.y+S*Math.sin(y),v=new E(A,b),C=!1;0==a.length?a.appendFormat("M{0},{1}",v.x.toString().split(",").join("."),v.y.toString().split(",").join(".")):C=!0;var w=this.round(Math.abs(n/90)),B=n/w;y=r;var I=-1;while(++I<w){var T=this.convertArcToCubicBezier(s,S,y,B);C&&(a.appendFormat("M{0},{1}",T[0].x.toString().split(",").join("."),T[0].y.toString().split(",").join(".")),C=!1),a.appendFormat(" C{0},{1},{2},{3},{4},{5}",T[1].x.toString().split(",").join("."),T[1].y.toString().split(",").join("."),T[2].x.toString().split(",").join("."),T[2].y.toString().split(",").join("."),T[3].x.toString().split(",").join("."),T[3].y.toString().split(",").join(".")),v=T[3],y+=B}}return a.toString()},t.convertArcToCubicBezier=function(t,e,r,n){var i=r*this.PiDiv180,o=n*this.PiDiv180,a=i+o,s=t.x+e*Math.cos(i),l=t.y+e*Math.sin(i),u=t.x+e*Math.cos(a),c=t.y+e*Math.sin(a),p=e*this.FourDivThree*Math.tan(.25*o),h=Math.atan(p/e),m=e/Math.cos(h);h+=i;var f=t.x+m*Math.cos(h),d=t.y+m*Math.sin(h);h=Math.atan(-p/e),h+=a;var g=t.x+m*Math.cos(h),S=t.y+m*Math.sin(h);return[new E(s,l),new E(f,d),new E(g,S),new E(u,c)]},t.addArcPath=function(t,e){var r=t.stimulsoft.is(S)?t.x:t.rect.x,n=t.stimulsoft.is(S)?t.y:t.rect.y,i=t.stimulsoft.is(S)?t.width:t.rect.width,o=t.stimulsoft.is(S)?t.height:t.rect.height,a=(t.stimulsoft.is(S),t.startAngle),s=(t.stimulsoft.is(S),t.sweepAngle),u=new l,c=r+i/2,p=n+o/2,h=i/2,m=a*Math.PI/180,f=c+h*Math.cos(m),d=p+h*Math.sin(m);e.stimulsoft.startsWith("M")||u.appendFormat("M{0},{1}",f.toString().split(",").join("."),d.toString().split(",").join("."));var g=this.round(Math.abs(s/10)),y=s/g;m=a;for(var A=new E(0,0),b=0;b<g;b++){var v=this.convertArcToCubicBezier2(new D(r,n,i,o),m,y);0==b?u.appendFormat(" C{0},{1},{2},{3},{4},{5}",v[1].x.toString().split(",").join("."),v[1].y.toString().split(",").join("."),v[2].x.toString().split(",").join("."),v[2].y.toString().split(",").join("."),v[3].x.toString().split(",").join("."),v[3].y.toString().split(",").join(".")):u.appendFormat(",{0},{1},{2},{3},{4},{5}",v[1].x.toString().split(",").join("."),v[1].y.toString().split(",").join("."),v[2].x.toString().split(",").join("."),v[2].y.toString().split(",").join("."),v[3].x.toString().split(",").join("."),v[3].y.toString().split(",").join(".")),m+=y,A=v[3]}if(t.stimulsoft.is(C)){var w=t;y=s/(g=this.round(Math.abs(s/10)));var B=h-i*w.startWidth,I=h-i*w.endWidth;if(B<=0||I<=0)return null;var T=B-I,R=1/g,P=g;m=a+s;for(var b=0;b<g;b++){var x=B-T*P,F=B-T*(P+R),v=this.convertArcToCubicBezier3(new E(c,p),x,F,m,-y);0==b?(u.appendFormat(" L{0},{1}",v[0].x.toString().split(",").join("."),v[0].y.toString().split(",").join(".")),u.appendFormat(" C{0},{1},{2},{3},{4},{5}",v[1].x.toString().split(",").join("."),v[1].y.toString().split(",").join("."),v[2].x.toString().split(",").join("."),v[2].y.toString().split(",").join("."),v[3].x.toString().split(",").join("."),v[3].y.toString().split(",").join("."))):u.appendFormat(",{0},{1},{2},{3},{4},{5}",v[1].x.toString().split(",").join("."),v[1].y.toString().split(",").join("."),v[2].x.toString().split(",").join("."),v[2].y.toString().split(",").join("."),v[3].x.toString().split(",").join("."),v[3].y.toString().split(",").join(".")),m-=y,P-=R}u.appendFormat("z")}return u.toString()},t.addPiePath=function(t,e){var r=new l,n=t.rect.x+t.rect.width/2,i=t.rect.y+t.rect.height/2,o=t.rect.width/2,a=t.startAngle*Math.PI/180,s=n+o*Math.cos(a),u=i+o*Math.sin(a);r.appendFormat("M{0},{1}",n.toString().split(",").join("."),i.toString().split(",").join(".")),r.appendFormat("L{0},{1}",s.toString().split(",").join("."),u.toString().split(",").join("."));var c=this.round(Math.abs(t.sweepAngle/90)),p=t.sweepAngle/c;a=t.startAngle;for(var h=0;h<c;h++){for(var m=this.convertArcToCubicBezier2(t.rect,a,p),f=1;f<m.length-1;f+=3)1==f?r.appendFormat("C{0},{1},{2},{3},{4},{5}",m[f].x.toString().split(",").join("."),m[f].y.toString().split(",").join("."),m[f+1].x.toString().split(",").join("."),m[f+1].y.toString().split(",").join("."),m[f+2].x.toString().split(",").join("."),m[f+2].y.toString().split(",").join(".")):r.appendFormat(",{0},{1},{2},{3},{4},{5}",m[f].x.toString().split(",").join("."),m[f].y.toString().split(",").join("."),m[f+1].x.toString().split(",").join("."),m[f+1].y.toString().split(",").join("."),m[f+2].x.toString().split(",").join("."),m[f+2].y.toString().split(",").join("."));a+=p}return r.appendFormat("L{0},{1}",n.toString().split(",").join("."),i.toString().split(",").join(".")),r.toString()},t.convertArcToCubicBezier2=function(t,e,r){var n=t.x+t.width/2,i=t.y+t.height/2,o=Math.min(t.width/2,t.height/2),a=e*Math.PI/180,s=r*Math.PI/180,l=(e+r)*Math.PI/180,u=n+o*Math.cos(a),c=i+o*Math.sin(a),p=n+o*Math.cos(l),h=i+o*Math.sin(l),m=4*o/3*Math.tan(.25*s),f=Math.atan(m/o),d=o/Math.cos(f);f+=a;var g=n+d*Math.cos(f),S=i+d*Math.sin(f);f=Math.atan(-m/o),f+=l;var y=n+d*Math.cos(f),A=i+d*Math.sin(f);return[new E(u,c),new E(g,S),new E(y,A),new E(p,h)]},t.convertArcToCubicBezier3=function(t,e,r,n,i){var o=n*this.PiDiv180,a=i*this.PiDiv180,s=o+a,l=t.x+e*Math.cos(o),u=t.y+e*Math.sin(o),c=t.x+r*Math.cos(s),p=t.y+r*Math.sin(s),h=(e-r)/3;r+=h;var m=(e-=h)*this.FourDivThree*Math.tan(.25*a),f=Math.atan(m/e),d=e/Math.cos(f);f+=o;var g=t.x+d*Math.cos(f),S=t.y+d*Math.sin(f);f=Math.atan(-m/e),f+=s;var y=t.x+d*Math.cos(f),A=t.y+d*Math.sin(f);return[new E(l,u),new E(g,S),new E(y,A),new E(c,p)]},t.round=function(t){var e=Math.trunc(t),r;return t-e>0?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<h;m++){var f=c[m],d=p[m];if(null==f||null==d)continue;var g=this.tryToDecimal(f).toString(),S=this.tryToDecimal(d).toString();u.add("pp="+g+","+S+";60")}}}if(e.isDesigning)if(this.useBackground)s.callTry("");else try{o.getImageAsync(l,u).try((function(t){s.callTry(t)}))}catch(t){s.callTry("")}else o.getImageAsync(l,u).try((function(t){s.callTry(t)}))}catch(t){s.callTry("")}return s},t.prototype.tryToDecimal=function(t){var e=parseFloat(t);return e||0},t}();e.StiMapGdiPainter=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.StiObject,i=t.System.StiString,o=t.System.Enum,a=t.System.Guid,s=t.System.StiPromise,l=t.Report.Painters.StiMapGdiPainter,u=function(){function u(){}return u.addToCahe=function(t,e,r){var n=a.newGuid().toString();return this.cache[n]={map:t,width:e,height:r},n},u.renderOnlineMap=function(t){var e=new s;if(0==n.keys(u.cache).length)e.callTry();else{var r=function(r){var o=i.cache[r],a=new l;a.key=r,a.getImageAsync(o.map,1,o.width,o.height).try((function(i){delete u.cache[r],t.getStream().getStringBuilder().replace(r,i),t.getStream().getStringBuilder().replace("&(*","&(*"),0==n.keys(u.cache).length&&e.callTry()}))},i=this;for(var o in this.cache)r(o)}return e},u.isWorld=function(t){return t==r.StiMapID.World},u.isAfrica=function(t){return t==r.StiMapID.SouthAfrica},u.isNorthAmerica=function(t){switch(t){case r.StiMapID.USA:case r.StiMapID.Canada:case r.StiMapID.Mexico:return!0}return!1},u.isSouthAmerica=function(t){switch(t){case r.StiMapID.Argentina:case r.StiMapID.Bolivia:case r.StiMapID.Brazil:case r.StiMapID.Chile:case r.StiMapID.Colombia:case r.StiMapID.Ecuador:case r.StiMapID.FalklandIslands:case r.StiMapID.Guyana:case r.StiMapID.Paraguay:case r.StiMapID.Peru:case r.StiMapID.Suriname:case r.StiMapID.Uruguay:case r.StiMapID.Venezuela:return!0}return!1},u.isEU=function(t){switch(t){case r.StiMapID.Albania:case r.StiMapID.Andorra:case r.StiMapID.Austria:case r.StiMapID.Belarus:case r.StiMapID.Belgium:case r.StiMapID.BosniaAndHerzegovina:case r.StiMapID.Bulgaria:case r.StiMapID.Croatia:case r.StiMapID.CzechRepublic:case r.StiMapID.Denmark:case r.StiMapID.Estonia:case r.StiMapID.EU:case r.StiMapID.Finland:case r.StiMapID.France:case r.StiMapID.Georgia:case r.StiMapID.Germany:case r.StiMapID.Greece:case r.StiMapID.Hungary:case r.StiMapID.Iceland:case r.StiMapID.Ireland:case r.StiMapID.Italy:case r.StiMapID.Latvia:case r.StiMapID.Liechtenstein:case r.StiMapID.Lithuania:case r.StiMapID.Luxembourg:case r.StiMapID.Macedonia:case r.StiMapID.Malta:case r.StiMapID.Moldova:case r.StiMapID.Monaco:case r.StiMapID.Montenegro:case r.StiMapID.Netherlands:case r.StiMapID.Norway:case r.StiMapID.Poland:case r.StiMapID.Portugal:case r.StiMapID.Romania:case r.StiMapID.Russia:case r.StiMapID.SanMarino:case r.StiMapID.Serbia:case r.StiMapID.Slovakia:case r.StiMapID.Slovenia:case r.StiMapID.Spain:case r.StiMapID.Sweden:case r.StiMapID.Switzerland:case r.StiMapID.Turkey:case r.StiMapID.UK:case r.StiMapID.UKCountries:case r.StiMapID.Ukraine:case r.StiMapID.Vatican:return!0}return!1},u.isOceania=function(t){switch(t){case r.StiMapID.Australia:case r.StiMapID.Indonesia:case r.StiMapID.NewZealand:return!0}return!1},u.isAsia=function(t){switch(t){case r.StiMapID.Armenia:case r.StiMapID.Azerbaijan:case r.StiMapID.China:case r.StiMapID.Cyprus:case r.StiMapID.India:case r.StiMapID.Israel:case r.StiMapID.Japan:case r.StiMapID.Kazakhstan:case r.StiMapID.Malaysia:case r.StiMapID.Philippines:case r.StiMapID.SaudiArabia:case r.StiMapID.SouthKorea:case r.StiMapID.Thailand:case r.StiMapID.Vietnam:case r.StiMapID.MiddleEast:case r.StiMapID.Oman:case r.StiMapID.Qatar:return!0}return!1},u.getStates=function(t,e){var n=r.StiMapLoader.loadResource(t,o.getName(r.StiMapID,e));if(null==n)return[];return n.hashPaths.keys.stimulsoft.toArray()},u.getMapSample=function(){return null==u.globalReport&&(u.globalReport=new e.StiReport),null==u.globalMap&&(u.globalMap=new r.StiMap,u.globalMap.mapData='[{"Key":"Alabama","Group":"3"},{"Key":"Alaska","Group":"1"},{"Key":"Arizona","Group":"1"},{"Key":"Arkansas","Group":"2"},{"Key":"California","Group":"1"},{"Key":"Colorado","Group":"1"},{"Key":"Connecticut","Group":"3"},{"Key":"Delaware","Group":"3"},{"Key":"Florida","Group":"3"},{"Key":"Georgia","Group":"3"},{"Key":"Hawaii","Group":"2"},{"Key":"Idaho","Group":"1"},{"Key":"Illinois","Group":"3"},{"Key":"Indiana","Group":"3"},{"Key":"Iowa","Group":"2"},{"Key":"Kansas","Group":"2"},{"Key":"Kentucky","Group":"3"},{"Key":"Louisiana","Group":"2"},{"Key":"Maine","Group":"3"},{"Key":"Maryland","Group":"3"},{"Key":"Massachusetts","Group":"3"},{"Key":"Michigan","Group":"3"},{"Key":"Minnesota","Group":"2"},{"Key":"Mississippi","Group":"3"},{"Key":"Missouri","Group":"2"},{"Key":"Montana","Group":"1"},{"Key":"Nebraska","Group":"2"},{"Key":"Nevada","Group":"1"},{"Key":"NewHampshire","Group":"3"},{"Key":"NewJersey","Group":"3"},{"Key":"NewMexico","Group":"1"},{"Key":"NewYork","Group":"3"},{"Key":"NorthCarolina","Group":"3"},{"Key":"NorthDakota","Group":"2"},{"Key":"Ohio","Group":"3"},{"Key":"Oklahoma","Group":"2"},{"Key":"Oregon","Group":"1"},{"Key":"Pennsylvania","Group":"3"},{"Key":"RhodeIsland","Group":"3"},{"Key":"SouthCarolina","Group":"3"},{"Key":"SouthDakota","Group":"2"},{"Key":"Tennessee","Group":"3"},{"Key":"Texas","Group":"2"},{"Key":"Utah","Group":"1"},{"Key":"Vermont","Group":"3"},{"Key":"Virginia","Group":"3"},{"Key":"Washington","Group":"1"},{"Key":"WestVirginia","Group":"3"},{"Key":"Wisconsin","Group":"3"},{"Key":"Wyoming","Group":"1"}]',u.globalReport.pages.getByIndex(0).components.add(u.globalMap)),u.globalMap.stretch=!0,u.globalMap.mapType=r.StiMapType.Individual,u.globalMap.displayNameType=r.StiDisplayNameType.None,u.globalMap.mapIdent="USA",u.globalMap.showValue=!1,u.globalMap.stretch=!0,u.globalMap},u.getColors=function(){return[t.System.Drawing.ColorTranslator.fromHtml("#90c2a8"),t.System.Drawing.ColorTranslator.fromHtml("#da5459"),t.System.Drawing.ColorTranslator.fromHtml("#efca70"),t.System.Drawing.ColorTranslator.fromHtml("#63b8e3"),t.System.Drawing.ColorTranslator.fromHtml("#ab92c4"),t.System.Drawing.ColorTranslator.fromHtml("#6d58d9"),t.System.Drawing.ColorTranslator.fromHtml("#fb6b40"),t.System.Drawing.ColorTranslator.fromHtml("#e34e2e")]},u.prepareIsoCode=function(t){if(i.isNullOrEmpty(t))return"";var e=t.indexOf("-");if(-1!=e)return t.substring(e+1);return t},u.cache={},u}();r.StiMapHelper=u}(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=function(){function t(t){this._color=null,this.key=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"group",{get:function(){return this._group},set:function(t){this._group!=t&&(this._group=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._color!=t&&(this._color=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return r.format("{0}, {1}",this.key,this.group)},t.prototype.invokeValueChanged=function(){},t}();e.StiMapData=n}(r=e.Maps||(e.Maps={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={}));var Rectangle=Stimulsoft.System.Drawing.Rectangle,StiTextHorAlignment=Stimulsoft.Base.Drawing.StiTextHorAlignment,StiVertAlignment=Stimulsoft.Base.Drawing.StiVertAlignment,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,StiOptions,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(t){var e;!function(e){var r;!function(e){var r=t.Base.Drawing.StiVertAlignment,n=t.System.StiString,i=function(){function t(){this.rect=Rectangle.empty,this.horAlignment=StiTextHorAlignment.Center,this.vertAlignment=r.Center,this.rectIso=Rectangle.empty,this.horAlignmentIso=StiTextHorAlignment.Center,this.vertAlignmentIso=r.Center}return t.prototype.toString=function(){return n.format("{0} {1}",this.key,this.iSOCode)},t}();e.StiMapSvg=i}(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.StiString,i=t.System.Drawing.ColorTranslator,o=t.System.Collections.List,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Report.Styles.StiMapStyle,l=t.System.Drawing.Rectangle,u=t.Base.Localization.StiLocalization,c=t.System.Drawing.Color,p=t.Base.Drawing.StiSolidBrush,h=t.Base.Drawing.StiBrush,m=t.Base.Drawing.StiBorder,f=t.Report.Dictionary.StiBusinessObjectHelper,d=t.Report.Components.StiComponent,g=t.Report.Components.IStiExportImageExtended,S=t.Report.Components.IStiBorder,y=t.Report.Components.IStiBrush,A=t.Report.Components.IStiDataSource,b=t.Report.Components.IStiBusinessObject,v=t.Base.StiJsonReportObjectHelper,C=t.System.Enum,w=t.Base.Drawing.StiColorUtils,B=function(d){function B(t){void 0===t&&(t=l.empty);var e=d.call(this,t)||this;return e._dataSourceName="",e._businessObjectGuid="",e._countData=0,e.isEofValue=!1,e.isBofValue=!1,e.isCacheValues=!1,e.cachedCount=0,e.cachedIsBusinessObjectEmpty=!1,e.cachedIsDataSourceEmpty=!1,e.cachedDataSource=null,e.cachedBusinessObject=null,e._border=new m,e._brush=new p(c.transparent),e.defaultClientRectangle=new l(0,0,240,240),e._mapStyle=r.StiMapStyleIdent.Style25,e._dataFrom=r.StiMapSource.Manual,e._colorEach=!1,e._stretch=!0,e._showValue=!0,e._shortValue=!0,e._displayNameType=r.StiDisplayNameType.Full,e._mapIdent="USA",e._mapType=r.StiMapType.Individual,e.isMapDataChanged=!1,e._mapData=null,e._keyDataColumn=null,e._nameDataColumn=null,e._valueDataColumn=null,e._groupDataColumn=null,e._colorDataColumn=null,e._latitude=null,e._longitude=null,e._mapMode=r.StiMapMode.Choropleth,e._isHashDataEmpty=!0,e}return __extends(B,d),B.prototype.implements=function(){return B.implementsStiMap||(B.implementsStiMap=d.prototype.implements.call(this).concat([g,S,y,A,b,a])),B.implementsStiMap},B.prototype.saveToJsonObject=function(t){var e=d.prototype.saveToJsonObject.call(this,t);return e.removeProperty("UseParentStyles"),e.removeProperty("CanGrow"),e.removeProperty("CanShrink"),e.removeProperty("GrowToHeight"),e.removeProperty("Interaction"),e.addPropertyStringNullOrEmpty("Border",v.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",v.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyEnum("MapStyle",r.StiMapStyleIdent,this.mapStyle,r.StiMapStyleIdent.Style25),e.addPropertyEnum("DataFrom",r.StiMapSource,this.dataFrom,r.StiMapSource.Manual),e.addPropertyBool("ColorEach",this.colorEach,!1),e.addPropertyBool("Stretch",this.stretch,!0),e.addPropertyBool("ShowValue",this.showValue,!0),e.addPropertyBool("ShortValue",this.shortValue,!0),e.addPropertyEnum("ShowName",r.StiDisplayNameType,this.displayNameType,r.StiDisplayNameType.Full),e.addPropertyEnum("MapMode",r.StiMapMode,this.mapMode,r.StiMapMode.Choropleth),e.addPropertyEnum("MapType",r.StiMapType,this.mapType,r.StiMapType.Individual),e.addPropertyStringNullOrEmpty("MapData",this.mapData),e.addPropertyStringNullOrEmpty("KeyDataColumn",this.keyDataColumn),e.addPropertyStringNullOrEmpty("NameDataColumn",this.nameDataColumn),e.addPropertyStringNullOrEmpty("ValueDataColumn",this.valueDataColumn),e.addPropertyStringNullOrEmpty("GroupDataColumn",this.groupDataColumn),e.addPropertyStringNullOrEmpty("ColorDataColumn",this.colorDataColumn),e.addPropertyStringNullOrEmpty("Latitude",this.latitude),e.addPropertyStringNullOrEmpty("Longitude",this.longitude),e.addPropertyStringNullOrEmpty("MapIdent",this.mapIdent),e},B.prototype.loadFromJsonObject=function(t){var e,n;d.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"Border":this._border=v.Deserialize.border(a.value.toString());break;case"Brush":this._brush=v.Deserialize.brush(a.value.toString());break;case"DataSourceName":this._dataSourceName=a.value.toString();break;case"BusinessObjectGuid":this._businessObjectGuid=a.value.toString();break;case"CountData":this._countData=a.value.stimulsoft.toNumber();break;case"MapStyle":this._mapStyle=C.parse(r.StiMapStyleIdent,a.value.toString());break;case"Stretch":this._stretch=a.value.stimulsoft.toBoolean();break;case"ColorEach":this._colorEach=a.value.stimulsoft.toBoolean();break;case"ShowValue":this._showValue=a.value.stimulsoft.toBoolean();break;case"ShowName":case"DisplayNameType":this._displayNameType=C.parse(r.StiDisplayNameType,a.value.toString());break;case"MapID":case"MapIdent":this._mapIdent=a.value.toString(),"ChinaWithHongKongAndMacau"!=this._mapIdent&&"ChinaWithHongKongMacauAndTaiwan"!=this._mapIdent||(this._mapIdent="China");break;case"MapType":this._mapType=C.parse(r.StiMapType,a.value.toString());break;case"MapMode":this._mapMode=C.parse(r.StiMapMode,a.value.toString());break;case"MapData":this._mapData=a.value.toString();break;case"DataFrom":this.dataFrom=C.parse(r.StiMapSource,a.value.toString());break;case"KeyDataColumn":case"DataColumnKey":this._keyDataColumn=a.value.toString();break;case"NameDataColumn":case"DataColumnName":this._nameDataColumn=a.value.toString();break;case"ValueDataColumn":case"DataColumnValue":this._valueDataColumn=a.value.toString();break;case"GroupDataColumn":case"DataColumnGroup":this._groupDataColumn=a.value.toString();break;case"ColorDataColumn":case"DataColumnColor":this._colorDataColumn=a.value.toString();break;case"Latitude":this._latitude=a.value.toString();break;case"Longitude":this._longitude=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){d.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<t.childNodes.length;o++){var a=t.childNodes[o];switch(a.nodeName){case"Border":this._border=m.loadFromXml(a.textContent);break;case"Brush":this._brush=h.loadFromXml(a.textContent);break;case"DataSourceName":this._dataSourceName=a.textContent;break;case"BusinessObjectGuid":this._businessObjectGuid=a.textContent;break;case"CountData":this._countData=a.textContent.stimulsoft.toNumber();break;case"MapStyle":this._mapStyle=C.parse(r.StiMapStyleIdent,a.textContent.toString());break;case"Stretch":this._stretch=a.textContent.stimulsoft.toBoolean();break;case"ColorEach":this._colorEach=a.textContent.stimulsoft.toBoolean();break;case"ShowValue":this._showValue=a.textContent.stimulsoft.toBoolean();break;case"ShowName":case"DisplayNameType":this._displayNameType=C.parse(r.StiDisplayNameType,a.textContent.toString());break;case"MapIdent":case"MapID":this._mapIdent=a.textContent.toString(),"ChinaWithHongKongAndMacau"!=this._mapIdent&&"ChinaWithHongKongMacauAndTaiwan"!=this._mapIdent||(this._mapIdent="China");break;case"MapMode":this._mapMode=C.parse(r.StiMapMode,a.textContent.toString());break;case"MapType":this._mapType=C.parse(r.StiMapType,a.textContent.toString());break;case"DataFrom":this.dataFrom=C.parse(r.StiMapSource,a.textContent.toString());break;case"MapData":this._mapData=a.textContent.toString();break;case"KeyDataColumn":case"DataColumnKey":this._keyDataColumn=a.textContent.toString();break;case"NameDataColumn":case"DataColumnName":this._nameDataColumn=a.textContent.toString();break;case"ValueDataColumn":case"DataColumnValue":this._valueDataColumn=a.textContent.toString();break;case"GroupDataColumn":case"DataColumnGroup":this._groupDataColumn=a.textContent.toString();break;case"ColorDataColumn":case"DataColumnColor":this._colorDataColumn=a.textContent.toString();break;case"Latitude":this._latitude=a.textContent.toString();break;case"Longitude":this._longitude=a.textContent.toString();break}}},B.prototype.clone=function(t){var e;return d.prototype.clone.call(this,t)},B.prototype.getImage=function(r,n){void 0===n&&(n=e.StiExportFormat.None);var i=new e.Export.StiSvgData;i.component=this,i.x=0,i.y=0,i.width=this.report.unit.convertToHInches(this.width),i.height=this.report.unit.convertToHInches(this.height);var o=1;return r.ref&&(o=r.ref),t.Report.Export.StiMapSvgHelper.getImage(i,o)},B.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(B.prototype,"isDataSourceEmpty",{get:function(){return n.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t,n.isNullOrEmpty(t)||(this.businessObjectGuid=null))},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"isBusinessObjectEmpty",{get:function(){return n.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return f.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,n.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"countData",{get:function(){return this._countData},set:function(t){this._countData=t},enumerable:!1,configurable:!0}),B.prototype.first=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first()},B.prototype.prior=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior()},B.prototype.next=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next()},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<y.length){var C=y[T];if(n.isNullOrEmpty(C.key)||!I.hashPaths.containsKey(C.key)){y.removeAt(T);continue}T++}if(I.hashPaths.count!=y.length){var E=function(t){if(null==y.firstOrDefault((function(e){return e.key==t}))){var e=new r.StiMapData(t);y.add(e)}};try{for(var R=__values(I.hashPaths.keys),D=R.next();!D.done;D=R.next()){var P;E(P=D.value)}}catch(t){a={error:t}}finally{try{D&&!D.done&&(s=R.return)&&s.call(R)}finally{if(a)throw a.error}}}try{for(var x=__values(y),F=x.next();!F.done;F=x.next()){var C=F.value;if(!n.isNullOrEmpty(C.color)||!n.isNullOrEmpty(C.group)||!n.isNullOrEmpty(C.value)){this._isHashDataEmpty=!1;break}}}catch(t){l={error:t}}finally{try{F&&!F.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}}else{var N=10,k=!0,T=0,M=r.StiMapHelper.getColors(),O=[];try{for(var _=__values(M),j=_.next();!j.done;j=_.next()){var G=j.value;O.push(G)}}catch(t){c={error:t}}finally{try{j&&!j.done&&(p=_.return)&&p.call(_)}finally{if(c)throw c.error}}if(null!=I.hashPaths)try{for(var H=__values(I.hashPaths.keys),Q=H.next();!Q.done;Q=H.next()){var P=Q.value,C;(C=new r.StiMapData(P)).color=t.System.Drawing.ColorTranslator.toHtml(O[T]);var L=I.hashPaths.get(P);if(null!=L&&(C.name=L.englishName),y.add(C),++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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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<s/u.height?a/u.width:s/u.height;e.writeStartElement("rect"),0!=n&&e.writeAttributeString("x",this.normalizeDecimal(n)),0!=o&&e.writeAttributeString("y",this.normalizeDecimal(o)),e.writeAttributeString("width",this.normalizeDecimal(a)),e.writeAttributeString("height",this.normalizeDecimal(s));var p=r.getStyleBackground().color;e.writeAttributeString("style",i.format("fill:rgb({0},{1},{2});fill-opacity:{3};",p.r,p.g,p.b,Math.round2(p.a/255,3).toString().split(",").join("."))),e.writeEndElement(),e.writeStartElement("g"),e.writeAttributeString("transform",i.format("translate({0},{1})",this.normalizeDecimal((a-u.width*c)/2+n),this.normalizeDecimal((s-u.height*c)/2+o))),this.render(r,e,l,c),e.writeEndElement()}},r.render=function(e,r,o,m){var f,y,A,b,v=new t.Report.Painters.StiGdiMapContextPainter(e);v.mapStyle=p.getMapStyle2(e),v.dataTable=e.dataTable,v.prepareDataColumns(),v.updateGroupedData(),v.updateHeatmapWithGroup();var C=v.mapData,w=null;i.isNullOrEmpty(e.componentStyle)||(w=null!=(w=e.report.styles.getByName(e.componentStyle))?w.stimulsoft.as(a):null),null==w&&(w=p.getMapStyle(e.mapStyle)),v.defaultBrush=new u(w.defaultColor),v.defaultBrush1=new l(w.defaultColor);var B=t.Report.Maps.StiMapLoader.loadResource(e.report,e.mapIdent);if(null==B.hashPaths)return;var I={},E=0,D=B.hashPaths.keys.length,P=!((e.showValue||e.displayNameType!=d.None)&&m>=.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+"<div style='margin-top: 5px;'>"+Y+"<div>"),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<ot.length;lt++){var ut;st+=""!=st?" "+ot[lt]:ot[lt],(S.measureString(lt<ot.length-1?st+" "+ot[lt+1]:st,W).width>$.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;lt<ct.length;lt++)r.writeStartElement("tspan"),r.writeAttributeString("x","0"),0==lt?r.writeAttributeString("y","0"):r.writeAttributeString("y",this.normalizeDecimal(lt*W.size*m)),r.writeString(ct[lt]),r.writeEndElement();r.writeEndElement()}}}}null!=C&&(C.clear(),C=null)},r.getPathText=function(t,r,n,i){var o=null;switch(t.displayNameType){case d.Full:o=null!=r?r.name:n.englishName;break;case d.Short:o=f.prepareIsoCode(n.iSOCode);break}if(t.showValue&&null!=r&&null!=r.value){var a=null;t.shortValue&&!isNaN(parseFloat(r.value))&&(a=e.StiAbbreviationNumberFormatHelper.format(parseFloat(r.value))),null==a&&(a=r.value),null==o?o=a:(o+="\r\n",o+=a)}return o},r.getPathRect=function(t,e){var r;return r=t.displayNameType==d.Short?null==e.rectIso||e.rectIso.isEmpty?e.rect:e.rectIso:e.rect},r.getPathHorAlignment=function(t,e){if(t.displayNameType==d.Short)return null!=e.horAlignmentIso?e.horAlignmentIso:e.horAlignment;return e.horAlignment},r.getPathVertAlignment=function(t,e){if(t.displayNameType==d.Short)return null!=e.vertAlignmentIso?e.vertAlignmentIso:e.vertAlignment;return e.vertAlignment},r.getToolTipIdent=function(t){return i.isNullOrEmpty(t.name)?t.key:t.name},r.getToolTipValueText=function(t,r){var n="";if(t.showValue&&!i.isNullOrEmpty(r)){if(t.shortValue){var o=B.tryParse(r);o.successfully&&(n=e.StiAbbreviationNumberFormatHelper.format(o.result))}i.isNullOrEmpty(n)&&(n=r)}return n},r.getToolTipTotalText=function(t,r,n){var i,o;if(t.mapType==I.Group||t.mapType==I.HeatmapWithGroup){var a=r.where((function(t){return t.group==n.group&&null!=t.value})),s=0;try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value,p=B.tryParse(c.value);p.successfully&&(s+=p.result)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var h=e.StiAbbreviationNumberFormatHelper.format(s);return T.get("PropertyMain","Total")+" = "+h}return null},r.normalizeDecimal=function(t){return t.toString().split(",").join(".")},r.getBorderStroke=function(t){var e=i.format("stroke:rgb({0},{1},{2});",t.r,t.g,t.b),r=Math.round2(t.a/255,3);return 1!=r&&(e+=i.format("stroke-opacity:{0};",r.toString().split(",").join("."))),e},r.getFillBrush=function(t){var e=t.color;return i.format("fill:rgb({0},{1},{2});fill-opacity:{3};",e.r,e.g,e.b,Math.round2(e.a/255,3).toString().split(",").join("."))},r}();r.StiMapSvgHelper=D}(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.Drawing.Rectangle,n=t.Base.Helpers.StiValueHelper,i=function(){function t(){}return t.draw=function(t,e,i,o,a){if(null==i||0==i.length)return;e.inflate(-2,-2);var s=i.select(n.tryToNumber).toList(),l=s.min(),u=s.max(),c=l;l>0&&(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.y<o.y&&(o=u)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this.drawMarker(t,o,r.green),this.drawMarker(t,a,r.red)},e.drawMarker=function(t,e,i){var o=3.5;t.fillEllipse(new n(e.x-o,e.y-o,2*o,2*o),r.white),o--,t.fillEllipse(new n(e.x-o,e.y-o,2*o,2*o),i)},e.simplifyPoints=function(e){if(e.length<=30)return e;var r;return t.Report.Chart["StiSimplifyHelper"].simplify(e,10,!1).stimulsoft.toList()},e}();e.StiLineSparklinesCellPainter=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.System.Drawing.Rectangle,n=t.Base.Helpers.StiValueHelper,i=function(){function t(){}return t.draw=function(t,e,i,o,a){if(null==i||0==i.length)return;e.inflate(-2,-2);var s=i.select(n.tryToNumber).toList();s=s.select((function(t){if(0==t)return 0;return t>0?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('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',e.width,e.height,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;i<t.length;i++){var o=t[i];n+=0==i?r.format("M {0},{1} ",o.x.toString().split(",").join("."),o.y.toString().split(",").join(".")):r.format("L {0},{1} ",o.x.toString().split(",").join("."),o.y.toString().split(",").join("."))}this.writer.writeStartElement("path"),this.writer.writeAttributeString("d",n),this.writer.writeAttributeString("stroke",r.format("rgb({0},{1},{2})",e.color.r,e.color.g,e.color.b)),this.writer.writeAttributeString("stroke-opacity",r.format("{0}",Math.round2(e.color.a/255,3))),e.lineJoin&&this.writer.writeAttributeString("stroke-linejoin",e.lineJoin),this.writer.writeAttributeString("stroke-width",e.width.toString().split(",").join(".")),this.writer.writeAttributeString("fill","none"),this.writer.writeEndElement()},t.prototype.drawPolylineTo=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.fillPolygon=function(t,e){var n=new s;n.append(u.writeFillBrush(this.writer,e,new o));for(var i="",a=0;a<t.length;a++){var l=t[a];i+=r.format("{0},{1} ",l.x.toString().split(",").join("."),l.y.toString().split(",").join("."))}this.writer.writeStartElement("polygon"),this.writer.writeAttributeString("points",i),this.writer.writeAttributeString("style",n.toString()),this.writer.writeEndElement()},t.prototype.drawBezier=function(t,e,r,n,i){},t.prototype.drawBezierTo=function(t,e,r,n){},t.prototype.drawArc2=function(t,e,r,n){},t.prototype.setPixel=function(t,e){},t.prototype.drawImage=function(t,e){null==t||r.isNullOrWhiteSpace(t.base64)||(this.writer.writeStartElement("image"),this.writer.writeAttributeString("x",e.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",e.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",e.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",e.height.toString().split(",").join(".")),this.writer.writeStartAttribute(null,"xlink:href",null),this.writer.writeRaw(t.base64),this.writer.writeEndAttribute(),this.writer.writeEndElement())},t.prototype.drawText=function(t,e,r,n,i,o,a){},t.prototype.drawString=function(t,e,o,l,c){this.writer.writeStartElement("text");var p=new i;switch(c||(c=new a),c.alignment){case n.Near:p.x=l.x;break;case n.Center:p.x=l.x+l.width/2;break;case n.Far:p.x=l.x+l.width;break}switch(c.lineAlignment){case n.Near:p.y=l.y;break;case n.Center:p.y=l.y+l.height/2;break;case n.Far:p.y=l.y+l.height;break}this.writer.writeAttributeString("transform",r.format("translate({0}, {1})",p.x.toString().split(",").join("."),p.y.toString().split(",").join("."))),this.writer.writeAttributeString("width",l.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",l.height.toString().split(",").join("."));var h=new s;if(h.append(r.format("font-size:{0}pt;",e.sizeInPoints)),h.append(r.format("font-family:'{0}';",e.name)),e.bold&&h.append("font-weight:bold;"),e.italic&&h.append("font-style:italic;"),e.underline||e.strikeout){var m=e.underline?e.strikeout?"underline line-through":"underline":e.strikeout?"line-through":null;h.append(r.format("text-decoration:{0};",m))}switch(h.append(u.writeFillBrush(this.writer,o,l)),c.alignment){case n.Near:h.appendFormat("text-anchor:{0};","start");break;case n.Center:h.appendFormat("text-anchor:{0};","middle");break;case n.Far:h.appendFormat("text-anchor:{0};","end");break}switch(c.lineAlignment){case n.Near:this.writer.writeAttributeString("dy","1em");break;case n.Center:this.writer.writeAttributeString("dy","0.5em");break;case n.Far:break}this.writer.writeAttributeString("style",h.toString()),this.writer.writeString(t),this.writer.writeEndElement()},t.prototype.saveState=function(){},t.prototype.restoreState=function(){},t.prototype.fillRectangle=function(t,e){var r=new s;r.append(u.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("rect"),this.writer.writeAttributeString("x",t.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",t.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",t.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",t.height.toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeAttributeString("shape-rendering","crispEdges"),this.writer.writeEndElement()},t.prototype.fillRectangle2=function(t,e){this.fillRectangle(t,e)},t.prototype.rotateTransform=function(t){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",r.format("rotate({0})",t.toString().split(",").join(".")))},t.prototype.translateTransform=function(t,e){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",r.format("translate({0},{1})",t.toString().split(",").join("."),e.toString().split(",").join(".")))},t.prototype.endTransform=function(){this.writer.writeEndElement()},t.prototype.measureString=function(t,e){return new l(0,0)},t.prototype.drawEllipse=function(t,e){},t.prototype.fillEllipse=function(t,e){var r=new s;r.append(u.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("ellipse"),this.writer.writeAttributeString("cx",(t.x+t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("cy",(t.y+t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("rx",(t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("ry",(t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeEndElement()},t}();e.StiSvgGeomWriter=c}(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.StiSparkline,i=t.System.StiString,o=t.Report.Maps.StiMap,a=t.Report.Maps.StiMapMode,s=t.Report.Design.StiExpressionPacker,l=t.System.Collections.List,u=t.Base.Drawing.StiTextDrawing,c=t.Report.Components.StiImage,p=t.Report.Components.StiIconSetHelper,h=t.Report.Components.StiIcon,m=t.Report.Components.StiIconSetIndicator,f=t.Base.Drawing.StiColorUtils,d=t.Report.Components.StiDataBarDirection,g=t.Report.Components.StiDataBarIndicator,S=t.Report.Components.IStiExportImageExtended,y=t.System.Drawing.ContentAlignment,A=t.Base.Drawing.StiGlassBrush,b=t.System.Xml.Formatting,v=t.Base.Drawing.StiTextRenderer,C=t.Base.Drawing.StiImageCodecInfo,w=t.System.Xml.XmlTextWriter,B=t.System.Drawing.Color,I=t.Report.Components.StiTextQuality,T=t.Report.Components.StiShapeDirection,E=t.Base.Drawing.StiPenStyle,R=t.System.Drawing.Rectangle,D=t.Report.Components.StiContainer,P=t.Base.Drawing.StiBrush,x=t.Base.Drawing.StiSolidBrush,F=t.Report.Components.IStiBrush,N=t.Report.Components.StiShape,k=t.Base.Drawing.StiEmptyBrush,M=t.Report.Components.StiText,O=t.System.Text.Encoding,_=t.Base.Drawing.StiBorderSides,j=t.System.Text.StringBuilder,G=t.Report.Components.IStiBorder,H=t.Base.Drawing.StiTextOptions,Q=t.Base.Drawing.StiGradientBrush,L=t.Base.Drawing.StiVertAlignment,Y=t.Base.Drawing.StiTextHorAlignment,U=t.Report.Components.StiVerticalLineShapeType,J=t.Report.Components.StiHorizontalLineShapeType,W=t.Report.Components.StiTopAndBottomLineShapeType,V=t.Report.Components.StiLeftAndRightLineShapeType,z=t.Report.Components.StiRectangleShapeType,X=t.Report.Components.StiRoundedRectangleShapeType,K=t.Report.Components.StiDiagonalDownLineShapeType,Z=t.Report.Components.StiDiagonalUpLineShapeType,q=t.Report.Components.StiTriangleShapeType,$=t.Report.Components.StiOvalShapeType,tt=t.Report.Components.StiArrowShapeType,et=t.Report.Components.StiOctagonShapeType,rt=t.Report.Components.StiComplexArrowShapeType,nt=t.Report.Components.StiBentArrowShapeType,it=t.Report.Components.StiChevronShapeType,ot=t.Report.Components.StiDivisionShapeType,at=t.Report.Components.StiEqualShapeType,st=t.Report.Components.StiFlowchartCardShapeType,lt=t.Report.Components.StiFlowchartCollateShapeType,ut=t.Report.Components.StiFlowchartDecisionShapeType,ct=t.Report.Components.StiFlowchartManualInputShapeType,pt=t.Report.Components.StiFlowchartOffPageConnectorShapeType,ht=t.Report.Components.StiFlowchartPreparationShapeType,mt=t.Report.Components.StiFlowchartSortShapeType,ft=t.Report.Components.StiFrameShapeType,dt=t.Report.Components.StiMinusShapeType,gt=t.Report.Components.StiMultiplyShapeType,St=t.Report.Components.StiParallelogramShapeType,yt=t.Report.Components.StiPlusShapeType,At=t.Report.Components.StiRegularPentagonShapeType,bt=t.Report.Components.StiTrapezoidShapeType,vt=t.Report.Components.StiSnipSameSideCornerRectangleShapeType,Ct=t.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType,wt=t.Report.Components.StiRectanglePrimitive,Bt=t.Base.Drawing.StiGlareBrush,It=t.Base.Drawing.StiHatchBrush,Tt=t.Report.Components.StiCheckBox,Et=t.Report.Components.StiCheckStyle,Rt=t.Report.BarCodes.StiBarCode,Dt=t.System.Drawing.Font,Pt=t.Report.Export.Services.Helpers.StiContextSvgHelper,xt=t.Report.Components.StiTextInCells,Ft=t.System.Drawing.StringFormat,Nt=t.Base.Drawing.StiFontUtils,kt=t.System.Drawing.Size,Mt=t.System.Char,Ot=t.Report.Components.StiTextInCellsHelper,_t=t.System.Drawing.Rectangle,jt=function(){function jt(){}return jt.getLineStyleDash=function(t,e){var r=Math.round2(1.2*e,1).toString().split(",").join("."),n=Math.round2(3*e,1).toString().split(",").join("."),o="";switch(t){case E.Dot:o=i.format("{0},{0}",r);break;case E.Dash:o=i.format("{0},{1}",n,r);break;case E.DashDot:o=i.format("{0},{1},{1},{1}",n,r);break;case E.DashDotDot:o=i.format("{0},{1},{1},{1},{1},{1}",n,r);break}return o},jt.toUnits=function(t){var e=2,r;return Math.round2(t,e).toString().split(",").join(".")},jt.writeCoordinates=function(t,e){t.writeAttributeString("x",jt.toUnits(e.x)),t.writeAttributeString("y",jt.toUnits(e.y)),t.writeAttributeString("width",jt.toUnits(e.width)),t.writeAttributeString("height",jt.toUnits(e.height))},jt.writeStrokeInfo=function(t,e,r,n){n==E.None?t.writeAttributeString("stroke","none"):(t.writeAttributeString("stroke",i.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("stroke-opacity",Math.round2(e.a/255,3).toString().split(",").join(".")),t.writeAttributeString("stroke-width",jt.toUnits(r)),n!=E.Solid&&t.writeAttributeString("stroke-dasharray",jt.getLineStyleDash(n,r)))},jt.writeFillInfo=function(t,e){t.writeAttributeString("fill",i.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("fill-opacity",Math.round2(e.a/255,3).toString().split(",").join("."))},jt.checkShape=function(t){if(!t.is(N))return!1;var e=t.as(N);if(null==e)return!1;var r=t.as(F);if(e.shapeType.is(U)||e.shapeType.is(J)||e.shapeType.is(W)||e.shapeType.is(V)||e.shapeType.is(z)||e.shapeType.is(X)||e.shapeType.is(K)||e.shapeType.is(Z)||e.shapeType.is(q)||e.shapeType.is($)||e.shapeType.is(tt)||e.shapeType.is(et)||e.shapeType.is(rt)||e.shapeType.is(nt)||e.shapeType.is(it)||e.shapeType.is(ot)||e.shapeType.is(at)||e.shapeType.is(st)||e.shapeType.is(lt)||e.shapeType.is(ut)||e.shapeType.is(ct)||e.shapeType.is(pt)||e.shapeType.is(ht)||e.shapeType.is(mt)||e.shapeType.is(ft)||e.shapeType.is(dt)||e.shapeType.is(gt)||e.shapeType.is(St)||e.shapeType.is(yt)||e.shapeType.is(At)||e.shapeType.is(bt)||e.shapeType.is(vt)||e.shapeType.is(Ct))return!0;return!1},jt.writeDocument=function(o,a,s,l,u,p){var h,m,f,d,g=new w(O.UTF8),S=-1;g.indentation=0,g.formatting=b.None;var y=C.getImageCodec("image/jpeg");p/=100,s&&g.writeStartDocument(),g.writeStartElement("svg"),g.writeAttributeString("version","1.1"),g.writeAttributeString("baseProfile","full"),s||g.writeAttributeString("style","margin:5px; border:1px solid DarkGrey;"),g.writeAttributeString("xmlns","http://www.w3.org/2000/svg"),g.writeAttributeString("xmlns:xlink","http://www.w3.org/1999/xlink"),g.writeAttributeString("xmlns:ev","http://www.w3.org/2001/xml-events");var A=1,v=A*o.unit.convertToHInches(a.pageHeight*a.segmentPerHeight),I=A*o.unit.convertToHInches(a.pageWidth*a.segmentPerWidth),T=A*o.unit.convertToHInches(a.margins.left),E=A*o.unit.convertToHInches(a.margins.right),R=A*o.unit.convertToHInches(a.margins.top),F=A*o.unit.convertToHInches(a.margins.bottom);g.writeAttributeString("height",jt.toUnits(v)),g.writeAttributeString("width",jt.toUnits(I)),g.writeStartElement("defs");try{for(var N=__values(a.components.list),_=N.next();!_.done;_=N.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 U=j.isExportAsImage(e.StiExportFormat.ImageSvg),J=j.as(M),W=j.as(c);(null!=J&&!U&&null!=J.text.toString()&&J.text.toString().trim().length>0||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;N<p.length;N++){var w=h[N];if(p.length>1&&(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;mt<tt.length;mt++){var nt=tt[mt],K;if(tt.length>1&&(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.width<e.height?e.width/2:e.height/2,O=e.height/3.8,_=e.width/3.8,G=e.height<e.width?e.height/2:e.width/2;switch(r.shapeType.as(rt).direction){case T.Left:case T.Right: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} ",this.toUnits(e.x+M),this.toUnits(e.y))),a.append(i.format("{0},{1} ",this.toUnits(e.x+M),this.toUnits(e.y+O))),a.append(i.format("{0},{1} ",this.toUnits(e.right-M),this.toUnits(e.y+O))),a.append(i.format("{0},{1} ",this.toUnits(e.right-M),this.toUnits(e.y))),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-M),this.toUnits(e.bottom))),a.append(i.format("{0},{1} ",this.toUnits(e.right-M),this.toUnits(e.bottom-O))),a.append(i.format("{0},{1} ",this.toUnits(e.x+M),this.toUnits(e.bottom-O))),a.append(i.format("{0},{1} ",this.toUnits(e.x+M),this.toUnits(e.bottom))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+e.height/2)));break;case T.Down:case T.Up:a.append(i.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+G))),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+G))),a.append(i.format("{0},{1} ",this.toUnits(e.right-_),this.toUnits(e.y+G))),a.append(i.format("{0},{1} ",this.toUnits(e.right-_),this.toUnits(e.bottom-G))),a.append(i.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-G))),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-G))),a.append(i.format("{0},{1} ",this.toUnits(e.x+_),this.toUnits(e.bottom-G))),a.append(i.format("{0},{1} ",this.toUnits(e.x+_),this.toUnits(e.y+G))),a.append(i.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+G)));break}s=a}if(r.shapeType.is(nt)){var H=0,Q=0,L=0;switch(e.height>e.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.width<e.height&&(u=Math.abs(e.height/2-a*s/2)),t.writeAttributeString("transform",i.format("translate({0},{1})",(e.x+l).toString().split(",").join("."),(e.y+u).toString().split(",").join("."))),t.writeStartElement("path"),t.writeAttributeString("d",this.getCheckBoxData(n,r)),t.writeAttributeString("stroke",i.format("#{0:X2}{1:X2}{2:X2}",n.contourColor.r,n.contourColor.g,n.contourColor.b)),t.writeAttributeString("stroke-width",n.size.toString()),t.writeAttributeString("stroke-linecap","round"),t.writeAttributeString("stroke-linejoin","round"),t.writeAttributeString("transform",i.format("scale({0})",s)),t.writeAttributeString("style",o),t.writeEndElement(),t.writeEndElement()},jt.getCheckBoxData=function(t,e){var r=t.checkStyle,n=!1,i=e.toString().trim().toLowerCase(),o=t.values.split("/"),a;1==o.length&&(o=t.values.split(";")),1==o.length&&(o=t.values.split(","));var s=null;switch(r=(n=i==o[0].trim().toLowerCase())?t.checkStyleForTrue:t.checkStyleForFalse){case Et.Cross:s="m 62.567796,147.97593 c -0.55,-0.14223 -2.162828,-0.5128 -3.584062,-0.82348 -3.647667,-0.79738 -9.670499,-5.83775 -14.242817,-11.91949 l "+"-3.902341,-5.19058 5.080199,-1.13481 c 7.353071,-1.64253 13.640456,-5.71752 21.826811,-14.14646 l 7.208128,-7.42171 "+"-6.410736,-7.513354 c -11.773129,-13.79803 -14.346726,-23.01954 -8.627769,-30.91434 2.894109,-3.9952 11.818482,-12.369333 "+"13.182086,-12.369333 0.411356,0 1.063049,1.6875 1.448207,3.750003 0.980474,5.25038 6.456187,16.76587 10.936694,23 2.075266,2.8875 "+"3.991125,5.25 4.257464,5.25 0.266339,0 3.775242,-3.4875 7.797566,-7.75 16.397034,-17.37615 29.674184,-19.76481 38.280564,-6.88699 "+"4.15523,6.21753 4.18631,8.07093 0.14012,8.3552 -5.84833,0.41088 -17.16241,8.5342 -25.51465,18.319104 l -4.63153,5.42599 "+"4.87803,4.31529 c 6.55108,5.79533 18.8991,11.89272 25.84076,12.76002 3.0455,0.38051 5.53727,1.10582 5.53727,1.6118 0,2.7809 "+"-9.26611,14.41872 -13.03,16.36511 -7.96116,4.11687 -16.36991,0.71207 -32.764584,-13.26677 l -4.985957,-4.25125 -7.086791,8.97188 c "+"-3.897736,4.93454 -8.82141,10.1198 -10.9415,11.52281 -3.906121,2.58495 -8.86588,4.41339 -10.691162,3.94136 z";break;case Et.Check:s="M 60.972125,162.49704 C 51.172676,136.72254 43.561975,123.37669 35.370344,117.6027 l -4.45827,-3.14248 2.75159,-2.89559 c 3.875121,-4.07793 "+"10.034743,-7.49924 14.902472,-8.27747 3.859874,-0.61709 4.458306,-0.38024 8.535897,3.37835 2.660692,2.45254 6.265525,7.60856 9.167226,13.11196 "+"2.630218,4.98849 4.910542,9.06999 5.067388,9.06999 0.156846,0 2.31372,-3.0375 4.793052,-6.75 C 96.259164,91.956015 129.68299,58.786374 157.56485,41.281603 l "+"8.84913,-5.555656 2.2633,2.631238 2.26329,2.631237 -7.76266,6.294183 C 139.859,66.19023 108.01682,105.51363 89.042715,138.83563 c -6.680477,11.73214 "+"-7.172359,12.31296 -15.090788,17.81963 -4.501873,3.13071 -9.044031,6.30443 -10.093684,7.05271 -1.708923,1.21826 -2.010678,1.09165 -2.886118,-1.21093 z";break;case Et.CrossRectangle:s="m 24.152542,102.04237 0,-72.499996 74.5,0 74.499998,0 0,72.499996 0,72.5 -74.499998,0 -74.5,0 0,-72.5 z m 133.758188,0.25 -0.25819,-57.249996 "+"-58.999998,0 -59,0 -0.259695,55.999996 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 13.207991,1.25 59.517885,1.25 l "+"59.039573,0 -0.25819,-57.25 z m -90.574091,43.18692 c -1.823747,-0.3912 -4.926397,-1.85716 -6.894778,-3.25768 -3.319254,-2.36169 -12.289319,-12.40741 "+"-12.289319,-13.76302 0,-0.32888 2.417494,-1.13897 5.372209,-1.80021 7.185193,-1.60797 13.747505,-5.93496 21.803114,-14.3763 l 6.675323,-6.99496 "+"-6.379078,-7.31436 C 64.931387,85.71231 61.643682,76.29465 65.471903,68.89169 67.054097,65.83207 78.56175,54.542374 80.098251,54.542374 c 0.45744,0 "+"1.146839,1.6875 1.531997,3.75 0.980474,5.250386 6.456187,16.765876 10.936694,22.999996 2.075266,2.8875 3.991125,5.25 4.257464,5.25 0.266339,0 "+"3.775244,-3.4875 7.797564,-7.75 16.39704,-17.376139 29.67419,-19.764806 38.28057,-6.88698 4.15523,6.21752 4.18631,8.07092 0.14012,8.35519 -5.82996,0.40959 "+"-18.23707,9.34942 -25.91566,18.67328 -3.90068,4.73647 -3.97203,4.95414 -2.2514,6.86861 3.19054,3.54997 13.7039,10.54321 18.97191,12.61967 2.83427,1.11716 "+"7.43737,2.33421 10.22912,2.70455 2.79175,0.37034 5.07591,0.9956 5.07591,1.38947 0,2.11419 -8.37504,13.20895 -11.6517,15.4355 -8.39423,5.70403 "+"-16.63203,2.77 -34.14289,-12.16054 l -4.985955,-4.25125 -7.086791,8.97188 c -9.722344,12.3085 -16.524852,16.55998 -23.948565,14.96754 z";break;case Et.CheckRectangle:s="m 19.915254,103.5 0,-72.5 71.942245,0 71.942241,0 6.55727,-4.11139 6.55726,-4.11139 1.96722,2.36139 c 1.08197,1.298765 1.98219,2.644166 2.00049,2.98978 "+"0.0183,0.345615 -2.44173,2.53784 -5.46673,4.87161 l -5.5,4.243219 0,69.378391 0,69.37839 -74.999991,0 -75.000005,0 0,-72.5 z m 133.999996,3.87756 c "+"0,-49.33933 -0.12953,-53.514947 -1.62169,-52.276568 -2.78014,2.307312 -15.68408,17.90053 -24.32871,29.399008 -10.4919,13.955575 -23.47926,33.53736 "+"-29.514025,44.5 -4.457326,8.09707 -5.134776,8.80812 -14.291256,15 -5.28667,3.575 -9.903486,6.62471 -10.259592,6.77712 -0.356107,0.15242 -1.912439,-2.99758 "+"-3.458515,-7 -1.546077,-4.00241 -5.258394,-12.41205 -8.249593,-18.68809 -4.285436,-8.99155 -6.676569,-12.64898 -11.27758,-17.25 C 47.70282,104.62757 "+"44.364254,102 43.495254,102 c -2.798369,0 -1.704872,-1.66044 3.983717,-6.049158 5.593548,-4.31539 13.183139,-7.091307 16.801313,-6.145133 3.559412,0.930807 "+"9.408491,8.154973 13.919775,17.192241 l 4.46286,8.94025 4.54378,-6.83321 C 95.518219,96.605618 108.21371,81.688517 125.80695,63.75 L 143.21531,46 l "+"-53.650021,0 -53.650035,0 0,57.5 0,57.5 59.000005,0 58.999991,0 0,-53.62244 z";break;case Et.CrossCircle:s="M 83.347458,173.13597 C 61.069754,168.04956 42.193415,152.8724 32.202285,132.01368 23.4014,113.63986 23.679644,89.965903 32.91889,71.042373 "+"41.881579,52.685283 60.867647,37.139882 80.847458,31.799452 c 10.235111,-2.735756 31.264662,-2.427393 40.964762,0.600679 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879155 2.43666,10.952327 1.56754,28.058524 -1.98036,38.977594 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033911,0.23456 -15.484931,-0.10267 -19.500002,-1.01939 z M 112.4138,158.45825 c 17.13137,-3.13002 "+"33.71724,-15.96081 41.41353,-32.03742 14.8975,-31.119027 -1.10807,-67.659584 -34.40232,-78.540141 -6.71328,-2.193899 -9.93541,-2.643501 "+"-19.07755,-2.661999 -9.354252,-0.01893 -12.16228,0.37753 -18.768532,2.649866 -17.155451,5.900919 -29.669426,17.531424 -36.438658,33.866137 "+"-2.152301,5.193678 -2.694658,8.35455 -3.070923,17.89744 -0.518057,13.139047 0.741843,19.201887 6.111644,29.410237 4.106815,7.80733 15.431893,19.09359 "+"23.36818,23.28808 12.061362,6.37467 27.138828,8.6356 40.864629,6.1278 z M 69.097458,133.41654 c -2.8875,-2.75881 -5.25,-5.35869 -5.25,-5.77751 "+"0,-0.41882 5.658529,-6.30954 12.57451,-13.0905 l 12.57451,-12.329 L 76.198053,89.392633 63.399628,76.565738 68.335951,71.554056 c 2.714978,-2.756426 "+"5.304859,-5.011683 5.75529,-5.011683 0.450432,0 6.574351,5.611554 13.608709,12.470121 l 12.78974,12.470119 4.42889,-4.553471 c 2.43588,-2.50441 "+"8.39186,-8.187924 13.23551,-12.630032 l 8.80663,-8.076559 5.34744,5.281006 5.34743,5.281007 -12.96155,12.557899 -12.96154,12.557897 13.13318,13.16027 "+"13.13319,13.16027 -5.18386,4.66074 c -2.85112,2.5634 -5.70472,4.66073 -6.34134,4.66073 -0.63661,0 -6.5434,-5.4 -13.12621,-12 -6.58281,-6.6 -12.3871,-12 "+"-12.89844,-12 -0.511329,0 -6.593363,5.60029 -13.515627,12.44509 l -12.585935,12.44508 -5.25,-5.016 z";break;case Et.DotCircle:s="M 81.652542,170.5936 C 59.374838,165.50719 40.498499,150.33003 30.507369,129.47131 21.706484,111.09749 21.984728,87.42353 31.223974,68.5 "+"40.186663,50.14291 59.172731,34.597509 79.152542,29.257079 89.387653,26.521323 110.4172,26.829686 120.1173,29.857758 c 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879152 2.43666,10.95233 1.56754,28.05853 -1.98036,38.9776 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033907,0.23456 -15.484927,-0.10267 -19.499998,-1.01939 z m 29.999998,-15.098 c 20.68862,-4.34363 "+"38.01874,-20.45437 44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.0187 0,-30 C 150.08927,65.371023 134.63549,50.297336 114.65254,44.412396 "+"106.5531,42.027127 90.741304,42.026386 82.695253,44.4109 62.460276,50.407701 46.686742,66.039241 41.6053,85.13096 c -1.948821,7.32201 -1.86506,23.11641 "+"0.158766,29.93754 8.730326,29.42481 38.97193,46.91812 69.888474,40.4271 z M 90.004747,122.6703 C 76.550209,117.63801 69.825047,101.82445 "+"75.898143,89.5 c 2.136718,-4.33615 7.147144,-9.356192 11.754399,-11.776953 5.578622,-2.931141 16.413098,-2.927504 22.052908,0.0074 18.03,9.382663 "+"19.07573,32.784373 1.91442,42.841563 -5.57282,3.26589 -15.830952,4.2617 -21.615123,2.09829 z";break;case Et.DotRectangle:s="m 23.847458,101.19491 0,-72.499995 74.5,0 74.499992,0 0,72.499995 0,72.5 -74.499992,0 -74.5,0 0,-72.5 z m 133.999992,-0.008 0,-57.507925 "+"-59.249992,0.25793 -59.25,0.25793 -0.25819,57.249995 -0.258189,57.25 59.508189,0 59.508182,0 0,-57.50793 z m -94.320573,33.85402 c -0.37368,-0.37368 "+"-0.679419,-15.67942 -0.679419,-34.01275 l 0,-33.333335 35.513302,0 35.51329,0 -0.2633,33.749995 -0.2633,33.75 -34.570573,0.26275 c -19.013819,0.14452 "+"-34.876319,-0.043 -35.25,-0.41666 z";break;case Et.NoneCircle:s="M 83.5,170.5936 C 61.222296,165.50719 42.345957,150.33003 32.354827,129.47131 23.553942,111.09749 23.832186,87.423523 33.071432,68.5 "+"42.034121,50.14291 61.020189,34.597509 81,29.257079 c 10.235111,-2.735756 31.26466,-2.427393 40.96476,0.600679 26.18668,8.174684 46.06876,28.926852 "+"51.62012,53.879155 2.43666,10.95232 1.56754,28.058527 -1.98036,38.977597 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 -6.3909,2.08202 "+"-10.18566,2.59644 -21.27805,2.88446 -9.033909,0.23456 -15.484929,-0.10267 -19.5,-1.01939 z m 30,-15.098 c 20.68862,-4.34363 38.01874,-20.45437 "+"44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.018707 0,-29.999997 C 151.93673,65.371023 136.48295,50.297336 116.5,44.412396 108.40056,42.027127 "+"92.588762,42.026386 84.542711,44.410896 64.307734,50.407697 48.5342,66.039237 43.452758,85.130959 c -1.948821,7.322 -1.86506,23.116411 "+"0.158766,29.937541 8.730326,29.42481 38.97193,46.91812 69.888476,40.4271 z";break;case Et.NoneRectangle:s="m 24.152542,102.04237 0,-72.499997 74.5,0 74.500008,0 0,72.499997 0,72.5 -74.500008,0 -74.5,0 0,-72.5 z m 133.758198,0.25 "+"-0.25819,-57.249997 -59.000008,0 -59,0 -0.259695,55.999997 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 "+"13.207991,1.25 59.517885,1.25 l 59.039583,0 -0.25819,-57.25 z";break}return s},jt.writeTextInCells=function(t,n){var o=n.component.as(xt),a=o.border.size/2*o.page.zoom,s=o.getTextForPaint(),u=o.page.unit,c=u.convertToHInches(o.horSpacing*o.page.zoom),p=u.convertToHInches(o.vertSpacing*o.page.zoom),h=u.convertToHInches(o.cellWidth*o.page.zoom),m=u.convertToHInches(o.cellHeight*o.page.zoom);0==o.cellWidth&&(h=2.4*o.font.getHeight()*o.page.zoom*e.StiDpiHelper.deviceCapsScale),0==o.cellHeight&&(m=2.4*o.font.getHeight()*o.page.zoom*e.StiDpiHelper.deviceCapsScale);var f=o.font.size*o.page.zoom*e.StiDpiHelper.deviceCapsScale,d=new Ft,g=Nt.changeFontSize(o.font,f);if(o.continuousText){var S=n.x+a,y=n.y+a,A=!0,b=0;while(1==1){var v,C,w;if((v=new _t(S,y,h,m)).right+c<n.right||A)(C=new j).append(Pt.writeFillBrush(t,o.brush,v)),t.writeStartElement("rect"),t.writeAttributeString("x",jt.toUnits(v.x)),t.writeAttributeString("y",jt.toUnits(v.y)),t.writeAttributeString("width",jt.toUnits(v.width)),t.writeAttributeString("height",jt.toUnits(v.height)),t.writeAttributeString("style",C.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeEndElement(),null!=s&&b<s.length&&(t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(v.x+v.width/2-g.getHeight()/2)),t.writeAttributeString("y",this.toUnits(v.y+v.height/2+g.getHeight()/2)),t.writeAttributeString("style",this.getStyleString(g,P.toColor(o.textBrush))),t.writeString(s[b]),t.writeEndElement()),(w=new r.StiSvgData).component=o,w.x=v.x,w.y=v.y,w.width=v.width,w.height=v.height,jt.writeBorder2(t,w),S+=h+c,b++,A=!1;else if(y+=m+p,S=n.x+a,A=!0,!o.wordWrap||n.bottom<y+m+p)break}}else{var B=new kt(1,1),S=n.x+a+h;while(S+c+h<n.right)S+=c+h,B.width++;var y=n.y+a+m;while(y+p+m<n.bottom)y+=p+m,B.height++;o.wordWrap||(B.height=1);var I=new l,T="";null==s&&(s="");for(var E=0;E<s.length;E++){var R=s[E];Mt.isControl(R)?"\n"!=R&&"\r"!=R||(I.add(Ot.trimEndWhiteSpace(T)),T=""):T+=R}if(""!=T&&I.add(Ot.trimEndWhiteSpace(T)),0==I.length&&I.add(T),o.wordWrap)for(var D=0;D<I.length;D++){var x=I[D];if(x.length>B.width){var F=[],N=0,k=0;while(k<x.length&&Mt.isWhitespace(x[k]))F[k]=N,k++;for(var M=k;M<x.length;M++)Mt.isWhitespace(x[M])&&N++,F[M]=N;var b,O=(b=B.width)-1;if(F[b]>0)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;_<B.height;_++){var G=_<I.length?I[_]:"",H=0;o.horAlignment==Y.Center&&(H=(B.width-G.length)/2),o.horAlignment==Y.Right&&(H=B.width-G.length),H>0&&(G=i.repeat(" ",H)+G),S=n.x+a;for(var Q=0;Q<B.width;Q++){var v=new _t(S,y,h,m),C;(C=new j).append(Pt.writeFillBrush(t,o.brush,v)),t.writeStartElement("rect"),t.writeAttributeString("x",jt.toUnits(v.x)),t.writeAttributeString("y",jt.toUnits(v.y)),t.writeAttributeString("width",jt.toUnits(v.width)),t.writeAttributeString("height",jt.toUnits(v.height)),t.writeAttributeString("style",C.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeEndElement();var L=o.rightToLeft?B.width-Q-1:Q,w;L<G.length&&(t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(v.x+v.width/2-g.getHeight()/2)),t.writeAttributeString("y",this.toUnits(v.y+v.height/2+g.getHeight()/2)),t.writeAttributeString("style",this.getStyleString(g,P.toColor(o.textBrush))),t.writeString(G[L]),t.writeEndElement()),(w=new r.StiSvgData).component=o,w.x=v.x,w.y=v.y,w.width=v.width,w.height=v.height,jt.writeBorder2(t,w),S+=h+c}y+=m+p}}},jt.correctFontSize=1.35,jt.pdfCKT=.56,jt}();r.StiSvgHelper=jt}(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(t){var e=function(){function t(){}return t.getBase64Content=function(){return"YW5pbWF0ZVN0aSA9IGZ1bmN0aW9uIChjaGFydElkKSB7CiAgICB2YXIgcmVxdWVzdEFuaW1hdGlvbkZyYW1lID0gd2luZG93LnJlcXVlc3RBbmltYXRpb25GcmFtZSB8fCB3aW5kb3cubW96UmVxdWVzdEFuaW1hdGlvbkZyYW1lIHx8CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LndlYmtpdFJl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gICAgfQogICAgICAgIHZhciBudW0gPSBwYXJzZUludChjb2wsIDE2KTsKICAgICAgICB2YXIgciA9IChudW0gPj4gMTYpICsgYW10OwogICAgICAgIGlmIChyID4gMjU1KSByID0gMjU1OwogICAgICAgIGVsc2UgaWYgKHIgPCAwKSByID0gMDsKICAgICAgICB2YXIgYiA9ICgobnVtID4+IDgpICYgMHgwMEZGKSArIGFtdDsKICAgICAgICBpZiAoYiA+IDI1NSkgYiA9IDI1NTsKICAgICAgICBlbHNlIGlmIChiIDwgMCkgYiA9IDA7CiAgICAgICAgdmFyIGcgPSAobnVtICYgMHgwMDAwRkYpICsgYW10OwogICAgICAgIGlmIChnID4gMjU1KSBnID0gMjU1OwogICAgICAgIGVsc2UgaWYgKGcgPCAwKSBnID0gMDsKICAgICAgICByZXR1cm4gKHVzZVBvdW5kID8gIiMiIDogIiIpICsgU3RyaW5nKCIwMDAwMDAiICsgKGcgfCAoYiA8PCA4KSB8IChyIDw8IDE2KSkudG9TdHJpbmcoMTYpKS5zbGljZSgtNik7CiAgICB9CgoKICAgIHZhciBhZGRUb29sdGlwID0gZnVuY3Rpb24gKGVsKSB7CiAgICAgICAgdmFyIHQgPSBkb2N1bWVudC5fc3RpVG9vbHRpcDsKCiAgICAgICAgZWwub25tb3VzZW92ZXIgPSBmdW5jdGlvbiAoZXZlbnQpIHsKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIm5vdFNob3dUb29sdGlwIikgPT0gInRydWUiIHx8ICghZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiX3RleHQxIikgJiYgIWV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl90ZXh0MiIpKSkKICAgICAgICAgICAgICAgIHJldHVybjsKCiAgICAgICAgICAgIHZhciBpc0N1c3RvbVRvb2x0aXAgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJpc0N1c3RvbVRvb2x0aXAiKSA9PSAidHJ1ZSI7CgogICAgICAgICAgICB2YXIgdGV4dDEgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfdGV4dDEiKTsKCiAgICAgICAgICAgIGlmIChpc0N1c3RvbVRvb2x0aXAgJiYgdGV4dDEudG9Mb3dlckNhc2UoKS5pbmRleE9mKCI8YSAiKSA+PSAwKSB7CiAgICAgICAgICAgICAgICB0LnN0eWxlLnBvaW50ZXJFdmVudHMgPSAiYXV0byI7CiAgICAgICAgICAgICAgICB0ZXh0MSA9IHRleHQxLnJlcGxhY2UoLzxhIC9nLCAiPGEgdGFyZ2V0PSdfYmxhbmsnICIpOwogICAgICAgICAgICB9CgogICAgICAgICAgICB0LmN4ID0gMC4xOwogICAgICAgICAgICBpZiAodC5fdGV4dDEpIHQuX3RleHQxLmlubmVySFRNTCA9IHRleHQxOwogICAgICAgICAgICBpZiAodC5fdGV4dDIpIHsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9ICFpc0N1c3RvbVRvb2x0aXAgPyBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfdGV4dDIiKSA6ICIiOwogICAgICAgICAgICAgICAgdC5fdGV4dDIucGFyZW50RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gaXNDdXN0b21Ub29sdGlwID8gIm5vbmUiIDogIiI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHQuX3JvdW5kKSB0Ll9yb3VuZC5wYXJlbnRFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSBpc0N1c3RvbVRvb2x0aXAgPyAibm9uZSIgOiAiIjsKCiAgICAgICAgICAgIGlmICghaXNDdXN0b21Ub29sdGlwKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiX2NvbG9yIik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZSB7CiAgICAgICAgICAgICAgICBjbGVhclRpbWVvdXQodC5oaWRkZW5UaW1lcik7CgogICAgICAgICAgICAgICAgZWwub25tb3VzZW91dCA9IGZ1bmN0aW9uIChldmVudCkgewogICAgICAgICAgICAgICAgICAgIHZhciB0YXJnZXQgPSBldmVudCAmJiBldmVudC50YXJnZXQgPyBldmVudC50YXJnZXQgOiBlbDsKICAgICAgICAgICAgICAgICAgICB0YXJnZXQuc3R5bGUuZmlsbCA9IHRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpOwoKICAgICAgICAgICAgICAgICAgICB0LmhpZGRlblRpbWVyID0gc2V0VGltZW91dChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghdC5pc092ZXIpIHQuY3ggPSAtMC4yOwogICAgICAgICAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgdC5vbm1vdXNlb3ZlciA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB0aGlzLmlzT3ZlciA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHQuaGlkZGVuVGltZXIpOwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIHQub25tb3VzZW91dCA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB0aGlzLmlzT3ZlciA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgIGVsLm9ubW91c2VvdXQoKTsKICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICB0Lm9uY2xpY2sgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbm1vdXNlb3V0KCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgCiAgICAgICAgICAgIGV2ZW50LnRhcmdldC5zdHlsZS5maWxsID0gbGlnaHRlbkRhcmtlbkNvbG9yKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpLCAtMzUpOwogICAgICAgICAgICB2YXIgY3ggPSBNYXRoLm1heChldmVudC5wYWdlWCArIDEgKyB0Lm9mZnNldFdpZHRoIC0gd2luZG93Lm91dGVyV2lkdGggKyAxMCwgMCk7CiAgICAgICAgICAgIHZhciBjeSA9IE1hdGgubWF4KGV2ZW50LnBhZ2VZICsgMSArIHQub2Zmc2V0SGVpZ2h0IC0gd2luZG93Lm91dGVySGVpZ2h0ICsgMTAsIDApOwogICAgICAgICAgICBjeCA9IE1hdGgubWF4KGN4LCBldmVudC5wYWdlWCArIDEgKyB0Lm9mZnNldFdpZHRoIC0gZG9jdW1lbnQuYm9keS5vZmZzZXRXaWR0aCk7CiAgICAgICAgICAgIGN5ID0gTWF0aC5tYXgoY3ksIGV2ZW50LnBhZ2VZICsgMSArIHQub2Zmc2V0SGVpZ2h0IC0gTWF0aC5tYXgoZG9jdW1lbnQuYm9keS5vZmZzZXRIZWlnaHQsIGRvY3VtZW50LmJvZHkuY2xpZW50SGVpZ2h0KSk7CiAgICAgICAgICAgIHQuc3R5bGUubGVmdCA9IChldmVudC5wYWdlWCArIDEgLSBjeCkgKyAicHgiOwogICAgICAgICAgICB0LnN0eWxlLnRvcCA9IChldmVudC5wYWdlWSArIDEgLSBjeSkgKyAicHgiOwogICAgICAgIH0KCiAgICAgICAgZWwub25tb3VzZW91dCA9IGZ1bmN0aW9uIChldmVudCkgewogICAgICAgICAgICB0LmN4ID0gLTAuMjsKICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnN0eWxlLmZpbGwgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfY29sb3IiKTsKICAgICAgICB9CiAgICB9CgogICAgdmFyIGdldENvbG9yID0gZnVuY3Rpb24gKGNvbG9yU3R5bGUpIHsKICAgICAgICBpZiAoY29sb3JTdHlsZS5pbmRleE9mKCJyZ2IiKSA9PSAwKSB7CiAgICAgICAgICAgIHZhciBjb2xvcnMgPSBjb2xvclN0eWxlLnJlcGxhY2UoInJnYigiLCAiIikucmVwbGFjZSgiKSIsICIiKS5zcGxpdCgiLCIpOwogICAgICAgICAgICB2YXIgciA9IHBhcnNlSW50KGNvbG9yc1swXSk7CiAgICAgICAgICAgIHZhciBnID0gcGFyc2VJbnQoY29sb3JzWzFdKTsKICAgICAgICAgICAgdmFyIGIgPSBwYXJzZUludChjb2xvcnNbMl0pOwogICAgICAgICAgICByZXR1cm4gIiMiICsgKCgxIDw8IDI0KSArIChyIDw8IDE2KSArIChnIDw8IDgpICsgYikudG9TdHJpbmcoMTYpLnNsaWNlKDEpOwogICAgICAgIH0gICAKICAgICAgICByZXR1cm4gY29sb3JTdHlsZTsKICAgIH0KCiAgICB2YXIgY3JlYXRlU2VsZWN0aW9uSGF0Y2ggPSBmdW5jdGlvbiAoZWxlbWVudCwgY29sb3IpIHsKICAgICAgICB2YXIgaWQgPSAiaGF0Y2giICsgTWF0aC5yb3VuZChNYXRoLnJhbmRvbSgpICogMTAwMDAwMDA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vd1Rvb2x0aXAgPSBzaG93VG9vbHRpcDsKCiAgICAgICAgZWwub25tb3VzZW92ZXIgPSBmdW5jdGlvbiAoZXZlbnQpIHsKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5zaG93VG9vbHRpcCkgewogICAgICAgICAgICAgICAgdC5jeCA9IDAuMTsKICAgICAgICAgICAgICAgIHQuc3R5bGUubGVmdCA9IGV2ZW50LnBhZ2VYICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB0LnN0eWxlLnRvcCA9IGV2ZW50LnBhZ2VZICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB2YXIgdG9vbHRpcCA9IEpTT04ucGFyc2UoZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiaW50ZXJhY3Rpb250b29sdGlwIikpOwogICAgICAgICAgICAgICAgdC5fdGV4dDEuaW5uZXJIVE1MID0gdG9vbHRpcC5TdGlWYWx1ZTsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9IHRvb2x0aXAuU3RpQXJndW1lbnQ7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gdG9vbHRpcC5TdGlDb2xvcjsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdE92ZXJIYXRjaElkICsgIikiOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gbGlnaHRlbkRhcmtlbkNvbG9yKGdldENvbG9yKGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwpLCAzNSk7CiAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIAogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGVsLm9ubW91c2VvdXQgPSBmdW5jdGlvbiAoZXZlbnQpIHsgICAgICAgICAgICAKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5zaG93VG9vbHRpcCkgewogICAgICAgICAgICAgICAgdC5jeCA9IC0wLjI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdEhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwgPSBlbGVtZW50c1tpXS5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpOwogICAgICAgICAgICAgICAgfSAgICAgICAgICAgICAgICAKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgaWYgKHNob3dUb29sdGlwKSB7CiAgICAgICAgICAgIGVsLm9ubW91c2Vkb3duID0gZnVuY3Rpb24gKGV2ZW50KSB7CiAgICAgICAgICAgICAgICB2YXIgZWxDb2xvciA9IGdldENvbG9yKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpKTsKICAgICAgICAgICAgICAgIGlmIChldmVudC50YXJnZXQuc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9IGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSk7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGlmICghZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGVsQ29sb3IpOwogICAgICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSkpOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9ICJ1cmwoIyIgKyBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0ZWQgPSAhZXZlbnQudGFyZ2V0LnNlbGVjdGVkOwogICAgICAgICAgICB9CiAgICAgICAgfSAgICAgICAgCiAgICB9CgogICAgdmFyIGluc3BlY3QgPSBmdW5jdGlvbiAoZWxlbWVudCwgYW5pbWF0aW9ucykgewoKICAgICAgICBpZiAoIWVsZW1lbnQpIHJldHVybjsKICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlDaGFydFRvb2x0aXApIHsKICAgICAgICAgICAgY3JlYXRlQ2hhcnRUb29sdGlwKCk7CiAgICAgICAgfQoKICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnQuY2hpbGROb2RlcykgewogICAgICAgICAgICB2YXIgZWwgPSBlbGVtZW50LmNoaWxkTm9kZXNbaV07CiAgICAgICAgICAgIGlmIChlbC5hdHRyaWJ1dGVzKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBqIGluIGVsLmF0dHJpYnV0ZXMpIHsKICAgICAgICAgICAgICAgICAgICBpZiAoZWwuYXR0cmlidXRlc1tqXSAmJiBlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpIHsgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdfYW5pbWF0aW9uJykgPj0gMCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlbC5fYW5pbWF0aW9ucykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsLl9hbmltYXRpb25zID0gW107CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYW5pbWF0aW9ucy5wdXNoKGVsKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlbC5nZXRBdHRyaWJ1dGUoIl9pc21hcCIpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlUb29sdGlwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3JlYXRlVG9vbHRpcCgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkVG9vbHRpcChlbCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgIC8qaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdpbnRlcmFjdGlvbnRvb2x0aXAnKSA+PSAwKSB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkQ2hhcnRUb29sdGlwKGVsLCBlbGVtZW50LmlkLCB0cnVlKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbm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ogTWF0aC5jb3Moc3RhcnRBbmdsZSk7CiAgICAgICAgdmFyIHkxID0gY2VudGVyWSArIHJhZGl1cyAqIE1hdGguc2luKHN0YXJ0QW5nbGUpOwoKICAgICAgICByZXN1bHQgKz0gIk0iICsgY2VudGVyWCArICIsIiArIGNlbnRlclk7CiAgICAgICAgcmVzdWx0ICs9ICJMIiArIHgxICsgIiwiICsgeTE7CgogICAgICAgIHZhciBzdGVwID0gUm91bmQoTWF0aC5hYnMoc3dlZXBBbmdsZUZyb20gLyA5MCkpOwogICAgICAgIHZhciBzdGVwQW5nbGUgPSBzd2VlcEFuZ2xlRnJvbSAvIHN0ZXA7CiAgICAgICAgc3RhcnRBbmdsZSA9IHN0YXJ0QW5nbGVGcm9tOwoKICAgICAgICBmb3IgKHZhciBpbmRleFN0ZXAgPSAwOyBpbmRleFN0ZXAgPCBzdGVwOyBpbmRleFN0ZXArKykgewogICAgICAgICAgICB2YXIgcG9pbnRzID0gY29udmVydEFyY1RvQ3ViaWNCZXppZXIoZGF0YSwgc3RhcnRBbmdsZSwgc3RlcEFuZ2xlKTsKCiAgICAgICAgICAgIGZvciAodmFyIGluZGV4ID0gMTsgaW5kZXggPCBwb2ludHMubGVuZ3RoIC0gMTsgaW5kZXggKz0gMykgewogICAgICAgICAgICAgICAgaWYgKGluZGV4ID09IDEpCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICJDIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgICAgICBlbHNlCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICIsIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgc3RhcnRBbmdsZSArPSBzdGVwQW5nbGU7CiAgICAgICAgfQogICAgICAgIHJlc3VsdCArPSAiTCIgKyBjZW50ZXJYICsgIiwiICsgY2VudGVyWTsKICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfQoKICAgIHZhciBhbmltYXRlUGF0aCA9IGZ1bmN0aW9uIChkYXRhLCBwZXJjZW50KSB7CiAgICAgICAgdmFyIHJlc3VsdCA9ICIiOwogICAgICAgIHdoaWxlIChkYXRhLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgcmVzdWx0ICs9IGRhdGFbMF07CiAgICAgICAgICAgIHZhciBlbmRJbmRleCA9IGRhdGEuc3Vic3RyaW5nKDEpLnNlYXJjaCgvW01MQ10vKSArIDE7CiAgICAgICAgICAgIHZhciBlbHMgPSBkYXRhLnN1YnN0cmluZygxLCBlbmRJbmRleCA+IDAgPyBlbmRJbmRleCA6IGRhdGEubGVuZ3RoKS5zcGxpdCgvWywgXS8pOwogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGVscy5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgaWYgKGVsc1tpXSAhPSAiIikgewogICAgICAgICAgICAgICAgICAgIHZhciBzZSA9IGVsc1tpXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAocGFyc2VGbG9hdChzZVswXSkgKyAocGFyc2VGbG9hdChzZVsxXSkgLSBwYXJzZUZsb2F0KHNlWzBdKSkgKiBwZXJjZW50KTsKICAgICAgICAgICAgICAgICAgICBpZiAoaSAhPSBlbHMubGVuZ3RoIC0gMSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gIiAiOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICBkYXRhID0gZW5kSW5kZXggPiAwID8gZGF0YS5zdWJzdHJpbmcoZW5kSW5kZXgpIDogIiI7CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9CgogICAgdmFyIGJlZ2luID0gbmV3IERhdGUoKS5nZXRUaW1lKCk7CiAgICB2YXIgc3RlcCA9IGZ1bmN0aW9uICh0aW1lc3RhbXApIHsKICAgICAgICB2YXIgZmluaXNoZWQgPSB0cnVlOwogICAgICAgIHZhciBub3cgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKSAtIGJlZ2luOwogICAgICAgIGZvciAodmFyIGkgaW4gYW5pbWF0aW9ucykgewogICAgICAgICAgICB2YXIgYW4gPSBhbmltYXRpb25zW2ldOwogICAgICAgICAgICBmb3IgKHZhciBrIGluIGFuLl9hbmltYXRpb25zKSB7CiAgICAgICAgICAgICAgICB2YXIgYW5pbSA9IGFuLl9hbmltYXRpb25zW2tdOwogICAgICAgICAgICAgICAgaWYgKGFuaW0uYmVnaW4gPD0gbm93ICYmIGFuaW0uYmVnaW4gKyBhbmltLmR1cmF0aW9uID49IG5vdykgewogICAgICAgICAgICAgICAgICAgIHZhciBwZXJjZW50ID0gZWFzZUluT3V0UXVhZCgobm93IC0gYW5pbS5iZWdpbikgLyBhbmltLmR1cmF0aW9uKTsKICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBqIGluIGFuaW0uYWN0aW9ucykgewogICAgICAgICAgICAgICAgICAgICAgICB2YXIgYWMgPSBhbmltLmFjdGlvbnNbal07CiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwcmVmaXggPSBhYy5sZW5ndGggPT0gNSA/IGFjWzRdIDogIiI7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhY1swXSA9PSAic2NhbGVDZW50ZXIiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5iYm94ID0gYW4uZ2V0QkJveCgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0U2NhbGUoYW4sIChhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQpLCAoYWNbM10gKyAoYWNbNF0gLSBhY1szXSkgKiBwZXJjZW50KSwgYWNbNV0sIGFjWzZdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicG9pbnRzIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50c0Zyb20gPSBleHRyYWN0UG9pbnRzKGFjWzFdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHNUbyA9IGV4dHJhY3RQb2ludHMoYWNbMl0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50cyA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgbCBpbiBwb2ludHNGcm9tKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcG9pbnRzICs9IChwb2ludHNGcm9tW2xdLnggKyAocG9pbnRzVG9bbF0ueCAtIHBvaW50c0Zyb21bbF0ueCkgKiBwZXJjZW50KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNGcm9tW2xdLnkgKyAocG9pbnRzVG9bbF0ueSAtIHBvaW50c0Zyb21bbF0ueSkgKiBwZXJjZW50KSArICIgIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZShhY1swXSwgcG9pbnRzKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidmFsdWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdmFsdWUgPSBhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQ7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IE1hdGgucm91bmQodmFsdWUgKiBNYXRoLnBvdygxMCwgYWNbM10pKSAvIE1hdGgucG93KDEwLCBhY1szXSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi50ZXh0Q29udGVudCA9IHZhbHVlOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJ0cmFuc2xhdGUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgZnJvbSA9IGFjWzFdLnNwbGl0KCI6Iik7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdG8gPSBhY1syXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJ0cmFuc2Zvcm0iLCAidHJhbnNsYXRlKCIgKyAocGFyc2VGbG9hdChmcm9tWzBdKSArIChwYXJzZUZsb2F0KHRvWzBdKSAtIHBhcnNlRmxvYXQoZnJvbVswXSkpICogcGVyY2VudCkgKyAiICIgKwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocGFyc2VGbG9hdChmcm9tWzFdKSArIChwYXJzZUZsb2F0KHRvWzFdKSAtIHBhcnNlRmxvYXQoZnJvbVsxXSkpICogcGVyY2VudCkgKyAiKSIgKyBhY1szXSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInBhdGgiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoImQiLCBhbmltYXRlUGF0aChhY1sxXSwgcGVyY2VudCkpOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJwaWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoImQiLCBhbmltYXRlUGllKGFjWzFdLCBwZXJjZW50KSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoYWNbMF0sIHByZWZpeCArIChhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQpICsgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIGZpbmlzaGVkID0gZmFsc2U7CiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFuaW0uYmVnaW4gKyBhbmltLmR1cmF0aW9uIDwgbm93KSB7CiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaiBpbiBhbmltLmFjdGlvbnMpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFjID0gYW5pbS5hY3Rpb25zW2pdOwogICAgICAgICAgICAgICAgICAgICAgICB2YXIgcHJlZml4ID0gYWMubGVuZ3RoID09IDUgPyBhY1s0XSA6ICIiOwogICAgICAgICAgICAgICAgICAgICAgICBpZiAoYWNbMF0gPT0gInNjYWxlQ2VudGVyIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0U2NhbGUoYW4sIGFjWzJdLCBhY1s0XSwgYWNbNV0sIGFjWzZdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBpZiAoYWNbMF0gPT0gInBvaW50cyIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHNUbyA9IGV4dHJhY3RQb2ludHMoYWNbMl0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50cyA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgbCBpbiBwb2ludHNUbykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBvaW50cyArPSBwb2ludHNUb1tsXS54ICsgIiwiICsgcG9pbnRzVG9bbF0ueSArICIgIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZShhY1swXSwgcG9pbnRzKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidmFsdWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi50ZXh0Q29udGVudCA9IGFjWzJdOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJ0cmFuc2xhdGUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdG8gPSBhY1syXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJ0cmFuc2Zvcm0iLCAidHJhbnNsYXRlKCIgKyB0b1swXSArICIgIiArIHRvWzFdICsgIikiICsgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJwYXRoIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBhdGgoYWNbMV0sIDEpKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicGllIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBpZShhY1sxXSwgMSkpOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKGFjWzBdLCBwcmVmaXggKyBhY1syXSArIGFjWzNdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYW5pbS5iZWdpbiA+IG5vdykgewogICAgICAgICAgICAgICAgICAgIGZpbmlzaGVkID0gZmFsc2U7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgaWYgKCFmaW5pc2hlZCkgewogICAgICAgICAgICByZXF1ZXN0QW5pbWF0aW9uRnJhbWUoc3RlcCk7CiAgICAgICAgfQogICAgfQogICAgcmVxdWVzdEFuaW1hdGlvbkZyYW1lKHN0ZXApOwp9"},t}();t.StiChartAnimation=e}(e=t.ChartScripts||(t.ChartScripts={}))}(e=t.Htmls||(t.Htmls={}))}(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(){function t(){this.isStopped=!1,this.renderedPagesCount=0,this.currentPassNumber=0,this.maximumPassNumber=0,this.exportServiceId=""}return t.prototype.invokeExporting=function(t,e,r,n){},t.prototype.invokeExporting2=function(t,e,r,n){},t}();t.StiExportService=e}(e=t.Export||(t.Export={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiHtml5ExportService="IStiHtml5ExportService"}(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.Collections.List,i=t.System.StiArray,o=t.System.Drawing.Graphics,a=t.System.StiString,s=t.Report.Chart.IStiPictorialSeries,l=t.Report.Helpers.StiHyperlinkProcessor,u=t.System.Drawing.StringTrimming,c=t.Base.Drawing.StiHatchBrush,p=t.Base.Drawing.StiGlassBrush,h=t.Base.Drawing.StiGlareBrush,m=t.Base.Drawing.StiGradientBrush,f=t.Report.Components.StiCheckBox,d=t.Report.Components.IStiEditable,g=t.Report.Engine.StiDataBandBuilder,S=t.Report.Components.StiDataBand,y=t.Report.Components.StiBandInteraction,A=t.System.Drawing.ContentAlignment,b=t.Report.Components.StiContainer,v=t.System.Xml.XmlTextWriter,C=t.System.IO.TextWriter,w=t.Base.Context.StiContextPainter,B=t.Base.Context.StiContext,I=t.System.Collections.Hashtable,T=t.System.Drawing.Color,E=t.Report.Components.StiPagesCollection,R=t.System.Drawing.Font,D=t.Report.Components.IStiFont,P=t.Report.Components.IStiBorder,x=t.Report.Components.IStiTextBrush,F=t.Base.Drawing.StiHorAlignment,N=t.Base.Drawing.StiBorderSides,k=t.Report.Components.StiImage,M=t.Base.Drawing.StiTextHorAlignment,O=t.Base.Drawing.StiPenStyle,_=t.Base.Drawing.StiVertAlignment,j=t.Report.Components.StiText,G=t.Base.Drawing.StiBrush,H=t.Report.Components.StiPointPrimitive,Q=t.Base.Drawing.StiSolidBrush,L=t.Base.Drawing.StiEmptyBrush,Y=t.Report.Components.IStiTextOptions,U=t.Base.Drawing.StiBorderSide,J=t.System.Text.StringBuilder,W=t.Base.Drawing.StiAdvancedBorder,V=t.Report.Components.IStiIgnoreBorderWhenExport,z=t.Report.Components.IStiExportImage,X=t.Report.Components.IStiExportImageExtended,K=t.System.Text.Encoding,Z=t.Base.Drawing.StiTextRenderer,q=t.Report.Components.IStiText,$=t.Report.Components.StiRichText,tt=t.Report.Components.StiTextQuality,et=t.System.Drawing.ColorTranslator,rt=t.System.IO.MemoryStream,nt=t.Base.Drawing.StiHtmlState,it=t.Base.Drawing.StiHtmlTagsState,ot=t.System.Guid,at=t.Report.Chart.IStiChart,st=t.Report.Maps.StiMapHelper,lt=t.Report.Components.StiImageRotation,ut=function(ut){function pt(){var t=ut.call(this)||this;return t.renderedPagesCount=0,t.currentPassNumber=0,t.maximumPassNumber=0,t.clearOnFinish=!0,t.tableRender=null,t.htmlWriter=null,t.zip=null,t.fileName="",t.startPage=0,t.imageNumber=1,t.zoom=.75,t.useStylesTable=!0,t.isFileStreamMode=!0,t.imageQuality=.75,t.imageResolution=96,t.compressToArchive=!1,t.useEmbeddedImages=!1,t.openLinksTarget=null,t.chartType=r.StiHtmlChartType.Image,t.strSpanDiv="span",t.hyperlinksToTag=null,t.chartData=new I,t.hashBookmarkGuid=null,t.renderStyles=!0,t.styles=null,t.insertInteractionParameters=!1,t.totalPageWidth=0,t.totalPageHeight=0,t.renderAsDocument=!0,t.removeEmptySpaceAtBottom=StiOptions.Export.Html.removeEmptySpaceAtBottom,t.pageHorAlignment=F.Center,t}return __extends(pt,ut),Object.defineProperty(pt.prototype,"exportFormat",{get:function(){if(this.exportSettings.stimulsoft.is(r.StiHtmlExportSettings)){var t=this.exportSettings.htmlType;if(t==r.StiHtmlType.Html5)return e.StiExportFormat.Html5;if(t==r.StiHtmlType.Mht)return e.StiExportFormat.Mht}return e.StiExportFormat.Html},enumerable:!1,configurable:!0}),pt.prototype.exportTo=function(e,n,i){this.exportSettings=i;var o=i.stimulsoft.as(r.StiHtmlExportSettings),a,s;(null!=o?o.htmlType:r.StiHtmlType.Html)==r.StiHtmlType.Html5?(new t.Report.Export["StiHtml5ExportService"]).exportHtml(e,n,o):this.exportHtml(e,n,o)},pt.prototype.exportToAsync=function(e,r,n,i){var o=this;t.Report.Export.StiExportImageHelper.convertAllImages(r,t.System.Drawing.Imaging.ImageFormat.Png).try((function(){setTimeout((function(){o.exportTo(r,n,i),null!=r&&null!=r.preparedExportImages&&(r.preparedExportImages.clear(),r.preparedExportImages=null),st.renderOnlineMap(n).try((function(){return e()}))}))}))},Object.defineProperty(pt.prototype,"multipleFiles",{get:function(){return!1},enumerable:!1,configurable:!0}),pt.getFontScale=function(t,e){var r=t+"*"+e.toString(),n=this.fontScale.get(r);if(null==n){var i=new R(t,e),a;n=o.measureString("H",i).height/e*.75*.97,this.fontScale.set(r,n)}return n},pt.prototype.addCoord=function(t){this.coordX[t.left]=t.left,this.coordY[t.top]=t.top,this.coordX[t.right]=t.right,this.coordY[t.bottom]=t.bottom},pt.prototype.formatCoords=function(t){var e,r,i,o,a=new n;try{for(var s=__values(this.coordX.getKeys()),l=s.next();!l.done;l=s.next()){var u;null!=(u=l.value)&&(a[u]=Math.round2(t.unit.convertToHInches(this.coordX[u])*this.zoom*.75,2))}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}this.coordX=a;var c=new n;try{for(var p=__values(this.coordY.getKeys()),h=p.next();!h.done;h=p.next()){var u;null!=(u=h.value)&&(c[u]=Math.round2(t.unit.convertToHInches(this.coordY[u])*this.zoom*.75,2))}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}this.coordY=c},pt.prototype.formatCoord=function(t){return Math.round2(t,2).toString()+"pt"},pt.prototype.formatColor=function(t){if(t.a<255&&t.a>0)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('<div style="'),this.htmlWriter.writeStyleAttribute("width",s),this.htmlWriter.writeStyleAttribute("height",l);var u=t.horAlignment,c=t.vertAlignment;switch(t.imageRotation){case lt.Rotate90CW:c=t.horAlignment==F.Left?_.Bottom:t.horAlignment==F.Right?_.Top:_.Center,u=t.vertAlignment==_.Top?F.Left:t.vertAlignment==_.Bottom?F.Right:F.Center;break;case lt.Rotate90CCW:c=t.horAlignment==F.Left?_.Top:t.horAlignment==F.Right?_.Bottom:_.Center,u=t.vertAlignment==_.Top?F.Right:t.vertAlignment==_.Bottom?F.Left:F.Center;break;case lt.Rotate180:t.horAlignment==F.Left?u=F.Right:t.horAlignment==F.Right&&(u=F.Left),t.vertAlignment==_.Top?c=_.Bottom:t.vertAlignment==_.Bottom&&(c=_.Top);break;case lt.FlipHorizontal:t.horAlignment==F.Left?u=F.Right:t.horAlignment==F.Right&&(u=F.Left);break;case lt.FlipVertical:t.vertAlignment==_.Top?c=_.Bottom:t.vertAlignment==_.Bottom&&(c=_.Top);break}if(t.imageRotation==lt.Rotate90CCW||t.imageRotation==lt.Rotate90CW){this.htmlWriter.write('"><div style="'),this.htmlWriter.writeStyleAttribute("width",l),this.htmlWriter.writeStyleAttribute("height",s);var p=t.componentToPage(t.clientRectangle),h=this.coordY[p.bottom]-this.coordY[p.top],m,f=(this.coordX[p.right]-this.coordX[p.left]-h)/2;this.htmlWriter.writeStyleAttribute("position","relative"),this.htmlWriter.writeStyleAttribute("left",this.formatCoord(f)),this.htmlWriter.writeStyleAttribute("top",this.formatCoord(-f)),this.htmlWriter.writeStyleAttribute("transform","rotate("+(t.imageRotation==lt.Rotate90CCW?"-":"")+"90deg)")}this.htmlWriter.writeStyleAttribute("background-repeat","no-repeat"),this.htmlWriter.writeStyleAttribute("background-size",t.aspectRatio?"contain":"100% 100%"),this.htmlWriter.writeStyleAttribute("background-position",F[u].toLowerCase()+" "+_[c].toLowerCase()),this.htmlWriter.writeStyleAttribute("background-image","url("+r.StiHtmlTable.stringToUrl(o)+")"),t.imageRotation==lt.FlipHorizontal?this.htmlWriter.writeStyleAttribute("transform","scaleX(-1)"):t.imageRotation==lt.FlipVertical?this.htmlWriter.writeStyleAttribute("transform","scaleY(-1)"):t.imageRotation==lt.Rotate180&&this.htmlWriter.writeStyleAttribute("transform","scale(-1)"),t.imageRotation==lt.Rotate90CCW||t.imageRotation==lt.Rotate90CW?this.htmlWriter.write('"></div>'):this.htmlWriter.write('">'),this.htmlWriter.write("</div>")}else this.htmlWriter.writeBeginTag('div style="'),this.htmlWriter.writeStyleAttribute("display","table-cell"),this.htmlWriter.writeStyleAttribute("max-width",this.getWidth(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('<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'),this.htmlWriter.writeLine("\x3c!-- "+t.StiVersion.platform()+" --\x3e"),this.htmlWriter.writeLine('<html xmlns="http://www.w3.org/1999/xhtml">'),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("title"),this.htmlWriter.write(this.report.reportAlias),this.htmlWriter.writeEndTag("title"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("meta"),this.htmlWriter.writeAttribute("http-equiv","Content-Type"),this.htmlWriter.writeAttribute("content",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("<style>"),this.htmlWriter.writeLine("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+c+") format('truetype');font-weight: normal;font-style: normal;}"),this.htmlWriter.writeLine("</style>"),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;i<n.length;i++){var o=n[i],s="";s=r.containsKey(o.title)?a.format("Page {0}",r.get(o.title)+1):"Page 0",this.htmlWriter.writeLine(a.format("bmrk.add({0}, {1}, '{2}', '{3}', '{4}');",i,o.parent,o.title,o.url,s))}this.htmlWriter.writeLine("document.write(bmrk);"),this.htmlWriter.writeLine("//--\x3e"),this.htmlWriter.indent--,this.htmlWriter.writeEndTag("script"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.indent--},pt.prototype.addBookmarkNode=function(t,e,r){var n=new ct;n.parent=e;var i=t.text.stimulsoft.replaceAll("'","\\'").stimulsoft.replaceAll("\r","").stimulsoft.replaceAll("\n","");n.title=i,n.url="#"+i,n.used=!0,r.push(n);var o=r.length-1;if(0!=t.bookmarks.count)for(var a=0;a<t.bookmarks.count;a++)this.addBookmarkNode(t.bookmarks.getByIndex(a),o,r)},pt.prototype.prepareTextForHtml=function(t,e){if(void 0===e&&(e=!0),null==t)return null;var r=new J;if(e)for(var n=t.split("\n"),i=0;i<n.length;i++){var o=n[i],a=0;while(a<o.length&&" "==o.charAt(a))a++;if(a>0){for(var s=0;s<a;s++)r.append(" ");r.append(o.substr(a))}else r.append(o);i<n.length-1&&r.append("<br>")}else t=(t=t.stimulsoft.replaceAll("\r","")).stimulsoft.replaceAll("\n","<br>"),r.append(t);return r.toString()},pt.convertTextWithHtmlTagsToHtmlText=function(t,e,r){if(!a.isNullOrEmpty(e)&&e.stimulsoft.startsWith("<StiHtmlJs>"))return e.substring("<StiHtmlJs>".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.length;d++){var g=s[d],S=g.ts;if(S.bold!=f.bold&&m.append(S.bold?"<b>":"</b>"),S.italic!=f.italic&&m.append(S.italic?"<i>":"</i>"),S.underline!=f.underline&&m.append(S.underline?"<u>":"</u>"),S.strikeout!=f.strikeout&&m.append(S.strikeout?"<s>":"</s>"),S.superscript!=f.superscript&&m.append(S.superscript?"<sup>":"</sup>"),S.subsript!=f.subsript&&m.append(S.subsript?"<sub>":"</sub>"),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("</font>"),h=!1,y.length>0&&(h=!0,m.append(a.format('<font style="{0}">',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("</font>"),f.bold!=i.bold&&m.append(i.bold?"<b>":"</b>"),f.italic!=i.italic&&m.append(i.italic?"<i>":"</i>"),f.underline!=i.underline&&m.append(i.underline?"<u>":"</u>"),f.strikeout!=i.strikeout&&m.append(i.strikeout?"<s>":"</s>"),f.superscript!=i.superscript&&m.append(i.superscript?"<sup>":"</sup>"),f.subsript!=i.subsript&&m.append(i.subsript?"<sub>":"</sub>"),l.toString()},pt.getParagraphString=function(t,e,r,n,i,o){var s=new J;s.append("<p "),s.append('style="margin:0px;');var l=i?"right":"left";return e==M.Center&&(l="center"),e==M.Right&&(l=i?"left":"right"),e==M.Width&&(l="justify"),s.append(a.format("text-align:{0};",l)),r!=n&&s.append(a.format("line-height:{0}em;",Math.round2(r*this.getFontScale(o.name,o.size),2))),s.append('">'),s.append(t),s.append("</p>"),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("<div class='stiWatermarkText' style=\"{0} position: absolute; pointer-events: none; filter: alpha(Opacity={2}); opacity: {1}; -moz-opacity: {1}; -khtml-opacity: {1}; color: {5}; min-width: 100%; text-align: center; z-index: {8}; margin-left: {3}; margin-top: {4}; transform: translate(-50%,-50%) rotate(-{6}deg); top:{9}px;\">{7}</div>",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("<div class='stiWatermarkImage' style=\"position: absolute; pointer-events: none; width: {0}px; height: {1}px; left: 0px; top: {5}px; right: 0px; bottom: 0px; z-index: {2}; background-image: url({3}); {4};\"></div>",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.right<Mt.left||jt.left>Mt.right||jt.bottom<Mt.top||jt.top>Mt.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;Zt<Kt.length;Zt++){var qt;if(Kt[Zt].toLowerCase().stimulsoft.startsWith("css"))if((qt=r.StiMatrix.getStringsFromTag(Kt[Zt],3)).length>1){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;ee<A.count;ee++){var St=A.getByIndex(ee);this.renderWatermarkImage(this.htmlWriter,St,te),this.renderWatermarkText(this.htmlWriter,St,te),te+=St.unit.convertRectangleToHInches(St.clientRectangle).height}if(lt&&(this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="dtreeframe" style="'),this.htmlWriter.writeStyleAttribute("position","absolute"),ct||this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*.75)),this.renderBookmarkTree(o.bookmark,ut,mt),this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine()),ct||this.renderPage(A,lt,ut),this.renderAsDocument||Pt.renderStyles(lt,ct,Lt),!ct)try{for(var re=__values(A.list),ne=re.next();!ne.done;ne=re.next()){var St=ne.value;if(this.isStopped)return;var yt=St.getComponents(),Mt=St.unit.convertRectangleToHInches(St.clientRectangle),ie=0;try{for(var oe=(nt=void 0,__values(yt.list)),ae=oe.next();!ae.done;ae=oe.next()){var Rt,vt=Rt=ae.value,jt,se=(jt=St.unit.convertRectangleToHInches(vt.displayRectangle)).multiply(this.zoom),Gt=!0;if(vt.is(H)&&(Gt=!1),(jt.right<Mt.left||jt.left>Mt.right||jt.bottom<Mt.top||jt.top>Mt.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<fe.sort.length;de+=2)fe.sort[de+1]==vt.interaction.getSortColumnsString()&&l.write(a.format(' sort="{0}"',fe.sort[de].toLowerCase()))}}!vt.interaction.drillDownEnabled||null==vt.interaction.drillDownPage&&a.isNullOrEmpty(vt.interaction.drillDownReport)||(null!=vt.interaction.drillDownPage&&l.write(a.format(' pageguid="{0}"',vt.interaction.drillDownPage.guid)),a.isNullOrEmpty(vt.interaction.drillDownReport)||l.write(a.format(' reportfile="{0}"',vt.interaction.drillDownReport)),l.write(a.format(' pageindex="{0}"',vt.page.report.renderedPages.indexOf(vt.page).toString())),l.write(a.format(' compindex="{0}"',vt.page.components.indexOf(vt).toString())));var ge=vt.interaction.stimulsoft.as(y);if(null!=ge&&ge.collapsingEnabled&&vt.is(b)){var ce=vt;l.write(a.format(' collapsed="{0}"',g.isCollapsed(ce,!1).toString().toLowerCase())),l.write(a.format(' compindex="{0}"',ce.collapsingIndex.toString()))}}if(null!=Rt.page&&Rt.is(d)&&Rt.editable){var Se=new J,ye=Rt.page.components.indexOf(Rt);Se.appendFormat("{0};",ye);var Ae=Rt.as(f),be,ve;if(null!=Ae){var Ce=T.transparent;Ae.textBrush.is(Q)?Ce=Ae.textBrush.color:Ae.textBrush.is(m)||Ae.textBrush.is(h)?Ce=Ae.textBrush.startColor:Ae.textBrush.is(p)?Ce=Ae.textBrush.color:Ae.textBrush.is(c)&&(Ce=Ae.textBrush.foreColor),Se.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",Ae.checkedValue,t.Report.Components.StiCheckStyle[Ae.checkStyleForFalse],t.Report.Components.StiCheckStyle[Ae.checkStyleForTrue],Ae.contourColor.r,Ae.contourColor.g,Ae.contourColor.b,Ae.size,Ce.r,Ce.g,Ce.b)}null!=Rt.as(j)&&Se.appendFormat("Text"),null!=Rt.as($)&&Se.appendFormat("RichText"),l.write(a.format(' editable="{0}"',Se.toString()))}}l.write(' style="'),vt.is(j)&&vt.vertAlignment!=_.Top&&this.exportSettings.exportMode==r.StiHtmlExportMode.Table&&(l.writeStyleAttribute("display","table"),l.writeStyleAttribute("border-spacing","0px")),vt.is(k)&&vt.vertAlignment!=_.Top&&this.exportSettings.exportMode==r.StiHtmlExportMode.Table&&(l.writeStyleAttribute("display","table"),l.writeStyleAttribute("border-spacing","0px")),l.write("");var we=this.renderPosition(vt,!0);this.useStylesTable||(-1!=ue&&Pt.renderStyle(zt),a.isNullOrEmpty($t)||l.writeLine(Lt.get($t)+";overflow:hidden;"));var Dt=vt.as(at),Be=vt.as(t.Report.Components.Gauge.IStiGauge),Ie=vt.as(t.Report.Maps.StiMap);if(null!=Dt&&this.chartType!=r.StiHtmlChartType.Image)l.write('" '),l.writeAttribute("id",this.getGuid(Dt)),he=this.renderHyperlink(vt),this.prepareChartData(l,Dt,se.width,se.height),he&&l.writeEndTag("a");else if(null!=Be)l.write('" '),l.writeAttribute("id",this.getGuid(Be)),l.write(">"),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('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',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('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',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("<br>"),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('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg); ">{4}</div>',this.strSpanDiv,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;He<this.tableRender.matrix.coordY.countItems;He++)for(var Qe=1;Qe<this.tableRender.matrix.coordX.countItems;Qe++)if(!Ge[He-1][Qe-1]){var Le=this.tableRender.matrix.cells[He-1][Qe-1];if(null!=Le){for(var Ye=0;Ye<=Le.height;Ye++)for(var Ue=0;Ue<=Le.width;Ue++)Ge[He-1+Ye][Qe-1+Ue]=!0;if(null!=Le.component){var Xt=Le.component.tagValue;if(!a.isNullOrEmpty(Xt))for(var Kt=r.StiMatrix.splitTag(Xt),Zt=0;Zt<Kt.length;Zt++){var qt;if(Kt[Zt].toLowerCase().stimulsoft.startsWith("css"))if((qt=r.StiMatrix.getStringsFromTag(Kt[Zt],3)).length>1){var $t=qt[0].trim();Lt.set($t,qt[1].trim());break}}}}}for(var te=0,ee=0;ee<A.count;ee++){var St=A.getByIndex(ee);this.renderWatermarkImage(l,St,te),this.renderWatermarkText(l,St,te),te+=St.unit.convertRectangleToHInches(St.clientRectangle).height}if(this.renderAsDocument&&this.renderStartDoc(this.tableRender,!0,lt,ct,wt,Lt,A,u.encoding),!this.renderAsDocument&<&&this.renderBookmarkScript(),lt&&(this.htmlWriter.writeBeginTag("table"),this.pageHorAlignment!=F.Left&&this.htmlWriter.writeAttribute("width","100%"),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),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('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg);">{4}</div>',this.strSpanDiv,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;a<this.arabicTableSize;a++){var s=o.arabicTable[a][0];i[s][0]=o.arabicTable[a][1],i[s][1]=o.arabicTable[a][2],i[s][2]=o.arabicTable[a][3],i[s][3]=o.arabicTable[a][4],i[s][4]=o.arabicTable[a][5]}for(var a=1424;a<=1535;a++)i[a][0]=1,i[a][1]=a;for(var a=64285;a<=64335;a++)i[a][0]=1,i[a][1]=a;o.arabicTableArray=i}}return o.prototype.convert=function(r,n){var a=new i;if(r.length>0){if(n){var s=0,l=new i;if(t.System.Char.isDigit(r.charAt(0))){var u=new i,c=0;while(c<r.length&&(t.System.Char.isDigit(r.charAt(c))||-1!=this.stSeparator.indexOf(r.charAt(c))))u.append(r.charAt(c)),c++;"."==r.charAt(c-1)&&(u.length--,u.insert(0,"."));while(c<r.length&&(32==r.charCodeAt(c)||160==r.charCodeAt(c)))c++,a.insert(0," ");a.append(u),s=c}while(s<r.length){var p=r.charCodeAt(s);if(o.symbolIsArabicOrHebrew(p)||this.symbolIsRTLMark(p)){if(!this.symbolIsRTLMark(p)){var h=l.length,m=-1,f=-1;while(s>0&&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=++s<r.length?r.charCodeAt(s):0;var y=s;g>S&&(y=g+1);var A=new i;for(s=d;s<y;s++)p=r.charCodeAt(s),this.symbolIsBidiMark(p)||A.append(r.charAt(s));s--,a.insert(0,l.toString()),a.insert(0,this.convertArabic(A)),l=new i}else this.symbolIsBidiMark(p)||l.append(String.fromCharCode(p));s++}a.insert(0,l.toString())}else{var s=0;while(s<r.length){var p=r.charCodeAt(s);if(o.symbolIsArabicOrHebrew(p)&&!t.System.Char.isDigit(String.fromCharCode(p))){var A=new i;while(o.symbolIsArabicOrHebrew(p)||p>=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=++s<r.length?r.charCodeAt(s):0;s--;while(32==r.charCodeAt(s)||160==r.charCodeAt(s))s--,A.length--;a.append(this.convertArabic(A))}else this.symbolIsBidiMark(p)||a.append(String.fromCharCode(p));s++}}if(this.modePdf&&StiOptions.Export.Pdf.convertDigitsToArabic&&n)return new i(e.StiExportUtils.convertDigitsToArabic(a.toString(),StiOptions.Export.Pdf.arabicDigitsType));this.modePdf}return a},o.prototype.convertArabic=function(e){var r=new i,n=0;while(n<e.length){var a;switch(o.arabicTableArray[e.charCodeAt(n)][0]){case 3:var s=new i;s.append(e.charAt(n));while(n+1<e.length&&3==o.arabicTableArray[e.charCodeAt(n+1)][0])n++,s.append(e.charAt(n));if(n+1<e.length&&2==o.arabicTableArray[e.charCodeAt(n+1)][0]&&(n++,s.append(e.charAt(n))),1==s.length)r.append(String.fromCharCode(o.arabicTableArray[s.charCodeAt(0)][1]));else{if(r.append(String.fromCharCode(o.arabicTableArray[s.charCodeAt(0)][3])),s.length>2)for(var l=1;l<s.length-1;l++)r.append(String.fromCharCode(o.arabicTableArray[s.charCodeAt(l)][4]));r.append(String.fromCharCode(o.arabicTableArray[s.charCodeAt(s.length-1)][2]))}break;case 2:case 1:r.append(String.fromCharCode(o.arabicTableArray[e.charCodeAt(n)][1]));break;default:r.append(e.charAt(n));break}n++}var u=new i;u=r
|
||
;for(var c=0;c<this.ligaturesTableSize;c++)u=u.replace(o.ligaturesTable[c][0],o.ligaturesTable[c][1]);var p=new i,h=u.length-1;while(h>=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<t.length;i++){var o=t.charCodeAt(i);o>=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;i<t.length;i++){var a=t.charCodeAt(i);10==a?(r.push(this.trimEndWhiteSpace2(n,e)),n=""):e&&o.isControl(t,i)&&9!=a||(n+=t.charAt(i))}return n.length>0&&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="iVBORw0KGgoAAAANSUhEUgAAAd8AAAGNCAYAAABQRnukAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAxNzowMjowNSAwMjoyODo0OXhS4H0AABHRSURBVHhe7d0LktvIsYbRkZcy+1/TbEVuWA1Pq0USIFC"+"PzKxzIhzWDYct4hH/10Xp2j9+fvgLABjmP5//DAAMIr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCfPPPP//87x/Qi/gCfPE1ugJML+IL8OlRbAWYHsQX4MOryAowrYkvsLwzcRVgWhJfYGnvRFWAaUV8gW"+"VdiakA04L4Aku6E1EB5i7xBZbTIp4CzB3iCyylZTQFmKvEF1hGj1gKMFeIL7CEnpEUYN4lvkB5I+IowLxDfIHSRkZRgDlLfIGyZsRQgDlDfIGSZkZQgDkivkA5EeInwLwivkApkaInwDwjvkAZEWMnwDwivgCdCTDfiS9Qxt9///35q3gEmK/EFyhFgMlAfIFyBJjoxBcoSYCJTHyBsgSYqMQXK"+"E2AiUh8gfIEmGjEF1iCABOJ+ALLEGCiEF9gKQJMBOILLEeAmU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P6UdOPkainS5u9Ya6ezK6gBRLOiQTJ7ZYAXmhlRjD4fRdOhEX8b5I9S5jULFJnVeFbWZwFeP8qtWMZLYWgveBFXe6vRkn8faUlVwxXxr8sLZWdCad1UskFpwSEh0A5WPm6AYuQAIAKQlItawh/eXe7EJymZ/ubkgoUePTVAZAKSV1EqsZ8in/eWUlHVwLIPWACCtpFYJQXB4Q63wJiigVgCQgIrYj2wGZBOUHj2KoDJvBX4f5HH0wMDAvVb27TMbj3bp0UNz/SZK65rgJii8Ur4CWvNeoMzrFEgffDOAmvuCOTdkHqIHUKwggmNHAMDxCMABAAmqDPt8ffglKABIYKMHbgXv8vk2nGyCAgGAtJRaDfh8G6z95SAAkMBQKz/nym5/OQgAxLfo0RMAapUFagUACSI4wgFIzPH+8jXQBgAkiDIUAGoF7SQ+yv8CDAAQoXsgf0PrrgAAAABJRU5ErkJggg==",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("<div"),StiOptions.Export.Html.useExtendedStyle){e.writeAttribute("class","sBaseStyleFix");var M=C.style.get("Font"),_=C.style.get("text-decoration"),j=C.style.get("color");a.isNullOrEmpty(M)||(N="Font:"+M+";"),a.isNullOrEmpty(_)||(N+="text-decoration:"+_+";"),a.isNullOrEmpty(j)||(N+="color:"+j+";")}(C.style.containsKey("width")||C.style.containsKey("height")||null!=N)&&(e.write(' style="'),C.style.containsKey("width")&&e.writeStyleAttribute("width",C.style.get("width")),C.style.containsKey("height")&&e.writeStyleAttribute("height",C.style.get("height")),a.isNullOrEmpty(N)||e.write(N),e.write('"')),e.write(">"),null==B&&null==I||(e.write("<div "),StiOptions.Export.Html.useExtendedStyle&&e.write('class="sBaseStyleFix" '),e.write('style="'),e.writeStyleAttribute("display","table-cell"),null!=B&&(e.writeStyleAttribute("height",C.style.get("height")),e.writeStyleAttribute("vertical-align",B)),null!=I&&(e.writeStyleAttribute("width",C.style.get("width")),e.writeStyleAttribute("text-align",I)),a.isNullOrEmpty(N)||e.write(N),e.write('">')),(null!=w||T)&&(e.write("<div "),StiOptions.Export.Html.useExtendedStyle&&e.write('class="sBaseStyleFix" '),e.write('style="'),null!=w&&e.writeStyleAttribute("margin",w),T&&e.writeStyleAttribute("width",C.style.get("width")),a.isNullOrEmpty(N)||e.write(N),e.write('">'))}if(null!=D)if(D.stretch||D.imageRotation!=O.None)if(D.aspectRatio||D.imageRotation!=O.None){e.write('<div style="'),e.writeStyleAttribute("width",C.width.toString()),e.writeStyleAttribute("height",C.height.toString());var Y=D.horAlignment,U=D.vertAlignment;switch(D.imageRotation){case O.Rotate90CW:U=D.horAlignment==R.Left?v.Bottom:D.horAlignment==R.Right?v.Top:v.Center,Y=D.vertAlignment==v.Top?R.Left:D.vertAlignment==v.Bottom?R.Right:R.Center;break;case O.Rotate90CCW:U=D.horAlignment==R.Left?v.Top:D.horAlignment==R.Right?v.Bottom:v.Center,Y=D.vertAlignment==v.Top?R.Right:D.vertAlignment==v.Bottom?R.Left:R.Center;break;case O.Rotate180:D.horAlignment==R.Left?Y=R.Right:D.horAlignment==R.Right&&(Y=R.Left),D.vertAlignment==v.Top?U=v.Bottom:D.vertAlignment==v.Bottom&&(U=v.Top);break;case O.FlipHorizontal:D.horAlignment==R.Left?Y=R.Right:D.horAlignment==R.Right&&(Y=R.Left);break;case O.FlipVertical:D.vertAlignment==v.Top?U=v.Bottom:D.vertAlignment==v.Bottom&&(U=v.Top);break}if(D.imageRotation==O.Rotate90CCW||D.imageRotation==O.Rotate90CW){e.write('"><div style="'),e.writeStyleAttribute("width",C.height.toString()),e.writeStyleAttribute("height",C.width.toString());var J=(C.width.value-C.height.value)/2;e.writeStyleAttribute("position","relative"),e.writeStyleAttribute("left",G.newUnit(J).toString()),e.writeStyleAttribute("top",G.newUnit(-J).toString()),e.writeStyleAttribute("transform","rotate("+(D.imageRotation==O.Rotate90CCW?"-":"")+"90deg)")}e.writeStyleAttribute("background-repeat","no-repeat"),e.writeStyleAttribute("background-size",D.aspectRatio?"contain":"100% 100%"),e.writeStyleAttribute("background-position",R[Y].toLowerCase()+" "+v[U].toLowerCase()),e.writeStyleAttribute("background-image","url("+t.stringToUrl(D.imageUrl)+")"),D.imageRotation==O.FlipHorizontal?e.writeStyleAttribute("transform","scaleX(-1)"):D.imageRotation==O.FlipVertical?e.writeStyleAttribute("transform","scaleY(-1)"):D.imageRotation==O.Rotate180&&e.writeStyleAttribute("transform","scale(-1)"),D.imageRotation==O.Rotate90CCW||D.imageRotation==O.Rotate90CW?e.write('"></div>'):e.write('">'),e.write("</div>")}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('<div style="'),e.writeStyleAttribute("height",C.height.toString()),e.writeStyleAttribute("width",C.width.toString()),e.writeStyleAttribute("display","table-cell"),e.writeStyleAttribute("text-align",R[D.horAlignment].toLowerCase()),e.writeStyleAttribute("vertical-align",v[D.vertAlignment].toLowerCase().stimulsoft.replaceAll("center","middle")),e.write('">'),e.write('<div style="'),e.writeStyleAttribute("max-height",C.height.toString()),e.writeStyleAttribute("max-width",C.width.toString()),e.writeStyleAttribute("overflow","hidden"),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('" /></div></div>')}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("</div>")):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("</div>"),null==B&&null==I||e.write("</div>"),e.write("</div>")),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("</"+t+">")),this.mode=W.Data},t.prototype.writeFullEndTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("</"+t+">"),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<this.indent;t++)this.stream.write("\t")},t}();r.StiHtmlTextWriter=V;var z=function(){function R(t,e,n){this.htmlExport=null,this.htmlExportSettings=null,this.matrix=new r.StiMatrix(n,!1,t,t.styles),this.htmlExport=t,this.htmlExportSettings=e}return R.prototype.renderStyle=function(e){this.htmlExport.renderBackColor(null,e.color),this.htmlExport.renderTextColor(null,e.textColor),this.htmlExport.renderFont(null,e.font),this.htmlExport.renderBorder3(null,e.border,"top"),this.htmlExport.renderBorder3(null,e.borderL,"left"),this.htmlExport.renderBorder3(null,e.borderR,"right"),this.htmlExport.renderBorder3(null,e.borderB,"bottom",e.borderRadius),this.htmlExport.renderTextDirection(null,e.textOptions),this.htmlExport.renderTextHorAlignment(null,e.textOptions,e.horAlignment),this.htmlExportSettings.exportMode==r.StiHtmlExportMode.Table&&this.htmlExport.renderVertAlignment(null,e.vertAlignment),e.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),e.overflow&&this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=e.textOptions&&e.textOptions.trimming!=t.System.Drawing.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;"),1!=e.lineSpacing&&this.htmlExport.htmlWriter.write(a.format("line-height:{0}em;",Math.round2(r.StiHtmlExportService.getFontScale(e.font.name,e.font.size)*e.lineSpacing,2)))},R.prototype.renderStyleTable=function(e,n){this.htmlExport.renderBackColor(e,n.color),this.htmlExport.renderTextColor(e,n.textColor),this.htmlExport.renderFont(e,n.font),null==e&&this.htmlExport.htmlWriter.write("border:0px;"),this.htmlExport.renderBorder3(e,n.border,"top"),this.htmlExport.renderBorder3(e,n.borderL,"left"),this.htmlExport.renderBorder3(e,n.borderR,"right"),this.htmlExport.renderBorder3(e,n.borderB,"bottom"),this.htmlExport.renderTextDirection(e,n.textOptions),this.htmlExport.renderTextHorAlignment(e,n.textOptions,n.horAlignment),this.htmlExport.renderVertAlignment(e,n.vertAlignment,n.textOptions),null==e?(n.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),1!=n.lineSpacing&&this.htmlExport.htmlWriter.write(a.format("line-height:{0}em;",Math.round2(r.StiHtmlExportService.getFontScale(n.font.name,n.font.size)*n.lineSpacing,2))),StiOptions.Export.Html.useStrictTableCellSize?(n.wordWrap?this.htmlExport.htmlWriter.write("word-wrap:break-word;"):this.htmlExport.htmlWriter.write("white-space:nowrap;"),this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=n.textOptions&&n.textOptions.trimming!=t.System.Drawing.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;")):!n.wordWrap&&StiOptions.Export.Html.useWordWrapBreakWordMode&&this.htmlExport.htmlWriter.write("word-wrap:break-word;")):(n.absolutePosition&&(e.style["position"]="absolute"),1!=n.lineSpacing&&e.style.set("line-height",a.format("line-height:{0}em;",Math.round2(r.StiHtmlExportService.getFontScale(n.font.name,n.font.size)*n.lineSpacing,2))),StiOptions.Export.Html.useStrictTableCellSize?(n.wordWrap?e.style.set("word-wrap","break-word"):e.style.set("white-space","nowrap"),e.style.set("overflow","hidden"),null!=n.textOptions&&n.textOptions.trimming!=t.System.Drawing.StringTrimming.None&&e.style.set("text-overflow","ellipsis;")):!n.wordWrap&&StiOptions.Export.Html.useWordWrapBreakWordMode&&e.style.set("word-wrap","break-word"))},R.prototype.renderStyles=function(e,r,n){var i,o,a,s;this.htmlExport.htmlWriter.writeLine('<style type="text/css">');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;p<this.matrix.styles.length;p++){var h=this.matrix.styles[p];this.htmlExport.htmlWriter.write(".s"+h.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyle(h),this.htmlExport.htmlWriter.writeLine("}")}if(null!=n&&n.count>0)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("</style>")},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('<style type="text/css">'),this.htmlExport.htmlWriter.writeLine(t.System.Drawing.Graphics.getCustomFontsCss()),StiOptions.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!r&&this.htmlExport.useStylesTable)for(var s=0;s<this.matrix.styles.length;s++){var l=this.matrix.styles[s];this.htmlExport.htmlWriter.write(".s"+l.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyleTable(null,l),this.htmlExport.htmlWriter.writeLine("}")}if(null!=i&&i.count>0)try{for(var u=__values(i.keys),c=u.next();!c.done;c=u.next()){var p=c.value;this.htmlExport.htmlWriter.writeLine("."+p+" {"+i.get(p)+";}")}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.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;}"))),n&&this.htmlExport.htmlWriter.writeLine("</style>")},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<this.matrix.coordY.countItems-1;ut++){if(this.htmlExport.invokeExporting2(ut,this.matrix.coordY.countItems,2,3),this.htmlExport.isStopped)return;var ct=this.getHeight(tt,rt,ut,this.htmlExport.zoom),pt=new U;pt.height=G.newUnit(ct,StiOptions.Export.Html.printLayoutOptimization),q.rows.push(pt);for(var ht=[I.transparent],mt=0;mt<this.matrix.coordX.countItems-1;mt++){if(!nt[mt][ut]){var ft=new Y;pt.cells.push(ft);var dt=this.getWidth($,et,mt,this.htmlExport.zoom),gt=ct,St=this.matrix.cells[ut][mt];if(null!=St){this.htmlExportSettings.addPageBreaks&&(null!=St.component&&St.component.page!=lt&&null!=lt&&pt.style.set(J.pageBreakBeforeKey,"always"),lt=St.component.page);var yt=null!=St.text?St.text:"",At=St.component.as(A);null!=At&&StiOptions.Export.Html.convertDigitsToArabic&&At.textOptions.rightToLeft;var bt=!0;if(null!=St.component){var vt=St.component.as(b);null!=vt&&vt.checkAllowHtmlTags()&&(yt=r.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(vt,yt,this.htmlExport.zoom),bt=!1),StiOptions.Export.Html.forceWysiwygWordwrap&&null!=vt&&!vt.checkAllowHtmlTags()&&vt.textQuality==D.Wysiwyg&&null!=At&&At.textOptions.wordWrap}StiOptions.Export.Html.replaceSpecialCharacters&&bt&&(yt=yt.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").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;Et<mt+It;Et++)for(var Rt=ut;Rt<ut+Tt;Rt++)nt[Et][Rt]=!0;if(It>1&&(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;xt<It;xt++)ht[mt+xt]=wt.color}if(null!=St.component){var Ft=St.component.tagValue;if(!a.isNullOrEmpty(Ft))for(var Nt=this.matrix.splitTagWithCache(Ft),kt=0;kt<Nt.length;kt++)if(Nt[kt].toLowerCase().stimulsoft.startsWith("css")){var Mt=r.StiMatrix.getStringsFromTag(Nt[kt],3);if(Mt.length>1&&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;Ot<It;Ot++)dt+=this.getWidth($,et,mt+Ot,this.htmlExport.zoom);if(Tt>1)for(var _t=1;_t<Tt;_t++)gt+=this.getHeight(tt,rt,ut+_t,this.htmlExport.zoom);ft.width=G.newUnit(dt,StiOptions.Export.Html.printLayoutOptimization),ft.height=G.newUnit(gt,StiOptions.Export.Html.printLayoutOptimization)}if(this.htmlExport.insertInteractionParameters&&null!=St.component&&!St.component.report.isDocument&&(this.matrix.isComponentHasInteraction(St.component)||this.matrix.interactions[ut][mt][1]>0)){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<Qt.sort.length;Lt+=2)Qt.sort[Lt+1]==jt.interaction.getSortColumnsString()&&(ft.sortDirection=Qt.sort[Lt].toLowerCase())}}!jt.interaction.drillDownEnabled||null==jt.interaction.drillDownPage&&a.isNullOrEmpty(jt.interaction.drillDownReport)||(null!=jt.interaction.drillDownPage&&(ft.pageGuid=jt.interaction.drillDownPage.guid),a.isNullOrEmpty(jt.interaction.drillDownReport)||(ft.reportFile=jt.interaction.drillDownReport),ft.pageIndex=jt.page.report.renderedPages.indexOf(jt.page).toString(),ft.componentIndex=jt.page.components.indexOf(jt).toString(),ft.drillDownMode=i.getName(n,jt.interaction.drillDownMode));var Yt=jt.interaction.stimulsoft.as(P);if(null!=Yt&&Yt.collapsingEnabled&&jt.is(x)){var Ut=jt;ft.collapsed=N.isCollapsed(Ut,!1).toString().toLowerCase(),ft.componentIndex=Ut.collapsingIndex.toString()}}var Jt=null,Wt=null,Vt=null,zt=null,Xt=!1,Kt=!1,Zt=!1,qt=!1,$t=St.exportImage;if(null!=St.component){if(Jt=St.component.hyperlinkValue,Wt=St.component.toolTipValue,Vt=St.component.bookmarkValue,!a.isNullOrWhiteSpace(Jt)&&Jt.stimulsoft.startsWith("##")&&(Jt=Jt.substr(1)),a.isNullOrEmpty(Vt))for(var te=0;te<=St.height;te++){for(var ee=!1,re=0;re<=St.width;re++){var ne=this.matrix.bookmarks[ut+te][mt+re];if(!a.isNullOrEmpty(ne)){Vt=ne,ee=!0;break}}if(ee)break}if(!a.isNullOrWhiteSpace(St.component.guid)&&this.htmlExport.hashBookmarkGuid.containsKey(St.component.guid)&&(zt=St.component.guid),StiOptions.Export.Html.allowStrippedImages&&null==$t){var ie=St.component.as(F);null!=ie&&ie.stimulsoft.is(k)&&(!ie.isExportAsImage(e.StiExportFormat.HtmlTable)||null!=At&&0!=At.textOptions.angle||($t=ie))}var oe,ae,se,le;null!=St.component.as(t.Report.Chart.IStiChart)&&this.htmlExport.chartType!=r.StiHtmlChartType.Image&&(Xt=!0),null!=St.component.as(t.Report.Components.StiSparkline)&&this.htmlExport.chartType!=r.StiHtmlChartType.Image&&(Kt=!0),null!=St.component.as(t.Report.Components.Gauge.IStiGauge)&&this.htmlExport.chartType!=r.StiHtmlChartType.Image&&(Zt=!0),null!=St.component.as(t.Report.Maps.StiMap)&&this.htmlExport.chartType!=r.StiHtmlChartType.Image&&(qt=!0);var ue=St.component.as(f);if(null!=ue&&ue.editable){var ce=new g,pe=St.component.page.components.indexOf(St.component);ce.appendFormat("{0};",pe);var he=St.component.as(d),me,fe;if(null!=he){var de=I.transparent;he.textBrush.is(l)?de=he.textBrush.color:he.textBrush.is(h)||he.textBrush.is(p)?de=he.textBrush.startColor:he.textBrush.is(c)?de=he.textBrush.color:he.textBrush.is(u)&&(de=he.textBrush.foreColor),ce.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",he.checkedValue,t.Report.Components.StiCheckStyle[he.checkStyleForFalse],t.Report.Components.StiCheckStyle[he.checkStyleForTrue],he.contourColor.r,he.contourColor.g,he.contourColor.b,he.size,de.r,de.g,de.b)}null!=St.component.as(b)&&ce.appendFormat("Text"),null!=St.component.as(s)&&ce.appendFormat("RichText"),ft.editable=ce.toString()}}var ge=!0;if(a.isNullOrEmpty(Vt)&&a.isNullOrEmpty(zt))if(Xt&&this.htmlExportSettings.chartType==r.StiHtmlChartType.AnimatedVector){var Se;if(a.isNullOrEmpty(Jt))ft.toolTip=Wt;else(Se=new Q).toolTip=Wt,Se.navigateUrl=Jt,Se.openLinksTarget=this.htmlExport.openLinksTarget,Se.style.set("display","block"),ft.controls.push(Se);ft.id=this.htmlExport.getGuid(St.component),ft.text=this.htmlExport.prepareChartData(null,St.component.as(_),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.prepareGaugeData(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('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',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('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',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('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',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;_e<ht.length-1;_e++)if(!ht[_e].equals(ht[_e+1])){bt=!1;break}bt&&pt.style.set("background-color",this.htmlExport.formatColor(ht[0]))}}q.renderControl(this.htmlExport.htmlWriter)},R}();r.StiHtmlTableRender=z}(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.Collections.List,i=t.System.StiArray,o=t.System.StiObject,a=t.System.StiString,s=t.Report.Components.StiRoundedRectanglePrimitive,l=t.System.Drawing.Rectangle,u=t.System.Collections.Hashtable,c=t.System.Drawing.Font,p=t.Report.Components.IStiFont,h=t.Report.Components.IStiBorder,m=t.Report.Components.IStiBrush,f=t.Report.Components.IStiTextBrush,d=t.Report.Components.IStiTextHorAlignment,g=t.Report.Components.IStiHorAlignment,S=t.Report.Components.IStiVertAlignment,y=t.Report.Components.StiLinePrimitive,A=t.Base.Drawing.StiBorderSides,b=t.System.Drawing.Rectangle,v=t.Base.Drawing.StiTextHorAlignment,C=t.Base.Drawing.StiPenStyle,w=t.Base.Drawing.StiVertAlignment,B=t.Report.Components.StiText,I=t.Base.Drawing.StiBrush,T=t.Report.Components.StiPointPrimitive,E=t.Report.Components.IStiTextOptions,R=t.Base.Drawing.StiBorderSide,D=t.Report.Components.StiRectanglePrimitive,P=t.Report.Components.StiRichText,x=t.Report.Components.StiVerticalLinePrimitive,F=t.Report.Components.StiHorizontalLinePrimitive,N=t.Report.Export.StiExportDataType,k=t.System.Drawing.Color,M=t.System.Text.StringBuilder,O=t.Base.Drawing.StiAdvancedBorder,_=t.Report.Components.IStiText,j=t.Report.Components.StiShape,G=t.Report.Components.StiPrimitive,H=t.Report.Components.StiCheckBox,Q=t.Report.Components.StiSimpleText,L=t.Report.Components.StiContainer,Y=t.System.Char,U=t.Report.Components.StiBandInteraction,J=t.Base.Drawing.StiTextRenderer,W=t.Report.Components.StiCheckStyle,V=t.System.Drawing.FontStyle,z=t.Report.BarCodes.StiBarCode,X;!function(t){t[t["Empty"]=0]="Empty",t[t["Unknown"]=1]="Unknown",t[t["PageHeader"]=2]="PageHeader",t[t["PageFooter"]=3]="PageFooter",t[t["HeaderAP"]=4]="HeaderAP",t[t["FooterAP"]=5]="FooterAP",t[t["HeaderD"]=6]="HeaderD",t[t["FooterD"]=7]="FooterD",t[t["Data"]=8]="Data",t[t["Trash"]=9]="Trash"}(X=r.StiTableLineInfo||(r.StiTableLineInfo={}));var K=function(){function K(o,s,l,p,h,m){var f,d,g,S,b,C,B,I,E,P;void 0===h&&(h=r.StiDataExportMode.AllBands),void 0===m&&(m=!1),this.totalHeight=0,this.totalWidth=0,this.styles=[],this.coordX=new n,this.coordY=new n,this.linePlacement=null,this.parentBandName=null,this.bordersX=null,this.bordersY=null,this.horizontalPageBreaks=[],this.cellStyles=null,this.bookmarks=null,this.interactions=null,this.maxRowHeight=200,this._defaultLinePrimitiveWidth=1,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.imagesBaseRect=null,this.leftCached=new u,this.topCached=new u,this.xcHash=new u,this.ycHash=new u,this.tagSplitCache=new u,this.stylesCache=new u,this.fontsCache=new u,this.createdCells=[],this.borderSides=[],this.exportFormat=e.StiExportFormat.Excel,this.isHtmlService=!1,this.isHtmlOrExcelXmlService=!1,this.isHtmlPngMode=!1,this.report=null,this.pages=null,this.addComponentWithInteractions=!1,this.replaceCheckboxes=!1,this.hyperlinksToTag=null,this.maxCoordY=0,this.defaultLinePrimitiveWidth=0,this.fields=null,this.dataArrayLength=0,this.fieldsList=null,this.sizeX=0,this.sizeY=0,this.htName=null,this.lastPage=null,this.lastPageId=-1,this.lastComps=null,this.report=o.report,this.pages=o,this.exportFormat=l.exportFormat;var x=this.exportFormat==e.StiExportFormat.Dbf||this.exportFormat==e.StiExportFormat.Csv||this.exportFormat==e.StiExportFormat.Xml;this.isHtmlService=l.stimulsoft.is(r.StiHtmlExportService),this.isHtmlOrExcelXmlService=this.isHtmlService||l.stimulsoft.is(r.IStiExcelXmlExportService),this.isHtmlPngMode=this.isHtmlService&&l.stimulsoft.as(r.StiHtmlExportService).imageFormat==e.ImageFormat.Png,this.isHtmlService&&(this.addComponentWithInteractions=l.insertInteractionParameters),l.stimulsoft.is(r.IStiExcel2007ExportService)&&(this.replaceCheckboxes=!0),l.stimulsoft.is(r.IStiWord2007ExportService)&&(this.replaceCheckboxes=!0);var F=-1;null!=p&&(this.styles=p,F=p.length);var N=i.create(Number,o.count+1),M=i.create(Number,o.count+1),O=0,_=0;this.maxCoordY=0;var j=!1;this.defaultLinePrimitiveWidth=this._defaultLinePrimitiveWidth/(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleY:1),l.stimulsoft.is(r.IStiExcel2007ExportService)&&(this.bookmarksTable=new u);var G=!0;l.stimulsoft.is(r.IStiWord2007ExportService)&&(G=l.stimulsoft.as(t.Report.Export.IStiWord2007ExportService).removeEmptySpaceAtBottom),l.stimulsoft.is(r.IStiExcel2007ExportService)&&(G=StiOptions.Export.Excel.RemoveEmptySpaceAtBottom),l.stimulsoft.is(r.StiHtmlExportService)&&(G=l.removeEmptySpaceAtBottom),this.hyperlinksToTag=new u;var H=0,Q=0;try{for(var Y=__values(o.list),U=Y.next();!U.done;U=Y.next()){var J=U.value;if(o.getPage(J),l.invokeExporting(J,o,l.currentPassNumber,l.maximumPassNumber),l.isStopped)return;var W=this.coordY.countItems;N[O]=this.totalHeight,M[O]=_,O++;var V=J.unit.convertRectangleToHInches(J.clientRectangle),z;if(null!=J.border&&J.border.side!=A.None)(z=new L).displayRectangle=J.clientRectangle,this.addCoord(J.unit.convertRectangleToHInches(z.displayRectangle));(G||H==o.count-1&&!this.isHtmlService)&&(V.height=0),this.addCoord(V),V=J.unit.convertRectangleToHInches(J.clientRectangle);try{for(var X=(g=void 0,__values(J.components.list)),Z=X.next();!Z.done;Z=X.next()){var q;if((q=Z.value).enabled&&(!j||q.printable)){var $;($=J.unit.convertRectangleToHInches(q.displayRectangle)).height<0&&($.y+=$.height,$.height=Math.abs($.height));var tt=!0;if(q.is(T)&&(tt=!1),($.right<V.left||$.left>V.right||$.bottom<V.top||$.top>V.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;ot<nt.length;ot++)this.topCached.set(this.coordY.getByIndex(ot,nt),ot);for(var at=0;at<it.length;at++)this.leftCached.set(this.coordX.getByIndex(at,it),at);this.cells=i.create2(r.StiCell,nt.length,it.length),this.bordersX=i.create2(R,nt.length,it.length),this.bordersY=i.create2(R,nt.length,it.length),this.bookmarks=i.create2(String,nt.length,it.length),this.cellsMap=i.create2(r.StiCell,nt.length,it.length),this.coordXCheck=i.create(Boolean,it.length),this.coordYCheck=i.create(Boolean,nt.length),this.coordXNew=i.create(Number,it.length),this.coordYNew=i.create(Number,nt.length),this.coordXPrim=i.create(Number,it.length),this.coordYPrim=i.create(Number,nt.length),this.imagesBaseRect=new u,O=0,this.addComponentWithInteractions&&(this.interactions=i.create3(Number,nt.length,it.length,2));var st=null;H=0;var lt=this.coordY.countItems,ut;try{for(var ct=__values(o.list),pt=ct.next();!pt.done;pt=ct.next()){var J=pt.value,z;if(o.getPage(J),l.invokeExporting(J,o,l.currentPassNumber+1,l.maximumPassNumber),l.isStopped)return;if(this.totalHeight=N[O++],null!=J.border&&J.border.side!=A.None)(z=new L).displayRectangle=J.clientRectangle,z.border=J.border,z.brush=J.brush,z.page=J,this.renderComponent(z,x,!0,l.exportServiceId);var V=J.unit.convertRectangleToHInches(J.clientRectangle);try{for(var ht=(B=void 0,__values(J.components.list)),mt=ht.next();!mt.done;mt=ht.next()){var q;if((q=mt.value).enabled&&(!j||q.printable)){var $;($=J.unit.convertRectangleToHInches(q.displayRectangle)).height<0&&($.y+=$.height,$.height=Math.abs($.height));var tt=!0;q.is(T)&&(tt=!1),($.right<V.left||$.left>V.right||$.bottom<V.top||$.top>V.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;St<it.length;St++)this.coordXNew[St]=gt,St<it.length-1&&this.coordX.getByIndex(St+1,it)-this.coordX.getByIndex(St,it)<1.1&&1==this.coordXPrim[St]&&(this.coordXCheck[St]=!0,gt++);nt=this.coordY.getKeys();for(var yt=0,St=0;St<nt.length;St++)this.coordYNew[St]=yt,St<nt.length-1&&this.coordY.getByIndex(St+1,nt)-this.coordY.getByIndex(St,nt)<1.1&&1==this.coordYPrim[St]&&(this.coordYCheck[St]=!0,yt++);if(!0&&(yt>0||gt>0)){for(var At=i.create2(Boolean,nt.length,it.length),ot=0;ot<nt.length-1;ot++)for(var at=0;at<it.length-1;at++){var bt=this.coordXNew[at],vt=this.coordYNew[ot],Ct=this.cells[ot][at];this.bordersX[ot-vt][at-bt]=this.bordersX[ot][at],this.bordersY[ot-vt][at-bt]=this.bordersY[ot][at];var wt=this.bookmarks[ot][at];if(this.bookmarks[ot-vt][at-bt]=wt,this.setBookmarkValue(ot-vt,at-bt,wt),this.addComponentWithInteractions&&(this.interactions[ot-vt][at-bt][0]=this.interactions[ot][at][0],this.interactions[ot-vt][at-bt][1]=this.interactions[ot][at][1]),null!=Ct&&0==At[ot][at]){for(var Bt=0;Bt<=Ct.height;Bt++)for(var It=0;It<=Ct.width;It++)At[ot+Bt][at+It]=!0,0==Bt&&0==It||(this.cells[ot+Bt][at+It]=null);1==this.coordXCheck[at]||1==this.coordYCheck[ot]?(this.cells[ot][at]=null,Ct=null):(Ct.width-=this.coordXNew[at+Ct.width+1]-bt,Ct.height-=this.coordYNew[ot+Ct.height+1]-vt,Ct.left-=bt,Ct.top-=vt),(bt>0||vt>0)&&(this.cells[ot-vt][at-bt]=Ct,this.cells[ot][at]=null,Ct=null)}}for(var St=0;St<it.length-1;St++){var bt=this.coordXNew[St];this.bordersX[nt.length-1-yt][St-bt]=this.bordersX[nt.length-1][St]}for(var St=0;St<nt.length-1;St++){var vt=this.coordYNew[St];this.bordersY[St-vt][it.length-1-gt]=this.bordersY[St][it.length-1]}for(var St=this.coordX.countItems-1-1;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;Mt<Et-1;Mt++)for(var Ot=1;Ot<Tt;Ot++)if(0==At[Mt-1][Ot-1]){var _t=this.cells[Mt-1][Ot-1];if(null!=_t){for(var Bt=0;Bt<=_t.height;Bt++)for(var It=0;It<=_t.width;It++)At[Mt-1+Bt][Ot-1+It]=!0;for(var jt=!0,Gt=!0,St=0;St<_t.height+1;St++)null==this.bordersY[_t.top+St][_t.left]&&(jt=!1),null==this.bordersY[_t.top+St][_t.left+_t.width+1]&&(Gt=!1);for(var Ht=!0,Qt=!0,St=0;St<_t.width+1;St++)null==this.bordersX[_t.top][_t.left+St]&&(Ht=!1),null==this.bordersX[_t.top+_t.height+1][_t.left+St]&&(Qt=!1);this.styles=Pt;var kt=_t.cellStyle;this.styles=Dt;var Lt=r.StiCellStyle.getStyleFromCache(kt.color,kt.textColor,kt.font,kt.horAlignment,kt.vertAlignment,Ht?this.bordersX[_t.top][_t.left]:null,jt?this.bordersY[_t.top][_t.left]:null,Gt?this.bordersY[_t.top][_t.left+_t.width+1]:null,Qt?this.bordersX[_t.top+_t.height+1][_t.left]:null,kt.textOptions,kt.wordWrap,kt.format,kt.internalStyleName,kt.lineSpacing,this.stylesCache,this.styles,this.fontsCache,kt,!1,kt.overflow,kt.borderRadius);this.cellStyles[Mt-1][Ot-1]=Lt}else{var jt=!0,Gt=!0;null==this.bordersY[Mt-1][Ot-1]&&(jt=!1),null==this.bordersY[Mt-1][Ot-0]&&(Gt=!1);var Ht=!0,Qt=!0;if(null==this.bordersX[Mt-1][Ot-1]&&(Ht=!1),null==this.bordersX[Mt-0][Ot-1]&&(Qt=!1),jt||Gt||Ht||Qt){var Lt=r.StiCellStyle.getStyleFromCache(k.transparent,k.black,Rt,v.Center,w.Center,Ht?this.bordersX[Mt-1][Ot-1]:null,jt?this.bordersY[Mt-1][Ot-1]:null,Gt?this.bordersY[Mt-1][Ot-0]:null,Qt?this.bordersX[Mt-0][Ot-1]:null,null,!1,null,null,1,this.stylesCache,this.styles,this.fontsCache,null,!1,!0,0);this.cellStyles[Mt-1][Ot-1]=Lt}}}this.checkStylesNames()}lt=this.coordY.countItems,nt=this.coordY.getKeys();var Yt=o.count;if(Yt>1)for(var Ut=1,ot=0;ot<lt;ot++)for(var Jt=this.coordY.getByIndex(ot,nt),Wt=Ut;Wt<Yt;Wt++)if(M[Wt]==Jt){this.horizontalPageBreaks.push(ot),Ut=Wt+1;break}}return K.prototype.setBookmarkValue=function(e,r,n){if(null==this.bookmarksTable||null==n)return;if(this.bookmarksTable.containsKey(n)){var i=this.bookmarksTable.get(n);(e<i.height||e==i.height&&r<i.width)&&this.bookmarksTable.set(n,new t.System.Drawing.Size(r,e))}else this.bookmarksTable.set(n,new t.System.Drawing.Size(r,e))},K.sortForMatrix=function(t){var e,r,a,s,l,u,c=new n;try{for(var p=__values(t.sort(i.numberSortFunction)),h=p.next();!h.done;h=p.next()){var m;null!=(m=h.value)&&(c[m]=m)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}var f=[];try{for(var d=__values(o.getOwnPropertyNames(t)),g=d.next();!g.done;g=d.next()){var S=g.value,y=S.stimulsoft.toNumber();y<0&&(f[0-y]=t[S])}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}try{for(var A=__values(f.sort(i.numberSortFunction)),b=A.next();!b.done;b=A.next()){var m;null!=(m=b.value)&&(c[m]=m)}}catch(t){l={error:t}}finally{try{b&&!b.done&&(u=A.return)&&u.call(A)}finally{if(l)throw l.error}}return c},K.prototype.round=function(t){return Math.round(t)},K.prototype.addCoord=function(t){this.addCoord2(t.left,t.top+this.totalHeight),this.addCoord2(t.right,t.bottom+this.totalHeight)},K.prototype.addCoord2=function(t,e,r){void 0===r&&(r=!0),e>this.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;e<t.length;e++){var r=this.coordY.getByIndex(e,t)-this.coordY.getByIndex(e-1,t);r=this.round(r);var n=this.maxRowHeight;if(r>n){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;a<this.coordX.countItems;a++){var s=this.coordX.getByIndex(a,o)-this.coordX.getByIndex(a-1,o),l=1900;if((s=this.round(s))>l){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(gt<rt.length&&Y.isDigit(rt[gt]))St.append(rt[gt]),gt++;st=parseInt(St.toString())}gt<rt.length&&"G"==rt[gt]&&(gt++,lt=3),gt<rt.length&&"("==rt[gt]&&(gt++,pt=!0),gt<rt.length&&("."==rt[gt]||","==rt[gt])&>++,gt<rt.length&&("+"==rt[gt]||"-"==rt[gt])&&("+"==rt[gt]&&(ct=!0),++gt<rt.length&&(ut=rt[gt]))}if(nt||it||ot)if(-1!=dt){var yt=new M;lt>1&&(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;pt<rt;pt++)for(var ht=N.y;ht<it;ht++)this.cellsMap[ht][pt]=lt,Y&&(this.bookmarks[ht][pt]=M,this.setBookmarkValue(ht,pt,M)),ot&&(this.interactions[ht][pt][0]=at,this.interactions[ht][pt][1]=st);t.is(x)?0==this.coordXPrim[lt.left]&&(this.coordXPrim[lt.left]=1):this.coordXPrim[lt.left]=-1,t.is(F)?0==this.coordYPrim[lt.top]&&(this.coordYPrim[lt.top]=1):this.coordYPrim[lt.top]=-1}if(U){var mt=Q.size,ft=new R(Q.color,mt,Q.style),dt=Q.stimulsoft.as(O),gt=K.staticRectanglePrimitive;if(t.is(x)&&(N.x+=1),t.is(F)&&(N.y+=1),t.is(D)&&(N.x+=1,N.y+=1,gt=t.as(D)),et=N.left,rt=N.right,nt=N.top,it=N.bottom,null!=dt&&(ft=dt.topSide),Q.isTopBorderSidePresent&&ft.style!=C.None&>.topSide)for(var St=et;St<rt;St++)null!=this.bordersX[nt][St]?this.bordersX[nt][St].size<=mt&&(this.bordersX[nt][St]=ft):this.bordersX[nt][St]=ft;if(null!=dt&&(ft=dt.bottomSide),Q.isBottomBorderSidePresent&&ft.style!=C.None&>.bottomSide)for(var St=et;St<rt;St++)null!=this.bordersX[it][St]?this.bordersX[it][St].size<=mt&&(this.bordersX[it][St]=ft):this.bordersX[it][St]=ft;if(null!=dt&&(ft=dt.leftSide),Q.isLeftBorderSidePresent&&ft.style!=C.None&>.leftSide)for(var St=nt;St<it;St++)null!=this.bordersY[St][et]?this.bordersY[St][et].size<=mt&&(this.bordersY[St][et]=ft):this.bordersY[St][et]=ft;if(null!=dt&&(ft=dt.rightSide),Q.isRightBorderSidePresent&&ft.style!=C.None&>.rightSide)for(var St=nt;St<it;St++)null!=this.bordersY[St][rt]?this.bordersY[St][rt].size<=mt&&(this.bordersY[St][rt]=ft):this.bordersY[St][rt]=ft}}},K.prototype.getCellRectangle=function(t,e,r){var n=t,i=e,o=t,a=e;while(n<=r.width&&this.cellsMap[i+r.top][n+r.left]!=r)n++;if(n>r.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;u<o;u++)if(this.cellsMap[a+r.top][u+r.left]!=r){s=!0;break}s||a++}return new l(n,i,o-n,a-i)},K.prototype.cutRectangleFromCellsMap=function(t,e){for(var r=t.left;r<t.right;r++)for(var n=t.top;n<t.bottom;n++)this.cellsMap[e.top+n][e.left+r]=null},K.prototype.isComponentHasInteraction=function(t){if(this.addComponentWithInteractions&&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(U)&&t.interaction.collapsingEnabled)return!0}return!1},K.prototype.scanComponentsPlacement=function(e,r){void 0===r&&(r=!1);var n=this.coordY.countItems,o=this.coordX.countItems;this.linePlacement=i.create(Number,n),this.parentBandName=i.create(String,n);for(var a=0;a<n-1;a++){for(var s=this.linePlacement[a],l=new M,c=!1,p=0,h=1;h<o;h++){var m=this.cells[a][h-1];if(null!=m&&!m.component.is(t.Report.CrossTab.StiCrossColumnTotal)){var f=m.component.componentPlacement;null==f&&(f="");var d=f.indexOf("Hd_HPnl");-1!=d&&(f=f.substr(0,d+7)),c||(f.stimulsoft.startsWith("d")?s=X.Data:f.stimulsoft.startsWith("h.ap")?s=X.HeaderAP:f.stimulsoft.startsWith("f.ap")?s=X.FooterAP:f.stimulsoft.startsWith("h")?s=X.HeaderD:f.stimulsoft.startsWith("f")?s=X.FooterD:f.stimulsoft.startsWith("gh")?s=X.HeaderD:f.stimulsoft.startsWith("gf")?s=X.FooterD:f.stimulsoft.startsWith("ph")?(s=X.PageHeader,c=!0):f.stimulsoft.startsWith("pf")&&(s=X.PageFooter,c=!0)),""!=f&&s==X.Empty&&(s=X.Unknown),0==l.length&&l.append(f+String.fromCharCode(31)),1==l.length&&l.toString()[0]==String.fromCharCode(31)&&""!=f&&l.insert(0,f),s!=X.HeaderD&&s!=X.HeaderAP||null==m.text||l.append(m.text);var g=m.height;r||(g=0);for(var S=0;S<=g;S++)this.linePlacement[a+S]=s,this.parentBandName[a+S]=l.toString();g>p&&(p=g)}}this.linePlacement[a]=s}if(e){for(var y=new u,A=null,b=0;b<n-1;b++)if(this.linePlacement[b]==X.HeaderAP){var v=this.parentBandName[b],C,w;if(-1!=(C=v.indexOf("")))(w=v.substr(0,C))!=A&&(A=w,y.clear());if(y.containsKey(v)){this.linePlacement[b]=X.Trash;while(b+1<n-1&&this.linePlacement[b+1]==X.HeaderAP&&this.parentBandName[b+1]==v)b++,this.linePlacement[b]=X.Trash}else{y.add(v,v);while(b+1<n-1&&this.linePlacement[b+1]==X.HeaderAP&&this.parentBandName[b+1]==v)b++}}var B=new u;A=null;for(var b=n-1-1;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;a<n-1;a++)if(this.linePlacement[a]==X.PageHeader||this.linePlacement[a]==X.PageFooter||this.linePlacement[a]==X.Trash){var T=0;while(a+T>0&&this.linePlacement[a+T-1]==X.Empty)T--,this.linePlacement[a+T]=this.linePlacement[a];T=0;while(a+T<n-1&&this.linePlacement[a+T+1]==X.Empty)T++,this.linePlacement[a+T]=this.linePlacement[a]}}},K.prototype.processIntersectedCells=function(t){var e,r,n,i,o,a;if(null==t)return;var s=this.coordX,l=this.coordY,u=s.getKeys(),c=l.getKeys();try{for(var p=__values(t),h=p.next();!h.done;h=p.next()){var m=h.value;if(0!=m.width||0!=m.height){var f=0,d=0,g=this.getCellRectangle(f,d,m);if(g.width==m.width+1&&g.height==m.height+1){this.cutRectangleFromCellsMap(g,m);continue}for(var S=[],y=0;y<=m.height;y++){if(1==this.coordYPrim[m.top+y])continue;for(var A=0;A<=m.width;){if(1==this.coordXPrim[m.left+A]){A++;continue}if(0==(g=this.getCellRectangle(A,y,m)).width){A=m.width+1;continue}this.cutRectangleFromCellsMap(g,m);var b=m.clone();b.left=m.left+g.x,b.top=m.top+g.y,b.width=g.width-1,b.height=g.height-1,this.cells[b.top][b.left]=b,S.push(b),A+=g.width}}if(S.length>0){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<T*E&&(v=T*E,C=I)}}catch(t){n={error:t}}finally{try{B&&!B.done&&(i=w.return)&&i.call(w)}finally{if(n)throw n.error}}try{for(var R=(o=void 0,__values(S)),D=R.next();!D.done;D=R.next()){var P=D.value;P!=C&&(P.text="",P.exportImage=null)}}catch(t){o={error:t}}finally{try{D&&!D.done&&(a=R.return)&&a.call(R)}finally{if(o)throw o.error}}}}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}t.stimulsoft.clear()},K.prototype.splitTagWithCache=function(t){var e=this.tagSplitCache.get(t);if(null!=e)return e;var r=K.splitTag(t);return this.tagSplitCache.set(t,r),r},K.splitTag=function(t){var e=t;e.stimulsoft.endsWith(";")||(e+=";");var r=[],n=new M,i=0,o=!1;while(i<e.length){var a=e.charAt(i);if(i++,'"'==a&&(o&&'"'==e.charAt(i)?(n.append(a),i++):o=!o),";"==a&&!o||i>=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(n<t.length&&'"'!=t.charAt(n))n++;var i=new M,o=!1;while(n<t.length){var a=t.charAt(n);if(n++,'"'==a){if(o){if(n<t.length&&'"'==t.charAt(n)){i.append(a),n++;continue}r.push(i.toString()),i=new M,o=!1;continue}o=!0;continue}o&&i.append(a)}i.length>0&&r.push(i.toString());var s=[];return r.stimulsoft.copyTo(s),s},K.prototype.copyFieldsListToFields=function(){this.fields=[];for(var t=0;t<this.fieldsList.length;t++)this.fields[t]=this.fieldsList[t]},K.prototype.prepareDocument=function(n,i){this.sizeX=this.coordX.countItems-1,this.sizeY=this.coordY.countItems-1;for(var o=0,s=0;s<this.sizeY;s++)((i&r.StiDataExportMode.Data)>0&&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;s<this.sizeX;s++)this.fieldsList.push(new Z(o));this.copyFieldsListToFields();for(var l=0;l<this.sizeX;l++)this.fields[l].name="FIELD"+l.stimulsoft.toStringFormat("D4");var c="",p=!1;switch(n.exportFormat){case e.StiExportFormat.Csv:c="csv";break;case e.StiExportFormat.Dbf:c="dbf";break;case e.StiExportFormat.Xml:c="xml";break}var h=0;this.htName=new u;for(var m=0;m<this.sizeY;m++){var f;if((i&r.StiDataExportMode.Data)>0&&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;l<this.sizeX;l++){var d=this.cells[m][l];if(null!=d){var g=null==d.component.tagValue?"":d.component.tagValue.toString(),S=null;if(a.isNullOrEmpty(g)||(S=this.splitTagWithCache(g)),null!=S)for(var s=0;s<S.length;s++)if(S[s].toLowerCase().stimulsoft.startsWith("column")){var y=K.getStringsFromTag(S[s],6);if(y.length>1){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;C<S.length;C++){var w=S[C].trim();if(w.toLowerCase().stimulsoft.startsWith(c)||w.toLowerCase().stimulsoft.startsWith("default")){var I=w.indexOf('"');if(-1==I)throw new Error("Name of DataColumn not found in property: "+v);I++;var T=w.indexOf('"',I)-I;if(!(T>0))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&&x<D&&(this.fields[l].info[2]=x)}catch(e){t.System.StiError.showError(e,!1),x=0}}}this.fields[l].readyType=!0}}var F=d.component.as(P),k=d.component.as(H),M=d.text;if(!a.isNullOrWhiteSpace(M)){var O=d.component.as(B);null==O||a.isNullOrWhiteSpace(O.format)||"g"==O.format||-1==M.indexOf(" ")||(M=M.stimulsoft.replaceAll(" "," "))}if(null==M&&(M=""),null!=k&&null!=k.checkedValue){var _=!1,j=!1;k.checkedValue.stimulsoft.is(Boolean)&&(k.checkedValue?_=!0:j=!0),k.checkedValue.stimulsoft.is(String)&&("True"==k.checkedValue?_=!0:j=!0),_&&(M=StiOptions.Export.checkBoxTextForTrue),j&&(M=StiOptions.Export.checkBoxTextForFalse)}a.isNullOrEmpty(M)||(M=n.exportFormat==e.StiExportFormat.Xml?M.stimulsoft.replaceAll("\r",""):(M=M.stimulsoft.replaceAll("\n"," ")).stimulsoft.replaceAll("\r",""),n.exportFormat==e.StiExportFormat.Dbf&&M.length>254&&(M=M.substr(0,254))),this.fields[l].dataArray[h]=M}else this.fields[l].dataArray[h]=""}h++}}this.fields=[];for(var l=0;l<this.fieldsList.length;l++)this.fieldsList[l].readyName&&this.fields.push(this.fieldsList[l]);this.dataArrayLength=o},K.prototype.checkStylesNames=function(){for(var t=new u,e=0;e<this.styles.length;e++){var r=this.styles[e],n=r.styleName,i="",o=0;while(1){if(!t.contains(n+i))break;i=(++o).toString()}""!=i&&(n+=i,r.styleName=n),t.add(n,n)}},K.prototype.getRealImageData=function(t,e){if(null==t||null==t.component||null==e)return null;var r=null;if(null==(r=this.imagesBaseRect.get(t.component))||!r.stimulsoft.is(b))return null;var n=r,i=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleX:1,o=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?K.htmlScaleY:1,a=this.round(n.left*i),s=this.round(n.top*o),l=this.round(n.right*i),u=this.round(n.bottom*o),c=0,p=0,h=0,m=0;if(null==this.leftCached.get(a)?(c=this.coordX.indexOf(a),this.leftCached.set(a,c)):c=this.leftCached.get(a),null==this.topCached.get(s)?(p=this.coordY.indexOf(s),this.topCached.set(s,p)):p=this.topCached.get(s),null==this.leftCached.get(l)?(h=this.coordX.indexOf(l),this.leftCached.set(l,h)):h=this.leftCached.get(l),null==this.topCached.get(u)?(m=this.coordY.indexOf(u),this.topCached.set(u,m)):m=this.topCached.get(u),-1==c||-1==h||-1==p||-1==m)return null;if(c==t.left&&h==t.left+t.width+1&&p==t.top&&m==t.top+t.height+1)return null;var f=this.coordY.getKeys(),d=this.coordX.getKeys(),g=Math.trunc(this.coordX.getByIndex(t.left,d)),S=Math.trunc(this.coordY.getByIndex(t.top,f)),y=Math.trunc(this.coordX.getByIndex(t.left+t.width+1,d)),A=t.top+t.height+1;A>f.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;e<this.borderSides.length;e++)if(this.borderSides[e].stimulsoft.equals(t))return e+1;return this.borderSides.push(t),this.borderSides.length},K.GCCollect=function(){},K.prototype.clear=function(){this.cells=null,this.bordersX=null,this.bordersY=null,this.bookmarks=null,this.cellStyles=null,this.cellsMap=null,this.styles=null,this.coordX=null,this.coordY=null,this.linePlacement=null,this.parentBandName=null,this.horizontalPageBreaks=null,this.xcHash.clear(),this.xcHash=null,this.ycHash.clear(),this.ycHash=null,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.leftCached=null,this.topCached=null,this.tagSplitCache.clear(),this.tagSplitCache=null,this.stylesCache.clear(),this.stylesCache=null,this.fontsCache.clear(),this.fontsCache=null,this.fields=null,this.fieldsList=null,this.htName=null,this.report=null,this.lastPage=null,null!=this.lastComps&&this.lastComps.clear(),null!=this.borderSides&&this.borderSides.stimulsoft.clear(),this.borderSides=null},K.staticRectanglePrimitive=new D,K.htmlScaleX=.96,K.htmlScaleY=.956,K}();r.StiMatrix=K;var Z=function(){function t(t){this.name="",this.info=[],this.formatString="",this.dataArray=[],this.readyName=!1,this.readyType=!1}return t}();r.DataField=Z}(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){t[t["TA_LEFT"]=0]="TA_LEFT",t[t["TA_RIGHT"]=2]="TA_RIGHT",t[t["TA_CENTER"]=6]="TA_CENTER",t[t["TA_TOP"]=0]="TA_TOP",t[t["TA_BOTTOM"]=8]="TA_BOTTOM",t[t["TA_BASELINE"]=24]="TA_BASELINE",t[t["TA_NOUPDATECP"]=0]="TA_NOUPDATECP",t[t["TA_UPDATECP"]=1]="TA_UPDATECP",t[t["TA_RTLREADING"]=256]="TA_RTLREADING",t[t["TA_MASK"]=287]="TA_MASK"}(e=t.EmfTextAlignmentMode||(t.EmfTextAlignmentMode={}))}(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.Components.IStiBorder,n=t.Base.Drawing.StiBorder,i=t.Report.Components.StiHorizontalLinePrimitive,o=t.Report.Components.StiCrossLinePrimitive,a=t.Report.Components.StiImage,s=t.Report.Components.StiText,l=t.Report.Components.StiContainer,u=t.Base.Drawing.StiBorderSides,c=t.System.Drawing.Rectangle,p=t.Base.StiGuidUtils,h=t.Report.Components.StiPagesCollection,m=function(){function e(){}return e.divide=function(e,m){var f,d,g,S,y,A;void 0===m&&(m=null);var b=!1;try{for(var v=__values(e.list),C=v.next();!C.done;C=v.next()){var w;if((w=C.value).segmentPerWidth>1||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;E<w.segmentPerHeight;E++)for(var R=0;R<w.segmentPerWidth;R++){var D=w.clone(!1,!1);if(D.cacheGuid=p.newGuid(),D.segmentPerWidth=1,D.segmentPerHeight=1,m.stimulsoft.is(t.Report.Export.IStiPdfExportService)){var P=u.None;R>0&&(P|=u.Left),R<w.segmentPerWidth-1&&(P|=u.Right),E>0&&(P|=u.Top),E<w.segmentPerHeight-1&&(P|=u.Bottom),D.tagValue="Segments:"+P.toString()}var x=new c(R*D.width,E*D.height,D.width,D.height);try{for(var F=(y=void 0,__values(w.components.list)),N=F.next();!N.done;N=F.next()){var k=N.value;if(k.enabled){if(x.left<=k.left&&k.left<x.right&&x.top<=k.top&&k.top<x.bottom){var M=k.right>(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.left<x.right&&k.right>x.left&&k.top<x.bottom&&k.bottom>x.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.left<x.left&&M?(O.left=0,G.side&=u.All^u.Left):O.left-=x.left,k.right>x.right&&M?(O.width=D.width-O.left,G.side&=u.All^u.Right):O.width=k.right-(x.left+O.left),k.top<x.top&&M?(O.top=0,G.side&=u.All^u.Top):O.top-=x.top,k.bottom>x.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.currentPage<i.count&&u.addV2Internal(i.getByIndex(this.currentPage)),0!=u.count))return u;try{for(var A=__values(i.list),b=A.next();!b.done;b=A.next()){var v=b.value;u.addV2Internal(v)}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=A.return)&&l.call(A)}finally{if(s)throw s.error}}return u},i.All=new i,i}();e.StiPagesRange=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){function r(t,e){return t+" : "+e.toString()}var n=t.System.StiString,i=t.Report.Dictionary.StiBusinessObject,o=t.Report.Dictionary.StiDataSource,a=t.System.Collections.Hashtable,s=t.System.Globalization.CultureInfo,l=t.System.ResourceManager,u=t.System.Text.StringBuilder,c;!function(t){t[t["Masculine"]=0]="Masculine",t[t["Feminine"]=1]="Feminine",t[t["Neutral"]=2]="Neutral"}(c=e.Gender||(e.Gender={}));var p=function(){function t(){}return Object.defineProperty(t.prototype,"gender",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"centsGender",{get:function(){return null},enumerable:!1,configurable:!0}),t}();e.BaseCurrency=p;var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"dollars",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cents",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dollarOne",{get:function(){return this.dollars[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dollarTwo",{get:function(){return this.dollars[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dollarFive",{get:function(){return this.dollars[2]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"centOne",{get:function(){return this.cents[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"centTwo",{get:function(){return this.cents[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"centFive",{get:function(){return this.cents[2]},enumerable:!1,configurable:!0}),e}(p);e.Currency=h;var m=function(){function t(){}return t.addWord=function(t,e,r){var i=t.ref;n.isNullOrEmpty(e)||(i=i+r+e),t.ref=i},t.addWords=function(t,e,r,n,i){var o="",a={ref:o};return this.addWord(a,t," "),this.addWord(a,r," "),this.addWord(a,i," "),this.addWord(a,e," "),this.addWord(a,n," "),o=a.ref},t.determinateCurrencies=function(t,e,r,n,i,o){var a=i.ref,s=o.ref;a=r/1e6>0&&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;f<l.length;f++)m.append(l[f]),f<l.length-1&&m.append(r);return m.toString()}if(t.stimulsoft.is(i)){var d=t.stimulsoft.as(i),l=new Array,c=new a;if(!d.isEmpty&&d.count>0){d.saveState("JoinColumnContent"),d.first();var g=e.split(".");while(!d.isEof){var S=d,y=null,A=0;while(A<g.length-1){if(y=g[A],S.columns.contains(y))break;S=S.businessObjects.getByName(y),A++}var b,p=S.getByName(g[A]).toString(),h=!0;n&&(c.containsKey(p)?h=!1:c.set(p,null)),h&&l.push(p),d.next()}d.restoreState("JoinColumnContent")}for(var m=new u,f=0;f<l.length;f++)m.append(l[f]),f<l.length-1&&m.append(r);return m.toString()}return""},e.toQueryString=function(e,r,i){var o,a,s=new u,l=0;try{for(var c=__values(e),p=c.next();!p.done;p=c.next()){var h=p.value;l>0&&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);a<this.months[p].length&&(l=this.months[p][a-1]),this.defaultUpperCaseList[p]&&(l=l.substr(0,1).toUpperCase()+l.substr(1))}if(null!=n){if(n)return l.substr(0,1).toUpperCase()+l.substr(1);return l.substr(0,1).toLowerCase()+l.substr(1)}return l}return""},e.addCulture=function(t,e,r){var n,i,o=this.months.length;this.months.push(t),this.defaultUpperCaseList.push(r);try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;this.cultureIndexes.set(l.toLowerCase(),o)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e.MonthToStr=function(){var t=new Array,e=new Array,r=new a;this.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),this.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),this.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),this.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),this.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),this.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),this.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),this.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),this.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),this.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),this.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),this.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),this.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),this.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),this.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),this.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),this.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),this.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),this.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),this.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),this.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),this.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),this.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),this.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),this.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),this.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),this.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)},e.months=null,e.defaultUpperCaseList=null,e.cultureIndexes=null,e}();e.MonthToStr=S;var y=function(){function e(){}return e.dayOfWeek=function(e,r,n){if(void 0===r&&(r=null),void 0===n&&(n=null),null==r)return this.dayOfWeek(e,s.currentCulture.name.toString());if(null!=r&&r.stimulsoft.is(Boolean)){var i;if(r)switch(e.dayOfWeek){case t.System.DayOfWeek.Sunday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DaySunday");case t.System.DayOfWeek.Monday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DayMonday");case t.System.DayOfWeek.Tuesday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DayTuesday");case t.System.DayOfWeek.Wednesday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DayWednesday");case t.System.DayOfWeek.Thursday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DayThursday");case t.System.DayOfWeek.Friday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DayFriday");case t.System.DayOfWeek.Saturday:return t.Base.Localization.StiLocalization.get("A_WebViewer","DaySaturday")}return this.dayOfWeek(e,s.currentCulture.name.toString())}if(null!=r&&r.stimulsoft.is(String)){var o=r.toString(),a="";try{var l;a=s.cultures[o].dateTimeFormat.dayNames[e.dayOfWeek]}catch(r){t.System.StiError.showError(r,!1);var u=+e.dayOfWeek,c=o.toLowerCase(),p=+this.cultureIndexes.get(c);u<this.days[p].length&&(a=this.days[p][u]),this.defaultUpperCaseList[p]&&(a=a.substr(0,1).toUpperCase()+a.substr(1))}if(null!=n){if(n)return a.substr(0,1).toUpperCase()+a.substr(1);return a.substr(0,1).toLowerCase()+a.substr(1)}return a}return""},e.addCulture=function(t,e,r){var n,i,o=this.days.length;this.days.push(t),this.defaultUpperCaseList.push(r);try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;this.cultureIndexes.set(l.toLowerCase(),o)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e.DayOfWeekToStr=function(){var t=[],e=[],r=new a;this.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),this.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),this.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),this.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),this.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),this.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),this.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),this.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),this.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),this.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),this.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),this.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),this.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),this.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),this.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),this.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),this.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),this.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),this.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),this.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),this.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),this.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),this.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),this.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),this.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),this.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)},e.days=null,e.defaultUpperCaseList=null,e.cultureIndexes=null,e}();e.DayOfWeekToStr=y}(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,e,n){var i="",o="",a="",s="",l="";if(t>999999999999.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;u<n;u++)l+="0";o=l.stimulsoft.toNumber()}var c=this.numberToWords(a,i).trim(),p=this.numberToWords(o,!0).trim();return c.length>0&&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;r<t.length;r++)e+=this.numChineseCharacter[t.substr(r,1).stimulsoft.toNumber()];return e},t.convert2=function(t){var e,r;if("零"!=t.substr(0,1)){var n=t.stimulsoft.replaceAll("零","");1==n.length?e=n.substr(0,1)+"拾":(e=n.substr(0,1)+"拾",e+=n.substr(1,1))}else e=t;return e},t.convert3=function(t){var e,r;if("零零"!=t.substr(0,2))if(1==(e=t.stimulsoft.replaceAll("零零","")).length)e=e.substr(0,1)+"佰";else{var n=void 0;n="零"!=e.substr(0,1)?e.substr(0,1)+"佰":e.substr(0,1),e=n+this.convert2(e.substr(1,2))}else e=t.stimulsoft.replaceAll("零零","零");return e},t.numChineseCharacter=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],t}();t.Zh=e}(e=t.Func||(t.Func={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiGlobalizationManager="IStiGlobalizationManager"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiGlobalizationManagerList="IStiGlobalizationManagerList"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiGlobalizationProvider="IStiGlobalizationProvider"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.Report.Dictionary.StiVariable,i=t.System.Collections.Hashtable,o=t.Base.StiJson,a=function(){function t(t){void 0===t&&(t="en"),this._cultureName="",this._items=new e.StiGlobalizationItemCollection,this._cultureName=t}return t.prototype.saveToJsonObject=function(t){var e,r,n=new o;if(n.addPropertyStringNullOrEmpty("CultureName",this.cultureName),this.items.count>0){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<t.childNodes.length;i++){var o=t.childNodes[i];switch(o.nodeName){case"CultureName":this._cultureName=o.textContent;break;case"Items":try{for(var a=(r=void 0,__values(o.childNodes)),s=a.next();!s.done;s=a.next()){var l=s.value,u=new e.StiGlobalizationItem;u.loadFromXmlObject(l),this.items.add(u)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}break}}},Object.defineProperty(t.prototype,"cultureName",{get:function(){return this._cultureName},set:function(t){this._cultureName=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},set:function(t){this.items=t},enumerable:!1,configurable:!0}),t.prototype.getAllStringsForReport=function(t){var n,o,a,s,l,u,c=new i,p=t.getComponents();try{for(var h=__values(p.list),m=h.next();!m.done;m=h.next()){var f=m.value,d=f.stimulsoft.as(e.IStiGlobalizationProvider);if(null!=d){var g=d.getAllStrings();try{for(var S=(a=void 0,__values(g)),y=S.next();!y.done;y=S.next()){var A=y.value,b=r.format("{0}.{1}",f.name,A),v=d.getString(A);null!=v&&c.set(b,v)}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}try{for(var C=__values(t.dictionary.variables.list),w=C.next();!w.done;w=C.next()){var B=w.value;c.set("Variable."+B.name,B.value),B.requestFromUser&&StiOptions.Engine.Globalization.allowUseVariableAlias&&c.set("Variable."+B.name+".Alias",B.alias)}}catch(t){l={error:t}}finally{try{w&&!w.done&&(u=C.return)&&u.call(C)}finally{if(l)throw l.error}}return c.set("ReportAuthor",t.reportAuthor),c.set("ReportDescription",t.reportDescription),c.set("ReportAlias",t.reportAlias),c},t.prototype.localizeReport=function(t){var r,o,a,s,l,u=new i;try{for(var c=__values(t.dictionary.variables.list),p=c.next();!p.done;p=c.next()){var h=p.value;u.set("Variable."+h.name,h),h.requestFromUser&&StiOptions.Engine.Globalization.allowUseVariableAlias&&u.set("Variable."+h.name+".Alias",h)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}try{for(var m=__values(this.items.list),f=m.next();!f.done;f=m.next()){var d=f.value,g=d.propertyName;if("ReportAuthor"==g)t.reportAuthor=d.text;else if("ReportDescription"==g)t.reportDescription=d.text;else if("ReportAlias"==g)t.reportAlias=d.text;else if(null!=u.get(g)&&u.get(g).stimulsoft.is(n)){var h=u.get(g);g.stimulsoft.endsWith(".Alias")?h.alias=d.text:h.value=d.text}else{var S=g.indexOf(".");if(-1!=S){var y=g.substr(0,S),A=g.substr(S+1),b=null===(l=t.getComponents().getByName(y))||void 0===l?void 0:l.stimulsoft.as(e.IStiGlobalizationProvider);null!=b&&b.setString(A,d.text)}}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}},t.prototype.fillItemsFromReport=function(t){var r,n,o,a,s=this.getAllStringsForReport(t),l=new i;try{for(var u=__values(this.items.list),c=u.next();!c.done;c=u.next()){var p=c.value;l.set(p.propertyName,p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}try{for(var h=__values(s.keys),m=h.next();!m.done;m=h.next()){var f=m.value;if(null!=l.get(f))continue;this.items.add(new e.StiGlobalizationItem(f,s.get(f)))}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}},t.prototype.removeUnlocalizedItemsFromReport=function(t){var e,r,n,o,a=this.getAllStringsForReport(t),s=new i;try{for(var l=__values(this.items.list),u=l.next();!u.done;u=l.next()){var c=u.value;s.set(c.propertyName,c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}try{for(var p=__values(a.keys),h=p.next();!h.done;h=p.next()){var m=h.value,f,c;a.get(m)==(c=s.get(m)).text&&this.items.remove(c)}}catch(t){n={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}},t}();e.StiGlobalizationContainer=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.System.Collections.CollectionBase,i=t.Base.StiJson,o=function(t){function n(e){var r=t.call(this)||this;return r.report=null,r.skipException=!1,r.report=e,r}return __extends(n,t),n.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new i,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.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 n},n.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.StiGlobalizationContainer;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}}},n.prototype.loadFromXmlObject=function(t){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i=new e.StiGlobalizationContainer;i.loadFromXmlObject(n),this.list.push(i)}},n.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.cultureName.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},n.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0;r<this.list.length;r++){var n;if(this.getByIndex(r).cultureName.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},n.prototype.getShortName=function(t){var e=t.indexOf("-");return e>-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<d.items.length){var S;d.items.getByIndex(g).propertyName==h?d.items.removeAt(g):g++}}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}},n.prototype.renameComponent=function(t,n,i){var o,a,s,l,u,c,p=t.stimulsoft.as(e.IStiGlobalizationProvider);if(null!=p){var h=p.getAllStrings();try{for(var m=__values(h),f=m.next();!f.done;f=m.next()){var d=f.value,g=r.format("{0}.{1}",n,d),S=r.format("{0}.{1}",i,d);try{for(var y=(s=void 0,__values(this.list)),A=y.next();!A.done;A=y.next()){var b=A.value;try{for(var v=(u=void 0,__values(b.items.list)),C=v.next();!C.done;C=v.next()){var w=C.value;w.propertyName==g&&(w.propertyName=S)}}catch(t){u={error:t}}finally{try{C&&!C.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}}}catch(t){s={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}}},n}(n);e.StiGlobalizationContainerCollection=o}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Base.StiJson,n=function(){function e(t,e){void 0===t&&(t=""),void 0===e&&(e=""),this._propertyName="",this._text="",this._propertyName=t,this._text=e}return e.prototype.saveToJsonObject=function(t){var e=new r;return e.addPropertyStringNullOrEmpty("PropertyName",this.propertyName),e.addPropertyStringNullOrEmpty("Text",this.text),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"PropertyName":this._propertyName=o.value.toString();break;case"Text":this._text=o.value.toString();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.loadFromXmlObject=function(e){var r=e.textContent.split(",");this._propertyName=t.System.Text.XMLConvert.decodeName(r[0]),this._text=t.System.Text.XMLConvert.decodeName(r[1])},Object.defineProperty(e.prototype,"propertyName",{get:function(){return this._propertyName},set:function(t){this._propertyName=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return this.propertyName},e}();e.StiGlobalizationItem=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r,n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.compare=function(t,e){return t.propertyName.stimulsoft.compareTo(e.propertyName)},e.prototype.sort=function(){this.list.stimulsoft.sort2(this)},e}(t.System.Collections.CollectionBase);e.StiGlobalizationItemCollection=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=function(){function e(){}return e.format=function(e){var r={ref:""},n=this.format2(e,r),i=r.ref;return 0==n?"0":""==i?Math.round2(e,2).toString():""+n.toString().replace(",",".").replace(".",t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)+i},e.format2=function(t,e){return this.format3(t,e,!0)},e.format3=function(t,e,r){var n=e.ref;if(0==t)return 0;var i=!1;t<0&&(i=!0,t=Math.abs(t));var o=0,a=t,s;while(a>=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="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+t.Report.Resources.StimulsoftFont.getBase64Content()+") format('truetype');font-weight: normal;font-style: normal;}</style>",y=g.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+I+") format('truetype');font-weight: normal;font-style: normal;}</style>",E=g.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',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(h<n.bottom){while(m<n.right){var f=new Rectangle(m,h,i.width,i.height);e.drawString3(u,p,r,f,this.getStringFormatGeom(e),s),m+=i.width}m=n.x,h+=i.height}},e.drawDirectionIcons=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);if(e.pushClip(n),l){var h=n.bottom,m=n.x;while(h>n.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(m<n.right){var f=new Rectangle(m,h,i.width,i.height);e.drawString3(u,p,r,f,this.getStringFormatGeom(e),s),m+=i.width}}e.popClip()},e.getStringFormatGeom=function(t){var e=t.getDefaultStringFormat();return e.trimming=i.None,e.formatFlags|=n.MeasureTrailingSpaces|n.NoWrap,e.alignment=r.Center,e.lineAlignment=r.Center,e},e}();e.StiFontIconsHelper=A}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.getTransparentedImage=function(t,e){return null},t}();t.StiImageTransparenceHelper=e}(e=t.Helpers||(t.Helpers={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.names=t.stimulsoft.toList()}return t.prototype.ru=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.ruNames=t.stimulsoft.toList(),this},t.prototype.fr=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.frNames=t.stimulsoft.toList(),this},t.prototype.iso=function(t,e){return void 0===e&&(e=null),this.alpha2=t,this.alpha3=e,this},t}();t.StiIsoCountry=e}(e=t.Helpers||(t.Helpers={}))}(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=function(){function t(){}return Object.defineProperty(t,"countries",{get:function(){return null==this._countries&&(this._countries=new n,this.initializeCountries()),this._countries},enumerable:!1,configurable:!0}),Object.defineProperty(t,"usStates",{get:function(){return null==this._usStates&&(this._usStates=new n,this.initializeUsStates()),this._usStates},enumerable:!1,configurable:!0}),Object.defineProperty(t,"canadaProvinces",{get:function(){return null==this._canadaProvinces&&(this._canadaProvinces=new n,this.initializeCanadaProvinces()),this._canadaProvinces},enumerable:!1,configurable:!0}),Object.defineProperty(t,"brazilProvinces",{get:function(){return null==this._brazilProvinces&&(this._brazilProvinces=new n,this.initializeBrazilProvinces()),this._brazilProvinces},enumerable:!1,configurable:!0}),t.getIsoAlpha2FromName=function(t,e){void 0===e&&(e=null);var r=this.getCountryFromName(t,e);return null!=r?r.alpha2:null},t.getIsoAlpha3FromName=function(t,e){void 0===e&&(e=null);var r=this.getCountryFromName(t,e);return null!=r?r.alpha3:null},t.getCountryFromName=function(n,i){if(void 0===i&&(i=null),r.isNullOrWhiteSpace(n))return null;return n=e.StiMapKeyHelper.simplify(n),this.getCountries(i).firstOrDefault((function(e){return t.isEqual(e,n)}))},t.getCountries=function(t){if(void 0===t&&(t=null),r.isNullOrWhiteSpace(t))return this.countries;switch(t.toLowerCase()){case"world":return this.countries;case"usa":return this.usStates;case"canada":return this.canadaProvinces;case"brazil":return this.brazilProvinces;default:return this.countries}},t.isEqual=function(t,r){if(t.names.any((function(t){return e.StiMapKeyHelper.simplify(t)==r}))||e.StiMapKeyHelper.simplify(t.alpha2)==r||e.StiMapKeyHelper.simplify(t.alpha3)==r)return!0;if(null!=t.ruNames&&t.ruNames.any((function(t){return e.StiMapKeyHelper.simplify(t)==r})))return!0;if(null!=t.frNames&&t.frNames.any((function(t){return e.StiMapKeyHelper.simplify(t)==r})))return!0;return!1},t.getCountryFromAlpha3=function(t,n){if(void 0===n&&(n=null),r.isNullOrWhiteSpace(t))return null;return t=e.StiMapKeyHelper.simplify(t),this.getCountries(n).firstOrDefault((function(r){return e.StiMapKeyHelper.simplify(r.alpha3)==t}))},t.getCountryFromAlpha2=function(t,n){if(void 0===n&&(n=null),r.isNullOrWhiteSpace(t))return null;return t=e.StiMapKeyHelper.simplify(t),this.getCountries(n).firstOrDefault((function(r){return e.StiMapKeyHelper.simplify(r.alpha2)==t}))},t.initializeCountries=function(){this._countries.add(new e.StiIsoCountry("Afghanistan").ru("Афганистан").iso("AF","AFG")),this._countries.add(new e.StiIsoCountry("Åland Islands").ru("Аландские острова").iso("AX","ALA")),this._countries.add(new e.StiIsoCountry("Albania").ru("Албания").iso("AL","ALB")),this._countries.add(new e.StiIsoCountry("Algeria").ru("Алжир").iso("DZ","DZA")),this._countries.add(new e.StiIsoCountry("American Samoa").ru("Американское Самоа").iso("AS","ASM")),this._countries.add(new e.StiIsoCountry("Andorra").ru("Андорра").iso("AD","AND")),this._countries.add(new e.StiIsoCountry("Angola").ru("Ангола").iso("AO","AGO")),this._countries.add(new e.StiIsoCountry("Anguilla").ru("Ангилья").iso("AI","AIA")),this._countries.add(new e.StiIsoCountry("Antarctica").ru("Антарктида").iso("AQ","ATA")),this._countries.add(new e.StiIsoCountry("Antigua and Barbuda").ru("Антигуа и Барбуда").iso("AG","ATG")),this._countries.add(new e.StiIsoCountry("Argentina").ru("Аргентина").iso("AR","ARG")),this._countries.add(new e.StiIsoCountry("Armenia").ru("Армения").iso("AM","ARM")),this._countries.add(new e.StiIsoCountry("Aruba").ru("Аруба").iso("AW","ABW")),this._countries.add(new e.StiIsoCountry("Australia").ru("Австралия").iso("AU","AUS")),this._countries.add(new e.StiIsoCountry("Austria").ru("Австрия").iso("AT","AUT")),this._countries.add(new e.StiIsoCountry("Azerbaijan").ru("Азербайджан").iso("AZ","AZE")),this._countries.add(new e.StiIsoCountry("Bahamas").ru("Багамские Острова").iso("BS","BHS")),this._countries.add(new e.StiIsoCountry("Bahrain").ru("Бахрейн").iso("BH","BHR")),this._countries.add(new e.StiIsoCountry("Bangladesh").ru("Бангладеш").iso("BD","BGD")),this._countries.add(new e.StiIsoCountry("Barbados").ru("Барбадос").iso("BB","BRB")),this._countries.add(new e.StiIsoCountry("Belarus").ru("Беларусь","Белоруссия").iso("BY","BLR")),this._countries.add(new e.StiIsoCountry("Belgium").ru("Бельгия").iso("BE","BEL")),this._countries.add(new e.StiIsoCountry("Belize").ru("Белиз").iso("BZ","BLZ")),this._countries.add(new e.StiIsoCountry("Benin").ru("Бенин").iso("BJ","BEN")),this._countries.add(new e.StiIsoCountry("Bermuda").ru("Бермуды").iso("BM","BMU")),this._countries.add(new e.StiIsoCountry("Bhutan").ru("Бутан").iso("BT","BTN")),this._countries.add(new e.StiIsoCountry("Bolivia","Bolivia (Plurinational State of)").ru("Боливия").iso("BO","BOL")),this._countries.add(new e.StiIsoCountry("Bonaire","Bonaire, Sint Eustatius and Saba").ru("Бонэйр").iso("BQ","BES")),this._countries.add(new e.StiIsoCountry("Bosnia and Herzegovina").ru("Босния и Герцеговина ").iso("BA","BIH")),this._countries.add(new e.StiIsoCountry("Botswana").ru("Ботсвана").iso("BW","BWA")),this._countries.add(new e.StiIsoCountry("Bouvet Island").ru("Остров Буве").iso("BV","BVT")),this._countries.add(new e.StiIsoCountry("Brazil").ru("Бразилия").iso("BR","BRA")),this._countries.add(new e.StiIsoCountry("British Indian Ocean Territory").ru("Британская Территория в Индийском Океане").iso("IO","IOT")),this._countries.add(new e.StiIsoCountry("Brunei Darussalam").ru("Бруней").iso("BN","BRN")),this._countries.add(new e.StiIsoCountry("Bulgaria").ru("Болгария").iso("BG","BGR")),this._countries.add(new e.StiIsoCountry("Burkina Faso").ru("Буркина - Фасо").iso("BF","BFA")),this._countries.add(new e.StiIsoCountry("Burundi").ru("Бурунди").iso("BI","BDI")),this._countries.add(new e.StiIsoCountry("Cabo Verde").ru("Кабо - Верде").iso("CV","CPV")),this._countries.add(new e.StiIsoCountry("Cambodia").ru("Камбоджа").iso("KH","KHM")),this._countries.add(new e.StiIsoCountry("Cameroon").ru("Камерун").iso("CM","CMR")),this._countries.add(new e.StiIsoCountry("Canada").ru("Канада").iso("CA","CAN")),this._countries.add(new e.StiIsoCountry("Cayman Islands").ru("Острова Кайман").iso("KY","CYM")),this._countries.add(new e.StiIsoCountry("Central African Republic").ru("ЦАР").iso("CF","CAF")),this._countries.add(new e.StiIsoCountry("Chad").ru("Чад").iso("TD","TCD")),this._countries.add(new e.StiIsoCountry("Chile").ru("Чили").iso("CL","CHL")),this._countries.add(new e.StiIsoCountry("China").ru("Китай","КНР","Китайская Народная Республика").iso("CN","CHN")),this._countries.add(new e.StiIsoCountry("Christmas Island").ru("Остров Рождества").iso("CX","CXR")),this._countries.add(new e.StiIsoCountry("Cocos (Keeling) Islands").ru("Кокосовые острова").iso("CC","CCK")),this._countries.add(new e.StiIsoCountry("Colombia").ru("Колумбия").iso("CO","COL")),this._countries.add(new e.StiIsoCountry("Comoros").ru("Коморы").iso("KM","COM")),this._countries.add(new e.StiIsoCountry("Congo").ru("Республика Конго").iso("CG","COG")),this._countries.add(new e.StiIsoCountry("Congo (Democratic Republic of the)").ru("Демократическая Республика Конго").iso("CD","COD")),this._countries.add(new e.StiIsoCountry("Cook Islands").ru("Острова Кука").iso("CK","COK")),this._countries.add(new e.StiIsoCountry("Costa Rica").ru("Коста - Рика").iso("CR","CRI")),this._countries.add(new e.StiIsoCountry("Côte d'Ivoire").ru("Кот - д’Ивуар").iso("CI","CIV")),this._countries.add(new e.StiIsoCountry("Croatia").ru("Хорватия").iso("HR","HRV")),this._countries.add(new e.StiIsoCountry("Cuba").ru("Куба").iso("CU","CUB")),this._countries.add(new e.StiIsoCountry("Curaçao").ru("Кюрасао").iso("CW","CUW")),this._countries.add(new e.StiIsoCountry("Cyprus").ru("Кипр").iso("CY","CYP")),this._countries.add(new e.StiIsoCountry("Czech Republic","Czech Republic","Czech").ru("Чехия").iso("CZ","CZE")),this._countries.add(new e.StiIsoCountry("Denmark").ru("Дания").iso("DK","DNK")),this._countries.add(new e.StiIsoCountry("Djibouti").ru("Джибути").iso("DJ","DJI")),this._countries.add(new e.StiIsoCountry("Dominica").ru("Доминикана").iso("DM","DMA")),this._countries.add(new e.StiIsoCountry("Dominican Republic").ru("Доминиканская Республика").iso("DO","DOM")),this._countries.add(new e.StiIsoCountry("Ecuador").ru("Эквадор").iso("EC","ECU")),this._countries.add(new e.StiIsoCountry("Egypt").ru("Египет").iso("EG","EGY")),this._countries.add(new e.StiIsoCountry("El Salvador").ru("Сальвадор").iso("SV","SLV")),this._countries.add(new e.StiIsoCountry("Equatorial Guinea").ru("Экваториальная Гвинея").iso("GQ","GNQ")),this._countries.add(new e.StiIsoCountry("Eritrea").ru("Эритрея").iso("ER","ERI")),this._countries.add(new e.StiIsoCountry("Estonia").ru("Эстония").iso("EE","EST")),this._countries.add(new e.StiIsoCountry("Ethiopia").ru("Эфиопия").iso("ET","ETH")),this._countries.add(new e.StiIsoCountry("European Union").ru("Европейский союз").iso("EU","EUE")),this._countries.add(new e.StiIsoCountry("Falkland Islands (Malvinas)").ru("Фолклендские острова").iso("FK","FLK")),this._countries.add(new e.StiIsoCountry("Faroe Islands").ru("Фареры").iso("FO","FRO")),this._countries.add(new e.StiIsoCountry("Fiji").ru("Фиджи").iso("FJ","FJI")),this._countries.add(new e.StiIsoCountry("Finland").ru("Финляндия").iso("FI","FIN")),this._countries.add(new e.StiIsoCountry("France").ru("Франция").iso("FR","FRA")),this._countries.add(new e.StiIsoCountry("French Guiana").ru("Французская Гвиана").iso("GF","GUF")),this._countries.add(new e.StiIsoCountry("French Polynesia").ru("Французская Полинезия").iso("PF","PYF")),this._countries.add(new e.StiIsoCountry("French Southern Territories").ru("Французские Южные и Антарктические территории").iso("TF","ATF")),this._countries.add(new e.StiIsoCountry("Gabon").ru("Габон").iso("GA","GAB")),this._countries.add(new e.StiIsoCountry("Gambia").ru("Гамбия").iso("GM","GMB")),this._countries.add(new e.StiIsoCountry("Georgia").ru("Грузия").iso("GE","GEO")),this._countries.add(new e.StiIsoCountry("Germany").ru("Германия").iso("DE","DEU")),this._countries.add(new e.StiIsoCountry("Ghana").ru("Гана").iso("GH","GHA")),this._countries.add(new e.StiIsoCountry("Gibraltar").ru("Гибралтар").iso("GI","GIB")),this._countries.add(new e.StiIsoCountry("Greece").ru("Греция").iso("GR","GRC")),this._countries.add(new e.StiIsoCountry("Greenland").ru("Гренландия").iso("GL","GRL")),this._countries.add(new e.StiIsoCountry("Grenada").ru("Гренада").iso("GD","GRD")),this._countries.add(new e.StiIsoCountry("Guadeloupe").ru("Гваделупа").iso("GP","GLP")),this._countries.add(new e.StiIsoCountry("Guam").ru("Гуам").iso("GU","GUM")),this._countries.add(new e.StiIsoCountry("Guatemala").ru("Гватемала").iso("GT","GTM")),this._countries.add(new e.StiIsoCountry("Guernsey").ru("Гернси").iso("GG","GGY")),this._countries.add(new e.StiIsoCountry("Guinea").ru("Гвинея").iso("GN","GIN")),this._countries.add(new e.StiIsoCountry("Guinea - Bissau").ru("Гвинея - Бисау").iso("GW","GNB")),this._countries.add(new e.StiIsoCountry("Guyana").ru("Гайана").iso("GY","GUY")),this._countries.add(new e.StiIsoCountry("Haiti").ru("Гаити").iso("HT","HTI")),this._countries.add(new e.StiIsoCountry("Heard Island and McDonald Islands").ru("Остров Херд и острова Макдональд").iso("HM","HMD")),this._countries.add(new e.StiIsoCountry("Holy See").ru("Ватикан").iso("VA","VAT")),this._countries.add(new e.StiIsoCountry("Honduras").ru("Гондурас").iso("HN","HND")),this._countries.add(new e.StiIsoCountry("Hong Kong").ru("Гонконг").iso("HK","HKG")),this._countries.add(new e.StiIsoCountry("Hungary").ru("Венгрия").iso("HU","HUN")),this._countries.add(new e.StiIsoCountry("Iceland").ru("Исландия").iso("IS","ISL")),this._countries.add(new e.StiIsoCountry("India").ru("Индия").iso("IN","IND")),this._countries.add(new e.StiIsoCountry("Indonesia").ru("Индонейзия").iso("ID","IDN")),this._countries.add(new e.StiIsoCountry("Iran").ru("Иран","Iran (Islamic Republic of)").iso("IR","IRN")),this._countries.add(new e.StiIsoCountry("Iraq").ru("Ирак","IQ").iso("IRQ")),this._countries.add(new e.StiIsoCountry("Ireland").ru("Ирландия").iso("IE","IRL")),this._countries.add(new e.StiIsoCountry("Isle of Man").ru("Остров Мэн").iso("IM","IMN")),this._countries.add(new e.StiIsoCountry("Israel").ru("Израиль").iso("IL","ISR")),this._countries.add(new e.StiIsoCountry("Italy").ru("Италия").iso("IT","ITA")),this._countries.add(new e.StiIsoCountry("Jamaica").ru("Ямайка").iso("JM","JAM")),this._countries.add(new e.StiIsoCountry("Japan").ru("Япония").iso("JP","JPN")),this._countries.add(new e.StiIsoCountry("Jersey").ru("Джерси").iso("JE","JEY")),this._countries.add(new e.StiIsoCountry("Jordan").ru("Иордания").iso("JO","JOR")),this._countries.add(new e.StiIsoCountry("Kazakhstan").ru("Казахстан").iso("KZ","KAZ")),this._countries.add(new e.StiIsoCountry("Kenya").ru("Кения").iso("KE","KEN")),this._countries.add(new e.StiIsoCountry("Kiribati").ru("Кирибати").iso("KI","KIR")),this._countries.add(new e.StiIsoCountry("Korea (Democratic People's Republic of)","North Korea").ru("КНДР(Корейская Народно - Демократическая Республика)").iso("KP","PRK")),this._countries.add(new e.StiIsoCountry("Korea (Republic of)","South Korea").ru("Республика Корея","Южная Корея").iso("KR","KOR")),this._countries.add(new e.StiIsoCountry("Kuwait").ru("Кувейт").iso("KW","KWT")),this._countries.add(new e.StiIsoCountry("Kyrgyzstan").ru("Киргизия").iso("KG","KGZ")),this._countries.add(new e.StiIsoCountry("Lao People's Democratic Republic").ru("Лаос").iso("LA","LAO")),this._countries.add(new e.StiIsoCountry("Latvia").ru("Латвия").iso("LV","LVA")),this._countries.add(new e.StiIsoCountry("Lebanon").ru("Ливия").iso("LB","LBN")),this._countries.add(new e.StiIsoCountry("Lesotho").ru("Лесото").iso("LS","LSO")),this._countries.add(new e.StiIsoCountry("Liberia").ru("Либерия").iso("LR","LBR")),this._countries.add(new e.StiIsoCountry("Libya").ru("Либия").iso("LY","LBY")),this._countries.add(new e.StiIsoCountry("Liechtenstein").ru("Лихтенштейн").iso("LI","LIE")),this._countries.add(new e.StiIsoCountry("Lithuania").ru("Литва").iso("LT","LTU")),this._countries.add(new e.StiIsoCountry("Luxembourg").ru("Люксембург").iso("LU","LUX")),this._countries.add(new e.StiIsoCountry("Macao").ru("Макао").iso("MO","MAC")),this._countries.add(new e.StiIsoCountry("Macedonia","Macedonia (the former Yugoslav Republic of)").ru("Македония").iso("MK","MKD")),this._countries.add(new e.StiIsoCountry("Madagascar").ru("Мадагаскар").iso("MG","MDG")),this._countries.add(new e.StiIsoCountry("Malawi").ru("Малави").iso("MW","MWI")),this._countries.add(new e.StiIsoCountry("Malaysia").ru("Малайзия").iso("MY","MYS")),this._countries.add(new e.StiIsoCountry("Maldives").ru("Мальдивы").iso("MV","MDV")),this._countries.add(new e.StiIsoCountry("Mali").ru("Мали").iso("ML","MLI")),this._countries.add(new e.StiIsoCountry("Malta").ru("Мальта").iso("MT","MLT")),this._countries.add(new e.StiIsoCountry("Marshall Islands").ru("Маршалловы Острова").iso("MH","MHL")),this._countries.add(new e.StiIsoCountry("Martinique").ru("Мартиника").iso("MQ","MTQ")),this._countries.add(new e.StiIsoCountry("Mauritania").ru("Мавритания").iso("MR","MRT")),this._countries.add(new e.StiIsoCountry("Mauritius").ru("Маврикий").iso("MU","MUS")),this._countries.add(new e.StiIsoCountry("Mayotte").ru("Майотта").iso("YT","MYT")),this._countries.add(new e.StiIsoCountry("Mexico").ru("Мексика").iso("MX","MEX")),this._countries.add(new e.StiIsoCountry("Micronesia","Micronesia (Federated States of)").ru("Микронезии","Федеративные Штаты Микронезии").iso("FM","FSM")),this._countries.add(new e.StiIsoCountry("Moldova","Moldova (Republic of)").ru("Молдова","Молдавия").iso("MD","MDA")),this._countries.add(new e.StiIsoCountry("Monaco").ru("Монако").iso("MC","MCO")),this._countries.add(new e.StiIsoCountry("Mongolia").ru("Монголия").iso("MN","MNG")),this._countries.add(new e.StiIsoCountry("Montenegro").ru("Черногория").iso("ME","MNE")),this._countries.add(new e.StiIsoCountry("Montserrat").ru("Монтсеррат").iso("MS","MSR")),this._countries.add(new e.StiIsoCountry("Morocco").ru("Марокко").iso("MA","MAR")),this._countries.add(new e.StiIsoCountry("Mozambique").ru("Мозамбик").iso("MZ","MOZ")),this._countries.add(new e.StiIsoCountry("Myanmar").ru("Мьянма").iso("MM","MMR")),this._countries.add(new e.StiIsoCountry("Namibia").ru("Намибия").iso("NA","NAM")),this._countries.add(new e.StiIsoCountry("Nauru").ru("Науру").iso("NR","NRU")),this._countries.add(new e.StiIsoCountry("Nepal").ru("Непал").iso("NP","NPL")),this._countries.add(new e.StiIsoCountry("Netherlands").ru("Нидерланды").iso("NL","NLD")),this._countries.add(new e.StiIsoCountry("New Caledonia").ru("Новая Каледония").iso("NC","NCL")),this._countries.add(new e.StiIsoCountry("New Zealand").ru("Новая Зеландия").iso("NZ","NZL")),this._countries.add(new e.StiIsoCountry("Nicaragua").ru("Никарагуа").iso("NI","NIC")),this._countries.add(new e.StiIsoCountry("Niger").ru("Нигер").iso("NE","NER")),this._countries.add(new e.StiIsoCountry("Nigeria").ru("Нигерия").iso("NG","NGA")),this._countries.add(new e.StiIsoCountry("Niue").ru("Ниуэ").iso("NU","NIU")),this._countries.add(new e.StiIsoCountry("Norfolk Island").ru("Остров Норфолк").iso("NF","NFK")),this._countries.add(new e.StiIsoCountry("Northern Mariana Islands").ru("Северные Марианские Острова").iso("MP","MNP")),this._countries.add(new e.StiIsoCountry("Norway").ru("Норвегия").iso("NO","NOR")),this._countries.add(new e.StiIsoCountry("Oman").ru("Оман").iso("OM","OMN")),this._countries.add(new e.StiIsoCountry("Pakistan").ru("Пакистан").iso("PK","PAK")),this._countries.add(new e.StiIsoCountry("Palau").ru("Палау").iso("PW","PLW")),this._countries.add(new e.StiIsoCountry("Palestine","Palestine, State of").ru("Палестина","Государство Палестина").iso("PS","PSE")),this._countries.add(new e.StiIsoCountry("Panama").ru("Панама").iso("PA","PAN")),this._countries.add(new e.StiIsoCountry("Papua New Guinea").ru("Папуа — Новая Гвинея").iso("PG","PNG")),this._countries.add(new e.StiIsoCountry("Paraguay").ru("Парагвай").iso("PY","PRY")),this._countries.add(new e.StiIsoCountry("Peru").ru("Перу").iso("PE","PER")),this._countries.add(new e.StiIsoCountry("Philippines").ru("Филиппины").iso("PH","PHL")),this._countries.add(new e.StiIsoCountry("Pitcairn").ru("Острова Питкэрн").iso("PN","PCN")),this._countries.add(new e.StiIsoCountry("Poland").ru("Польша").iso("PL","POL")),this._countries.add(new e.StiIsoCountry("Portugal").ru("Португалия").iso("PT","PRT")),this._countries.add(new e.StiIsoCountry("Puerto Rico").ru("Пуэрто - Рико").iso("PR","PRI")),this._countries.add(new e.StiIsoCountry("Qatar").ru("Катар").iso("QA","QAT")),this._countries.add(new e.StiIsoCountry("Réunion").ru("Реюньон").iso("RE","REU")),this._countries.add(new e.StiIsoCountry("Romania").ru("Румыния").iso("RO","ROU")),this._countries.add(new e.StiIsoCountry("Russia","Russian Federation").ru("Россия","Российская Федерация").iso("RU","RUS")),this._countries.add(new e.StiIsoCountry("Rwanda").ru("Руанда").iso("RW","RWA")),this._countries.add(new e.StiIsoCountry("Saint Barthélemy").ru("Сен-Бартелеми").iso("BL","BLM")),this._countries.add(new e.StiIsoCountry("Saint Helena, Ascension and Tristan da Cunha").ru("Острова Святой Елены, Вознесения и Тристан-да-Кунья").iso("SH","SHN")),this._countries.add(new e.StiIsoCountry("Saint Kitts and Nevis").ru("Сент-Китс и Невис").iso("KN","KNA")),this._countries.add(new e.StiIsoCountry("Saint Lucia").ru("Сент-Люсия").iso("LC","LCA")),this._countries.add(new e.StiIsoCountry("Saint Martin (French part)").ru("Сен-Мартен (владение Франции)").iso("MF","MAF")),this._countries.add(new e.StiIsoCountry("Saint Pierre and Miquelon").ru("Сен-Пьер и Микелон").iso("PM","SPM")),this._countries.add(new e.StiIsoCountry("Saint Vincent and the Grenadines","Сент - Винсент и Гренадины").iso("VC","VCT")),this._countries.add(new e.StiIsoCountry("Samoa").ru("Самоа").iso("WS","WSM")),this._countries.add(new e.StiIsoCountry("San Marino").ru("Сан - Марино").iso("SM","SMR")),this._countries.add(new e.StiIsoCountry("Sao Tome and Principe").ru("Сан - Томе и Принсипи").iso("ST","STP")),this._countries.add(new e.StiIsoCountry("Saudi Arabia").ru("Саудовская Аравия").iso("SA","SAU")),this._countries.add(new e.StiIsoCountry("Senegal").ru("Сенегал").iso("SN","SEN")),this._countries.add(new e.StiIsoCountry("Serbia").ru("Сербия").iso("RS","SRB")),this._countries.add(new e.StiIsoCountry("Seychelles").ru("Сейшельские Острова").iso("SC","SYC")),this._countries.add(new e.StiIsoCountry("Sierra Leone").ru("Сирия").iso("SL","SLE")),this._countries.add(new e.StiIsoCountry("Singapore").ru("Сингапур").iso("SG","SGP")),this._countries.add(new e.StiIsoCountry("Sint Maarten").ru("Синт-Мартен").iso("SX","SXM")),this._countries.add(new e.StiIsoCountry("Slovakia").ru("Словакия").iso("SK","SVK")),this._countries.add(new e.StiIsoCountry("Slovenia").ru("Словения").iso("SI","SVN")),this._countries.add(new e.StiIsoCountry("Solomon Islands").ru("Соломоновы Острова").iso("SB","SLB")),this._countries.add(new e.StiIsoCountry("Somalia").ru("Сомали").iso("SO","SOM")),this._countries.add(new e.StiIsoCountry("South Africa").ru("ЮАР").iso("ZA","ZAF")),this._countries.add(new e.StiIsoCountry("South Georgia and the South Sandwich Islands").ru("Южная Георгия и Южные Сандвичевы Острова").iso("GS","SGS")),this._countries.add(new e.StiIsoCountry("South Sudan").ru("Южный Судан").iso("SS","SSD")),this._countries.add(new e.StiIsoCountry("Spain").ru("Испания").iso("ES","ESP")),this._countries.add(new e.StiIsoCountry("Sri Lanka").ru("Шри - Ланка").iso("LK","LKA")),this._countries.add(new e.StiIsoCountry("Sudan").ru("Судан").iso("SD","SDN")),this._countries.add(new e.StiIsoCountry("Suriname").ru("Суринам").iso("SR","SUR")),this._countries.add(new e.StiIsoCountry("Svalbard and Jan Mayen").ru("Шпицберген и Ян-Майен").iso("SJ","SJM")),this._countries.add(new e.StiIsoCountry("Swaziland").ru("Свазиленд").iso("SZ","SWZ")),this._countries.add(new e.StiIsoCountry("Sweden").ru("Швеция").iso("SE","SWE")),this._countries.add(new e.StiIsoCountry("Switzerland").ru("Швейцария").iso("CH","CHE")),this._countries.add(new e.StiIsoCountry("Syrian Arab Republic").ru("Сирия").iso("SY","SYR")),this._countries.add(new e.StiIsoCountry("Taiwan","Taiwan, Province of China[a]").ru("Китайская Республика").iso("TW","TWN")),this._countries.add(new e.StiIsoCountry("Tajikistan").ru("Таджикистан").iso("TJ","TJK")),this._countries.add(new e.StiIsoCountry("Tanzania","Tanzania, United Republic of").ru("Танзания").iso("TZ","TZA")),this._countries.add(new e.StiIsoCountry("Thailand").ru("Таиланд").iso("TH","THA")),this._countries.add(new e.StiIsoCountry("Timor-Leste").ru("Восточный Тимор").iso("TL","TLS")),this._countries.add(new e.StiIsoCountry("Togo").ru("Того").iso("TG","TGO")),this._countries.add(new e.StiIsoCountry("Tokelau").ru("Токелау").iso("TK","TKL")),this._countries.add(new e.StiIsoCountry("Tonga").ru("Тонга").iso("TO","TON")),this._countries.add(new e.StiIsoCountry("Trinidad and Tobago").ru("Тринидад и Тобаго").iso("TT","TTO")),this._countries.add(new e.StiIsoCountry("Tunisia").ru("Тунис").iso("TN","TUN")),this._countries.add(new e.StiIsoCountry("Turkey").ru("Турция").iso("TR","TUR")),this._countries.add(new e.StiIsoCountry("Turkmenistan").ru("Туркмения").iso("TM","TKM")),this._countries.add(new e.StiIsoCountry("Turks and Caicos Islands").ru("Тёркс и Кайкос").iso("TC","TCA")),this._countries.add(new e.StiIsoCountry("Tuvalu").ru("Тувалу").iso("TV","TUV")),this._countries.add(new e.StiIsoCountry("Uganda").ru("Уганда").iso("UG","UGA")),this._countries.add(new e.StiIsoCountry("Ukraine").ru("Украина").iso("UA","UKR")),this._countries.add(new e.StiIsoCountry("United Arab Emirates").ru("Объединённые Арабские Эмираты").iso("AE","ARE")),this._countries.add(new e.StiIsoCountry("United Kingdom","United Kingdom of Great Britain and Northern Ireland","Great Britain").ru("Великобритания","UK").iso("GB","GBR")),this._countries.add(new e.StiIsoCountry("United States of America","United States","U.S.","U.S. of A","U.S. of America","America").ru("США").iso("US","USA")),this._countries.add(new e.StiIsoCountry("United States Minor Outlying Islands").ru("Внешние малые острова (США)").iso("UM","UMI")),this._countries.add(new e.StiIsoCountry("Uruguay").ru("Уругвай").iso("UY","URY")),this._countries.add(new e.StiIsoCountry("Uzbekistan").ru("Узбекистан").iso("UZ","UZB")),this._countries.add(new e.StiIsoCountry("Vanuatu").ru("Вануату").iso("VU","VUT")),this._countries.add(new e.StiIsoCountry("Venezuela","Venezuela (Bolivarian Republic of)").ru("Венесуэла").iso("VE","VEN")),this._countries.add(new e.StiIsoCountry("Viet Nam").ru("Вьетнам").iso("VN","VNM")),this._countries.add(new e.StiIsoCountry("Virgin Islands (British)").ru("Виргинские Острова (Великобритания)").iso("VG","VGB")),this._countries.add(new e.StiIsoCountry("Virgin Islands (U.S.)").ru("Виргинские Острова (США)").iso("VI","VIR")),this._countries.add(new e.StiIsoCountry("Wallis and Futuna").ru("Уоллис и Футуна").iso("WF","WLF")),this._countries.add(new e.StiIsoCountry("Western Sahara").ru("Западная Сахара").iso("EH","ESH")),this._countries.add(new e.StiIsoCountry("Yemen").ru("Йемен").iso("YE","YEM")),this._countries.add(new e.StiIsoCountry("Zambia").ru("Замбия").iso("ZM","ZMB")),this._countries.add(new e.StiIsoCountry("Zimbabwe").ru("Зимбабве").iso("ZW","ZWE"))},t.initializeUsStates=function(){this._usStates.add(new e.StiIsoCountry("Alabama","Ala.").iso("AL").ru("Алабама")),this._usStates.add(new e.StiIsoCountry("Alaska","Alas.").iso("AK").ru("Аляска")),this._usStates.add(new e.StiIsoCountry("American Samoa","A.S").iso("AS").ru("Американское Самоа")),this._usStates.add(new e.StiIsoCountry("Arizona","Ariz.").iso("AZ").ru("Аризона")),this._usStates.add(new e.StiIsoCountry("Arkansas","Ark.").iso("AR").ru("Арканзас")),this._usStates.add(new e.StiIsoCountry("California","Calif.","Ca.","Cal.").iso("CA").ru("Калифорния")),this._usStates.add(new e.StiIsoCountry("Colorado","Colo.","Col.").iso("CO").ru("Колорадо")),this._usStates.add(new e.StiIsoCountry("Connecticut","Conn.","Ct.").iso("CT").ru("Коннектикут")),this._usStates.add(new e.StiIsoCountry("Delaware","Del.","Ct.").iso("DE").ru("Делавэр")),this._usStates.add(new e.StiIsoCountry("District of Columbia","D.C.","Wash D.C.").iso("DC").ru("Округ Колумбия")),this._usStates.add(new e.StiIsoCountry("Florida","Fla.","Fl.","Flor.").iso("FL").ru("Флорида")),this._usStates.add(new e.StiIsoCountry("Georgia","Ga.","Geo.").iso("GA").ru("Джорджия")),this._usStates.add(new e.StiIsoCountry("Guam","GUM").iso("GU").ru("Гуам")),this._usStates.add(new e.StiIsoCountry("Hawaii","H.I.").iso("HI").ru("Гавайи")),this._usStates.add(new e.StiIsoCountry("Idaho","Id.","Ida.").iso("ID").ru("Айдахо")),this._usStates.add(new e.StiIsoCountry("Illinois","Ill.").iso("IL").ru("Иллинойс")),this._usStates.add(new e.StiIsoCountry("Indiana","Ind.","In.").iso("IN").ru("Индиана")),this._usStates.add(new e.StiIsoCountry("Iowa","Ia.","Ioa.").iso("IA").ru("Айова")),this._usStates.add(new e.StiIsoCountry("Kansas","Kans.","Kan.","Ks","Ka").iso("KS").ru("Канзас")),this._usStates.add(new e.StiIsoCountry("Kentucky","Ky.","Ken.","Kent.").iso("KY").ru("Кентукки")),this._usStates.add(new e.StiIsoCountry("Louisiana","La.").iso("LA").ru("Луизиана")),this._usStates.add(new e.StiIsoCountry("Maine","Me.").iso("ME").ru("Мэн")),this._usStates.add(new e.StiIsoCountry("Maryland","Md.").iso("MD").ru("Мэриленд")),this._usStates.add(new e.StiIsoCountry("Massachusetts","Mass.").iso("MA").ru("Массачусетс")),this._usStates.add(new e.StiIsoCountry("Michigan","Mich.").iso("MI").ru("Мичиган")),this._usStates.add(new e.StiIsoCountry("Minnesota","Minn.","Mn.").iso("MN").ru("Миннесота")),this._usStates.add(new e.StiIsoCountry("Mississippi","Miss.").iso("MS").ru("Миссисипи")),this._usStates.add(new e.StiIsoCountry("Missouri","Mo.").iso("MO").ru("Миссури")),this._usStates.add(new e.StiIsoCountry("Montana","Mont.").iso("MT").ru("Монтана")),this._usStates.add(new e.StiIsoCountry("Nebraska","Nebr.","Neb.").iso("NE").ru("Небраска")),this._usStates.add(new e.StiIsoCountry("Nevada","Nev.","Nv.").iso("NV").ru("Невада")),this._usStates.add(new e.StiIsoCountry("New Hampshire","N.H.").iso("NH").ru("Нью-Гемпшир")),this._usStates.add(new e.StiIsoCountry("New Jersey","N.J.","N. Jersey").iso("NJ").ru("Нью-Джерси")),this._usStates.add(new e.StiIsoCountry("New Mexico","N. Mex.","N.M.","New M.").iso("NM").ru("Нью-Мексико")),this._usStates.add(new e.StiIsoCountry("New York","N.Y.","N. York").iso("NY").ru("Нью-Йорк")),this._usStates.add(new e.StiIsoCountry("North Carolina","N.C.","N. Car.").iso("NC").ru("Северная Каролина")),this._usStates.add(new e.StiIsoCountry("North Dakota","N. Dak.","N.D.","NoDak").iso("ND").ru("Северная Дакота")),this._usStates.add(new e.StiIsoCountry("Northern Mariana Islands","M.P.","CNMI").iso("MP","MNP").ru("Северные Марианские острова")),this._usStates.add(new e.StiIsoCountry("Ohio","O.","Oh.").iso("OH").ru("Огайо")),this._usStates.add(new e.StiIsoCountry("Oklahoma","Okla.","Ok.").iso("OK").ru("Оклахома")),this._usStates.add(new e.StiIsoCountry("Oregon","Oreg.","Ore.","Or.").iso("OR").ru("Орегон")),this._usStates.add(new e.StiIsoCountry("Pennsylvania","Pa.","Penn.","Penna.").iso("PA").ru("Пенсильвания")),this._usStates.add(new e.StiIsoCountry("Puerto Rico","P.R.").iso("PR","PRI").ru("Пуэрто - Рико")),this._usStates.add(new e.StiIsoCountry("Rhode Island","R.I.","P.P.","R. Isl.").iso("RI").ru("Род-Айленд")),this._usStates.add(new e.StiIsoCountry("South Carolina","S.C.","S. Car.").iso("SC").ru("Южная Каролина")),this._usStates.add(new e.StiIsoCountry("South Dakota","S. Dak.","S.D.","SoDak").iso("SD").ru("Южная Дакота")),this._usStates.add(new e.StiIsoCountry("Tennessee","Tenn.").iso("TN").ru("Теннесси")),this._usStates.add(new e.StiIsoCountry("Texas","Tex.","Tx.").iso("TX").ru("Техас")),this._usStates.add(new e.StiIsoCountry("US Minor Outlying Islands").iso("WY","UMI").ru("Внешние малые острова")),this._usStates.add(new e.StiIsoCountry("US Virgin Islands","V.I.","U.S.V.I.").iso("VI","ASM").ru("Американские Виргинские острова")),this._usStates.add(new e.StiIsoCountry("Utah","Ut.").iso("UT").ru("Юта")),this._usStates.add(new e.StiIsoCountry("Vermont","Vt.").iso("VT").ru("Вермонт")),this._usStates.add(new e.StiIsoCountry("Virginia","Va.","Virg.").iso("VA","VIR").ru("Виргиния")),this._usStates.add(new e.StiIsoCountry("Washington","Wash.","Wa.","Wn.").iso("WA").ru("Вашингтон")),this._usStates.add(new e.StiIsoCountry("West Virginia","W. Va.","W.V.","W. Virg.").iso("WV").ru("Западная Виргиния")),this._usStates.add(new e.StiIsoCountry("Wisconsin","Wis.","Wi.","Wisc.").iso("WI").ru("Висконсин")),this._usStates.add(new e.StiIsoCountry("Wyoming","Wyo.","Wy.").iso("WY").ru("Вайоминг"))},t.initializeCanadaProvinces=function(){this._canadaProvinces.add(new e.StiIsoCountry("Alberta").iso("AB").fr("Alberta").ru("Альберта")),this._canadaProvinces.add(new e.StiIsoCountry("British Columbia").iso("BC").fr("Colombie-Britannique").ru("Британская Колумбия")),this._canadaProvinces.add(new e.StiIsoCountry("Manitoba").iso("MB").fr("Manitoba").ru("Манитоба")),this._canadaProvinces.add(new e.StiIsoCountry("New Brunswick").iso("NB").fr("Nouveau-Brunswick").ru("Нью-Брансуик")),this._canadaProvinces.add(new e.StiIsoCountry("Newfoundland and Labrador").iso("NL").fr("Terre-Neuve-et-Labrador").ru("Ньюфаундленд и Лабрадор")),this._canadaProvinces.add(new e.StiIsoCountry("Nova Scotia").iso("NS").fr("Nouvelle-Écosse").ru("Новая Шотландия")),this._canadaProvinces.add(new e.StiIsoCountry("Northwest Territories").iso("NT").fr("Territoires du Nord-Ouest").ru("Северо-западные территории")),this._canadaProvinces.add(new e.StiIsoCountry("Nunavut").iso("NU").fr("Nunavut").ru("Нунавут")),this._canadaProvinces.add(new e.StiIsoCountry("Ontario").iso("ON").fr("Ontario").ru("Онтарио")),this._canadaProvinces.add(new e.StiIsoCountry("Prince Edward Island").iso("PE").fr("Île-du-Prince-Édouard").ru("Остров Принца Эдуарда")),this._canadaProvinces.add(new e.StiIsoCountry("Quebec").iso("QC").fr("Québec").ru("Квебек")),this._canadaProvinces.add(new e.StiIsoCountry("Saskatchewan").iso("SK").fr("Saskatchewan").ru("Саскачеван")),this._canadaProvinces.add(new e.StiIsoCountry("Yukon").iso("YT").fr("Yukon").ru("Юкон"))},t.initializeBrazilProvinces=function(){this._brazilProvinces.add(new e.StiIsoCountry("Roraima").iso("AB").fr("Roraima").ru("Рорайма")),this._brazilProvinces.add(new e.StiIsoCountry("Amazonas").iso("AM").fr("Amazonas").ru("Амазонас")),this._brazilProvinces.add(new e.StiIsoCountry("Para").iso("PA").fr("Pará").ru("Пара")),this._brazilProvinces.add(new e.StiIsoCountry("Amapa").iso("AP").fr("Amapá").ru("Амапа")),this._brazilProvinces.add(new e.StiIsoCountry("Acre").iso("AC").fr("Acre").ru("Акри")),this._brazilProvinces.add(new e.StiIsoCountry("Rondonia").iso("RO").fr("Rondônia").ru("Рондония")),this._brazilProvinces.add(new e.StiIsoCountry("Mato Grosso").iso("MT").fr("Mato Grosso").ru("Мату-Гросу")),this._brazilProvinces.add(new e.StiIsoCountry("Maranhao").iso("MA").fr("Maranhão").ru("Мараньян")),this._brazilProvinces.add(new e.StiIsoCountry("Piaui").iso("PI").fr("Piauí").ru("Пиауи")),this._brazilProvinces.add(new e.StiIsoCountry("Ceara").iso("CE").fr("Ceará").ru("Сеара")),this._brazilProvinces.add(new e.StiIsoCountry("Rio Grande do Norte").iso("RN").fr("Rio Grande do Norte").ru("Риу-Гранди-ду-Норти")),this._brazilProvinces.add(new e.StiIsoCountry("Paraiba").iso("PB").fr("Paraïba").ru("Параиба")),this._brazilProvinces.add(new e.StiIsoCountry("Pernambuco").iso("PE").fr("Pernambouc").ru("Пернамбуку")),this._brazilProvinces.add(new e.StiIsoCountry("Alagoas").iso("AL").fr("Alagoas").ru("Алагоас")),this._brazilProvinces.add(new e.StiIsoCountry("Sergipe").iso("SE").fr("Sergipe").ru("Сержипи")),this._brazilProvinces.add(new e.StiIsoCountry("Bahia").iso("BA").fr("Bahia").ru("Баия")),this._brazilProvinces.add(new e.StiIsoCountry("Tocantins").iso("TO").fr("Tocantins").ru("Токантинс")),this._brazilProvinces.add(new e.StiIsoCountry("Goias").iso("GO").fr("Goiás").ru("Гояс")),this._brazilProvinces.add(new e.StiIsoCountry("Minas Gerais").iso("MG").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new e.StiIsoCountry("Espirito Santo").iso("ES").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new e.StiIsoCountry("Rio de Janeiro").iso("RJ").fr("Rio de Janeiro").ru("Рио-де-Жанейро")),this._brazilProvinces.add(new e.StiIsoCountry("Sao Paulo").iso("SP").fr("São Paulo").ru("Сан-Паулу")),this._brazilProvinces.add(new e.StiIsoCountry("Parana").iso("PR").fr("Paraná").ru("Парана")),this._brazilProvinces.add(new e.StiIsoCountry("Santa Catarina").iso("SC").fr("Santa Catarina").ru("Санта-Катарина")),this._brazilProvinces.add(new e.StiIsoCountry("Rio Grande do Sul").iso("RS").fr("Rio Grande do Sul").ru("Риу-Гранди-ду-Сул")),this._brazilProvinces.add(new e.StiIsoCountry("Mato Grosso do Sul").iso("MS").fr("Mato Grosso do Sul").ru("Мату-Гросу-ду-Сул"))},t}();e.StiIsoElementHelper=i}(r=e.Helpers||(e.Helpers={}))}(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.Dictionary,n=function(){function t(){}return t.allowGss=function(t){return"UKCountries"==t},t.get=function(t){if(!this.allowGss(t))return null;return null==this.hash&&(this.hash=new r),this.hash.contains(t)||this.init(t),this.hash.get(t)},t.init=function(t){switch(t){case"UKCountries":this.initUKCountries();break}},t.isGssValue=function(t){if(null==t)return!1;var e=t.toLowerCase();return e.stimulsoft.startsWith("s12")||e.stimulsoft.startsWith("e06")||e.stimulsoft.startsWith("e10")||e.stimulsoft.startsWith("e07")||e.stimulsoft.startsWith("e09")||e.stimulsoft.startsWith("n09")||e.stimulsoft.startsWith("w06")||e.stimulsoft.startsWith("s12")||e.stimulsoft.startsWith("e08")||e.stimulsoft.startsWith("e11")},t.add=function(t,e,r){null!=r&&t.add(r.toLowerCase(),e)},t.initUKCountries=function(){var t=new r;this.add(t,"EastAyrshire","S12000008"),this.add(t,"EastDunbartonshire","S12000045"),this.add(t,"EastRenfrewshire","S12000011"),this.add(t,"Glasgow","S12000046"),this.add(t,"Inverclyde","S12000018"),this.add(t,"NorthAyshire","S12000021"),this.add(t,"NorthLanarkshire","S12000044"),this.add(t,"Renfrewshire","S12000038"),this.add(t,"SouthAyrshire","S12000028"),this.add(t,"SouthLanarkshire","S12000029"),this.add(t,"WestDunbartonshire","S12000039"),this.add(t,"Aberdeen","S12000033"),this.add(t,"Aberdeenshire","S12000034"),this.add(t,"Moray","S12000020"),this.add(t,"Falkirk","S12000014"),this.add(t,"Stirling","S12000030"),this.add(t,"Clackmannanshire","S12000005"),this.add(t,"PerthshireAndKinross","S12000024"),this.add(t,"Angus","S12000041"),this.add(t,"Dundee","S12000042"),this.add(t,"Fife","S12000015"),this.add(t,"EastLothian","S12000010"),this.add(t,"Edinburgh","S12000036"),this.add(t,"Midlothian","S12000019"),this.add(t,"WestLothian","S12000040"),this.add(t,"ScottishBorders","S12000026"),this.add(t,"Darlington","E06000005"),this.add(t,"Durham","E06000047"),this.add(t,"Hartlepool","E06000001"),this.add(t,"Middlesbrough","E06000002"),this.add(t,"RedcarAndCleveland","E06000003"),this.add(t,"StocktonOnTees","E06000004"),this.add(t,"Northumberland","E06000057"),this.add(t,"Hampshire","E10000014"),this.add(t,"Southampton","E06000045"),this.add(t,"MiltonKeynes","E06000042"),this.add(t,"Gloucestershire","E07000081"),this.add(t,"Buckinghamshire","E10000002"),this.add(t,"Hertfordshire","E10000015"),this.add(t,"BathAndNorthEastSomerset","E06000022"),this.add(t,"Bristol","E06000023"),this.add(t,"NorthSomerset","E06000024"),this.add(t,"SouthGloucestershire","E06000025"),this.add(t,"Somerset","E10000027"),this.add(t,"Devon","E10000008"),this.add(t,"Bournemouth","E06000028"),this.add(t,"Dorset","E10000009"),this.add(t,"Poole","E06000029"),this.add(t,"Cambridgeshire","E07000008"),this.add(t,"Leicestershire","E07000134"),this.add(t,"KingstonUponHull","E06000010"),this.add(t,"NorthEastLincolnshire","E06000012"),this.add(t,"NorthLincolnshire","E06000013"),this.add(t,"Derby","E06000015"),this.add(t,"Derbyshire","E07000035"),this.add(t,"BarkingAndDagenham","E09000002"),this.add(t,"Bexley","E09000004"),this.add(t,"Brent","E09000005"),this.add(t,"Bromley","E09000006"),this.add(t,"Camden","E09000007"),this.add(t,"Croydon","E09000008"),this.add(t,"Ealing","E09000009"),this.add(t,"Enfield","E09000010"),this.add(t,"Greenwich","E09000011"),this.add(t,"HammersmithAndFulham","E09000013"),this.add(t,"Hounslow","E09000018"),this.add(t,"Islington","E09000019"),this.add(t,"KensingtonAndChelsea","E09000020"),this.add(t,"Merton","E09000024"),this.add(t,"Redbridge","E09000026"),this.add(t,"RichmondUponThames","E09000027"),this.add(t,"Sutton","E09000029"),this.add(t,"TowerHamlets","E09000030"),this.add(t,"WalthamForest","E09000031"),this.add(t,"Wandsworth","E09000032"),this.add(t,"Westminster","E09000033"),this.add(t,"Lincolnshire","E07000138"),this.add(t,"Belfast","N09000003"),this.add(t,"Derry",null),this.add(t,"Omagh",null),this.add(t,"Armagh",null),this.add(t,"NewryAndMourne",null),this.add(t,"Banbridge",null),this.add(t,"Craigavon",null),this.add(t,"Dungannon",null),this.add(t,"Lisburn",null),this.add(t,"Cookstown",null),this.add(t,"Antrim",null),this.add(t,"Magherafelt",null),this.add(t,"Ballymena",null),this.add(t,"Larne",null),this.add(t,"Carrickfergus",null),this.add(t,"Newtownabbey",null),this.add(t,"NorthDown",null),this.add(t,"Down",null),this.add(t,"Coleraine",null),this.add(t,"Ballymoney",null),this.add(t,"Limavady",null),this.add(t,"Castlereagh",null),this.add(t,"Carmarthenshire","W06000010"),this.add(t,"Ceredigion","W06000008"),this.add(t,"Pembrokeshire","W06000009"),this.add(t,"Cornwall","E06000052"),this.add(t,"Powys","W06000023"),this.add(t,"Bridgend","W06000013"),this.add(t,"Caerphilly","W06000018"),this.add(t,"MerthyrTydfil","W06000024"),this.add(t,"RhonddaCynonTaf","W06000016"),this.add(t,"Cardiff","W06000015"),this.add(t,"ValeOfGlamorgan","W06000014"),this.add(t,"NeathPortTalbot","W06000012"),this.add(t,"Swansea","W06000011"),this.add(t,"York","E06000014"),this.add(t,"TelfordAndWrekin","E06000020"),this.add(t,"BlackburnWithDarwen","E06000008"),this.add(t,"Lancashire","E10000017"),this.add(t,"EastRidingOfYorkshire","E06000011"),this.add(t,"Denbighshire","W06000004"),this.add(t,"Flintshire","W06000005"),this.add(t,"Wrexham","W06000006"),this.add(t,"Anglesey","W06000001"),this.add(t,"Conwy","W06000003"),this.add(t,"Gwynedd","W06000002"),this.add(t,"BlaenauGwent","W06000019"),this.add(t,"Monmouthshire","W06000021"),this.add(t,"Newport","W06000022"),this.add(t,"Torfaen","W06000020"),this.add(t,"Strabane",null),this.add(t,"Fermanagh",null),this.add(t,"Ards",null),this.add(t,"DumfriesAndGalloway","S12000006"),this.add(t,"Cumbria","E10000006"),this.add(t,"NorthYorkshire","E10000023"),this.add(t,"Plymouth","E06000026"),this.add(t,"Torbay","E06000027"),this.add(t,"Essex","E10000012"),this.add(t,"Suffolk","E10000029"),this.add(t,"Norfolk","E10000020"),this.add(t,"BrightonAndHove","E06000043"),this.add(t,"Havering","E09000016"),this.add(t,"Thurrock","E06000034"),this.add(t,"EastSussex","E10000011"),this.add(t,"Medway","E06000035"),this.add(t,"SouthendOnSea","E06000033"),this.add(t,"Orkney","S12000023"),this.add(t,"Highland","S12000017"),this.add(t,"ArgyllAndBute","S12000035"),this.add(t,"ShetlandIslands","S12000027"),this.add(t,"WestSussex","E10000032"),this.add(t,"Northamptonshire","E07000152"),this.add(t,"Warwickshire","E07000218"),this.add(t,"Oxfordshire","E07000178"),this.add(t,"Luton","E06000032"),this.add(t,"Hillingdon","E09000017"),this.add(t,"KingstonUponThames","E09000021"),this.add(t,"Surrey","E10000030"),this.add(t,"Swindon","E06000030"),this.add(t,"Wiltshire","E06000054"),this.add(t,"IsleOfWight","E06000046"),this.add(t,"Portsmouth","E06000044"),this.add(t,"Peterborough","E06000031"),this.add(t,"Leicester","E06000016"),this.add(t,"Rutland","E06000017"),this.add(t,"Nottingham","E06000018"),this.add(t,"Nottinghamshire","E10000024"),this.add(t,"Hackney","E09000012"),this.add(t,"Haringey","E09000014"),this.add(t,"Harrow","E09000015"),this.add(t,"Lambeth","E09000022"),this.add(t,"Lewisham","E09000023"),this.add(t,"Newham","E09000025"),this.add(t,"Southwark","E09000028"),this.add(t,"EileanSiar","S12000013"),this.add(t,"Moyle",null),this.add(t,"Warrington","E06000007"),this.add(t,"Herefordshire","E06000019"),this.add(t,"Worcestershire","E07000237"),this.add(t,"Staffordshire","E07000193"),this.add(t,"StokeOnTrent","E06000021"),this.add(t,"Shropshire","E06000051"),this.add(t,"Kent","E10000016"),this.add(t,"City","E09000001"),this.add(t,"NewcastleUponTyne","E08000021"),this.add(t,"NorthTyneside","E08000022"),this.add(t,"SouthTyneside","E08000023"),this.add(t,"Sunderland","E08000024"),this.add(t,"Gateshead","E08000037"),this.add(t,"Knowsley","E08000011"),this.add(t,"Sefton","E08000014"),this.add(t,"Liverpool","E08000012"),this.add(t,"Merseyside","E11000002"),this.add(t,"Blackpool","E06000009"),this.add(t,"Kirklees","E08000034"),this.add(t,"Calderdale","E08000033"),this.add(t,"Bradford","E08000032"),this.add(t,"Leeds","E08000035"),this.add(t,"Wakefield","E08000036"),this.add(t,"Salford","E08000006"),this.add(t,"Wigan","E08000010"),this.add(t,"Bolton","E08000001"),this.add(t,"Bury","E08000002"),this.add(t,"Rochdale","E08000005"),this.add(t,"Oldham","E08000004"),this.add(t,"Tameside","E08000008"),this.add(t,"Stockport","E08000007"),this.add(t,"Manchester","E08000003"),this.add(t,"Trafford","E08000009"),this.add(t,"Rotherham","E08000018"),this.add(t,"Sheffield","E08000019"),this.add(t,"Barnsley","E08000016"),this.add(t,"Doncaster","E08000017"),this.add(t,"Birmingham","E08000025"),this.add(t,"Sandwell","E08000028"),this.add(t,"Dudley","E08000027"),this.add(t,"Wolverhampton","E08000031"),this.add(t,"Walsall","E08000030"),this.add(t,"Solihull","E08000029"),this.add(t,"Coventry","E08000026"),this.add(t,"CentralBedfordshire","E06000056"),this.add(t,"Bedford","E06000055"),this.add(t,"Reading","E06000038"),this.add(t,"WestBerkshire","E06000037"),this.add(t,"Wokingham","E06000041"),this.add(t,"BracknellForest","E06000036"),this.add(t,"RoyalBoroughOfWindsorAndMaidenhead","E06000040"),this.add(t,"Slough","E06000039"),this.add(t,"Barnet","E09000003"),this.add(t,"CheshireEast","E06000049"),this.add(t,"CheshireWestAndChester","E06000050"),this.add(t,"Halton","E06000006"),this.add(t,"IslesOfScilly","E06000053"),this.hash.add("UKCountries",t)},t}();e.StiGssMapHelper=n}(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(e){var r=t.System.StiString,n=t.Report.Maps.Helpers.StiGssMapHelper,i=function(){function t(){}return t.prototype.getNameFromIsoAlpha2=function(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=e.StiMapResourceHelper.getSvgBlockFromName(t,r,n);if(null!=i)return i.englishName;var o=e.StiIsoElementHelper.getCountryFromAlpha2(t,r);if(null!=o)return o.names.toList().firstOrDefault();var a=e.StiRegionInfoHelper.getNameFromIsoAlpha2(t);if(null!=a)return a;return null},t.prototype.getNameFromIsoAlpha3=function(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=e.StiMapResourceHelper.getSvgBlockFromName(t,r,n);if(null!=i)return i.englishName;var o=e.StiIsoElementHelper.getCountryFromAlpha3(t,r);if(null!=o)return o.names.toList().firstOrDefault();var a=e.StiRegionInfoHelper.getNameFromIsoAlpha3(t);if(null!=a)return a;return null},t.prototype.normalizeName=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null);var i=this.getIsoAlpha2FromName(t,e,n),o=this.getNameFromIsoAlpha2(i,e,n);return r.isNullOrWhiteSpace(o)?t:o},t.prototype.getIsoAlpha2FromName=function(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=e.StiMapResourceHelper.getIsoAlpha2FromName(t,r,n);if(null!=i)return i;if(null!=(i=e.StiIsoElementHelper.getIsoAlpha2FromName(t,r)))return i;if(null!=(i=e.StiRegionInfoHelper.getIsoAlpha2FromName(t)))return i;return null},t.prototype.getIsoAlpha3FromName=function(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=e.StiMapResourceHelper.getIsoAlpha3FromName(t,r,n);if(null!=i)return i;if(null!=(i=e.StiIsoElementHelper.getIsoAlpha3FromName(t,r)))return i;if(null!=(i=e.StiRegionInfoHelper.getIsoAlpha3FromName(t)))return i;return null},t.prototype.convertMapKeysToIsoAlpha2=function(t,n,i){if(void 0===i&&(i=null),null==t||0==t.length)return null;return t.select((function(t){return e.StiMapResourceHelper.getIsoAlpha2FromName(t,n,i)})).where((function(t){return!r.isNullOrWhiteSpace(t)})).distinct().toList()},t.prototype.getMapKeysFromNames=function(t,e,r){var n=this;if(void 0===r&&(r=null),null==t)return null;return t.select((function(t){return t.toString()}),this).select((function(t){return n.getMapKeyFromName(t,e,r)}),this).toList()},t.prototype.getMapKeyFromName=function(r,i,o){if(void 0===o&&(o=null),n.isGssValue(r))return r;var a=(new t).getIsoAlpha2FromName(r,i,o),s=e.StiMapResourceHelper.getSvgBlockFromIsoAlpha2(a,i,o);if(null==a)return r;return null!=s?s.key:null},t.simplify=function(t){return null==t?t:t.toLowerCase().stimulsoft.replaceAll(" ","").stimulsoft.replaceAll("-","")},t}();e.StiMapKeyHelper=i}(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){var e=function(){function t(){this.geoms=[]}return t}();t.StiMapGeomsContainer=e}(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){var e;!function(t){var e=function(){function t(){this.geoms=[]}return t}();t.StiMapGeomsObject=e}(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){var e;!function(t){var e=function(){function t(){}return Object.defineProperty(t.prototype,"geomType",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.getLastPoint=function(){throw new Error("Not supported!")},t}();t.StiMapGeom=e}(e=t.Geoms||(t.Geoms={}))}(e=t.Maps||(t.Maps={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Point,n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),Object.defineProperty(n.prototype,"geomType",{get:function(){return e.StiMapGeomType.MoveTo},enumerable:!1,configurable:!0}),n.prototype.getLastPoint=function(){return new r(this.x,this.y)},n}(e.StiMapGeom);e.StiMoveToMapGeom=n}(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;!function(e){var r=t.System.Drawing.Point,n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),Object.defineProperty(n.prototype,"geomType",{get:function(){return e.StiMapGeomType.Line},enumerable:!1,configurable:!0}),n.prototype.getLastPoint=function(){return new r(this.x,this.y)},n}(e.StiMapGeom);e.StiLineMapGeom=n}(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;!function(e){var r=t.System.Drawing.Point,n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),Object.defineProperty(n.prototype,"geomType",{get:function(){return e.StiMapGeomType.Bezier},enumerable:!1,configurable:!0}),n.prototype.getLastPoint=function(){return new r(this.x3,this.y3)},n}(e.StiMapGeom);e.StiBezierMapGeom=n}(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;!function(e){var r=t.System.Drawing.Point,n=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),Object.defineProperty(n.prototype,"geomType",{get:function(){return e.StiMapGeomType.Beziers},enumerable:!1,configurable:!0}),n.prototype.getLastPoint=function(){return new r(this.array[this.array.length-2],this.array[this.array.length-1])},n}(e.StiMapGeom);e.StiBeziersMapGeom=n}(r=e.Geoms||(e.Geoms={}))}(r=e.Maps||(e.Maps={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e;!function(t){var e=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"geomType",{get:function(){return t.StiMapGeomType.Close},enumerable:!1,configurable:!0}),r}(t.StiMapGeom);t.StiCloseMapGeom=e}(e=t.Geoms||(t.Geoms={}))}(e=t.Maps||(t.Maps={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r;!function(e){var r=t.System.Drawing.Point,n,i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(n,t),n.prototype.getLastPoint=function(){if(0==this.length)return new r;var t=this[this.length-1];if(t.geomType==e.StiMapGeomType.Close&&this.length>0)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;v<y;v++){var g;(g=new c).x1=Math.round2(e[b],3),g.y1=Math.round2(e[b+1],3),g.x2=Math.round2(e[b+2],3),g.y2=Math.round2(e[b+3],3),g.x3=Math.round2(e[b+4],3),g.y3=Math.round2(e[b+5],3),o.add(g),S=new i(g.x3,g.y3),b+=6}break;case A.Bezier_c:if(6!=e.length){if(a)return;throw new Error("NotSupportedException")}var S=o[o.length-1].getLastPoint(),g;(g=new c).x1=Math.round2(S.x+e[0],3),g.y1=Math.round2(S.y+e[1],3),g.x2=Math.round2(S.x+e[2],3),g.y2=Math.round2(S.y+e[3],3),g.x3=Math.round2(S.x+e[4],3),g.y3=Math.round2(S.y+e[5],3),o.add(g);break;case A.VerticalLineto_V:if(1!=e.length){if(a)return;throw new Error("NotSupportedException")}var C=o[o.length-1].getLastPoint(),g;(g=new u).x=Math.round2(C.x,3),g.y=Math.round2(e[0],3),o.add(g);break;case A.VerticalLineto_v:if(1!=e.length){if(a)return;throw new Error("NotSupportedException")}var C=o[o.length-1].getLastPoint(),g;(g=new u).x=Math.round2(C.x,3),g.y=Math.round2(C.y+e[0],3),o.add(g);break;case A.HorizontalLineto_H:if(1!=e.length)throw new Error("");var C=o[o.length-1].getLastPoint(),g;(g=new u).x=Math.round2(e[0],3),g.y=Math.round2(C.y,3),o.add(g);break;case A.HorizontalLineto_h:if(1!=e.length){if(a)return;throw new Error("NotSupportedException")}var C=o[o.length-1].getLastPoint(),g;(g=new u).x=Math.round2(C.x+e[0],3),g.y=Math.round2(C.y,3),o.add(g);break;case A.Beziers_S:if(e.length<6){if(a)return;throw new Error("NotSupportedException")}var w=[],g;try{for(var B=__values(e),I=B.next();!I.done;I=B.next()){var T=I.value;w.push(Math.round2(T,3))}}catch(t){s={error:t}}finally{try{I&&!I.done&&(m=B.return)&&m.call(B)}finally{if(s)throw s.error}}(g=new p).array=w.stimulsoft.toArray(),o.add(g);break;case A.Beziers_s:if(e.length<6){if(a)return;throw new Error("NotSupportedException")}var C;(C=o[o.length-1].getLastPoint()).x+=e[4],C.y+=e[5];var E=!0,w=[],g;try{for(var R=__values(e),D=R.next();!D.done;D=R.next()){var T=D.value,P=E?T+C.x:T+C.y;w.push(Math.round2(P,3)),E=!E}}catch(t){f={error:t}}finally{try{D&&!D.done&&(d=R.return)&&d.call(R)}finally{if(f)throw f.error}}(g=new p).array=w.stimulsoft.toArray(),o.add(g),w.stimulsoft.clear(),w=null;break;case A.Close:if(0!=e.length){if(a)return;throw new Error("NotSupportedException")}o.add(new h);break}e.stimulsoft.clear()},b.parsePath=function(t){try{var e=new n,r=0,i=0,o=A.None,a=0,s=[],l=0,u=0,c=t.length;while(u<c){var p;switch(t[u]){case"M":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&(this.createGeom(o,s,r,u,e),i=0),o=A.MoveToM,a=r=u+1;break;case"m":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&(this.createGeom(o,s,r,u,e),i=0),o=A.MoveTom,a=r=u+1;break;case"C":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.Bezier_C,a=r=u+1;break;case"c":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.Bezier_c,a=r=u+1;break;case"S":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o=A.Beziers_S,a=r=u+1;break;case"s":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o=A.Beziers_s,a=r=u+1;break;case"L":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.Line_L,a=r=u+1;break;case"l":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.Line_l,a=r=u+1;break;case"Z":case"z":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.Close,a=r=u+1;break;case"V":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.VerticalLineto_V,a=r=u+1;break;case"v":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.VerticalLineto_v,a=r=u+1;break;case"H":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.HorizontalLineto_H,a=r=u+1;break;case"h":s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&this.createGeom(o,s,r,u,e),o=A.HorizontalLineto_h,a=r=u+1;break;case"-":i++,s.push(t.substr(a,u-a).stimulsoft.toNumber()),a=u;break;case",":case" ":i++,s.push(t.substr(a,u-a).stimulsoft.toNumber()),a=u+1,2==s.length&&(o==A.MoveToM||o==A.MoveTom?(this.createGeom(o,s,r,u,e),i=0,o=A.None):o==A.None&&(this.createGeom(A.Line_l,s,r,u,e),i=0));break;case"Q":case"q":case"T":case"t":case"A":case"a":throw new Error("")}u++}return s.push(t.substr(a,u-a).stimulsoft.toNumber()),o!=A.None&&s.length>1&&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+y<o.right||E){var P=m.getBrush(f.brush,D);if(i.fillRectangle(P,D.x,D.y,D.width,D.height),null!=g&&R<g.length){var x=m.getBrush(f.textBrush,D);i.drawString(g[R],B,x,D.x,D.y)}this.paintBorder(f,i,D,f.page.zoom,!0,!0),I+=b+y,R++,E=!1}else if(T+=v+A,I=o.x+d,E=!0,!f.wordWrap||o.bottom<T+v+A)break}}else{var F=new u(1,1),I=o.x+d+b;while(I+y+b<o.right)I+=y+b,F.width++;var T=o.y+d+v;while(T+A+v<o.bottom)T+=A+v,F.height++;f.wordWrap||(F.height=1);var N=new c,k="";null==g&&(g="");for(var M=0;M<g.length;M++){var O=g[M];p.isControl(O)?"\n"==O&&(N.add(t.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(k)),k=""):k+=O}if(""!=k&&N.add(t.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(k)),0==N.length&&N.add(k),f.wordWrap)for(var _=0;_<N.length;_++){var j=N[_];if(j.length>F.width){var G=[],H=0,Q=0;while(Q<j.length&&p.isWhitespace(j[Q]))G[Q]=H,Q++;for(var L=Q;L<j.length;L++)p.isWhitespace(j[L])&&H++,G[L]=H;var R,Y=(R=F.width)-1;if(G[R]>0)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;U<F.height;U++){var J=U<N.length?N[U]:"",W=0;f.horAlignment==StiTextHorAlignment.Center&&(W=(F.width-J.length)/2),f.horAlignment==StiTextHorAlignment.Right&&(W=F.width-J.length),W>0&&(J=n.repeat(" ",W)+J),I=o.x+d;for(var V=0;V<F.width;V++){var D=new h(I,T,b,v),P=m.getBrush(f.brush,D);i.fillRectangle(P,D.x,D.y,D.width,D.height);var z=f.rightToLeft?F.width-V-1:V;if(z<J.length){var x=m.getBrush(f.textBrush,D);i.drawString(J[z],B,x,D.x,D.y)}this.paintBorder(f,i,D,f.page.zoom,!0,!0),I+=b+y}T+=v+A}}},r.prototype.paintBackground=function(t,e,r){if(t.isDesigning){var n=o.fromArgb(150,o.white);i.fillRectangle(e,n,r.left,r.top,r.width,r.height)}if(!t.isDesigning||t.report.isPageDesigner)return},r.prototype.paintBorder=function(t,e,r,n,i,o){if(!t.isDesigning||t.report.isPageDesigner)return},r}();r.StiTextinCellsPainter=f}(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.Base.Drawing.StiDrawing,i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.paintText=function(t,e,n){var i=t.getTextForPaint();if(!r.isNullOrEmpty(i)){var o=t.font.size*t.page.zoom;e.drawString(i,t.font,null,n.x,n.y)}},e.prototype.paintBackground=function(t,e,r){n.fillRectangle(e,t.brush,r)},e.prototype.paintBorder=function(e,r,n,i,o,a){var s=e;t.prototype.paintBorder.call(this,s,r,n,s.page.zoom,o,a)},e.prototype.paint=function(t,e){var r=t,n=t.getPaintRectangle();this.paintBackground(r,e,n),this.paintText(r,e,n);var i=n.clone();this.paintBorder(r,e,i,r.page.zoom,!0,!0)},e}(e.StiComponentPainter);e.StiTextPainter=i}(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){var i=e.call(this,r,n)||this;return i.pointFrom=t,i}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiAnimationType.Points},enumerable:!1,configurable:!0}),r}(e.StiAnimation);e.StiPointAnimation=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,r,n;!function(t){t[t["None"]=0]="None",t[t["Border"]=1]="Border",t[t["CachedShadow"]=2]="CachedShadow",t[t["Curve"]=3]="Curve",t[t["Ellipse"]=4]="Ellipse",t[t["Font"]=5]="Font",t[t["Line"]=6]="Line",t[t["Lines"]=7]="Lines",t[t["Path"]=8]="Path",t[t["Pen"]=9]="Pen",t[t["PopSmothingMode"]=10]="PopSmothingMode",t[t["PopTextRenderingHint"]=11]="PopTextRenderingHint",t[t["PopTransform"]=12]="PopTransform",t[t["PopClip"]=13]="PopClip",t[t["PushClip"]=14]="PushClip",t[t["PushRotateTransform"]=15]="PushRotateTransform",t[t["PushSmothingMode"]=16]="PushSmothingMode",t[t["PushSmothingModeToAntiAlias"]=17]="PushSmothingModeToAntiAlias",t[t["PushTextRenderingHint"]=18]="PushTextRenderingHint",t[t["PushTextRenderingHintToAntiAlias"]=19]="PushTextRenderingHintToAntiAlias",t[t["PushTranslateTransform"]=20]="PushTranslateTransform",t[t["Segment"]=21]="Segment",t[t["Shadow"]=22]="Shadow",t[t["Text"]=23]="Text",t[t["StringFormat"]=24]="StringFormat",t[t["AnimationBar"]=25]="AnimationBar",t[t["AnimationBorder"]=26]="AnimationBorder",t[t["AnimationColumn"]=27]="AnimationColumn",t[t["AnimationEllipse"]=28]="AnimationEllipse",t[t["AnimationPath"]=29]="AnimationPath",t[t["AnimationPathElement"]=30]="AnimationPathElement",t[t["AnimationLines"]=31]="AnimationLines",t[t["AnimationCurve"]=32]="AnimationCurve",t[t["AnimationLabel"]=33]="AnimationLabel",t[t["AnimationShadow"]=34]="AnimationShadow",t[t["Image"]=35]="Image",t[t["PushClipPath"]=36]="PushClipPath"}(e=t.StiGeomType||(t.StiGeomType={})),function(t){t[t["Center"]=0]="Center",t[t["Inset"]=1]="Inset",t[t["Outset"]=2]="Outset",t[t["Left"]=3]="Left",t[t["Right"]=4]="Right"}(r=t.StiPenAlignment||(t.StiPenAlignment={})),function(t){t[t["Flat"]=0]="Flat",t[t["Square"]=1]="Square",t[t["Round"]=2]="Round",t[t["Triangle"]=3]="Triangle",t[t["NoAnchor"]=4]="NoAnchor",t[t["SquareAnchor"]=5]="SquareAnchor",t[t["RoundAnchor"]=6]="RoundAnchor",t[t["DiamondAnchor"]=7]="DiamondAnchor",t[t["ArrowAnchor"]=8]="ArrowAnchor"}(n=t.StiPenLineCap||(t.StiPenLineCap={}))}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Enum,n=function(n){function i(r,i){void 0===i&&(i=1);var o=n.call(this)||this;return o.thickness=1,o.penStyle=t.Base.Drawing.StiPenStyle.Solid,o.alignment=e.StiPenAlignment.Center,o.startCap=e.StiPenLineCap.Flat,o.endCap=e.StiPenLineCap.Flat,o.brush=r,o.thickness=i,o}return __extends(i,n),i.prototype.saveToJsonObject=function(i){var o=n.prototype.saveToJsonObject.call(this,i);return null!=this.brush&&o.addPropertyString("Brush",this.saveBrushToJsonObject(this.brush,i)),o.addPropertyNumberNoDefaultValue("Thickness",this.thickness),o.addPropertyString("PenStyle",r.getName(t.Base.Drawing.StiPenStyle,this.penStyle)),o.addPropertyString("Alignment",r.getName(e.StiPenAlignment,this.alignment)),o.addPropertyString("StartCap",r.getName(e.StiPenLineCap,this.startCap)),o.addPropertyString("EndCap",r.getName(e.StiPenLineCap,this.endCap)),o},Object.defineProperty(i.prototype,"type",{get:function(){return e.StiGeomType.Pen},enumerable:!1,configurable:!0}),i}(e.StiGeom);e.StiPenGeom=n}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=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.StiGeomType.PopSmothingMode},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPopSmothingModeGeom=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(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PopTextRenderingHint},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPopTextRenderingHintGeom=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(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PushSmothingModeToAntiAlias},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPushSmothingModeToAntiAliasGeom=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(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),Object.defineProperty(r.prototype,"type",{get:function(){return t.StiGeomType.PushTextRenderingHintToAntiAlias},enumerable:!1,configurable:!0}),r}(t.StiGeom);t.StiPushTextRenderingHintToAntiAliasGeom=e}(e=t.Context||(t.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(e){var r=t.System.Enum,n=t.System.Drawing.Text.HotkeyPrefix,i=t.System.Drawing.StringAlignment,o=t.System.Drawing.StringTrimming,a=t.System.Drawing.StringFormatFlags,s=function(t){function s(e){var r=t.call(this)||this;return r.isGeneric=!1,r.alignment=i.Near,r.formatFlags=0,r.hotkeyPrefix=n.None,r.lineAlignment=i.Near,r.trimming=o.None,r.alignment=e.alignment,r.formatFlags=e.formatFlags,r.hotkeyPrefix=e.hotkeyPrefix,r.lineAlignment=e.lineAlignment,r.trimming=e.trimming,r}return __extends(s,t),s.prototype.saveToJsonObject=function(e){var s=t.prototype.saveToJsonObject.call(this,e);return s.addPropertyBool("IsGeneric",this.isGeneric),s.addPropertyString("Alignment",r.getName(i,this.alignment)),s.addPropertyString("FormatFlags",r.getName(a,this.formatFlags)),s.addPropertyString("HotkeyPrefix",r.getName(n,this.hotkeyPrefix)),s.addPropertyString("LineAlignment",r.getName(i,this.lineAlignment)),s.addPropertyString("Trimming",r.getName(o,this.trimming)),s},Object.defineProperty(s.prototype,"type",{get:function(){return e.StiGeomType.StringFormat},enumerable:!1,configurable:!0}),s}(e.StiGeom);e.StiStringFormatGeom=s}(r=e.Context||(e.Context={}))}(e=t.Base||(t.Base={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(t,e,r,n){this._isWpf=!1,this._isGdi=!1,this._zoom=1,this._isGdi=t,this._isWpf=e,this._zoom=n}return Object.defineProperty(t.prototype,"isPrinting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWpf",{get:function(){return this._isWpf},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isGdi",{get:function(){return this._isGdi},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},enumerable:!1,configurable:!0}),t}();t.StiContextOptions=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(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.GraphicsPathCloseFigure},enumerable:!1,configurable:!0}),r}(e.StiGaugeGeom);e.StiGraphicsPathCloseFigureGaugeGeom=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(r){function n(t,e,n,i,o){var a=r.call(this)||this;return a._geoms=[],a.rect=t,a.startPoint=e,a.background=n,a.borderBrush=i,a.borderWidth=o,a.startPoint=e,a}return __extends(n,r),Object.defineProperty(n.prototype,"type",{get:function(){return t.StiGaugeGeomType.GraphicsPath},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"geoms",{get:function(){return this._geoms},enumerable:!1,configurable:!0}),n.prototype.addGraphicsPathArcGaugeGeom=function(t,r,n,i,o,a){n>0&&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;i<t;i++){if(0==this.stackColors.length||this.stackColors.length<r)e[i]=a.fromArgb(255,112,173,71);else if(0!=n){var o=this.stackColors[r],s=Math.min(o.a+n,255),l=Math.min(o.r+n,255),u=Math.min(o.g+n,255),c=Math.min(o.b+n,255);e[i]=a.fromArgb(s,l,u,c)}else e[i]=this.stackColors[r];++r==this.stackColors.length&&(r=0,n=50)}return e},t.prototype.init=function(t,e){var r,n;this.painter=e,this.stackColors.stimulsoft.clear();var i=t.getCurrentStyleColors();this.index=0;try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value;this.stackColors.push(s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},t}(),b=function(){function t(t,e,r){var n,i;this.painter=t;var o=!0;try{for(var a=__values(r),s=a.next();!s.done;s=a.next()){var l=s.value;if(null==l||null==l.value)continue;var u=0;if(isNaN(parseFloat(l.value)))continue;u=parseFloat(l.value),o?(o=!1,this.min=u,this.max=u):u<this.min?this.min=u:u>this.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.length<A)&&(A=o.length),null!=a&&(0==A||a.length<A)&&(A=a.length),null!=s&&(0==A||s.length<A)&&(A=s.length),null!=g&&(0==A||g.length<A)&&(A=g.length),null!=S&&(0==A||S.length<A)&&(A=S.length),null!=o){try{for(var b=__values(this.mapData),v=b.next();!v.done;v=b.next()){var C=v.value;C.group=null,C.value=null,null!=S&&(C.color=null)}}catch(t){e={error:t}}finally{try{v&&!v.done&&(i=b.return)&&i.call(b)}finally{if(e)throw e.error}}for(var w=y?n.get(this.map.mapIdent):null,B=function(t){var e=null;if(o.length<=t||null==o[t])return"continue";if(e=o[t].toString(),r.isNullOrEmpty(e))return"continue";if(e=e.toLowerCase(),y&&n.isGssValue(e)){var i={ref:""};e=w.tryGetValue(e,i)?i.ref.toLowerCase():""}var l=I.mapData.firstOrDefault((function(t){return t.key.toLowerCase()==e}));if(null==l)return"continue";if(null!=a&&null!=a[t]){var u=a[t].toString();l.name=u}if(null!=s&&null!=s[t]){var c=s[t].toString();l.value=c}if(null!=g&&null!=g[t]){var p=g[t].toString();l.group=p}if(null!=S&&null!=S[t]){var h=S[t].toString();l.color=h}},I=this,T=0;T<A;T++)B(T)}}catch(t){}},e.prototype.getGeomBrush=function(e){if(this.map.mapType==t.Report.Maps.StiMapType.Individual){if(this.map.colorEach){if(null==e)return new o(this.mapStyle.defaultColor);var r=this.parseHexColor(e.color);if(null!=r)return r;return new o(this.noneInfo.getBrush().color)}return new o(g.changeLightness(this.mapStyle.individualColor,this.individualStep))}switch(this.map.mapType){case t.Report.Maps.StiMapType.Heatmap:return null==e||null==e.value?this.defaultBrush:this.heatmapInfo.getBrush(e);case t.Report.Maps.StiMapType.Group:return null!=e&&null!=e.group&&this.hashGroup[e.group]?this.hashGroup[e.group].fill:new o(this.mapStyle.defaultColor);case t.Report.Maps.StiMapType.HeatmapWithGroup:return null==e.group||null==e.group?new o(this.mapStyle.defaultColor):this.heatmapWithGroupInfo.getBrush(e)}return new o(this.mapStyle.backColor)},e.prototype.updateHeatmapWithGroup=function(){this.heatmapInfo=new b(this,this.map,this.mapData),this.noneInfo=new C,this.map.mapType==t.Report.Maps.StiMapType.HeatmapWithGroup&&(this.heatmapWithGroupInfo=new v(this,this.map,this.mapData))},e.prototype.updateGroupedData=function(){var t,e;if(null==this.mapData)return;try{for(var n=__values(this.mapData),i=n.next();!i.done;i=n.next()){var o=i.value;if(r.isNullOrEmpty(o.group))continue;var a=0;null==o.value||isNaN(parseFloat(o.value))||(a=parseFloat(o.value));var s=null;this.hashGroup[o.group]?(s=this.hashGroup[o.group],null!=a&&(null!=s.minValue&&null!=s.maxValue||(s.minValue=0,s.maxValue=0),s.minValue>a?s.minValue=a:s.maxValue<a&&(s.maxValue=a))):((s=new y).minValue=a,s.maxValue=a,this.hashGroup[o.group]=s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this.fillGroupColors()},e.prototype.fillGroupColors=function(){var t,e;this.colorsContainer.init(this.map,this);var r=0,n=[];for(var i in this.hashGroup)n.push(i);n.sort();try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var i=s.value,l=this.hashGroup[i];l.fill1=this.colorsContainer.getColor1(r,S.keys(this.hashGroup).length),l.fill=new o(l.fill1.color),r++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}},e.prototype.parseHexColor=function(t){try{if(!r.isNullOrEmpty(t))return t.stimulsoft.startsWith("#")?new o(i.fromHtml(t)):new o(a.fromName(t))}catch(t){}return null},e}();e.StiGdiMapContextPainter=w}(r=e.Painters||(e.Painters={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e=function(){function t(){}return t.getBase64Content=function(){return"AAEAAAALAIAAAwAwT1MvMo1Djb4AAAE4AAAAYGNtYXDQMmWWAAANnAAAA9BnYXNw//8AAwACsEwAAAAIZ2x5ZuwguB8AAB10AAJs2GhlYWQMyHt3AAAAvAAAADZoaGVhDvkK7gAAAPQAAAAkaG10eDqCLpEAAAGYAAAMBGxvY2EDg0B0AAARbAAADAhtYXhwA2oCHAAAARgAAAAgbmFtZZ5nQlMAAopMAAAD0nBvc3Q+JtuEAAKOIAAAIioAAQAAAAQByzeB/adfDzz1AAsHAAAAAADLTzwwAAAAANlg9IP/7f7pCQkGEgAAAAgAAgABAAAAAAABAAAGAP8AAAAJ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gAAAAgAH/8SBoYF5gADAAcACwAPABMAFwAbAB8AAAUhESETETMRBSERIRMRMxEBESERBTMRIwERIREFMxEjBT4BSP64N9r9OgFI/rg32v06AUj+79ra/hQBSP7v2truBtT5YwZm+Zo3BYz6qwUf+uEEDvu7BEU3/CkCxv0DAv03/XEABwAe/xEGhgXmAAMABwALAA8AEwAXABsAABcRIREpAREhExEzEQUhESETETMRAREhEQUzESMeAUgD2AFI/rg32v06AUj+uDbb/TkBSP7v29vvAv39AwbV+WEGaPmYNgWN+qkFIPrgBA/7uwRFN/woAAYAF/8TBoYF8AADAAcACwAPABMAFwAAFxEhETMRIREpAREhExEzEQUhESETETMRFwFJbgFKAiUBSf63N9v9NgFK/rY33O0DAfz/BEr7tgbd+VoGb/mRNwWU+qMFJvraAAUAF/8TBoYF8AADAAcACwAPABMAABcRIREzESERAREhEQEhESETETMRFwFJbgFKAbf+tgG4AUn+tzfb7QMB/P8ESvu2BZT6bAWU+mwG3flaBm/5kQAAAAAEAA//CwaGBfAAAwAHAAsADwAAFxEhETMRIREBESERAREhEQ8BS24BSwG6/rUDBP619QME/PwET/uxBZr6ZgWaAUv5GwblAAABACP+8gcjBfIAAwAAEwkCIwOAA4D8gAJy/IADgAOAAAQAOv8HByMF8AADAAcACwAPAAATESERMxEhEQERIREzESEROgM9bwM9+RcDPW8DPQKzAz38wwM9/MP8VAM9/MMDPfzDAAAAAAUAQf8OByMF8AADAAcACwAPABMAAAEhESETESERBREhESERIREDESERA+kDOvzGNwLM/I/8xgbi/MZu/MYCtgM6/P0CzP00pfzGAzr8xgM6A6j8xgM6AAAGAED/DQcjBfAAAwAHAAsADwATABcAABMhESETESERFyERIRMRIREFESERIREhEUADOvzGNwLMpgM6/MY3Asz8jvzGBuP8xgK2Azr8/QLM/TQ3Azr8/QLM/TSm/MYDOvzGAzoABwA//wwHIwXwAAMABwALAA8AEwAXABsAABMhESETESEREyERIRMRIREBIREhExEhEQURIRE/Azv8xTcCzaUDO/zFNwLN/PwDO/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ByaXZhdGVVc2VBcmVhRUFCRRJQcml2YXRlVXNlQXJlYUVBQzASUHJpdmF0ZVVzZUFyZWFFQUMyFFJFUExBQ0VNRU5UQ0hBUkFDVEVSAAAAAAAB//8AAg=="},t}();t.StimulsoftFont=e}(e=t.Resources||(t.Resources={}))}(e=t.Report||(t.Report={}))}(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.StiStyleConditionElement=e}(e=t.Elements||(t.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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){var r=function(e){function r(r,n){void 0===n&&(n=t.StiStyleConditionOperation.EqualTo);var i=e.call(this)||this;return i._operationComponentName=t.StiStyleConditionOperation.EqualTo,i._componentName="",i._componentName=r,i._operationComponentName=n,i}return __extends(r,e),Object.defineProperty(r.prototype,"operationComponentName",{get:function(){return this._operationComponentName},set:function(t){this._operationComponentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),r}(e.StiStyleConditionElement);e.StiStyleConditionComponentNameElement=r}(r=e.Elements||(e.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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){var r=function(e){function r(r,n){void 0===n&&(n=t.StiStyleConditionOperation.EqualTo);var i=e.call(this)||this;return i._componentType=t.StiStyleComponentType.Text,i._operationComponentType=t.StiStyleConditionOperation.EqualTo,i._componentType=r,i._operationComponentType=n,i}return __extends(r,e),Object.defineProperty(r.prototype,"componentType",{get:function(){return this._componentType},set:function(t){this._componentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationComponentType",{get:function(){return this._operationComponentType},set:function(t){this._operationComponentType=t},enumerable:!1,configurable:!0}),r}(e.StiStyleConditionElement);e.StiStyleConditionComponentTypeElement=r}(r=e.Elements||(e.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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){var r=function(e){function r(r,n){void 0===n&&(n=t.StiStyleConditionOperation.EqualTo);var i=e.call(this)||this;return i._operationLocation=t.StiStyleConditionOperation.EqualTo,i._location=t.StiStyleLocation.None,i._location=r,i._operationLocation=n,i}return __extends(r,e),Object.defineProperty(r.prototype,"operationLocation",{get:function(){return this._operationLocation},set:function(t){this._operationLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"location",{get:function(){return this._location},set:function(t){this._location=t},enumerable:!1,configurable:!0}),r}(e.StiStyleConditionElement);e.StiStyleConditionLocationElement=r}(r=e.Elements||(e.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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){var r=function(e){function r(r,n){void 0===n&&(n=t.StiStyleConditionOperation.EqualTo);var i=e.call(this)||this;return i._placement=t.StiStyleComponentPlacement.None,i._operationPlacement=t.StiStyleConditionOperation.EqualTo,i._placement=r,i._operationPlacement=n,i}return __extends(r,e),Object.defineProperty(r.prototype,"placement",{get:function(){return this._placement},set:function(t){this._placement=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationPlacement",{get:function(){return this._operationPlacement},set:function(t){this._operationPlacement=t},enumerable:!1,configurable:!0}),r}(e.StiStyleConditionElement);e.StiStyleConditionPlacementElement=r}(r=e.Elements||(e.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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){var r=function(e){function r(r,n){void 0===n&&(n=t.StiStyleConditionOperation.EqualTo);var i=e.call(this)||this;return i._placementNestedLevel=1,i._operationPlacementNestedLevel=t.StiStyleConditionOperation.EqualTo,i._placementNestedLevel=r,i._operationPlacementNestedLevel=n,i}return __extends(r,e),Object.defineProperty(r.prototype,"placementNestedLevel",{get:function(){return this._placementNestedLevel},set:function(t){this._placementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationPlacementNestedLevel",{get:function(){return this._operationPlacementNestedLevel},set:function(t){this._operationPlacementNestedLevel=t},enumerable:!1,configurable:!0}),r}(e.StiStyleConditionElement);e.StiStyleConditionPlacementNestedLevelElement=r}(r=e.Elements||(e.Elements={}))}(e=t.Conditions||(t.Conditions={}))}(e=t.Styles||(t.Styles={}))}(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.ICloneable,o=t.Report.Styles.Conditions.Elements.StiStyleConditionComponentNameElement,a=t.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,u=function(){function r(t,r,n,i,o,a,s,l,u,c,p){this._type=e.StiStyleConditionType.Placement,this._operationPlacement=e.StiStyleConditionOperation.EqualTo,this._operationPlacementNestedLevel=e.StiStyleConditionOperation.EqualTo,this._operationComponentType=e.StiStyleConditionOperation.EqualTo,this._operationLocation=e.StiStyleConditionOperation.EqualTo,this._operationComponentName=e.StiStyleConditionOperation.EqualTo,this._placement=e.StiStyleComponentPlacement.None,this._placementNestedLevel=1,this._componentType=e.StiStyleComponentType.Text,this._location=e.StiStyleLocation.None,this._componentName="",null==t||(t.stimulsoft.is(Array)?this.fromElements(t):(this._type=t,this._operationPlacement=r,this._operationPlacementNestedLevel=n,this._operationComponentType=i,this._operationLocation=o,this._operationComponentName=a,this._placement=s,this._placementNestedLevel=l,this._componentType=u,this._location=c,this._componentName=p))}return r.prototype.implements=function(){return[i,s]},r.prototype.saveToJsonObject=function(t){var r=new l;return r.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),r.addPropertyEnum("Type",e.StiStyleConditionType,this.type,e.StiStyleConditionType.Placement),r.addPropertyEnum("OperationPlacement",e.StiStyleConditionOperation,this.operationPlacement,e.StiStyleConditionOperation.EqualTo),r.addPropertyEnum("OperationPlacementNestedLevel",e.StiStyleConditionOperation,this.operationPlacementNestedLevel,e.StiStyleConditionOperation.EqualTo),r.addPropertyEnum("OperationComponentType",e.StiStyleConditionOperation,this.operationComponentType,e.StiStyleConditionOperation.EqualTo),r.addPropertyEnum("OperationLocation",e.StiStyleConditionOperation,this.operationLocation,e.StiStyleConditionOperation.EqualTo),r.addPropertyEnum("OperationComponentName",e.StiStyleConditionOperation,this.operationComponentName,e.StiStyleConditionOperation.EqualTo),r.addPropertyEnum("Placement",e.StiStyleComponentPlacement,this.placement,e.StiStyleComponentPlacement.None),r.addPropertyNumber("PlacementNestedLevel",this.placementNestedLevel,1),r.addPropertyEnum("ComponentType",e.StiStyleComponentType,this.componentType,e.StiStyleComponentType.Text),r.addPropertyEnum("Location",e.StiStyleLocation,this.location,e.StiStyleLocation.None),r.addPropertyStringNullOrEmpty("ComponentName",this.componentName),r},r.prototype.loadFromJsonObject=function(t){var r,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Type":this._type=n.parse(e.StiStyleConditionType,s.value);break;case"OperationPlacement":this._operationPlacement=n.parse(e.StiStyleConditionOperation,s.value);break;case"OperationPlacementNestedLevel":this._operationPlacementNestedLevel=n.parse(e.StiStyleConditionOperation,s.value);break;case"OperationComponentType":this._operationComponentType=n.parse(e.StiStyleConditionOperation,s.value);break;case"OperationLocation":this._operationLocation=n.parse(e.StiStyleConditionOperation,s.value);break;case"OperationComponentName":this._operationComponentName=n.parse(e.StiStyleConditionOperation,s.value);break;case"Placement":this._placement=n.parse(e.StiStyleComponentPlacement,s.value);break;case"PlacementNestedLevel":this._placementNestedLevel=s.value.stimulsoft.toNumber();break;case"ComponentType":this._componentType=n.parse(e.StiStyleComponentType,s.value);break;case"Location":this._location=n.parse(e.StiStyleLocation,s.value);break;case"ComponentName":this._componentName=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}}},r.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Type":this._type=n.parse(e.StiStyleConditionType,i.textContent);break;case"OperationPlacement":this._operationPlacement=n.parse(e.StiStyleConditionOperation,i.textContent);break;case"OperationPlacementNestedLevel":this._operationPlacementNestedLevel=n.parse(e.StiStyleConditionOperation,i.textContent);break;case"OperationComponentType":this._operationComponentType=n.parse(e.StiStyleConditionOperation,i.textContent);break;case"OperationLocation":this._operationLocation=n.parse(e.StiStyleConditionOperation,i.textContent);break;case"OperationComponentName":this._operationComponentName=n.parse(e.StiStyleConditionOperation,i.textContent);break;case"Placement":this._placement=n.parse(e.StiStyleComponentPlacement,i.textContent);break;case"PlacementNestedLevel":this._placementNestedLevel=i.textContent.stimulsoft.toNumber();break;case"ComponentType":this._componentType=n.parse(e.StiStyleComponentType,i.textContent);break;case"Location":this._location=n.parse(e.StiStyleLocation,i.textContent);break;case"ComponentName":this._componentName=i.textContent;break}}},r.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(r.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationPlacement",{get:function(){return this._operationPlacement},set:function(t){this._operationPlacement=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationPlacementNestedLevel",{get:function(){return this._operationPlacementNestedLevel},set:function(t){this._operationPlacementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationComponentType",{get:function(){return this._operationComponentType},set:function(t){this._operationComponentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationLocation",{get:function(){return this._operationLocation},set:function(t){this._operationLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"operationComponentName",{get:function(){return this._operationComponentName},set:function(t){this._operationComponentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placement",{get:function(){return this._placement},set:function(t){this._placement=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placementNestedLevel",{get:function(){return this._placementNestedLevel},set:function(t){this._placementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentType",{get:function(){return this._componentType},set:function(t){this._componentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"location",{get:function(){return this._location},set:function(t){this._location=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),r.prototype.fromElements=function(r){var n,i;this.type=0;try{for(var s=__values(r),l=s.next();!l.done;l=s.next()){var u=l.value,c=u.stimulsoft.as(o);null!=c&&(this.type|=e.StiStyleConditionType.ComponentName,this.componentName=c.componentName,this.operationComponentName=c.operationComponentName);var p=u.stimulsoft.as(a);null!=p&&(this.type|=e.StiStyleConditionType.ComponentType,this.componentType=p.componentType,this.operationComponentType=p.operationComponentType);var h=u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement);null!=h&&(this.type|=e.StiStyleConditionType.Placement,this.placement=h.placement,this.operationPlacement=h.operationPlacement);var m=u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement);null!=m&&(this.type|=e.StiStyleConditionType.PlacementNestedLevel,this.placementNestedLevel=m.placementNestedLevel,this.operationPlacementNestedLevel=m.operationPlacementNestedLevel);var f=u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionLocationElement);null!=f&&(this.type|=e.StiStyleConditionType.Location,this.location=f.location,this.operationLocation=f.operationLocation)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}},r}();r.StiStyleCondition=u}(r=e.Conditions||(e.Conditions={}))}(r=e.Styles||(e.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){var e,r,n,i,o;!function(t){t[t["ComponentType"]=1]="ComponentType",t[t["Placement"]=2]="Placement",t[t["PlacementNestedLevel"]=4]="PlacementNestedLevel",t[t["ComponentName"]=8]="ComponentName",t[t["Location"]=16]="Location"}(e=t.StiStyleConditionType||(t.StiStyleConditionType={})),function(t){t[t["None"]=0]="None",t[t["ReportTitle"]=1]="ReportTitle",t[t["ReportSummary"]=2]="ReportSummary",t[t["PageHeader"]=4]="PageHeader",t[t["PageFooter"]=8]="PageFooter",t[t["GroupHeader"]=16]="GroupHeader",t[t["GroupFooter"]=32]="GroupFooter",t[t["Header"]=64]="Header",t[t["Footer"]=128]="Footer",t[t["ColumnHeader"]=256]="ColumnHeader",t[t["ColumnFooter"]=512]="ColumnFooter",t[t["Data"]=1024]="Data",t[t["DataEvenStyle"]=2048]="DataEvenStyle",t[t["DataOddStyle"]=4096]="DataOddStyle",t[t["Table"]=8192]="Table",t[t["Hierarchical"]=16384]="Hierarchical",t[t["Child"]=32768]="Child",t[t["Empty"]=65536]="Empty",t[t["Overlay"]=131072]="Overlay",t[t["Panel"]=262144]="Panel",t[t["Page"]=524288]="Page",t[t["AllExeptStyles"]=1042431]="AllExeptStyles"}(r=t.StiStyleComponentPlacement||(t.StiStyleComponentPlacement={})),function(t){t[t["Text"]=1]="Text",t[t["Primitive"]=2]="Primitive",t[t["Image"]=4]="Image",t[t["CrossTab"]=8]="CrossTab",t[t["Chart"]=16]="Chart",t[t["CheckBox"]=32]="CheckBox"}(n=t.StiStyleComponentType||(t.StiStyleComponentType={})),function(t){t[t["None"]=0]="None",t[t["TopLeft"]=1]="TopLeft",t[t["TopCenter"]=2]="TopCenter",t[t["TopRight"]=4]="TopRight",t[t["MiddleLeft"]=8]="MiddleLeft",t[t["MiddleCenter"]=16]="MiddleCenter",t[t["MiddleRight"]=32]="MiddleRight",t[t["BottomLeft"]=64]="BottomLeft",t[t["BottomCenter"]=128]="BottomCenter",t[t["BottomRight"]=256]="BottomRight",t[t["Left"]=512]="Left",t[t["Right"]=1024]="Right",t[t["Top"]=2048]="Top",t[t["Bottom"]=4096]="Bottom",t[t["CenterHorizontal"]=8192]="CenterHorizontal",t[t["CenterVertical"]=16384]="CenterVertical"}(i=t.StiStyleLocation||(t.StiStyleLocation={})),function(t){t[t["EqualTo"]=0]="EqualTo",t[t["NotEqualTo"]=1]="NotEqualTo",t[t["GreaterThan"]=2]="GreaterThan",t[t["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",t[t["LessThan"]=4]="LessThan",t[t["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",t[t["Containing"]=6]="Containing",t[t["NotContaining"]=7]="NotContaining",t[t["BeginningWith"]=8]="BeginningWith",t[t["EndingWith"]=9]="EndingWith"}(o=t.StiStyleConditionOperation||(t.StiStyleConditionOperation={}))}(e=t.Styles||(t.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Report.Styles.StiStyleLocation,n=t.Report.Components.Table.StiTable,i=t.Report.Styles.StiStyleComponentPlacement,o=t.Report.Styles.StiStyleConditionType,a=t.Report.Styles.StiStyleConditionOperation,s=t.Report.Styles.StiStyleComponentType,l=function(){function e(){}return e.isAllowStyle=function(e,l){var u,c;try{for(var p=__values(l.conditions.list),h=p.next();!h.done;h=p.next()){var m=h.value,f=!0,d=!0,g=!0,S=!0;if((m.type&o.ComponentName)>0)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&&B<C&&v==w&&(S=!0),(m.location&r.CenterVertical)>0&&y<=0&&A>0&&I<w&&b==C&&(S=!0),S||((m.location&r.TopLeft)>0&&A<=0&&y<=0&&(S=!0),(m.location&r.TopCenter)>0&&A<=0&&y>0&&B<C&&(S=!0),(m.location&r.TopRight)>0&&A<=0&&B>=C&&(S=!0),(m.location&r.MiddleLeft)>0&&A>0&&I<w&&y<=0&&(S=!0),(m.location&r.MiddleCenter)>0&&A>0&&I<w&&y>0&&B<C&&(S=!0),(m.location&r.MiddleRight)>0&&A>0&&I<w&&B>=C&&(S=!0),(m.location&r.BottomLeft)>0&&I>=w&&y<=0&&(S=!0),(m.location&r.BottomCenter)>0&&I>=w&&y>0&&B<C&&(S=!0),(m.location&r.BottomRight)>0&&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=T<m.placementNestedLevel:m.operationPlacementNestedLevel==a.LessThanOrEqualTo&&(g=T<=m.placementNestedLevel)}m.operationPlacement==a.NotEqualTo&&(g=!g)}if(!(f&&d&&g&&S))return!1}}catch(t){u={error:t}}finally{try{h&&!h.done&&(c=p.return)&&c.call(p)}finally{if(u)throw u.error}}return!0},e}();e.StiStyleConditionHelper=l}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){var e;!function(t){t.IStiBaseStyle="IStiBaseStyle"}(e=t.Styles||(t.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Report.Components.Gauge.IStiGauge,n=t.System.Exception,i=t.Base.StiJsonReportObjectHelper,o=t.System.Drawing.Font,a=t.System.Drawing.ColorTranslator,s=t.Report.Styles.StiBaseStyle,l=t.Base.Drawing.StiBrush,u=t.Base.Drawing.StiEmptyBrush,c=t.Base.Drawing.StiSolidBrush,p=t.System.Drawing.Color,h=function(s){function h(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var n=s.call(this,t,e,r)||this;return n.brush=new c(p.white),n.borderColor=p.transparent,n.targetColor=p.black,n.borderWidth=0,n.foreColor=p.black,n.tickMarkMajorBrush=new c(a.fromHtml("#990000")),n.tickMarkMajorBorder=new c(a.fromHtml("#0bac45")),n.tickMarkMajorBorderWidth=1,n.tickMarkMinorBrush=new c(a.fromHtml("#4472c4")),n.tickMarkMinorBorder=new c(a.fromHtml("#4472c4")),n.tickMarkMinorBorderWidth=1,n.tickLabelMajorTextBrush=new c(a.fromHtml("#FF33475B")),n.tickLabelMajorFont=new o("Arial",10),n.tickLabelMinorTextBrush=new c(a.fromHtml("#FF33475B")),n.tickLabelMinorFont=new o("Arial",10),n.markerBrush=new c(a.fromHtml("#70ad47")),n.linearBarBrush=new c(a.fromHtml("#4472c4")),n.linearBarBorderBrush=new u,n.linearBarEmptyBrush=new u,n.linearBarEmptyBorderBrush=new u,n.radialBarBrush=new c(a.fromHtml("#ffc000")),n.radialBarBorderBrush=new u,n.radialBarEmptyBrush=new c(a.fromHtml("#43682b")),n.radialBarEmptyBorderBrush=new u,n.needleBrush=new c(a.fromHtml("#ffc000")),n.needleBorderBrush=new u,n.needleBorderWidth=1,n.needleCapBrush=new c(a.fromHtml("#ffc000")),n.needleCapBorderBrush=new c(a.fromHtml("#ffc000")),n}return __extends(h,s),h.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this.borderColor,p.transparent)),e.addPropertyStringNullOrEmpty("ForeColor",i.Serialize.jColor(this.foreColor,p.black)),e.addPropertyNumber("BorderWidth",this.borderWidth,0),e.addPropertyStringNullOrEmpty("TargetColor",i.Serialize.jColor(this.targetColor,p.black)),e.addPropertyStringNullOrEmpty("TickMarkMajorBrush",i.Serialize.jBrush(this.tickMarkMajorBrush)),e.addPropertyStringNullOrEmpty("TickMarkMajorBorder",i.Serialize.jBrush(this.tickMarkMajorBorder)),e.addPropertyNumber("TickMarkMajorBorderWidth",this.tickMarkMajorBorderWidth,1),e.addPropertyStringNullOrEmpty("TickMarkMinorBrush",i.Serialize.jBrush(this.tickMarkMinorBrush)),e.addPropertyStringNullOrEmpty("TickMarkMinorBorder",i.Serialize.jBrush(this.tickMarkMinorBorder)),e.addPropertyNumber("TickMarkMinorBorderWidth",this.tickMarkMinorBorderWidth,1),e.addPropertyStringNullOrEmpty("TickLabelMajorTextBrush",i.Serialize.jBrush(this.tickLabelMajorTextBrush)),e.addPropertyStringNullOrEmpty("TickLabelMajorFont",i.Serialize.fontArial8(this.tickLabelMajorFont)),e.addPropertyStringNullOrEmpty("TickLabelMinorTextBrush",i.Serialize.jBrush(this.tickLabelMinorTextBrush)),e.addPropertyStringNullOrEmpty("TickLabelMinorFont",i.Serialize.fontArial8(this.tickLabelMinorFont)),e.addPropertyStringNullOrEmpty("MarkerBrush",i.Serialize.jBrush(this.markerBrush)),e.addPropertyStringNullOrEmpty("LinearBarBrush",i.Serialize.jBrush(this.linearBarBrush)),e.addPropertyStringNullOrEmpty("LinearBarBorderBrush",i.Serialize.jBrush(this.linearBarBorderBrush)),e.addPropertyStringNullOrEmpty("LinearBarEmptyBrush",i.Serialize.jBrush(this.linearBarEmptyBrush)),e.addPropertyStringNullOrEmpty("LinearBarEmptyBorderBrush",i.Serialize.jBrush(this.linearBarEmptyBorderBrush)),e.addPropertyStringNullOrEmpty("RadialBarBrush",i.Serialize.jBrush(this.radialBarBrush)),e.addPropertyStringNullOrEmpty("RadialBarBorderBrush",i.Serialize.jBrush(this.radialBarBorderBrush)),e.addPropertyStringNullOrEmpty("RadialBarEmptyBrush",i.Serialize.jBrush(this.radialBarEmptyBrush)),e.addPropertyStringNullOrEmpty("RadialBarEmptyBorderBrush",i.Serialize.jBrush(this.radialBarEmptyBorderBrush)),e.addPropertyStringNullOrEmpty("NeedleBrush",i.Serialize.jBrush(this.needleBrush)),e.addPropertyStringNullOrEmpty("NeedleBorderBrush",i.Serialize.jBrush(this.needleBorderBrush)),e.addPropertyNumber("NeedleBorderWidth",this.needleBorderWidth,1),e.addPropertyStringNullOrEmpty("NeedleCapBrush",i.Serialize.jBrush(this.needleCapBrush)),e.addPropertyStringNullOrEmpty("NeedleCapBorderBrush",i.Serialize.jBrush(this.needleCapBorderBrush)),e},h.prototype.loadFromJsonObject=function(t){var e,r;s.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"Brush":this.brush=i.Deserialize.brush(a.value);break;case"BorderColor":this.borderColor=i.Deserialize.color(a.value);break;case"ForeColor":this.foreColor=i.Deserialize.color(a.value);break;case"BorderWidth":this.borderWidth=a.value.stimulsoft.toNumber();break;case"TargetColor":this.targetColor=i.Deserialize.color(a.value);break;case"TickMarkMajorBrush":this.tickMarkMajorBrush=i.Deserialize.brush(a.value);break;case"TickMarkMajorBorder":this.tickMarkMajorBorder=i.Deserialize.brush(a.value);break;case"TickMarkMajorBorderWidth":this.tickMarkMajorBorderWidth=a.value.stimulsoft.toNumber();break;case"TickMarkMinorBrush":this.tickMarkMinorBrush=i.Deserialize.brush(a.value);break;case"TickMarkMinorBorder":this.tickMarkMinorBorder=i.Deserialize.brush(a.value);break;case"TickLabelMajorTextBrush":this.tickLabelMajorTextBrush=i.Deserialize.brush(a.value);break;case"TickLabelMajorFont":this.tickLabelMajorFont=i.Deserialize.font(a.value,this.tickLabelMajorFont);break;case"TickMarkMinorBorderWidth":this.tickMarkMinorBorderWidth=a.value.stimulsoft.toNumber();break;case"TickLabelMinorTextBrush":this.tickLabelMinorTextBrush=i.Deserialize.brush(a.value);break;case"TickLabelMinorFont":this.tickLabelMinorFont=i.Deserialize.font(a.value,this.tickLabelMinorFont);break;case"MarkerBrush":this.markerBrush=i.Deserialize.brush(a.value);break;case"LinearBarBrush":this.linearBarBrush=i.Deserialize.brush(a.value);break;case"LinearBarBorderBrush":this.linearBarBorderBrush=i.Deserialize.brush(a.value);break;case"LinearBarEmptyBrush":this.linearBarEmptyBrush=i.Deserialize.brush(a.value);break;case"LinearBarEmptyBorderBrush":this.linearBarEmptyBorderBrush=i.Deserialize.brush(a.value);break;case"RadialBarBrush":this.radialBarBrush=i.Deserialize.brush(a.value);break;case"RadialBarBorderBrush":this.radialBarBorderBrush=i.Deserialize.brush(a.value);break;case"RadialBarEmptyBrush":this.radialBarEmptyBrush=i.Deserialize.brush(a.value);break;case"RadialBarEmptyBorderBrush":this.radialBarEmptyBorderBrush=i.Deserialize.brush(a.value);break;case"NeedleBrush":this.needleBrush=i.Deserialize.brush(a.value);break;case"NeedleBorderBrush":this.needleBorderBrush=i.Deserialize.brush(a.value);break;case"NeedleBorderWidth":this.needleBorderWidth=a.value.stimulsoft.toNumber();break;case"NeedleCapBrush":this.needleCapBrush=i.Deserialize.brush(a.value);break;case"NeedleCapBorderBrush":this.needleCapBorderBrush=i.Deserialize.brush(a.value);break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"Brush":this.brush=l.loadFromXml(n.textContent);break
|
||
;case"BorderColor":this.borderColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"ForeColor":this.foreColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BorderWidth":this.borderWidth=n.textContent.stimulsoft.toNumber();break;case"TargetColor":this.targetColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"TickMarkMajorBrush":this.tickMarkMajorBrush=l.loadFromXml(n.textContent);break;case"TickMarkMajorBorder":this.tickMarkMajorBorder=l.loadFromXml(n.textContent);break;case"TickMarkMajorBorderWidth":this.tickMarkMajorBorderWidth=n.textContent.stimulsoft.toNumber();break;case"TickMarkMinorBrush":this.tickMarkMinorBrush=l.loadFromXml(n.textContent);break;case"TickMarkMinorBorder":this.tickMarkMinorBorder=l.loadFromXml(n.textContent);break;case"TickLabelMajorTextBrush":this.tickLabelMajorTextBrush=l.loadFromXml(n.textContent);break;case"TickLabelMajorFont":this.tickLabelMajorFont=t.System.Convert.toFont(n.textContent);break;case"TickMarkMinorBorderWidth":this.tickMarkMinorBorderWidth=n.textContent.stimulsoft.toNumber();break;case"TickLabelMinorTextBrush":this.tickLabelMinorTextBrush=l.loadFromXml(n.textContent);break;case"TickLabelMinorFont":this.tickLabelMinorFont=t.System.Convert.toFont(n.textContent);break;case"MarkerBrush":this.markerBrush=l.loadFromXml(n.textContent);break;case"LinearBarBrush":this.linearBarBrush=l.loadFromXml(n.textContent);break;case"LinearBarBorderBrush":this.linearBarBorderBrush=l.loadFromXml(n.textContent);break;case"LinearBarEmptyBrush":this.linearBarEmptyBrush=l.loadFromXml(n.textContent);break;case"LinearBarEmptyBorderBrush":this.linearBarEmptyBorderBrush=l.loadFromXml(n.textContent);break;case"RadialBarBrush":this.radialBarBrush=l.loadFromXml(n.textContent);break;case"RadialBarBorderBrush":this.radialBarBorderBrush=l.loadFromXml(n.textContent);break;case"RadialBarEmptyBrush":this.radialBarEmptyBrush=l.loadFromXml(n.textContent);break;case"RadialBarEmptyBorderBrush":this.radialBarEmptyBorderBrush=l.loadFromXml(n.textContent);break;case"NeedleBrush":this.needleBrush=l.loadFromXml(n.textContent);break;case"NeedleBorderBrush":this.needleBorderBrush=l.loadFromXml(n.textContent);break;case"NeedleBorderWidth":this.needleBorderWidth=n.textContent.stimulsoft.toNumber();break;case"NeedleCapBrush":this.needleCapBrush=l.loadFromXml(n.textContent);break;case"NeedleCapBorderBrush":this.needleCapBorderBrush=l.loadFromXml(n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return e.StiComponentId.StiGaugeStyle},enumerable:!1,configurable:!0}),h.prototype.getStyleFromComponent=function(t,i){if(i!=e.StiStyleElements.All)throw new n("StiGaugeStyle support only StiStyleElements.All.");var o;if(null!=t.stimulsoft.as(r)&&(i&e.StiStyleElements.Brush)>0){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;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"BackColor":this.backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"GlyphColor":this.glyphColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"ForeColor":this.foreColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"HotBackColor":this.hotBackColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"PositiveColor":this.positiveColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"NegativeColor":this.negativeColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break}}},a.prototype.getStyleFromComponent=function(t,r){if(r!=e.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")},a.prototype.setStyleToComponent=function(t){},a}(n);e.StiIndicatorStyle=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Base.StiJsonReportObjectHelper,n=t.System.Drawing.Color,i=t.System.Drawing.ColorTranslator,o,a=function(o){function a(t,e,r){void 0===t&&(t=""),void 0===e&&(e="");var a=o.call(this,t,e,r)||this;return a.trackColor=i.fromHtml("#e7ebec"),a.bandColor=i.fromHtml("#3498db"),a.seriesColors=[i.fromHtml("#3498db"),i.fromHtml("#ef717a"),i.fromHtml("#6dcbb3"),i.fromHtml("#f28161"),i.fromHtml("#fccd1b")],a.foreColor=i.fromHtml("#8c8c8c"),a.backColor=n.white,a}return __extends(a,o),a.prototype.saveToJsonObject=function(t){var e=o.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("TrackColor",r.Serialize.jColor(this.trackColor,i.fromHtml("#e7ebec"))),e.addPropertyStringNullOrEmpty("BandColor",r.Serialize.jColor(this.bandColor,i.fromHtml("#3498db"))),e.addPropertyJObject("SeriesColors",r.Serialize.colorArray(this.seriesColors)),e.addPropertyStringNullOrEmpty("ForeColor",r.Serialize.jColor(this.foreColor,i.fromHtml("#8c8c8c"))),e.addPropertyStringNullOrEmpty("BackColor",r.Serialize.jColor(this.backColor,n.white)),e},a.prototype.loadFromJsonObject=function(t){var e,n;o.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),a=i.next();!a.done;a=i.next()){var s=a.value;switch(s.name){case"TrackColor":this.trackColor=r.Deserialize.color(s.value);break;case"BandColor":this.bandColor=r.Deserialize.color(s.value);break;case"SeriesColors":this.seriesColors=r.Deserialize.colorArray(s.value);break;case"ForeColor":this.foreColor=r.Deserialize.color(s.value);break;case"BackColor":this.backColor=r.Deserialize.color(s.value);break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(e){o.prototype.loadFromXml.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"TrackColor":this.trackColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BandColor":this.bandColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"SeriesColors":this.seriesColors=t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(n.textContent);break;case"ForeColor":this.foreColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BackColor":this.backColor=t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break}}},a.prototype.getStyleFromComponent=function(t,r){if(r!=e.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")},a.prototype.setStyleToComponent=function(t){},a}(t.Report.Styles.StiBaseStyle);e.StiProgressStyle=a}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r;!function(r){var n=t.Report.Components.IStiTextFormat,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.Drawing.StiImageConverter,a=t.Base.Drawing.StiBorder,s=t.Base.Drawing.StiBrush,l=t.Base.Drawing.StiSolidBrush,u=t.System.Drawing.Font,c=t.Base.Drawing.StiTextHorAlignment,p=t.Base.Drawing.StiVertAlignment,h=t.System.Drawing.Color,m=t.Report.Components.IStiFont,f=t.Report.Components.IStiBorder,d=t.Report.Components.IStiBrush,g=t.Report.Components.IStiTextBrush,S=t.Base.Drawing.StiHorAlignment,y=t.Base.StiJsonReportObjectHelper,A=t.System.Enum,b=function(b){function v(){var e=null!==b&&b.apply(this,arguments)||this;return e._horAlignment=c.Left,e._vertAlignment=p.Top,e._font=new u("Arial",8),e._border=new a,e._brush=new l(h.transparent),e._textBrush=new l(h.black),e.textFormat=new t.Report.Components.TextFormats.StiGeneralFormatService,e._allowUseHorAlignment=!1,e._allowUseVertAlignment=!1,e._allowUseImage=!1,e._allowUseFont=!0,e._allowUseBorderFormatting=!0,e._allowUseBorderSides=!0,e._allowUseBorderSidesFromLocation=!1,e._allowUseBrush=!0,e._allowUseTextBrush=!0,e.allowUseNegativeTextBrush=!1,e.allowUseTextFormat=!1,e._allowUseTextOptions=!0,e.negativeTextBrush=new l(h.red),e}return __extends(v,b),v.prototype.implements=function(){return v.ImplementsStiStyle||(v.ImplementsStiStyle=b.prototype.implements.call(this).concat([n,i])),v.ImplementsStiStyle},v.prototype.saveToJsonObject=function(e){var r=b.prototype.saveToJsonObject.call(this,e);return r.addPropertyEnum("HorAlignment",c,this.horAlignment,c.Left),r.addPropertyEnum("VertAlignment",p,this.vertAlignment,p.Top),r.addPropertyStringNullOrEmpty("Font",y.Serialize.fontArial8(this.font)),r.addPropertyStringNullOrEmpty("Border",y.Serialize.jBorder(this.border)),r.addPropertyStringNullOrEmpty("Brush",y.Serialize.jBrush(this.brush)),r.addPropertyStringNullOrEmpty("TextBrush",y.Serialize.jBrush(this.textBrush)),r.addPropertyStringNullOrEmpty("NegativeTextBrush",y.Serialize.jBrush(this.negativeTextBrush)),this.textFormat.stimulsoft.is(t.Report.Components.TextFormats.StiGeneralFormatService)||r.addPropertyJObject("TextFormat",this.textFormat.saveToJsonObject(e)),r.addPropertyBool("AllowUseHorAlignment",this.allowUseHorAlignment),r.addPropertyBool("AllowUseVertAlignment",this.allowUseVertAlignment),r.addPropertyBool("AllowUseImage",this.allowUseImage),r.addPropertyBool("AllowUseFont",this.allowUseFont,!0),r.addPropertyBool("AllowUseBorderFormatting",this.allowUseBorderFormatting,!0),r.addPropertyBool("AllowUseBorderSides",this.allowUseBorderSides,!0),r.addPropertyBool("AllowUseBorderSidesFromLocation",this.allowUseBorderSidesFromLocation),r.addPropertyBool("AllowUseBrush",this.allowUseBrush,!0),r.addPropertyBool("AllowUseTextBrush",this.allowUseTextBrush,!0),r.addPropertyBool("AllowUseTextOptions",this.allowUseTextOptions,!0),r.addPropertyBool("AllowUseNegativeTextBrush",this.allowUseNegativeTextBrush),r.addPropertyBool("AllowUseTextFormat",this.allowUseTextFormat),r.addPropertyStringNullOrEmpty("Image",o.imageToString(this.image)),r},v.prototype.loadFromJsonObject=function(e){var r,n;b.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),a=i.next();!a.done;a=i.next()){var s=a.value;switch(s.name){case"HorAlignment":this._horAlignment=A.parse(c,s.value);break;case"VertAlignment":this._vertAlignment=A.parse(p,s.value);break;case"Font":this._font=y.Deserialize.font(s.value,this.font);break;case"Border":this._border=y.Deserialize.border(s.value);break;case"Brush":this._brush=y.Deserialize.brush(s.value);break;case"TextBrush":this._textBrush=y.Deserialize.brush(s.value);break;case"NegativeTextBrush":this.negativeTextBrush=y.Deserialize.brush(s.value);break;case"TextFormat":this.textFormat=t.Report.Components.TextFormats.StiFormatService.createFromJsonObject(s.value);break;case"AllowUseHorAlignment":this._allowUseHorAlignment=s.value.stimulsoft.toBoolean();break;case"AllowUseVertAlignment":this._allowUseVertAlignment=s.value.stimulsoft.toBoolean();break;case"AllowUseImage":this._allowUseImage=s.value.stimulsoft.toBoolean();break;case"AllowUseFont":this._allowUseFont=s.value.stimulsoft.toBoolean();break;case"AllowUseBorderFormatting":this._allowUseBorderFormatting=s.value.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this._allowUseBorderSides=s.value.stimulsoft.toBoolean();break;case"AllowUseBorderSidesFromLocation":this._allowUseBorderSidesFromLocation=s.value.stimulsoft.toBoolean();break;case"AllowUseBrush":this._allowUseBrush=s.value.stimulsoft.toBoolean();break;case"AllowUseTextBrush":this._allowUseTextBrush=s.value.stimulsoft.toBoolean();break;case"AllowUseTextOptions":this._allowUseTextOptions=s.value.stimulsoft.toBoolean();break;case"AllowUseNegativeTextBrush":this.allowUseNegativeTextBrush=s.value.stimulsoft.toBoolean();break;case"AllowUseTextFormat":this.allowUseTextFormat=s.value.stimulsoft.toBoolean();break;case"Image":this._image=o.stringToImage(s.value);break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},v.prototype.loadFromXml=function(e){b.prototype.loadFromXml.call(this,e);for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];switch(n.nodeName){case"HorAlignment":case"ha":this._horAlignment=A.parse(c,n.textContent);break;case"VertAlignment":case"va":this._vertAlignment=A.parse(p,n.textContent);break;case"Font":case"fn":this._font=t.System.Convert.toFont(n.textContent);break;case"Border":case"br":this._border=a.loadFromXml(n.textContent);break;case"Brush":case"bh":this._brush=s.loadFromXml(n.textContent);break;case"TextBrush":case"tb":this._textBrush=s.loadFromXml(n.textContent);break;case"NegativeTextBrush":this.negativeTextBrush=s.loadFromXml(n.textContent);break;case"TextFormat":this.textFormat=t.Report.Components.TextFormats.StiFormatService.loadFormatFromXml(n,this.report);break;case"AllowUseHorAlignment":this._allowUseHorAlignment=n.textContent.stimulsoft.toBoolean();break;case"AllowUseVertAlignment":this._allowUseVertAlignment=n.textContent.stimulsoft.toBoolean();break;case"AllowUseImage":this._allowUseImage=n.textContent.stimulsoft.toBoolean();break;case"AllowUseFont":this._allowUseFont=n.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderFormatting":this._allowUseBorderFormatting=n.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this._allowUseBorderSides=n.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSidesFromLocation":this._allowUseBorderSidesFromLocation=n.textContent.stimulsoft.toBoolean();break;case"AllowUseBrush":this._allowUseBrush=n.textContent.stimulsoft.toBoolean();break;case"AllowUseTextBrush":this._allowUseTextBrush=n.textContent.stimulsoft.toBoolean();break;case"AllowUseTextOptions":this._allowUseTextOptions=n.textContent.stimulsoft.toBoolean();break;case"AllowUseNegativeTextBrush":this.allowUseNegativeTextBrush=n.textContent.stimulsoft.toBoolean();break;case"AllowUseTextFormat":this.allowUseTextFormat=n.textContent.stimulsoft.toBoolean();break;case"Image":this._image=o.stringToImage(n.textContent);break}}},v.prototype.clone=function(){var t=b.prototype.clone.call(this).stimulsoft.as(v);return t._border=this._border.clone().stimulsoft.as(a),t._brush=this._brush.clone().stimulsoft.as(s),t._font=this._font.clone().stimulsoft.as(u),t._textBrush=this._textBrush.clone().stimulsoft.as(s),t},Object.defineProperty(v.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseHorAlignment",{get:function(){return this._allowUseHorAlignment},set:function(t){this._allowUseHorAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseVertAlignment",{get:function(){return this._allowUseVertAlignment},set:function(t){this._allowUseVertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseImage",{get:function(){return this._allowUseImage},set:function(t){this._allowUseImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseFont",{get:function(){return this._allowUseFont},set:function(t){this._allowUseFont=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseBorder",{get:function(){return this.allowUseBorderFormatting&&this.allowUseBorderSides},set:function(t){this.allowUseBorderFormatting=t,this.allowUseBorderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseBorderFormatting",{get:function(){return this._allowUseBorderFormatting},set:function(t){this._allowUseBorderFormatting=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseBorderSides",{get:function(){return this._allowUseBorderSides},set:function(t){this._allowUseBorderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseBorderSidesFromLocation",{get:function(){return this._allowUseBorderSidesFromLocation},set:function(t){this._allowUseBorderSidesFromLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseBrush",{get:function(){return this._allowUseBrush},set:function(t){this._allowUseBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseTextBrush",{get:function(){return this._allowUseTextBrush},set:function(t){this._allowUseTextBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowUseTextOptions",{get:function(){return this._allowUseTextOptions},set:function(t){this._allowUseTextOptions=t},enumerable:!1,configurable:!0}),v.prototype.getStyleFromComponent=function(r,n,i){void 0===i&&(i=null);var o=null==i?null:i.stimulsoft.as(v);this.allowUseBorderFormatting=!1,this.allowUseBorderSides=!1,this.allowUseBorderSidesFromLocation=!1,this.allowUseBrush=!1,this.allowUseTextBrush=!1,this.allowUseFont=!1,this.allowUseHorAlignment=!1,this.allowUseVertAlignment=!1,this.allowUseTextFormat=!1;var p=!StiOptions.Engine.useParentStylesOldMode;if(null==o&&(p=!1),(n&e.StiStyleElements.Font)>0)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;r<e.childNodes.length;r++){var n=e.childNodes[r],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type"))switch(n.attributes.getNamedItem("type").value){case"Stimulsoft.Report.StiStyle":var o=new t.Report.Styles.StiStyle;o.loadFromXml(n),this.list.push(o);break;case"Stimulsoft.Report.StiChartStyle":var a=new t.Report.Styles.StiChartStyle;a.loadFromXml(n),this.list.push(a);break;case"Stimulsoft.Report.StiGaugeStyle":var s=new t.Report.StiGaugeStyle;s.loadFromXml(n),this.list.push(s);break;case"Stimulsoft.Report.StiMapStyle":var l=new t.Report.Styles.StiMapStyle;l.loadFromXml(n),this.list.push(l);break;case"Stimulsoft.Report.StiCrossTabStyle":var u=new t.Report.Styles.StiCrossTabStyle;u.loadFromXml(n),this.list.push(u);break;case"Stimulsoft.Report.StiDialogStyle":var c=new t.Report.Styles.StiDialogStyle;c.loadFromXml(n),this.list.push(c);break;case"Stimulsoft.Report.StiIndicatorStyle":var p=new t.Report.StiIndicatorStyle;p.loadFromXml(n),this.list.push(p);break;case"Stimulsoft.Report.StiProgressStyle":var h=new t.Report.StiProgressStyle;h.loadFromXml(n),this.list.push(h);break;case"Stimulsoft.Report.StiTableStyle":var m=new t.Report.StiTableStyle;m.loadFromXml(n),this.list.push(m);break}}},p.prototype.load=function(e){try{if(void 0===e||null==e)return;if((e.stimulsoft.is(Array)||e.stimulsoft.is(Uint8Array))&&(e=t.System.Text.Encoding.UTF8.getString(e)),e.stimulsoft.is(String)&&e.trim().stimulsoft.startsWith("<?xml")&&(e=n.toXml(e)),this.clear(),e.stimulsoft.is(o)){if("StiSerializer"!=e.firstChild.nodeName&&"Styles"!=e.firstChild.firstChild.nodeName)throw new Error("Not correct file");this.loadFromXml(e.firstChild.firstChild)}else try{var r=new c;r.deserialize(e),this.loadFromJsonObject(r)}catch(t){throw new Error("Not correct file")}this.needUpdateHash=!0,null!=this.report&&this.report.applyStyles()}catch(e){t.System.StiError.showError(e,!1)}},p.prototype.loadFile=function(e){var r=t.System.IO.File.getFile(e);r&&this.load(r)},p.prototype.saveToJsonString=function(){try{var e=this.saveToJsonObject(a.Report);if(e)return e.serialize()}catch(e){t.System.StiError.showError(e,!1)}return""},p.prototype.add=function(t){this.list.push(t),this.hash.set(t.name.toLowerCase(),t),t.report=this.report},p.prototype.clear=function(){s.prototype.clear.call(this),this.hash.clear(),this.needUpdateHash=!0},p.prototype.addRange=function(t){var e,r,n=t.stimulsoft.is(p)?t.list:t;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value;this.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},p.prototype.contains=function(t){if(this.updateHash(),null==t)return!1;return this.hash.contains(t.stimulsoft.is(r.StiBaseStyle)?t.name.toLowerCase():t.toLowerCase())},p.prototype.insert=function(t,e){s.prototype.insert.call(this,t,e),this.hash.set(e.name.toLowerCase(),e)},p.prototype.remove=function(t){s.prototype.remove.call(this,t),this.hash.remove(t.name.toLowerCase())},p.prototype.setByIndex=function(t,e){this.setByIndex(t,e),this.needUpdateHash=!0},p.prototype.getByName=function(t){var e,r;if(this.updateHash(),this.hash.contains(t.toLowerCase()))return this.hash.get(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.toLowerCase())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},p.prototype.setByName=function(t,e){for(var r=0;r<this.list.length;r++)if(this.getByIndex(r).name.toLowerCase()==t.toLowerCase())return this.list[r]=e,void(this.needUpdateHash=!0);this.list.push(e)},p.prototype.updateHash=function(){var t,e;if(this.lastCount!=this.length&&(this.lastCount=this.length,this.needUpdateHash=!0),this.needUpdateHash){this.hash.clear();try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i=n.value;this.hash.set(i.name.toLowerCase(),i)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.needUpdateHash=!1}},p.prototype.getCustomChartStyle=function(e){var r;return null!=(i.isNullOrWhiteSpace(e)?null:this.getByName(e))?new t.Report["Chart"].StiCustomStyle(e):null},p.prototype.getCustomGaugeStyle=function(e){var r=i.isNullOrWhiteSpace(e)?null:this.toList().firstOrDefault((function(t){return t.name==e}));return null!=r?new t.Report["Gauge"].StiCustomGaugeStyle(r):null},p}(s);r.StiStylesCollection=p}(r=e.Styles||(e.Styles={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.StiString,n=t.Report.Dictionary.StiFunctionsStrings,i=t.Report.Styles.StiStyle,o=t.Report.StiNestedFactor,a=t.Base.Drawing.StiSolidBrush,s=t.System.Drawing.FontStyle,l=t.Report.Styles.StiStyleConditionOperation,u=t.Base.Localization.StiLocalization,c=t.Report.Styles.StiStyleComponentPlacement,p=t.System.Drawing.Font,h=t.Report.Styles.StiStyleComponentType,m=t.Base.Drawing.StiPenStyle,f=t.Base.Drawing.StiBorderSides,d=t.Base.Drawing.StiBorder,g=t.Base.Drawing.StiColorUtils,S=t.System.Drawing.Color,y=function(){function e(t){this._showReportTitles=!0,this._showReportSummaries=!0,this._showPageHeaders=!0,this._showPageFooters=!0,this._showGroupHeaders=!0,this._showGroupFooters=!0,this._showHeaders=!0,this._showDatas=!0,this._showFooters=!0,this._showBorders=!0,this._maxNestedLevel=3,this._nestedFactor=o.Normal,this.report=t}return Object.defineProperty(e.prototype,"showReportTitles",{get:function(){return this._showReportTitles},set:function(t){this._showReportTitles=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showReportSummaries",{get:function(){return this._showReportSummaries},set:function(t){this._showReportSummaries=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showPageHeaders",{get:function(){return this._showPageHeaders},set:function(t){this._showPageHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showPageFooters",{get:function(){return this._showPageFooters},set:function(t){this._showPageFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showGroupHeaders",{get:function(){return this._showGroupHeaders},set:function(t){this._showGroupHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showGroupFooters",{get:function(){return this._showGroupFooters},set:function(t){this._showGroupFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showHeaders",{get:function(){return this._showHeaders},set:function(t){this._showHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showDatas",{get:function(){return this._showDatas},set:function(t){this._showDatas=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showFooters",{get:function(){return this._showFooters},set:function(t){this._showFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showBorders",{get:function(){return this._showBorders},set:function(t){this._showBorders=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colorFactor",{get:function(){if(this.nestedFactor==o.High)return 1.5;if(this.nestedFactor==o.Normal)return 1;return.5},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxNestedLevel",{get:function(){return this._maxNestedLevel},set:function(t){this._maxNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nestedFactor",{get:function(){return this._nestedFactor},set:function(t){this._nestedFactor=t},enumerable:!1,configurable:!0}),e.prototype.createStyles=function(t,e){var i,o;S.fromArgb(0,0,0,0).stimulsoft.equals(e)&&(e=S.white);var y=(e.r+e.g+e.b)/3,A=g.dark(e,100*this.colorFactor),b=new d(f.None,A,1,m.Solid),v=h.Text|h.Image|h.Primitive|h.CheckBox,C=[];if(this.showReportTitles){var w=new p("Arial",14,s.Bold),B=y>150?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;n<t.conditions.count;n++){var i=t.conditions.getByIndex(n).stimulsoft.as(l);null!=i&&i.style==e&&(i.style=r)}this.changeDataBandStyleName(t,e,r),this.changeElementStyleName(t,e,r),this.changeChartStyleName(t,e,r),this.changeGaugeStyleName(t,e,r)},t.changeDataBandStyleName=function(t,e,r){var n=t.stimulsoft.as(s);if(null==n)return;n.evenStyle==e&&(n.evenStyle=r),n.oddStyle==e&&(n.oddStyle=r)},t.changeElementStyleName=function(t,e,r){var n=t.stimulsoft.as(a);if(null==n||n.customStyleName!=e)return;n.customStyleName=r},t.changeChartStyleName=function(t,e,r){var a=t.stimulsoft.as(o);if(null==a||a.customStyleName!=e)return;a.customStyleName=r;var s=a.style.stimulsoft.as(i);if(null==s)return;s.name=r;var l=s.core.stimulsoft.as(n);if(null==l)return;l.reportStyleName=r},t.changeGaugeStyleName=function(t,e,n){var i=t.stimulsoft.as(r);if(null==i||i.customStyleName!=e)return;i.customStyleName=n},t}();e.StiStylesHelper=c}(r=e.Styles||(e.Styles={}))}(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},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortName",{get:function(){return"in"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return"Inches"},enumerable:!1,configurable:!0}),e.prototype.convertToHInches=function(t){return 100*t},e.prototype.convertFromHInches=function(t){return t/100},e}(t.StiUnit);t.StiInchesUnit=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){t[t["All"]=268435455]="All",t[t["None"]=0]="None",t[t["Default"]=268435455]="Default",t[t["PageViewMode"]=1]="PageViewMode",t[t["VertScrollBar"]=2]="VertScrollBar",t[t["HorScrollBar"]=4]="HorScrollBar",t[t["StatusBar"]=8]="StatusBar",t[t["Print"]=16]="Print",t[t["Open"]=32]="Open",t[t["Save"]=64]="Save",t[t["Parameters"]=128]="Parameters",t[t["SendEMail"]=256]="SendEMail",t[t["PageNew"]=512]="PageNew",t[t["PageDelete"]=1024]="PageDelete",t[t["PageDesign"]=2048]="PageDesign",t[t["PageSize"]=4096]="PageSize",t[t["Resources"]=8192]="Resources",t[t["Editor"]=65536]="Editor",t[t["Find"]=131072]="Find",t[t["Zoom"]=262144]="Zoom",t[t["PageControl"]=524288]="PageControl",t[t["Bookmarks"]=1048576]="Bookmarks",t[t["Thumbs"]=2097152]="Thumbs",t[t["ContextMenu"]=4194304]="ContextMenu",t[t["Close"]=8388608]="Close",t[t["Toolbar"]=16777216]="Toolbar"}(e=t.StiPreviewSettings||(t.StiPreviewSettings={}))}(e=t.Viewer||(t.Viewer={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiIgnoryStyle="IStiIgnoryStyle"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiInherited="IStiInherited"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiName="IStiName"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(t){t.IStiStateSaveRestore="IStiStateSaveRestore"}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Collections.Hashtable,n=function(){function t(t){this.rows=new r,this.distX=0,this.distY=0,this.report=t}return t.prototype.clear=function(){this.rows.clear()},t.prototype.getRow=function(t){var e=this.rows.get(t);return null==e&&(e=new r,this.rows.set(t,e)),e},t.prototype.gett=function(t,e){var r=this.getRow(e+this.distY);return r.containsKey(t+this.distX)?r.get(t+this.distX):0},t.prototype.setCell=function(t,e,r){var n;this.getRow(e).set(t,r)},t}();e.StiCells=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Report.Components.StiConditionsCollection,n=t.System.Collections.Hashtable,i=function(){function e(){}return e.getConditions=function(e,i){var o,a,s,l;void 0===i&&(i={ref:n});var u=i.ref,c=new r;try{for(var p=__values(e.list),h=p.next();!h.done;h=p.next()){var m=h.value,f=m.conditions;if(f.count>0){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&&k<H.components.count?H.components.insert(k,x):H.components.add(x)}w.set(x.name,x)}}}catch(t){m={error:t}}finally{try{G&&!G.done&&(f=j.return)&&f.call(j)}finally{if(m)throw m.error}}v=t.getComponents();try{for(var Q=__values(v.list),L=Q.next();!L.done;L=Q.next()){var P=L.value;w.set(P.name,P)}}catch(t){d={error:t}}finally{try{L&&!L.done&&(g=Q.return)&&g.call(Q)}finally{if(d)throw d.error}}try{for(var Y=__values(v.list),U=Y.next();!U.done;U=Y.next()){var P,J=(P=U.value).as(s);if(null!=J&&null!=J.masterComponent){var W=J.masterComponent.name,V=w.get(W).as(u);null!=V&&(J.masterComponent=V)}}}catch(t){S={error:t}}finally{try{U&&!U.done&&(y=Y.return)&&y.call(Y)}finally{if(S)throw S.error}}try{for(var z=__values(t.pages.list),X=z.next();!X.done;X=z.next()){var K=X.value;K.report=t,this.setParent(K,K,K),K.sortByPriority()}}catch(t){A={error:t}}finally{try{X&&!X.done&&(b=z.return)&&b.call(z)}finally{if(A)throw A.error}}},t.getPositionForComponent=function(t,e){var r=t.parent,n=r.components.indexOf(t);while(n>0){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<r.components.count-1){var i=r.components.getByIndex(n+1),o;if(-1!=(o=e.components.indexOf(i.name)))return o;n++}return 0},t.setParent=function(t,e,r){var n,i;if(t.page=e,null!=(r=t.as(l)))try{for(var o=__values(r.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.setParent(s,e,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.compareVariables=function(t,e){var r,n,i,o,s,l,u,c,h=new a;try{for(var m=__values(t.dictionary.variables.list),f=m.next();!f.done;f=m.next()){var d=f.value;h.add(d)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}var g=new p,S=new p;try{for(var y=__values(e.dictionary.variables.list),A=y.next();!A.done;A=y.next()){var b=A.value;S.set(b.name,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(h.list),C=v.next();!C.done;C=v.next()){var d,b;if((d=C.value).inherited)if(null==(b=S.get(d.name)))t.dictionary.variables.remove(d);else{g.set(d.name,d);var w=b.clone(),B=t.dictionary.variables.indexOf(d);t.dictionary.variables.removeAt(B),t.dictionary.variables.insert(B,w)}}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}try{for(var I=__values(e.dictionary.variables.list),T=I.next();!T.done;T=I.next()){var d=T.value;if(null==g.get(d.name)){var w=d.clone(),B;(B=e.dictionary.variables.indexOf(d))>=0&&B<t.dictionary.variables.count?t.dictionary.variables.insert(0,w):t.dictionary.variables.add(w),g.set(w.name,w)}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}},t.compareDataSources=function(t,e){var r,n,i,a,s,l,u,c,h=new o(null);try{for(var m=__values(t.dictionary.dataSources.list),f=m.next();!f.done;f=m.next()){var d=f.value;h.add(d)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}var g=new p,S=new p;try{for(var y=__values(e.dictionary.dataSources.list),A=y.next();!A.done;A=y.next()){var b=A.value;S.set(b.name,b)}}catch(t){i={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}try{for(var v=__values(h.list),C=v.next();!C.done;C=v.next()){var d,b;if((d=C.value).inherited)if(null==(b=S.get(d.name)))t.dictionary.dataSources.remove(d);else{var w;g.set(d.name,d),(w=b.clone()).dictionary=t.dictionary;var B=t.dictionary.dataSources.indexOf(d);t.dictionary.dataSources.removeAt(B),t.dictionary.dataSources.insert(B,w)}}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}try{for(var I=__values(e.dictionary.dataSources.list),T=I.next();!T.done;T=I.next()){var d=T.value,w,B;if(null==g.get(d.name))(w=d.clone()).dictionary=t.dictionary,(B=e.dictionary.dataSources.indexOf(d))>=0&&B<t.dictionary.dataSources.count?t.dictionary.dataSources.insert(0,w):t.dictionary.dataSources.add(w),g.set(w.name,w)}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}},t.compareRelations=function(t,e){var r,n,o,a,s,l,u,c,h,m,f=new p;try{for(var d=__values(t.dictionary.dataSources.list),g=d.next();!g.done;g=d.next()){var S=g.value;f.set(S.name,S)}}catch(t){r={error:t}}finally{try{g&&!g.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}var y=new i(null);try{for(var A=__values(t.dictionary.relations.list),b=A.next();!b.done;b=A.next()){var v=b.value;y.add(v)}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}var C=new p,w=new p;try{for(var B=__values(e.dictionary.relations.list),I=B.next();!I.done;I=B.next()){var T=I.value;w.set(T.name,T)}}catch(t){s={error:t}}finally{try{I&&!I.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}try{for(var E=__values(y.list),R=E.next();!R.done;R=E.next()){var v,T;if((v=R.value).inherited)if(null==(T=w.get(v.name)))t.dictionary.relations.remove(v);else{var D;C.set(v.name,v),(D=T.clone()).dictionary=t.dictionary,null!=D.parentSource&&(D.parentSource=f.get(D.parentSource.name)),null!=D.childSource&&(D.childSource=f.get(D.childSource.name));var P=t.dictionary.relations.indexOf(v);t.dictionary.relations.removeAt(P),t.dictionary.relations.insert(P,D)}}}catch(t){u={error:t}}finally{try{R&&!R.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}try{for(var x=__values(e.dictionary.relations.list),F=x.next();!F.done;F=x.next()){var v=F.value,D,P;if(null==C.get(v.name))(D=v.clone()).dictionary=t.dictionary,D.parentSource=f.get(D.parentSource.name),D.childSource=f.get(D.childSource.name),(P=e.dictionary.relations.indexOf(v))>=0&&P<t.dictionary.relations.count?t.dictionary.relations.insert(0,D):t.dictionary.relations.add(D),C.set(D.name,D)}}catch(t){h={error:t}}finally{try{F&&!F.done&&(m=x.return)&&m.call(x)}finally{if(h)throw h.error}}},t.compareDatabases=function(t,e){var r,i,o,a,s,l,u,c,h=new n(null);try{for(var m=__values(t.dictionary.databases.list),f=m.next();!f.done;f=m.next()){var d=f.value;h.add(d)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}var g=new p,S=new p;try{for(var y=__values(e.dictionary.databases.list),A=y.next();!A.done;A=y.next()){var b=A.value;S.set(b.name,b)}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}try{for(var v=__values(h.list),C=v.next();!C.done;C=v.next()){var d,b;if((d=C.value).inherited)if(null==(b=S.get(d.name)))t.dictionary.databases.remove(d);else{var w=b.clone();g.set(w.name,d);var B=t.dictionary.databases.indexOf(d);t.dictionary.databases.removeAt(B),t.dictionary.databases.insert(B,w)}}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}try{for(var I=__values(e.dictionary.databases.list),T=I.next();!T.done;T=I.next()){var d=T.value;if(null==g.get(d.name)){var w=d.clone(),B;(B=e.dictionary.databases.indexOf(d))>=0&&B<t.dictionary.databases.count?t.dictionary.databases.insert(0,w):t.dictionary.databases.add(w),g.set(w.name,w)}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}},t.compareBusinessObjects=function(t,e){var n,i,o,a,s,l,u,c,h=new r(null,null);try{for(var m=__values(t.dictionary.businessObjects.list),f=m.next();!f.done;f=m.next()){var d=f.value;h.add(d)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}var g=new p,S=new p;try{for(var y=__values(e.dictionary.businessObjects.list),A=y.next();!A.done;A=y.next()){var b=A.value;S.set(b.name,b)}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}try{for(var v=__values(h.list),C=v.next();!C.done;C=v.next()){var d;if((d=C.value).inherited){var w=S.get(d.name);if(null==w)t.dictionary.businessObjects.remove(d);else{var B;g.set(d.name,d),(B=w.clone()).dictionary=t.dictionary;var I=t.dictionary.businessObjects.indexOf(d);t.dictionary.businessObjects.removeAt(I),t.dictionary.businessObjects.insert(I,B)}}}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}try{for(var T=__values(e.dictionary.businessObjects.list),E=T.next();!E.done;E=T.next()){var d=E.value,B,I;if(null==g.get(d.name))(B=d.clone()).dictionary=t.dictionary,(I=e.dictionary.businessObjects.indexOf(d))>=0&&I<t.dictionary.businessObjects.count?t.dictionary.businessObjects.insert(0,B):t.dictionary.businessObjects.add(B),g.set(B.name,B)}}catch(t){u={error:t}}finally{try{E&&!E.done&&(c=T.return)&&c.call(T)}finally{if(u)throw u.error}}},t.compareEvents=function(t,e){e.beginRenderEvent.script.length>0&&(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;n<t.childNodes.length;n++){var i=t.childNodes[n],o=new e.StiMetaTag(null,null);o.loadFromXml(i,r),this.list.push(o)}},r.prototype.add2=function(t,r){this.list.push(new e.StiMetaTag(t,r))},r.prototype.add=function(t){this.list.push(t)},r.prototype.addRange=function(t){var e,r;try{for(var n=__values(t),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}}},r.prototype.addRange2=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}}},r.prototype.contains=function(t){return this.list.stimulsoft.contains(t)},r.prototype.indexOf=function(t){return this.list.indexOf(t)},r.prototype.insert=function(t,e){this.list.stimulsoft.insert(t,e)},r.prototype.remove=function(t){this.list.stimulsoft.remove(t)},r.prototype.getByIndex=function(t){return this.list[t]},r.prototype.setByIndex=function(t,e){this.list[t]=e},r.prototype.getByName=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.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 null},r.prototype.setByName=function(t,e){for(var r=0;r<this.list.length;r++){var n;if(this.list[r].name==t)return void(this.list[r]=e)}this.list.push(e)},r.prototype.clone=function(){var t,e,n=new r;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},r}(t.System.Collections.CollectionBase);r.StiMetaTagCollection=s}(r=e.Dictionary||(e.Dictionary={}))}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Globalization.CultureInfo,n=function(){function t(){this._culture=r.currentCulture}return Object.defineProperty(t.prototype,"culture",{get:function(){return this._culture},set:function(t){this._culture=t},enumerable:!1,configurable:!0}),t.prototype.getString=function(t){return t},t.prototype.getObject=function(t){return null},t}();e.StiNullGlobalizationManager=n}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.System.Data.DBNull,n=t.Report.Dictionary.StiDataColumn,i=function(){function t(){}return t.isNull=function(t,e){var i=n.getDataFromDataColumn(t.dictionary,e);return null==i||i==r.value},t}();e.StiNullValuesHelper=i}(e=t.Report||(t.Report={}))}(Stimulsoft||(Stimulsoft={})),function(t){var e;!function(e){var r=t.Base.StiExportNotSupportedException,n=t.Report.Chart.StiExportAssembly,i=t.Report.Events.StiRefreshingEvent,o=t.Report.CodeDom.StiCodeGenerator,a=t.Report.Dictionary.StiMetaTagCollection,s=t.Base.IStiGetFonts,l=t.System.StiArray,u=t.System.Drawing.Graphics,c=t.System.StiError,p=t.System.StiString,h=t.System.StiObject,m=t.Report.Export.StiHtmlExportBookmarksMode,f=t.Base.StiKeyHelper,d=t.Base.IStiAppCell,g=t.Base.IStiApp,S=t.Base.Helpers.StiValueHelper,y=t.Base.Drawing.StiSolidBrush,A=t.Base.StiDashboardNotSupportedException,b=t.Base.JsonReportObject.IStiJsonReportObject,v=t.Base.StiActivator,C=t.System.EventHandler,w=t.Report.Export.StiExcelType,B=t.Report.Export.StiDataType,I=t.System.Globalization.CultureInfo,T=t.Base.izjrG.RWNpQ,E=t.Report.Events.StiExportEventArgs,R=t.Report.Events.StiPrintedEvent,D=t.Report.Events.StiPrintingEvent,P=t.Report.Events.StiExportedEvent,x=t.Report.Events.StiEndRenderEvent,F=t.Report.Events.StiRenderingEvent,N=t.Report.Events.StiBeginRenderEvent,k=t.Report.Events.StiExportingEvent,M=t.Report.Events.StiReportCacheProcessingEvent,O=t.System.EventArgs,_=t.System.IO.MemoryStream,j=t.Report.Export.StiHtmlExportMode,G=t.Base.StiEncryption,H=t.Base.StiConvert,Q=t.System.Xml.XmlConverter,L=t.System.Xml.XmlNode,Y=t.System.Data.DBNull,U=t.Base.StiJsonSaveMode,J=t.Report.Styles.StiStyleComponentPlacement,W=t.Report.Units.StiUnit,V=t.Report.Components.StiPagesCollection,z=t.Report.Components.IStiUnitConvert,X=t.Base.Localization.StiLocalization,K=t.System.Collections.Hashtable,Z=t.Report.Components.StiBookmark,q=t.Report.Components.StiText,$=t.Report.Styles.StiStylesCollection,tt=t.Report.Engine.StiRenderState,et=t.Report.Engine.StiParser.StiParser,rt=t.Base.StiJson,nt=t.System.DateTime,it=t.System.Guid,ot=t.Report.Engine.StiBookmarksHelper,at=t.Report.Dictionary.StiBusinessObjectData,st=t.Report.Components.StiPage,lt=t.Report.Components.StiComponentsCollection,ut=t.System.Enum,ct=t.Report.Components.StiDataBand,pt=t.Base.StiGZipHelper,ht=t.System.IO.TextWriter,mt=t.Base.IStiReport,ft=t.System.Data.JsonRelationDirection,dt=function(){function t(){this.masterComponents=[],this.clones=[],this.dialogInfo=[],this.barcodeTypes=[],this.textFormatTypes=[],this.refNames=[]}return t.prototype.clean=function(){this.masterComponents.stimulsoft.clear(),this.masterComponents=null,this.clones.stimulsoft.clear(),this.clones=null,this.dialogInfo.stimulsoft.clear(),this.dialogInfo=null,this.barcodeTypes.stimulsoft.clear(),this.barcodeTypes=null,this.textFormatTypes.stimulsoft.clear(),this.textFormatTypes=null,this.refNames.stimulsoft.clear(),this.refNames=null},t}();e.StiJsonLoaderHelper=dt;var gt=function(){function gt(){this._pageNumber=0,this._totalPageCountValue=0,this._pageNofMLocalizationString=null,this._line=1,this._groupLine=1,this._column=1,this._lineThrough=1,this._cacheAllData=!1,this._retrieveOnlyUsedData=!1,this._reportCacheMode=e.StiReportCacheMode.Off,this.convertNulls=!0,this._currentPage=0,this._currentPrintPage=0,this._pageCopyNumber=1,this._variables=null,this._script="",this.onBeginProcessData=null,this.onEndProcessData=null,this.events=new K,this.beginRenderEventScript="",this.onRendering=null,this.onEndRender=null,this.renderingEvent=new F,this.endRenderEventScript="",this.exportingEvent=new k,this.exportedEvent=new P,this.printingEvent=new D,this.printedEvent=new R,this.refreshingEvent=new i,this.onGetSubReport=null,this.reportCacheProcessingEvent=new M,this._masterReport="",this.anchors=new K,this.subReportsMasterReport=null,this.subReportsResetPageNumber=!1,this.subReportsPrintOnPreviousPage=!1,this.indexName=1,this.containsTables=!1,this.cachedTotals=null,this.cachedTotalsLocked=!1,this.preparedExportImages=null,this.modifiedVariables=new K,this._metaTags=new a,this._reportVersion=null,this._engine=null,this._reportRenderingMessages=null,this._interactionCollapsingStates=null,this._reportGuid=null,this._imageCachePath="",this._parentReport=null,this._globalizationManager=new e.StiNullGlobalizationManager,this._manualBookmark=new Z,this._totals=new K,this._cells=null,this._password=null,this._listOfUsedData=null,this.renderedWith=e.StiRenderedWith.Unknown,this._reportPass=e.StiReportPass.None,this._isRendered=!1,this._isRendering=!1,this._isModified=!1,this._isStopped=!1,this._isExporting=!1,this._isSerializing=!1,this._isPageDesigner=!1,this.isPrintingValue=!1,this._isDocument=!1,this._isInteractionRendering=!1,this._reportName="",this._reportAlias="",this._reportAuthor="",this._reportDescription="",this._reportCreated=nt.now,this._reportChanged=nt.now,this._numberOfPass=e.StiNumberOfPass.SinglePass,this._calculationMode=e.StiCalculationMode.Interpretation,this._reportUnit=e.StiReportUnitType.Centimeters,this._stopBeforePage=0,this._previewSettings=t.Report.Viewer.StiPreviewSettings.Default,this._dashboardViewerSettings=e.StiDashboardViewerSettings.All,this._collate=1,this._globalizationStrings=null,this._autoLocalizeReportOnRun=!1,this._requestParameters=!1,this._cacheTotals=!1,this._culture="",this._refreshTime=0,this._reportFile="";try{t.Report.Dictionary.StiFunctionsMath.create(),t.Report.Dictionary.StiFunctionsDate.create(),t.Report.Dictionary.StiFunctionsPrintState.create(),t.Report.Dictionary.StiFunctionsProgrammingShortcut.create(),t.Report.Dictionary.StiFunctionsStrings.create(),t.Report.Dictionary.StiFunctionsTotals.create(),this.key=f.generateKey(),this._subReports=new e.StiReportsCollection(this),this._reportGuid=this.generateReportGuid(),this._info=new t.Report.Design.StiDesignerInfo(this);try{}catch(e){t.System.StiError.showError(e,!1)}this._dictionary=new t.Report.Dictionary.StiDictionary(this),this._styles=new $(this),this._globalizationStrings=new e.StiGlobalizationContainerCollection(this);try{this._pages=new V(this),this._renderedPages=new V(this)}catch(e){t.System.StiError.showError(e,!1)}var r=new st(this);try{}catch(e){t.System.StiError.showError(e,!1)}this.pages.add(r),r.name=e.StiNameCreation.generateName(r)+"1",this.renderedPages.add(r);try{var n=void 0;("en"==X.cultureName||StiOptions.Engine.forceGenerationNonLocalizedName)&&(n=!1),StiOptions.Engine.forceGenerationLocalizedName&&(n=!0),n?(this._reportName=X.get("Components","StiReport"),this._reportAlias=X.get("Components","StiReport")):(this._reportName="Report",this._reportAlias="Report")}catch(e){t.System.StiError.showError(e,!1),this._reportName="Report",this._reportAlias="Report"}this.bookmarkValue=ot.createBookmark(this.reportAlias),this._manualBookmark=ot.createBookmark(this.reportAlias)}catch(e){t.System.StiError.showError(e,!1)}}return gt.prototype.implements=function(){return[z,mt,b,g,d,s]},gt.assignSignature=function(e,r){p.isNullOrWhiteSpace(e.reportGuid)&&e.generateReportGuid(),e[["li","ce","ns","eK","ey"].join("")]=T.encrypt(t.Base[["St","iL","ic","en","se"].join("")].key,e.reportGuid)},gt.prototype.saveToJsonInternal=function(t){var r=I.currentCulture;try{I.currentCulture=I.cultures["en-US"],this.updateReportVersion();var n=new rt("");return n.addPropertyStringNullOrEmpty("ReportVersion",this.reportVersion),n.addPropertyStringNullOrEmpty("ReportGuid",this._reportGuid),n.addPropertyStringNullOrEmpty("ReportName",this._reportName),n.addPropertyStringNullOrEmpty("ReportAlias",this._reportAlias),n.addPropertyStringNullOrEmpty("ReportFile",this._reportFile),n.addPropertyStringNullOrEmpty("ReportAuthor",this._reportAuthor),n.addPropertyStringNullOrEmpty("ReportDescription",this._reportDescription),n.addPropertyDateTime("ReportCreated",this.reportCreated),n.addPropertyDateTime("ReportChanged",this.reportChanged),n.addPropertyString("EngineVersion","EngineV2"),n.addPropertyEnum("NumberOfPass",e.StiNumberOfPass,this.numberOfPass,e.StiNumberOfPass.SinglePass),n.addPropertyEnum("CalculationMode",e.StiCalculationMode,this.calculationMode,e.StiCalculationMode.Compilation),n.addPropertyEnum("ReportUnit",e.StiReportUnitType,this.reportUnit,null),n.addPropertyBool("CacheAllData",this.cacheAllData),n.addPropertyBool("RetrieveOnlyUsedData",this.retrieveOnlyUsedData),n.addPropertyEnum("ReportCacheMode",e.StiReportCacheMode,this.reportCacheMode,e.StiReportCacheMode.Off),n.addPropertyBool("ConvertNulls",this.convertNulls,!0),n.addPropertyNumber("StopBeforePage",this.stopBeforePage),n.addPropertyNumber("Collate",this.collate,1),n.addPropertyBool("AutoLocalizeReportOnRun",this.autoLocalizeReportOnRun),n.addPropertyBool("RequestParameters",this.requestParameters),n.addPropertyBool("CacheTotals",this.cacheTotals),n.addPropertyStringNullOrEmpty("Culture",this.culture),n.addPropertyNumber("DashboardViewerSettings",this.dashboardViewerSettings,e.StiDashboardViewerSettings.All),n.addPropertyNumber("PreviewSettings",this.previewSettings,e.StiDashboardViewerSettings.All),null!=this.reportIcon&&n.addPropertyString("ReportIcon",this.reportIcon),null!=this.reportImage&&n.addPropertyString("ReportImage",this.reportImage),t==U.Document?(n.addPropertyJObject("RenderedPages",this.renderedPages.saveToJsonObject(t)),n.addPropertyStringNullOrEmpty("RenderedWith",ut.getName(e.StiRenderedWith,this.renderedWith))):(n.addPropertyNumber("RefreshTime",this.refreshTime,0),n.addPropertyJObject("MetaTags",this.metaTags.saveToJsonObject(t)),n.addPropertyJObject("Styles",this.styles.saveToJsonObject(t)),n.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),n.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),n.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),n.addPropertyJObject("ExportingEvent",this.exportingEvent.saveToJsonObject(t)),n.addPropertyJObject("ExportedEvent",this.exportedEvent.saveToJsonObject(t)),n.addPropertyJObject("PrintingEvent",this.printingEvent.saveToJsonObject(t)),n.addPropertyJObject("PrintedEvent",this.printedEvent.saveToJsonObject(t)),n.addPropertyJObject("RefreshingEvent",this.refreshingEvent.saveToJsonObject(t)),n.addPropertyJObject("ReportCacheProcessingEvent",this.reportCacheProcessingEvent.saveToJsonObject(t)),n.addPropertyJObject("GlobalizationStrings",this.globalizationStrings.saveToJsonObject(t)),n.addPropertyJObject("Dictionary",this.dictionary.saveToJsonObject(t)),n.addPropertyJObject("Pages",this.pages.saveToJsonObject(t))),n.serialize()}finally{I.currentCulture=r}},gt.prototype.loadFromJsonInternal=function(r){var n,o,a,s,l,u,c,p;this.isSerializing=!0;var h=I.currentCulture;try{I.currentCulture=I.cultures["en-US"],this.jsonLoaderHelper=new dt,this.isDocument=!1,this.isRendered=!1,this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=e.StiReportUnitType.Centimeters;var m=new rt;m.deserialize(r);try{for(var f=__values(m.properties()),d=f.next();!d.done;d=f.next()){var g=d.value;switch(g.name){case"ReportVersion":this._reportVersion=g.value;break;case"ReportGuid":this._reportGuid=g.value;break;case"ReportName":this._reportName=g.value;break;case"ReportAlias":this._reportAlias=g.value;break;case"ReportFile":this._reportFile=g.value;break;case"ReportAuthor":this._reportAuthor=g.value;break;case"ReportIcon":this.reportIcon=g.value;break;case"ReportImage":this.reportImage=g.value;break;case"ReportDescription":this._reportDescription=g.value;break;case"ReportCreated":this.reportCreated=rt.jsonDateFormatToDate(g.value);break;case"ReportChanged":this.reportChanged=rt.jsonDateFormatToDate(g.value);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=ut.parse(e.StiNumberOfPass,g.value);break;case"CalculationMode":this.calculationMode=ut.parse(e.StiCalculationMode,g.value);break;case"ReportUnit":this.reportUnit=ut.parse(e.StiReportUnitType,g.value);break;case"CacheAllData":this.cacheAllData=g.value;break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=g.value;break;case"ReportCacheMode":this.reportCacheMode=ut.parse(e.StiReportCacheMode,g.value);break;case"ConvertNulls":this.convertNulls=g.value.stimulsoft.toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=g.value;break;case"Collate":this.collate=g.value;break;case"ReferencedAssemblies":break;case"ScriptLanguage":break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=g.value.stimulsoft.toBoolean();break;case"ParametersOrientation":break;case"RequestParameters":this.requestParameters=g.value.stimulsoft.toBoolean();break;case"CacheTotals":this.cacheTotals=g.value;break;case"Culture":this.culture=g.value;break;case"Script":break;case"BeginRenderEvent":var S;(S=new N).loadFromJsonObject(g.value),this.beginRenderEvent=S;break;case"RenderingEvent":var S;(S=new F).loadFromJsonObject(g.value),this.renderingEvent=S;break;case"EndRenderEvent":var S;(S=new x).loadFromJsonObject(g.value),this.endRenderEvent=S;break;case"ExportingEvent":var S;(S=new k).loadFromJsonObject(g.value),this.exportingEvent=S;break;case"ExportedEvent":var S;(S=new P).loadFromJsonObject(g.value),this.exportedEvent=S;break;case"PrintingEvent":var S;(S=new D).loadFromJsonObject(g.value),this.printingEvent=S;break;case"PrintedEvent":var S;(S=new R).loadFromJsonObject(g.value),this.printedEvent=S;break;case"RefreshingEvent":var S;(S=new i).loadFromJsonObject(g.value),this.refreshingEvent=S;break;case"ReportCacheProcessingEvent":var S;(S=new M).loadFromJsonObject(g.value),this.reportCacheProcessingEvent=S;break;case"MetaTags":this.metaTags.loadFromJsonObject(g.value);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromJsonObject(g.value);break;case"PrinterSettings":break;case"Styles":this.styles.loadFromJsonObject(g.value);break;case"Dictionary":this.dictionary.loadFromJsonObject(g.value);break;case"Pages":this.isRendered=!1,this.isDocument=!1,this.pages.loadFromJsonObject(g.value);break;case"RenderedPages":this.isRendered=!0,this.isDocument=!0,this.renderedPages.loadFromJsonObject(g.value);break;case"RefreshTime":this.refreshTime=g.value;break;case"RenderedWith":this.renderedWith=ut.parse(e.StiRenderedWith,g.value);break;case"DashboardViewerSettings":this.dashboardViewerSettings=g.value.stimulsoft.toNumber();break}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}var y=null;if(this.jsonLoaderHelper.masterComponents.length>0){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<r.firstChild.childNodes.length;m++){var f=r.firstChild.childNodes[m];if("#text"==f.nodeName)continue;switch(f.nodeName){case"Dictionary":this.dictionary.loadFromXml(f);break;case"Styles":this.styles.loadFromXml(f);break;case"Pages":h=f;break;case"ReportVersion":this._reportVersion=f.textContent;break;case"ReportGuid":this._reportGuid=f.textContent;break;case"ReportName":this._reportName=f.textContent;break;case"ReportAlias":this._reportAlias=f.textContent;break;case"ReportFile":this._reportFile=f.textContent;break;case"ReportAuthor":this._reportAuthor=f.textContent;break;case"ReportIcon":this.reportIcon=f.textContent;break;case"ReportImage":this.reportImage=f.textContent;break;case"ReportDescription":this._reportDescription=f.textContent;break;case"ReportCreated":this.reportCreated=rt.jsonDateFormatToDate(f.textContent);break;case"ReportChanged":this.reportChanged=rt.jsonDateFormatToDate(f.textContent);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=ut.parse(e.StiNumberOfPass,f.textContent);break;case"CalculationMode":this.calculationMode=ut.parse(e.StiCalculationMode,f.textContent);break;case"Unit":if(c)switch(f.getAttribute("type")){case"mm":this.reportUnit=e.StiReportUnitType.Millimeters;break;case"cm":this.reportUnit=e.StiReportUnitType.Centimeters;break;case"hi":this.reportUnit=e.StiReportUnitType.HundredthsOfInch;break;case"in":this.reportUnit=e.StiReportUnitType.Inches;break}break;case"ReportUnit":this.reportUnit=ut.parse(e.StiReportUnitType,f.textContent);break;case"CacheAllData":this.cacheAllData=f.textContent.stimulsoft.toBoolean();break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=f.textContent.stimulsoft.toBoolean();break;case"ReportCacheMode":this.reportCacheMode=ut.parse(e.StiReportCacheMode,f.textContent);break;case"ConvertNulls":this.convertNulls=f.textContent.stimulsoft.toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=f.textContent.stimulsoft.toNumber();break;case"PreviewSettings":this.previewSettings=f.textContent.stimulsoft.toNumber();break;case"DashboardViewerSettings":this.dashboardViewerSettings=0,f.textContent.indexOf("ShowToolBar")>=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("<?xml")&&(e=Q.toXml(e)),e.stimulsoft.is(L)?this.loadFromXmlInternal(e):this.loadFromJsonInternal(e)}catch(e){t.System.StiError.showError(e,!1)}},gt.prototype.loadFile=function(e){var r=t.System.IO.File.getFile(e);r&&(this.load(r),this.reportFile=e)},gt.prototype.loadPacked=function(e){try{if(void 0===e||null==e)return;var r=pt.unpack(e);this.load(r)}catch(e){t.System.StiError.showError(e.message,!1)}},gt.prototype.loadPackedFile=function(e){var r=t.System.IO.File.getFile(e,!0);r&&(this.loadPacked(r),this.reportFile=e)},gt.prototype.loadEncryptedReport=function(e,r){try{if(void 0===e||null==e)return;e.stimulsoft.is(String)&&(e=t.System.Convert.fromBase64String(e));var n=e;if("m"!=String.fromCharCode(n[0])||"r"!=String.fromCharCode(n[1])||"x"!=String.fromCharCode(n[2]))throw new Error("This file is a not '.mrx' format.");for(var i=l.create(Number,n.length-3),o=3;o<n.length;o++)i[o-3]=n[o];i=G.decrypt2(i,r);try{i=pt.unpack(i)}catch(e){throw t.Base.Localization.StiLocalization.get("DesignerFx","DecryptionError")}var a=t.System.Text.Encoding.UTF8.getString(i);this.password=r,this.load(a)}catch(e){t.System.StiError.showError(e,!0)}},gt.prototype.loadEncryptedReportFile=function(e,r){var n=t.System.IO.File.getFile(e,!0);n&&(this.loadEncryptedReport(n,r),this.reportFile=e)},gt.prototype.loadDocument=function(e){try{if(void 0===e||null==e)return;if(e.stimulsoft.is(Array)||e.stimulsoft.is(Uint8Array)){if(this.isPackedFile(e))return this.loadPackedDocument(e),this.isDocument=!0,void(this.isRendered=!0);e=t.System.Text.Encoding.UTF8.getString(e)}e.stimulsoft.is(String)&&e.trim().stimulsoft.startsWith("<?xml")&&(e=Q.toXml(e)),e.stimulsoft.is(L)?this.loadFromXmlInternal(e):this.loadFromJsonInternal(e)}catch(e){t.System.StiError.showError(e.message,!1)}this.isDocument=!0,this.isRendered=!0},gt.prototype.loadDocumentFile=function(e){var r=t.System.IO.File.getFile(e);r&&(this.loadDocument(r),this.reportFile=e)},gt.prototype.loadPackedDocument=function(r){var n,i;try{if(void 0===r||null==r)return;if(r.stimulsoft.is(Array)&&(r=t.System.Text.Encoding.UTF8.getString(r)),r.stimulsoft.is(Uint8Array)){for(var o=[],a=0;a!=r.length;++a)o[a]=r[a];r=o}var s=pt.unpack(r);if(s.stimulsoft.is(Uint8Array)){var l="";try{for(var u=__values(s),c=u.next();!c.done;c=u.next()){var p=c.value;l+=String.fromCharCode(p)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}try{s=l.stimulsoft.fromUnicodeString()}catch(t){s=l}}this.loadDocument(s)}catch(r){if(t.System.StiError.showError(r.message,!1),e.StiLogService.write(this.stimulsoft.getType(),"Loading packed rendered report ...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),!StiOptions.Engine.hideExceptions)throw r}},gt.prototype.loadPackedDocumentFile=function(e){var r=t.System.IO.File.getFile(e,!0);r&&(this.loadPackedDocument(r),this.reportFile=e)},gt.prototype.loadEncryptedDocument=function(r,n){try{if(void 0===r||null==r)return;r.stimulsoft.is(String)&&(r=t.System.Convert.fromBase64String(r));for(var i=new Uint8Array(r),o=[],a=0;a!=i.length;++a)o[a]=i[a];if("m"!=String.fromCharCode(o[0])||"d"!=String.fromCharCode(o[1])||"x"!=String.fromCharCode(o[2]))throw new Error("This file is a not '.mdx' format.");for(var s=l.create(Number,o.length-3),a=3;a<o.length;a++)s[a-3]=o[a];s=G.decrypt2(s,n);try{s=pt.unpack(s)}catch(e){throw t.Base.Localization.StiLocalization.get("DesignerFx","DecryptionError")}var u=t.System.Text.Encoding.UTF8.getString(s);this.password=n,this.loadDocument(u)}catch(r){if(e.StiLogService.write(this.stimulsoft.getType(),"Loading encrypted rendered report ...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),r),t.System.StiError.showError(r,!0),!StiOptions.Engine.hideExceptions)throw r}},gt.prototype.loadEncryptedDocumentFile=function(e,r){var n=t.System.IO.File.getFile(e,!0);n&&(this.loadEncryptedDocument(n,r),this.reportFile=e)},gt.prototype.saveEncryptedReportToByteArray=function(e){var r=this.saveToJsonString(),n=t.System.Text.Encoding.UTF8.getBytes(r);n=pt.pack(n),n=G.encrypt2(n,e);var i=l.create(Number,n.length+3);return i[0]="m".charCodeAt(0),i[1]="r".charCodeAt(0),i[2]="x".charCodeAt(0),n.stimulsoft.copyTo(i,3),i},gt.prototype.saveEncryptedReportToString=function(e){var r=this.saveEncryptedReportToByteArray(e);return t.System.Convert.toBase64String(r)},gt.prototype.saveEncryptedReportFile=function(e,r){var n=this.saveEncryptedReportToString(r);t.System.IO.File.saveFile(e,n)},gt.prototype.saveToJsonString=function(){try{return this.saveToJsonInternal(U.Report)}catch(e){t.System.StiError.showError(e,!1)}return""},gt.prototype.saveFile=function(e){var r=this.saveToJsonString();t.System.IO.File.saveFile(e,r)},gt.prototype.saveDocumentToJsonString=function(){try{return this.saveToJsonInternal(U.Document)}catch(e){t.System.StiError.showError(e,!1)}return""},gt.prototype.saveDocumentFile=function(e){var r=this.saveDocumentToJsonString();t.System.IO.File.saveFile(e,r)},gt.prototype.saveEncryptedDocumentToByteArray=function(e){var r=this.saveDocumentToJsonString(),n=t.System.Text.Encoding.UTF8.getBytes(r);n=pt.pack(n),n=G.encrypt2(n,e);var i=l.create(Number,n.length+3);return i[0]="m".charCodeAt(0),i[1]="d".charCodeAt(0),i[2]="x".charCodeAt(0),n.stimulsoft.copyTo(i,3),i},gt.prototype.getDictionary=function(){return this.dictionary},gt.prototype.getKey=function(){return this.key},gt.prototype.setKey=function(t){this.key=t},gt.prototype.fetchPages=function(){return this.pages.toList()},gt.prototype.getFonts=function(){var t,e,r=[];try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.stimulsoft.is(s)&&r.stimulsoft.addRange(o.getFonts())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return l.distinct(r)},Object.defineProperty(gt.prototype,"pageNumber",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumber(this.currentPrintPage-1):this._pageNumber},set:function(t){this._pageNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pageNumberThrough",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumberThrough(this.currentPrintPage-1):0},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"totalPageCount",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCount(this.currentPrintPage-1):0},set:function(t){this._totalPageCountValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"totalPageCountThrough",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCountThrough(this.currentPrintPage-1):0},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pageNofM",{get:function(){return e.StiSystemVariableLocHelper.getPageNofM(this)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pageNofMThrough",{get:function(){return e.StiSystemVariableLocHelper.getPageNofMThrough(this)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pageNofMLocalizationString",{get:function(){return this._pageNofMLocalizationString},set:function(t){this._pageNofMLocalizationString=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"groupLine",{get:function(){return this._groupLine},set:function(t){this._groupLine=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"lineRoman",{get:function(){return e.Func.Convert.toRoman(this.line)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"lineABC",{get:function(){return e.Func.Convert.toABC(this.line)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"lineThrough",{get:function(){return this._lineThrough},set:function(t){this._lineThrough=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"date",{get:function(){return nt.today},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"today",{get:function(){return nt.today},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"time",{get:function(){return nt.now},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"cacheAllData",{get:function(){return this._cacheAllData},set:function(t){this._cacheAllData=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"retrieveOnlyUsedData",{get:function(){return this._retrieveOnlyUsedData},set:function(t){this._retrieveOnlyUsedData=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportCacheMode",{get:function(){return this._reportCacheMode},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isFirstPage",{get:function(){return 1==this.pageNumber},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isLastPage",{get:function(){return this.pageNumber==this.totalPageCount},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isFirstPageThrough",{get:function(){return 1==this.pageNumberThrough},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isLastPageThrough",{get:function(){return this.pageNumberThrough==this.totalPageCountThrough},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isFirstPass",{get:function(){return this.reportPass==e.StiReportPass.First||this.reportPass==e.StiReportPass.None},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isSecondPass",{get:function(){return this.reportPass==e.StiReportPass.Second},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"currentPage",{get:function(){return this._currentPage},set:function(t){this._currentPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"currentPrintPage",{get:function(){return this._currentPrintPage},set:function(t){this._currentPrintPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pageCopyNumber",{get:function(){return this._pageCopyNumber},set:function(t){this._pageCopyNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"businessObjectsStore",{get:function(){return null==this._businessObjectsStore&&(this._businessObjectsStore=[]),this._businessObjectsStore},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"variables",{get:function(){return this._variables},set:function(t){this._variables=t},enumerable:!1,configurable:!0}),gt.prototype.getVariable=function(t,e){void 0===e&&(e=!1);var r=null==this.compiledReport?this:this.compiledReport,n=t.substr(0,1).toLowerCase()+t.substr(1);if(!e){if(null!=this[t])return this[t];if(null!=this[n])return this[n]}return null==this.variables?null:this.variables.get(t)},gt.prototype.setVariable=function(t,e,r){void 0===r&&(r=!1);var n=null==this.compiledReport?this:this.compiledReport;if(null!=this.dictionary&&this.dictionary.variables.contains(t)&&this.modifiedVariables.set(t,null),!r){var i=t.substr(0,1).toLowerCase()+t.substr(1);if(void 0!==this[i]&&!o.isReservedWordExist(i))return void(this[i]=e)}null==n.variables&&et.prepareReportVariables(this),n.variables.set(t,e)},Object.defineProperty(gt.prototype,"aggregateFunctions",{get:function(){return this._aggregateFunctions},set:function(t){this._aggregateFunctions=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"dataSources",{get:function(){return this._dictionary.dataSources},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"dataStore",{get:function(){return this.dictionary.dataStore},enumerable:!1,configurable:!0}),gt.prototype.regData=function(t,e,r,n){void 0===n&&(n=ft.ParentToChild),this.dictionary.dataStore.regData(t,e,r,n),null!=this.compiledReport&&this.compiledReport.dictionary.dataStore.regData(t,e,r,n)},gt.prototype.regBusinessObject2=function(t,e,r,n){var i=new at(t,e,r,n);this.storeBusinessObjectWithCheckExistingData(i),null!=this.compiledReport&&this.compiledReport.storeBusinessObjectWithCheckExistingData(i)},gt.prototype.regBusinessObject=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value;this.storeBusinessObjectWithCheckExistingData(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},gt.prototype.storeBusinessObjectWithCheckExistingData=function(t){this.businessObjectsStore.push(t)},Object.defineProperty(gt.prototype,"script",{get:function(){return null==this._script&&this.scriptNew(),this._script},set:function(t){this._script=t},enumerable:!1,configurable:!0}),gt.prototype.scriptNew=function(){},gt.prototype.invokeBeginProcessData=function(t,e){null!=this.onBeginProcessData&&this.onBeginProcessData.stimulsoft.is(Function)&&(t.event="BeginProcessData",t.preventDefault=!1,this.onBeginProcessData(t,e))},gt.prototype.invokeEndProcessData=function(t){null!=this.onEndProcessData&&this.onEndProcessData.stimulsoft.is(Function)&&(t.event="EndProcessData",this.onEndProcessData(t))},gt.prototype.invokeRefreshPreview=function(){this.invokeRefreshViewer()},gt.prototype.invokeRefreshViewer=function(){null!=this.compiledReport&&this.compiledReport.invokeRefreshViewer()},gt.prototype.invokeClick=function(t,e){},gt.prototype.invokeDoubleClick=function(t,e){},gt.prototype.invokeGotoComp=function(t){},gt.prototype.invokePaint=function(t,e){},gt.prototype.invokeBeginRender=function(){try{var t=this.events.get(gt.eventBeginRender);if(null!=t)try{t()}catch(t){}null!=this.onBeginRender&&this.onBeginRender.stimulsoft.is(Function)&&this.onBeginRender()}catch(t){if(e.StiLogService.write(gt,"InvokeBeginRender...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(gt.prototype,"beginRenderEvent",{get:function(){return new N(this.beginRenderEventScript)},set:function(t){null!=t&&(t.set(null,t.script),this.beginRenderEventScript=t.script,this.events.set(gt.eventBeginRender,C.create(t.script,this)))},enumerable:!1,configurable:!0}),gt.prototype.invokeRendering=function(){try{null!=this.onRendering&&this.onRendering.stimulsoft.is(Function)&&this.onRendering()}catch(t){if(e.StiLogService.write(gt,"InvokeRendering...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},gt.prototype.invokeEndRender=function(){var t,r;try{if(this.calculationMode==e.StiCalculationMode.Interpretation&&this.calculationMode==e.StiCalculationMode.Interpretation&&null!=this.totals)try{for(var n=__values(this.totals.keys),i=n.next();!i.done;i=n.next()){var o,a=i.value;null!=a&&a.stimulsoft.startsWith("#%#")&&this.getComponentByName(a.substr(3)).clone().setText(null,null)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}var s=this.events.get(gt.eventEndRender);if(null!=s)try{s()}catch(t){}null!=this.onEndRender&&this.onEndRender.stimulsoft.is(Function)&&this.onEndRender()}catch(t){if(e.StiLogService.write(gt,"InvokeEndRender...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(gt.prototype,"endRenderEvent",{get:function(){return new N(this.endRenderEventScript)},set:function(t){null!=t&&(t.set(null,t.script),this.endRenderEventScript=t.script,this.events.set(gt.eventEndRender,C.create(t.script,this)))},enumerable:!1,configurable:!0}),gt.prototype.invokeStatusChanged=function(){try{}catch(t){if(e.StiLogService.write(gt,"InvokeStatusChanged...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},gt.prototype.onExporting=function(t){},gt.prototype.invokeExporting=function(t){this.isExporting=!0;var e=new E(t);this.onExporting(e)},gt.prototype.onExported=function(t){},gt.prototype.invokeExported=function(t){this.isExporting=!1;var e=new E(t);this.onExported(e)},gt.prototype.onPrinting=function(t){},gt.prototype.invokePrinting=function(){this.onPrinting(O.empty)},gt.prototype.onPrinted=function(t){},gt.prototype.invokePrinted=function(){this.onPrinted(O.empty)},gt.prototype.onRefreshing=function(t){var e=C.create(this.refreshingEvent.script,this);if(null!=e)try{e()}catch(t){}},gt.prototype.invokeRefreshing=function(){this.onRefreshing(O.empty)},gt.prototype.invokeGetSubReport=function(t){null!=this.onGetSubReport&&this.onGetSubReport.stimulsoft.is(Function)&&this.onGetSubReport(t),null!=this.compiledReport&&this.compiledReport.invokeGetSubReport(t),null!=this.parentReport&&this.invokeGetSubReport(t)},gt.prototype.invokeReportCacheProcessing=function(){try{}catch(t){if(e.StiLogService.write(gt,"InvokeReportCacheProcessing...ERROR"),e.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(gt.prototype,"unit",{get:function(){return W.getUnitFromReportUnit(this.reportUnit)},set:function(r){r.stimulsoft.is(t.Report.Units.StiCentimetersUnit)?this.reportUnit=e.StiReportUnitType.Centimeters:r.stimulsoft.is(t.Report.Units.StiMillimetersUnit)?this.reportUnit=e.StiReportUnitType.Millimeters:r.stimulsoft.is(t.Report.Units.StiInchesUnit)?this.reportUnit=e.StiReportUnitType.Inches:r.stimulsoft.is(t.Report.Units.StiHundredthsOfInchUnit)&&(this.reportUnit=e.StiReportUnitType.HundredthsOfInch)},enumerable:!1,configurable:!0}),gt.prototype.convert=function(t,e,r){var n,i;if(void 0===r&&(r=!1),t.name!=e.name&&null!=this._pages)try{for(var o=__values(this.pages.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}}},gt.changeType=function(t,e,r){return void 0===r&&(r=!0),H.changeType(t,e,r)},gt.prototype.applyStyleCollection=function(r){var n,i,o,a,s,l,u,c;if(p.isNullOrEmpty(r))return;r=r.toLowerCase().trim();var h=[];try{for(var m=__values(this.styles.list),f=m.next();!f.done;f=m.next()){var d;(d=f.value).collectionName.toLowerCase().trim()==r&&h.push(d)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}var g=this.getComponents();try{for(var S=__values(g.list),y=S.next();!y.done;y=S.next()){var A=y.value;if(A.stimulsoft.is(st))continue;try{for(var b=(s=void 0,__values(h)),v=b.next();!v.done;v=b.next()){var d=v.value;if(!e.StiStyleConditionHelper.isAllowStyle(A,d))continue;if(A.stimulsoft.is(t.Report.Chart.IStiChart));else if(A.stimulsoft.is(ct)){var C=!1,w=!1;try{for(var B=(u=void 0,__values(d.conditions.list)),I=B.next();!I.done;I=B.next()){var T=I.value;if((T.placement&J.DataOddStyle)>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<this.renderedPages.count){var a=this.renderedPages.getByIndex(o);this.renderedPages.getPage(a);var s=a.getComponents();for(var l in s)if(l==n){if(a==r.page)return i;return this.engine.pageNumbers.getPageNumber(a)}o++}return i}var u=this.getAnchor(t);if(null==u)return 0;return this.engine.pageNumbers.getPageNumber(u.page)},gt.prototype.getAnchorPageNumberThrough=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.getPageNumberThrough(r.page));var o=i-1;while(o<this.renderedPages.count){var a=this.renderedPages.getByIndex(o);this.renderedPages.getPage(a);var s=a.getComponents();for(var l in s)if(l==n){if(a==r.page)return i;return this.engine.pageNumbers.getPageNumberThrough(a)}o++}return i}var u=this.getAnchor(t);if(null==u)return 0;return this.engine.pageNumbers.getPageNumberThrough(u.page)},gt.prototype.getAnchor=function(t){if(null==t)return new e.StiRuntimeVariables(this);return this.anchors.get(t)},gt.prototype.getComponents=function(){var t,e,r=new lt;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o);var a={ref:r};o.getComponents2(a),r=a.ref}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},gt.prototype.getRenderedComponents=function(){var t,e,r=new lt;try{for(var n=__values(this.renderedPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o);var a={ref:r};o.getComponents2(a),r=a.ref}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},gt.prototype.getComponentsCount=function(){var t,e,r=0;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r+=1,r+=o.getComponentsCount()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},gt.prototype.renameStyle=function(e,r){var n,i,o=this.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value;t.Report.Styles.StiStylesHelper.changeComponentStyleName(l,e,r)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},gt.prototype.localizeReport=function(t){this.globalizationStrings.localizeReport(t)},Object.defineProperty(gt.prototype,"metaTags",{get:function(){return this._metaTags},set:function(t){this._metaTags=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportVersion",{get:function(){return null==this._reportVersion?t.StiVersion.version:""},set:function(t){this._reportVersion=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"engine",{get:function(){return this._engine},set:function(t){this._engine=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportRenderingMessages",{get:function(){return this._reportRenderingMessages},set:function(t){this._reportRenderingMessages=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"interactionCollapsingStates",{get:function(){return this._interactionCollapsingStates},set:function(t){this._interactionCollapsingStates=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"subReports",{get:function(){return this._subReports},set:function(t){this._subReports=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportGuid",{get:function(){return this._reportGuid},set:function(t){this._reportGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"imageCachePath",{get:function(){return this._imageCachePath},set:function(t){this._imageCachePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"parentReport",{get:function(){return this._parentReport},set:function(t){this._parentReport=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"globalizationManager",{get:function(){return this._globalizationManager},set:function(t){this._globalizationManager=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"pages",{get:function(){return this._pages},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"renderedPages",{get:function(){if(null!=this.compiledReport)return this.compiledReport.renderedPages;return this._renderedPages},set:function(t){null!=this.compiledReport?this.compiledReport.renderedPages=t:this._renderedPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"info",{get:function(){return this._info},set:function(t){this._info=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"bookmark",{get:function(){if(null!=this.compiledReport)return this.compiledReport.bookmark;return this.bookmarkValue},set:function(t){this.bookmarkValue=t,null!=this.compiledReport&&(this.compiledReport.bookmark=t)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"manualBookmark",{get:function(){return this.bookmark},set:function(t){this.bookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"totals",{get:function(){if(null!=this.parentReport)return this.parentReport.totals;return this._totals},set:function(t){null!=this.parentReport?this.parentReport.totals=t:this._totals=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"cells",{get:function(){return null==this._cells&&(this._cells=new e.StiCells(this)),this._cells},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"password",{get:function(){return this._password},set:function(t){this._password=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"dataBandsUsedInPageTotals",{get:function(){return this._dataBandsUsedInPageTotals},set:function(t){this._dataBandsUsedInPageTotals=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"listOfUsedData",{get:function(){return this._listOfUsedData},set:function(t){this._listOfUsedData=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportPass",{get:function(){return this._reportPass},set:function(t){this._reportPass=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isRendered",{get:function(){return this._isRendered},set:function(t){this._isRendered=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isRendering",{get:function(){return this._isRendering},set:function(t){this._isRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isModified",{get:function(){return this._isModified},set:function(t){this._isModified!=t&&(this._isModified=t,this._reportGuid=this.generateReportGuid())},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isStopped",{get:function(){return this._isStopped},set:function(t){this._isStopped=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isExporting",{get:function(){return this._isExporting},set:function(t){this._isExporting=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isSerializing",{get:function(){return this._isSerializing},set:function(t){this._isSerializing=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isPageDesigner",{get:function(){return this._isPageDesigner},set:function(t){this._isPageDesigner=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isPrinting",{get:function(){return this.isPrintingValue},set:function(t){this.isPrintingValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"containsDashboard",{get:function(){return this.pages.toList().any((function(t){return t.isDashboard&&t.enabled}))},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isDesigning",{get:function(){return this.info.forceDesigningMode},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isPreviewDialogs",{get:function(){return this._isPreviewDialogs},set:function(t){this._isPreviewDialogs=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isDocument",{get:function(){return this._isDocument},set:function(t){this._isDocument=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"isInteractionRendering",{get:function(){return this._isInteractionRendering},set:function(t){this._isInteractionRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportName",{get:function(){return this._reportName},set:function(t){this._reportName==this._reportAlias&&(this._reportAlias=t),this._reportName=e.StiNameValidator.correctName(t)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportAlias",{get:function(){return this._reportAlias},set:function(t){this._reportAlias=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportAuthor",{get:function(){return this._reportAuthor},set:function(t){this._reportAuthor=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportDescription",{get:function(){return this._reportDescription},set:function(t){this._reportDescription=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportCreated",{get:function(){return this._reportCreated},set:function(t){this._reportCreated=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportChanged",{get:function(){return this._reportChanged},set:function(t){this._reportChanged=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"styles",{get:function(){return this._styles},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"numberOfPass",{get:function(){return this._numberOfPass},set:function(t){this._numberOfPass!=t&&(this._numberOfPass=t)},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"calculationMode",{get:function(){return this._calculationMode},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"reportUnit",{get:function(){return this._reportUnit},set:function(t){this.isSerializing||this._reportUnit!=t&&this.convert(W.getUnitFromReportUnit(this._reportUnit),W.getUnitFromReportUnit(t)),this._reportUnit=t},enumerable:!1,configurable:!0}),Object.defineProperty(gt.prototype,"stopBeforePage",{get:function(){return this._stopBeforePage},set:function(t){t>=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 = "<style>body > table > tbody > tr:last-child {display:none;} table:first-child > tbody > tr:first-child {display:none;}</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<t.renderedPages.count&&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())<z)break;if(!l&&K!=z)continue;this.calcItem(f)}W.position=X;while(W.position<W.count-1){var K;if(W.position++,(K=W.dataSource.getLevel())<z)break;if(u){if(V&&K-z>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())<z)break;if(!l&&K!=z)continue;this.calcItem(f)}W.position=X;while(W.position<W.count-1){var K;if(W.position++,W.businessObject.currentObject=q[W.position],(K=W.businessObject.getLevel())<z)break;if(u){if(V&&K-z>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())<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)}}d.position=b;while(d.position<d.count-1){var v;if(d.position++,null!=d.businessObject&&(d.businessObject.currentObject=S[d.position]),(v=null!=d.dataSource?d.dataSource.getLevel():d.businessObject.getLevel())<y)break;if(c){if(g&&v-y>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 o<r?o:0;case n.LessThanOrEqualTo:return o<=r?o:0;case n.NotBetween:return o<r||o>i?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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},t}(i);t.StiBarRangeListCollection=o}(r=t.Collections||(t.Collections={}))}(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=e.Base.StiJson,i=function(){function e(){this._value=0,this._placement=null,this._offset=null}return e.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyNumber("Value",this.value,0),t.addPropertyNumber("Offset",this.offset,null),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Value":this.value=o.value.stimulsoft.toNumber();break;case"Offset":this.offset=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Value":this.value=r.textContent.stimulsoft.toNumber();break;case"Offset":this.offset=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.createNew=function(){return null},e}();t.StiCustomValueBase=i}(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.Components.Gauge.StiCustomValueBase,o=e.Base.Drawing.StiEmptyBrush,a=function(e){function r(t,r,i,n,a,s,l,u,c,h){void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===a&&(a=null),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null),void 0===c&&(c=null),void 0===h&&(h=null);var p=e.call(this)||this;return p._relativeWidth=null,p._relativeHeight=null,p._offsetAngle=null,p._skin=null,p._brush=new o,p._borderBrush=new o,p._borderWidth=null,null!=t&&(p.value=t),null!=r&&(p.offset=r),null!=i&&(p._relativeWidth=i),null!=n&&(p._relativeHeight=n),null!=a&&(p._offsetAngle=a),null!=s&&(p.placement=s),null!=l&&(p.brush=l),null!=u&&(p.borderBrush=u),null!=c&&(p.borderWidth=c),null!=h&&(p._skin=h),p}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.addPropertyNumber("RelativeHeight",this.relativeHeight,null),r.addPropertyNumber("RelativeWidth",this.relativeWidth,null),r.addPropertyNumber("OffsetAngle",this.offsetAngle,null),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"RelativeHeight":this.relativeHeight=a.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=a.value.stimulsoft.toNumber();break;case"OffsetAngle":this.offsetAngle=a.value.stimulsoft.toNumber();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"RelativeHeight":this.relativeHeight=i.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=i.textContent.stimulsoft.toNumber();break;case"OffsetAngle":this.offsetAngle=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickMarkCustomValue},enumerable:!1,configurable:!0}),r.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t.borderBrush=this.borderBrush.clone(),t},Object.defineProperty(r.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e,this.useBrush=!0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e,this.useBorderBrush=!0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e,this.useBorderWidth=!0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return"RadialTickMarkCustom"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return i.format("Value={0}",this.value)},r.prototype.createNew=function(){return new r},r}(n);r.StiRadialTickMarkCustomValue=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.System.StiString,n=function(e){function r(t,r,i,n,o,a){void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===a&&(a=null);var s=e.call(this)||this;return s._text=null,s._offsetAngle=null,s._labelRotationMode=null,s.value=t,s._text=r,s.offset=i,s._offsetAngle=n,s._labelRotationMode=o,s.placement=a,s}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyString("Text",this.text),r.addPropertyNumber("OffsetAngle",this.offsetAngle,null),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"Text":this.text=a.value.toString();break;case"OffsetAngle":this.offsetAngle=a.value.stimulsoft.toNumber();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Text":this.text=i.textContent.toString();break;case"OffsetAngle":this.offsetAngle=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickLabelCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelRotationMode",{get:function(){return this._labelRotationMode},set:function(e){this._labelRotationMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return"RadialTickLabelCustom"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return i.format("Value={0}, Text={1}",this.value,this.text)},r.prototype.createNew=function(){return new r},r}(r.StiCustomValueBase);r.StiRadialTickLabelCustomValue=n}(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.System.StiString,n=function(e){function r(t,r,i,n,o,a){void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===a&&(a=null);var s=e.call(this)||this;return s._relativeWidth=null,s._relativeHeight=null,s.value=t,s.offset=r,s._relativeWidth=i,s._relativeHeight=n,s.placement=o,s._skin=a,s}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.addPropertyNumber("RelativeHeight",this.relativeHeight,null),r.addPropertyNumber("RelativeWidth",this.relativeWidth,null),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"RelativeHeight":this.relativeHeight=a.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=a.value.stimulsoft.toNumber();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"RelativeHeight":this.relativeHeight=i.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickMarkCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),r.prototype.get=function(){return this._relativeHeight},Object.defineProperty(r.prototype,"relativeHeight",{set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return"LinearTickMarkCustom"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return i.format("Value={0}",this.value)},r.prototype.createNew=function(){return new r},r}(r.StiCustomValueBase);r.StiLinearTickMarkCustomValue=n}(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.System.StiString,n=function(e){function r(t,r,i,n){void 0===t&&(t=0),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null);var o=e.call(this)||this;return o._text=null,o.value=t,o._text=r,o.offset=i,o.placement=n,o}return __extends(r,e),r.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyString("Text",this.text),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"Text":this.text=a.value.toString();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Text":this.text=i.textContent.toString();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickLabelCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizedName",{get:function(){return"LinearTickLabelCustom"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return i.format("Value={0}, Text={1}",this.value,this._text)},r.prototype.createNew=function(){return new r},r}(r.StiCustomValueBase);r.StiLinearTickLabelCustomValue=n}(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.StiRadialTickMarkCustomValue,i=e.Report.Components.Gauge.StiRadialTickLabelCustomValue,n=e.Report.Components.Gauge.StiLinearTickMarkCustomValue,o=e.Report.Components.Gauge.StiLinearTickLabelCustomValue,a=e.System.StiString,s=e.System.Collections.CollectionBase,l=e.Base.StiJson,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new l,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.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.customValues.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r}));if(null==i)throw a.format("Type {0} is not found!",r);var o=i.createNew();n.add(o),o.loadFromJsonObject(e.value)},n=this;try{for(var o=__values(e.properties()),s=o.next();!s.done;s=o.next()){var l;i(s.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},t.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(null==a.attributes)continue;if(null!=a.attributes.getNamedItem("type"))switch(a.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelCustomValue":var s=new o;this.add(s),s.loadFromXml(a);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkCustomValue":var l=new n;this.add(l),l.loadFromXml(a);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelCustomValue":var u=new i;this.add(u),u.loadFromXml(a);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkCustomValue":var c=new r;this.add(c),c.loadFromXml(a);break}}return null},t.prototype.clone=function(){var e,r,i=new t;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.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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},t}(s);t.StiCustomValuesCollection=u}(r=t.Collections||(t.Collections={}))}(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.Base.Drawing.StiEmptyBrush,o=e.Base.StiJson,a=e.Base.StiJsonReportObjectHelper,s=function(){function e(){this._startValue=0,this._endValue=0,this._brush=new n,this._borderBrush=new n}return e.prototype.saveToJsonObject=function(e){var t=new o;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyNumber("StartValue",this.startValue,0),t.addPropertyNumber("EndValue",this.endValue,0),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",a.Serialize.jBrush(this.borderBrush)),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"StartValue":this.startValue=o.value.stimulsoft.toNumber();break;case"EndValue":this.endValue=o.value.stimulsoft.toNumber();break;case"Brush":this.brush=a.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=a.Deserialize.brush(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return t.StiComponentId.StiStateIndicatorFilter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"startValue",{get:function(){return this._startValue},set:function(e){this._startValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this._endValue},set:function(e){this._endValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return i.format("StartValue={0}, EndValue={1}",this.startValue,this.endValue)},e}();r.StiStateIndicatorFilter=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=e.System.Collections.CollectionBase,i=e.Base.StiJson,n=e.Report.Components.Gauge.StiStateIndicatorFilter,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var n=new i,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.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 n},t.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new n;this.add(s),s.loadFromJsonObject(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},t.prototype.clone=function(){var e,r,i=new t;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.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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},t}(r);t.StiFilterCollection=o}(r=t.Collections||(t.Collections={}))}(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(){function e(){}return e.prototype.draw=function(e,t,r,i,n){void 0===i&&(i=null),void 0===n&&(n=null)},e}();e.StiGaugeElementSkin=t}(t=e.Gauge||(e.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.System.StiString,n=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,o=e.Report.Painters.StiGaugeContextPainter,a=e.System.Drawing.StringFormat,s=e.System.Drawing.StringAlignment,l=e.System.Drawing.StringFormatFlags,u=e.Report.Gauge.IStiGaugeMarker,c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.addLines=function(e,t,r,c,h,p,d,m){var f=new n(c,r[0],t.brush,t.borderBrush,t.borderWidth);f.addGraphicsPathLinesGaugeGeom(r),f.addGraphicsPathCloseFigureGaugeGeom(),null!=h&&null!=p?(e.addPushMatrixGaugeGeom(h,p),e.addGraphicsPathGaugeGeom(f),e.addPopTranformGaugeGeom()):e.addGraphicsPathGaugeGeom(f),null!=m&&(f.animation=m);var g=t.stimulsoft.as(u);if(null!=g&&g.showValue){null==d&&((d=new a).alignment=s.Center,d.lineAlignment=s.Center,d.formatFlags=l.NoWrap);var y=o.changeFontSize(g.font,e.zoom);e.addTextGaugeGeom(i.format(g.format,t.valueObj),y,g.textBrush,c,d)}},t}(t.StiGaugeElementSkin);r.StiMarkerBaseSkin=c}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=[];u[0]=new r(o.right,o.top),u[1]=new r(o.left,o.top+o.height/2),u[2]=new r(o.right,o.bottom);var c=new i;c.alignment=n.Far,c.lineAlignment=n.Center,this.addLines(e,l,u,o,a,s,c,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker10Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=[];u[0]=new r(o.left,o.top),u[1]=new r(o.right,o.top+o.height/2),u[2]=new r(o.left,o.bottom);var c=new i;c.alignment=n.Near,c.lineAlignment=n.Center,this.addLines(e,l,u,o,a,s,c,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker11Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=o.bottom,c=o.right,h=o.left+o.width/3,p=o.top+o.height/2,d=[];d[0]=new r(c,o.top),d[1]=new r(c,u),d[2]=new r(h,u),d[3]=new r(o.left,p),d[4]=new r(h,o.top);var m=new i;m.alignment=n.Far,m.lineAlignment=n.Center,this.addLines(e,l,d,o,a,s,m,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker12Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=o.bottom,c=o.right,h=c-o.width/3,p=o.top+o.height/2,d=[];d[0]=new r(o.left,o.top),d[1]=new r(h,o.top),d[2]=new r(c,p),d[3]=new r(h,u),d[4]=new r(o.left,u);var m=new i;m.alignment=n.Near,m.lineAlignment=n.Center,this.addLines(e,l,d,o,a,s,m,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker13Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.bottom,l=i.right,u=i.height/3,c=i.left+i.width/5,h=[];h[0]=new r(c,s),h[1]=new r(c,s-u),h[2]=new r(i.left,i.top+i.height/2),h[3]=new r(c,i.top+u),h[4]=new r(c,i.top),h[5]=new r(l,i.top),h[6]=new r(l,s),this.addLines(e,a,h,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker14Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.bottom,l=i.right,u=i.height/3,c=i.right-i.width/5,h=[];h[0]=new r(i.left,i.top),h[1]=new r(c,i.top),h[2]=new r(c,i.top+u),h[3]=new r(l,i.top+i.height/2),h[4]=new r(c,s-u),h[5]=new r(c,s),h[6]=new r(i.left,s),this.addLines(e,a,h,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker15Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.left+i.width/2,l=i.top+i.height/2,u=[];u[0]=new r(i.left,l),u[1]=new r(s,i.top),u[2]=new r(i.right,l),u[3]=new r(s,i.bottom),this.addLines(e,a,u,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker1Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.bottom,l=i.right,u=[];u[0]=new r(i.left,i.top),u[1]=new r(l,i.top),u[2]=new r(l,s),u[3]=new r(i.left,s),this.addLines(e,a,u,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker2Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=[];u[0]=new r(o.left,o.bottom),u[1]=new r(o.left+o.width/2,o.top),u[2]=new r(o.right,o.bottom);var c=new i;c.alignment=n.Center,c.lineAlignment=n.Far,this.addLines(e,l,u,o,a,s,c,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker3Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=[];u[0]=new r(o.left,o.top),u[1]=new r(o.left+o.width/2,o.bottom),u[2]=new r(o.right,o.top);var c=new i;c.alignment=n.Center,c.lineAlignment=n.Near,this.addLines(e,l,u,o,a,s,c,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker4Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=o.bottom,c=o.right,h=o.top+o.height/3,p=o.left+o.width/2,d=[];d[0]=new r(o.left,u),d[1]=new r(o.left,h),d[2]=new r(p,o.top),d[3]=new r(c,h),d[4]=new r(c,u);var m=new i;m.alignment=n.Center,m.lineAlignment=n.Far,this.addLines(e,l,d,o,a,s,m,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker5Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,o,a,s){var l=t,u=o.bottom-o.height/3,c=o.left+o.width/2,h=[];h[0]=new r(o.left,o.top),h[1]=new r(o.right,o.top),h[2]=new r(o.right,u),h[3]=new r(c,o.bottom),h[4]=new r(o.left,u);var p=new i;p.alignment=n.Center,p.lineAlignment=n.Near,this.addLines(e,l,h,o,a,s,p,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker6Skin=o}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.System.Drawing.StringFormat,n=e.System.Drawing.StringAlignment,o=e.System.Drawing.StringFormatFlags,a=e.Report.Painters.StiGaugeContextPainter,s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,s,l,u){var c=t;if(null!=l&&null!=u?(e.addPushMatrixGaugeGeom(l,u),e.addEllipseGaugeGeom(s,c.brush,c.borderBrush,c.borderWidth),e.addPopTranformGaugeGeom()):e.addEllipseGaugeGeom(s,c.brush,c.borderBrush,c.borderWidth),c.showValue){var h=new i;h.alignment=n.Center,h.lineAlignment=n.Center,h.formatFlags=o.NoWrap;var p=a.changeFontSize(c.font,e.zoom);e.addTextGaugeGeom(r.format(c.format,c.valueObj),p,c.textBrush,s,h)}},t}(t.StiMarkerBaseSkin);t.StiMarker7Skin=s}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.bottom,l=i.right,u=i.top+i.height/5,c=i.width/3,h=[];h[0]=new r(i.left,u),h[1]=new r(i.left+c,u),h[2]=new r(i.left+i.width/2,i.top),h[3]=new r(l-c,u),h[4]=new r(l,u),h[5]=new r(l,s),h[6]=new r(i.left,s),this.addLines(e,a,h,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker8Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.bottom,l=i.right,u=s-i.height/5,c=i.width/3,h=[];h[0]=new r(i.left,i.top),h[1]=new r(l,i.top),h[2]=new r(l,u),h[3]=new r(l-c,u),h[4]=new r(i.left+i.width/2,s),h[5]=new r(i.left+c,u),h[6]=new r(i.left,u),this.addLines(e,a,h,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiMarker9Skin=i}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Rectangle,o=e.System.Drawing.Point,a=e.Report.Gauge.StiGaugeElementSkin,s=e.System.Drawing.StringFormatFlags,l=e.System.Drawing.StringFormat,u=e.System.Drawing.StringAlignment,c=e.System.Drawing.Color,h=e.Base.Drawing.StiGradientBrush,p=e.Base.Drawing.StiEmptyBrush,d=e.Base.Drawing.StiSolidBrush,m=e.Report.Painters.StiGaugeContextPainter,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,a,f,g){var y=t,b=Math.min(a.width,a.height),v=b/4,S=.6*a.height,w=new n(a.left+v,a.top+.2*a.height,a.width-v,S),k=[];k[0]=w.location,k[1]=new o(w.right,w.top+w.height/2),k[2]=new o(w.left,w.bottom);var G=new i(w,k[0],new h(c.fromArgb(255,248,210),c.fromArgb(0,255,248,210),0),new p,0);G.addGraphicsPathLinesGaugeGeom(k),G.addGraphicsPathCloseFigureGaugeGeom();var B=.4*(S=.4*a.height),R=new n(a.left+v,a.top+.3*a.height,a.width-v,S),O=[];O[0]=R.location,O[1]=new o(R.right,R.top+B),O[2]=new o(R.right,R.bottom-B),O[3]=new o(R.left,R.bottom);var x=new i(R,O[0],new h(c.fromArgb(34,34,34),c.fromArgb(255,210,90),0),new p,0);x.addGraphicsPathLinesGaugeGeom(O),x.addGraphicsPathCloseFigureGaugeGeom();var C=null!=f&&null!=g,P=new n(a.x,a.y,b,b);if(C&&e.addPushMatrixGaugeGeom(f,g),null!=t.animation&&(G.animation=x.animation=t.animation),e.addGraphicsPathGaugeGeom(G),e.addGraphicsPathGaugeGeom(x),e.addEllipseGaugeGeom(P,new h(c.fromArgb(120,120,120),c.fromArgb(132,117,77),0),new d(c.fromArgb(228,188,83)),1),C&&e.addPopTranformGaugeGeom(),y.showValue){var _=new l;_.alignment=u.Center,_.lineAlignment=u.Center,_.formatFlags=s.NoWrap;var j=m.changeFontSize(y.font,e.zoom);e.addTextGaugeGeom(r.format(y.format,y.valueObj),j,y.textBrush,P,_)}},t}(a);t.StiNeedleIndicator1Skin=f}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.Report.Painters.StiGaugeContextPainter,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=e.Report.Gauge.StiGaugeElementSkin,l=e.System.Drawing.StringFormatFlags,u=e.System.Drawing.StringFormat,c=e.System.Drawing.StringAlignment,h=e.System.Drawing.Color,p=e.Base.Drawing.StiEmptyBrush,d=e.Base.Drawing.StiSolidBrush,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,s,m,f){var g=t,y=Math.min(s.width,s.height),b=y/3,v=new o(s.left+1,s.top+(s.height-b)/2,s.width-1,b),S=new i(v,v.location,g.brush,g.borderBrush,g.borderWidth);b=y/7;var w=[];w[0]=v.location,w[1]=new a(v.right,v.top+(v.height-b)/2),w[2]=new a(v.right,v.bottom-(v.height-b)/2),w[3]=new a(v.left,v.bottom),w[4]=w[0],S.addGraphicsPathLinesGaugeGeom(w);var k=null!=m&&null!=f;k&&e.addPushMatrixGaugeGeom(m,f),null!=t.animation&&(S.animation=t.animation),e.addGraphicsPathGaugeGeom(S);var G=new o(s.x,s.y,y,y),B=new d(h.fromArgb(175,175,175));e.addEllipseGaugeGeom(G,B,g.borderBrush,1.5);var R=.15*y,O=new o(G.x+R,G.top+R,y-2*R,y-2*R);if(e.addEllipseGaugeGeom(O,new p,new d(h.white),2),k&&e.addPopTranformGaugeGeom(),g.showValue){var x=new u;x.alignment=c.Center,x.lineAlignment=c.Center,x.formatFlags=l.NoWrap;var C=n.changeFontSize(g.font,e.zoom);e.addTextGaugeGeom(r.format(g.format,g.valueObj),C,g.textBrush,G,x)}},t}(s);t.StiNeedleIndicator2Skin=m}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Rectangle,o=e.System.Drawing.Point,a=e.Report.Gauge.StiGaugeElementSkin,s=e.System.Drawing.StringFormatFlags,l=e.System.Drawing.StringFormat,u=e.System.Drawing.StringAlignment,c=e.System.Drawing.Color,h=e.Base.Drawing.StiGradientBrush,p=e.Base.Drawing.StiSolidBrush,d=e.Report.Painters.StiGaugeContextPainter,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,a,m,f){var g=t,y=Math.min(a.width,a.height),b=.6*y,v=new n(a.left+y/2,a.top+(a.height-b)/2,a.width-y/2,b),S=new i(v,v.location,g.brush,g.borderBrush,g.borderWidth),w=.111*v.width,k=.15*v.height,G=[];G[0]=v.location,G[1]=new o(v.right-w,v.top+k),G[2]=new o(v.right,v.top+v.height/2),G[3]=new o(v.right-w,v.bottom-k),G[4]=new o(v.left,v.bottom),G[5]=G[0],S.addGraphicsPathLinesGaugeGeom(G);var B=null!=m&&null!=f;B&&e.addPushMatrixGaugeGeom(m,f),e.addGraphicsPathGaugeGeom(S);var R=new n(a.x,a.y,y,y),O=new h(c.fromArgb(230,229,229),c.fromArgb(80,80,80),45),x=new p(c.fromArgb(98,94,90));if(e.addEllipseGaugeGeom(R,O,x,1.5),B&&e.addPopTranformGaugeGeom(),null!=t.animation&&(S.animation=t.animation),g.showValue){var C=new l;C.alignment=u.Center,C.lineAlignment=u.Center,C.formatFlags=s.NoWrap;var P=d.changeFontSize(g.font,e.zoom);e.addTextGaugeGeom(r.format(g.format,g.valueObj),P,g.textBrush,R,C)}},t}(a);t.StiNeedleIndicator3Skin=m}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.Report.Painters.StiGaugeContextPainter,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=e.Report.Gauge.StiGaugeElementSkin,l=e.System.Drawing.StringFormatFlags,u=e.System.Drawing.StringFormat,c=e.System.Drawing.StringAlignment,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,s,h,p){var d=t,m=Math.min(s.width,s.height),f=new a(s.location.x+m/2-d.offsetNeedle*s.width,s.location.y+s.height/2-m/2),g=new o(f.x,s.y,s.width-m/2,m),y=[];y[0]=new a(g.x,g.y+g.height/2-g.height*d.endWidth/2),y[1]=new a(g.right,g.y+g.height/2-g.height*d.startWidth/2),y[2]=new a(g.right,g.y+g.height/2+g.height*d.startWidth/2),y[3]=new a(g.x,g.y+g.height/2+g.height*d.endWidth/2),y[4]=y[0];var b=new i(g,y[0],d.brush,d.borderBrush,d.borderWidth);b.addGraphicsPathLinesGaugeGeom(y);var v=null!=h&&null!=p;v&&e.addPushMatrixGaugeGeom(h,p),e.addGraphicsPathGaugeGeom(b);var S=new a(s.location.x,s.location.y+s.height/2-m/2),w=new o(S.x,S.y,m,m);e.addEllipseGaugeGeom(w,d.capBrush,d.capBorderBrush,d.capBorderWidth),v&&e.addPopTranformGaugeGeom(),null!=t.animation&&(b.animation=t.animation);var k=d.getActualValue();if(d.showValue){var G=new u;G.alignment=c.Center,G.lineAlignment=c.Center,G.formatFlags=l.NoWrap;var B=n.changeFontSize(d.font,e.zoom);e.addTextGaugeGeom(r.format(d.format,k),B,d.textBrush,w,G)}},t}(s);t.StiNeedleIndicator4Skin=h}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.System.Drawing.StringFormatFlags,n=e.System.Drawing.StringFormat,o=e.System.Drawing.StringAlignment,a=e.Report.Gauge.StiGaugeElementSkin,s=e.Report.Painters.StiGaugeContextPainter,l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,a,l,u){var c=t;e.addEllipseGaugeGeom(a,c.brush,c.borderBrush,c.borderWidth);var h=c.getActualValue();if(c.showValue&&null!=h){var p=new n;p.alignment=o.Center,p.lineAlignment=o.Center,p.formatFlags=i.NoWrap;var d=s.changeFontSize(c.font,e.zoom);e.addTextGaugeGeom(r.format(c.format,h),d,c.textBrush,a,p)}},t}(a);t.StiState1Skin=l}(r=t.Skins||(t.Skins={}))}(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=e.System.StiString,i=e.Report.Painters.StiGaugeContextPainter,n=e.System.Drawing.StringFormatFlags,o=e.System.Drawing.StringFormat,a=e.System.Drawing.StringAlignment,s,l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,s,l,u){var c=t;if(e.addRectangleGaugeGeom(s,c.brush,c.borderBrush,c.borderWidth),c.showValue){var h=new o;h.alignment=a.Center,h.lineAlignment=a.Center,h.formatFlags=n.NoWrap;var p=i.changeFontSize(c.font,e.zoom);e.addTextGaugeGeom(r.format(c.format,c.valueObj),p,c.textBrush,s,h)}},t}(e.Report.Gauge.StiGaugeElementSkin);t.StiState2Skin=l}(r=t.Skins||(t.Skins={}))}(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=e.System.Drawing.Point,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,i,n,o){var a=t,s=i.left+i.width/2,l=i.top+i.height/2,u=[];u[0]=new r(i.left,l),u[1]=new r(s,i.top),u[2]=new r(i.right,l),u[3]=new r(s,i.bottom),this.addLines(e,a,u,i,n,o,null,t.animation)},t}(t.StiMarkerBaseSkin);t.StiState3Skin=i}(r=t.Skins||(t.Skins={}))}(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(t){var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,i,n){var o=t;e.addRectangleGaugeGeom(r,o.brush,o.borderBrush,o.borderWidth)},t}(e.StiGaugeElementSkin);t.StiMark1Skin=r}(t=e.Skins||(e.Skins={}))}(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(t){var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,i,n){var o=t;e.addEllipseGaugeGeom(r,o.brush,o.borderBrush,o.borderWidth)},t}(e.StiGaugeElementSkin);t.StiMark2Skin=r}(t=e.Skins||(e.Skins={}))}(t=e.Gauge||(e.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.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Point,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,o,a){var s=t,l=r.left+r.width/2,u=r.top+r.height/2,c=[];c[0]=new n(r.left,u),c[1]=new n(l,r.top),c[2]=new n(r.right,u),c[3]=new n(l,r.bottom);var h=new i(r,c[0],s.brush,s.borderBrush,s.borderWidth);h.addGraphicsPathLinesGaugeGeom(c),h.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(h)},t}(t.StiGaugeElementSkin);r.StiMark3Skin=o}(r=t.Skins||(t.Skins={}))}(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.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Point,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,o,a){var s=t,l=[],u=r.bottom;l[0]=new n(r.left,u),l[1]=new n(r.right,u),l[2]=new n(r.left+r.width/2,r.top);var c=new i(r,l[0],s.brush,s.borderBrush,s.borderWidth);c.addGraphicsPathLinesGaugeGeom(l),c.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(c)},t}(t.StiGaugeElementSkin);r.StiMark4Skin=o}(r=t.Skins||(t.Skins={}))}(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.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Point,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,o,a){var s=t,l=[];l[0]=new n(r.left,r.top),l[1]=new n(r.right,r.top+r.height/2),l[2]=new n(r.left,r.bottom);var u=new i(r,l[0],s.brush,s.borderBrush,s.borderWidth);u.addGraphicsPathLinesGaugeGeom(l),u.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(u)},t}(t.StiGaugeElementSkin);r.StiMark5Skin=o}(r=t.Skins||(t.Skins={}))}(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.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Point,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,o,a){var s=t,l=[],u=r.top+r.height/2;l[0]=new n(r.right,r.top),l[1]=new n(r.left,u),l[2]=new n(r.right,r.bottom);var c=new i(r,l[0],s.brush,s.borderBrush,s.borderWidth);c.addGraphicsPathLinesGaugeGeom(l),c.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(c)},t}(t.StiGaugeElementSkin);r.StiMark6Skin=o}(r=t.Skins||(t.Skins={}))}(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.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.System.Drawing.Point,o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.draw=function(e,t,r,o,a){var s=t,l=[],u=r.top+r.height/2;l[0]=new n(r.right,r.top),l[1]=new n(r.left,u),l[2]=new n(r.right,r.bottom);var c=new i(r,l[0],s.brush,s.borderBrush,s.borderWidth);c.addGraphicsPathLinesGaugeGeom(l),c.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(c)},t}(t.StiGaugeElementSkin);r.StiMark7Skin=o}(r=t.Skins||(t.Skins={}))}(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.Gauge.Skins.StiMarker1Skin,n=e.Report.Gauge.Skins.StiMarker2Skin,o=e.Report.Gauge.Skins.StiMarker3Skin,a=e.Report.Gauge.Skins.StiMarker4Skin,s=e.Report.Gauge.Skins.StiMarker5Skin,l=e.Report.Gauge.Skins.StiMarker6Skin,u=e.Report.Gauge.Skins.StiMarker7Skin,c=e.Report.Gauge.Skins.StiMarker8Skin,h=e.Report.Gauge.Skins.StiMarker9Skin,p=e.Report.Gauge.Skins.StiMarker10Skin,d=e.Report.Gauge.Skins.StiMarker11Skin,m=e.Report.Gauge.Skins.StiMarker12Skin,f=e.Report.Gauge.Skins.StiMarker13Skin,g=e.Report.Gauge.Skins.StiMarker14Skin,y=e.Report.Gauge.Skins.StiMark1Skin,b=e.Report.Gauge.Skins.StiMark2Skin,v=e.Report.Gauge.Skins.StiMark3Skin,S=e.Report.Gauge.Skins.StiMark4Skin,w=e.Report.Gauge.Skins.StiMark5Skin,k=e.Report.Gauge.Skins.StiMark6Skin,G=e.Report.Gauge.Skins.StiMark7Skin,B=e.Report.Gauge.Skins.StiState1Skin,R=e.Report.Gauge.Skins.StiState2Skin,O=e.Report.Gauge.Skins.StiState3Skin,x=e.Report.Gauge.Skins.StiNeedleIndicator1Skin,C=e.Report.Gauge.Skins.StiNeedleIndicator2Skin,P=e.Report.Gauge.Skins.StiNeedleIndicator3Skin,_=e.Report.Gauge.Skins.StiNeedleIndicator4Skin,j=function(){function e(){}return e.getMarkerSkin=function(e){switch(e){case t.StiMarkerSkin.Diamond:return new i;case t.StiMarkerSkin.Rectangle:return new n;case t.StiMarkerSkin.TriangleTop:return new o;case t.StiMarkerSkin.TriangleBottom:return new a;case t.StiMarkerSkin.PentagonTop:return new s;case t.StiMarkerSkin.PentagonBottom:return new l;case t.StiMarkerSkin.Ellipse:return new u;case t.StiMarkerSkin.RectangularCalloutTop:return new c;case t.StiMarkerSkin.RectangularCalloutBottom:return new h;case t.StiMarkerSkin.TriangleLeft:return new p;case t.StiMarkerSkin.TriangleRight:return new d;case t.StiMarkerSkin.PentagonLeft:return new m;case t.StiMarkerSkin.PentagonRight:return new f;case t.StiMarkerSkin.RectangularCalloutLeft:return new g;default:return null}},e.getTickMarkSkin=function(e){switch(e){case t.StiTickMarkSkin.Rectangle:return new y;case t.StiTickMarkSkin.Ellipse:return new b;case t.StiTickMarkSkin.Diamond:return new v;case t.StiTickMarkSkin.TriangleTop:return new S;case t.StiTickMarkSkin.TriangleRight:return new w;case t.StiTickMarkSkin.TriangleLeft:return new k;case t.StiTickMarkSkin.TriangleBottom:return new G;default:return null}},e.getStateIndicatorSkin=function(e){switch(e){case t.StiStateSkin.Ellipse:return new B;case t.StiStateSkin.Rectangle:return new R;case t.StiStateSkin.Diamond:return new O;default:return null}},e.getNeedleIndicatorSkin=function(e){switch(e){case t.StiNeedleSkin.DefaultNeedle:return new x;case t.StiNeedleSkin.SpeedometerNeedle:return new C;case t.StiNeedleSkin.SpeedometerNeedle2:return new P;case t.StiNeedleSkin.SimpleNeedle:return new _;default:return null}},e}();r.StiGaugeSkinHelper=j}(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){var t;!function(e){var t=function(){function e(){this._allowApplyStyle=!0}return e.prototype.applyStyle=function(e){},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle=e},enumerable:!1,configurable:!0}),e.prototype.drawElement=function(e){},e}();e.StiElementBase=t}(t=e.Primitives||(e.Primitives={}))}(t=e.Gauge||(e.Gauge={}))}(t=e.Components||(e.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.Base.StiJson,i=e.Report.Gauge.StiGaugeElemenType,n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t},t.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"AllowApplyStyle":this.allowApplyStyle=o.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}}},t.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"AllowApplyStyle":this.allowApplyStyle=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(t.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PropName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animation",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementType",{get:function(){return i.LinearElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localizeName",{get:function(){return"GaugeElement"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(e){this._scale=e},enumerable:!1,configurable:!0}),t.prototype.createNew=function(){return null},t.prototype.prepareGaugeElement=function(){},t}(t.StiElementBase);t.StiGaugeElement=n}(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;!function(r){var i=e.Report.Gauge.StiPlacement,n=e.System.StiString,o=e.Report.Engine.StiParser.StiParser,a=e.Base.StiJson,s=e.Base.StiJsonReportObjectHelper,l=e.System.Enum,u=e.Report.Events.StiGetValueEvent,c=e.Report.Expressions.StiExpression,h=e.Base.Drawing.StiBrush,p=e.Base.Drawing.StiSolidBrush,d=e.System.Drawing.Color,m=e.Base.Drawing.StiEmptyBrush,f=e.Report.Events.StiGetValueEventArgs,g,y=function(r){function g(){var t=null!==r&&r.apply(this,arguments)||this;return t._valueObj=0,t._placement=e.Report.Gauge.StiPlacement.Overlay,t._brush=new p(d.white),t._borderBrush=new m,t._borderWidth=0,t._getValueEvent=new u,t._value="",t}return __extends(g,r),g.prototype.saveToJsonObject=function(t){var r=new a;return r.addPropertyEnum("Placement",e.Report.Gauge.StiPlacement,this.placement),r.addPropertyStringNullOrEmpty("BorderBrush",s.Serialize.jBrush(this.borderBrush)),r.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this.brush)),r.addPropertyNumber("BorderWidth",this.borderWidth,0),r.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),r.addPropertyJObject("Value",new c(this.value).saveToJsonObject(t)),r},g.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 h=a.value;switch(h.name){case"Placement":this.placement=l.parse(e.Report.Gauge.StiPlacement,h.value.toString());break;case"BorderBrush":this.borderBrush=s.Deserialize.brush(h.value);break;case"Brush":this.brush=s.Deserialize.brush(h.value);break;case"GetValueEvent":var p=new u;p.loadFromJsonObject(h.value),this.getValueEvent=p;break;case"Value":var d=new c;d.loadFromJsonObject(h.value),this.value=d.value;break}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},g.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];switch(n.nodeName){case"Placement":this.placement=l.parse(i,n.textContent.toString());break;case"BorderBrush":this.borderBrush=h.loadFromXml(n.textContent);break;case"Brush":this.brush=h.loadFromXml(n.textContent);break;case"GetValueEvent":var o=new u;o.loadFromXml(n),this.getValueEvent=o;break;case"Value":var a=new c;a.loadFromXml(n),this.value=a.value;break}}},g.prototype.clone=function(){var e=r.prototype.clone.call(this);return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),null!=this.value?e.value=this.value:e.value=null,e},Object.defineProperty(g.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e,this.onValueChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),g.prototype.onGetValue=function(e){},g.prototype.invokeGetValue=function(e,r){try{if(this.onGetValue(r),e.scale.gauge.report.calculationMode==t.StiCalculationMode.Interpretation){var i=o.parseTextValue(this.value,e.scale.gauge);r.value=e.scale.gauge.report.toString2(i)}}catch(e){var a=n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),a),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(g.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),g.prototype.prepareGaugeElement=function(){var t=new f;this.invokeGetValue(this,t),this.valueObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject(t.value,this.scale)},g.prototype.interactiveClick=function(e,t){},g.prototype.onValueChanged=function(){},g.prototype.getActualValue=function(){if(null==this.scale||null==this.scale.gauge)return null;try{var e=new f;this.invokeGetValue(this,e);var t=void 0;if(null!=e.value)t=o.parseTextValue(e.value,this.scale.gauge);else if(this.scale.gauge.isDesigning){var r=o.parseTextValue("{"+this.value+"}",this.scale.gauge);t=null!=r?r.stimulsoft.toNumber():0}else t=this.valueObj;return t}catch(e){return 0}},g}(e.Report.Components.Gauge.Primitives.StiGaugeElement);r.StiIndicatorBase=y}(i=r.Primitives||(r.Primitives={}))}(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.Helpers.StiGaugeSkinHelper,a=e.System.Enum,s=e.System.Drawing.Rectangle,l=e.System.Drawing.Size,u=e.Report.Gauge.StiGaugeElemenType,c=e.System.Drawing.Point,h=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Color,d=e.System.Drawing.Font,m=e.Base.Drawing.StiSolidBrush,f=e.Base.Drawing.StiBrush,g=e.Base.StiJsonReportObjectHelper,y=e.Report.Components.Gauge.Primitives.StiIndicatorBase,b=e.System.Drawing.FontStyle,v=e.System.Drawing.GraphicsUnit,S=function(r){function y(){var t=r.call(this)||this;return t._format="{0:F0}",t._showValue=!1,t._textBrush=new m(p.dimGray),t._font=new d("Arial",7),t._capBrush=new m(p.fromArgb(158,158,158)),t._capBorderBrush=new h,t._capBorderWidth=0,t._offsetNeedle=0,t._startWidth=.1,t._endWidth=1,t._autoCalculateCenterPoint=!0,t._centerPoint=new c,t._relativeHeight=.04,t._relativeWidth=.4,t._skin=e.Report.Gauge.StiNeedleSkin.SimpleNeedle,t.brush=new m(p.fromArgb(158,158,158)),t}return __extends(y,r),y.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",g.Serialize.jBrush(this.textBrush)),i.addPropertyStringNullOrEmpty("Font",g.Serialize.font(this.font,"Arial",8,b.Bold,v.Pixel)),i.addPropertyStringNullOrEmpty("CapBrush",g.Serialize.jBrush(this.capBrush)),i.addPropertyStringNullOrEmpty("CapBorderBrush",g.Serialize.jBrush(this.capBorderBrush)),i.addPropertyNumber("CapBorderWidth",this.capBorderWidth,0),i.addPropertyNumber("OffsetNeedle",this.offsetNeedle,0),i.addPropertyNumber("StartWidth",this.startWidth,.1),i.addPropertyNumber("EndWidth",this.endWidth,1),i.addPropertyBool("AutoCalculateCenterPoint",this.autoCalculateCenterPoint,!0),i.addPropertyJObject("CenterPoint",g.Serialize.point(this.centerPoint)),i.addPropertyNumber("RelativeHeight",this.relativeHeight,.04),i.addPropertyNumber("RelativeWidth",this.relativeWidth,.4),i.addPropertyEnum("Skin",e.Report.Gauge.StiNeedleSkin,this.skin),i},y.prototype.loadFromJsonObject=function(t){var i,n;r.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"Format":this.format=l.value.toString();break;case"ShowValue":this.showValue=l.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=g.Deserialize.brush(l.value);break;case"Font":this.font=g.Deserialize.font(l.value.toString(),this.font);break;case"CapBrush":this.capBrush=g.Deserialize.brush(l.value);break;case"CapBorderBrush":this.capBorderBrush=g.Deserialize.brush(l.value);break;case"CapBorderWidth":this.capBorderWidth=l.value.stimulsoft.toNumber();break;case"OffsetNeedle":this.offsetNeedle=l.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=l.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=l.value.stimulsoft.toNumber();break;case"AutoCalculateCenterPoint":this.autoCalculateCenterPoint=l.value.stimulsoft.toBoolean();break;case"Center":this.centerPoint=g.Deserialize.point(l.value);break;case"RelativeHeight":this.relativeHeight=l.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=l.value.stimulsoft.toNumber();break;case"Skin":this.skin=a.parse(e.Report.Gauge.StiNeedleSkin,l.value.toString());break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},y.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"Format":this.format=n.textContent.toString();break;case"ShowValue":this.showValue=n.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=f.loadFromXml(n.textContent);break;case"Font":this.font=e.System.Convert.toFont(n.textContent);break;case"CapBrush":this.capBrush=f.loadFromXml(n.textContent);break;case"CapBorderBrush":this.capBorderBrush=f.loadFromXml(n.textContent);break;case"CapBorderWidth":this.capBorderWidth=n.textContent.stimulsoft.toNumber();break;case"OffsetNeedle":this.offsetNeedle=n.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=n.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=n.textContent.stimulsoft.toNumber();break;case"AutoCalculateCenterPoint":this.autoCalculateCenterPoint=n.textContent.stimulsoft.toBoolean();break;case"Center":this.centerPoint=this.loadPointFromXml(n.textContent);break;case"RelativeHeight":this.relativeHeight=n.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=n.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=a.parse(e.Report.Gauge.StiNeedleSkin,n.textContent.toString());break}}},y.prototype.loadPointFromXml=function(e){var t=e.split(",");return new c(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber())},Object.defineProperty(y.prototype,"componentId",{get:function(){return t.StiComponentId.StiNeedle},enumerable:!1,configurable:!0}),y.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.needleBrush,this.borderBrush=e.core.needleBorderBrush,this.capBrush=e.core.needleCapBrush,this.capBorderBrush=e.core.needleCapBorderBrush,this.borderWidth=e.core.needleBorderWidth,this.capBorderWidth=e.core.needleCapBorderWidth,this.startWidth=e.core.needleStartWidth,this.endWidth=e.core.needleEndWidth,this.relativeHeight=e.core.needleRelativeHeight,this.relativeWidth=e.core.needleRelativeWith)},Object.defineProperty(y.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"capBrush",{get:function(){return this._capBrush},set:function(e){this._capBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"capBorderBrush",{get:function(){return this._capBorderBrush},set:function(e){this._capBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"capBorderWidth",{get:function(){return this._capBorderWidth},set:function(e){this._capBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"offsetNeedle",{get:function(){return this._offsetNeedle},set:function(e){this._offsetNeedle=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"autoCalculateCenterPoint",{get:function(){return this._autoCalculateCenterPoint},set:function(e){this._autoCalculateCenterPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"centerPoint",{get:function(){return this._centerPoint},set:function(e){this._centerPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"elementType",{get:function(){return u.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"localizeName",{get:function(){return"Needle"},enumerable:!1,configurable:!0}),y.prototype.createNew=function(){return new y},y.prototype.drawElement=function(t){var r=this.scale;if(null==r)return;var o=this.scale.barGeometry.center,a=new l(this.scale.barGeometry.diameter*this.relativeWidth,this.scale.barGeometry.diameter*this.relativeHeight),u=0,c=0;a.width>a.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;n<i.childNodes.length;n++){var s=i.childNodes[n];switch(s.nodeName){case"Offset":this.offset=s.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=s.textContent.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=s.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=o.parse(r,s.textContent.toString());break;case"Format":this.format=s.textContent.toString();break;case"ShowValue":this.showValue=s.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=a.loadFromXml(s.textContent);break;case"Font":this.font=e.System.Convert.toFont(s.textContent);break}}},h.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.textBrush=this.textBrush.clone(),e},Object.defineProperty(h.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),h.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:c.getMarkerSkin(this.skin)},h}(t.StiIndicatorBase);t.StiMarkerBase=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(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.length1=function(e,t){if(e<0&&t<0)return Math.abs(e-t);if(e>0&&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;t<arguments.length;t++)e[t]=arguments[t];var r=0;e.length>0&&(r=e[0]);var i=1;while(i<e.length)r<e[i]&&(r=e[i]),i++;return r},e}();e.StiMathHelper=t}(t=e.Helpers||(e.Helpers={}))}(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){var t=function(){function e(){}return e.centerX=function(e){return e.left+e.width/2},e.centerY=function(e){return e.top+e.height/2},e}();e.StiRectangleHelper=t}(t=e.Helpers||(e.Helpers={}))}(t=e.Gauge||(e.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.Base.Context.Animation.StiTranslationAnimation,n=e.System.Drawing.Orientation,o=e.Report.Gauge.Helpers.StiMathHelper,a=e.Report.Gauge.Helpers.StiRectangleHelper,s=e.Report.Gauge.StiPlacement,l=e.System.Drawing.Rectangle,u=e.System.Drawing.Point,c,h=function(r){function c(){return null!==r&&r.apply(this,arguments)||this}return __extends(c,r),c.prototype.saveToJsonObject=function(e){var t=r.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},c.prototype.loadFromJsonObject=function(e){r.prototype.loadFromJsonObject.call(this,e)},c.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e)},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearMarker},enumerable:!1,configurable:!0}),c.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(c.prototype,"localizeName",{get:function(){return"LinearMarker"},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},c.prototype.drawElement=function(t){var r=this.getRectangle(this.valueObj),n=this.getRectangle(0),o;this.animation=new i(new u(n.x,n.y),new u(r.x,r.y),e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,e.Report.Gauge.Helpers.StiGaugeHelper.globalBeginTimeElement),this.getActualSkin().draw(t,this,r)},c.prototype.getRectangle=function(e){var t=this.scale,r=t.barGeometry.size,i=t.barGeometry.rectGeometry,o=this.getBarPosition(t.orientation,e),u=r.width*this.relativeWidth,c=r.height*this.relativeHeight,h=c/2,p=0,d=0;if(t.orientation==n.Horizontal){if(this.placement!=s.Overlay){var m=this.scale.barGeometry.getRestToLenght(),f=this.scale.getPosition(e),g=this.scale.startWidth<this.scale.endWidth?(1-f)*m:m*f;d=this.placement==s.Outside?i.top-c+g:i.bottom-g}else d=a.centerY(this.scale.barGeometry.rectGeometry)-h+this.offset*r.height;this.scale.isReversed?(o+=h,p=i.right-o):(o-=h,p=i.left+o)}else{if(this.placement!=s.Overlay){var m=this.scale.barGeometry.getRestToLenght(),f=this.scale.getPosition(e),g=this.scale.startWidth<this.scale.endWidth?(1-f)*m:m*f;p=this.placement==s.Outside?i.left-u+g:i.right-g}else p=a.centerX(this.scale.barGeometry.rectGeometry)-u/2+this.offset*r.width;this.scale.isReversed?(o-=h,d=i.top+o):(o+=h,d=i.bottom-o)}return new l(p,d,u,c)},c.prototype.interactiveClick=function(e,t){},c.prototype.getBarPosition=function(e,t){var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum;isNaN(t)||t<r?t=r:t>i&&(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<e.length)t=this.colorMixer(t,e[i]);return t},e.colorMixer=function(e,t){var i=(e.r+t.r)/2,n=(e.g+t.g)/2,o=(e.b+t.b)/2;return r.fromArgb(i,n,o)},e}();t.StiMixedColorHelper=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(t){var r;!function(t){var r=e.Base.Drawing.StiEmptyBrush,i=e.Report.Gauge.Collections.StiBarRangeListCollection,n=e.Base.StiJsonReportObjectHelper,o=function(e){function t(){var t=e.call(this)||this;return t._emptyBrush=new r,t._emptyBorderBrush=new r,t._emptyBorderWidth=0,t._offset=0,t._startWidth=.05,t._endWidth=.05,t._useRangeColor=!1,t.rangeList=new i(t.barType),t}return __extends(t,e),t.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyStringNullOrEmpty("EmptyBrush",n.Serialize.jBrush(this.emptyBrush)),r.addPropertyStringNullOrEmpty("EmptyBorderBrush",n.Serialize.jBrush(this.emptyBorderBrush)),r.addPropertyNumber("EmptyBorderWidth",this.emptyBorderWidth,0),r.addPropertyNumber("Offset",this.offset,0),r.addPropertyNumber("StartWidth",this.startWidth,0),r.addPropertyNumber("EndWidth",this.endWidth,.05),r.addPropertyBool("UseRangeColor",this.useRangeColor,!1),r.addPropertyJObject("RangeList",this.rangeList.saveToJsonObject(t)),r},t.prototype.loadFromJsonObject=function(t){var r,i;e.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"EmptyBrush":this.emptyBrush=n.Deserialize.brush(s.value);break;case"EmptyBorderBrush":this.emptyBorderBrush=n.Deserialize.brush(s.value);break;case"EmptyBorderWidth":this.emptyBorderWidth=s.value.stimulsoft.toNumber();break;case"Offset":this.offset=s.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=s.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=s.value.stimulsoft.toNumber();break;case"UseRangeColor":this.useRangeColor=s.value.stimulsoft.toBoolean();break;case"RangeList":this.rangeList.loadFromJsonObject(s.value);break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},t.prototype.clone=function(){var t,r,n=e.prototype.clone.call(this);n.emptyBrush=this.emptyBrush.clone(),n.emptyBorderBrush=this.emptyBorderBrush.clone(),n.rangeList=new i(this.barType);try{for(var o=__values(this.rangeList.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.rangeList.add(s.clone())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},Object.defineProperty(t.prototype,"emptyBrush",{get:function(){return this._emptyBrush},set:function(e){this._emptyBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emptyBorderBrush",{get:function(){return this._emptyBorderBrush},set:function(e){this._emptyBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emptyBorderWidth",{get:function(){return this._emptyBorderWidth},set:function(e){this._emptyBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useRangeColor",{get:function(){return this._useRangeColor},set:function(e){this._useRangeColor=e,this.onRangeColorChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeList",{get:function(){return this._rangeList},set:function(e){this._rangeList=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"barType",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.onRangeColorChanged=function(){},t.prototype.checkActualBrushForTopGeometry=function(){},t.prototype.onValueChanged=function(){this.checkActualBrushForTopGeometry()},t}(t.StiIndicatorBase);t.StiBarBase=o}(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.Drawing.Orientation,n=e.Base.Context.Animation.StiScaleAnimation,o=e.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom,a=e.System.TimeSpan,s=e.Report.Engine.StiParser.StiParser,l=e.Base.Drawing.StiGradientBrush,u=e.Report.Gauge.Helpers.StiMathHelper,c=e.System.Drawing.Color,h=e.Report.Gauge.Helpers.StiMixedColorHelper,p=e.Base.Drawing.StiSolidBrush,d=e.System.Drawing.Rectangle,m=e.Report.Components.Gauge.Primitives.StiBarBase,f=e.System.Enum,g=e.Report.Gauge.StiPlacement,y=e.System.Drawing.Point,b=e.Report.Gauge.Helpers.StiRectangleHelper,v=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,S=function(){function e(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99}return e.prototype.reset=function(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99},e}(),w=function(){function e(){this.state=!1,this.offset=0}return e}(),k=function(r){function m(){var t=null!==r&&r.apply(this,arguments)||this;return t.colorModeHelper=new S,t._skin=e.Report.Gauge.StiLinearBarSkin.Default,t._rangeColorMode=e.Report.Gauge.StiLinearRangeColorMode.Default,t}return __extends(m,r),m.prototype.saveToJsonObject=function(t){var i=r.prototype.saveToJsonObject.call(this,t);return i.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),i.addPropertyEnum("Skin",e.Report.Gauge.StiLinearBarSkin,this.skin),i.addPropertyEnum("RangeColorMode",e.Report.Gauge.StiLinearRangeColorMode,this.rangeColorMode),i},m.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"Skin":this.skin=f.parse(e.Report.Gauge.StiLinearBarSkin,s.value.toString());break;case"RangeColorMode":this.rangeColorMode=f.parse(e.Report.Gauge.StiLinearRangeColorMode,s.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}}},m.prototype.loadFromXml=function(t){r.prototype.loadFromXml.call(this,t);for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"Skin":this.skin=f.parse(e.Report.Gauge.StiLinearBarSkin,n.textContent.toString());break;case"RangeColorMode":this.rangeColorMode=f.parse(e.Report.Gauge.StiLinearRangeColorMode,n.textContent.toString());break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearBar},enumerable:!1,configurable:!0}),m.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.linearBarBrush,this.borderBrush=e.core.linearBarBorderBrush,this.emptyBrush=e.core.linearBarEmptyBrush,this.emptyBorderBrush=e.core.linearBarEmptyBorderBrush,this.startWidth=e.core.linearBarStartWidth,this.endWidth=e.core.linearBarEndWidth)},Object.defineProperty(m.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"rangeColorMode",{get:function(){return this._rangeColorMode},set:function(e){this._rangeColorMode=e,this.onRangeColorChanged()},enumerable:!1,configurable:!0}),m.prototype.onRangeColorChanged=function(){this.colorModeHelper.reset()},Object.defineProperty(m.prototype,"barType",{get:function(){return e.Report.Gauge.StiBarRangeListType.LinearBar},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizeName",{get:function(){return"LinearBar"},enumerable:!1,configurable:!0}),m.prototype.checkActualBrushForTopGeometry=function(){this.useRangeColor?this.actualBackground=this.getRangeBrush():this.actualBackground=this.brush},m.prototype.getRangeBrush=function(){var t=this.getActualValue();if(null==t)return null;switch(this.rangeColorMode){case e.Report.Gauge.StiLinearRangeColorMode.Default:for(var r=this.rangeList.count-1;r>=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;t<e.childNodes.length;t++){var n=e.childNodes[t];switch(n.nodeName){case"GetSkipValuesEvent":break;case"GetSkipIndicesEvent":break;case"SkipValues":var o=new c;o.loadFromXml(n),this.skipValues=o.value;break;case"SkipIndices":var a=new c;a.loadFromXml(n),this.skipIndices=a.value;break;case"Placement":this.placement=u.parse(i,n.textContent.toString());break;case"Offset":this.offset=n.textContent.stimulsoft.toNumber();break;case"MinimumValue":this.minimumValue=n.textContent.stimulsoft.toNumber();break;case"MaximumValue":this.maximumValue=n.textContent.stimulsoft.toNumber();break}}},h.prototype.clone=function(){var e=r.prototype.clone.call(this);return null!=this.skipValues?e.skipValues=this.skipValues:e.skipValues=null,null!=this.skipIndices?e.skipIndices=this.skipIndices:e.skipIndices=null,e},h.prototype.onGetSkipValues=function(e){},h.prototype.invokeGetSkipValues=function(e,r){try{this.onGetSkipValues(r)}catch(e){var i=n.format("Expression in GetSkipValues property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),i),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(h.prototype,"getSkipValuesEvent",{get:function(){return this._getSkipValuesEvent},set:function(e){this._getSkipValuesEvent=e},enumerable:!1,configurable:!0}),h.prototype.onGetSkipIndices=function(e){},h.prototype.invokeGetSkipIndices=function(e,r){try{this.onGetSkipIndices(r)}catch(e){var i=n.format("Expression in GetSkipIndices property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),i),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(h.prototype,"getSkipIndicesEvent",{get:function(){return this._getSkipIndicesEvent},set:function(e){this._getSkipIndicesEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"skipValues",{get:function(){return this._skipValues},set:function(e){this._skipValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"skipIndices",{get:function(){return this._skipIndices},set:function(e){this._skipIndices=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"skipValuesObj",{get:function(){return this._skipValuesObj},set:function(e){this._skipValuesObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"skipIndicesObj",{get:function(){return this._skipIndicesObj},set:function(e){this._skipIndicesObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(e){this._minimumValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(e){this._maximumValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isSkipMajorValues",{get:function(){return!1},enumerable:!1,configurable:!0}),h.prototype.getPointCollection=function(){return null},h.prototype.getMinorCollections=function(){var e,t,r=new l,i=this.isSkipMajorValues?this.getMajorCollections():null,n=this.scale.minorInterval;0==n&&(n=1);var o=this.scale.scaleHelper.actualMinimum,a=this.scale.scaleHelper.actualMaximum,s=this.scale.scaleHelper.totalLength,u=o,c=n,h=0;r.add(u,0);var p=s/100;u+=n;while(u<=a)h+=c,r.add(u,h/p*.01),u+=n;if(null!=i)try{for(var d=__values(i.keys),m=d.next();!m.done;m=d.next()){var f=m.value;r.containsKey(f)&&r.remove(f)}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}return r},h.prototype.getMajorCollections=function(){var e=new l,t=this.scale.majorInterval;0==t&&(t=1);var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum,n=this.scale.scaleHelper.totalLength,o=t,a=r,s=0;e.add(a,0);var u=n/100;a+=t;while(a<=i)s+=o,e.add(a,s/u*.01),a+=t;return e},h.prototype.checkTickValue=function(e,t,r,i){if(null!=t){var n=0;while(n<t.length){if(t[n]==i)return!0;n++}}if(null!=e){var n=0;while(n<e.length){if(e[n]==r)return!0;n++}}return!1},h.prototype.prepareGaugeElement=function(){var t=new s;this.invokeGetSkipValues(this,t),this.skipValuesObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(t.value);var r=new s;this.invokeGetSkipIndices(this,r),this.skipIndicesObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(r.value)},h.prototype.getOffset=function(e){return null==e?this.offset:e},h.prototype.getPlacement=function(e){return null==e?this.placement:e},h}(r.StiGaugeElement);r.StiTickBase=h}(i=r.Primitives||(r.Primitives={}))}(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.StiString,i=e.Base.Drawing.StiBrush,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Color,a=e.System.Drawing.Font,s=e.Base.StiJsonReportObjectHelper,l=function(t){function l(){var e=null!==t&&t.apply(this,arguments)||this;return e._textFormat=null,e._formatService=null,e._textBrush=new n(o.black),e._font=new a("Arial",10),e}return __extends(l,t),l.prototype.saveToJsonObject=function(e){var r=t.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("TextFormat",this.textFormat),r.addPropertyStringNullOrEmpty("TextBrush",s.Serialize.jBrush(this.textBrush)),r.addPropertyStringNullOrEmpty("Font",s.Serialize.font(this.font,"Arial",10)),r},l.prototype.loadFromJsonObject=function(e){var r,i;t.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"TextFormat":this.textFormat=a.value.toString();break;case"TextBrush":this.textBrush=s.Deserialize.brush(a.value);break;case"Font":this.font=s.Deserialize.font(a.value.toString(),this.font);break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},l.prototype.loadFromXml=function(r){t.prototype.loadFromXml.call(this,r);for(var n=0;n<r.childNodes.length;n++){var o=r.childNodes[n];switch(o.nodeName){case"TextFormat":this.textFormat=o.textContent.toString();break;case"TextBrush":this.textBrush=i.loadFromXml(o.textContent);break;case"Font":this.font=e.System.Convert.toFont(o.textContent);break}}},l.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.textBrush=this.textBrush.clone(),e},Object.defineProperty(l.prototype,"textFormat",{get:function(){return this._textFormat},set:function(e){this._textFormat=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"formatService",{get:function(){return this._formatService},set:function(e){this._formatService=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),l.prototype.getTextForRender=function(e,t){return r.isNullOrEmpty(t)?e.toString():r.format(t,e)},l.prototype.getTextForRender2=function(e,t){return void 0===t&&(t=this.textFormat),r.isNullOrEmpty(t)?e:r.format(t,e)},l}(t.StiTickBase);t.StiTickLabelBase=l}(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(t){var r;!function(t){var r=e.System.Collections.List,i=e.System.Collections.Dictionary,n=e.Report.StiAbbreviationNumberFormatHelper,o=function(){function e(e,t,r){this.valueKey=e,this.valueStr=t,this.count=r}return e.prototype.toString=function(){return this.valueStr+" - "+this.count+'"'},e}();t.CacheInfo=o;var a=function(){function e(){}return e.getLabels=function(t){for(var n,a,s=new i,l=new r,u=function(e){var r=Math.round(t.keys[e]);if(0==r)return s.add(t.keys[e],"0"),"continue";var i=!1,n;r<0&&(i=!0,r=Math.abs(r)),n=r<1e3?r.toString():r<1e6?Math.round(r/1e3)+"K":r<1e9?Math.round(r/1e6)+"M":r<1e12?Math.round(r/1e9)+"B":r<1e15?Math.round(r/1e12)+"T":r.toString(),i&&(n="-"+n);var a=l.firstOrDefault((function(e){return e.valueStr==n}));null==a?l.add(new o(t.keys[e],n,1)):a.count++,s.add(t.keys[e],n)},c=0;c<t.count;c++)u(c);try{for(var h=__values(l),p=h.next();!p.done;p=h.next()){var d=p.value;if(d.count>1){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;i<e.childNodes.length;i++){var n=e.childNodes[i];switch(n.nodeName){case"OffsetAngle":this.offsetAngle=n.textContent.stimulsoft.toNumber();break;case"LabelRotationMode":this.labelRotationMode=s.parse(r,n.textContent.toString());break}}},Object.defineProperty(a.prototype,"labelRotationMode",{get:function(){return this._labelRotationMode},set:function(e){this._labelRotationMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"elementType",{get:function(){return l.RadialElement},enumerable:!1,configurable:!0}),a.prototype.drawElement=function(e){var t,r,n=this.scale;if(null==n)return;var a=this.scale.barGeometry.rectGeometry;if(a.width<=0||a.height<=0)return;var s=this.getPointCollection();if(0==s.count)return;var l=p.getLabels(s),d=this.textFormat,m=this.scale.scaleHelper.actualMinimum,f=this.scale.scaleHelper.actualMaximum,g=n.barGeometry.center,y=this.scale.barGeometry.radius,b=this.scale.barGeometry.diameter,v=n.getSweepAngle(),S=n.startAngle,w=this.scale.scaleHelper.maxWidth,k=this.scale.scaleHelper.minWidth,G=(w*=b)-(k*=b),B=this.placement==o.Outside?y*(1+this.offset):y*(1-this.offset),R=this.skipValuesObj,O=this.skipIndicesObj,x=-1;try{for(var C=__values(s.keys),P=C.next();!P.done;P=C.next()){var _=P.value;if(x++,_<m)continue;if(_>f)continue;if(this.checkTickValue(R,O,_,x))continue;if(null!=this.minimumValue&&_<this.minimumValue)continue;if(null!=this.maximumValue&&_>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(++A<N)e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{P&&!P.done&&(r=C.return)&&r.call(C)}finally{if(t)throw t.error}}},a.prototype.getMatrixRotation=function(t,r,i,o,a,s,l){var u=l.ref,c=0;if(o==e.Report.Gauge.StiLabelRotationMode.Automatic)switch(this.getRadialPosition(s)){case n.TopCenter:case n.TopRight:case n.TopLeft:c=90;break;case n.BottomRight:case n.LeftCenter:case n.BottonLeft:c=-90;break;case n.BottomCenter:c=-s;break;case n.RightCenter:c=-s-90;break}else if(o==e.Report.Gauge.StiLabelRotationMode.None)c=-s;else if(o==e.Report.Gauge.StiLabelRotationMode.SurroundIn)switch(this.getRadialPosition(s)){case n.TopCenter:c=-s-180;break;default:c=-90;break}else c=90;u=new h(r.x+a,r.y-i.height/2);var p=0;return 0!=s&&(t.addPushMatrixGaugeGeom(s,r),p++),0!=c&&(t.addPushMatrixGaugeGeom(c,new h(u.x+i.width/2,u.y+i.height/2)),p++),l.ref=u,p},a.prototype.getRadialPosition=function(e){e+=90;while(e>360)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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"SkipMajorValues":this.skipMajorValues=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickLabelMinor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMinorTextBrush,this.font=e.core.tickLabelMinorFont)},Object.defineProperty(r.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isSkipMajorValues",{get:function(){return this._skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"elementType",{get:function(){return i.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"RadialTickLabelMinor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMinorCollections()},r}(e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase);r.StiRadialTickLabelMinor=o}(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.StiGaugeElemenType,n,o=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickLabelMajor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMajorTextBrush,this.font=e.core.tickLabelMajorFont)},Object.defineProperty(r.prototype,"elementType",{get:function(){return i.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"RadialTickLabelMajor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMajorCollections()},r}(e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase);r.StiRadialTickLabelMajor=o}(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.EventHandler,i=e.System.EventArgs;t.StiGetTextEventHandler=new r("sender: any, e: StiGetTextEventArgs");var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),t}(i);t.StiGetTextEventArgs=n}(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.StiGetTextEvent=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=e.System.StiString,n=e.Report.Gauge.Events.StiGetTextEventArgs,o=e.Report.Gauge.Events.StiGetTextEvent,a=e.Report.Gauge.StiPlacement,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=e.Report.Painters.StiGaugeContextPainter,c=e.Report.Engine.StiParser.StiParser,h=e.Report.Events.StiGetValueEventArgs,p=e.Report.Gauge.StiGaugeElemenType,d=e.Report.Events.StiGetValueEvent,m=e.Report.Expressions.StiExpression,f=e.Report.Gauge.Collections.StiCustomValuesCollection,g,y=function(g){function y(){var e=null!==g&&g.apply(this,arguments)||this;return e._valueObj=0,e._textObj=null,e._values=new f,e._getValueEvent=new d,e._getTextEvent=new o,e._value="",e._text="",e}return __extends(y,g),y.prototype.saveToJsonObject=function(e){var t=g.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("GetTextEvent",this.getTextEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new m(this.value).saveToJsonObject(e)),t.addPropertyJObject("Text",new m(this.text).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},y.prototype.loadFromJsonObject=function(e){var t,r;g.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var a=n.value;switch(a.name){case"GetValueEvent":var s=new d;s.loadFromJsonObject(a.value),this.getValueEvent=s;break;case"GetTextEvent":var l=new o;l.loadFromJsonObject(a.value),this.getTextEvent=l;break;case"Value":var u=new m;u.loadFromJsonObject(a.value),this.value=u.value;break;case"Text":var c=new m;c.loadFromJsonObject(a.value),this.text=c.value;break;case"Values":this.values.loadFromJsonObject(a.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},y.prototype.loadFromXml=function(e){g.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetValueEvent":var i=new d;i.loadFromXml(r),this.getValueEvent=i;break;case"GetTextEvent":var n=new o;n.loadFromXml(r),this.getTextEvent=n;break;case"Value":var a=new m;a.loadFromXml(r),this.value=a.value;break;case"Text":var s=new m;s.loadFromXml(r),this.text=s.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(y.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickLabelCustom},enumerable:!1,configurable:!0}),y.prototype.clone=function(){var e,t,r=g.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,null!=this.text?r.text=this.text:r.text=null,r.values=new f;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},Object.defineProperty(y.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textObj",{get:function(){return this._textObj},set:function(e){this._textObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"elementType",{get:function(){return p.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"localizeName",{get:function(){return"RadialTickLabelCustom"},enumerable:!1,configurable:!0}),y.prototype.onGetValue=function(e){},y.prototype.invokeGetValue=function(e,r){try{if(this.onGetValue(r),e.scale.gauge.report.calculationMode==t.StiCalculationMode.Interpretation){var n=c.parseTextValue(this.value,e.scale.gauge);r.value=e.scale.gauge.report.toString2(n)}}catch(e){var o=i.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(y.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),y.prototype.onGetText=function(e){},y.prototype.invokeGetText=function(e,r){try{this.onGetText(r)}catch(e){var n=i.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),n),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(y.prototype,"getTextEvent",{get:function(){return this._getTextEvent},set:function(e){this._getTextEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),y.prototype.createNew=function(){return new y},y.prototype.prepareGaugeElement=function(){g.prototype.prepareGaugeElement.call(this);var t=new h;this.invokeGetValue(this,t),this.valueObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value,0);var r=new n;this.invokeGetText(this,r),this.textObj=r.value},y.prototype.drawElement=function(e){var t,n,o=this.scale;if(null==o)return;var c=this.scale.barGeometry.rectGeometry;if(c.width<=0||c.height<=0)return;var h=o.barGeometry.center,p=this.scale.barGeometry.radius,d=o.getSweepAngle(),m=o.startAngle,g=this.scale.scaleHelper.actualMinimum,y=this.scale.scaleHelper.actualMaximum,b=this.scale.scaleHelper.maxWidth,v=this.scale.scaleHelper.minWidth,S=(b*=2*p)-(v*=2*p),w=this.textFormat,k=b-v,G=this.skipValuesObj,B=this.skipIndicesObj,R=this.values;null!=R&&0!=R.count||(R=new f).add(new r.StiRadialTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.offsetAngle,this.labelRotationMode,this.placement));var O=u.changeFontSize(this.font,e.zoom),x=-1;try{for(var C=__values(R.toCast()),P=C.next();!P.done;P=C.next()){var _=P.value;if(x++,_.value<g)continue;if(_.value>y)continue;if(this.checkTickValue(G,B,_.value,x))continue;if(null!=this.minimumValue&&_.value<this.minimumValue)continue;if(null!=this.maximumValue&&_.value>this.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;L<E;L++)e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{P&&!P.done&&(n=C.return)&&n.call(C)}finally{if(t)throw t.error}}},y.prototype.getOffsetAngle=function(e){return null==e?this.offsetAngle:e},y.prototype.getLabelRotationMode=function(e){return null==e?this.labelRotationMode:e},y}(e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase);r.StiRadialTickLabelCustom=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.Report.Gauge.StiTickMarkSkin,i=e.Report.Gauge.Helpers.StiGaugeSkinHelper,n=e.System.Drawing.Color,o=e.Base.Drawing.StiSolidBrush,a=e.Base.Drawing.StiBrush,s=e.System.Enum,l=e.Report.Components.Gauge.Primitives.StiTickBase,u=e.Base.StiJsonReportObjectHelper,c=function(t){function l(){var r=null!==t&&t.apply(this,arguments)||this;return r._relativeHeight=.1,r._relativeWidth=.1,r._skin=e.Report.Gauge.StiTickMarkSkin.Rectangle,r._brush=new o(n.white),r._borderBrush=new o(n.fromArgb(89,87,87)),r._borderWidth=1,r}return __extends(l,t),l.prototype.saveToJsonObject=function(r){var i=t.prototype.saveToJsonObject.call(this,r);return i.addPropertyNumber("RelativeHeight",this.relativeHeight,.1),i.addPropertyNumber("RelativeWidth",this.relativeWidth,.1),i.addPropertyEnum("Skin",e.Report.Gauge.StiTickMarkSkin,this.skin),i.addPropertyStringNullOrEmpty("Brush",u.Serialize.jBrush(this.brush)),i.addPropertyStringNullOrEmpty("BorderBrush",u.Serialize.jBrush(this.borderBrush)),i.addPropertyNumber("BorderWidth",this.borderWidth,1),i},l.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"RelativeHeight":this.relativeHeight=l.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=l.value.stimulsoft.toNumber();break;case"Skin":this.skin=s.parse(e.Report.Gauge.StiTickMarkSkin,l.value.toString());break;case"Brush":this.brush=u.Deserialize.brush(l.value);break;case"BorderBrush":this.borderBrush=u.Deserialize.brush(l.value);break;case"BorderWidth":this.borderWidth=l.value.stimulsoft.toNumber();break}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},l.prototype.loadFromXml=function(e){t.prototype.loadFromXml.call(this,e);for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i];switch(n.nodeName){case"RelativeHeight":this.relativeHeight=n.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=n.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=s.parse(r,n.textContent.toString());break;case"Brush":this.brush=a.loadFromXml(n.textContent);break;case"BorderBrush":this.borderBrush=a.loadFromXml(n.textContent);break;case"BorderWidth":this.borderWidth=n.textContent.stimulsoft.toNumber();break}}},l.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),e},Object.defineProperty(l.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),l.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:i.getTickMarkSkin(this.skin)},l.prototype.getRelativeWidth=function(e){return null==e?this.relativeWidth:e},l.prototype.getRelativeHeight=function(e){return null==e?this.relativeHeight:e},l}(l);t.StiTickMarkBase=c}(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(t){var r;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.Report.Gauge.Helpers.StiRectangleHelper,n=e.Report.Gauge.StiPlacement,o=e.System.Drawing.Orientation,a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.drawElement=function(e){var t,a,s=this.scale;if(null==s)return;var l=s.barGeometry.size,u=s.barGeometry.rectGeometry,c=this.getPointCollection();if(0==c.count)return;var h=this.skipValuesObj,p=this.skipIndicesObj,d=this.getActualSkin(),m=this.scale.scaleHelper.actualMinimum,f=this.scale.scaleHelper.actualMaximum,g=s.startWidth<s.endWidth,y,b;s.orientation==o.Horizontal?(y=u.width,b=l.height):(y=u.height,b=l.width);var v=s.barGeometry.getRestToLenght();b*=this.offset;var S=l.width*this.relativeWidth,w=l.height*this.relativeHeight;w<1&&(w=1);var k=-1;try{for(var G=__values(c.keys),B=G.next();!B.done;B=G.next()){var R=B.value;if(k++,R<m)continue;if(R>f)continue;if(this.checkTickValue(h,p,R,k))continue;if(null!=this.minimumValue&&R<this.minimumValue)continue;if(null!=this.maximumValue&&R>this.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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"SkipMajorValues":this.skipMajorValues=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickMarkMinor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMinorBorder,this.brush=e.core.tickMarkMinorBrush,this.borderWidth=e.core.tickMarkMinorBorderWidth)},Object.defineProperty(r.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isSkipMajorValues",{get:function(){return this.skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"LinearTickMarkMinor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMinorCollections()},r}(e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase);r.StiLinearTickMarkMinor=n}(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,n=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickMarkMajor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMajorBorder,this.brush=e.core.tickMarkMajorBrush,this.borderWidth=e.core.tickMarkMajorBorderWidth)},Object.defineProperty(r.prototype,"localizeName",{get:function(){return"LinearTickMarkMajor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMajorCollections()},r}(e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase);r.StiLinearTickMarkMajor=n}(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.System.StiString,n=e.System.Drawing.Orientation,o=e.Report.Gauge.Helpers.StiRectangleHelper,a=e.Report.Gauge.StiPlacement,s=e.System.Drawing.Rectangle,l=e.Report.Engine.StiParser.StiParser,u=e.Report.Events.StiGetValueEventArgs,c=e.Report.Events.StiGetValueEvent,h=e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase,p=e.Report.Expressions.StiExpression,d=e.Report.Gauge.Collections.StiCustomValuesCollection,m=function(h){function m(){var e=null!==h&&h.apply(this,arguments)||this;return e._valueObj=0,e._values=new d,e._getValueEvent=new c,e._value="",e}return __extends(m,h),m.prototype.saveToJsonObject=function(e){var t=h.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 p(this.value).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},m.prototype.loadFromJsonObject=function(e){var t,r;h.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetSkipValuesEvent":var a=new c;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetSkipIndicesEvent":var s=new p;s.loadFromJsonObject(o.value),this.value=s.value;break;case"Values":this.values.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(e){h.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetSkipValuesEvent":var i=new c;i.loadFromXml(r),this.getValueEvent=i;break;case"GetSkipIndicesEvent":var n=new p;n.loadFromXml(r),this.value=n.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickMarkCustom},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var e,t,r=h.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,r.values=new d;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},Object.defineProperty(m.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizeName",{get:function(){return"LinearTickMarkCustom"},enumerable:!1,configurable:!0}),m.prototype.onGetValue=function(e){},m.prototype.invokeGetValue=function(e,r){try{if(this.onGetValue(r),e.scale.gauge.report.calculationMode==t.StiCalculationMode.Interpretation){var n=l.parseTextValue(this.value,e.scale.gauge);r.value=e.scale.gauge.report.toString2(n)}}catch(e){var o=i.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(m.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),m.prototype.createNew=function(){return new m},m.prototype.prepareGaugeElement=function(){h.prototype.prepareGaugeElement.call(this);var t=new u;this.invokeGetValue(this,t),this.valueObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value,0)},m.prototype.drawElement=function(e){var t,i,l=this.scale;if(null==l)return;var u=l.barGeometry.size,c=l.barGeometry.rectGeometry,h=this.scale.barGeometry.getRestToLenght(),p=l.orientation==n.Horizontal?u.height:u.width;p*=this.offset;var m=this.scale.scaleHelper.actualMinimum,f=this.scale.scaleHelper.actualMaximum,g=this.getActualSkin(),y=this.skipValuesObj,b=this.skipIndicesObj,v=this.values;null!=v&&0!=v.count||(v=new d).add(new r.StiLinearTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.placement,g));var S=-1;try{for(var w=__values(v.toCast()),k=w.next();!k.done;k=w.next()){var G=k.value;if(S++,G.value<m)continue;if(G.value>f)continue;if(this.checkTickValue(y,b,G.value,S))continue;if(null!=this.minimumValue&&G.value<this.minimumValue)continue;if(null!=this.maximumValue&&G.value>this.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.startWidth<l.endWidth?(1-x)*h:h*x;this.getPlacement(G.placement)==a.Outside?(R=c.left+B-C/2,O=c.top-P-p+j):(R=c.left+B-C/2,O=c.bottom+p-j)}else if(B=l.isReversed?c.height*x:c.height-c.height*x,this.getPlacement(G.placement)==a.Overlay)R=o.centerX(c)-C/2,O=c.top+B-P/2;else{var j=l.startWidth<l.endWidth?(1-x)*h:h*x;this.getPlacement(G.placement)==a.Outside?(R=c.left-C-1-p+j,O=c.top+B-P/2):(R=c.right+1+p-j,O=c.top+B-P/2)}(null==G.skin?g:G.skin).draw(e,this,new s(R,O,C,P))}}catch(e){t={error:e}}finally{try{k&&!k.done&&(i=w.return)&&i.call(w)}finally{if(t)throw t.error}}},m}(h);r.StiLinearTickMarkCustom=m}(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(r){var i=e.System.StiString,n=e.System.Drawing.Orientation,o=e.Report.Gauge.StiPlacement,a=e.Report.Gauge.Helpers.StiRectangleHelper,s=e.Report.Components.Gauge.Primitives.StiTickLabelBase,l=e.Report.Painters.StiGaugeContextPainter,u=e.System.Drawing.Rectangle,c=e.Report.Gauge.Helpers.StiTickLabelHelper,h=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return __extends(r,e),r.prototype.drawElement=function(e){var r,s,h=this.scale.stimulsoft.as(t.StiLinearScale);if(null==h)return;var p=h.barGeometry.size,d=h.barGeometry.rectGeometry;if(0==p.width||0==p.height)return;var m=this.getPointCollection();if(0==m.count)return;var f=c.getLabels(m),g=this.textFormat,y=this.skipValuesObj,b=this.skipIndicesObj,v=this.scale.scaleHelper.actualMinimum,S=this.scale.scaleHelper.actualMaximum,w=h.startWidth<h.endWidth,k,G;h.orientation==n.Horizontal?(k=d.width,G=p.height):(k=d.height,G=p.width);var B=h.barGeometry.getRestToLenght();G*=this.offset;var R=-1,O=null;try{for(var x=__values(m.keys),C=x.next();!C.done;C=x.next()){var P=C.value;if(R++,P<v)continue;if(P>S)continue;if(this.checkTickValue(y,b,P,R))continue;if(null!=this.minimumValue&&P<this.minimumValue)continue;if(null!=this.maximumValue&&P>this.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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"SkipMajorValues":this.skipMajorValues=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickLabelMinor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMinorTextBrush,this.font=e.core.tickLabelMinorFont)},Object.defineProperty(r.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isSkipMajorValues",{get:function(){return this.skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"LinearTickLabelMinor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMinorCollections()},r}(e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase);r.StiLinearTickLabelMinor=n}(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,n=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickLabelMajor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMajorTextBrush,this.font=e.core.tickLabelMajorFont)},Object.defineProperty(r.prototype,"localizeName",{get:function(){return"LinearTickLabelMajor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMajorCollections()},r}(e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase);r.StiLinearTickLabelMajor=n}(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.Report.Gauge.StiGaugeElemenType,n=e.System.Drawing.Rectangle,o,a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._offsetAngle=0,t}return __extends(t,e),t.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumber("OffsetAngle",this.offsetAngle,0),r},t.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"OffsetAngle":this.offsetAngle=a.value.stimulsoft.toNumber();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},t.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"OffsetAngle":this.offsetAngle=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(t.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementType",{get:function(){return i.RadialElement},enumerable:!1,configurable:!0}),t.prototype.drawElement=function(e){var t,i,o=this.scale;if(null==o)return;var a=this.scale.barGeometry.rectGeometry;if(a.width<=0||a.height<=0)return;var s=this.getPointCollection();if(0==s.count)return;var l=this.skipValuesObj,u=this.skipIndicesObj,c=this.getActualSkin(),h=o.barGeometry.center,p=o.getSweepAngle(),d=o.startAngle,m=this.scale.scaleHelper.actualMinimum,f=this.scale.scaleHelper.actualMaximum,g=this.scale.barGeometry.diameter,y=this.scale.barGeometry.radius,b=this.scale.scaleHelper.minWidth,v=this.scale.scaleHelper.maxWidth,S;S=(v*=this.scale.barGeometry.rectGeometry.width)-(b*=this.scale.barGeometry.rectGeometry.width),y=this.placement==r.Outside?y*(1+this.offset):y*(1-this.offset);var w=g*this.relativeWidth,k=g*this.relativeHeight,G=-1;try{for(var B=__values(s.keys),R=B.next();!R.done;R=B.next()){var O=R.value;if(G++,O<m)continue;if(O>f)continue;if(this.checkTickValue(l,u,O,G))continue;if(null!=this.minimumValue&&O<this.minimumValue)continue;if(null!=this.maximumValue&&O>this.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;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetSkipValuesEvent":var i=new a;i.loadFromXml(r),this.getValueEvent=i;break;case"GetSkipIndicesEvent":var n=new s;n.loadFromXml(r),this.value=n.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickMarkCustom},enumerable:!1,configurable:!0}),d.prototype.clone=function(){var e,t,r=o.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,r.values=new l;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var a=n.value;r.values.add(a.clone())}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},Object.defineProperty(d.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),d.prototype.onGetValue=function(e){},d.prototype.invokeGetValue=function(e,r){try{if(this.onGetValue(r),e.scale.gauge.report.calculationMode==t.StiCalculationMode.Interpretation){var o=n.parseTextValue(this.value,e.scale.gauge);r.value=e.scale.gauge.report.toString2(o)}}catch(e){var a=i.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),a),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(d.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"elementType",{get:function(){return c.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"localizeName",{get:function(){return"RadialTickMarkCustom"},enumerable:!1,configurable:!0}),d.prototype.createNew=function(){return new d},d.prototype.prepareGaugeElement=function(){o.prototype.prepareGaugeElement.call(this);var t=new u;this.invokeGetValue(this,t),this.valueObj=e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value,0)},d.prototype.drawElement=function(e){var t,i,n=this.scale;if(null==n)return;var o=this.scale.barGeometry.rectGeometry;if(o.width<=0||o.height<=0)return;var a=n.barGeometry.center,s=n.getSweepAngle(),u=n.startAngle,c=this.scale.barGeometry.diameter,d=this.scale.barGeometry.radius,m=this.scale.scaleHelper.actualMinimum,f=this.scale.scaleHelper.actualMaximum,g=this.scale.scaleHelper.minWidth,y=this.scale.scaleHelper.maxWidth,b;b=(y*=this.scale.barGeometry.rectGeometry.width)-(g*=this.scale.barGeometry.rectGeometry.width);var v=this.getActualSkin(),S=this.skipValuesObj,w=this.skipIndicesObj,k=this.values;null!=k&&0!=k.count||(k=new l).add(new r.StiRadialTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.offsetAngle,this.placement,null,null,null,v));var G=-1;try{for(var B=__values(k.toCast()),R=B.next();!R.done;R=B.next()){var O=R.value;if(G++,O.value<m)continue;if(O.value>f)continue;if(this.checkTickValue(S,w,O.value,G))continue;if(null!=this.minimumValue&&O.value<this.minimumValue)continue;if(null!=this.maximumValue&&O.value>this.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*=t<r?t:r,l=(this.rectGeometry.height-l)/2,t>r?(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*=t<r?t:r,u=(this.rectGeometry.width-u)/2,t>r?(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(f<g?(f<y&&(f=y),g>b&&(g=b),S=a.length1(y,f),w=a.length1(f,g)):(f<y&&(f=y),g>b&&(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.startWidth<this.scale.endWidth,y=l<=u;if(this.scale.isReversed&&(g=!g,y=!y),this.scale.orientation==n.Horizontal)if(g)if(y)switch(h){case s.Outside:f[0]=new c(0,t.height-i),f[1]=new c(t.width,t.height-p-a),f[2]=new c(t.width,t.height-p),f[3]=new c(0,t.height);break;case s.Overlay:f[0]=new c(0,o.centerY(t)-i/2),f[1]=new c(t.width,o.centerY(t)-a/2),f[2]=new c(t.width,o.centerY(t)+a/2),f[3]=new c(0,o.centerY(t)+i/2);break;default:f[0]=new c(0,0),f[1]=new c(t.width,p),f[2]=new c(t.width,p+a),f[3]=new c(0,i);break}else switch(h){case s.Outside:f[0]=new c(0,t.height-a),f[1]=new c(t.width,t.height-p-i),f[2]=new c(t.width,t.height-p),f[3]=new c(0,t.height);break;case s.Overlay:f[0]=new c(0,o.centerY(t)-a/2),f[1]=new c(t.width,o.centerY(t)-i/2),f[2]=new c(t.width,o.centerY(t)+i/2),f[3]=new c(0,o.centerY(t)+a/2);break;default:f[0]=new c(0,0),f[1]=new c(t.width,p),f[2]=new c(t.width,p+i),f[3]=new c(0,a);break}else if(y)switch(h){case s.Outside:f[0]=new c(0,t.height-p-i),f[1]=new c(t.width,t.height-a),f[2]=new c(t.width,t.height),f[3]=new c(0,t.height-p);break;case s.Overlay:f[0]=new c(0,o.centerY(t)-i/2),f[1]=new c(t.right,o.centerY(t)-a/2),f[2]=new c(t.right,o.centerY(t)+a/2),f[3]=new c(0,o.centerY(t)+i/2);break;default:f[0]=new c(0,p),f[1]=new c(t.right,0),f[2]=new c(t.right,a),f[3]=new c(0,p+i);break}else switch(h){case s.Outside:f[0]=new c(0,t.height-p-a),f[1]=new c(t.right,t.height-i),f[2]=new c(t.right,t.height),f[3]=new c(0,t.height-p);break;case s.Overlay:f[0]=new c(0,o.centerY(t)-a/2),f[1]=new c(t.right,o.centerY(t)-i/2),f[2]=new c(t.right,o.centerY(t)+i/2),f[3]=new c(0,o.centerY(t)+a/2);break;default:f[0]=new c(0,p),f[1]=new c(t.right,0),f[2]=new c(t.right,i),f[3]=new c(0,p+a);break}else if(g)if(y)switch(h){case s.Outside:f[0]=new c(t.width-p-a,0),f[1]=new c(t.width-p,0),f[2]=new c(t.width,t.height),f[3]=new c(t.width-i,t.height);break;case s.Overlay:f[0]=new c(o.centerX(t)-a/2,0),f[1]=new c(o.centerX(t)+a/2,0),f[2]=new c(o.centerX(t)+i/2,t.height),f[3]=new c(o.centerX(t)-i/2,t.height);break;default:f[0]=new c(p,0),f[1]=new c(p+a,0),f[2]=new c(i,t.height),f[3]=new c(0,t.height);break}else switch(h){case s.Outside:f[0]=new c(t.width-p-i,0),f[1]=new c(t.width-p,0),f[2]=new c(t.width,t.height),f[3]=new c(t.width-a,t.height);break;case s.Overlay:f[0]=new c(o.centerX(t)-i/2,0),f[1]=new c(o.centerX(t)+i/2,0),f[2]=new c(o.centerX(t)+a/2,t.height),f[3]=new c(o.centerX(t)-a/2,t.height);break;default:f[0]=new c(p,0),f[1]=new c(p+i,0),f[2]=new c(a,t.height),f[3]=new c(0,t.height);break}else if(y)switch(h){case s.Outside:f[0]=new c(t.width-a,0),f[1]=new c(t.width,0),f[2]=new c(t.width-p,t.height),f[3]=new c(t.width-p-i,t.height);break;case s.Overlay:f[0]=new c(o.centerX(t)-a/2,0),f[1]=new c(o.centerX(t)+a/2,0),f[2]=new c(o.centerX(t)+i/2,t.height),f[3]=new c(o.centerX(t)-i/2,t.height);break;default:f[0]=new c(t.left,0),f[1]=new c(a,0),f[2]=new c(p+i,t.height),f[3]=new c(p,t.height);break}else switch(h){case s.Outside:f[0]=new c(t.width-i,0),f[1]=new c(t.width,0),f[2]=new c(t.width-p,t.height),f[3]=new c(t.width-p-a,t.height);break;case s.Overlay:f[0]=new c(o.centerX(t)-i/2,0),f[1]=new c(o.centerX(t)+i/2,0),f[2]=new c(o.centerX(t)+a/2,t.height),f[3]=new c(o.centerX(t)-a/2,t.height);break;default:f[0]=new c(0,0),f[1]=new c(i,0),f[2]=new c(p+a,t.height),f[3]=new c(p,t.height);break}}return f[0].x+=m.left,f[0].y+=m.top,f[1].x+=m.left,f[1].y+=m.top,f[2].x+=m.left,f[2].y+=m.top,f[3].x+=m.left,f[3].y+=m.top,new r(f)},e}();t.StiLinearBarGeometry=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(t){var r;!function(t){var r;!function(r){var i=e.Report.Gauge.Helpers.StiMathHelper,n=e.Base.StiJson,o=e.Base.Drawing.StiBrush,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.Color,l=e.Base.StiJsonReportObjectHelper,u=e.Report.Components.Gauge.Primitives.StiElementBase,c=function(){function e(){this.actualMinimum=0,this.actualMaximum=100,this.minWidth=.1,this.maxWidth=.1,this._totalLength=100}return Object.defineProperty(e.prototype,"totalLength",{get:function(){return this._totalLength},set:function(e){this._totalLength=0==e?1:e},enumerable:!1,configurable:!0}),e}();r.StiScaleHelper=c;var h=function(u){function h(){var t=u.call(this)||this;return t.scaleHelper=new c,t._left=0,t._top=0,t._startWidth=.1,t._endWidth=.1,t._majorInterval=10,t._minorInterval=1,t._minimum=0,t._maximum=100,t._isReversed=!1,t._brush=new a(s.fromArgb(50,s.white)),t._borderBrush=new a(s.fromArgb(150,s.white)),t._items=new e.Report.Gauge.Collections.StiGaugeElementCollection(t),t}return __extends(h,u),h.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyNumber("Left",this.left,0),t.addPropertyNumber("Top",this.top,0),t.addPropertyNumber("StartWidth",this.startWidth,.1),t.addPropertyNumber("EndWidth",this.endWidth,.1),t.addPropertyNumber("MajorInterval",this.majorInterval,10),t.addPropertyNumber("MinorInterval",this.minorInterval,1),t.addPropertyBool("IsReversed",this.isReversed,!1),t.addPropertyNumber("Minimum",this.minimum,0),t.addPropertyNumber("Maximum",this.maximum,10),t.addPropertyStringNullOrEmpty("Brush",l.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",l.Serialize.jBrush(this.borderBrush)),t.addPropertyJObject("Items",this.items.saveToJsonObject(e)),t},h.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=o.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=o.value.stimulsoft.toNumber();break;case"MajorInterval":this.majorInterval=o.value.stimulsoft.toNumber();break;case"MinorInterval":this.minorInterval=o.value.stimulsoft.toNumber();break;case"IsReversed":this.isReversed=o.value.stimulsoft.toBoolean();break;case"Minimum":this.minimum=o.value.stimulsoft.toNumber();break;case"Maximum":this.maximum=o.value.stimulsoft.toNumber();break;case"Brush":this.brush=l.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=l.Deserialize.brush(o.value);break;case"Items":this.items.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(e,t){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Left":this.left=i.textContent.stimulsoft.toNumber();break;case"Top":this.top=i.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=i.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=i.textContent.stimulsoft.toNumber();break;case"MajorInterval":this.majorInterval=i.textContent.stimulsoft.toNumber();break;case"MinorInterval":this.minorInterval=i.textContent.stimulsoft.toNumber();break;case"IsReversed":this.isReversed=i.textContent.stimulsoft.toBoolean();break;case"Minimum":this.minimum=i.textContent.stimulsoft.toNumber();break;case"Maximum":this.maximum=i.textContent.stimulsoft.toNumber();break;case"Brush":this.brush=o.loadFromXml(i.textContent);break;case"BorderBrush":this.borderBrush=o.loadFromXml(i.textContent);break;case"Items":this.items.loadFromXml(i,t);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var i,n,o=u.prototype.clone.call(this);o.brush=this.brush.clone(),o.borderBrush=this.borderBrush.clone(),o._items=new e.Report.Gauge.Collections.StiGaugeElementCollection(o);try{for(var a=__values(this.items.list),s=a.next();!s.done;s=a.next()){var l=s.value;o.items.add(l.clone())}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return this.stimulsoft.is(t.StiLinearScale)?o.barGeometry=new r.StiLinearBarGeometry(o):this.stimulsoft.is(t.StiRadialScale)&&(o.barGeometry=new r.StiRadialBarGeometry(o)),o},Object.defineProperty(h.prototype,"isUp",{get:function(){var e=this.startWidth<this.endWidth;return this.isReversed&&(e=!e),e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gauge",{get:function(){return this._gauge},set:function(e){this._gauge=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"left",{get:function(){return this._left},set:function(e){this._left=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"top",{get:function(){return this._top},set:function(e){this._top=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e,this.calculateWidthScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e,this.calculateWidthScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"majorInterval",{get:function(){return this._majorInterval},set:function(e){this._majorInterval=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"minorInterval",{get:function(){return this._minorInterval},set:function(e){this._minorInterval=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"minimum",{get:function(){return this._minimum},set:function(e){this._minimum=e,this.calculateMinMaxScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maximum",{get:function(){return this._maximum},set:function(e){this._maximum=e,this.calculateMinMaxScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isReversed",{get:function(){return this._isReversed},set:function(e){this._isReversed=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),h.prototype.set=function(e){this._items=e},Object.defineProperty(h.prototype,"scaleType",{get:function(){return null},enumerable:!1,configurable:!0}),h.prototype.prepare=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next();!n.done;n=i.next()){var o;n.value.prepareGaugeElement()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},h.prototype.calculateMinMaxScaleHelper=function(){this.scaleHelper.actualMaximum=Math.max(this.maximum,this.minimum),this.scaleHelper.actualMinimum=Math.min(this.maximum,this.minimum),this.scaleHelper.totalLength=this.scaleHelper.actualMaximum-this.scaleHelper.actualMinimum},h.prototype.calculateWidthScaleHelper=function(){this.startWidth>this.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 t<this.scaleHelper.actualMinimum?t=this.scaleHelper.actualMinimum:t>this.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<this.items.count)this.items.getByIndex(t).drawElement(e),t++}},h}(u);r.StiScaleBase=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=e.System.Drawing.Orientation,n=e.System.Enum,o=e.Report.Components.Gauge.Primitives.StiScaleBase,a=e.Report.Components.Gauge.Primitives.StiLinearBarGeometry,s=function(r){function o(){var e=r.call(this)||this;return e._orientation=i.Vertical,e._relativeHeight=.9,e.barGeometry=new a(e),e}return __extends(o,r),o.prototype.saveToJsonObject=function(e){var t=r.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyEnum("Orientation",i,this.orientation),t.addPropertyNumber("RelativeHeight",this.relativeHeight,.9),t},o.prototype.loadFromJsonObject=function(e){var t,o;r.prototype.loadFromJsonObject.call(this,e);try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Orientation":this.orientation=n.parse(i,l.value.toString());break;case"RelativeHeight":this.relativeHeight=l.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}},o.prototype.loadFromXml=function(e,t){r.prototype.loadFromXml.call(this,e,t);for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes[o];switch(a.nodeName){case"Orientation":this.orientation=n.parse(i,a.textContent.toString());break;case"RelativeHeight":this.relativeHeight=a.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearScale},enumerable:!1,configurable:!0}),o.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next();!n.done;n=i.next()){var o;n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(o.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleType",{get:function(){return e.Report.Gauge.StiGaugeElemenType.LinearElement},enumerable:!1,configurable:!0}),o.prototype.interactiveClick=function(e){},o.prototype.createNew=function(){return new o},o}(o);r.StiLinearScale=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(r){var i;!function(r){var i=e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase,n=e.Report.Gauge.StiGaugeElemenType,o=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickMarkMajor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMajorBorder,this.brush=e.core.tickMarkMajorBrush,this.borderWidth=e.core.tickMarkMajorBorderWidth)},Object.defineProperty(r.prototype,"elementType",{get:function(){return n.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"RadialTickMarkMajor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMajorCollections()},r}(i);r.StiRadialTickMarkMajor=o}(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.Components.Gauge.Primitives.StiRadialTickMarkBase,n=e.Report.Gauge.StiGaugeElemenType,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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"SkipMajorValues":this.skipMajorValues=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialTickMarkMinor},enumerable:!1,configurable:!0}),r.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMinorBorder,this.brush=e.core.tickMarkMinorBrush,this.borderWidth=e.core.tickMarkMinorBorderWidth)},Object.defineProperty(r.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isSkipMajorValues",{get:function(){return this._skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"elementType",{get:function(){return n.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"RadialTickMarkMinor"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.getPointCollection=function(){return this.getMinorCollections()},r}(i);r.StiRadialTickMarkMinor=o}(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.StiString,i=e.Base.StiJson,n=function(){function e(){this._value=0}return e.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyNumber("Value",this.value,0),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Value":this.value=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e,t){var i=e.getAttribute("Ref");r.isNullOrEmpty(i)||(t.jsonLoaderHelper.refNames[i.stimulsoft.toNumber()]=e.nodeName);for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Value":this.value=o.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rangeListType",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.createNew=function(){return null},e}();t.StiIndicatorRangeInfo=n}(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.Gauge.StiBarRangeListType,o=e.Base.Drawing.StiEmptyBrush,a=e.System.Drawing.Color,s=e.Base.Drawing.StiBrush,l=e.Base.StiJsonReportObjectHelper,u=e.System.Text.StiReportObjectStringConverter,c=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._color=a.white,t._brush=new o,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("Color",l.Serialize.jColor(this.color)),r.addPropertyStringNullOrEmpty("Brush",l.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()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Color":this.color=l.Deserialize.color(a.value);break;case"Brush":this.brush=l.Deserialize.brush(a.value);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(e,t){var r=e.getAttribute("Ref");i.isNullOrEmpty(r)||(t.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];switch(o.nodeName){case"Color":this.color=u.convertStringToColor(o.textContent);break;case"Brush":this.brush=s.loadFromXml(o.textContent);break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearIndicatorRangeInfo},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},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 n.LinearBar},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(r.StiIndicatorRangeInfo);r.StiLinearIndicatorRangeInfo=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.StiPlacement,n=e.Report.Gauge.Helpers.StiMathHelper,o=e.System.Drawing.Rectangle,a=e.Report.Components.Gauge.Primitives.StiBarBase,s=e.Base.Drawing.StiEmptyBrush,l=e.Report.Gauge.StiGaugeElemenType,u=function(){function e(){this.standardBackground=!1,this.defaultIndex=-99}return e.prototype.reset=function(){this.standardBackground=!1,this.defaultIndex=-99},e}(),c=function(r){function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.actualBush=new s,e.colorModeHelper=new u,e}return __extends(a,r),a.prototype.saveToJsonObject=function(e){var t=r.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},a.prototype.loadFromJsonObject=function(e){r.prototype.loadFromJsonObject.call(this,e)},a.prototype.loadFromXml=function(e){r.prototype.loadFromXml.call(this,e)},Object.defineProperty(a.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialBar},enumerable:!1,configurable:!0}),a.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.radialBarBrush,this.borderBrush=e.core.radialBarBorderBrush,this.borderWidth=e.core.borderWidth,this.emptyBrush=e.core.radialBarEmptyBrush,this.emptyBorderBrush=e.core.radialBarEmptyBorderBrush,this.emptyBorderWidth=e.core.borderWidth,this.startWidth=e.core.radialBarStartWidth,this.endWidth=e.core.radialBarEndWidth,this.checkActualBrushForTopGeometry())},Object.defineProperty(a.prototype,"elementType",{get:function(){return l.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"barType",{get:function(){return e.Report.Gauge.StiBarRangeListType.RadialBar},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizeName",{get:function(){return"RadialBar"},enumerable:!1,configurable:!0}),a.prototype.checkActualBrushForTopGeometry=function(){if(this.useRangeColor)for(var e=this.rangeList.count-1;e>=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<t.childNodes.length;n++){var o=t.childNodes[n];switch(o.nodeName){case"Format":this.format=o.textContent.toString();break;case"ShowValue":this.showValue=o.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=c.loadFromXml(o.textContent);break;case"Font":this.font=e.System.Convert.toFont(o.textContent);break;case"Left":this.left=o.textContent.stimulsoft.toNumber();break;case"Top":this.top=o.textContent.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=o.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=h.parse(i,o.textContent.toString());break;case"Filters":break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return t.StiComponentId.StiStateIndicator},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"elementType",{get:function(){return e.Report.Gauge.StiGaugeElemenType.All},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"localizeName",{get:function(){return"StateIndicator"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"filters",{get:function(){return this._filters},set:function(e){this._filters=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"left",{get:function(){return this._left},set:function(e){this._left=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"top",{get:function(){return this._top},set:function(e){this._top=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),d.prototype.createNew=function(){return new d},d.prototype.onValueChanged=function(){if(null!=this.filters){for(var e=null,t=this.getActualValue(),r=0;r<this.filters.count;r++)if(t>=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;n<t.childNodes.length;n++){var a=t.childNodes[n];switch(a.nodeName){case"Radius":this.radius=a.textContent.stimulsoft.toNumber();break;case"RadiusMode":this.radiusMode=o.parse(e.Report.Gauge.StiRadiusMode,a.textContent.toString());break;case"Center":this.center=this.loadPointFromXml(a.textContent);break;case"StartAngle":this.startAngle=a.textContent.stimulsoft.toNumber();break;case"SweepAngle":this.sweepAngle=a.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=o.parse(e.Report.Gauge.StiRadialScaleSkin,a.textContent.toString());break}}},a.prototype.loadPointFromXml=function(e){var t=e.split(",");return new n(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber())},Object.defineProperty(a.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialScale},enumerable:!1,configurable:!0}),a.prototype.clone=function(){var e;return r.prototype.clone.call(this)},a.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next();!n.done;n=i.next()){var o;n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(a.prototype,"radius",{get:function(){return this._radius},set:function(e){this._radius=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"radiusMode",{get:function(){return this._radiusMode},set:function(e){this._radiusMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"center",{get:function(){return this._center},set:function(e){this._center=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"startAngle",{get:function(){return this._startAngle},set:function(e){this._startAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sweepAngle",{get:function(){return this._sweepAngle},set:function(e){this._sweepAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"scaleType",{get:function(){return e.Report.Gauge.StiGaugeElemenType.RadialElement},enumerable:!1,configurable:!0}),a.prototype.getRadius=function(){return this.radius<0?0:this.radius},a.prototype.getStartWidth=function(){var e=this.startWidth;return e<0?e=0:e>1&&(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;t<e.childNodes.length;t++){var i=e.childNodes[t];switch(i.nodeName){case"Brush":this.brush=a.loadFromXml(i.textContent);break;case"BorderBrush":this.borderBrush=a.loadFromXml(i.textContent);break;case"BorderWidth":this.borderWidth=i.textContent.stimulsoft.toNumber();break;case"StartValue":this.startValue=i.textContent.stimulsoft.toNumber();break;case"EndValue":this.endValue=i.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=i.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=i.textContent.stimulsoft.toNumber();break;case"Placement":this.placement=o.parse(r,i.textContent.toString());break;case"Offset":this.offset=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),e},Object.defineProperty(e.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startValue",{get:function(){return this._startValue},set:function(e){this._startValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this._endValue},set:function(e){this._endValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rangeList",{get:function(){return this._rangeList},set:function(e){this._rangeList=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localizeName",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.drawRange=function(e,t){},e.prototype.createNew=function(){return null},e}();t.StiRangeBase=c}(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.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.Report.Components.Gauge.Primitives.StiRangeBase,o=e.System.Drawing.Rectangle,a=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},r.prototype.loadFromJsonObject=function(t){e.prototype.loadFromJsonObject.call(this,t)},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t)},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearRange},enumerable:!1,configurable:!0}),r.prototype.drawRange=function(e,t){if(null==t)return;var r=this.startWidth,n=this.endWidth;if(0==r||0==n)return;var a=new o(0,0,0,0),s={ref:a},l=t.barGeometry.drawGeometry(e,this.startValue,this.endValue,r,n,this.offset,this.placement,s,!1);if(a=s.ref,null!=l){var u=new i(a,l.points[0],this.brush,this.borderBrush,this.borderWidth);u.geoms.push(l),u.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(u)}},Object.defineProperty(r.prototype,"localizeName",{get:function(){return"LinearRange"},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r}(n);r.StiLinearRange=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.Report.Gauge.Helpers.StiMathHelper,n=e.Report.Gauge.StiPlacement,o,a=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t._useValuesFromTheSpecifiedRange=!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("UseValuesFromTheSpecifiedRange",this.useValuesFromTheSpecifiedRange,!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"UseValuesFromTheSpecifiedRange":this.useValuesFromTheSpecifiedRange=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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"UseValuesFromTheSpecifiedRange":this.useValuesFromTheSpecifiedRange=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialRange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useValuesFromTheSpecifiedRange",{get:function(){return this._useValuesFromTheSpecifiedRange},set:function(e){this._useValuesFromTheSpecifiedRange=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeName",{get:function(){return"RadialRange"},enumerable:!1,configurable:!0}),r.prototype.drawRange=function(e,t){var r=t;if(null==r||0==this.startWidth||0==this.endWidth)return;var o=this.startValue;if(this.useValuesFromTheSpecifiedRange&&o<t.minimum)o=t.minimum;else if(o>t.maximum)return;var a=this.endValue;if(this.useValuesFromTheSpecifiedRange&&a>t.maximum)a=t.maximum;else if(a<t.minimum)return;var s=t.barGeometry.diameter,l,u;t.isReversed?(o=t.maximum-o,a=t.maximum-a,l=t.endWidth*s,u=t.startWidth*s):(l=t.startWidth*s,u=t.endWidth*s);var c=t.barGeometry.rectGeometry,h=t.barGeometry.center,p=t.barGeometry.radius,d=this.startWidth>=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;t<e.childNodes.length;t++){var n=e.childNodes[t];if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type"))switch(n.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearRange":var o=new i;this.add(o),o.loadFromXml(n);break;case"Stimulsoft.Report.Components.Gauge.StiRadialRange":var a=new r;this.add(a),a.loadFromXml(n);break}}return null},t.prototype.clone=function(){var e,r,i=new t(this.parent);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.setByIndex=function(t,r){this.setParent(r),e.prototype.setByIndex.call(this,t,r)},t.prototype.setParent=function(e){e.rangeList=this.parent},t.prototype.clearParent=function(e){e.rangeList=null},t.prototype.add=function(t){this.setParent(t),e.prototype.add.call(this,t)},t.prototype.insert=function(t,r){this.setParent(r),e.prototype.insert.call(this,t,r)},t.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return this.clearParent(e),this.removeAt(t),!0;return!1},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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},t}(o);t.StiRangeCollection=s}(r=t.Collections||(t.Collections={}))}(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.Base.StiJson,n=e.Report.Gauge.Collections.StiRangeCollection,o=function(e){function r(){var t=e.call(this)||this;return t.ranges=new n(t),t}return __extends(r,e),r.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyJObject("Ranges",this.ranges.saveToJsonObject(e)),t},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"Ranges":this.ranges.loadFromJsonObject(a.value);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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Ranges":this.ranges.loadFromXml(i);break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiScaleRangeList},enumerable:!1,configurable:!0}),r.prototype.clone=function(){var t,r,i=e.prototype.clone.call(this);i.ranges=new n(i);try{for(var o=__values(this.ranges.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.ranges.add(s.clone())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},Object.defineProperty(r.prototype,"ranges",{get:function(){return this._ranges},set:function(e){this._ranges=e},enumerable:!1,configurable:!0}),r}(r.StiGaugeElement);r.StiScaleRangeList=o}(i=r.Primitives||(r.Primitives={}))}(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,n=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},r.prototype.loadFromJsonObject=function(t){e.prototype.loadFromJsonObject.call(this,t)},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t)},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearRangeList},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.drawElement=function(e){var t=0;while(t<this.ranges.count){var r=this.ranges.getByIndex(t);null!=r&&r.drawRange(e,this.scale),t++}},r}(e.Report.Components.Gauge.Primitives.StiScaleRangeList);r.StiLinearRangeList=n}(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.StiGaugeElemenType,n,o=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}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},r.prototype.loadFromJsonObject=function(t){e.prototype.loadFromJsonObject.call(this,t)},r.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t)},Object.defineProperty(r.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialRangeList},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"elementType",{get:function(){return i.RadialElement},enumerable:!1,configurable:!0}),r.prototype.createNew=function(){return new r},r.prototype.drawElement=function(e){var t=0;while(t<this.ranges.count){var r=this.ranges.getByIndex(t);null!=r&&r.drawRange(e,this.scale),t++}},r}(e.Report.Components.Gauge.Primitives.StiScaleRangeList);r.StiRadialRangeList=o}(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(i){var n=e.System.StiString,o=e.System.Drawing.Orientation,a=e.System.Drawing.FontStyle,s=e.Report.Components.Gauge.StiLinearMarker,l=e.Report.Components.Gauge.StiLinearRangeList,u=e.Report.Components.Gauge.StiLinearRange,c=e.Report.Components.Gauge.StiLinearTickMarkCustom,h=e.Report.Components.Gauge.StiRadialIndicatorRangeInfo,p=e.Report.Components.Gauge.StiLinearIndicatorRangeInfo,d=e.Report.Components.Gauge.StiLinearTickMarkMinor,m=e.Report.Components.Gauge.StiStateIndicator,f=e.Report.Components.Gauge.StiStateIndicatorFilter,g=e.Report.Components.Gauge.StiRadialRangeList,y=e.Report.Components.Gauge.StiRadialRange,b=e.Report.Components.Gauge.StiRadialTickMarkCustom,v=e.Report.Components.Gauge.StiRadialTickLabelCustom,S=e.Report.Components.Gauge.StiRadialTickMarkCustomValue,w=e.Report.Components.Gauge.StiRadialTickLabelCustomValue,k=e.System.Drawing.Rectangle,G=e.System.Globalization.CultureInfo,B=e.Base.Drawing.StiGradientBrush,R=e.System.Drawing.Point,O=e.Report.Components.Gauge.StiLinearBar,x=e.Report.Components.Gauge.StiLinearTickLabelMajor,C=e.Report.Components.Gauge.StiLinearTickMarkMajor,P=e.Report.Components.Gauge.StiLinearScale,_=e.Report.Components.Gauge.StiRadialMarker,j=e.System.Drawing.Font,W=e.Base.Drawing.StiEmptyBrush,M=e.Report.Components.Gauge.StiRadialBar,T=e.Report.Components.Gauge.StiNeedle,F=e.Report.Components.Gauge.StiRadialTickLabelMajor,N=e.Report.Components.Gauge.StiRadialTickMarkMinor,E=e.Report.Components.Gauge.StiRadialTickMarkMajor,H=e.System.Drawing.Color,A=e.Base.Drawing.StiSolidBrush,V=e.Report.Components.Gauge.StiRadialScale,L=e.System.TimeSpan,I=e.System.Collections.Hashtable,D=function(){function e(){}return e.getFloatValueFromObject=function(e,t){var r=t.minimum;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.minimum?r=t.minimum:r>t.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<r.length){var s=r[a].stimulsoft.toNumber();if(isNaN(s)){i=null;break}i[a]=s}return G.currentCulture=o,i},e.initializeGauge=function(e,t,r){if(e.scales.clear(),null!=e.page){var i=e.page.unit;e.clientRectangle=new k(e.left,e.top,i.convertFromHInches(t),i.convertFromHInches(r))}},e.initializeName=function(e,r){if(n.isNullOrEmpty(e.name)){var i=t.StiNameCreation.createSimpleName(r,t.StiNameCreation.generateName(e));e.name=i;var o=-1;while(++o<e.scales.count){var a=new I,s=e.scales.getByIndex(o),l=-1;while(++l<s.items.count){var u,c=s.items.getByIndex(l).stimulsoft.getType(),h=0;a.containsKey(c)&&(h=Math.trunc(a.get(c))),h++,a.set(c,h)}}}},e.checkGaugeName=function(e){var t=e.name,r=-1;while(++r<e.scales.count){var i=new I,n=e.scales.getByIndex(r),o=-1;while(++o<n.items.count){var a,s=n.items.getByIndex(o).stimulsoft.getType(),l=0;i.containsKey(s)&&(l=Math.trunc(i.get(s))),l++,i.set(s,l)}}},e.simpleRadialGauge=function(e,t){this.initializeGauge(e,250,250);var i=new V;i.startAngle=0,i.sweepAngle=340,i.startWidth=.05,i.endWidth=.05,i.minimum=0,i.maximum=100,i.majorInterval=10,i.minorInterval=5,i.brush=new A(H.fromArgb(238,238,238));var n=new E;n.placement=r.StiPlacement.Overlay,n.offsetAngle=-2,n.relativeWidth=.05,n.relativeHeight=.02,n.skin=r.StiTickMarkSkin.Rectangle,n.brush=new A(H.black);var o=new N;o.placement=r.StiPlacement.Overlay,o.relativeWidth=.01,o.relativeHeight=.01,o.skin=r.StiTickMarkSkin.Rectangle;var a=new F,s=new T;s.relativeHeight=.06,s.relativeWidth=.45,s.startWidth=.1,s.endWidth=1,s.capBrush=new A(H.white),s.capBorderBrush=new A(H.fromArgb(244,67,54)),s.capBorderWidth=2,s.brush=new A(H.fromArgb(244,67,54)),s.value="60",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.radialTwoScalesGauge=function(e,t){this.initializeGauge(e,250,250);var i=new V;i.startAngle=270,i.sweepAngle=360,i.startWidth=.05,i.endWidth=.05,i.minimum=0,i.maximum=60,i.radius=.5,i.majorInterval=10,i.minorInterval=1,i.brush=new A(H.fromArgb(238,238,238));var n=new E;n.placement=r.StiPlacement.Overlay,n.relativeWidth=.05,n.offsetAngle=-2,n.relativeHeight=.03,n.skin=r.StiTickMarkSkin.Rectangle,n.brush=new A(H.black);var o=new F;o.minimumValue=1,o.font=new j("Arial",7),i.items.add(n),i.items.add(o),e.scales.add(i);var a=new V;a.startAngle=270,a.sweepAngle=360,a.startWidth=.05,a.endWidth=.05,a.minimum=0,a.maximum=12,a.radius=.75,a.majorInterval=1,a.minorInterval=0,a.brush=new A(H.fromArgb(238,238,238));var s=new E;s.minimumValue=1,s.placement=r.StiPlacement.Overlay,s.offsetAngle=-2,s.relativeHeight=.03,s.relativeWidth=.05,s.skin=r.StiTickMarkSkin.Rectangle,s.brush=new A(H.black),s.borderBrush=new A(H.white),s.borderWidth=3;var l=new F;l.minimumValue=1;var u=new T;u.value="2",u.offsetNeedle=.15,u.startWidth=.05,u.endWidth=.5,u.relativeHeight=.12,u.relativeWidth=.6,u.capBrush=new A(H.fromArgb(244,67,54)),u.brush=new A(H.fromArgb(244,67,54));var c=new T;c.value="10",c.offsetNeedle=.15,c.startWidth=.05,c.endWidth=.5,c.relativeHeight=.08,c.relativeWidth=.4,c.capBrush=new A(H.fromArgb(3,169,244)),c.brush=new A(H.fromArgb(3,169,244)),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.radialBarGauge=function(e,t){this.initializeGauge(e,250,250);var i=new V;i.startAngle=120,i.sweepAngle=300,i.startWidth=.05,i.endWidth=.05,i.minimum=0,i.maximum=180,i.majorInterval=90,i.minorInterval=10,i.brush=new A(H.fromArgb(238,238,238));var n=new E;n.placement=r.StiPlacement.Inside,n.offsetAngle=-1,n.relativeWidth=.05,n.relativeHeight=.015,n.skin=r.StiTickMarkSkin.Rectangle,n.brush=new A(H.black);var o=new N;o.placement=r.StiPlacement.Inside,o.relativeWidth=.03,o.relativeHeight=.005,o.skin=r.StiTickMarkSkin.Rectangle,o.brush=new A(H.black);var a=new F;a.placement=r.StiPlacement.Inside,a.minimumValue=1,a.offset=.15;var s=new M;s.startWidth=.1,s.endWidth=.1,s.offset=.1,s.placement=r.StiPlacement.Outside,s.brush=new A(H.fromArgb(0,150,136)),s.value="90";var l=new T;l.relativeHeight=.3,l.relativeWidth=.4,l.startWidth=.1,l.endWidth=1,l.capBrush=new W,l.brush=new W,l.textBrush=new A(H.fromArgb(0,150,136)),l.font=new j("Arial",36),l.value="90",i.items.add(n),i.items.add(o),i.items.add(a),i.items.add(s),i.items.add(l),e.scales.add(i),this.initializeName(e,t)},e.simpleTwoBarGauge=function(e,t){this.initializeGauge(e,250,250);var i=new V;i.minimum=0,i.maximum=180,i.majorInterval=20,i.minorInterval=10,i.startWidth=.05,i.endWidth=.05,i.startAngle=120,i.sweepAngle=300,i.brush=new A(H.fromArgb(238,238,238));var n=new E;n.placement=r.StiPlacement.Overlay,n.offsetAngle=-1,n.relativeWidth=.05,n.relativeHeight=.02,n.skin=r.StiTickMarkSkin.Rectangle,n.brush=new A(H.black),n.borderBrush=new A(H.white),n.borderWidth=1;var o=new N;o.placement=r.StiPlacement.Overlay,o.relativeWidth=.01,o.relativeHeight=.01,o.skin=r.StiTickMarkSkin.Diamond,o.brush=new A(H.black),o.borderBrush=new A(H.gray),o.borderWidth=1;var a=new F;a.placement=r.StiPlacement.Inside,a.offset=.15;var s=new M;s.startWidth=.05,s.endWidth=.05,s.offset=0,s.placement=r.StiPlacement.Outside,s.brush=new A(H.fromArgb(3,169,244)),s.value="80";var l=new M;l.startWidth=.05,l.endWidth=.05,l.offset=0,l.placement=r.StiPlacement.Inside,l.brush=new A(H.fromArgb(255,235,59)),l.value="120";var u=new _;u.value="100",u.offset=.25,u.relativeHeight=.05,u.relativeWidth=.05,u.skin=r.StiMarkerSkin.TriangleRight,u.brush=new A(H.fromArgb(76,175,80)),i.items.add(n),i.items.add(o),i.items.add(a),i.items.add(s),i.items.add(l),i.items.add(u),e.scales.add(i),this.initializeName(e,t)},e.defaultRadialGauge=function(e,t){this.initializeGauge(e,250,250);var i=new V;i.startAngle=0,i.sweepAngle=340,i.startWidth=.05,i.endWidth=.05,i.minimum=0,i.maximum=100,i.majorInterval=10,i.minorInterval=5;var n=new E;n.placement=r.StiPlacement.Overlay,n.offsetAngle=-2,n.relativeWidth=.06,n.relativeHeight=.03,n.skin=r.StiTickMarkSkin.TriangleRight;var o=new F,a=new T;a.relativeHeight=.14,a.relativeWidth=.5,i.items.add(n),i.items.add(o),i.items.add(a),e.scales.add(i),this.initializeName(e,t)},e.defaultLinearGauge=function(e,t){this.initializeGauge(e,120,240);var i=new P;i.startWidth=.1,i.endWidth=.1,i.maximum=100,i.minorInterval=5,i.borderBrush=new A(H.fromArgb(158,158,158)),i.brush=new A(H.fromArgb(238,238,238));var n=new C;n.borderBrush=new W,n.borderWidth=0,n.relativeHeight=.005,n.relativeWidth=.05,n.brush=new A(H.fromArgb(158,158,158));var o=new x;o.placement=r.StiPlacement.Inside,o.textBrush=new A(H.fromArgb(158,158,158));var a=new O;a.startWidth=.1,a.endWidth=.1,a.brush=new A(H.fromArgb(0,150,136)),a.value="65",i.items.add(n),i.items.add(o),i.items.add(a),e.scales.add(i),this.initializeName(e,t)},e.linearGaugeRangeList=function(e,t){this.initializeGauge(e,120,240);var i=new P;i.startWidth=.1,i.endWidth=.1,i.maximum=100,i.minorInterval=5,i.borderBrush=new A(H.fromArgb(158,158,158)),i.brush=new A(H.fromArgb(238,238,238));var n=new l,o=new u;o.startValue=0,o.endValue=50,o.brush=new B(H.fromArgb(205,220,57),H.fromArgb(139,195,74),90),o.startWidth=.07,o.endWidth=.07;var a=new u;a.startValue=45,a.endValue=75,a.brush=new B(H.fromArgb(255,193,7),H.fromArgb(255,235,59),90),a.startWidth=.07,a.endWidth=.07;var c=new u;c.startValue=75,c.endValue=100,c.brush=new B(H.fromArgb(255,152,0),H.fromArgb(255,152,0),90),c.startWidth=.07,c.endWidth=.07,n.ranges.add(o),n.ranges.add(a),n.ranges.add(c);var h=new x;h.placement=r.StiPlacement.Inside,h.textBrush=new A(H.fromArgb(158,158,158));var p=new C;p.borderBrush=new W,p.borderWidth=0,p.relativeHeight=.005,p.relativeWidth=.05,p.brush=new A(H.fromArgb(158,158,158));var m=new d;m.placement=r.StiPlacement.Overlay,m.relativeWidth=.08,m.relativeHeight=.006,m.borderBrush=new W;var f=new s;f.relativeWidth=.18,f.relativeHeight=.04,f.placement=r.StiPlacement.Overlay,f.brush=new A(H.fromArgb(205,220,57)),i.items.add(n),i.items.add(h),i.items.add(p),i.items.add(m),i.items.add(f),e.scales.add(i),this.initializeName(e,t)},e.bulletGraphsGreen=function(e,t){this.initializeGauge(e,300,100);var i=new P;i.relativeHeight=.94,i.startWidth=.01,i.endWidth=.01,i.maximum=100,i.majorInterval=20,i.orientation=o.Horizontal,i.brush=new W,i.borderBrush=new W;var n=new l,a=0,s=0;while(++s<11){var h=new u;h.startValue=a,a+=10,h.endValue=a,h.startWidth=.5,h.endWidth=.5,h.placement=r.StiPlacement.Overlay,h.borderBrush=new A(H.fromArgb(150,139,138,135)),h.brush=new A(s>=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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"GetValueEvent":var n=new f;n.loadFromXml(i),this.getValueEvent=n;break;case"GetTextEvent":var a=new o;a.loadFromXml(i),this.getTextEvent=a;break;case"Value":var s=new y;s.loadFromXml(i),this.value=s.value;break;case"Text":var l=new y;l.loadFromXml(i),this.text=l.value;break;case"Values":this.values.loadFromXml(i);break}}},Object.defineProperty(g.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearTickLabelCustom},enumerable:!1,configurable:!0}),g.prototype.clone=function(){var t,r,i=e.prototype.clone.call(this);null!=this.value?i.value=this.value:i.value=null,null!=this.text?i.text=this.text:i.text=null,i.values=new m;try{for(var n=__values(this.values.list),o=n.next();!o.done;o=n.next()){var a=o.value;i.values.add(a.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},Object.defineProperty(g.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"textObj",{get:function(){return this._textObj},set:function(e){this._textObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"localizeName",{get:function(){return"LinearTickLabelCustom"},enumerable:!1,configurable:!0}),g.prototype.onGetValue=function(e){},g.prototype.invokeGetValue=function(e,r){try{if(this.onGetValue(r),e.scale.gauge.report.calculationMode==t.StiCalculationMode.Interpretation){var n=p.parseTextValue(this.value,e.scale.gauge);r.value=e.scale.gauge.report.toString2(n)}}catch(e){var o=i.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(g.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this.getValueEvent=e},enumerable:!1,configurable:!0}),g.prototype.onGetText=function(e){},g.prototype.invokeGetText=function(e,r){try{this.onGetText(r)}catch(e){var n=i.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);t.StiLogService.write(this.stimulsoft.getType(),n),t.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(g.prototype,"getTextEvent",{get:function(){return this._getTextEvent},set:function(e){this._getTextEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),g.prototype.createNew=function(){return new g},g.prototype.prepareGaugeElement=function(){e.prototype.prepareGaugeElement.call(this);var t=new d;this.invokeGetValue(this,t),this.valueObj=s.getFloatValueFromObject2(t.value,0);var r=new n;this.invokeGetText(this,r),this.textObj=r.value},g.prototype.drawElement=function(e){var t,n,o=this.scale;if(null==o||i.isNullOrEmpty(this.textObj))return;var s=o.barGeometry.size,p=o.barGeometry.rectGeometry,d,f,g,y=this.scale.barGeometry.getRestToLenght(),b=o.orientation==a.Horizontal?s.height:s.width;b*=this.offset;var v=this.scale.scaleHelper.actualMinimum,S=this.scale.scaleHelper.actualMaximum,w=this.textFormat,k=this.skipValuesObj,G=this.skipIndicesObj,B=this.values;null!=B&&0!=B.count||(B=new m).add(new r.StiLinearTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.placement));var R=-1;try{for(var O=__values(B.toCast()),x=O.next();!x.done;x=O.next()){var C=x.value;if(R++,C.value<v)continue;if(C.value>S)continue;if(this.checkTickValue(k,G,C.value,R))continue;if(null!=this.minimumValue&&C.value<this.minimumValue)continue;if(null!=this.maximumValue&&C.value>this.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.startWidth<o.endWidth?(1-_)*y:y*_;this.getPlacement(C.placement)==c.Outside?(f=p.left+d-M.width/2,g=p.top-M.height-P+T):(f=p.left+d-M.width/2,g=p.bottom+P-T)}else if(d=o.isReversed?p.height*_:p.height-p.height*_,this.getPlacement(C.placement)==c.Overlay)f=u.centerX(p)-M.width/2,g=p.top+d-M.height/2;else{var T=o.startWidth<o.endWidth?(1-_)*y:y*_;this.getPlacement(C.placement)==c.Outside?(f=p.left-M.width-3-P+T,g=p.top+d-M.height/2):(f=p.right+3+P-T,g=p.top+d-M.height/2)}e.addTextGaugeGeom(j,W,this.textBrush,new h(f,g,M.width,M.height),null)}}catch(e){t={error:e}}finally{try{x&&!x.done&&(n=O.return)&&n.call(O)}finally{if(t)throw t.error}}},g}(g);r.StiLinearTickLabelCustom=b}(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(r){var i=e.Report.Components.Gauge.StiRadialTickMarkMinor,n=e.Report.Components.Gauge.StiRadialTickMarkMajor,o=e.Report.Components.Gauge.StiRadialTickMarkCustom,a=e.Report.Components.Gauge.StiRadialTickLabelMinor,s=e.Report.Components.Gauge.StiRadialTickLabelMajor,l=e.Report.Components.Gauge.StiRadialTickLabelCustom,u=e.Report.Components.Gauge.StiLinearTickMarkMinor,c=e.Report.Components.Gauge.StiLinearTickMarkMajor,h=e.Report.Components.Gauge.StiLinearTickMarkCustom,p=e.Report.Components.Gauge.StiLinearTickLabelMinor,d=e.Report.Components.Gauge.StiLinearTickLabelMajor,m=e.Report.Components.Gauge.StiLinearTickLabelCustom,f=e.Report.Components.Gauge.StiRadialRangeList,g=e.Report.Components.Gauge.StiLinearRangeList,y=e.Report.Components.Gauge.StiStateIndicator,b=e.Report.Components.Gauge.StiRadialMarker,v=e.Report.Components.Gauge.StiRadialBar,S=e.Report.Components.Gauge.StiNeedle,w=e.Report.Components.Gauge.StiLinearMarker,k=e.Report.Components.Gauge.StiLinearBar,G=e.System.StiString,B=e.System.Collections.CollectionBase,R=e.Base.StiJson,O=function(e){function r(t){var r=e.call(this)||this;return r.scaleType=t.scaleType,r.scale=t,r}return __extends(r,e),r.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new R,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},r.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.gaugeElements.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r}));if(null==i)throw G.format("Type {0} is not found!",r);var o=i.createNew();o.scale=i.scale,n.add(o),o.loadFromJsonObject(e.value)},n=this;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s;i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},r.prototype.loadFromXml=function(e,t){for(var r=0;r<e.childNodes.length;r++){var G=e.childNodes[r];if(null==G.attributes)continue;if(null!=G.attributes.getNamedItem("type"))switch(G.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearBar":var B=new k;this.add(B),B.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearMarker":var R=new w;this.add(R),R.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiNeedle":var O=new S;this.add(O),O.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialBar":var x=new v;this.add(x),x.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialMarker":var C=new b;this.add(C),C.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiStateIndicator":var P=new y;this.add(P),P.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearRangeList":var _=new g;this.add(_),_.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialRangeList":var j=new f;this.add(j),j.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelCustom":var W=new m;this.add(W),W.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelMajor":var M=new d;this.add(M),M.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelMinor":var T=new p;this.add(T),T.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkCustom":var F=new h;this.add(F),F.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkMajor":var N=new c;this.add(N),N.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkMinor":var E=new u;this.add(E),E.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelCustom":var H=new l;this.add(H),H.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelMajor":var A=new s;this.add(A),A.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelMinor":var V=new a;this.add(V),V.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkCustom":var L=new o;this.add(L),L.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkMajor":var I=new n;this.add(I),I.loadFromXml(G);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkMinor":var D=new i;this.add(D),D.loadFromXml(G);break}}},r.prototype.clone=function(){var e,t,i=new r(this.scale);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&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return i},Object.defineProperty(r.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),r.prototype.setByIndex=function(e,t){t.scale=this.scale,this.setItemInternal(e,t)},r.prototype.toArray=function(){var e,t,r=[];try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.push(o)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},r.prototype.addCore=function(e){e.elementType!=this.scaleType&&e.elementType!=t.StiGaugeElemenType.All||(e.scale=this.scale,this.list.push(e))},r.prototype.add=function(e){e.elementType!=this.scaleType&&e.elementType!=t.StiGaugeElemenType.All||(e.scale=this.scale,this.list.push(e))},r.prototype.addRange=function(e){var t,r;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;this.addCore(o)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},r.prototype.insert=function(e,t){if(null==t)throw new Error("item");if(e<0||e>this.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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},r}(B);r.StiGaugeElementCollection=O}(r=t.Collections||(t.Collections={}))}(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=e.Report.Components.Gauge.StiRadialScale,i=e.Report.Components.Gauge.StiLinearScale,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.gaugeScales.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();a.gauge=i.gauge,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,t){for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];if(null==o.attributes)continue;if(null!=o.attributes.getNamedItem("type"))switch(o.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearScale":var a=new i;this.add(a),a.loadFromXml(o,t);break;case"Stimulsoft.Report.Components.Gauge.StiRadialScale":var s=new r;this.add(s),s.loadFromXml(o,t);break}}return null},t.prototype.clone=function(){var e,r,i=new t(this.parent);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.setParent=function(e){e.gauge=this.parent},t.prototype.clearParent=function(e){e.gauge=null},t.prototype.add=function(t){this.setParent(t),e.prototype.add.call(this,t)},t.prototype.insert=function(t,r){this.setParent(r),e.prototype.insert.call(this,t,r)},t.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return this.clearParent(e),this.removeAt(t),!0;return!1},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&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},t}(o);t.StiScaleCollection=s}(r=t.Collections||(t.Collections={}))}(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"GetValue"},t}(e.Report.Events.StiEvent);t.StiGetValueEvent=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=e.System.EventHandler,i=e.System.EventArgs;t.StiGetValueEventHandler=new r("sender: any, e: StiGetValueEventArgs");var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),t}(i);t.StiGetValueEventArgs=n}(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=e.System.Drawing.Point,i=function(){function e(){}return e.getRoundedPath=function(e,t,r,i,n,o){},e.getArcGeometry=function(e,t,r,i,n){},e.getRadialRangeGeometry=function(e,t,r,i,n,o,a){},e.round=function(e){var t=Math.trunc(e),r;return e-t>0?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<e.childNodes.length;c++){var h=e.childNodes[c];switch(h.nodeName){case"CustomStyleName":this.customStyleName=h.textContent.toString();break;case"Style":this.style=a.createFromXml(h);break;case"Type":this.type=s.parse(u,h.textContent);break;case"ShortValue":this.shortValue=h.textContent.stimulsoft.toBoolean();break;case"Minimum":this.minimum=h.textContent.stimulsoft.toNumber();break;case"Maximum":this.maximum=h.textContent.stimulsoft.toNumber();break;case"CalculationMode":this.calculationMode=s.parse(l,h.textContent);break;case"Mode":this.mode=s.parse(n,h.textContent);break;case"AllowApplyStyle":this.allowApplyStyle=h.textContent.stimulsoft.toBoolean();break;case"Border":this.border=b.loadFromXml(h.textContent);break;case"Brush":this.brush=y.loadFromXml(h.textContent);break;case"Scales":this.scales.loadFromXml(h,this.report);break}}},Object.defineProperty(v.prototype,"componentId",{get:function(){return t.StiComponentId.StiGauge},enumerable:!1,configurable:!0}),v.prototype.clone=function(e,t){var i,n,o=r.prototype.clone.call(this,e);o.scales=new p(o);try{for(var a=__values(this.scales.list),s=a.next();!s.done;s=a.next()){var l=s.value;o.scales.add(l.clone())}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},v.prototype.prepareInit=function(){i.prepare(this)},v.prototype.getImage=function(r,i){var n=new t.Export.StiSvgData;return n.component=this,n.x=0,n.y=0,n.width=this.report.unit.convertToHInches(this.width),n.height=this.report.unit.convertToHInches(this.height),e.Report.Export.StiGaugeSvgHelper.getImage(n)},v.prototype.isExportAsImage=function(e){return e==t.StiExportFormat.Pdf},Object.defineProperty(v.prototype,"border",{get:function(){return this._border},set:function(e){this._border=e},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"valueFormat",{get:function(){return this.valueFormat_},set:function(e){this.valueFormat_=e},enumerable:!1,configurable:!0}),v.getValueFormatDefault=function(){var t=new O;return t.decimalDigits=0,t.state=e.Report.Components.StiTextFormatState.DecimalDigits|e.Report.Components.StiTextFormatState.Abbreviation,t},Object.defineProperty(v.prototype,"localizedCategory",{get:function(){return m.get("Report","Infographics")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"localizedName",{get:function(){return m.get("Components","StiGauge")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"style",{get:function(){return this._style},set:function(e){this._style!=e&&(this._style=e,null!=e&&(e.core.gauge=this))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&this.applyStyle(this.style))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"customStyleName",{get:function(){return this._customStyleName},set:function(e){this._customStyleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"scales",{get:function(){return this._scales},set:function(e){this._scales=e},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isAnimation",{get:function(){return this._isAnimation},set:function(e){this._isAnimation!=e&&(this._isAnimation=e)},enumerable:!1,configurable:!0}),v.prototype.changeSkin=function(){},v.prototype.drawGauge=function(e){this.applyStyle(this.style);var t=-1;while(++t<this.scales.count){var r=this.scales.getByIndex(t).stimulsoft.as(h);null!=r&&(r.barGeometry.checkRectGeometry(e.rect),r.drawElement(e))}},v.prototype.createNew=function(){return new v},v.prototype.applyStyle=function(e){var t,r;this.allowApplyStyle&&(this.brush=e.core.brush,this.border.color=e.core.borderColor,this.border.size=e.core.borderWidth);try{for(var i=__values(this.scales.list),n=i.next();!n.done;n=i.next()){var o;n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},v}(v);r.StiGauge=x}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={}));;
|
||
var Stimulsoft;
|
||
(function (Stimulsoft) {
|
||
var Reflection;
|
||
(function (Reflection) {
|
||
var StiTypesHelper = (function () {
|
||
function StiTypesHelper() {
|
||
}
|
||
StiTypesHelper.run = function (type, namespace) {
|
||
if (type === undefined) {
|
||
StiTypesHelper.run(Stimulsoft, "Stimulsoft");
|
||
return;
|
||
}
|
||
namespace = namespace.stimulsoft.replaceAll("Stimulsoft.System", "System");
|
||
for (var name_1 in type) {
|
||
if (typeof type[name_1] == "function") {
|
||
type[name_1].ssTypeName = name_1;
|
||
type[name_1].ssNamespace = namespace;
|
||
}
|
||
else if (typeof type[name_1] == "object") {
|
||
StiTypesHelper.run(type[name_1], namespace + "." + name_1);
|
||
}
|
||
}
|
||
};
|
||
return StiTypesHelper;
|
||
}());
|
||
Reflection.StiTypesHelper = StiTypesHelper;
|
||
})(Reflection = Stimulsoft.Reflection || (Stimulsoft.Reflection = {}));
|
||
})(Stimulsoft || (Stimulsoft = {}));
|
||
Stimulsoft.Reflection.StiTypesHelper.run();
|
||
if (typeof module === "object") {
|
||
module.exports = Stimulsoft;
|
||
}
|
||
; |