flexmonster 2.9.36 → 2.9.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/flexmonster.css +1 -1
- package/flexmonster.es5.full.js +499 -499
- package/flexmonster.es5.js +498 -498
- package/flexmonster.full.js +664 -663
- package/flexmonster.js +500 -499
- package/flexmonster.min.css +1 -1
- package/package.json +1 -1
- package/theme/accessible/flexmonster.css +1 -1
- package/theme/accessible/flexmonster.min.css +1 -1
- package/theme/blackorange/flexmonster.css +1 -1
- package/theme/blackorange/flexmonster.min.css +1 -1
- package/theme/brightorange/flexmonster.css +1 -1
- package/theme/brightorange/flexmonster.min.css +1 -1
- package/theme/dark/flexmonster.css +1 -1
- package/theme/dark/flexmonster.min.css +1 -1
- package/theme/flexmonster-base.less +1 -1
- package/theme/green/flexmonster.css +1 -1
- package/theme/green/flexmonster.min.css +1 -1
- package/theme/lightblue/flexmonster.css +1 -1
- package/theme/lightblue/flexmonster.min.css +1 -1
- package/theme/macos/flexmonster.css +1 -1
- package/theme/macos/flexmonster.min.css +1 -1
- package/theme/midnight/flexmonster.css +1 -1
- package/theme/midnight/flexmonster.min.css +1 -1
- package/theme/old/flexmonster.css +1 -1
- package/theme/old/flexmonster.min.css +1 -1
- package/theme/orange/flexmonster.css +1 -1
- package/theme/orange/flexmonster.min.css +1 -1
- package/theme/purple/flexmonster.css +1 -1
- package/theme/purple/flexmonster.min.css +1 -1
- package/theme/softdefault/flexmonster.css +1 -1
- package/theme/softdefault/flexmonster.min.css +1 -1
- package/theme/stripedblue/flexmonster.css +1 -1
- package/theme/stripedblue/flexmonster.min.css +1 -1
- package/theme/stripedteal/flexmonster.css +1 -1
- package/theme/stripedteal/flexmonster.min.css +1 -1
- package/theme/teal/flexmonster.css +1 -1
- package/theme/teal/flexmonster.min.css +1 -1
- package/theme/yellow/flexmonster.css +1 -1
- package/theme/yellow/flexmonster.min.css +1 -1
- package/toolbar/flexmonster.toolbar.js +1 -1
package/flexmonster.es5.full.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
|
|
3
|
-
* October 2022 (v. 2.9.
|
|
3
|
+
* October 2022 (v. 2.9.37)
|
|
4
4
|
* Copyright (c) 2022 Flexmonster. All rights reserved.
|
|
5
5
|
*
|
|
6
6
|
* Flexmonster Pivot Table & Charts commercial licenses may be obtained at
|
|
@@ -27,18 +27,18 @@ d=d.replace(/[&<>"']/g,function(b){return k.gL[b]});return d.replace(/[\s]{2,}/g
|
|
|
27
27
|
k.gL={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};k.bba=document.createElement("textarea");f.O=k;f.v=h;f.qg=function(d){return"function"===typeof d};f.ia=function(d){if(h(d))return!0;"string"!==typeof d&&(d=""+d);return 0===d.trim().length};f.pOa=function(d){return d.replace(/\|/g,"{%7C}")};f.oOa=function(d){return d.replace(/{%7C}/g,"|")};f.gK=function(d,b){var a=new Date(d.getTime()),c=b.match(/year|y|quarter|q|month|M|week|w|day|d|hour|h|minute|m|second|s/);if(!c)return a;
|
|
28
28
|
c=c[0];if("year"==c||"y"==c)return a.setUTCFullYear(d.getUTCFullYear()+1),a;if("quarter"==c||"q"==c)return a.setUTCMonth(d.getUTCMonth()+3),a;if("month"==c||"M"==c)return a.setUTCMonth(d.getUTCMonth()+1),a;if("week"==c||"w"==c)return a.setUTCDate(d.getUTCDate()+7),a;if("day"==c||"d"==c)return a.setUTCDate(d.getUTCDate()+1),a;b=parseInt(b)||1;if("hour"==c||"h"==c)return a.setUTCHours(d.getUTCHours()+b),a;if("minute"==c||"m"==c)return a.setUTCMinutes(d.getUTCMinutes()+b),a;"second"!=c&&"s"!=c||a.setUTCSeconds(d.getUTCSeconds()+
|
|
29
29
|
b);return a};f.iHa=function(d){var b=document.createElement("a");b.href=d;d={protocol:b.protocol,host:b.host,hostname:b.hostname,port:b.port,pathname:b.pathname,search:b.search,hash:b.hash};-1<d.protocol.indexOf(":")&&(d.protocol=d.protocol.substr(0,d.protocol.length-1));return d}})(w||(w={}));
|
|
30
|
-
(function(f){function k(h,d){d=void 0===d?{}:d;this.Mi=0;this.
|
|
31
|
-
/\D+/.test(h.slice(1))?Date.parse(h):parseInt(h):h=this.EGa(h,d.format),isNaN(h)&&(this.Lh=!0)):(this.
|
|
32
|
-
h;break;case "m":b=60*h;break;case "h":b=3600*h;break;case "d":b=86400*h;break;case "w":this.lia();break;case "M":this.OH();break;case "q":this.kia();break;case "y":this.mia()}void 0!==b&&(b*=1E3,this.oc.setTime(Math.floor(this.oc.getTime()/b)*b))}}};k.prototype.getDate=function(){if(!this.
|
|
33
|
-
!this.Lh)return this.oc.getUTCDay()};k.prototype.getFullYear=function(){if(!this.
|
|
34
|
-
b;a=void 0===a?null:a;if(!this.
|
|
35
|
-
function(){if(!this.
|
|
36
|
-
this.oc.setUTCMonth(h,d),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getSeconds=function(){if(!this.
|
|
37
|
-
!this.Lh){if(isNaN(h)||f.v(h))return this;this.iu=!1;0!=h&&60>Math.abs(h)&&(h*=-60);h!==this.Mi&&(d&&this.oc.setUTCMinutes(this.oc.getUTCMinutes()+(this.Mi-h)),this.Mi=h);return this}};k.prototype.getTime=function(){return this.
|
|
30
|
+
(function(f){function k(h,d){d=void 0===d?{}:d;this.Mi=0;this.fi=this.Lh=this.iu=!1;var b=void 0===d.Mx?!0:d.Mx;h instanceof Date?h=h.getTime():void 0===h&&b?h=f.v(window.flexmonster_test_now)?Date.now():(new Date(window.flexmonster_test_now)).getTime():f.ia(h)||"null"===h?(b?this.fi=!0:this.Lh=!0,h=NaN):"number"===typeof h?isNaN(h)&&(this.Lh=!0):"string"===typeof h?(f.ia(d.format)?this.JBa(h)?10==h.length?h=Date.parse(h+"T00:00:00"):(h=new Date(h),h=h.getTime()+6E4*h.getTimezoneOffset()):h=8>h.length||
|
|
31
|
+
/\D+/.test(h.slice(1))?Date.parse(h):parseInt(h):h=this.EGa(h,d.format),isNaN(h)&&(this.Lh=!0)):(this.fi=!0,h=NaN);this.oc=isNaN(h)?new Date(NaN):new Date(h);this.Wg(this.oc.getTimezoneOffset());this.iu=!0}k.prototype.JBa=function(h){return 4==h.length||7==h.length&&"-"==h.charAt(4)||10==h.length&&"-"==h.charAt(4)&&"-"==h.charAt(7)?!0:!1};k.prototype.round=function(h){if(!f.ia(h)){var d=h.match(/[s|M|m|w|q|h|d|y]$/);h=parseFloat(h.substring(0,h.length-1));if(!isNaN(h)&&null!==d){switch(d[0]){case "s":var b=
|
|
32
|
+
h;break;case "m":b=60*h;break;case "h":b=3600*h;break;case "d":b=86400*h;break;case "w":this.lia();break;case "M":this.OH();break;case "q":this.kia();break;case "y":this.mia()}void 0!==b&&(b*=1E3,this.oc.setTime(Math.floor(this.oc.getTime()/b)*b))}}};k.prototype.getDate=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCDate()};k.prototype.setDate=function(h){if(!this.fi&&!this.Lh)return this.oc.setUTCDate(h),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getDay=function(){if(!this.fi&&
|
|
33
|
+
!this.Lh)return this.oc.getUTCDay()};k.prototype.getFullYear=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCFullYear()};k.prototype.setFullYear=function(h,d,b){d=void 0===d?null:d;b=void 0===b?null:b;if(!this.fi&&!this.Lh)return f.v(d)?this.oc.setUTCFullYear(h):f.v(b)?this.oc.setUTCFullYear(h,d):this.oc.setUTCFullYear(h,d,b),this};k.prototype.getHours=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCHours()};k.prototype.setHours=function(h,d,b,a){d=void 0===d?null:d;b=void 0===b?null:
|
|
34
|
+
b;a=void 0===a?null:a;if(!this.fi&&!this.Lh)return f.v(d)?this.oc.setUTCHours(h):f.v(b)?this.oc.setUTCHours(h,d):f.v(a)?this.oc.setUTCHours(h,d,b):this.oc.setUTCHours(h,d,b,a),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getMilliseconds=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCMilliseconds()};k.prototype.setMilliseconds=function(h){if(!this.fi&&!this.Lh)return this.oc.setUTCMilliseconds(h),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getMinutes=
|
|
35
|
+
function(){if(!this.fi&&!this.Lh)return this.oc.getUTCMinutes()};k.prototype.setMinutes=function(h,d,b){d=void 0===d?null:d;b=void 0===b?null:b;if(!this.fi&&!this.Lh)return f.v(d)?this.oc.setUTCMinutes(h):f.v(b)?this.oc.setUTCMinutes(h,d):this.oc.setUTCMinutes(h,d,b),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getMonth=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCMonth()};k.prototype.setMonth=function(h,d){d=void 0===d?null:d;if(!this.fi&&!this.Lh)return f.v(d)?this.oc.setUTCMonth(h):
|
|
36
|
+
this.oc.setUTCMonth(h,d),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getSeconds=function(){if(!this.fi&&!this.Lh)return this.oc.getUTCSeconds()};k.prototype.setSeconds=function(h,d){d=void 0===d?null:d;if(!this.fi&&!this.Lh)return f.v(d)?this.oc.setUTCSeconds(h):this.oc.setUTCSeconds(h,d),this.iu&&this.Wg(this.oc.getTimezoneOffset(),!1),this};k.prototype.getTimezoneOffset=function(){if(!this.fi&&!this.Lh)return this.Mi};k.prototype.Wg=function(h,d){d=void 0===d?!0:d;if(!this.fi&&
|
|
37
|
+
!this.Lh){if(isNaN(h)||f.v(h))return this;this.iu=!1;0!=h&&60>Math.abs(h)&&(h*=-60);h!==this.Mi&&(d&&this.oc.setUTCMinutes(this.oc.getUTCMinutes()+(this.Mi-h)),this.Mi=h);return this}};k.prototype.getTime=function(){return this.fi||this.Lh?NaN:this.oc.getTime()+6E4*this.Mi};k.prototype.$Y=function(h){this.setDate(this.getDate()+h);return this};k.prototype.ksa=function(h){this.setMonth(this.getMonth()+h)};k.prototype.mia=function(){this.setMonth(0,1);this.$m()};k.prototype.kia=function(){9<=this.getMonth()?
|
|
38
38
|
this.setMonth(9,1):6<=this.getMonth()?this.setMonth(6,1):3<=this.getMonth()?this.setMonth(3,1):0<=this.getMonth()&&this.setMonth(0,1);this.$m()};k.prototype.OH=function(){this.setDate(1);this.$m();return this};k.prototype.lia=function(h){this.setDate(this.getDate()-(this.getDay()-(void 0===h?1:h)+7)%7);this.$m()};k.prototype.$m=function(){this.setHours(0,0,0,0);return this};k.prototype.Z4=function(h,d){d=void 0===d?1:d;"day"==h?this.$m():"week"==h?this.lia(d):"month"==h?this.OH():"quarter"==h?this.kia():
|
|
39
39
|
"year"==h&&this.mia()};k.prototype.fKa=function(){this.setMonth(11,31);this.zz();return this};k.prototype.dKa=function(){9<=this.getMonth()?this.setMonth(11,1):6<=this.getMonth()?this.setMonth(8,1):3<=this.getMonth()?this.setMonth(5,1):0<=this.getMonth()&&this.setMonth(2,1);this.setDate(k.q_(this.getMonth(),this.getFullYear()));this.zz();return this};k.prototype.cKa=function(){this.setDate(k.q_(this.getMonth(),this.getFullYear()));this.zz();return this};k.prototype.eKa=function(h){this.setDate(this.getDate()+
|
|
40
|
-
(6-this.getDay()+(void 0===h?1:h))%7);this.zz();return this};k.prototype.zz=function(){this.setHours(23,59,59,999);return this};k.prototype.V4=function(h,d){d=void 0===d?1:d;return"day"==h?this.zz():"week"==h?this.eKa(d):"month"==h?this.cKa():"quarter"==h?this.dKa():"year"==h?this.fKa():this};k.prototype.Eg=function(){return this.
|
|
41
|
-
"UTC:"+h)};k.prototype.VBa=function(h){return null!==x.kh.Uf(h)};k.prototype.toString=function(){return this.format("yyyy-MM-dd HH:mm:ss")};k.prototype.Tw=function(){return new Date(this.getTime())};k.prototype.clone=function(){var h=new k;this.Lh||this.
|
|
40
|
+
(6-this.getDay()+(void 0===h?1:h))%7);this.zz();return this};k.prototype.zz=function(){this.setHours(23,59,59,999);return this};k.prototype.V4=function(h,d){d=void 0===d?1:d;return"day"==h?this.zz():"week"==h?this.eKa(d):"month"==h?this.cKa():"quarter"==h?this.dKa():"year"==h?this.fKa():this};k.prototype.Eg=function(){return this.fi||this.Lh?!1:!isNaN(this.oc.getTime())};k.prototype.format=function(h){return this.Lh?f.model.A.j.fn:this.fi?"":this.VBa(h)?x.kh.format(this.Tw(),h):x.kh.format(this.oc,
|
|
41
|
+
"UTC:"+h)};k.prototype.VBa=function(h){return null!==x.kh.Uf(h)};k.prototype.toString=function(){return this.format("yyyy-MM-dd HH:mm:ss")};k.prototype.Tw=function(){return new Date(this.getTime())};k.prototype.clone=function(){var h=new k;this.Lh||this.fi||(h.oc=new Date(this.oc.getTime()));h.Mi=this.Mi;h.iu=this.iu;return h};k.prototype.EGa=function(h,d){var b=NaN,a="UTC"===d.slice(0,3);if("UTC"===d.slice(0,3)||"GMT"===d.slice(0,3))d=d.split(":")[1];"dd/MM/yyyy"===d?(d=h.split("/"),b=a?Date.UTC(parseInt(d[2]),
|
|
42
42
|
parseInt(d[1])-1,parseInt(d[0])):(new Date(parseInt(d[2]),parseInt(d[1])-1,parseInt(d[0]))).getTime()):"dd-MM-yyyy"===d?(d=h.split("-"),b=a?Date.UTC(parseInt(d[2]),parseInt(d[1])-1,parseInt(d[0])):(new Date(parseInt(d[2]),parseInt(d[1])-1,parseInt(d[0]))).getTime()):"dd/MM/yyyy HH:mm:ss"===d&&(d=h.split(" "),h=d[0].split("/"),f.ia(d[1])?b=a?Date.UTC(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0])):(new Date(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]))).getTime():(d=f.ia(d[1])?[]:d[1].split(":"),
|
|
43
43
|
b=a?Date.UTC(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]),parseInt(d[0]),parseInt(d[1]),parseInt(d[2])):(new Date(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]),parseInt(d[0]),parseInt(d[1]),parseInt(d[2]))).getTime()));return b};k.q_=function(h,d){return k.Iqa[h]+(1==h&&0==d%4?1:0)};k.N_=function(h,d){return h&&d?h.getTime()==d.getTime():h==d};k.Iqa={0:31,1:28,2:31,3:30,4:31,5:30,6:31,7:31,8:30,9:31,10:30,11:31};f.Jg=k})(w||(w={}));
|
|
44
44
|
(function(f){function k(){(this.isNative=f.qg(Set))?this.kB=new Set:this.yx=[]}k.prototype.add=function(h){if(this.isNative)return this.kB.add(h),this;0>this.yx.indexOf(h)&&this.yx.push(h);return this};k.prototype.clear=function(){if(this.isNative)return this.kB.clear();this.yx.length=0};k.prototype.delete=function(h){if(this.isNative)return this.kB.delete(h);h=this.yx.indexOf(h);if(0>h)return!1;this.yx.splice(h,1);return!0};k.prototype.has=function(h){return this.isNative?this.kB.has(h):0<=this.yx.indexOf(h)};
|
|
@@ -59,7 +59,7 @@ k.$Ja=/[^-+\dA-Z]/g;k.du={SF:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday
|
|
|
59
59
|
(function(f){function k(){}k.sort=function(h,d,b){d=void 0===d?0:d;var a=1===d%2;d>>=1;var c=1===d%2;d=d>>1>>1;var e=1===(d>>1)%2?function(g,l){if(void 0!==b){if(f.v(l))return-1;if(f.v(g))return 1;g=b(g);l=b(l)}return isNaN(l)||null===l?-1:isNaN(g)||null===g?1:g-l}:a?function(g,l){if(f.ia(l))return-1;if(f.ia(g))return 1;if(void 0!==b){g=b(g);l=b(l);if(f.ia(l))return-1;if(f.ia(g))return 1}return k.localeCompare(g,l)}:function(g,l){if(f.ia(l))return-1;if(f.ia(g))return 1;if(void 0!==b){g=b(g);l=b(l);
|
|
60
60
|
if(f.ia(l))return-1;if(f.ia(g))return 1}return k.localeCompare(g.toLocaleLowerCase(),l.toLocaleLowerCase())};if(1===d%2){d=[];for(a=0;a<h.length;a++)d[a]=a;d.sort(function(g,l){return e(h[g],h[l])});c&&d.reverse();return d}h.sort(e);c&&h.reverse();return h};k.localeCompare=function(h,d){return h&&h.localeCompare?h.localeCompare(d):h===d?0:h>d?1:-1};k.insert=function(h,d,b){for(var a=0;a<d.length;a++)h.splice(b+a,0,d[a])};k.Pq=function(h,d){if(void 0!==h.push)return h.push(d),h;var b=new h.constructor(h.length+
|
|
61
61
|
1);b.set(h,0);b.set([d],h.length);return b};k.he=function(h,d,b){if(b>=h.length)return k.Pq(h,d);if(Array.isArray(h))return h.splice(b,0,d),h;var a=new h.constructor(h.length+1);a.set(h.subarray(0,b));a.set([d],b);a.set(h.subarray(b),b+1);return a};k.Qq=function(h,d){if(Array.isArray(h))return h.splice(d,1),h;if(h instanceof Uint8Array||h instanceof Int8Array||h instanceof Uint16Array||h instanceof Uint32Array){var b=h.length-1,a=null;h instanceof Uint8Array?a=new Uint8Array(b):h instanceof Int8Array?
|
|
62
|
-
a=new Int8Array(b):h instanceof Uint16Array?a=new Uint16Array(b):h instanceof Uint32Array&&(a=new Uint32Array(b));if(null==a)return h;a.set(h.subarray(0,d),0);a.set(h.subarray(d+1,h.length),d);return a}return h};k.t2=function(h,d,b){h.splice(b,0,h.splice(d,1)[0])};k.bx=1;k.oo=2;k.av=8;k.
|
|
62
|
+
a=new Int8Array(b):h instanceof Uint16Array?a=new Uint16Array(b):h instanceof Uint32Array&&(a=new Uint32Array(b));if(null==a)return h;a.set(h.subarray(0,d),0);a.set(h.subarray(d+1,h.length),d);return a}return h};k.t2=function(h,d,b){h.splice(b,0,h.splice(d,1)[0])};k.bx=1;k.oo=2;k.av=8;k.ri=16;f.Ha=k})(w||(w={}));
|
|
63
63
|
void 0===Array.prototype.findIndex&&(Array.prototype.findIndex=function(f,k){if(null==this)throw new TypeError("Array is null or undefined");for(var h=Object(this),d=h.length>>>0,b=0;b<d;b++)if(f.call(k,h[b],b,h))return b;return-1});void 0===Array.prototype.find&&(Array.prototype.find=function(f,k){if(null==this)throw new TypeError("Array is null or undefined");for(var h=Object(this),d=h.length>>>0,b=0;b<d;b++){var a=h[b];if(f.call(k,a,b,h))return a}});
|
|
64
64
|
void 0===Uint16Array.prototype.slice&&Object.defineProperty(Uint16Array.prototype,"slice",{value:function(f,k){return new Uint16Array(Array.prototype.slice.call(this,f,k))}});
|
|
65
65
|
(function(f){function k(){this.values=new Map;this.keys=[]}k.prototype.Qa=function(h,d){this.values.has(h)||this.keys.push(h);this.values.set(h,d)};k.prototype.csa=function(h){if(null!=h)for(var d in h)h.hasOwnProperty(d)&&this.Qa(d,h[d])};k.prototype.unshift=function(h,d){this.keys.unshift(h);this.values.set(h,d)};k.prototype.hK=function(h,d,b){null!=this.getItem(h)&&this.removeItem(h);this.keys.splice(b,0,h);this.values.set(h,d)};k.prototype.removeItem=function(h){null!=this.getItem(h)&&(this.keys.splice(this.indexOf(h),
|
|
@@ -92,7 +92,7 @@ this.Ws[d.type][e])&&(c=!0);if(c)continue}d instanceof w.model.Yc?b[a].Eb.call(t
|
|
|
92
92
|
(function(f){function k(){throw Error("Singleton");}f.requestIdleCallback=function(h,d,b){d=void 0===d?null:d;if(window.requestIdleCallback&&(void 0===b||!b))return window.requestIdleCallback(h,d);var a,c=f.zf(),e;return w.re(function(){h({didTimeout:!1,timeRemaining:function(){return void 0===a?(a=f.zf(),e=Math.min(350,f.zf()-c+50)):Math.max(0,e-(f.zf()-a))}})},1)};f.cancelIdleCallback=function(h){if(window.cancelIdleCallback)return window.cancelIdleCallback(h);w.yq(h)};k.vn=function(h){k.xH.push(h);
|
|
93
93
|
k.Le()};k.Le=function(){w.v(k.yK)&&0<k.xH.length&&(3<k.n1&&(k.Dda=!1),k.yK=f.requestIdleCallback(k.rIa,{timeout:100},!k.Dda))};k.rIa=function(h){if(h.didTimeout)k.n1++,k.Nga();else for(k.n1=0;0<h.timeRemaining()&&0<k.xH.length&&!k.Nga(););k.yK=null;k.Le()};k.Nga=function(){var h=k.xH.shift(),d=h.eo(h.xZ);d?h&&h.Re&&w.re(h.Re,1):k.xH.push(h);return d};k.cancel=function(){null!=k.yK&&(f.cancelIdleCallback(k.yK),k.yK=null);k.xH=[]};k.xH=[];k.Dda=!0;k.n1=0;f.Sk=k})(x||(x={}));
|
|
94
94
|
(function(f){function k(){var h=navigator.userAgent.toLowerCase(),d={};d.XG=/mozilla/.test(h)&&/firefox/.test(h);d.rT=/webkit/.test(h)&&/chrome/.test(h)&&!/edge/.test(h);d.A1=/edge/.test(h);d.bCa=/applewebkit/.test(h)&&/safari/.test(h)&&!/chrome/.test(h);d.nea=/opera/.test(h);d.Gi=/msie/.test(h);d.YBa=/ReactNative/i.test(navigator.product);d.Zl=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(h)||/iPad|iPhone|iPod|BlackBerry/i.test(navigator.platform)||d.YBa;d.version=NaN;d.Gi||d.XG||
|
|
95
|
-
d.rT||d.bCa||d.nea||!/trident/.test(h)||(d.Gi=!0,d.version=11);if(isNaN(d.version))for(var b=["chrome","firefox","msie","safari","opera"],a=0;a<b.length;a++)try{d.version=parseInt(h.match(new RegExp("("+b[a]+")( |/)([0-9]+)"))[3]);break}catch(c){}return d}f.
|
|
95
|
+
d.rT||d.bCa||d.nea||!/trident/.test(h)||(d.Gi=!0,d.version=11);if(isNaN(d.version))for(var b=["chrome","firefox","msie","safari","opera"],a=0;a<b.length;a++)try{d.version=parseInt(h.match(new RegExp("("+b[a]+")( |/)([0-9]+)"))[3]);break}catch(c){}return d}f.Cd=function(){return k()};f.UR=k;f.DT=function(){return null!=document.fullscreenElement||null!=document.mozFullScreenElement||null!=document.webkitFullscreenElement||null!=document.msFullscreenElement};f.G1=function(){return window!=top};f.Xda=
|
|
96
96
|
function(){try{return!w.v(window.process.versions.electron)}catch(h){return!1}};f.DBa=function(){try{return void 0!==ArrayBuffer&&void 0!==DataView&&void 0!==Uint8Array&&(window.chrome&&navigator.userAgent.match(/chrome.\d*/gi)?12<=parseInt(navigator.userAgent.match(/chrome.\d*/gi)[0].replace(/[^\d]/g,"")):!0)&&(window.opera?15<=window.opera.version():!0)&&(navigator.userAgent.match("Safari/")?!navigator.userAgent.match("Version/5.")&&!navigator.userAgent.match("Version/6.0"):!0)}catch(h){return!1}};
|
|
97
97
|
f.fOa=function(h){var d=document.cookie,b=d.indexOf(" "+h+"=");-1==b&&(b=d.indexOf(h+"="));-1==b?d=null:(b=d.indexOf("=",b)+1,h=d.indexOf(";",b),-1==h&&(h=d.length),d=decodeURI(d.substring(b,h)));return d};f.kOa=function(h,d){var b=new Date;b.setDate(b.getDate()+1825);d=encodeURI(d)+"; expires="+b.toUTCString();document.cookie=h+"="+d};f.gOa=function(){return screen.orientation&&-1<screen.orientation.type.indexOf("landscape")};f.hOa=function(){return screen.orientation&&-1<screen.orientation.type.indexOf("portrait")};
|
|
98
98
|
f.sOa=function(){return Math.max(document.documentElement.clientWidth)};f.rOa=function(){return Math.max(document.documentElement.clientHeight)}})(x||(x={}));
|
|
@@ -104,7 +104,7 @@ function(d,b){d=this.baseURI+d;d.lastIndexOf(".js")==d.length-3?this.FCa(d):d.la
|
|
|
104
104
|
a.onerror=function(){a.readystate="error";b.errors.push(d);b.gj()};document.head.appendChild(a)}else c=this.bN=this.cca(d),"error"==c.readystate?(this.errors.push(d),this.gj()):!0===c.async&&"loaded"!=c.readystate?(null==c.onloadedlisteners&&(c.onloadedlisteners=[]),c.onloadedlisteners.push(function(){return b.gj()})):this.gj()};k.prototype.b2=function(d,b){var a=this;b=void 0===b?null:b;var c=this.Z1=document.createElement("link");c.href=d+"?"+w.Mg.Vq;c.rel="stylesheet";c.type="text/css";if(null!=
|
|
105
105
|
b)for(var e in b)b.hasOwnProperty(e)&&c.setAttribute(e,b[e]);c.onerror=function(){return a.Mb(d)};c.onreadystatechange=function(){return a.gj()};c.onload=function(){return a.gj()};this.bj?document.body.appendChild(c):document.head.appendChild(c)};k.prototype.cca=function(d){for(var b=0;b<document.head.children.length;b++){var a=document.head.children.item(b);if(a.src&&-1<a.src.indexOf(d))return a}return null};k.prototype.Mb=function(d){this.errors.push(d);this.gj()};k.prototype.dispose=function(){this.Ya=
|
|
106
106
|
this.Eb=this.Z1=this.bN=null}})(x||(x={}));
|
|
107
|
-
(function(f){function k(d){return z.da.call(this,d)||this}function h(d){var b=z.Gc.call(this)||this;b.nY=!1;b.dra=function(a){return b.np(a)};b.fra=function(a){return b.Y2(a)};b.nCa=1E3;b.buffer=[];b.Gda=function(){return b.WEa()};b.JP=null;if(null!=h.ne)throw Error("KeyboardListener is singleton");f.
|
|
107
|
+
(function(f){function k(d){return z.da.call(this,d)||this}function h(d){var b=z.Gc.call(this)||this;b.nY=!1;b.dra=function(a){return b.np(a)};b.fra=function(a){return b.Y2(a)};b.nCa=1E3;b.buffer=[];b.Gda=function(){return b.WEa()};b.JP=null;if(null!=h.ne)throw Error("KeyboardListener is singleton");f.Cd().Zl||(w.Uj.addEventListener("keydown",b.dra),w.Uj.addEventListener("keyup",b.fra),b.YE=new B.Aa("div"),b.YE.R("position","fixed").R("left","0px").R("top","0px").R("opacity","0").R("width","0px").R("height",
|
|
108
108
|
"0px"),b.YE.Va(),b.gq=new B.gv,b.gq.F.R("width","1px").R("height","1px").R("padding","0px"),b.gq.N("focusin",function(){b.nY=!0}),b.gq.N("focusout",function(){b.nY=!1}),b.YE.append(b.gq.F),d.append(b.YE));return b}u(h,z.Gc);h.P=function(){null==h.ne&&(h.ne=new h(w.K.Hb.zb.F));return h.ne};h.prototype.Y2=function(d){this.z$(d.key,d.type)};h.prototype.np=function(d){var b=new k(k.JO);b.keyCode=d.keyCode;b.altKey=d.altKey;b.ctrlKey=d.ctrlKey;b.metaKey=d.metaKey;b.shiftKey=d.shiftKey;b.qp=d;this.Da(b);
|
|
109
109
|
this.z$(d.key,d.type)};h.prototype.z$=function(d,b){d=d.toLowerCase();var a=Date.now();a-this.qCa>this.nCa&&(this.buffer.length=0);20<this.buffer.length&&this.buffer.splice(0,this.buffer.length-6);this.buffer.push({key:d,type:b});this.qCa=a;this.Nta()&&(this.buffer.length=0,this.Xa(k.F8))};h.prototype.Nta=function(){if(6>this.buffer.length)return!1;for(var d=0,b=0,a=ja(this.buffer),c=a.next();!c.done;c=a.next())c=c.value,"shift"==c.key&&("keydown"==c.type?d++:"keyup"==c.type&&b++);return 3<=d&&3<=
|
|
110
110
|
b};h.prototype.WEa=function(){this.YE.Va();this.gq.ij("");this.gq.F.blur();this.gq.mb("keyup",this.Gda);null!=this.JP&&(this.JP.focus({preventScroll:!0}),this.JP=null)};h.prototype.PF=function(d){this.JP=document.activeElement;this.YE.show();this.gq.ij(d);this.gq.F.focus({preventScroll:!0});this.gq.selectAll();this.gq.F.focus({preventScroll:!0});this.gq.N("keyup",this.Gda)};h.dispose=function(){h.ne=null};r.Object.defineProperties(h.prototype,{bea:{configurable:!0,enumerable:!0,get:function(){return this.nY}}});
|
|
@@ -146,12 +146,12 @@ null};h.prototype.TCa=function(d,b){function a(e){b.aT&&!e.target.matches(b.aT)|
|
|
|
146
146
|
b,a){a=void 0===a?!1:a;if(null!=this.yg){var c=w.K.Hb.zb.F.Uf();this.yg.R("margin-left");this.yg.R("margin-top");if(a&&null!=this.Id){var e=this.Id.Uf();a=Math.max(0,Math.min(this.Id.height,b-e.top));e=Math.max(0,Math.min(this.Id.width,this.yg.width,d-e.left));this.yg.R("margin-top",-a+"px");this.yg.R("margin-left",-e+"px")}this.yg.position({top:b-c.top,left:d-c.left});this.Tda(d,b)&&(this.yg.R("opacity",1),this.Id.Y("fm-dragging-move"),!this.p5&&w.qg(this.Jn.vU)&&this.Jn.vU(this.Id),this.p5=!0)}};
|
|
147
147
|
h.prototype.y3=function(d){if(this.Id){var b=d.touches[0];if(this.yg&&this.Id.Nc("fm-dragging")){this.tV(b.clientX,b.clientY);this.Jn.F2&&this.Jn.F2(this.Id,d);d.preventDefault();b=d.changedTouches[0];var a=f.Aa.Qb(document.elementFromPoint(b.clientX,b.clientY));if(a){var c=a.closest(".fm-droppable");c&&!0===c.Kt.scroll&&this.pda(c,b.clientY);c&&c.Kt&&c.Kt.$l&&(c.Kt.$l(this.Id,this.yg,c,d),this.XA=c)}(null==a||null==c)&&null!=this.XA&&this.XA.Kt&&this.XA.Kt.pl&&this.XA.Kt.pl(this.Id,this.yg,this.XA,
|
|
148
148
|
d)}else w.v(this.Jn.Dw)||this.Jn.Dw(this.Id,d)?(this.rQ=!0,this.yg=this.Jn.Gn(this.Id),this.yg.R("opacity",0),w.K.Hb.zb.F.V(this.yg),this.tV(b.clientX,b.clientY,!0),this.Id.Y("fm-dragging")):(this.Id=null,this.yg.sg(!0),this.yg=null)}};h.prototype.Hq=function(d){this.N4(this.Jn,d)};h.prototype.JU=function(d){for(var b=d.changedTouches[0],a=b=f.Aa.Qb(document.elementFromPoint(b.clientX,b.clientY));b;){if(b.Nc("fm-droppable")){w.ia(b.Kt.Qy)||(a=a.closest(b.Kt.Qy));b.Kt.am(this.Id,b,a,d);break}b=b.parent}this.N4(this.Jn,
|
|
149
|
-
d)};h.prototype.N4=function(d,b){this.rQ=!1;null!=this.yg&&(this.yg.sg(!0),this.yg=null);if(null!=this.Id){this.Id.
|
|
149
|
+
d)};h.prototype.N4=function(d,b){this.rQ=!1;null!=this.yg&&(this.yg.sg(!0),this.yg=null);if(null!=this.Id){this.Id.zd("fm-dragging");this.Id.zd("fm-dragging-move");if(this.p5&&this.Id&&this.Id.element){var a=this.Id,c=function(e){w.v(a)||(a.mb("click",c),a=null,e.stopImmediatePropagation())};this.Id.N("click",c)}d.uu&&this.Tda(this.S0(b),this.T0(b))&&d.uu(this.Id,b);this.Id=null}this.XA=null;this.Uha=this.Tha=NaN;this.ID=!0;clearTimeout(this.Tga)};h.prototype.UCa=function(d,b,a){var c=this;d.Nc("fm-droppable")||
|
|
150
150
|
(d.Y("fm-droppable"),d.N("mouseenter",function(e){null!=c.Id&&1==e.which&&a.G2&&a.G2(c.Id,c.yg,b,e)}),d.N("mouseleave",function(e){c.ID=!0;null!=c.Id&&1==e.which&&a.pl&&a.pl(c.Id,c.yg,b,e)}),d.N("mouseover",function(e){c.ID=!0;null!=c.Id&&1==e.which&&(!0===a.scroll&&c.pda(d,e.clientY),a.$l&&a.$l(c.Id,c.yg,b,e))}),d.N("mouseup",function(e){c.ID=!0;if(null!=c.Id&&1==e.which){var g=f.Aa.Qb(e.target);w.ia(a.Qy)||(g=g.closest(a.Qy));a.am(c.Id,d,g,e)}}))};h.prototype.pda=function(d,b){var a=d.element.getBoundingClientRect(),
|
|
151
151
|
c=Math.max(0,a.bottom-b);b=Math.max(0,b-a.top);30>c?(this.ID=!1,this.j4(d,Math.min(30/c,4))):30>b&&(this.ID=!1,this.j4(d,Math.min(-30/b,4)))};h.prototype.j4=function(d,b){var a=this;clearTimeout(this.Tga);w.v(d)||(d.Qw(d.element.scrollTop+b),0==this.ID&&(this.Tga=setTimeout(function(){return a.j4(d,b)},20)))};r.Object.defineProperties(h.prototype,{sBa:{configurable:!0,enumerable:!0,get:function(){return this.rQ}}});k.mO=h})(f.ZK||(f.ZK={}))})(B||(B={}));
|
|
152
|
-
(function(f){function k(h,d){h=void 0===h?"div":h;d=void 0===d?"":d;var b=z.Gc.call(this)||this;b.F=new f.Aa(h);b.F.Y("fm-ui "+d);x.
|
|
152
|
+
(function(f){function k(h,d){h=void 0===h?"div":h;d=void 0===d?"":d;var b=z.Gc.call(this)||this;b.F=new f.Aa(h);b.F.Y("fm-ui "+d);x.Cd().Zl&&b.F.Y("fm-ui-mobile");b.validate();return b}u(k,z.Gc);k.prototype.validate=function(){this.p1={}};k.prototype.de=function(h){this.p1[void 0===h?"all":h]=!0;this.hb()};k.prototype.Rr=function(h){for(var d=[],b=0;b<arguments.length;++b)d[b-0]=arguments[b];if(this.p1.all)return!0;for(b=0;b<d.length;b++)if(this.p1[d[b]])return!0;return!1};k.prototype.hb=function(){this.validate()};
|
|
153
153
|
k.prototype.Sq=function(){this.de()};k.prototype.show=function(){this.F.show()};k.prototype.Va=function(){this.F.Va()};k.prototype.C0=function(){return this.F.attr("id")};k.prototype.pha=function(h){this.F.attr("id",h)};k.prototype.xha=function(){this.pha("fm-"+Math.random().toString(36).substr(2,9))};k.prototype.oC=function(){return this.name};k.prototype.ve=function(h){this.F.ve(void 0===h?0:h)};k.prototype.dk=function(h){this.F.dk(h)};k.prototype.html=function(h){if(void 0===h)return this.F.html();
|
|
154
|
-
this.F.html(h);return this};k.prototype.Ph=function(h){this.F.attr("title",h)};k.prototype.Ap=function(h){this.cta(!h);this.F.Wa("fm-ui-disabled",!h)};k.prototype.BL=function(){return!this.F.Nc("fm-ui-disabled")};k.prototype.Y=function(h){this.F.Y(void 0===h?"":h)};k.prototype.
|
|
154
|
+
this.F.html(h);return this};k.prototype.Ph=function(h){this.F.attr("title",h)};k.prototype.Ap=function(h){this.cta(!h);this.F.Wa("fm-ui-disabled",!h)};k.prototype.BL=function(){return!this.F.Nc("fm-ui-disabled")};k.prototype.Y=function(h){this.F.Y(void 0===h?"":h)};k.prototype.zd=function(h){this.F.zd(h)};k.prototype.Wa=function(h,d){this.F.Wa(h,d)};k.prototype.Nc=function(h){return this.F.Nc(h)};k.prototype.ef=function(h){return this.F.ef(h)};k.prototype.yj=function(h){this.ef()!==h&&(this.F.yj(h),
|
|
155
155
|
this.de("size"))};k.prototype.rd=function(h){return this.F.rd(void 0===h?!1:h)};k.prototype.Bp=function(h){this.rd()!==h&&(this.F.Bp(h),this.de("size"))};k.prototype.isVisible=function(h){void 0!==h&&(h?this.show():this.Va());return this.F.visible};k.prototype.position=function(){return this.F.position()};k.prototype.V=function(h,d){(void 0===d?0:d)?this.F.prepend(h.F):this.F.append(h.F)};k.prototype.sg=function(h){(void 0===h?0:h)?this.F.remove():this.F.detach()};k.prototype.S0=function(){return this.F.left};
|
|
156
156
|
k.prototype.T0=function(){return this.F.top};k.prototype.N=function(h,d){this.F.N(h,d)};k.prototype.mb=function(h,d){this.F.mb(h,d)};k.prototype.Da=function(h){this.F.Da(h)};k.prototype.Xa=function(h,d,b){this.F.Xa(h,d,b)};k.prototype.qB=function(h){h=(void 0===h?0:h)?this.ef(!0):w.K.Hb.Eu;this.F.Wa("fm-layout-tablet",768>h);this.F.Wa("fm-layout-mobile",580>h);this.F.Wa("fm-layout-mobile-small",460>h)};k.prototype.focus=function(h){this.F.focus(void 0===h?null:h)};k.prototype.blur=function(){this.F.blur()};
|
|
157
157
|
k.prototype.kg=function(h,d){return this.F.kg(h,d)};k.prototype.lc=function(h){return this.F.kg("label",h)};k.prototype.xn=function(){this.F.kg("hidden","true")};k.prototype.cta=function(h){this.F.kg("disabled",void 0===h?void 0:""+h)};k.prototype.U$=function(h){this.F.kg("selected",void 0===h?void 0:""+h)};k.prototype.bta=function(h){this.F.kg("checked",void 0===h?void 0:""+h)};k.prototype.T$=function(h){this.F.kg("expanded",void 0===h?void 0:""+h)};k.prototype.dta=function(h){this.F.kg("haspopup ",
|
|
@@ -161,8 +161,8 @@ k.prototype.BR=function(h){var d=this.b_(h.target);!d&&h.path&&(d=this.b_(h.path
|
|
|
161
161
|
this.element);return this};k.prototype.after=function(h){this.element.parentNode&&(this.element.nextElementSibling?this.element.parentNode.insertBefore(h.element,this.element.nextElementSibling):this.element.parentNode.appendChild(h.element));return this};k.prototype.oB=function(h){this.element.appendChild(h.F.element)};k.prototype.sg=function(h){void 0===h||h?this.remove():this.detach()};k.prototype.remove=function(){null!=this.element&&(this.element.parentNode&&this.element.parentNode.removeChild(this.element),
|
|
162
162
|
this.dispose())};k.prototype.detach=function(){if(null!=this.element&&this.element.parentNode){var h=this.element.cloneNode(!0);this.element.parentNode.removeChild(this.element);this.element=h}};k.prototype.Jw=function(){for(;this.element&&this.element.firstChild;){var h=k.Qb(this.element.firstChild);h&&h.dispose&&h.dispose();this.element.removeChild(this.element.firstChild)}};k.prototype.clone=function(){return k.Qb(this.element.cloneNode(!0))};k.Qb=function(h){return h&&h.nodeType==Node.ELEMENT_NODE?
|
|
163
163
|
w.v(h.uielement)?new k(h,"",!1):h.uielement:null};k.prototype.get=function(h){var d=this.children();return 0<d.length?d[h]:null};k.prototype.find=function(h,d){if(void 0===d||0==d)return k.Qb(this.element.querySelector(h));h=this.element.querySelectorAll(h);d=[];for(var b=0;b<h.length;b++)d.push(k.Qb(h[b]));return d};k.prototype.closest=function(h){if(!this.element)return null;for(var d=this.element;null!=d;){if(d.matches){if(d.matches(h))return d==this.element?this:k.Qb(d)}else if(d.msMatchesSelector&&
|
|
164
|
-
d.msMatchesSelector(h))return d==this.element?this:k.Qb(d);d=d.parentElement}return null};k.prototype.Y=function(h){if(!this.element)return this;h=h.trim();for(var d=h.split(" "),b=0;b<d.length;b++)0<d[b].length&&(x.UR().Gi?(h=this.element.getAttribute("class"),w.v(h)?this.element.setAttribute("class",d[b]):-1==h.split(" ").indexOf(d[b])&&this.element.setAttribute("class",h+" "+d[b])):0==this.element.classList.contains(d[b])&&this.element.classList.add(d[b]));return this};k.prototype.
|
|
165
|
-
(h=h.trim(),0<h.length))if(x.UR().Gi){var d=this.element.getAttribute("class");w.v(d)||(d=d.split(" "),h=d.indexOf(h),-1<h&&(d.splice(h,1),this.element.setAttribute("class",d.join(" "))))}else this.element.classList.contains(h)&&this.element.classList.remove(h)};k.prototype.Wa=function(h,d){d?this.Y(h):this.
|
|
164
|
+
d.msMatchesSelector(h))return d==this.element?this:k.Qb(d);d=d.parentElement}return null};k.prototype.Y=function(h){if(!this.element)return this;h=h.trim();for(var d=h.split(" "),b=0;b<d.length;b++)0<d[b].length&&(x.UR().Gi?(h=this.element.getAttribute("class"),w.v(h)?this.element.setAttribute("class",d[b]):-1==h.split(" ").indexOf(d[b])&&this.element.setAttribute("class",h+" "+d[b])):0==this.element.classList.contains(d[b])&&this.element.classList.add(d[b]));return this};k.prototype.zd=function(h){if(this.element&&
|
|
165
|
+
(h=h.trim(),0<h.length))if(x.UR().Gi){var d=this.element.getAttribute("class");w.v(d)||(d=d.split(" "),h=d.indexOf(h),-1<h&&(d.splice(h,1),this.element.setAttribute("class",d.join(" "))))}else this.element.classList.contains(h)&&this.element.classList.remove(h)};k.prototype.Wa=function(h,d){d?this.Y(h):this.zd(h)};k.prototype.Nc=function(h){return this.element.classList.contains(h)};k.prototype.dl=function(){this.Y("fm-noselect")};k.prototype.Zwa=function(){this.Y("fm-selectable")};k.prototype.ef=
|
|
166
166
|
function(h){if(!this.element)return 0;var d=this.MB;return this.element.clientWidth-((void 0===h?0:h)?0:(parseFloat(d.paddingLeft)||0)+(parseFloat(d.paddingRight)||0))};k.prototype.yj=function(h){"number"===typeof h?this.element.style.width=h+"px":"string"===typeof h&&(this.element.style.width=h);return this};k.prototype.rd=function(h){if(!this.element)return 0;var d=this.MB;h=(void 0===h?0:h)?0:(parseFloat(d.paddingTop)||0)+(parseFloat(d.paddingBottom)||0);return 0>this.element.clientHeight-h?0:
|
|
167
167
|
this.element.clientHeight-h};k.prototype.Bp=function(h){"number"===typeof h?this.element.style.height=h+"px":"string"===typeof h&&(this.element.style.height=h)};k.prototype.html=function(h){if(void 0===h)return this.element.innerHTML;this.element.innerHTML=h;return this};k.prototype.empty=function(){this.html("")};k.prototype.clear=function(){this.empty()};k.prototype.text=function(h){if(void 0===h)return this.element.textContent;"input"==this.element.tagName.toLowerCase()?this.element.value=h:this.element.textContent=
|
|
168
168
|
h;return this};k.prototype.focus=function(h){this.element.focus(void 0===h?null:h);return this};k.prototype.blur=function(){this.element.blur();return this};k.prototype.show=function(){this.element.style.display=this.display};k.prototype.Va=function(){this.element.style.display="none"};k.prototype.offset=function(h){if(void 0===h)return this.Uf();this.R("left",h.left+"px");this.R("top",h.top+"px")};k.prototype.getBoundingClientRect=function(){return this.element.getBoundingClientRect()};k.prototype.position=
|
|
@@ -190,11 +190,11 @@ u(k,f.Ca);k.Kya=function(h){return null==h.which?32>h.keyCode?null:String.fromCh
|
|
|
190
190
|
k.prototype.U2=function(){this.W0()};k.prototype.XK=function(){var h=this;0<this.CZ?this.DZ&&(this.DZ=!1,w.re(function(){return h.XX()},this.CZ)):this.XX()};k.prototype.XX=function(){this.DZ=!0;this.Da(new z.da(k.gx,this,this.text))};k.prototype.M2=function(){0==this.text.length&&(this.F.text(""),this.Lt(!1))};k.prototype.HEa=function(){this.Lt(0==this.text.length)};k.prototype.Bi=function(){return this.text=this.F.KN()==this.prompt?this.text:this.F.KN()};k.prototype.ij=function(h){this.text!=h&&
|
|
191
191
|
(this.text=h,this.F.text(this.text),this.Lt(0==this.text.length))};k.prototype.clear=function(h){h=void 0===h?!0:h;this.ij("");h&&this.XX();this.Xa(k.z6)};k.prototype.xD=function(h){h!=this.prompt&&(this.prompt=h,this.F.attr("data-placeholder",this.prompt),this.Lt(0==this.text.length))};k.prototype.Lt=function(h){this.F.text(h?this.prompt:this.text);this.F.Wa("fm-ui-prompt",h)};k.prototype.yD=function(h){this.Gga=h};k.prototype.nV=function(h){this.CZ=h};k.prototype.mJa=function(){this.F.attr("type",
|
|
192
192
|
"number")};k.gx="_";k.aA="ntr";k.z6="clr";f.Vi=k})(B||(B={}));(function(f){function k(){var h=f.Vi.call(this)||this;h.yD(k.Noa);h.mJa();return h}u(k,f.Vi);k.prototype.Ia=function(){return parseFloat(this.Bi())};k.prototype.Qh=function(h){this.ij(h.toString())};k.Noa=/^\d+$/;k.EE=/[-\.\d]/;f.$p=k})(B||(B={}));
|
|
193
|
-
(function(f){function k(){var h=f.ud.call(this)||this;h.F.display="inline-block";h.F.Nc("fm-ui-btn")&&h.F.
|
|
193
|
+
(function(f){function k(){var h=f.ud.call(this)||this;h.F.display="inline-block";h.F.Nc("fm-ui-btn")&&h.F.zd("fm-ui-btn");h.F.Y("fm-ui-toggle-btn");h.selected=0;return h}(function(h){h[h.HNa=1]="SELECTED";h[h.ZNa=0]="UNSELECTED";h[h.KNa=-1]="SEMI_SELECTED"})(f.Spa||(f.Spa={}));u(k,f.ud);k.prototype.$j=function(h){this.BL()&&(this.toggle(),this.Xa(z.da.Qd,this,h));h instanceof MouseEvent&&h.stopImmediatePropagation()};k.prototype.toggle=function(){this.lf(1==this.selected?0:1)};k.prototype.lf=function(h){!0===
|
|
194
194
|
h&&(h=1);!1===h&&(h=0);this.selected==h||1<h||-1>h||(this.selected=h,this.F.Wa("fm-selected",1==this.selected),1==this.selected?this.kg("checked","true"):-1==this.selected?this.kg("checked","mixed"):this.kg("checked","false"))};k.prototype.getSelection=function(){return this.selected};f.BA=k})(B||(B={}));
|
|
195
|
-
(function(f){function k(){var h=f.Lf.call(this)||this;h.dk("switch");h.F.display="inline-block";h.F.Nc("fm-ui-btn")&&h.F.
|
|
195
|
+
(function(f){function k(){var h=f.Lf.call(this)||this;h.dk("switch");h.F.display="inline-block";h.F.Nc("fm-ui-btn")&&h.F.zd("fm-ui-btn");h.F.Y("fm-ui-toggle-btn");h.lf(0);return h}u(k,f.Lf);k.prototype.$j=function(h){this.BL()&&(this.toggle(),this.Xa(z.da.Qd,this,h))};k.prototype.toggle=function(){this.lf(1==this.selected?0:1)};k.prototype.lf=function(h){!0===h&&(h=1);!1===h&&(h=0);this.selected==h||1<h||-1>h||(this.selected=h,this.F.Wa("fm-selected",1==this.selected),this.bta(1==this.selected))};
|
|
196
196
|
k.prototype.getSelection=function(){return this.selected};f.BP=k})(B||(B={}));
|
|
197
|
-
(function(f){function k(){var h=f.BA.call(this)||this;h.F.display="inline-block";h.F.Nc("fm-ui-toggle-btn")&&h.F.
|
|
197
|
+
(function(f){function k(){var h=f.BA.call(this)||this;h.F.display="inline-block";h.F.Nc("fm-ui-toggle-btn")&&h.F.zd("fm-ui-toggle-btn");h.F.Y("fm-ui-checkbox");h.aH=new f.Qc("Label");h.F.append(h.aH.F);h.dk("checkbox");return h}u(k,f.BA);k.prototype.toggle=function(){f.BA.prototype.toggle.call(this);this.F.Wa("fm-ui-semi-selected",-1==this.getSelection())};k.prototype.bb=function(h,d){null!=this.aH&&this.aH.bb(h,void 0===d?!1:d)};k.prototype.J=function(){return null!=this.aH?this.aH.J():""};k.prototype.lf=
|
|
198
198
|
function(h){!0===h&&(h=1);!1===h&&(h=0);this.getSelection()==h||1<h||-1>h||(f.BA.prototype.lf.call(this,h),this.F.Wa("fm-ui-semi-selected",-1==this.getSelection()))};k.prototype.Ph=function(h){this.aH.Ph(h)};r.Object.defineProperties(k.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return 1==this.getSelection()},set:function(h){this.lf(h?1:0)}}});f.oJ=k})(B||(B={}));
|
|
199
199
|
(function(f){function k(){var h=f.Ca.call(this,"div","fm-ui-divider")||this;h.jfa=function(d){return h.Fw(d)};h.oDa=function(d){return h.Ew(d)};h.pDa=function(d){return h.Hq(d)};h.direction=k.LI;h.N("mousedown",h.oDa);w.Uj.addEventListener("mouseup",h.pDa);h.F.dl();return h}u(k,f.Ca);k.prototype.Ew=function(h){this.$s=this.direction==k.LI?this.rd():this.ef();this.HA=this.F.parent.Uf();w.Uj.addEventListener("mousemove",this.jfa);h.preventDefault();h.stopImmediatePropagation()};k.prototype.Fw=function(h){if(this.direction==
|
|
200
200
|
k.LI){var d=h.clientY-this.HA.top;if(this.PE&&(d<this.PE[1]||d>this.PE[3]))return;this.F.R("top",d-this.$s/2+"px");this.Xa(k.AW,this,{top:d})}this.direction==k.IX&&(h=h.clientX-this.HA.left,this.PE&&(h<this.PE[0]||h>this.PE[2])||(this.F.R("left",h-this.$s/2+"px"),this.Xa(k.AW,this,{left:h})))};k.prototype.Hq=function(){w.Uj.removeEventListener("mousemove",this.jfa)};r.Object.defineProperties(k.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this.WX},set:function(h){this.WX=
|
|
@@ -208,13 +208,13 @@ this.uv=!1;this.wv&&(this.wv.focus({preventScroll:!0}),this.wv=null)};h.prototyp
|
|
|
208
208
|
d;this.F.R("opacity",d?0:null);this.iq&&this.iq.F.R("opacity",d?0:null)}},bD:{configurable:!0,enumerable:!0,get:function(){return this.iq}}});k.ph=h})(f.Wb||(f.Wb={}))})(B||(B={}));(function(f){(function(k){function h(){return k.ze.call(this,"fm-ui-toolbar")||this}u(h,k.ze);k.WNa=h})(f.Wb||(f.Wb={}))})(B||(B={}));
|
|
209
209
|
(function(f){(function(k){function h(){var d=k.ze.call(this,"fm-ui-toolbar-mobile")||this;d.f1=new f.Qc;d.f1.Y("fm-ui-header-display");d.V(d.f1);return d}u(h,k.ze);h.prototype.aJa=function(d){this.Ci!=d&&(this.Ci=d,this.f1.bb(d))};k.XNa=h})(f.Wb||(f.Wb={}))})(B||(B={}));
|
|
210
210
|
(function(f){(function(k){function h(){this.items=[];this.nK=[]}h.prototype.vV=function(d){this.nK=d};h.prototype.F0=function(d,b){if(0>d||b>this.nK.length+1)return[];for(this.items.length=0;d<b;d++)this.items.push(this.nK[d]);return this.items};h.prototype.getItem=function(d){return this.nK[d]};h.prototype.CG=function(){return this.nK.length};k.QNa=h})(f.Xva||(f.Xva={}))})(B||(B={}));
|
|
211
|
-
(function(f){(function(k){function h(){return z.da.call(this,z.da.Qd)||this}function d(){var b=f.Ca.call(this,"ul","fm-ui-list")||this;b.hV=NaN;b.s_=x.
|
|
211
|
+
(function(f){(function(k){function h(){return z.da.call(this,z.da.Qd)||this}function d(){var b=f.Ca.call(this,"ul","fm-ui-list")||this;b.hV=NaN;b.s_=x.Cd().Zl?d.xka:d.wka;b.DH=[];b.uD=[];b.Yh=0;b.Fk=!1;b.useCache=!0;b.KE=!1;b.G=[];b.Bea=[];b.Xg=[];b.Ve="label";b.nu=b.gwa;b.QQ=b.F;b.dk("list");b.Kk=null;b.selectedIndex=-1;b.t4();return b}u(d,f.Ca);d.prototype.t4=function(){var b=this;this.F.N("click",function(a){return b.CU(a)});this.F.N("mousedown",function(a){return b.DU(a)});this.F.N("keydown",
|
|
212
212
|
function(a){return b.WC(a)})};d.prototype.Md=function(){isNaN(this.hV)&&0<this.Xg.length&&(this.hV=this.Xg[0].rd(!0)+parseInt(this.Xg[0].F.R("border-top-width"))+parseInt(this.Xg[0].F.R("border-bottom-width")));return isNaN(this.hV)?this.s_:this.hV};d.prototype.WIa=function(){this.s_=37};d.prototype.hw=function(){return 0};d.prototype.FG=function(){return this.G.length};d.prototype.hb=function(){this.Rr("data")&&this.Fwa();this.validate()};d.prototype.Fwa=function(){var b=this;this.NHa();for(var a,
|
|
213
|
-
c=this.wc(),e=0;e<c.length;e++)a=this.getItem(c[e],e),e==this.
|
|
214
|
-
c.fN(this.Go);c.xha();return c};d.prototype.Qa=function(b){this.Xg.push(b);this.V(b)};d.prototype.NHa=function(){for(;0<this.Xg.length;)this.Y9(this.Xg.pop())};d.prototype.removeItem=function(b){for(var a=0;a<this.Xg.length;a++)if(this.Xg[a]===b){this.Xg.splice(a,1);break}this.Y9(b)};d.prototype.Y9=function(b){null!=this.F.find(b.F.element.nodeName)&&b.F.remove()};d.prototype.WC=function(b){if(32==b.keyCode||13==b.keyCode)this.EU(this.
|
|
215
|
-
38==b.keyCode&&(this.
|
|
216
|
-
d.prototype.ZB=function(b){if(b=f.Aa.Qb(b).closest("li")){var a=parseInt(b.attr("data-index"));return isNaN(a)?null:{element:b,index:a,data:this.wc()[a]}}return null};d.prototype.Wt=function(){var b=this.hw()+this.
|
|
217
|
-
b)){var c=this.hw()+b,e=this.Kk,g=this.selectedIndex;this.ek(b);var l=new h;l.data={Kk:this.Kk,selectedIndex:this.selectedIndex,MIa:this.Xg[b].F,qp:a,GHa:c,wHa:e,vHa:g};this.Da(l)}};d.prototype.wc=function(){return this.G};d.prototype.Ef=function(b,a){this.G=b;this.
|
|
213
|
+
c=this.wc(),e=0;e<c.length;e++)a=this.getItem(c[e],e),e==this.Yh&&(this.QQ.kg("activedescendant",a.C0()),a.F.Y("fm-ui-active")),this.Qa(a);this.Wa("fm-ui-empty",0==c.length);this.Ixa&&this.F.prepend(this.Ixa);this.Hxa&&this.F.append(this.Hxa);this.F.requestAnimationFrame(function(){0<b.Xg.length&&(b.s_=b.Xg[0].rd())})};d.prototype.getItem=function(b,a){if(this.useCache&&0<this.Bea.length){var c=this.Bea.pop();c.setData(b);c.dm(a)}else c=this.nu(b,a),this.Ve&&c.Zf(this.Ve),this.uw&&c.wV(this.uw),this.Go&&
|
|
214
|
+
c.fN(this.Go);c.xha();return c};d.prototype.Qa=function(b){this.Xg.push(b);this.V(b)};d.prototype.NHa=function(){for(;0<this.Xg.length;)this.Y9(this.Xg.pop())};d.prototype.removeItem=function(b){for(var a=0;a<this.Xg.length;a++)if(this.Xg[a]===b){this.Xg.splice(a,1);break}this.Y9(b)};d.prototype.Y9=function(b){null!=this.F.find(b.F.element.nodeName)&&b.F.remove()};d.prototype.WC=function(b){if(32==b.keyCode||13==b.keyCode)this.EU(this.Yh,b),b.preventDefault();40==b.keyCode&&(this.ki(this.Yh+1),b.preventDefault());
|
|
215
|
+
38==b.keyCode&&(this.ki(this.Yh-1),b.preventDefault())};d.prototype.ki=function(b){this.Yh=Math.max(0,Math.min(this.Xg.length-1,b));b=ja(this.Xg);for(var a=b.next();!a.done;a=b.next())a.value.zd("fm-ui-active");this.QQ.kg("activedescendant","");if(b=this.Xg[this.Yh]){this.QQ.kg("activedescendant",b.C0());b.Y("fm-ui-active");a=this.F.parent.getBoundingClientRect();var c=b.F.getBoundingClientRect().top+this.F.parent.element.scrollTop,e=c+b.rd();c<a.top?b.F.element.scrollIntoView(!0):e>a.bottom&&b.F.element.scrollIntoView(!1)}};
|
|
216
|
+
d.prototype.ZB=function(b){if(b=f.Aa.Qb(b).closest("li")){var a=parseInt(b.attr("data-index"));return isNaN(a)?null:{element:b,index:a,data:this.wc()[a]}}return null};d.prototype.Wt=function(){var b=this.hw()+this.Yh;return 0<=b?w.v(this.wc()[b])||w.v(this.Xg[b])?null:{index:b,data:this.wc()[b],element:this.Xg[b].F}:null};d.prototype.DU=function(b){(b=this.ZB(b.target))&&this.ki(b.index)};d.prototype.CU=function(b){var a=this.ZB(b.target);a&&this.EU(a.index,b)};d.prototype.EU=function(b,a){if(!(0>
|
|
217
|
+
b)){var c=this.hw()+b,e=this.Kk,g=this.selectedIndex;this.ek(b);var l=new h;l.data={Kk:this.Kk,selectedIndex:this.selectedIndex,MIa:this.Xg[b].F,qp:a,GHa:c,wHa:e,vHa:g};this.Da(l)}};d.prototype.wc=function(){return this.G};d.prototype.Ef=function(b,a){this.G=b;this.Yh=0;(void 0===a||a)&&this.de("data")};d.prototype.wV=function(b){this.uw!=b&&(this.uw=b,this.de("data"))};d.prototype.Aq=function(){return this.Ve};d.prototype.Zf=function(b){this.Ve!=b&&(this.Ve=b,this.de("data"))};d.prototype.pG=function(){return this.Go};
|
|
218
218
|
d.prototype.fN=function(b){this.Go!=b&&(this.Go=b,this.de("data"))};d.prototype.Oh=function(b){this.nu=b;this.de("data")};d.prototype.us=function(b){-1<b&&b<this.Xg.length&&this.Xg[b].Sq()};d.prototype.Rq=function(b){for(var a,c=0;c<this.Xg.length;c++)if(a=this.Xg[c].getData(),w.qg(b)){if(b(a)){this.Xg[c].Sq();break}}else if(a===b){this.Xg[c].Sq();break}};d.prototype.JG=function(){return this.selectedIndex};d.prototype.ek=function(b){var a=this.wc();-1<b&&b<a.length?this.WV(a[b],b):this.WV(null,-1)};
|
|
219
219
|
d.prototype.uh=function(){return this.Kk};d.prototype.ps=function(b){var a=this.wc();if(w.qg(b))for(var c=0;c<a.length;c++){if(!w.v(a[c])&&b(a[c])){this.WV(a[c],c);break}}else a=a.indexOf(b),-1<a&&this.WV(b,a)};d.prototype.WV=function(b,a){if(this.yr){var c=-1<this.uD.indexOf(a);!(c=!c)&&2>this.uD.length||(c?(this.uD.push(a),this.DH.push(b)):(this.uD.splice(this.uD.indexOf(a),1),this.DH.splice(this.DH.indexOf(b),1)),this.Fk&&(b.isSelected=c,this.us(a)))}else this.Fk&&null!=this.Kk&&(this.Kk.isSelected=
|
|
220
220
|
!1,this.us(this.selectedIndex)),this.Kk=b,this.selectedIndex=a,this.Fk&&null!=this.Kk&&(this.Kk.isSelected=!0,this.us(this.selectedIndex))};d.prototype.gwa=function(b,a){var c=new f.Yf.yo;c.setData(b);c.dm(a);return c};d.prototype.FL=function(){return this.Md()*this.wc().length};d.prototype.jN=function(b){this.uD=b;this.DH.length=0;b=this.wc();for(var a=0;a<b.length;a++)-1<this.uD.indexOf(a)?(this.DH.push(b[a]),this.Fk&&(b[a].isSelected=!0,this.us(a))):this.Fk&&(b[a].isSelected=!1,this.us(a))};d.prototype.NL=
|
|
@@ -222,35 +222,35 @@ function(){return this.DH};d.prototype.Hr=function(b){this.F.Hr(b,this)};d.proto
|
|
|
222
222
|
(function(f){(function(k){function h(b,a){var c=k.Dh.call(this)||this;c.parent=b;c.fl=a;c.QQ=c.fl.F;c.t4();c.dk("listbox");return c}function d(){var b=f.Ca.call(this,"div","fm-ui-dropdown")||this;b.prompt="Choose item";b.uv=!1;b.rY=!1;b.KE=!1;b.F.display="inline-block";b.fl=new k.Ppa;b.fl.N("click",function(){return b.ku?b.close():b.open()});b.fl.N("keydown",function(a){return b.FDa(a)});b.fl.N("blur",function(){return b.close()});b.bL=new f.Ca("div","fm-ui-dropdown-list");b.bL.Va();b.Se=new h(b,
|
|
223
223
|
b.fl);b.Se.xha();b.Se.Fk=!0;b.Se.Oh(b.nu);b.Se.N(z.da.Qd,function(a){return b.vu(a)});b.bL.V(b.Se);b.fl.kg("controls",b.Se.C0());b.V(b.fl);b.V(b.bL);return b}u(d,f.Ca);d.prototype.nu=function(b,a){var c=new f.Yf.mJ;c.setData(b);c.dm(a);return c};d.prototype.vu=function(b){this.Lt(null==b.data.Kk);this.Xa(z.da.Qd,this,b.data);this.fl.focus({preventScroll:!0});this.yr||this.close()};d.prototype.FDa=function(b){27==b.keyCode&&(this.close(),b.stopImmediatePropagation())};d.prototype.Lt=function(b){var a=
|
|
224
224
|
this.Se.uh(),c=b||this.yr||null==a?this.prompt:a[this.Aq()];a=b||this.yr||null==a||w.ia(this.Se.pG())||w.v(a[this.pG()])?"":a[this.pG()];this.fl.bb(c);w.ia(a)||(this.fl.nM.lc(a),this.fl.nM.Ph(a));this.F.Wa("fm-ui-prompt",b)};d.prototype.xD=function(b){this.prompt!==b&&(this.prompt=b,this.Lt(!0))};d.prototype.open=function(){!this.uv&&this.BL()&&(this.uv=!0,this.bL.show(),this.fl.lf(1))};d.prototype.close=function(){0!=this.uv&&this.BL()&&(this.uv=!1,this.bL.Va(),this.fl.lf(0))};d.prototype.wc=function(){return this.Se.wc()};
|
|
225
|
-
d.prototype.Ef=function(b){var a=this.Wt();this.Se.Ef(b);this.rY&&a&&this.
|
|
226
|
-
d.prototype.jN=function(b){this.Se.jN(b);this.Lt(!0)};d.prototype.uh=function(){return this.Se.uh()};d.prototype.ps=function(b){this.Se.ps(b);this.Lt(null==this.Se.uh())};d.prototype.NL=function(){return this.Se.NL()};d.prototype.show=function(){f.Ca.prototype.show.call(this)};d.prototype.Md=function(){return this.Se.Md()};d.prototype.FG=function(){return this.Se.FG()};d.prototype.Rq=function(){};d.prototype.FL=function(){return 0};d.prototype.Wt=function(){return this.Se.Wt()};d.prototype.
|
|
227
|
-
d.prototype.lc=function(b){return this.fl.lc(b)};r.Object.defineProperties(d.prototype,{ku:{configurable:!0,enumerable:!0,get:function(){return this.uv}},yr:{configurable:!0,enumerable:!0,set:function(b){this.KE=b;this.Se.yr=b;this.KE?this.Se.F.Y("fm-ui-dropdown-multiple-selection-list"):this.Se.F.
|
|
225
|
+
d.prototype.Ef=function(b){var a=this.Wt();this.Se.Ef(b);this.rY&&a&&this.ki(a.index)};d.prototype.Aq=function(){return this.Se.Aq()};d.prototype.Zf=function(b){this.Se.Zf(b)};d.prototype.pG=function(){return this.Se.pG()};d.prototype.fN=function(b){this.Se.fN(b)};d.prototype.Oh=function(b){this.Se.Oh(b)};d.prototype.Sq=function(){this.Se.Sq()};d.prototype.us=function(b){this.Se.us(b)};d.prototype.JG=function(){return this.Se.JG()};d.prototype.ek=function(b){this.Se.ek(b);this.Lt(null==this.Se.uh())};
|
|
226
|
+
d.prototype.jN=function(b){this.Se.jN(b);this.Lt(!0)};d.prototype.uh=function(){return this.Se.uh()};d.prototype.ps=function(b){this.Se.ps(b);this.Lt(null==this.Se.uh())};d.prototype.NL=function(){return this.Se.NL()};d.prototype.show=function(){f.Ca.prototype.show.call(this)};d.prototype.Md=function(){return this.Se.Md()};d.prototype.FG=function(){return this.Se.FG()};d.prototype.Rq=function(){};d.prototype.FL=function(){return 0};d.prototype.Wt=function(){return this.Se.Wt()};d.prototype.ki=function(b){this.Se.ki(b)};
|
|
227
|
+
d.prototype.lc=function(b){return this.fl.lc(b)};r.Object.defineProperties(d.prototype,{ku:{configurable:!0,enumerable:!0,get:function(){return this.uv}},yr:{configurable:!0,enumerable:!0,set:function(b){this.KE=b;this.Se.yr=b;this.KE?this.Se.F.Y("fm-ui-dropdown-multiple-selection-list"):this.Se.F.zd("fm-ui-dropdown-multiple-selection-list")},get:function(){return this.KE}},Fk:{configurable:!0,enumerable:!0,set:function(b){this.Se.Fk=b}},jCa:{configurable:!0,enumerable:!0,get:function(){return this.rY},
|
|
228
228
|
set:function(b){this.rY=b}}});k.gr=d;u(h,k.Dh);h.prototype.t4=function(){var b=this;this.fl&&(this.N("mousedown",function(a){return b.CU(a)}),this.fl.N("keydown",function(a){return b.WC(a)}))};h.prototype.WC=function(b){if(this.parent.ku)k.Dh.prototype.WC.call(this,b);else if(13==b.keyCode||32==b.keyCode)this.parent.open(),b.preventDefault()}})(f.kd||(f.kd={}))})(B||(B={}));
|
|
229
|
-
(function(f){(function(k){function h(){var b=k.Dh.call(this)||this;b.
|
|
230
|
-
b.index)};d.prototype.WC=function(b){if(32==b.keyCode||13==b.keyCode)this.EU(this.
|
|
231
|
-
this.
|
|
232
|
-
Math.min(b,this.ct.rd()-this.
|
|
233
|
-
function(){return this.
|
|
234
|
-
d.prototype.ps=function(b){this.
|
|
235
|
-
get:function(){return this.
|
|
229
|
+
(function(f){(function(k){function h(){var b=k.Dh.call(this)||this;b.Yh=-1;return b}function d(){var b=f.Ca.call(this)||this;b.Yh=0;b.Y("fm-ui-vlist");b.Xh=new h;b.Xh.WIa();b.Xh.N(z.da.Qd,function(a){return b.vu(a)});b.V(b.Xh);b.ct=new f.Ca("div","fm-ui-vlist-placeholder");b.V(b.ct);b.N("scroll",function(){return b.u3()});b.N("mousedown",function(a){return b.DU(a)});b.N("keydown",function(a){return b.WC(a)});return b}u(d,f.Ca);d.prototype.DU=function(b){(b=this.Xh.ZB(b.target))&&this.ki(this.hw()+
|
|
230
|
+
b.index)};d.prototype.WC=function(b){if(32==b.keyCode||13==b.keyCode)this.EU(this.Yh,b),b.preventDefault();40==b.keyCode&&(this.ki(this.Yh+1),this.dN(this.Yh),b.preventDefault());38==b.keyCode&&(this.ki(this.Yh-1),this.dN(this.Yh),b.preventDefault())};d.prototype.dN=function(b){var a=this.Md();b*=a;a=b+a;var c=this.F.element.scrollTop,e=this.F.rd();c>b?this.F.Qw(b):c+e<a&&this.F.Qw(a-e)};d.prototype.ki=function(b){this.Yh=Math.max(0,Math.min(this.Tg().CG()-1,b));this.Yh>=this.hw()&&this.Yh<this.Oca()&&
|
|
231
|
+
this.Xh.ki(this.Yh-this.hw())};d.prototype.Wt=function(){return this.Xh.Wt()};d.prototype.EU=function(b,a){if(!(0>b)){var c=this.uh(),e=this.JG();this.ek(b);var g=new k.Qpa;g.data={Kk:this.uh(),selectedIndex:this.JG(),qp:a,GHa:b,wHa:c,vHa:e};this.Da(g)}};d.prototype.vu=function(b){this.Da(b)};d.prototype.u3=function(){this.de("data")};d.prototype.hb=function(){this.ct.Bp(Math.min(this.FL(),d.QO));if(this.Rr("data")){this.Xh.Ef(this.wc());var b=this.hw()*this.Md()*this.HG()-this.fda();this.Xh.F.top=
|
|
232
|
+
Math.min(b,this.ct.rd()-this.Xh.F.height);this.ki(this.Yh)}this.validate()};d.prototype.HG=function(){return this.FL()>d.QO?d.QO/this.FL():1};d.prototype.hw=function(){return 1!=this.HG()?Math.floor((this.F.element.scrollTop+this.fda())/this.HG()/this.Md()):Math.max(0,Math.floor(this.F.element.scrollTop/this.Md())-1)};d.prototype.Oca=function(){return this.hw()+this.FG()};d.prototype.fda=function(){return 1!=this.HG()?(this.rd()/this.HG()-this.rd())*(this.F.element.scrollTop/d.QO)*this.HG():0};d.prototype.Aq=
|
|
233
|
+
function(){return this.Xh.Aq()};d.prototype.Zf=function(b){this.Xh.Zf(b)};d.prototype.Oh=function(b){this.Xh.Oh(b)};d.prototype.us=function(b){this.Xh.us(b)};d.prototype.Rq=function(b){this.Xh.Rq(b)};d.prototype.Md=function(){return this.Xh.Md()};d.prototype.FG=function(){return 0<this.Md()?Math.ceil(this.rd()/this.Md())+3:0};d.prototype.JG=function(){return this.Xh.JG()};d.prototype.ek=function(b){this.Xh.ek(b)};d.prototype.jN=function(b){this.Xh.jN(b)};d.prototype.uh=function(){return this.Xh.uh()};
|
|
234
|
+
d.prototype.ps=function(b){this.Xh.ps(b)};d.prototype.NL=function(){return this.Xh.NL()};d.prototype.FL=function(){return this.Md()*this.Tg().CG()};d.prototype.Tg=function(){return this.GJa};d.prototype.v4=function(b){this.GJa=b};d.prototype.jJa=function(){this.F.Qw(0)};d.prototype.Ef=function(b){this.Tg()&&(this.Tg().vV(b),this.jJa(),this.de("data"))};d.prototype.wc=function(){return this.Tg()?this.Tg().F0(this.hw(),this.Oca()):[]};r.Object.defineProperties(d.prototype,{yr:{configurable:!0,enumerable:!0,
|
|
235
|
+
get:function(){return this.Xh.yr},set:function(b){this.Xh.yr=b}}});d.QO=1E6;k.GX=d;u(h,k.Dh);h.prototype.DU=function(){};h.prototype.WC=function(){};h.prototype.Ef=function(b,a){this.G=b;this.Yh=-1;(void 0===a||a)&&this.de("data")};h.prototype.ki=function(b){this.Yh=Math.max(0,Math.min(this.Xg.length-1,b));b=ja(this.Xg);for(var a=b.next();!a.done;a=b.next())a.value.zd("fm-ui-active");(b=this.Xg[this.Yh])&&b.Y("fm-ui-active")}})(f.kd||(f.kd={}))})(B||(B={}));
|
|
236
236
|
(function(f){(function(k){function h(){var d=f.BA.call(this)||this;d.Y("fm-ui-dropdown-btn");d.nM=new f.Qc;d.V(d.nM);d.F.Od();d.dk("combobox");d.kg("haspopup","listbox");d.T$(!1);return d}u(h,f.BA);h.prototype.bb=function(d){this.nM.bb(d,!0);this.nM.Ph(d)};k.Ppa=h})(f.kd||(f.kd={}))})(B||(B={}));
|
|
237
237
|
(function(f){(function(k){function h(){var d=f.Ca.call(this,"li")||this;d.Ve="label";d.dk("option");return d}u(h,f.Ca);h.prototype.getData=function(){return this.data};h.prototype.setData=function(d){null!=d&&(this.data=d,this.de("data"))};h.prototype.dm=function(d){this.F.attr("data-index",d)};h.prototype.Aq=function(){return this.Ve};h.prototype.Zf=function(d){this.Ve!=d&&(this.Ve=d,this.de("data"))};h.prototype.pG=function(){return this.Go};h.prototype.fN=function(d){this.Go!=d&&(this.Go=d,this.de("data"))};
|
|
238
238
|
h.prototype.wV=function(d){this.uw!=d&&(this.uw=d,this.de("data"))};h.prototype.J=function(){return this.uw?this.uw(this.data):this.data[this.Ve]};h.prototype.hb=function(){this.Rr("data")&&(this.F.text(this.data[this.Ve]),w.ia(this.Go)||w.v(this.data[this.Go])||this.lc(this.data[this.Go]));this.validate()};k.yo=h})(f.Yf||(f.Yf={}))})(B||(B={}));
|
|
239
239
|
(function(f){(function(k){function h(){return k.yo.apply(this,arguments)||this}u(h,k.yo);h.prototype.hb=function(){var d=this.getData();null==this.label&&(this.label=new f.Qc,this.label.Y("fm-text-display"),this.F.append(this.label.F));this.label.bb(d[this.Aq()],!0);this.U$(!0===d.isSelected);this.F.Wa("fm-selected",!0===d.isSelected);this.F.Wa("fm-not-selected",!0!==d.isSelected);w.ia(this.Go)||w.v(this.data[this.Go])||this.label.lc(this.data[this.Go])};k.mJ=h})(f.Yf||(f.Yf={}))})(B||(B={}));
|
|
240
|
-
var Da=B||(B={}),Ea=Da.Ji||(Da.Ji={}),Fa=Ea.
|
|
240
|
+
var Da=B||(B={}),Ea=Da.Ji||(Da.Ji={}),Fa=Ea.Uh||(Ea.Uh={});Fa.mj="top";Fa.Rh="bottom";Fa.nE="left";Fa.FE="right";
|
|
241
241
|
(function(f){(function(k){function h(d,b){var a=this;this.OJ=function(c){return a.Ew(c)};this.at=function(c){return a.Hq(c)};this.cB=function(c){return a.Fw(c)};this.target=d;this.options=b;this.Bva()}h.prototype.Bva=function(){for(var d=0;d<this.options.EV.length;d++)this.Et(this.options.EV[d])};h.prototype.Et=function(d){var b=new f.Aa("div","fm-resizable-handle");b.Y("fm-"+d);b.N("mousedown",this.OJ);this.target.V(b);return b};h.prototype.Ew=function(d){d=f.Aa.Qb(d.target);d.Nc("fm-left")?this.Bx=
|
|
242
|
-
k.
|
|
243
|
-
this.Bx==k.
|
|
242
|
+
k.Uh.nE:d.Nc("fm-right")?this.Bx=k.Uh.FE:d.Nc("fm-top")?this.Bx=k.Uh.mj:d.Nc("fm-bottom")&&(this.Bx=k.Uh.Rh);this.vN()};h.prototype.Hq=function(d){this.Hfa(d.clientX,d.clientY);this.wN()};h.prototype.Fw=function(d){this.Hfa(d.clientX,d.clientY)};h.prototype.Hfa=function(d,b){this.zJ&&(d=Math.min(Math.max(this.zJ.left,d),this.zJ.right),b=Math.max(this.zJ.top,b),!0!==this.options.pZ&&(b=Math.min(this.zJ.bottom,b)));var a={left:this.eB.left,top:this.eB.top},c={width:this.AY.width,height:this.AY.height};
|
|
243
|
+
this.Bx==k.Uh.nE&&(a.left=d,c.width+=this.eB.left-a.left);this.Bx==k.Uh.FE&&(c.width=d-this.eB.left);this.Bx==k.Uh.mj&&(a.top=b,c.height+=this.eB.top-a.top);this.Bx==k.Uh.Rh&&(c.height=b-this.eB.top);this.options.resize&&this.options.resize({ED:this.Bx,jOa:this.eB,B3:this.AY,position:a,size:c})};h.prototype.vN=function(){document.addEventListener("mousemove",this.cB);document.addEventListener("mouseup",this.at);this.AY={width:this.target.ef(!0),height:this.target.rd(!0)};this.eB={left:this.target.Uf().left,
|
|
244
244
|
top:this.target.Uf().top};this.zJ=this.options.CR?this.options.CR.getBoundingClientRect():null};h.prototype.wN=function(){document.removeEventListener("mousemove",this.cB);document.removeEventListener("mouseup",this.at);this.options.complete&&this.options.complete()};h.prototype.dispose=function(){document.removeEventListener("mousemove",this.cB);document.removeEventListener("mouseup",this.at)};k.Voa=h})(f.Ji||(f.Ji={}))})(B||(B={}));
|
|
245
245
|
(function(f){(function(k){function h(){return f.Yf.mJ.apply(this,arguments)||this}u(h,f.Yf.mJ);h.prototype.hb=function(){f.Yf.mJ.prototype.hb.call(this);var d=this.data.submenu&&0<this.data.submenu.length;this.F.Wa("fm-has-submenu",d);this.dta(d)};k.G8=h})(f.Po||(f.Po={}))})(B||(B={}));
|
|
246
246
|
(function(f){(function(k){function h(b){var a=f.Wb.nJ.call(this)||this;a.parent=b;a.Y("fm-ui-context-submenu");a.N("keydown",function(c){return a.np(c)});a.list=new f.kd.Dh;a.list.Oh(function(c,e){return a.WJa(c,e)});a.list.Zf("caption");a.list.ve();a.V(a.list);return a}function d(b){var a=f.Wb.nJ.call(this)||this;a.LV=function(c){return a.iGa(c)};a.parent=b;a.Y("fm-ui-context-menu");a.list=new f.kd.Dh;a.list.Oh(function(c,e){return a.nu(c,e)});a.list.Zf("caption");a.list.ve();a.list.N(z.da.Qd,function(c){return a.vu(c)});
|
|
247
247
|
a.V(a.list);a.xz=new h(a);a.xz.list.N(z.da.Qd,function(c){return a.vu(c)});a.xz.Va();a.V(a.xz);a.F.dl();a.F.N("mouseleave",function(){a.kaa=setTimeout(function(){return a.close()},500)});a.F.N("mouseover",function(){clearTimeout(a.kaa)});a.F.N("keydown",function(c){27==c.keyCode&&(a.close(),c.stopImmediatePropagation())});return a}u(d,f.Wb.nJ);d.prototype.$n=function(b,a,c,e,g){var l=this;e=void 0===e?null:e;0!=a.length&&(this.mK=void 0===g?null:g,this.setData(a),this.show(),this.wv=document.activeElement,
|
|
248
|
-
this.list.focus({preventScroll:!0}),b=b.Uf(),c.top-=b.top,c.top+=e&&!isNaN(e.top)?e.top:-5,c.left-=b.left,c.left+=e&&!isNaN(e.left)?e.left:-5,this.F.offset(c),e=this.F.getBoundingClientRect(),b=!1,e.right>window.innerWidth&&(c.left-=e.width-10,b=!0),e.bottom>window.innerHeight&&(c.top-=e.height-10,b=!0),b&&(c.top=Math.max(-this.F.parent.top,c.top),c.left=Math.max(-this.F.parent.left,c.left),this.F.offset(c)),x.
|
|
248
|
+
this.list.focus({preventScroll:!0}),b=b.Uf(),c.top-=b.top,c.top+=e&&!isNaN(e.top)?e.top:-5,c.left-=b.left,c.left+=e&&!isNaN(e.left)?e.left:-5,this.F.offset(c),e=this.F.getBoundingClientRect(),b=!1,e.right>window.innerWidth&&(c.left-=e.width-10,b=!0),e.bottom>window.innerHeight&&(c.top-=e.height-10,b=!0),b&&(c.top=Math.max(-this.F.parent.top,c.top),c.left=Math.max(-this.F.parent.left,c.left),this.F.offset(c)),x.Cd().Zl?w.K.Hb.zb.N("touchstart",this.LV):w.K.Hb.zb.N("mousedown",this.LV),this.Eda=!0,
|
|
249
249
|
w.re(function(){l.Eda=!1},100))};d.prototype.iGa=function(b){this.F.BR(b)||this.close()};d.prototype.close=function(b){b=void 0===b?null:b;clearTimeout(this.kaa);if(this.F.visible){this.Va();this.xz.Va();w.K.Hb.zb.mb("mousedown",this.LV);w.K.Hb.zb.mb("touchstart",this.LV);var a=b&&!0===b.preventFocusRestore?!1:!0;this.mK&&(a=this.mK(b),this.mK=null);this.wv&&!1!==a&&this.wv.focus({preventScroll:!0})}};d.prototype.setData=function(b){this.list.Ef(b.slice())};d.prototype.vu=function(b){var a=b.data.Kk;
|
|
250
250
|
a.submenu&&0<a.submenu.length?(this.xz.$n(b.data.MIa,a),this.xz.list.focus()):(null!=a.handler&&a.handler(a.data),b.data.qp&&b.data.qp.stopImmediatePropagation(),this.close(a))};d.prototype.nu=function(b,a){var c=this,e=new k.G8;e.setData(b);e.dm(a);w.ia(b["class"])||e.Y(b["class"]);e.N("mouseover",function(){return c.zFa(e,b)});return e};d.prototype.zFa=function(b,a){this.Eda||(a.submenu&&0<a.submenu.length?this.xz.$n(b.F,a):this.xz.Va())};d.prototype.focus=function(b){this.list.focus(void 0===b?
|
|
251
251
|
null:b)};k.IE=d;u(h,f.Wb.nJ);h.prototype.np=function(b){27==b.keyCode&&(this.parent&&this.parent.focus(),this.Va(),b.stopImmediatePropagation())};h.prototype.WJa=function(b,a){var c=new k.G8;c.setData(b);c.dm(a);w.ia(b["class"])||c.Y(b["class"]);return c};h.prototype.$n=function(b,a){if(a!=this.Ofa){this.Ofa=a;this.list.Ef(a.submenu.slice());a=b.Uf(this.parent.F.element);this.F.top=a.top-1;this.F.left=b.ef(!0)-5;this.show();var c=this.F.getBoundingClientRect();c.right>window.innerWidth&&(this.F.left=
|
|
252
252
|
-c.width,0>this.F.left&&(this.F.left=-this.F.left));c.bottom>window.innerHeight&&(this.F.top=a.top-c.height+b.rd(!0)+1,0>this.F.top&&(this.F.top=-this.F.top))}};h.prototype.Va=function(){f.Wb.nJ.prototype.Va.call(this);this.Ofa=null}})(f.Po||(f.Po={}))})(B||(B={}));
|
|
253
|
-
(function(f){(function(k){function h(d){var b=this;this.target=d;x.
|
|
253
|
+
(function(f){(function(k){function h(d){var b=this;this.target=d;x.Cd().Zl?(new f.tF.Rma(this.target)).yCa(function(a,c){return b.f3(a,c)}):w.Uj.addEventListener("contextmenu",function(a){return b.qra(a)})}h.prototype.f3=function(){};h.prototype.t3=function(){};h.prototype.qra=function(d){this.target.BR(d)&&this.t3(d)};k.s8=h})(f.Po||(f.Po={}))})(B||(B={}));
|
|
254
254
|
(function(f){(function(k){function h(){var d=f.Ca.call(this,"div","fm-ui-datepicker-input")||this;d.$b="dd/MM/yyyy";d.kra=1900;d.ira=2100;d.Kfa=function(a){return d.EFa(a)};d.jy=new f.Vi;d.jy.F.N("click",function(){return d.open()});d.jy.N(f.Vi.gx,function(a){return d.UEa(a)});d.jy.N(f.Vi.aA,function(){return d.VEa()});d.V(d.jy);var b=new f.Aa("i","fm-ui-datepicker-icon");b.N("click",function(){return d.TEa()});d.F.V(b);d.Bba=new f.Aa("div","fm-ui-datepicker-dropdown");d.F.V(d.Bba);d.So=new k.Opa;
|
|
255
255
|
d.So.N(z.da.Qd,function(){return d.pEa()});d.Bba.V(d.So.F);d.de();return d}u(h,f.Ca);h.prototype.hb=function(){this.Rr("all","date")&&(this.So.CH?this.jy.ij(this.So.CH.format(this.$b)):this.jy.ij(""));this.Rr("timezone")&&this.jy.xD(this.yza());f.Ca.prototype.hb.call(this)};h.prototype.open=function(){this.F.Wa("fm-opened",!0);this.So.reset();document.body.addEventListener("mousedown",this.Kfa)};h.prototype.close=function(){this.F.Wa("fm-opened",!1);document.body.removeEventListener("mousedown",this.Kfa);
|
|
256
256
|
this.de("date")};h.prototype.lJa=function(){this.oc=(new w.Jg).Wg(this.Mi)};h.prototype.JGa=function(d){var b="MM/dd/yyyy"==this.$b,a=d.split("/");d=parseInt(a[2]);isNaN(d)||(d=Math.min(this.ira,Math.max(this.kra,d)));var c=parseInt(a[b?0:1])-1;isNaN(c)||(c=Math.min(11,Math.max(0,c)));b=parseInt(a[b?1:0]);isNaN(b)||(b=Math.min(w.Jg.q_(c,d),Math.max(1,b)));b=(new w.Jg).Wg(this.Mi).setFullYear(d,c,b);return b.Eg()?b:null};h.prototype.TEa=function(){this.F.Nc("fm-opened")?this.close():this.open()};h.prototype.UEa=
|
|
@@ -258,7 +258,7 @@ function(d){d=this.JGa(d.data);w.v(d)||(this.So.CH=d,this.Xa(z.da.Qd,this,this.o
|
|
|
258
258
|
set:function(d){this.So.CH=d;this.de("date")}},OD:{configurable:!0,enumerable:!0,get:function(){return this.So.OD},set:function(d){this.So.OD=d}},Mi:{configurable:!0,enumerable:!0,get:function(){return this.So.Mi},set:function(d){this.So.Mi=d;this.de("timezone")}},bR:{configurable:!0,enumerable:!0,set:function(d){this.So.bR=d}},Zaa:{configurable:!0,enumerable:!0,get:function(){return this.$b},set:function(d){"dd/MM/yyyy"!=d&&"MM/dd/yyyy"!=d||this.$b==d||(this.$b=d,this.Sq())}}});k.H8=h})(f.UK||(f.UK=
|
|
259
259
|
{}))})(B||(B={}));
|
|
260
260
|
(function(f){(function(k){function h(){var b=f.Ca.call(this)||this;b.OKa=x.kh.hza();b.hfa=x.kh.Lza();b.um=null;b.mq=null;b.bK=0;b.K=d.Zq;b.UY=1;b.SY=null;b.Y("fm-ui-datepicker");b.Y("fm-noselect");b.um=(new w.Jg).Wg(b.Mi).OH();var a=new f.Aa("div","fm-ui-dp-header");b.F.V(a);b.aaa=new f.Lf("fm-prev-btn");b.aaa.N(f.ud.$e,function(){return b.qfa(-1)});a.V(b.aaa.F);b.AM=new f.Qc;b.AM.Y("fm-ui-dp-month");b.AM.N("click",function(){return b.xFa()});a.V(b.AM.F);b.XH=new f.Qc;b.XH.Y("fm-ui-dp-year");b.XH.N("click",
|
|
261
|
-
function(){return b.wGa()});a.V(b.XH.F);b.$$=new f.Lf("fm-next-btn");b.$$.N(f.ud.$e,function(){return b.qfa(1)});a.V(b.$$.F);b.q5=new f.Aa("div","fm-ui-dp-week");b.F.V(b.q5);b.ky=new f.Aa("div","fm-ui-dp-dates");b.ky.N("click",function(c){return b.mEa(c)});b.F.V(b.ky);a=new f.Aa("div","fm-ui-dp-footer");b.F.V(a);b.Ae=new f.ud("fm-ui-link-btn");b.Ae.Y("fm-cancel-btn");b.Ae.Y("fm-muted");b.Ae.
|
|
261
|
+
function(){return b.wGa()});a.V(b.XH.F);b.$$=new f.Lf("fm-next-btn");b.$$.N(f.ud.$e,function(){return b.qfa(1)});a.V(b.$$.F);b.q5=new f.Aa("div","fm-ui-dp-week");b.F.V(b.q5);b.ky=new f.Aa("div","fm-ui-dp-dates");b.ky.N("click",function(c){return b.mEa(c)});b.F.V(b.ky);a=new f.Aa("div","fm-ui-dp-footer");b.F.V(a);b.Ae=new f.ud("fm-ui-link-btn");b.Ae.Y("fm-cancel-btn");b.Ae.Y("fm-muted");b.Ae.zd("fm-ui-btn");b.Ae.bb("Cancel");b.Ae.N(f.ud.$e,function(){return b.Zr()});a.V(b.Ae.F);b.de();return b}function d(){}
|
|
262
262
|
d.Zq=0;d.XI=1;d.vJ=2;u(h,f.Ca);h.prototype.hb=function(){this.Rr("all")&&this.Owa();this.Rr("date","view")&&this.Iwa();this.Rr("date","view")&&this.K==d.Zq&&this.xwa();this.Rr("view")&&this.K==d.XI&&this.Jwa();this.Rr("view")&&this.K==d.vJ&&this.Pwa();f.Ca.prototype.hb.call(this)};h.prototype.reset=function(){this.um=this.mq?this.mq.clone().OH():(new w.Jg).Wg(this.Mi).OH();this.bK=0;this.view=d.Zq;this.de("view")};h.prototype.Iwa=function(){if(this.view==d.Zq||this.view==d.XI)this.AM.bb(this.hfa[this.um.getMonth()]),
|
|
263
263
|
this.XH.bb(this.um.getFullYear().toString());if(this.view==d.vJ){var b=this.nda();this.XH.bb(b+" \u2013 "+(b+19))}this.XH.F.Wa("fm-disabled",this.view!=d.Zq);this.AM.F.Wa("fm-disabled",this.view!=d.Zq)};h.prototype.nda=function(){for(var b=this.um.getFullYear()-10;0!=b%10;)b++;return b+=20*this.bK};h.prototype.Owa=function(){this.q5.empty();for(var b=0;7>b;b++){var a=new f.Qc(this.OKa[(b+this.OD)%7].substr(0,2));a.Y("fm-ui-dp-day-title");a.Y("fm-ui-dp-col-7");this.q5.V(a.F)}};h.prototype.Pwa=function(){var b=
|
|
264
264
|
this.nda();this.ky.empty();for(var a=0;20>a;a++){var c=new f.Qc(b.toString());c.Y("fm-ui-dp-date-label");c.Y("fm-ui-dp-col-5");this.mq?this.mq.getFullYear()==b&&c.Y("fm-selected"):this.um.getFullYear()==b&&c.Y("fm-highlighted");c.F.attr("data-year",b);this.ky.V(c.F);b++}};h.prototype.Jwa=function(){var b=this;this.ky.empty();this.hfa.forEach(function(a,c){a=new f.Qc(a);a.Y("fm-ui-dp-date-label");a.Y("fm-ui-dp-col-3");b.mq?b.mq.getMonth()==c&&a.Y("fm-selected"):b.um.getMonth()==c&&a.Y("fm-highlighted");
|
|
@@ -327,30 +327,30 @@ k.cb.fv.tb(k.cb.fv.Al(d));k.size.pd.clear();k.size.pd.vZ(d);this.refresh();this.
|
|
|
327
327
|
d.thousandSeparator);f.v(d.thousandsSeparator)||(b.thousandsSeparator=d.thousandsSeparator);f.v(d.recordsetDelimiter)||(b.recordsetDelimiter=d.recordsetDelimiter);f.v(d.browseForFile)||(b.browseForFile=d.browseForFile);f.v(d.data)||(b.data=d.data);f.v(d.binary)||(b.binary=d.binary);f.v(d.ignoreQuotedLineBreaks)||(b.ignoreQuotedLineBreaks=d.ignoreQuotedLineBreaks);f.v(d.roles)||(b.roles=d.roles);f.v(d.hash)||(b.hash=d.hash);f.v(d.username)||(b.username=d.username);f.v(d.password)||(b.password=d.password);
|
|
328
328
|
f.v(d.host)||(b.host=d.host);f.v(d.node)||(b.node=d.node);f.v(d.index)||(b.index=d.index);f.v(d.mapping)||(b.mapping=d.mapping);f.v(d.useStreamLoader)||(b.useStreamLoader=d.useStreamLoader);f.v(d.url)||(b.url=d.url);f.v(d.withCredentials)||(b.withCredentials=d.withCredentials);return b};h.prototype.MF=function(d){this.Ga.MF(this.eaa(d))};h.prototype.Kd=function(d,b){b.partial?this.Ga.zKa(d.data,b):this.Ga.Kd(this.eaa(d),b)};h.prototype.getData=function(d,b,a){if(k.Fa.rc.To||k.Fa.rc.sp||k.Fa.rc.Qx)if(null!=
|
|
329
329
|
a&&(f.Mg.instance.on("update",function(){f.Mg.instance.getData(d,a)}),this.N(k.$b.i7.c7,function(){f.Mg.instance.getData(d,a)})),null!=d&&null!=d.slice){var c=d.slice instanceof k.cb.SliceValueObject?d.slice:k.cb.SliceValueObject.tb(d.slice);k.CC.IO.P().IIa(c,b)}else c=k.CC.IO.P().getData(),k.CC.IO.P().qba(b,c);else f.Ua(k.Fa.na.J(k.Fa.na.FZ),k.Fa.na.J(k.Fa.na.QC))};h.prototype.n0=function(){return k.ra.jm.Pza()};h.prototype.r0=function(d){return(d=k.ra.jm.get(d))?d.Ma():null};h.prototype.RQ=function(d){k.ra.jm.add(k.ra.W.i6.tb(d))};
|
|
330
|
-
h.prototype.cV=function(d){k.ra.jm.remove(d)};h.prototype.bV=function(){k.ra.jm.Q3()};h.prototype.ot=function(d){this.ha.ot(d)};h.prototype.hz=function(d){this.ha.hz(d)};h.prototype.lD=function(){this.ha.lD()};h.prototype.dS=function(d){this.ha.expandAll(!0,void 0===d?!0:d);f.u.Ee.
|
|
330
|
+
h.prototype.cV=function(d){k.ra.jm.remove(d)};h.prototype.bV=function(){k.ra.jm.Q3()};h.prototype.ot=function(d){this.ha.ot(d)};h.prototype.hz=function(d){this.ha.hz(d)};h.prototype.lD=function(){this.ha.lD()};h.prototype.dS=function(d){this.ha.expandAll(!0,void 0===d?!0:d);f.u.Ee.ni.dispose();this.refresh();this.Za()};h.prototype.sR=function(){this.ha.expandAll(!1,!1);f.u.Ee.ni.dispose();this.refresh();this.Xa("reset_grid");this.Za()};h.prototype.Cp=function(d){null!=d.chartActiveMeasure&&delete d.chartActiveMeasure;
|
|
331
331
|
null!=d.chartActiveTupleIndex&&delete d.chartActiveTupleIndex;null!=d.zoom&&delete d.zoom;d.flatView&&this.Ga.ga.Bc&&this.Ga.ga.Ba!==f.u.i.oa.API&&delete d.flatView;if(!f.v(d.useOlapFormatting)&&this.Ga.ga.Bc&&k.B.C.io!=d.useOlapFormatting){var b=this.Nr({withDefaults:!0});b.options.TC(d);this.Ow({report:b})}else{b=k.B.C.qc;var a=k.B.C.Cu,c=k.B.C.ie;k.B.C.Cp(k.B.Up.tb(d),!1);a!=k.B.C.Cu&&this.Ga&&this.Ga.ga&&!this.Ga.ga.Bc&&this.G.load();!f.v(this.Ga)&&this.Ga.ga.Ba==f.u.i.oa.API&&(b!=k.B.C.qc||k.B.C.qc&&
|
|
332
332
|
c!=k.B.C.ie)&&(b=this.Nr({withDefaults:!0}),b.options.TC(d),f.v(this.Ga.ga.requestHeaders)||(b.connectionInfo.requestHeaders=this.Ga.ga.requestHeaders),this.clear(!0),this.Ow({report:b}))}};h.prototype.print=function(d){k.hs.zE.P().print(d)};h.prototype.Sj=function(d,b,a){k.xc.hn.Sj(d,void 0===b?null:b,void 0===a?null:a)};h.prototype.uC=function(d,b){return this.WH.uC(d,b)};h.prototype.MG=function(d,b){this.WH.Eca(d,b)};h.prototype.RL=function(d,b,a){this.WH.Iya(d,b,a)};h.prototype.SL=function(d,
|
|
333
333
|
b,a,c){this.WH.Zya(d,b,a,c)};h.prototype.oR=function(d,b,a,c,e){this.WH.lR(d,b,a,c,e)};h.prototype.kN=function(d){var b=this;return Ca(new Ba(new wa(function(a){return a.return(new Promise(function(c,e){function g(l){var m;f.v(l)?b.Ga.ga&&b.Ga.ga.Ba==f.u.i.oa.API&&(m=b.Ga.ga.cw()):m=new f.u.external.kc.Nz(l);f.v(m)&&(l=b.v9(b.Fb),f.v(l)||("string"===typeof l&&(l={url:l}),m=new f.u.external.kc.Nz(l)));m?b.N$.kN(m,b.Nr()).then(function(n){c(n)}):(f.Ua(f.O.bind(k.A.j.K7,"Can't find the valid connection options"),
|
|
334
|
-
k.A.j.xa,f.qb.xa),e("Can't find the valid connection options"))}null==b.ha||null==b.ha.I?b.Ga.N(k.fc.gd.
|
|
335
|
-
[{sort:d.filter.query.ra==f.u.i.Pb.mj?f.u.i.ya.Fc:f.u.i.ya.ec,measure:this.ha.I.ad(d.filter.measure.uniqueName)}];else{b=this.ha.qa.Wc(f.u.i.fa.Ea);var a=this.ha.qa.Wc(f.u.i.fa.Oa);b=-1!=b.Na.indexOf(d.uniqueName)?a:b;b.Ym=[];b.bg=d.filter.query.ra==f.u.i.Pb.mj?f.u.i.ya.Fc:f.u.i.ya.ec;b.Hf=this.ha.qa.
|
|
334
|
+
k.A.j.xa,f.qb.xa),e("Can't find the valid connection options"))}null==b.ha||null==b.ha.I?b.Ga.N(k.fc.gd.Th,function(){return g(d)}):g(d)}))})))};h.prototype.Wl=function(d){return null==this.ha||null==this.ha.I?[]:(d=this.ha.I.tc(!1).getItem(d))&&d.filter.bh?d.filter.Ma():null};h.prototype.xl=function(d,b){d=f.u.me.Bg(d);if(d=this.ha.I.tc(!1).getItem(d)){d.zt();d.filter=k.cb.fA.tb(b,d);if(d.filter.Kh&&(d.filter.query.ra==f.u.i.Pb.mj||d.filter.query.ra==f.u.i.Pb.Rh))if(k.B.C.qc)this.ha.qa.flatSort=
|
|
335
|
+
[{sort:d.filter.query.ra==f.u.i.Pb.mj?f.u.i.ya.Fc:f.u.i.ya.ec,measure:this.ha.I.ad(d.filter.measure.uniqueName)}];else{b=this.ha.qa.Wc(f.u.i.fa.Ea);var a=this.ha.qa.Wc(f.u.i.fa.Oa);b=-1!=b.Na.indexOf(d.uniqueName)?a:b;b.Ym=[];b.bg=d.filter.query.ra==f.u.i.Pb.mj?f.u.i.ya.Fc:f.u.i.ya.ec;b.Hf=this.ha.qa.di(d.filter.measure)}this.Xa("reset_grid");this.ha.filter();this.Za()}};h.prototype.zt=function(d){d=f.u.me.Bg(d);if(d=this.ha.I.tc(!1).getItem(d))d.zt(),this.ha.select(),this.Za()};h.prototype.GG=function(){if(null==
|
|
336
336
|
this.ha||null==this.ha.qa)return[];for(var d=[],b=this.ha.qa.rows,a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.vG=function(){if(null==this.ha||null==this.ha.qa)return[];for(var d=[],b=this.ha.qa.columns,a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.pC=function(){if(null==this.ha||null==this.ha.qa)return[];for(var d=[],b=this.ha.qa.pages,a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.bd=function(){if(null==this.ha||null==this.ha.qa)return[];var d=[];
|
|
337
337
|
if(k.B.C.qc){for(var b=this.ha.qa.flatten(),a,c=0;c<b.length;c++)a=b.ea(c),(a=this.ha.I.He(a.uniqueName))&&d.push(a.Ni());b=this.ha.qa.bd();for(c=0;c<b.length;c++)b[c].Ja&&d.push(b[c].Ni())}else for(b=this.ha.qa.bd(),c=0;c<b.length;c++)d.push(b[c].Ni());return d};h.prototype.Kr=function(){if(null==this.ha||null==this.ha.I)return[];for(var d=[],b=this.ha.I.measures,a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.fV=function(d){this.ha.I.tc(!1).getItem(d.name).label=d.caption};h.prototype.oG=
|
|
338
|
-
function(){if(null==this.ha||null==this.ha.I)return[];for(var d=[],b=this.ha.I.tc(!1),a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.JV=function(d,b,a,c){c="string"==typeof c?new k.cb.Lg(f.u.me.Bg(c)):k.cb.Lg.tb(c);d=this.ha.qa.axes.getItem(d);if(null!=d){if(b==f.u.i.ya.$c)d.DB();else if(c=this.ha.qa.
|
|
338
|
+
function(){if(null==this.ha||null==this.ha.I)return[];for(var d=[],b=this.ha.I.tc(!1),a=0;a<b.length;a++)d.push(b.ea(a).Ni());return d};h.prototype.JV=function(d,b,a,c){c="string"==typeof c?new k.cb.Lg(f.u.me.Bg(c)):k.cb.Lg.tb(c);d=this.ha.qa.axes.getItem(d);if(null!=d){if(b==f.u.i.ya.$c)d.DB();else if(c=this.ha.qa.di(c))d.bg=b,d.Ym=a,d.Hf=c;this.ha.sort();this.Za()}};h.prototype.AD=function(d,b){d=f.u.me.Bg(d);if(d=this.ha.I.tc(!1).getItem(d)){var a=this.ha.qa.axes.getItem(f.u.i.fa.Oa),c=this.ha.qa.axes.getItem(f.u.i.fa.Ea);
|
|
339
339
|
-1!=a.Na.indexOf(d.uniqueName)?c.DB():-1!=c.Na.indexOf(d.uniqueName)&&a.DB();d.ag=b;k.B.C.qc&&(this.ha.qa.flatSort=[{sort:b,measure:this.ha.I.He(d.uniqueName)}]);this.Za()}this.ha.select()};h.prototype.sV=function(d){this.ha.qa.flatSort=f.u.I.fr.eca(d,this.ha.qa.Xc);this.Za();this.ha.select()};h.prototype.Za=function(){k.Ra.P().Da(new k.Yc(k.Ra.gJ))};h.prototype.HV=function(d){f.K.Vc.qo.hS=d};h.prototype.KV=function(d,b){d=f.u.me.Bg(d);if(d=this.ha.I.tc(!1).getItem(d))d.Wy=b;this.Ga.ic&&this.ha.select()};
|
|
340
340
|
h.prototype.N0=function(d){if(null==this.ha||null==this.ha.I)return"";d=this.ha.I.tc(!1).getItem(d);return null!=d?d.ag:""};h.prototype.A0=function(){return null==this.ha||null==this.ha.I?null:this.ha.qa.fca()};h.prototype.tj=function(d,b,a){var c=this;if(null==this.ha||null==this.ha.I)return[];var e=[],g=this.ha.I.tc(!1).getItem(d);null==b&&(b="");g&&(this.Ga.ga.Bc?(d=""==b?g.vd:g.Ab(b),null==a||null==d&&""!=b||(d&&d.children&&0<d.children.length&&!d.Af?(e=this.yS(g,b),a(e)):this.ha.Xj(g,d,function(){e=
|
|
341
|
-
c.yS(g,b);a(e)}))):(e=this.m0(g.vd),null!=a&&a(e)));return e};h.prototype.J0=function(d,b){var a=this;return new Promise(function(c,e){function g(l,m){var n=[],p=a.ha.I.tc(!1).getItem(l);f.v(m)&&(m="");if(p){if(a.Ga.ga.Bc)if(l=""===m?p.vd:p.Ab(m),null!=l)if(l&&l.children&&0<l.children.length&&!l.Af)n=a.yS(p,m),c(n);else{a.ha.Xj(p,l,function(){n=a.yS(p,m);c(n)});return}else e('Member "'+m+'" is not found!');else n=a.m0(p.vd);c(n)}else e('Hierarchy "'+l+'" is not found!')}null==a.ha||null==a.ha.I?a.Ga.N(k.fc.gd.
|
|
341
|
+
c.yS(g,b);a(e)}))):(e=this.m0(g.vd),null!=a&&a(e)));return e};h.prototype.J0=function(d,b){var a=this;return new Promise(function(c,e){function g(l,m){var n=[],p=a.ha.I.tc(!1).getItem(l);f.v(m)&&(m="");if(p){if(a.Ga.ga.Bc)if(l=""===m?p.vd:p.Ab(m),null!=l)if(l&&l.children&&0<l.children.length&&!l.Af)n=a.yS(p,m),c(n);else{a.ha.Xj(p,l,function(){n=a.yS(p,m);c(n)});return}else e('Member "'+m+'" is not found!');else n=a.m0(p.vd);c(n)}else e('Hierarchy "'+l+'" is not found!')}null==a.ha||null==a.ha.I?a.Ga.N(k.fc.gd.Th,
|
|
342
342
|
function(){return g(d,b)}):g(d,b)})};h.prototype.yS=function(d,b){var a=[];b=""==b?d.vd.children:d.Ab(b).children;for(var c=0;c<b.length;c++){var e=d.ua(b[c]),g=e.Ma();g.isLeaf=e.level.sb==e.hierarchy.ta.length-1;g.parentMember=e.parent.Xb?e.hierarchy.vd.cj:e.parent.cj;e.uniqueName!=d.wn&&a.push(g)}return a};h.prototype.m0=function(d){for(var b=[],a=d.hierarchy.zj(d,!1),c=0;c<a.length;c++){var e=d.hierarchy.ua(a[c]),g=e.Ma();g.isLeaf=e.level.sb==e.hierarchy.ta.length-1;g.uniqueName=e.cj;g.parentMember=
|
|
343
343
|
e.parent.Xb?e.hierarchy.vd.cj:e.parent.cj;if(1!=e.children.length||e.hierarchy.ua(e.children[0]).caption!=k.A.j.Pk)g.children=this.m0(e);b.push(g)}return b};h.prototype.$M=function(d){this.Ga.ce(f.u.I.fr.tb(d,f.u.La.P().I))};h.prototype.ce=function(d){this.Ga.ce(d)};h.prototype.fw=function(){var d=k.B.C.fw(!0,!0).Ma();null!=d.chartActiveMeasure&&delete d.chartActiveMeasure;null!=d.chartActiveTupleIndex&&delete d.chartActiveTupleIndex;return d};h.prototype.Hh=function(d,b){var a=this.ha&&this.ha.I?
|
|
344
344
|
this.ha.I.ad(d):null;b=a&&void 0===b?a.Ol:b;var c=a&&k.B.C.qc&&f.u.i.Ka.uc==a.type;return(a?a.Hh(d,b,c):k.$b.Ti.HS()).Ma(!0)};h.prototype.wD=function(d,b,a){d.hasOwnProperty("name")||(d.name=f.O.rL());try{k.$b.Ti.wD(d)}catch(l){f.Ua("Can't add format. Component's configuration requires more parameters.");return}try{var c=this.ha.I.ad(b);c&&void 0===a&&k.$b.Ti.BH(d.name,c.uniqueName,"");c&&c.$===a&&(c.format=d.name,k.$b.Ti.BH(d.name,c.uniqueName,a),d.label&&(c.label=d.label));if(""!=d.name&&(""==b||
|
|
345
345
|
null==b))for(var e=0;e<this.ha.I.measures.length;e++)c=this.ha.I.measures.ea(e),k.$b.Ti.BH(d.name,c.uniqueName,""),c.format=d.name;var g=this.ha.qa.bd();for(e=0;e<g.length;e++)if(b===g[e].uniqueName&&a===g[e].$||void 0===a&&b===g[e].uniqueName)g[e].format=d.name,k.$b.Ti.BH(d.name,g[e].uniqueName,g[e].$),d.label&&(c.label=d.label)}catch(l){f.Ua("List of measures is empty. There is nothing to format.");return}this.Da(new z.da(k.$b.i7.c7));this.Za()};h.prototype.refresh=function(){this.ha.filter()};
|
|
346
|
-
h.prototype.P3=function(){var d=f.Mg.instance.Nr();f.Mg.instance.clear();f.Mg.instance.Ow(d)};h.prototype.dispose=function(){f.u.Ee.
|
|
346
|
+
h.prototype.P3=function(){var d=f.Mg.instance.Nr();f.Mg.instance.clear();f.Mg.instance.Ow(d)};h.prototype.dispose=function(){f.u.Ee.ni.dispose();f.K.X.W.ae.Wv=null;f.K.wd.Ou.OB=null;f.K.X.lI.TK=null;f.u.external.kc.Nz.SK=null;f.u.La.dispose();this.Ga&&this.Ga.dispose();this.WH=this.G=this.Ga=this.ha=null;h.instance=null};h.prototype.x0=function(d,b){f.u.external.Fe.Uka.P().D0(d,function(a,c){f.qg(b)&&b(a,c)})};h.id="flexmonster";k.Ta=h})(f.model||(f.model={}))})(w||(w={}));
|
|
347
347
|
(function(f){(function(k){function h(){var d=z.Gc.call(this)||this;if(null!=h.instance)throw Error("Singleton");return d}k.Yc=function(d,b){this.type=d;this.data=void 0===b?null:b};u(h,z.Gc);h.P=function(){null==h.instance&&(h.instance=new h);return h.instance};h.dispose=function(){h.instance=null};h.nia=function(d){return h.Q1(d)?d:""};h.Q1=function(d){return-1<h.types.indexOf(d)};h.prototype.N=function(d,b,a){d=h.nia(d);h.Q1(d)&&z.Gc.prototype.N.call(this,d,b,void 0===a?0:a)};h.prototype.mb=function(d,
|
|
348
348
|
b){d=h.nia(d);h.Q1(d)&&z.Gc.prototype.mb.call(this,d,b)};h.$Ia=function(d){for(var b=0;b<h.types.length;b++){var a=h.types[b];h.ZIa(a,d[a])}};h.ZIa=function(d,b){if(b){"string"==typeof b&&(b=h.Tca(b));var a=b;d!=h.eW&&d!=h.$w&&d!=h.ko&&d!=h.dW&&(a=function(c){for(var e=[],g=0;g<arguments.length;++g)e[g-0]=arguments[g];f.re(function(){b.apply(null,e)},1)});h.P().N(d,a)}};h.Tca=function(d){var b=void 0===b?window:b;d=d.split(".");for(var a=d.pop(),c=0;c<d.length;c++){if(null==b)return null;b=b[d[c]]}return b[a]};
|
|
349
|
-
h.xE="openingreportfile";h.nx="loadingreportfile";h.nn="reportfileloaded";h.hJ="reportfileerror";h.er="reportfilecancelled";h.oE="loadingdata";h.pI="dataloaded";h.nI="dataerror";h.oI="datafilecancelled";h.k6="datachanged";h.x7="loadingolapstructure";h.d8="olapstructureloaded";h.c8="olapstructureerror";h.pJ="unauthorizederror";h.uA="runningquery";h.pk="querycomplete";h.Os="queryerror";h.pE="loadinglocalization";h.qE="localizationloaded";h.RI="localizationerror";h.
|
|
349
|
+
h.xE="openingreportfile";h.nx="loadingreportfile";h.nn="reportfileloaded";h.hJ="reportfileerror";h.er="reportfilecancelled";h.oE="loadingdata";h.pI="dataloaded";h.nI="dataerror";h.oI="datafilecancelled";h.k6="datachanged";h.x7="loadingolapstructure";h.d8="olapstructureloaded";h.c8="olapstructureerror";h.pJ="unauthorizederror";h.uA="runningquery";h.pk="querycomplete";h.Os="queryerror";h.pE="loadinglocalization";h.qE="localizationloaded";h.RI="localizationerror";h.Th="reportcomplete";h.gJ="reportchange";
|
|
350
350
|
h.C6="exportstart";h.Yg="exportcomplete";h.g8="printstart";h.sA="printcomplete";h.m8="ready";h.I8="update";h.$w="beforegriddraw";h.ko="aftergriddraw";h.dW="afterchartdraw";h.O5="chartclick";h.N5="cellclick";h.bO="celldoubleclick";h.kx="filteropen";h.JW="filterclose";h.kE="fieldslistopen";h.xI="fieldslistclose";h.Y7="numberformatting";h.U5="conditionalformatting";h.eW="beforetoolbarcreated";h.t6="drillthroughopen";h.r6="drillthroughclose";h.types=[h.m8,h.xE,h.nx,h.nn,h.hJ,h.er,h.oE,h.pI,h.nI,h.oI,
|
|
351
|
-
h.k6,h.x7,h.d8,h.c8,h.pJ,h.uA,h.pk,h.Os,h.pE,h.qE,h.RI,h.
|
|
351
|
+
h.k6,h.x7,h.d8,h.c8,h.pJ,h.uA,h.pk,h.Os,h.pE,h.qE,h.RI,h.Th,h.gJ,h.g8,h.sA,h.C6,h.Yg,h.I8,h.$w,h.ko,h.dW,h.O5,h.N5,h.bO,h.kx,h.JW,h.kE,h.xI,h.Y7,h.U5,h.eW,h.t6,h.r6];k.Ra=h})(f.model||(f.model={}))})(w||(w={}));
|
|
352
352
|
(function(f){(function(k){function h(){}h.valid=function(d){if(f.v(d)||"number"===typeof d)return!0;d=d.toLowerCase();return-1===d.indexOf("<script")&&-1===d.indexOf("<svg")&&-1===d.indexOf("javascript:")&&-1===d.indexOf("<iframe")&&-1===d.indexOf("<object")&&-1===d.indexOf("expression(")&&-1===d.indexOf("onmouseover")&&-1===d.indexOf("onload=")&&-1===d.indexOf("onerror")};h.validate=function(d,b){return f.O.Ln(d,void 0===b?!1:b)};k.Nb=h})(f.model||(f.model={}))})(w||(w={}));
|
|
353
|
-
(function(f){(function(k){(function(h){function d(){}d.P=function(){null==d.instance&&(d.instance=new d);return d.instance};d.dispose=function(){d.instance=null};d.prototype.getData=function(){if(k.Fa.rc.To||k.Fa.rc.sp||k.Fa.rc.Qx){var b=f.u.Ee.
|
|
353
|
+
(function(f){(function(k){(function(h){function d(){}d.P=function(){null==d.instance&&(d.instance=new d);return d.instance};d.dispose=function(){d.instance=null};d.prototype.getData=function(){if(k.Fa.rc.To||k.Fa.rc.sp||k.Fa.rc.Qx){var b=f.u.Ee.ni.p0(k.B.C.EZ);return this.zR(b)}f.Ua(k.Fa.na.J(k.Fa.na.FZ),k.Fa.na.J(k.Fa.na.QC))};d.prototype.IIa=function(b,a){if(k.Fa.rc.To||k.Fa.rc.sp||k.Fa.rc.Qx){var c=f.u.La.P();if(void 0!=c.ga&&!c.ga.Bc){b=f.u.I.fr.tb(b,c.I,!0);var e=f.u.local.PO.clone(c.sa);e.slice=
|
|
354
354
|
b;e.select();c=new f.u.Ee.fla;c.reset();c.sa=e;c.slice=b;c.load();b=this.zR(c);this.qba(a,b);c.reset()}}else f.Ua(k.Fa.na.J(k.Fa.na.FZ),k.Fa.na.J(k.Fa.na.QC))};d.prototype.qba=function(b,a){try{a.wBa()?b({},a.errorDataObject.Ma()):b(a.Ma())}catch(c){console.error(c)}};d.prototype.zR=function(b){var a=new h.OutputDataValueObject;if(void 0==b.slice)return a;a.slice=b.slice.Ma();a.meta={caption:k.B.C.Fm,vAmount:b.slice.bd().length,formats:[]};var c=0,e=0;if(b.qj&&!b.nb){var g="on"==k.B.C.Gf||"rows"==
|
|
355
355
|
k.B.C.Gf?b.Hd-1:b.Hd;var l="on"==k.B.C.Gf||"columns"==k.B.C.Gf?b.Gd-1:b.Gd;a.data=[];var m=[];var n=[];var p={};for(var t=0;t<b.measures.length;t++){var q=b.measures[t];a.meta["v"+t+"Name"]=q.caption;var v=k.Ta.P().Hh(q.uniqueName,q.$);a.meta.formats.push(v);q=b.Ia(m,n,q);p["v"+t]=q}a.data.push(p);for(v=0;v<l;v++)if(m=b.Om(v),!f.v(m)&&0!=m.length){p={};c=Math.max(c,m.length);n=[];t=b.vb;for(q=0;q<m.length;q++){var y=q;var A=t.ea(y);var C=m[q];C=A.ua(C);a.meta["r"+y+"Name"]=A.caption;var E=this.xS(C);
|
|
356
356
|
p["r"+y]=E;p["r"+y+"_full"]=C.cj}for(t=0;t<b.measures.length;t++)q=b.measures[t],q=b.Ia(m,n,q),p["v"+t]=q;a.data.push(p)}for(var K=0;K<g;K++)if(n=b.rj(K),!f.v(n)&&0!=n.length){p={};m=[];e=Math.max(e,n.length);t=b.Bb;for(q=0;q<n.length;q++)E=q,A=t.ea(E),C=n[q],C=A.ua(C),a.meta["c"+E+"Name"]=A.caption,A=this.xS(C),p["c"+E]=A,p["c"+E+"_full"]=C.cj;for(t=0;t<b.measures.length;t++)q=b.measures[t],q=b.Ia(m,n,q),p["v"+t]=q;a.data.push(p)}var J=!1,aa=x.zf();if(0<b.Bb.length&&0<b.vb.length)for(v=0;v<l;v++){m=
|
|
@@ -496,7 +496,7 @@ c[e]=k.B.Up.Al(this.options)):c[e]=a[e]);return b.tb(c)};r.Object.defineProperti
|
|
|
496
496
|
0,f.$q.gI);a.RKa(b);return a.byteLength};h.nP=d})(k.cb||(k.cb={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
497
497
|
(function(f){(function(k){(function(h){function d(b){this.type=f.u.i.kb.NONE;this.eea=!1;this.Of=[];this.oj=[];this.Jl=[];this.D9=this.TE=this.cF=!1;this.vc=b}d.prototype.clear=function(){this.BB();this.Zta()};d.prototype.BB=function(){this.type=f.u.i.kb.NONE;this.query=this.measure=null;this.Jl=[]};d.prototype.Zta=function(){this.Of=[];this.oj=[];this.TE=this.cF=!1;this.fB=[];this.EQ=!1};d.prototype.tj=function(b){if(void 0===b?0:b)return this.cF&&(this.oj=[],0<this.Of.length&&(this.oj=this.Kaa(this.Of)),
|
|
498
498
|
this.cF=!1),this.oj;this.TE&&(this.Of=[],0<this.oj.length&&(this.Of=this.Kaa(this.oj)),this.TE=!1);return this.Of};d.prototype.fJa=function(b,a){a=void 0===a?!1:a;var c=this.vc.ta.ea(1);c=this.vc.pu(c.uniqueName);a?(this.L1(b,c)&&(b=[]),this.TE=!0,this.oj=b,this.Of=[]):(this.L1(b,c)&&(b=[]),this.cF=!0,this.Of=b,this.oj=[])};d.prototype.clone=function(){var b=new d(this.vc);b.type=this.type;b.measure=this.measure;b.query=this.query&&this.query.clone?this.query.clone():x.Ic.aj(this.query);f.v(this.Of)||
|
|
499
|
-
(b.Of=this.Of.slice());f.v(this.Jl)||(b.Jl=this.Jl.slice());b.cF=this.cF;f.v(this.oj)||(b.oj=this.oj.slice());b.TE=this.TE;f.v(this.fB)||(b.fB=this.fB.slice());b.EQ=this.EQ;return b};d.prototype.Ma=function(){var b={};this.
|
|
499
|
+
(b.Of=this.Of.slice());f.v(this.Jl)||(b.Jl=this.Jl.slice());b.cF=this.cF;f.v(this.oj)||(b.oj=this.oj.slice());b.TE=this.TE;f.v(this.fB)||(b.fB=this.fB.slice());b.EQ=this.EQ;return b};d.prototype.Ma=function(){var b={};this.ei&&(this.Rda?this.D1?b.exclude=this.vc.Lr(this.tj(!0)):b.members=this.vc.Lr(this.tj()):this.tj().length<this.vc.yi/2?b.members=this.vc.Lr(this.tj()):b.exclude=this.vc.Lr(this.tj(!0)));!f.v(this.measure)&&this.Kh&&(b.measure=this.measure.Ma());!f.v(this.query)&&this.au&&(b.query=
|
|
500
500
|
this.query.Ma());0<this.Jl.length&&this.au&&(b.include=this.vc.Lr(this.Jl));return b};d.tb=function(b,a,c){c=void 0===c?!1:c;if(f.v(b))return null;d.jta(b);var e=new d(a);e.Rda=c;e.type=d.lwa(b,a);e.type==f.u.i.kb.rn?d.jHa(b,e):e.type==f.u.i.kb.Pa?d.KGa(b,e,a.getTimezoneOffset()):e.type==f.u.i.kb.mk?d.WGa(b,e):e.type==f.u.i.kb.fb?d.cHa(b,e):e.type==f.u.i.kb.Zb&&d.hHa(b,e);d.bHa(b,e,a);!f.v(b.include)&&e.au&&(e.Jl=a.Yd?d.QU(b.include,a):b.include);return e};d.jta=function(b){if("top"==b.type||"bottom"==
|
|
501
501
|
b.type){var a={};b.query=(a[b.type]=b.quantity,a);b.type=f.u.i.kb.rn;delete b.quantity}!f.v(b.members)&&b.negation&&(b.exclude=b.members,delete b.members,delete b.negation)};d.lwa=function(b,a){return f.v(b.type)?f.v(b.query)?f.u.i.kb.NONE:f.v(b.measure)?d.LS(a):f.u.i.kb.rn:f.u.i.kb.validate(b.type)};d.QU=function(b,a){if(f.v(b))return null;for(var c=[],e=0;e<b.length;e++)if("number"==typeof b[e]&&-1<b[e])c.push(b[e]);else{var g="string"==typeof b[e]?b[e]:b[e].uniqueName;g=f.u.me.Vr(g);g=a.Yt(g);
|
|
502
502
|
-1<g&&c.push(g)}return c};d.LS=function(b){if(f.u.La.P().ga.Bc&&f.u.La.P().ga.Ba!==f.u.i.oa.Jc&&f.u.La.P().ga.Ba!==f.u.i.oa.API&&f.u.La.P().ga.Ba!==f.u.i.oa.Jf)return f.u.i.kb.NONE;if(f.u.La.P().ga.Ba===f.u.i.oa.API||f.u.La.P().ga.Ba===f.u.i.oa.Jf)return b.type===f.u.i.Hc.Sp?f.u.i.kb.fb:b.type===f.u.i.Hc.Pa?f.u.i.kb.Pa:f.u.i.kb.mk;var a=b.ta.ea(1).type;return b.type===f.u.i.Hc.Pa?2!=b.ta.length||a!==f.u.i.eb.Tk&&a!==f.u.i.eb.Kg&&a!==f.u.i.eb.rm?f.u.i.kb.Pa:f.u.i.kb.NONE:a===f.u.i.eb.Sc||f.u.La.P().ga.Bc?
|
|
@@ -513,15 +513,15 @@ f.u.i.wb.Ig)return c=a.value[0].toLowerCase(),a=a.value[1].toLowerCase(),c<a?b>=
|
|
|
513
513
|
a.value;if(a.ra===f.u.i.wg.Ig){var c=Math.min(a.value[0],a.value[1]);a=Math.max(a.value[0],a.value[1]);return b>=c&&b<=a}if(a.ra===f.u.i.wg.vg)return c=Math.min(a.value[0],a.value[1]),a=Math.max(a.value[0],a.value[1]),b<c||b>a};d.prototype.fDa=function(b,a){if(f.v(a.value))return!1;if(a.ra===f.u.i.Ub.UD){var c=a.value.getTime();return b<c}if(a.ra===f.u.i.Ub.VD)return c=a.value.getTime(),b<c+864E5;if(a.ra===f.u.i.Ub.QD)return c=a.value.getTime(),b>=c+864E5;if(a.ra===f.u.i.Ub.RD)return c=a.value.getTime(),
|
|
514
514
|
b>=c;if(a.ra===f.u.i.Ub.Ig)return c=Math.min(a.value[0].getTime(),a.value[1].getTime()),a=Math.max(a.value[0].getTime(),a.value[1].getTime()),b>=c&&b<=a;if(a.ra===f.u.i.Ub.vg)return c=Math.min(a.value[0].getTime(),a.value[1].getTime()),a=Math.max(a.value[0].getTime(),a.value[1].getTime()),b<c||b>a};d.prototype.Rv=function(){if(0<this.tl.length){for(var b,a=f.u.La.P().ga,c=0;c<this.tl.length;c++){if(a.Bc&&!1===a.binary||this.vc.type!==f.u.i.Hc.Pa||this.vc.ta.ea(1).type!==f.u.i.eb.Pa&&this.vc.ta.ea(1).type!==
|
|
515
515
|
f.u.i.eb.Ec)b=this.vc.Ab(this.tl[c]);else{if(k.B.C.Gr&&"null"===this.tl[c])b=null;else if(8>this.tl[c].length||/\D+/.test(this.tl[c].slice(1))){b=this.vc.ta.ea(1).type===f.u.i.eb.Ec?k.B.C.bl:k.B.C.uq;b=this.vc.mapping.Ia(this.vc.uniqueName,"format",b);var e=new f.Jg(this.tl[c],{Mx:!1,format:b});e.Wg(x.kh.Uf(b));b=e.getTime()}else b=parseInt(this.tl[c]);b=isNaN(b)?this.vc.Ab(this.tl[c]):this.vc.St(b)}null!=b&&(this.RM?this.oj.push(b.ordinal):this.Of.push(b.ordinal))}this.tl=[]}if(this.Jl||0<this.Jl.length)this.Jl=
|
|
516
|
-
d.QU(this.Jl,this.vc)};d.prototype.Zca=function(b){for(var a=[],c=0;c<b.length;c++)a.push(b[c]),this.qga(a,this.vc.ua(b[c]));return a};d.prototype.qga=function(b,a){if(a&&a.children&&0<a.children.length){a=a.children;for(var c=0;c<a.length;c++)b.push(a[c]),this.qga(b,this.vc.ua(a[c]))}};r.Object.defineProperties(d.prototype,{D1:{configurable:!0,enumerable:!0,get:function(){return 0<this.oj.length}},bh:{configurable:!0,enumerable:!0,get:function(){return this.
|
|
517
|
-
this.jT}},
|
|
516
|
+
d.QU(this.Jl,this.vc)};d.prototype.Zca=function(b){for(var a=[],c=0;c<b.length;c++)a.push(b[c]),this.qga(a,this.vc.ua(b[c]));return a};d.prototype.qga=function(b,a){if(a&&a.children&&0<a.children.length){a=a.children;for(var c=0;c<a.length;c++)b.push(a[c]),this.qga(b,this.vc.ua(a[c]))}};r.Object.defineProperties(d.prototype,{D1:{configurable:!0,enumerable:!0,get:function(){return 0<this.oj.length}},bh:{configurable:!0,enumerable:!0,get:function(){return this.ei||this.Kh||this.Iy||this.kw||this.ZL||
|
|
517
|
+
this.jT}},ei:{configurable:!0,enumerable:!0,get:function(){return 0<this.Of.length||0<this.oj.length}},au:{configurable:!0,enumerable:!0,get:function(){return this.Kh||this.Iy||this.kw||this.ZL||this.jT}},JAa:{configurable:!0,enumerable:!0,get:function(){return this.au&&0<this.Jl.length}},IAa:{configurable:!0,enumerable:!0,get:function(){return this.au&&0<this.oj.length}},Kh:{configurable:!0,enumerable:!0,get:function(){return this.type===f.u.i.kb.rn}},Iy:{configurable:!0,enumerable:!0,get:function(){return this.type===
|
|
518
518
|
f.u.i.kb.Pa}},kw:{configurable:!0,enumerable:!0,get:function(){return this.type===f.u.i.kb.mk}},ZL:{configurable:!0,enumerable:!0,get:function(){return this.type===f.u.i.kb.fb}},jT:{configurable:!0,enumerable:!0,get:function(){return this.type===f.u.i.kb.Zb}},Rda:{configurable:!0,enumerable:!0,get:function(){return this.D9},set:function(b){this.D9=b}},tl:{configurable:!0,enumerable:!0,set:function(b){this.fB=b},get:function(){null==this.fB&&(this.fB=[]);return this.fB}},RM:{configurable:!0,enumerable:!0,
|
|
519
519
|
get:function(){return this.EQ},set:function(b){this.EQ=b}}});h.fA=d})(k.cb||(k.cb={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
520
|
-
(function(f){(function(k){(function(h){function d(b,a){this.ra=void 0===b?null:b;this.value=void 0===a?null:a}d.prototype.clone=function(){return new d(this.ra,this.value)};d.tb=function(b,a,c){c=void 0===c?null:c;if(f.v(b))return null;var e=null;a==f.u.i.kb.rn?(f.u.i.Pb.
|
|
521
|
-
new f.Jg(b[g]);l.Wg(c,!1);e=new d(g,l);return!0}}),f.u.i.Ub.uf.some(function(g){if(!f.v(b[g])){var l=new f.Jg(b[g][0]);l.Wg(c,!1);var m=new f.Jg(b[g][1]);m.Wg(c,!1);if(l&&m)return e=new d(g,l.getTime()<m.getTime()?[l,m]:[m,l]),e.value[1]=e.value[1].V4("day",k.B.C.xy),!0}}),f.u.i.Ub.qx.some(function(g){if(f.u.i.Yz.Eg(b[g]))return e=new d(g,b[g].toLowerCase()),!0}),f.v(b[f.u.i.wb.dn])||(e=new d(f.u.i.wb.dn,b[f.u.i.wb.dn]))):a==f.u.i.kb.mk?(f.u.i.wb.
|
|
522
|
-
b[g]),!0}),f.u.i.wb.uf.some(function(g){if(!f.v(b[g]))return e=new d(g,[b[g][0],b[g][1]]),!0})):a==f.u.i.kb.fb?(f.u.i.wg.
|
|
520
|
+
(function(f){(function(k){(function(h){function d(b,a){this.ra=void 0===b?null:b;this.value=void 0===a?null:a}d.prototype.clone=function(){return new d(this.ra,this.value)};d.tb=function(b,a,c){c=void 0===c?null:c;if(f.v(b))return null;var e=null;a==f.u.i.kb.rn?(f.u.i.Pb.Vh.some(function(g){if(!f.v(b[g]))return e=new d(g,parseFloat(b[g])),!0}),f.u.i.Pb.uf.some(function(g){if(!f.v(b[g]))return e=new d(g,[parseFloat(b[g][0]),parseFloat(b[g][1])]),!0})):a==f.u.i.kb.Pa?(f.u.i.Ub.Vh.some(function(g){if(!f.v(b[g])){var l=
|
|
521
|
+
new f.Jg(b[g]);l.Wg(c,!1);e=new d(g,l);return!0}}),f.u.i.Ub.uf.some(function(g){if(!f.v(b[g])){var l=new f.Jg(b[g][0]);l.Wg(c,!1);var m=new f.Jg(b[g][1]);m.Wg(c,!1);if(l&&m)return e=new d(g,l.getTime()<m.getTime()?[l,m]:[m,l]),e.value[1]=e.value[1].V4("day",k.B.C.xy),!0}}),f.u.i.Ub.qx.some(function(g){if(f.u.i.Yz.Eg(b[g]))return e=new d(g,b[g].toLowerCase()),!0}),f.v(b[f.u.i.wb.dn])||(e=new d(f.u.i.wb.dn,b[f.u.i.wb.dn]))):a==f.u.i.kb.mk?(f.u.i.wb.Vh.some(function(g){if(!f.v(b[g]))return e=new d(g,
|
|
522
|
+
b[g]),!0}),f.u.i.wb.uf.some(function(g){if(!f.v(b[g]))return e=new d(g,[b[g][0],b[g][1]]),!0})):a==f.u.i.kb.fb?(f.u.i.wg.Vh.some(function(g){if(!f.v(b[g]))return e=new d(g,parseFloat(b[g])),!0}),f.u.i.wg.uf.some(function(g){if(!f.v(b[g]))return e=new d(g,[parseFloat(b[g][0]),parseFloat(b[g][1])]),!0})):a==f.u.i.kb.Zb&&(f.u.i.qk.Vh.some(function(g){if(!f.v(b[g]))return e=new d(g,b[g]),!0}),f.u.i.qk.uf.some(function(g){if(!f.v(b[g]))return e=new d(g,[b[g][0],b[g][1]]),!0}),f.v(b[f.u.i.wb.dn])||(e=new d(f.u.i.wb.dn,
|
|
523
523
|
b[f.u.i.wb.dn])));return e};d.prototype.Ma=function(){var b=this.value;b instanceof f.Jg&&(b=b.format("yyyy-MM-dd"));Array.isArray(b)&&b[0]instanceof f.Jg&&(b=[b[0].format("yyyy-MM-dd"),b[1].format("yyyy-MM-dd")]);var a={};return a[this.ra]=b,a};d.prototype.DR=function(b){if(this.ra==f.u.i.Ub.EQUAL||this.ra==f.u.i.Ub.tf){b=this.value.clone().$m();var a=this.value.clone().zz();return new d(this.ra==f.u.i.Ub.tf?f.u.i.Ub.vg:f.u.i.Ub.Ig,[b,a])}return 0<=f.u.i.Ub.qx.indexOf(this.ra)&&f.u.i.Yz.Eg(this.value)?
|
|
524
|
-
(b=(new f.Jg).Wg(b),this.ra==f.u.i.Ub.dO?b.Z4(this.value,k.B.C.xy):this.ra==f.u.i.Ub.bP?(b.V4(this.value,k.B.C.xy),b.setMilliseconds(1E3)):this.ra==f.u.i.Ub.LO&&(b.Z4(this.value,k.B.C.xy),b.setMilliseconds(-1),b.Z4(this.value,k.B.C.xy)),a=b.clone().V4(this.value,k.B.C.xy),new d(f.u.i.Ub.Ig,[b,a])):this};d.prototype.dva=function(){return 0<=f.u.i.qk.
|
|
524
|
+
(b=(new f.Jg).Wg(b),this.ra==f.u.i.Ub.dO?b.Z4(this.value,k.B.C.xy):this.ra==f.u.i.Ub.bP?(b.V4(this.value,k.B.C.xy),b.setMilliseconds(1E3)):this.ra==f.u.i.Ub.LO&&(b.Z4(this.value,k.B.C.xy),b.setMilliseconds(-1),b.Z4(this.value,k.B.C.xy)),a=b.clone().V4(this.value,k.B.C.xy),new d(f.u.i.Ub.Ig,[b,a])):this};d.prototype.dva=function(){return 0<=f.u.i.qk.Vh.indexOf(this.ra)?new d(this.ra,this.X4(this.value)):0<=f.u.i.qk.uf.indexOf(this.ra)?new d(this.ra,[this.X4(this.value[0]),this.X4(this.value[1])]):
|
|
525
525
|
this};d.prototype.X4=function(b){var a=b.match(/[s|m|h|d]$/);if(!f.v(a)){var c=parseFloat(b.substr(0,b.length-1));if("s"==a[0])return c;if("m"==a[0])return 60*c;if("h"==a[0])return 3600*c;if("d"==a[0])return 86400*c}return parseInt(b)};h.Dl=d})(k.cb||(k.cb={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
526
526
|
(function(f){(function(k){(function(h){function d(){var b=h.nP.call(this)||this;b.K_="\x3c!--";b.Dba="/**----**";return b}u(d,h.nP);d.prototype.load=function(b,a){var c=this;this.url=b;this.ma=new D.Wi;this.ma.dataType=D.Xz.yA;this.ma.N(z.da.ke,function(e){return c.op(e)});this.ma.N(z.da.Lc,function(){return c.gj()});this.ma.N(z.da.xa,function(){return c.Mb()});this.ma.zh(a);this.ma.load(b)};d.prototype.op=function(){var b=0;null!=this.ma&&-1<(b=this.ma.response.indexOf("</config>"))&&b+this.Dba.length+
|
|
527
527
|
1<this.ma.response.length&&this.gj()};d.prototype.gj=function(){if(null!=this.ma){this.ma.Od(z.da.Lc);var b=this.Wfa(this.ma.response);if(b instanceof h.ReportValueObject){if(b.connectionInfo instanceof f.u.local.csv.OCSVConnectionInfo&&1==b.connectionInfo.embedded){var a=b.connectionInfo;a.filename=this.ma.url;a.embeddedDataOffset=this.WS(this.ma.response.substring(0,this.ma.response.indexOf("</config>")+9)+"\n");var c=this.ma.response.indexOf(this.K_);a.isOCSV2Data=this.ma.response.substring(c,
|
|
@@ -597,15 +597,15 @@ this.Laa(),this.VU=this.gs.find("table");else if(!(this.gs.ef(!0)<=this.BQ&&0!=t
|
|
|
597
597
|
function(){var b=(new B.Aa("div")).Y("page");b.R("position","absolute").R("left","-9999px");if(null!=this.B.Ci){var a=this.PK(this.B.Ci);b.append(a)}var c=new B.Aa("table");0==this.Hk&&0<k.B.C.Cq.length&&c.append((new B.Aa("caption")).text(k.B.C.Cq));b.append(c);if(null!=this.B.bj){var e=this.PK(this.B.bj);b.append(e)}this.X.F.append(b);this.g1=null!=a?a.rd():0;this.c0=null!=e?e.rd():0;return b};d.prototype.PK=function(b){var a=new B.Aa("div");b=b.replace(/##PAGE-NUMBER##/gi,(this.Hk+1).toString());
|
|
598
598
|
b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());a.html(b);return a};d.prototype.C$=function(){this.Hk++;f.za(!0,k.A.j.wE,this.Hk+" "+k.A.j.Q7,!0);this.gs.detach();this.gs.R("position","").R("left","").R("padding-top",this.Sma.toString()+"px");this.pages.append(this.gs)};d.prototype.shift=function(){++this.Cn;this.Cn>=this.X.fg+this.ka.coords.$k&&(this.Cn=0,this.AH+=this.vf-this.X.af+1);return 1E3<=this.Hk||this.AH>=this.ka.coords.Ro?!0:!1};d.prototype.r$=function(){this.iV=0;var b=this.X.xo+
|
|
599
599
|
this.Cn;if(!this.ka.coords.Rn(NaN,b)){var a=this.BY-this.g1-this.c0;for(this.vf=this.X.si;this.iV<=a&&this.vf<this.ka.coords.Ro+this.X.af-this.AH;this.vf++)if(this.rowIndex=this.vf<this.X.af?this.vf:this.vf+this.AH,!this.ka.coords.Rn(this.rowIndex,b)){var c=this.ka.Tf(this.rowIndex,b,!0);this.iV+=this.Jra(this.vf,c);if(this.iV>=a)break}}};d.prototype.Jra=function(b,a){var c=f.K.X.sheet.mh.Ds,e=this.VU.find("tr",!0);for(e=0<e.length?e[b]:null;null==e;)this.VU.append(new B.Aa("tr")),e=this.VU.find("tr",
|
|
600
|
-
!0)[b];e.height=f.K.X.sheet.mh.Mu;b="<td {0}>"+(a?a.J(!0):"")+"</td>";if(null==a)b=f.O.bind(b,"class='cell' style='width:"+c+"'");else{var g="",l="";a.gu&&null!=a.style&&(l=a.style.XS(),g=a.style.FS(),this.tZ(a.style.NB));g=a.
|
|
600
|
+
!0)[b];e.height=f.K.X.sheet.mh.Mu;b="<td {0}>"+(a?a.J(!0):"")+"</td>";if(null==a)b=f.O.bind(b,"class='cell' style='width:"+c+"'");else{var g="",l="";a.gu&&null!=a.style&&(l=a.style.XS(),g=a.style.FS(),this.tZ(a.style.NB));g=a.gi?g+(" rowHeaderCell level"+a.level):a.wh?g+" columnHeaderCell":a.Ck?g+" filterHeaderCell":a.Ny&&a.Wj&&""!=a.J(!0)?g+" grandTotalCell":a.Wj&&""!=a.J(!0)?g+" totalCell":g+" cell";""!=g.trim()&&(g="class='"+g.trim()+"'");l=""!=l.trim()?"style='"+l.trim()+"max-width:200px'":"style='width:"+
|
|
601
601
|
c+"px;'";b=f.O.bind(b,g+" "+l)}e.element.innerHTML+=b;return e.rd(!0)};d.prototype.tZ=function(b){for(var a=0;a<b.length;a++)0>this.rs.indexOf(b[a])&&this.rs.push(b[a])};d.prototype.finish=function(){f.za(!0,k.A.j.wE,"Sending pages to printer...",!1,!0);D.j8.print(this.zta+this.pages.html(),this.k0(),k.B.C.Cq);f.za(!1);k.Ta.P().Xa(f.gg.sA);this.clear()};d.prototype.k0=function(){var b="",a=B.Aa.Qb(this.ka.element),c=a.find(".fm-data-sheet");b+=f.O.bind("table{width:100%;border-collapse:collapse;{0}}\n",
|
|
602
|
-
f.K.X.W.Zc.By(a,["font-family","font-size"]));b+=f.O.bind("caption{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.EX,a));b+=f.O.bind("td{white-space:nowrap;{0}}\n",x.
|
|
602
|
+
f.K.X.W.Zc.By(a,["font-family","font-size"]));b+=f.O.bind("caption{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.EX,a));b+=f.O.bind("td{white-space:nowrap;{0}}\n",x.Cd().rT?"":"border: 1px solid #eee;");b+=f.O.bind(".cell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe,c));b+=f.O.bind(".totalCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev,c));b+=f.O.bind(".grandTotalCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev+" "+f.K.X.W.wa.JI,c));b+=f.O.bind(".rowHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+
|
|
603
603
|
f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu,a));b+=f.O.bind(".columnHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.gA,a));b+=f.O.bind(".filterHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Pp,a));for(c=1;20>=c;c++)b+=f.O.bind(".level{0}{{1}}\n",c,f.K.X.W.Zc.Ak(f.K.X.W.wa.Uu+" "+f.K.X.W.wa.sf+c,a,["padding-left"]));for(c=0;c<this.rs.length;c++)b+=f.O.bind(".{0}{{1}}\n",this.rs[c],f.K.X.W.Zc.Ak(this.rs[c],a));b=(b+".page:not(:last-child), svg { page-break-after: always; }").replace(/background-color:rgb\(33, 33, 33\)/g,
|
|
604
604
|
"background-color:rgb(255, 255, 255)");return b=b.replace(/background-color:rgb\(66, 66, 66\)/g,"background-color:rgb(247, 247, 247)")};h.zE=d})(k.hs||(k.hs={}))})(f.model||(f.model={}))})(w||(w={}));(function(f){(function(k){(function(h){function d(){}d.tb=function(b){var a=new d;null!=b&&(null!=b.header&&(a.Ci=b.header),null!=b.footer&&(a.bj=b.footer));return a};h.k8=d})(k.hs||(k.hs={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
605
605
|
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;d.Ld=new h.Up;d.Ld.vD();d.B=new h.Up;if(d.instance)throw Error("Singleton");return b}u(d,z.Gc);d.P=function(){f.v(d.instance)&&(d.instance=new d);return d.instance};d.dispose=function(){d.QA&&(d.QA.Ld=null);d.QA=null;d.B=null;d.Ld=null;d.instance=null};d.YIa=function(b){d.QA=b};d.fw=function(b,a){b=void 0===b?!1:b;a=void 0===a?!1:a;var c=void 0===c?!0:c;var e=new h.Up;b&&e.TC(d.Ld);a&&e.TC(d.QA);e.TC(d.B);!b&&c&&e.Qta();
|
|
606
606
|
return e};d.clear=function(){this.B=new h.Up};d.Cp=function(b,a,c){a=void 0===a?!0:a;c=void 0===c?!0:c;if(f.v(d.B)||a)a=d.Fn,d.B=new h.Up,d.B.la("configuratorOpened",a);b=h.Up.Al(b);a=!1;d.x_=!0;var e=d.fw(!0,!0),g;for(g in b)if(void 0!=e[g]&&b[g]!=e[g]&&(a=!0,d.cz(g))){d.xu=!0;break}d.B.TC(b);f.u.I.qf.qI=d.fwa;d.x_=!1;a&&c&&d.Za()};d.cz=function(b){return-1<d.rra.indexOf(b)};d.U=function(b){return d.B&&null!=d.B[b]?d.B[b]:d.QA&&null!=d.QA[b]?d.QA[b]:d.Ld?d.Ld[b]:null};d.Za=function(){d.x_||d.P().Da(new z.da(k.fc.gd.pm))};
|
|
607
607
|
r.Object.defineProperties(d,{Fn:{configurable:!0,enumerable:!0,get:function(){return d.B.U("configuratorOpened")},set:function(b){d.B.la("configuratorOpened",b)}},LF:{configurable:!0,enumerable:!0,get:function(){return d.U("configuratorActive")},set:function(b){if(d.B.U("configuratorActive")!=b){var a=!f.v(d.B.U("configuratorActive"));d.B.la("configuratorOpened",b);d.B.la("configuratorActive",b);a&&d.Za()}}},a_:{configurable:!0,enumerable:!0,get:function(){return this.readOnly?this.gB.configuratorButton:
|
|
608
|
-
d.U("configuratorButton")},set:function(b){if(d.B.U("configuratorButton")!=b){var a=!f.v(d.B.U("configuratorButton"));d.B.la("configuratorButton",b);a&&d.Za()}}},ie:{configurable:!0,enumerable:!0,get:function(){return d.U("viewType")},set:function(b){if(d.B.U("viewType")!=b){b=f.K.
|
|
608
|
+
d.U("configuratorButton")},set:function(b){if(d.B.U("configuratorButton")!=b){var a=!f.v(d.B.U("configuratorButton"));d.B.la("configuratorButton",b);a&&d.Za()}}},ie:{configurable:!0,enumerable:!0,get:function(){return d.U("viewType")},set:function(b){if(d.B.U("viewType")!=b){b=f.K.Bd.Eg(b)?b:d.Ld.U("viewType");var a=!(f.v(d.B.U("viewType"))&&d.Ld.U("viewType")==b);d.B.la("viewType",b);a&&d.Za()}}},Fm:{configurable:!0,enumerable:!0,get:function(){return d.U("chartTitle")},set:function(b){if(d.B.U("chartTitle")!=
|
|
609
609
|
b){var a=!f.v(d.B.U("chartTitle"));d.B.la("chartTitle",b);a&&d.Za()}}},vk:{configurable:!0,enumerable:!0,get:function(){return d.U("gridType")==f.K.X.je.Nu},set:function(){if(d.B.U("gridType")!=f.K.X.je.Nu){var b=!f.v(d.B.U("gridType"));d.B.la("gridType",f.K.X.je.Nu);d.xu=d.cz("gridType");b&&d.Za()}}},qc:{configurable:!0,enumerable:!0,get:function(){return d.U("gridType")==f.K.X.je.lh},set:function(b){if(1==b&&d.B.U("gridType")!=f.K.X.je.lh){var a=!f.v(d.B.U("gridType"));d.B.la("gridType",f.K.X.je.lh);
|
|
610
610
|
d.xu=d.cz("gridType");a&&d.Za()}0==b&&d.B.U("gridType")==f.K.X.je.lh&&(d.B.la("gridType",f.K.X.je.Sz),d.xu=d.cz("gridType"),d.Za())}},OG:{configurable:!0,enumerable:!0,get:function(){return d.U("gridType")},set:function(b){if(d.B.U("gridType")!=b){var a=!f.v(d.B.U("gridType"));d.B.la("gridType",b);a&&d.Za()}}},Cq:{configurable:!0,enumerable:!0,get:function(){return d.U("gridTitle")},set:function(b){if(d.B.U("gridTitle")!=b){var a=!f.v(d.B.U("gridTitle"));d.B.la("gridTitle",b);a&&d.Za()}}},fR:{configurable:!0,
|
|
611
611
|
enumerable:!0,get:function(){return d.U("chartType")},set:function(b){b=f.K.wd.ye.validate(b);if(d.B.U("chartType")!=b){var a=!f.v(d.B.U("chartType"));d.B.la("chartType",b);a&&d.Za()}}},Ko:{configurable:!0,enumerable:!0,get:function(){return d.U("chartOneLevel")},set:function(b){if(d.B.U("chartOneLevel")!=b){var a=!f.v(d.B.U("chartOneLevel"));d.B.la("chartOneLevel",b);a&&d.Za()}}},Lv:{configurable:!0,enumerable:!0,get:function(){return d.U("chartOneLevelTuple")},set:function(b){if(d.B.U("chartOneLevelTuple")!=
|
|
@@ -640,12 +640,12 @@ set:function(b){if(d.B.U("simplifyFieldListFolders")!=b){var a=!f.v(d.B.U("simpl
|
|
|
640
640
|
b){var a=!f.v(d.B.U("allowBrowsersCache"));d.B.la("allowBrowsersCache",b);a&&d.Za()}}},Cu:{configurable:!0,enumerable:!0,get:function(){return d.U("showEmptyValues")},set:function(b){if(d.B.U("showEmptyValues")!=b){var a=!f.v(d.B.U("showEmptyValues"));d.B.la("showEmptyValues",b);a&&d.Za()}}},Gr:{configurable:!0,enumerable:!0,get:function(){return d.U("distinguishNullUndefinedEmpty")},set:function(b){if(d.B.U("distinguishNullUndefinedEmpty")!=b){var a=!f.v(d.B.U("distinguishNullUndefinedEmpty"));d.B.la("distinguishNullUndefinedEmpty",
|
|
641
641
|
b);a&&d.Za()}}},k5:{configurable:!0,enumerable:!0,get:function(){return d.U("useCaptionsInCalculatedValueEditor")},set:function(b){if(d.B.U("useCaptionsInCalculatedValueEditor")!=b){var a=!f.v(d.B.U("useCaptionsInCalculatedValueEditor"));d.B.la("useCaptionsInCalculatedValueEditor",b);a&&d.Za()}}},R_:{configurable:!0,enumerable:!0,get:function(){return d.U("expandExecutionTimeout")},set:function(b){if(d.B.U("expandExecutionTimeout")!=b){var a=!f.v(d.B.U("expandExecutionTimeout"));d.B.la("expandExecutionTimeout",
|
|
642
642
|
b);a&&d.Za()}}},readOnly:{configurable:!0,enumerable:!0,get:function(){return d.U("readOnly")},set:function(b){if(d.B.U("readOnly")!=b){var a=!f.v(d.B.U("readOnly"));d.B.la("readOnly",b);a&&d.Za()}}}});d.xu=!1;d.x_=!1;d.rra=["gridType","showTotals","showGrandTotals","grandTotalsPosition","columnTotalsPosition"];d.gB={showFilter:!1,dragging:!1,showFilterInCharts:!1,showChartMeasures:!1,configuratorButton:!1,sorting:"off",drillThrough:!1};h.C=d})(k.B||(k.B={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
643
|
-
(function(f){(function(k){(function(h){function d(){this.Ld={configuratorActive:!1,configuratorOpened:!1,configuratorButton:!0,viewType:f.K.
|
|
643
|
+
(function(f){(function(k){(function(h){function d(){this.Ld={configuratorActive:!1,configuratorOpened:!1,configuratorButton:!0,viewType:f.K.Bd.Hs,chartTitle:"",gridType:f.K.X.je.Sz,gridTitle:"",chartType:f.K.wd.ye.Rz,chartOneLevel:!1,chartOneLevelTuple:[],chartOneLevelColumnTuple:[],chartMultipleMeasures:!1,chartActiveMeasure:{},chartActiveMeasures:[],chartActiveTupleIndex:0,chartPosition:"bottom",chartAutoRange:!1,chartReversedAxes:!1,chartAxisShortNumberFormat:null,showFilter:!0,showFilterInCharts:!0,
|
|
644
644
|
showDefaultSlice:!0,useOlapFormatting:!1,showMemberProperties:!1,showEmptyData:!0,showAggregations:!0,showHierarchyCaptions:!0,drillThroughMaxRows:1E3,showAllFieldsDrillThrough:!1,showChartDataLabels:!1,showAllChartLabels:!1,showHeaders:!0,showReportFiltersArea:!0,showExtraTotalLabels:!1,showFieldListSearch:!1,drillThrough:!0,showDrillThroughConfigurator:!0,editing:!1,grouping:!1,sorting:"on",dragging:!0,showHierarchies:!0,showChartsWarning:!0,showChartLegend:!0,showChartLegendButton:!1,saveAllFormats:!1,
|
|
645
645
|
calculatedValuesOLAP:!1,includeEmptySubtotalsOLAP:!1,showChartOneMeasureSelection:!0,showChartMeasures:!0,showTotals:"on",showGrandTotals:"on",strictDataTypes:!1,defaultDateType:f.u.i.input.pa.Pa,datePattern:"dd/MM/yyyy",dateTimePattern:"dd/MM/yyyy HH:mm:ss",dateTimezoneOffset:null,timePattern:null,showCalculatedValuesButton:!0,showOutdatedDataAlert:!1,defaultHierarchySortName:f.u.i.ya.ec,showAggregationLabels:!0,grandTotalsPosition:"top",columnTotalsPosition:"before",showAutoCalculationBar:!0,filterWeekOffset:1,
|
|
646
646
|
filterDateFormat:"dd/MM/yyyy",filterLiveSearch:!0,liveFiltering:!1,fieldListPosition:null,validateFormulas:!0,caseSensitiveMembers:!1,simplifyFieldListFolders:!1,validateReportFiles:!0,allowBrowsersCache:!1,showEmptyValues:!1,distinguishNullUndefinedEmpty:!1,useCaptionsInCalculatedValueEditor:!1,expandExecutionTimeout:9E3,readOnly:!1}}d.prototype.la=function(b,a){this[b]=a};d.prototype.U=function(b){return this[b]};d.prototype.vD=function(){for(var b in this.Ld)this[b]=this.Ld[b]};d.prototype.Qta=
|
|
647
647
|
function(){if(!f.v(void 0))for(var b=0;b<(void 0).length;b++){var a=(void 0)[b];void 0!=this[a]&&(this[a]==this.Ld[a]||"object"==typeof this[a]&&x.Ic.pg(this[a])&&x.Ic.pg(this.Ld[a]))&&(this[a]=void 0)}else for(a in this.Ld)if(this[a]==this.Ld[a]||"object"==typeof this[a]&&x.Ic.pg(this[a])&&x.Ic.pg(this.Ld[a]))this[a]=void 0};d.tb=function(b){var a=new d;if(void 0==b)return a;null!=b.options&&(b=b.options);b instanceof d||(b=d.Al(b));null!=b.configuratorActive&&a.la("configuratorActive",b.configuratorActive);
|
|
648
|
-
null!=b.configuratorButton&&a.la("configuratorButton",b.configuratorButton);null!=b.viewType&&f.K.
|
|
648
|
+
null!=b.configuratorButton&&a.la("configuratorButton",b.configuratorButton);null!=b.viewType&&f.K.Bd.Eg(b.viewType)&&a.la("viewType",b.viewType);null!=b.chartTitle&&a.la("chartTitle",b.chartTitle);null!=b.gridTitle&&a.la("gridTitle",b.gridTitle);null!=b.chartType&&a.la("chartType",f.K.wd.ye.validate(b.chartType));null!=b.chartOneLevel&&a.la("chartOneLevel",b.chartOneLevel);null!=b.chartOneLevelTuple&&a.la("chartOneLevelTuple",b.chartOneLevelTuple);null!=b.chartOneLevelColumnTuple&&a.la("chartOneLevelColumnTuple",
|
|
649
649
|
b.chartOneLevelColumnTuple);null!=b.chartActiveMeasure&&a.la("chartActiveMeasure",b.chartActiveMeasure);null!=b.chartActiveMeasures&&a.la("chartActiveMeasures",b.chartActiveMeasures);null!=b.chartActiveTupleIndex&&a.la("chartActiveTupleIndex",b.chartActiveTupleIndex);null!=b.chartAutoRange&&a.la("chartAutoRange",b.chartAutoRange);null!=b.chartReversedAxes&&a.la("chartReversedAxes",b.chartReversedAxes);null!=b.chartPosition&&a.la("chartPosition",b.chartPosition);null!=b.chartAxisShortNumberFormat&&
|
|
650
650
|
a.la("chartAxisShortNumberFormat",b.chartAxisShortNumberFormat);null!=b.classicView&&1==b.classicView&&a.la("gridType",f.K.X.je.Nu);null!=b.tableType&&b.tableType==f.K.X.je.lh&&a.la("gridType",f.K.X.je.lh);null!=b.flatView&&1==b.flatView&&a.la("gridType",f.K.X.je.lh);null!=b.gridType&&a.la("gridType",b.gridType);null!=b.showAutoCalculationBar&&a.la("showAutoCalculationBar",b.showAutoCalculationBar);null!=b.liveFiltering&&a.la("liveFiltering",b.liveFiltering);null!=b.fieldListPosition&&a.la("fieldListPosition",
|
|
651
651
|
b.fieldListPosition);null!=b.showFilter&&a.la("showFilter",b.showFilter);null!=b.showDefaultSlice&&a.la("showDefaultSlice",b.showDefaultSlice);null!=b.useOlapFormatting&&a.la("useOlapFormatting",b.useOlapFormatting);null!=b.showMemberProperties&&a.la("showMemberProperties",b.showMemberProperties);null!=b.showEmptyData&&a.la("showEmptyData",b.showEmptyData);null!=b.showFilterInCharts&&a.la("showFilterInCharts",b.showFilterInCharts);null!=b.showAggregations&&a.la("showAggregations",b.showAggregations);
|
|
@@ -680,7 +680,7 @@ f.v(b.weekOffset)||(a.filterWeekOffset=b.weekOffset),f.v(b.dateFormat)||(a.filte
|
|
|
680
680
|
null!=this.showHeaders&&(a.showHeaders=this.showHeaders);null!=this.showTotals&&(a.showTotals=this.showTotals);null!=this.showGrandTotals&&(a.showGrandTotals=this.showGrandTotals);null!=this.columnTotalsPosition&&(a.columnTotalsPosition=this.columnTotalsPosition);null!=this.grandTotalsPosition&&(a.grandTotalsPosition=this.grandTotalsPosition);null!=this.showExtraTotalLabels&&(a.showExtraTotalLabels=this.showExtraTotalLabels);null!=this.showHierarchies&&(a.showHierarchies=this.showHierarchies);null!=
|
|
681
681
|
this.showHierarchyCaptions&&(a.showHierarchyCaptions=this.showHierarchyCaptions);null!=this.drillThroughMaxRows&&(a.drillThroughMaxRows=this.drillThroughMaxRows);null!=this.showReportFiltersArea&&(a.showReportFiltersArea=this.showReportFiltersArea);null!=this.dragging&&(a.dragging=this.dragging);null!=this.showAutoCalculationBar&&(a.showAutoCalculationBar=this.showAutoCalculationBar);x.Ic.pg(a)||(b.grid=a);a={};null!=this.chartType&&(a.type=this.chartType);null!=this.chartTitle&&(a.title=this.chartTitle);
|
|
682
682
|
null!=this.showFilterInCharts&&(a.showFilter=this.showFilterInCharts);null!=this.chartMultipleMeasures&&(a.multipleMeasures=this.chartMultipleMeasures);null!=this.chartOneLevel&&(a.oneLevel=this.chartOneLevel);null!=this.chartAutoRange&&(a.autoRange=this.chartAutoRange);null!=this.chartReversedAxes&&(a.reversedAxes=this.chartReversedAxes);null!=this.showChartLegend&&(a.showLegend=this.showChartLegend);null!=this.showChartLegendButton&&(a.showLegendButton=this.showChartLegendButton);null!=this.showChartDataLabels&&
|
|
683
|
-
(a.showDataLabels=this.showChartDataLabels);null!=this.showAllChartLabels&&(a.showAllLabels=this.showAllChartLabels);null!=this.showChartMeasures&&(a.showMeasures=this.showChartMeasures);null!=this.showChartOneMeasureSelection&&(a.showOneMeasureSelection=this.showChartOneMeasureSelection);null!=this.showChartsWarning&&(a.showWarning=this.showChartsWarning);null!=this.chartAxisShortNumberFormat&&(a.axisShortNumberFormat=this.chartAxisShortNumberFormat);this.viewType==f.K.
|
|
683
|
+
(a.showDataLabels=this.showChartDataLabels);null!=this.showAllChartLabels&&(a.showAllLabels=this.showAllChartLabels);null!=this.showChartMeasures&&(a.showMeasures=this.showChartMeasures);null!=this.showChartOneMeasureSelection&&(a.showOneMeasureSelection=this.showChartOneMeasureSelection);null!=this.showChartsWarning&&(a.showWarning=this.showChartsWarning);null!=this.chartAxisShortNumberFormat&&(a.axisShortNumberFormat=this.chartAxisShortNumberFormat);this.viewType==f.K.Bd.jn&&null!=this.chartPosition&&
|
|
684
684
|
(a.position=this.chartPosition);this.chartType==f.K.wd.ye.Yu&&null!=this.chartActiveTupleIndex&&(a.pieDataIndex=this.chartActiveTupleIndex.toString());if(1==this.chartMultipleMeasures){if(null!=this.chartActiveMeasures){for(var c=[],e=0;e<this.chartActiveMeasures.length;e++){var g={};g.uniqueName=this.chartActiveMeasures[e].uniqueName;null!=this.chartActiveMeasures[e].$&&""!==this.chartActiveMeasures[e].$&&(g.aggregation=this.chartActiveMeasures[e].$);c.push(g)}0<c.length&&(a.activeMeasure=c)}}else null!=
|
|
685
685
|
this.chartActiveMeasure&&(g={},g.uniqueName=this.chartActiveMeasure.uniqueName,null!=this.chartActiveMeasure.$&&""!=this.chartActiveMeasure.$&&(g.aggregation=this.chartActiveMeasure.$),a.activeMeasure=g);!0===this.chartOneLevel&&null!=this.chartOneLevelTuple&&0<this.chartOneLevelTuple.length&&(a.oneLevelTuple=this.chartOneLevelTuple.join(","));!0===this.chartOneLevel&&null!=this.chartOneLevelColumnTuple&&0<this.chartOneLevelColumnTuple.length&&(a.oneLevelColumnTuple=this.chartOneLevelColumnTuple.join(","));
|
|
686
686
|
x.Ic.pg(a)||(b.chart=a);a={};f.v(this.filterWeekOffset)||(a.weekOffset=this.filterWeekOffset);f.v(this.filterDateFormat)||(a.dateFormat=this.filterDateFormat);f.v(this.filterLiveSearch)||(a.liveSearch=this.filterLiveSearch);x.Ic.pg(a)||(b.filter=a);null!=this.configuratorActive&&(b.configuratorActive=this.configuratorActive);null!=this.configuratorButton&&(b.configuratorButton=this.configuratorButton);null!=this.showAggregations&&(b.showAggregations=this.showAggregations);null!=this.showCalculatedValuesButton&&
|
|
@@ -730,9 +730,9 @@ b.prototype.dia=function(){var c={};null!=this.backgroundColor&&(c["background-c
|
|
|
730
730
|
this.textIndent);return c};b.prototype.toString=function(){var c="",e=this.dia(),g;for(g in e)c+=g+":"+e[g]+";";return c};b.color=function(c){return c.replace("0x","#")};b.size=function(c){return"number"==typeof c?c+"px":"string"==typeof c&&0>c.indexOf("px")?c.trim()+"px":c};d.BLa=b})(h.W||(h.W={}))})(k.ra||(k.ra={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
731
731
|
(function(f){(function(k){var h;(function(d){function b(){var a=z.Gc.call(this)||this;if(null!=b.instance)throw Error("Singleton");return a}u(b,z.Gc);b.P=function(){null==b.instance&&(b.instance=new b);return b.instance};b.dispose=function(){b.rowFilterSizes=null;b.rowHeaderSizes=null;b.rowSizes=null;b.rowSizesByIdx=null;b.KQ=null;b.jF=null;b.columnHeaderSizes=null;b.columnSizes=null;b.columnSizesByIdx=null;b.SP=null;b.OE=null;b.instance=null};b.clear=function(){b.rowSizes={};b.columnSizes={};b.jF=
|
|
732
732
|
{};b.KQ={};b.OE={};b.SP={};b.rowSizesByIdx={};b.columnSizesByIdx={};b.rowHeaderSizes=[];b.columnHeaderSizes=[];b.rowFilterSizes=[]};b.vZ=function(a){if(b.W$(a.rowSizes)||b.W$(a.columnSizes))b.jF=b.yaa(a.rowSizes),b.OE=b.yaa(a.columnSizes),b.lga();else if(b.X$(a.rowSizes)||b.X$(a.columnSizes))b.jF=a.rowSizes,b.OE=a.columnSizes,b.lga();b.rowSizesByIdx=a.rowSizesByIdx;b.columnSizesByIdx=a.columnSizesByIdx;b.rowHeaderSizes=a.rowHeaderSizes;b.columnHeaderSizes=a.columnHeaderSizes;b.rowFilterSizes=a.rowFilterSizes};
|
|
733
|
-
b.lga=function(){k.Ta.P().Ga.oD==k.fc.gd.
|
|
733
|
+
b.lga=function(){k.Ta.P().Ga.oD==k.fc.gd.Th?this.lp():f.u.La.P().N(f.u.eg.pk,b.lp,1)};b.W$=function(a){var c=/[A-Za-z]+/,e;for(e in a)if(-1<a[e].toString().search(c))return!0;return!1};b.X$=function(a){var c=/[A-Za-z]+/,e;for(e in a)if(-1<e.toString().search(c))return!0;return!1};b.yaa=function(a){var c={};if(null!=a)for(var e in a){var g=a[e];if(Array.isArray(g)&&0<g.length){var l=parseInt(g.pop());c[g.toString()]=l}}return c};b.lp=function(){f.u.La.P().mb(f.u.eg.pk,b.lp);b.rowSizes=b.tb(f.u.i.fa.Ea);
|
|
734
734
|
b.jF={};b.columnSizes=b.tb(f.u.i.fa.Oa);b.OE={}};b.tb=function(a){var c={},e=a==f.u.i.fa.Ea?b.jF:b.OE,g=f.u.La.P().qa.bd(),l;for(l in e){var m=l.split(","),n=e[l],p=f.u.La.P().qa.axes.getItem(a).Sa;if(p&&!k.B.C.qc)if(f.u.i.ca.Ez(m[m.length-1])||""==m[m.length-1]&&(""==m[m.length-2]||null!=g.find(function(E){return E.uniqueName===m[m.length-2]}))){var t=new k.cb.Lg(m[m.length-2],m[m.length-1]);m.splice(m.length-2,2)}else t=new k.cb.Lg(m[m.length-1]),m.splice(m.length-1,1);for(var q=!1,v=[],y=0;y<m.length;y++)if(k.B.C.qc)if(a==
|
|
735
|
-
f.u.i.fa.Ea)v.push(m[y]);else{var A=m[y];A=f.u.La.P().sa.$d.indexOf(A);if(-1==A){q=!0;break}v.push(A)}else{A=f.u.me.Vr(m[y]);var C=a==f.u.i.fa.Ea?f.u.La.P().qa.vb.ea(y):f.u.La.P().qa.Bb.ea(y);if(void 0==C){q=!0;break}A=C.Ab(A);if(null==A){q=!0;break}A.Xb?v.push(""):v.push(A.ordinal.toString())}if(!q){if(p&&!k.B.C.qc){p=(p=f.u.La.P().qa.
|
|
735
|
+
f.u.i.fa.Ea)v.push(m[y]);else{var A=m[y];A=f.u.La.P().sa.$d.indexOf(A);if(-1==A){q=!0;break}v.push(A)}else{A=f.u.me.Vr(m[y]);var C=a==f.u.i.fa.Ea?f.u.La.P().qa.vb.ea(y):f.u.La.P().qa.Bb.ea(y);if(void 0==C){q=!0;break}A=C.Ab(A);if(null==A){q=!0;break}A.Xb?v.push(""):v.push(A.ordinal.toString())}if(!q){if(p&&!k.B.C.qc){p=(p=f.u.La.P().qa.di(t))?p.index:-1;if(-1==p&&""!=t.uniqueName)continue;v.push(p)}c[v.toString()]=n}}return c};b.Ma=function(a){var c={},e=a==f.u.i.fa.Ea?b.rowSizes:b.columnSizes,g=
|
|
736
736
|
f.v(f.u.La.P().qa)?[]:f.u.La.P().qa.bd(),l;for(l in e){var m=l.split(","),n=e[l],p=f.u.La.P().qa.axes.getItem(a).Sa;if(p&&!k.B.C.qc){var t=parseInt(m[m.length-1]);m.splice(m.length-1,1)}for(var q=!1,v=[],y=0;y<m.length;y++)if(k.B.C.qc)if(a==f.u.i.fa.Ea)v.push(m[y]);else{var A=""===m[y]?0:parseInt(m[y]);A=f.u.La.P().sa.$d[A];if(null==A){q=!0;break}v.push(A)}else{A=""===m[y]?0:parseInt(m[y]);var C=a==f.u.i.fa.Ea?f.u.La.P().qa.vb.ea(y):f.u.La.P().qa.Bb.ea(y);if(null==C){q=!0;break}A=C.ua(A);if(null==
|
|
737
737
|
A){q=!0;break}v.push(A.cj)}if(!q){if(p&&!k.B.C.qc){if(t>=g.length)continue;-1==t&&1==g.length&&(t=0);m=g[t];v.push(m?m.uniqueName:"");v.push(m?m.$:"")}c[v.toString()]=n}}return c};b.KG=function(){var a=new k.cb.fv;a.rowSizes=h.pd.Iga;a.columnSizes=h.pd.oaa;a.rowHeaderSizes=h.pd.rowHeaderSizes;a.columnHeaderSizes=h.pd.columnHeaderSizes;a.rowSizesByIdx=h.pd.rowSizesByIdx;a.columnSizesByIdx=h.pd.columnSizesByIdx;a.rowFilterSizes=h.pd.rowFilterSizes;a.GD=h.pd.GD;return a};r.Object.defineProperties(b,
|
|
738
738
|
{Iga:{configurable:!0,enumerable:!0,get:function(){return this.KQ=b.Ma(f.u.i.fa.Ea)}},oaa:{configurable:!0,enumerable:!0,get:function(){return this.SP=b.Ma(f.u.i.fa.Oa)}}});b.rowSizes={};b.columnSizes={};b.GD=0;b.rowSizesByIdx={};b.columnSizesByIdx={};b.rowHeaderSizes=[];b.columnHeaderSizes=[];b.rowFilterSizes=[];b.jF={};b.KQ={};b.OE={};b.SP={};d.pd=b})(h=k.size||(k.size={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
@@ -740,7 +740,7 @@ A){q=!0;break}v.push(A.cj)}if(!q){if(p&&!k.B.C.qc){if(t>=g.length)continue;-1==t
|
|
|
740
740
|
{}));
|
|
741
741
|
(function(f){(function(k){(function(h){function d(b,a){this.BQ=b;this.BY=a}d.prototype.sAa=function(){var b=void 0===b?d.g9:b;return Math.round(this.bk*b/d.Q9)};d.prototype.vza=function(){var b=void 0===b?d.g9:b;return Math.round(this.fh*b/d.Q9)};d.Gia=function(b){return void 0!=b&&d.S9.hasOwnProperty(b.toLocaleLowerCase())?b.toLocaleLowerCase():d.hwa};d.EG=function(b){return this.S9[b]};r.Object.defineProperties(d.prototype,{bk:{configurable:!0,enumerable:!0,get:function(){return this.BQ}},fh:{configurable:!0,
|
|
742
742
|
enumerable:!0,get:function(){return this.BY}}});r.Object.defineProperties(d,{hwa:{configurable:!0,enumerable:!0,get:function(){return d.Jqa}}});d.Q9=25.4;d.Jqa="a4";d.g9=72;d.S9={a0:new d(841,1189),a1:new d(594,841),a2:new d(420,594),a3:new d(297,420),a4:new d(210,297),a5:new d(148,210)};h.sx=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
743
|
-
(function(f){(function(k){(function(h){function d(){throw Error("Singleton");}d.Le=function(b,a,c,e){c=void 0===c?!1:c;e=void 0===e?null:e;switch(a.type){case h.Ri.Vu:d.fS(b,a,c,e);break;case h.Ri.hA:d.Pba(b,a,c,e);break;case h.Ri.qA:d.ixa(b,a,c,e)}};d.e_=function(b){var a=b.find("line",!0);a=a.concat(b.find("path",!0));a=a.concat(b.find("circle",!0));for(var c=0;c<a.length;c++)if(null!=a[c]){var e=f.K.X.W.Zc.By(a[c],["fill","stroke","shape-rendering","stroke-width"]);x.
|
|
743
|
+
(function(f){(function(k){(function(h){function d(){throw Error("Singleton");}d.Le=function(b,a,c,e){c=void 0===c?!1:c;e=void 0===e?null:e;switch(a.type){case h.Ri.Vu:d.fS(b,a,c,e);break;case h.Ri.hA:d.Pba(b,a,c,e);break;case h.Ri.qA:d.ixa(b,a,c,e)}};d.e_=function(b){var a=b.find("line",!0);a=a.concat(b.find("path",!0));a=a.concat(b.find("circle",!0));for(var c=0;c<a.length;c++)if(null!=a[c]){var e=f.K.X.W.Zc.By(a[c],["fill","stroke","shape-rendering","stroke-width"]);x.Cd().Gi&&(e+="stroke-width: 1px");
|
|
744
744
|
a[c].attr("style",e);a[c].attr("class","")}a=b.find("text",!0);for(c=0;c<a.length;c++)b=parseInt(a[c].R("font-size")),a[c].attr("style",f.K.X.W.Zc.By(a[c],"font-family font-weight fill color text-anchor text-rendering".split(" "))+";white-space:pre"),a[c].attr("font-size",b),a[c].attr("class","")};d.Aaa=function(b){b.element.querySelectorAll("text").forEach(function(a){a.innerHTML=a.innerHTML.replace(/\s/g,"<tspan> </tspan>")})};d.uZ=function(b,a){b.R("font-family",a.R("font-family"));b.R("font-size",
|
|
745
745
|
a.R("font-size"));b.R("color",a.R("color"));b.R("border-top",a.R("border-top"));b.R("background",a.R("background"));b.R("padding-top",a.R("padding-top"));b.R("padding-left",a.R("padding-left"));b.R("padding-right",a.R("padding-right"));b.R("padding-bottom",a.R("padding-bottom"));b.R("overflow","auto");for(var c=a.find(".fm-icon-display"),e=b.find(".fm-icon-display",!0),g=0;g<e.length;g++)e[g].R("display",c.R("display")),e[g].R("width",c.R("width")),e[g].R("height",c.R("height")),e[g].R("margin-right",
|
|
746
746
|
c.R("margin-right")),e[g].R("vertical-align",c.R("vertical-align")),e[g].R("border-radius",c.R("border-radius")),e[g].text("");c=a.find(".fm-text-display");e=b.find(".fm-text-display",!0);for(g=0;g<e.length;g++)e[g].R("color",c.R("color")),e[g].R("font-family",c.R("font-family")),e[g].R("font-size",c.R("font-size")),e[g].R("vertical-align",c.R("vertical-align")),e[g].R("margin-bottom",c.R("margin-bottom")||0);c=a.find("ul");e=b.find("ul",!0);for(g=0;g<e.length;g++)e[g].R("list-style-type",c.R("list-style-type")),
|
|
@@ -748,51 +748,51 @@ e[g].R("padding-top",c.R("padding-top")||0),e[g].R("padding-right",c.R("padding-
|
|
|
748
748
|
e[g].R("padding-bottom",c.R("padding-bottom")),e[g].R("padding-left",c.R("padding-left")),e[g].R("vertical-align",c.R("vertical-align"));a=a.find("li",!0);e=b.find("li",!0);for(g=0;g<e.length;g++)e[g].R("padding-left",a[g].R("padding-left")),e[g].R("padding-top",a[g].R("padding-top")),e[g].R("padding-bottom",a[g].R("padding-bottom")),e[g].R("white-space","nowrap");b.find("table").R("width","initial")};d.PK=function(b){var a="";f.ia(b)||(a=b.replace(/##PAGE-NUMBER##/gi,d.Hk++ +""),a=a.replace(/##CURRENT-DATE##/gi,
|
|
749
749
|
(new Date).toLocaleString()));return a};d.fS=function(b,a,c,e){c=void 0===c?!1:c;e=void 0===e?null:e;var g=b.Ql.Ar.F.find("svg").clone();try{c||d.Kx(k.B.C.Fm,g,b.Ql.Gp.F);c&&(g.attr("viewBox","0 0 "+g.attr("width")+" "+g.attr("height")),g.R("width","100%"));b.F.append(g);d.e_(g);g.R3("class");var l=D.aa.Dc(D.JX.Qb(g.element));g.remove();if(b.Ql.Xe){var m=b.Ql.Xe.F.clone();d.uZ(m,b.Ql.Xe.F);c&&(m.R("max-width",""),m.R("padding-bottom","20px"));l+=m.element.outerHTML}if(c)return null!=e&&e(l),l;b="<!DOCTYPE html><html><head><meta charset='UTF-8'/><title>{0}</title></head><body>{1}{2}{3}</body></html>";
|
|
750
750
|
m="";f.ia(a.Ci)||(m=a.Ci,m=m.replace(/##PAGE-NUMBER##/gi,""),m=m.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()));var n="";f.ia(a.bj)||(n=a.bj,n=n.replace(/##PAGE-NUMBER##/gi,""),n=n.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()));b=f.O.bind(b,f.ia(k.B.C.Fm)?k.A.j.rW:k.B.C.Fm,m,l,n);b=D.aa.format(b);0==a.filename.length&&(a.filename="pivotchart.html");h.hn.save(b,a);k.Ta.P().Da(new z.da(f.gg.Yg))}catch(p){console.error("Export Charts error:",p);g.remove();f.Ua(k.A.j.Is,k.A.j.xa,
|
|
751
|
-
f.qb.xa);if(c)return null!=e&&e(""),"";k.Ta.P().Da(new z.da(f.gg.Yg))}};d.IR=function(b){if(null==b)return null;b=b.replace(/##PAGE-NUMBER##/gi,"");b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());return(new B.Aa("div")).R("background","white").R("text-align","left").R("z-index",-1).html(b)};d.Pba=function(b,a,c,e){var g=this;c=void 0===c?!1:c;e=void 0===e?null:e;var l=["lib/html2canvas.v1.min.js","lib/canvg.min.js"];x.
|
|
751
|
+
f.qb.xa);if(c)return null!=e&&e(""),"";k.Ta.P().Da(new z.da(f.gg.Yg))}};d.IR=function(b){if(null==b)return null;b=b.replace(/##PAGE-NUMBER##/gi,"");b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());return(new B.Aa("div")).R("background","white").R("text-align","left").R("z-index",-1).html(b)};d.Pba=function(b,a,c,e){var g=this;c=void 0===c?!1:c;e=void 0===e?null:e;var l=["lib/html2canvas.v1.min.js","lib/canvg.min.js"];x.Cd().Gi&&l.unshift("lib/promise.min.js");x.qn.load(l,function(){var m=
|
|
752
752
|
document.createElement("canvas"),n=b.Ql.Ar.F.find("svg").clone();try{d.Kx(k.B.C.Fm,n,b.Ql.Gp.F);n.prepend((new B.Aa("rect")).R("width","100%").R("height","100%").R("fill","white"));d.xga(n);b.F.append(n);d.e_(n);d.Aaa(n);var p=D.aa.Dc(D.JX.Qb(n.element));canvg(m,p);n.remove();var t=(new B.Aa("img")).attr("src",m.toDataURL());c&&t.R("max-width","100%");var q=new B.Aa("div");f.ia(a.Ci)||q.append(g.IR(a.Ci));q.append(t);q.R("padding-top","10px");q.R("padding-bottom","10px");if(b.Ql.Xe){var v=b.Ql.Xe.F.clone();
|
|
753
753
|
v.width=b.Ql.width;d.uZ(v,b.Ql.Xe.F);c&&(v.yj("100%"),v.R("max-width",""));q.append(v)}f.ia(a.bj)||q.append(g.IR(a.bj));if(c)return null!=e&&(q.R("position",b.F.R("position")),q.R("top",b.F.R("top")),q.R("bottom",b.F.R("bottom")),q.R("left",b.F.R("left")),q.R("right",b.F.R("right")),q.width=b.ef(),e(q)),q.html();q.R("position","absolute").R("top",0).R("left",0).R("overflow","hidden").R("text-align","center").R("background","white").R("z-index",-1).yj(f.K.Hb.Eu);f.K.Hb.zb.F.prepend(q);q.R("left",-q.left-
|
|
754
754
|
q.width+"px");html2canvasV1(q.element).then(function(y){q.remove();a.RB==k.cb.po.rA?h.hn.save(y,a):(y=f.O.Yaa(y.toDataURL()),0==a.filename.length&&(a.filename="pivotchart.png"),h.hn.save(y,a));k.Ta.P().Da(new z.da(f.gg.Yg))})}catch(y){console.error("Export Charts error:",y),n.remove(),null!=q&&q.remove(),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),c&&null!=e?e(""):k.Ta.P().Da(new z.da(f.gg.Yg))}})};d.Kx=function(b,a,c){if(0<b.length){var e=f.K.X.W.Zc.By(c,["font-family","font-size","font-weight","color"]);b=
|
|
755
|
-
(new B.Aa("text")).attr("x","50%").attr("style","text-anchor:middle;"+e).text(b);a.prepend(b);b.attr("y",c.height);b=a.find("g");e=d3v3.transform(b.attr("transform"));e.translate[1]+=c.height;b.attr("transform",e.toString());a.attr("height",parseInt(a.attr("height"))+c.height)}};d.ixa=function(b,a,c,e){var g=this;c=void 0===c?!1:c;e=void 0===e?null:e;f.za(!0,k.A.j.wE,"...",!0,!0);var l=["lib/html2canvas.v1.min.js","lib/jspdf.min.js"];x.
|
|
756
|
-
a;d.Jq=h.sx.Gia(a.Jq);d.
|
|
757
|
-
f.Ua(a.message,k.A.j.xa,f.qb.xa);b()})};d.KR=function(b,a,c){var e=null==b,g=null==a;if(e&&g)c();else{if(!e){b=b.replace(/##PAGE-NUMBER##/gi,(d.Hk+1).toString());b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var l=new B.Aa("div");l.R("position","absolute");l.R("background","white");l.yj(h.Oe.Xy(d.cC-2*d.
|
|
758
|
-
a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var m=new B.Aa("div");m.R("position","absolute");m.R("background","white");m.yj(h.Oe.Xy(d.cC-2*d.
|
|
759
|
-
h.Oe.nh))};d.UQ=function(){null!=d.Xl&&d.dZ(d.
|
|
755
|
+
(new B.Aa("text")).attr("x","50%").attr("style","text-anchor:middle;"+e).text(b);a.prepend(b);b.attr("y",c.height);b=a.find("g");e=d3v3.transform(b.attr("transform"));e.translate[1]+=c.height;b.attr("transform",e.toString());a.attr("height",parseInt(a.attr("height"))+c.height)}};d.ixa=function(b,a,c,e){var g=this;c=void 0===c?!1:c;e=void 0===e?null:e;f.za(!0,k.A.j.wE,"...",!0,!0);var l=["lib/html2canvas.v1.min.js","lib/jspdf.min.js"];x.Cd().Gi&&l.unshift("lib/promise.min.js");x.qn.load(l,function(){d.lb=
|
|
756
|
+
a;d.Jq=h.sx.Gia(a.Jq);d.yd=new jspdf.jsPDF(a.cD,"mm",d.Jq,!x.Cd().Gi);d.Re=e;d.Ar=b;d.L3=c;d.fh=d.bC-2*d.Ch;d.bk=d.cC-2*d.Ch;d.Rf=d.Ch;try{d.g2(function(){d.KR(g.lb.Ci,g.lb.bj,function(){return g.P2()})})}catch(m){console.error("Export PDF error:",m),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),f.za(!1),k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}})};d.g2=function(b){f.v(d.lb.oS)?b():h.h7.load(d.lb.oS,function(a,c){f.v(a)?f.v(c)||(d.font=c,d.yd.addFileToVFS(c.filename,c.content),d.yd.addFont(c.filename,c.name,"normal")):
|
|
757
|
+
f.Ua(a.message,k.A.j.xa,f.qb.xa);b()})};d.KR=function(b,a,c){var e=null==b,g=null==a;if(e&&g)c();else{if(!e){b=b.replace(/##PAGE-NUMBER##/gi,(d.Hk+1).toString());b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var l=new B.Aa("div");l.R("position","absolute");l.R("background","white");l.yj(h.Oe.Xy(d.cC-2*d.oi));l.html(b);f.K.Hb.zb.F.prepend(l);html2canvasV1(l.element,{scale:h.Oe.nh}).then(function(n){l.remove();d.Xl=n;e=!0;g&&c()})}if(!g){a=a.replace(/##PAGE-NUMBER##/gi,(d.Hk+1).toString());
|
|
758
|
+
a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var m=new B.Aa("div");m.R("position","absolute");m.R("background","white");m.yj(h.Oe.Xy(d.cC-2*d.oi));m.html(a);f.K.Hb.zb.F.prepend(m);html2canvasV1(m.element,{scale:h.Oe.nh}).then(function(n){m.remove();d.Yo=n;g=!0;e&&c()})}}};d.dZ=function(b,a){b.addImage(a,"JPEG",d.oi,d.oi,h.Oe.Df(a.width/h.Oe.nh),h.Oe.Df(a.height/h.Oe.nh))};d.cZ=function(b,a){b.addImage(a,"JPEG",d.oi,d.bC-h.Oe.Df(d.Yo.height/h.Oe.nh)-d.oi,h.Oe.Df(a.width/h.Oe.nh),h.Oe.Df(a.height/
|
|
759
|
+
h.Oe.nh))};d.UQ=function(){null!=d.Xl&&d.dZ(d.yd,d.Xl);null!=d.Yo&&d.cZ(d.yd,d.Yo);d.fh=d.bC;d.fh-=f.v(d.Xl)?d.Ch:h.Oe.Df(d.Xl.height/h.Oe.nh)+2*d.oi;d.fh-=f.v(d.Yo)?d.Ch:h.Oe.Df(d.Yo.height/h.Oe.nh)+2*d.oi;d.Rf=f.v(d.Xl)?d.Ch:h.Oe.Df(d.Xl.height/h.Oe.nh)+2*d.oi};d.P2=function(){d.UQ();d.pIa()};d.yta=function(b){var a=d.Ar.Ql.Ar.F.find("svg").clone(),c=document.createElement("canvas");a.prepend((new B.Aa("rect")).R("width","100%").R("height","100%").R("fill","white"));d.xga(a);a.attr("width",parseInt(a.attr("width"))*
|
|
760
760
|
h.Oe.nh);a.attr("height",parseInt(a.attr("height"))*h.Oe.nh);d.Ar.F.append(a);d.e_(a);d.Aaa(a);canvg(c,D.aa.Dc(D.JX.Qb(a.element)),{scaleWidth:a.width*h.Oe.nh,scaleHeight:a.height*h.Oe.nh});a.detach();b(c)};d.rCa=function(b){if(f.v(d.Ar.Ql.Xe))b(null);else{var a=d.Ar.Ql.Xe.F.clone();a.width=d.Ar.Ql.width;d.uZ(a,d.Ar.Ql.Xe.F);a.R("border","none").R("position","absolute").R("top",0).R("left",0).R("overflow","hidden").R("background","white").R("z-index",-1);d.L3&&a.R("width","100%").R("max-width","");
|
|
761
|
-
f.K.Hb.zb.F.prepend(a);html2canvasV1(a.element,{scale:h.Oe.nh}).then(function(c){a.remove();b(c)})}};d.pIa=function(){var b=["lib/html2canvas.v1.min.js","lib/canvg.min.js"];x.
|
|
762
|
-
e.height-c.height);d.L3&&null!=d.Re?(k.B.C.ie==f.K.
|
|
763
|
-
a),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),d.L3&&null!=d.Re?d.Re(null):k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}})};d.clear=function(){d.Ar=null;d.lb=null;d.
|
|
764
|
-
{bC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.fh:b.bk}},cC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.bk:b.fh}}});d.font=null;d.Re=null;d.
|
|
765
|
-
(function(f){(function(k){(function(h){function d(){throw Error("Singleton");}d.Le=function(b,a,c){var e=this;c=void 0===c?null:c;var g=["lib/html2canvas.v1.min.js"];x.
|
|
761
|
+
f.K.Hb.zb.F.prepend(a);html2canvasV1(a.element,{scale:h.Oe.nh}).then(function(c){a.remove();b(c)})}};d.pIa=function(){var b=["lib/html2canvas.v1.min.js","lib/canvg.min.js"];x.Cd().Gi&&b.unshift("lib/promise.min.js");x.qn.load(b,function(){try{d.yta(function(a){d.rCa(function(c){var e=document.createElement("canvas");e.width=a.width;e.height=a.height+(c?h.Oe.Xy(d.Ch)/2+c.height:0);var g=e.getContext("2d");g.fillStyle="#FFFFFF";g.fillRect(0,0,e.width,e.height);g.drawImage(a,0,0);c&&g.drawImage(c,0,
|
|
762
|
+
e.height-c.height);d.L3&&null!=d.Re?(k.B.C.ie==f.K.Bd.Oi&&0==d.lb.filename.length&&(d.lb.filename="pivotcharts.pdf"),d.Re(e)):(d.Rf+=h.Oe.Kx(k.B.C.Fm,d.yd,d.Rf,d.font),c=d.Sga(h.Oe.Df(e.width),h.Oe.Df(e.height),d.bk,d.fh),d.yd.addImage(e,"JPEG",d.Ch+c.x,d.Rf,c.width,c.height),0==d.lb.filename.length&&(d.lb.filename="pivotcharts.pdf"),d.lb.RB==k.cb.po.rA?h.hn.save(d.yd,d.lb):h.hn.save(f.O.Q4(d.yd.output()),d.lb),d.clear(),k.Ta.P().Da(new z.da(f.gg.Yg)))})})}catch(a){console.error("Export Charts error:",
|
|
763
|
+
a),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),d.L3&&null!=d.Re?d.Re(null):k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}})};d.clear=function(){d.Ar=null;d.lb=null;d.yd=null;d.Rf=0;d.fh=0;d.bk=0;d.Hk=0;d.Xl=null;d.Yo=null};d.xga=function(b){b=b.find("title",!0);for(var a=0;a<b.length;a++)b[a].remove()};d.Sga=function(b,a,c,e){var g=0;g=void 0===g?0:g;var l={x:0,y:0,width:0,height:0};if(b>c-2*g||a>e-2*g)e=Math.min((c-2*g)/b,(e-2*g)/a),b*=e,a*=e;l.x=g+(c-2*g-b)/2;l.y=g;l.width=b;l.height=a;return l};r.Object.defineProperties(d,
|
|
764
|
+
{bC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.fh:b.bk}},cC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.bk:b.fh}}});d.font=null;d.Re=null;d.oi=5;d.Ch=15;d.Jq="a4";d.Hk=0;h.Vz=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
765
|
+
(function(f){(function(k){(function(h){function d(){throw Error("Singleton");}d.Le=function(b,a,c){var e=this;c=void 0===c?null:c;var g=["lib/html2canvas.v1.min.js"];x.Cd().Gi&&g.unshift("lib/promise.min.js");x.qn.load(g,function(){d.lb=a;e.yva();var l=b.F.clone(),m=e.IR(l,c);f.K.Hb.zb.F.prepend(m);null==c?m.Bp(l.height+e.Uca()):m.Bp(f.K.Hb.zb.rp()+e.Uca());m.R("left",-m.left-m.width+"px");try{html2canvasV1(m.element).then(function(n){d.HDa(n);m.sg()})}catch(n){console.error("Export Image error:",
|
|
766
766
|
n),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),m.sg(),k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}},function(){k.Ta.P().Da(new z.da(f.gg.Yg));d.clear()})};d.IR=function(b,a){a=(new B.Aa("div")).R("position","absolute").R("top","0px").R("left","0px").R("overflow","hidden").R("text-align","center").R("background","white").yj(f.K.Hb.Eu).R("z-index",-1).append(a);null!=d.bu&&a.append(d.bu);a.append(b.R("position","relative"));null!=d.Tt&&a.append(d.Tt);return a};d.Uca=function(){return(null==this.bu?0:this.bu.height)+
|
|
767
|
-
(null==this.Tt?0:this.Tt.height)};d.yva=function(){var b=h.sx.EG("a4"),a=this.lb.Ci,c=this.lb.bj,e=null==a,g=null==c;e&&g||(e||(a=a.replace(/##PAGE-NUMBER##/gi,""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),this.bu=new B.Aa("div"),this.bu.R("background","white"),this.bu.R("text-align","left"),this.bu.R("z-index",-1),this.bu.yj(h.Oe.Xy(b.bk-2*this.
|
|
768
|
-
this.Tt.R("background","white"),this.Tt.R("text-align","left"),this.Tt.R("z-index",-1),this.Tt.yj(h.Oe.Xy(b.bk-2*this.
|
|
769
|
-
d.clear=function(){d.lb=null;d.bu=null;d.Tt=null};d.
|
|
770
|
-
(function(f){(function(k){(function(h){function d(){}d.Le=function(b,a,c,e,g){var l=this;g=void 0===g?null:g;f.za(!0,k.A.j.wE,"...",!0,!0);var m=["lib/html2canvas.v1.min.js","lib/jspdf.min.js"];x.
|
|
771
|
-
d.e5=d.X.fg+c;d.f5=d.X.af+e;d.Gz={};d.Rf=d.Ch;try{d.baa(),d.O0(),d.g2(function(){d.KR(d.lb.Ci,d.lb.bj,function(){return l.P2()})})}catch(n){console.error("Export PDF error:",n),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),f.za(!1),k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}})};d.g2=function(b){f.v(d.lb.oS)?b():h.h7.load(d.lb.oS,function(a,c){f.v(a)?f.v(c)||(d.font=c,d.
|
|
772
|
-
null==b||null!=d.Xl&&-1==b.search(d.eP),g=null==a||null!=d.Yo&&-1==a.search(d.eP);if(e&&g)c();else{if(!e){b=b.replace(d.eP,(d.Hk+1).toString());b=b.replace(d.d6,(new Date).toLocaleString());var l=new B.Aa("div");l.R("position","absolute");l.R("background","white");l.yj(d.Xy(d.cC-2*d.
|
|
773
|
-
new B.Aa("div");m.R("position","absolute");m.R("background","white");m.yj(d.Xy(d.cC-2*d.
|
|
774
|
-
d.fh-=f.v(d.Xl)?d.Ch:d.Df(d.Xl.height/d.nh)+2*d.
|
|
775
|
-
Re:function(){return d.Ffa()}}))};d.Kx=function(b,a,c,e){if(f.ia(b))return 0;f.v(e)?(e=a.getFont(),a.setFont(e.Jxa,"bold")):a.setFont(e.name,"normal");a.setTextColor(0,0,0);a.setFontSize(12);e=12*a.getStringUnitWidth(b)/a.internal.scaleFactor;e=(a.internal.pageSize.getWidth()-e)/2;a.text(b,e,c);return d.Df(12)};d.qaa=function(b,a,c){var e=.8*Math.max(d.Df(30),6),g=.9*d.uH(d.eba);b=d.
|
|
776
|
-
d.Df(11*b.length-d.
|
|
777
|
-
e,d.Zt(m)),l,m,c,e,g),c+=e,m.fontSize=n,d.pL(d.
|
|
778
|
-
e=0;e<a.length;e++)c=parseInt(a[e].substring(2,a[e].length-1)),b=b.replace(a[e],String.fromCharCode(c));return b};d.pL=function(b,a,c,e,g,l){var m=b.length,n=1<m?d.Df(b.length*(c.fontSize+2*d.
|
|
779
|
-
d.
|
|
780
|
-
a&&0<a.level?(a.level+1)*d.
|
|
781
|
-
" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu,B.Aa.Qb(b.element));d.QZ=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.gA,B.Aa.Qb(b.element));d.kS=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Pp,B.Aa.Qb(b.element))};d.uG=function(b){b=d.uH(d.X.ka.coords.ah(b));b=b<d.bk?b:d.bk-1;return.9*b};d.nz=function(b,a){null!=b&&b.gu&&
|
|
782
|
-
a.backgroundColor&&(a.color="rgb(242, 242, 242)");a.backgroundColor=a.backgroundColor||"rgb(0,0,0,0)";a.borderColor=a.borderColor||"rgb(222,222,222)";a.fontSize=a.fontSize||11;return a};d.Zt=function(b){return{fontSize:.85*b.fontSize,fontName:null==b.fontFamily?d.Zla:b.fontFamily,fontStyle:f.K.X.W.ima.rza(parseFloat(b.fontWeight))}};d.tHa=function(){d.kT=
|
|
783
|
-
b)&&(d.Gz[b]=0,b++);e=d.X.ka.Tf(a,b,!0);new f.K.X.W.Zc;var l=d.dR.clone();l=d.nz(e,l);if(null!=e){var m=e.J();"number"===typeof m&&(e.value=m,m+="",e.numeric=!0);m=m.replace(/<(?:.|\n)*?>/gi,"");e=d.
|
|
784
|
-
var a,c=d.Ch,e=d.Dr-d.NR<d.X.af&&d.Dr>d.X.xo?d.Dr-d.NR:d.Dr;if(d.X.ka.coords.Rn(e,NaN))d.Dr++;else{var g=d.kT[e];for(d.Ft=d.Er;d.Ft<d.ey+d.Er;){var l=(a=d.YG||d.zT?!1:d.Ft==d.Er&&d.Ft>d.X.xo)?d.X.xo:d.Ft;if(d.X.ka.coords.Rn(NaN,l))d.Ft++;else if(!d.oK()&&d.ls+g<=d.fh){a=null!=d.Gz&&null!=d.Gz[l]?d.Gz[l]:d.uG(l);if(.9*(c+a)>d.bk)break;l=d.X.ka.Tf(e,
|
|
785
|
-
p=d.nz(l,p);n=d.
|
|
786
|
-
d.ey>=d.Hd+d.X.fg};d.oK=function(){return d.Dr>=d.Gd+d.X.af};d.B$=function(){d.
|
|
787
|
-
d.Ft--}for(;b<d.e5;)if(c=d.uG(b),c>d.bk/2-d.Ch&&(c=(d.bk+d.Ch)/2,d.Gz[b]=c),a+=c,a<=d.bk)d.ey++,b++;else{0==d.ey&&(d.ey=1);break}};d.Ffa=function(){0==d.lb.filename.length&&(d.lb.filename="pivot.pdf");if(d.lb.RB==k.cb.po.rA)h.hn.save(d.
|
|
788
|
-
d.bk=0;d.Xl=null;d.Yo=null;d.kT=null;d.YG=!1;d.zT=!1};d.uH=function(b){return.264*b};d.Xy=function(b){return 3.779*b};d.Df=function(b){return b/3.779};r.Object.defineProperties(d,{bC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.fh:b.bk}},cC:{configurable:!0,enumerable:!0,get:function(){var b=
|
|
789
|
-
d.d6=/##CURRENT-DATE##/gi;d.YG=!1;d.zT=!1;d.nh=4;d.
|
|
767
|
+
(null==this.Tt?0:this.Tt.height)};d.yva=function(){var b=h.sx.EG("a4"),a=this.lb.Ci,c=this.lb.bj,e=null==a,g=null==c;e&&g||(e||(a=a.replace(/##PAGE-NUMBER##/gi,""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),this.bu=new B.Aa("div"),this.bu.R("background","white"),this.bu.R("text-align","left"),this.bu.R("z-index",-1),this.bu.yj(h.Oe.Xy(b.bk-2*this.oi)),this.bu.html(a)),g||(c=c.replace(/##PAGE-NUMBER##/gi,""),c=c.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),this.Tt=new B.Aa("div"),
|
|
768
|
+
this.Tt.R("background","white"),this.Tt.R("text-align","left"),this.Tt.R("z-index",-1),this.Tt.yj(h.Oe.Xy(b.bk-2*this.oi)),this.Tt.html(c)))};d.HDa=function(b){if(d.lb.RB==k.cb.po.rA)h.hn.save(b,d.lb);else try{var a=f.O.Yaa(b.toDataURL());0==d.lb.filename.length&&(d.lb.filename="pivotgrid.png");f.v(a)||h.hn.save(a,d.lb)}catch(c){f.Ua("Due to security reason export to image cannot be completed when you run the component from the local folder.",k.A.j.xa,f.qb.xa)}k.Ta.P().Da(new z.da(f.gg.Yg));d.clear()};
|
|
769
|
+
d.clear=function(){d.lb=null;d.bu=null;d.Tt=null};d.oi=5;h.F6=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
770
|
+
(function(f){(function(k){(function(h){function d(){}d.Le=function(b,a,c,e,g){var l=this;g=void 0===g?null:g;f.za(!0,k.A.j.wE,"...",!0,!0);var m=["lib/html2canvas.v1.min.js","lib/jspdf.min.js"];x.Cd().Gi&&m.unshift("lib/promise.min.js");x.qn.load(m,function(){d.clear();d.YG=k.B.C.qc;d.zT=b instanceof f.K.xf.gE;d.X=b;d.Gd=e;d.Hd=c;d.coords=b.ka.coords;d.lb=a;d.Jq=h.sx.Gia(a.Jq);d.yd=new jspdf.jsPDF(a.cD,"mm",d.Jq,!x.Cd().Gi);d.Mv=g;d.A3=null!=g&&k.B.C.ie==f.K.Bd.Oi;d.fh=d.bC-2*d.Ch;d.bk=d.cC-2*d.Ch;
|
|
771
|
+
d.e5=d.X.fg+c;d.f5=d.X.af+e;d.Gz={};d.Rf=d.Ch;try{d.baa(),d.O0(),d.g2(function(){d.KR(d.lb.Ci,d.lb.bj,function(){return l.P2()})})}catch(n){console.error("Export PDF error:",n),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),f.za(!1),k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}})};d.g2=function(b){f.v(d.lb.oS)?b():h.h7.load(d.lb.oS,function(a,c){f.v(a)?f.v(c)||(d.font=c,d.yd.addFileToVFS(c.filename,c.content),d.yd.addFont(c.filename,c.name,"normal")):f.Ua(a.message,k.A.j.xa,f.qb.xa);b()})};d.KR=function(b,a,c){var e=
|
|
772
|
+
null==b||null!=d.Xl&&-1==b.search(d.eP),g=null==a||null!=d.Yo&&-1==a.search(d.eP);if(e&&g)c();else{if(!e){b=b.replace(d.eP,(d.Hk+1).toString());b=b.replace(d.d6,(new Date).toLocaleString());var l=new B.Aa("div");l.R("position","absolute");l.R("background","white");l.yj(d.Xy(d.cC-2*d.oi));l.html(b);f.K.Hb.zb.F.prepend(l);html2canvasV1(l.element,{scale:d.nh}).then(function(n){l.remove();d.Xl=n;e=!0;g&&c()})}if(!g){a=a.replace(d.eP,(d.Hk+1).toString());a=a.replace(d.d6,(new Date).toLocaleString());var m=
|
|
773
|
+
new B.Aa("div");m.R("position","absolute");m.R("background","white");m.yj(d.Xy(d.cC-2*d.oi));m.html(a);f.K.Hb.zb.F.prepend(m);html2canvasV1(m.element,{scale:d.nh}).then(function(n){m.remove();d.Yo=n;g=!0;e&&c()})}}};d.dZ=function(b,a){b.addImage(a,"JPEG",d.oi,d.oi,d.Df(a.width/d.nh),d.Df(a.height/d.nh))};d.cZ=function(b,a){b.addImage(a,"JPEG",d.oi,d.bC-d.Df(a.height/d.nh)-d.oi,d.Df(a.width/d.nh),d.Df(a.height/d.nh))};d.UQ=function(){null!=d.Xl&&d.dZ(d.yd,d.Xl);null!=d.Yo&&d.cZ(d.yd,d.Yo);d.fh=d.bC;
|
|
774
|
+
d.fh-=f.v(d.Xl)?d.Ch:d.Df(d.Xl.height/d.nh)+2*d.oi;d.fh-=f.v(d.Yo)?d.Ch:d.Df(d.Yo.height/d.nh)+2*d.oi;d.Rf=f.v(d.Xl)?d.Ch:d.Df(d.Xl.height/d.nh)+2*d.oi};d.P2=function(){d.UQ();if(null!=d.Mv){d.Rf+=d.Kx(k.B.C.Fm,d.yd,d.Rf,d.font);var b=h.Vz.Sga(d.Df(d.Mv.width),d.Df(d.Mv.height),d.bk,d.fh),a=f.ia(k.B.C.Fm)?d.Rf:d.Rf+5;d.yd.addImage(d.Mv,"JPEG",d.Ch,a,b.width,b.height);d.A3||this.B$()}d.A3?d.Ffa():(d.Rf+=d.Kx(k.B.C.Cq,d.yd,d.Rf,d.font),d.tHa(),k.B.C.pN&&d.qL(),x.Sk.vn({eo:function(){return d.j0()},
|
|
775
|
+
Re:function(){return d.Ffa()}}))};d.Kx=function(b,a,c,e){if(f.ia(b))return 0;f.v(e)?(e=a.getFont(),a.setFont(e.Jxa,"bold")):a.setFont(e.name,"normal");a.setTextColor(0,0,0);a.setFontSize(12);e=12*a.getStringUnitWidth(b)/a.internal.scaleFactor;e=(a.internal.pageSize.getWidth()-e)/2;a.text(b,e,c);return d.Df(12)};d.qaa=function(b,a,c){var e=.8*Math.max(d.Df(30),6),g=.9*d.uH(d.eba);b=d.yd.splitTextToSize(b,g,d.Zt(c));a=d.yd.splitTextToSize(a,g,d.Zt(c));c=1<b.length?d.Df(b.length*(11+2*d.Sh)-2*d.Sh):
|
|
776
|
+
d.Df(11*b.length-d.Sh);a=1<a.length?d.Df(a.length*(11+2*d.Sh)-2*d.Sh):d.Df(11*a.length-d.Sh);a=(c>a?c:a)/e;return 1>a?e:(a+1)*e};d.qL=function(){if(!(d.X instanceof f.K.xf.gE||0==f.u.La.P().qa.pages.length)){var b=k.Ta.P().ha.qa.tc(),a=f.u.La.P().qa.pages,c=d.Ch,e=.9*d.uH(d.eba);var g=!0;var l=d.X.ka.Tf(0,0,!0),m=d.kS.clone();m=d.nz(l,m);for(var n=m.fontSize,p=0;p<b.length;p++){var t=b.ea(p);if(a.Db(t.uniqueName)&&t.filter.bh){var q=d.Ey(t);g&&(g=d.qaa("",k.A.j.br,m),d.pL(d.yd.splitTextToSize("",
|
|
777
|
+
e,d.Zt(m)),l,m,c,e,g),c+=e,m.fontSize=n,d.pL(d.yd.splitTextToSize(k.A.j.br,e,d.Zt(m)),l,m,c,e,g),m.fontSize=n,c=d.Ch,d.Rf+=g,d.ls+=g);g=d.qaa(t.caption,q,m);d.pL(d.yd.splitTextToSize(d.n5(t.caption),e,d.Zt(m)),l,m,c,e,g);c+=e;m.fontSize=n;d.pL(d.yd.splitTextToSize(d.n5(q),e,d.Zt(m)),l,m,c,e,g);m.fontSize=n;c=d.Ch;d.Rf+=g;d.ls+=g;g=!1}}d.Rf=d.Rf>d.Ch?d.Rf+2*d.uH(d.dba):d.Rf;d.ls=d.Rf>d.Ch?d.ls+2*d.uH(d.dba):d.ls}};d.n5=function(b){b=b.replace(/<(?:.|\n)*?>/gi,"");var a=b.match(/&#(\d{3,4});/gi);if(a)for(var c,
|
|
778
|
+
e=0;e<a.length;e++)c=parseInt(a[e].substring(2,a[e].length-1)),b=b.replace(a[e],String.fromCharCode(c));return b};d.pL=function(b,a,c,e,g,l){var m=b.length,n=1<m?d.Df(b.length*(c.fontSize+2*d.Sh)-2*d.Sh):d.Df(b.length*c.fontSize-d.Sh);n>d.fh/2&&(n=(d.fh-20)/2,m=Math.floor(d.Xy(n)/(c.fontSize+2*d.Sh)));c.fontSize*=.7;var p=f.K.X.W.Zc.F3(c.backgroundColor);d.yd.setFillColor(p[0],p[1],p[2],0!=p[3]?void 0:0);p=f.K.X.W.Zc.F3(c.borderColor);d.yd.setDrawColor(p[0],p[1],p[2],0!=p[3]?void 0:0);p=f.K.X.W.Zc.F3(c.color);
|
|
779
|
+
d.yd.setTextColor(p[0],p[1],p[2]);f.v(d.font)?(p=d.yd.getFont(),d.yd.setFont(p.Jxa,"bold"===c.fontWeight?"bold":"normal")):d.yd.setFont(d.font.name,"normal");d.yd.setFontSize(c.fontSize);d.yd.rect(e,d.Rf,g,l,"FD");l=d.Rf+(l-n)/2+d.Sh;if("right"==c.textAlign)if(1<b.length)for(c=0;c<m;c++)d.yd.text(b[c],e+g-d.Sh,l,{align:"right"}),l+=2*d.Sh;else d.yd.text(b[0],e+g-d.Sh+("("==b[0].charAt(0)&&")"==b[0].charAt(b[0].length-1)?1.5:0),l,{align:"right"});else if("center"==c.textAlign)if(1<b.length)for(a=0;a<
|
|
780
|
+
m;a++)d.yd.text(b[a],e+g/2,l,{align:"center"}),l+=2*d.Sh;else d.yd.text(b[0],e+g/2,l,{align:"center"});else if(1<b.length)for(c=0;c<m;c++)g=!k.B.C.vk&&null!=a&&0<a.level?(a.level+1)*d.Sh:d.Sh,d.yd.text(b[c],e+g,l),l+=2*d.Sh;else g=!k.B.C.vk&&null!=a&&0<a.level?(a.level+1)*d.Sh:d.Sh,d.yd.text(b[0],e+g,l)};d.Ey=function(b){var a=k.A.j.AI;b.filter.bh&&(a=1==b.$a.length?b.ua(b.$a[0]).caption:k.A.j.GI);return a};d.O0=function(){var b=d.X.ka,a=b.find(".fm-data-sheet");d.dR=f.K.X.W.Zc.hl(f.K.X.W.wa.xe,a);
|
|
781
|
+
d.d5=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev,a);d.U0=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev+" "+f.K.X.W.wa.JI,a);d.e4=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu,B.Aa.Qb(b.element));d.QZ=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.gA,B.Aa.Qb(b.element));d.kS=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Pp,B.Aa.Qb(b.element))};d.uG=function(b){b=d.uH(d.X.ka.coords.ah(b));b=b<d.bk?b:d.bk-1;return.9*b};d.nz=function(b,a){null!=b&&b.gu&&
|
|
782
|
+
null!=b.style&&(b=0<b.style.NB.length?f.K.X.W.Zc.hl(b.style.FS()):f.K.X.W.Zc.tS(b.style.XS()),b.merge(a),a=b);a.color=a.color||"rgb(0,0,0)";"rgb(33, 33, 33)"==a.backgroundColor&&(a.color="rgb(242, 242, 242)");a.backgroundColor=a.backgroundColor||"rgb(0,0,0,0)";a.borderColor=a.borderColor||"rgb(222,222,222)";a.fontSize=a.fontSize||11;return a};d.Zt=function(b){return{fontSize:.85*b.fontSize,fontName:null==b.fontFamily?d.Zla:b.fontFamily,fontStyle:f.K.X.W.ima.rza(parseFloat(b.fontWeight))}};d.tHa=function(){d.kT=
|
|
783
|
+
Array(d.f5);for(var b,a=0,c,e;a<d.f5;){d.X.ka.coords.Rn(a,NaN)&&(d.kT[a]=0,a++);c=b=0;for(var g=.8*Math.max(d.Df(d.coords.Md(a)),6);b<d.e5;){d.X.ka.coords.Rn(NaN,b)&&(d.Gz[b]=0,b++);e=d.X.ka.Tf(a,b,!0);new f.K.X.W.Zc;var l=d.dR.clone();l=d.nz(e,l);if(null!=e){var m=e.J();"number"===typeof m&&(e.value=m,m+="",e.numeric=!0);m=m.replace(/<(?:.|\n)*?>/gi,"");e=d.yd.splitTextToSize(m,null!=d.Gz&&null!=d.Gz[b]?d.Gz[b]:d.uG(b),d.Zt(l));e=(1<e.length?d.Df(e.length*(11+2*d.Sh)-2*d.Sh):d.Df(11*e.length-d.Sh))/
|
|
784
|
+
g;e=1>e?g:(e+1)*g;e=e>d.fh/2?(d.fh-1)/2:e;c=e>c?e:c}b++}d.kT[a]=c;a++}};d.j0=function(){if(d.LP)return!1;for(var b=0;b<d.Uq;b++){if(d.OM&&(d.B$(),d.LP))return!1;var a,c=d.Ch,e=d.Dr-d.NR<d.X.af&&d.Dr>d.X.xo?d.Dr-d.NR:d.Dr;if(d.X.ka.coords.Rn(e,NaN))d.Dr++;else{var g=d.kT[e];for(d.Ft=d.Er;d.Ft<d.ey+d.Er;){var l=(a=d.YG||d.zT?!1:d.Ft==d.Er&&d.Ft>d.X.xo)?d.X.xo:d.Ft;if(d.X.ka.coords.Rn(NaN,l))d.Ft++;else if(!d.oK()&&d.ls+g<=d.fh){a=null!=d.Gz&&null!=d.Gz[l]?d.Gz[l]:d.uG(l);if(.9*(c+a)>d.bk)break;l=d.X.ka.Tf(e,
|
|
785
|
+
l,!0);var m=f.v(l)?"":l.J();"number"===typeof m&&(l.value=m,m+="",l.numeric=!0);m=d.n5(m);var n=[m];new f.K.X.W.Zc;if(null!=l&&l.gi){var p=d.e4.clone();p=d.nz(l,p);n=d.yd.splitTextToSize(m,a,d.Zt(p))}else null!=l&&l.wh?(p=d.QZ.clone(),p=d.nz(l,p),n=d.yd.splitTextToSize(m,a,d.Zt(p))):null!=l&&l.Ck?(p=d.kS.clone(),p=d.nz(l,p)):null!=l&&l.Ny&&l.Wj&&""!=l.J()?(p=d.U0.clone(),p=d.nz(l,p)):null!=l&&l.Wj&&""!=l.J()?(p=d.d5.clone(),p=d.nz(l,p)):(p=d.dR.clone(),p=d.nz(l,p),n=d.yd.splitTextToSize(m,a,d.Zt(p)));
|
|
786
|
+
d.pL(n,l,p,c,a,g);d.Ft++;c+=a}else{d.OM=!0;break}}d.OM||(d.Rf+=g,d.ls+=g,d.Dr++);if(d.XQ()&&d.oK())break}}return d.XQ()&&d.oK()};d.XQ=function(){return d.Er+d.ey>=d.Hd+d.X.fg};d.oK=function(){return d.Dr>=d.Gd+d.X.af};d.B$=function(){d.yd.addPage();d.Hk++;d.OM=!1;d.LP=!0;d.KR(d.lb.Ci,d.lb.bj,function(){d.LP=!1;d.UQ()});d.ls=0;if(null==d.Mv||1<d.Hk)d.oJa(),d.nJa();f.za(!0,k.A.j.wE,d.Hk+1+" "+k.A.j.Q7,!0)};d.oJa=function(){d.XQ()&&!d.oK()?(d.Dr-=d.X.af,d.NR=d.Dr):d.Dr=d.NR};d.nJa=function(){d.XQ()?
|
|
787
|
+
d.oK()||(d.Er=0,d.Ft=0):(d.Er+=d.ey,d.Ft=d.Er);d.baa()};d.baa=function(){d.ey=0;var b=d.Er,a=0;if(d.YG||d.zT?0:d.Er>=d.X.fg){var c=d.uG(d.X.xo);a+=c;d.ey++;d.Er--;d.Ft--}for(;b<d.e5;)if(c=d.uG(b),c>d.bk/2-d.Ch&&(c=(d.bk+d.Ch)/2,d.Gz[b]=c),a+=c,a<=d.bk)d.ey++,b++;else{0==d.ey&&(d.ey=1);break}};d.Ffa=function(){0==d.lb.filename.length&&(d.lb.filename="pivot.pdf");if(d.lb.RB==k.cb.po.rA)h.hn.save(d.yd,d.lb);else{var b=d.yd.output();b=f.O.Q4(b);h.hn.save(b,d.lb)}d.clear();k.Ta.P().Da(new z.da(f.gg.Yg))};
|
|
788
|
+
d.clear=function(){d.X=null;d.lb=null;d.yd=null;d.font=null;d.Hd=0;d.Gd=0;d.e5=0;d.f5=0;d.ey=0;d.Ft=0;d.Er=0;d.Dr=0;d.NR=0;d.ls=0;d.Rf=0;d.OM=!1;d.Hk=0;d.fh=0;d.bk=0;d.Xl=null;d.Yo=null;d.kT=null;d.YG=!1;d.zT=!1};d.uH=function(b){return.264*b};d.Xy=function(b){return 3.779*b};d.Df=function(b){return b/3.779};r.Object.defineProperties(d,{bC:{configurable:!0,enumerable:!0,get:function(){var b=h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.fh:b.bk}},cC:{configurable:!0,enumerable:!0,get:function(){var b=
|
|
789
|
+
h.sx.EG(d.Jq);return"portrait"===d.lb.cD?b.bk:b.fh}}});d.Ch=15;d.OM=!1;d.Hk=0;d.A3=!1;d.Zla="Helvetica";d.font=null;d.Jq="a4";d.eba=100;d.dba=30;d.eP=/##PAGE-NUMBER##/gi;d.d6=/##CURRENT-DATE##/gi;d.YG=!1;d.zT=!1;d.nh=4;d.oi=5;d.LP=!1;d.Uq=5;d.Sh=d.uH(8);h.Oe=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
790
790
|
(function(f){(function(k){(function(h){function d(){throw Error("Singleton");}d.Le=function(b,a,c,e,g){d.X=b;d.Hd=c;d.Gd=e;d.lb=a;d.Mv=(void 0===g?"":g)||"";try{d.fS()}catch(l){console.error("Export HTML error:",l),f.Ua(k.A.j.Is,k.A.j.xa,f.qb.xa),f.za(!1),k.Ta.P().Da(new z.da(f.gg.Yg)),d.clear()}};d.fS=function(){f.za(!0,k.A.j.ox);d.Vl=x.zf();d.cu="";d.gb=d.X.si;d.rs=[];k.B.C.pN&&d.qL();x.Sk.vn({eo:function(){return d.j0()},Re:function(){return d.PEa()}})};d.k0=function(){var b="",a=d.X.ka,c=a.find(".fm-data-sheet");
|
|
791
791
|
b+=f.O.bind("body{{0}}\n",f.K.X.W.Zc.By(B.Aa.Qb(a.element),["font-family"]));b+=f.O.bind(".grid{border-collapse:collapse;{0}border-top:1px solid #e9e9e9;border-left:1px solid #e9e9e9;}\n",f.K.X.W.Zc.By(B.Aa.Qb(a.element),["font-family","font-size","color"]));b+=f.O.bind(".title{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.EX,B.Aa.Qb(a.element)));b+=f.O.bind(".cell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe,c));b+=f.O.bind(".totalCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev,c));b+=f.O.bind(".grandTotalCell{{0}}\n",
|
|
792
792
|
f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev+" "+f.K.X.W.wa.JI,c));b+=f.O.bind(".rowHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu,B.Aa.Qb(a.element)));b+=f.O.bind(".columnHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.gA,B.Aa.Qb(a.element)));b+=f.O.bind(".filterHeaderCell{{0}}\n",f.K.X.W.Zc.Ak(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Pp,B.Aa.Qb(a.element)));for(c=1;20>=c;c++)b+=f.O.bind(".level{0}{{1}}\n",c,f.K.X.W.Zc.Ak(f.K.X.W.wa.Uu+
|
|
793
793
|
" "+f.K.X.W.wa.sf+c,B.Aa.Qb(a.element),["padding-left"]));for(c=0;c<d.rs.length;c++)b+=f.O.bind(".{0}{{1}}\n",d.rs[c],f.K.X.W.Zc.Ak(d.rs[c],B.Aa.Qb(a.element)));return b};d.tZ=function(b){for(var a=0;a<b.length;a++)0>d.rs.indexOf(b[a])&&d.rs.push(b[a])};d.qL=function(){if(!(d.X instanceof f.K.xf.gE||0==f.u.La.P().qa.pages.length))for(var b=k.Ta.P().ha.qa.tc(),a=f.u.La.P().qa.pages,c,e,g=!0,l,m="style='min-width:"+d.lDa+"px;'",n=0;n<b.length;n++)e=b.ea(n),l="",a.Db(e.uniqueName)&&e.filter.bh&&(c=d.Ey(e),
|
|
794
794
|
g&&(l+="<td {0}></td>",l=f.O.bind(l,"class='filterHeaderCell' "+m),l+="<td {0}>"+k.A.j.br+"</td>",l=f.O.bind(l,"class='filterHeaderCell' "+m),d.YB+="<tr>"+l+"</tr>",l=""),l+="<td {0}>"+e.caption+"</td>",l=f.O.bind(l,"class='filterHeaderCell' "+m),l+="<td {0}>"+c+"</td>",l=f.O.bind(l,"class='filterHeaderCell' "+m),d.YB+="<tr>"+l+"</tr>",g=!1)};d.Ey=function(b){var a=k.A.j.AI;b.filter.bh&&(a=1==b.$a.length?b.ua(b.$a[0]).caption:k.A.j.GI);return a};d.j0=function(){var b="";if(d.X.ka.coords.Rn(d.gb,NaN))return d.gb++>=
|
|
795
|
-
d.Gd+d.X.af;for(var a=d.X.xo;a<d.Hd+d.X.fg;a++)if(!d.X.ka.coords.Rn(NaN,a)){var c=d.X.ka.Tf(d.gb,a,!0);b+="<td {0}>"+(c?c.J(!0):"")+"</td>";if(null==c)b=f.O.bind(b,"class='cell'");else{var e="",g="";c.gu&&null!=c.style&&(g=c.style.XS(),e=c.style.FS(),d.tZ(c.style.NB));e=c.
|
|
795
|
+
d.Gd+d.X.af;for(var a=d.X.xo;a<d.Hd+d.X.fg;a++)if(!d.X.ka.coords.Rn(NaN,a)){var c=d.X.ka.Tf(d.gb,a,!0);b+="<td {0}>"+(c?c.J(!0):"")+"</td>";if(null==c)b=f.O.bind(b,"class='cell'");else{var e="",g="";c.gu&&null!=c.style&&(g=c.style.XS(),e=c.style.FS(),d.tZ(c.style.NB));e=c.gi?e+(" rowHeaderCell level"+c.level):c.wh?e+" columnHeaderCell":c.Ck?e+" filterHeaderCell":c.Ny&&c.Wj&&""!=c.J(!0)?e+" grandTotalCell":c.Wj&&""!=c.J(!0)?e+" totalCell":e+" cell";null!=c&&c.Ck&&(e+=" level"+c.level);""!=e.trim()&&
|
|
796
796
|
(e="class='"+e.trim()+"'");g+="width:"+d.X.ka.coords.ah(a)+"px;";""!=g.trim()&&(g="style='"+g.trim()+"'");b=f.O.bind(b,e+" "+g)}}d.YM+="<tr>"+b+"</tr>";200<x.zf()-d.Vl&&(f.za(!0,k.A.j.ox,f.O.bind("{0}%",(d.gb/(d.Gd+d.X.af)*100).toFixed(0))),d.Vl=x.zf());return++d.gb>=d.Gd+d.X.af};d.PEa=function(){f.za(!1);d.uIa();d.clear()};d.uIa=function(){0==d.lb.filename.length&&(d.lb.filename="pivotgrid.html");var b="";if(!f.ia(d.lb.Ci)){var a=d.lb.Ci;a=a.replace(/##PAGE-NUMBER##/gi,"");a=a.replace(/##CURRENT-DATE##/gi,
|
|
797
797
|
(new Date).toLocaleString());b+=a}f.ia(d.Mv)||(f.ia(k.B.C.Fm)||(b+="<div class='title'>"+k.B.C.Fm+"</div>"),b+=d.Mv);b+="<div class='title'>"+k.B.C.Cq+"</div>";b+=0<d.YB.length?"<table class='grid'>"+d.YB+"</table><br><br><table class='grid'>"+d.YM+"</table>":"<table class='grid'>"+d.YM+"</table>";f.ia(d.lb.bj)||(a=d.lb.bj,a=a.replace(/##PAGE-NUMBER##/gi,""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),b+=a);d.cu="<!DOCTYPE html><html><head><meta charset='UTF-8'/>";d.cu+="<title>"+
|
|
798
798
|
(f.ia(k.B.C.Cq)?k.A.j.rW:k.B.C.Cq)+"</title>";d.cu+="<style>"+d.k0()+"</style></head>";d.cu+="<body>"+b+"</body></html>";h.hn.save(d.cu,d.lb);k.Ta.P().Da(new z.da(f.gg.Yg))};d.clear=function(){d.gb=0;d.cu="";d.YB="";d.YM="";d.Hd=0;d.Gd=0;d.X=null;d.lb=null;d.Mv=""};d.gb=0;d.Vl=0;d.cu="";d.YB="";d.YM="";d.lDa=100;d.Uq=10;h.E6=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
@@ -800,23 +800,23 @@ d.Gd+d.X.af;for(var a=d.X.xo;a<d.Hd+d.X.fg;a++)if(!d.X.ka.coords.Rn(NaN,a)){var
|
|
|
800
800
|
d.Xra();x.Sk.vn({eo:function(){return d.Cya()},Re:function(){return d.vGa()}})};d.O0=function(){var b=d.X.ka.element;d.dR=f.K.X.W.Zc.hl(f.K.X.W.wa.xe,B.Aa.Qb(b),!1);d.d5=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev,B.Aa.Qb(b),!1);d.U0=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.ev+" "+f.K.X.W.wa.JI,B.Aa.Qb(b),!1);d.e4=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu,B.Aa.Qb(b),!1);d.QZ=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.gA,B.Aa.Qb(b),!1);d.kS=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+
|
|
801
801
|
" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Pp,B.Aa.Qb(b),!1);for(var a=1;20>=a;a++)d.f4[a]=f.K.X.W.Zc.hl(f.K.X.W.wa.xe+" "+f.K.X.W.wa.Ej+" "+f.K.X.W.wa.Uu+" "+f.K.X.W.wa.sf+a,B.Aa.Qb(b),!1)};d.vGa=function(){d.x$(this.lb.bj,!0);d.kDa();f.za(!1);d.yIa()};d.yIa=function(){d.gb=d.X.si;0==d.lb.filename.length&&(d.lb.filename="pivot.xlsx");h.hn.save(d.pf.oKa(),d.lb);d.pf=null;d.lb=null;k.Ta.P().Da(new z.da(f.gg.Yg))};d.HKa=function(b){return f.v(b)||f.v(b.measure)||b.measure.type!=f.u.i.Ka.Pa?!1:f.u.i.ca.MD(b.measure.$)||
|
|
802
802
|
k.B.C.OG==f.K.X.je.lh&&!b.Wj?!0:!1};d.MD=function(b){return f.v(b)||f.v(b.measure)||b.measure.type!=f.u.i.Ka.Ec?!1:f.u.i.ca.MD(b.measure.$)||k.B.C.OG==f.K.X.je.lh&&!b.Wj?!0:!1};d.jo=function(b){return f.v(b)||f.v(b.measure)||b.measure.type!=f.u.i.Ka.Zb?!1:f.u.i.ca.jo(b.measure.$)||k.B.C.OG==f.K.X.je.lh&&!b.Wj?!0:!1};d.Cya=function(){for(var b=d.Gd+d.X.af,a=d.X.xo;a<d.Hd+d.X.fg;a++){var c=d.X.ka.Tf(d.gb,a,!0),e=f.v(c)?"":c.J();e=e?e:"";var g=void 0,l=d.HKa(c),m=d.MD(c),n=d.jo(c);f.v(c)||isNaN(c.value)||
|
|
803
|
-
(l?g=d.fva(c.value,c.hierarchy.getTimezoneOffset()):m?g=d.gva(c.value,c.hierarchy.getTimezoneOffset()):n&&(g=d.hva(c.value)));"number"===typeof e&&(c.value=e,e+="",c.numeric=!0);var p=null!=c&&(c.
|
|
803
|
+
(l?g=d.fva(c.value,c.hierarchy.getTimezoneOffset()):m?g=d.gva(c.value,c.hierarchy.getTimezoneOffset()):n&&(g=d.hva(c.value)));"number"===typeof e&&(c.value=e,e+="",c.numeric=!0);var p=null!=c&&(c.gi||c.wh);d.lb.Hba&&""==e&&null!=c&&null!=c.Yb&&(e=c.Yb.caption);if(""!=e.trim()||p){new f.K.X.W.Zc;p=null!=c&&c.gi?0<c.level&&d.f4[c.level]?d.f4[c.level].clone():d.e4.clone():null!=c&&c.wh?d.QZ.clone():null!=c&&c.Ck?d.kS.clone():null!=c&&c.Ny&&c.Wj&&""!=c.J()?d.U0.clone():null!=c&&c.Wj&&""!=c.J()?d.d5.clone():
|
|
804
804
|
d.dR.clone();if(null!=c&&c.gu&&null!=c.style){var t=0<c.style.NB.length?f.K.X.W.Zc.hl(c.style.FS()):f.K.X.W.Zc.tS(c.style.XS());t.merge(p);p=t}p.color=p.color||"rgb(0,0,0)";"rgb(33, 33, 33)"==p.backgroundColor&&(p.color="rgb(242, 242, 242)");p.backgroundColor=p.backgroundColor||"rgb(255,255,255)";p.fontSize=p.fontSize?d.FHa(p.fontSize):8;var q=new U.od.fonts.hv(f.v(p.fontFamily)?"Tahoma":p.fontFamily,p.fontSize,f.O.Nn(p.color));q.bold="bold"==p.fontWeight||700<=parseInt(p.fontWeight);q.OC=!1;var v=
|
|
805
805
|
null,y=t=!1;if(c.numeric){if(null!=c.measure){v=c.measure.Hh(c.measure.uniqueName,c.measure.$);y=""!=v.mH?!0:y;t=f.u.i.ca.Zd(c.measure.$);var A=v.oia();if(t||v.Zd)v=v.clone(),v.xd="%",A=v.oia();v=new U.od.format.Rs(""==A?0:-1,A)}}else l||m?v=c.measure.type==f.u.i.Ka.Ec?new U.od.format.Rs(164,"dd.mm.yyyy h:mm:ss"):new U.od.format.Rs(14,""):n&&(0<=g?v=new U.od.format.Rs(165,d.Fp):(g=Math.abs(g),v=new U.od.format.Rs(166,"-"+d.Fp)));v&&d.pf.styleSheet.Yra(v);q=new U.od.EA(q,f.O.Nn(p.backgroundColor),
|
|
806
|
-
v,c.gu&&void 0==p.textAlign&&c.Mh?"right":p.textAlign);!k.B.C.vk&&c&&c.
|
|
807
|
-
d.X.si+d.we,a,c.J(),q):d.lb.Dz||!c.Mh||null==c.measure||c.measure.type!=f.u.i.Ka.Pa&&c.measure.type!=f.u.i.Ka.Ec?!d.lb.Dz&&c.Mh&&null!=c.measure&&c.measure.$==f.u.i.ca.NONE?d.pf.Hg[0].
|
|
806
|
+
v,c.gu&&void 0==p.textAlign&&c.Mh?"right":p.textAlign);!k.B.C.vk&&c&&c.gi&&0<c.level&&(q.textIndent=c.level);d.pf.styleSheet.Bv(q);v=null!=c.measure?c.measure.Hh(c.measure.uniqueName,c.measure.$):null;e=f.O.gG(e);c.numeric?null==v||c.label!=v.UG&&c.label!=v.ZF?c.gu&&d.mBa()&&d.lb.Eia?(g=c.J(),d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,!isNaN(c.value)&&c.label==g&&c.numeric?d.lca(c.value,v,t):f.O.gG(g),q)):(g=d.lca(c.value,v,t),d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,isNaN(c.value)&&y?c.J():g,q)):d.pf.Hg[0].li(d.gb-
|
|
807
|
+
d.X.si+d.we,a,c.J(),q):d.lb.Dz||!c.Mh||null==c.measure||c.measure.type!=f.u.i.Ka.Pa&&c.measure.type!=f.u.i.Ka.Ec?!d.lb.Dz&&c.Mh&&null!=c.measure&&c.measure.$==f.u.i.ca.NONE?d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,c.value,q):!d.lb.Dz&&c.Mh&&null!=c.measure&&c.measure.type==f.u.i.Ka.Zb?n?d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,g,q):d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,c.value,q):d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,e,q):l||m?d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,g,q):d.pf.Hg[0].li(d.gb-d.X.si+d.we,a,c.value,q);null!=c&&(0==d.pf.Hg[0].uG(a)&&
|
|
808
808
|
d.pf.Hg[0].gha(a,d.eva(d.X.ka.coords.ah(a))),a!=d.X.xo||d.X.ka.coords.aCa(d.gb)||(c=d.NK(d.X.ka.coords.Md(d.gb)),d.pf.Hg[0].Pw(d.gb+d.we,c)),e.length>p.width&&d.pf.Hg[0].gha(a,d.NK(e.length+d.cellPadding)>d.NK(d.l6)?d.NK(d.l6):d.NK(e.length+d.cellPadding)))}}200<x.zf()-d.Vl&&(f.za(!0,k.A.j.ox,f.O.bind("{1}% ("+k.A.j.gX+")",d.gb.toString(),(d.gb/b*100).toFixed(0))),d.Vl=x.zf());return d.gb++>=b};d.lca=function(b,a,c){return null==a||!c&&"%"!=a.xd?b:b/100};d.fva=function(b,a){b=-d.vca(b,a)+b;return Math.floor(b/
|
|
809
809
|
864E5)};d.gva=function(b,a){return(-d.vca(b,a)+b)/864E5};d.vca=function(b,a){return null!=a?Date.parse("1899-12-30")-36E5*a:Date.parse("1899-12-30")+36E5*((new Date(b)).getTimezoneOffset()/60)};d.hva=function(b){return 1E3*b/864E5};d.FHa=function(b){return.75*b};d.NK=function(b){return 0>=b?0:d.dwa/d.cba*b*(d.cba/f.K.X.sheet.mh.Mu)};d.eva=function(b){return 0>=b?0:((b-5)/7*100+.5)/100};d.wsa=function(){var b=k.cb.mI.customFields;if(0<b.length){var a=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.gA).element),
|
|
810
|
-
c=new U.od.fonts.hv(a.fontFamily,parseInt(a.fontSize)-2,f.O.Nn(a.color));c.bold="bold"===a.fontWeight;c.OC="italic"===a.fontStyle;c=new U.od.EA(c,f.O.Nn(a.backgroundColor));c.textAlign=a.textAlign;d.pf.styleSheet.Bv(c);d.pf.Hg[0].
|
|
811
|
-
e.textAlign=a.textAlign;d.pf.styleSheet.Bv(e);for(a=0;a<b.length;a++)d.pf.Hg[0].
|
|
812
|
-
e.fontStyle;g=new U.od.EA(g,f.O.Nn(e.backgroundColor));g.textAlign=e.textAlign;d.pf.styleSheet.Bv(g);e=d.pf.Hg[0];for(var l=0;l<b.length;l++){var m=c+l+d.we;e.
|
|
813
|
-
a.textAlign="center";d.pf.styleSheet.Bv(a);c=d.we;d.pf.Hg[0].
|
|
810
|
+
c=new U.od.fonts.hv(a.fontFamily,parseInt(a.fontSize)-2,f.O.Nn(a.color));c.bold="bold"===a.fontWeight;c.OC="italic"===a.fontStyle;c=new U.od.EA(c,f.O.Nn(a.backgroundColor));c.textAlign=a.textAlign;d.pf.styleSheet.Bv(c);d.pf.Hg[0].li(d.we,0,k.A.j.cla,c);d.pf.Hg[0].li(d.we,1,"",c);a=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.xe).element);var e=new U.od.fonts.hv(a.fontFamily,parseInt(a.fontSize)-2,f.O.Nn(a.color));e.bold="bold"===a.fontWeight;e.OC="italic"===a.fontStyle;e=new U.od.EA(e,f.O.Nn(a.backgroundColor));
|
|
811
|
+
e.textAlign=a.textAlign;d.pf.styleSheet.Bv(e);for(a=0;a<b.length;a++)d.pf.Hg[0].li(a+1+d.we,0,f.O.gG(String(b[a].name)),c),d.pf.Hg[0].li(a+1+d.we,1,f.O.gG(String(b[a].value)),c)}d.we+=0==b.length?0:b.length+2};d.x$=function(b,a){a=void 0===a?!1:a;if(null!=b&&0!=b.length){var c=0;a&&(d.we+=1,c=d.Gd+d.X.af);b=b.split("\n");var e=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.gA).element),g=new U.od.fonts.hv(e.fontFamily,parseInt(e.fontSize)-2,f.O.Nn(e.color));g.bold="bold"===e.fontWeight;g.OC="italic"===
|
|
812
|
+
e.fontStyle;g=new U.od.EA(g,f.O.Nn(e.backgroundColor));g.textAlign=e.textAlign;d.pf.styleSheet.Bv(g);e=d.pf.Hg[0];for(var l=0;l<b.length;l++){var m=c+l+d.we;e.li(m,0,f.O.gG(String(b[l])),g);d.ZM.push(m)}d.we+=b.length+(a?0:1)}};d.Kx=function(){var b=k.B.C.Cq;if(0!=b.length){var a=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.EX).element),c=new U.od.fonts.hv(a.fontFamily,parseInt(a.fontSize)-2,f.O.Nn(a.color));c.bold="bold"===a.fontWeight;c.OC="italic"===a.fontStyle;a=new U.od.EA(c,f.O.Nn(a.backgroundColor));
|
|
813
|
+
a.textAlign="center";d.pf.styleSheet.Bv(a);c=d.we;d.pf.Hg[0].li(c,0,b,a);d.ZM.push(c);d.we+=1}};d.kDa=function(){for(var b=d.pf.Hg[0],a=0;a<d.ZM.length;a++)b.dfa(d.ZM[a],0,Math.min(b.kua,10))};d.mBa=function(){return!f.v(f.K.X.W.ae.Wv)};d.Xra=function(){if(!(d.X instanceof f.K.xf.gE||0==f.u.La.P().qa.pages.length)){var b=k.Ta.P().ha.qa.tc(),a=f.u.La.P().qa.pages,c=!0,e=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.Ej).element),g=new U.od.fonts.hv(e.fontFamily,parseInt(e.fontSize)-2,f.O.Nn(e.color));
|
|
814
814
|
g.bold="bold"===e.fontWeight;g.OC="italic"===e.fontStyle;g=new U.od.EA(g,f.O.Nn(e.backgroundColor));g.textAlign=e.textAlign;d.pf.styleSheet.Bv(g);e=getComputedStyle(f.K.Hb.zb.F.find("."+f.K.X.W.wa.xe).element);var l=new U.od.fonts.hv(e.fontFamily,parseInt(e.fontSize)-2,f.O.Nn("rgb(0,0,0)"));l.bold="bold"===e.fontWeight;l.OC="italic"===e.fontStyle;e=new U.od.EA(l,f.O.Nn(e.backgroundColor));e.textAlign="left";d.pf.styleSheet.Bv(e);l=d.pf.Hg[0];for(var m=0,n=0;n<b.length;n++){var p=b.ea(n);var t=p.zi.type==
|
|
815
|
-
f.u.i.Zz.lA;(a.Db(p.uniqueName)||d.lb.BV)&&p.filter.bh&&(t=t?d.wua(p):d.lb.BV?d.Qca(p):d.Ey(p),c&&(l.
|
|
815
|
+
f.u.i.Zz.lA;(a.Db(p.uniqueName)||d.lb.BV)&&p.filter.bh&&(t=t?d.wua(p):d.lb.BV?d.Qca(p):d.Ey(p),c&&(l.li(m+d.we,0,"",g),l.li(m+d.we,1,k.A.j.br,g),m++),l.li(m+d.we,0,p.caption,g),l.li(m+d.we,1,t,e),m++,c=!1)}if(k.B.C.OG==f.K.X.je.lh)for(b=k.Ta.P().ha.qa.Qf,a=0;a<b.length;a++)(p=k.Ta.P().ha.qa.Zj(b[a].uniqueName))&&p.filter.bh&&(t=d.lb.BV?d.Qca(p):d.Ey(p),c&&(l.li(m+d.we,0,"",g),l.li(m+d.we,1,"Filters",g),m++),l.li(m+d.we,0,p.caption,g),l.li(m+d.we,1,t,e),m++,c=!1);d.we+=c?0:m+1}};d.Qca=function(b){for(var a=
|
|
816
816
|
[],c=0;c<b.$a.length;c++)a.push(b.mC(b.$a[c]));return a.join(", ")};d.Ey=function(b){var a=k.A.j.AI;b.filter.bh&&(a=1==b.$a.length?b.ua(b.$a[0]).caption:k.A.j.GI);return a};d.wua=function(b){var a,c=[];null!=d.wz&&(d.wz.length=0);d.Oha(b.vd);for(var e=d.Bua(b),g=!1,l=0;l<d.wz.length;l++){var m=b.ua(d.wz[l]);var n=l==d.wz.length-1;if(!g&&-1<b.$a.indexOf(m.ordinal)){g=!0;var p=m}g&&(-1<b.$a.indexOf(m.ordinal)&&(a=m),-1<e.indexOf(m.ordinal)&&!n||(a=null!=a?a:p,m=d.saa(p),n=a.uniqueName!=p.uniqueName?
|
|
817
817
|
":"+d.saa(a,!0):"",a=p=null,g=!1,c.push(m+n)))}return c.join(", ")};d.Oha=function(b){null==d.wz&&(d.wz=[]);b.Xb||d.wz.push(b.ordinal);for(var a=b.hierarchy.zj(b,!1,f.u.i.ya.ec),c=a.length,e,g=0;g<c;g++)e=b.hierarchy.ua(a[g]),0<e.children.length?d.Oha(e):d.wz.push(e.ordinal)};d.saa=function(b,a){a=void 0===a?!1:a;var c=b,e=[];for(e.push(b.caption);c&&c.uniqueName!=b.uniqueName&&!c.level.ow&&0<c.children.length;)e.push(c.caption),c=c.hierarchy.zj(c,!1,f.u.i.ya.ec),c=b.hierarchy.ua(a?c[c.length-1]:
|
|
818
818
|
c[0]);for(c=b.parent;c&&!c.Xb;)e.unshift(c.caption),c=c.parent;return e.join("-")};d.Bua=function(b){for(var a=[],c=b.$a,e,g=0;g<c.length;g++)if(e=b.ua(c[g]),a.push(e.ordinal),a=a.concat(e.my),!(e.parent&&!e.parent.Xb&&-1<a.indexOf(e.parent.ordinal)))for(;e.parent&&!e.parent.Xb;)e=e.parent,a.push(e.ordinal);return a};d.gb=0;d.we=0;d.cellPadding=3;d.l6=100;d.Fp="[h]:mm:ss";d.f4=[];d.dwa=14.3;d.cba=38;d.ZM=[];h.I6=d})(k.xc||(k.xc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
819
|
-
(function(f){(function(k){(function(h){function d(){}function b(c,e,g){var l=z.da.call(this,f.gg.EW)||this;l.Ot=c;l.lb=e;l.Ho=g;return l}function a(){}a.Sj=function(c,e,g){e=void 0===e?null:e;g=void 0===g?null:g;a.dY?this.w_.push({type:c,options:e,Re:g}):(c=c.toLowerCase(),c=d.Ez(c)?c:d.Bh,k.B.C.ie==f.K.
|
|
819
|
+
(function(f){(function(k){(function(h){function d(){}function b(c,e,g){var l=z.da.call(this,f.gg.EW)||this;l.Ot=c;l.lb=e;l.Ho=g;return l}function a(){}a.Sj=function(c,e,g){e=void 0===e?null:e;g=void 0===g?null:g;a.dY?this.w_.push({type:c,options:e,Re:g}):(c=c.toLowerCase(),c=d.Ez(c)?c:d.Bh,k.B.C.ie==f.K.Bd.Oi&&c==d.JSON?(f.Ua(k.A.j.Dna,k.A.j.xa),this.Wha()):(k.Ta.P().N(f.gg.Yg,a.Nba),a.dY=!0,a.Ho=g,f.v(e)&&(e=new h.H6),e.type=c,c=new b(c,e,g),k.Ta.P().Da(c)))};a.Wha=function(){f.za(!1);k.Ta.P().mb(f.gg.Yg,
|
|
820
820
|
a.Nba);a.dY=!1};a.zEa=function(){a.Wha();if(0<a.w_.length){var c=a.w_.shift();this.Sj(c.type,c.options,c.Re)}};a.save=function(c,e){switch(e.RB.toLowerCase()){case k.cb.po.sO:a.aN(c,e);break;case k.cb.po.xX:a.mV(c,e);break;case k.cb.po.E5:break;case k.cb.po.rA:a.wIa(c,e);break;default:a.aN(c,e)}};a.mV=function(c,e){switch(e.type){case d.Vu:case d.hE:case d.qA:case d.hA:case d.JSON:case d.Bh:a.xIa(c,e);break;default:c=k.Nb.validate(e.type),f.Ua("Unknown type of export: '"+c+"'",k.A.j.xa)}};a.aN=function(c,
|
|
821
821
|
e){switch(e.type){case d.Vu:var g="text/html;charset=utf-8";e.filename=a.qK(e.filename,".html");break;case d.hE:g="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";e.filename=a.qK(e.filename,".xlsx");break;case d.qA:g="application/pdf";e.filename=a.qK(e.filename,".pdf");break;case d.hA:g="image/png";e.filename=a.qK(e.filename,".png");break;case d.Bh:g="text/csv;charset=utf-8";e.filename=a.qK(e.filename,".csv");break;default:g="text/plain;charset=utf-8"}var l=[c];e.type==d.Bh&&l.unshift(f.O.Hya());
|
|
822
822
|
try{D.Qga(new Blob(l,{type:g}),e.filename),a.EN({data:c,filename:e.filename,type:e.type})}catch(m){f.Ua(k.A.j.VO,k.A.j.xa,f.qb.xa),a.EN(null,{message:k.A.j.VO})}};a.qK=function(c,e){c.indexOf(e)!=c.length-e.length&&(c+=e);return c};a.rHa=function(c){var e={};null!=c&&null!=c.target&&null!=c.target.response&&""!=c.target.response&&null!=c.target.xhr&&(e.response=c.target.response,e.status=c.target.xhr.status);e.message=k.A.j.VO;return e};a.xIa=function(c,e){var g=new x.Ps(500);g.N(x.bf.Qk,function(){f.za(!0,
|
|
@@ -857,10 +857,10 @@ this.xd.length&&"&"==this.xd.charAt(0)&&";"==this.xd.charAt(this.xd.length-1)?1:
|
|
|
857
857
|
(function(f){(function(k){(function(h){function d(){}d.valid=function(b){return b==d.Jf||b==d.Jc||b==d.Rd||b==d.API||b==d.JSON||b==d.Bh||b==d.Tp||b==d.EMPTY};d.Bc=function(b){return this.valid(b)&&(b==d.Rd||b==d.Jc||b==d.Jf||b==d.API)};d.J=function(b){return b==d.Bh?"CSV":b==d.Tp?"OCSV":b==d.JSON?"JSON":b==d.Jc?"Microsoft Analysis Services":b==d.Rd?"Mondrian":b==d.Jf?"Elasticsearch":b==d.API?"Flexmonster Custom API":""};d.Jc="microsoft analysis services";d.Rd="mondrian";d.Bh="csv";d.Tp="ocsv";d.JSON=
|
|
858
858
|
"json";d.Jf="elasticsearch";d.API="api";d.EMPTY="";h.oa=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
859
859
|
(function(f){(function(k){(function(h){function d(){return g.apply(this,arguments)||this}function b(){}function a(){}function c(){}function e(){return g.apply(this,arguments)||this}function g(){}function l(){}l.validate=function(m){if(f.ia(m))return l.NONE;m=m.toLowerCase();return 0<=l.types.indexOf(m)?m:l.NONE};l.Lda=function(m,n){switch(m){case h.eb.Sc:return c.Eg(n);case h.eb.fb:return g.Eg(n);case h.eb.Pa:return a.Eg(n)}return!1};l.NONE="none";l.mk="label";l.Pa="date";l.fb="number";l.rn="value";
|
|
860
|
-
l.Zb="time";l.types=[l.NONE,l.mk,l.Pa,l.fb,l.rn,l.Zb];h.kb=l;g.Eg=function(m){return f.v(m)?!1:0<=g.Jp.indexOf(m.toLowerCase())};g.EQUAL="equal";g.tf="not_equal";g.GREATER="greater";g.jk="greater_equal";g.LESS="less";g.nk="less_equal";g.Ig="between";g.vg="not_between";g.
|
|
861
|
-
c.WD="begin";c.mA="not_begin";c.$z="end";c.oA="not_end";c.dn="contain";c.nA="not_contain";c.GREATER="greater";c.jk="greater_equal";c.LESS="less";c.nk="less_equal";c.Ig="between";c.vg="not_between";c.
|
|
862
|
-
"before_equal";a.QD="after";a.RD="after_equal";a.Ig="between";a.vg="not_between";a.LO="last";a.dO="current";a.bP="next";a.
|
|
863
|
-
d.mj="top";d.Rh="bottom";d.
|
|
860
|
+
l.Zb="time";l.types=[l.NONE,l.mk,l.Pa,l.fb,l.rn,l.Zb];h.kb=l;g.Eg=function(m){return f.v(m)?!1:0<=g.Jp.indexOf(m.toLowerCase())};g.EQUAL="equal";g.tf="not_equal";g.GREATER="greater";g.jk="greater_equal";g.LESS="less";g.nk="less_equal";g.Ig="between";g.vg="not_between";g.Vh=[g.EQUAL,g.tf,g.GREATER,g.jk,g.LESS,g.nk];g.uf=[g.Ig,g.vg];g.Jp=[g.EQUAL,g.tf,g.GREATER,g.jk,g.LESS,g.nk,g.Ig,g.vg];h.wg=g;u(e,g);h.qk=e;c.Eg=function(m){return f.v(m)?!1:0<=c.Jp.indexOf(m.toLowerCase())};c.EQUAL="equal";c.tf="not_equal";
|
|
861
|
+
c.WD="begin";c.mA="not_begin";c.$z="end";c.oA="not_end";c.dn="contain";c.nA="not_contain";c.GREATER="greater";c.jk="greater_equal";c.LESS="less";c.nk="less_equal";c.Ig="between";c.vg="not_between";c.Vh=[c.EQUAL,c.tf,c.WD,c.mA,c.$z,c.oA,c.dn,c.nA,c.GREATER,c.jk,c.LESS,c.nk];c.uf=[c.Ig,c.vg];c.Jp=[c.EQUAL,c.tf,c.WD,c.mA,c.$z,c.oA,c.dn,c.nA,c.GREATER,c.jk,c.LESS,c.nk,c.Ig,c.vg];h.wb=c;a.Eg=function(m){return f.v(m)?!1:0<=a.Jp.indexOf(m.toLowerCase())};a.EQUAL="equal";a.tf="not_equal";a.UD="before";a.VD=
|
|
862
|
+
"before_equal";a.QD="after";a.RD="after_equal";a.Ig="between";a.vg="not_between";a.LO="last";a.dO="current";a.bP="next";a.Vh=[a.EQUAL,a.tf,a.UD,a.VD,a.QD,a.RD];a.uf=[a.Ig,a.vg];a.qx=[a.LO,a.dO,a.bP];a.Jp=[a.EQUAL,a.tf,a.UD,a.VD,a.QD,a.RD,a.Ig,a.vg,a.LO,a.dO,a.bP];h.Ub=a;b.Eg=function(m){return f.v(m)?!1:0<=b.types.indexOf(m.toLowerCase())};b.km="day";b.tJ="week";b.Kg="month";b.Ns="quarter";b.Tk="year";b.types=[b.km,b.tJ,b.Kg,b.Ns,b.Tk];h.Yz=b;u(d,g);d.Eg=function(m){return f.v(m)?!1:0<=d.Jp.indexOf(m.toLowerCase())};
|
|
863
|
+
d.mj="top";d.Rh="bottom";d.Vh=[d.mj,d.Rh,d.EQUAL,d.tf,d.GREATER,d.jk,d.LESS,d.nk];d.uf=[d.Ig,d.vg];d.Jp=[d.mj,d.Rh,d.EQUAL,d.tf,d.GREATER,d.jk,d.LESS,d.nk,d.Ig,d.vg];h.Pb=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
864
864
|
(function(f){(function(k){(function(h){function d(){}d.Eg=function(b){return b==d.$c||b==d.ec||b==d.Fc};d.PS=function(b,a,c){b=void 0===b?"":b;a=void 0===a?!1:a;return(void 0===c?0:c)?b==k.i.ya.ec?a?k.i.ya.$c:k.i.ya.Fc:b==k.i.ya.Fc?a?k.i.ya.ec:k.i.ya.$c:a?k.i.ya.Fc:k.i.ya.ec:b==k.i.ya.Fc?k.i.ya.ec:k.i.ya.Fc};d.$c="unsorted";d.ec="asc";d.Fc="desc";d.eoa="numericRange";h.ya=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
865
865
|
(function(f){(function(k){(function(h){function d(){}d.Ea="rows";d.Oa="columns";d.Ls="pages";h.fa=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){function d(){}d.lA=1;d.SO=2;h.Zz=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
866
866
|
(function(f){(function(k){(function(h){function d(){}d.$B=function(b){var a=d.Pu;switch(b){case h.input.hf.n7.SO:a=d.Sp;break;case h.input.hf.n7.lA:a=d.Pa}return a};d.g0=function(b){return 0<=h.Ka.dL.indexOf(b)?d.Sp:"date"==b?d.Pa:d.Pu};d.rS=function(b){var a=d.Pu;switch(b){case h.input.pa.fb:case h.input.pa.Zb:a=d.Sp;break;case h.input.pa.Pi:case h.input.pa.Rp:case h.input.pa.ro:case h.input.pa.Ec:case h.input.pa.Pa:a=d.Pa}return a};d.yz=function(b){var a=h.input.pa.Sc;switch(b){case d.Sp:a=h.input.pa.fb;
|
|
@@ -877,14 +877,14 @@ case h.input.pa.fb:return d.fb;case h.input.pa.lo:return d.lo;case h.input.pa.Kg
|
|
|
877
877
|
(function(f){(function(k){(function(h){(function(d){function b(){}b.valid=function(a){return-1<b.pK.indexOf(a)};b.h5=function(a){return""===a?b.Sc:"number"!=typeof a&&isNaN(Number(a))?f.O.vT(a)?f.model.B.C.RR:b.Sc:b.fb};b.Sxa=function(a){a=a.trim();var c=b.Sc;"+"==a.charAt(0)?c=b.Sc:"t+"==a.substr(0,2)?c=b.Zb:"dt+"==a.substr(0,3)?c=b.Ec:"n+"==a.substr(0,2)?c=b.fb:"-"==a.charAt(0)?c=b.fb:"ds+"==a.substr(0,3)?c=b.Pi:"d+"==a.substr(0,2)?c=b.Pa:"m+"==a.substr(0,2)?c=b.Kg:"w+"==a.substr(0,2)?c=b.rm:"D+"==
|
|
878
878
|
a.substr(0,2)?c=b.Rp:"D4+"==a.substr(0,3)?c=b.ro:"id+"==a.substr(0,3)&&(c=b.lx);return c};b.fb="number";b.Sc="string";b.lo="boolean";b.sf="level";b.Kg="month";b.rm="weekday";b.Pa="date";b.Pi="date string";b.Rp="year/month/day";b.ro="year/quarter/month/day";b.Zb="time";b.Ec="datetime";b.lx="id";b.n6="delete";b.m7="hidden";b.yE="property";b.cI="any";b.pK="number;string;boolean;level;month;weekday;date;date string;year/month/day;year/quarter/month/day;time;datetime;id;delete;hidden;property;array;any".split(";");
|
|
879
879
|
d.pa=b})(h.input||(h.input={}))})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
880
|
-
(function(f){(function(k){(function(h){function d(){}d.wF=function(b){return b===d.Zp?f.model.A.j.x8:b===d.uc?f.model.A.j.b6:b===d.Qi||b===d.iO?f.model.A.j.Dka:b===d.Kp?f.model.A.j.z5:b===d.Wu?f.model.A.j.nna:b===d.bv?f.model.A.j.gpa:b===d.cv?f.model.A.j.ipa:b===d.Ms?f.model.A.j.Boa:b===d.MIN?f.model.A.j.Rna:b===d.MAX?f.model.A.j.Tma:b===d.dr?f.model.A.j.noa:b===d.uo||b===d.fP?f.model.A.j.ooa:b===d.Xp?f.model.A.j.zoa:b===d.Vp?f.model.A.j.voa:b===d.Wp?f.model.A.j.xoa:b===d.
|
|
880
|
+
(function(f){(function(k){(function(h){function d(){}d.wF=function(b){return b===d.Zp?f.model.A.j.x8:b===d.uc?f.model.A.j.b6:b===d.Qi||b===d.iO?f.model.A.j.Dka:b===d.Kp?f.model.A.j.z5:b===d.Wu?f.model.A.j.nna:b===d.bv?f.model.A.j.gpa:b===d.cv?f.model.A.j.ipa:b===d.Ms?f.model.A.j.Boa:b===d.MIN?f.model.A.j.Rna:b===d.MAX?f.model.A.j.Tma:b===d.dr?f.model.A.j.noa:b===d.uo||b===d.fP?f.model.A.j.ooa:b===d.Xp?f.model.A.j.zoa:b===d.Vp?f.model.A.j.voa:b===d.Wp?f.model.A.j.xoa:b===d.pi?f.model.A.j.rma:b===d.gn||
|
|
881
881
|
b===d.hO?f.model.A.j.zka:b===d.lm?f.model.A.j.Bka:b===d.mn||b===d.gP?f.model.A.j.qoa:b===d.om?f.model.A.j.soa:b===d.qm||b===d.jP?f.model.A.j.Ooa:b===d.pn?f.model.A.j.Qoa:b===d.NONE?f.model.A.j.boa:b};d.nZ=function(b){b=void 0===b?null:b;var a=[];b=b?b:d.bI;for(var c=0;c<b.length;c++)a.push(d.wF(b[c]));return a};d.K$=function(b){b=void 0===b?null:b;var a=[];b=b?b:d.bI;for(var c=0;c<b.length;c++)b[c]===d.Zp?a.push(f.model.A.j.lJ):b[c]===d.uc?a.push(f.model.A.j.cO):b[c]===d.Qi||b[c]===d.iO?a.push(f.model.A.j.jO):
|
|
882
|
-
b[c]===d.Kp?a.push(f.model.A.j.XN):b[c]===d.Wu?a.push(f.model.A.j.$W):b[c]===d.bv?a.push(f.model.A.j.qP):b[c]===d.cv?a.push(f.model.A.j.rP):b[c]===d.Ms?a.push(f.model.A.j.hP):b[c]===d.MIN?a.push(f.model.A.j.$O):b[c]===d.MAX?a.push(f.model.A.j.RO):b[c]===d.dr?a.push(f.model.A.j.fJ):b[c]===d.uo||b[c]===d.fP?a.push(f.model.A.j.$I):b[c]===d.Xp?a.push(f.model.A.j.eJ):b[c]===d.Vp?a.push(f.model.A.j.cJ):b[c]===d.Wp?a.push(f.model.A.j.dJ):b[c]===d.
|
|
882
|
+
b[c]===d.Kp?a.push(f.model.A.j.XN):b[c]===d.Wu?a.push(f.model.A.j.$W):b[c]===d.bv?a.push(f.model.A.j.qP):b[c]===d.cv?a.push(f.model.A.j.rP):b[c]===d.Ms?a.push(f.model.A.j.hP):b[c]===d.MIN?a.push(f.model.A.j.$O):b[c]===d.MAX?a.push(f.model.A.j.RO):b[c]===d.dr?a.push(f.model.A.j.fJ):b[c]===d.uo||b[c]===d.fP?a.push(f.model.A.j.$I):b[c]===d.Xp?a.push(f.model.A.j.eJ):b[c]===d.Vp?a.push(f.model.A.j.cJ):b[c]===d.Wp?a.push(f.model.A.j.dJ):b[c]===d.pi?a.push(f.model.A.j.MI):b[c]===d.gn||b[c]===d.hO?a.push(f.model.A.j.rI):
|
|
883
883
|
b[c]===d.lm?a.push(f.model.A.j.sI):b[c]===d.mn||b[c]===d.gP?a.push(f.model.A.j.aJ):b[c]===d.om?a.push(f.model.A.j.bJ):b[c]===d.qm||b[c]===d.jP?a.push(f.model.A.j.iP):b[c]===d.pn?a.push(f.model.A.j.kP):b[c]===d.NONE?a.push("{0}"):-1<d.Lz.indexOf(b[c])&&a.push("{0} ("+b[c]+")");return a};d.Ez=function(b){return-1!==d.bI.indexOf(b)||b===d.NONE};d.IKa=function(b){return-1!==d.y5.indexOf(b)};d.MD=function(b){return-1!==d.Pia.indexOf(b)||b===d.NONE};d.jo=function(b){return-1!==d.Qia.indexOf(b)||b===d.NONE};
|
|
884
884
|
d.Vf=function(b){return-1!==d.Tia.indexOf(b)};d.Zd=function(b){return-1!==d.Uia.indexOf(b)};d.eM=function(b){return b===d.gn||b===d.lm||b===d.mn||b===d.om};d.jM=function(b){return b===d.qm||b===d.pn};d.ly=function(b){return b===d.iO||b===d.fP||b===d.hO||b===d.gP||b===d.jP};d.Ay=function(b){switch(b){case d.iO:return d.Qi;case d.fP:return d.uo;case d.hO:return d.gn;case d.gP:return d.mn;case d.jP:return d.qm;default:return""}};d.pT=function(b){return-1!==d.Lz.indexOf(b)||b===d.NONE};r.Object.defineProperties(d,
|
|
885
885
|
{bI:{configurable:!0,enumerable:!0,get:function(){return d.Lz.concat(d.Mz)}},hja:{configurable:!0,enumerable:!0,get:function(){0===d.OX.length&&(d.OX=d.Sia.concat(d.Mz));return d.OX}},eja:{configurable:!0,enumerable:!0,get:function(){0===d.NX.length&&(d.NX=d.Ria);return d.NX}},y5:{configurable:!0,enumerable:!0,get:function(){0===d.MX.length&&(d.MX=[d.NONE].concat(d.Mz));return d.MX}}});d.Zp="sum";d.uc="count";d.Qi="distinctcount";d.iO="distinct count";d.Kp="average";d.Wu="median";d.bv="stdevp";d.cv=
|
|
886
|
-
"stdevs";d.dr="percent";d.uo="percentofcolumn";d.Xp="percentofrow";d.Vp="percentofparentcolumntotal";d.Wp="percentofparentrowtotal";d.fP="percent of column";d.Ms="product";d.
|
|
887
|
-
d.uo,d.Xp,d.Vp,d.Wp,d.
|
|
886
|
+
"stdevs";d.dr="percent";d.uo="percentofcolumn";d.Xp="percentofrow";d.Vp="percentofparentcolumntotal";d.Wp="percentofparentrowtotal";d.fP="percent of column";d.Ms="product";d.pi="index";d.qm="runningtotalsofcolumn";d.pn="runningtotalsofrow";d.jP="runningtotals";d.MIN="min";d.MAX="max";d.NONE="none";d.gn="differenceofcolumn";d.lm="differenceofrow";d.hO="difference";d.mn="%differenceofcolumn";d.om="%differenceofrow";d.gP="%difference";d.Lz=[d.Zp,d.uc,d.Qi,d.Kp,d.Wu,d.Ms,d.MIN,d.MAX,d.bv,d.cv];d.Mz=[d.dr,
|
|
887
|
+
d.uo,d.Xp,d.Vp,d.Wp,d.pi,d.gn,d.lm,d.mn,d.om,d.qm,d.pn];d.eO=[];d.Sia=[d.uc,d.Qi];d.OX=[];d.Ria=[d.MAX,d.MIN,d.uc,d.Qi];d.NX=[];d.MX=[];d.fja=[d.Zp,d.uc,d.Qi,d.Kp,d.MIN,d.MAX];d.gja=[d.uc,d.Qi];d.Tia=[d.uc,d.Qi];d.Uia=[d.dr,d.uo,d.Xp,d.Vp,d.Wp,d.mn,d.om];d.Pia=[d.Zp,d.Kp,d.Wu,d.Ms,d.MIN,d.MAX];d.Qia=[d.Zp,d.Kp,d.Wu,d.Ms,d.MIN,d.MAX,d.bv,d.cv,d.gn,d.lm,d.qm,d.pn];h.ca=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
888
888
|
(function(f){(function(k){(function(h){function d(){}d.SN="+";d.sP="-";d.aP="*";d.tI="/";d.lX="^";d.LESS="<";d.GREATER=">";d.EQUAL="=";d.Tka="==";d.tf="!=";d.v7="<=";d.j7=">=";d.f8="or";d.s5="and";d.GO="if";d.cW="abs";d.sX="round";d.MIN="min";d.MAX="max";d.mja="isnan";d.doa="!isnan";d.rn="value";d.DP="updatedifference";d.EP="updatepercent";h.nc=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
889
889
|
(function(f){(function(k){(function(h){function d(){}d.wo="select";d.iE="expand";d.R5="collapse";d.uW="drillUp";d.ex="drillDown";d.sW="drillDownTo";d.uI="drillThrough";d.tO="filter";d.vX="search";h.Td=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){function d(){}d.kO=Number.NEGATIVE_INFINITY;h.lO=d})(k.i||(k.i={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
890
890
|
(function(f){(function(k){(function(h){function d(){var b=this;this.Lk=function(){return b.cs()};this.jj=function(){return b.pp()}}d.prototype.GCa=function(b,a,c){try{this.dispose(),this.Ib=c,this.QB=this.Oj=0,this.yw=x.wx.LG(b),this.uN(this.yw,a)}catch(e){this.Mb(e)}};d.prototype.Gq=function(){f.za(!1);try{var b=JSON.parse(this.ma.response)}catch(a){b=null}null!=this.Ib&&(this.Ib(b),this.dispose())};d.prototype.$Da=function(){f.za(!0,f.model.A.j.fX,"")};d.prototype.op=function(b){var a=b.data;if(404==
|
|
@@ -925,8 +925,8 @@ enumerable:!0,get:function(){return!0}}});h.ConnectionInfo=d})(k.I||(k.I={}))})(
|
|
|
925
925
|
function(d){return d[0]<=d[1]};h.prototype.hya=function(d){return d[0]>=d[1]};h.prototype.rya=function(d){return d[0]||d[1]};h.prototype.dya=function(d){return d[0]&&d[1]};h.prototype.iya=function(d){return d[0]?d[1]:d[2]};h.prototype.bya=function(d){return Math.abs(d[0])};h.prototype.tya=function(d){var b=d[1];if(isNaN(b)||0===b)return Math.round(d[0]);d=d[0];d=Math.round(Number(d+"e"+b));return Number(d+"e"+-b)};h.prototype.mya=function(d){return Math.min(d[0],d[1])};h.prototype.lya=function(d){return Math.max(d[0],
|
|
926
926
|
d[1])};h.prototype.zr=function(d,b){for(var a=1,c=0,e,g,l=this.Zi.length-1;0<=l;l--)g=this.sizes[this.yh.length+l],0<g&&(e=void 0===b[l]?0:b[l],c+=e*a,a*=g);for(b=this.yh.length-1;0<=b;b--)g=this.sizes[b],0<g&&(e=d&&void 0!==d[b]?d[b]:0,Math.abs(e*a)>9007199254740991-c&&(a=-a%1E6,0==a&&(a=-g)),c+=e*a,a*=g);return c};h.prototype.P0=function(d,b){for(var a=0,c=!0,e=0;e<d.length;e++){var g=this.Ac[b][d[e]];isNaN(g)||(a+=g,c=!1)}return c?NaN:a};h.prototype.Kza=function(d,b){for(var a=Number.MAX_VALUE,
|
|
927
927
|
c=!0,e=0;e<d.length;e++){var g=this.Ac[b][d[e]];isNaN(g)||(g<a&&(a=g),c=!1)}return c?NaN:a};h.prototype.Dza=function(d,b){for(var a=Number.NEGATIVE_INFINITY,c=!0,e=0;e<d.length;e++){var g=this.Ac[b][d[e]];isNaN(g)||(g>a&&(a=g),c=!1)}return c?NaN:a};h.prototype.Yza=function(d,b){for(var a=1,c=!0,e=0;e<d.length;e++){var g=this.Ac[b][d[e]];isNaN(g)||(a*=g,c=!1)}return c?NaN:a};h.prototype.uca=function(d,b){for(var a=0,c=0,e=0;e<d.length;e++){var g=this.Ac[b][d[e]];isNaN(g)||(a+=g,c++)}return 0==c?NaN:
|
|
928
|
-
a/c};h.prototype.Hza=function(d,b){for(var a=[],c=0;c<d.length;c++){var e=this.Ac[b][d[c]];isNaN(e)||a.push(e)}if(0===a.length)return NaN;f.Ha.sort(a,f.Ha.
|
|
929
|
-
h.prototype.oAa=function(d,b){d=this.Hca(d,b);return 0==d.count?NaN:1==d.count?0:Math.sqrt(d.lba/(d.count-1))};h.prototype.Uza=function(d,b){null==this.kQ[b]&&(this.kQ[b]=this.P0(this.$a,b));return Math.abs(100*this.P0(d,b)/this.kQ[b])};h.prototype.Xya=function(d,b){for(var a=0,c=0;c<d.length;c++){var e=this.Ac[b][d[c]];isNaN(e)||this.Ac[b]instanceof Uint8Array&&0==e||a++}return a};h.prototype.iza=function(d,b,a){return k.Ee.
|
|
928
|
+
a/c};h.prototype.Hza=function(d,b){for(var a=[],c=0;c<d.length;c++){var e=this.Ac[b][d[c]];isNaN(e)||a.push(e)}if(0===a.length)return NaN;f.Ha.sort(a,f.Ha.ri);if(1===a.length%2)return a[Math.floor(a.length/2)];d=a.length/2;return(a[d]+a[d-1])/2};h.prototype.Hca=function(d,b){for(var a=this.uca(d,b),c=0,e=0,g=0;g<d.length;g++){var l=this.Ac[b][d[g]];isNaN(l)||(c+=Math.pow(l-a,2),e++)}return{lba:c,count:e}};h.prototype.nAa=function(d,b){d=this.Hca(d,b);return 0==d.count?NaN:Math.sqrt(d.lba/d.count)};
|
|
929
|
+
h.prototype.oAa=function(d,b){d=this.Hca(d,b);return 0==d.count?NaN:1==d.count?0:Math.sqrt(d.lba/(d.count-1))};h.prototype.Uza=function(d,b){null==this.kQ[b]&&(this.kQ[b]=this.P0(this.$a,b));return Math.abs(100*this.P0(d,b)/this.kQ[b])};h.prototype.Xya=function(d,b){for(var a=0,c=0;c<d.length;c++){var e=this.Ac[b][d[c]];isNaN(e)||this.Ac[b]instanceof Uint8Array&&0==e||a++}return a};h.prototype.iza=function(d,b,a){return k.Ee.ni.wc("",!1).Ia(d,b,a)};h.prototype.Vza=function(d,b,a){return k.Ee.ni.wc("",
|
|
930
930
|
!1).Ia(d,b,a)};h.prototype.ed=function(d,b){for(var a=0;a<d.length;a++){if(void 0===b)return;b=b[d[a]]}return b};h.prototype.qV=function(d,b){for(var a=0;a<d.length;a++)void 0===b[d[a]]&&(b[d[a]]=[[[]],[],[],void 0,void 0,!1]),b=b[d[a]];return b};h.prototype.xh=function(d,b){if(0===d.length)return!0;var a=-1;void 0!==b&&(a="number"===typeof b?-1===b?-1:this.Pt[b]:this.Ih(b));d=this.ed(d,this.td);return void 0===d||void 0===d[0]||void 0===d[0][3]?!1:-1===a||void 0===d[0][3][a]?d[0][3][this.dg.length]:
|
|
931
931
|
d[0][3][a]};h.prototype.Ih=function(d,b,a){"string"!==typeof d&&(b=d.$,d=d.uniqueName);if(f.model.B.C.qc&&!a||void 0===b||b===k.i.ca.NONE)for(a=0;a<this.dg.length;a++){if(this.dg[a]===d)return a}else for(a=0;a<this.dg.length;a++)if(this.dg[a]===d&&(void 0===this.Do[a]||this.Do[a]===b))return a;return-1};h.prototype.uj=function(d,b){if(0===d.length)return!0;var a=-1;void 0!==b&&(a="number"===typeof b?this.Pt[b]:this.Ih(b));d=this.ed(d,this.Fd);return void 0===d||void 0===d[0]||void 0===d[0][3]?!1:
|
|
932
932
|
-1===a||void 0===d[0][3][a]?d[0][3][this.dg.length]:d[0][3][a]};h.prototype.collapse=function(d,b,a){0===this.td.length&&(this.td=[[this.$a,[],[],void 0,void 0]]);0===this.Fd.length&&(this.Fd=[[this.$a,[],[],void 0,void 0]]);1===this.Pt.length&&(a=void 0);b===k.i.fa.Ea&&this.iua(d,a);b===k.i.fa.Oa&&this.gua(d,a)};h.prototype.iua=function(d,b){this.c9(this.ed(d,this.td),b)};h.prototype.gua=function(d,b){this.c9(this.ed(d,this.Fd),b)};h.prototype.c9=function(d,b){void 0!==d&&(void 0===d[0][3]&&(d[0][3]=
|
|
@@ -947,18 +947,18 @@ h.prototype.xL=function(d,b){if(f.v(d)||0==d.length)return 0;var a=this.va.I.Zj(
|
|
|
947
947
|
(l=d.length*g[0][0].length<b.length*e[0][0].length?this.Mn(g[0][0],d,this.yh):this.Mn(e[0][0],b,this.Zi));return this.Zo(l,a,!1,c)};h.prototype.pta=function(d,b,a){return this.Zo([this.$a[d[0]]],b,!1,a)};h.prototype.xza=function(d,b,a,c,e){a=void 0===a?0:a;c=void 0===c?null:c;e=void 0===e?null:e;var g=void 0===g?!0:g;for(var l=0,m=!0,n=0;n<d.length;n++)a=this.Zo([d[n]],b,!1,a,c,e,g),isNaN(a)||(l+=a,m=!1);return m?NaN:l};h.prototype.Zo=function(d,b,a,c,e,g,l){a=void 0===a?!1:a;c=void 0===c?0:c;e=void 0===
|
|
948
948
|
e?null:e;g=void 0===g?null:g;l=void 0===l?!0:l;if(a)return this.xza(d,b,c,e,g);if(b[2]){var m=[],n;for(n in b[1]){var p=b[1][n],t=p;Array.isArray(p)&&(t=this.Zo(d,p,a,c,e,g,l),t=isNaN(t)&&l&&(b[0]===k.i.nc.SN||b[0]===k.i.nc.sP||b[0]===k.i.nc.aP||b[0]===k.i.nc.lX||b[0]===k.i.nc.tI)?this.foa:t);m.push(t)}if(b[0]===k.i.nc.rn||b[0]===k.i.nc.EP||b[0]===k.i.nc.DP)return c;if(b[0]===k.i.nc.mja)return this.oya(m);if(b[0]===k.i.nc.doa)return this.qya(m);if(b[0]===k.i.nc.SN)return this.cya(m);if(b[0]===k.i.nc.sP)return this.uya(m);
|
|
949
949
|
if(b[0]===k.i.nc.aP)return this.nya(m);if(b[0]===k.i.nc.lX)return this.sya(m);if(b[0]===k.i.nc.tI)return this.eya(m);if(b[0]===k.i.nc.LESS)return this.jya(m);if(b[0]===k.i.nc.GREATER)return this.gya(m);if(b[0]===k.i.nc.EQUAL||b[0]==k.i.nc.Tka)return this.fya(m);if(b[0]===k.i.nc.tf)return this.pya(m);if(b[0]===k.i.nc.v7)return this.kya(m);if(b[0]===k.i.nc.j7)return this.hya(m);if(b[0]===k.i.nc.s5)return this.dya(m);if(b[0]===k.i.nc.f8)return this.rya(m);if(b[0]===k.i.nc.GO)return this.iya(m);if(b[0]===
|
|
950
|
-
k.i.nc.sX)return this.tya(m);if(b[0]===k.i.nc.cW)return this.bya(m);if(b[0]===k.i.nc.MIN)return this.mya(m);if(b[0]===k.i.nc.MAX)return this.lya(m)}else{a=this.y0(b[1][0],b[0]);if(void 0!==this.wt[a])return this.Zo(d,this.wt[a],this.lw[a],0,e,g,l);l=b[0];k.i.ca.ly(l)&&(l=k.i.ca.Ay(l));switch(l){case k.i.ca.uo:if(null!=g
|
|
951
|
-
break;case k.i.ca.
|
|
952
|
-
this.va.I.ad(b[1][0])
|
|
953
|
-
for(b=0;b<this.mc.Na.length;b++){var a=this.mc.Na.ea(b);if(!a.Ue){var c=this.$d.indexOf(a.uniqueName);this.yh.push(c);this.sizes.push(a.Xn);this.el[c]=[]}}this.Vm=this.yh.length;for(b=0;b<this.Tb.Na.length;b++)a=this.Tb.Na.ea(b),a.Ue||(c=this.$d.indexOf(a.uniqueName),this.Zi.push(c),this.sizes.push(a.Xn),this.el[c]=[]);this.Gm=this.Zi.length;if(d)for(b=0;b<this.sH.Na.length;b++)a=
|
|
954
|
-
this.Ih(d[b]),this.Pt.push(c)};h.prototype.RE=function(d,b,a,c){try{if(0===b.children.length||1===b.children.length&&(b.hierarchy.ua(b.children[0]).caption===f.model.A.j.Pk||b.hierarchy.ua(b.children[0]).caption===f.model.A.j.fn))return;this.bM(d,b,c);this.pe(d,b,c,void 0)}catch(p){}for(var e=this.ed(d,this.td),g=0;g<b.children.length;g++){var l=b.hierarchy.ua(b.children[g]);
|
|
955
|
-
d.slice(0,-1);n.push(l.ordinal);this.RE(n,l,a,c)}}catch(p){}}};h.prototype.expandAll=function(d){if(0===this.td.length||0<this.td.length&&this.td[0][0].length!==this.$a.length)this.td=[[this.$a,[],[],void 0,void 0]];if(0===this.Fd.length||0<this.Fd.length&&this.Fd[0][0].length!==this.$a.length)this.Fd=[[this.$a,[],[],void 0,void 0]];this.n9([],0,d);this.cY([],0,
|
|
956
|
-
a&&(g=this.mc.Na.getItem(this.$d[c]));if(a&&g&&g.Wf){var l=g.vd.children;for(e=0;e<l.length;e++)a=g.ua(l[e]),c=d.slice(0),c.push(a.ordinal),this.RE(c,a,b,k.i.fa.Ea)}else for(g=e[0][1],e=0;e<g.length;e++)c=d.slice(0),c.push(g[e]),this.cY(c,b+1,a)}};h.prototype.n9=function(d,b,a){if(void 0!==this.Zi[b]){var c=this.Zi[b],e=this.ed(d,this.Fd),g;d.length<this.Zi.length&&
|
|
957
|
-
e.push(a.ordinal),this.RE(e,a,b,k.i.fa.Oa);else for(g=e[0][1],c=0;c<g.length;c++)e=d.slice(0),e.push(g[c]),this.n9(e,b+1,a)}};h.prototype.Ul=function(d,b,a,c){0===this.td.length&&(this.expand([],k.i.fa.Ea,void 0),this.expand([],k.i.fa.Oa,void 0));try{if(0!=b.children.length&&(1!=b.children.length||b.hierarchy.ua(b.children[0]).caption!=f.model.A.j.Pk&&b.hierarchy.ua(b.children[0]).caption!=
|
|
958
|
-
b.hierarchy.ua(b.children[g]);if(!l.Ei&&l.level.sb<e.sb){var m=d.slice(0,-1);m.push(l.ordinal);var n=this.ed(m,a===k.i.fa.Oa?this.Fd:this.td);void 0!==n&&void 0!==n[0]&&this.Ul(m,l,a,c)}}}}catch(p){}};h.prototype.Ia=function(){return 0};h.prototype.xg=function(d,b){d=this.values&&this.values[d[0]]?this.values[d[0]][b]:NaN;this.va.ga.Ba!==k.i.oa.Jc&&this.va.ga.Ba!==k.i.oa.Rd
|
|
959
|
-
h.prototype.Ml=function(d,b){if(-1!==this.$d.indexOf(d))return this.$d.indexOf(d);if(void 0===b)this.ta[this.$d.length]=[-1,this.$d.length];else{var a=this.$d.indexOf(b);if(-1===a)return this.Ml(b),this.Ml(d,b);this.ta[a]?this.ta[a].push(this.$d.length):this.ta[this.$d.length]=[-1,this.$d.length]}this.$d.push(d);return this.$d.length-1};h.prototype.fK=function(d){-1===
|
|
960
|
-
d.uniqueName,b=d.$,a=d.Ja){var e=d.Nd;var g=d.Bk}d=this.dg.indexOf(c);if(-1!==d){if(void 0!==b&&b!==k.i.ca.NONE){if(this.Do[d]===b)return;d=this.dg.length;this.Do[d]=b;this.dg[d]=c}}else d=this.dg.length,void 0!==b&&b!==k.i.ca.NONE&&(this.Do[d]=b),this.dg.push(c);a&&(this.wt[d]=e,this.lw[d]=g)};h.prototype.rB=function(){return!0===f.model.B.C.Cu||"rows"===f.model.B.C.Cu};
|
|
961
|
-
enumerable:!0,get:function(){return null!=this.Lb?this.Lb:this.va.qa},set:function(d){this.Lb=d}},result:{configurable:!0,enumerable:!0,get:function(){return[this.td,this.Fd]},set:function(){}},Vw:{configurable:!0,enumerable:!0,get:function(){return this.pb&&this.pb[0]?this.pb[0].length:this.pb[1]?this.pb[1].length:0}}});k.YD=h})(f.u||(f.u={}))})(w||(w={}));
|
|
950
|
+
k.i.nc.sX)return this.tya(m);if(b[0]===k.i.nc.cW)return this.bya(m);if(b[0]===k.i.nc.MIN)return this.mya(m);if(b[0]===k.i.nc.MAX)return this.lya(m)}else{a=this.y0(b[1][0],b[0]);if(void 0!==this.wt[a])return this.Zo(d,this.wt[a],this.lw[a],0,e,g,l);l=b[0];k.i.ca.ly(l)&&(l=k.i.ca.Ay(l));switch(l){case k.i.ca.uo:if(null!=g&&(c=this.va.I.ad(b[1][0]),!f.v(c)))return d=this.Ia([],g,c),c=this.Ia(e,g,c),100*c/d;break;case k.i.ca.Xp:if(null!=e&&(c=this.va.I.ad(b[1][0]),!f.v(c)))return d=this.Ia(e,[],c),c=
|
|
951
|
+
this.Ia(e,g,c),100*c/d;break;case k.i.ca.pi:if(null!=e&&null!=g&&(c=this.va.I.ad(b[1][0]),!f.v(c)))return d=this.Ia([],[],c),b=this.Ia(e,[],c),l=this.Ia([],g,c),c=this.Ia(e,g,c),Math.abs(d*c/(l*b));break;case k.i.ca.qm:case k.i.ca.pn:c=this.va.I.ad(b[1][0]);if(!f.v(c))return d=c.$,c.$=l,e=this.eda(e,g,c),c.$=d,e;break;case k.i.ca.Qi:c=this.va.I.ad(b[1][0]);if(!f.v(c)&&c.type==k.i.Ka.uc)return this.xL(d,c);break;case k.i.ca.gn:case k.i.ca.lm:case k.i.ca.mn:case k.i.ca.om:c=this.va.I.ad(b[1][0]);if(!f.v(c))return d=
|
|
952
|
+
c.$,c.$=l,e=this.iza(e,g,c),c.$=d,e;break;case k.i.ca.Vp:case k.i.ca.Wp:if(c=this.va.I.ad(b[1][0]),!f.v(c))return d=c.$,c.$=l,e=this.Vza(e,g,c),c.$=d,e}return this.xg(d,a,l)}};h.prototype.y0=function(d){var b=this.Qg.indexOf(d);-1===b&&-1!=d.indexOf("[Measures]")&&(d=d.slice(12,-1),b=this.Qg.indexOf(d));return b};h.prototype.filter=function(){};h.prototype.select=function(d){d=void 0===d?!0:d;this.vH();this.filter();var b;this.Lfa=[];this.yh=[];this.Zi=[];this.sizes=[];this.el=[];this.Pt=[];this.sH=
|
|
953
|
+
this.slice.axes.getItem(k.i.fa.Ls);this.mc=this.slice.axes.getItem(k.i.fa.Ea);this.Tb=this.slice.axes.getItem(k.i.fa.Oa);for(b=0;b<this.mc.Na.length;b++){var a=this.mc.Na.ea(b);if(!a.Ue){var c=this.$d.indexOf(a.uniqueName);this.yh.push(c);this.sizes.push(a.Xn);this.el[c]=[]}}this.Vm=this.yh.length;for(b=0;b<this.Tb.Na.length;b++)a=this.Tb.Na.ea(b),a.Ue||(c=this.$d.indexOf(a.uniqueName),this.Zi.push(c),this.sizes.push(a.Xn),this.el[c]=[]);this.Gm=this.Zi.length;if(d)for(b=0;b<this.sH.Na.length;b++)a=
|
|
954
|
+
this.sH.Na.ea(b),c=this.$d.indexOf(a.uniqueName),this.Lfa.push(c);else this.$a=this.Og;d=this.slice.bd();for(b=0;b<d.length;b++)c=this.Ih(d[b]),this.Pt.push(c)};h.prototype.RE=function(d,b,a,c){try{if(0===b.children.length||1===b.children.length&&(b.hierarchy.ua(b.children[0]).caption===f.model.A.j.Pk||b.hierarchy.ua(b.children[0]).caption===f.model.A.j.fn))return;this.bM(d,b,c);this.pe(d,b,c,void 0)}catch(p){}for(var e=this.ed(d,this.td),g=0;g<b.children.length;g++){var l=b.hierarchy.ua(b.children[g]);
|
|
955
|
+
try{if(l.Ei){d.length<this.yh.length&&this.MA(e,this.yh[a],void 0);var m=d.slice(0);m[m.length-1]=l.ordinal;this.cY(m,a+1,!0)}else{var n=d.slice(0,-1);n.push(l.ordinal);this.RE(n,l,a,c)}}catch(p){}}};h.prototype.expandAll=function(d){if(0===this.td.length||0<this.td.length&&this.td[0][0].length!==this.$a.length)this.td=[[this.$a,[],[],void 0,void 0]];if(0===this.Fd.length||0<this.Fd.length&&this.Fd[0][0].length!==this.$a.length)this.Fd=[[this.$a,[],[],void 0,void 0]];this.n9([],0,d);this.cY([],0,
|
|
956
|
+
d)};h.prototype.cY=function(d,b,a){if(void 0!==this.yh[b]){var c=this.yh[b],e=this.ed(d,this.td),g;d.length<this.yh.length&&this.MA(e,c,void 0);a&&(g=this.mc.Na.getItem(this.$d[c]));if(a&&g&&g.Wf){var l=g.vd.children;for(e=0;e<l.length;e++)a=g.ua(l[e]),c=d.slice(0),c.push(a.ordinal),this.RE(c,a,b,k.i.fa.Ea)}else for(g=e[0][1],e=0;e<g.length;e++)c=d.slice(0),c.push(g[e]),this.cY(c,b+1,a)}};h.prototype.n9=function(d,b,a){if(void 0!==this.Zi[b]){var c=this.Zi[b],e=this.ed(d,this.Fd),g;d.length<this.Zi.length&&
|
|
957
|
+
this.MA(e,c,void 0);a&&(g=this.Tb.Na.getItem(this.$d[c]));if(a&&g.Wf)for(c=0;c<g.vd.children.length;c++)a=g.ua(g.vd.children[c]),e=d.slice(0),e.push(a.ordinal),this.RE(e,a,b,k.i.fa.Oa);else for(g=e[0][1],c=0;c<g.length;c++)e=d.slice(0),e.push(g[c]),this.n9(e,b+1,a)}};h.prototype.Ul=function(d,b,a,c){0===this.td.length&&(this.expand([],k.i.fa.Ea,void 0),this.expand([],k.i.fa.Oa,void 0));try{if(0!=b.children.length&&(1!=b.children.length||b.hierarchy.ua(b.children[0]).caption!=f.model.A.j.Pk&&b.hierarchy.ua(b.children[0]).caption!=
|
|
958
|
+
f.model.A.j.fn)){this.bM(d,b,a);b.Xb||this.pe(d,b,a,void 0);for(var e=b.hierarchy.ta.getItem(c),g=0;g<b.children.length;g++){var l=b.hierarchy.ua(b.children[g]);if(!l.Ei&&l.level.sb<e.sb){var m=d.slice(0,-1);m.push(l.ordinal);var n=this.ed(m,a===k.i.fa.Oa?this.Fd:this.td);void 0!==n&&void 0!==n[0]&&this.Ul(m,l,a,c)}}}}catch(p){}};h.prototype.Ia=function(){return 0};h.prototype.xg=function(d,b){d=this.values&&this.values[d[0]]?this.values[d[0]][b]:NaN;this.va.ga.Ba!==k.i.oa.Jc&&this.va.ga.Ba!==k.i.oa.Rd||
|
|
959
|
+
!f.model.B.C.io||(d=k.Ks.P().d1(d)?k.Ks.P().K0(d):d);return d};h.prototype.v0=function(){};h.prototype.FG=function(){return this.$a.length};h.prototype.Ml=function(d,b){if(-1!==this.$d.indexOf(d))return this.$d.indexOf(d);if(void 0===b)this.ta[this.$d.length]=[-1,this.$d.length];else{var a=this.$d.indexOf(b);if(-1===a)return this.Ml(b),this.Ml(d,b);this.ta[a]?this.ta[a].push(this.$d.length):this.ta[this.$d.length]=[-1,this.$d.length]}this.$d.push(d);return this.$d.length-1};h.prototype.fK=function(d){-1===
|
|
960
|
+
this.Qg.indexOf(d.uniqueName)&&this.Qg.push(d.uniqueName)};h.prototype.Lx=function(d,b){var a=!1;if("string"===typeof d)var c=d;else if(c=d.uniqueName,b=d.$,a=d.Ja){var e=d.Nd;var g=d.Bk}d=this.dg.indexOf(c);if(-1!==d){if(void 0!==b&&b!==k.i.ca.NONE){if(this.Do[d]===b)return;d=this.dg.length;this.Do[d]=b;this.dg[d]=c}}else d=this.dg.length,void 0!==b&&b!==k.i.ca.NONE&&(this.Do[d]=b),this.dg.push(c);a&&(this.wt[d]=e,this.lw[d]=g)};h.prototype.rB=function(){return!0===f.model.B.C.Cu||"rows"===f.model.B.C.Cu};
|
|
961
|
+
h.prototype.xF=function(){return!0===f.model.B.C.Cu||"columns"===f.model.B.C.Cu};r.Object.defineProperties(h.prototype,{slice:{configurable:!0,enumerable:!0,get:function(){return null!=this.Lb?this.Lb:this.va.qa},set:function(d){this.Lb=d}},result:{configurable:!0,enumerable:!0,get:function(){return[this.td,this.Fd]},set:function(){}},Vw:{configurable:!0,enumerable:!0,get:function(){return this.pb&&this.pb[0]?this.pb[0].length:this.pb[1]?this.pb[1].length:0}}});k.YD=h})(f.u||(f.u={}))})(w||(w={}));
|
|
962
962
|
(function(f){(function(k){function h(){}h.rAa=function(d){var b=null;switch(d.Ba){case k.i.oa.Jc:b=d.binary?new k.external.yb.Co.B5(d):new k.external.yb.FD.epa(d);break;case k.i.oa.Rd:b=d.binary?new k.external.yb.Co.B5(d):new k.external.yb.jp.aoa(d);break;case k.i.oa.Bh:b=new k.local.csv.jI;break;case k.i.oa.Tp:b=new k.local.csv.hoa;break;case k.i.oa.JSON:b=!d.TH||d.gM||d.browseForFile?new k.local.json.tma:new k.local.json.uma;break;case k.i.oa.Jf:b=new k.external.Fe.bla(d);break;case k.i.oa.API:b=
|
|
963
963
|
new k.external.kc.bja(d)}return b};k.vpa=h})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){k.AE=function(h){this.type=void 0===h?"":h;this.Ev=k.i.fa.Ea;this.If=[]}})(f.u||(f.u={}))})(w||(w={}));
|
|
964
964
|
(function(f){(function(k){function h(){}h.kC=function(d,b){switch(b.Ba){case k.i.oa.Jf:d=new k.external.Fe.$ka(d,b);break;case k.i.oa.API:d=new k.external.kc.aja(d,b);break;case k.i.oa.Rd:d=new k.external.yb.jp.ZW(d,b);break;default:d=new k.external.yb.FD.ZW(d,b)}return d};k.tA=h})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){function h(){}h.sE="members";h.x5="ascendants";h.yka="descendants";h.v8="siblings";h.vX="search";k.to=h})(f.u||(f.u={}))})(w||(w={}));
|
|
@@ -970,11 +970,11 @@ h.prototype.d1=function(d){return!(isNaN(d)||void 0===this.CM[d])};h.prototype.c
|
|
|
970
970
|
(function(f){(function(k){function h(){}h.Bg=function(d,b){if(d===b)return d;if(h.KD&&"["===d.slice(0,1)&&"]"===d.slice(-1)){b=d.split("].");1<b.length&&b.shift();d="";for(var a=0;a<b.length;a++){var c=b[a];"[Measures]"!=c&&("["==c.slice(0,1)&&(c=c.slice(1,c.length)),"]"==c.slice(-1)&&(c=c.slice(0,c.length-1)));d=""==d?c:d+"."+c}}return d};h.Ur=function(d){if("["==d.slice(0,1)&&"]"==d.slice(-1)&&h.KD){var b=d.split("].");if(2>b.length)return h.SH&&!f.model.B.C.Wx?d.toLocaleLowerCase():d;1<b.length&&
|
|
971
971
|
b.shift();d="";for(var a=0;a<b.length-1;a++){var c=b[a];"[Measures]"!=c&&("["==c.slice(0,1)&&(c=c.slice(1,c.length)),"]"==c.slice(-1)&&(c=c.slice(0,c.length-1)));d=""==d?c:d+"."+c}d=d+"."+b[b.length-1]}return h.SH&&!f.model.B.C.Wx?d.toLocaleLowerCase():d};h.Vr=function(d){if("[Measures]"==d.slice(0,10))return h.Ur(d,void 0);h.KD&&(d=d.split(".["),2<d.length?(d.shift(),d="["+d.join(".[")):(d=d.pop(),"]"==d.slice(-1)&&(d=d.slice(0,d.length-1))));return h.SH&&!f.model.B.C.Wx?d.toLocaleLowerCase():d};
|
|
972
972
|
h.type=function(d){return k.i.input.pa.valid(d)?d:"hierarchical date"===d?k.i.input.pa.Rp:"measure"===d?k.i.input.pa.fb:k.i.input.pa.Sc};h.KD=!1;h.SH=!1;k.me=h})(f.u||(f.u={}))})(w||(w={}));
|
|
973
|
-
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.Gb=[];b.ig=[];b.Uc=[];b.Nf=[];b.Cc=[];b.yc=[];b.
|
|
973
|
+
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.Gb=[];b.ig=[];b.Uc=[];b.Nf=[];b.Cc=[];b.yc=[];b.ji=[];b.zc=[];b.ty=[];b.jV=[];b.rR=[];b.dB="";b.te=!1;b.WM=[];b.xv=[];b.FK=[];b.Us=[];b.gz=function(a){return b.ZC(a)};b.wK=function(a){return b.C2(a)};b.xN=function(){return b.Iq()};b.Am=new f.ob;b.JQ=[];b.RP=[];b.Hl=new f.ob;b.CQ=new f.ob;b.ib=[];b.pj=0;b.QE=!1;b.hF=0;b.Ax=0;b.aB=0;b.up=k.i.Td.wo;b.MQ=!1;b.fY=0;d.counter++;b.ha=k.La.P();return b}u(d,z.Gc);d.P=function(){null==
|
|
974
974
|
d.instance&&(d.instance=new d,d.instance.dB="grid"+d.counter);return d.instance};d.prototype.TQ=function(){this.ha.N(k.eg.pk,this.gz,1);this.ha.N(k.eg.fI,this.wK);this.ha.N(k.eg.dv,this.xN,1)};d.prototype.iz=function(){this.ha.mb(k.eg.pk,this.gz);this.ha.mb(k.eg.fI,this.wK);this.ha.mb(k.eg.dv,this.xN)};d.prototype.DL=function(){return this.Kb&&!this.slice.expandAll?this.Kb.jd:[]};d.prototype.oha=function(b){this.Kb&&!this.slice.expandAll&&(this.Kb.jd=b)};d.prototype.CL=function(){return this.Jb&&
|
|
975
975
|
!this.slice.expandAll?this.Jb.jd:[]};d.prototype.nha=function(b){this.Jb&&!this.slice.expandAll&&(this.Jb.jd=b)};d.prototype.sG=function(){return this.Kb&&this.slice.expandAll?this.Kb.jd:[]};d.prototype.n4=function(b){this.Kb&&this.slice.expandAll&&(this.Kb.jd=b)};d.prototype.fC=function(){return this.Jb&&this.slice.expandAll?this.Jb.jd:[]};d.prototype.fha=function(b){this.Jb&&this.slice.expandAll&&(this.Jb.jd=b)};d.prototype.zG=function(){return this.Kb&&!this.slice.drillAll?this.Kb.qe:[]};d.prototype.s4=
|
|
976
976
|
function(b){this.Kb&&!this.slice.drillAll&&(this.Kb.qe=b)};d.prototype.yG=function(){return this.Jb&&!this.slice.drillAll?this.Jb.qe:[]};d.prototype.r4=function(b){this.Jb&&!this.slice.drillAll&&(this.Jb.qe=b)};d.prototype.zL=function(){return this.Kb&&this.slice.drillAll?this.Kb.qe:[]};d.prototype.lha=function(b){this.Kb&&this.slice.drillAll&&(this.Kb.qe=b)};d.prototype.yL=function(){return this.Jb&&this.slice.drillAll?this.Jb.qe:[]};d.prototype.kha=function(b){this.Jb&&this.slice.drillAll&&(this.Jb.qe=
|
|
977
|
-
b)};d.prototype.CS=function(){return null};d.prototype.reset=function(b){b=void 0===b?!0:b;this.te=this.qj=!1;this.ib=[];this.Am=new f.ob;this.Hl=new f.ob;this.CQ=new f.ob;this.JQ=[];this.RP=[];this.ig=[];this.Nf=[];this.Gb=[];this.Uc=[];this.Cc=[];this.yc=[];this.zc=[];this.Ax=this.hF=0;this.
|
|
977
|
+
b)};d.prototype.CS=function(){return null};d.prototype.reset=function(b){b=void 0===b?!0:b;this.te=this.qj=!1;this.ib=[];this.Am=new f.ob;this.Hl=new f.ob;this.CQ=new f.ob;this.JQ=[];this.RP=[];this.ig=[];this.Nf=[];this.Gb=[];this.Uc=[];this.Cc=[];this.yc=[];this.zc=[];this.Ax=this.hF=0;this.ji=[];this.ty=[];this.jV=[];this.rR=[];b&&(this.Jb&&(this.Jb.jd=[]),this.Kb&&(this.Kb.jd=[]),this.Jb&&(this.Jb.qe=[]),this.Kb&&(this.Kb.qe=[]))};d.prototype.C2=function(b){b.up!=k.i.Td.uI&&(this.up=b.up,this.qj=
|
|
978
978
|
!1,b.up==k.i.Td.wo&&this.reset(),b.up!=k.i.Td.uW&&b.up!=k.i.Td.ex||this.reset(!1))};d.prototype.ZC=function(b){b.up!=k.i.Td.uI&&this.load()};d.prototype.Iq=function(){this.qj=!1;this.te||this.reset()};d.prototype.load=function(){if(null==this.sa&&(this.sa=this.ha.sa,null==this.sa))return;if(this.slice){this.Jb=this.slice.Wc(k.i.fa.Oa);this.Kb=this.slice.Wc(k.i.fa.Ea);if(0==this.Uc.length&&0==this.Gb.length||this.up==k.i.Td.tO)this.slice.expandAll?this.sa.expandAll(this.slice.drillAll):(this.sa.expand([],
|
|
979
979
|
k.i.fa.Ea,void 0),this.sa.expand([],k.i.fa.Oa,void 0)),(0<this.zG().length||0<this.zL().length)&&this.j9(),(0<this.yG().length||0<this.yL().length)&&this.i9(),(0<this.DL().length||0<this.sG().length||0<this.CL().length||0<this.fC().length)&&this.o9(),(0<this.zG().length||0<this.zL().length)&&this.j9(),(0<this.yG().length||0<this.yL().length)&&this.i9(),(0<this.DL().length||0<this.sG().length||0<this.CL().length||0<this.fC().length)&&this.o9();this.TU();this.qj=!0}else this.Kb=this.Jb=null};d.prototype.o9=
|
|
980
980
|
function(){var b=this.slice.bd();if(this.up==k.i.Td.tO)if(this.slice.expandAll){var a=this.sG();if(0<a.length)for(var c=0;c<a.length;c++)try{var e=b[a[c][0]];var g=a[c].slice(1);this.sa.collapse(g,k.i.fa.Ea,e)}catch(l){}a=this.fC();if(0<this.fC().length)for(c=0;c<this.fC().length;c++)try{e=b[a[c][0]],g=a[c].slice(1),this.sa.collapse(g,k.i.fa.Oa,e)}catch(l){}}else{a=this.DL();if(0<a.length)for(c=0;c<a.length;c++)try{e=b[a[c][0]],g=a[c].slice(1),this.sa.expand(g,k.i.fa.Ea,e)}catch(l){}a=this.CL();if(0<
|
|
@@ -982,11 +982,11 @@ a.length)for(c=0;c<a.length;c++)try{e=b[a[c][0]],g=a[c].slice(1),this.sa.expand(
|
|
|
982
982
|
l=c[e].slice(3);m=b.ea(l.length-1);n=m.Ab(c[e][2])}else g=a[c[e][0]],l=c[e].slice(2),m=b.ea(l.length-1),n=m.Ab(c[e][1]);if(void 0!==p)if(m.Rt(p).sb<n.level.sb){var t=this.fta(n,p);l[l.length-1]=t.ordinal;m.J_(t);this.sa.Vo(l,t,k.i.fa.Ea,g)}else this.sa.eh(l,n,g)||(this.sa.bM(l,n,k.i.fa.Ea),this.sa.pe(l,n,k.i.fa.Ea,g));else n.hierarchy.ac&&n.hierarchy.vd&&this.sa.Ul(l.slice(0,-1),n.hierarchy.vd,k.i.fa.Ea,n.hierarchy.wf),this.sa.eh(l,n,g)||(this.sa.bM(l,n,k.i.fa.Ea),this.sa.pe(l,n,k.i.fa.Ea,g))}catch(q){}};
|
|
983
983
|
d.prototype.i9=function(){var b=this.Tb.Na.slice();b.removeItem("[Measures]");var a=this.slice.bd();if(this.slice.drillAll)for(var c=this.yL(),e=0;e<c.length;e++)try{var g=a[c[e][0]];var l=c[e].slice(2);var m=b.ea(l.length-1);var n=m.Ab(c[e][1]);this.sa.ej(l,n,g)&&this.sa.Vo(l,n,k.i.fa.Oa,g)}catch(p){}else for(c=this.yG(),e=0;e<c.length;e++)try{g=a[c[e][0]],l=c[e].slice(2),m=b.ea(l.length-1),n=m.Ab(c[e][1]),n.hierarchy.ac&&n.hierarchy.vd&&this.sa.Ul(l.slice(0,-1),n.hierarchy.vd,k.i.fa.Oa,n.hierarchy.wf),
|
|
984
984
|
this.sa.ej(l,n,g)||(this.sa.bM(l,n,k.i.fa.Oa),this.sa.pe(l,n,k.i.fa.Oa,g))}catch(p){}};d.prototype.qBa=function(b){if(!b.Ja)return!1;b=x.Gs.HL(b.Nd,this.ha.I.measures);for(var a=new Map,c=0;c<b.length;c++)a.set(b[c].$,!0);return a.has(k.i.ca.lm)||a.has(k.i.ca.om)};d.prototype.TU=function(){this.MQ=!1;this.slice?(this.ib=this.slice.bd(),this.pj=this.Kb.Sa?this.Kb.Ke:this.Jb.Ke,this.Am=this.slice.rows,this.Hl=this.slice.columns,this.CQ=this.slice.pages):(this.ib=[],this.pj=0,this.Am=new f.ob,this.Hl=
|
|
985
|
-
new f.ob,this.CQ=new f.ob);this.JQ=[];this.RP=[];this.te?(this.wKa(),this.xv=this.oq(this.ig),this.WM=this.oq(this.Gb),this.Us=this.oq(this.Nf),this.FK=this.oq(this.Uc)):(this.ig=[],this.Gb=[],this.Nf=[],this.Uc=[],this.Cc=[],this.yc=[],this.
|
|
985
|
+
new f.ob,this.CQ=new f.ob);this.JQ=[];this.RP=[];this.te?(this.wKa(),this.xv=this.oq(this.ig),this.WM=this.oq(this.Gb),this.Us=this.oq(this.Nf),this.FK=this.oq(this.Uc)):(this.ig=[],this.Gb=[],this.Nf=[],this.Uc=[],this.Cc=[],this.yc=[],this.ji=[],this.zc=[]);this.ty=[];this.Ax=this.hF=0;this.jV=[];this.rR=[];if(!f.v(this.slice)&&!this.slice.nb){this.aB=-1;f.v(this.Jb.Hf)||this.Jb.Hf.$!==k.i.ca.lm&&this.Jb.Hf.$!==k.i.ca.om&&!this.qBa(this.Tb.Hf)?(this.iga(),this.fga()):(this.fga(),this.iga());for(var b=
|
|
986
986
|
0;b<this.yc.length;b++)this.yc[b]>this.hF&&(this.hF=this.yc[b]);this.hF++;for(b=0;b<this.zc.length;b++)this.zc[b]>this.Ax&&(this.Ax=this.zc[b]);0<this.Uc.length&&this.Ax++;!this.nb&&0<this.slice.Bb.length&&this.Jb.Sa&&this.Wn&&this.Ax++;-1==this.aB?this.aB=0==this.Ke?0:this.Ax:this.aB++;this.te&&(this.QHa(),this.PHa(),this.xv=[],this.WM=[],this.Us=[],this.FK=[]);this.te||this.pack();this.MQ&&f.Ua(f.model.A.j.H7,f.model.A.j.I7,f.qb.Nk)}};d.prototype.PHa=function(){if(this.Jb.Sa)for(var b=this.Nf[0].length-
|
|
987
987
|
1;0<=b;b--){var a=this.rj(b,!0);if(null!==a&&0!=a.length){var c=this.Ia([],a,this.ib[0]);isNaN(c)&&(a=this.lL(this.Uc,a),0<=a&&this.jz(this.Uc,a),this.jz(this.Nf,b),this.zc=f.Ha.Qq(this.zc,b),this.Cc=f.Ha.Qq(this.Cc,b))}}else for(b=this.Uc[0].length-1;0<=b;b--)a=this.rj(b),null!==a&&0!=a.length&&(a=this.Ia([],a,this.ib[0]),isNaN(a)&&(this.jz(this.Uc,b),this.zc=f.Ha.Qq(this.zc,b)))};d.prototype.QHa=function(){if(this.Jb.Sa)for(var b=this.Gb[0].length-1;0<=b;b--){var a=this.Om(b);null!==a&&0!=a.length&&
|
|
988
|
-
(a=this.Ia(a,[],this.ib[0]),isNaN(a)&&(this.jz(this.Gb,b),this.yc=f.Ha.Qq(this.yc,b),this.
|
|
989
|
-
if(!this.Kb.Sa||1<this.Am.length||this.kl)this.X_(b,[],0),this.te&&this.WHa(this.Gb);if(this.x4||this.Kb.Sa&&1==this.Am.length){var a=this.vb.ea(0);if(!a||a.Jh)if(0==this.Gb.length&&(this.Gb[0]=[]),!this.te){for(a=0;a<this.Gb.length;a++)this.Gb[a].push(0);this.yc.push(0)}}if(!this.kl)if(this.Kb.Sa&&this.Wn){this.te||(this.yc=[],this.
|
|
988
|
+
(a=this.Ia(a,[],this.ib[0]),isNaN(a)&&(this.jz(this.Gb,b),this.yc=f.Ha.Qq(this.yc,b),this.ji.splice(b,1)))}else for(b=this.ig[0].length-1;0<=b;b--)if(a=this.Om(b,!0),null!==a&&0!=a.length){var c=this.Ia(a,[],this.ib[0]);isNaN(c)&&(a=this.lL(this.Gb,a),0<=a&&this.jz(this.Gb,a),this.jz(this.ig,b),this.yc=f.Ha.Qq(this.yc,b),this.Cc=f.Ha.Qq(this.Cc,b),this.ji.splice(b,1))}};d.prototype.jz=function(b,a){for(var c=0;c<b.length;c++)b[c]=f.Ha.Qq(b[c],a)};d.prototype.iga=function(){var b=this.sa.result[0];
|
|
989
|
+
if(!this.Kb.Sa||1<this.Am.length||this.kl)this.X_(b,[],0),this.te&&this.WHa(this.Gb);if(this.x4||this.Kb.Sa&&1==this.Am.length){var a=this.vb.ea(0);if(!a||a.Jh)if(0==this.Gb.length&&(this.Gb[0]=[]),!this.te){for(a=0;a<this.Gb.length;a++)this.Gb[a].push(0);this.yc.push(0)}}if(!this.kl)if(this.Kb.Sa&&this.Wn){this.te||(this.yc=[],this.ji=[]);if(1<this.Am.length)for(0!=this.Ke&&this.kL(b,[],-1,0),a=0;a<this.ib.length;a++){if(this.x4)if(this.te){var c=this.dj(this.ig,[],this.xv);0<=c&&(this.yc=f.Ha.he(this.yc,
|
|
990
990
|
0,c),this.Cc=f.Ha.he(this.Cc,a,c))}else this.Yi(this.ig,[],a),this.yc.push(0);else 0!=this.pj||"off"!=f.model.B.C.Gf&&"rows"!=f.model.B.C.Gf||(this.te?(c=this.dj(this.ig,[],this.xv),0<=c&&(this.yc=f.Ha.he(this.yc,0,c),this.Cc=f.Ha.he(this.Cc,a,c))):(this.Yi(this.ig,[],a),this.yc.push(0)));0==this.Ke&&this.kL(b,[],a,1)}if(0==this.Ke&&(this.x4||this.Kb.Sa&&1==this.Am.length))for(b=0;b<this.ib.length;b++)this.te?(a=this.dj(this.ig,[],this.xv),0<=a&&(this.yc=f.Ha.he(this.yc,0,a),this.Cc=f.Ha.he(this.Cc,
|
|
991
991
|
b,a))):(this.Yi(this.ig,[],b),this.yc.push(0))}else this.ig=this.Gb};d.prototype.fga=function(){var b=this.sa.result[1];(!this.Jb.Sa||1<this.Hl.length)&&this.Uba(b,[],0);if(this.D4||this.Jb.Sa&&1==this.Hl.length){var a=this.Bb.ea(0);if(!a||a.Jh)if(0==this.Uc.length&&(this.Uc[0]=[]),!this.te){for(a=0;a<this.Uc.length;a++)this.Uc[a].push(0);this.zc.push(0)}}if(this.Jb.Sa&&this.Wn){this.te||(this.zc=[]);if(1<this.Hl.length)for(this.ty=[],0!=this.pj&&this.iL(b,[],-1,0),a=0;a<this.ib.length;a++){if(this.D4)if(this.te){var c=
|
|
992
992
|
this.dj(this.Nf,[],this.Us);0<=c&&(this.zc=f.Ha.he(this.zc,0,c),this.Cc=f.Ha.he(this.Cc,a,c))}else this.Yi(this.Nf,[],a),this.zc.push(0);else 0!=this.pj||"off"!=f.model.B.C.Gf&&"columns"!=f.model.B.C.Gf||(this.te?(c=this.dj(this.Nf,[],this.Us),0<=c&&(this.zc=f.Ha.he(this.zc,0,c),this.Cc=f.Ha.he(this.Cc,a,c))):(this.Yi(this.Nf,[],a),this.zc.push(0)));0==this.pj&&this.iL(b,[],a,0)}if(0==this.pj&&(this.D4||this.Jb.Sa&&1==this.Hl.length))for(b=0;b<this.ib.length;b++)this.te?(a=this.dj(this.Nf,[],this.Us),
|
|
@@ -997,7 +997,7 @@ return!1};d.prototype.C1=function(b,a,c,e){if(this.ha.ga.Bc&&this.ha.ga.Ba!==k.i
|
|
|
997
997
|
this.ha.ga.Ba!==k.i.oa.API||this.ha.ga.dM)return!1;if(!0===f.model.B.C.Cu||"columns"===f.model.B.C.Cu)return!this.gea(a);if(void 0!==c&&void 0!==e&&!k.i.ca.eM(e.$)&&(e=e.clone(),e.$=c.measure.$,a=this.Ia([],b,e),!c.nU(a,c.query)))return!0;for(c=0;c<this.measures.length;c++)if(0===c&&this.measures[c].Ja||!isNaN(this.Ia([],b,this.measures[c]))||k.i.ca.eM(this.measures[c].$))return!1;return!0};d.prototype.Wba=function(b,a,c,e,g){if(null!=a){if(null!=b.ac&&!this.sa.eh(e,a)){if(0<e.length){var l=e.slice(0);
|
|
998
998
|
l.push(a.ordinal)}else l=e.slice(0);this.sa.Ul(l,a,k.i.fa.Ea,b.wf)}a=null==b.ac||a.level.sb>=b.ac.sb?b.zj(a,!1,""):b.pu(b.wf);a=this.K4(b,a,c,e);if(b.filter.Kh&&b.filter.query.ra!=k.i.Pb.mj&&b.filter.query.ra!=k.i.Pb.Rh){var m=b.filter;var n=this.slice.ad(m.measure.uniqueName)}l=this.vb.indexOf(b.uniqueName)<this.vb.length-1;for(var p=this.sa.rB(b),t=0;t<a.length;t++){var q=b.ua(a[t]);0===t&&this.Xba(q);if((void 0!==c[q.ordinal]||p)&&!q.Xb){var v=e.slice(0);v.push(q.ordinal);if(!this.C1(v,q,m,n)){var y=
|
|
999
999
|
l&&this.sa.xh(v),A=!q.Ei&&this.sa.eh(v,q);if(this.te){var C=this.dj(this.Gb,v,this.WM);0<=C&&!this.mc.Sa&&(this.yc=f.Ha.he(this.yc,g,C));y||this.mc.Sa||this.U3(this.Gb,v)}else this.Yi(this.Gb,v),this.yc.push(g);if(Date.now()-this.fY<f.model.B.C.R_)A?this.Wba(b,q,c,e,g+1):y&&this.X_(c[q.ordinal],v,g+1);else if(A||y)this.MQ=!0}}}}};d.prototype.U3=function(b,a){for(var c=b[0].length-1;0<=c;c--){for(var e=!0,g=0;g<a.length;g++)if(b[g][c]!=a[g]){e=!1;break}if(e){e=!0;for(g=a.length;g<b.length;g++)if(0!=
|
|
1000
|
-
b[g][c]){e=!1;break}e?this.kl&&2==this.
|
|
1000
|
+
b[g][c]){e=!1;break}e?this.kl&&2==this.ji[c]&&(this.ji[c]=3):(this.jz(b,c),this.yc=f.Ha.Qq(this.yc,c),this.ji.splice(c,1),this.Kb.Sa&&(this.Cc=f.Ha.Qq(this.Cc,c)))}}if(this.kl)for(b=b[0].length,a=0;a<b;a++)3==this.ji[a]&&(this.ji[a]=1,this.yc[a]=this.zca(this.Gb,a))};d.prototype.WHa=function(b){if(b&&0!=b.length)for(var a=b[0].length,c=b.length-1;0<=c;c--){for(var e=0;e<a;e++)if(0!=b[c][e])return;--b.length}};d.prototype.yga=function(b,a){for(var c=b[0].length-1;0<=c;c--){for(var e=!0,g=0;g<a.length;g++)if(b[g][c]!=
|
|
1001
1001
|
a[g]){e=!1;break}if(e){e=!0;for(g=a.length;g<b.length;g++)if(0!=b[g][c]){e=!1;break}e||(this.jz(b,c),this.zc=f.Ha.Qq(this.zc,c),this.Jb.Sa&&(this.Cc=f.Ha.Qq(this.Cc,c)))}}};d.prototype.Yi=function(b,a,c){0===b.length&&(b[0]=[]);if(a.length>b.length)for(var e=b.length;e<a.length;e++){b[e]=[];for(var g=0;g<b[0].length;g++)b[e].push(0)}for(e=0;e<a.length;e++)b[e].push(a[e]);if(b.length>a.length)for(a=a.length;a<b.length;a++)b[a].push(0);void 0!==c&&this.Cc.push(c)};d.prototype.dj=function(b,a,c,e){c=
|
|
1002
1002
|
void 0===c?null:c;e=void 0===e?0:e;if(a.length<b.length){a=a.slice(0);for(var g=a.length;g<b.length;g++)a.push(0)}if(a.length>b.length)for(g=b.length;g<a.length;g++){b[g]=[];for(var l=0;l<b[0].length;l++)b[g].push(0)}return this.waa(null!==c?c:b,a)?-1:(c=this.Bxa(b,a)+e,this.$Aa(b,a,c),c)};d.prototype.Bxa=function(b,a){var c=0,e=b[0].indexOf(0);0>e&&(e=b[0].length-1);for(var g=0;g<b.length;g++){c=b[g].indexOf(a[g],c);if(-1===c)break;if(c<e)e=b[g].lastIndexOf(a[g],e-1)+1;else break}return e};d.prototype.$Aa=
|
|
1003
1003
|
function(b,a,c){for(var e=0;e<b.length;e++)b[e]=f.Ha.he(b[e],void 0!==a[e]?a[e]:0,c)};d.prototype.waa=function(b,a){if(a.length<b.length){a=a.slice(0);for(var c=a.length;c<b.length;c++)a.push(0)}if(a.length>b.length){c=!0;for(var e=b.length;e<a.length;e++)if(0!=a[e]){c=!1;break}if(!c)return!1;a=a.slice(0,b.length)}return 0<=this.lL(b,a)};d.prototype.lL=function(b,a,c){c=void 0===c?!0:c;for(var e=b[0].length;!c&&a.length<e;)a.push(0);for(c=0;c<e;c++){for(var g=!0,l=0;l<b.length;l++)if(b[l][c]!=a[l]){g=
|
|
@@ -1006,13 +1006,13 @@ b.wf)}m=e.length;a=null==b.ac||a.level.sb>=b.ac.sb?b.zj(a,!1,""):b.pu(b.wf);a=th
|
|
|
1006
1006
|
l,q),this.Cc=f.Ha.he(this.Cc,-1,q))):(this.Yi(this.ig,A,-1),this.yc.push(l)),m==this.pj-1&&C)for(q=0;q<this.ib.length;q++)this.sa.eh(A,t,q)?this.jS(b,t,c,e,q,l+2):(this.te?(C=this.dj(this.ig,A,this.xv),0<=C&&(this.yc=f.Ha.he(this.yc,l+1,C),this.Cc=f.Ha.he(this.Cc,q,C))):(this.Yi(this.ig,A,q),this.yc.push(l+1)),this.sa.xh(A)&&this.kL(c[t.ordinal],A,q,l+2));else{for(q=0;q<this.ib.length;q++)if(this.Jha(b)||!C&&!E||this.Ut)if(this.te){var K=this.dj(this.ig,A,this.xv);0<=K&&(this.yc=f.Ha.he(this.yc,l+
|
|
1007
1007
|
1,K),this.Cc=f.Ha.he(this.Cc,q,K));C||this.U3(this.ig,A)}else this.Yi(this.ig,A,q),this.yc.push(l+1);this.sa.eh(A,t,g)?this.jS(b,t,c,e,g,l+2):this.sa.xh(A,g)&&this.kL(c[t.ordinal],A,g,l+2)}else this.te?(q=this.dj(this.ig,A,this.xv),0<=q&&(this.yc=f.Ha.he(this.yc,l,q),this.Cc=f.Ha.he(this.Cc,g,q))):(this.Yi(this.ig,A,g),this.yc.push(l)),this.sa.eh(A,t,g)?this.jS(b,t,c,e,g,l+1):C&&this.kL(c[t.ordinal],A,g,l+1)}}}};d.prototype.q9=function(b,a,c,e,g){if(null!=a){if(null!=b.ac&&!this.sa.eh(e,a)){if(0<
|
|
1008
1008
|
e.length){var l=e.slice(0);l.push(a.ordinal)}else l=e.slice(0);this.sa.Ul(l,a,k.i.fa.Ea,b.wf)}a=null==b.ac||a.level.sb>=b.ac.sb?b.zj(a,!1,""):b.pu(a.hierarchy.wf);a=this.K4(b,a,c,e);if(b.filter.Kh&&b.filter.query.ra!=k.i.Pb.mj&&b.filter.query.ra!=k.i.Pb.Rh){var m=b.filter;var n=this.slice.ad(m.measure.uniqueName)}l=this.sa.rB(b);for(var p=!1,t=0;t<a.length;t++){var q=b.ua(a[t]);0===t&&this.Xba(q);if((null!=c[q.ordinal]||l)&&!q.Xb){var v=e.slice(0);v.push(q.ordinal);if(!this.C1(v,q,m,n)){var y=this.sa.eh(v,
|
|
1009
|
-
q),A=this.sa.xh(v);q.dh&&A&&!y&&(A=!1);var C=0<this.Gb.length?this.Gb[0].length:0;!this.te&&this.Vm>v.length&&(this.
|
|
1010
|
-
(this.Yi(this.Gb,v),this.yc[this.Gb[0].length-1]=g,this.
|
|
1011
|
-
v),void 0==this.
|
|
1009
|
+
q),A=this.sa.xh(v);q.dh&&A&&!y&&(A=!1);var C=0<this.Gb.length?this.Gb[0].length:0;!this.te&&this.Vm>v.length&&(this.ji[C]=1,void 0==this.yc[C]&&(this.yc[C]=g));var E=Date.now()-this.fY;if(E<f.model.B.C.R_||E>=f.model.B.C.R_&&0<g)y?this.q9(b,q,c,e,g+1):A&&this.X_(c[q.ordinal],v,g+1);else if(y||A)this.MQ=!0,0===g&&A&&(this.mIa(v,C),A=!1);y||A?(this.Jha(b)&&(this.te?(A=this.dj(this.Gb,v,this.WM),0<=A?(this.ji.splice(A,0,2),this.yc=f.Ha.he(this.yc,g,A)):(v=this.lL(this.Gb,v,!1),0<=v&&(this.ji[v]=2))):
|
|
1010
|
+
(this.Yi(this.Gb,v),this.yc[this.Gb[0].length-1]=g,this.ji[this.Gb[0].length-1]=2)),y&&this.yc[C]>g&&(this.yc[C]=g,this.ji[C]=0)):this.te?(y=1<v.length&&this.bva(this.Gb,e),y=this.dj(this.Gb,v,this.WM,y?-1:0),0<=y&&(this.ji.splice(y,0,g==this.Vm-1?0:1),this.yc=f.Ha.he(this.yc,g,y),1<v.length&&(0==t&&(this.ji[y]=1,this.yc[y]=this.zca(this.Gb,y)),0==p&&(y=e.slice(0),y.push(0),y=this.lL(this.Gb,y),0<=y&&2!=this.ji[y]&&(p=!0,this.ji[y]=2,this.yc[y]=g-1)))),A||this.mc.Sa||this.U3(this.Gb,v)):(this.Yi(this.Gb,
|
|
1011
|
+
v),void 0==this.ji[this.Gb[0].length-1]&&(this.ji[this.Gb[0].length-1]=0,this.yc[this.Gb[0].length-1]=g))}}}}};d.prototype.zca=function(b,a){if(0==a)return 0;for(var c=0,e=0;e<b.length&&b[e][a]==b[e][a-1];e++)c++;return c};d.prototype.bva=function(b,a){a=a.slice(0);a.push(0);for(var c=1;c<a.length;){if(this.waa(b,a))return!0;c++;a[a.length-c]=0}return!1};d.prototype.mIa=function(b,a){this.yc[a]=0;this.sa.collapse(b,this.Kb.uniqueName,void 0);b=[-1,b[0]];a=this.sG().slice(0);a.push(b);this.n4(a)};
|
|
1012
1012
|
d.prototype.Xba=function(b){this.Vba(this.JQ,b)};d.prototype.lxa=function(b){this.Vba(this.RP,b)};d.prototype.Vba=function(b,a){-1===b.indexOf(a.level.uniqueName)&&(1>=(null!=a.hierarchy.ac?a.level.sb-a.hierarchy.ac.sb+1:a.level.sb)?b.push(a.level.uniqueName):b.splice(b.indexOf(a.parent.level.uniqueName)+1,0,a.level.uniqueName))};d.prototype.xea=function(b,a){for(var c=0;c<b.length;c++){var e=a.ea(c),g=this.wza(e,b[c]);if(e.filter.bh){for(var l=-1,m=0;m<g.length;m++){if(0>e.$a.indexOf(g[m])&&1===
|
|
1013
1013
|
g.length)return!1;var n=e.$a.indexOf(g[m]);l=n>l?n:l}if(-1===l)return!1}}return!0};d.prototype.wza=function(b,a){var c=[];for(b=b.ua(a);0!==b.ordinal;)c.push(b.ordinal),b=b.parent;return c};d.prototype.K4=function(b,a,c,e){if(!this.YL)return a;var g=this.Bn;if(!this.xea(g,this.Bb))return a;for(var l=[],m=[],n=[],p=[],t,q=this.sa.rB(b),v=0;v<a.length;v++)if(t=b.ua(a[v]),(null!=c[t.ordinal]||q)&&!t.Xb){var y=e.slice(0);y.push(t.ordinal);y=this.Ia(y,g,this.Qv);isNaN(y)?n.push(t.ordinal):(l.push(y),m.push(t.ordinal))}b=
|
|
1014
|
-
this.xi!==k.i.ya.Fc?f.Ha.sort(l,f.Ha.
|
|
1015
|
-
n.push(t.ordinal):(l.push(y),m.push(t.ordinal))}b=this.vl!==k.i.ya.Fc?f.Ha.sort(l,f.Ha.
|
|
1014
|
+
this.xi!==k.i.ya.Fc?f.Ha.sort(l,f.Ha.ri|f.Ha.av):f.Ha.sort(l,f.Ha.ri|f.Ha.oo|f.Ha.av);for(v=0;v<b.length;v++)a=m[b[v]],null!=a&&p.push(a);for(v=0;v<n.length;v++)a=n[v],this.xi==k.i.ya.Fc?p.push(a):p.splice(v,0,a);return p};d.prototype.Nha=function(b,a,c,e){if(!this.iT)return a;var g=this.Jk;if(!this.xea(g,this.vb))return a;for(var l=[],m=[],n=[],p=[],t,q=this.sa.xF(b),v=0;v<a.length;v++)if(t=b.ua(a[v]),(null!=c[t.ordinal]||q)&&!t.Xb){var y=e.slice(0);y.push(t.ordinal);y=this.Ia(g,y,this.ks);isNaN(y)?
|
|
1015
|
+
n.push(t.ordinal):(l.push(y),m.push(t.ordinal))}b=this.vl!==k.i.ya.Fc?f.Ha.sort(l,f.Ha.ri|f.Ha.av):f.Ha.sort(l,f.Ha.ri|f.Ha.oo|f.Ha.av);for(v=0;v<b.length;v++)a=m[b[v]],null!=a&&p.push(a);for(v=0;v<n.length;v++)a=n[v],this.vl==k.i.ya.Fc?p.push(a):p.splice(v,0,a);return p};d.prototype.Uba=function(b,a,c){var e=a.length;(e=this.Jb.Sa&&a.length>=this.pj?this.Hl.ea(e+1):this.Hl.ea(e))&&this.Tba(e,e.vd,b,a,c)};d.prototype.Tba=function(b,a,c,e,g){if(null!=b.ac&&!this.sa.ej(e,a)){if(0<e.length){var l=e.slice(0);
|
|
1016
1016
|
l.push(a.ordinal)}else l=e.slice(0);this.sa.Ul(l,a,k.i.fa.Oa,b.wf)}a=null==a.hierarchy.ac||a.level.sb>=b.ac.sb?b.zj(a,!1,""):b.pu(b.wf);a=this.Nha(b,a,c,e);if(b.filter.Kh&&b.filter.query.ra!=k.i.Pb.mj&&b.filter.query.ra!=k.i.Pb.Rh){var m=b.filter;var n=this.slice.ad(m.measure.uniqueName)}l=this.sa.xF(b);for(var p=0;p<a.length;p++){var t=b.ua(a[p]);0==p&&this.lxa(t);if((null!=c[t.ordinal]||l)&&!t.Xb){var q=e.slice(0);q.push(t.ordinal);if(!this.Yda(q,t,m,n)){var v=this.sa.uj(q),y=this.sa.ej(q,t);if(this.FH(v,
|
|
1017
1017
|
y)&&!y)this.pB(e.length);else if(this.qs(b)||!v||this.Ut)if(this.te){var A=this.dj(this.Uc,q,this.FK);0<=A&&!this.Tb.Sa&&(this.zc=f.Ha.he(this.zc,g,A));v||this.Tb.Sa||this.yga(this.Uc,q)}else this.Yi(this.Uc,q),this.zc.push(g);else this.qs(b)||this.pB(e.length);y?this.Tba(b,t,c,e,g+1):v&&this.Uba(c[t.ordinal],q,g+1);this.FH(v,y)&&(this.qs(b)||!v||this.Ut)&&(this.te?(t=this.dj(this.Uc,q,this.FK),0<=t&&(this.zc=f.Ha.he(this.zc,-1,t))):(this.Yi(this.Uc,q),this.zc.push(-1)))}}}};d.prototype.iL=function(b,
|
|
1018
1018
|
a,c,e){var g=a.length;(g=this.Jb.Sa&&a.length>=this.pj?this.Hl.ea(g+1):this.Hl.ea(g))&&this.iS(g,g.vd,b,a,c,e)};d.prototype.qs=function(b){return f.model.B.C.vk&&void 0!==b&&void 0!==b.$f?b.$f:"on"===f.model.B.C.$f||"columns"===f.model.B.C.$f};d.prototype.FH=function(b,a){return!b&&!a||this.Ut?!1:"after"===f.model.B.C.xR};d.prototype.Jha=function(b){return f.model.B.C.vk&&void 0!==b&&void 0!==b.$f?b.$f:"on"===f.model.B.C.$f||"rows"===f.model.B.C.$f};d.prototype.iS=function(b,a,c,e,g,l){if(null!=b.ac&&
|
|
@@ -1020,20 +1020,20 @@ a,c,e){var g=a.length;(g=this.Jb.Sa&&a.length>=this.pj?this.Hl.ea(g+1):this.Hl.e
|
|
|
1020
1020
|
if(!this.Yda(A,y,p,t)){var C=this.sa.uj(A,g),E=this.sa.ej(A,y);if(m<this.pj)if(this.Jb.Sa&&this.aB<l+1&&(this.aB=l+1),m==this.pj-1&&C)if(E){for(q=0;q<this.ib.length;q++)this.te?(C=this.dj(this.Nf,A,this.Us),0<=C&&(this.zc=f.Ha.he(this.zc,l,C),this.Cc=f.Ha.he(this.Cc,g,C))):(this.Yi(this.Nf,A,q),this.zc.push(l));this.iS(b,y,c,e,g,l+1)}else for(q=0;q<this.ib.length;q++)this.qs(b)||!C||this.Ut?this.te?(E=this.dj(this.Nf,A,this.Us),0<=E&&(this.zc=f.Ha.he(this.zc,l,E),this.Cc=f.Ha.he(this.Cc,q,E))):(this.Yi(this.Nf,
|
|
1021
1021
|
A,q),this.zc.push(l)):this.qs(b)||this.pB(m),this.sa.uj(A,q)&&this.iL(c[y.ordinal],A,q,l+1);else{if(this.FH(C,E)&&!E)this.pB(m);else if(this.qs(b)||!C||this.Ut)for(q=0;q<this.ib.length;q++)if(this.te){var K=this.dj(this.Nf,A,this.Us);0<=K&&(this.zc=f.Ha.he(this.zc,l,K),this.Cc=f.Ha.he(this.Cc,q,K));C||this.yga(this.Nf,A)}else this.Yi(this.Nf,A,q),this.zc.push(l);else this.qs(b)||this.pB(m);this.sa.ej(A,y,g)?this.iS(b,y,c,e,g,l+1):C&&this.iL(c[y.ordinal],A,g,l+1);if(this.FH(C,E)&&(this.qs(b)||!C||
|
|
1022
1022
|
this.Ut))for(q=0;q<this.ib.length;q++)this.te?(y=this.dj(this.Nf,A,this.Us),0<=y&&(this.zc=f.Ha.he(this.zc,-1,y),this.Cc=f.Ha.he(this.Cc,q,y))):(this.Yi(this.Nf,A,q),this.zc.push(-1))}else this.FH(C,E)&&!E?this.pB(m):this.qs(b)||!C||this.Ut?this.te?(q=this.dj(this.Nf,A,this.Us),0<=q&&(this.zc=f.Ha.he(this.zc,l,q),this.Cc=f.Ha.he(this.Cc,g,q))):(this.Yi(this.Nf,A,g),this.zc.push(l)):this.qs(b)||this.pB(m),this.sa.ej(A,y,g)?this.iS(b,y,c,e,g,l+1):C&&this.iL(c[y.ordinal],A,g,l+1),this.FH(C,E)&&(this.qs(b)||
|
|
1023
|
-
!C||this.Ut)&&(this.te?(A=this.dj(this.Uc,A,this.FK),0<=A&&(this.zc=f.Ha.he(this.zc,-1,A))):(this.Yi(this.Uc,A),this.zc.push(-1)))}}}};d.prototype.pB=function(b){void 0===this.ty[this.zc.length]&&(this.ty[this.zc.length]=[]);-1==this.ty[this.zc.length].indexOf(b)&&this.ty[this.zc.length].push(b)};d.prototype.QS=function(b){return this.kl?this.yc[this.Kb.Sa?Math.floor(b/this.ib.length):b]:this.yc[b]};d.prototype.VS=function(b){return this.kl?this.
|
|
1023
|
+
!C||this.Ut)&&(this.te?(A=this.dj(this.Uc,A,this.FK),0<=A&&(this.zc=f.Ha.he(this.zc,-1,A))):(this.Yi(this.Uc,A),this.zc.push(-1)))}}}};d.prototype.pB=function(b){void 0===this.ty[this.zc.length]&&(this.ty[this.zc.length]=[]);-1==this.ty[this.zc.length].indexOf(b)&&this.ty[this.zc.length].push(b)};d.prototype.QS=function(b){return this.kl?this.yc[this.Kb.Sa?Math.floor(b/this.ib.length):b]:this.yc[b]};d.prototype.VS=function(b){return this.kl?this.ji[this.Kb.Sa?Math.floor(b/this.ib.length):b]:this.ji[b]};
|
|
1024
1024
|
d.prototype.bw=function(){return 1};d.prototype.vL=function(b){return this.zc[b]};d.prototype.B1=function(b){return this.ty[b]};d.prototype.SS=function(b){return this.Kb.Sa&&(b.length>this.pj||0==this.pj)?b.length:b.length-1};d.prototype.RS=function(b){return this.Am.ea(this.SS(b))};d.prototype.AS=function(b){return this.Jb.Sa&&(b.length>this.pj||0==this.pj)?b.length:b.length-1};d.prototype.tG=function(b){return this.Hl.ea(this.AS(b))};d.prototype.xh=function(b,a){return this.sa.xh(b,a)};d.prototype.uj=
|
|
1025
1025
|
function(b,a){return this.sa.uj(b,a)};d.prototype.eh=function(b,a,c){return this.sa.eh(b,a,c)};d.prototype.ej=function(b,a,c){return this.sa.ej(b,a,c)};d.prototype.gC=function(b,a){a=void 0===a?!0:a;b=b.slice(0);var c=(a=a&&this.Jb.Sa)?b.pop():-1,e=this.Nf;if(0<e.length)for(var g=0;g<e[0].length;g++){var l=!0;if(!a||!this.Wn||c==this.Cc[g]){var m=this.sC(e,g);if(m.length==b.length){for(var n=0;n<m.length;n++)if(m[n]!=b[n]){l=!1;break}if(l)return g}}}return-1};d.prototype.qC=function(b,a){a=void 0===
|
|
1026
1026
|
a?!0:a;b=b.slice(0);var c=(a=a&&this.Kb.Sa)?b.pop():-1,e=this.kl?this.Gb:this.ig;if(0<e.length)for(var g=0;g<e[0].length;g++){var l=!0;if(!a||!this.Wn||c==this.Cc[g]){var m=this.sC(e,g);if(m.length==b.length){for(var n=0;n<m.length;n++)if(m[n]!=b[n]){l=!1;break}if(l)return g}}}return-1};d.prototype.Om=function(b,a){return 0>b||null==this.Kb||null==this.ib?null:(void 0===a?0:a)&&this.Kb.Sa&&this.Wn?this.kl?(b=Math.floor(b/this.ib.length),void 0==this.Gb[0][b]?null:this.sC(this.Gb,b)):void 0==this.ig[0][b]?
|
|
1027
1027
|
null:this.sC(this.ig,b):f.v(this.Gb[0])||f.v(this.Gb[0][b])?null:this.sC(this.Gb,b)};d.prototype.rj=function(b,a){return 0>b||null==this.Jb||null==this.ib?null:(void 0===a?0:a)&&this.Jb.Sa&&this.Wn?void 0==this.Nf[0][b]?null:this.sC(this.Nf,b):void 0==this.Uc[0]?[0]:void 0==this.Uc[0][b]?null:this.sC(this.Uc,b)};d.prototype.q0=function(){return null};d.prototype.US=function(b){return this.kl&&this.Kb.Sa?void 0==this.Gb[0][Math.floor(b/this.measures.length)]?-1:b%this.ib.length:void 0==this.Cc[b]?
|
|
1028
|
-
-1:this.Kb.Sa&&this.Wn?this.Cc[b]:-1};d.prototype.BS=function(b){return void 0===this.Cc[b]?-1:this.Jb.Sa&&this.Wn?this.Cc[b]:-1};d.prototype.
|
|
1028
|
+
-1:this.Kb.Sa&&this.Wn?this.Cc[b]:-1};d.prototype.BS=function(b){return void 0===this.Cc[b]?-1:this.Jb.Sa&&this.Wn?this.Cc[b]:-1};d.prototype.di=function(b,a){if(void 0!==this.ib&&void 0!==this.Kb&&void 0!==this.Jb)return this.Wn?this.Kb.Sa?this.kl?(a=b%this.ib.length,void 0==this.Gb[0][Math.floor(b/this.measures.length)]?this.ib[0]:this.ib[a]):void 0===this.Cc[b]?this.ib[0]:this.ib[this.Cc[b]]:void 0===this.Cc[a]?this.ib[0]:this.ib[this.Cc[a]]:this.ib[0]};d.prototype.drillThrough=function(b,a,c){return this.sa.drillThrough(b,
|
|
1029
1029
|
a,c)};d.prototype.save=function(b,a,c,e,g){return this.sa.save(b,a,c,e,g)};d.prototype.tC=function(b,a,c){return this.sa.tC(b,a,c)};d.prototype.Mr=function(b,a){return this.ha.ga.Bc?null:null==b&&null==a?null:this.sa.$za(b,a)};d.prototype.xg=function(b,a,c){b=this.sa.Ia(b,a,c);this.ha.ga.Ba!==k.i.oa.Jc&&this.ha.ga.Ba!==k.i.oa.Rd||!f.model.B.C.io||(b=!c.Ja&&k.Ks.P().d1(b)?k.Ks.P().K0(b):b);return b};d.prototype.Ia=function(b,a,c){if(c.$===k.i.ca.dr)return b=this.xg(b,a,c),c=this.xg([],[],c),isNaN(b)&&
|
|
1030
|
-
!isNaN(c)?0:Math.abs(100*b/c);if(c.$===k.i.ca.uo)return b=this.xg(b,a,c),c=this.xg([],a,c),isNaN(b)&&!isNaN(c)?0:100*b/c;if(c.$===k.i.ca.Xp)return a=this.xg(b,a,c),c=this.xg(b,[],c),isNaN(a)&&!isNaN(c)?0:100*a/c;if(c.$===k.i.ca.Wp){var e=this.xg(b,a,c);b=b.slice(0,b.length-1);c=this.xg(b,a,c);return isNaN(e)&&!isNaN(c)?0:100*e/c}if(c.$===k.i.ca.Vp)return e=this.xg(b,a,c),a=a.slice(0,a.length-1),c=this.xg(b,a,c),isNaN(e)&&!isNaN(c)?0:100*e/c;if(c.$===k.i.ca.
|
|
1030
|
+
!isNaN(c)?0:Math.abs(100*b/c);if(c.$===k.i.ca.uo)return b=this.xg(b,a,c),c=this.xg([],a,c),isNaN(b)&&!isNaN(c)?0:100*b/c;if(c.$===k.i.ca.Xp)return a=this.xg(b,a,c),c=this.xg(b,[],c),isNaN(a)&&!isNaN(c)?0:100*a/c;if(c.$===k.i.ca.Wp){var e=this.xg(b,a,c);b=b.slice(0,b.length-1);c=this.xg(b,a,c);return isNaN(e)&&!isNaN(c)?0:100*e/c}if(c.$===k.i.ca.Vp)return e=this.xg(b,a,c),a=a.slice(0,a.length-1),c=this.xg(b,a,c),isNaN(e)&&!isNaN(c)?0:100*e/c;if(c.$===k.i.ca.pi){e=this.xg([],[],c);var g=this.xg(b,[],
|
|
1031
1031
|
c),l=this.xg([],a,c);c=this.xg(b,a,c);return Math.abs(e*c/(l*g))}return c.$===k.i.ca.gn?this.Ica(b,a,c,!1):c.$===k.i.ca.lm?this.Jca(b,a,c,!1):c.$===k.i.ca.mn?this.Ica(b,a,c,!0):c.$===k.i.ca.om?this.Jca(b,a,c,!0):c.$===k.i.ca.qm||c.$===k.i.ca.pn?this.sa.eda(b,a,c):this.xg(b,a,c)};d.prototype.Jca=function(b,a,c,e){var g=-1;if(0<this.columns.length){var l=this.Jb.Sa&&1<this.ib.length;g=a.slice();l&&g.push(0);g=this.gC(g,l);if(0==g||0==a.length)return NaN;if(0>g)return 0;l=this.rj(l&&a.length<=this.Jb.Ke?
|
|
1032
1032
|
g-this.ib.length:g-1,l);if(null==l||a.length!=l.length&&1!=a.length)return NaN;a.length!=l.length&&1==a.length&&(l=this.Wza(g,a.length));if(null==l)return NaN;l=this.xg(b,l,c);isNaN(l)&&!e&&(l=0)}b=this.xg(b,a,c);isNaN(b)&&0<g&&!e&&(b=0);return e?(b-l)/l*100:b-l};d.prototype.Ica=function(b,a,c,e){var g=-1;if(0<this.rows.length){var l=this.Kb.Sa&&1<this.ib.length;g=b.slice();l&&g.push(0);g=this.qC(g,l);if(0==g||0==b.length)return NaN;if(0>g)return 0;l=this.Om(l&&b.length<=this.Kb.Ke?g-(this.ib.length+
|
|
1033
1033
|
1):g-1,l);if(null==l||b.length!=l.length&&1!=b.length)return NaN;b.length!=l.length&&1==b.length&&(l=this.Xza(g,b.length));if(null==l)return NaN;l=this.xg(l,a,c);isNaN(l)&&!e&&(l=0)}b=this.xg(b,a,c);isNaN(b)&&0<g&&!e&&(b=0);return e?(b-l)/l*100:b-l};d.prototype.Xza=function(b,a){if(0>b||null==this.Kb||null==this.ib||f.v(this.Gb[0])||f.v(this.Gb[0][b]))return null;b=this.Vga(this.Gb,a,b);return 0<=b&&0==this.Gb[a][b]?this.cda(b,a,this.Gb):null};d.prototype.Wza=function(b,a){if(0>b||null==this.Kb||
|
|
1034
1034
|
null==this.ib)return null;if(void 0==this.Uc[0])return[0];if(void 0==this.Uc[0][b])return null;b=this.Vga(this.Uc,a,b);return 0<=b&&0==this.Uc[a][b]?this.cda(b,a,this.Uc):null};d.prototype.cda=function(b,a,c){for(var e=[],g=0;g<a;g++)e.push(c[g][b]);return e};d.prototype.Vga=function(b,a,c){if(b[a]&&0==b[a][c]){for(c--;0!=b[a][c]&&0<=c;)c--;return c}return-1};d.prototype.ap=function(b,a,c){b=this.sa.Ia(b,a,c);return k.Ks.P().pAa(b)};d.prototype.Gv=function(b,a,c,e){return this.sa.Gv(b,a,c,e)};d.prototype.$v=
|
|
1035
1035
|
function(b){this.qj&&(this.ha.ga.Bc||this.fxa(b))};d.prototype.fxa=function(b){var a=this.slice.rows.Db(b.uniqueName)?k.i.fa.Ea:k.i.fa.Oa;b=a==k.i.fa.Ea?this.slice.vb.indexOf(b.uniqueName):this.slice.Bb.indexOf(b.uniqueName);if(b+1!=(a==k.i.fa.Ea?this.slice.vb.length:this.slice.Bb.length)){var c=[],e=(a==k.i.fa.Ea?this.slice.vb:this.slice.Bb).slice(0,b+1);this.QL([],e,c);e=a==this.slice.rt.uniqueName?this.slice.rt.Ke:-1;for(var g=this.slice.bd(),l=0;l<c.length;l++)if(0<=e&&e<=b&&1<g.length)for(var m=
|
|
1036
|
-
0;m<g.length;m++){var n=g[m];c[l].length>e?this.expand(c[l],a,n,!1):this.expand(c[l],a,void 0,!1)}else this.expand(c[l],a,void 0,!1);this.ha.Da(new k.oX(k.i.Td.iE));this.ha.Xa(f.model.fc.gd.pm)}};d.prototype.QL=function(b,a,c,e){e=void 0===e?!0:e;if(0!=a.length){var g=a.ea(0);var l=g.filter.
|
|
1036
|
+
0;m<g.length;m++){var n=g[m];c[l].length>e?this.expand(c[l],a,n,!1):this.expand(c[l],a,void 0,!1)}else this.expand(c[l],a,void 0,!1);this.ha.Da(new k.oX(k.i.Td.iE));this.ha.Xa(f.model.fc.gd.pm)}};d.prototype.QL=function(b,a,c,e){e=void 0===e?!0:e;if(0!=a.length){var g=a.ea(0);var l=g.filter.ei?g.$a.length:g.yi;for(var m=0;m<l;m++){var n=g.filter.ei?g.ua(g.$a[m]):g.ua(m);if(!n.Xb){var p=b.slice(0);p.push(n.ordinal);(e||!e&&1==a.length)&&c.push(p.slice(0));this.QL(p.slice(0),a.slice(1),c,e)}}}};d.prototype.Pv=
|
|
1037
1037
|
function(b){this.qj&&(this.ha.ga.Bc||this.hua(b))};d.prototype.hua=function(b){var a=this.slice.rows.Db(b.uniqueName)?k.i.fa.Ea:k.i.fa.Oa;b=a==k.i.fa.Ea?this.slice.vb.indexOf(b.uniqueName):this.slice.Bb.indexOf(b.uniqueName);if(b+1!=(a==k.i.fa.Ea?this.slice.vb.length:this.slice.Bb.length)){var c=[],e=(a==k.i.fa.Ea?this.slice.vb:this.slice.Bb).slice(0,b+1);this.QL([],e,c,!1);e=a==this.slice.rt.uniqueName?this.slice.rt.Ke:-1;for(var g=this.slice.bd(),l=0;l<c.length;l++)if(0<=e&&e<=b&&1<g.length)for(var m=
|
|
1038
1038
|
0;m<g.length;m++){var n=g[m];c[l].length>e?this.collapse(c[l],a,n,!1):this.collapse(c[l],a,void 0,!1)}else this.collapse(c[l],a,void 0,!1);this.ha.Da(new k.oX(k.i.Td.R5));this.ha.Xa(f.model.fc.gd.pm)}};d.prototype.expandAll=function(){this.qj&&(this.ha.ga.Bc?this.ha.select():(this.reset(),this.slice.expandAll?this.sa.expandAll(this.slice.drillAll):this.ha.select()))};d.prototype.sort=function(){this.te=!1;this.TU();this.ha.Xa(f.model.fc.gd.pm)};d.prototype.expand=function(b,a,c,e){e=void 0===e?!0:
|
|
1039
1039
|
e;a==k.i.fa.Ea&&(this.L9=b);a==k.i.fa.Oa&&(this.K9=b);var g=this.slice.Wc(a),l=b.slice(0);l.unshift(c&&g.Sa?c.index:-1);if(this.slice.expandAll)if(a==k.i.fa.Ea){g=this.sG();l=l.toString().toLocaleLowerCase();for(var m=-1,n=0;n<g.length;n++)if(l===g[n].toString().toLocaleLowerCase()){m=n;break}0<=m&&g.splice(m,1);this.n4(g)}else{g=this.fC();l=l.toString().toLocaleLowerCase();m=-1;for(n=0;n<g.length;n++)if(l===g[n].toString().toLocaleLowerCase()){m=n;break}0<=m&&g.splice(m,1);this.fha(g)}else a==k.i.fa.Ea?
|
|
@@ -1049,32 +1049,32 @@ set:function(){}},wM:{configurable:!0,enumerable:!0,get:function(){return this.a
|
|
|
1049
1049
|
0},set:function(){}},Wn:{configurable:!0,enumerable:!0,get:function(){return 1<this.ib.length||this.Jb.Sa&&f.model.B.C.nN},set:function(){}},vl:{configurable:!0,enumerable:!0,set:function(b){this.Kb&&(this.Kb.bg=b)},get:function(){var b=k.i.ya.$c;this.Kb&&(b=this.Kb.bg,b==k.i.ya.$c&&this.Kb.ts&&this.Kb.Oq!=k.i.ya.$c&&(b=this.Kb.Oq));return b}},Jk:{configurable:!0,enumerable:!0,set:function(b){this.Kb&&(this.Kb.Ym=b)},get:function(){if(this.Kb){var b=this.Kb.Ym;this.Kb.bg==k.i.ya.$c&&this.Kb.ts&&this.Kb.Oq!=
|
|
1050
1050
|
k.i.ya.$c&&(b=[])}return b}},ks:{configurable:!0,enumerable:!0,set:function(b){this.Kb&&(this.Kb.Hf=b)},get:function(){if(this.Kb){var b=this.Kb.Hf;this.Kb.bg==k.i.ya.$c&&this.Kb.ts&&this.Kb.Oq!=k.i.ya.$c&&(b=this.Kb.ts)}return b}},iT:{configurable:!0,enumerable:!0,get:function(){if(this.vl==k.i.ya.$c||null==this.Jk)return!1;if(1>this.Jk.length)return!0;var b=!1;try{b=this.xh(this.Jk.slice(0,this.Jk.length-1),this.ks)}catch(a){}return b},set:function(){}},xi:{configurable:!0,enumerable:!0,set:function(b){this.Jb&&
|
|
1051
1051
|
(this.Jb.bg=b)},get:function(){var b=k.i.ya.$c;this.Jb&&(b=this.Jb.bg,b==k.i.ya.$c&&this.Jb.ts&&this.Jb.Oq!=k.i.ya.$c&&(b=this.Jb.Oq));return b}},Bn:{configurable:!0,enumerable:!0,set:function(b){this.Jb&&(this.Jb.Ym=b)},get:function(){if(this.Jb){var b=this.Jb.Ym;this.Jb.bg==k.i.ya.$c&&this.Jb.ts&&this.Jb.Oq!=k.i.ya.$c&&(b=[])}return b}},Qv:{configurable:!0,enumerable:!0,set:function(b){this.Jb&&(this.Jb.Hf=b)},get:function(){if(this.Jb){var b=this.Jb.Hf;this.Jb.bg==k.i.ya.$c&&this.Jb.ts&&this.Jb.Oq!=
|
|
1052
|
-
k.i.ya.$c&&(b=this.Jb.ts)}return b}},YL:{configurable:!0,enumerable:!0,get:function(){if(this.xi==k.i.ya.$c||null==this.Bn)return!1;if(1>this.Bn.length)return!0;var b=!1;try{b=this.uj(this.Bn.slice(0,this.Bn.length-1),this.Qv)}catch(a){}return b},set:function(){}}
|
|
1052
|
+
k.i.ya.$c&&(b=this.Jb.ts)}return b}},YL:{configurable:!0,enumerable:!0,get:function(){if(this.xi==k.i.ya.$c||null==this.Bn)return!1;if(1>this.Bn.length)return!0;var b=!1;try{b=this.uj(this.Bn.slice(0,this.Bn.length-1),this.Qv)}catch(a){}return b},set:function(){}},ai:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},x4:{configurable:!0,enumerable:!0,get:function(){return"on"===f.model.B.C.Gf||"columns"===f.model.B.C.Gf||0===this.rows.length}},D4:{configurable:!0,enumerable:!0,
|
|
1053
1053
|
get:function(){return"on"===f.model.B.C.Gf||"rows"===f.model.B.C.Gf||0===this.columns.length}},Ut:{configurable:!0,enumerable:!0,get:function(){return!1}},nb:{configurable:!0,enumerable:!0,get:function(){return 0==this.Uc.length&&0==this.Gb.length},set:function(){}},Hd:{configurable:!0,enumerable:!0,get:function(){return 0<this.Uc.length?this.Uc[0].length:0},set:function(){}},Gd:{configurable:!0,enumerable:!0,get:function(){return 0<this.Gb.length?this.Gb[0].length:0},set:function(){}},wq:{configurable:!0,
|
|
1054
1054
|
enumerable:!0,get:function(){return 0<this.Nf.length?this.Nf[0].length:0},set:function(){}},vq:{configurable:!0,enumerable:!0,get:function(){return this.kl?(this.mc&&this.mc.Sa?this.ib.length:1)*(0<this.Gb.length?this.Gb[0].length:0):this.ig&&0<this.ig.length?this.ig[0].length:0},set:function(){}},XT:{configurable:!0,enumerable:!0,get:function(){return this.L9}},WT:{configurable:!0,enumerable:!0,get:function(){return this.K9}}});d.counter=0;h.sJ=d})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1055
|
-
(function(f){(function(k){(function(h){function d(){}d.fia=function(b){var a=b.U("gridType");return b.U("viewType")===f.K.
|
|
1056
|
-
d.G};d.dispose=function(){h.NW.dispose();h.kI.dispose();h.sJ.dispose();h.r8.dispose();d.G=null};r.Object.defineProperties(d,{Xaa:{configurable:!0,enumerable:!0,get:function(){if(d.G)return d.G instanceof h.NW?"flat":d.G instanceof h.kI?"chart":"pivot"}}});d.G=null;h.
|
|
1055
|
+
(function(f){(function(k){(function(h){function d(){}d.fia=function(b){var a=b.U("gridType");return b.U("viewType")===f.K.Bd.Oi?"chart":a===f.K.X.je.lh?"flat":"pivot"};d.wc=function(b,a){b=void 0===b?"":b;a=void 0===a?!0:a;""==b&&(b=f.model.B.C.ie==f.K.Bd.Oi?"chart":f.model.B.C.qc?"flat":"pivot");b="flat"==b?h.NW.P():"chart"==b?h.kI.P():h.sJ.P();b.TQ();d.G!=b?(d.G&&d.G.iz(),b.load()):a&&f.model.B.C.xu&&(b.load(),f.model.B.C.xu=!1);d.G=b;return d.G};d.p0=function(b){d.wc("chart");return b?h.r8.P(d.G):
|
|
1056
|
+
d.G};d.dispose=function(){h.NW.dispose();h.kI.dispose();h.sJ.dispose();h.r8.dispose();d.G=null};r.Object.defineProperties(d,{Xaa:{configurable:!0,enumerable:!0,get:function(){if(d.G)return d.G instanceof h.NW?"flat":d.G instanceof h.kI?"chart":"pivot"}}});d.G=null;h.ni=d;(function(b){b.CNa="pivot";b.lh="flat";b.yLa="chart"})(h.Lka||(h.Lka={}))})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1057
1057
|
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.ib=[];b.QE=!1;b.gz=function(){return b.ZC()};b.eu=[];b.xk=[];b.va=k.La.P();return b}u(d,z.Gc);d.P=function(){null==d.instance&&(d.instance=new d);return d.instance};d.prototype.TQ=function(){this.va.N(k.eg.pk,this.gz,1)};d.prototype.iz=function(){this.va.mb(k.eg.pk,this.gz)};d.prototype.load=function(){if(null==this.sa&&(this.sa=this.va.sa,null==this.sa))return;this.slice&&(this.va.ga.Bc||(this.sa.expand([],k.i.fa.Ea,
|
|
1058
1058
|
void 0),this.sa.expand([],k.i.fa.Oa,void 0)),this.TU(),this.QE=!0)};d.prototype.ZC=function(){this.reset();this.load()};d.prototype.TU=function(){var b,a=this.slice?this.slice.flatten(!0,!0):new f.ob;this.xk.length=0;this.EK=new f.ob;this.tc=this.va.I.tc();this.ib=[];for(b=0;b<a.length;b++){var c=a.ea(b);var e=a.ea(b)instanceof k.I.qf?this.va.I.He(c.uniqueName):a.ea(b);void 0===e&&(e=this.va.I.xt.getItem(c.uniqueName));e&&this.ib.push(e);e=this.sa.Qg.indexOf(c.uniqueName);if(c.Wf)for(var g=1;g<c.ta.length;g++)this.xk.push([e,
|
|
1059
|
-
g]),this.EK.Qa(c.uniqueName,this.xk.length-1);else this.xk.push(e),this.EK.Qa(c.uniqueName,this.xk.length-1);this
|
|
1059
|
+
g]),this.EK.Qa(c.uniqueName,this.xk.length-1);else this.xk.push(e),this.EK.Qa(c.uniqueName,this.xk.length-1);this.ai=this.slice.flatSort}this.sort()};d.prototype.CS=function(b){if(f.v(this.ai))return null;for(var a=0;a<this.ai.length;a++){var c=this.ai[a];if(c.measure.uniqueName==b)return c}};d.prototype.reset=function(){this.QE=!1;this.ib=[];this.eu.length=0;this.xk.length=0;this.EK=new f.ob;this.tc=null};d.prototype.B1=function(){return null};d.prototype.QS=function(){return 0};d.prototype.VS=function(){return 0};
|
|
1060
1060
|
d.prototype.bw=function(){return 0};d.prototype.vL=function(){return 1};d.prototype.SS=function(){return 0};d.prototype.RS=function(b){return this.tG(b)};d.prototype.AS=function(){return 0};d.prototype.tG=function(b){f.v(this.tc)&&(this.tc=this.va.I.tc());return this.tc.getItem(this.sa.Qg[b[0]])};d.prototype.xh=function(){return!1};d.prototype.uj=function(){return!1};d.prototype.eh=function(){return!1};d.prototype.ej=function(){return!1};d.prototype.gC=function(b){for(var a=0;a<this.xk.length;a++)if(this.xk[a]instanceof
|
|
1061
1061
|
Array){if(this.xk[a][0].toString()==b.toString())return a}else if(this.xk[a].toString()==b.toString())return a;return-1};d.prototype.qC=function(b){if(0<this.eu.length&&b[0]<this.eu.length)for(var a=0;a<this.eu.length;a++){if(this.eu[a].toString()==b.toString())return a}else return b[0];return-1};d.prototype.Om=function(b){return 0>b?null:0<this.eu.length&&b<this.eu.length?[this.eu[b]]:[b]};d.prototype.rj=function(b,a,c){return 0>b?null:0<this.xk.length&&b<this.xk.length?(void 0===c||!c)&&this.xk[b]instanceof
|
|
1062
|
-
Array?[this.xk[b][0]]:[this.xk[b]]:[b]};d.prototype.q0=function(b){var a=void 0===a?!1:a;b=this.EK.getItem(b);return this.rj(b,a)};d.prototype.US=function(){return 0};d.prototype.BS=function(){return 0};d.prototype.
|
|
1063
|
-
k.local.PO||this.sa instanceof k.external.kc.u5)return this.sa.JS(b[0],a[0],c,c.type!=k.i.Ka.uc,e)};d.prototype.Mr=function(b,a){return(null!=b||null!=a)&&this.sa instanceof k.local.PO?this.sa.Mr(b[0]):null};d.prototype.sort=function(){this.NY();this.va.Xa(f.model.fc.gd.pm)};d.prototype.NY=function(){var b=this;if(this.YL){for(var a=[],c=null,e=null,g=0;g<this
|
|
1064
|
-
c=void 0!==l.hierarchy?l.hierarchy.Y0:!1;if(-1!=this.EK.indexOf(e)){l.If=this.q0(e);if(l.measure.type==k.i.Ka.uc||c)l.OR=this.eza(l.hierarchy);a.push(l)}}this
|
|
1065
|
-
!a){a={};for(var c=b.zj(b.vd,!1,k.i.ya.ec),e=0;e<c.length;e++){var g=b.ua(c[e]);a[g.uniqueName]=e}return a}return null};d.prototype.fAa=function(b,a,c,e,g){if(null!=e&&e.type==k.i.Hc.Pa&&2<e.ta.length)return g=this.Ia([b],a,c,e.ta.length-1),e.ua(g).cc;b=this.Ia([b],a,c);if(c.type!=k.i.Ka.uc)return isNaN(b)?Number.NEGATIVE_INFINITY:b;e=e.ua(b);return g?e.uniqueName:e.caption};d.prototype.KJa=function(b,a){for(var c=0,e=0;e<this
|
|
1062
|
+
Array?[this.xk[b][0]]:[this.xk[b]]:[b]};d.prototype.q0=function(b){var a=void 0===a?!1:a;b=this.EK.getItem(b);return this.rj(b,a)};d.prototype.US=function(){return 0};d.prototype.BS=function(){return 0};d.prototype.di=function(b,a){b=this.rj(a);var c=this.sa.Qg[b[0]];return this.ib.find(function(e){return e.uniqueName===c})};d.prototype.tC=function(b,a,c){return null==b?this.sa.Rca(null,c):this.sa.Rca(b[0],c)};d.prototype.Ia=function(b,a,c,e){if(null==a&&null==b)return this.sa.Ia([],[],c,!0);if(this.sa instanceof
|
|
1063
|
+
k.local.PO||this.sa instanceof k.external.kc.u5)return this.sa.JS(b[0],a[0],c,c.type!=k.i.Ka.uc,e)};d.prototype.Mr=function(b,a){return(null!=b||null!=a)&&this.sa instanceof k.local.PO?this.sa.Mr(b[0]):null};d.prototype.sort=function(){this.NY();this.va.Xa(f.model.fc.gd.pm)};d.prototype.NY=function(){var b=this;if(this.YL){for(var a=[],c=null,e=null,g=0;g<this.ai.length;g++){var l=this.ai[g];l.hierarchy=this.va.I.Zj(l.measure.uniqueName);e=void 0!==l.hierarchy?l.hierarchy.uniqueName:l.measure.uniqueName;
|
|
1064
|
+
c=void 0!==l.hierarchy?l.hierarchy.Y0:!1;if(-1!=this.EK.indexOf(e)){l.If=this.q0(e);if(l.measure.type==k.i.Ka.uc||c)l.OR=this.eza(l.hierarchy);a.push(l)}}this.ai=a;a=[];for(c=0;c<this.vq;c++){e=[];for(g=0;g<this.ai.length;g++)l=this.ai[g],e[g]=this.fAa(c,l.If,l.measure,l.hierarchy,!f.v(l.OR));a[c]=[e,c]}a.sort(function(m,n){return b.KJa(m[0],n[0])});this.eu=a.map(function(m){return m[1]})}else this.eu.length=0};d.prototype.eza=function(b){var a=!1;b.type==k.i.Hc.Pa&&2<b.ta.length&&(a=!0);if(b.Y0||
|
|
1065
|
+
!a){a={};for(var c=b.zj(b.vd,!1,k.i.ya.ec),e=0;e<c.length;e++){var g=b.ua(c[e]);a[g.uniqueName]=e}return a}return null};d.prototype.fAa=function(b,a,c,e,g){if(null!=e&&e.type==k.i.Hc.Pa&&2<e.ta.length)return g=this.Ia([b],a,c,e.ta.length-1),e.ua(g).cc;b=this.Ia([b],a,c);if(c.type!=k.i.Ka.uc)return isNaN(b)?Number.NEGATIVE_INFINITY:b;e=e.ua(b);return g?e.uniqueName:e.caption};d.prototype.KJa=function(b,a){for(var c=0,e=0;e<this.ai.length;e++){var g=this.ai[e];if(b[e]!=a[e]){c=f.v(g.OR)?"number"==typeof b[e]&&
|
|
1066
1066
|
"number"==typeof a[e]?b[e]-a[e]:f.Ha.localeCompare(b[e],a[e]):g.OR[b[e]]-g.OR[a[e]];g.sort==k.i.ya.Fc&&(c*=-1);break}}return c};d.prototype.Gv=function(b,a,c,e){return this.sa.pta(b,c,e)};d.prototype.ap=function(){return null};d.prototype.$v=function(){};d.prototype.Pv=function(){};d.prototype.expandAll=function(){};d.prototype.expand=function(){};d.prototype.collapse=function(){};d.prototype.Vo=function(){};d.prototype.pe=function(){};d.prototype.drillThrough=function(){return[]};d.prototype.save=
|
|
1067
1067
|
function(b,a,c,e){return this.sa.tIa(b,a,c,e)};d.dispose=function(){d.instance&&(d.instance.Od(),d.instance.iz());d.instance=null};d.prototype.M1=function(){return!1};d.prototype.yV=function(){};d.prototype.u1=function(){return!1};d.prototype.o4=function(){};r.Object.defineProperties(d.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return null!=this.FJ?this.FJ:this.va.sa},set:function(b){this.FJ=b}},slice:{configurable:!0,enumerable:!0,get:function(){return null!=this.Lb?this.Lb:this.va.qa},
|
|
1068
1068
|
set:function(b){this.Lb=b}},measures:{configurable:!0,enumerable:!0,get:function(){return this.ib},set:function(){}},Wn:{configurable:!0,enumerable:!0,get:function(){return 1<this.ib.length},set:function(){}},qj:{configurable:!0,enumerable:!0,get:function(){return this.slice&&this.QE},set:function(){}},Ke:{configurable:!0,enumerable:!0,get:function(){return 0},set:function(){}},g4:{configurable:!0,enumerable:!0,get:function(){return 0},set:function(){}},rq:{configurable:!0,enumerable:!0,get:function(){return 0},
|
|
1069
1069
|
set:function(){}},wM:{configurable:!0,enumerable:!0,get:function(){return 0},set:function(){}},rows:{configurable:!0,enumerable:!0,get:function(){return new f.ob},set:function(){}},vb:{configurable:!0,enumerable:!0,get:function(){return new f.ob},set:function(){}},Wm:{configurable:!0,enumerable:!0,get:function(){return[]},set:function(){}},vR:{configurable:!0,enumerable:!0,get:function(){return[]},set:function(){}},columns:{configurable:!0,enumerable:!0,get:function(){return new f.ob},set:function(){}},
|
|
1070
1070
|
Bb:{configurable:!0,enumerable:!0,get:function(){return new f.ob},set:function(){}},pages:{configurable:!0,enumerable:!0,get:function(){return new f.ob},set:function(){}},mc:{configurable:!0,enumerable:!0,get:function(){return new k.I.Tq(k.i.fa.Ea)},set:function(){}},Tb:{configurable:!0,enumerable:!0,get:function(){return new k.I.Tq(k.i.fa.Oa)},set:function(){}},Vm:{configurable:!0,enumerable:!0,get:function(){return 1},set:function(){}},Gm:{configurable:!0,enumerable:!0,get:function(){return 0},
|
|
1071
1071
|
set:function(){}},vl:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},Jk:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},ks:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},iT:{configurable:!0,enumerable:!0,get:function(){return!1},set:function(){}},xi:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},Bn:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},Qv:{configurable:!0,
|
|
1072
|
-
enumerable:!0,set:function(){},get:function(){return null}},YL:{configurable:!0,enumerable:!0,get:function(){return!f.v(this
|
|
1072
|
+
enumerable:!0,set:function(){},get:function(){return null}},YL:{configurable:!0,enumerable:!0,get:function(){return!f.v(this.ai)&&0<this.ai.length},set:function(){}},ai:{configurable:!0,enumerable:!0,set:function(b){this.slice.flatSort=b},get:function(){return this.slice.flatSort}},nb:{configurable:!0,enumerable:!0,get:function(){return 0==this.xk.length},set:function(){}},Hd:{configurable:!0,enumerable:!0,get:function(){return this.xk.length},set:function(){}},Gd:{configurable:!0,enumerable:!0,get:function(){return this.sa?
|
|
1073
1073
|
this.sa.result[0]:0},set:function(){}},wq:{configurable:!0,enumerable:!0,get:function(){return this.xk.length},set:function(){}},vq:{configurable:!0,enumerable:!0,get:function(){return this.sa.FG()},set:function(){}},XT:{configurable:!0,enumerable:!0,get:function(){return null}},WT:{configurable:!0,enumerable:!0,get:function(){return null}},kl:{configurable:!0,enumerable:!0,get:function(){return!1},set:function(){}}});h.NW=d})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1074
1074
|
(function(f){(function(k){(function(h){function d(){return h.sJ.call(this)||this}u(d,h.sJ);d.P=function(){null==d.ne&&(d.ne=new d,d.ne.dB="chart"+h.sJ.counter);return d.ne};d.dispose=function(){d.ne&&(d.ne.iz(),d.ne.Od());d.ne=null};r.Object.defineProperties(d.prototype,{kl:{configurable:!0,enumerable:!0,get:function(){return!1},set:function(){}},Ut:{configurable:!0,enumerable:!0,get:function(){return!0}}});h.kI=d})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1075
1075
|
(function(f){(function(k){(function(h){function d(b){var a=z.Gc.call(this)||this;a.G=b;return a}u(d,z.Gc);d.P=function(b){null==d.instance&&(d.instance=new d(b));return d.instance};d.dispose=function(){d.instance&&(d.instance.Od(),d.instance.iz());d.instance=null};d.prototype.TQ=function(){this.G.TQ()};d.prototype.iz=function(){this.G.iz()};d.prototype.load=function(){this.G.load()};d.prototype.CS=function(){return null};d.prototype.reset=function(){};d.prototype.B1=function(){return null};d.prototype.QS=
|
|
1076
1076
|
function(b){return this.G.vL(b)};d.prototype.VS=function(b){return this.G.bw(b)};d.prototype.vL=function(b){return this.G.QS(b)};d.prototype.bw=function(b){return this.G.VS(b)};d.prototype.SS=function(b){return this.G.SS(b)};d.prototype.RS=function(b){return this.G.RS(b)};d.prototype.AS=function(b){return this.G.AS(b)};d.prototype.tG=function(b){return this.G.tG(b)};d.prototype.xh=function(b,a){return this.G.uj(b,a)};d.prototype.uj=function(b,a){return this.G.xh(b,a)};d.prototype.eh=function(b,a,
|
|
1077
|
-
c){return this.G.ej(b,a,c)};d.prototype.ej=function(b,a,c){return this.G.eh(b,a,c)};d.prototype.gC=function(b){return this.G.qC(b)};d.prototype.qC=function(b){return this.G.gC(b)};d.prototype.Om=function(b,a){return this.G.rj(b,void 0===a?!1:a)};d.prototype.rj=function(b,a){return this.G.Om(b,void 0===a?!1:a)};d.prototype.US=function(b){return this.G.BS(b)};d.prototype.BS=function(b){return this.G.US(b)};d.prototype.
|
|
1077
|
+
c){return this.G.ej(b,a,c)};d.prototype.ej=function(b,a,c){return this.G.eh(b,a,c)};d.prototype.gC=function(b){return this.G.qC(b)};d.prototype.qC=function(b){return this.G.gC(b)};d.prototype.Om=function(b,a){return this.G.rj(b,void 0===a?!1:a)};d.prototype.rj=function(b,a){return this.G.Om(b,void 0===a?!1:a)};d.prototype.US=function(b){return this.G.BS(b)};d.prototype.BS=function(b){return this.G.US(b)};d.prototype.di=function(b,a){return this.G.di(b,a)};d.prototype.tC=function(b,a,c){return this.G.tC(b,
|
|
1078
1078
|
a,c)};d.prototype.Mr=function(){return null};d.prototype.Ia=function(b,a,c){return this.G.Ia(a,b,c)};d.prototype.sort=function(){return this.G.sort()};d.prototype.Gv=function(b,a,c,e){return this.G.Gv(b,a,c,e)};d.prototype.ap=function(b,a,c){return this.G.ap(b,a,c)};d.prototype.$v=function(b){this.G.$v(b)};d.prototype.Pv=function(b){this.G.Pv(b)};d.prototype.expandAll=function(){};d.prototype.expand=function(b,a,c,e){a=a==k.i.fa.Oa?k.i.fa.Ea:k.i.fa.Oa;this.G.expand(b,a,c,void 0===e?!0:e)};d.prototype.collapse=
|
|
1079
1079
|
function(b,a,c,e){a=a==k.i.fa.Oa?k.i.fa.Ea:k.i.fa.Oa;this.G.collapse(b,a,c,void 0===e?!0:e)};d.prototype.Vo=function(b,a,c,e){c=c==k.i.fa.Oa?k.i.fa.Ea:k.i.fa.Oa;this.G.Vo(b,a,c,e)};d.prototype.pe=function(b,a,c,e){c=c==k.i.fa.Oa?k.i.fa.Ea:k.i.fa.Oa;this.G.pe(b,a,c,e)};d.prototype.drillThrough=function(b,a,c){return this.G.drillThrough(b,a,c)};d.prototype.save=function(b,a,c,e,g){return this.G.save(b,a,c,e,g)};d.prototype.q0=function(){return null};d.prototype.M1=function(){return!1};d.prototype.yV=
|
|
1080
1080
|
function(){};d.prototype.u1=function(){return!1};d.prototype.o4=function(){};r.Object.defineProperties(d.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return this.G.sa},set:function(b){this.G.sa=b}},slice:{configurable:!0,enumerable:!0,get:function(){return this.G.slice},set:function(b){this.G.slice=b}},measures:{configurable:!0,enumerable:!0,get:function(){return this.G.measures},set:function(){}},qj:{configurable:!0,enumerable:!0,get:function(){return this.G.qj},set:function(){}},
|
|
@@ -1082,9 +1082,9 @@ Ke:{configurable:!0,enumerable:!0,get:function(){return this.G.Ke},set:function(
|
|
|
1082
1082
|
set:function(){}},vb:{configurable:!0,enumerable:!0,get:function(){return this.G.Bb},set:function(){}},Wm:{configurable:!0,enumerable:!0,get:function(){return this.G.vR},set:function(){}},vR:{configurable:!0,enumerable:!0,get:function(){return this.G.Wm},set:function(){}},columns:{configurable:!0,enumerable:!0,get:function(){return this.G.rows},set:function(){}},Bb:{configurable:!0,enumerable:!0,get:function(){return this.G.vb},set:function(){}},pages:{configurable:!0,enumerable:!0,get:function(){return this.G.pages},
|
|
1083
1083
|
set:function(){}},mc:{configurable:!0,enumerable:!0,get:function(){return this.G.Tb},set:function(){}},Tb:{configurable:!0,enumerable:!0,get:function(){return this.G.mc},set:function(){}},Vm:{configurable:!0,enumerable:!0,get:function(){return this.G.Gm},set:function(){}},Gm:{configurable:!0,enumerable:!0,get:function(){return this.G.Vm},set:function(){}},vl:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.xi}},Jk:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.Bn}},
|
|
1084
1084
|
ks:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.Qv}},iT:{configurable:!0,enumerable:!0,get:function(){return this.G.YL},set:function(){}},xi:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.vl}},Bn:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.Jk}},Qv:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.G.ks}},YL:{configurable:!0,enumerable:!0,get:function(){return this.G.iT},set:function(){}},
|
|
1085
|
-
|
|
1085
|
+
ai:{configurable:!0,enumerable:!0,set:function(){},get:function(){return null}},nb:{configurable:!0,enumerable:!0,get:function(){return this.G.nb},set:function(){}},Hd:{configurable:!0,enumerable:!0,get:function(){return this.G.Gd},set:function(){}},Gd:{configurable:!0,enumerable:!0,get:function(){return this.G.Hd},set:function(){}},wq:{configurable:!0,enumerable:!0,get:function(){return this.G.vq},set:function(){}},vq:{configurable:!0,enumerable:!0,get:function(){return this.G.wq},set:function(){}},
|
|
1086
1086
|
XT:{configurable:!0,enumerable:!0,get:function(){return null}},WT:{configurable:!0,enumerable:!0,get:function(){return null}},kl:{configurable:!0,enumerable:!0,get:function(){return this.G.kl},set:function(){}}});h.r8=d})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){function d(){return h.kI.call(this)||this}u(d,h.kI);h.fla=d})(k.Ee||(k.Ee={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1087
|
-
(function(f){(function(k){(function(h){function d(b){void 0!==b.uniqueName&&(this.uniqueName=b.uniqueName);void 0!==b.caption&&(this.caption=b.caption);void 0!==b.
|
|
1087
|
+
(function(f){(function(k){(function(h){function d(b){void 0!==b.uniqueName&&(this.uniqueName=b.uniqueName);void 0!==b.caption&&(this.caption=b.caption);void 0!==b.ii&&(this.ii=b.ii);void 0!==b.parent&&(this.parent=b.parent);void 0!==b.cc&&(this.cc=b.cc);void 0!==b.level&&(this.level=b.level);void 0!==b.ordinal&&(this.ordinal=b.ordinal);void 0!==b.dh&&(this.dh=b.dh);void 0!==b.Xb&&(this.Xb=b.Xb);void 0!==b.Af&&(this.Af=b.Af);void 0!==b.value&&(this.value=b.value);void 0!==b.jf&&(this.jf=b.jf)}d.prototype.clone=
|
|
1088
1088
|
function(){return new d(this)};r.Object.defineProperties(d.prototype,{N1:{configurable:!0,enumerable:!0,get:function(){return void 0!==this.parent||void 0!==this.Xb||void 0!==this.jf||void 0!==this.Ug||void 0!==this.Af||void 0!==this.dh?!1:!0}}});h.Sd=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1089
1089
|
(function(f){(function(k){(function(h){function d(){}d.prototype.PA=function(b){if(this.Ij(b))return this.data[b]};d.prototype.ft=function(b,a){this.data||(this.data={});this.data[b]=a};d.prototype.Eqa=function(){this.data&&delete this.data._descendants_};d.prototype.Ij=function(b){return this.data&&this.data.hasOwnProperty(b)};d.prototype.tb=function(b){for(var a in b)null!=this[a]&&(this[a]=b[a])};h.rJ=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1090
1090
|
(function(f){(function(k){(function(h){function d(b,a){var c=h.rJ.call(this)||this;c.uniqueName=b;c.caption=a;return c}u(d,h.rJ);d.prototype.toString=function(){return'{uniqueName: "'+this.uniqueName+'", caption: "'+this.caption+'"'};d.prototype.Ma=function(){var b={};b.uniqueName=this.uniqueName;b.caption=this.caption;return b};r.Object.defineProperties(d.prototype,{uniqueName:{configurable:!0,enumerable:!0,set:function(b){this.ZJ=b},get:function(){return this.ZJ}},caption:{configurable:!0,enumerable:!0,
|
|
@@ -1092,8 +1092,8 @@ set:function(b){f.v(b)&&(b="");b=""+b;""===b.trim()?this.sc=f.model.A.j.Pk:this.
|
|
|
1092
1092
|
(function(f){(function(k){(function(h){function d(b,a,c){b=h.Lp.call(this,b,a)||this;b.S8=!1;b.YV=c;return b}u(d,h.Lp);r.Object.defineProperties(d.prototype,{YV:{configurable:!0,enumerable:!0,get:function(){return this.Dra},set:function(b){this.Dra=b}},active:{configurable:!0,enumerable:!0,get:function(){return this.S8},set:function(b){this.S8=b}}});h.hW=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1093
1093
|
(function(f){(function(k){(function(h){function d(b,a){b=h.Lp.call(this,b,void 0===a?"":a)||this;b.jg=k.i.Hc.Pu;b.AQ=0;b.Zs="";b.ZP="";b.ir="";b.SA=!0;b.rh=d.qI;b.NQ=null;b.Of=[];b.Uk=new x.vP(!f.model.B.C.Wx);b.jv=new x.vP(!f.model.B.C.Wx);b.kt=[];b.jq=[];b.VA=!1;b.Cx={};b.ym=new f.ob;b.pY=!1;b.fQ=!0;b.uQ=!1;b.vQ=!1;b.GQ=[];b.XP=[];b.Hx=[];b.RA={};b.FQ={};b.nj=null;b.cache=[];b.uk=[];b.VE=[];return b}u(d,h.Lp);d.prototype.sh=function(b){b.hierarchy=this;this.SA||b.sb++;this.ym.Qa(b.uniqueName,b);
|
|
1094
1094
|
this.Cx[b.uniqueName]=[]};d.prototype.esa=function(b){b.hierarchy=this;this.SA||b.sb++;this.ym.hK(b.uniqueName,b,1);for(var a=2;a<this.ym.length;a++){var c=this.ym.ea(a);c&&c.sb++}this.Cx[b.uniqueName]=[]};d.prototype.Rt=function(b){return this.ym.getItem(b)};d.prototype.sy=function(b){null!=b&&(b.Ug=!0,this.Cx[b.level.uniqueName].push(b.ordinal))};d.prototype.J_=function(b){b.Ug=!1;this.Cx[b.level.uniqueName].splice(b.ordinal,1);b=b.my;for(var a=0;a<b.length;a++){var c=this.ua(b[a]);c.Ug&&this.J_(c)}};
|
|
1095
|
-
d.prototype.WB=function(b){return this.Cx[b.uniqueName]};d.prototype.psa=function(b){var a=void 0===b.ordinal?this.Uk.add(b.uniqueName):this.Uk.add(b.uniqueName,b.ordinal);if(f.v(b.parent))if(f.v(b.
|
|
1096
|
-
d.prototype.jc=function(b){if(b.N1){var a=this.psa(b);return this.ua(a)}var c=this.nC();void 0!==b.parent&&(c.parent=b.parent);void 0===b.Xb&&void 0===c.parent&&(c.parent=f.ia(b.
|
|
1095
|
+
d.prototype.WB=function(b){return this.Cx[b.uniqueName]};d.prototype.psa=function(b){var a=void 0===b.ordinal?this.Uk.add(b.uniqueName):this.Uk.add(b.uniqueName,b.ordinal);if(f.v(b.parent))if(f.v(b.ii))var c=this.vd;else c=this.Ab(b.ii),null!==c?this.jq[a]=c.ordinal:c=this.vd;else c=b.parent,this.jq[a]=c.ordinal;void 0!==b.cc&&(this.kt[a]=b.cc);void 0!==b.caption&&b.caption!==b.uniqueName&&this.jv.add(b.caption,a);c.V(a);this.lV(c);this.cache=[];this.uk=[];return a};d.prototype.nC=function(){return new h.Xq(this)};
|
|
1096
|
+
d.prototype.jc=function(b){if(b.N1){var a=this.psa(b);return this.ua(a)}var c=this.nC();void 0!==b.parent&&(c.parent=b.parent);void 0===b.Xb&&void 0===c.parent&&(c.parent=f.ia(b.ii)?this.vd:this.Ab(b.ii));c.parent&&(f.v(c.level)||c.level.sb<=c.parent.level.sb)&&(a=c.parent.level.sb+1,a=new h.Mp(c.parent.level.uniqueName+" "+a,this.caption+" "+a,a),this.sh(a),this.lu=!0);void 0!==b.ordinal?(this.Uk.add(b.uniqueName,b.ordinal),c.ordinal=b.ordinal):(a=this.Uk.add(b.uniqueName),c.ordinal=a);void 0!==
|
|
1097
1097
|
b.cc&&(this.kt[c.ordinal]=b.cc,c.cc=b.cc);this.Of[c.ordinal]=c;void 0!==b.caption&&this.jv.add(b.caption,c.ordinal);null!=c.parent&&(c.parent.V(c),this.jq[c.ordinal]=c.parent.ordinal,this.lV(c.parent));f.v(b.dh)||(c.dh=b.dh);this.cache=[];this.uk=[];return c};d.prototype.lV=function(b){this.Of[b.ordinal]=b};d.prototype.Rga=function(b){null!=b&&void 0!==b.ordinal&&(void 0!==b.cc&&(this.kt[b.ordinal]=b.cc),void 0!==b.caption&&this.jv.add(b.caption,b.ordinal),void 0!==b.uniqueName&&this.Uk.add(b.uniqueName,
|
|
1098
1098
|
b.ordinal))};d.prototype.mS=function(b){b=this.jv.find(b);return-1===b?null:this.ua(b)};d.prototype.Ab=function(b){b=this.Yt(""+b);return-1<b?this.ua(b):null};d.prototype.Yt=function(b){var a=this.Uk.find(b);-1===a&&this.Wf&&(a=this.Uk.find("["+b+"]"));return a};d.prototype.ua=function(b){if(void 0===this.Of[b]){var a=this.nC();a.ordinal=b;a.cc=this.kt[b];a.parent=this.jq[b]?this.ua(this.jq[b]):this.vd;return a}return this.Of[b]};d.prototype.IL=function(b){return this.kt[b]};d.prototype.St=function(b){if(f.model.B.C.Gr&&
|
|
1099
1099
|
(null===b||"null"===b))return b=this.Yt("null"),0<=b?this.ua(b):null;"number"!==typeof b&&(b=parseFloat(b));if(isNaN(b))for(var a=1;a<this.kt.length;a++)if(isNaN(this.kt[a]))return this.ua(a);b=this.kt.indexOf(b);return 0<=b?this.ua(b):null};d.prototype.Lr=function(b){for(var a=[],c,e=0;e<b.length;e++)c=this.ua(b[e]),f.v(c)||f.ia(c.cj)||a.push(c.cj);return a};d.prototype.I0=function(b){return this.Uk.get(b)};d.prototype.mC=function(b){var a=this.jv.get(b);void 0===a&&(a=this.Uk.get(b));f.model.Nb.valid(a)||
|
|
@@ -1105,13 +1105,13 @@ this.cache[b.ordinal][k.i.ya.Fc]=a.reverse(),this.cache[b.ordinal][k.i.ya.Fc];if
|
|
|
1105
1105
|
(this.cache[b.ordinal]=[]),this.cache[b.ordinal][c]=g);this.rh=e;return g};d.prototype.Yqa=function(b){for(var a=[[]],c,e=0;e<b.length;e++)0!==b[e]&&(c=this.jq[b[e]],void 0===c?a[0].push(b[e]):(void 0===a[c]&&(a[c]=[]),a[c].push(b[e])));return a};d.prototype.xra=function(b,a){if(f.v(this.XJ)||void 0===this.XJ[b.ordinal]||b.children.length!=this.XJ[b.ordinal].length){var c=this.Uk.sort();this.XJ=this.Yqa(c)}b=this.XJ[b.ordinal];c=[];for(var e=0;e<b.length;e++){var g=this.ua(b[e]);c.push(g.ordinal);
|
|
1106
1106
|
a&&!g.Ei&&(g=this.zj(g),0<g.length&&(c=c.concat(g)))}return c};d.prototype.Hta=function(b){try{if("month"===b.level.caption.toLowerCase())return!0;if(12<b.children.length)return!1;for(var a=0;a<b.children.length;a++){var c=this.ua(b.children[a]).caption.split(" ")[0];if(-1===f.model.A.j.cr.indexOf(c)&&-1===f.model.A.j.px.indexOf(c))return!1}var e=b.hierarchy.ta.indexOf(b.level.uniqueName);if(b.hierarchy.ta.length<e+2)return!1;b.hierarchy.ta.ea(e+1).type=k.i.eb.Kg;return!0}catch(g){}return!1};d.prototype.GV=
|
|
1107
1107
|
function(b,a){var c=this,e=this.ta.ea(b.level.sb+1),g=e&&e.type===k.i.eb.Tk,l=e&&e.type===k.i.eb.SW,m=e&&e.type===k.i.eb.Ns,n=e&&e.type===k.i.eb.Kg,p=e&&e.type===k.i.eb.tJ,t=e&&(e.type===k.i.eb.km||e.type===k.i.eb.rm),q=e&&e.type===k.i.eb.FO,v=e&&e.type===k.i.eb.ZO,y=e&&e.type===k.i.eb.fb,A=e&&e.type===k.i.eb.Zb||e&&e.type===k.i.eb.Pa,C=e&&e.type===k.i.eb.Ec,E=this.G4===k.i.ya.eoa;if(!(m||n||p||A||t||q||v||y||C||0!==this.Qo.length||f.qg(this.Wy))){if(1E3<b.children.length)return this.xra(b,a);this.Hta(b)&&
|
|
1108
|
-
(n=!0)}var K=this.iia(b.children);f.qg(this.Wy)?K=this.Mha(K):m||n||p||t||q||v||C||l||g?K=this.MJa(K,e?e.type:-1):A?0<this.Qo.length?K.sort(function(J,aa){return c.Sva(J,aa)}):K=this.JJa(K):0<this.Qo.length?K.sort(function(J,aa){return c.Rva(J,aa)}):y?(this.rh===k.i.ya.ec&&f.Ha.sort(K,f.Ha.
|
|
1108
|
+
(n=!0)}var K=this.iia(b.children);f.qg(this.Wy)?K=this.Mha(K):m||n||p||t||q||v||C||l||g?K=this.MJa(K,e?e.type:-1):A?0<this.Qo.length?K.sort(function(J,aa){return c.Sva(J,aa)}):K=this.JJa(K):0<this.Qo.length?K.sort(function(J,aa){return c.Rva(J,aa)}):y?(this.rh===k.i.ya.ec&&f.Ha.sort(K,f.Ha.ri,function(J){return J.cc}),this.rh===k.i.ya.Fc&&f.Ha.sort(K,f.Ha.oo|f.Ha.ri,function(J){return J.cc})):E?K.sort(this.yDa):(this.rh===k.i.ya.ec&&f.Ha.sort(K,f.Ha.bx,function(J){return J.caption}),this.rh===k.i.ya.Fc&&
|
|
1109
1109
|
f.Ha.sort(K,f.Ha.oo|f.Ha.bx,function(J){return J.caption}));e=[];l=K.length;for(m=0;m<l;m++)e.push(K[m].ordinal),a&&!b.Ei&&(g=this.zj(K[m],a),0<g.length&&(e=e.concat(g)));return e};d.prototype.iia=function(b){for(var a=[],c=0;c<b.length;c++)a.push(this.ua(b[c]));return a};d.prototype.MJa=function(b,a){a===k.i.eb.Kg?b=this.LJa(b):a===k.i.eb.km||a===k.i.eb.rm?b=this.NJa(b):a===k.i.eb.Ns||a===k.i.eb.SW||a===k.i.eb.Tk?(this.ag===k.i.ya.ec&&f.Ha.sort(b,f.Ha.bx,function(c){return c.caption}),this.ag===
|
|
1110
|
-
k.i.ya.Fc&&f.Ha.sort(b,f.Ha.oo|f.Ha.bx,function(c){return c.caption})):(this.ag===k.i.ya.ec&&f.Ha.sort(b,f.Ha.
|
|
1111
|
-
m){return a.$va(l,m)});return e.concat(c)};d.prototype.NJa=function(b){for(var a=this,c=[],e=[],g=0;g<b.length;++g)this.Cqa(b[g].caption)?e.push(b[g]):c.push(b[g]);this.ag===k.i.ya.ec&&f.Ha.sort(c,f.Ha.bx|f.Ha.
|
|
1110
|
+
k.i.ya.Fc&&f.Ha.sort(b,f.Ha.oo|f.Ha.bx,function(c){return c.caption})):(this.ag===k.i.ya.ec&&f.Ha.sort(b,f.Ha.ri,function(c){return c.cc}),this.ag===k.i.ya.Fc&&f.Ha.sort(b,f.Ha.oo|f.Ha.ri,function(c){return c.cc}));return b};d.prototype.LJa=function(b){for(var a=this,c=[],e=[],g=0;g<b.length;++g)this.Bqa(b[g].caption)?e.push(b[g]):c.push(b[g]);this.ag===k.i.ya.ec&&f.Ha.sort(c,f.Ha.bx,function(l){return l.caption});this.ag===k.i.ya.Fc&&f.Ha.sort(c,f.Ha.oo|f.Ha.bx,function(l){return l.caption});e.sort(function(l,
|
|
1111
|
+
m){return a.$va(l,m)});return e.concat(c)};d.prototype.NJa=function(b){for(var a=this,c=[],e=[],g=0;g<b.length;++g)this.Cqa(b[g].caption)?e.push(b[g]):c.push(b[g]);this.ag===k.i.ya.ec&&f.Ha.sort(c,f.Ha.bx|f.Ha.ri,function(l){return l.caption});this.ag===k.i.ya.Fc&&f.Ha.sort(c,f.Ha.oo|f.Ha.bx|f.Ha.ri,function(l){return l.caption});e.sort(function(l,m){return a.NKa(l,m)});return e.concat(c)};d.prototype.Bqa=function(b){return-1!==f.model.A.j.cr.indexOf(b)||-1!==f.model.A.j.px.indexOf(b)};d.prototype.Cqa=
|
|
1112
1112
|
function(b){return-1!==f.model.A.j.CA.indexOf(b)||-1!==f.model.A.j.DA.indexOf(b)};d.prototype.$va=function(b,a){var c=this.ag===k.i.ya.ec?f.model.A.j.cr.indexOf(b.caption):f.model.A.j.cr.indexOf(a.caption);-1===c&&(c=this.ag==k.i.ya.ec?f.model.A.j.px.indexOf(b.caption):f.model.A.j.px.indexOf(a.caption));var e=this.ag===k.i.ya.ec?f.model.A.j.cr.indexOf(a.caption):f.model.A.j.cr.indexOf(b.caption);-1===e&&(e=this.ag===k.i.ya.ec?f.model.A.j.px.indexOf(a.caption):f.model.A.j.px.indexOf(b.caption));return c>
|
|
1113
1113
|
e?1:c<e?-1:0};d.prototype.NKa=function(b,a){var c=this.ag===k.i.ya.ec?f.model.A.j.CA.indexOf(b.caption):f.model.A.j.CA.indexOf(a.caption);-1===c&&(c=this.ag===k.i.ya.ec?f.model.A.j.DA.indexOf(b.caption):f.model.A.j.DA.indexOf(a.caption));var e=this.ag===k.i.ya.ec?f.model.A.j.CA.indexOf(a.caption):f.model.A.j.CA.indexOf(b.caption);-1===e&&(e=this.ag===k.i.ya.ec?f.model.A.j.DA.indexOf(a.caption):f.model.A.j.DA.indexOf(b.caption));return c>e?1:c<e?-1:0};d.prototype.JJa=function(b){this.rh===k.i.ya.ec&&
|
|
1114
|
-
f.Ha.sort(b,f.Ha.
|
|
1114
|
+
f.Ha.sort(b,f.Ha.ri,function(a){return a.cc});this.rh===k.i.ya.Fc&&f.Ha.sort(b,f.Ha.ri|f.Ha.oo,function(a){return a.cc});return b};d.prototype.MS=function(b){return f.model.B.C.Wx?this.Qo.indexOf(b):this.Qo.indexOf(b.toLocaleLowerCase())};d.prototype.Rva=function(b,a){var c=this.rh===k.i.ya.ec?this.MS(b.caption):this.MS(a.caption);b=this.rh===k.i.ya.ec?this.MS(a.caption):this.MS(b.caption);return c>b?1:c<b?-1:0};d.prototype.Sva=function(b,a){var c=this.rh===k.i.ya.ec?this.Qo.indexOf(b.cc.toString()):
|
|
1115
1115
|
this.Qo.indexOf(a.cc.toString());b=this.rh===k.i.ya.ec?this.Qo.indexOf(a.cc.toString()):this.Qo.indexOf(b.cc.toString());return c>b?1:c<b?-1:0};d.prototype.Mha=function(b){var a=this;if(f.qg(this.Wy)){var c=this.rh===k.i.ya.Fc?-1:1;b.sort(function(e,g){return a.Wy(e.caption,g.caption)*c})}return b};d.prototype.yDa=function(b,a){b=b.caption.match(/(?:\d*\.)?\d+/);a=a.caption.match(/(?:\d*\.)?\d+/);b=b&&0<b.length?parseFloat(b[0]):Number.POSITIVE_INFINITY;a=a&&0<a.length?parseFloat(a[0]):Number.POSITIVE_INFINITY;
|
|
1116
1116
|
return b>a?1:b<a?-1:0};d.prototype.pu=function(b){b=this.ym.getItem(b).sb;for(var a=[],c=this.sort(),e=0;e<c.length;e++){var g=this.ua(c[e]);g&&g.level.sb===b&&a.push(c[e])}return a};d.prototype.zt=function(){this.filter.clear();this.$a=[]};d.prototype.BB=function(){this.filter.BB();this.$a=[]};d.prototype.mxa=function(){for(var b=[],a=this.$a,c=0;c<a.length;c++){var e=this.ua(a[c]);1===e.level.sb&&b.push(e.ordinal)}return b};d.prototype.Nl=function(b){return void 0===b?"(Total)":b};d.prototype.Rv=
|
|
1117
1117
|
function(){this.O$(this.cga);this.filter.Rv()};d.prototype.raa=function(){if(0<this.Hx.length){for(var b=0;b<this.Hx.length;b++){var a=this.ua(parseInt(this.Hx[b]));null==a||a.Ug||this.sy(a)}this.Hx=[]}};d.prototype.O$=function(b){if(this.groups)for(var a in this.groups)this.GN(a);for(a in b)this.w$(a,b[a])};d.prototype.GN=function(b){var a=this.Ab(this.Nl("Others"));if((b="string"==typeof b?this.Ab(this.Nl(b)):b)&&a){var c,e=b.children;for(c=0;c<e.length;c++){var g=this.ua(e[c]);a.V(g);this.jq[g.ordinal]=
|
|
@@ -1147,7 +1147,7 @@ enumerable:!0,get:function(){return!this.Ij("_children_")||0==this.children.leng
|
|
|
1147
1147
|
this.Ij("_descendants_")||this.Ij("_caption_")||this.Ij("_isDrilledDown_")||this.Ij("_hasMissingChildren_")||this.Ij("_properties_")||this.Ij("_isGroup_"))return!1}}});h.Xq=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1148
1148
|
(function(f){(function(k){(function(h){function d(b,a){b=h.Lp.call(this,b,void 0===a?"":a)||this;b.nQ="";b.Zs="";b.$b="";b.jg=k.i.Ka.fb;b.pv="";b.LE="";b.Gj="";b.Fb=[];b.iQ="";b.pQ=!1;b.oQ=!1;b.bF="";b.A9=-1;b.sQ=!1;b.tQ=!1;b.MP=!0;b.tv=null;b.nj=null;b.tm=[];return b}u(d,h.Lp);d.B0=function(b,a){switch(b){case k.i.ca.Zp:return f.O.bind(f.model.A.j.lpa,a);case k.i.ca.uc:return f.O.bind(f.model.A.j.eka,a);case k.i.ca.Ms:return f.O.bind(f.model.A.j.Coa,a);case k.i.ca.Qi:return f.O.bind(f.model.A.j.Eka,
|
|
1149
1149
|
a);case k.i.ca.Kp:return f.O.bind(f.model.A.j.ija,a);case k.i.ca.Wu:return f.O.bind(f.model.A.j.ona,a);case k.i.ca.bv:return f.O.bind(f.model.A.j.hpa,a);case k.i.ca.cv:return f.O.bind(f.model.A.j.jpa,a);case k.i.ca.MAX:return f.O.bind(f.model.A.j.Uma,a);case k.i.ca.MIN:return f.O.bind(f.model.A.j.Sna,a);case k.i.ca.dr:return f.O.bind(f.model.A.j.uoa,a);case k.i.ca.uo:return f.O.bind(f.model.A.j.poa,a);case k.i.ca.Xp:return f.O.bind(f.model.A.j.Aoa,a);case k.i.ca.Vp:return f.O.bind(f.model.A.j.woa,
|
|
1150
|
-
a);case k.i.ca.Wp:return f.O.bind(f.model.A.j.yoa,a);case k.i.ca.
|
|
1150
|
+
a);case k.i.ca.Wp:return f.O.bind(f.model.A.j.yoa,a);case k.i.ca.pi:return f.O.bind(f.model.A.j.sma,a);case k.i.ca.qm:return f.O.bind(f.model.A.j.Poa,a);case k.i.ca.pn:return f.O.bind(f.model.A.j.Roa,a);case k.i.ca.gn:return f.O.bind(f.model.A.j.Aka,a);case k.i.ca.lm:return f.O.bind(f.model.A.j.Cka,a);case k.i.ca.mn:return f.O.bind(f.model.A.j.roa,a);case k.i.ca.om:return f.O.bind(f.model.A.j.toa,a)}return a};d.prototype.gV=function(){this.pv=void 0;this.Gj=this.Tc[0]};d.prototype.Ma=function(){var b=
|
|
1151
1151
|
{};b.uniqueName=this.uniqueName;b.name=this.bm;this.Ja&&(b.formula=this.Ge.trim());b.format=this.format;b.individual=this.Bk;b.supportedAggregations=this.em;b.availableAggregations=this.Tc;b.aggregation=this.$;b.caption=this.caption;b.label=this.label;b.originalCaption=this.bm;b.grandTotalCaption=this.Pr;b.groupName=this.Ag;b.folder=this.Pc;b.type=this.type;b.kpi=this.Sr;b.calculated=this.Ja;b.calculateNaN=this.yn;b.hidden=this.hidden;return b};d.prototype.$0=function(){var b=new d("","");return this.Bk!==
|
|
1152
1152
|
b.Bk||this.Ge!==b.Ge||this.format!==b.format||!1===this.Qm||""!==this.$&&(this.Pr!==d.B0(this.$,this.sc)&&f.model.B.C.uz||!f.model.B.C.uz&&this.Pr!==this.caption)?!1:!0};d.prototype.Hh=function(b,a,c){c=void 0===c?!1:c;var e=f.model.$b.Ti.Hh(b,a);f.model.$b.Ti.Kxa(b,a)||(e=f.model.$b.Ti.Hh(b,""));c&&f.v(e.Nd.textAlign)&&this.type!=k.i.Ka.fb&&this.type!=k.i.Ka.Zb&&this.type!=k.i.Ka.Ec&&(e=e.clone(),e.textAlign=f.model.$b.W.rf.textAlign.LEFT);return e};d.prototype.clone=function(){var b=new d(this.uniqueName);
|
|
1153
1153
|
this.OK(b);return b};d.prototype.OK=function(b){b.data=this.data;b.sc=this.sc;b.nQ=this.nQ;b.Zs=this.Zs;b.$b=this.$b;b.jg=this.jg;void 0!=this.pv&&(b.pv=this.pv);b.Gj=this.Gj;b.tm=this.tm.slice();b.Fb=this.Fb.slice();b.iQ=this.iQ;b.pQ=this.pQ;b.oQ=this.oQ;b.bF=this.bF;b.sQ=this.sQ;b.tQ=this.tQ;b.MP=this.MP;b.nj=this.nj};d.prototype.qw=function(){return 0<this.Tc.length||this.Ja||this.Dg};d.prototype.Ni=function(){var b={};b.aggregation=this.$;b.availableAggregations=this.Tc;b.availableAggregationsCaptions=
|
|
@@ -1161,10 +1161,10 @@ b}},Sr:{configurable:!0,enumerable:!0,get:function(){return this.bF},set:functio
|
|
|
1161
1161
|
(w={}));
|
|
1162
1162
|
(function(f){(function(k){(function(h){function d(b,a){b=h.Lp.call(this,b,void 0===a?"":a)||this;b.nj=null;return b}u(d,h.Lp);r.Object.defineProperties(d.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.aK},set:function(b){this.aK=b}},status:{configurable:!0,enumerable:!0,get:function(){return this.yra},set:function(b){this.yra=b}},Hy:{configurable:!0,enumerable:!0,get:function(){return this.Xqa},set:function(b){this.Xqa=b}},Bz:{configurable:!0,enumerable:!0,get:function(){return this.Ara},set:function(b){this.Ara=
|
|
1163
1163
|
b}},description:{configurable:!0,enumerable:!0,get:function(){return this.nj},set:function(b){this.nj=b}}});h.I5=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1164
|
-
(function(f){(function(k){(function(h){function d(b,a){b=h.Lp.call(this,b,void 0===a?"":a)||this;b.nj=null;b.Na=new f.ob;return b}u(d,h.Lp);d.prototype.
|
|
1164
|
+
(function(f){(function(k){(function(h){function d(b,a){b=h.Lp.call(this,b,void 0===a?"":a)||this;b.nj=null;b.Na=new f.ob;return b}u(d,h.Lp);d.prototype.Zh=function(b){b.zi=this;this.rb.Qa(b.uniqueName,b)};d.prototype.Rg=function(b){return this.rb.getItem(b)};d.tb=function(b,a){a=void 0===a?null:a;var c=b.uniqueName;c=k.me.Bg(c,b.caption);null==a&&(a=new k.local.I.z7(c));f.ia(b.caption)?a.caption=b.uniqueName:a.caption=b.caption;return a};r.Object.defineProperties(d.prototype,{Na:{configurable:!0,
|
|
1165
1165
|
enumerable:!0,set:function(b){this.rb=b},get:function(){return this.rb}},type:{configurable:!0,enumerable:!0,get:function(){return this.jg},set:function(b){this.jg=b}},NG:{configurable:!0,enumerable:!0,set:function(b){this.x9=b},get:function(){return this.x9?this.x9:[]}},Xc:{configurable:!0,enumerable:!0,get:function(){return this.I},set:function(b){this.I=b}},description:{configurable:!0,enumerable:!0,get:function(){return this.nj},set:function(b){this.nj=b}}});h.Wq=d})(k.I||(k.I={}))})(f.u||(f.u=
|
|
1166
1166
|
{}))})(w||(w={}));
|
|
1167
|
-
(function(f){(function(k){(function(h){function d(){this.G9=this.VA=!1;this.h9=new f.ob;this.ib=new f.ob;this.sY=new f.ob;this.nG=new h.ZD}d.prototype.gZ=function(){var b=new h.qf("[Measures]","Measures"),a=new h.Wq("[Measures]","Measures");a.type=k.i.Zz.SO;a.
|
|
1167
|
+
(function(f){(function(k){(function(h){function d(){this.G9=this.VA=!1;this.h9=new f.ob;this.ib=new f.ob;this.sY=new f.ob;this.nG=new h.ZD}d.prototype.gZ=function(){var b=new h.qf("[Measures]","Measures"),a=new h.Wq("[Measures]","Measures");a.type=k.i.Zz.SO;a.Zh(b);this.pt(a);return a};d.prototype.pt=function(b){null==this.Xo(b.uniqueName)&&(b.Xc=this,this.ny.Qa(b.uniqueName,b))};d.prototype.Xo=function(b){return this.ny.getItem(b)};d.prototype.tc=function(b){b=void 0===b?!1:b;for(var a=new f.ob,
|
|
1168
1168
|
c=0;c<this.ny.length;c++){var e=this.ny.ea(c);if(b||e.type!=k.i.Zz.SO)a=a.concat(e.Na)}return a};d.prototype.Rg=function(b){for(var a=0;a<this.ny.length;a++){var c=this.ny.ea(a);if(c.Na.Db(b))return c.Na.getItem(b)}};d.prototype.Lj=function(b){this.measures.Qa(b.uniqueName,b)};d.prototype.ad=function(b){return this.measures.getItem(b)};d.prototype.mD=function(b){this.measures.removeItem(b)};d.prototype.clear=function(){this.h9=new f.ob;this.ib=new f.ob;this.sY=new f.ob;this.Yd=!1};d.prototype.Zj=
|
|
1169
1169
|
function(){return null};d.prototype.He=function(){return null};d.prototype.iK=function(){};d.prototype.eZ=function(b,a){this.sY.Qa(b.uniqueName,b);if(0==f.ia(b.value)){var c=new h.ik(b.value,this.Fy(b.value,b.caption,f.model.A.j.s7,a));c.Ag=f.model.A.j.mx;c.Pc=b.caption;c.type=k.i.Ka.fb;c.Sr=b.uniqueName;this.Lj(c)}0==f.ia(b.Hy)&&(c=new h.ik(b.Hy,this.Fy(b.Hy,b.caption,f.model.A.j.o7,a)),c.Ag=f.model.A.j.mx,c.Pc=b.caption,c.type=k.i.Ka.fb,c.Sr=b.uniqueName,this.Lj(c));0==f.ia(b.status)&&(c=new h.ik(b.status,
|
|
1170
1170
|
this.Fy(b.status,b.caption,f.model.A.j.q7,a)),c.Ag=f.model.A.j.mx,c.Pc=b.caption,c.type=k.i.Ka.fb,c.Sr=b.uniqueName,c.IC=!0,this.Lj(c));0==f.ia(b.Bz)&&(a=new h.ik(b.Bz,this.Fy(b.Bz,b.caption,f.model.A.j.r7,a)),a.Ag=f.model.A.j.mx,a.Pc=b.caption,a.type=k.i.Ka.fb,a.Sr=b.uniqueName,a.JC=!0,this.Lj(a))};d.prototype.Fy=function(b,a,c,e){e=e.Ia(b,"caption");return f.v(e)?0==b.indexOf("[Measures]")?b.substring(12,b.length-1):a+" "+c:e};d.prototype.Aw=function(b,a,c){a=void 0===a?null:a;c=void 0===c?!1:c;
|
|
@@ -1174,34 +1174,34 @@ a.Qm=b.active:b.hasOwnProperty("uniqueName")&&b.hasOwnProperty("caption")&&b.uni
|
|
|
1174
1174
|
b}},nb:{configurable:!0,enumerable:!0,get:function(){return 0<this.ny.length-(this.ny.Db("[Measures]")?1:0)||0<this.measures.length||0<this.Cea.length?!1:!0}},ny:{configurable:!0,enumerable:!0,get:function(){return this.h9},set:function(){}},measures:{configurable:!0,enumerable:!0,get:function(){return this.ib},set:function(){}},xt:{configurable:!0,enumerable:!0,set:function(){},get:function(){for(var b=new f.ob,a=0;a<this.ib.length;a++){var c=this.ib.ea(a);c.Ja&&b.Qa(c.uniqueName,c)}return b}},Au:{configurable:!0,
|
|
1175
1175
|
enumerable:!0,set:function(){},get:function(){for(var b=[],a=0;a<this.ib.length;a++){var c=this.ib.ea(a);c.Ja||b.push(c)}return b}},mU:{configurable:!0,enumerable:!0,set:function(){},get:function(){var b=this.Xo("[Measures]");null==b&&(b=this.gZ());return b.Rg("[Measures]")}},Cea:{configurable:!0,enumerable:!0,get:function(){return this.sY},set:function(){}}});h.Cs=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1176
1176
|
(function(f){(function(k){(function(h){function d(){}d.qAa=function(b){switch(b){case k.i.oa.Jc:case k.i.oa.Rd:return new k.external.yb.I.moa;case k.i.oa.Jf:return new k.external.Fe.I.ala;case k.i.oa.API:return new k.external.kc.I.dI}return new k.local.I.rE};h.upa=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1177
|
-
(function(f){(function(k){(function(h){function d(b){this.rb=new f.ob;this.Oq=k.i.ya.$c;this.ht=this.IP=null;this.IJ=[];this.eQ=[];this.cQ=[];this.LA=[];this.OY=k.i.ya.$c;this.dB=b}d.prototype.Tfa=function(b){for(var a=[],c,e,g,l,m,n,p=0;p<b.length;p++){c=b[p].slice(0);e=[];l=-1;g=c.shift();g="string"==typeof g?new f.model.cb.Lg(g):f.model.cb.Lg.tb(g);m=0;if(0<this.Na.length)for(var t=0;t<c.length;t++){n=this.Na.ea(m);if(f.v(n))return[];if(!n.Yd&&!n.Ue)return this.eQ=b.slice(0),[];n.Ue&&(l=(l=this.
|
|
1177
|
+
(function(f){(function(k){(function(h){function d(b){this.rb=new f.ob;this.Oq=k.i.ya.$c;this.ht=this.IP=null;this.IJ=[];this.eQ=[];this.cQ=[];this.LA=[];this.OY=k.i.ya.$c;this.dB=b}d.prototype.Tfa=function(b){for(var a=[],c,e,g,l,m,n,p=0;p<b.length;p++){c=b[p].slice(0);e=[];l=-1;g=c.shift();g="string"==typeof g?new f.model.cb.Lg(g):f.model.cb.Lg.tb(g);m=0;if(0<this.Na.length)for(var t=0;t<c.length;t++){n=this.Na.ea(m);if(f.v(n))return[];if(!n.Yd&&!n.Ue)return this.eQ=b.slice(0),[];n.Ue&&(l=(l=this.di(g))?
|
|
1178
1178
|
l.index:-1,m++,n=this.Na.ea(m));if(n)if(n=n.Fga(c[t]),0>n){e=null;break}else e.push(n);m++}null!==e&&(e.unshift(l),a.push(e))}return a};d.prototype.D3=function(){0<this.eQ.length&&(this.jd=this.Tfa(this.eQ),this.eQ=[]);0<this.cQ.length&&(this.qe=this.Sfa(this.cQ),this.cQ=[])};d.prototype.H4=function(b){b.sort(function(a,c){if(a.length!==c.length)return 0;var e=a.length-1;a=a[e];c=c[e];return-1===a?1:-1===c||a<c?-1:a>c?1:0})};d.prototype.rha=function(b){var a=this.rb.slice();a.removeItem("[Measures]");
|
|
1179
1179
|
for(var c,e=0;e<b.length;e++){var g=b[e].slice(0);"string"===typeof g[0]&&(c=g.shift());var l=a.ea(g.length-3);if(null==l)break;var m=g[1];if("string"===typeof g[1]){var n=l.Ab(m);!n&&!isNaN(parseInt(g[1]))&&8>g[1].length&&(m=parseInt(g[1]))}"number"===typeof m&&(n=l.ua(m),null==n||n.Xb||(m=n.uniqueName));-1==l.Iw.indexOf(m)&&l.Iw.push([c,m])}};d.prototype.Sfa=function(b){for(var a=[],c,e,g,l,m,n,p,t,q=0;q<b.length;q++){c=b[q].slice(0);e=[];l=-1;g=c.shift();n=c.shift();m="string"==typeof n?new f.model.cb.Lg(n):
|
|
1180
|
-
f.model.cb.Lg.tb(n);n=c.shift();p=0;if(0<this.Na.length)for(var v=0;v<c.length;v++){t=this.Na.ea(p);if(f.v(t))return[];t.Ue&&(l=(l=this.
|
|
1180
|
+
f.model.cb.Lg.tb(n);n=c.shift();p=0;if(0<this.Na.length)for(var v=0;v<c.length;v++){t=this.Na.ea(p);if(f.v(t))return[];t.Ue&&(l=(l=this.di(m))?l.index:-1,p++,t=this.Na.ea(p));if(!t.Yd&&!t.Ue)return this.cQ=b.slice(0),this.rha(b),[];if(t){if(t.type!==k.i.Hc.Pa||t.ta.ea(1).type!==k.i.eb.Pa&&t.ta.ea(1).type!==k.i.eb.Ec)t=t.Ab(c[v]);else{if(f.model.B.C.Gr&&"null"===c[v])var y=null;else if(8>c[v].length||/\D+/.test(c[v].slice(1))){y=t.ta.ea(1).type===k.i.eb.Ec?f.model.B.C.bl:f.model.B.C.uq;y=t.mapping.Ia(t.uniqueName,
|
|
1181
1181
|
"format",y);var A=new f.Jg(c[v],{Mx:!1,format:y});A.Wg(x.kh.Uf(y));y=A.getTime()}else y=parseInt(c[v]);t=t.St(y)}t?e.push(t.ordinal):e.push(-1)}p++}if((t=this.Na.ea(c.length-1))&&t.Yd&&null!==t.ac&&null==t.Ab(n))for(c=n.slice(1,-1).split("].[");1<c.length;){c.pop();var C=1<c.length?"["+c.join("].[")+"]":c[0];null==b.find(function(E){return E[e.length+2]===C})&&(m=e.slice(0,-1),p=t.Ab(C),null!=p&&(m.push(p.ordinal),m.unshift(C),m.unshift(l),""!=g&&m.unshift(g),a.push(m)))}e.unshift(n);e.unshift(l);
|
|
1182
|
-
""!=g&&e.unshift(g);a.push(e)}return a};d.prototype.toString=function(){return"[Axis:"+this.dB+" ]"};d.QCa=function(b,a,c){"[Measures]"!==b.uniqueName&&(c=c.measures.getItem(b.uniqueName),void 0===c||c.sc===b.caption&&!a.hasOwnProperty("caption")||(c.sc!==b.caption?a.caption=c.sc:a.hasOwnProperty("caption")&&a.caption!==c.sc&&(c.sc=a.caption)))};d.tb=function(b,a,c,e,g,l,m,n){m=void 0===m?null:m;n=void 0===n?!1:n;b=new d(b);m&&(b.
|
|
1183
|
-
a[p].uniqueName){a[p].uniqueName=k.me.Bg(a[p].uniqueName,a[p].caption);var t=l.Rg(a[p].uniqueName);if(null!=t&&(n&&(t=t.clone(),t.LZ(),t.filter.clear()),this.QCa(t,a[p],l),h.qf.tb(a[p],t),!t.Ue||b.uniqueName!==k.i.fa.Ls)){var q=f.v(a[p].levelName)?f.v(a[p].activeLevelName)?null:a[p].activeLevelName:a[p].levelName;t.wf=q;b.Na.Qa(t.uniqueName,t)}}if(c){if(null!=c.measure){a="string"===typeof c.measure?new f.model.cb.Lg(k.me.Bg(c.measure)):f.model.cb.Lg.tb(c.measure);var v=b.
|
|
1182
|
+
""!=g&&e.unshift(g);a.push(e)}return a};d.prototype.toString=function(){return"[Axis:"+this.dB+" ]"};d.QCa=function(b,a,c){"[Measures]"!==b.uniqueName&&(c=c.measures.getItem(b.uniqueName),void 0===c||c.sc===b.caption&&!a.hasOwnProperty("caption")||(c.sc!==b.caption?a.caption=c.sc:a.hasOwnProperty("caption")&&a.caption!==c.sc&&(c.sc=a.caption)))};d.tb=function(b,a,c,e,g,l,m,n){m=void 0===m?null:m;n=void 0===n?!1:n;b=new d(b);m&&(b.di=function(y){return m(y)});b.Na=new f.ob;if(a)for(var p=0;p<a.length;p++)if(null!=
|
|
1183
|
+
a[p].uniqueName){a[p].uniqueName=k.me.Bg(a[p].uniqueName,a[p].caption);var t=l.Rg(a[p].uniqueName);if(null!=t&&(n&&(t=t.clone(),t.LZ(),t.filter.clear()),this.QCa(t,a[p],l),h.qf.tb(a[p],t),!t.Ue||b.uniqueName!==k.i.fa.Ls)){var q=f.v(a[p].levelName)?f.v(a[p].activeLevelName)?null:a[p].activeLevelName:a[p].levelName;t.wf=q;b.Na.Qa(t.uniqueName,t)}}if(c){if(null!=c.measure){a="string"===typeof c.measure?new f.model.cb.Lg(k.me.Bg(c.measure)):f.model.cb.Lg.tb(c.measure);var v=b.di(a)}null!=v&&null!=c.tuple?
|
|
1184
1184
|
b.AD(v,c.tuple,c.type):b.mOa=c}if(e&&0<e.length){c=[];for(a=0;a<e.length;a++){l=e[a];n=[];0<l.length&&n.push(d.Bda(l[0]));for(v=1;v<l.length;v++)n.push(d.cfa(l[v]));c.push(n)}e=c}b.jd=e?b.Tfa(e):[];if(g&&0<g.length){e=[];for(c=0;c<g.length;c++){a=g[c];l=[];0<a.length&&l.push(d.Bda(a[0]));for(n=1;n<a.length;n++)l.push(d.cfa(a[n]));e.push(l)}g=e}b.qe=g?b.Sfa(g):[];return b};d.Bda=function(b){if("string"===typeof b){var a=parseInt(b);if(isNaN(a)||a.toString()!==b)return k.me.Bg(b)}return b};d.cfa=function(b){if("string"===
|
|
1185
1185
|
typeof b){var a=parseInt(b);if(isNaN(a)||a.toString()!==b)return k.me.Vr(b)}return b};d.prototype.Ma=function(){for(var b={},a=[],c=0;c<this.Na.length;c++){var e=this.Na.ea(c).Ma();a.push(e)}b.hierarchies=a;this.bg==k.i.ya.$c||f.v(this.Ym)||f.v(this.Hf)||(b.sort={type:this.bg,tuple:this.I4,measure:{uniqueName:this.Hf.uniqueName,aggregation:this.Hf.$}});return b};d.prototype.AD=function(b,a,c){this.Hf=b;this.Ym=a;this.bg=c;0==a.length&&(this.Oq=this.bg,this.ts=this.Hf)};d.prototype.DB=function(){this.Ym=
|
|
1186
1186
|
this.Hf=null;this.Oq=this.bg=k.i.ya.$c;this.ts=null};d.prototype.clone=function(){var b=new d(this.dB);b.caption=this.caption;b.Na=this.Na.slice(0);b.ts=this.ts;b.Oq=this.Oq;b.Hf=this.Hf;b.Ym=this.Ym;b.bg=this.bg;b.jd=this.oq(this.jd);b.qe=this.oq(this.qe);return b};d.prototype.oq=function(b){for(var a=[],c=0;c<b.length;c++)a.push(b[c].slice());return a};r.Object.defineProperties(d.prototype,{Ym:{configurable:!0,enumerable:!0,set:function(b){this.ht=b;this.IP=null},get:function(){if(null!=this.IP)return this.IP;
|
|
1187
1187
|
var b=null;if(null!=this.ht){var a=0;b=[];for(var c=0;c<this.rb.length;c++){var e=this.Na.ea(c);if(!e.Ue){if(!this.ht[a])break;if("number"==typeof this.ht[a]){b=this.ht;break}else{var g=this.ht[a].toString().trim();if(!/\D/.test(g)){b=this.ht;break}}e=e.Ab(k.me.Vr(this.ht[a].toString().trim()));if(null!=e)b.push(e.ordinal);else if(this.ht[a]){b=null;break}a++}}}return this.IP=b}},I4:{configurable:!0,enumerable:!0,set:function(b){this.Ym=b},get:function(){var b=null,a=this.Ym;if(null!=a){var c=0;b=
|
|
1188
1188
|
[];for(var e=0;e<this.rb.length;e++){var g=this.Na.ea(e);if(!g.Ue){if(!a[c])break;g=g.ua(""===a[c]?0:parseInt(a[c]));if(null!=g)b.push(g.cj);else if(a[c]){b=null;break}c++}}}return b}},jd:{configurable:!0,enumerable:!0,get:function(){return this.IJ},set:function(b){if(null==b)this.IJ=[];else if(this.Sa)this.IJ=b;else{this.IJ=[];for(var a=0;a<b.length;a++){var c=b[a];c[0]=-1;this.IJ.push(c)}}}},Mba:{configurable:!0,enumerable:!0,get:function(){for(var b=[],a,c,e,g,l,m=0;m<this.jd.length;m++){a=this.jd[m].slice(0);
|
|
1189
|
-
c=[];e=a.shift();g=null;-1<e&&(g=(g=this.
|
|
1190
|
-
Aba:{configurable:!0,enumerable:!0,get:function(){for(var b=[],a,c,e,g,l,m,n,p=0;p<this.qe.length;p++){a=this.qe[p].slice(0);c=[];e="";l=null;"string"==typeof a[0]&&(e=a.shift());g=a.shift();m=a.shift();-1<g&&(l=(l=this.
|
|
1189
|
+
c=[];e=a.shift();g=null;-1<e&&(g=(g=this.di(e))?g.Ma():null);for(var n=e=0;n<a.length;n++)l=this.Na.ea(e),l.Ue&&(e++,l=this.Na.ea(e)),l&&l.ua(a[n])&&c.push(l.ua(a[n]).uniqueName),e++;c.unshift(g);b.push(c)}return b}},qe:{configurable:!0,enumerable:!0,get:function(){return this.LA},set:function(b){if(f.v(b)||0===b.length)this.LA=[];else{if(this.Sa)this.LA=b;else{this.LA=[];for(var a=0;a<b.length;a++){var c=b[a];"string"===typeof c[0]?c[1]=-1:c[0]=-1;this.LA.push(c)}}this.H4(this.LA);this.rha(this.LA)}}},
|
|
1190
|
+
Aba:{configurable:!0,enumerable:!0,get:function(){for(var b=[],a,c,e,g,l,m,n,p=0;p<this.qe.length;p++){a=this.qe[p].slice(0);c=[];e="";l=null;"string"==typeof a[0]&&(e=a.shift());g=a.shift();m=a.shift();-1<g&&(l=(l=this.di(g))?l.Ma():null);for(var t=g=0;t<a.length;t++)n=this.Na.ea(g),n.Ue&&(g++,n=this.Na.ea(g)),(n=n.ua(a[t]))&&c.push(n.uniqueName),g++;c.unshift(m);c.unshift(l);c.unshift(e);b.push(c)}return b}},bg:{configurable:!0,enumerable:!0,set:function(b){b=b.toLowerCase();this.OY=b==k.i.ya.ec||
|
|
1191
1191
|
b==k.i.ya.Fc?b:k.i.ya.$c},get:function(){return this.OY}},uniqueName:{configurable:!0,enumerable:!0,get:function(){return this.dB},set:function(b){this.dB=b}},caption:{configurable:!0,enumerable:!0,get:function(){return this.sc},set:function(b){this.sc=b}},Na:{configurable:!0,enumerable:!0,get:function(){return this.rb},set:function(b){this.jd=[];this.qe=[];this.ht=null;this.OY=k.i.ya.$c;this.Hf=null;this.rb=b}},Ke:{configurable:!0,enumerable:!0,get:function(){return this.rb.indexOf("[Measures]")},
|
|
1192
1192
|
set:function(){}},mU:{configurable:!0,enumerable:!0,get:function(){return this.rb.getItem("[Measures]")},set:function(){}},Sa:{configurable:!0,enumerable:!0,get:function(){return-1<this.Ke},set:function(){}},depth:{configurable:!0,enumerable:!0,get:function(){for(var b=0,a=0;a<this.rb.length;a++){var c=this.rb.ea(a);b+=c.Rwa}return b},set:function(){}}});h.Tq=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1193
1193
|
(function(f){(function(k){(function(h){function d(b){this.jr=new f.ob;this.ib=[];this.RE=this.m9=!1;this.OA=[];this.gQ=[];this.bQ=[];this.memberProperties={};this.l2=!0;this.Xc=b;this.nt(new k.I.Tq(k.i.fa.Ea));this.nt(new k.I.Tq(k.i.fa.Oa));this.nt(new k.I.Tq(k.i.fa.Ls))}d.prototype.nt=function(b){this.jr.Qa(b.uniqueName,b);b.Sa&&(this.GA=b)};d.prototype.Wc=function(b){return this.jr.getItem(b)};d.prototype.xxa=function(b){if(-1!=this.mc.Na.indexOf(b))return this.mc;if(-1!=this.Tb.Na.indexOf(b))return this.Tb;
|
|
1194
|
-
if(-1!=this.sH.Na.indexOf(b))return this.sH};d.prototype.Fia=function(){if(null==this.GA){for(var b=0;b<this.jr.length;b++){var a=this.jr.ea(b);if(a.Sa){this.GA=a;break}}null==this.GA&&(this.GA=this.Wc(k.i.fa.Oa))}this.GA.Sa||(b=this.Xc.mU)&&this.GA.Na.Qa(b.uniqueName,b)};d.prototype.bd=function(){for(var b=[],a=0;a<this.ib.length;a++){var c=this.ib[a];c.hidden||b.push(c)}return b};d.prototype.qz=function(b){this.ib=b};d.prototype.
|
|
1195
|
-
(""==b.$||b.$===this.ib[a].$))return this.ib[a];return null};d.prototype.ew=function(b){return b instanceof f.model.cb.Lg?this.
|
|
1194
|
+
if(-1!=this.sH.Na.indexOf(b))return this.sH};d.prototype.Fia=function(){if(null==this.GA){for(var b=0;b<this.jr.length;b++){var a=this.jr.ea(b);if(a.Sa){this.GA=a;break}}null==this.GA&&(this.GA=this.Wc(k.i.fa.Oa))}this.GA.Sa||(b=this.Xc.mU)&&this.GA.Na.Qa(b.uniqueName,b)};d.prototype.bd=function(){for(var b=[],a=0;a<this.ib.length;a++){var c=this.ib[a];c.hidden||b.push(c)}return b};d.prototype.qz=function(b){this.ib=b};d.prototype.di=function(b){for(var a=0;a<this.ib.length;a++)if(b.uniqueName==this.ib[a].uniqueName&&
|
|
1195
|
+
(""==b.$||b.$===this.ib[a].$))return this.ib[a];return null};d.prototype.ew=function(b){return b instanceof f.model.cb.Lg?this.di(b):isNaN(b)?null:this.ib[b]};d.prototype.Vca=function(b,a){for(var c=0;c<this.ib.length;c++)if(b==this.ib[c].uniqueName&&(void 0==a||a==this.ib[c].$))return c;return-1};d.prototype.tc=function(b,a,c,e){b=void 0===b?!0:b;a=void 0===a?!0:a;c=void 0===c?!1:c;e=void 0===e?!1:e;for(var g=new f.ob,l=0;l<this.jr.length;l++){var m=this.jr.ea(l);g=g.concat(m.Na)}b||g.removeItem(this.Xc.mU.uniqueName);
|
|
1196
1196
|
if(!a)for(b=0;b<this.pages.length;b++)g.removeItem(this.pages.th(b));if(c)for(c=0;c<this.ib.length;c++)b=this.ib[c],b.Ja||b.hidden&&!e||(b=this.Xc.Zj(b.uniqueName),f.v(b)||g.Qa(b.uniqueName,b));return g};d.prototype.clear=function(){for(var b=0;b<this.jr.length;b++)this.jr.ea(b).Na=new f.ob;this.ib=[]};d.prototype.clone=function(){var b=this,a=new d(this.Xc);a.rows=this.rows.slice();a.columns=this.columns.slice();a.pages=this.pages.slice();a.qz(this.bd());a.flatOrder=this.flatOrder.slice(0);a.flatSort=
|
|
1197
|
-
this.flatSort.slice(0);a.drillThrough=this.drillThrough.slice(0);a.nt(this.mc.clone());a.mc.
|
|
1197
|
+
this.flatSort.slice(0);a.drillThrough=this.drillThrough.slice(0);a.nt(this.mc.clone());a.mc.di=function(c){return b.ew(c)};a.nt(this.Tb.clone());a.Tb.di=function(c){return b.ew(c)};a.expandAll=this.expandAll;a.drillAll=this.drillAll;return a};d.S$=function(b,a){var c=!1;c=void 0===c?!0:c;if(null==a)return!0;var e=b.rows.length!=a.rows.length;if(!e)for(var g=0;g<b.rows.length;g++)if(b.rows.ea(g).uniqueName!=a.rows.ea(g).uniqueName){e=!0;break}!e&&c&&b.Wc(k.i.fa.Ea).Sa&&a.Wc(k.i.fa.Ea).Sa&&(e=d.wZ(b,
|
|
1198
1198
|
a));return e};d.R$=function(b,a){var c=!1;c=void 0===c?!0:c;if(null==a)return!0;var e=b.columns.length!=a.columns.length;if(!e)for(var g=0;g<b.columns.length;g++)if(b.columns.ea(g).uniqueName!=a.columns.ea(g).uniqueName){e=!0;break}!e&&c&&b.Wc(k.i.fa.Oa).Sa&&a.Wc(k.i.fa.Oa).Sa&&(e=d.wZ(b,a));return e};d.wZ=function(b,a){if(null==a)return!0;b=b.bd();a=a.bd();var c=b.length!=a.length;if(!c)for(var e=0;e<b.length;e++)if(b[e].uniqueName!=a[e].uniqueName){c=!0;break}return c};d.Vsa=function(b,a){void 0!==
|
|
1199
1199
|
a.caption&&null!=b&&(b.caption=a.caption)};d.OBa=function(b){return void 0===b.formula?!0:f.model.B.C.Iv&&k.La.P().ga.Ba===k.i.oa.Jc||!k.La.P().ga.Bc||k.La.P().ga.Ba===k.i.oa.API};d.tb=function(b,a,c,e){c=void 0===c?!1:c;e=void 0===e?!1:e;for(var g=new d(a),l=[],m=a.tc(),n=b.measures.map(function(q){return q.uniqueName}),p=0;p<b.measures.length;p++)if(void 0!==b.measures[p].uniqueName&&this.OBa(b.measures[p])){f.ia(b.measures[p].formula)&&(a.ad(b.measures[p].uniqueName)||(b.measures[p].uniqueName=
|
|
1200
1200
|
k.me.Bg(b.measures[p].uniqueName)));var t=a.measures.getItem(b.measures[p].uniqueName);if(null!=t||!f.ia(b.measures[p].formula)){this.Vsa(m.getItem(b.measures[p].uniqueName),b.measures[p]);t=a.Aw(b.measures[p],t);t.hidden=!1;if(t.Ja&&!a.measures.Db(t.uniqueName)){if(f.model.B.C.ZV&&!g.JKa(t,n))continue;a.Lj(t)}if(null==b.measures[p].active||b.measures[p].active)t=t.clone(),t.index=l.length,l.push(t)}f.model.B.C.qc&&!f.v(b.measures[p].filter)&&(t=m.getItem(b.measures[p].uniqueName),f.v(t)||(t.filter=
|
|
1201
1201
|
f.model.cb.fA.tb(b.measures[p].filter,t)))}g.o5(l);l=k.I.Tq.tb(k.i.fa.Ea,b.rows,b.rowSorting,b.expandedRows,b.drilledRows,a,function(q){return g.ew(q)},c);m=k.I.Tq.tb(k.i.fa.Oa,b.columns,b.columnSorting,b.expandedColumns,b.drilledColumns,a,function(q){return g.ew(q)},c);c=k.I.Tq.tb(k.i.fa.Ls,b.pages,null,[],[],a,null,c);g.rows=l.Na;g.columns=m.Na;g.pages=c.Na;g.expandAll=b.expandAll;g.drillAll=b.drillAll;if(k.La.P().ga&&k.La.P().ga.ZG)if(g.flatOrder=b.flatOrder,f.v(b.flatSort))if(m.bg!=k.i.ya.$c)g.flatSort=
|
|
1202
1202
|
[{sort:m.bg,measure:m.Hf}];else for(c=b.rows.concat(b.columns.concat(b.pages)),n=0;n<c.length;n++){if(p=c[n],!f.v(p.sortName)&&k.i.ya.Eg(p.sortName)&&p.sortName!=k.i.ya.$c){g.flatSort=[{sort:p.sortName,measure:a.ad(p.uniqueName)}];break}}else g.flatSort=d.eca(b.flatSort,a);g.drillThrough=b.drillThrough;g.memberProperties=b.memberProperties;g.nt(l);g.nt(m);g.Fia();g.Iia();e||g.lIa(g);return g};d.eca=function(b,a){if(f.v(b))return null;for(var c=[],e=0;e<b.length;e++){var g=b[e],l=a.ad(g&&g.uniqueName?
|
|
1203
1203
|
g.uniqueName:g.measure.uniqueName);g=String(g.sort).toLowerCase();!f.v(l)&&k.i.ya.Eg(g)&&c.push({measure:l,sort:g})}return c};d.prototype.Iia=function(){for(var b=f.model.B.C.qc,a=this.ib.filter(function(l){return-1<k.i.ca.Mz.indexOf(l.$)}),c=0;c<this.rows.length;c++){var e=this.rows.ea(c),g=e.filter.measure;b&&e.filter.Kh&&!f.v(this.Xc.ad(g.uniqueName))||this.zea(e,g,a)||e.filter.BB()}for(c=0;c<this.columns.length;c++)e=this.columns.ea(c),g=e.filter.measure,b&&e.filter.Kh&&!f.v(this.Xc.ad(g.uniqueName))||
|
|
1204
|
-
this.zea(e,g,a)||e.filter.BB()};d.prototype.zea=function(b,a,c){c=c.find(function(e){return a&&e.uniqueName===a.uniqueName});return!(b.filter.Kh&&null==this.ad(b.filter.measure.uniqueName)||a&&k.La.P().ga.Bc&&void 0!==c)};d.prototype.JKa=function(b,a){b=x.EO.gR(b.Ge,b.uniqueName,a);return 0==b.nw?(f.Ua(b.errorMessage),!1):!0};d.prototype.lIa=function(b){if(null!=k.La.P().qa){var a=k.La.P().qa.rt,c=b.rt;null!=a&&null!=c&&a.uniqueName!=c.uniqueName||null==a.Hf||null==b.
|
|
1204
|
+
this.zea(e,g,a)||e.filter.BB()};d.prototype.zea=function(b,a,c){c=c.find(function(e){return a&&e.uniqueName===a.uniqueName});return!(b.filter.Kh&&null==this.ad(b.filter.measure.uniqueName)||a&&k.La.P().ga.Bc&&void 0!==c)};d.prototype.JKa=function(b,a){b=x.EO.gR(b.Ge,b.uniqueName,a);return 0==b.nw?(f.Ua(b.errorMessage),!1):!0};d.prototype.lIa=function(b){if(null!=k.La.P().qa){var a=k.La.P().qa.rt,c=b.rt;null!=a&&null!=c&&a.uniqueName!=c.uniqueName||null==a.Hf||null==b.di(new f.model.cb.Lg(a.Hf.uniqueName,
|
|
1205
1205
|
a.Hf.$,a.Hf.index))||null!=c.Hf||(c.Hf=a.Hf,c.I4=a.I4,c.Ym=a.Ym,c.bg=a.bg)}};d.prototype.b5=function(){var b=new f.model.cb.SliceValueObject,a=this.Wc(k.i.fa.Ea).Ma(),c=this.Wc(k.i.fa.Oa).Ma(),e=this.Wc(k.i.fa.Ls).Ma();b.rows=a.hierarchies;b.columns=c.hierarchies;b.pages=e.hierarchies;b.measures=[];e=this.Xc.measures;for(var g=this.bd(),l=0;l<g.length;l++){var m=g[l],n=m.Ma();n.caption=m.bm;n.active=!0;f.model.B.C.qc&&(m=this.Xc.Zj(m.uniqueName))&&m.filter.bh&&!b.GBa(m.uniqueName)&&(n.filter=m.filter.Ma());
|
|
1206
1206
|
b.measures.push(n)}l={};for(n=0;n<e.length;l={Iz:l.Iz},n++)l.Iz=e.ea(n),l.Iz.hidden&&!l.Iz.Ja||l.Iz.$0()||g.find(function(p){return function(t){return t.uniqueName===p.Iz.uniqueName}}(l))||(m=l.Iz.Ma(),m.active=!1,b.measures.push(m));b.rowSorting=a.sort;b.columnSorting=c.sort;b.expandAll=this.expandAll;b.expandedRows=this.axes.getItem(k.i.fa.Ea).Mba;b.expandedColumns=this.axes.getItem(k.i.fa.Oa).Mba;b.drillAll=this.drillAll;b.drilledRows=this.axes.getItem(k.i.fa.Ea).Aba;b.drilledColumns=this.axes.getItem(k.i.fa.Oa).Aba;
|
|
1207
1207
|
b.flatOrder=this.flatOrder;b.flatSort=this.fca();b.drillThrough=this.drillThrough;b.memberProperties=this.memberProperties;return b};d.prototype.fca=function(){if(f.v(this.flatSort))return null;for(var b=[],a=0;a<this.flatSort.length;a++){var c=this.flatSort[a];b.push({uniqueName:c.measure.uniqueName,sort:c.sort})}return b};d.prototype.Ma=function(){var b={};b.rows=[];for(var a=0;a<this.rows.length;a++){var c=this.rows.ea(a).Ma();b.rows[a]=c}b.columns=[];for(a=0;a<this.columns.length;a++)c=this.columns.ea(a).Ma(),
|
|
@@ -1217,7 +1217,7 @@ function(b,a){for(var c=[],e=0;e<this.ib.length;e++)(this.ib[e].uniqueName!==b||
|
|
|
1217
1217
|
if(l.uniqueName!=m.uniqueName)break;l.Ue||c++}return c};d.prototype.QR=function(b,a){var c=[];if(1<a)for(var e=0;e<b.length;e++){var g=b[e];g.length<=a&&c.push(g.slice())}return c};d.prototype.oq=function(b){for(var a=[],c=0;c<b.length;c++)a.push(b[c].slice());return a};d.prototype.d_=function(b){return this.zaa(b,this.vb)};d.prototype.c_=function(b){return this.zaa(b,this.Bb)};d.prototype.zaa=function(b,a){var c=[];if(f.v(b))return c;for(var e=0;e<b.length;e++){var g=a.ea(e);f.v(g)||(g=g.ua(b[e]),
|
|
1218
1218
|
f.v(g)||c.push(g.Ma()))}return c};d.prototype.HAa=function(){for(var b=this.tc(),a=0;a<b.length;a++)if(b.ea(a).Wf)return!0;return!1};r.Object.defineProperties(d.prototype,{axes:{configurable:!0,enumerable:!0,get:function(){return this.jr},set:function(){}},rt:{configurable:!0,enumerable:!0,set:function(){},get:function(){this.Fia();return this.GA}},Au:{configurable:!0,enumerable:!0,get:function(){for(var b=[],a={},c=0;c<this.ib.length;c++){var e=this.ib[c];e.Ja||void 0!==a[e.uniqueName]||(b.push(e),
|
|
1219
1219
|
a[e.uniqueName]=1)}return b},set:function(){}},xt:{configurable:!0,enumerable:!0,get:function(){for(var b=new f.ob,a=0;a<this.ib.length;a++){var c=this.ib[a];c.Ja&&b.Qa(c.uniqueName,c)}return b},set:function(){}},Qf:{configurable:!0,enumerable:!0,get:function(){return this.ib},set:function(b){this.qz(b)}},rows:{configurable:!0,enumerable:!0,get:function(){return this.Wc(k.i.fa.Ea).Na},set:function(b){var a=this,c=this.Wc(k.i.fa.Ea);null==c&&(c=new h.Tq(k.i.fa.Ea));c.Na=b;null==b&&(c.Na=new f.ob);
|
|
1220
|
-
c.
|
|
1220
|
+
c.di=function(e){return a.ew(e)};this.nt(c)}},columns:{configurable:!0,enumerable:!0,get:function(){return this.Wc(k.i.fa.Oa).Na},set:function(b){var a=this,c=this.Wc(k.i.fa.Oa);null==c&&(c=new h.Tq(k.i.fa.Oa));c.Na=b;null==b&&(c.Na=new f.ob);c.di=function(e){return a.ew(e)};this.nt(c)}},pages:{configurable:!0,enumerable:!0,get:function(){return this.Wc(k.i.fa.Ls).Na},set:function(b){var a=this.Wc(k.i.fa.Ls);null==a&&(a=new h.Tq(k.i.fa.Ls));a.Na=b;null==b&&(a.Na=new f.ob);this.nt(a)}},vb:{configurable:!0,
|
|
1221
1221
|
enumerable:!0,set:function(){},get:function(){return this.rt.uniqueName==k.i.fa.Ea?this.rows.splice(this.rt.Ke,1):this.rows}},Bb:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.rt.uniqueName==k.i.fa.Oa?this.columns.splice(this.rt.Ke,1):this.columns}},nb:{configurable:!0,enumerable:!0,get:function(){return 0==this.tc(!1).length&&0==this.ib.length}},expandAll:{configurable:!0,enumerable:!0,get:function(){return this.m9},set:function(b){this.m9=b}},drillAll:{configurable:!0,
|
|
1222
1222
|
enumerable:!0,get:function(){return this.RE},set:function(b){this.RE=b}},flatOrder:{configurable:!0,enumerable:!0,get:function(){null==this.OA&&(this.OA=[]);return this.OA},set:function(b){this.OA=b}},flatSort:{configurable:!0,enumerable:!0,get:function(){null==this.gQ&&(this.gQ=[]);return this.gQ},set:function(b){this.gQ=b}},drillThrough:{configurable:!0,enumerable:!0,get:function(){null==this.bQ&&(this.bQ=[]);return this.bQ},set:function(b){this.bQ=b}},mc:{configurable:!0,enumerable:!0,get:function(){return this.axes.getItem(k.i.fa.Ea)}},
|
|
1223
1223
|
Tb:{configurable:!0,enumerable:!0,get:function(){return this.axes.getItem(k.i.fa.Oa)}},sH:{configurable:!0,enumerable:!0,get:function(){return this.axes.getItem(k.i.fa.Ls)}}});h.fr=d})(k.I||(k.I={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
@@ -1242,27 +1242,27 @@ return this.pb[a][this.$a[b]]};d.prototype.Ia=function(b,a,c){var e=this.zr(b,a)
|
|
|
1242
1242
|
!0===b||!1===b)b=!0===b?1:0}else b=c.$==k.i.ca.Qi?c.type==k.i.Ka.uc?this.xL(n,c):this.Kca(n,b,a,p):this.xg(n,p,c.$);g[e]=b;0<this.gh.length&&(null==this.an[e]&&(this.an[e]=[]),this.an[e][p]=this.GZ(n,p));return b}return g[e]};d.prototype.GZ=function(b,a){if(void 0==this.gh[a])return null;for(var c=!1,e={Uo:0,fs:0},g=0;g<b.length;g++)this.gh[a][b[g]]&&0!=this.gh[a][b[g]].Uo&&!isNaN(this.gh[a][b[g]].Uo)&&(e.Uo+=this.gh[a][b[g]].Uo,e.fs+=this.gh[a][b[g]].fs,c=!0);return c?e:null};d.prototype.pack=function(){if(!this.va.ga.dM){var b=
|
|
1243
1243
|
this.va.I.tc(!1);65536>this.Og.length?this.Og=new Uint16Array(this.Og):4294967296>this.Og.length&&(this.Og=new Uint32Array(this.Og));var a;for(a=0;a<b.length;a++){var c=b.ea(a),e=this.$d.indexOf(c.uniqueName);-1===e&&(e=this.$d.indexOf(c.caption));for(var g=1;g<this.ta[e].length;g++)256>c.yi&&this.pb.hasOwnProperty(this.ta[e][g])?this.pb[this.ta[e][g]]=new Uint8Array(this.pb[this.ta[e][g]]):65536>c.yi&&this.pb.hasOwnProperty(this.ta[e][g])?this.pb[this.ta[e][g]]=new Uint16Array(this.pb[this.ta[e][g]]):
|
|
1244
1244
|
4294967296>c.yi&&this.pb.hasOwnProperty(this.ta[e][g])&&(this.pb[this.ta[e][g]]=new Uint32Array(this.pb[this.ta[e][g]]))}for(a=0;a<this.Qg.length;a++)c=b.getItem(this.Qg[a]),null!=c&&(c=this.va.I.jC(c.uniqueName),c!==k.i.input.pa.fb&&c!==k.i.input.pa.Pi&&c!==k.i.input.pa.Ec&&c!==k.i.input.pa.Zb&&(this.Ac[a]=new Uint8Array(this.Ac[a])))}};d.prototype.filter=function(){this.Fd=[];this.td=[];this.values=[];this.kQ=[];this.el=[];this.an=[];this.Ssa();this.pack();var b=f.model.B.C.qc&&f.model.B.C.ie!=
|
|
1245
|
-
f.K.
|
|
1245
|
+
f.K.Bd.Oi,a=this.slice.tc(!1,!0,b),c=new f.ob,e=new f.ob,g,l,m=this.slice.bd();for(g=0;g<a.length;g++)(l=a.ea(g))&&l.filter.bh&&(l.filter.Kh?(b?e.Qa(l.uniqueName,l):m.find(function(n){return n.uniqueName===l.filter.measure.uniqueName})&&!this.slice.pages.Db(l.uniqueName)&&e.Qa(l.uniqueName,l),l.filter.ei&&c.Qa(l.uniqueName,l)):c.Qa(l.uniqueName,l));this.ov(c,this.Og);for(g=0;g<e.length;g++)l=e.ea(g),!b||l.filter.au&&l.filter.measure&&this.va.I.xt.Db(l.filter.measure.uniqueName)?this.$sa(l):this.Psa(l);
|
|
1246
1246
|
this.ov(e,this.$a);if(0<e.length&&!b)for(b=[],g=0;g<a.length;g++)c=a.ea(g),e=this.$d.indexOf(c.uniqueName),-1===e&&(e=this.$d.indexOf(c.caption)),b.push(e),c.filter.Kh&&(e=this.va.I.measures.getItem(c.filter.measure.uniqueName),void 0!==e&&(m=this.Qg.indexOf(e.uniqueName),this.$a=this.i$(b,0,this.$a.slice(),m,e,c.filter,[])))};d.prototype.i$=function(b,a,c,e,g,l,m){for(var n=b[a],p=[],t,q=0;q<c.length;q++)t=this.pb[n][c[q]],void 0===p[t]&&(p[t]=[]),p[t].push(c[q]);for(var v in p)this.rqa(p[v],e,g,
|
|
1247
1247
|
l)&&(m=a===b.length-1?m.concat(p[v]):this.i$(b,a+1,p[v],e,g,l,m));return m};d.prototype.rqa=function(b,a,c,e){if(c.Ja){var g=f.v(this.wt[a])?c.Nd:this.wt[a];a=f.v(this.lw[a])?c.Bk:this.lw[a];b=this.Zo(b,g,a,0,null,null,c.yn)}else b=c.$==k.i.ca.Qi?this.xL(b,c):this.xg(b,a,c.$);if(e.query.ra===k.i.Pb.mj||e.query.ra===k.i.Pb.Rh)return!0;if(e.query.ra===k.i.Pb.EQUAL)return b===e.query.value;if(e.query.ra===k.i.Pb.tf)return b!==e.query.value;if(e.query.ra===k.i.Pb.GREATER)return b>e.query.value;if(e.query.ra===
|
|
1248
1248
|
k.i.Pb.jk)return b>=e.query.value;if(e.query.ra===k.i.Pb.LESS)return b<e.query.value;if(e.query.ra===k.i.Pb.nk)return b<=e.query.value;if(e.query.ra===k.i.Pb.Ig)return b>=e.query.value[0]&&b<=e.query.value[1];if(e.query.ra===k.i.Pb.vg)return b<e.query.value[0]||b>e.query.value[1]};d.prototype.ov=function(b,a){for(var c=[],e=[],g=0;g<b.length;g++){var l=b.ea(g),m=this.$d.indexOf(l.uniqueName);if(l.filter.bh){c.push(m);e.push(l.mxa().length/l.vd.children.length);this.filters[m]=[];this.Rw[m]=[];for(var n=
|
|
1249
|
-
0;n<l.$a.length;n++){var p=l.ua(l.$a[n]);1===p.level.sb?this.filters[m][p.ordinal]=!0:(void 0===this.Rw[m][p.root.ordinal]&&(this.Rw[m][p.root.ordinal]=[]),void 0===this.Rw[m][p.root.ordinal][p.level.sb]&&(this.Rw[m][p.root.ordinal][p.level.sb]=[]),this.Rw[m][p.root.ordinal][p.level.sb][p.ordinal]=!0)}}}e=f.Ha.sort(e,f.Ha.av|f.Ha.
|
|
1249
|
+
0;n<l.$a.length;n++){var p=l.ua(l.$a[n]);1===p.level.sb?this.filters[m][p.ordinal]=!0:(void 0===this.Rw[m][p.root.ordinal]&&(this.Rw[m][p.root.ordinal]=[]),void 0===this.Rw[m][p.root.ordinal][p.level.sb]&&(this.Rw[m][p.root.ordinal][p.level.sb]=[]),this.Rw[m][p.root.ordinal][p.level.sb][p.ordinal]=!0)}}}e=f.Ha.sort(e,f.Ha.av|f.Ha.ri);if(0<c.length)for(g=0;g<c.length;g++){b=c[e[g]];l=[];for(m=0;m<a.length;m++)if(n=this.pb[this.ta[b][1]][a[m]],!0===this.filters[b][n])l.push(a[m]);else if(void 0!==this.Rw[b][n])for(p=
|
|
1250
1250
|
2;p<this.ta[b].length;p++)if(void 0!==this.Rw[b][n][p]&&!0===this.Rw[b][n][p][this.pb[this.ta[b][p]][a[m]]]){l.push(a[m]);break}a=l}this.$a=a};d.prototype.vqa=function(b){var a=this.$d.indexOf(b.wC.uniqueName),c=this.$d.indexOf(b.uniqueName);-1===a&&(a=this.Ml(b.wC.uniqueName,b.uniqueName),this.ta[c].pop(),this.ta[c].splice(1,0,a));var e=[],g;for(g in b.groups)for(var l=b.Ab(b.Nl(g)),m=0;m<b.groups[g].length;m++){var n=b.ua(b.groups[g][m]);null!==n&&(e[n.ordinal]=l.ordinal)}b=b.Ab(b.Nl("Others"));
|
|
1251
1251
|
void 0===this.pb[a]&&(this.pb[a]=[]);for(g=0;g<this.Vw;g++)n=this.pb[c][g],this.pb[a][g]=void 0!==e[n]?e[n]:b.ordinal};d.prototype.Dqa=function(b){var a=this.$d.indexOf(b.uniqueName);if(this.ta[a]&&this.ta[a].length>b.ta.length)for(var c=0;c<this.ta[a].length;c++)if(!b.ta.Db(this.$d[this.ta[a][c]])){this.ta[a].splice(c,1);break}};d.prototype.Ssa=function(){var b,a,c=this.slice.tc(!1);for(b=0;b<c.length;b++)(a=c.ea(b))&&(null!=a.wC?this.vqa(a):this.Dqa(a))};d.prototype.Psa=function(b){if(b.filter.Kh){var a=
|
|
1252
1252
|
this.va.I.measures.getItem(b.filter.measure.uniqueName);if(void 0!==a){for(var c=[],e=[],g=this.Qg.indexOf(a.uniqueName),l=0;l<this.$a.length;l++)c.push(this.JS(l,g,a,!0)),e.push(this.JS(l,g,a,!1));b.filter.query.ra==k.i.Pb.mj?b.$a=this.Osa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.Rh?b.$a=this.Fsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.EQUAL?b.$a=this.Gsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.tf?b.$a=this.Msa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.GREATER?
|
|
1253
1253
|
b.$a=this.Isa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.jk?b.$a=this.Hsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.LESS?b.$a=this.Ksa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.nk?b.$a=this.Jsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.Ig?b.$a=this.Esa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),Math.max(b.filter.query.value[0],b.filter.query.value[1])):b.filter.query.ra==k.i.Pb.vg&&(b.$a=this.Lsa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),
|
|
1254
|
-
Math.max(b.filter.query.value[0],b.filter.query.value[1])))}}};d.prototype.Osa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.oo|f.Ha.av|f.Ha.
|
|
1254
|
+
Math.max(b.filter.query.value[0],b.filter.query.value[1])))}}};d.prototype.Osa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.oo|f.Ha.av|f.Ha.ri);c=Math.min(c,a.length);for(var g=0;g<c;g++)e.push(a[b[g]]);return e};d.prototype.Fsa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.av|f.Ha.ri);c=Math.min(c,a.length);for(var g=0;g<c;g++)e.push(a[b[g]]);return e};d.prototype.Gsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]==c&&e.push(a[l]);return e};d.prototype.Msa=function(b,a,c){for(var e=[],g=a.length,
|
|
1255
1255
|
l=0;l<g;l++)b[l]!=c&&e.push(a[l]);return e};d.prototype.Isa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]>c&&e.push(a[l]);return e};d.prototype.Hsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]>=c&&e.push(a[l]);return e};d.prototype.Ksa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]<c&&e.push(a[l]);return e};d.prototype.Jsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]<=c&&e.push(a[l]);return e};d.prototype.Esa=function(b,a,c,e){for(var g=[],l=a.length,m=
|
|
1256
|
-
0;m<l;m++)b[m]>=c&&b[m]<=e&&g.push(a[m]);return g};d.prototype.Lsa=function(b,a,c,e){for(var g=[],l=a.length,m=0;m<l;m++)(b[m]<c||b[m]>e)&&g.push(a[m]);return g};d.prototype.$sa=function(b){if(b.filter.Kh){var a=this.slice.
|
|
1257
|
-
null==l[p]&&(l[p]=[]);l[p].push(this.$a[n])}g=this.Qg.indexOf(a.uniqueName);n=b.filter.
|
|
1256
|
+
0;m<l;m++)b[m]>=c&&b[m]<=e&&g.push(a[m]);return g};d.prototype.Lsa=function(b,a,c,e){for(var g=[],l=a.length,m=0;m<l;m++)(b[m]<c||b[m]>e)&&g.push(a[m]);return g};d.prototype.$sa=function(b){if(b.filter.Kh){var a=this.slice.di(b.filter.measure);if(void 0!==a){var c=[],e=[],g=[],l=this.$d.indexOf(b.uniqueName);l=this.ta[l][b.ac?b.ac.sb:1];if(this.el[l])for(var m in this.el[l])g.push(this.el[l][m]);else g=[l];l=[];for(m=0;m<g.length;m++)for(var n=0;n<this.$a.length;n++){var p=this.pb[g[m]][this.$a[n]];
|
|
1257
|
+
null==l[p]&&(l[p]=[]);l[p].push(this.$a[n])}g=this.Qg.indexOf(a.uniqueName);n=b.filter.ei?b.filter.tj():b.xr;p=a.Ja;var t=b.ac?b.ac.sb:1;for(m=0;m<n.length;m++){var q=b.ua(n[m]);if(!q.Xb&&q.level.sb==t&&void 0!==l[q.ordinal]){if(p){var v=f.v(this.wt[g])?a.Nd:this.wt[g];var y=f.v(this.lw[g])?a.Bk:this.lw[g];v=this.Zo(l[q.ordinal],v,y,0,null,null,a.yn)}else v=l[q.ordinal],v=a.$==k.i.ca.Qi?this.xL(v,a):this.xg(v,g,a.$);isNaN(v)&&(v=Number.MIN_VALUE);c.push(v);e.push(q.ordinal)}}b.filter.query.ra==k.i.Pb.mj?
|
|
1258
1258
|
b.$a=this.Zsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.Rh?b.$a=this.Bsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.EQUAL?b.$a=this.Csa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.tf?b.$a=this.Xsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.GREATER?b.$a=this.Rsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.jk?b.$a=this.Qsa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.LESS?b.$a=this.Usa(c,e,b.filter.query.value):b.filter.query.ra==k.i.Pb.nk?b.$a=this.Tsa(c,
|
|
1259
|
-
e,b.filter.query.value):b.filter.query.ra==k.i.Pb.Ig?b.$a=this.Asa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),Math.max(b.filter.query.value[0],b.filter.query.value[1])):b.filter.query.ra==k.i.Pb.vg&&(b.$a=this.Wsa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),Math.max(b.filter.query.value[0],b.filter.query.value[1])))}}};d.prototype.Zsa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.oo|f.Ha.av|f.Ha.
|
|
1260
|
-
d.prototype.Bsa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.av|f.Ha.
|
|
1259
|
+
e,b.filter.query.value):b.filter.query.ra==k.i.Pb.Ig?b.$a=this.Asa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),Math.max(b.filter.query.value[0],b.filter.query.value[1])):b.filter.query.ra==k.i.Pb.vg&&(b.$a=this.Wsa(c,e,Math.min(b.filter.query.value[0],b.filter.query.value[1]),Math.max(b.filter.query.value[0],b.filter.query.value[1])))}}};d.prototype.Zsa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.oo|f.Ha.av|f.Ha.ri);c=Math.min(c,a.length);for(var g=0;g<c;g++)e.push(a[b[g]]);return e};
|
|
1260
|
+
d.prototype.Bsa=function(b,a,c){var e=[];b=f.Ha.sort(b,f.Ha.av|f.Ha.ri);c=Math.min(c,a.length);for(var g=0;g<c;g++)e.push(a[b[g]]);return e};d.prototype.Csa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]==c&&e.push(a[l]);return e};d.prototype.Xsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]!=c&&e.push(a[l]);return e};d.prototype.Rsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]>c&&e.push(a[l]);return e};d.prototype.Qsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<
|
|
1261
1261
|
g;l++)b[l]>=c&&e.push(a[l]);return e};d.prototype.Usa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]<c&&e.push(a[l]);return e};d.prototype.Tsa=function(b,a,c){for(var e=[],g=a.length,l=0;l<g;l++)b[l]<=c&&e.push(a[l]);return e};d.prototype.Asa=function(b,a,c,e){for(var g=[],l=a.length,m=0;m<l;m++)b[m]>=c&&b[m]<=e&&g.push(a[m]);return g};d.prototype.Wsa=function(b,a,c,e){for(var g=[],l=a.length,m=0;m<l;m++)(b[m]<c||b[m]>e)&&g.push(a[m]);return g};d.prototype.xg=function(b,a,c){return null===
|
|
1262
|
-
b||-1===a?NaN:0===b.length?c===k.i.ca.uc?0:NaN:c===k.i.ca.NONE?this.Ac[a][b[0]]:c===k.i.ca.uc?this.Xya(b,a):c===k.i.ca.Qi?this.Kca(b,[],[],a):c===k.i.ca.dr?this.Uza(b,a):c===k.i.ca.bv?this.nAa(b,a):c===k.i.ca.cv?this.oAa(b,a):1===b.length?this.Ac&&this.Ac[a]?this.Ac[a][b[0]]:NaN:c===k.i.ca.Zp||c===k.i.ca.uo||c===k.i.ca.Xp||c===k.i.ca.Vp||c===k.i.ca.Wp||c===k.i.ca.
|
|
1262
|
+
b||-1===a?NaN:0===b.length?c===k.i.ca.uc?0:NaN:c===k.i.ca.NONE?this.Ac[a][b[0]]:c===k.i.ca.uc?this.Xya(b,a):c===k.i.ca.Qi?this.Kca(b,[],[],a):c===k.i.ca.dr?this.Uza(b,a):c===k.i.ca.bv?this.nAa(b,a):c===k.i.ca.cv?this.oAa(b,a):1===b.length?this.Ac&&this.Ac[a]?this.Ac[a][b[0]]:NaN:c===k.i.ca.Zp||c===k.i.ca.uo||c===k.i.ca.Xp||c===k.i.ca.Vp||c===k.i.ca.Wp||c===k.i.ca.pi||c===k.i.ca.gn||c===k.i.ca.lm||c===k.i.ca.mn||c===k.i.ca.om||c===k.i.ca.qm||c===k.i.ca.pn?this.P0(b,a):c===k.i.ca.Ms?this.Yza(b,a):c===
|
|
1263
1263
|
k.i.ca.Kp?this.uca(b,a):c===k.i.ca.Wu?this.Hza(b,a):c===k.i.ca.MAX?this.Dza(b,a):c===k.i.ca.MIN?this.Kza(b,a):0};d.prototype.QL=function(){return this.pb};d.prototype.vH=function(){this.NZ();for(var b,a=this.va.I.t0(),c=0;c<a.length;c++){var e=a[c];b=this.va.I.hC(e);if(b instanceof h.I.z7)k.i.Zz.lA==b.type?(this.Ml(e+".Year"),this.Em(this.va.I.He(e+".Year")),this.Ml(e+".Month"),this.Em(this.va.I.He(e+".Month")),this.Ml(e+".Day"),this.Em(this.va.I.He(e+".Day"))):b.Na.Db(e)&&(this.Ml(e),this.Em(this.va.I.He(e)));
|
|
1264
1264
|
else if(b instanceof h.I.kA)for(this.Ml(e),this.Em(this.va.I.He(e)),e=2;e<b.ta.length;e++){var g=b.ta.ea(e);this.Ml(g.uniqueName,b.uniqueName)}else b instanceof h.I.TI&&(1===b.sb?(this.Ml(b.hierarchy.uniqueName),this.Em(this.va.I.He(b.hierarchy.uniqueName))):this.Ml(b.uniqueName,b.hierarchy.uniqueName))}if(this.slice){for(c=0;c<this.va.I.measures.length;c++)b=this.va.I.measures.ea(c),this.Ml(b.uniqueName),this.Em(b);for(c=0;c<this.slice.Qf.length;c++)b=this.slice.Qf[c],this.Ml(b.uniqueName),this.Em(b)}};
|
|
1265
|
-
d.prototype.Em=function(b){b&&(this.fK(b),this.Lx(b))};d.prototype.v$=function(b){for(var a=this.va.I.hC("Browser"),c=0;c<b.length;c++)a.jc(new k.I.Sd({uniqueName:b[c].value}))};d.prototype.wya=function(b){var a=this.Zfa(b,{from:0,Hp:500,Bw:30})+1,c=this.Zfa(b,{from:0,Hp:30,Bw:0})+1,e=.3>Math.abs(Math.sin(7*b))?1:0;this.pb[0][b]=this.lHa(5*b,this.KX)+1;this.pb[1][b]=a*(4>c?c:10>c?Math.round(c/3):Math.round(c/7));this.pb[2][b]=c;this.pb[3][b]=e};d.prototype.i0=function(b){this.v$(this.KX);var a=x.
|
|
1265
|
+
d.prototype.Em=function(b){b&&(this.fK(b),this.Lx(b))};d.prototype.v$=function(b){for(var a=this.va.I.hC("Browser"),c=0;c<b.length;c++)a.jc(new k.I.Sd({uniqueName:b[c].value}))};d.prototype.wya=function(b){var a=this.Zfa(b,{from:0,Hp:500,Bw:30})+1,c=this.Zfa(b,{from:0,Hp:30,Bw:0})+1,e=.3>Math.abs(Math.sin(7*b))?1:0;this.pb[0][b]=this.lHa(5*b,this.KX)+1;this.pb[1][b]=a*(4>c?c:10>c?Math.round(c/3):Math.round(c/7));this.pb[2][b]=c;this.pb[3][b]=e};d.prototype.i0=function(b){this.v$(this.KX);var a=x.Cd().Zl?
|
|
1266
1266
|
5E5:1E6;this.pb=[];this.pb[0]=new Uint8Array(a);this.pb[1]=new Uint16Array(a);this.pb[2]=new Uint8Array(a);this.pb[3]=new Uint8Array(a);this.Og[a-1]=a;this.td=[];this.td=[[this.$a,[],[],void 0,void 0]];this.Fd=[[this.$a,[],[],void 0,void 0]];this.v$(this.KX);b()};d.prototype.Zfa=function(b,a){b=Math.abs(Math.sin(1.17*b))*(a.Hp-a.from)+a.from;if(b>=a.Bw){var c=(b-a.Bw)/(5*(a.Hp-a.Bw));a=(b-a.Bw)*c+a.Bw}else c=(a.Bw-b)/(5*(a.Bw-a.from)),a=(a.Bw-b)*c+a.from;return Math.round(a)};d.prototype.lHa=function(b,
|
|
1267
1267
|
a){b=Math.abs(Math.sin(b));for(var c=0,e=0;e<a.length;e++)if(c+=a[e].UM,c>b)return e;return a.length-1};h.PO=d})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1268
1268
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){c=k.I.qf.call(this,a,void 0===c?"":c)||this;c.Ne=f.model.B.C.Ne;a=new d.TI(a+".[(all)]","All",0);c.sh(a);c.wn="(all member)";c.It="(all member)";a=new k.I.Sd({uniqueName:"(all member)",caption:"All",Xb:!0});k.I.qf.prototype.jc.call(c,a);return c}u(b,k.I.qf);b.prototype.jc=function(a,c,e){if(void 0===c)return k.I.qf.prototype.jc.call(this,a);f.ia(a.value)||"null"===a.value||"undefined"===a.value?(f.model.B.C.Gr?a.uniqueName=a.value+
|
|
@@ -1270,35 +1270,35 @@ a){b=Math.abs(Math.sin(b));for(var c=0,e=0;e<a.length;e++)if(c+=a[e].UM,c>b)retu
|
|
|
1270
1270
|
k.i.input.pa.ro)c=this.y$(a,!0);else if(c===k.i.input.pa.Pi)c=this.Rra(a);else if(c===k.i.input.pa.Ec)c=this.Tra(a);else if(c===k.i.input.pa.Zb)c=this.tsa(a);else{if(c===k.i.input.pa.lx||c===k.i.input.pa.m7||c===k.i.input.pa.yE)return null;c=this.F$(a)}void 0!==a.jf&&c.jf.csa(a.jf);return c};b.prototype.nC=function(){return new d.Pma(this)};b.prototype.Nl=function(a){return(void 0===a?"(Total)":a).toLocaleLowerCase()};b.prototype.getTimezoneOffset=function(){if(this.type!==k.i.Hc.Pa)return null;if(!f.v(this.bl))return x.kh.Uf(this.bl);
|
|
1271
1271
|
var a=this.mapping.Ia(this.uniqueName,"format");if(!f.v(a))return x.kh.Uf(a);a=this.ta.ea(1);if(a.type===k.i.eb.Pa||a.type===k.i.eb.Pi){if(a=x.kh.Uf(f.model.B.C.uq),null!==a)return a}else if(a.type===k.i.eb.Ec&&(a=x.kh.Uf(f.model.B.C.bl),null!==a))return a;return f.v(f.model.B.C.Rj)||isNaN(f.model.B.C.Rj)?null:f.model.B.C.Rj};b.prototype.F$=function(a){var c=void 0===a.uniqueName?a.value+"":a.uniqueName,e=this.Ab(c);null===e&&(a.uniqueName=c,void 0===a.caption&&(a.caption=a.value+""),e=k.I.qf.prototype.jc.call(this,
|
|
1272
1272
|
a));return e};b.prototype.msa=function(a){var c=void 0===a.uniqueName?a.value+"":a.uniqueName;if(!this.Ne){var e=this.Ab(c);null===e&&(a.uniqueName=c,void 0===a.caption&&(a.caption=a.value+""),a.cc=f.model.B.C.Gr&&f.v(a.value)?a.value:f.O.W4(a.value),e=k.I.qf.prototype.jc.call(this,a))}return e};b.prototype.Tra=function(a){var c=new f.Jg(a.value,{Mx:!1});c.Wg(this.getTimezoneOffset());this instanceof k.external.kc.I.UN||c.round(this.interval);c=c.getTime();var e=a.uniqueName;if(void 0===a.uniqueName||
|
|
1273
|
-
f.v(a.parent)&&f.v(a.
|
|
1274
|
-
new f.Jg(a.value,{Mx:!1});c.Wg(this.getTimezoneOffset());this instanceof k.external.kc.I.UN||c.round(this.interval);var e=c.getTime();c=e;var g=a.uniqueName;if(void 0===a.uniqueName||f.v(a.parent)&&f.v(a.
|
|
1273
|
+
f.v(a.parent)&&f.v(a.ii))e=isNaN(c)?f.model.A.j.fn:""+c;var g=this.Ab(e);null===g&&(a.uniqueName=e,a.cc=c,g=k.I.qf.prototype.jc.call(this,a));return g};b.prototype.tsa=function(a){var c=parseFloat(a.value),e=this.mapping.Ia(this.uniqueName,"format",f.model.B.C.Fp),g=isNaN(c)||""===String(a.value).trim()||c.toString()!==a.value.toString();e=g?"":f.O.Uw(c,e);g=g?"":""+c;var l=this.Ab(g);null===l&&(a.uniqueName=g,a.caption=e,a.cc=c,l=k.I.qf.prototype.jc.call(this,a));return l};b.prototype.Rra=function(a){var c=
|
|
1274
|
+
new f.Jg(a.value,{Mx:!1});c.Wg(this.getTimezoneOffset());this instanceof k.external.kc.I.UN||c.round(this.interval);var e=c.getTime();c=e;var g=a.uniqueName;if(void 0===a.uniqueName||f.v(a.parent)&&f.v(a.ii))g=isNaN(e)?f.model.A.j.fn:""+e;!f.model.B.C.Gr||null!==a.value&&"null"!==a.value||(g="null",c=null);e=this.Ab(g);null===e&&(a.uniqueName=g,a.cc=c,e=k.I.qf.prototype.jc.call(this,a));return e};b.prototype.y$=function(a,c){var e=new f.Jg(a.value,{Mx:!1});f.v(f.model.B.C.Rj)||e.Wg(f.model.B.C.Rj);
|
|
1275
1275
|
var g="";if(null!=e&&!isNaN(e.getTime())&&e.Eg()){var l=f.model.A.j.l8[Math.floor(e.getMonth()/3)];var m=f.model.A.j.cr[e.getMonth()];var n=e.getDate().toString();var p=e.getFullYear().toString();e=e.getTime()}else return n=f.model.A.j.fn,p=this.Ab(n),null===p&&(a.uniqueName=n,a.caption=n,p=k.I.qf.prototype.jc.call(this,a)),p;var t=""+p,q=p;p=this.Ab(t);null===p&&(a.uniqueName=t,a.caption=q,p=k.I.qf.prototype.jc.call(this,a));c&&(c="["+t+"].["+l+"]",q=l,g=p,p=this.Ab(c),null===p&&(a.uniqueName=c,
|
|
1276
1276
|
a.caption=q,a.parent=g,p=k.I.qf.prototype.jc.call(this,a)),g=".["+l+"]");l=m;m="["+t+"]"+g+".["+m+"]";g=p;p=this.Ab(m);null===p&&(a.uniqueName=m,a.caption=l,a.parent=g,p=k.I.qf.prototype.jc.call(this,a));l=n;n=m+".["+n+"]";g=p;p=this.Ab(n);null===p&&(a.uniqueName=n,a.caption=l,a.parent=g,a.cc=e,p=k.I.qf.prototype.jc.call(this,a));return p};b.prototype.Pra=function(a){var c=[],e=new f.Jg(a.value,{Mx:!1});f.v(f.model.B.C.Rj)||e.Wg(f.model.B.C.Rj);if(null!==e&&!isNaN(e.getTime())&&e.Eg()){var g=f.model.A.j.cr[e.getMonth()];
|
|
1277
1277
|
var l=e.getDate().toString();var m=e.getFullYear().toString();var n=e.getTime()}else{l=f.model.A.j.fn;for(n=0;3>n;n++){a=this.zi.Na.ea(n);var p=a.Ab(l);null===p&&(p=a.jc(new k.I.Sd({uniqueName:l})));c.push(p)}return c}a=this.zi.Na.ea(0);var t=this.OV(m);p=a.Ab(t);null===p&&(p=a.jc(new k.I.Sd({uniqueName:m,caption:t,cc:e.getFullYear()})));c.push(p);a=this.zi.Na.ea(1);m=this.OV(g);p=a.Ab(m);null===p&&(p=a.jc(new k.I.Sd({uniqueName:g,caption:m})));c.push(p);a=this.zi.Na.ea(2);g=this.OV(l);p=a.Ab(g);
|
|
1278
|
-
null===p&&(p=a.jc(new k.I.Sd({uniqueName:l,caption:g,cc:n})));c.push(p);return c};b.prototype.OV=function(a){return a&&0<a.length&&"NaN"!=a?a:f.model.A.j.fn};b.prototype.fsa=function(a,c){var e=void 0===a.parent?this.Ab(a.
|
|
1278
|
+
null===p&&(p=a.jc(new k.I.Sd({uniqueName:l,caption:g,cc:n})));c.push(p);return c};b.prototype.OV=function(a){return a&&0<a.length&&"NaN"!=a?a:f.model.A.j.fn};b.prototype.fsa=function(a,c){var e=void 0===a.parent?this.Ab(a.ii):a.parent;null===e&&void 0!==a.ii&&(e=this.mS(a.ii));var g=f.v(a.uniqueName)||!f.v(a.ii)&&"["===a.ii.substr(0,1)||!f.v(a.uniqueName)&&"["===a.uniqueName.substr(0,1)?a.value+"":a.uniqueName;if(1<c.sb){var l=c.hierarchy.ta.ea(c.sb-1);null===e&&(e=c.hierarchy.Ab(f.model.A.j.Pk),
|
|
1279
1279
|
null===e&&(e=l.hierarchy.jc(new k.I.Sd({uniqueName:f.model.A.j.Pk,caption:f.model.A.j.Pk}))));g=1===l.sb?"["+e.uniqueName+"].["+g+"]":e.uniqueName+".["+g+"]"}l=c.hierarchy.Ab(g);null===l&&(a.uniqueName=g,a.caption=f.v(a.caption)?a.value:a.caption,a.parent=1<c.sb?e:void 0,l=this.jc(a,k.i.eb.yz(c.type),k.i.eb.yz(c.inputType)));return l};b.prototype.Ni=function(){var a=k.I.qf.prototype.Ni.call(this);a.type=this.inputType;return a};b.prototype.clone=function(){var a=k.I.qf.prototype.clone.call(this);
|
|
1280
1280
|
a.qQ=this.qQ;return a};r.Object.defineProperties(b.prototype,{interval:{configurable:!0,enumerable:!0,get:function(){return this.type===k.i.Hc.Pa?this.qQ:null},set:function(a){if(this.type===k.i.Hc.Pa){var c=a.substr(-1);if("y"===c||"q"===c||"M"===c||"w"===c)a="1"+c;this.qQ=a}else this.qQ=null}},bl:{configurable:!0,enumerable:!0,get:function(){return this.Hqa},set:function(a){this.Hqa=a}},inputType:{configurable:!0,enumerable:!0,get:function(){return this.ZE},set:function(a){this.ZE=a}},Yd:{configurable:!0,
|
|
1281
1281
|
enumerable:!0,get:function(){return!0},set:function(){}}});d.kA=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){(function(d){function b(a,c,e){return k.I.Mp.call(this,a,void 0===c?"":c,void 0===e?0:e)||this}u(b,k.I.Mp);r.Object.defineProperties(b.prototype,{inputType:{configurable:!0,enumerable:!0,get:function(){return this.ZE},set:function(a){this.ZE=a}}});d.TI=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1282
1282
|
(function(f){(function(k){(function(h){(function(d){function b(){return k.I.Xq.apply(this,arguments)||this}u(b,k.I.Xq);b.prototype.Ma=function(){var a=k.I.Xq.prototype.Ma.call(this);a.uniqueName=this.cj;this.parent&&(a.parentMember=this.parent.cj);return a};d.Pma=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1283
1283
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){return k.I.ik.call(this,a,void 0===c?"":c)||this}u(b,k.I.ik);b.prototype.clone=function(){var a=new b(this.uniqueName);this.OK(a);return a};b.prototype.Ni=function(){var a=k.I.ik.prototype.Ni.call(this),c=k.La.P().I.Zj(this.uniqueName);f.v(c)?a.type=k.i.input.pa.fb:a.type=c.inputType;return a};r.Object.defineProperties(b.prototype,{dc:{configurable:!0,enumerable:!0,get:function(){return f.model.Nb.valid(this.sc)?this.sc:f.model.Nb.validate(this.sc)}},
|
|
1284
1284
|
caption:{configurable:!0,enumerable:!0,get:function(){if(!1===f.model.B.C.uz||this.Ja)return this.dc;switch(this.$){case k.i.ca.uc:return f.O.bind(f.model.A.j.cO,this.dc);case k.i.ca.Ms:return f.O.bind(f.model.A.j.hP,this.dc);case k.i.ca.Qi:return f.O.bind(f.model.A.j.jO,this.dc);case k.i.ca.Kp:return f.O.bind(f.model.A.j.XN,this.dc);case k.i.ca.Wu:return f.O.bind(f.model.A.j.$W,this.dc);case k.i.ca.bv:return f.O.bind(f.model.A.j.qP,this.dc);case k.i.ca.cv:return f.O.bind(f.model.A.j.rP,this.dc);
|
|
1285
|
-
case k.i.ca.MAX:return f.O.bind(f.model.A.j.RO,this.dc);case k.i.ca.MIN:return f.O.bind(f.model.A.j.$O,this.dc);case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.dc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.dc);case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.dc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.
|
|
1285
|
+
case k.i.ca.MAX:return f.O.bind(f.model.A.j.RO,this.dc);case k.i.ca.MIN:return f.O.bind(f.model.A.j.$O,this.dc);case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.dc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.dc);case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.dc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.pi:return f.O.bind(f.model.A.j.MI,this.dc);case k.i.ca.qm:return f.O.bind(f.model.A.j.iP,this.dc);case k.i.ca.pn:return f.O.bind(f.model.A.j.kP,
|
|
1286
1286
|
this.dc);case k.i.ca.gn:return f.O.bind(f.model.A.j.rI,this.dc);case k.i.ca.lm:return f.O.bind(f.model.A.j.sI,this.dc);case k.i.ca.mn:return f.O.bind(f.model.A.j.aJ,this.dc);case k.i.ca.om:return f.O.bind(f.model.A.j.bJ,this.dc);case k.i.ca.NONE:return this.dc}return f.O.bind(f.model.A.j.lJ,this.dc)},set:function(a){this.sc=a}},bm:{configurable:!0,enumerable:!0,get:function(){return this.sc},set:function(){}}});d.A7=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1287
1287
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){return k.I.Wq.call(this,a,void 0===c?"":c)||this}u(b,k.I.Wq);d.z7=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1288
1288
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=k.I.Cs.call(this)||this;a.TR="";a.id="";a.ta=[];a.Z0=!1;a.bB={};a.TA={};a.gZ();a.Te=new f.ob;a.Hv={};a.dz={};a.sk=new f.ob;a.types={};a.jf=[];a.TR="";a.id="";a.Ne=f.model.B.C.Ne;return a}u(b,k.I.Cs);b.prototype.clear=function(){this.bB={};this.TA={};this.Te=new f.ob;this.Hv={};this.dz={};this.sk=new f.ob;this.types={};this.id=this.TR="";k.I.Cs.prototype.clear.call(this)};b.prototype.Pn=function(a,c){return new d.kA(a,c)};b.prototype.Yca=
|
|
1289
1289
|
function(a,c){return new d.A7(a,c)};b.prototype.il=function(a,c,e){return new d.TI(a,c,e)};b.prototype.Zj=function(a){return this.bB[a]};b.prototype.He=function(a){return this.TA[a]};b.prototype.jC=function(a){if(void 0!==this.types[a])return this.types[a];a=this.dz[a];if(!f.v(a))return this.types[a]};b.prototype.Dca=function(a){return this.jf[a]};b.prototype.hC=function(a){var c=this.Te.getItem(a);if(f.v(c)){if(a=this.Hv[a],Array.isArray(a)){for(var e=[],g=0;g<a.length;g++)c=this.Te.getItem(a[g]),
|
|
1290
1290
|
f.v(c)||e.push(c);return e}}else return c};b.prototype.t0=function(a){a=void 0===a?!0:a;var c=this.Te.Kc(!0);if(a||0===Object.keys(this.Hv).length)return c;a=[];for(var e=0;e<c.length;e++)void 0!==this.dz[c[e]]?-1===a.indexOf(this.dz[c[e]])&&a.push(this.dz[c[e]]):a.push(c[e]);return a};b.prototype.iK=function(a,c){this.Ne||(this.bB[a]=this.Rg(c),this.TA[c]=this.ad(a))};b.prototype.zo=function(a,c,e,g){c=this.Yca(a,c);c.type=e;g.hasOwnProperty("supportedAggregations")&&(c.em=g.supportedAggregations);
|
|
1291
|
-
c.Tc=g.availableAggregations;this.Lj(c);this.iK(c.uniqueName,a);return c};b.prototype.E$=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Pu;void 0!==c.folder&&(m.Pc=c.folder);a.
|
|
1292
|
-
this.Pn(g,l);m.type=k.i.Hc.Pa;void 0!==c.folder&&(m.Pc=c.folder);a.
|
|
1293
|
-
c);f.v(c.interval)?m.interval=this.mapping.Ia(g,"interval","1d"):m.interval=c.interval;this.Te.Qa(e,m);m.inputType=c.type};b.prototype.A$=function(a,c,e){var g=c.hasOwnProperty("hierarchy")?c.hierarchy:c.uniqueName,l=a.Rg(g);void 0===l&&(l=this.Pn(g,g),void 0!==c.folder&&(l.Pc=c.folder),a.
|
|
1291
|
+
c.Tc=g.availableAggregations;this.Lj(c);this.iK(c.uniqueName,a);return c};b.prototype.E$=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Pu;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);a=this.il(m.caption==f.model.A.j.Pk?g+".[]":g,m.caption,1);a.type=k.i.eb.Sc;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.uc,c);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.Zra=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption;a.type=k.i.Zz.lA;var m=
|
|
1292
|
+
this.Pn(g,l);m.type=k.i.Hc.Pa;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);var n=g+".Year";a=this.il(n,f.model.A.j.Tk,m.ta.length);a.type=k.i.eb.Tk;m.sh(a);this.sk.Qa(n,a);c.type==k.i.input.pa.ro&&(n=g+".Quarter",a=this.il(n,f.model.A.j.Ns,m.ta.length),a.type=k.i.eb.Ns,m.sh(a),this.sk.Qa(n,a));n=g+".Month";a=this.il(n,f.model.A.j.Kg,m.ta.length);a.type=k.i.eb.Kg;m.sh(a);this.sk.Qa(n,a);n=g+".Day";a=this.il(n,f.model.A.j.km,m.ta.length);a.type=k.i.eb.km;m.sh(a);this.sk.Qa(n,a);this.Ne||this.zo(g,l,k.i.Ka.uc,
|
|
1293
|
+
c);f.v(c.interval)?m.interval=this.mapping.Ia(g,"interval","1d"):m.interval=c.interval;this.Te.Qa(e,m);m.inputType=c.type};b.prototype.A$=function(a,c,e){var g=c.hasOwnProperty("hierarchy")?c.hierarchy:c.uniqueName,l=a.Rg(g);void 0===l&&(l=this.Pn(g,g),void 0!==c.folder&&(l.Pc=c.folder),a.Zh(l));var m=0;if(c.hasOwnProperty("parent")){m=l.Rt(c.parent);void 0===m&&(m=l.Rt(c.parent.toLowerCase()));if(void 0===m){void 0===this.ta[l.uniqueName]&&(this.ta[l.uniqueName]=[]);this.ta[l.uniqueName][c.parent]=
|
|
1294
1294
|
[c,e];return}m=l.ta.indexOf(m.uniqueName)}else l.type=k.i.Hc.rS(c.levelType);var n=c.hasOwnProperty("caption")?c.caption:c.hasOwnProperty("level")?c.level:e;m=this.il(e,n,m+1);m.type=k.i.eb.rS(c.levelType);m.inputType=k.i.eb.rS(c.inputType);l.sh(m);this.Ne||f.v(this.ad(g))&&this.zo(g,g,k.i.Ka.uc,c);this.Te.Qa(e,m);this.sk.Qa(e,m);this.ta[l.uniqueName]&&this.ta[l.uniqueName][e]&&this.A$(a,this.ta[l.uniqueName][e][0],this.ta[l.uniqueName][e][1]);f.v(l.inputType)&&(l.inputType=c.type)};b.prototype.Ora=
|
|
1295
|
-
function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption;a.type=k.i.Zz.lA;var m=g+".Year",n=l+"."+f.model.A.j.Tk;var p=this.Pn(m,n);p.type=k.i.Hc.Pa;void 0!==c.folder&&(p.Pc=c.folder);f.v(c.interval)?p.interval=this.mapping.Ia(g,"interval","1d"):p.interval=c.interval;a.
|
|
1296
|
-
p.interval=this.mapping.Ia(g,"interval","1d"):p.interval=c.interval;a.
|
|
1297
|
-
a)};b.prototype.lsa=function(a,c,e,g){var l=c.uniqueName,m=f.ia(c.caption)?e:c.caption;this.Ne?g?(l=this.zo(l,m,k.i.Ka.fb,c),f.ia(c.folder)?f.ia(c.dimensionCaption)?f.ia(c.dimensionUniqueName)||(l.Ag=c.dimensionUniqueName):l.Ag=c.dimensionCaption:l.Ag=c.folder,this.Te.Qa(e,l)):(g=this.Pn(l,m),g.type=k.i.Hc.Sp,void 0!==c.folder&&(g.Pc=c.folder),a.
|
|
1298
|
-
c.folder),a.
|
|
1299
|
-
m=this.Pn(g,l);m.type=k.i.Hc.Pu;void 0!==c.folder&&(m.Pc=c.folder);a.
|
|
1300
|
-
c.interval;f.v(c.format)||(m.bl=c.format);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.ssa=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Sp;void 0!==c.folder&&(m.Pc=c.folder);a.
|
|
1301
|
-
(m.Pc=c.folder);a.
|
|
1295
|
+
function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption;a.type=k.i.Zz.lA;var m=g+".Year",n=l+"."+f.model.A.j.Tk;var p=this.Pn(m,n);p.type=k.i.Hc.Pa;void 0!==c.folder&&(p.Pc=c.folder);f.v(c.interval)?p.interval=this.mapping.Ia(g,"interval","1d"):p.interval=c.interval;a.Zh(p);var t=this.il(m+"."+n,n,1);t.type=k.i.eb.Tk;p.sh(t);this.sk.Qa(m,t);this.Ne||this.zo(m,n,k.i.Ka.uc,c);p.inputType=c.type;m=g+".Month";n=l+"."+f.model.A.j.Kg;p=this.Pn(m,n);void 0!==c.folder&&(p.Pc=c.folder);f.v(c.interval)?
|
|
1296
|
+
p.interval=this.mapping.Ia(g,"interval","1d"):p.interval=c.interval;a.Zh(p);var q=this.il(m+"."+n,n,1);q.type=k.i.eb.Kg;p.sh(q);this.sk.Qa(m,t);this.Ne||this.zo(m,n,k.i.Ka.uc,c);p.inputType=c.type;m=g+".Day";l=l+"."+f.model.A.j.km;p=this.Pn(m,l);void 0!==c.folder&&(p.Pc=c.folder);f.v(c.interval)?p.interval=this.mapping.Ia(g,"interval","1d"):p.interval=c.interval;a.Zh(p);g=this.il(m+"."+l,l,1);g.type=k.i.eb.km;p.sh(g);this.sk.Qa(m,t);this.Ne||this.zo(m,l,k.i.Ka.uc,c);p.inputType=c.type;this.Te.Qa(e,
|
|
1297
|
+
a)};b.prototype.lsa=function(a,c,e,g){var l=c.uniqueName,m=f.ia(c.caption)?e:c.caption;this.Ne?g?(l=this.zo(l,m,k.i.Ka.fb,c),f.ia(c.folder)?f.ia(c.dimensionCaption)?f.ia(c.dimensionUniqueName)||(l.Ag=c.dimensionUniqueName):l.Ag=c.dimensionCaption:l.Ag=c.folder,this.Te.Qa(e,l)):(g=this.Pn(l,m),g.type=k.i.Hc.Sp,void 0!==c.folder&&(g.Pc=c.folder),a.Zh(g),l=this.il(l,m,1),l.type=k.i.eb.fb,g.sh(l),this.Te.Qa(e,g),this.sk.Qa(e,g),g.inputType=c.type):(g=this.Pn(l,m),g.type=k.i.Hc.Sp,void 0!==c.folder&&(g.Pc=
|
|
1298
|
+
c.folder),a.Zh(g),a=this.il(l,m,1),a.type=k.i.eb.fb,g.sh(a),this.zo(l,m,k.i.Ka.fb,c),this.Te.Qa(e,g),this.sk.Qa(e,g),g.inputType=c.type)};b.prototype.jsa=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Pa;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);a=this.il(g,l,1);a.type=k.i.eb.Kg;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.uc,c);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.vsa=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,
|
|
1299
|
+
m=this.Pn(g,l);m.type=k.i.Hc.Pu;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);a=this.il(g,l,1);a.type=k.i.eb.km;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.uc,c);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.Qra=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Pa;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);a=this.il(g,l,1);a.type=k.i.eb.Pa;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.Pa,c);f.v(c.interval)?m.interval=this.mapping.Ia(g,"interval","1d"):m.interval=
|
|
1300
|
+
c.interval;f.v(c.format)||(m.bl=c.format);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.ssa=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Sp;void 0!==c.folder&&(m.Pc=c.folder);a.Zh(m);a=this.il(g,l,1);a.type=k.i.eb.Zb;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.Zb,c);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.Sra=function(a,c,e){var g=c.uniqueName,l=f.ia(c.caption)?e:c.caption,m=this.Pn(g,l);m.type=k.i.Hc.Pa;void 0!==c.folder&&
|
|
1301
|
+
(m.Pc=c.folder);a.Zh(m);a=this.il(g,l,1);a.type=k.i.eb.Ec;m.sh(a);this.Ne||this.zo(g,l,k.i.Ka.Ec,c);f.v(c.interval)?m.interval=this.mapping.Ia(g,"interval","1s"):m.interval=c.interval;f.v(c.format)||(m.bl=c.format);this.Te.Qa(e,m);this.sk.Qa(e,m);m.inputType=c.type};b.prototype.Aqa=function(a,c){for(var e=0;e<a.length;e++)if("string"!==typeof a[e])return!1;for(var g in c)if(-1===a.indexOf(g))return!1;return!0};b.prototype.SQ=function(a,c){if(a instanceof k.I.Fj){var e=a;a=a.mapping}else!f.v(c)&&k.I.Fj.HT(a)&&
|
|
1302
1302
|
(e=new k.I.Fj(a));if(void 0!==e){var g={};if(Array.isArray(c)){if(this.Aqa(c,a))for(var l=0;l<c.length;l++){var m=c[l];g[m]=e.n2(m,a[m])}for(var n in a)void 0===g[n]&&(g[n]=a[n])}else{for(n in a)g[n]=a[n];for(n in c)g[n]="object"!==typeof a[n]?{uniqueName:n,caption:n,type:k.i.input.pa.h5(c[n])}:a[n]}}void 0===g&&(g=a);for(n in g)if(void 0!==e||"string"!==typeof g[n]&&"number"!==typeof g[n])if(void 0===e&&f.v(g[n]))this.XY(n,k.i.input.pa.Sc);else if(void 0===e&&g[n]instanceof Date)this.XY(n,f.model.B.C.RR);
|
|
1303
1303
|
else if(void 0===e&&Array.isArray(g[n]))this.Ix(a[n],n);else if(g[n].hasOwnProperty("formula"))f.ia(g[n].formula)||this.ot(g[n],n);else if(Array.isArray(g[n]))this.Ix(g[n],n);else{l=k.i.input.pa.Sc;g[n].hasOwnProperty("type")&&(c=String(g[n].type).trim().toLowerCase(),k.i.input.pa.valid(c),l=k.me.type(c));l!==k.i.input.pa.fb&&(a[n]&&delete a[n].isMeasure,delete g[n].isMeasure);g[n].hasOwnProperty("isMeasure")&&String(g[n].isMeasure).trim();c={};for(var p in g[n])c[p]=g[n][p];c.type=l;this.Ix(c,n)}else c=
|
|
1304
1304
|
k.i.input.pa.h5(g[n]),this.XY(n,c);this.Yd=!0};b.prototype.ot=function(a,c){c=new k.I.ik(c,void 0==a.caption?c:a.caption);c.Ge=a.formula;c.yn=void 0==a.calculateNaN?c.yn:a.calculateNaN;a.hasOwnProperty("grandTotalCaption")&&(c.Pr=a.grandTotalCaption);f.model.B.C.ZV&&(a=x.EO.gR(c.Ge,c.uniqueName),0==a.nw&&f.Ua(a.errorMessage));f.model.Ta.P().ot(c)};b.prototype.XY=function(a,c){this.Ix({uniqueName:a,caption:a,WK:a,type:c},a)};b.prototype.Ix=function(a,c){c=void 0===c?"":c;if(!Array.isArray(a)){var e=
|
|
@@ -1307,7 +1307,7 @@ a.type===k.i.input.pa.yE||(a.levelType=a.type===k.i.input.pa.sf?k.i.input.pa.Sc:
|
|
|
1307
1307
|
var l=!1;a.hasOwnProperty("isMeasure")&&(l=f.O.Rc(String(a.isMeasure).trim()));this.Ne&&l||void 0!==g||(g=k.I.Wq.tb(a),a.uniqueName=k.me.Bg(a.uniqueName,a.caption),a.hasOwnProperty("dimensionUniqueName")&&(g.caption=g.uniqueName=a.dimensionUniqueName),a.hasOwnProperty("dimensionCaption")&&(g.caption=a.dimensionCaption),e===k.i.input.pa.sf&&a.hasOwnProperty("hierarchy")&&!a.hasOwnProperty("dimensionUniqueName")&&(g.uniqueName=a.hierarchy),this.pt(g));this.types[c]=e;switch(e){case k.i.input.pa.Sc:this.E$(g,
|
|
1308
1308
|
a,c);break;case k.i.input.pa.fb:this.lsa(g,a,c,l);break;case k.i.input.pa.Kg:this.jsa(g,a,c);break;case k.i.input.pa.rm:this.vsa(g,a,c);break;case k.i.input.pa.Pa:this.Ora(g,a,c);break;case k.i.input.pa.Ec:this.Sra(g,a,c);break;case k.i.input.pa.Zb:this.ssa(g,a,c);break;case k.i.input.pa.sf:this.A$(g,a,c);break;case k.i.input.pa.Rp:case k.i.input.pa.ro:this.Zra(g,a,c);break;case k.i.input.pa.Pi:this.Qra(g,a,c);break;case k.i.input.pa.lx:this.id=c;this.Te.Qa(c,null);break;case k.i.input.pa.n6:this.TR=
|
|
1309
1309
|
c;break;case k.i.input.pa.m7:break;case k.i.input.pa.yE:this.Nra(a,c);break;default:this.E$(g,a,c)}};b.prototype.jc=function(a,c,e,g,l){if(Array.isArray(this.Hv[c]))for(e=0;e<this.Hv[c].length;e++)this.V8(a,this.Hv[c][e],this.jC(this.Hv[c][e]),g,l);else return this.V8(a,c,e,g,l)};b.prototype.V8=function(a,c,e,g,l){a=a.clone();if(this.Ne&&e===k.i.input.pa.fb)l.push(f.O.W4(a.value));else{var m=c=this.hC(c);if(!f.v(m)){switch(e){case k.i.input.pa.Pa:m=c.Na.ea(0);var n=m.jc(a,e);break;case k.i.input.pa.sf:var p=
|
|
1310
|
-
c.hierarchy.ta.ea(c.sb-1);0<p.sb&&f.v(a.parent)&&f.v(a.
|
|
1310
|
+
c.hierarchy.ta.ea(c.sb-1);0<p.sb&&f.v(a.parent)&&f.v(a.ii)&&(a.parent=c.hierarchy.ua(g[this.sk.indexOf(p.uniqueName)]));a.level=c;p=c.hierarchy.jc(a,e);break;default:p=m.jc(a,e)}switch(e){case k.i.input.pa.fb:this.Ne||g.push(p.ordinal);l.push(f.O.W4(a.value));break;case k.i.input.pa.Ec:case k.i.input.pa.Pi:g.push(p.ordinal);this.Ne||l.push(p.cc);break;case k.i.input.pa.Rp:1===p.level.sb?(g.push(p.ordinal),g.push(NaN),g.push(NaN)):(g.push(p.parent.parent.ordinal),g.push(p.parent.ordinal),g.push(p.ordinal));
|
|
1311
1311
|
this.Ne||l.push(1);break;case k.i.input.pa.ro:1===p.level.sb?(g.push(p.ordinal),g.push(NaN),g.push(NaN),g.push(NaN)):(g.push(p.parent.parent.parent.ordinal),g.push(p.parent.parent.ordinal),g.push(p.parent.ordinal),g.push(p.ordinal));this.Ne||l.push(1);break;case k.i.input.pa.Pa:for(e=0;e<n.length;e++)g.push(n[e].ordinal),this.Ne||l.push(1);break;case k.i.input.pa.Zb:g.push(p.ordinal);this.Ne||l.push(p.cc);break;case k.i.input.pa.sf:g.push(p.ordinal);this.Ne||1===p.level.sb&&l.push(1);break;default:g.push(p.ordinal),
|
|
1312
1312
|
this.Ne||(f.ia(a.value)?l.push(NaN):l.push(1))}return p}}};b.prototype.Nra=function(a,c){this.Z0=!0;a=a.hierarchy;f.v(this.jf[a])&&(this.jf[a]=[]);this.Te.Qa(c,null);this.jf[a].push(c)};d.rE=b})(h.I||(h.I={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1313
1313
|
(function(f){(function(k){(function(h){function d(){var b=this;this.iI=1048576;this.ZBa=this.GT=!1;this.vB=this.Oj=this.xK=0;this.encoding="UTF-8";this.cia=function(){return b.mGa()};this.jj=function(){return b.pp()}}d.prototype.uN=function(b,a){var c=this;this.timer=new x.Ps(100,1E5);this.timer.N(x.bf.Qk,this.cia);this.timer.N(x.bf.Rk,this.jj);this.timer.start();this.ma=new D.J8;this.ma.responseType="blob";this.ma.N(z.da.Tz,function(){return c.aEa()});this.ma.N(z.da.ke,function(e){return c.ora(e)});
|
|
@@ -1335,10 +1335,10 @@ this.va.sa.i0(function(){c.$y()})};a.prototype.requestPermission=function(){f.Ua
|
|
|
1335
1335
|
function(){return c.ql()});this.aw.Y$(this.W_)};a.prototype.DEa=function(){f.za(!0,f.model.A.j.Kf,"",!0,!0);this.ma=this.aw;this.aw.load();this.aw=null};a.prototype.f2=function(c,e,g){var l=this;e=void 0===e?null:e;g=void 0===g?!1:g;this.timer=new x.Ps(100,1E5);this.timer.N(x.bf.Qk,this.Lk);this.timer.N(x.bf.Rk,this.jj);this.timer.start();var m=new D.Wi;m.dataType=D.Xz.yA;m.N(z.da.Lc,function(){return l.EM()});m.N(z.da.Tz,function(){return l.K2()});m.N(z.da.ke,function(n){return l.FM(n)});m.N(z.da.xa,
|
|
1336
1336
|
function(n){return l.ql(n)});m.zh(e);m.withCredentials=g;m.load(c);this.ma=m};a.prototype.cs=function(){0<this.Oj||this.Sn||this.fM?this.cg():null!=this.timer&&f.za(!0,f.model.A.j.Kf,f.O.bind(f.model.A.j.Js,x.Vb.format(this.timer.gy/10,new f.model.$b.W.rf,!1,!1,1)))};a.prototype.pp=function(){this.timer.wl&&this.cg()};a.prototype.cg=function(){this.timer&&this.timer.wl&&(this.timer.stop(),this.timer.mb(x.bf.Qk,this.Lk),this.timer.mb(x.bf.Rk,this.jj))};a.prototype.BEa=function(){null!=this.DF&&(this.DF(),
|
|
1337
1337
|
this.DF=null);this.clear()};a.prototype.ql=function(c){c=void 0===c?null:c;f.za(!1);var e="",g="";null!=c&&null!=c.target&&null!=c.target.response&&""!=c.target.response&&(g=f.model.Nb.validate(c.target.response),e=g=700<g.length?g.substr(0,700):g,g=f.O.bind(f.model.A.j.WO,g).replace(/'/g,""));0==this.fM&&(this.fM=!0,c=f.model.Nb.valid(this.filename)?this.filename:f.model.Nb.validate(this.filename),f.Ua(f.O.bind(f.model.A.j.WI,c)+g,f.model.A.j.xa,f.qb.xa));null!=this.Ya&&(this.Ya(e),this.Ya=null);
|
|
1338
|
-
this.cg()};a.prototype.Q2=function(){f.za(!1);f.Ua(f.O.bind(f.model.A.j.L7),f.model.A.j.xa,f.qb.xa)};a.prototype.FM=function(c){var e=c.data;if(404==e.target.status)this.ql(c);else if(!f.v(this.ma))try{var g=this.ma.response;if(null!=g&&0!=g.length&&(this.Oj!=e.loaded||this.QB!=g.length)&&(this.$L=0<e.total&&e.lengthComputable,this.QB=g.length,this.Oj=e.loaded,1E4<g.length-this.Nh||e.loaded==e.total)){this.Sn=e.loaded==e.total&&e.loaded>=this.ma.response.length;void 0===g||x.
|
|
1339
|
-
g.length));this.Nh=g.length;var l=0==e.total?f.O.bind(f.model.A.j.El,x.Vb.zg(e.loaded)):f.O.bind(f.model.A.j.vE,x.Vb.zg(e.loaded),x.Vb.zg(e.total),(e.loaded/e.total*100).toFixed(0));f.za(!0,f.model.A.j.Kf,l)}}catch(m){console.error(m.stack),this.ql()}};a.prototype.K2=function(){f.za(!0,f.model.A.j.Kf,"")};a.prototype.os=function(){null!=this.Ce&&(this.Ce(),this.Ce=null)};a.prototype.EM=function(){if(!f.v(this.ma)){try{if(0==this.Nh||!this.$L||x.
|
|
1338
|
+
this.cg()};a.prototype.Q2=function(){f.za(!1);f.Ua(f.O.bind(f.model.A.j.L7),f.model.A.j.xa,f.qb.xa)};a.prototype.FM=function(c){var e=c.data;if(404==e.target.status)this.ql(c);else if(!f.v(this.ma))try{var g=this.ma.response;if(null!=g&&0!=g.length&&(this.Oj!=e.loaded||this.QB!=g.length)&&(this.$L=0<e.total&&e.lengthComputable,this.QB=g.length,this.Oj=e.loaded,1E4<g.length-this.Nh||e.loaded==e.total)){this.Sn=e.loaded==e.total&&e.loaded>=this.ma.response.length;void 0===g||x.Cd().Gi||this.Kq(g.substring(this.Nh,
|
|
1339
|
+
g.length));this.Nh=g.length;var l=0==e.total?f.O.bind(f.model.A.j.El,x.Vb.zg(e.loaded)):f.O.bind(f.model.A.j.vE,x.Vb.zg(e.loaded),x.Vb.zg(e.total),(e.loaded/e.total*100).toFixed(0));f.za(!0,f.model.A.j.Kf,l)}}catch(m){console.error(m.stack),this.ql()}};a.prototype.K2=function(){f.za(!0,f.model.A.j.Kf,"")};a.prototype.os=function(){null!=this.Ce&&(this.Ce(),this.Ce=null)};a.prototype.EM=function(){if(!f.v(this.ma)){try{if(0==this.Nh||!this.$L||x.Cd().Gi||this.Nh<=this.ma.response.length){var c=this.ma.response;
|
|
1340
1340
|
f.ia(c)&&!this.mu?this.$y():(this.Sn=!0,this.mu)?this.$L||(this.Nh<c.length?(this.Kq(c.substring(this.Nh,c.length)),this.Nh=c.length):this.data.push(this.ee)):this.Kq(c)}}catch(e){console.error(e.stack),this.ql()}this.ma=null}};a.Mda=function(c){c=c.toLowerCase();return-1!=c.indexOf("<html>")||-1!=c.indexOf("<config>")||0==c.trim().length||-1!=c.indexOf("<!doctype")?(f.Ua(f.model.A.j.Gna,f.model.A.j.xa,f.qb.xa),!1):!0};a.prototype.Kq=function(c){var e=this;this.mu=!0;this.os();0===this.Nv&&-1===c.indexOf("\n")&&
|
|
1341
|
-
-1!==c.indexOf("\r")&&(this.recordsetDelimiter="\r");f.v(this.fieldSeparator)&&(this.fieldSeparator=this.Pta(-1==c.indexOf("\n")&&-1==c.indexOf("\r")?c:c.substring(0,c.indexOf(this.recordsetDelimiter))));this.appendData(c);!1===this.ET&&(1<this.data.length||f.model.B.C.GH)&&(this.rea&&this.data.shift(),this.eD(this.data.shift(),this.data[0],this.va.ga.mapping),this.va.sa.vH(),this.ET=!0);0!==this.Nh&&!x.
|
|
1341
|
+
-1!==c.indexOf("\r")&&(this.recordsetDelimiter="\r");f.v(this.fieldSeparator)&&(this.fieldSeparator=this.Pta(-1==c.indexOf("\n")&&-1==c.indexOf("\r")?c:c.substring(0,c.indexOf(this.recordsetDelimiter))));this.appendData(c);!1===this.ET&&(1<this.data.length||f.model.B.C.GH)&&(this.rea&&this.data.shift(),this.eD(this.data.shift(),this.data[0],this.va.ga.mapping),this.va.sa.vH(),this.ET=!0);0!==this.Nh&&!x.Cd().Gi||this.fM||x.Sk.vn({eo:function(){return e.yu()},Re:function(){return e.$y()}})};a.prototype.$y=
|
|
1342
1342
|
function(){f.za(!1);this.ET?null!=this.Ib&&this.Ib():(f.model.B.C.GH||f.Ua(f.model.A.j.Xu,f.model.A.j.xa,f.qb.Nk),null!=this.Ya&&(this.Ya(f.model.A.j.Xu),this.Ya=null));this.clear()};a.prototype.eD=function(c,e,g){if("string"==typeof c&&!a.Mda(c)||"object"==typeof c&&!a.Mda(c.toString()))this.ql();else try{f.v(this.fieldSeparator)&&(this.fieldSeparator=",");var l="string"==typeof c?a.Qha(c,this.fieldSeparator):c,m="string"==typeof e?a.Qha(e,this.fieldSeparator):f.v(e)?[]:e;this.Rl=[];for(c=0;c<l.length;c++){var n=
|
|
1343
1343
|
this.DS(m[c]),p=this.bw(l[c],n,0==m.length),t=this.E0(l[c],n,0==m.length),q=this.wL(l[c]),v=this.uL(q),y={type:p,uniqueName:q,caption:this.Rya(l[c])||v,isMeasure:t};void 0!==g&&(y=g.n2(q,y),f.v(g.Ia(q,"hierarchy"))||y.type===k.i.input.pa.yE||(y.type="level"));if(!y.hasOwnProperty("visible")||!1!==y.visible){this.GB[c]=y.type;this.Ue[c]=y.isMeasure;this.Rl[c]=q;if(p===k.i.input.pa.sf){var A=q.split(":");y.hierarchy=A[0];y.level=A.pop();y.parent=A.join(":")}this.va.I.Ix(y,q)}}}catch(C){console.error(C.stack),
|
|
1344
1344
|
this.Q2()}};a.prototype.DS=function(c){void 0!==c&&null!==c&&"string"==typeof c&&(this.thousandsSeparator&&0<this.thousandsSeparator.length&&(f.v(this.U4)&&(this.U4=new RegExp(this.thousandsSeparator,"g")),c=c.replace(this.U4,"")),c=c.replace(",","."));return c};a.prototype.uL=function(c){var e=c.split(b.aI);if(1<e.length)return e[1];this.Jy(c)&&(e=c.split(":"));return e[e.length-1]};a.prototype.wL=function(c){c=c.trim().split(b.aI)[0];c=this.S3(c);if(-1<this.Rl.indexOf(c)){for(var e=1,g=c;-1<this.Rl.indexOf(g);)g=
|
|
@@ -1358,8 +1358,8 @@ this.nr==this.bY?this.Pqa:this.Rqa};b.prototype.DCa=function(a){var c=this;this.
|
|
|
1358
1358
|
this.vi||this.Fx||this.mY)this.cg();else{var a=this.Ll.gy/10;this.kY?(196<a&&(a=196),a=x.Vb.format(a/2,new f.model.$b.W.rf,!1,!1,1)+"%"):a=f.O.bind(f.model.A.j.Js,x.Vb.format(a,new f.model.$b.W.rf,!1,!1,1));f.za(!0,f.model.A.j.Kf,a)}};b.prototype.ql=function(a,c){a=void 0===a?null:a;c=void 0===c?"":c;f.za(!1);var e="";""==c&&null!=a&&null!=a.target&&null!=a.target.response&&""!=a.target.response&&(e=f.model.Nb.validate(a.target.response),c=e=700<e.length?e.substr(0,700):e,e=f.O.bind(f.model.A.j.WO,
|
|
1359
1359
|
e).replace(/'/g,""));0==this.mY&&(this.mY=!0,a=f.model.Nb.valid(this.UE)?this.UE:f.model.Nb.validate(this.UE),f.Ua(f.O.bind(f.model.A.j.WI,a)+e,f.model.A.j.xa,f.qb.xa));null!=this.Ya&&(this.Ya(c),this.Ya=null);this.clear()};b.prototype.haa=function(a){if(0==this.I9&&22<a.length){if(this.RBa(a)){if(0==this.kBa(a.substr(0,a.indexOf(this.pX))))return this.ZDa(),!0;this.I9=!0;return!1}this.fBa(a)?(x.Sk.cancel(),null!=this.Kl&&(this.Kl.Od(),this.Kl.dispose(),this.Kl=null),f.Ua("OCSV data format is deprecated. Please contact the support team for more information."),
|
|
1360
1360
|
this.clear()):(this.clear(),(new d.jI).load(this.ub,this.RY,this.dQ,this.Ce,null));return!0}return!1};b.prototype.FM=function(a){if(null!=this.Kl&&!(null!=a.data&&a.data.target&&400<=a.data.target.status)){a=a.data;try{var c=this.Kl.response;if(this.vi!=a.loaded&&null!=c&&0!=c.length){this.jY=0<a.total&&a.lengthComputable;this.vi=a.loaded;""==this.nr&&this.iba(c);var e=0;if(-1<(e=c.indexOf(this.nr)))c=c.substring(e+this.nr.length+1),this.l9=!0;else if(this.ub.isOCSV2Data&&!this.l9)return;c=f.O.trimLeft(c);
|
|
1361
|
-
if(!this.haa(c)&&(1E4<c.length-this.hq||a.loaded==a.total)){this.Fx=a.loaded==a.total&&a.loaded>=this.Kl.response.length;void 0===c||x.
|
|
1362
|
-
"")};b.prototype.EM=function(){if(null!=this.Kl)try{if(0==this.hq||!this.jY||x.
|
|
1361
|
+
if(!this.haa(c)&&(1E4<c.length-this.hq||a.loaded==a.total)){this.Fx=a.loaded==a.total&&a.loaded>=this.Kl.response.length;void 0===c||x.Cd().A1||this.Kq(c.substring(this.hq,c.length));this.hq=c.length;var g=0==a.total?f.O.bind(f.model.A.j.El,x.Vb.zg(a.loaded)):f.O.bind(f.model.A.j.vE,x.Vb.zg(a.loaded),x.Vb.zg(a.total));f.za(!0,f.model.A.j.Kf,g)}}}catch(l){console.error(l.stack),this.ql(null,l.message?"File loading error: "+l.message:"")}}};b.prototype.K2=function(){this.kY=!0;f.za(!0,f.model.A.j.Kf,
|
|
1362
|
+
"")};b.prototype.EM=function(){if(null!=this.Kl)try{if(0==this.hq||!this.jY||x.Cd().A1||this.hq<=this.Kl.response.length){var a=this.Kl.response,c=0;-1<(c=a.indexOf(this.nr))&&(a=a.substring(c+this.nr.length+1));if(this.Kl.response instanceof ArrayBuffer){var e=new f.$q(this.Kl.response,0,f.$q.gI);a=e.aV(e.byteLength)}this.Fx=this.kY=!0;this.H9?this.jY?this.hq<a.length&&(this.Kq(a.substring(this.hq,a.length)),this.hq=a.length):this.hq<a.length?(this.Kq(a.substring(this.hq,a.length)),this.hq=a.length):
|
|
1363
1363
|
this.rk.push(this.Gx):this.Kq(a)}}catch(g){console.error(g.stack),this.ql(null,g.message?"ERROR: "+g.message:"")}};b.prototype.Kq=function(a){var c=this;this.H9=!0;this.os();this.appendData(a);0==this.oY&&1<this.rk.length&&(this.rk.shift(),this.eD(this.rk.shift()),this.oY=!0,x.Sk.vn({eo:function(){return c.yu()},Re:function(){return c.$y()}}))};b.prototype.RBa=function(a){return"string"==typeof a&&"___ocsv2___"==a.substr(0,11)};b.prototype.fBa=function(a){try{if("string"==typeof a)for(var c=0;c<a.length;c++){if(10>
|
|
1364
1364
|
a.charCodeAt(c)||255<a.charCodeAt(c))return!0;if(50<c)return!1}if(a instanceof ArrayBuffer)return 1600085871!=(new f.$q(a,0,f.$q.gI)).uga();if(a instanceof f.$q)return 1600085871!=a.uga()}catch(e){}return!1};b.prototype.appendData=function(a){void 0!==this.Gx&&0<this.Gx.length&&(a=this.Gx+a);a=0<=a.indexOf(this.pX)?a.split(this.pX):[];for(var c=0;c<a.length;c++)f.ia(a[c])||this.rk.push(a[c]);1!=this.Fx&&(this.Gx=f.ia(a[a.length-1])?a.pop():this.rk.pop(),this.Gx=this.Gx==this.WP?this.rk.pop():this.Gx)};
|
|
1365
1365
|
b.prototype.kBa=function(a){this.QX=a.replace("___ocsv2___","").split("/")[1];return void 0!=this.QX&&1==f.O.yR(this.QX,f.Mg.Vq)?!1:!0};b.prototype.eD=function(a){a=a.split(this.yI);this.mr=[];for(var c=0;c<a.length;c++){var e=this.bw(a[c]),g=this.wL(a[c]),l=this.uL(g);this.Vs[c]=e;this.mr.push(g);l={type:e,caption:l,uniqueName:g};e===k.i.input.pa.sf&&(e=g.split(":"),l.hierarchy=e[0],l.level=e.pop(),l.parent=e.join(":"));this.df.I.Ix(l,g)}this.df.sa.vH()};b.prototype.bw=function(a){var c=k.i.input.pa.Sxa(a);
|
|
@@ -1377,16 +1377,16 @@ this.mapping.clone(this.Ba);this.withCredentials&&(a.withCredentials=this.withCr
|
|
|
1377
1377
|
{}))})(w||(w={}));
|
|
1378
1378
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=h.csv.jI.call(this)||this;a.iI=6553600;a.pw=!0;a.tq=null;a.H3=function(){return a.FFa()};a.isArray=!1;a.PM=0;a.hj=0;a.kHa=0;a.W_=[".js",".json"];return a}u(b,h.csv.jI);b.prototype.load=function(a,c,e,g,l){this.clear();this.PB=this.RF=this.Im=null;this.kHa=this.hj=0;this.pw=!0;this.tq=a.tq;this.Ib=c;this.Ya=e;this.Ce=g;this.DF=l;!0===a.browseForFile?this.Z$(a):void 0!==a.filename&&""!=a.filename&&"()"!=a.filename.substr(-2)?h.csv.jI.prototype.load.call(this,
|
|
1379
1379
|
a,c,e,g,l):(this.Sn=!0,this.eK(a.data))};b.prototype.FFa=function(){if(!(f.v(this.ma)||f.v(this.ma.response)||!this.pw&&this.ma.response.length<this.iI/100)){var a=this.ma.response.substr(this.Nh,this.iI);this.Kq(a);this.Nh+=a.length}};b.prototype.FM=function(a){var c=a.data;if(404==c.target.status)this.ql(a);else if(!f.v(this.ma)&&!f.v(this.ma.response))try{if(0!==this.ma.response.length&&(this.Oj!=c.loaded||this.QB!=this.ma.response.length)){this.$L=0<c.total&&c.lengthComputable;this.QB=this.ma.response.length;
|
|
1380
|
-
this.Oj=c.loaded;this.Sn=c.loaded==c.total;var e=0==c.total?f.O.bind(f.model.A.j.El,x.Vb.zg(c.loaded)):f.O.bind(f.model.A.j.vE,x.Vb.zg(c.loaded),x.Vb.zg(c.total),(c.loaded/c.total*100).toFixed(0));f.za(!0,f.model.A.j.Kf,e);this.$L&&c.total<5*this.iI||x.
|
|
1380
|
+
this.Oj=c.loaded;this.Sn=c.loaded==c.total;var e=0==c.total?f.O.bind(f.model.A.j.El,x.Vb.zg(c.loaded)):f.O.bind(f.model.A.j.vE,x.Vb.zg(c.loaded),x.Vb.zg(c.total),(c.loaded/c.total*100).toFixed(0));f.za(!0,f.model.A.j.Kf,e);this.$L&&c.total<5*this.iI||x.Cd().Gi||!f.v(this.tq)?this.pw=!0:this.mu||(this.pw=!1,this.H3())}}catch(g){console.error(g.stack),this.ql()}};b.prototype.EM=function(){if(!f.v(this.ma)&&!f.v(this.ma.response))try{if(this.Sn=!0,0==this.Nh||!this.mu||this.pw){var a=this.ma.response;
|
|
1381
1381
|
f.ia(a)&&!this.mu?this.wU():this.Kq(a);this.ma=null}}catch(c){console.error(c.stack),this.ql()}};b.prototype.fza=function(a){return this.pw&&!f.v(this.tq)&&0<this.tq.length?x.Ic.resolve(this.tq,a):a};b.prototype.Kq=function(a){var c=null;try{if(!this.pw){if(0==a.length){this.Sn?this.eK([]):f.re(this.H3,100);return}a=this.sZ(a)}c=this.fza(JSON.parse(a));f.v(c.items)||(c=c.items);if(f.v(c.length)){this.GM();return}}catch(e){this.GM();return}this.eK(c)};b.prototype.sZ=function(a){void 0!==this.ee&&0<
|
|
1382
1382
|
this.ee.length&&(a=this.ee+a);a=a.trim();if("["===a[0]){a=a.substr(1).trim();var c=a[0];a="["!==c&&"{"!==c?"["+a:a}else c=a.trim(),"]"===c[c.length-1]&&(c=c.slice(0,-1).trim(),a=c[c.length-1],a="]"!==a&&"}"!==a?c+"]":c);c=a.lastIndexOf("},");var e=a.lastIndexOf("],");f.ia(this.ee)&&-1===c&&-1===e?a="["+a:(c=c<e?e:c,this.ee=a.substr(c+2),a="["+a.substr(0,c+1)+"]");return a};b.prototype.eK=function(a){var c=this;f.v(a.items)||(a=a.items);(f.v(a)||1>a.length)&&!f.model.B.C.GH?!this.mu&&this.Sn&&this.wU():
|
|
1383
1383
|
Array.isArray(a)?(this.mu?this.data=this.data.concat(a.slice()):(this.mu=!0,this.os(),(this.isArray=!f.v(a[1])&&Array.isArray(a[1]))&&this.UIa(a[0]),a[0]&&Array.isArray(a[0])?this.eD(a[0],a[1],this.va.ga.mapping):this.va.ga.mapping.Zda?this.va.I.SQ(this.va.ga.mapping,a[0]):this.va.I.SQ(a[0],a[1]),this.data=a.slice(),(k.I.Fj.HT(a[0])||this.isArray)&&this.data.shift()),0==this.data.length?this.pw?this.pH():this.$y(!0):this.pw?x.Sk.vn({eo:function(){return c.yu()},Re:function(){return c.pH()}}):this.fM||
|
|
1384
1384
|
x.Sk.vn({eo:function(){return c.yu()},Re:function(){return c.$y()}})):f.Ua(f.model.A.j.UI,f.model.A.j.xa)};b.prototype.$y=function(a){(void 0===a?0:a)||f.v(this.ma)||!(this.ma.response.length>this.Nh)&&this.Sn?(this.mu?(f.ia(this.ee)||("]"==this.ee.substr(-1)&&(this.ee=this.ee.substr(0,this.ee.length-1).trim(),a=this.ee.substr(this.ee.length-1),this.ee="]"!=a&&"}"!=a?this.ee+"]":this.ee),a=JSON.parse(this.ee),this.data.push(a),this.yu()),null!=this.Ib&&(this.clear(),this.Ib())):(f.Ua(f.model.A.j.Xu,
|
|
1385
|
-
f.model.A.j.xa,f.qb.Nk),null!=this.Ya&&(this.Ya(f.model.A.j.Xu),this.Ya=null)),this.clear()):f.re(this.H3,1)};b.prototype.Kd=function(a){if(!(f.v(a)||1>a.length)){this.va.sa.dua();for(var c=1<a.length?a[1]&&Array.isArray(a[1]):a[0]&&Array.isArray(a[0]),e=0;e<a.length;e++)this.insertData(a[e],!0,c)}};b.prototype.pH=function(){this.data=null;f.za(!1);f.qg(this.Ib)&&this.Ib();this.clear()};b.prototype.L0=function(){return x.
|
|
1385
|
+
f.model.A.j.xa,f.qb.Nk),null!=this.Ya&&(this.Ya(f.model.A.j.Xu),this.Ya=null)),this.clear()):f.re(this.H3,1)};b.prototype.Kd=function(a){if(!(f.v(a)||1>a.length)){this.va.sa.dua();for(var c=1<a.length?a[1]&&Array.isArray(a[1]):a[0]&&Array.isArray(a[0]),e=0;e<a.length;e++)this.insertData(a[e],!0,c)}};b.prototype.pH=function(){this.data=null;f.za(!1);f.qg(this.Ib)&&this.Ib();this.clear()};b.prototype.L0=function(){return x.Cd().Gi?0==this.data.length?f.O.bind(f.model.A.j.gX,this.hj):f.O.bind(f.model.A.j.UO,
|
|
1386
1386
|
this.hj,this.data.length,(this.hj/this.data.length*100).toFixed(0)):0!=this.Oj?f.O.bind(f.model.A.j.vE,x.Vb.zg(this.Nh),x.Vb.zg(this.Oj),(this.Nh/this.Oj*100).toFixed(0)):0==this.Oj&&0<this.data.length?f.O.bind(f.model.A.j.UO,this.hj,this.data.length,(this.hj/this.data.length*100).toFixed(0)):f.O.bind(f.model.A.j.El,x.Vb.zg(this.Nh))};b.prototype.yu=function(){if(0===this.hj%100&&200<x.zf()-this.PM){var a=f.model.A.j.TO,c=this.L0();1==this.Sn&&f.za(!0,a,c);this.PM=x.zf()}if(this.hj>=this.data.length)return!0;
|
|
1387
1387
|
f.v(this.data[this.hj])||this.insertData(this.data[this.hj],!1,this.isArray);this.hj++;return this.hj>=this.data.length};b.prototype.p4=function(){this.Im=this.va.I.t0(!1);this.RF=[];for(var a=0;a<this.Im.length;a++)this.RF[a]=this.va.I.jC(this.Im[a]);this.va.sa.vH()};b.prototype.UIa=function(a){this.PB=new f.ob;if(Array.isArray(a))for(var c=0;c<a.length;c++)this.PB.Qa(a[c],c);else{c=0;for(var e in a)a.hasOwnProperty(e)&&(f.v(a[e])||f.ia(a[e].uniqueName)?this.PB.Qa(e,c):this.PB.Qa(a[e].uniqueName,
|
|
1388
1388
|
c),c++)}};b.prototype.insertData=function(a,c,e){null===this.Im&&this.p4();var g=[],l=[],m=!1,n=new Map;if(c){var p=this.va.I.TR;""!==p&&(e?(m=this.PB.getItem(p),m=!f.v(a[m])):m=!f.v(a[p]))}for(var t=0;t<this.Im.length;t++){p=this.Im[t];var q=this.RF[t];if(e){var v=this.PB.getItem(p);var y=a.hasOwnProperty(""+v);v=a[v]}else y=a.hasOwnProperty(p),v=a[p];if(q!==k.i.input.pa.yE)if(q===k.i.input.pa.lx)var A=v;else if(!m){var C=void 0;this.va.I.Z0&&(C=this.z0(a,p,e));y=y?new k.I.Sd({jf:C,value:v,caption:""+
|
|
1389
|
-
v}):new k.I.Sd({jf:C});q===k.i.input.pa.sf&&(v=this.va.I.hC(p),v=v.hierarchy.ta.ea(v.sb-1).uniqueName,n.has(v)?y.parent=n.get(v):void 0!==a[v]&&(y.
|
|
1389
|
+
v}):new k.I.Sd({jf:C});q===k.i.input.pa.sf&&(v=this.va.I.hC(p),v=v.hierarchy.ta.ea(v.sb-1).uniqueName,n.has(v)?y.parent=n.get(v):void 0!==a[v]&&(y.ii=a[v]));n.set(p,this.va.I.jc(y,p,q,g,l))}}c?m?this.va.sa.kwa(A):this.va.sa.update(g,l,A):this.va.sa.insert(g,l,A)};b.prototype.z0=function(a,c,e){var g=this;e=void 0===e?!1:e;var l=void 0;(c=this.va.I.Dca(c))&&0<c.length&&c.forEach(function(m){if(e){var n=g.PB.getItem(m);n=a[n]}else n=a[m];f.v(n)||(f.v(l)&&(l={}),l[m]=n)});return l};b.prototype.GM=function(){f.Ua(f.model.A.j.UI,
|
|
1390
1390
|
f.model.A.j.xa);f.za(!1);f.qg(this.Ya)&&this.Ya(f.model.A.j.UI);this.Ib=this.Ya=null;this.clear()};b.prototype.wU=function(){f.model.B.C.GH||f.Ua(f.model.A.j.Xu,f.model.A.j.xa,f.qb.Nk);f.za(!1);f.qg(this.Ya)&&this.Ya(f.model.A.j.Xu);this.Ib=this.Ya=null;this.clear()};d.tma=b})(h.json||(h.json={}))})(k.local||(k.local={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1391
1391
|
(function(f){(function(k){(function(h){(function(d){function b(){}function a(){this.wY=null;this.vf=0;this.hr=this.YP=this.rk=null;this.cf=0}a.prototype.getData=function(c){this.Z8=c;f.za(!0,f.model.A.j.R7);this.uHa();this.zR()};a.prototype.uHa=function(){this.hr=k.La.P().I.tc();this.wY={};this.Il=[];for(this.cf=0;this.cf<this.hr.length;){var c=this.hr.ea(this.cf);var e=k.La.P().I.He(c.uniqueName).type;e!=k.i.Ka.uc&&e!=k.i.Ka.Pa?this.AHa(k.La.P().I.He(c.uniqueName)):this.yHa(c);this.cf++}this.lua(this.Il)};
|
|
1392
1392
|
a.prototype.lua=function(c){for(var e,g=0;g<c.length;g++)e={},c[g].type!=k.i.input.pa.sf&&(e.caption=c[g].caption),e.type=c[g].type,c[g].type==k.i.input.pa.sf&&this.XGa(c[g],e),this.wY[c[g].uniqueName]=e};a.prototype.XGa=function(c,e){var g=c.uniqueName.split(":");1==g.length?(e.hierarchy=g[0],e.level=g[0]):(e.hierarchy=g[0],e.level=g[g.length-1],e.parent=g[g.length-2],c.uniqueName=e.level)};a.prototype.zR=function(){var c=this;this.vf=0;this.rk=[];this.rk.push(this.wY);this.un=k.La.P().sa.QL();x.Sk.vn({eo:function(){return c.Lua()},
|
|
@@ -1407,14 +1407,14 @@ b.prototype.DS=function(a){void 0!==a&&null!==a&&"string"==typeof a&&(a=a.replac
|
|
|
1407
1407
|
"+"===a.charAt(0)?g=k.i.input.pa.Sc:"t+"===a.substr(0,2)?g=k.i.input.pa.Zb:"dt+"===a.substr(0,3)?g=k.i.input.pa.Ec:"n+"===a.substr(0,2)?g=k.i.input.pa.fb:"-"===a.charAt(0)?g=k.i.input.pa.fb:"ds+"===a.substr(0,3)?g=k.i.input.pa.Pi:"d+"===a.substr(0,2)?g=k.i.input.pa.Pa:"m+"===a.substr(0,2)?g=k.i.input.pa.Kg:"w+"===a.substr(0,2)?g=k.i.input.pa.rm:"D+"===a.substr(0,2)?g=k.i.input.pa.Rp:"D4+"===a.substr(0,3)?g=k.i.input.pa.ro:"id+"===a.substr(0,3)?g=k.i.input.pa.lx:""==c||void 0===c?g=k.i.input.pa.Sc:
|
|
1408
1408
|
isNaN(Number(c))&&(g=f.O.vT(c)?f.model.B.C.RR:k.i.input.pa.Sc);g===k.i.input.pa.Sc&&this.Jy(a)&&(g=k.i.input.pa.sf);return g};b.prototype.Jy=function(a){"+"===a.charAt(0)&&(a=a.substr(1));return 1<a.split(":").length&&-1<this.Rl.indexOf(a.split(":")[0].trim())};b.prototype.yu=function(){if(0===this.hj%100&&200<x.zf()-this.PM){var a=f.model.A.j.TO,c=this.L0();1==this.GT&&f.za(!0,a,c);this.PM=x.zf()}if(this.hj>=this.data.length)return!0;f.v(this.data[this.hj])||this.insertData(this.data[this.hj],this.isArray);
|
|
1409
1409
|
this.data[this.hj]=void 0;this.hj++;return this.hj>=this.data.length};b.prototype.p4=function(){this.Im=this.Vd.t0(!1);this.RF=[];for(var a=0;a<this.Im.length;a++)this.RF[a]=this.Vd.jC(this.Im[a]);this.sa.vH()};b.prototype.insertData=function(a,c){null===this.Im&&this.p4();for(var e,g,l=[],m=[],n,p,t,q=0;q<this.Im.length;q++)if(e=this.Im[q],g=this.RF[q],c?(t=a.hasOwnProperty(""+q),p=a[q]):(t=a.hasOwnProperty(e),p=a[e]),g!==k.i.input.pa.yE)if(g===k.i.input.pa.lx)n=p;else{var v=void 0;this.Vd.Z0&&(v=
|
|
1410
|
-
this.z0(a,e,c));p=t?new k.I.Sd({jf:v,value:p,caption:String(p)}):new k.I.Sd({jf:v});g===k.i.input.pa.sf&&(t=this.Vd.hC(e),t=t.hierarchy.ta.ea(t.sb-1).uniqueName,p.
|
|
1410
|
+
this.z0(a,e,c));p=t?new k.I.Sd({jf:v,value:p,caption:String(p)}):new k.I.Sd({jf:v});g===k.i.input.pa.sf&&(t=this.Vd.hC(e),t=t.hierarchy.ta.ea(t.sb-1).uniqueName,p.ii=a[t]);this.Vd.jc(p,e,g,l,m)}this.sa.insert(l,m,n)};b.prototype.z0=function(a,c,e){var g=this;e=void 0===e?!1:e;var l=void 0;(c=this.Vd.Dca(c))&&0<c.length&&c.forEach(function(m){var n=e?a[g.Im.indexOf(m)]:a[m];f.v(n)||(f.v(l)&&(l={}),l[m]=n)});return l};b.prototype.L0=function(){return f.O.bind(f.model.A.j.pna,x.Vb.zy(this.hj.toString()),
|
|
1411
1411
|
(this.vB/this.xK*100).toFixed(0))};b.prototype.pH=function(){this.data=null;f.za(!1);f.qg(this.Ib)&&this.Ib();this.clear()};b.prototype.os=function(){null!=this.Ce&&(this.Ce(),this.Ce=null)};b.prototype.NFa=function(){f.za(!1);if(this.KT){if(!f.ia(this.ee)){if("]"==this.ee.substr(-1)){this.ee=this.ee.substr(0,this.ee.length-1).trim();var a=this.ee.substr(this.ee.length-1);this.ee="]"!=a&&"}"!=a?this.ee+"]":this.ee}a=JSON.parse(this.ee);this.data.push(a);this.yu()}null!=this.Ib&&(this.clear(),this.Ib())}else f.Ua(f.model.A.j.Xu,
|
|
1412
1412
|
f.model.A.j.xa,f.qb.Nk),null!=this.Ya&&(this.Ya(),this.Ya=null);this.clear()};b.prototype.GM=function(){f.Ua(f.model.A.j.UI,f.model.A.j.xa);f.za(!1);f.qg(this.Ya)&&this.Ya();this.Ib=this.Ya=null;this.clear()};b.prototype.wU=function(){f.model.B.C.GH||f.Ua(f.model.A.j.Xu,f.model.A.j.xa,f.qb.Nk);f.za(!1);f.qg(this.Ya)&&this.Ya();this.Ib=this.Ya=null;this.clear()};b.prototype.clear=function(){this.data=[];this.Oj=0;this.GB=[];this.Ue=[];this.I1=!1;this.ee="";null!=this.ma&&(this.ma.Od(),this.ma.dispose(),
|
|
1413
1413
|
this.ma=null);this.cg()};b.prototype.cancel=function(){this.clear();this.Ce=this.Ya=this.Ib=null};b.prototype.Ek=function(){throw Error("Method not implemented.");};b.prototype.Xj=function(){throw Error("Method not implemented.");};b.prototype.Ty=function(){throw Error("Method not implemented.");};b.prototype.yp=function(){throw Error("Method not implemented.");};b.prototype.wB=function(){throw Error("Method not implemented.");};d.uma=b})(h.json||(h.json={}))})(k.local||(k.local={}))})(f.u||(f.u=
|
|
1414
1414
|
{}))})(w||(w={}));
|
|
1415
1415
|
(function(f){(function(k){(function(h){function d(){return k.YD.apply(this,arguments)||this}u(d,k.YD);d.prototype.vH=function(){this.NZ();for(var b=[],a=this.slice.tc(!1),c=0;c<a.length;c++){var e=a.ea(c);this.Ml(e.uniqueName,e.uniqueName);f.model.B.C.qc&&this.Em(this.va.I.He(e.uniqueName));for(var g=1;g<e.ta.length;g++){var l=e.ta.ea(g);this.Ml(l.uniqueName,e.uniqueName)}}a=f.u.i.oa.Jc===this.va.ga.Ba?this.qxa(this.slice.Qf):this.slice.Qf;for(c=0;c<a.length;c++)this.Em(a[c],b);if(f.u.i.oa.Jc===this.va.ga.Ba)for(c=
|
|
1416
1416
|
0;c<a.length;c++)e=a[c],e.Ja&&(this.Lx(e.uniqueName,e.Ol),this.fK(e));this.slice.qz(b)};d.prototype.qxa=function(b){var a=[],c={};if(void 0!==b)for(var e,g,l,m,n=0;n<b.length;n++)e=b[n].$,g=b[n].uniqueName,l=b[n].hidden,void 0===c[g+"_"+e]?(m=a.length,c[g+"_"+e]={SC:m,cea:l},a.push(b[n])):(e=c[g+"_"+e],e.cea&&!l&&(a.splice(e.SC,1),e.SC=a.length,e.cea=b[n].hidden,a.push(b[n])));return a};d.prototype.Ih=function(b,a,c){if("string"!==typeof b){var e=b.uniqueName;var g=k.i.ca.jM(b.$)?b.$:b.Ol}else e=
|
|
1417
|
-
b;f.v(a)||(g=a);return k.YD.prototype.Ih.call(this,e,g,c)};d.prototype.Em=function(b,a){b&&(f.u.i.oa.Jc===this.va.ga.Ba&&b.Ja||(this.Lx(b.uniqueName,b.Ol),k.i.ca.jM(b.$)&&this.Lx(b.uniqueName,b.$),this.fK(b)),b.Ja&&this.n$(b,this.slice.Xc.measures,a),void 0!==a&&a.push(b))};d.prototype.n$=function(b,a,c){if((a=x.Gs.HL(b.Nd,a))&&0<a.length)for(var e=0;e<a.length;e++){var g=a[e],l=this.va.I.ad(g.uniqueName);if(null!=l){var m=this.slice.
|
|
1417
|
+
b;f.v(a)||(g=a);return k.YD.prototype.Ih.call(this,e,g,c)};d.prototype.Em=function(b,a){b&&(f.u.i.oa.Jc===this.va.ga.Ba&&b.Ja||(this.Lx(b.uniqueName,b.Ol),k.i.ca.jM(b.$)&&this.Lx(b.uniqueName,b.$),this.fK(b)),b.Ja&&this.n$(b,this.slice.Xc.measures,a),void 0!==a&&a.push(b))};d.prototype.n$=function(b,a,c){if((a=x.Gs.HL(b.Nd,a))&&0<a.length)for(var e=0;e<a.length;e++){var g=a[e],l=this.va.I.ad(g.uniqueName);if(null!=l){var m=this.slice.di(g);if(null==m){m=l.clone();m.$=g.$;g=m.hidden=!0;if(void 0!==
|
|
1418
1418
|
c)for(l=0;l<c.length;l++)c[l].uniqueName===m.uniqueName&&(m.$===k.i.ca.NONE||c[l].$===b.$&&c[l].Ol===b.Ol)&&(g=!1);g&&(c.push(m),this.fK(m),this.Lx(m.uniqueName,m.Ol),k.i.ca.jM(m.$)&&this.Lx(m.uniqueName,m.$))}}}};d.prototype.rB=function(b){return this.va.ga.Ba==k.i.oa.Jf&&b&&0==this.va.ga.mapping.Ia(b.uniqueName,"min_doc_count")};d.prototype.xF=function(b){return this.va.ga.Ba==k.i.oa.Jf&&b&&0==this.va.ga.mapping.Ia(b.uniqueName,"min_doc_count")};h.Qu=d})(k.external||(k.external={}))})(f.u||(f.u=
|
|
1419
1419
|
{}))})(w||(w={}));(function(f){(function(k){(function(h){(function(d){function b(){}b.NONE=0;b.nW=1;b.tX=2;b.zX=3;b.hI=4;b.vW=5;d.lj=b})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){(function(d){function b(a){return k.I.Fj.call(this,void 0===a?null:a)||this}u(b,k.I.Fj);d.dP=b})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1420
1420
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=k.I.ConnectionInfo.apply(this,arguments)||this;a.binary=!1;a.dataSourceInfo="";a.a9="";a.df="";a.subquery="";a.proxyUrl="";a.roles="";a.localeIdentifier="";a.effectiveUserName="";a.mapping=new d.dP;a.Ww=!0;a.lv="";a.version=0;return a}u(b,k.I.ConnectionInfo);b.prototype.isEqual=function(a){return k.I.ConnectionInfo.prototype.isEqual.call(this,a)&&this.proxyUrl===a.proxyUrl&&this.Be===a.Be&&this.va===a.va&&this.dataSourceInfo===
|
|
@@ -1440,12 +1440,12 @@ a,c)};b.prototype.n$=function(a,c,e){a=x.Gs.HL(a.Nd,c);for(var g=0;g<a.length;g+
|
|
|
1440
1440
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){return k.I.I5.call(this,c,e)||this}u(a,k.I.I5);b.Z7=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1441
1441
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){return k.I.ik.call(this,c,void 0===e?"":e)||this}u(a,k.I.ik);a.prototype.clone=function(){var c=new a(this.uniqueName);this.OK(c);return c};r.Object.defineProperties(a.prototype,{em:{configurable:!0,enumerable:!0,get:function(){return this.Ja||this.Dg?[]:k.i.ca.y5},set:function(){}},$:{configurable:!0,enumerable:!0,get:function(){return""==this.Gj?this.Tc[0]:this.Gj},set:function(c){c&&c.toLowerCase()!=this.Gj?(c=c.toLowerCase(),
|
|
1442
1442
|
k.i.ca.ly(c)&&(c=k.i.ca.Ay(c)),k.i.ca.IKa(c)||this.Ja&&c==k.i.ca.NONE?(this.pv=void 0,this.Gj=c,-1==this.Tc.indexOf(c)&&(this.Gj=this.Tc[0])):this.gV()):""==c&&this.gV()}},dc:{configurable:!0,enumerable:!0,get:function(){return f.model.Nb.valid(this.sc)?this.sc:f.model.Nb.validate(this.sc)}},caption:{configurable:!0,enumerable:!0,get:function(){if(0==f.model.B.C.uz)return this.dc;switch(this.$){case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.dc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.dc);
|
|
1443
|
-
case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.dc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.
|
|
1443
|
+
case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.dc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.pi:return f.O.bind(f.model.A.j.MI,this.dc);case k.i.ca.gn:return f.O.bind(f.model.A.j.rI,this.dc);case k.i.ca.lm:return f.O.bind(f.model.A.j.sI,this.dc);case k.i.ca.mn:return f.O.bind(f.model.A.j.aJ,this.dc);case k.i.ca.om:return f.O.bind(f.model.A.j.bJ,this.dc)}return this.dc},set:function(c){""==c.trim()?this.sc=f.model.A.j.Pk:
|
|
1444
1444
|
this.sc=c}},bm:{configurable:!0,enumerable:!0,get:function(){return this.dc},set:function(){}}});b.pA=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1445
1445
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){return k.I.Xq.apply(this,arguments)||this}u(a,k.I.Xq);r.Object.defineProperties(a.prototype,{caption:{configurable:!0,enumerable:!0,get:function(){return this.hierarchy.mC(this.ordinal)},set:function(){}},Ei:{configurable:!0,enumerable:!0,get:function(){return this.level.ow?!0:this.hierarchy.MT||this.hierarchy.lu||this.level.ow?(this.Ug||!this.Af)&&0==this.children.length:!1},set:function(){}},cj:{configurable:!0,enumerable:!0,
|
|
1446
1446
|
get:function(){return this.uniqueName}}});b.kX=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e,g){return k.I.Mp.call(this,c,void 0===e?"":e,void 0===g?0:g)||this}u(a,k.I.Mp);b.loa=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1447
1447
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){c=k.I.qf.call(this,c,void 0===e?"":e)||this;c.X9=0;return c}u(a,k.I.qf);a.prototype.jc=function(c){c.uniqueName==this.ir&&(c.Xb=!0);return k.I.qf.prototype.jc.call(this,c)};a.prototype.Nl=function(c){c=void 0===c?"(Total)":c;if(this.Jh)return this.wn+".["+c+"]";var e=this.It.split("].");e.pop();e.push("["+c+"]");return e.join("].")};a.prototype.GV=function(c,e){var g=this.iia(c.children);g=f.qg(this.Wy)?this.Mha(g):this.NY(g);
|
|
1448
|
-
for(var l=[],m=0;m<g.length;m++)if(l.push(g[m].ordinal),e&&!c.Ei){var n=this.zj(g[m],e);0<n.length&&(l=l.concat(n))}return l};a.prototype.NY=function(c){this.ag===k.i.ya.ec&&f.Ha.sort(c,f.Ha.
|
|
1448
|
+
for(var l=[],m=0;m<g.length;m++)if(l.push(g[m].ordinal),e&&!c.Ei){var n=this.zj(g[m],e);0<n.length&&(l=l.concat(n))}return l};a.prototype.NY=function(c){this.ag===k.i.ya.ec&&f.Ha.sort(c,f.Ha.ri,function(e){return e.cc});this.ag===k.i.ya.Fc&&f.Ha.sort(c,f.Ha.oo|f.Ha.ri,function(e){return e.cc});return c};a.prototype.mS=function(c){c=this.jv.find(c);return this.ua(c)};a.prototype.nC=function(){return new b.kX(this)};r.Object.defineProperties(a.prototype,{Xn:{configurable:!0,enumerable:!0,get:function(){return this.X9},
|
|
1449
1449
|
set:function(c){this.Jh||(c+=1);this.X9=c}},wn:{configurable:!0,enumerable:!0,set:function(c){""!=c&&!f.v(c)||this.Ue?this.ir=c:(this.ir=this.uniqueName+".[(All)]",this.sh(new k.I.Mp(this.uniqueName,this.caption+" (All)")),this.jc(new k.I.Sd({uniqueName:this.ir,caption:this.caption+" (All)",Xb:!0})),this.SA=!1)},get:function(){return this.ir}}});b.cP=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1450
1450
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){return k.I.Wq.call(this,c,void 0===e?"":e)||this}u(a,k.I.Wq);b.joa=a})(d.I||(d.I={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1451
1451
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){var c=k.I.Cs.call(this)||this;c.nG=new b.koa;return c}u(a,k.I.Cs);a.prototype.eZ=function(c,e){this.Cea.Qa(c.uniqueName,c);if(0==f.ia(c.value)){var g=new b.pA(c.value,this.Fy(c.value,c.caption,f.model.A.j.s7,e));g.Ag=f.model.A.j.mx;g.Pc=c.caption;g.type=k.i.Ka.fb;g.Sr=c.uniqueName;this.Lj(g)}0==f.ia(c.Hy)&&(g=new b.pA(c.Hy,this.Fy(c.Hy,c.caption,f.model.A.j.o7,e)),g.Ag=f.model.A.j.mx,g.Pc=c.caption,g.type=k.i.Ka.fb,g.Sr=
|
|
@@ -1468,46 +1468,46 @@ function(){for(var c=this,e=[],g=0;g<this.cG.length;g++)e[this.cG[g]]=g;for(g=0;
|
|
|
1468
1468
|
c.split("].[");1<e.length&&(c=e[e.length-1].substr(0,e[e.length-1].length-1));return c};a.prototype.gC=function(c){return c%this.columns.length};a.prototype.qC=function(c){return Math.floor(c/this.columns.length)};a.prototype.RU=function(){for(var c,e,g=this.vx>this.Gb.length?this.Gb.length:this.vx;0<g;){this.rowIndex=0;e=[];c=this.Gb.shift();var l=c.find("Member");for(c=0;c<l.length;c++)this.eHa(l[c],e);this.rows.push(e);g--}};a.prototype.eHa=function(c,e){var g=c.find("HIERARCHY_UNIQUE_NAME").text();
|
|
1469
1469
|
g=this.tc.getItem(g);null!=g&&(c=this.Ab(c,g),e.push([c.level.sb,c.ordinal]),this.rowIndex++)};a.prototype.OU=function(){for(var c,e,g=this.vx>this.Uc.length?this.Uc.length:this.vx;0<g;){this.jua=0;c=[];e=this.Uc.shift();e=e.find("Member");for(var l=0;l<e.length;l++)this.HGa(e[l],c);this.columns.push(c);g--}};a.prototype.HGa=function(c,e){var g=c.find("HIERARCHY_UNIQUE_NAME").text();if("Measures"!=g&&"[Measures]"!=g){var l=this.tc.getItem(g);null==l&&(l=this.tc.getItem("["+g+"]"));null!=l&&(c=this.Ab(c,
|
|
1470
1470
|
l),e.push([c.level.sb,c.ordinal]),this.jua++)}else{var m=c.find("UName").text();e=this.Qf.findIndex(function(n){return n.uniqueName===m});this.measures.push(e)}};a.prototype.Ab=function(c,e){var g=c.find("UName").text(),l=e.Ab(g);if(f.v(l)){var m=c.find("Caption").text();-1<m.indexOf("(Total")&&(e.Jh?g=g.substring(0,g.lastIndexOf(".[(")):(g=g.substring(0,g.lastIndexOf(".[("))+".[(All)]",null==e.Ab(g)&&(g=g.substring(0,g.length-8))),l=e.Ab(g))}f.v(l)&&(m=c.find("Caption").text(),c=c.find("PARENT_UNIQUE_NAME").text(),
|
|
1471
|
-
l=e.jc(new k.I.Sd({uniqueName:g,caption:m,Af:!0,
|
|
1471
|
+
l=e.jc(new k.I.Sd({uniqueName:g,caption:m,Af:!0,ii:c})));return l};a.prototype.B4=function(c){c=x.Vb.zg(c);f.za(!0,f.model.A.j.Kf,f.O.bind(f.model.A.j.El,c))};a.prototype.Gq=function(){f.za(!1);this.Eb&&(this.WA?(this.mHa(),this.Eb(this.UB)):this.Eb());this.clear()};a.prototype.Mb=function(){};a.prototype.clear=function(){this.ma&&(this.ma.mb(z.da.Lc,this.Rba),this.ma.mb(z.da.ke,this.fz),this.ma.mb(z.da.xa,this.Ya),this.ma.close(),this.ma=null);this.timer&&this.timer.wl&&this.timer.stop();this.xj=
|
|
1472
1472
|
0;this.Uc=[];this.Gb=[];this.yB=[];this.VB=[];this.UB=[];this.cG=[];this.yQ=0;this.uY="";this.columns=[];this.rows=[];this.measures=[];this.Qf=this.tc=null;this.eY=this.mF=!1;this.iD=this.hD=-1;this.Ac=[]};a.prototype.cancel=function(){this.clear();this.Eb=null};b.P8=a})(d.ih||(d.ih={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1473
|
-
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=this;this.nl=this.Gk=this.nH=0;this.nq=5E3;this.gfa=1E3;this.state=k.to.sE;this.nd="";this.qu=!1;this.Hea="";this.Baa=function(){return e.cEa()};this.Eaa=function(){return e.eEa()};this.Vea=function(){return e.gj()};this.fz=function(g){return e.op(g)};this.Wga=function(){return e.aGa()};this.Xga=function(g){return e.bGa(g)};this.Uga=function(){return e.XFa()};this.Caa=function(g){return e.dEa(g)};this.
|
|
1473
|
+
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=this;this.nl=this.Gk=this.nH=0;this.nq=5E3;this.gfa=1E3;this.state=k.to.sE;this.nd="";this.qu=!1;this.Hea="";this.Baa=function(){return e.cEa()};this.Eaa=function(){return e.eEa()};this.Vea=function(){return e.gj()};this.fz=function(g){return e.op(g)};this.Wga=function(){return e.aGa()};this.Xga=function(g){return e.bGa(g)};this.Uga=function(){return e.XFa()};this.Caa=function(g){return e.dEa(g)};this.bi=function(g){return e.Mb(g)};
|
|
1474
1474
|
b.Mf.ub=this.ga=c}a.prototype.Yl=function(){this.ma=new D.Wi;this.ma.contentType=D.Wz.wP;this.ma.dataType=D.Xz.aa;this.ma.Lq=D.Qs.Zu;this.eL();var c=JSON.parse(JSON.stringify(f.v(this.ga.requestHeaders)?{}:this.ga.requestHeaders));this.ga.credentials&&this.ga.credentials.Rm&&(c.Authorization="Basic "+this.ga.credentials.hash,this.ma.withCredentials=!0);this.ma.zh(c)};a.prototype.eL=function(){f.v(this.ga.withCredentials)||(this.ma.withCredentials=this.ga.withCredentials)};a.prototype.$G=function(){return f.ia(this.hierarchy.wf)?
|
|
1475
|
-
this.hierarchy.Xn<this.gfa:this.hierarchy.Xn<10*this.gfa};a.prototype.Dn=function(){return f.ia(this.ga.subquery)?"["+this.ga.va+"]":"("+this.ga.subquery+")"};a.prototype.kva=function(c,e){this.mva=c;this.Ya=e;c=this.Dn();c=f.O.bind("with member [Measures].[CountAllMembers] as Count({0}.allmembers) select NON EMPTY {[Measures].[CountAllMembers]} ON columns FROM {1}",this.hierarchy.uniqueName,c);this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,this.Baa);this.ma.N(z.da.xa,this.
|
|
1475
|
+
this.hierarchy.Xn<this.gfa:this.hierarchy.Xn<10*this.gfa};a.prototype.Dn=function(){return f.ia(this.ga.subquery)?"["+this.ga.va+"]":"("+this.ga.subquery+")"};a.prototype.kva=function(c,e){this.mva=c;this.Ya=e;c=this.Dn();c=f.O.bind("with member [Measures].[CountAllMembers] as Count({0}.allmembers) select NON EMPTY {[Measures].[CountAllMembers]} ON columns FROM {1}",this.hierarchy.uniqueName,c);this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,this.Baa);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};
|
|
1476
1476
|
a.prototype.cEa=function(){var c=D.aa.create(this.ma.response);this.Fz(c)&&(this.hierarchy.Xn=parseInt(c.find("root CellData Cell Value").text()));this.mva()};a.prototype.Fz=function(c){return 0==c.length?(f.Ua(f.model.A.j.tE,"",f.qb.xa),f.za(!1),!1):0<c.find("root Fault").length?(f.Ua(D.aa.Dc(c.find("root Fault faultstring")),"Query error!",f.qb.xa),!1):!0};a.prototype.load=function(c,e,g){this.nd="";this.rD&&(this.rD.length=0);this.nl=this.Gk=this.nH=0;this.Eb=e;this.Ya=g;this.Yb=c;this.$G()?this.Ek():
|
|
1477
1477
|
this.count()};a.prototype.count=function(){var c=this.Dn();c=null==this.Yb?f.O.bind("with member [Measures].[CountMembers] as Count({0}.levels(1).allmembers) select NON EMPTY {[Measures].[CountMembers]} ON columns FROM {1}",this.hierarchy.uniqueName,c):f.O.bind("with member [Measures].[CountMembers] as Count({0}.children) select NON EMPTY {[Measures].[CountMembers]} ON columns FROM {1}",this.Yb.uniqueName,c);this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,this.Eaa);this.ma.N(z.da.xa,
|
|
1478
|
-
this.
|
|
1478
|
+
this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.eEa=function(){var c=D.aa.create(this.ma.response);this.Fz(c)&&(this.nH=parseInt(c.find("root CellData Cell Value").text()),this.Ek())};a.prototype.JB=function(){return""};a.prototype.XZ=function(){return""};a.prototype.Ek=function(){var c=this.XZ();this.state=k.to.sE;this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,this.Vea);this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.gj=function(){this.nl+=
|
|
1479
1479
|
this.ma.vi;var c=D.aa.create(this.ma.response);this.ma.close();this.ma=null;this.Fz(c)&&this.fD(c);this.Gk+=this.nq;this.Gk<this.nH&&!this.$G()?this.Ek():this.rU()};a.prototype.fD=function(c){var e=c.find("root");if(0<e.find("Fault").length)f.Ua(D.aa.Dc(e.find("Fault faultstring")),"Query error!",f.qb.xa);else{c=[];e=e.find('Axes Axis[name="Axis0"] Tuples Tuple Member');for(var g=this.hierarchy.yi,l=0;l<e.length;l++)c.push(this.PU(e[l],l+g));return c}};a.prototype.PU=function(){return null};a.prototype.rU=
|
|
1480
1480
|
function(){f.za(!1);this.Eb(this.hierarchy)};a.prototype.op=function(c){c=x.Vb.zg(c.data.loaded+this.nl);f.za(!0,f.model.A.j.kn,this.hierarchy.caption+", "+f.O.bind(f.model.A.j.El,c))};a.prototype.Mb=function(c){f.Ua(c.message,"Error",f.qb.xa);null!=this.Ya&&(this.Ya(c.message),this.Ya=null)};a.prototype.yZ=function(c,e,g,l,m){var n=this;this.Eb=l;this.Ya=m;this.qu=g;this.hierarchy=c;this.state=k.to.x5;c=[];for(g=0;g<e.length;g++)c.push(f.O.bind("Ascendants({0})",e[g]));e="{"+c.join(", ")+"}";this.nl=
|
|
1481
|
-
0;this.Yl();c=this.Dn();e=f.O.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",e,c);this.ma.data=D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,function(){return n.B2()});this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,this.
|
|
1481
|
+
0;this.Yl();c=this.Dn();e=f.O.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",e,c);this.ma.data=D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,function(){return n.B2()});this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.B2=function(){this.nl+=this.ma.vi;var c=D.aa.create(this.ma.response);this.ma.close();this.ma=null;if(this.Fz(c)){c=this.fD(c);for(var e=0;e<c.length;e++)this.hierarchy.ua(c[e]).Af=!0;this.qu?
|
|
1482
1482
|
this.E4(c,this.Ya):this.hierarchy.Rv()}this.qu||this.Eb(this.hierarchy)};a.prototype.my=function(c,e,g,l,m){var n=this;this.Eb=l;this.Ya=m;this.hierarchy=c;this.Hea=g;this.state=k.to.yka;this.nl=0;this.Yl();c=this.Dn();e=f.O.bind("SELECT Hierarchize(Distinct(Descendants({0}, {1}, SELF_AND_BEFORE))) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {2}",e.uniqueName,g,c);this.ma.data=D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,function(){return n.qEa()});this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,
|
|
1483
|
-
this.
|
|
1484
|
-
k.to.v8;this.nl=0;this.Yl();e=this.Dn();c=f.O.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",c,e);this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,function(){return g.x3()});this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,this.
|
|
1483
|
+
this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.qEa=function(){this.nl+=this.ma.vi;var c=D.aa.create(this.ma.response);this.ma.close();this.ma=null;if(this.Fz(c)){c=this.fD(c);for(var e=0;e<c.length;e++){var g=this.hierarchy.ua(c[e]);g.level.uniqueName==this.Hea?g.Af=!0:this.hierarchy.sy(g)}}this.Eb(this.hierarchy)};a.prototype.E4=function(c,e){var g=this;this.Ya=e;e=[];for(var l=0;l<c.length;l++)e.push(f.O.bind("{0}.Siblings",this.hierarchy.ua(c[l]).uniqueName));c="{"+e.join(", ")+"}";this.state=
|
|
1484
|
+
k.to.v8;this.nl=0;this.Yl();e=this.Dn();c=f.O.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",c,e);this.ma.data=D.aa.Dc(b.Mf.Sv(c));this.ma.N(z.da.Lc,function(){return g.x3()});this.ma.N(z.da.ke,this.fz);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.x3=function(){this.nl+=this.ma.vi;var c=D.aa.create(this.ma.response);this.ma.close();this.ma=null;this.qu=!1;if(this.Fz(c)){c=this.fD(c);for(var e=0;e<c.length;e++)this.hierarchy.ua(c[e]).Af=
|
|
1485
1485
|
!0;this.hierarchy.Rv()}this.Eb(this.hierarchy)};a.prototype.search=function(c,e,g){this.nd=c.toLowerCase().replace(RegExp('"',"g"),'""').replace(RegExp("'","g"),"''");this.Eb=e;this.Ya=g;this.nl=this.Gk=this.nH=0;this.state=k.to.vX;this.rD&&0<this.rD.length?this.rD.length=0:this.rD=[];this.pva()};a.prototype.$Z=function(){var c=f.O.bind("SET [SearchMembersSet] AS 'FILTER(EXCEPT({0}.allmembers, {1}), (INSTR(1, {0}.CurrentMember.member_caption, {2}) > 0))'",this.hierarchy.uniqueName,this.hierarchy.wn,
|
|
1486
1486
|
'"'+this.nd+'"');var e=f.O.bind("SET [SearchParentsSet] AS 'EXCEPT(GENERATE([SearchMembersSet], ASCENDANTS([SearchMembersSet].Current)), {0})'",this.hierarchy.wn);return c+"\n"+e+"\nSET [SearchSet] AS 'HIERARCHIZE(DISTINCT({[SearchMembersSet], [SearchParentsSet]}))'"};a.prototype.pva=function(){var c=this.Dn(),e="MEMBER [Measures].[CountSearchSet] AS 'COUNT([SearchSet])'\nSELECT NON EMPTY {[Measures].[CountSearchSet]} ON COLUMNS FROM {0}";e="WITH "+this.$Z()+"\n"+f.O.bind(e,c);this.Yl();this.ma.data=
|
|
1487
|
-
D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,this.Uga);this.ma.N(z.da.ke,this.Caa);this.ma.N(z.da.xa,this.
|
|
1488
|
-
e="WITH "+this.$Z()+"\n"+f.O.bind(e,this.Gk,this.nq,c);this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,this.Wga);this.ma.N(z.da.ke,this.Xga);this.ma.N(z.da.xa,this.
|
|
1487
|
+
D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,this.Uga);this.ma.N(z.da.ke,this.Caa);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.XFa=function(){var c=D.aa.create(this.ma.response);this.Fz(c)&&(this.nH=parseInt(c.find("root CellData Cell Value").text()),this.yp())};a.prototype.dEa=function(c){f.za(!0,"Counting members...",this.hierarchy.caption+", "+Math.round(c.data.loaded/1E3)+"K loaded")};a.prototype.yp=function(){var c=this.Dn(),e="SELECT SUBSET([SearchSet], {0}, {1}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS FROM {2}";
|
|
1488
|
+
e="WITH "+this.$Z()+"\n"+f.O.bind(e,this.Gk,this.nq,c);this.Yl();this.ma.data=D.aa.Dc(b.Mf.Sv(e));this.ma.N(z.da.Lc,this.Wga);this.ma.N(z.da.ke,this.Xga);this.ma.N(z.da.xa,this.bi);this.ma.load(this.ga.proxyUrl)};a.prototype.bGa=function(c){c=x.Vb.zg(c.data.loaded+this.nl);f.za(!0,f.model.A.j.kn,this.hierarchy.caption+", "+f.O.bind(f.model.A.j.El,c))};a.prototype.aGa=function(){this.nl+=this.ma.vi;var c=D.aa.create(this.ma.response);this.ma.close();this.ma=null;this.Fz(c)&&this.gHa(c);this.Gk+=this.nq;
|
|
1489
1489
|
this.Gk<this.nH?this.yp():this.aD()};a.prototype.gHa=function(c){c=c.find("root");if(0<c.find("Fault").length)f.Ua(D.aa.Dc(c.find("Fault faultstring")),"Query error!",f.qb.xa);else{c=c.find('Axes Axis[name="Axis0"] Tuples Tuple Member');for(var e=0;e<c.length;e++)this.fHa(c[e])}};a.prototype.fHa=function(c){var e=c.find("PARENT_UNIQUE_NAME").text();var g=c.find("Caption").text(),l=c.find("UName").text(),m=parseInt(c.find("MEMBER_ORDINAL").text()),n=this.hierarchy.Ab(l);if(null==n&&(n=this.hierarchy.jc(new k.I.Sd({uniqueName:l,
|
|
1490
|
-
caption:g,cc:m,
|
|
1491
|
-
this.Uga),this.ma.mb(z.da.ke,this.Caa),this.ma.mb(z.da.xa,this.
|
|
1492
|
-
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=this;this.va=k.La.P();this.j5=!0;this.mba=function(){return e.tU()};this.nba=function(g){return e.rEa(g)};this.bDa=function(){return e.oFa()};this.dDa=function(g){return e.qFa(g)};this.
|
|
1490
|
+
caption:g,cc:m,ii:e})),n.level&&0<n.level.jf.length))for(g=0;g<n.level.jf.length;g++)e=n.level.jf.ea(g),n.setProperty(e.uniqueName,c.find(e.YV).text());n.parent&&!n.parent.Xb&&(n.parent.Af=!0);this.rD.push(n.ordinal)};a.prototype.aD=function(){f.za(!1);this.Eb(this.rD)};a.prototype.cancel=function(){this.ma&&(this.ma.mb(z.da.Lc,this.Baa),this.ma.mb(z.da.Lc,this.Eaa),this.ma.mb(z.da.Lc,this.Vea),this.ma.mb(z.da.ke,this.fz),this.ma.mb(z.da.Lc,this.Wga),this.ma.mb(z.da.ke,this.Xga),this.ma.mb(z.da.Lc,
|
|
1491
|
+
this.Uga),this.ma.mb(z.da.ke,this.Caa),this.ma.mb(z.da.xa,this.bi),this.ma.close());this.Ya=this.ma=null};b.GP=a})(d.ih||(d.ih={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1492
|
+
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=this;this.va=k.La.P();this.j5=!0;this.mba=function(){return e.tU()};this.nba=function(g){return e.rEa(g)};this.bDa=function(){return e.oFa()};this.dDa=function(g){return e.qFa(g)};this.bi=function(g){return e.Mb(g)};this.zda=function(){return e.R2()};this.Ada=function(g){return e.SEa(g)};this.Jea=function(){return e.Z2()};this.Kea=function(g){return e.bFa(g)};this.oga=function(){return e.KFa()};this.pga=function(g){return e.MFa(g)};
|
|
1493
1493
|
this.afa=function(){return e.g3()};this.bfa=function(g){return e.sFa(g)};this.t7=function(){return e.V2()};this.u7=function(g){return e.YEa(g)};this.ga=c;this.cl=new D.Wi;this.RC=new D.Wi;this.bp=new D.Wi;this.hp=new D.Wi;this.cp=new D.Wi;this.gp=new D.Wi;this.tp=new D.Wi}a.prototype.$o=function(c){return c.find("row")};a.prototype.load=function(c,e,g,l){this.Ib=e;this.Ya=g;this.Ce=l;this.d2(this.E2)};a.prototype.Yl=function(c){this.eL(c);this.zh(c)};a.prototype.eL=function(c){f.v(this.ga.withCredentials)||
|
|
1494
1494
|
(c.withCredentials=this.ga.withCredentials)};a.prototype.zh=function(c){c.contentType=D.Wz.wP;c.dataType=D.Xz.aa;c.Lq=D.Qs.Zu;var e=JSON.parse(JSON.stringify(f.v(this.ga.requestHeaders)?{}:this.ga.requestHeaders));this.j5&&(e.Accept="application/xml");this.ga.credentials&&this.ga.credentials.Rm&&(e.Authorization="Basic "+this.ga.credentials.hash,c.withCredentials=!0);c.zh(e);return c};a.prototype.Mb=function(c){this.cl.Od(z.da.xa);this.cl.Od(z.da.Lc);this.cl.Od(z.da.ke);c=c.target.url.trim();c=f.model.A.j.Bna.replace("{0}",
|
|
1495
|
-
'<u><a href="'+c+'">'+c+"</a></u>");f.Ua(c,"",f.qb.xa);this.Ya(c)};a.prototype.os=function(){null!=this.Ce&&(this.Ce(),this.Ce=null)};a.prototype.d2=function(c){f.za(!0,f.model.A.j.VI);this.YF=c;this.Yl(this.cl);b.Mf.ub=this.ga;this.cl.data=D.aa.Dc(b.Mf.xua());this.cl.N(z.da.Lc,this.mba);this.cl.N(z.da.ke,this.nba);this.cl.N(z.da.xa,this.
|
|
1495
|
+
'<u><a href="'+c+'">'+c+"</a></u>");f.Ua(c,"",f.qb.xa);this.Ya(c)};a.prototype.os=function(){null!=this.Ce&&(this.Ce(),this.Ce=null)};a.prototype.d2=function(c){f.za(!0,f.model.A.j.VI);this.YF=c;this.Yl(this.cl);b.Mf.ub=this.ga;this.cl.data=D.aa.Dc(b.Mf.xua());this.cl.N(z.da.Lc,this.mba);this.cl.N(z.da.ke,this.nba);this.cl.N(z.da.xa,this.bi);this.cl.load(this.ga.proxyUrl)};a.prototype.rEa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.VI,f.O.bind(f.model.A.j.El,c))};a.prototype.tU=function(){this.os();
|
|
1496
1496
|
var c=D.aa.create(this.cl.response);c=this.$o(c);if(0<c.length){for(var e=0;e<c.length;e++)this.Rfa(c[e]);this.YF()}else f.Ua(f.model.A.j.tE,"",f.qb.xa),f.za(!1)};a.prototype.Rfa=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=this.ga.mapping.Ia(e,"caption",c.find("DIMENSION_CAPTION").text());c=parseInt(c.find("DIMENSION_TYPE").text());e=new k.I.Wq(e,g);e.type=c;this.va.I.pt(e)};a.prototype.E2=function(){this.ga.Ba==k.i.oa.Jc?this.ICa(this.pFa):this.eU(this.BU)};a.prototype.ICa=function(c){f.za(!0,
|
|
1497
|
-
f.model.A.j.VI);this.cDa=c;this.Yl(this.RC);b.Mf.ub=this.ga;this.RC.data=D.aa.Dc(b.Mf.Mua());this.RC.N(z.da.Lc,this.bDa);this.RC.N(z.da.ke,this.dDa);this.RC.N(z.da.xa,this.
|
|
1498
|
-
g=c.find("MEASUREGROUP_NAME").text();c=c.find("DIMENSION_GRANULARITY").text();e=this.va.I.Xo(e);if(null!=e){e.NG||(e.NG=[]);var l=e.NG;l[g]=c;e.NG=l}};a.prototype.pFa=function(){this.eU(this.BU)};a.prototype.eU=function(c){f.za(!0,f.model.A.j.dX);this.aM=c;this.Yl(this.bp);this.bp.data=D.aa.Dc(b.Mf.Tv());this.bp.N(z.da.Lc,this.zda);this.bp.N(z.da.ke,this.Ada);this.bp.N(z.da.xa,this.
|
|
1497
|
+
f.model.A.j.VI);this.cDa=c;this.Yl(this.RC);b.Mf.ub=this.ga;this.RC.data=D.aa.Dc(b.Mf.Mua());this.RC.N(z.da.Lc,this.bDa);this.RC.N(z.da.ke,this.dDa);this.RC.N(z.da.xa,this.bi);this.RC.load(this.ga.proxyUrl)};a.prototype.qFa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.VI,f.O.bind(f.model.A.j.El,c))};a.prototype.oFa=function(){this.os();var c=D.aa.create(this.RC.response);c=this.$o(c);for(var e=0;e<c.length;e++)this.ZGa(c[e]);this.cDa()};a.prototype.ZGa=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),
|
|
1498
|
+
g=c.find("MEASUREGROUP_NAME").text();c=c.find("DIMENSION_GRANULARITY").text();e=this.va.I.Xo(e);if(null!=e){e.NG||(e.NG=[]);var l=e.NG;l[g]=c;e.NG=l}};a.prototype.pFa=function(){this.eU(this.BU)};a.prototype.eU=function(c){f.za(!0,f.model.A.j.dX);this.aM=c;this.Yl(this.bp);this.bp.data=D.aa.Dc(b.Mf.Tv());this.bp.N(z.da.Lc,this.zda);this.bp.N(z.da.ke,this.Ada);this.bp.N(z.da.xa,this.bi);this.bp.load(this.ga.proxyUrl)};a.prototype.R2=function(){var c=D.aa.create(this.bp.response);c=this.$o(c);if(0==
|
|
1499
1499
|
c.length)f.Ua(f.model.A.j.tE,"",f.qb.xa),f.za(!1);else{for(var e=0;e<c.length;e++)this.TGa(c[e]);this.aM()}};a.prototype.TGa=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=c.find("HIERARCHY_UNIQUE_NAME").text(),l=this.ga.mapping.Ia(g,"caption",c.find("HIERARCHY_CAPTION").text()),m=parseInt(c.find("DIMENSION_TYPE").text()),n=c.find("HIERARCHY_DISPLAY_FOLDER").text(),p=c.find("ALL_MEMBER").text(),t=c.find("DEFAULT_MEMBER").text();c=parseInt(c.find("STRUCTURE").text());e=this.va.I.Xo(e);
|
|
1500
|
-
null!=e&&(g=this.ga.Ba==k.i.oa.Jc?new d.I.cP(g,l):new d.jp.I.W7(g,l),g.origin=1,g.Pc=n,g.type=k.i.Hc.$B(m),g.wn=p,g.It=t,1==c&&(g.MT=!0),2==c&&(g.lu=!0),e.
|
|
1500
|
+
null!=e&&(g=this.ga.Ba==k.i.oa.Jc?new d.I.cP(g,l):new d.jp.I.W7(g,l),g.origin=1,g.Pc=n,g.type=k.i.Hc.$B(m),g.wn=p,g.It=t,1==c&&(g.MT=!0),2==c&&(g.lu=!0),e.Zh(g))};a.prototype.SEa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.dX,f.O.bind(f.model.A.j.El,c))};a.prototype.BU=function(){this.vM(this.b3)};a.prototype.vM=function(c){f.za(!0,f.model.A.j.eX);this.tM=c;this.Yl(this.gp);this.gp.data=D.aa.Dc(b.Mf.Kua());this.gp.N(z.da.Lc,this.Jea);this.gp.N(z.da.ke,this.Kea);this.gp.N(z.da.xa,this.bi);
|
|
1501
1501
|
this.gp.load(this.ga.proxyUrl)};a.prototype.bFa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.eX,f.O.bind(f.model.A.j.El,c))};a.prototype.Z2=function(){var c=D.aa.create(this.gp.response);c=this.$o(c);if(0==c.length)f.Ua(f.model.A.j.tE,"",f.qb.xa),f.za(!1);else{for(var e=0;e<c.length;e++)this.Vfa(c[e]);this.tM()}};a.prototype.b3=function(){f.model.B.C.oN?this.JCa(this.LFa):this.gU(this.HU)};a.prototype.Vfa=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=c.find("HIERARCHY_UNIQUE_NAME").text(),
|
|
1502
|
-
l=c.find("LEVEL_CAPTION").text(),m=parseInt(c.find("LEVEL_TYPE").text()),n=c.find("LEVEL_UNIQUE_NAME").text();c=parseInt(c.find("LEVEL_NUMBER").text());e=this.va.I.Xo(e);null!=e&&(g=e.Rg(g),null!=g&&(l=new k.I.Mp(n,l,c),l.type=k.i.eb.$B(m),g.sh(l),e.
|
|
1503
|
-
function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.P7,f.O.bind(f.model.A.j.El,c))};a.prototype.KFa=function(){var c=D.aa.create(this.tp.response);c=this.$o(c);if(0!=c.length)for(var e=0;e<c.length;e++)this.E3(c[e]);this.DHa()};a.prototype.E3=function(){};a.prototype.LFa=function(){this.gU(this.HU)};a.prototype.gU=function(c){f.za(!0,f.model.A.j.XO);this.xM=c;this.Yl(this.hp);this.hp.data=D.aa.Dc(b.Mf.En());this.hp.N(z.da.Lc,this.afa);this.hp.N(z.da.ke,this.bfa);this.hp.N(z.da.xa,this.
|
|
1502
|
+
l=c.find("LEVEL_CAPTION").text(),m=parseInt(c.find("LEVEL_TYPE").text()),n=c.find("LEVEL_UNIQUE_NAME").text();c=parseInt(c.find("LEVEL_NUMBER").text());e=this.va.I.Xo(e);null!=e&&(g=e.Rg(g),null!=g&&(l=new k.I.Mp(n,l,c),l.type=k.i.eb.$B(m),g.sh(l),e.Zh(g)))};a.prototype.JCa=function(c){f.za(!0,f.model.A.j.P7);this.DHa=c;this.Yl(this.tp);this.tp.data=D.aa.Dc(b.Mf.Pua());this.tp.N(z.da.Lc,this.oga);this.tp.N(z.da.ke,this.pga);this.tp.N(z.da.xa,this.bi);this.tp.load(this.ga.proxyUrl)};a.prototype.MFa=
|
|
1503
|
+
function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.P7,f.O.bind(f.model.A.j.El,c))};a.prototype.KFa=function(){var c=D.aa.create(this.tp.response);c=this.$o(c);if(0!=c.length)for(var e=0;e<c.length;e++)this.E3(c[e]);this.DHa()};a.prototype.E3=function(){};a.prototype.LFa=function(){this.gU(this.HU)};a.prototype.gU=function(c){f.za(!0,f.model.A.j.XO);this.xM=c;this.Yl(this.hp);this.hp.data=D.aa.Dc(b.Mf.En());this.hp.N(z.da.Lc,this.afa);this.hp.N(z.da.ke,this.bfa);this.hp.N(z.da.xa,this.bi);this.hp.load(this.ga.proxyUrl)};
|
|
1504
1504
|
a.prototype.sFa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.XO,f.O.bind(f.model.A.j.El,c))};a.prototype.g3=function(){var c=D.aa.create(this.hp.response);c=this.$o(c);if(0==c.length)f.Ua(f.model.A.j.tE,"",f.qb.xa),f.za(!1);else{for(var e=0;e<c.length;e++)this.$Ga(c[e]);this.xM()}};a.prototype.$Ga=function(c){var e=c.find("MEASURE_UNIQUE_NAME").text(),g=this.ga.mapping.Ia(e,"caption",c.find("MEASURE_CAPTION").text()),l=c.find("MEASUREGROUP_NAME").text();c=c.find("MEASURE_DISPLAY_FOLDER").text()||
|
|
1505
|
-
"";g=new d.I.pA(e,g);g.type=1;g.Ag=l;g.Pc=c;g.Tc=this.ga.mapping.Ia(e,"aggregations");this.va.I.Lj(g)};a.prototype.HU=function(){this.fU(this.W2)};a.prototype.fU=function(c){f.za(!0,f.model.A.j.O7);this.mM=c;this.Yl(this.cp);this.cp.data=D.aa.Dc(b.Mf.Gua());this.cp.N(z.da.Lc,this.t7);this.cp.N(z.da.ke,this.u7);this.cp.N(z.da.xa,this.
|
|
1505
|
+
"";g=new d.I.pA(e,g);g.type=1;g.Ag=l;g.Pc=c;g.Tc=this.ga.mapping.Ia(e,"aggregations");this.va.I.Lj(g)};a.prototype.HU=function(){this.fU(this.W2)};a.prototype.fU=function(c){f.za(!0,f.model.A.j.O7);this.mM=c;this.Yl(this.cp);this.cp.data=D.aa.Dc(b.Mf.Gua());this.cp.N(z.da.Lc,this.t7);this.cp.N(z.da.ke,this.u7);this.cp.N(z.da.xa,this.bi);this.cp.load(this.ga.proxyUrl)};a.prototype.YEa=function(c){c=x.Vb.zg(c.data.loaded);f.za(!0,f.model.A.j.XO,f.O.bind(f.model.A.j.El,c))};a.prototype.V2=function(){var c=
|
|
1506
1506
|
D.aa.create(this.cp.response);c=this.$o(c);if(0!=c.length)for(var e=0;e<c.length;e++)this.VGa(c[e]);this.mM()};a.prototype.VGa=function(c){var e=c.find("KPI_NAME").text(),g=this.ga.mapping.Ia(e,"caption",c.find("KPI_CAPTION").text()),l=c.find("KPI_VALUE").text(),m=c.find("KPI_STATUS").text(),n=c.find("KPI_GOAL").text();c=c.find("KPI_TREND").text();e=new d.I.Z7(e,g);e.value=l;e.status=m;e.Hy=n;e.Bz=c;this.va.I.eZ(e,this.ga.mapping)};a.prototype.W2=function(){f.za(!1);null!=this.Ib&&this.Ib()};a.prototype.Ek=
|
|
1507
1507
|
function(c,e,g){var l=this;f.za(!0,f.model.A.j.kn,c.caption);this.Ib=e;this.Ya=g;this.ol.hierarchy=c;this.ol.kva(function(){l.Xj(c,null,function(m){return l.wj(m)},g)},this.Ya)};a.prototype.wj=function(c){var e=this,g=c.Iw;if(0<c.filter.tl.length)this.uM(c,c.filter.tl,c.filter.RM,function(m){return e.wj(m)},this.Ya);else if(0<g.length){var l=g.shift();c.Iw=g;g=c.Ab(l[1]);c.sy(g);null!=l[0]&&""!=l[0]?this.Ty(g,l[0],function(m){return e.wj(m)},this.Ya):this.Xj(c,g,function(m){return e.wj(m)},this.Ya)}else this.Ib(c)};
|
|
1508
1508
|
a.prototype.Xj=function(c,e,g,l){f.za(!0,f.model.A.j.kn,c.caption);this.ol.hierarchy=c;this.ol.load(e,g,l)};a.prototype.uM=function(c,e,g,l,m){this.ol.hierarchy=c;this.ol.yZ(c,e,g,l,m)};a.prototype.Ty=function(c,e,g,l){this.ol.hierarchy=c.hierarchy;this.ol.my(c.hierarchy,c,e,g,l)};a.prototype.yp=function(c,e,g,l){this.ol.hierarchy=c;this.ol.search(e,g,l)};a.prototype.wB=function(){return!0};a.prototype.cancel=function(){this.cl&&(this.cl.mb(z.da.Lc,this.mba),this.cl.mb(z.da.ke,this.nba),this.cl.mb(z.da.xa,
|
|
1509
|
-
this.
|
|
1510
|
-
this.
|
|
1509
|
+
this.bi),this.cl.close(),this.cl=null);this.bp&&(this.bp.mb(z.da.Lc,this.zda),this.bp.mb(z.da.ke,this.Ada),this.bp.mb(z.da.xa,this.bi),this.bp.close(),this.bp=null);this.gp&&(this.gp.mb(z.da.Lc,this.Jea),this.gp.mb(z.da.ke,this.Kea),this.gp.mb(z.da.xa,this.bi),this.gp.close(),this.gp=null);this.tp&&(this.tp.mb(z.da.Lc,this.oga),this.tp.mb(z.da.ke,this.pga),this.tp.mb(z.da.xa,this.bi),this.tp.close(),this.tp=null);this.hp&&(this.hp.mb(z.da.Lc,this.afa),this.hp.mb(z.da.ke,this.bfa),this.hp.mb(z.da.xa,
|
|
1510
|
+
this.bi),this.hp.close(),this.hp=null);this.cp&&(this.cp.mb(z.da.Lc,this.t7),this.cp.mb(z.da.ke,this.u7),this.cp.mb(z.da.xa,this.bi),this.cp.close(),this.cp=null);this.ol&&(this.ol.cancel(),this.ol=null);this.Ce=this.Ya=this.Ib=null};b.HP=a})(d.ih||(d.ih={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1511
1511
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){}a.Sv=function(c){var e=D.aa.create("<DataSourceInfo/>").text(this.ub.dataSourceInfo),g=D.aa.create("<Catalog/>").text(this.ub.Be),l=D.aa.create("<AxisFormat/>").text("TupleFormat"),m=D.aa.create("<Content/>").text("Data"),n=D.aa.create("<Format/>").text("Multidimensional");e=a.Cr([e,g,l,m,n]);c=D.aa.create('<Execute xmlns="urn:schemas-microsoft-com:xml-analysis"><Command><Statement><![CDATA['+c+"]]\x3e</Statement></Command>"+
|
|
1512
1512
|
D.aa.Dc(e)+"</Execute>");return a.Wo(c)};a.tua=function(){return a.Wo(a.Br(D.aa.create("<RequestType/>").text("DISCOVER_DATASOURCES"),D.aa.create("<Restrictions/>"),D.aa.create("<Properties/>")))};a.Sua=function(){var c=D.aa.create("<Content/>").text("Data"),e=D.aa.create("<DataSourceInfo/>").text(this.ub.dataSourceInfo);c=a.Cr([c,e]);return a.Wo(a.Br(D.aa.create("<RequestType/>").text("DISCOVER_PROPERTIES"),D.aa.create("<Restrictions/>").append(D.aa.create("<RestrictionList/>").append(D.aa.create("<PropertyName/>").text("DBMSVersion"))),
|
|
1513
1513
|
c))};a.nua=function(){var c=D.aa.create("<DataSourceInfo/>").text(this.ub.dataSourceInfo),e=D.aa.create("<Format/>").text("Tabular");c=a.Cr([c,e]);e=D.aa.create("<RequestType/>").text("DBSCHEMA_CATALOGS");var g=D.aa.create("<Restrictions/>");return a.Wo(a.Br(e,g,c))};a.sua=function(){var c=D.aa.create("<DataSourceInfo/>").text(this.ub.dataSourceInfo),e=D.aa.create("<Catalog/>").text(this.ub.Be),g=D.aa.create("<Format/>").text("Tabular");c=a.Cr([c,e,g]);e=D.aa.create("<CATALOG_NAME/>").text(this.ub.Be);
|
|
@@ -1535,9 +1535,9 @@ this;f.za(!0,f.model.A.j.uE);null!=this.Ze&&this.Ze.call("Handshaking",{componen
|
|
|
1535
1535
|
credentials:this.connectionInfo.credentials&&this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,customData:this.connectionInfo.Hm,localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles},function(e,g){return c.tU(e,g)},function(e){return c.Mb(e)},function(e){return c.rl(e)}))};a.prototype.tU=function(c,e){if(null!=this.YF){null!=e&&0<e.sessionId&&(d.OLAPConnectionInfo.sessionId=e.sessionId);
|
|
1536
1536
|
for(e=0;e<c.length;e++){var g=c[e];var l=g.uniqueName;var m=this.connectionInfo.mapping.Ia(l,"caption",g.caption),n=g.type;l=new d.I.joa(l,m);l.type=n;l.NG=g.granularityNames;l.description=g.description;this.va.I.pt(l)}this.YF()}};a.prototype.E2=function(){var c=this;this.aM=function(){return c.BU()};this.eU()};a.prototype.eU=function(){var c=this;null!=this.Ze&&(f.za(!0,f.model.A.j.dX),this.Ze.call("DiscoverHierarchies",{catalog:this.connectionInfo.Be,cubeUniqueName:this.connectionInfo.va,credentials:this.connectionInfo.credentials&&
|
|
1537
1537
|
this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,sessionId:d.OLAPConnectionInfo.sessionId,customData:this.connectionInfo.Hm,localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles},function(e){return c.R2(e)},function(e){return c.Mb(e)},function(e){return c.rl(e)}))};a.prototype.R2=function(c){if(null!=this.aM){for(var e=0;e<c.length;e++){var g=c[e],l=g.dimensionUniqueName,m=g.uniqueName,
|
|
1538
|
-
n=this.connectionInfo.mapping.Ia(m,"caption",g.caption),p=g.type,t=g.allMemberName,q=g.defaultMemberName,v=g.displayFolder||"",y=g.isParentChild||!1,A=g.isRagged||!1;l=this.va.I.Xo(l);null!=l&&(m=this.connectionInfo.Ba==k.i.oa.Jc?new d.I.cP(m,n):new d.jp.I.W7(m,n),m.origin=1,m.type=k.i.Hc.$B(p),m.wn=t,m.It=q,m.Pc=v,m.lu=y,m.MT=A,m.description=g.description,l.
|
|
1538
|
+
n=this.connectionInfo.mapping.Ia(m,"caption",g.caption),p=g.type,t=g.allMemberName,q=g.defaultMemberName,v=g.displayFolder||"",y=g.isParentChild||!1,A=g.isRagged||!1;l=this.va.I.Xo(l);null!=l&&(m=this.connectionInfo.Ba==k.i.oa.Jc?new d.I.cP(m,n):new d.jp.I.W7(m,n),m.origin=1,m.type=k.i.Hc.$B(p),m.wn=t,m.It=q,m.Pc=v,m.lu=y,m.MT=A,m.description=g.description,l.Zh(m))}this.aM()}};a.prototype.BU=function(){var c=this;this.tM=function(){return c.b3()};this.vM()};a.prototype.vM=function(){var c=this;null!=
|
|
1539
1539
|
this.Ze&&(f.za(!0,f.model.A.j.eX),this.Ze.call("DiscoverLevels",{catalog:this.connectionInfo.Be,cubeUniqueName:this.connectionInfo.va,credentials:this.connectionInfo.credentials&&this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,sessionId:d.OLAPConnectionInfo.sessionId,customData:this.connectionInfo.Hm,localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles},function(e){return c.Z2(e)},
|
|
1540
|
-
function(e){return c.Mb(e)},function(e){return c.rl(e)}))};a.prototype.Z2=function(c){if(null!=this.tM){for(var e=0;e<c.length;e++){var g=c[e],l=g.hierarchyUniqueName,m=g.caption,n=g.type,p=g.dbType,t=g.uniqueName,q=g.levelNumber,v=g.properties,y=this.va.I.Xo(g.dimensionUniqueName);if(null!=y&&(l=y.Rg(l),null!=l&&(m=new d.I.loa(t,m,q),m.type=f.v(n)?k.i.eb.Sc:k.i.eb.$B(n,!f.v(p)&&0==n,p),m.description=g.description,l.sh(m),y.
|
|
1540
|
+
function(e){return c.Mb(e)},function(e){return c.rl(e)}))};a.prototype.Z2=function(c){if(null!=this.tM){for(var e=0;e<c.length;e++){var g=c[e],l=g.hierarchyUniqueName,m=g.caption,n=g.type,p=g.dbType,t=g.uniqueName,q=g.levelNumber,v=g.properties,y=this.va.I.Xo(g.dimensionUniqueName);if(null!=y&&(l=y.Rg(l),null!=l&&(m=new d.I.loa(t,m,q),m.type=f.v(n)?k.i.eb.Sc:k.i.eb.$B(n,!f.v(p)&&0==n,p),m.description=g.description,l.sh(m),y.Zh(l),f.model.B.C.oN&&null!=v&&0<v.length)))for(n=0;n<v.length;n++)g=f.v(v[n].item)?
|
|
1541
1541
|
v[n]:v[n].item,g=new k.I.hW(g[0],g[1]),m.iZ(g)}this.tM()}};a.prototype.b3=function(){var c=this;this.xM=function(){return c.HU()};this.gU()};a.prototype.gU=function(){var c=this;null!=this.Ze&&(f.za(!0,f.model.A.j.XO),this.Ze.call("DiscoverMeasures",{catalog:this.connectionInfo.Be,cubeUniqueName:this.connectionInfo.va,credentials:this.connectionInfo.credentials&&this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,sessionId:d.OLAPConnectionInfo.sessionId,customData:this.connectionInfo.Hm,
|
|
1542
1542
|
localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles},function(e){return c.g3(e)},function(e){return c.Mb(e)},function(e){return c.rl(e)}))};a.prototype.g3=function(c){if(null!=this.xM){for(var e,g=0;g<c.length;g++){var l=c[g],m=l.uniqueName;e=this.connectionInfo.mapping.Ia(m,"caption",l.caption);var n="String"==typeof l.type?k.i.Ka.Xxa(l.type):k.i.Ka.fb,p=l.groupCaption||l.groupName||"",t=l.displayFolder||"";
|
|
1543
1543
|
e=new d.I.pA(m,e);e.type=n;e.Ag=p;e.Pc=t;e.Tc=this.connectionInfo.mapping.Ia(m,"aggregations");e.description=l.description;this.va.I.Lj(e)}this.xM()}};a.prototype.HU=function(){var c=this;this.connectionInfo.Ba==k.i.oa.Jc?(this.mM=function(){return c.W2()},this.fU()):this.Iq()};a.prototype.fU=function(){var c=this;null!=this.Ze&&(f.za(!0,f.model.A.j.O7),this.Ze.call("DiscoverKpis",{catalog:this.connectionInfo.Be,cubeUniqueName:this.connectionInfo.va,credentials:this.connectionInfo.credentials&&this.connectionInfo.credentials.Rm?
|
|
@@ -1555,7 +1555,7 @@ c.ea(g).uniqueName+"]");return 0<e.length?", "+e.join(","):""};a.prototype.Ek=fu
|
|
|
1555
1555
|
ascendants:null==this.xJ?"":this.xJ.join(",,"),siblings:null==this.WJ?"":this.WJ.join(",,"),activeLevel:null==this.hierarchy.wf?"":this.hierarchy.wf,credentials:this.connectionInfo.credentials&&this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,sessionId:d.OLAPConnectionInfo.sessionId,customData:this.connectionInfo.Hm,localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles},function(g){return c.gj(g)},
|
|
1556
1556
|
function(g){return c.Mb(g)},function(g){return c.rl(g)});this.Nv++}};a.prototype.cs=function(){if(null!=this.timer){var c=this.timer.gy/2;2<c&&f.za(!0,f.model.A.j.kn,f.O.bind(f.model.A.j.Js,x.Vb.format(c,new f.model.$b.W.rf,!1,!1,1)))}};a.prototype.pp=function(){this.timer.wl&&f.Ua("Can't connect to data source!",f.model.A.j.xa)};a.prototype.cg=function(){this.timer&&this.timer.wl&&(this.timer.stop(),this.timer.mb(x.bf.Qk,this.Lk),this.timer.mb(x.bf.Rk,this.jj))};a.prototype.gj=function(c){var e=
|
|
1557
1557
|
this;null!=this.Ze&&(this.cg(),1==this.Nv&&(this.jH=c.count),1>this.hierarchy.Xn&&(this.hierarchy.Xn=c.all),this.fD(c.members,function(){return e.pH()}))};a.prototype.fD=function(c,e){if(f.v(c))e();else if(this.zM=c,0==this.zM.length)this.rU();else{for(c=this.hierarchy.yi;!this.aHa(c);)c++;e()}};a.prototype.aHa=function(c){var e=this.zM.shift();if(null!=e){var g=e.parentUniqueName,l=e.caption,m=e.uniqueName,n=e.ordinal,p=e.properties;var t=this.hierarchy.Ab(m);if(null==t&&(e=new k.I.Sd({uniqueName:m,
|
|
1558
|
-
caption:l,
|
|
1558
|
+
caption:l,ii:g,ordinal:n}),""===this.nd&&null==this.xJ&&null==this.WJ&&(e.cc=c),t=this.hierarchy.jc(e),null!=p&&0<p.length))for(g=0;g<p.length;g++)e=f.v(p[g].item)?p[g]:p[g].item,t.setProperty(e[0],e[1]);""!=this.nd||null!=this.xJ||null!=this.WJ?this.Vy.push(t):t.cc=c;null!=t&&!t.Xb&&1E3<this.hierarchy.Xn&&!this.drillAll&&(t.Af=!0);this.yM++}return 0>=this.zM.length};a.prototype.pH=function(){var c=0==this.jH?100:Math.round(this.yM/this.jH*100);100<c&&(c=100);f.za(!0,f.model.A.j.kn,this.hierarchy.caption+
|
|
1559
1559
|
" - "+c+"% ("+this.yM+" of "+this.jH+")");this.yM>=this.jH?this.rU():this.Ek()};a.prototype.rU=function(){f.za(!1);this.cg();this.SZ();this.zM=[];this.Vy=[]};a.prototype.Mb=function(c){var e=this;this.cg();f.za(!1);c=f.ia(c.message)?f.model.A.j.YO:c.message;"ERROR_SESSION_EXPIRED"==c?f.model.B.C.C4?f.Ua(f.model.A.j.cX,f.model.A.j.im,f.qb.im,[f.model.A.j.XD,f.model.A.j.Ok],[function(){return e.az()},null]):this.az():(f.Ua(c,f.model.A.j.xa),null!=this.Ya&&(this.Ya(c),this.Ya=null))};a.prototype.az=
|
|
1560
1560
|
function(){f.model.Ta.P().P3()};a.prototype.$G=function(){return!1};a.prototype.cancel=function(){null!=this.Ze&&this.Ze.cancel();this.Ze=null;null!=this.timer&&this.cg();this.SZ=this.Ya=this.Eb=this.timer=null};b.jja=a})(d.Co||(d.Co={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1561
1561
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){var c=b.SD.apply(this,arguments)||this;c.df=k.La.P();c.Gb=[];c.Uc=[];c.awa=!1;c.Lk=function(){return c.cs()};c.jj=function(){return c.pp()};return c}u(a,b.SD);a.prototype.load=function(c,e,g){f.za(!0,f.model.A.j.Kf,f.O.bind(f.model.A.j.Js,"0.5"));this.connectionInfo=c;this.Jj=e;this.Eb=g;this.qj=this.Nv=0;this.Qf=this.df.qa.Au;this.Ze=new b.lP(this.connectionInfo.proxyUrl,f.model.Fa.na.J(f.model.Fa.na.XU),!0,this.connectionInfo.requestHeaders,
|
|
@@ -1564,8 +1564,8 @@ measures:e,chunkIndex:this.Nv,credentials:this.connectionInfo.credentials&&this.
|
|
|
1564
1564
|
function(m){return c.Mb(m)},function(m){return c.rl(m)});this.Nv++}};a.prototype.cs=function(){null!=this.timer&&f.za(!0,f.model.A.j.Kf,f.O.bind(f.model.A.j.Js,x.Vb.format(this.timer.gy/2,new f.model.$b.W.rf,!1,!1,1)))};a.prototype.pp=function(){this.timer.wl&&f.Ua("Can't connect to data source!",f.model.A.j.xa)};a.prototype.cg=function(){this.timer&&this.timer.wl&&(this.timer.stop(),this.timer.mb(x.bf.Qk,this.Lk),this.timer.mb(x.bf.Rk,this.jj))};a.prototype.drillThrough=function(c,e,g,l,m,n){var p=
|
|
1565
1565
|
this;f.za(!0,f.model.A.j.Kf,f.O.bind(f.model.A.j.Js,"0.5"));this.connectionInfo=c;this.Jj=e;this.Eb=n;this.Qf=this.df.qa.Au;this.Ze=new b.lP(this.connectionInfo.proxyUrl,f.model.Fa.na.J(f.model.Fa.na.XU),!0,this.connectionInfo.requestHeaders,this.connectionInfo.withCredentials);c=this.kza(this.df.qa,g,l);m={catalog:this.connectionInfo.Be,cubeUniqueName:this.connectionInfo.va,subquery:this.connectionInfo.subquery,measureUniqueName:m.uniqueName,members:c,credentials:this.connectionInfo.credentials&&
|
|
1566
1566
|
this.connectionInfo.credentials.Rm?this.connectionInfo.credentials.hash:null,sessionId:d.OLAPConnectionInfo.sessionId,customData:this.connectionInfo.Hm,localeIdentifier:this.connectionInfo.localeIdentifier,effectiveUserName:this.connectionInfo.effectiveUserName,roles:this.connectionInfo.roles};this.connectionInfo.Ba==k.i.oa.Jc&&(m.drillThroughMaxRows=f.model.B.C.aL);this.Ze.call("DrillThrough",m,function(t){return p.sEa(t)},function(t){return p.Mb(t)},function(t){return p.rl(t)});this.timer=new x.Ps(500,
|
|
1567
|
-
1E4);this.timer.N(x.bf.Qk,this.Lk);this.timer.N(x.bf.Rk,this.jj);this.timer.start()};a.prototype.kza=function(c,e,g){for(var l=[],m,n,p=0;p<c.Bb.length;p++){var t=c.Bb.ea(p);m=[];n=!1;if(!t.Ue){if(null!=g[p]){var q=t.ua(g[p]);f.v(q)||f.ia(q.uniqueName)||(m.push(q.uniqueName),n=!0)}if(t.filter.
|
|
1568
|
-
"}"))}}for(p=0;p<c.vb.length;p++)if(t=c.vb.ea(p),n=!1,m=[],!t.Ue){null!=e[p]&&(q=t.ua(e[p]),f.v(q)||f.ia(q.uniqueName)||(m.push(q.uniqueName),n=!0));if(t.filter.
|
|
1567
|
+
1E4);this.timer.N(x.bf.Qk,this.Lk);this.timer.N(x.bf.Rk,this.jj);this.timer.start()};a.prototype.kza=function(c,e,g){for(var l=[],m,n,p=0;p<c.Bb.length;p++){var t=c.Bb.ea(p);m=[];n=!1;if(!t.Ue){if(null!=g[p]){var q=t.ua(g[p]);f.v(q)||f.ia(q.uniqueName)||(m.push(q.uniqueName),n=!0)}if(t.filter.ei&&!n)for(n=0;n<t.$a.length;n++)q=t.ua(t.$a[n]),f.v(q)||f.ia(q.uniqueName)||-1==m.indexOf(q.uniqueName)&&m.push(q.uniqueName);0<m.length&&(this.connectionInfo.Ba==k.i.oa.Rd?l.push(m.join(",")):l.push("{"+m.join(",")+
|
|
1568
|
+
"}"))}}for(p=0;p<c.vb.length;p++)if(t=c.vb.ea(p),n=!1,m=[],!t.Ue){null!=e[p]&&(q=t.ua(e[p]),f.v(q)||f.ia(q.uniqueName)||(m.push(q.uniqueName),n=!0));if(t.filter.ei&&!n)for(n=0;n<t.$a.length;n++)q=t.ua(t.$a[n]),f.v(q)||f.ia(q.uniqueName)||-1==m.indexOf(q.uniqueName)&&m.push(q.uniqueName);0<m.length&&(this.connectionInfo.Ba==k.i.oa.Rd?l.push(m.join(",")):l.push("{"+m.join(",")+"}"))}for(p=0;p<c.pages.length;p++){t=c.pages.ea(p);m=[];if(t.filter.ei)for(n=0;n<t.$a.length;n++)q=t.ua(t.$a[n]),f.v(q)||f.ia(q.uniqueName)||
|
|
1569
1569
|
-1==m.indexOf(q.uniqueName)&&m.push(q.uniqueName);0<m.length&&(this.connectionInfo.Ba==k.i.oa.Rd?l.push(m.join(",")):l.push("{"+m.join(",")+"}"))}return l};a.prototype.sEa=function(c){if(null!=this.Ze){c=c.cellData;if(null!=c&&0<c.length&&null!=c[0].item)for(var e=0;e<c.length;e++)c[e]=c[e].item;this.cg();f.za(!1);this.Eb(c)}};a.prototype.cancel=function(){this.connectionInfo=this.df=null;this.Gb=[];this.Uc=[];this.awa=!1;this.Eb=this.Jj=null;null!=this.Ze&&this.Ze.cancel();this.Ze=null;this.cg();
|
|
1570
1570
|
this.timer=null};a.prototype.lp=function(c){null!=this.Ze&&(c.isComplete||this.xw(),this.cg(),this.connectionInfo.Ba==k.i.oa.Rd?(this.OU(c.columnsList?JSON.parse(c.columnsList):[]),this.RU(c.rowsList?JSON.parse(c.rowsList):[]),this.Pfa(c.cellData?JSON.parse(c.cellData):[],c.cellDataFmt?JSON.parse(c.cellDataFmt):[])):(this.OU(c.columnsList),this.RU(c.rowsList),this.Pfa(c.cellData,c.cellDataFmt)),this.qj+=this.Gb.length*this.Uc.length,c.isComplete?(f.za(!1),this.Eb()):(c=null!=c.percent?Math.round(1E4*
|
|
1571
1571
|
c.percent)/100:NaN,f.za(!0,f.model.A.j.Kf,this.qj+" items "+(isNaN(c)||0>=c?"":"("+(100<c?100:c)+"%)"))))};a.prototype.OU=function(c){this.Uc=c;if(f.v(c)||0==this.Uc.length)this.Uc=[[[0,0]]]};a.prototype.RU=function(c){this.Gb=[[]];f.v(c)?this.Gb=[[]]:(this.Gb=c,0==this.Gb.length&&(this.Gb=[[]]))};a.prototype.vBa=function(c,e){if(c.length!=e.length)return!1;for(var g=0;g<c.length;g++)if(1<c[g].length&&c[g][1]!=e[g][1])return!1;return!0};a.prototype.Pfa=function(c,e){e=void 0===e?null:e;f.v(c)&&(c=
|
|
@@ -1579,11 +1579,11 @@ f.ia(m)||Array.isArray(m)&&0==m.length||("sessionId"!=e[l]||0!=m)&&"customData"!
|
|
|
1579
1579
|
JSON.parse(this.xhr.response);c&&null==c.error?null!=this.Ib&&this.Ib(c.data,c):this.Ya&&c&&this.Ya(c.error)};a.prototype.cancel=function(){null!=this.xhr&&(this.xhr.onerror=null,this.xhr.onreadystatechange=null,this.xhr.abort());this.Bu=this.url=this.Ib=this.xhr=this.requestHeaders=null};b.lP=a})(d.Co||(d.Co={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1580
1580
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){return d.ih.GP.call(this,c)||this}u(a,d.ih.GP);a.prototype.JB=function(){for(var c=this.hierarchy.W1,e=[],g=0;g<c.length;g++)e.push(this.hierarchy.uniqueName+".["+c.ea(g).uniqueName+"]");return 0<e.length?", "+e.join(","):""};a.prototype.XZ=function(){var c=this.JB(this.hierarchy),e=this.Dn();return null==this.Yb?this.$G()?f.O.bind("SELECT DISTINCT({{0}.allmembers}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{1} on columns FROM {2}",
|
|
1581
1581
|
this.hierarchy.uniqueName,c,e):this.hierarchy.Jh?f.O.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers, {0}.levels(1).allmembers}), {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{2} on 0 FROM {1}",this.hierarchy.uniqueName,e,c,this.Gk.toString(),this.nq.toString()):f.O.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers}), {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{2} on 0 FROM {1}",this.hierarchy.uniqueName,e,c,this.Gk.toString(),this.nq.toString()):f.O.bind("SELECT Subset({0}.children, {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME {2} on columns FROM {1}",
|
|
1582
|
-
this.Yb.uniqueName,e,c,this.Gk.toString(),this.nq.toString(),this.hierarchy.uniqueName)};a.prototype.PU=function(c,e){var g=c.find("PARENT_UNIQUE_NAME").text();var l=c.find("Caption").text(),m=c.find("UName").text(),n=parseInt(c.find("MEMBER_ORDINAL").text());var p=this.hierarchy.Ab(m);if(null==p){p=this.hierarchy.jc(new k.I.Sd({uniqueName:m,caption:l,
|
|
1582
|
+
this.Yb.uniqueName,e,c,this.Gk.toString(),this.nq.toString(),this.hierarchy.uniqueName)};a.prototype.PU=function(c,e){var g=c.find("PARENT_UNIQUE_NAME").text();var l=c.find("Caption").text(),m=c.find("UName").text(),n=parseInt(c.find("MEMBER_ORDINAL").text());var p=this.hierarchy.Ab(m);if(null==p){p=this.hierarchy.jc(new k.I.Sd({uniqueName:m,caption:l,ii:g}));if(p.level&&0<p.level.jf.length)for(l=0;l<p.level.jf.length;l++){g=p.level.jf.ea(l);p.setProperty(g.uniqueName,c.find(g.YV).text());m=c.getChildren();
|
|
1583
1583
|
for(var t=0;t<m.length;t++){var q=m[t];q.nodeName.toLowerCase()==g.YV.toLowerCase()&&(q=q.text(),p.setProperty(g.uniqueName,q))}}p.cc=isNaN(n)?e:n}else this.state==k.to.sE&&(p.cc=isNaN(n)?e:n);null==p||p.Xb||(p.Af=!0);p.parent&&!p.parent.Xb&&(p.parent.Af=!1);return p.ordinal};b.dpa=a})(d.FD||(d.FD={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1584
1584
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=d.ih.HP.call(this,c)||this;e.ol=new b.dpa(c);return e}u(a,d.ih.HP);a.prototype.tU=function(){var c=D.aa.create(this.cl.response);c=this.$o(c);if(0<c.length){this.os();for(var e=0;e<c.length;e++)this.Rfa(c[e]);this.OCa();this.YF()}else c=f.model.A.j.tE,f.Ua(c,"",f.qb.xa),f.za(!1),this.Ya(c)};a.prototype.OCa=function(){var c=this;this.ND=new D.Wi;this.ND=this.zh(this.ND);this.ND.data=D.aa.Dc(d.ih.Mf.Sua());this.ND.N(z.da.Lc,
|
|
1585
1585
|
function(){return c.tGa()});this.ND.N(z.da.xa,function(e){return c.Mb(e)});this.ND.load(this.ga.proxyUrl)};a.prototype.tGa=function(){var c=D.aa.create(this.ND.response);c=this.$o(c);this.ga.version=parseFloat(c.find("Value").text().substr(0,5))};a.prototype.Vfa=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=c.find("HIERARCHY_UNIQUE_NAME").text(),l=c.find("LEVEL_CAPTION").text(),m=c.find("LEVEL_UNIQUE_NAME").text(),n=parseInt(c.find("LEVEL_NUMBER").text());c=parseInt(c.find("LEVEL_TYPE").text());
|
|
1586
|
-
e=this.va.I.Xo(e);null!=e&&(g=e.Rg(g),null!=g&&(l=new k.I.Mp(m,l,n),l.type=k.i.eb.$B(c),g.sh(l),e.
|
|
1586
|
+
e=this.va.I.Xo(e);null!=e&&(g=e.Rg(g),null!=g&&(l=new k.I.Mp(m,l,n),l.type=k.i.eb.$B(c),g.sh(l),e.Zh(g)))};a.prototype.E3=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=c.find("HIERARCHY_UNIQUE_NAME").text(),l=c.find("LEVEL_UNIQUE_NAME").text(),m=c.find("PROPERTY_CAPTION").text();c.find("PROPERTY_TYPE").text();c=c.find("PROPERTY_NAME").text();var n=(g+".["+c+"]").replace(/\[/g,"_x005B_").replace(/\]/g,"_x005D_").replace(/\s/g,"_x0020_");"NAME"!=c&&"KEY0"!=c&&"KEY1"!=c&&"KEY2"!=c&&"TRAN0"!=
|
|
1587
1587
|
c&&"TRAN1"!=c&&"TRAN2"!=c&&"MEMBER_VALUE"!=c&&"CUSTOM_ROLLUP"!=c&&"UNARY_OPERATOR"!=c&&(e=this.va.I.Xo(e),null!=e&&(g=e.Rg(g),null!=g&&(l=g.Rt(l),null!=l&&(m=new k.I.hW(c,m,n),l.iZ(m)))))};b.epa=a})(d.FD||(d.FD={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1588
1588
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){this.slice=c;this.ga=e}a.prototype.wS=function(c){return c.lu?"members":"allmembers"};a.prototype.vS=function(c){return c.Jh?c.wn:f.O.bind("{0}.levels(0).{1}",c.uniqueName,this.wS(c))};a.prototype.dT=function(){return 0<this.slice.Wc(k.i.fa.Oa).jd.length};a.prototype.eT=function(){return 0<this.slice.Wc(k.i.fa.Ea).jd.length};a.prototype.En=function(){for(var c=[],e=this.slice.Au,g=0;g<e.length;g++)c.push(e[g].uniqueName);
|
|
1589
1589
|
return"{"+c.join(", ")+"}"};a.prototype.HB=function(){var c=this.En();if(0<this.slice.Bb.length){var e=this.GK(this.slice.Bb),g="";this.dT()&&(g=this.Zx(this.slice.Wc(k.i.fa.Oa).jd,this.slice.Bb));return"Crossjoin("+(0<g.length?"Union("+e+", "+g+")":e)+", "+c+")"}return c};a.prototype.KB=function(){if(0<this.slice.vb.length){var c=this.GK(this.slice.vb),e="";this.eT()&&(e=this.Zx(this.slice.Wc(k.i.fa.Ea).jd,this.slice.vb));return 0<e.length?"Union("+c+", "+e+")":c}return""};a.prototype.GK=function(c){for(var e=
|
|
@@ -1597,10 +1597,10 @@ e.ra==k.i.Ub.Ig&&(l=e.value[0].clone().$m(),m=e.value[1].clone().zz(),g="Filter(
|
|
|
1597
1597
|
m?m.format("yyyy-MM-dd"):"",c.Jh?1:0);return[g]};a.prototype.Hua=function(c,e){var g,l=e.value,m=l.length;e.ra==k.i.wb.EQUAL&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption='{2}'))");e.ra==k.i.wb.tf&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<>'{2}'))");e.ra==k.i.wb.WD&&(g="Filter({0}.levels({1}), (Left({0}.CurrentMember.member_caption,{3})='{2}'))");e.ra==k.i.wb.mA&&(g="Filter({0}.levels({1}), (Left({0}.CurrentMember.member_caption,{3})<>'{2}'))");e.ra==k.i.wb.$z&&
|
|
1598
1598
|
(g="Filter({0}.levels({1}), (Right({0}.CurrentMember.member_caption,{3})='{2}'))");e.ra==k.i.wb.oA&&(g="Filter({0}.levels({1}), (Right({0}.CurrentMember.member_caption,{3})<>'{2}'))");e.ra==k.i.wb.dn&&(g="Filter({0}.levels({1}), (InStr(1, {0}.CurrentMember.member_caption,'{2}')>0))");e.ra==k.i.wb.nA&&(g="Filter({0}.levels({1}), (InStr(1, {0}.CurrentMember.member_caption,'{2}')=0))");e.ra==k.i.wb.GREATER&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>'{2}'))");e.ra==k.i.wb.jk&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>='{2}'))");
|
|
1599
1599
|
e.ra==k.i.wb.LESS&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<'{2}'))");e.ra==k.i.wb.nk&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<='{2}'))");if(e.ra==k.i.wb.Ig){g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>='{2}' AND {0}.CurrentMember.member_caption<='{4}'))";l=e.value[0];var n=e.value[1]}e.ra==k.i.wb.vg&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<='{2}' OR {0}.CurrentMember.member_caption>='{4}'))",l=e.value[0],n=e.value[1]);
|
|
1600
|
-
g=f.O.bind(g,c.uniqueName,c.Jh?1:0,l,m,n);return[g]};a.prototype.No=function(c){for(var e=[],g="",l=0;l<c.length;l++){var m=c.ea(l),n=[];m.filter.
|
|
1600
|
+
g=f.O.bind(g,c.uniqueName,c.Jh?1:0,l,m,n);return[g]};a.prototype.No=function(c){for(var e=[],g="",l=0;l<c.length;l++){var m=c.ea(l),n=[];m.filter.ei&&(n=m.Lr(m.$a));m.filter.Iy&&(n=this.uua(m,m.filter.query));m.filter.kw&&(n=this.Hua(m,m.filter.query));if(!m.Jh){var p=m.Nl();this.fd.Db(p)||this.fd.Qa(p,this.vS(m))}0<n.length&&e.push("{"+n.join(",")+"}")}0<e.length&&(g="("+e.join(", ")+")");return g};a.prototype.Rua=function(c,e,g){for(var l=[],m=c.indexOf(e.uniqueName),n=0;n<m;n++){var p=c.ea(n);
|
|
1601
1601
|
l.push("Hierarchize("+p.uniqueName+".levels("+(p.Jh?1:0)+")."+this.wS(e)+")")}c="Hierarchize({"+this.vS(e)+"})";0<l.length&&(c="CrossJoin("+l.join(",")+", "+c+")");return f.O.bind("( SELECT Generate({0} AS {1}, {7}( Filter( Except( DrilldownLevel({1}.Current AS {2}, , {5}{8} ), {2}), Not IsEmpty({3})), {4}, {3})) ON COLUMNS FROM {6})",c,"["+e.caption+"___0___0]","["+e.caption+"_1_1_1]",e.filter.measure.uniqueName,e.filter.query.value,""+m,g,e.filter.query.ra==k.i.Pb.mj?"TopCount":"BottomCount",", INCLUDE_CALC_MEMBERS")};
|
|
1602
1602
|
a.prototype.taa=function(c,e){for(var g=0;g<c.length;g++){var l=c.ea(g);l.filter.Kh&&this.slice.Qf.find(function(m){return m.uniqueName===l.filter.measure.uniqueName})&&(e=this.Rua(c,l,e))}return e};a.prototype.LB=function(){if(0==this.fd.length)return"";for(var c="with",e=0;e<this.fd.length;e++)c+=f.O.bind(" member {0} as IIF(IsError(Aggregate({{1}})), null, Aggregate({{1}}))",this.jD(this.fd.th(e)),this.jD(this.fd.ea(e)));return c};a.prototype.Dn=function(c){c=void 0===c?!0:c;var e=f.ia(this.ga.subquery)?
|
|
1603
|
-
"["+this.ga.va+"]":"("+this.ga.subquery+")";var g=this.No(this.slice.Bb),l=this.No(this.slice.vb),m="",n="";if(0!==this.slice.pages.length)for(var p=0;p<this.slice.pages.length;p++){var t=this.slice.pages.ea(p);if(t.filter&&t.filter.
|
|
1603
|
+
"["+this.ga.va+"]":"("+this.ga.subquery+")";var g=this.No(this.slice.Bb),l=this.No(this.slice.vb),m="",n="";if(0!==this.slice.pages.length)for(var p=0;p<this.slice.pages.length;p++){var t=this.slice.pages.ea(p);if(t.filter&&t.filter.ei){var q=t.filter.tj();1==q.length&&c?n=0===n.length?" WHERE ("+t.I0(q[0])+")":n.substring(0,n.length-1)+(", "+t.I0(q[0])+")"):1<q.length&&c&&(n=0===n.length?" WHERE ("+(t.uniqueName+".CurrentMember)"):n.substring(0,n.length-1)+(", "+(t.uniqueName+".CurrentMember)")))}}0<
|
|
1604
1604
|
this.slice.pages.length&&(m=this.No(this.slice.pages));0==g.length&&0==l.length&&0==m.length?c=e:(0<g.length&&(g+=" ON COLUMNS"),0<l.length&&(0<g.length?l=", "+l+" ON ROWS":(g=l+" ON COLUMNS",l="")),0<m.length&&(m="SELECT "+m+" ON COLUMNS FROM "+e),0<g.length||0<l.length?(c="SELECT "+g+l+" FROM ",c=0<m.length?c+("("+m+")"):c+e):c=m,c="("+c+")");c=this.taa(this.slice.vb,c);c=this.taa(this.slice.Bb,c);0<n.length&&(c+=n);return c};a.prototype.jD=function(c){-1<c.indexOf("'")&&(c=c.replace(RegExp("'",
|
|
1605
1605
|
"g"),"''"));return c};a.prototype.expand=function(c,e){this.fd=new f.ob;c==k.i.fa.Ea?(c=this.HB(),e=this.U_(e)):(c=this.Q_(e),e=this.KB());var g=this.Dn();c="NON EMPTY "+c+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS";e=this.LD?0<e.length?", NON EMPTY _ROWS_TOKEN_START_"+e+"_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":0<e.length?", NON EMPTY "+e+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
|
|
1606
1606
|
"";var l=this.LB();return f.O.bind("{4} Select {0} {1} FROM {2} CELL PROPERTIES {3}",c,e,g,this.VZ(),l)};a.prototype.pe=function(c,e,g,l){this.fd=new f.ob;c==k.i.fa.Ea?(c=this.HB(),e=this.F_(e,l)):(c=this.E_(e,l),e=this.KB());l=this.Dn();c="NON EMPTY "+c+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS";e=this.LD?0<e.length?", NON EMPTY _ROWS_TOKEN_START_"+e+"_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
|
|
@@ -1614,22 +1614,22 @@ this.hierarchy.uniqueName,c,g,e):this.hierarchy.Jh?f.O.bind("{5} SELECT crossjoi
|
|
|
1614
1614
|
this.nq.toString(),g,e):f.O.bind("{5} SELECT crossjoin(Subset({0}.children, {2}, {3}), {{4}}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.Yb.uniqueName,c,this.Gk.toString(),this.nq.toString(),g,e)):e=null==this.Yb?this.$G()?f.O.bind("SELECT DISTINCT({{0}.allmembers}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.uniqueName,c):this.hierarchy.Jh?f.O.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers, {0}.levels(1).allmembers}), {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",
|
|
1615
1615
|
this.hierarchy.uniqueName,c,this.Gk.toString(),this.nq.toString()):f.O.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers}), {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.uniqueName,c,this.Gk.toString(),this.nq.toString()):f.O.bind("SELECT Subset({0}.children, {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.Yb.uniqueName,c,this.Gk.toString(),this.nq.toString());return e};a.prototype.fD=function(c){var e=c.find("root");if(0<e.find("Fault").length)f.Ua(D.aa.Dc(e.find("Fault faultstring")),
|
|
1616
1616
|
"Query error!",f.qb.xa);else{this.wH=[];c=[];for(var g=e.find('Axes Axis[name="Axis0"] Tuples Tuple Member'),l=this.hierarchy.yi,m=0;m<g.length;m++)c.push(this.PU(g[m],m+l));e=e.find("CellData Cell");for(m=0;m<e.length;m++)if(l=e[m],g=parseInt(l.attr("CellOrdinal")),l=l.find("Value").text(),0>l.indexOf("MondrianEvaluationException")&&!f.v(this.wH)&&!f.v(this.wH[g])){var n=this.wH[g][1];g=this.hierarchy.Ab(this.wH[g][0]);null!=g&&g.setProperty(n,l)}return c}};a.prototype.PU=function(c,e){var g=c.find("PARENT_UNIQUE_NAME").text();
|
|
1617
|
-
var l=c.find("LName").text();var m=c.find("Caption").text(),n=c.find("UName").text();c=parseInt(c.find("MEMBER_ORDINAL").text());if("[Measures].[MeasuresLevel]"==l)null!=this.Fea&&this.wH.push([this.Fea.uniqueName,m]);else return l=this.hierarchy.Ab(n),null==l?(l=this.hierarchy.jc(new k.I.Sd({uniqueName:n,caption:m,
|
|
1617
|
+
var l=c.find("LName").text();var m=c.find("Caption").text(),n=c.find("UName").text();c=parseInt(c.find("MEMBER_ORDINAL").text());if("[Measures].[MeasuresLevel]"==l)null!=this.Fea&&this.wH.push([this.Fea.uniqueName,m]);else return l=this.hierarchy.Ab(n),null==l?(l=this.hierarchy.jc(new k.I.Sd({uniqueName:n,caption:m,ii:g})),l.cc=isNaN(c)?e:c):this.state==k.to.sE&&(l.cc=isNaN(c)?e:c),this.Fea=l,null==l||l.Xb||(l.Af=!0),l.parent&&!l.parent.Xb&&(l.parent.Af=!1),l.ordinal};b.$na=a})(d.jp||(d.jp={}))})(h.yb||
|
|
1618
1618
|
(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1619
1619
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){var e=d.ih.HP.call(this,c)||this;e.ol=new b.$na(c);return e}u(a,d.ih.HP);a.prototype.fU=function(){f.za(!1);null!=this.Ib&&this.Ib()};a.prototype.E3=function(c){var e=c.find("DIMENSION_UNIQUE_NAME").text(),g=c.find("HIERARCHY_UNIQUE_NAME").text(),l=c.find("LEVEL_UNIQUE_NAME").text(),m=c.find("PROPERTY_CAPTION").text();c.find("PROPERTY_TYPE").text();c=c.find("PROPERTY_NAME").text();e=this.va.I.Xo(e);null!=e&&(g=e.Rg(g),
|
|
1620
1620
|
null!=g&&(l=g.Rt(l),null!=l&&(m=new k.I.hW(c,m),l.iZ(m))))};b.aoa=a})(d.jp||(d.jp={}))})(h.yb||(h.yb={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1621
1621
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){this.slice=c;this.ub=e}a.prototype.dT=function(){return 0<this.slice.Wc(k.i.fa.Oa).jd.length};a.prototype.eT=function(){return 0<this.slice.Wc(k.i.fa.Ea).jd.length};a.prototype.FV=function(c){return c=c.replace(/[\]|\[]/g,"")};a.prototype.jD=function(c){-1<c.indexOf("'")&&(c=c.replace(RegExp("'","g"),"''"));return c};a.prototype.IK=function(c,e){e=void 0===e?!1:e;var g=[];var l=0!=c.$a.length||c.Jh?c.$a:c.pu(c.ta.ea(1).uniqueName);
|
|
1622
1622
|
for(var m=c.Lr(l),n=[],p,t=0;t<l.length;t++)if(p=c.ua(l[t]),!f.ia(p.uniqueName)){g.push(p.uniqueName);if(p.Ug||this.slice.drillAll)e?g.push(f.O.bind("Descendants({0})",p.uniqueName)):g.push(f.O.bind("{0}.CHILDREN",p.uniqueName));for(;null!=p.parent;){p=p.parent;for(var q=p.my,v=[],y=0;y<q.length;y++){var A=c.ua(q[y]).uniqueName;-1<m.indexOf(A)&&v.push(A)}q=!c.Jh&&p.Xb?c.Nl():p.ysa;if(c.type==k.i.Hc.Pa&&!c.Jh){if(p.Xb)continue;q=p.uniqueName}-1==n.indexOf(q)&&n.push(q);this.fd.Db(q)||c.lu||this.fd.Qa(q,
|
|
1623
|
-
v.join(","))}}e=this.FV(c.uniqueName)+"FilterSet";this.tg.Qa(e,g.join(", "));c=this.FV(c.uniqueName)+"CalculatedSet";this.tg.Qa(c,n.join(", "));return["["+e+"]","["+c+"]"]};a.prototype.JK=function(c,e,g){if(g)if(c.filter.
|
|
1624
|
-
c.uniqueName):f.O.bind("Union({{0}}, {1}.levels(0).AllMembers)",c.Nl(),c.uniqueName);var n=this.Aua(c);c.filter.
|
|
1623
|
+
v.join(","))}}e=this.FV(c.uniqueName)+"FilterSet";this.tg.Qa(e,g.join(", "));c=this.FV(c.uniqueName)+"CalculatedSet";this.tg.Qa(c,n.join(", "));return["["+e+"]","["+c+"]"]};a.prototype.JK=function(c,e,g){if(g)if(c.filter.ei){var l=this.IK(c,!0);g=l[0];l=l[1];e=f.O.bind("Hierarchize(Distinct(Union({0}, {1})))",g,l)}else e="Hierarchize({"+c.uniqueName+".AllMembers})";else{var m=c.Jh?f.O.bind("Union({{0}}, {1}.levels(1).AllMembers)",c.wn,c.uniqueName):c.type==k.i.Hc.Pa?f.O.bind("{0}.levels(0).AllMembers",
|
|
1624
|
+
c.uniqueName):f.O.bind("Union({{0}}, {1}.levels(0).AllMembers)",c.Nl(),c.uniqueName);var n=this.Aua(c);c.filter.ei||!c.Jh&&c.type!=k.i.Hc.Pa?(l=this.IK(c,e&&0<n.length),g=l[0],l=l[1],e=e?0<n.length?f.O.bind("Hierarchize(Distinct(Union(Intersect({0}, Union({1}, {3})), {2})))",g,n,l,m):f.O.bind("Hierarchize(Distinct(Union({0}, {1})))",g,l):c.Nl()):e=e?0<n.length?f.O.bind("Hierarchize(Distinct(Union({0}, {1})))",m,n):m:f.O.bind("{0}.levels(0).AllMembers",c.uniqueName)}c="set_"+this.slice.tc().indexOf(c.uniqueName)+
|
|
1625
1625
|
"_set";this.tg.Qa(c,e);return"["+c+"]"};a.prototype.Aua=function(c){for(var e=[],g=1;g<c.ta.length;g++){var l=c.ta.ea(g);c.ac&&c.ac.uniqueName==l.uniqueName&&e.push(f.O.bind("Descendants({{0}}, {1}, SELF_AND_BEFORE)",c.It,c.ac.uniqueName));l=c.WB(l);if(0!=l.length)for(var m=0;m<l.length;m++){var n=c.ua(l[m]);c.type!=k.i.Hc.Pa||c.Jh?e.push(f.O.bind("{0}.CHILDREN",n.uniqueName)):(n=c.Lr(n.children),e.push(f.O.bind("{"+n.join(","))+"}"))}}return 0<e.length?(c=this.FV(c.uniqueName)+"DrilledSet",this.tg.Qa(c,
|
|
1626
|
-
e.join(",")),"["+c+"]"):""};a.prototype.Zx=function(c,e){for(var g="",l=0;l<c.length;l++){var m=c[l].slice(1);m=this.Oo(m,e);""!=m&&(g=g?f.O.bind("Union({0}, {1})",m,g):m)}return g};a.prototype.Oo=function(c,e){for(var g="",l=e.length-1;0<=l;l--){var m=e.ea(l);if(null!=c[l]){var n=m.ua(c[l]);if(null==n){g="";break}m.filter.
|
|
1626
|
+
e.join(",")),"["+c+"]"):""};a.prototype.Zx=function(c,e){for(var g="",l=0;l<c.length;l++){var m=c[l].slice(1);m=this.Oo(m,e);""!=m&&(g=g?f.O.bind("Union({0}, {1})",m,g):m)}return g};a.prototype.Oo=function(c,e){for(var g="",l=e.length-1;0<=l;l--){var m=e.ea(l);if(null!=c[l]){var n=m.ua(c[l]);if(null==n){g="";break}m.filter.ei?(m=this.IK(m,!0),n=f.O.bind("Hierarchize(Distinct(Union(Intersect({{0}}, {1}), {2})))",n.uniqueName,m[0],m[1])):n="{"+n.uniqueName+"}"}else n=c.length==l?this.JK(m,!0,!1):this.JK(m,
|
|
1627
1627
|
!1,!1);g=l==e.length-1?n:f.O.bind("CrossJoin({{0}}, {{1}})",n,g)}return g};a.prototype.GK=function(c){var e=[];for(var g=this.slice.bd(),l=0;l<g.length;l++)e.push("isEmpty("+g[l].uniqueName+")");e=e.join(" and ");g="";for(l=0;l<c.length;l++){var m=c.ea(l);m=this.JK(m,this.slice.expandAll||0==l,this.slice.drillAll);m="Filter("+m+", not ("+e+"))";g=0<l?"Crossjoin("+g+","+m+")":m}return g};a.prototype.HB=function(){if(0<this.slice.Bb.length){var c=this.GK(this.slice.Bb);this.tg.Qa("columnHierarchiesSet",
|
|
1628
1628
|
c);c="";this.dT()&&(c=this.Zx(this.slice.Wc(k.i.fa.Oa).jd,this.slice.Bb),0<c.length&&this.tg.Qa("columnExpandedSet",c));this.tg.Qa("columnSet","Crossjoin("+(0<c.length?"Union([columnHierarchiesSet], [columnExpandedSet])":"[columnHierarchiesSet]")+", [measureSet])")}else this.tg.Qa("columnSet","[measureSet]")};a.prototype.KB=function(){if(0<this.slice.vb.length){var c=this.GK(this.slice.vb);this.tg.Qa("rowHierarchiesSet",c);c="";this.eT()&&(c=this.Zx(this.slice.Wc(k.i.fa.Ea).jd,this.slice.vb),0<c.length&&
|
|
1629
1629
|
this.tg.Qa("rowExpandedSet",c));this.tg.Qa("rowSet",0<c.length?"Union([rowHierarchiesSet], [rowExpandedSet])":"[rowHierarchiesSet]")}};a.prototype.Q_=function(c){0<this.slice.Bb.length?(c=this.Oo(c,this.slice.Bb),this.tg.Qa("columnSet","Crossjoin("+c+", [measureSet])")):this.tg.Qa("columnSet","[measureSet]")};a.prototype.U_=function(c){0<this.slice.vb.length&&(c=this.Oo(c,this.slice.vb),this.tg.Qa("rowSet",c))};a.prototype.E_=function(c,e){0<this.slice.Bb.length?(c=this.xba(c,e,this.slice.Bb),this.tg.Qa("columnSet",
|
|
1630
|
-
"Crossjoin("+c+", [measureSet])")):this.tg.Qa("columnSet","[measureSet]")};a.prototype.F_=function(c,e){0<this.slice.vb.length&&(c=this.xba(c,e,this.slice.vb),this.tg.Qa("rowSet",c))};a.prototype.xba=function(c,e,g){var l=[];for(var m=this.slice.bd(),n=0;n<m.length;n++)l.push("isEmpty("+m[n].uniqueName+")");l=l.join(" and ");m="";for(n=g.length-1;0<=n;n--){var p=g.ea(n);if(e.hierarchy.uniqueName==p.uniqueName)if(p.filter.
|
|
1631
|
-
e.uniqueName,p,t)}else q=this.JK(p,!0,!1),q=f.O.bind("Intersect({0}.CHILDREN, {{1}})",e.uniqueName,q);else if(null!=c[n]){q=p.ua(c[n]);if(null==q){m="";break}p.filter.
|
|
1632
|
-
this.slice.pages.ea(g);l.filter.
|
|
1630
|
+
"Crossjoin("+c+", [measureSet])")):this.tg.Qa("columnSet","[measureSet]")};a.prototype.F_=function(c,e){0<this.slice.vb.length&&(c=this.xba(c,e,this.slice.vb),this.tg.Qa("rowSet",c))};a.prototype.xba=function(c,e,g){var l=[];for(var m=this.slice.bd(),n=0;n<m.length;n++)l.push("isEmpty("+m[n].uniqueName+")");l=l.join(" and ");m="";for(n=g.length-1;0<=n;n--){var p=g.ea(n);if(e.hierarchy.uniqueName==p.uniqueName)if(p.filter.ei){var t=this.IK(p,!0);p=t[0];t=t[1];var q=f.O.bind("Hierarchize(Distinct(Union(Intersect({0}.CHILDREN, {1}), {2})))",
|
|
1631
|
+
e.uniqueName,p,t)}else q=this.JK(p,!0,!1),q=f.O.bind("Intersect({0}.CHILDREN, {{1}})",e.uniqueName,q);else if(null!=c[n]){q=p.ua(c[n]);if(null==q){m="";break}p.filter.ei?(t=this.IK(p,!0),p=t[0],t=t[1],q=f.O.bind("Hierarchize(Distinct(Union(Intersect({{0}}, {1}), {2})))",q.uniqueName,p,t)):q="{"+q.uniqueName+"}"}else q=this.JK(p,!1,!1);q="Filter("+q+", not ("+l+"))";m=n==g.length-1?q:f.O.bind("CrossJoin({{0}}, {{1}})",q,m)}return m};a.prototype.YZ=function(){for(var c="",e=[],g=0;g<this.slice.pages.length;g++){var l=
|
|
1632
|
+
this.slice.pages.ea(g);l.filter.ei&&(this.fd.Qa(l.Nl(),l.Lr(l.$a).join(",")),e.push(l.Nl()))}0<e.length&&(c=f.O.bind("where ({0})",e.join(", ")));return c};a.prototype.En=function(){for(var c=[],e=0;e<this.slice.Au.length;e++)c.push(this.slice.Au[e].uniqueName);this.tg.Qa("measureSet",c.join(", "))};a.prototype.LB=function(){for(var c="with",e=0;e<this.tg.length;e++)c+=f.O.bind(" set [{0}] as '{{1}}'",this.jD(this.tg.th(e)),this.jD(this.tg.ea(e)));for(e=0;e<this.fd.length;e++)c+=f.O.bind(" member {0} as 'Aggregate({{1}})'",
|
|
1633
1633
|
this.jD(this.fd.th(e)),this.jD(this.fd.ea(e)));return c};a.prototype.select=function(){this.tg=new f.ob;this.fd=new f.ob;this.En();this.HB();this.KB();var c=this.YZ();var e=this.LD?this.tg.Db("rowSet")?", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":this.tg.Db("rowSet")?", NON EMPTY [rowSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"";var g=this.LB();return f.O.bind("{0} Select {1} {2} FROM [{3}] {4} CELL PROPERTIES VALUE",
|
|
1634
1634
|
g,"NON EMPTY [columnSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS",e,this.ub.va,c)};a.prototype.expand=function(c,e){this.tg=new f.ob;this.fd=new f.ob;this.En();c==k.i.fa.Ea?(this.HB(),this.U_(e)):(this.Q_(e),this.KB());c=this.YZ();e=this.LD?this.tg.Db("rowSet")?", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":this.tg.Db("rowSet")?", NON EMPTY [rowSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
|
|
1635
1635
|
"";var g=this.LB();return f.O.bind("{0} Select {1} {2} FROM [{3}] {4} CELL PROPERTIES VALUE",g,"NON EMPTY [columnSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS",e,this.ub.va,c)};a.prototype.pe=function(c,e,g){this.tg=new f.ob;this.fd=new f.ob;this.En();c==k.i.fa.Ea?(this.HB(),this.F_(e,g)):(this.E_(e,g),this.KB());c=this.YZ();e=this.LD?this.tg.Db("rowSet")?", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
|
|
@@ -1644,7 +1644,7 @@ return k.I.qf.prototype.jc.call(this,c)};a.prototype.ua=function(c){return k.I.q
|
|
|
1644
1644
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e,g){return k.I.Mp.call(this,c,void 0===e?"":e,void 0===g?0:g)||this}u(a,k.I.Mp);b.x6=a})(d.I||(d.I={}))})(h.Fe||(h.Fe={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1645
1645
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){return k.I.ik.call(this,c,void 0===e?"":e)||this}u(a,k.I.ik);a.prototype.$0=function(){var c=new a("","");return this.format!=c.format||0==this.Qm?!1:!0};a.prototype.clone=function(){var c=new a(this.uniqueName);this.OK(c);return c};a.prototype.Ni=function(){var c=k.I.ik.prototype.Ni.call(this),e=k.La.P().I.Zj(this.uniqueName);f.v(e)?c.type=k.i.input.pa.fb:c.type=e.inputType;return c};r.Object.defineProperties(a.prototype,
|
|
1646
1646
|
{em:{configurable:!0,enumerable:!0,get:function(){return this.Ja?[]:this.type==k.i.Ka.fb?k.i.ca.fja:k.i.ca.gja},set:function(){}},caption:{configurable:!0,enumerable:!0,get:function(){if(0==f.model.B.C.uz)return this.sc;switch(this.$){case k.i.ca.uc:return f.O.bind(f.model.A.j.cO,this.sc);case k.i.ca.Ms:return f.O.bind(f.model.A.j.hP,this.sc);case k.i.ca.Qi:return f.O.bind(f.model.A.j.jO,this.sc);case k.i.ca.Kp:return f.O.bind(f.model.A.j.XN,this.sc);case k.i.ca.bv:return f.O.bind(f.model.A.j.qP,
|
|
1647
|
-
this.sc);case k.i.ca.cv:return f.O.bind(f.model.A.j.rP,this.sc);case k.i.ca.MAX:return f.O.bind(f.model.A.j.RO,this.sc);case k.i.ca.MIN:return f.O.bind(f.model.A.j.$O,this.sc);case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.sc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.sc);case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.sc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.sc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.sc);case k.i.ca.
|
|
1647
|
+
this.sc);case k.i.ca.cv:return f.O.bind(f.model.A.j.rP,this.sc);case k.i.ca.MAX:return f.O.bind(f.model.A.j.RO,this.sc);case k.i.ca.MIN:return f.O.bind(f.model.A.j.$O,this.sc);case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.sc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.sc);case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.sc);case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.sc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.sc);case k.i.ca.pi:return f.O.bind(f.model.A.j.MI,this.sc);
|
|
1648
1648
|
case k.i.ca.qm:return f.O.bind(f.model.A.j.iP,this.sc);case k.i.ca.pn:return f.O.bind(f.model.A.j.kP,this.sc);case k.i.ca.gn:return f.O.bind(f.model.A.j.rI,this.sc);case k.i.ca.lm:return f.O.bind(f.model.A.j.sI,this.sc);case k.i.ca.mn:return f.O.bind(f.model.A.j.aJ,this.sc);case k.i.ca.om:return f.O.bind(f.model.A.j.bJ,this.sc);case k.i.ca.NONE:return this.sc}return f.O.bind(f.model.A.j.lJ,this.sc)},set:function(c){""==c.trim()?this.sc=f.model.A.j.Pk:this.sc=c}},bm:{configurable:!0,enumerable:!0,
|
|
1649
1649
|
get:function(){return this.sc},set:function(){}}});b.y6=a})(d.I||(d.I={}))})(h.Fe||(h.Fe={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1650
1650
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){return k.I.Xq.apply(this,arguments)||this}u(a,k.I.Xq);a.prototype.Ma=function(){var c=k.I.Xq.prototype.Ma.call(this);c.uniqueName=this.cj;this.parent&&(c.parentMember=this.parent.cj);return c};r.Object.defineProperties(a.prototype,{caption:{configurable:!0,enumerable:!0,set:function(){},get:function(){return this.hierarchy.mC(this.ordinal)}}});b.Zka=a})(d.I||(d.I={}))})(h.Fe||(h.Fe={}))})(k.external||(k.external={}))})(f.u||
|
|
@@ -1663,7 +1663,7 @@ m.push(t)}}else for(g=c.length+1,n=this.Pca(k.i.fa.Ea),p=this.oda(this.slice.Wc(
|
|
|
1663
1663
|
p)))})});a.query.bool.must.push(l)};b.prototype.dT=function(){return 0<this.slice.Wc(k.i.fa.Oa).jd.length};b.prototype.eT=function(){return 0<this.slice.Wc(k.i.fa.Ea).jd.length};b.prototype.Tv=function(a,c,e){e=void 0===e?!1:e;for(var g=this.slice.bd(),l=0;l<c.length;l++)if(this.En(a,g,!0),!e||l!=c.length-1){var m=c[l];this.Fua(a,m);a=a.aggs[m.uniqueName]}e||this.En(a,g)};b.prototype.Fua=function(a,c){f.v(a.aggs)&&(a.aggs={});f.v(a.aggs[c.uniqueName])&&(a.aggs[c.uniqueName]={});if(c.type==k.i.Hc.Pa){var e=
|
|
1664
1664
|
{field:c.uniqueName,min_doc_count:this.connectionInfo.mapping.Ia(c.uniqueName,"min_doc_count"),time_zone:this.connectionInfo.mapping.Ia(c.uniqueName,"time_zone"),format:this.connectionInfo.mapping.Ia(c.uniqueName,"format",f.model.B.C.uq)};this.connectionInfo.mapping.TG(c.uniqueName,"interval")?e.interval=this.connectionInfo.mapping.Ia(c.uniqueName,"interval"):this.connectionInfo.mapping.TG(c.uniqueName,"fixed_interval")?e.fixed_interval=this.connectionInfo.mapping.Ia(c.uniqueName,"fixed_interval"):
|
|
1665
1665
|
e.calendar_interval=this.connectionInfo.mapping.Ia(c.uniqueName,"calendar_interval");a.aggs[c.uniqueName].date_histogram=e}else a.aggs[c.uniqueName].terms={field:c.uniqueName,size:c.Xn}};b.prototype.En=function(a,c,e){var g=this;e=void 0===e?!1:e;f.v(a.aggs)&&(a.aggs={});c.forEach(function(l){var m={};a.aggs[(e?"total_":"")+(l.$+"_")+l.uniqueName]=(m[g.Dya(l)]={field:l.uniqueName},m)})};b.prototype.Dya=function(a){if(a.$!=k.i.ca.Zp){if(a.$==k.i.ca.Kp)return"avg";if(a.$==k.i.ca.uc)return"value_count";
|
|
1666
|
-
if(a.$==k.i.ca.Qi)return"cardinality";if(a.$==k.i.ca.MIN)return"min";if(a.$==k.i.ca.MAX)return"max"}return"sum"};b.prototype.No=function(a){var c=this;this.slice.pages.Kc().forEach(function(e){return c.HK(a,e)});this.slice.Bb.Kc().forEach(function(e){return c.HK(a,e)});this.slice.vb.Kc().forEach(function(e){return c.HK(a,e)})};b.prototype.HK=function(a,c){if(c.filter.
|
|
1666
|
+
if(a.$==k.i.ca.Qi)return"cardinality";if(a.$==k.i.ca.MIN)return"min";if(a.$==k.i.ca.MAX)return"max"}return"sum"};b.prototype.No=function(a){var c=this;this.slice.pages.Kc().forEach(function(e){return c.HK(a,e)});this.slice.Bb.Kc().forEach(function(e){return c.HK(a,e)});this.slice.vb.Kc().forEach(function(e){return c.HK(a,e)})};b.prototype.HK=function(a,c){if(c.filter.ei){this.n_(a);for(var e={bool:{should:[]}},g=c.filter.tj(c.filter.D1),l=0;l<g.length;l++){var m=c.ua(g[l]);e.bool.should.push(this.KK(c,
|
|
1667
1667
|
m))}a.query.bool[c.filter.D1?"must_not":"must"].push(e)}else if(c.filter.kw||c.filter.ZL||c.filter.Iy)this.n_(a),e={bool:{should:[]}},c=c.filter.Iy?this.vua(c):this.Iua(c),e.bool.should.push(c),a.query.bool[c.isExclude?"must_not":"must"].push(e),delete c.isExclude};b.prototype.vua=function(a){var c={},e=0<=k.i.Ub.qx.indexOf(a.filter.query.ra)?a.filter.query.DR(a.getTimezoneOffset()):a.filter.query;if(k.i.Ub.EQUAL===e.ra||k.i.Ub.tf===e.ra){var g=e.value,l={};c.range=(l[a.uniqueName]={gte:g.format("yyyy-MM-dd"),
|
|
1668
1668
|
lt:g.format("yyyy-MM-dd")+"||+1d/d"},l);c.isExclude=k.i.Ub.tf===e.ra}else if(k.i.Ub.UD===e.ra)g={},c.range=(g[a.uniqueName]={lt:e.value.format("yyyy-MM-dd")},g),c.isExclude=!1;else if(k.i.Ub.VD===e.ra)g={},c.range=(g[a.uniqueName]={lt:e.value.format("yyyy-MM-dd")+"||+1d/d"},g),c.isExclude=!1;else if(k.i.Ub.QD===e.ra)g={},c.range=(g[a.uniqueName]={gte:e.value.format("yyyy-MM-dd")+"||+1d/d"},g),c.isExclude=!1;else if(k.i.Ub.RD===e.ra)g={},c.range=(g[a.uniqueName]={gte:e.value.format("yyyy-MM-dd")},
|
|
1669
1669
|
g),c.isExclude=!1;else if(k.i.Ub.Ig===e.ra||k.i.Ub.vg===e.ra)g=e.value[1],l={},c.range=(l[a.uniqueName]={gte:e.value[0].format("yyyy-MM-dd"),lte:g.format("yyyy-MM-dd")},l),c.isExclude=k.i.Ub.vg===e.ra;return c};b.prototype.Iua=function(a){var c={},e=a.filter.query;if(k.i.wb.WD===e.ra||k.i.wb.mA===e.ra){var g={};c.prefix=(g[a.uniqueName]=e.value,g);c.isExclude=k.i.wb.mA===e.ra}else if(k.i.wb.EQUAL===e.ra||k.i.wb.tf===e.ra)g={},c.match=(g[a.uniqueName]=e.value,g),c.isExclude=k.i.wb.tf===e.ra;else if(k.i.wb.$z===
|
|
@@ -1689,9 +1689,9 @@ C)})});y.unshift(A);m(y)})})};b.prototype.cancel=function(){this.Kn&&this.connec
|
|
|
1689
1689
|
1]=0;return this.ed(e,c)};b.prototype.insert=function(a,c,e){for(;a.length<this.yh.length;)a.push(null);for(;c.length<this.Zi.length;)c.push(null);var g=a.concat(c);if(!(-1<g.indexOf(0))){if(0==this.pb.length)for(var l=0;l<g.length;l++)this.pb[l]=[];(l=this.bda(a,this.td))&&l[0]&&l[0].push(this.Vw);(l=this.bda(c,this.Fd))&&l[0]&&l[0].push(this.Vw);this.Og=f.Ha.Pq(this.Og,this.Vw);for(l=0;l<g.length;l++)this.pb[l]=f.Ha.Pq(this.pb[l],g[l]);if(0==this.Ac.length)for(l=0;l<e.length;l++)this.Ac[l]=[];for(l=
|
|
1690
1690
|
0;l<e.length;l++)this.Ac[l]=f.Ha.Pq(this.Ac[l],e[l]);this.values[this.zr(a,c)]=e}};b.prototype.filter=function(){};d.Wka=b})(h.Fe||(h.Fe={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));(function(f){(function(k){(function(h){(function(d){function b(a){a=k.I.Fj.call(this,void 0===a?null:a)||this;a.Jt={};a.Jt.calendar_interval="day";a.Jt.min_doc_count=1;a.Jt.filters=!0;return a}u(b,k.I.Fj);d.oO=b})(h.Fe||(h.Fe={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1691
1691
|
(function(f){(function(k){(function(h){(function(d){function b(a){this.va=k.La.P();this.ZI=1E5;this.connectionInfo=a}b.prototype.load=function(a,c,e,g){var l=this;this.Ib=c;this.Ce=g;this.Ya=e;f.za(!0,f.model.A.j.uE);a.cw(function(m){l.Kn=m;l.j2()})};b.prototype.j2=function(){var a=this;this.Kn.Cza(this.connectionInfo.index,function(c,e){if(c)return a.Mb(c.message,a.Ya);f.qg(a.Ce)&&a.Ce();for(var g in e){c=e[g].mappings;for(var l in c)"properties"==l?a.tH(c[l]):a.tH(c[l].properties)}a.Iq()})};b.prototype.tH=
|
|
1692
|
-
function(a,c,e,g,l){c=void 0===c?null:c;e=void 0===e?"":e;g=void 0===g?"":g;l=void 0===l?"":l;for(var m in a)if(this.connectionInfo.mapping.Ia(e+m,"visible",!0)){var n=a[m];if(this.rBa(n)){var p=c?c:this.pt(m,m);this.tH(n.properties,p,e+m+".",g,l+m+"/")}else if(this.rg(n)){p=c?c:this.pt(m,m);p=this.
|
|
1693
|
-
!0,p.Nfa=e.substr(0,e.length-1));t=this.Lj(e+m,t,n);this.va.I.iK(t.uniqueName,p.uniqueName)}f.v(n.fields)||(p=c?c:this.pt(m,m),this.tH(n.fields,p,e+m+".",m,l+m+"/"))}};b.prototype.pt=function(a,c){var e=this.va.I.Xo(a);f.v(e)&&(c=this.connectionInfo.mapping.Ia(a,"caption",c),e=new d.I.Xka(a,c),this.va.I.pt(e));return e};b.prototype.
|
|
1694
|
-
g.type,a.
|
|
1692
|
+
function(a,c,e,g,l){c=void 0===c?null:c;e=void 0===e?"":e;g=void 0===g?"":g;l=void 0===l?"":l;for(var m in a)if(this.connectionInfo.mapping.Ia(e+m,"visible",!0)){var n=a[m];if(this.rBa(n)){var p=c?c:this.pt(m,m);this.tH(n.properties,p,e+m+".",g,l+m+"/")}else if(this.rg(n)){p=c?c:this.pt(m,m);p=this.Zh(p,e+m,m,n,l);var t=this.Lj(e+m,m,n);this.va.I.iK(t.uniqueName,p.uniqueName)}else if(this.Wf(n)){p=c?c:this.pt(m,m);t=m;var q=!f.ia(g);q&&(t="keyword"==m?g:g+" ("+m+")");p=this.Zh(p,e+m,t,n,l);q&&(p.jea=
|
|
1693
|
+
!0,p.Nfa=e.substr(0,e.length-1));t=this.Lj(e+m,t,n);this.va.I.iK(t.uniqueName,p.uniqueName)}f.v(n.fields)||(p=c?c:this.pt(m,m),this.tH(n.fields,p,e+m+".",m,l+m+"/"))}};b.prototype.pt=function(a,c){var e=this.va.I.Xo(a);f.v(e)&&(c=this.connectionInfo.mapping.Ia(a,"caption",c),e=new d.I.Xka(a,c),this.va.I.pt(e));return e};b.prototype.Zh=function(a,c,e,g,l){l=void 0===l?null:l;var m=a.Rg(c);f.v(m)&&(e=this.connectionInfo.mapping.Ia(c,"caption",e),m=new d.I.Yka(c,e),m.type=k.i.Hc.g0(g.type),m.inputType=
|
|
1694
|
+
g.type,a.Zh(m),f.ia(l)?m.Pc=a.caption:("/"==l.charAt(l.length-1)&&(l=l.substr(0,l.length-1)),m.Pc=l),a=new d.I.x6(c,c,1),m.type==k.i.Hc.Pa?a.type=k.i.eb.Ec:m.type==k.i.Hc.Sp&&(a.type=k.i.eb.fb),m.sh(a));return m};b.prototype.Lj=function(a,c,e){var g=this.va.I.ad(a);f.v(g)&&(c=this.connectionInfo.mapping.Ia(a,"caption",c),g=new d.I.y6(a,c),g.type=k.i.Ka.g0(e.type),g.Tc=this.connectionInfo.mapping.Ia(a,"aggregations"),this.va.I.Lj(g));return g};b.prototype.rg=function(a){return 0<=k.i.Ka.dL.indexOf(a.type)};
|
|
1695
1695
|
b.prototype.rBa=function(a){return!f.v(a.properties)};b.prototype.Wf=function(a){return 0<=k.i.Hc.dL.indexOf(a.type)};b.prototype.Iq=function(){f.za(!1);null!=this.Ib&&this.Ib()};b.prototype.Ek=function(a,c,e){var g=this;f.za(!0,f.model.A.j.kn,a.caption);a.type==k.i.Hc.Pa?this.BCa(a,function(l){if(l)return g.Mb(l,e);a.Yd=!0;f.za(!1);c(a)}):this.ova(a,function(l,m){if(l)return g.Mb(l,e);0==m?(a.Yd=!0,c(a)):g.Uea(a,0,Math.ceil(m/g.ZI),m,function(n){if(n)return g.Mb(n,e);a.Yd=!0;f.za(!1);c(a)})})};b.prototype.ova=
|
|
1696
1696
|
function(a,c){a={size:0,aggs:{count:{cardinality:{field:a.uniqueName}}}};f.v(this.connectionInfo.subquery)||(a.query=x.Ic.aj(this.connectionInfo.subquery));this.Kn.search({index:this.connectionInfo.index,body:a},function(e,g){if(e)return c(e.message);c(null,g.aggregations.count.value)})};b.prototype.Uea=function(a,c,e,g,l){var m=this,n={};n={size:0,aggs:(n[a.uniqueName]={terms:{field:a.uniqueName,include:{partition:c,num_partitions:e},size:2*this.ZI}},n)};f.v(this.connectionInfo.subquery)||(n.query=
|
|
1697
1697
|
x.Ic.aj(this.connectionInfo.subquery));this.Kn.search({index:this.connectionInfo.index,body:n},function(p,t){if(p)return l(p.message);p=t.aggregations[a.uniqueName].buckets;for(t=0;t<p.length;t++)m.jc(a,p[t].key_as_string||p[t].key,p[t].key);c<e-1?(f.za(!0,f.model.A.j.kn,f.O.bind("{0}: {1} of {2} loaded",a.caption,(c+1)*m.ZI,g)),m.Uea(a,c+1,e,g,l)):l()})};b.prototype.BCa=function(a,c){var e=this,g={field:a.uniqueName,min_doc_count:this.connectionInfo.mapping.Ia(a.uniqueName,"min_doc_count"),time_zone:this.connectionInfo.mapping.Ia(a.uniqueName,
|
|
@@ -1705,12 +1705,12 @@ a.url||(c.url=a.url);f.v(a.index)||(c.index=a.index.toString());f.v(a.requestHea
|
|
|
1705
1705
|
(a.url=this.url);f.v(this.index)||(a.index=this.index);f.v(this.singleEndpoint)||(a.singleEndpoint=this.singleEndpoint);if(!this.mapping.nb||this.mapping.Vn)a.mapping=this.mapping.clone(this.Ba);this.withCredentials&&(a.withCredentials=this.withCredentials);this.Uv&&(a.Uv=this.Uv);return a};r.Object.defineProperties(b.prototype,{ZG:{configurable:!0,enumerable:!0,get:function(){return!0}}});d.APIConnectionInfo=b})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1706
1706
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){return k.I.Wq.call(this,c,void 0===e?"":e)||this}u(a,k.I.Wq);b.YKa=a})(d.I||(d.I={}))})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1707
1707
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){c=k.local.I.kA.call(this,c,void 0===e?"":e)||this;c.rw=!1;return c}u(a,k.local.I.kA);a.prototype.nC=function(){return new b.$ia(this)};a.prototype.GV=function(c,e){return this.rw?0<c.HZ.length?this.HJa(c.HZ.slice()):this.IJa(c.children):k.local.I.kA.prototype.GV.call(this,c,e)};a.prototype.HJa=function(c){return this.rh===k.i.ya.ec?c:this.rh===k.i.ya.Fc?c.reverse():c};a.prototype.IJa=function(c){this.rh===k.i.ya.ec&&
|
|
1708
|
-
f.Ha.sort(c,f.Ha.
|
|
1708
|
+
f.Ha.sort(c,f.Ha.ri);this.rh===k.i.ya.Fc&&f.Ha.sort(c,f.Ha.oo|f.Ha.ri);return c};a.prototype.clone=function(){var c=k.local.I.kA.prototype.clone.call(this);c.rw=this.rw;return c};r.Object.defineProperties(a.prototype,{Y0:{configurable:!0,enumerable:!0,get:function(){return f.qg(this.Wy)||this.rw}},Yd:{configurable:!0,enumerable:!0,get:function(){return this.VA},set:function(c){this.VA=c}}});b.UN=a})(d.I||(d.I={}))})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1709
1709
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e,g){return k.local.I.TI.call(this,c,void 0===e?"":e,void 0===g?0:g)||this}u(a,k.local.I.TI);b.Zia=a})(d.I||(d.I={}))})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1710
1710
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c,e){c=k.I.ik.call(this,c,void 0===e?"":e)||this;c.nF=[];c.rv=void 0;return c}u(a,k.I.ik);a.prototype.EAa=function(c){if(void 0===this.rv){this.rv=!1;for(var e=0;e<c.length;e++)if(k.i.ca.pT(c[e])){this.rv=!0;break}}return this.rv};a.prototype.$0=function(){var c=new a("","");return this.Ge!=c.Ge||this.format!=c.format||0==this.Qm?!1:!0};a.prototype.clone=function(){var c=new a(this.uniqueName);this.OK(c);void 0!=this.nF&&
|
|
1711
1711
|
(c.nF=this.nF.slice());void 0!=this.rv&&(c.rv=this.rv);return c};r.Object.defineProperties(a.prototype,{dc:{configurable:!0,enumerable:!0,get:function(){return f.model.Nb.valid(this.sc)?this.sc:f.model.Nb.validate(this.sc)}},caption:{configurable:!0,enumerable:!0,get:function(){if(0==f.model.B.C.uz)return this.dc;switch(this.$){case k.i.ca.Zp:return f.O.bind(f.model.A.j.lJ,this.dc);case k.i.ca.uc:return f.O.bind(f.model.A.j.cO,this.dc);case k.i.ca.Ms:return f.O.bind(f.model.A.j.hP,this.dc);case k.i.ca.Qi:return f.O.bind(f.model.A.j.jO,
|
|
1712
1712
|
this.dc);case k.i.ca.Kp:return f.O.bind(f.model.A.j.XN,this.dc);case k.i.ca.Wu:return f.O.bind(f.model.A.j.$W,this.dc);case k.i.ca.bv:return f.O.bind(f.model.A.j.qP,this.dc);case k.i.ca.cv:return f.O.bind(f.model.A.j.rP,this.dc);case k.i.ca.MAX:return f.O.bind(f.model.A.j.RO,this.dc);case k.i.ca.MIN:return f.O.bind(f.model.A.j.$O,this.dc);case k.i.ca.dr:return f.O.bind(f.model.A.j.fJ,this.dc);case k.i.ca.uo:return f.O.bind(f.model.A.j.$I,this.dc);case k.i.ca.Xp:return f.O.bind(f.model.A.j.eJ,this.dc);
|
|
1713
|
-
case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.
|
|
1713
|
+
case k.i.ca.Vp:return f.O.bind(f.model.A.j.cJ,this.dc);case k.i.ca.Wp:return f.O.bind(f.model.A.j.dJ,this.dc);case k.i.ca.pi:return f.O.bind(f.model.A.j.MI,this.dc);case k.i.ca.qm:return f.O.bind(f.model.A.j.iP,this.dc);case k.i.ca.pn:return f.O.bind(f.model.A.j.kP,this.dc);case k.i.ca.gn:return f.O.bind(f.model.A.j.rI,this.dc);case k.i.ca.lm:return f.O.bind(f.model.A.j.sI,this.dc);case k.i.ca.mn:return f.O.bind(f.model.A.j.aJ,this.dc);case k.i.ca.om:return f.O.bind(f.model.A.j.bJ,this.dc);case k.i.ca.NONE:return this.dc}return-1<
|
|
1714
1714
|
k.i.ca.eO.indexOf(this.$)?this.dc+" ("+this.$+")":f.O.bind(f.model.A.j.lJ,this.dc)},set:function(c){this.sc=c}},Pr:{configurable:!0,enumerable:!0,set:function(c){this.pv=c},get:function(){return-1<k.i.ca.eO.indexOf(this.Gj)?this.dc+" ("+this.Gj+")":k.I.ik.prototype.Pr}},bm:{configurable:!0,enumerable:!0,get:function(){return this.sc},set:function(){}},em:{configurable:!0,enumerable:!0,get:function(){return this.nF},set:function(c){this.nF=[];if(!f.v(c))for(var e=0;e<c.length;e++)if("string"==typeof c[e]){var g=
|
|
1715
1715
|
c[e].trim().toLowerCase();k.i.ca.ly(g)&&(g=k.i.ca.Ay(g));k.i.ca.Ez(g)&&this.nF.push(g)}}},Tc:{configurable:!0,enumerable:!0,set:function(c){if(f.v(c))this.tm=this.em,this.type==k.i.Ka.fb&&0<this.tm.length&&(this.tm=this.tm.concat(k.i.ca.Mz));else{for(var e=[],g=0;g<c.length;g++){var l=c[g].trim().toLowerCase();k.i.ca.ly(l)&&(l=k.i.ca.Ay(l));(-1!==this.em.indexOf(l)||this.type==k.i.Ka.fb&&-1!==k.i.ca.Mz.indexOf(l))&&e.push(l)}this.tm=0<e.length?e:this.em}this.rv=void 0;this.EAa(this.tm)||(this.tm=
|
|
1716
1716
|
[])},get:function(){return!1===this.rv||0<this.tm.length?this.tm:this.em}}});b.v5=a})(d.I||(d.I={}))})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
@@ -1734,10 +1734,10 @@ c[e].uniqueName};a.push(g)}return a};b.prototype.No=function(){for(var a=[],c=th
|
|
|
1734
1734
|
this.values[c].push(e)}};b.prototype.Vra=function(a,c){void 0===this.filters[a.uniqueName]&&(this.filters[a.uniqueName]={});a.filter.Iy&&(c.query=c.query.DR(a.getTimezoneOffset()));var e=this.tga(c.query);if(d.I.cn.SG&&a.Wf){for(var g=[],l=1;l<a.ta.length;l++){var m=Object.keys(e)[0],n=a.ta.ea(l);k.i.kb.Lda(n.type,m)&&g.push({field:{uniqueName:n.uniqueName},query:e})}this.filters[a.uniqueName].query=g}else this.filters[a.uniqueName].query=e;if(c.JAa){e=c.Jl;g=[];for(l=0;l<e.length;l++)(m=a.ua(e[l]))&&
|
|
1735
1735
|
g.push({member:m.uniqueName});this.filters[a.uniqueName].include=g}if(c.IAa){c=c.oj;e=[];for(g=0;g<c.length;g++)(l=a.ua(c[g]))&&e.push({member:l.uniqueName});this.filters[a.uniqueName].exclude=e}};b.prototype.Wra=function(a,c,e){a=a.uniqueName;void 0===this.filters[a]&&(this.filters[a]={});this.filters[a].query=this.tga(c);this.filters[a].value={field:{uniqueName:e.uniqueName},func:e.$}};b.prototype.tga=function(a){var c=a.value;c instanceof f.Jg&&(c=c.getTime());Array.isArray(c)&&c[0]instanceof f.Jg&&
|
|
1736
1736
|
(c=[c[0].getTime(),c[1].getTime()]);var e={};return e[a.ra]=c,e};b.prototype.wr=function(a,c,e,g){var l,m=a.uniqueName;d.I.cn.QG||"intersect"!==e||(e="include");void 0===this.filters[m]&&(this.filters[m]={});void 0===this.filters[m][e]&&(this.filters[m][e]=[]);for(var n,p,t;!c.Xb&&void 0!==c.parent;){var q=c.level.uniqueName;p=c.uniqueName;f.model.B.C.Gr&&("null"===p&&(p=null),"undefined"===p&&(p=void 0),"(blank)"===p&&(p=""));f.ia(p)||(p=null!==(l=c.level.inputType)&&void 0!==l?l:c.level.type,p=
|
|
1737
|
-
k.i.eb.IT(p)&&!isNaN(c.cc)?c.cc:1<c.level.sb?c.uniqueName.substr(1,c.uniqueName.length-2).split("].[").pop():c.uniqueName);t={};c.parent.Xb?(t.member=p,void 0!==n&&(t.filter=n)):(g?this.Mj(a,c.level):this.Xk(a,c.level),t.field={uniqueName:q},t.include=[{member:p}],void 0!==n&&(t.include[0].filter=n));n=t;c=c.parent}this.filters[m][e].push(n)};b.prototype.aZ=function(a,c,e){c=void 0===c?!1:c;var g=a.filter.clone();if(g.
|
|
1737
|
+
k.i.eb.IT(p)&&!isNaN(c.cc)?c.cc:1<c.level.sb?c.uniqueName.substr(1,c.uniqueName.length-2).split("].[").pop():c.uniqueName);t={};c.parent.Xb?(t.member=p,void 0!==n&&(t.filter=n)):(g?this.Mj(a,c.level):this.Xk(a,c.level),t.field={uniqueName:q},t.include=[{member:p}],void 0!==n&&(t.include[0].filter=n));n=t;c=c.parent}this.filters[m][e].push(n)};b.prototype.aZ=function(a,c,e){c=void 0===c?!1:c;var g=a.filter.clone();if(g.ei&&!c){var l=g.tj().length<a.yi/2;c=l?g.tj():g.tj(!0);for(var m=0;m<c.length;m++){var n=
|
|
1738
1738
|
a.ua(c[m]);this.wr(a,n,l?"include":"exclude",e)}}!f.v(g.query)&&g.au&&(!f.v(g.measure)&&g.Kh?(e=this.slice.Xc.ad(g.measure.uniqueName))&&!0!==e.Ja&&(k.i.ca.pT(g.measure.$)||(g.measure.$=e.Ol),this.Wra(a,g.query,g.measure)):this.Vra(a,g))};b.prototype.Vta=function(){this.columns={}};b.prototype.bua=function(){this.rows={}};b.prototype.clone=function(){var a=new b(this.slice);a.rows=x.Ic.aj(this.rows);a.columns=x.Ic.aj(this.columns);a.values=x.Ic.aj(this.values);a.filters=x.Ic.aj(this.filters);return a};
|
|
1739
1739
|
b.VW=["type","axisName","dataKeys"];d.Ju=b})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1740
|
-
(function(f){(function(k){(function(h){(function(d){function b(a){this.slice=a}b.prototype.select=function(){return f.model.B.C.qc&&f.model.B.C.ie!==f.K.
|
|
1740
|
+
(function(f){(function(k){(function(h){(function(d){function b(a){this.slice=a}b.prototype.select=function(){return f.model.B.C.qc&&f.model.B.C.ie!==f.K.Bd.Oi?this.Cua():this.Oua()};b.prototype.Cua=function(){for(var a=new d.Ju(this.slice),c=this.slice.tc(!1,!0,!0,!0),e=0;e<c.length;e++){var g=this.slice.He(c.ea(e).uniqueName);this.fea(g)&&a.jK(g);g=c.ea(e);if(g.Wf)for(var l=1;l<g.ta.length;l++)a.Mj(g,g.ta.ea(l));else a.Mj(g)}for(e=0;e<this.slice.Qf.length;e++)c=this.slice.Qf[e],this.fea(c)&&a.jK(c);
|
|
1741
1741
|
return a.JIa()};b.prototype.fea=function(a){return a.type!==k.i.Ka.uc&&a.type!==k.i.Ka.Pa};b.prototype.Oua=function(){var a=new d.Ju(this.slice),c=this.slice.vb.Kc(),e=this.slice.Bb.Kc();this.slice.expandAll?(0<c.length&&a.D$(c),0<e.length&&a.q$(e)):(0<c.length&&a.Mj(c[0]),0<e.length&&a.Xk(e[0]));for(c=0;c<this.slice.Qf.length;c++)e=this.slice.Qf[c],e.Ja||a.jK(e);return a.select()};b.prototype.s$=function(a,c){c(a);if(2<a.ta.length){var e=a.ac?a.ac.sb:1,g=a.ta.ea(e);for(g=a.WB(g);g&&0<g.length;)e++,
|
|
1742
1742
|
g=a.ta.ea(e),c(a,g),g=a.WB(g)}};b.prototype.expand=function(a,c,e){e=void 0===e?{}:e;var g=new d.Ju(this.slice),l=a==k.i.fa.Ea,m=this.slice.vb.Kc(),n=this.slice.Bb.Kc();if(l){0<n.length&&this.s$(n[0],function(v,y){return g.Xk(v,y)});for(var p=0;p<c.length;p++)for(var t=m[p].ua(c[p]);!t.Xb;)g.Mj(t.hierarchy,t.level),g.wr(m[p],t,"intersect",!0),t=t.parent;p=m[c.length];if(null==p.ac)g.Mj(p,p.ta.ea(1));else for(t=1;t<p.ta.length;t++){var q=p.ta.ea(t);g.Mj(p,q);if(q==p.ac)break}}else{0<m.length&&this.s$(m[0],
|
|
1743
1743
|
function(v,y){return g.Mj(v,y)});for(p=0;p<c.length;p++)for(t=n[p].ua(c[p]);!t.Xb;)g.Xk(t.hierarchy,t.level),g.wr(n[p],t,"intersect",!1),t=t.parent;p=n[c.length];if(null==p.ac)g.Xk(p,p.ta.ea(1));else for(t=1;t<p.ta.length&&(q=p.ta.ea(t),g.Xk(p,q),q!=p.ac);t++);}for(t=0;t<this.slice.Qf.length;t++)p=this.slice.Qf[t],p.Ja||g.jK(p);t=this.l$(g,l?k.i.fa.Oa:k.i.fa.Ea,e);e=this.m$(g,l?k.i.fa.Oa:k.i.fa.Ea,e);t=t.concat(e);l?0<n.length&&(g.Vta(),g.Xk(n[0])):0<m.length&&(g.bua(),g.Mj(m[0]));e={};this.SV(e,
|
|
@@ -1780,18 +1780,18 @@ b.prototype.cancel=function(){this.Ce=this.Ya=this.Ib=this.connectionInfo=this.v
|
|
|
1780
1780
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=d.TN.apply(this,arguments)||this;a.va=k.La.P();a.sa=a.va.sa;return a}u(b,d.TN);b.prototype.load=function(a,c,e,g){this.connectionInfo=a;this.query=c;this.Ib=e;this.Ya=g;this.client=this.connectionInfo.cw();this.xw()};b.prototype.xw=function(){var a=this;f.za(!0,f.model.A.j.Kf);this.K3=0;if(Array.isArray(this.query.body)){var c=new x.AA;this.query.body.forEach(function(e){c.add(function(g){return a.hU(e,a.query.type,new d.hm({page:0}),
|
|
1781
1781
|
g)})});c.Le(function(){null!=a.Ib&&a.Ib()})}else this.hU(this.query.body,this.query.type,new d.hm({page:0}),function(){null!=a.Ib&&a.Ib()})};b.prototype.hU=function(a,c,e,g){var l=this,m=this.Rta(a);a={type:"select",index:this.connectionInfo.index,query:m};f.model.B.C.qc||(a.querytype=c);e.rK(a);this.client.Hw("select",a,function(n,p){if(n)return l.Mb(n,l.Ya),g();if(!l.dHa(p))return l.Mb(f.O.bind(f.model.A.j.G7,l.connectionInfo.url),l.Ya),g();f.v(p.nextPageToken)?!f.v(p.pageTotal)&&e.page+1<p.pageTotal?
|
|
1782
1782
|
(f.za(!0,f.model.A.j.Kf,Math.round((e.page+1)/p.pageTotal*100)+"%"),l.hU(m,c,new d.hm({page:e.page+1}),g)):g():l.hU(m,c,new d.hm({Gw:p.nextPageToken}),g)},function(n){return l.rl(n)})};b.prototype.Rta=function(a){a=x.Ic.aj(a);for(var c=0;c<d.Ju.VW.length;c++)a[d.Ju.VW[c]]&&delete a[d.Ju.VW[c]];return a};b.prototype.dHa=function(a){if(f.v(a))return!1;a.aggs&&(this.DGa(a.aggs,this.YG()),(f.v(a.nextPageToken)&&f.v(a.pageTotal)||1>=a.pageTotal-a.page)&&this.K3++);a.hits&&this.SGa(a.fields,a.hits);return!0};
|
|
1783
|
-
b.prototype.YG=function(){return f.model.B.C.qc&&f.model.B.C.ie!==f.K.
|
|
1784
|
-
v.ta.ea(C),K=a.findIndex(function(J){return J.uniqueName===E.uniqueName});y.push(c[g][K]);if(A===E.uniqueName)break}A="["+y.join("].[")+"]";C=A+".["+q+"]";1===y.length&&(A=y[0]);y=v.Yt(C);-1===y&&(E=n.level,A=v.jc(new k.I.Sd({uniqueName:C,caption:q,value:q,level:E,
|
|
1785
|
-
v.type===k.i.Hc.Pa?!f.model.B.C.Gr||null!==q&&"null"!==q?"number"===typeof q?q:NaN:null:1}this.sa.ZAa(l,m)}};b.prototype.G0=function(a){for(var c,e=new f.ob,g=0,l=0,m=0;m<a.length;m++){c=a.ea(m);if(c.Wf){l++;for(var n=1;n<c.ta.length;n++)e.Qa(c.ta.ea(n).uniqueName,{hierarchy:c,ordinal:g,level:c.ta.ea(n),NU:c.ta.ea(n-1).uniqueName,ac:c.ac,cc:l++})}else n=this.va.ga.mapping.Ia(c.uniqueName,"filters"),e.Qa(c.uniqueName,{hierarchy:c,ordinal:g,level:c.ta.ea(1),cc:l++,
|
|
1783
|
+
b.prototype.YG=function(){return f.model.B.C.qc&&f.model.B.C.ie!==f.K.Bd.Oi};b.prototype.SGa=function(a,c){for(var e=this.G0(this.va.qa.tc(!1,!0,!0,!0)),g=0;g<c.length;g++){for(var l=[],m=[],n,p=0;p<a.length;p++){n=a[p].uniqueName;var t=this.sa.Ih(n),q=c[g][p];n=e.getItem(n);var v=n.hierarchy;if(v.type===k.i.Hc.Pa){var y=v.St(q);y=f.v(y)?-1:y.ordinal}else v.type!==k.i.Hc.Pu?(y=v.St(parseFloat(q)),y=null!==y?y.ordinal:-1):y=v.Yt(f.ia(q)?"":""+q);if(-1===y)if(v.Wf){var A=n.NU;y=[];for(var C=1;C<v.ta.length;C++){var E=
|
|
1784
|
+
v.ta.ea(C),K=a.findIndex(function(J){return J.uniqueName===E.uniqueName});y.push(c[g][K]);if(A===E.uniqueName)break}A="["+y.join("].[")+"]";C=A+".["+q+"]";1===y.length&&(A=y[0]);y=v.Yt(C);-1===y&&(E=n.level,A=v.jc(new k.I.Sd({uniqueName:C,caption:q,value:q,level:E,ii:A}),k.i.eb.yz(E.type)),null!=A&&(y=A.ordinal))}else A=this.va.I.jC(v.uniqueName),A=v.jc(new k.I.Sd({uniqueName:String(q),caption:String(q),value:q}),A),null!=A&&(y=A.ordinal);l[n.cc]=y;m[t]=v.type===k.i.Hc.Sp?"number"===typeof q?q:NaN:
|
|
1785
|
+
v.type===k.i.Hc.Pa?!f.model.B.C.Gr||null!==q&&"null"!==q?"number"===typeof q?q:NaN:null:1}this.sa.ZAa(l,m)}};b.prototype.G0=function(a){for(var c,e=new f.ob,g=0,l=0,m=0;m<a.length;m++){c=a.ea(m);if(c.Wf){l++;for(var n=1;n<c.ta.length;n++)e.Qa(c.ta.ea(n).uniqueName,{hierarchy:c,ordinal:g,level:c.ta.ea(n),NU:c.ta.ea(n-1).uniqueName,ac:c.ac,cc:l++})}else n=this.va.ga.mapping.Ia(c.uniqueName,"filters"),e.Qa(c.uniqueName,{hierarchy:c,ordinal:g,level:c.ta.ea(1),cc:l++,ei:!1!==n&&!1!==n.members});g++}return e};
|
|
1786
1786
|
b.prototype.DGa=function(a,c){var e=this.G0(this.va.qa.vb),g=this.G0(this.va.qa.Bb),l=!1;var m=this.query.If;if(Array.isArray(this.query.body)){var n=this.query.body[this.K3];var p=n.dataKeys;0<this.K3&&(l=!0)}else n=this.query.body,p=this.query.Im;n=n.type;for(var t=0;t<a.length;t++)if(c){var q=this.Yfa(a[t].values);this.sa.sz(q)}else{if(n===k.i.Td.iE||n===k.i.Td.ex){if(f.v(a[t].keys))continue;if(!this.KKa(a[t].keys,p))continue}q=this.Yfa(a[t].values);var v=this.Xfa(a[t].keys,e),y=this.Xfa(a[t].keys,
|
|
1787
1787
|
g);this.yea(v)&&this.yea(y)&&this.sa.insert(v,y,q,m,this.query.Ev,!l)}};b.prototype.KKa=function(a,c){if(c)for(var e in c)if(void 0===a[e]&&a[e]!==c[e])return!1;return!0};b.prototype.yea=function(a){for(var c=0;c<a.length;c++)if(f.v(a[c]))return!1;return!0};b.prototype.Yfa=function(a){var c=[],e;for(e in a)if(a.hasOwnProperty(e))for(var g in a[e])if(a[e].hasOwnProperty(g)){var l=this.sa.Ih(e,g,!0);c[l]=a[e][g]}return c};b.prototype.Xfa=function(a,c){var e=[];if(f.v(a))return e;for(var g=c.length,
|
|
1788
1788
|
l=0;l<g;l++){var m=c.th(l);if(void 0!==a[m]){var n=a[m];"string"!==typeof n&&(n=""+n);var p=c.getItem(m),t=[];if(p.level){var q=p.NU;for(1<p.level.sb&&(n="["+n+"]");void 0!==a[q];)n="["+a[q]+"]."+n,q=c.getItem(q).NU}p.hierarchy.type===k.i.Hc.Pu||p.level.type!==k.i.eb.Pa&&p.level.type!==k.i.eb.Ec&&p.level.type!==k.i.eb.Zb&&p.level.type!==k.i.eb.Tk?q=p.hierarchy.Yt(n):(q=p.hierarchy.St(a[m]),q=f.v(q)?-1:q.ordinal);var v=c.getItem(p.hierarchy.ta.ea(1).uniqueName).ordinal;if(p.ac||this.va.qa.drillAll){if(-1===
|
|
1789
|
-
q){var y=p.NU;n=[];for(var A=1;A<p.hierarchy.ta.length;A++){var C=p.hierarchy.ta.ea(A);n.push(a[C.uniqueName]);if(y===C.uniqueName)break}y="["+n.join("].[")+"]";A=y+".["+a[m]+"]";1===n.length&&(y=n[0]);m=p.hierarchy.jc(new k.I.Sd({uniqueName:A,caption:a[m],level:p.level,
|
|
1790
|
-
m&&(q=m.ordinal)),t.push(p.level.sb),t.push(q),e[v]=t):(-1===q&&!1===p.
|
|
1789
|
+
q){var y=p.NU;n=[];for(var A=1;A<p.hierarchy.ta.length;A++){var C=p.hierarchy.ta.ea(A);n.push(a[C.uniqueName]);if(y===C.uniqueName)break}y="["+n.join("].[")+"]";A=y+".["+a[m]+"]";1===n.length&&(y=n[0]);m=p.hierarchy.jc(new k.I.Sd({uniqueName:A,caption:a[m],level:p.level,ii:y}));null!=m&&(q=m.ordinal)}t.push(p.level.sb);t.push(q);void 0===e[v]&&(e[v]=[p.ac?p.hierarchy.ta.length-p.ac.sb:0]);e[v].push(t)}else p.level?(-1===q&&!1===p.ei&&(m=p.hierarchy.jc(new k.I.Sd({uniqueName:n,caption:a[m]})),null!=
|
|
1790
|
+
m&&(q=m.ordinal)),t.push(p.level.sb),t.push(q),e[v]=t):(-1===q&&!1===p.ei&&(p=p.hierarchy.jc(new k.I.Sd({uniqueName:n,caption:a[m]})),null!=p&&(q=p.ordinal)),t.push(1),t.push(q),e.push(t))}}return e};b.prototype.Mb=function(a,c){console.error(a);f.za(!1);f.Ua(a.message||a,f.model.A.j.xa,f.qb.xa);f.qg(c)&&c()};b.prototype.drillThrough=function(a,c,e,g,l,m){f.za(!0,f.model.A.j.Kf);this.connectionInfo=a;f.v(this.client)&&(this.client=this.connectionInfo.cw());this.XB=[];this.e2(c,new d.hm({page:0}),
|
|
1791
1791
|
m)};b.prototype.e2=function(a,c,e){var g=this,l={type:"select",index:this.connectionInfo.index,query:a.body};c.rK(l);this.client.Hw("select",l,function(m,n){if(m)return g.Mb(m,e);if(!g.OGa(n))return g.Mb(f.O.bind(f.model.A.j.tna,g.connectionInfo.url),e);f.v(n.nextPageToken)?!f.v(n.pageTotal)&&c.page+1<n.pageTotal?g.e2(a,new d.hm({page:c.page+1}),e):e(g.XB):g.e2(a,new d.hm({Gw:n.nextPageToken}),e)},function(m){return g.rl(m)})};b.prototype.OGa=function(a){if(f.v(a))return!1;if(a.fields&&0==this.XB.length){var c=
|
|
1792
1792
|
a.fields.map(function(e){return e.uniqueName});this.XB.push(c)}if(a.hits)for(c=0;c<a.hits.length;c++)this.XB.push(a.hits[c]);return!0};b.prototype.cancel=function(){this.Ya=this.query=this.Ib=this.connectionInfo=this.sa=this.va=null;this.client&&(this.client.close(),this.client=null);this.XB&&(this.XB.length=0,this.XB=null)};d.Xia=b})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1793
1793
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=h.Qu.apply(this,arguments)||this;a.g5=new f.ob;return a}u(b,h.Qu);b.prototype.EB=function(){this.g5.clear();h.Qu.prototype.EB.call(this)};b.prototype.Ia=function(a,c,e,g){g=(void 0===g?0:g)?0:this.gY(a,c);var l=this.Ih(e);if(f.v(this.values[g]))return k.i.ca.Vf(e.$)?0:NaN;if(e.Ja){this.$E=!1;a=this.Zo([g],e.Nd,e.Bk,0,a,c,e.yn);if(!0===a||!1===a)a=!0===a?1:0;this.values[g][l]=a}return f.v(this.values[g][l])?k.i.ca.Vf(e.$)?0:NaN:
|
|
1794
|
-
this.values[g][l]};b.prototype.Gv=function(a,c,e,g){return this.Zo([this.gY(a,c)],e,!1,g)};b.prototype.gY=function(a,c){return a+" "+c};b.prototype.sz=function(a){this.values[0]=a};b.prototype.xg=function(a,c){return null===a||0===a.length?NaN:this.values[a[0]]?this.values[a[0]][c]:NaN};b.prototype.y0=function(a,c){var e=this.slice.
|
|
1794
|
+
this.values[g][l]};b.prototype.Gv=function(a,c,e,g){return this.Zo([this.gY(a,c)],e,!1,g)};b.prototype.gY=function(a,c){return a+" "+c};b.prototype.sz=function(a){this.values[0]=a};b.prototype.xg=function(a,c){return null===a||0===a.length?NaN:this.values[a[0]]?this.values[a[0]][c]:NaN};b.prototype.y0=function(a,c){var e=this.slice.di(new f.model.cb.Lg(a,c));null!=e&&(c=k.i.ca.jM(e.$)?e.$:e.Ol);return this.Ih(a,c,!this.$E)};b.prototype.xL=function(a,c){var e=k.i.ca.Qi;c=this.y0(c.uniqueName,e);return this.xg(a,
|
|
1795
1795
|
c,e)};b.prototype.Em=function(a,c){h.Qu.prototype.Em.call(this,a,c);this.Ml(a.uniqueName)};b.prototype.insert=function(a,c,e,g,l,m){for(var n=[],p=[],t=[],q=0;q<a.length;q++)if(Array.isArray(a[q][1])){p[q]=a[q][a[q].length-1][1];if(a[q].length>a[q][0]){var v=[];g&&(v=g.slice());v.concat(n.slice());0<v.length&&t.push(v)}for(v=1;v<a[q].length;v++)n[this.ta[this.yh[q]][a[q][v][0]]]=a[q][v][1]}else{if(-1===a[q][1])return;p[q]=a[q][1];n[this.ta[this.yh[q]][a[q][0]]]=p[q]}a=[];for(q=0;q<c.length;q++)if(Array.isArray(c[q][1]))for(a[q]=
|
|
1796
1796
|
c[q][c[q].length-1][1],v=[],g&&(v=g.slice()),v.concat(n.slice()),0<v.length&&t.push(v),v=1;v<c[q].length;v++)n[this.ta[this.Zi[q]][c[q][v][0]]]=c[q][v][1];else{if(-1===c[q][1])return;a[q]=c[q][1];n[this.ta[this.Zi[q]][c[q][0]]]=a[q]}p=this.gY(p,a);c=this.pb.length;void 0!==this.values[p]?(n=this.g5.getItem(n.join("-")),void 0!==n&&(c=n),m&&(this.values[p]=e)):(this.Og.push(c),this.pb.push(n),this.g5.Qa(n.join("-"),this.pb.length-1),this.values[p]=e);0<g.length&&(0===this.td.length&&(this.expand([],
|
|
1797
1797
|
k.i.fa.Ea,void 0),this.expand([],k.i.fa.Oa,void 0)),e=l===k.i.fa.Ea?this.ed(g,this.td):this.ed(g,this.Fd),void 0!=e&&-1===e[0][0].indexOf(c)&&e[0][0].push(c));if(0<t.length)for(e=0;e<t.length;e++){g=l===k.i.fa.Ea?this.ed(t[e],this.td):this.ed(t[e],this.Fd);if(void 0===g){g=[];m=void 0;for(n=0;n<t[e].length;n++)g.push(t[e][n]),m=l===k.i.fa.Ea?this.ed(g,this.td):this.ed(g,this.Fd),void 0!==m&&void 0!==m[0]&&void 0!==m[0][0]&&(p=t[e][n+1])&&(m[p]=[[[c],[],[],void 0,void 0]]);g=m}void 0!==g&&void 0!==
|
|
@@ -1804,43 +1804,43 @@ c&&a.y8.hasOwnProperty(c)&&this.Qh(e,"type",a.y8[c])};d.VN=b})(h.kc||(h.kc={}))}
|
|
|
1804
1804
|
p.update(n);n=p.getHMAC("B64")}a.zh({"x-flexmonster":n});a.Hw("save",null!==c?c.Ma():{},function(t,q){if(f.v(q))t&&(f.Ua(f.O.bind(f.model.A.j.K7,t),f.model.A.j.xa,f.qb.xa),a.close(),l(t));else{t=new URL(location.href);t.searchParams.set("flexmonsterreport",q);var v=t.href;f.Ua(f.O.bind(f.model.A.j.Ina,v),f.model.A.j.im,f.qb.im,[f.model.A.j.F5,f.model.A.j.Ok],[function(){var y=document.createElement("textarea");y.value=v;y.setAttribute("readonly","");y.style.position="fixed";y.style.left="-9999px";
|
|
1805
1805
|
document.body.appendChild(y);y.select();document.execCommand("copy");document.body.removeChild(y)},function(){}]);a.close();g(v)}})})}))})))};b.prototype.KCa=function(a,c,e){var g=new d.Nz(a);g.Hw("load",c,function(l,m){f.v(m)||e&&e(m);l&&(f.Ua(f.O.bind(f.model.A.j.J7,l),f.model.A.j.xa,f.qb.xa),console.error("Can't load the shared file. The URL to the server hasn't been found. "+l),e&&e());g.close()})};d.t5=b})(h.kc||(h.kc={}))})(k.external||(k.external={}))})(f.u||(f.u={}))})(w||(w={}));
|
|
1806
1806
|
(function(f){(function(k){function h(d,b){var a=B.Wb.ze.call(this)||this;a.H1=!1;a.FT=!1;a.Cda="theme/accessible/flexmonster.min.css";a.vea=!1;a.ja=f.model.Ta.P();a.iG=null;a.width=0;a.height=0;a.V1=0;a.U1=0;a.CN=!1;a.p9=0;a.WF=[];a.ofa=0;a.wba=!1;a.Tx=function(g){return a.su(g)};a.Ux=function(g){return a.tu(g)};a.Vx=function(){return a.DM()};a.Sx=null;a.Oba=function(){h.zb.mb(k.ti.ko,a.Oba);a.Rb.Sj(a.iG.Ot,a.iG.lb,function(g){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];a.Rb.G=null;
|
|
1807
|
-
a.ja.G=f.u.Ee.
|
|
1808
|
-
d:"500px";a.Ye.R("width",c);a.Ye.R("height",d);a.F.R("width",c);a.F.R("height",d);a.Ye.append(a.F);d=[];b.toolbar?(d=["toolbar/flexmonster.toolbar.js"],a.CN=!0):a.CN=!1;x.oW.s0()||(e=new B.Aa("div","fm-csscheck"),a.Ye.append(e),"flexmonster"!=window.getComputedStyle(e.element).getPropertyValue("font-family")&&'"flexmonster"'!=window.getComputedStyle(e.element).getPropertyValue("font-family")&&d.unshift("flexmonster.css"),e.remove());x.qn.load(d,function(){a.F.requestAnimationFrame(function(){if(!x.
|
|
1807
|
+
a.ja.G=f.u.Ee.ni.wc("chart");null!=a.iG.Ho&&a.iG.Ho.apply(null,l);a.iG=null})};a.pha("fm-pivot-view");null!=a.Ye&&a.Ye.dispose();d.empty();a.Ye=d;h.zb=a;var c=b.width?"number"===typeof b.width?b.width+"px":-1<b.width.indexOf("px")||b.width.indexOf("%")==b.width.length-1?b.width:b.width+"px":"100%";d=b.height?"number"===typeof b.height?b.height+"px":-1<b.height.indexOf("px")||b.height.indexOf("%")==b.height.length-1?b.height:b.height+"px":"500px";var e=/\d+(?=px|%)/;c=c.match(e)?c:"100%";d=d.match(e)?
|
|
1808
|
+
d:"500px";a.Ye.R("width",c);a.Ye.R("height",d);a.F.R("width",c);a.F.R("height",d);a.Ye.append(a.F);d=[];b.toolbar?(d=["toolbar/flexmonster.toolbar.js"],a.CN=!0):a.CN=!1;x.oW.s0()||(e=new B.Aa("div","fm-csscheck"),a.Ye.append(e),"flexmonster"!=window.getComputedStyle(e.element).getPropertyValue("font-family")&&'"flexmonster"'!=window.getComputedStyle(e.element).getPropertyValue("font-family")&&d.unshift("flexmonster.css"),e.remove());x.qn.load(d,function(){a.F.requestAnimationFrame(function(){if(!x.Cd().Gi&&
|
|
1809
1809
|
!x.oW.Bta(f.Mg.Vq)){var g="Flexmonster: CSS version mismatch.\nVersions of Flexmonster specified in the CSS and JS files do not match.\nThe version of Javascript: "+f.Mg.Vq+", the version of CSS: "+x.oW.s0()+".\nTo fix the issue, please try the following:\n1. Clear your browser cache to make sure the latest files are loaded.\n2. Check if the CSS file was updated correctly along with Flexmonster.\n3. Ask the tech team for help (https://www.flexmonster.com/technical-support/).";console.warn(g)}a.toolbar=
|
|
1810
1810
|
b.toolbar?new FlexmonsterToolbar(a.Ye.element,f.Mg.instance.kc,"html5",c,f.model.A.jA.P().Bca(),f.model.Fa.rc.sj()):null;f.Mg.instance.kc.toolbar=a.toolbar;a.wda&&(f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.eW,a.toolbar)),a.toolbar.create());a.CN=!1;a.ue();a.hb()})},function(){a.CN=!1});a.ja.Ga.N(f.model.fc.gd.nx,function(){return a.e3()});a.ja.Ga.N(f.model.fc.gd.XW,function(){return a.AFa()});a.ja.Ga.N(f.model.fc.gd.xW,function(){return a.H2()});a.ja.Ga.N(f.model.fc.gd.oE,function(){return a.c3()});
|
|
1811
|
-
a.ja.Ga.N(f.model.fc.gd.uA,function(){});a.ja.Ga.N(f.model.fc.gd.pk,function(g){return a.iEa(g)});a.ja.Ga.N(f.model.fc.gd.
|
|
1811
|
+
a.ja.Ga.N(f.model.fc.gd.uA,function(){});a.ja.Ga.N(f.model.fc.gd.pk,function(g){return a.iEa(g)});a.ja.Ga.N(f.model.fc.gd.Th,function(){return a.n3()});a.ja.Ga.N(f.model.fc.gd.BE,function(){return a.o3()});a.ja.Ga.N(f.model.fc.gd.qE,function(){return a.oH()});a.ja.N(f.gg.EW,function(g){return a.xEa(g)});a.ja.N(f.gg.mX,function(){return a.HFa()});a.ja.N(k.Ja.Dj.L5,function(g){return a.BFa(g)});a.ja.N(k.ti.Y5,function(g){return a.CFa(g)});a.N(k.ti.ko,function(){return a.BDa()});f.Uj.addEventListener("fullscreenchange",
|
|
1812
1812
|
function(){return a.uU()},!1);f.Uj.addEventListener("mozfullscreenchange",function(){return a.uU()},!1);f.Uj.addEventListener("webkitfullscreenchange",function(){return a.uU()},!1);f.Uj.addEventListener("MSFullscreenChange",function(){return a.uU()},!1);a.Ye.N("fullscreenchange",function(g){return a.AU(g)},!1);a.Ye.N("mozfullscreenchange",function(g){return a.AU(g)},!1);a.Ye.N("webkitfullscreenchange",function(g){return a.AU(g)},!1);a.Ye.N("MSFullscreenChange",function(g){return a.AU(g)},!1);x.KO.P().N(x.KeyboardEvent.F8,
|
|
1813
1813
|
function(){return a.oGa()});return a}u(h,B.Wb.ze);h.prototype.oGa=function(){this.qha(!this.H1)};h.prototype.qha=function(d){this.H1=d;this.Ye.Wa("fm-keyboard-mode",this.H1)};h.prototype.rp=function(){return this.bT()&&null!=this.Pl?h.Sha-(this.Pl.rd()+this.Pl.F.borderWidth.top)-h.zb.JD:h.Sha-h.zb.JD};h.prototype.Mq=function(d){this.Rb&&this.Rb.ka&&this.Rb.ka.Mq(d)};h.prototype.ms=function(d){this.Rb&&this.Rb.ka&&this.Rb.ka.ms(d)};h.prototype.hb=function(d){var b=this;d=void 0===d?!1:d;this.iaa();
|
|
1814
1814
|
if(this.wba||this.vea&&(f.model.Fa.rc.error||!f.ia(f.model.Fa.rc.hy))){var a=this.F.requestAnimationFrame(function(){b.iaa();b.YX(d)});this.WF.push(a)}else 500>this.ofa++||(this.CN||f.ia(f.model.Fa.rc.hy))&&5E3>this.ofa?this.xDa=f.re(function(){b.hb(d)},10):this.Ye.visible&&(console.error("Something went wrong.\nTo fix the issue please try the following:\n1. Check if the componentFolder parameter is defined correctly.\n2. Check if the path to the css file is valid.\n3. Check if DevTools (press F12) has an exception.\n4. Ask the support team for help (https://www.flexmonster.com/technical-support/)"),
|
|
1815
1815
|
"hidden"!=document.visibilityState&&(f.model.Fa.rc.sp||alert("Something went wrong.\nTo fix the issue please try the following:\n1. Check if the componentFolder parameter is defined correctly.\n2. Check if the path to the css file is valid.\n3. Check if DevTools (press F12) has an exception.\n4. Ask the support team for help (https://www.flexmonster.com/technical-support/)")))};h.prototype.iaa=function(){for(;0<this.WF.length;)this.F.cancelAnimationFrame(this.WF.pop());this.WF=[];f.yq(this.xDa);f.yq(this.Bga)};
|
|
1816
1816
|
h.prototype.wia=function(){if(!this.Ye)return!1;var d=x.DT(),b=this.Ye.ef(),a=this.Ye.rd();a-=this.JD;if(this.V1!==b||this.U1!==a)this.F.R("width",b+"px"),d?this.F.R("height","calc(100% - "+this.JD+"px)"):this.F.R("height",a+"px");return this.V1!==b||this.U1!==a};h.prototype.z3=function(){this.toolbar&&null!=this.toolbar.applyToolbarLayoutClasses&&this.toolbar.applyToolbarLayoutClasses();this.hb(!0)};h.prototype.e3=function(){this.ja.Ga.kf==f.model.fc.vo.INIT&&this.$F()};h.prototype.H2=function(){null!=
|
|
1817
1817
|
this.Rb&&this.Rb.At();this.hb()};h.prototype.c3=function(){this.ja.Ga.kf!=f.model.fc.vo.qJ&&this.ja.Ga.kf!=f.model.fc.vo.Uz&&this.$F()};h.prototype.AFa=function(){this.$F()};h.prototype.Efa=function(){this.ja.Ga.ga.Bc&&(null!=this.Rb&&this.Rb.At(),this.hb())};h.prototype.Dfa=function(){this.ja.Ga.kf!=f.model.fc.vo.qJ&&this.ja.Ga.kf!=f.model.fc.vo.Uz&&this.$F()};h.prototype.sfa=function(){this.ja.Ga.kf!=f.model.fc.vo.qJ&&this.ja.Ga.kf!=f.model.fc.vo.Uz&&this.$F()};h.prototype.iEa=function(d){this.ja.Ga.kf==
|
|
1818
|
-
f.model.fc.vo.INIT||this.ja.Ga.kf==f.model.fc.vo.w7||null==this.Rb||d.data!=f.u.i.Td.wo&&d.data!=f.u.i.Td.tO||(this.Rb.At(),this.hb())};h.prototype.oH=function(){null!=this.toolbar&&this.toolbar.updateLabels(f.model.A.jA.P().Bca());null!=this.
|
|
1818
|
+
f.model.fc.vo.INIT||this.ja.Ga.kf==f.model.fc.vo.w7||null==this.Rb||d.data!=f.u.i.Td.wo&&d.data!=f.u.i.Td.tO||(this.Rb.At(),this.hb())};h.prototype.oH=function(){null!=this.toolbar&&this.toolbar.updateLabels(f.model.A.jA.P().Bca());null!=this.ci&&this.ci.updateLabels()};h.prototype.$v=function(d){d=this.ja.ha.qa.tc().getItem(d);null!=d&&this.dea(d)&&(this.Rb.At(),this.ja.G.$v(d))};h.prototype.OQ=function(d,b){d=this.ja.ha.qa.Wc(d);for(var a=[],c=0,e=0;e<b.length;e++){var g=d.Na.ea(c);g.Ue&&(c++,g=
|
|
1819
1819
|
d.Na.ea(c));var l=g.Ab(b[e]);f.v(l)&&(l=g.Ab(f.u.me.Vr(b[e])));if(f.v(l))return[];a.push(l.ordinal);c++}return a};h.prototype.eS=function(d,b,a){this.Rb.At();this.ja.G.expand(this.OQ(d,b),d,this.ja.ha.qa.ad(a))};h.prototype.tR=function(d,b,a){this.Rb.At();this.ja.G.collapse(this.OQ(d,b),d,this.ja.ha.qa.ad(a))};h.prototype.aS=function(d,b,a,c){this.Rb.At();var e=this.ja.ha.qa.Wc(d),g=e.Sa&&e.Ke<=b.length?e.Na.ea(b.length+1):e.Na.ea(b.length);e=g.Ab(c);f.v(e)&&(c=f.u.me.Vr(c),e=g.Ab(c));f.v(e)||(b=
|
|
1820
1820
|
this.OQ(d,b),b.push(e.ordinal),this.ja.G.Vo(b,e,d,this.ja.ha.qa.ad(a)))};h.prototype.$R=function(d,b,a,c){this.Rb.At();var e=this.ja.ha.qa.Wc(d),g=e.Sa&&e.Ke<=b.length?e.Na.ea(b.length+1):e.Na.ea(b.length);e=g.Ab(c);f.v(e)&&(c=f.u.me.Vr(c),e=g.Ab(c));f.v(e)||(b=this.OQ(d,b),b.push(e.ordinal),this.ja.G.pe(b,e,d,this.ja.ha.qa.ad(a)))};h.prototype.Pv=function(d){d=this.ja.ha.qa.tc().getItem(d);null!=d&&this.dea(d)&&(this.Rb.At(),this.ja.G.Pv(d))};h.prototype.dea=function(d){var b=this.ja.ha.qa,a=b.rows.Db(d.uniqueName)?
|
|
1821
1821
|
f.u.i.fa.Ea:f.u.i.fa.Oa;return(a==f.u.i.fa.Ea?b.vb.indexOf(d.uniqueName):b.Bb.indexOf(d.uniqueName))+1<(a==f.u.i.fa.Ea?b.vb.length:b.Bb.length)};h.prototype.n3=function(){this.ja.Ga.kf==f.model.fc.vo.mo?this.$F():this.Ye&&this.hb()};h.prototype.o3=function(){this.eua()};h.prototype.uU=function(){this.qda()};h.prototype.AU=function(d){d.stopPropagation();this.qda()};h.prototype.qda=function(){function d(){b.Ye.rd()!=parseInt(b.Ye.element.style.height)&&5>c?(c++,b.Ye.requestAnimationFrame(d)):b.wia()&&
|
|
1822
|
-
b.hb(!0)}var b=this,a=x.DT();null!=f.model.Ra.jsFullScreenHandler&&f.model.Ra.jsFullScreenHandler.call(null,a);var c=0;this.Ye.requestAnimationFrame(d)};h.prototype.ue=function(){var d=this;this.toolbar&&(this.F.height-=this.JD);this.Rb=new k.X.mma;this.Rb.N(k.ti.kx,function(b){return d.GEa(b)});this.Rb.N(k.ti.tW,function(b){return d.tfa(b)});this.V(this.Rb);this.
|
|
1823
|
-
this.
|
|
1824
|
-
this.aW.hb()),f.model.B.C.qc&&this.ja.ha.ga&&!this.ja.ha.ga.ZG&&(f.model.B.C.qc=!1,f.Ua(f.O.bind(f.model.A.j.Fna,f.u.i.oa.J(this.ja.ha.ga.Ba)),f.model.A.j.MO)),f.model.B.C.qc&&f.model.B.C.ie==k.
|
|
1825
|
-
f.v(this.ja.ha.I)||this.ja.ha.I.nb||!this.ja.ha.qa.nb||(f.model.B.C.Fn=!0),f.model.B.C.Fn&&null!=this.ja.Ga.ga&&!this.ja.Ga.ga.nb?this.
|
|
1826
|
-
k.
|
|
1827
|
-
this.hk&&this.hk.Va(),d||null==this.Tj||this.Tj.close(),this.Rb.G=b?null:this.ja.G=f.u.Ee.
|
|
1828
|
-
d);a.la("chartMultipleMeasures",k.wd.ye.kea(d)?b:!1);this.ja.Cp(a.Ma())}else f.model.B.C.ie=k.
|
|
1829
|
-
a.cd.F.R("width",h.An+"px");a.cd.G=b?null:a.ja.G=f.u.Ee.
|
|
1830
|
-
h.prototype.B_=function(d){var b=this;d=void 0===d?!1:d;x.qn.load("lib/d3.v3.min.js",function(){d||null==b.Tj||b.Tj.close();null!=b.Rb&&(b.Rb.show(),b.Rb.G=b.ja.G=f.u.Ee.
|
|
1822
|
+
b.hb(!0)}var b=this,a=x.DT();null!=f.model.Ra.jsFullScreenHandler&&f.model.Ra.jsFullScreenHandler.call(null,a);var c=0;this.Ye.requestAnimationFrame(d)};h.prototype.ue=function(){var d=this;this.toolbar&&(this.F.height-=this.JD);this.Rb=new k.X.mma;this.Rb.N(k.ti.kx,function(b){return d.GEa(b)});this.Rb.N(k.ti.tW,function(b){return d.tfa(b)});this.V(this.Rb);this.ci=new k.Vc.qo;this.ci.N(z.da.OPENED,function(){});this.ci.N(z.da.CLOSED,function(){});this.ci.N(k.Vc.qo.qO,function(){return d.J2()});
|
|
1823
|
+
this.ci.N(k.Vc.qo.vI,function(b){return d.I2(b)});this.V(this.ci);f.Uj.addEventListener("keydown",function(b){return d.np(b)});this.fF=new x.Woa(this.Ye.parent);this.fF.N(z.da.rX,function(b){return d.z3(b)});this.vea=!0};h.prototype.JHa=function(){k.YN.P().ku&&k.YN.P().Io()};h.prototype.YX=function(d){d=void 0===d?!1:d;null==this.ja||0==this.Ye.width||d&&B.ZK.mO.P().sBa||(this.wia(),this.JHa(),1>f.model.Fa.rc.sj()||(this.wba=!0,this.fF.refresh(),this.bT()&&this.wwa(),this.LAa()&&(this.V(this.aW),
|
|
1824
|
+
this.aW.hb()),f.model.B.C.qc&&this.ja.ha.ga&&!this.ja.ha.ga.ZG&&(f.model.B.C.qc=!1,f.Ua(f.O.bind(f.model.A.j.Fna,f.u.i.oa.J(this.ja.ha.ga.Ba)),f.model.A.j.MO)),f.model.B.C.qc&&f.model.B.C.ie==k.Bd.jn&&this.ja.ha.ga&&this.ja.ha.ga.Ba==f.u.i.oa.API&&(f.model.B.C.ie=k.Bd.Hs,f.Ua(f.O.bind(f.model.A.j.aX),f.model.A.j.MO,f.qb.Nk)),null!=this.Tj&&this.Tj.hb(),f.v(this.ja.Ga.ga)||this.ja.Ga.ga.nb||!f.model.B.C.a_?this.ci.Va():this.ci.show(),d||f.model.B.C.LF||k.Ja.eE.kK||(f.model.B.C.Fn=!1),f.v(this.ja.ha.qa)||
|
|
1825
|
+
f.v(this.ja.ha.I)||this.ja.ha.I.nb||!this.ja.ha.qa.nb||(f.model.B.C.Fn=!0),f.model.B.C.Fn&&null!=this.ja.Ga.ga&&!this.ja.Ga.ga.nb?this.ci.open(this.ja.ha.I,this.ja.ha.qa,this.ja.Ga.ga.Ba):this.ci.close(),f.model.B.C.ie==k.Bd.Oi?this.z_(d):f.model.B.C.ie==k.Bd.jn?this.B_(d):this.A_(d),null!=this.yk&&this.yk.isVisible()&&(f.model.B.C.qc&&f.model.B.C.ie===k.Bd.Hs?this.yk.close():this.yk.M3()),this.V1=this.ef(),this.U1=this.rd()))};h.prototype.$F=function(){f.model.B.C.ie==k.Bd.Oi?this.z_(!1,!0):f.model.B.C.ie==
|
|
1826
|
+
k.Bd.jn?this.B_(!1):this.A_(!1,!0);f.v(this.ci)||(this.ci.close(),this.ci.Va())};h.prototype.CV=function(){if(this.ja.Ga.ga.Ba==f.u.i.oa.API&&f.model.B.C.qc&&f.model.B.C.ie==k.Bd.Oi){var d=f.model.B.C.fw(!1,!0);d.la("viewType",k.Bd.Hs);this.ja.Cp(d.Ma())}else f.model.B.C.ie=k.Bd.Hs,f.model.B.C.qc&&this.ci&&this.ci.ku&&this.ci.open(this.ja.ha.I,this.ja.ha.qa,this.ja.Ga.ga.Ba),this.A_()};h.prototype.A_=function(d,b){d=void 0===d?!1:d;b=void 0===b?!1:b;null!=this.Rb&&(null!=this.cd&&this.cd.Va(),null!=
|
|
1827
|
+
this.hk&&this.hk.Va(),d||null==this.Tj||this.Tj.close(),this.Rb.G=b?null:this.ja.G=f.u.Ee.ni.wc(),this.Rb.F.R("top","").R("left","").R("right","").R("bottom",""),this.Rb.F.R("position","absolute"),this.Rb.show(),this.Rb.F.R("height",h.vC+"px"),this.Rb.F.R("width",h.Eu+"px"),b&&this.Rb.At(),this.Rb.hb())};h.prototype.mN=function(d,b){d=void 0===d?"":d;b=void 0===b?!1:b;if(this.ja.Ga.ga.Ba==f.u.i.oa.API&&f.model.B.C.qc&&f.model.B.C.ie==k.Bd.Hs){var a=f.model.B.C.fw(!1,!0);a.la("viewType",k.Bd.Oi);a.la("chartType",
|
|
1828
|
+
d);a.la("chartMultipleMeasures",k.wd.ye.kea(d)?b:!1);this.ja.Cp(a.Ma())}else f.model.B.C.ie=k.Bd.Oi,f.model.B.C.fR=d,f.model.B.C.AK=k.wd.ye.kea(d)?b:!1,this.z_()};h.prototype.z_=function(d,b){var a=this;d=void 0===d?!1:d;b=void 0===b?!1:b;x.qn.load("lib/d3.v3.min.js",function(){d||null==a.Tj||a.Tj.close();null!=a.Rb&&a.Rb.Va();null!=a.hk&&a.hk.Va();null==a.cd&&a.uF();a.cd.F.R("top","").R("left","").R("right","").R("bottom","");a.cd.F.R("position","absolute");a.cd.show();a.cd.F.R("height",h.zn+"px");
|
|
1829
|
+
a.cd.F.R("width",h.An+"px");a.cd.G=b?null:a.ja.G=f.u.Ee.ni.p0(f.model.B.C.EZ);a.cd.hb();f.model.B.C.qc&&a.ci&&a.ci.ku&&a.ci.open(a.ja.ha.I,a.ja.ha.qa,a.ja.Ga.ga.Ba);b||0!=a.WF.length||(a.Bga=f.re(function(){a.Xa(k.ti.qX)},1))})};h.prototype.DV=function(d,b,a){d=void 0===d?"":d;b=void 0===b?"bottom":b;a=void 0===a?!1:a;this.ja.Ga.ga.Ba==f.u.i.oa.API&&f.model.B.C.qc?f.Ua(f.O.bind(f.model.A.j.aX),f.model.A.j.MO,f.qb.Nk):(f.model.B.C.ie=k.Bd.jn,f.model.B.C.fR=d,f.model.B.C.zB=b,f.model.B.C.AK=a,this.B_())};
|
|
1830
|
+
h.prototype.B_=function(d){var b=this;d=void 0===d?!1:d;x.qn.load("lib/d3.v3.min.js",function(){d||null==b.Tj||b.Tj.close();null!=b.Rb&&(b.Rb.show(),b.Rb.G=b.ja.G=f.u.Ee.ni.wc(),null==b.cd&&b.uF(),b.cd.show(),b.cd.G=f.u.Ee.ni.p0(f.model.B.C.EZ),null==b.hk&&b.rsa(),b.hk.show(),b.hk.direction="left"==f.model.B.C.zB||"right"==f.model.B.C.zB?B.AP.IX:B.AP.LI,b.hk.ava=[150,150,h.Eu-150,b.rp()-150],b.vba(f.model.B.C.zB))})};h.prototype.hGa=function(d){var b=f.model.B.C.zB;this.vba(b,"left"==b||"right"==
|
|
1831
1831
|
b?d.data.left:d.data.top)};h.prototype.vba=function(d,b){d=void 0===d?"bottom":d;b=void 0===b?NaN:b;var a=h.Eu-h.zb.lG;isNaN(b)&&(b="left"==d||"right"==d?Math.round(a/2):Math.round(this.rp()/2));switch(d){case "bottom":h.mQ=a;h.lQ=b;this.Rb.F.R("width",h.XL+"px");this.Rb.F.R("height",h.vC+"px");this.Rb.F.R("top",0).R("left",0).R("right","").R("bottom","");h.OP=a;h.CJ=this.rp()-this.Rb.F.rd()-this.hk.rd();this.cd.F.R("width",h.An+"px");this.cd.F.R("height",h.CJ+"px");this.cd.F.R("bottom",this.bT()&&
|
|
1832
1832
|
!f.v(this.Pl)?this.Pl.rd()+"px":0).R("left",0).R("right","").R("top","");this.hk.F.R("top",b+"px").R("left","").R("right","").R("bottom","");break;case "top":h.OP=a;h.CJ=b;this.cd.F.R("width",h.An+"px");this.cd.F.R("height",h.zn+"px");this.cd.F.R("top",0).R("left",0).R("right","").R("bottom","");h.mQ=a;h.lQ=this.rp()-this.cd.F.rd()-this.hk.rd();this.Rb.F.R("width",h.XL+"px");this.Rb.F.R("height",h.vC+"px");this.Rb.F.R("bottom",this.bT()&&!f.v(this.Pl)?this.Pl.rd()+"px":0).R("left",0).R("right","").R("top",
|
|
1833
1833
|
"");this.hk.F.R("top",b+"px").R("left","").R("right","").R("bottom","");break;case "left":h.OP=b;h.CJ=this.rp();this.cd.F.R("width",h.An+"px");this.cd.F.R("height",h.zn+"px");this.cd.F.R("top",0).R("left",0).R("right","").R("bottom","");h.mQ=a-this.cd.F.ef()-this.hk.ef();h.lQ=this.rp();this.Rb.F.R("width",h.XL+"px");this.Rb.F.R("height",h.vC+"px");this.Rb.F.R("top",0).R("right",h.zb.lG+"px").R("left","").R("bottom","");this.hk.F.R("left",b+"px").R("top","").R("right","").R("bottom","");break;case "right":h.mQ=
|
|
1834
1834
|
b,h.lQ=this.rp(),this.Rb.F.R("width",h.XL+"px"),this.Rb.F.R("height",h.vC+"px"),this.Rb.F.R("top",0).R("left",0).R("right","").R("bottom",""),h.OP=a-this.Rb.F.ef()-this.hk.ef(),h.CJ=this.rp(),this.cd.F.R("width",h.An+"px"),this.cd.F.R("height",h.zn+"px"),this.cd.F.R("top",0).R("right",h.zb.lG+"px").R("left","").R("bottom",""),this.hk.F.R("left",b+"px").R("top","").R("right","").R("bottom","")}this.Rb.F.R("position","absolute");this.cd.F.R("position","absolute");this.Rb.hb();this.cd.hb()};h.prototype.tfa=
|
|
1835
1835
|
function(d){null==this.yk&&this.Ura();for(var b,a=this.ja.ha.qa.bd(),c=0;c<a.length;c++){var e=a[c];e.uniqueName==d.measure.uniqueName&&e.$==d.measure.$&&(b=e)}this.yk.es(this.ja.G,this.ja.ha.qa,d.mg,d.Vg,b,d.cell)};h.prototype.zGa=function(d){if(null!=this.ja.ha&&null!=this.ja.ha.I){var b=this.ja.ha.I.tc(!1).getItem(d),a=this.ja.ha.qa;null!=b&&(a.pages.Db(d)||a.rows.Db(d)||a.columns.Db(d))&&(d={hierarchy:b.Ni()},f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.kx,d)),this.rH(b))}};h.prototype.KU=function(){f.v(this.ja.Ga.ga)||
|
|
1836
|
-
this.ja.Ga.ga.nb||("right"==f.model.B.C.kG?(f.model.B.C.LF=!0,f.model.B.C.Fn=!0,this.hb()):this.
|
|
1836
|
+
this.ja.Ga.ga.nb||("right"==f.model.B.C.kG?(f.model.B.C.LF=!0,f.model.B.C.Fn=!0,this.hb()):this.ci.open(this.ja.ha.I,this.ja.ha.qa,this.ja.Ga.ga.Ba))};h.prototype.DK=function(){"right"==f.model.B.C.kG?(f.model.B.C.LF=!1,f.model.B.C.Fn=!1,this.hb()):this.ci.close()};h.prototype.I2=function(d){if(!x.Ic.pg(this.ja.ha.qa.memberProperties)){var b=new f.model.cb.SliceValueObject;b.memberProperties=this.ja.ha.qa.memberProperties;d.data.memberProperties=b.memberProperties}this.ja.ce(d.data)};h.prototype.hBa=
|
|
1837
1837
|
function(){return!f.v(this.ja.Ga.ga)&&(!this.ja.Ga.ga.Bc||this.ja.Ga.ga.Ba===f.u.i.oa.API)&&!this.ja.ha.I.nb||f.model.B.C.Iv&&this.ja.Ga.ga.Ba===f.u.i.oa.Jc};h.prototype.NM=function(d,b){d=void 0===d?null:d;b=void 0===b?null:b;f.v(this.ja.Ga.ga)||this.ja.Ga.ga.nb||!this.hBa()||(f.v(b)||(this.Sx="string"==typeof b?f.model.Ra.Tca(b):b),f.ia(d)||f.model.Ta.P().N(k.Ja.Dj.Pz,this.Ux),f.model.Ta.P().Da(new k.Ja.pW(d)),f.model.Ta.P().N(k.Ja.Dj.Oz,this.Tx),f.model.Ta.P().N(k.Ja.Dj.Qz,this.Vx))};h.prototype.su=
|
|
1838
1838
|
function(d){f.model.Ta.P().mb(k.Ja.Dj.Oz,this.Tx);f.v(this.Sx)||this.Sx({uniqueName:d.Ur,isRemoved:!1});this.Sx=null};h.prototype.tu=function(d){f.model.Ta.P().mb(k.Ja.Dj.Pz,this.Ux);f.v(this.Sx)||this.Sx({uniqueName:d.Ur,isRemoved:!0});this.Sx=null};h.prototype.DM=function(){f.model.Ta.P().mb(k.Ja.Dj.Qz,this.Vx);this.Sx=null};h.prototype.FEa=function(d){null==this.Tj&&this.bZ();this.Tj.F.Wa("fm-charts-filter",!0);this.zU(d)};h.prototype.GEa=function(d){null==this.Tj&&this.bZ();this.Tj.F.Wa("fm-charts-filter",
|
|
1839
1839
|
!1);this.zU(d)};h.prototype.zU=function(d){var b={hierarchy:d.hierarchy.Ni()};f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.kx,b));this.rH(d.hierarchy)};h.prototype.rH=function(d){null==this.Tj&&this.bZ();this.Tj.es(d)};h.prototype.eua=function(){null!=this.yk&&this.yk.close()};h.prototype.wwa=function(){null!=this.Pl&&null!=this.UV||this.Gra();this.V(this.Pl);this.Pl.Wa("fm-layout-660",660>this.Pl.ef());this.Pl.Wa("fm-layout-520",520>this.Pl.ef());var d="";f.model.Fa.rc.Fu&&(d=f.model.Fa.na.J(f.model.Fa.na.tia)+
|
|
1840
1840
|
"("+x.kh.format(f.model.Fa.rc.hG,"MM/dd/yyyy")+")",new Date(Date.now()+432E6)>f.model.Fa.rc.hG&&(d+=f.model.Fa.na.J(f.model.Fa.na.kxa)));f.model.Fa.rc.To&&(x.Xda()||f.model.Fa.rc.kba||(d=f.model.Fa.na.J(f.model.Fa.na.nwa)+f.model.Fa.rc.Y1+")"));this.UV.bb(d,!0)};h.prototype.J2=function(){this.KU()};h.prototype.np=function(d){if(this.Qm||this.X0)73===d.keyCode&&(d.ctrlKey||d.metaKey)&&d.altKey&&this.Iha(),72===d.keyCode&&(d.ctrlKey||d.metaKey)&&d.altKey&&this.bJa(!this.FT),27===d.keyCode&&(null!=this.Tj&&
|
|
1841
|
-
this.Tj.close(),null!=this.yk&&(this.yk.Xs.ku?this.yk.Xs.close():this.yk.close()),null!=this.BF&&this.BF.isVisible()?this.BF.close():this.
|
|
1842
|
-
this.yk.Sj(d.Ot,d.lb,d.Ho):f.model.B.C.ie==k.
|
|
1843
|
-
f.u.Ee.
|
|
1841
|
+
this.Tj.close(),null!=this.yk&&(this.yk.Xs.ku?this.yk.Xs.close():this.yk.close()),null!=this.BF&&this.BF.isVisible()?this.BF.close():this.ci.close())};h.prototype.bJa=function(d){var b=this;d?(d=document.querySelector("link[data-fm-hc-theme]"))?(d.disabled=!1,this.FT=!0,this.hb()):x.qn.b2(this.Cda,{tK:{"data-fm-hc-theme":""},bj:!0},function(){b.FT=!0;b.hb()}):(x.qn.vKa(),this.hb(),this.FT=!1)};h.prototype.cJa=function(d){this.Cda=d};h.prototype.xEa=function(d){var b=this;this.yk&&this.yk.isVisible()?
|
|
1842
|
+
this.yk.Sj(d.Ot,d.lb,d.Ho):f.model.B.C.ie==k.Bd.Hs?(this.Rb.G=f.u.Ee.ni.wc(f.model.B.C.OG==k.X.je.lh?"flat":"pivot"),this.Rb.Sj(d.Ot,d.lb,d.Ho)):f.model.B.C.ie!=k.Bd.Oi||d.Ot!=f.model.xc.Ri.Bh&&d.Ot!=f.model.xc.Ri.hE?f.model.B.C.ie==k.Bd.Oi?(null==this.cd&&this.uF(),this.cd.Sj(d.lb)):f.model.B.C.ie==k.Bd.jn&&(d.Ot==f.model.xc.Ri.hA||d.Ot==f.model.xc.Ri.Vu||d.Ot==f.model.xc.Ri.qA?(null==this.cd&&this.uF(),this.cd.Sj(d.lb,!0,function(a){b.Rb.Sj(d.Ot,d.lb,d.Ho,a)})):this.Rb.Sj(d.Ot,d.lb,d.Ho)):(this.Rb.G=
|
|
1843
|
+
f.u.Ee.ni.wc(f.model.B.C.OG==k.X.je.lh?"flat":"pivot"),this.iG=d,h.zb.N(k.ti.ko,this.Oba),this.Rb.hb())};h.prototype.HFa=function(){var d=this;f.model.B.C.ie==k.Bd.Hs?this.Rb.print():f.model.B.C.ie==k.Bd.Oi?(null==this.cd&&this.uF(),this.cd.print()):f.model.B.C.ie==k.Bd.jn&&(null==this.cd&&this.uF(),this.cd.print(function(b){return d.ODa(b)}))};h.prototype.ODa=function(d){this.Rb.print(d)};h.prototype.bT=function(){f.model.Fa.rc.sj();return f.model.Fa.rc.Qx||f.model.Fa.rc.sp?!1:!0};h.prototype.LAa=
|
|
1844
1844
|
function(){return!f.model.Fa.rc.sp&&!f.model.Fa.rc.To&&!f.model.Fa.rc.Qx};h.prototype.Iha=function(){var d=new Date(parseFloat(f.Mg.fW)/61),b=x.kh.format(d,"MMMM yyyy")+" (v. "+f.Mg.Vq+")";b+=f.model.Fa.na.J(f.model.Fa.na.sB);b+=f.O.bind(f.model.Fa.na.J(f.model.Fa.na.mta),x.kh.format(d,"MM/dd/yyyy HH:mm:ss"));b+=f.model.Fa.na.J(f.model.Fa.na.sB);b+=f.model.Fa.na.J(f.model.Fa.na.Yva)+f.model.Fa.rc.xCa();f.model.Fa.rc.To?b+=f.model.Fa.na.J(f.model.Fa.na.BGa)+f.model.Fa.rc.Y1:f.model.Fa.rc.sp&&(b+=f.model.Fa.na.J(f.model.Fa.na.twa)+
|
|
1845
1845
|
f.model.Fa.rc.Lea);d=!1;f.model.Fa.rc.Fu?f.model.Fa.rc.To||f.model.Fa.rc.sp?b+=f.model.Fa.na.J(f.model.Fa.na.tCa)+x.kh.format(f.model.Fa.rc.hG,"MM/dd/yyyy"):(d=!0,b+=f.model.Fa.na.J(f.model.Fa.na.pKa)+x.kh.format(f.model.Fa.rc.hG,"MM/dd/yyyy")):b+=f.model.Fa.na.J(f.model.Fa.na.uCa);d||(b+=f.model.Fa.na.J(f.model.Fa.na.$ha)+x.kh.format(f.model.Fa.rc.NV,"MM/dd/yyyy"));b+=f.model.Fa.na.J(f.model.Fa.na.wCa)+f.model.Fa.rc.hy;b+=f.model.Fa.na.J(f.model.Fa.na.info);f.Ua(b,f.model.Fa.na.J(f.model.Fa.na.mua),
|
|
1846
1846
|
f.qb.HO)};h.prototype.Tf=function(d,b){return this.Rb.Tf(d,b)};h.prototype.KS=function(d,b){return this.Rb.KS(d,b)};h.prototype.IG=function(){return this.Rb.IG()};h.prototype.rz=function(d,b){this.Rb.rz(d,b)};h.prototype.nD=function(){this.Rb.nD()};h.prototype.BFa=function(d){null==this.BF&&this.Ira();this.BF.es(d.Ur)};h.prototype.CFa=function(d){null==this.contextMenu&&this.Lra();var b=d.data.hDa;b&&0<b.length&&this.contextMenu.$n(this.F,b,d.data.coords,null,d.data.mK)};h.prototype.BDa=function(){var d=
|
|
@@ -1848,9 +1848,9 @@ this;0==this.WF.length&&(this.Bga=f.re(function(){d.Xa(k.ti.qX)},1))};h.prototyp
|
|
|
1848
1848
|
h.prototype.rsa=function(){var d=this;this.hk=new B.AP;this.hk.Va();this.hk.N(B.AP.AW,function(b){return d.hGa(b)});this.V(this.hk)};h.prototype.Lra=function(){this.contextMenu=new B.Po.IE(h.zb.F);this.contextMenu.Y("fm-context-menu");this.contextMenu.Va();this.V(this.contextMenu)};h.prototype.Gra=function(){var d=this;this.Pl=new B.Wb.ze;this.Pl.Y("fm-branding-bar");this.UV=new B.Qc;this.UV.Y("fm-version-label");this.Pl.V(this.UV);this.TV=new B.Qc;this.TV.Y("fm-link");this.TV.bb(f.model.Fa.na.J(f.model.Fa.na.$fa),
|
|
1849
1849
|
!0);this.Pl.V(this.TV);var b=new B.Aa("span","fm-info-icon");b.N("click",function(){return d.Iha()});this.TV.F.append(b);this.aW=new k.fqa};h.prototype.dispose=function(){this.ja=null;this.Rb&&this.Rb.dispose();this.cd&&this.cd.dispose();this.yk&&this.yk.dispose();this.F.dispose();this.Ye.dispose();k.YN.dispose();k.filter.e7.dispose();k.nX.dispose();B.ZK.mO.dispose();x.KO.dispose();h.zb=null;this.toolbar&&(this.toolbar.dispose&&this.toolbar.dispose(),this.toolbar=null);this.fF&&(this.fF.Od(z.da.rX),
|
|
1850
1850
|
this.fF.dispose(),this.fF=null)};r.Object.defineProperties(h.prototype,{wda:{configurable:!0,enumerable:!0,get:function(){return this.toolbar&&null!=this.toolbar.create}},JD:{configurable:!0,enumerable:!0,get:function(){if(this.toolbar){var d=B.Aa.Qb(this.Ye.element.querySelector("#fm-toolbar-wrapper"));return null==d?0:d.height}return 0}},lG:{configurable:!0,enumerable:!0,get:function(){return"right"==f.model.B.C.kG&&f.model.B.C.Fn?this.p9:0},set:function(d){this.p9=d}},WL:{configurable:!0,enumerable:!0,
|
|
1851
|
-
get:function(){return this.Rb.WL}},VL:{configurable:!0,enumerable:!0,get:function(){return this.Rb.VL}}});r.Object.defineProperties(h,{Eu:{configurable:!0,enumerable:!0,get:function(){var d=h.zb.F.borderWidth;return h.zb.Ye.ef(x.DT())-d.left-d.right}},Sha:{configurable:!0,enumerable:!0,get:function(){var d=h.zb.F.borderWidth;return h.zb.Ye.rd(x.DT())-d.top-d.bottom}},An:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.ie==k.
|
|
1852
|
-
get:function(){return f.model.B.C.ie==k.
|
|
1853
|
-
(function(f){(function(k){function h(){}h.Eg=function(d){if(f.v(d)||"string"!=typeof d)return!1;d=d.toLowerCase();return d==h.Hs||d==h.Oi||d==h.jn};h.Hs="grid";h.Oi="charts";h.jn="grid_charts";k.
|
|
1851
|
+
get:function(){return this.Rb.WL}},VL:{configurable:!0,enumerable:!0,get:function(){return this.Rb.VL}}});r.Object.defineProperties(h,{Eu:{configurable:!0,enumerable:!0,get:function(){var d=h.zb.F.borderWidth;return h.zb.Ye.ef(x.DT())-d.left-d.right}},Sha:{configurable:!0,enumerable:!0,get:function(){var d=h.zb.F.borderWidth;return h.zb.Ye.rd(x.DT())-d.top-d.bottom}},An:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.ie==k.Bd.jn?h.OP:h.Eu-h.zb.lG}},zn:{configurable:!0,enumerable:!0,
|
|
1852
|
+
get:function(){return f.model.B.C.ie==k.Bd.jn?h.CJ:h.zb.rp()}},XL:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.ie==k.Bd.jn?h.mQ:h.Eu-h.zb.lG}},vC:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.ie==k.Bd.jn?h.lQ:h.zb.rp()}}});k.Hb=h})(f.K||(f.K={}))})(w||(w={}));
|
|
1853
|
+
(function(f){(function(k){function h(){}h.Eg=function(d){if(f.v(d)||"string"!=typeof d)return!1;d=d.toLowerCase();return d==h.Hs||d==h.Oi||d==h.jn};h.Hs="grid";h.Oi="charts";h.jn="grid_charts";k.Bd=h})(f.K||(f.K={}))})(w||(w={}));
|
|
1854
1854
|
(function(f){(function(k){function h(){this.Ll=0;this.lF=!1;this.HJ=this.dF="";this.pF=!1}h.prototype.show=function(d,b,a,c,e){var g=this;c=void 0===c?!0:c;e=void 0===e?!1:e;d?(e&&this.y4(d,b,a,c),0==this.lF?(this.lF=d,this.dF=b,this.HJ=a,this.pF=c,this.Ll=f.re(function(){return g.bia()},h.m6)):0==this.Ll?this.y4(d,b,a,c):(this.lF=d,this.dF=b,this.HJ=a,this.pF=c)):(e&&this.y4(d,b,a,c),1==this.lF&&(this.lF=d,this.Ll=f.re(function(){return g.bia()},h.m6)))};h.prototype.y4=function(d,b,a,c){this.Dga();
|
|
1855
1855
|
this.dga(d,b,a,c)};h.prototype.bia=function(){this.Dga();this.dga(this.lF,this.dF,this.HJ,this.pF)};h.prototype.Dga=function(){f.yq(this.Ll);this.Ll=0};h.prototype.dga=function(d,b,a,c){k.nX.P()&&k.nX.P().es(d,b,a,c)};h.P=function(){null==h.ne&&(h.ne=new h);return h.ne};h.dispose=function(){h.ne=null};h.m6=250;k.Hoa=h})(f.K||(f.K={}))})(w||(w={}));
|
|
1856
1856
|
(function(f){(function(k){function h(){if(null!=h.ne)throw Error("Singleton");var d=B.Wb.ph.call(this,k.Hb.zb.F)||this;d.Y("fm-preloader-view");d.dk("status");d.ue();return d}u(h,B.Wb.ph);h.prototype.es=function(d,b,a,c){this.dF=void 0===b?"":b;this.HJ=void 0===a?"":a;this.cra=void 0===c?!0:c;void 0===d||d?this.open():this.close()};h.prototype.open=function(){B.Wb.ph.prototype.open.call(this);this.hb()};h.prototype.ue=function(){this.bD.Y("fm-overlay-preloader");this.bD.mb("click",this.R9);this.z9=
|
|
@@ -1860,7 +1860,7 @@ this.clear()};h.prototype.clear=function(){this.EH("");this.EH("")};h.P=function
|
|
|
1860
1860
|
this;this.fq=new B.Ca("div","fm-ui-row fm-header-toolbar");this.oB(this.fq);this.vv=new B.Ca("div","fm-ui-col-2");this.vv.F.display="inline-block";this.fq.V(this.vv);this.tk=new B.kd.gr;this.tk.Y("fm-chart-measures-dropdown");this.tk.N(z.da.Qd,function(c){return a.jFa(c)});this.tk.Va();this.vv.V(this.tk);this.qr=new B.kd.gr;this.qr.Y("fm-chart-pie-dropdown");this.qr.N(z.da.Qd,function(c){return a.GFa(c)});this.qr.Va();this.vv.V(this.qr);this.lq=new B.Ca("div","fm-ui-col-2 fm-charts-filters-container");
|
|
1861
1861
|
this.lq.F.display="inline-block";this.fq.V(this.lq);this.pr=new B.kd.gr;this.pr.Fk=!1;this.pr.Y("fm-charts-filters-btn");this.pr.Ph(f.model.A.j.zA);this.pr.N(z.da.Qd,function(c){return a.vfa(c)});this.pr.Oh(this.pxa);this.fq.V(this.pr)};b.prototype.pxa=function(a,c){var e=new d;e.setData(a);e.dm(c);e.Y("fm-charts-filter");e.F.attr("title",f.model.A.j.zA);return e};b.prototype.resize=function(a,c){this.$A=a;this.ZA=c};b.prototype.EBa=function(){return!this.pr.isVisible()&&!this.lq.isVisible()&&!this.tk.isVisible()&&
|
|
1862
1862
|
!this.qr.isVisible()};b.prototype.hb=function(){this.width=this.$A;this.height=this.ZA;f.v(this.G)||this.G.nb?this.yJa&&this.Nwa():(f.ia(f.model.B.C.Fm)||this.D_(),null!=this.xb&&(this.fq.F.Wa("fm-fields-list-padding",this.GAa),this.tk.Va(),this.qr.Va(),f.model.B.C.vz&&f.model.B.C.xJa&&this.zwa(),this.xb.type!=h.ye.dE&&f.model.B.C.uJa&&this.Gwa(),this.xb.type==h.ye.Yu&&1<this.xb.Mk.length&&this.Kwa(),this.EBa()&&this.fq.Va(),f.model.B.C.tJa&&this.xb.Xe&&0<this.xb.Xe.length&&this.uba(),this.sba(),
|
|
1863
|
-
f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.dW))))};b.prototype.clear=function(){this.Bo.Va();this.fq.Va();this.tk.Va();this.qr.Va();this.lq.Va();this.pr.Va();this.vv.
|
|
1863
|
+
f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.dW))))};b.prototype.clear=function(){this.Bo.Va();this.fq.Va();this.tk.Va();this.qr.Va();this.lq.Va();this.pr.Va();this.vv.zd("fm-wide");this.Ao&&(this.Ao.sg(!0),this.Ao=null);this.xm&&(this.xm.sg(!0),this.xm=null);this.lB&&this.lB.Va()};b.prototype.Nwa=function(){null==this.lB&&(this.lB=new B.Qc(f.model.A.j.P5),this.lB.Y("fm-charts-msg"),this.oB(this.lB));this.lB.bb(f.model.A.j.P5);this.lB.show()};b.prototype.D_=function(){this.Bo.bb(f.model.B.C.Fm);this.Bo.show()};
|
|
1864
1864
|
b.prototype.Gwa=function(){for(var a=[],c=this.G.measures,e=this.xb.dK,g=0;g<c.length;g++){var l=c[g],m=new f.model.cb.Lg(l.uniqueName,l.$,l.index);m.label=f.O.Ln(l.label,!0,!0);a.push(m)}if(f.model.B.C.Cha||!f.model.B.C.Cha&&1<a.length){this.tk.xD(f.model.A.j.zja);this.tk.jCa=this.tk.yr&&this.xb.Yy;this.tk.yr=this.xb.Yy;this.tk.Ef(a);if(this.xb.Yy){c=[];for(g=0;g<a.length;g++)for(l=a[g],m=0;m<e.length;m++)if(l.uniqueName==e[m].uniqueName&&(l.$==e[m].$||f.ia(e[m].$))&&(l.index==e[m].index||-1==e[m].index)){c.push(g);
|
|
1865
1865
|
break}this.tk.jN(c)}else{a=e[0];var n=new f.model.cb.Lg(a.uniqueName,a.$,a.index);this.tk.ps(function(p){return p.index===n.index})}this.tk.show();this.fq.show();this.xb.type==h.ye.Yu&&1<this.xb.Mk.length?this.tk.yj(this.vv.ef()/2-10):this.tk.yj(this.vv.ef()-10)}};b.prototype.Kwa=function(){for(var a=[],c=0;c<this.xb.Mk.length;c++)a.push({label:f.O.Ln(this.xb.Mk[c].label,!0,!0)});this.qr.Ef(a);this.qr.ek(f.model.B.C.eR);this.qr.show();this.fq.show();this.qr.yj(this.vv.ef()/2-10)};b.prototype.zwa=
|
|
1866
1866
|
function(){this.lq.F.Jw();if(null!=f.u.La.P().qa){for(var a=f.u.La.P().qa.tc(!1),c=[],e=0;e<a.length;e++){var g=a.ea(e);this.$da(g)&&(g=this.zva(a.ea(e)),c.push(g),this.lq.V(g))}0===c.length?this.lq.Va():this.lq.show();this.fq.show();for(c=a=0;c<this.lq.F.element.children.length;c++)e=this.lq.F.element.children.item(c),a+=e.offsetWidth;a>this.lq.ef()&&this.Awa()}};b.prototype.$da=function(a){return f.u.La.P().ga.mapping.Ia(a.uniqueName,"filters")};b.prototype.Awa=function(){for(var a=[],c=f.u.La.P().qa.tc(!1),
|
|
@@ -1870,12 +1870,12 @@ e,g){return a.aFa(c,e,g)});this.xm.N(z.da.Qd,function(){return a.$Ea()});this.xm
|
|
|
1870
1870
|
this.G.expand(c,f.u.i.fa.Ea):this.G.uj(c)?this.G.collapse(c,f.u.i.fa.Oa):this.G.expand(c,f.u.i.fa.Oa)};b.prototype.Iba=function(a,c){a==f.u.i.fa.Ea?c.length<=f.model.B.C.Lv.length?this.G.collapse(c,f.u.i.fa.Ea):this.G.expand(c,f.u.i.fa.Ea):c.length<=f.model.B.C.FF.length?this.G.collapse(c,f.u.i.fa.Oa):this.G.expand(c,f.u.i.fa.Oa)};b.prototype.vfa=function(a){a=a.type==z.da.Qd?a.data.Kk.uniqueName:a.target.F.attr("data-hierarchy");a=f.u.La.P().I.Rg(a);this.Da(new k.CO(a))};b.prototype.aFa=function(a,
|
|
1871
1871
|
c,e){this.Dea=this.xb.PC;f.model.B.C.Ko?"expand"==a?this.Iba(this.xb.PC,c):"drill"==a&&this.qy(this.xb.PC,c,e):"expand"==a?this.Nt(this.xb.PC,c):"drill"==a&&this.qy(this.xb.PC,c,e)};b.prototype.uGa=function(a,c,e){var g=this.xb.PC==f.u.i.fa.Oa?f.u.i.fa.Ea:f.u.i.fa.Oa;this.Dea=g;f.model.B.C.Ko?"expand"==a?this.Iba(g,c):"drill"==a&&this.qy(g,c,e):"expand"==a?this.Nt(g,c):"drill"==a&&this.qy(g,c,e)};b.prototype.jFa=function(a){if(this.xb.Yy){for(var c=[],e=this.tk.NL().slice(),g=0;g<e.length;g++)(a=
|
|
1872
1872
|
e[g])&&c.push(a);f.model.B.C.zK=c}else f.model.B.C.Jo=a.data.Kk;this.Xa("chart_changed")};b.prototype.GFa=function(a){f.model.B.C.eR=a.data.selectedIndex;this.Xa("chart_changed")};r.Object.defineProperties(b.prototype,{Gp:{configurable:!0,enumerable:!0,get:function(){return this.Bo}},Xe:{configurable:!0,enumerable:!0,get:function(){return this.xm}},Ar:{configurable:!0,enumerable:!0,get:function(){return this.Ao}},GAa:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.a_&&!(f.model.B.C.Fn&&
|
|
1873
|
-
"right"==f.model.B.C.kG)&&!(f.model.B.C.ie==k.
|
|
1873
|
+
"right"==f.model.B.C.kG)&&!(f.model.B.C.ie==k.Bd.jn&&("bottom"==f.model.B.C.zB||"left"==f.model.B.C.zB))}},yJa:{configurable:!0,enumerable:!0,get:function(){return f.model.Ta.P().Ga.oD==f.model.fc.gd.Th&&(f.v(this.G)||this.G.nb&&!f.model.B.C.Dha)}}});h.qka=b;u(d,B.Yf.yo);d.prototype.hb=function(){var a=this.getData();null==this.label&&(this.label=new B.Qc,this.label.Y("fm-text-display"),this.F.append(this.label.F));this.label.bb(a[this.Aq()],!0);this.F.Wa("fm-filtered",!0===a.F1);this.F.attr("data-hierarchy",
|
|
1874
1874
|
a.uniqueName)}})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
1875
1875
|
(function(f){(function(k){(function(h){function d(){}function b(){}b.validate=function(a){return a==b.Rz||a==b.TD||a==b.NI||a==b.Yu||a==b.kJ||a==b.xA||a==b.dE?a:a==b.fpa?b.xA:a==b.Dja?b.dE:a==b.D5?b.TD:b.Rz};b.kea=function(a){if("string"!=typeof a||f.ia(a))return!1;a=a.toLowerCase();return a==b.Rz||a==b.TD||a==b.D5||a==b.NI||a==b.kJ?!0:!1};b.Rz="column";b.TD="bar_h";b.D5="bar_horizontal";b.NI="line";b.Yu="pie";b.kJ="scatter";b.xA="stacked_column";b.fpa="bar_stack";b.dE="column_line";b.Dja="bar_line";
|
|
1876
1876
|
h.ye=b;d.vA="series";d.GE="series_label";d.Hma="legend";h.en=d})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
1877
1877
|
(function(f){(function(k){(function(h){(function(d){function b(a){if(!f.v(a))for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c])}b.prototype.Ma=function(){var a={};f.v(this.label)||(a.label=this.label);f.v(this.color)||(a.color=this.color);f.v(this.Yb)||(a.member=this.Yb.Ma());f.v(this.If)||(a.tuple=this.rKa==f.u.i.fa.Ea?f.model.Ta.P().ha.qa.d_(this.If):f.model.Ta.P().ha.qa.c_(this.If));f.v(this.measure)||(a.measure={uniqueName:this.measure.uniqueName,caption:this.measure.caption,aggregation:this.measure.$});
|
|
1878
|
-
f.v(this.level)||(a.level=this.level);f.v(this.Bf)||(a.isExpanded=this.Bf);f.v(this.isCollapsed)||(a.isCollapsed=this.isCollapsed);f.v(this.Ug)||(a.isDrilledDown=this.Ug);f.v(this.WG)||(a.isDrilledUp=this.WG);return a};d.y7=b;d.oka=function(){this.Yy=!1;this.Yw=this.xs=this.ws="";this.Mk=[];this.
|
|
1878
|
+
f.v(this.level)||(a.level=this.level);f.v(this.Bf)||(a.isExpanded=this.Bf);f.v(this.isCollapsed)||(a.isCollapsed=this.isCollapsed);f.v(this.Ug)||(a.isDrilledDown=this.Ug);f.v(this.WG)||(a.isDrilledUp=this.WG);return a};d.y7=b;d.oka=function(){this.Yy=!1;this.Yw=this.xs=this.ws="";this.Mk=[];this.mi=[];this.PC=f.u.i.fa.Oa;this.jw=[];this.data=[];this.Xv=[];this.BD=this.Kv=this.uea=this.oea=this.Qda=this.sw=this.Zd=this.Vf=!1}})(h.W||(h.W={}))})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
1879
1879
|
(function(f){(function(k){(function(h){function d(){var b=B.Wb.ze.call(this)||this;b.An=600;b.zn=400;b.ffa=15;b.o2=3;b.Y("fm-chart");return b}u(d,B.Wb.ze);d.prototype.Kd=function(b,a,c){this.An=a;this.zn=c;this.xb=b;this.WAa(this.An,this.zn)};d.prototype.WAa=function(b,a){d3v3.select(k.Hb.zb.Ye.element).select(".fm-chart").selectAll("svg").remove();this.svg=d3v3.select(k.Hb.zb.Ye.element).select(".fm-chart").append("svg").attr("width",b).attr("height",a).append("g")};d.prototype.w4=function(){};d.prototype.L_=
|
|
1880
1880
|
function(b){this.F.R("overflow-y","auto");d3v3.select(k.Hb.zb.Ye.element).select(".fm-chart").selectAll("svg").attr("height",b)};d.prototype.Eba=function(b){this.F.R("overflow-x","auto");d3v3.select(k.Hb.zb.Ye.element).select(".fm-chart").selectAll("svg").attr("width",b)};d.prototype.Zk=function(b,a){if(f.qg(h.Ou.OB)){var c=h.Ou.OB,e=h.Ou.daa,g=this.xb.type;b.each(function(l){l=e(l.data?l.data:l);l.type=a;l.chartType=g;c(this,l)})}};d.prototype.PP=function(b){var a=this;b.forEach(function(c){Infinity===
|
|
1881
1881
|
Math.abs(c.value)&&(c.value=0);c.Ah&&a.PP(c.Ah)})};h.Lu=d})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
@@ -1887,9 +1887,9 @@ G,F,I,N,H))}),O=0,T=this.svg.append("g").attr("class","fm-y fm-axis fm-axis-2").
|
|
|
1887
1887
|
this.o2,this.ffa),c);K&&T.attr("transform","translate("+V+", 0)");a=V>c;this.Bj=d3v3.scale.ordinal().rangeRoundBands([0,V],a?0:.1).domain(M.map(function(Q){return Q.id}));M=d3v3.svg.axis().scale(this.Bj).tickFormat(function(){return""}).orient("bottom");M=this.svg.append("g").attr("class","fm-x fm-axis").call(M);this.lZ(M);var P,W=M.each(function(){P=this.getBBox().height}).append("text").attr("class","fm-x fm-axis fm-title").attr("dy","1.2em").style("text-anchor",a?"start":"middle").text(this.ws).attr("transform",
|
|
1888
1888
|
"translate("+(a?0:V/2)+", "+P+")"),ca=this.ws;W.each(function(){this.getBBox().width>=V&&W.append("svg:title").text(ca)});e-=this.Az;e=a?e-16:e;var X=!1;M.each(function(){P=this.getBBox().height;e=(X=P>4*e/5)?1*e/5:e-P}).attr("transform","translate(0,"+e+")");b.select(".fm-y.fm-axis-label").style("text-anchor",C<e?"middle":"end").attr("transform","translate(-"+(A-20)+","+(C<e?e/2:0)+") rotate(-90)");K&&T.select(".fm-y.fm-axis-label-2").style("text-anchor",E<e?"middle":"start").attr("transform","translate("+
|
|
1889
1889
|
(O+5)+","+(E<e?e/2:0)+") rotate(90)");X&&this.L_(e+P+this.Az);var ea=Math.min(60,e/2);b.select(".tick").each(function(){var Q=this.getBBox().height;ea=Math.max(ea,Q)});M=Math.floor(e/ea);n&&1>(g-l)/M&&(M=g-l);y.ticks(M);this.Cl.range([e,0]);b.call(y);K&&(L.ticks(M),this.MN.range([e,0]),T.call(L));this.NN=0<l&&0<g?this.Cl.domain()[0]:0>l&&0>g?this.Cl.domain()[1]:0;K&&(this.Mia=0<aa&&0<J?this.MN.domain()[0]:0>aa&&0>J?this.MN.domain()[1]:0);this.zv=c;this.$s=e;var fa=this.Cl;g=fa.ticks(M);g.shift();
|
|
1890
|
-
b.selectAll(".refline").data(g).enter().append("line").attr("class","fm-refline").attr("x1",0).attr("x2",V).attr("y1",function(Q){return fa(Q)}).attr("y2",function(Q){return fa(Q)});a&&this.Eba(K?A+V+O:A+V)};d.prototype.lZ=function(b){var a=this,c=b.append("g").attr("class","fm-axis-dividers");b=b.selectAll(".level").data(this.xb.
|
|
1890
|
+
b.selectAll(".refline").data(g).enter().append("line").attr("class","fm-refline").attr("x1",0).attr("x2",V).attr("y1",function(Q){return fa(Q)}).attr("y2",function(Q){return fa(Q)});a&&this.Eba(K?A+V+O:A+V)};d.prototype.lZ=function(b){var a=this,c=b.append("g").attr("class","fm-axis-dividers");b=b.selectAll(".level").data(this.xb.mi).enter().append("g").attr("class","fm-level");var e=b.selectAll("text").data(function(C){return C}).enter().append("text").on("click",function(C){return a.Nt(C)}).attr("class",
|
|
1891
1891
|
"fm-label").style("text-anchor","middle").text(function(C){return C.yf||C.og?"- "+C.label:C.collapsed||C.Pg?"+ "+C.label:C.label}).style("cursor",function(C){return C.collapsed||C.yf||C.og||C.Pg?"pointer":"auto"});b.selectAll("text").filter(function(C){return C.mf&&0<C.mf.length||C.collapsed||C.yf||C.og||C.Pg}).append("svg:title").text(function(C){return C.mf&&0<C.mf.length?C.mf:C.collapsed||C.Pg?f.model.A.j.yP:C.yf||C.og?f.model.A.j.xP:""});var g=0;for(g=0;g<e.length;g++)this.QM(e[g],0);var l=Math.floor(this.Bj.rangeBand()),
|
|
1892
|
-
m=[],n=0;for(g=0;g<e.length;g++){var p=this.Aza(e[g],l);m.push(p);n=Math.max(n,p)}for(g=0;g<e.length;g++)0!=m[g]&&this.QM(e[g],-n);for(g=0;g<e.length;g++)0!=m[g]&&this.QM(e[g],-n);var t=[],q=6;b.each(function(){q+=this.getBBox().height+6;t.push(this.getBBox().height)});b.attr("transform",function(C,E){q-=t[E]+6;return"translate(0, "+q+")"});t=t.reverse();for(var v=this.Bj,y=1<v.range().length?(v.range()[1]-v.range()[0]-v.rangeBand())/2:0,A=0;A<this.xb.
|
|
1892
|
+
m=[],n=0;for(g=0;g<e.length;g++){var p=this.Aza(e[g],l);m.push(p);n=Math.max(n,p)}for(g=0;g<e.length;g++)0!=m[g]&&this.QM(e[g],-n);for(g=0;g<e.length;g++)0!=m[g]&&this.QM(e[g],-n);var t=[],q=6;b.each(function(){q+=this.getBBox().height+6;t.push(this.getBBox().height)});b.attr("transform",function(C,E){q-=t[E]+6;return"translate(0, "+q+")"});t=t.reverse();for(var v=this.Bj,y=1<v.range().length?(v.range()[1]-v.range()[0]-v.rangeBand())/2:0,A=0;A<this.xb.mi.length;A++)c.selectAll(".refline").data(this.xb.mi[A].slice(1)).enter().append("line").attr("class",
|
|
1893
1893
|
"fm-refline").attr("x1",function(C){return v(C.id)-y}).attr("x2",function(C){return v(C.id)-y}).attr("y1",function(){return 0}).attr("y2",function(){for(var C=0,E=t.length-A,K=0;K<E;K++)C+=t[K]+6;return C})};d.prototype.QM=function(b,a){for(var c=0;c<b.length;c++)B.Aa.Qb(b[c]).R("text-anchor","middle"),B.Aa.Qb(b[c]).attr("dy","0.38em"),B.Aa.Qb(b[c]).attr("transform",this.Q0(b[c])+(0!=a?" rotate("+a+")":""))};d.prototype.Q0=function(b){var a=b.getBoundingClientRect().height/2;b=b.__data__;var c=1<
|
|
1894
1894
|
this.Bj.range().length?(this.Bj.range()[1]-this.Bj.range()[0]-this.Bj.rangeBand())/2:0;return"translate("+(this.Bj(b.id)+this.Bj.rangeBand()*b.FB/2+c*(b.FB-1))+", "+a+")"};d.prototype.Aza=function(b,a){var c=0,e=0;b.forEach(function(g){g=g.getBBox();c<g.width&&(c=g.width,e=g.height)});return this.ota(a,Math.sqrt(c*c+e*e),this.gia(Math.atan(e/c)))};d.prototype.ota=function(b,a,c){b=Math.min(90,this.gia(Math.acos(b/a))+c||0);if(0==b)return 0;for(a=0;a<this.rZ.length;a++)if(this.rZ[a]>b)return this.rZ[a];
|
|
1895
1895
|
return b};d.prototype.gia=function(b){return 180*b/Math.PI};d.prototype.ZR=function(b,a){var c=this.xb.Mo,e=this.Bj,g=0;if(0<this.xb.jw.length){var l=this.xb.jw;var m=d3v3.scale.ordinal().rangeRoundBands([0,e.rangeBand()],.1).domain(l);l=m.rangeBand();var n=Math.min(l,this.zF);g=l!=n?(l-n)/2:0}b=this.svg.selectAll(".state").data(b).enter().append("g").attr("transform",function(q){return"translate("+(e(q.id)+g)+",0)"});var p=this.NN;l=b.selectAll("rect").data(function(q){return q.Ah}).enter().append("rect");
|
|
@@ -1904,9 +1904,9 @@ e]).nice();var l=this.xb.Vt,m=this.xb.Vf,n=this.xb.Zd,p=this.xb.sw,t=!0===f.mode
|
|
|
1904
1904
|
c-=this.Az;y.each(function(){A=this.getBBox().height;c-=A});var E=this.xb.Mk,K=Math.max(E.length*Math.max(this.xb.jw.length*this.o2,this.ffa),c);y.attr("transform","translate(0,"+K+")");b=K>c;this.Bj=d3v3.scale.ordinal().rangeRoundBands([0,K],b?0:.1).domain(E.map(function(L){return L.id}));E=d3v3.svg.axis().scale(this.Bj).orient("left").tickFormat(function(){return""});var J=0;E=this.svg.append("g").attr("class","fm-x fm-axis").call(E).each(function(){J=this.getBBox().width;a-=J});this.bW=J;this.lZ(E);
|
|
1905
1905
|
E.each(function(){J=this.getBBox().width});var aa=E.append("text").attr("class","fm-x fm-axis fm-axis-label fm-title").text(this.ws).style("text-anchor",b?"end":"middle").attr("dy","-0.5em").attr("transform","translate(-"+J+", "+(b?0:K/2)+") rotate(-90)"),H=this.ws;aa.each(function(){this.getBBox().width>=K&&aa.append("svg:title").text(H)});a=b?a-16:a;var G=!1;E.each(function(){J=this.getBBox().width;a=(G=J>4*a/5)?1*a/5:a-J});G&&this.Eba(a+J);this.bW=J;E=10;var F=20,I=0;y.selectAll(".tick").each(function(){F=
|
|
1906
1906
|
this.getBBox().width;I=Math.max(I,F)});a-=F/2;I*=1.8;a/E<I&&(E=Math.floor(a/I));m&&1>(e-g)/E&&(E=e-g);v.ticks(E);this.Cl.range([0,a]);y.call(v);y.select(".fm-title").attr("transform","translate("+a/2+", "+C+")");this.NN=0<g&&0<e?this.Cl.domain()[0]:0>g&&0>e?this.Cl.domain()[1]:0;this.zv=a;this.$s=c;var N=this.Cl;e=N.ticks(E);e.shift();y.selectAll(".refline").data(e).enter().append("line").attr("class","fm-refline").attr("y1",0).attr("y2",-K).attr("x1",function(L){return N(L)}).attr("x2",function(L){return N(L)});
|
|
1907
|
-
e=A+K+this.Az;b&&this.L_(e)};d.prototype.lZ=function(b){var a=this,c=b.append("g").attr("class","fm-axis-dividers");b=b.selectAll(".level").data(this.xb.
|
|
1907
|
+
e=A+K+this.Az;b&&this.L_(e)};d.prototype.lZ=function(b){var a=this,c=b.append("g").attr("class","fm-axis-dividers");b=b.selectAll(".level").data(this.xb.mi).enter().append("g").attr("class","fm-level");var e=b.selectAll("text").data(function(q){return q}).enter().append("text").on("click",function(q){return a.Nt(q)}).attr("class","fm-label").style("text-anchor","middle").text(function(q){return q.yf||q.og?"- "+q.label:q.collapsed||q.Pg?"+ "+q.label:q.label}).style("cursor",function(q){return q.collapsed||
|
|
1908
1908
|
q.yf||q.og||q.Pg?"pointer":"auto"});b.selectAll("text").filter(function(q){return q.mf&&0<q.mf.length||q.collapsed||q.yf||q.og||q.Pg}).append("svg:title").text(function(q){return q.mf&&0<q.mf.length?q.mf:q.collapsed||q.Pg?f.model.A.j.yP:q.yf||q.og?f.model.A.j.xP:""});var g=0;for(g=0;g<e.length;g++)this.QM(e[g],0);var l=[],m=6;b.each(function(){m+=this.getBBox().width+6;l.push(this.getBBox().width)});b.attr("transform",function(q,v){m-=l[v];q="translate("+-m+", 0)";m-=6;return q});l=l.reverse();for(var n=
|
|
1909
|
-
this.Bj,p=1<n.range().length?(n.range()[1]-n.range()[0]-n.rangeBand())/2:0,t=0;t<this.xb.
|
|
1909
|
+
this.Bj,p=1<n.range().length?(n.range()[1]-n.range()[0]-n.rangeBand())/2:0,t=0;t<this.xb.mi.length;t++)c.selectAll(".refline").data(this.xb.mi[t].slice(1)).enter().append("line").attr("class","fm-refline").attr("y1",function(q){return n(q.id)-p}).attr("y2",function(q){return n(q.id)-p}).attr("x1",function(){return 0}).attr("x2",function(){for(var q=0,v=l.length-t,y=0;y<v;y++)q+=l[y]+6;return-q})};d.prototype.QM=function(b,a){for(var c=0;c<b.length;c++)B.Aa.Qb(b[c]).R("text-anchor","end"),B.Aa.Qb(b[c]).attr("dy",
|
|
1910
1910
|
"0.38em"),B.Aa.Qb(b[c]).attr("transform",this.Q0(b[c])+(0!=a?" rotate("+a+")":""))};d.prototype.Q0=function(b){var a=b.getBoundingClientRect().height/2;b=b.__data__;b=this.Bj(b.id)+this.Bj.rangeBand()*b.FB/2;return"translate("+a+", "+b+")"};d.prototype.ZR=function(b,a){var c=this.xb.Mo,e=this.Bj,g=0;if(0<this.xb.jw.length){var l=this.xb.jw;var m=d3v3.scale.ordinal().rangeRoundBands([0,e.rangeBand()],.1).domain(l);l=m.rangeBand();var n=Math.min(l,this.zF);g=l!=n?(l-n)/2:0}b=this.svg.selectAll(".state").data(b).enter().append("g").attr("transform",
|
|
1911
1911
|
function(q){return"translate(0,"+(e(q.id)+g)+")"});var p=this.NN;l=b.selectAll("rect").data(function(q){return q.Ah}).enter().append("rect").attr("class","fm-bar").attr("y",function(q){return m(q.id)}).attr("height",n).attr("x",function(q){return 0>q.value?Math.floor(100*a(q.value))/100:Math.floor(100*a(p))/100}).attr("width",function(q){return Math.floor(100*Math.abs(a(p)-a(q.value)))/100}).style("fill",function(q){return f.v(q.qq)?c(q.id):c(q.qq)});l.append("title").text(function(q){return q.mf});
|
|
1912
1912
|
this.Zk(l,h.en.vA);if(this.xb.BD){var t=this.F.find("svg").getBoundingClientRect();b=b.selectAll("text").data(function(q){return q.Ah}).enter().append("text").attr("class","fm-data-label").text(function(q){return q.Ir}).attr("x",function(q){return Math.floor(100*a(q.value))/100}).attr("y",function(q){return m(q.id)+n/2}).attr("dx",function(){var q=this.getBoundingClientRect();return q.right>t.right?t.right-q.right+"px":"2px"}).attr("dy","0.38em");b.append("title").text(function(q){return q.mf});this.Zk(b,
|
|
@@ -1938,9 +1938,9 @@ this.cH.append(e)}};b.prototype.SIa=function(a){this.Bt=a};b.prototype.nu=functi
|
|
|
1938
1938
|
f.model.A.j.xa);return}this.eq.xb=this.rva()}this.eq.hb()}};d.prototype.sva=function(){var b=this,a=new h.qka;a.N("chart_changed",function(){return b.LDa()});a.N(k.ti.kx,function(c){return b.zU(c)});a.N("dblclick",function(c){return b.NDa(c)});a.N("click",function(c){return b.MDa(c)});return a};d.prototype.LDa=function(){this.hb()};d.prototype.zU=function(b){this.Da(b)};d.prototype.ABa=function(b){b=B.Aa.Qb(b);return b.closest(".fm-charts-filters-container")||b.closest(".fm-charts-filters-btn")?!0:
|
|
1939
1939
|
!1};d.prototype.rH=function(b){b=B.Aa.Qb(b).closest(".fm-charts-filter");null!=b&&(b=f.u.La.P().I.Rg(b.attr("data-hierarchy")),null!=b&&this.Da(new k.CO(b)))};d.prototype.Sj=function(b,a,c){f.model.xc.Vz.Le(this,b,void 0===a?!1:a,void 0===c?null:c)};d.prototype.print=function(b){b=void 0===b?null:b;if(this.tea){var a=f.model.xc.Vz.fS(this,null,!0);a=f.model.xc.Vz.PK(f.model.hs.zE.P().B.Ci)+a+f.model.xc.Vz.PK(f.model.hs.zE.P().B.bj)}else a=f.model.xc.Vz.Pba(this,null,!0);!f.ia(f.model.B.C.Fm)&&this.tea&&
|
|
1940
1940
|
(a="<center><div style='"+k.X.W.Zc.By(this.F.find(".fm-chart-title"))+"'>"+f.model.B.C.Fm+"</div></center>"+a);null!=b?b(a):(D.j8.print(a,"",f.model.B.C.Fm),f.model.hs.zE.P().Gfa());f.model.xc.Vz.clear()};d.prototype.rva=function(){var b=new h.W.oka;b.type=f.model.B.C.fR;b.Kv=f.model.B.C.Kv;b.BD=f.model.B.C.sJa;b.mt=this.l0();b.Yy=f.model.B.C.AK&&(b.type==h.ye.Rz||b.type==h.ye.TD||b.type==h.ye.NI||b.type==h.ye.kJ);b.Vt=b.mt.Hh(b.mt.uniqueName,b.mt.$).clone();b.Vf=f.u.i.ca.Vf(b.mt.$);b.Zd=f.u.i.ca.Zd(b.mt.$);
|
|
1941
|
-
b.Vt.xd=b.mt.$==f.u.i.ca.
|
|
1942
|
-
(f.model.B.C.FF=[]));var g=!1;switch(b.type){case h.ye.Rz:case h.ye.TD:case h.ye.xA:g=this.gga(b,a,c,b.dK,b.data,b.Yy&&1<b.dK.length,void 0,e);break;case h.ye.NI:case h.ye.kJ:g=this.hga(b,a,c,b.dK,b.data,b.Yy&&1<b.dK.length,void 0,e);break;case h.ye.Yu:g=this.qHa(b,a,c,b.mt,e);break;case h.ye.dE:g=0<this.G.measures.length?this.G.measures[0]:null;var l=1<this.G.measures.length?this.G.measures[1]:null;b.Vt=g.Hh(g.uniqueName,g.$).clone();b.Vf=f.u.i.ca.Vf(g.$);b.Zd=f.u.i.ca.Zd(g.$);b.Vt.xd=g.$==f.u.i.ca.
|
|
1943
|
-
"":b.Vt.xd;b.sw=g.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(g.$);f.v(l)||(b.f0=l.Hh(l.uniqueName,l.$).clone(),b.Qda=f.u.i.ca.Vf(l.$),b.oea=f.u.i.ca.Zd(l.$),b.f0.xd=l.$==f.u.i.ca.
|
|
1941
|
+
b.Vt.xd=b.mt.$==f.u.i.ca.pi?"":b.Vt.xd;b.sw=b.mt.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(b.mt.$);b.nca=this.mca;var a="on"==f.model.B.C.Gf||"rows"==f.model.B.C.Gf?this.G.Hd-1:this.G.Hd,c="on"==f.model.B.C.Gf||"columns"==f.model.B.C.Gf?this.G.Gd-1:this.G.Gd;0==a&&(a=1);0==c&&(c=1);var e=3E3<c*a?3E3:-1;b.dK=b.Yy?this.tca():[b.mt];f.model.B.C.Ko&&(null!=this.G.XT&&(f.model.B.C.Lv=this.G.XT),null!=this.G.WT&&(f.model.B.C.FF=this.G.WT),0==this.Qza(f.model.B.C.Lv)&&(f.model.B.C.Lv=[]),0==this.Rza(f.model.B.C.FF)&&
|
|
1942
|
+
(f.model.B.C.FF=[]));var g=!1;switch(b.type){case h.ye.Rz:case h.ye.TD:case h.ye.xA:g=this.gga(b,a,c,b.dK,b.data,b.Yy&&1<b.dK.length,void 0,e);break;case h.ye.NI:case h.ye.kJ:g=this.hga(b,a,c,b.dK,b.data,b.Yy&&1<b.dK.length,void 0,e);break;case h.ye.Yu:g=this.qHa(b,a,c,b.mt,e);break;case h.ye.dE:g=0<this.G.measures.length?this.G.measures[0]:null;var l=1<this.G.measures.length?this.G.measures[1]:null;b.Vt=g.Hh(g.uniqueName,g.$).clone();b.Vf=f.u.i.ca.Vf(g.$);b.Zd=f.u.i.ca.Zd(g.$);b.Vt.xd=g.$==f.u.i.ca.pi?
|
|
1943
|
+
"":b.Vt.xd;b.sw=g.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(g.$);f.v(l)||(b.f0=l.Hh(l.uniqueName,l.$).clone(),b.Qda=f.u.i.ca.Vf(l.$),b.oea=f.u.i.ca.Zd(l.$),b.f0.xd=l.$==f.u.i.ca.pi?"":b.f0.xd,b.uea=l.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(l.$));g=this.pHa(b,a,c,g,l,e)}f.model.B.C.vJa&&g&&f.Ua(f.model.A.j.Cja,f.model.A.j.L8,f.qb.Nk);this.oHa(b);b.type!=h.ye.Yu&&(b.ws=this.uAa(),b.type==h.ye.dE?(g=0<this.G.measures.length?this.G.measures[0]:null,l=1<this.G.measures.length?this.G.measures[1]:null,b.xs=null!=g?g.label:
|
|
1944
1944
|
"",b.Yw=null!=l?l.label:""):(f.model.B.C.AK?(a=this.tca(),b.xs=1==a.length?a[0].label:""):b.xs=this.l0().label,b.Yw=""));return b};d.prototype.oHa=function(b){if(f.v(this.F4)||0==this.F4.length)this.F4=this.Qya();b.Mo=d3v3.scale.ordinal().range(this.F4);if(b.Xe&&0<b.Xe.length){var a=[],c=[],e,g;for(e=0;e<b.Xe.length;e++){var l=b.Xe[e][0].id;var m=b.Mo(l);b.Xe[e][0].Bf||(a.push(l),c.push(m));l=[];for(g=1;g<b.Xe[e].length;g++)b.Xe[e][g].Bf||l.push(b.Xe[e][g].id);a=a.concat(l);g=d3v3.rgb(m);g=d3v3.rgb(g.r-
|
|
1945
1945
|
25,g.g-25,g.b-25);m=d3v3.rgb("#EEEEEE");m=d3v3.scale.linear().domain([0,l.length+1]).range([g,m]);g=1;for(l=0;g<b.Xe[e].length;g++)b.Xe[e][g].Bf||(c.push(m(l).toString()),l++)}b.Mo=d3v3.scale.ordinal().domain(a).range(c)}};d.prototype.Qya=function(){var b=[],a=1,c=new B.Aa("div");c.Va();for(k.Hb.zb.F.V(c);100>a;){c.R3("class");c.Y("fm-charts-color-"+a);var e=window.getComputedStyle(c.element).fill;f.ia(e)&&(e="#000");if("none"!=e)b.push(e);else break;a++}c.remove();return b};d.prototype.l0=function(){var b=
|
|
1946
1946
|
this.G.measures.find(function(l){return l.uniqueName===f.model.B.C.Jo.uniqueName});if(null!=b&&(""!=f.model.B.C.Jo.$||f.model.B.C.Jo.index)){var a=!0,c=!0;for(g=0;g<this.G.measures.length;g++){var e=this.G.measures[g];if(e.uniqueName==f.model.B.C.Jo.uniqueName)if(""==f.model.B.C.Jo.$){b=e;break}else if(e.$==f.model.B.C.Jo.$)if(a=!1,null==f.model.B.C.Jo.index||-1==f.model.B.C.Jo.index){b=e;break}else if(e.index==f.model.B.C.Jo.index){b=e;c=!1;break}}a&&(f.model.B.C.Jo.$="");c&&(f.model.B.C.Jo.index=
|
|
@@ -1953,24 +1953,24 @@ b&&b.data&&(b=b.data);return b&&b.measure&&null==this.model.ha.I.ad(b.measure.un
|
|
|
1953
1953
|
this.B7)+"..."};d.prototype.Ug=function(b,a){if(0==b.length)return!1;var c=a==f.u.i.fa.Oa?this.G.columns:this.G.rows;if(0==c.length)return!1;c=c.ea((a==f.u.i.fa.Oa?this.G.Tb:this.G.mc).Sa&&(0==b.length||b.length>this.G.Ke)?b.length:b.length-1).ua(b[b.length-1]);return a==f.u.i.fa.Oa?this.G.ej(b,c):this.G.eh(b,c)};d.prototype.fZ=function(b,a,c){if(0!=a.length){var e=c==f.u.i.fa.Oa?this.G.Tb:this.G.mc,g=c==f.u.i.fa.Oa?this.G.columns:this.G.rows;if(0!=g.length){var l=e.Sa&&1==g.length,m=g.ea(e.Sa&&a.length>
|
|
1954
1954
|
this.G.Ke?a.length:a.length-1);e=m.ua(a[a.length-1]);var n=g=l?m.label:e.caption;g=this.gw(g);n=g!=n?n:"";g=f.O.Ln(g,!0,!0);l=l?"":e.level.uniqueName;l=c==f.u.i.fa.Oa?this.G.vR.indexOf(l):this.G.Wm.indexOf(l);var p=this.Bq(a),t=c==f.u.i.fa.Oa?this.G.uj(a):this.G.xh(a),q=c==f.u.i.fa.Oa?this.G.ej(a,e):this.G.eh(a,e),v=a.length<(c==f.u.i.fa.Oa?this.G.Gm:this.G.Vm)&&!t&&!q;m=m.Wf&&!e.Ei&&!e.Xb&&!e.dh&&!t&&!q;0!=l&&0!=b.length||b.push([]);b[b.length-1].push(new h.W.y7({label:g,id:p,If:a,rKa:c,Yb:e,level:l,
|
|
1955
1955
|
Bf:t,isCollapsed:v,Ug:q,WG:m,mf:n}))}}};d.prototype.Bq=function(b){return b.join("-")};d.prototype.kZ=function(b,a,c,e,g,l){e=void 0===e?!1:e;g=void 0===g?null:g;l=void 0===l?null:l;var m=c==f.u.i.fa.Oa?this.G.Tb:this.G.mc,n=c==f.u.i.fa.Oa?this.G.Bb:this.G.vb,p=m.Sa&&1==n.length,t=a.length-1,q=n.ea(t);if(null==q)return b.Mk.push({label:"",id:this.Bq(a)}),"";t=a[a.length-1];t=q.ua(t);var v="";if(0<a.length)if(e)v=null!=g?g.caption:(a[0]+1).toString();else if(0<n.length){v=p?q.label:t.caption;var y=
|
|
1956
|
-
p?"":t.level.uniqueName}g=this.Bq(a);var A=this.gw(p?"":v);b.Mk.push({label:A,id:g});y=this.G.Wm.indexOf(y);null==b.
|
|
1957
|
-
t=q.ua(t),y=t.level.uniqueName,y=this.G.Wm.indexOf(y),null==b.
|
|
1958
|
-
n=m!=n?n:"";if(m===(0<b.
|
|
1956
|
+
p?"":t.level.uniqueName}g=this.Bq(a);var A=this.gw(p?"":v);b.Mk.push({label:A,id:g});y=this.G.Wm.indexOf(y);null==b.mi[y]&&(b.mi[y]=[]);var C=f.model.B.C.Ko?a.length<=f.model.B.C.Lv.length:p?!1:c==f.u.i.fa.Oa?this.G.uj(a):this.G.xh(a);var E=c==f.u.i.fa.Oa?this.G.Gm:this.G.Vm;b.mi[y].push({label:A,id:g,data:a,Xv:t,yf:C,collapsed:p?!1:!C&&a.length<E,og:!1,Pg:p?!1:q.Wf&&!t.Ei&&!t.Xb&&!t.dh,FB:1,mf:A!=v?v:""});this.jZ(b,a,t,c,g);for(e=e?0:a.length-1;0<e;)e--,t=m.Sa&&e+1>this.G.Ke?e+1:e,q=n.ea(t),t=a[e],
|
|
1957
|
+
t=q.ua(t),y=t.level.uniqueName,y=this.G.Wm.indexOf(y),null==b.mi[y]&&(b.mi[y]=[]),q=p?q.label:t.caption,A=this.gw(q),q=A!=q?q:"",C=l.pop(),void 0===C?b.mi[y][b.mi[y].length-1].FB++:b.mi[y].push({label:A,id:g,data:C,Xv:t,yf:!0,collapsed:!1,og:!1,Pg:!1,FB:1,mf:q}),this.jZ(b,a,t,c,g);return v};d.prototype.jZ=function(b,a,c,e,g){try{c.level.sb}catch(q){c.level.sb}if(c&&1<c.level.sb){var l=this.G.Wm.indexOf(c.parent.level.uniqueName);null==b.mi[l]&&(b.mi[l]=[]);var m=c.parent.caption,n=m;m=this.gw(m);
|
|
1958
|
+
n=m!=n?n:"";if(m===(0<b.mi[l].length?b.mi[l][b.mi[l].length-1].label:""))b.mi[l][b.mi[l].length-1].FB++;else{var p=(e==f.u.i.fa.Oa?this.G.Bb:this.G.vb).indexOf(c.hierarchy.uniqueName),t=a.slice(0,p);t[p]=c.parent.ordinal;b.mi[l].push({label:m,id:g,data:t,Xv:c.parent,yf:!1,collapsed:!1,og:!0,Pg:!1,FB:1,mf:n})}this.jZ(b,a,c.parent,e,g)}};d.prototype.J=function(b,a){if(0==b.length)return"";var c=a==f.u.i.fa.Oa?this.G.Tb:this.G.mc,e=a==f.u.i.fa.Oa?this.G.columns:this.G.rows;if(0==e.length)return"";a=
|
|
1959
1959
|
c.Sa&&1==e.length;c=e.ea(c.Sa&&(0==b.length||b.length>this.G.Ke)?b.length:b.length-1);b=b[b.length-1];return a?c.label:this.Xea(c.ua(b))};d.prototype.VQ=function(b,a,c){b.push([]);b[b.length-1].push(new h.W.y7({label:a.label,id:c,measure:a,level:0,Bf:!1,isCollapsed:!1,Ug:!1,WG:!1,mf:""}))};d.prototype.ap=function(b,a,c,e,g,l,m,n){return this.model.Ga.ga.Ba!=f.u.i.oa.Jc&&this.model.Ga.ga.Ba!=f.u.i.oa.Rd||!f.model.B.C.io||e.$!=f.u.i.ca.NONE?this.mca(b,g,l,m,n):this.G.ap(a,c,e)};d.prototype.mca=function(b,
|
|
1960
|
-
a,c,e,g,l){l=void 0===l?!1:l;return g?f.O.Uw(b,f.model.B.C.Fp):e?x.Vb.format(b,a,c,e):l?x.Vb.pJa(b,a,c,e):x.Vb.format(b,a,c,e)};d.prototype.hga=function(b,a,c,e,g,l,m,n){var p=!1;l=void 0===l?!1:l;p=void 0===p?!1:p;m=void 0===m?null:m;n=void 0===n?-1:n;var t=!0,q=!p,v=[],y=this.G.Tb.Sa&&1==this.G.columns.length,A=this.G.mc.Sa&&1==this.G.rows.length;var C="";var E=NaN,K,J=e[0],aa=this.Sca(e),H=aa[0],G=f.u.i.ca.Vf(J.$),F=f.u.i.ca.Zd(J.$);H.xd=J.$==f.u.i.ca.
|
|
1960
|
+
a,c,e,g,l){l=void 0===l?!1:l;return g?f.O.Uw(b,f.model.B.C.Fp):e?x.Vb.format(b,a,c,e):l?x.Vb.pJa(b,a,c,e):x.Vb.format(b,a,c,e)};d.prototype.hga=function(b,a,c,e,g,l,m,n){var p=!1;l=void 0===l?!1:l;p=void 0===p?!1:p;m=void 0===m?null:m;n=void 0===n?-1:n;var t=!0,q=!p,v=[],y=this.G.Tb.Sa&&1==this.G.columns.length,A=this.G.mc.Sa&&1==this.G.rows.length;var C="";var E=NaN,K,J=e[0],aa=this.Sca(e),H=aa[0],G=f.u.i.ca.Vf(J.$),F=f.u.i.ca.Zd(J.$);H.xd=J.$==f.u.i.ca.pi?"":H.xd;var I=J.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(J.$);
|
|
1961
1961
|
if(null!=m)var N=this.G.rj(this.model.ha.qa.rows.indexOf(m.uniqueName)),L=this.model.ha.I.He(m.uniqueName);var O=!1,T=c;for(c=0;c<a;c++){var M=c;M=this.G.rj(M);if(!f.model.B.C.Ko||this.jR(f.model.B.C.FF,M)||y||0==this.G.columns.length){var V=p?!1:this.Ug(M,f.u.i.fa.Oa);l||p||y||this.fZ(v,M,f.u.i.fa.Oa);if(!V){if(!p&&0<this.G.columns.length&&0<M.length){var P=[];if(!l&&(E=this.G.Ia(P,M,J),!this.Py(E)))continue;C=this.G.Tb.Sa&&(0==M.length||M.length>this.G.Ke)?M.length:M.length-1;C=this.G.columns.ea(C);
|
|
1962
|
-
var W=M[M.length-1];C=y?C.label:C.ua(W).caption}V=0==M.length?!1:this.G.uj(M);if(!V){W=[];var ca=[];if(l){for(var X=0;X<e.length;X++){J=e[X];G=f.u.i.ca.Vf(J.$);F=f.u.i.ca.Zd(J.$);aa[X].xd=J.$==f.u.i.ca.
|
|
1962
|
+
var W=M[M.length-1];C=y?C.label:C.ua(W).caption}V=0==M.length?!1:this.G.uj(M);if(!V){W=[];var ca=[];if(l){for(var X=0;X<e.length;X++){J=e[X];G=f.u.i.ca.Vf(J.$);F=f.u.i.ca.Zd(J.$);aa[X].xd=J.$==f.u.i.ca.pi?"":aa[X].xd;I=J.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(J.$);q&&this.VQ(v,J,X.toString());W=[];for(K=0;K<T;K++){P=this.G.Om(K);var ea=this.Bq(P);if(V=0==P.length?!1:this.G.xh(P))if(ca.push(P),!f.model.B.C.Ko)continue;V=this.Ug(P,f.u.i.fa.Ea);if(!V&&(!f.model.B.C.Ko||this.iR(f.model.B.C.Lv,P)||A||0==this.G.rows.length)){V=
|
|
1963
1963
|
t?this.kZ(b,P,f.u.i.fa.Ea,null,null,ca.splice(0)):this.J(P,f.u.i.fa.Ea);ca=[];var fa=this.G.Ia(P,M,J);if(this.Py(fa)){var Q=this.ap(fa,P,M,J,aa[X],G,F,I);var la=this.PL(b,Q,J.label,P,M);W.push({label:V,value:fa,Ir:Q,id:ea,mf:la,measure:{uniqueName:J.uniqueName,$:J.$,index:J.index},Vg:P,mg:M})}if(t&&0<b.Mk.length&&(ea=b.Mk.length,-1<n&&ea>=n)){T=K+1;O=!0;break}}}t=!1;ea=this.Bq(M)+"-"+X;K=X.toString();g.push({label:C,value:E,id:ea,qq:K,Ah:W})}q=!1}else{for(K=0;K<T;K++){P=this.G.Om(K)||[];ea=this.Bq(P);
|
|
1964
1964
|
if(V=0==P.length?!1:this.G.xh(P))if(ca.push(P),!f.model.B.C.Ko)continue;V=p?!1:this.Ug(P,f.u.i.fa.Ea);if(!V&&(!f.model.B.C.Ko||this.iR(f.model.B.C.Lv,P)||A||0==this.G.rows.length)){if(t){if(null!=m){var ia=this.G.Ia(P,N,L);ia=m.ua(ia)}V=this.kZ(b,P,f.u.i.fa.Ea,p,ia,ca.slice(0))}else V=this.J(P,f.u.i.fa.Ea);ca=[];fa=this.G.Ia(P,M,J);this.Py(fa)&&(Q=this.ap(fa,P,M,J,H,G,F,I),la=this.PL(b,Q,p?J.bm:J.label,P,M,""),W.push({label:V,value:fa,Ir:Q,id:ea,mf:la,measure:{uniqueName:J.uniqueName,$:J.$,index:J.index},
|
|
1965
|
-
Vg:P,mg:M}));if(t&&0<b.Mk.length&&(ea=b.Mk.length,-1<n&&ea>=n)){T=K+1;O=!0;break}}}t=!1;ea=this.Bq(M);g.push({label:C,value:E,id:ea,mg:M,Ah:W})}}}}}b.Xe=v;return O};d.prototype.gga=function(b,a,c,e,g,l,m,n){var p=!1;l=void 0===l?!1:l;p=void 0===p?!1:p;m=void 0===m?null:m;n=void 0===n?-1:n;var t=!p,q=!0,v=[],y=[],A=this.G.mc.Sa&&1==this.G.rows.length,C=this.G.Tb.Sa&&1==this.G.columns.length;var E="";var K=NaN,J,aa,H,G,F=e[0],I=this.Sca(e),N=I[0],L=f.u.i.ca.Vf(F.$),O=f.u.i.ca.Zd(F.$);N.xd=F.$==f.u.i.ca.
|
|
1965
|
+
Vg:P,mg:M}));if(t&&0<b.Mk.length&&(ea=b.Mk.length,-1<n&&ea>=n)){T=K+1;O=!0;break}}}t=!1;ea=this.Bq(M);g.push({label:C,value:E,id:ea,mg:M,Ah:W})}}}}}b.Xe=v;return O};d.prototype.gga=function(b,a,c,e,g,l,m,n){var p=!1;l=void 0===l?!1:l;p=void 0===p?!1:p;m=void 0===m?null:m;n=void 0===n?-1:n;var t=!p,q=!0,v=[],y=[],A=this.G.mc.Sa&&1==this.G.rows.length,C=this.G.Tb.Sa&&1==this.G.columns.length;var E="";var K=NaN,J,aa,H,G,F=e[0],I=this.Sca(e),N=I[0],L=f.u.i.ca.Vf(F.$),O=f.u.i.ca.Zd(F.$);N.xd=F.$==f.u.i.ca.pi?
|
|
1966
1966
|
"":N.xd;var T=F.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(F.$);if(null!=m)var M=this.G.rj(this.model.ha.qa.rows.indexOf(m.uniqueName)),V=this.model.ha.I.He(m.uniqueName);var P=!1,W=a,ca=[];for(H=0;H<c;H++){var X=this.G.Om(H)||[];if(!p){if(aa=0==X.length?!1:this.G.xh(X))if(ca.push(X),!f.model.B.C.Ko)continue;if(J=this.Ug(X,f.u.i.fa.Ea))continue}if(!f.model.B.C.Ko||this.iR(f.model.B.C.Lv,X)||A||0==this.G.rows.length){if(null!=m){J=this.G.Ia(X,M,V);var ea=m.ua(J)}var fa=this.kZ(b,X,f.u.i.fa.Ea,p,ea,ca.slice(0));
|
|
1967
1967
|
ca=[];if(!p){var Q=[];if(!l&&(K=this.G.Ia(X,Q,F),!this.Py(K)&&!f.u.i.ca.eM(F.$)))continue}var la=[];var ia=this.ap(K,X,Q,F,b.Vt,b.Vf,b.Zd,b.sw);for(G=0;G<W;G++)if(Q=G,Q=this.G.rj(Q),!f.model.B.C.Ko||this.jR(f.model.B.C.FF,Q)||C||0==this.G.columns.length){var R=this.Bq(Q);aa=0==Q.length?!1:this.G.uj(Q);J=p?!1:this.Ug(Q,f.u.i.fa.Oa);l||(t&&!C&&this.fZ(v,Q,f.u.i.fa.Oa),q&&(aa||J||y.push(R)));if(!J&&(!p&&0<this.G.columns.length&&0<Q.length&&(E=this.G.Tb.Sa&&(0==Q.length||Q.length>this.G.Ke)?Q.length:
|
|
1968
|
-
Q.length-1,E=this.G.columns.ea(E),J=Q[Q.length-1],E=C?E.label:E.ua(J).caption),!aa))if(l){for(var S,Y=0;Y<e.length;Y++){F=e[Y];L=f.u.i.ca.Vf(F.$);O=f.u.i.ca.Zd(F.$);I[Y].xd=F.$==f.u.i.ca.
|
|
1968
|
+
Q.length-1,E=this.G.columns.ea(E),J=Q[Q.length-1],E=C?E.label:E.ua(J).caption),!aa))if(l){for(var S,Y=0;Y<e.length;Y++){F=e[Y];L=f.u.i.ca.Vf(F.$);O=f.u.i.ca.Zd(F.$);I[Y].xd=F.$==f.u.i.ca.pi?"":I[Y].xd;T=F.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(F.$);S=R+"-"+Y;var ba=Y.toString();t&&this.VQ(v,F,Y.toString());q&&(aa||y.push(S));J=this.G.Ia(X,Q,F);if(this.Py(J)){var Z=this.ap(J,X,Q,F,I[Y],L,O,T);var ha=b.type==h.ye.xA?ia:"";ha=this.PL(b,Z,F.label,X,Q,ha);la.push({label:E,value:J,Ir:Z,id:S,qq:ba,mf:ha,measure:{uniqueName:F.uniqueName,
|
|
1969
1969
|
$:F.$,index:F.index},Vg:X,mg:Q})}if(-1<n&&y.length>=n){W=G+1;break}}t=!1}else if(J=this.G.Ia(X,Q,F),this.Py(J)&&(Z=this.ap(J,X,Q,F,N,L,O,T),ha=b.type==h.ye.xA?ia:"",ha=this.PL(b,Z,p?F.bm:F.label,X,Q,ha),la.push({label:E,value:J,Ir:Z,id:R,mf:ha,measure:{uniqueName:F.uniqueName,$:F.$,index:F.index},Vg:X,mg:Q})),-1<n&&y.length>=n){W=G+1;break}}q=t=!1;R=this.Bq(X);g.push({label:fa,value:K,id:R,Ah:la});X=b.type==h.ye.xA?b.Mk.length:b.Mk.length*a;if(-1<n&&X>=n){P=!0;break}}}b.Xe=v;b.jw=y;return P};d.prototype.qHa=
|
|
1970
1970
|
function(b,a,c,e,g){var l=!1,m=void 0;l=void 0===l?!1:l;m=void 0===m?null:m;g=void 0===g?-1:g;b.PC=f.u.i.fa.Ea;var n=!l,p=[],t=this.G.Tb.Sa&&1==this.G.columns.length,q;var v=q="";var y=NaN,A,C,E=f.model.B.C.eR;if(E>=a||-1==E)E=f.model.B.C.eR=0;if(null!=m)var K=this.G.rj(this.model.ha.qa.rows.indexOf(m.uniqueName)),J=this.model.ha.I.He(m.uniqueName);var aa=!1;for(C=0;C<a;C++){var H=C;H=this.G.rj(H);if(!l){var G=[];y=this.G.Ia(G,H,e);if(0<this.G.columns.length&&0<H.length){var F=this.G.Tb.Sa&&(0==H.length||
|
|
1971
1971
|
H.length>this.G.Ke)?H.length:H.length-1;v=this.G.columns.ea(F);F=H[H.length-1];v=t?v.label:v.ua(F).caption;v=this.gw(v)}var I=t?"":this.R0(H,f.u.i.fa.Oa);I=this.gw(I);b.Mk.push({label:I,id:this.Bq(H)});if(!this.Py(y))continue;if(b.Mk.length-1!=E&&1!=a)continue}var N=[];var L=this.ap(y,G,H,e,b.Vt,b.Vf,b.Zd,b.sw);I=this.G.mc.Sa&&1==this.G.rows.length;for(A=0;A<c;A++)if(G=this.G.Om(A)||[],!f.model.B.C.Ko||this.jR(f.model.B.C.Lv,G)||I||0==this.G.rows.length){var O=this.G.Ia(G,H,e);if(this.Py(O)&&(F=l?
|
|
1972
1972
|
!1:this.Ug(G,f.u.i.fa.Ea),n&&!I&&this.fZ(p,G,f.u.i.fa.Ea),!F&&(F=0==G.length?!1:this.G.xh(G),!F))){if(l){if(null!=m){var T=this.G.Ia(G,K,J);T=m.ua(T)}q=null!=T?T.caption:(A+1).toString()}else 0<this.G.rows.length&&(F=this.G.mc.Sa&&(0==G.length||G.length>this.G.Ke)?G.length:G.length-1,q=this.G.rows.ea(F),F=G[G.length-1],q=I?q.label:q.ua(F).caption);F=this.Bq(G);var M=this.ap(O,G,H,e,b.Vt,b.Vf,b.Zd,b.sw);var V=this.PL(b,M,l?e.bm:e.label,G,H,L);var P=q;q=this.gw(q);P=I||P==q?"":P;N.push({label:I?"":
|
|
1973
|
-
q,value:O,Ir:M,id:F,mf:V,measure:{uniqueName:e.uniqueName,$:e.$,index:e.index},Vg:G,mg:H,T1:P});O=N.length;if(-1<g&&O>=g){aa=!0;break}}}n=!1;F=this.Bq(H);b.data.push({label:v,value:y,id:F,mg:H,Ah:N})}b.Xe=p;return aa};d.prototype.pHa=function(b,a,c,e,g,l){l=this.gga(b,a,c,[e],b.data,!1,null,void 0===l?-1:l);if(!f.v(g)){var m=-1;l&&(m=b.Mk.length);b.Mk=[];b.
|
|
1973
|
+
q,value:O,Ir:M,id:F,mf:V,measure:{uniqueName:e.uniqueName,$:e.$,index:e.index},Vg:G,mg:H,T1:P});O=N.length;if(-1<g&&O>=g){aa=!0;break}}}n=!1;F=this.Bq(H);b.data.push({label:v,value:y,id:F,mg:H,Ah:N})}b.Xe=p;return aa};d.prototype.pHa=function(b,a,c,e,g,l){l=this.gga(b,a,c,[e],b.data,!1,null,void 0===l?-1:l);if(!f.v(g)){var m=-1;l&&(m=b.Mk.length);b.Mk=[];b.mi=[];var n=b.Xe;b.Xe=[];this.hga(b,a,c,[g],b.Xv,!1,null,m);0==n.length&&(this.VQ(n,e,"0"),this.VQ(n,g,"1"));b.Xe=n;1==b.Xv.length&&(b.Xv[0].qq=
|
|
1974
1974
|
"2")}return l};d.prototype.GS=function(b,a){a=void 0===a?!1:a;var c=b.__data__;null!=c&&c.data&&(c=c.data);if(f.v(c)&&f.model.B.C.AK){var e=B.Aa.Qb(b).closest("li.fm-ui-element");!f.v(e)&&e.attr("data-measure-index")&&(c={SC:parseInt(e.attr("data-measure-index"))})}e=c;a&&(e=d.daa(c),f.v(e)||(e.element=b));return e};d.prototype.Py=function(b){return!isNaN(b)&&f.u.i.lO.kO!=b};d.daa=function(b){if(f.v(b))return null;var a={};f.v(b.id)||(a.id=b.id);f.v(b.label)||(a.label=b.label);f.v(b.value)||(a.value=
|
|
1975
1975
|
b.value);f.v(b.measure)||(a.measure=f.model.Ta.P().ha.qa.ad(b.measure.uniqueName).Ni());f.v(b.SC)||(a.measureIndex=b.SC);f.v(b.Vg)||(a.rows=f.model.Ta.P().ha.qa.d_(b.Vg));f.v(b.mg)||(a.columns=f.model.Ta.P().ha.qa.c_(b.mg));return a};r.Object.defineProperties(d.prototype,{Ql:{configurable:!0,enumerable:!0,get:function(){return this.eq}},tea:{configurable:!0,enumerable:!0,get:function(){var b=new B.Aa("div");b.text("FM");b.R("font-size","10px");b.Va();document.body.appendChild(b.element);var a="10px"==
|
|
1976
1976
|
b.R("font-size");b.remove();return a}}});d.OB=null;h.Ou=d})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
@@ -1982,9 +1982,9 @@ c=!1;if(1<g.length)for(var n=0;n<g.length;n++)if(g[n].gb==e.gb&&g[n].hc==e.hc){c
|
|
|
1982
1982
|
this.PR(g,a.map(function(p){return p.Ma()}),l.Di?"flat":"pivot");return 0<g.length?(this.XR(g,c),!0):!1};d.prototype.CBa=function(a){if(!f.model.B.C.V0)return!1;var c=a[0].hierarchy;if(f.v(c))return!1;for(var e=0;e<a.length;e++){var g=a[e];if(g.hierarchy!=c||f.v(g.Yb))return!1}return!0};d.prototype.show=function(a,c){var e=this;if(f.model.B.C.readOnly)return!1;var g=[],l=this.K,m=f.v(a)||f.ia(a.label)&&isNaN(a.value);!m&&a.Mh&&!isNaN(a.value)&&f.model.B.C.drillThrough&&!f.model.B.C.qc&&f.u.La.P().ga&&
|
|
1983
1983
|
f.u.La.P().ga.yT&&g.push({id:"drillthrough",label:f.model.A.j.X5,handler:function(){l.drillThrough(a)}});var n=this.Cb.ha.qa;if(!f.v(n)){!m&&a.Ck&&f.model.B.C.vz&&g.push({id:"open_filter",label:f.model.A.j.Z5,handler:function(){e.K.Da(new k.CO(a.hierarchy))}});if(!m&&a.Ck&&!f.model.B.C.qc){var p=n.xxa(a.hierarchy.uniqueName);f.v(p)||(p.uniqueName!=f.u.i.fa.Ea&&g.push({id:"move_to_rows",label:f.model.A.j.Tja,handler:function(){p.Na.removeItem(a.hierarchy.uniqueName);n.mc.Na.Qa(a.hierarchy.uniqueName,
|
|
1984
1984
|
a.hierarchy);e.Cb.ce(n)}}),p.uniqueName!=f.u.i.fa.Oa&&g.push({id:"move_to_columns",label:f.model.A.j.Rja,handler:function(){p.Na.removeItem(a.hierarchy.uniqueName);n.Tb.Na.Qa(a.hierarchy.uniqueName,a.hierarchy);e.Cb.ce(n)}}),p.uniqueName!=f.u.i.fa.Ls&&g.push({id:"move_to_report_filters",label:f.model.A.j.Sja,handler:function(){p.Na.removeItem(a.hierarchy.uniqueName);n.sH.Na.Qa(a.hierarchy.uniqueName,a.hierarchy);e.Cb.ce(n)}}),g.push({id:"remove_field",label:f.O.bind(f.model.A.j.a6,a.hierarchy.caption),
|
|
1985
|
-
handler:function(){p.Na.removeItem(a.hierarchy.uniqueName);e.Cb.ce(n)}}))}m||!a.
|
|
1986
|
-
handler:function(){a.hierarchy.GN(a.Yb);e.Cb.ha.select()}});!m&&a.
|
|
1987
|
-
label:f.model.A.j.Zja,handler:function(){l.sN(a,f.u.i.ya.ec)}}),(a.ao||a.bo)&&g.push({id:"clear_sorting",label:f.model.A.j.W5,handler:function(){l.Wta()}}));if(!m&&(a.
|
|
1985
|
+
handler:function(){p.Na.removeItem(a.hierarchy.uniqueName);e.Cb.ce(n)}}))}m||!a.gi&&!a.wh||(a.yf&&g.push({id:"collapse",label:f.model.A.j.Hja,handler:function(){l.Nt(a)}}),a.collapsed&&g.push({id:"expand",label:f.model.A.j.Mja,handler:function(){l.Nt(a)}}),a.hierarchy&&2<a.hierarchy.ta.length&&!n.drillAll&&(a.og||a.Pg)&&g.push({id:a.og?"drill_up":"drill_down",label:a.og?f.model.A.j.Kja:f.model.A.j.Jja,handler:function(){l.qy(a)}}));!m&&(a.gi||a.wh)&&a.Yb&&a.Yb.dh&&g.push({id:"ungroup",label:f.model.A.j.cka,
|
|
1986
|
+
handler:function(){a.hierarchy.GN(a.Yb);e.Cb.ha.select()}});!m&&a.gi&&!a.Ck&&a.Zm&&(a.bo||g.push({id:"sort_row_desc",label:f.model.A.j.bka,handler:function(){l.J4(a,f.u.i.ya.Fc)}}),a.ao||g.push({id:"sort_row_asc",label:f.model.A.j.aka,handler:function(){l.J4(a,f.u.i.ya.ec)}}),(a.ao||a.bo)&&g.push({id:"clear_sorting",label:f.model.A.j.W5,handler:function(){l.aua()}}));!m&&a.wh&&!a.Ck&&a.Zm&&(a.bo||g.push({id:"sort_column_desc",label:f.model.A.j.$ja,handler:function(){l.sN(a,f.u.i.ya.Fc)}}),a.ao||g.push({id:"sort_column_asc",
|
|
1987
|
+
label:f.model.A.j.Zja,handler:function(){l.sN(a,f.u.i.ya.ec)}}),(a.ao||a.bo)&&g.push({id:"clear_sorting",label:f.model.A.j.W5,handler:function(){l.Wta()}}));if(!m&&(a.gi||a.wh)){if(f.model.B.C.oN&&a.hierarchy&&a.Yb&&0<a.Yb.level.jf.length){var t=this.Jza(a.Yb.level.jf,a.Yb.level.uniqueName);0<t.length&&g.push({id:"member_properties",label:f.model.A.j.Vja,submenu:t})}a.Yb&&f.model.B.C.vz&&1!==a.Yb.hierarchy.$a.length&&g.push({id:"filter_by",label:f.O.bind(f.model.A.j.Nja,a.Yb.caption),handler:function(){a.hierarchy.filter;
|
|
1988
1988
|
e.Cb.xl(a.hierarchy.uniqueName,{members:[a.Yb.cj]})}})}m||!this.cBa(a)&&!this.bBa(a)||(t=this.Cy(a.measure),0<t.length&&g.push({id:"aggregation",label:f.model.A.j.V5,submenu:t}));!m&&a.measure&&k.Hb.zb.wda&&(g.push({id:"number_formatting",label:f.model.A.j.Uja,handler:function(){e.AGa(a.measure)}}),g.push({id:"conditional_formatting",label:f.model.A.j.Ija,handler:function(){e.yGa(a.measure)}}));!m&&a.measure&&a.measure.Ja&&g.push({id:"edit_calculated_value",label:f.O.bind(f.model.A.j.Lja,a.measure.caption),
|
|
1989
1989
|
handler:function(){k.Hb.zb.NM(a.measure.uniqueName)}});var q=n.bd();!m&&a.measure&&1<q.length&&!f.model.B.C.qc&&g.push({id:"remove_measure",label:f.model.A.j.Wja,handler:function(){n.zga(a.measure);e.Cb.$M(n.b5())}});!m&&a.Ck&&f.model.B.C.qc&&(f.v(a.measure)&&f.v(a.hierarchy)||g.push({id:"remove_field",label:f.O.bind(f.model.A.j.a6,a.hierarchy?a.hierarchy.caption:a.measure.caption),handler:function(){a.hierarchy&&n.columns.Db(a.hierarchy.uniqueName)?n.columns.removeItem(a.hierarchy.uniqueName):a.hierarchy&&
|
|
1990
1990
|
n.rows.Db(a.hierarchy.uniqueName)?n.rows.removeItem(a.hierarchy.uniqueName):a.hierarchy&&n.pages.Db(a.hierarchy.uniqueName)&&n.pages.removeItem(a.hierarchy.uniqueName);a.measure&&q.find(function(y){return y.uniqueName===a.measure.uniqueName})&&n.zga(a.measure);e.Cb.ce(n)}}));if(!m&&a.Ck&&!f.v(a.hierarchy)&&f.model.B.C.vk&&(m=n.rows.Db(a.hierarchy.uniqueName),t=n.columns.Db(a.hierarchy.uniqueName),(m?n.vb.indexOf(a.hierarchy.uniqueName)!=n.vb.length-1:n.Bb.indexOf(a.hierarchy.uniqueName)!=n.Bb.length-
|
|
@@ -2002,9 +2002,9 @@ this.G.qj){this.ka.clearData();this.ux=this.xo=this.si=0;var a=this.G.rq,c=f.mod
|
|
|
2002
2002
|
(this.ka.cL.Pga=function(n,p,t){return b.saveData(n,p,t)},this.ka.cL.mha(f.model.B.C.dG));this.Di&&"on"==f.model.B.C.Gf&&"top"==f.model.B.C.UL&&this.af++;g=this.G.vq;this.Di&&"on"==f.model.B.C.Gf&&"bottom"==f.model.B.C.UL&&(g+=1);m=this.G.wq;0==m&&(m=this.G.columns.length-(this.G.Tb.Sa?1:0));this.ka.jha(g,m);this.ka.Rxa(this.fg);this.ka.oca(this.af);if(this.ka instanceof h.sheet.fE&&(this.ka.coords.IF=this.af-this.G.rq-1,this.ka.uR.rowIndex=this.ka.coords.IF,this.ka.uR.oz(this.G.Bb),this.ka.Jga.oz(this.G.vb),
|
|
2003
2003
|
this.ka.Mfa.oz(this.G.pages),f.model.B.C.Tm)){g=this.G.vb.length;for(m=1;m<=g;m++)this.ka.coords.Pw(this.ka.coords.Wd-m,52);this.ka.coords.Pw(this.ka.coords.IF,52)}this.ka instanceof h.sheet.AB.fO&&(this.ka.coords.IF=this.af-this.G.rq-1,this.ka.uR.rowIndex=this.ka.coords.IF,this.ka.uR.oz(this.G.Bb),this.ka.Jga.oz(this.G.vb),this.ka.Mfa.oz(this.G.pages));(1<this.G.columns.length||!this.G.Tb.Sa)&&f.model.B.C.Du&&this.u$(l,this.fg,f.u.i.fa.Oa);(1<this.G.rows.length||!this.G.mc.Sa)&&f.model.B.C.Du&&(f.model.B.C.vk?
|
|
2004
2004
|
this.tqa(e):this.u$(e,0,f.u.i.fa.Ea));this.eIa();this.fIa();this.dIa();this.iIa();this.gIa();this.hIa();this.F.kg("rowcount",""+this.ka.coords.Yj);this.F.kg("colcount",""+this.ka.coords.Hi)}else this.ka.yt();this.conditions=f.model.ra.jm.conditions.Kc();this.ka.resize(k.Hb.XL,k.Hb.vC);this.ka.hb()}};d.prototype.At=function(){f.v(this.ka)||(this.ka.HF(0),this.ka.CB(0))};d.prototype.getData=function(b,a,c){c=void 0===c?!1:c;if(null==this.G||!this.G.qj||b<this.ux||a<this.xo)return null;var e=b-this.af,
|
|
2005
|
-
g=a-this.fg;if((e>this.G.vq-1||g>this.G.wq-1)&&!(this.Di&&"on"==f.model.B.C.Gf&&"bottom"==f.model.B.C.UL&&e==this.G.vq&&g<=this.G.wq-1))return null;var l=this.G.Om(e,!0),m=this.G.rj(g,!0);if(null==l&&null==m)return null;var n=this.G.
|
|
2005
|
+
g=a-this.fg;if((e>this.G.vq-1||g>this.G.wq-1)&&!(this.Di&&"on"==f.model.B.C.Gf&&"bottom"==f.model.B.C.UL&&e==this.G.vq&&g<=this.G.wq-1))return null;var l=this.G.Om(e,!0),m=this.G.rj(g,!0);if(null==l&&null==m)return null;var n=this.G.di(e,g),p;if(this.Di){var t=this.G.rj(g,!0,!0);t instanceof Array&&(p=t[0][1])}if(this.Di&&"on"==f.model.B.C.Gf&&"top"==f.model.B.C.UL&&(f.model.B.C.Du&&1==b||!f.model.B.C.Du&&0==b)||this.Di&&"on"==f.model.B.C.Gf&&"bottom"==f.model.B.C.UL&&(f.model.B.C.Du&&b==this.G.vq+
|
|
2006
2006
|
1||!f.model.B.C.Du&&b==this.G.vq))return this.pza(l,m,n);if(null==l)return c=1==(f.model.B.C.vk?1:this.G.vb.length)&&0==this.G.Gm?b-this.ux:b-this.ux-1,0==this.G.vb.length&&0==this.G.Bb.length&&(c=b-this.ux),g=this.G.vL(g),this.Sya(m,n,g,c,a,p);t=this.G.QS(e);e=this.G.VS(e);g=this.G.vL(g);return null==m?f.model.B.C.vk?this.Wqa(l,n,t,b,a,e):this.bAa(l,n,t,b):this.wG(l,m,n,b,a,c,t,g,e,p)};d.prototype.wG=function(b,a,c,e,g,l,m,n,p,t){l=void 0===l?!1:l;m=void 0===m?NaN:m;n=void 0===n?NaN:n;p=void 0===
|
|
2007
|
-
p?-1:p;if(f.v(c)){var q=new h.W.ae;q.Mh=!0;q.mg=a;q.Vg=b;q.ml=this.G.Vm>b.length;q.tw=this.G.Gm>a.length;q.GC=0==a.length;q.Qr=0==b.length;return q}var v=c.Hh(c.uniqueName,c.$).clone();c.$==f.u.i.ca.
|
|
2007
|
+
p?-1:p;if(f.v(c)){var q=new h.W.ae;q.Mh=!0;q.mg=a;q.Vg=b;q.ml=this.G.Vm>b.length;q.tw=this.G.Gm>a.length;q.GC=0==a.length;q.Qr=0==b.length;return q}var v=c.Hh(c.uniqueName,c.$).clone();c.$==f.u.i.ca.pi?v.xd="":f.u.i.ca.Vf(c.$)?v.Vf=!0:f.u.i.ca.Zd(c.$)&&(v.Zd=!0,v.xd="%");q=new h.W.ae;q.Mh=!0;q.mg=a;q.measure=c;q.hierarchy=this.Cb.ha.I.Zj(c.uniqueName);q.Vg=b;f.model.B.C.vk?0==b.length?q.level=0:(m=this.H0(b),-1<m&&(q.level=m)):f.model.B.C.qc||(q.level=m);t=this.G.Ia(b,a,c,t);q.value=t;this.Di?(v=
|
|
2008
2008
|
c.type!=f.u.i.Ka.uc?c.Hh(c.uniqueName,c.$).clone():c.Hh(c.uniqueName,c.$,!0).clone(),c.type==f.u.i.Ka.uc?(m=this.G.tG(a).ua(t),null!=m&&(q.Yb=m,q.label=m.caption)):c.type==f.u.i.Ka.fb?"string"===typeof t?q.label=t:(q.label=x.Vb.format(t,v),q.numeric=!0):c.type==f.u.i.Ka.Pa?null===t?q.label=f.model.A.j.qW:(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.uq),q.label=f.O.Tw(t,m,f.model.B.C.Rj)):c.type==f.u.i.Ka.Zb?isNaN(t)||(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.Fp),
|
|
2009
2009
|
q.label=f.O.Uw(t,m)):c.type!=f.u.i.Ka.Ec||isNaN(t)||(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.bl),q.label=f.O.BN(t,m,f.model.B.C.Rj))):(m=(this.Cb.Ga.ga.Ba==f.u.i.oa.Jc||this.Cb.Ga.ga.Ba==f.u.i.oa.Rd)&&f.model.B.C.io&&c.$==f.u.i.ca.NONE,m||c.type!=f.u.i.Ka.fb&&c.type!=f.u.i.Ka.uc)?m||c.type!=f.u.i.Ka.Pa?m||c.type!=f.u.i.Ka.Zb?m||c.type!=f.u.i.Ka.Ec?(q.label=m?this.G.ap(b,a,c):f.u.DX.P().Ia(t),q.numeric=m&&f.u.i.Ka.fb===c.type):isNaN(q.value)||(f.u.i.ca.MD(c.$)?(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,
|
|
2010
2010
|
"format",f.model.B.C.bl),q.label=f.O.BN(t,m,f.model.B.C.Rj)):q.label=x.Vb.format(t,v)):isNaN(t)||(f.u.i.ca.jo(c.$)?(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.Fp),q.label=f.O.Uw(t,m)):q.label=x.Vb.format(t,v)):isNaN(t)||(f.u.i.ca.MD(c.$)?(m=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.uq),q.label=f.O.Tw(q.value,m,f.model.B.C.Rj)):q.label=x.Vb.format(t,v)):"string"===typeof t?q.label=t:(q.label=x.Vb.format(t,v),q.numeric=!0);q.yH=this.G.Mr(b,a);m=!1;var y=this.G.eh(b,
|
|
@@ -2012,7 +2012,7 @@ void 0,c);if(this.G.Vm>b.length||y||this.G.Gm>a.length){m=!0;q.ml=this.G.Vm>b.le
|
|
|
2012
2012
|
"columns"==f.model.B.C.Gf?this.af+this.G.vq-this.G.measures.length:this.af+this.G.vq)&&this.G.xh(b,c))return null}else if(this.G.Tb.Sa&&("off"==f.model.B.C.$f||"rows"==f.model.B.C.$f)&&g<("on"==f.model.B.C.Gf||"rows"==f.model.B.C.Gf?this.fg+this.G.wq-this.G.measures.length:this.fg+this.G.wq)&&this.G.uj(a,c))return null}q.Qr=0==b.length;q.GC=0==a.length;q.sT=q.ml&&2==p&&!q.Qr;if(f.model.B.C.vk&&q.Ny&&"on"!=f.model.B.C.Gf&&("off"==f.model.B.C.Gf||"rows"==f.model.B.C.Gf&&q.Qr||"columns"==f.model.B.C.Gf&&
|
|
2013
2013
|
q.GC))return null}this.G.M1(e)&&(m=!0,q.ml=!0);this.G.u1(g)&&(m=!0,q.tw=!0);q.measure&&(q.measure.JC||q.measure.IC)&&!isNaN(q.value)&&(q.label="",q.JC=q.measure.JC,q.IC=q.measure.IC);if(l)return q;""!=v.textAlign&&q.iy({"text-align":v.textAlign});if(0<this.conditions.length&&q.measure)for(l=0;l<this.conditions.length;l++)(p=this.conditions[l],p.js!=e&&-1!=p.js||p.Ct!=g&&-1!=p.Ct||!(p.measure==c.uniqueName&&""===p.$||""==p.measure&&q.numeric||p.measure=="[Measures].["+c.uniqueName+"]"||p.measure==
|
|
2014
2014
|
c.uniqueName&&p.$===q.measure.$)||p.Wj!==m&&void 0!==p.Wj||""!=p.hierarchy&&!this.Fta(b,a,p.hierarchy,p.Yb))||((this.Cb.Ga.ga.Ba==f.u.i.oa.API?(f.v(p.jG)&&(p.jG=x.Gs.AG(p.Nd,this.Cb.ha.I.measures)),v=p.jG.slice(0)):v=p.Nd.slice(0),p.O1)?this.Cb.Ga.QH&&(y=this.G.tC(b,a,c))&&(-1<p.Ge.toLowerCase().indexOf(f.u.i.nc.DP)?t=y.Uo:-1<p.Ge.toLowerCase().indexOf(f.u.i.nc.EP)&&(t=100*y.fs),v=this.G.Gv(b,a,v,t),null!=v&&q.Vaa(v)):(v=this.G.Gv(b,a,v,t),f.v(p.format)||!0!==v&&"truestyle"!==v||(q.iy(p.format.dia()),
|
|
2015
|
-
q.conditions.push(p.id)),q.CJa=!0));"after"===f.model.B.C.xR&&this.G.ej(a,void 0,c)&&-1!==n&&(q.label="");return q};d.prototype.pza=function(b,a,c){if(f.v(c))return null;var e=new h.W.ae;e.Mh=!0;e.mg=a;e.measure=c;e.hierarchy=this.Cb.ha.I.Zj(c.uniqueName);e.Vg=b;if(c.type==f.u.i.Ka.fb||c.type==f.u.i.Ka.Zb||c.type==f.u.i.Ka.Ec){var g=c.Hh(c.uniqueName,c.$).clone();if(c.$==f.u.i.ca.
|
|
2015
|
+
q.conditions.push(p.id)),q.CJa=!0));"after"===f.model.B.C.xR&&this.G.ej(a,void 0,c)&&-1!==n&&(q.label="");return q};d.prototype.pza=function(b,a,c){if(f.v(c))return null;var e=new h.W.ae;e.Mh=!0;e.mg=a;e.measure=c;e.hierarchy=this.Cb.ha.I.Zj(c.uniqueName);e.Vg=b;if(c.type==f.u.i.Ka.fb||c.type==f.u.i.Ka.Zb||c.type==f.u.i.Ka.Ec){var g=c.Hh(c.uniqueName,c.$).clone();if(c.$==f.u.i.ca.pi)g.xd="";else if(f.u.i.ca.Vf(c.$))g.Vf=!0;else if(f.u.i.ca.Zd(c.$)||c.Ja&&-1<c.Ge.indexOf("percent"))g.Zd=!0,g.xd="%";
|
|
2016
2016
|
e.value=this.G.Ia(null,null,c);if(c.type==f.u.i.Ka.fb)e.label=x.Vb.format(e.value,g),e.numeric=!0;else if(c.type==f.u.i.Ka.Zb)isNaN(e.value)||(e.label=f.u.i.ca.jo(c.$)?f.O.Uw(e.value,f.model.B.C.Fp):x.Vb.format(e.value,g));else if(c.type==f.u.i.Ka.Ec&&!isNaN(e.value)){var l=this.Cb.ha.ga.mapping.Ia(c.uniqueName,"format",f.model.B.C.bl);e.label=f.u.i.ca.MD(c.$)?f.O.BN(e.value,l,f.model.B.C.Rj):x.Vb.format(e.value,g)}e.Qr=!0;e.ml=!0;""!=g.textAlign&&e.iy({"text-align":g.textAlign});if(0<this.conditions.length)for(g=
|
|
2017
2017
|
0;g<this.conditions.length;g++){l=this.conditions[g];if(this.Cb.Ga.ga.Ba==f.u.i.oa.API){f.v(l.jG)&&(l.jG=x.Gs.AG(l.Nd,this.Cb.ha.I.measures));var m=l.jG.slice(0)}else m=l.Nd.slice(0);if(l.measure==c.uniqueName&&l.O1&&this.Cb.Ga.QH){var n=this.G.tC(b,a,c);if(n){var p;-1<l.Ge.toLowerCase().indexOf(f.u.i.nc.DP)?p=n.Uo:-1<l.Ge.toLowerCase().indexOf(f.u.i.nc.EP)&&(p=100*n.fs);l=this.G.Gv(b,a,m,p);null!=l&&e.Vaa(l)}}}}return e};d.prototype.Fta=function(b,a,c,e){var g=this.G.columns.indexOf(c);if(-1<g){if(g<
|
|
2018
2018
|
a.length)return b=this.G.columns.getItem(c),a[g]&&b.ua(a[g]).fG(e)}else if(a=this.G.rows.indexOf(c),-1<a&&a<b.length)return c=this.G.rows.getItem(c),b[a]&&c.ua(b[a]).fG(e);return!1};d.prototype.Sya=function(b,a,c,e,g,l){return this.Di?this.Vqa(b,a,l):this.Uqa(b,a,c,e,g)};d.prototype.QP=function(b){if(b.Ei)return!0;if(1<b.children.length)return!1;b=b.hierarchy.ua(b.children[0]);return b.caption!==f.model.A.j.Pk&&b.caption!==f.model.A.j.fn?!1:this.QP(b)};d.prototype.Uqa=function(b,a,c,e,g){if(0==b.length){if(this.G.mc.Sa&&
|
|
@@ -2022,24 +2022,24 @@ f.model.B.C.nN)?a:void 0;var q=!1,v=this.G.wM;if(void 0!==t)if(f.v(b[p]))if(e==v
|
|
|
2022
2022
|
c<e?m==e?(q=b.length-1!=this.G.Gm-1&&!y.Xb,l.label=y.caption):(l.label=this.G.rq-1==e&&f.model.B.C.nN?void 0!==a?a.caption:f.model.A.j.QW:"",y=null):(q=b.length-1!=this.G.Gm-1&&!y.Xb,l.label=y.caption,this.G.Tb.Sa&&e<v&&1<this.G.measures.length&&(l.measure=a=void 0));void 0!==t&&(t[t.length-1]>=p&&(q=!0),f.v(b[p])&&(q=!1))}e=null==y?!1:this.G.ej(b,y,a);!y||this.QP(y)||y.Xb||y.Ei||!y.hierarchy.Wf||y.level.ow||(q||f.model.B.C.IH?e?l.og=!0:l.Pg=!0:e?l.yf=!0:l.collapsed=!0);q&&!e&&(this.G.uj(b,a)||void 0!==
|
|
2023
2023
|
t&&-1<t.indexOf(p)?l.yf=!0:l.collapsed=!0);if("on"==f.model.B.C.Aj||"columns"==f.model.B.C.Aj){l.Zm=!0;if(f.ia(l.label)||f.v(a))l.Zm=!1;"off"!=f.model.B.C.$f&&"rows"!=f.model.B.C.$f||!l.yf||(l.Zm=!1);l.Zm&&this.G.Bn&&this.G.Bn.toString()==b.toString()&&this.G.Qv==a&&(this.G.xi==f.u.i.ya.Fc?l.bo=!0:this.G.xi==f.u.i.ya.ec&&(l.ao=!0))}l.tw=this.G.Gm>b.length||l.Pg||l.og||!f.model.B.C.IH&&(l.yf||l.collapsed);l.tw&&this.G.o4(g);"after"!==f.model.B.C.xR||-1!==c||l.hM||(l.Zm=!1,l.label="",l.yf=!1,l.collapsed=
|
|
2024
2024
|
!1,l.og=!1,l.Pg=!1);l.If=void 0!==t?b.slice(0,p+1):b;l.hierarchy=n;l.Yb=y;return l};d.prototype.Vqa=function(b,a,c){var e=this.G.tG(b);if(void 0===e){if(f.v(a))return null;b=new h.W.ae;b.wh=!0;b.label=a.caption;b.measure=a;this.Q$(b,a);return b}var g;void 0!==c&&(g=e.ta.ea(c));var l=new h.W.ae;l.wh=!0;l.Ck=!0;l.gT=e.Y_;l.$a=e.filter.bh;l.label=void 0===g?e.label:e.label+"."+g.caption;l.If=b;l.hierarchy=e;l.level=c;l.Yb=null;l.measure=a;l.draggable=!0;this.Q$(l,a);return l};d.prototype.Q$=function(b,
|
|
2025
|
-
a){if("on"===f.model.B.C.Aj||"columns"===f.model.B.C.Aj){b.Zm=!0;var c=this.G.CS(a.uniqueName);!f.v(c)&&c.measure&&c.measure.uniqueName==a.uniqueName&&(c.sort==f.u.i.ya.Fc?b.bo=!0:c.sort==f.u.i.ya.ec&&(b.ao=!0),1<this.G
|
|
2026
|
-
(c.label=b.label);if(a==f.u.i.fa.Oa){c.wh=!0;c.tw=c.GC=!0;if("on"===f.model.B.C.Aj||"columns"===f.model.B.C.Aj)c.Zm=!0,!this.G.Bn||""!==this.G.Bn.toString()||void 0!==b&&this.G.Qv!==b||(this.G.xi===f.u.i.ya.Fc?c.bo=!0:this.G.xi===f.u.i.ya.ec&&(c.ao=!0));this.G.Tb.Sa?c.measure=b:c.label=f.model.A.j.PW}else{c.
|
|
2027
|
-
(c.ao=!0));this.G.mc.Sa?c.measure=b:c.label=f.model.A.j.PW;c.level=0}c.If=[];return c};d.prototype.bAa=function(b,a,c,e){if(0==b.length)return this.BG(a,f.u.i.fa.Ea);var g=this.G.mc.Sa&&b.length>this.G.Ke?b.length:b.length-1,l=b[b.length-1],m=this.G.rows.ea(g),n=new h.W.ae;n.
|
|
2025
|
+
a){if("on"===f.model.B.C.Aj||"columns"===f.model.B.C.Aj){b.Zm=!0;var c=this.G.CS(a.uniqueName);!f.v(c)&&c.measure&&c.measure.uniqueName==a.uniqueName&&(c.sort==f.u.i.ya.Fc?b.bo=!0:c.sort==f.u.i.ya.ec&&(b.ao=!0),1<this.G.ai.length&&(b.L4=this.G.ai.indexOf(c)))}};d.prototype.lC=function(){var b=new h.W.ae;b.wh=!0;return b};d.prototype.AL=function(){var b=this.lC();b.nb=!0;return b};d.prototype.BG=function(b,a){var c=new h.W.ae;c.label=void 0===b?f.model.A.j.PW:b.Pr;c.hM=void 0!==b;void 0!==b&&b.e1&&
|
|
2026
|
+
(c.label=b.label);if(a==f.u.i.fa.Oa){c.wh=!0;c.tw=c.GC=!0;if("on"===f.model.B.C.Aj||"columns"===f.model.B.C.Aj)c.Zm=!0,!this.G.Bn||""!==this.G.Bn.toString()||void 0!==b&&this.G.Qv!==b||(this.G.xi===f.u.i.ya.Fc?c.bo=!0:this.G.xi===f.u.i.ya.ec&&(c.ao=!0));this.G.Tb.Sa?c.measure=b:c.label=f.model.A.j.PW}else{c.gi=!0;c.ml=c.Qr=!0;if("on"===f.model.B.C.Aj||"rows"===f.model.B.C.Aj)c.Zm=!0,!this.G.Jk||""!==this.G.Jk.toString()||void 0!==b&&this.G.ks!==b||(this.G.vl===f.u.i.ya.Fc?c.bo=!0:this.G.vl===f.u.i.ya.ec&&
|
|
2027
|
+
(c.ao=!0));this.G.mc.Sa?c.measure=b:c.label=f.model.A.j.PW;c.level=0}c.If=[];return c};d.prototype.bAa=function(b,a,c,e){if(0==b.length)return this.BG(a,f.u.i.fa.Ea);var g=this.G.mc.Sa&&b.length>this.G.Ke?b.length:b.length-1,l=b[b.length-1],m=this.G.rows.ea(g),n=new h.W.ae;n.gi=!0;var p=!1;l=m.ua(l);n.level=c;void 0!==a&&this.G.mc.Sa&&this.G.Wn&&g<=this.G.Ke?(n.label=a.label,l=null):l&&(p=this.JB(l),n.hT=""!=p,n.label=l.caption+p,p=b.length!=this.G.Vm&&!l.Xb&&!l.dh);c=null==l?!1:this.G.eh(b,l,a);
|
|
2028
2028
|
!l||l.Xb||!l.hierarchy.Wf||l.Ei||this.QP(l)||(f.model.B.C.IH?c?n.og=!0:n.Pg=!0:c?n.yf=!0:n.collapsed=!0);p&&!c&&(this.G.xh(b,a)?n.yf=!0:n.collapsed=!0);if("on"==f.model.B.C.Aj||"rows"==f.model.B.C.Aj)if(!(this.G.mc.Sa&&1<this.G.measures.length&&this.G.Ke>=b.length)||a&&n.label==a.caption)n.Zm=!0,this.G.Jk&&this.G.Jk.toString()==b.toString()&&this.G.ks==a&&(this.G.vl==f.u.i.ya.Fc?n.bo=!0:this.G.vl==f.u.i.ya.ec&&(n.ao=!0));n.ml=this.G.Vm>b.length||n.og||n.Pg||!f.model.B.C.IH&&(n.yf||n.collapsed);n.If=
|
|
2029
|
-
b;n.hierarchy=m;n.Yb=l;n.measure=this.G.mc.Sa&&1<this.G.measures.length?a:void 0;n.yH=this.G.Mr(b,[]);n.ml&&this.G.yV(e);return n};d.prototype.Wqa=function(b,a,c,e,g,l){if(0===b.length){if(0===g)return this.BG(a,f.u.i.fa.Ea);var m=new h.W.ae;m.
|
|
2029
|
+
b;n.hierarchy=m;n.Yb=l;n.measure=this.G.mc.Sa&&1<this.G.measures.length?a:void 0;n.yH=this.G.Mr(b,[]);n.ml&&this.G.yV(e);return n};d.prototype.Wqa=function(b,a,c,e,g,l){if(0===b.length){if(0===g)return this.BG(a,f.u.i.fa.Ea);var m=new h.W.ae;m.gi=!0;m.ml=m.Qr=!0;m.nb=!0;m.level=c;return m}var n=g;m=this.G.Wm[g];for(var p,t,q=0;q<this.G.vb.length;q++){var v=this.G.vb.ea(q);p=v.Rt(m);if(null!=p){var y=v;n=q;break}}q=null==b[n]?0:b[n];m=new h.W.ae;m.gi=!0;m.ml=this.G.Vm>b.length;m.sT=m.ml&&2==l;p=!1;
|
|
2030
2030
|
c>g&&(p=!0);c>g&&2==l&&(p=!0);c+1<g&&2==l&&(p=!0);m.level=Math.min(b.length-1,g);var A=b.slice(0);v=!1;if(g==this.G.Wm.length)m.label=a.label,v=!0;else{var C=!1;A=void 0===a?0:a.index;var E=y.ua(q);t=this.G.Wm.indexOf(E.level.uniqueName)-g;var K=null!=E&&(E.dh||2!=l);if(0>t)if(E.Xb)v=!0;else return m;else if(0<t)for(q=0;q<t;q++)E=E.parent;E&&(q=this.G.Wm.indexOf(E.level.uniqueName),-1<q&&(m.level=q));m.Yb=E;if(2==l)E&&c==g&&(m.label=this.G.mc.Sa&&1<this.G.measures.length?E.caption+" "+a.label:E.caption+
|
|
2031
2031
|
" "+f.model.A.j.QW,v=!0);else{if(0>t)return f.ia(m.label)&&(m.nb=!0),q=this.H0(b),-1<q&&(m.level=q),m;0<A&&(E=null);E&&0!=E.ordinal&&(q=this.JB(E),m.hT=""!=q,m.label=E.caption+q);C=1==l&&n<this.G.vb.length-1&&0>=A&&!E.dh}m.yH=this.G.Mr(b,[]);A=b.slice(0,n+1);if(K&&E){A[n]=E.ordinal;var J=this.G.eh(A,E,a);E.Xb||!E.hierarchy.Wf||E.Ei||2==l&&(!E.dh||J)||this.QP(E)||(f.model.B.C.IH?J?m.og=!0:(m.Pg=!0,m.ml=!0):J?m.yf=!0:(m.collapsed=!0,m.ml=!0))}C&&!J&&(this.G.xh(A,a)?m.yf=!0:m.collapsed=!0)}if(p)m.label=
|
|
2032
2032
|
"",m.ao=m.bo=m.collapsed=m.yf=m.og=m.Pg=!1;else if(m.If=A,m.hierarchy=y,m.measure=this.G.mc.Sa&&1<this.G.measures.length?a:void 0,"on"==f.model.B.C.Aj||"rows"==f.model.B.C.Aj)m.Zm=!0,!this.G.Jk||this.G.Jk.toString()!=A.toString()||this.G.ks!=a||m.yf||m.og||this.G.mc.Sa&&1<this.G.measures.length&&(!(this.G.mc.Sa&&1<this.G.measures.length)||null!=m.Yb&&!m.sT)||(this.G.vl==f.u.i.ya.Fc?m.bo=!0:this.G.vl==f.u.i.ya.ec&&(m.ao=!0));v&&(q=this.H0(b),-1<q&&(m.level=q));f.ia(m.label)&&(m.nb=!0,m.yBa=2==l&&E&&
|
|
2033
2033
|
g-1>c?!1:!0);m.ml&&this.G.yV(e);return m};d.prototype.H0=function(b){return(b=this.G.RS(b).ua(b[b.length-1]))?this.G.Wm.indexOf(b.level.uniqueName):-1};d.prototype.JB=function(b){if(this.Cb.Ga.ga.Ba!==f.u.i.oa.Jc&&this.Cb.Ga.ga.Ba!==f.u.i.oa.Rd||!f.model.B.C.oN)return"";var a=this.Cb.ha.qa.memberProperties[b.level.uniqueName];if(void 0===a||0===a.length)return"";for(var c=[],e=0;e<a.length;e++){var g=b.level.jf.getItem(a[e]),l=b.Zza(a[e]);f.ia(l)||null==g||c.push('<br/><span class="fm-member-property-label">'+
|
|
2034
|
-
g.caption+':</span> <span class="fm-member-property-value">'+l+"</span>")}return 0<c.length?c.join("")+"<br/>":""};d.prototype.VC=function(b){f.v(b.cell)||f.model.B.C.readOnly||!b.cell.wh&&!b.cell.
|
|
2035
|
-
d.prototype.mp=function(b){f.model.B.C.vz&&b.hierarchy.lM&&this.Da(new k.CO(b.hierarchy))};d.prototype.qy=function(b){if(b.Pg||b.og||b.yf||b.collapsed){var a=b.If,c=f.model.B.C.vk?void 0:b.measure,e=b.Yb;if(null!=e&&!e.Xb&&!e.Ei){if(b.
|
|
2034
|
+
g.caption+':</span> <span class="fm-member-property-value">'+l+"</span>")}return 0<c.length?c.join("")+"<br/>":""};d.prototype.VC=function(b){f.v(b.cell)||f.model.B.C.readOnly||!b.cell.wh&&!b.cell.gi||(b.cell.nB==h.W.Qp.q6?this.qy(b.cell):b.cell.nB==h.W.Qp.NO&&b.cell.LBa||(f.v(b.cell.Yb)||b.cell.nB==h.W.Qp.jJ?b.cell.nB==h.W.Qp.jJ&&(b.cell.wh&&this.sN(b.cell,null,!x.Ui.Tn&&b.qp.ctrlKey||x.Ui.Tn&&b.qp.metaKey),b.cell.gi&&this.J4(b.cell)):f.model.B.C.IH||b.cell.Yb.Ei?this.Nt(b.cell):this.qy(b.cell)))};
|
|
2035
|
+
d.prototype.mp=function(b){f.model.B.C.vz&&b.hierarchy.lM&&this.Da(new k.CO(b.hierarchy))};d.prototype.qy=function(b){if(b.Pg||b.og||b.yf||b.collapsed){var a=b.If,c=f.model.B.C.vk?void 0:b.measure,e=b.Yb;if(null!=e&&!e.Xb&&!e.Ei){if(b.gi){b=f.u.i.fa.Ea;var g=this.G.eh(a,e,c)}else b=f.u.i.fa.Oa,g=this.G.ej(a,e,c);g?this.G.Vo(a,e,b,c):this.G.pe(a,e,b,c)}}};d.prototype.Nt=function(b){if(!f.v(this.ka)&&(b.yf||b.collapsed)){var a=b.If,c=b.wh?f.u.i.fa.Oa:f.u.i.fa.Ea,e=f.model.B.C.vk&&c==f.u.i.fa.Ea?void 0:
|
|
2036
2036
|
b.measure;b.yf?(this.ka.clearData(),this.G.collapse(a,c,e)):b.collapsed&&(this.ka.clearData(),this.G.expand(a,c,e));b.wh?this.ka.HF(b.hc+1):this.ka.CB(b.gb+1)}};d.prototype.O2=function(b){b.sea?this.FJa(b.cell):(f.model.B.C.drillThrough&&!f.model.B.C.qc&&this.Cb.ha.ga&&this.Cb.ha.ga.yT&&this.drillThrough(b.cell),this.uwa(b.cell))};d.prototype.drillThrough=function(b){b.Mh&&void 0!==b.measure&&(b=new k.v6({uniqueName:b.measure.uniqueName,$:b.measure.$},b.mg,b.Vg,b.Ma()),this.Da(b))};d.prototype.FJa=
|
|
2037
2037
|
function(b){var a=b.Ma();this.oV(a,b.hc,b.gb);f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.N5,a))};d.prototype.uwa=function(b){var a=b.Ma();this.oV(a,b.hc,b.gb);f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.bO,a))};d.prototype.oV=function(b,a,c){b.x=this.ka.coords.jl(a,this.ka.bc);b.y=this.ka.coords.Qn(c,this.ka.bc);b.width=this.ka.coords.ah(a);b.height=this.ka.coords.Md(c)};d.prototype.J4=function(b,a){a=void 0===a?"":a;var c=b.If;b=b.measure;void 0===b&&(b=this.G.measures[0]);this.G.Jk&&this.G.Jk.toString()==
|
|
2038
|
-
c.toString()&&this.G.ks==b?this.G.vl=this.G.vl==f.u.i.ya.Fc?f.u.i.ya.ec:f.u.i.ya.Fc:(this.G.vl=f.u.i.ya.Fc,this.G.Jk=c,this.G.ks=b);""!=a&&(this.G.vl=a);this.G.sort();this.ka.HF(0);this.hb()};d.prototype.sN=function(b,a,c){a=void 0===a?"":a;c=void 0===c?!1:c;f.model.B.C.qc?(a=this.G.CS(b.measure.uniqueName),f.v(a)?(b={measure:b.measure,sort:f.u.i.ya.PS("",b.measure.type!=f.u.i.Ka.uc,!0)},!f.v(this.G
|
|
2039
|
-
a.sort==f.u.i.ya.$c?this.G
|
|
2038
|
+
c.toString()&&this.G.ks==b?this.G.vl=this.G.vl==f.u.i.ya.Fc?f.u.i.ya.ec:f.u.i.ya.Fc:(this.G.vl=f.u.i.ya.Fc,this.G.Jk=c,this.G.ks=b);""!=a&&(this.G.vl=a);this.G.sort();this.ka.HF(0);this.hb()};d.prototype.sN=function(b,a,c){a=void 0===a?"":a;c=void 0===c?!1:c;f.model.B.C.qc?(a=this.G.CS(b.measure.uniqueName),f.v(a)?(b={measure:b.measure,sort:f.u.i.ya.PS("",b.measure.type!=f.u.i.Ka.uc,!0)},!f.v(this.G.ai)&&c?this.G.ai.push(b):this.G.ai=[b]):(a.sort=f.u.i.ya.PS(a.sort,b.measure.type!=f.u.i.Ka.uc,!0),
|
|
2039
|
+
a.sort==f.u.i.ya.$c?this.G.ai.splice(this.G.ai.indexOf(a),1):c||(this.G.ai=[a]))):(this.G.Bn=b.If,this.G.Qv=f.v(b.measure)?this.G.measures[0]:b.measure,this.G.xi=f.ia(a)?f.u.i.ya.PS(this.G.xi):a);this.G.sort();this.ka.CB(0);this.hb()};d.prototype.Wta=function(){this.G.xi=f.u.i.ya.$c;this.G.Bn=null;this.G.Qv=void 0;this.G.Tb.DB();this.G.sort();this.ka.CB(0);this.hb()};d.prototype.aua=function(){this.G.vl=f.u.i.ya.$c;this.G.Jk=null;this.G.ks=void 0;this.G.mc.DB();this.G.sort();this.ka.HF(0);this.hb()};
|
|
2040
2040
|
d.prototype.Hha=function(b,a){var c=this.Cb.ha.qa.memberProperties;c||(c={});c[b.levelName]||(c[b.levelName]=[]);var e=c[b.levelName].indexOf(b.propertyName);a?-1==e&&(c[b.levelName].push(b.propertyName),this.Cb.ha.qa.memberProperties=c):-1<e&&c[b.levelName].splice(e,1);this.ka.clearData();this.ka.CB(0);this.hb()};d.prototype.saveData=function(b,a,c){b=this.getData(b,a);b.label!=c&&b.value!=c&&(this.G.save(b.Vg,b.mg,b.hierarchy,c),this.Di&&this.hb())};d.prototype.u$=function(b,a,c){for(var e=c==f.u.i.fa.Oa?
|
|
2041
|
-
this.G.Bb:this.G.vb,g,l=0,m=0;m<e.length;m++){var n=e.ea(m);n.Ue||(g=new h.W.ae,g.label=n.label,g.Ck=!0,g.draggable=!0,g.gT=!0,g.$a=n.filter.bh,g.level=l,g.hierarchy=n,c==f.u.i.fa.Oa?(g.isFrozen=!this.Di,this.ka.G.pV(b,a+m,g)):(g.
|
|
2042
|
-
m;this.ka.G.pV(b,0+e,c);e++;if(2<m.ta.length)for(var n=null==m.ac?2:m.ac.sb+1;n<m.ta.length;n++){var p=m.ta.ea(n);-1!=this.G.Wm.indexOf(p.uniqueName)&&(c=new h.W.ae,c.label=p.caption,c.
|
|
2041
|
+
this.G.Bb:this.G.vb,g,l=0,m=0;m<e.length;m++){var n=e.ea(m);n.Ue||(g=new h.W.ae,g.label=n.label,g.Ck=!0,g.draggable=!0,g.gT=!0,g.$a=n.filter.bh,g.level=l,g.hierarchy=n,c==f.u.i.fa.Oa?(g.isFrozen=!this.Di,this.ka.G.pV(b,a+m,g)):(g.gi=!0,this.ka.G.pV(b+l,a,g),l++))}};d.prototype.tqa=function(b){for(var a=this.G.vb,c,e=0,g=this.G.mc.Sa&&1<this.G.measures.length?this.fg-1:this.fg,l=0;l<a.length;l++){var m=a.ea(l);c=new h.W.ae;c.label=m.label;c.Ck=!0;c.draggable=!0;c.gT=!0;c.$a=m.filter.bh;c.hierarchy=
|
|
2042
|
+
m;this.ka.G.pV(b,0+e,c);e++;if(2<m.ta.length)for(var n=null==m.ac?2:m.ac.sb+1;n<m.ta.length;n++){var p=m.ta.ea(n);-1!=this.G.Wm.indexOf(p.uniqueName)&&(c=new h.W.ae,c.label=p.caption,c.gi=!0,c.gT=!0,this.ka.G.pV(b,0+e,c),e++);if(e>=g)break}if(e>=g)break}};d.prototype.Sj=function(b,a,c,e){c=void 0===c?null:c;e=void 0===e?null:e;b==f.model.xc.Ri.hA&&f.model.xc.F6.Le(this,a,e);b==f.model.xc.Ri.Vu&&f.model.xc.E6.Le(this,a,this.ka.coords.$k,this.ka.coords.Ro,e);b==f.model.xc.Ri.Bh&&f.model.xc.D6.Le(this,
|
|
2043
2043
|
a,this.ka.coords.$k,this.ka.coords.Ro,c);b==f.model.xc.Ri.JSON&&f.model.xc.G6.Le(this,a,this.ka.coords.$k,this.ka.coords.Ro,c);b==f.model.xc.Ri.qA&&f.model.xc.Oe.Le(this,a,this.ka.coords.$k,this.ka.coords.Ro,e);b==f.model.xc.Ri.hE&&(a.Dz=a.Dz&&(this.Cb.Ga.ga.Ba==f.u.i.oa.Jc||this.Cb.Ga.ga.Ba==f.u.i.oa.Rd)&&f.model.B.C.io,f.model.xc.I6.Le(this,a,this.ka.coords.$k,this.ka.coords.Ro))};d.prototype.print=function(b){b=void 0===b?"":b;f.model.hs.zE.P().Le(this,b)};d.prototype.Tf=function(b,a){b=this.KS(b,
|
|
2044
2044
|
a);a=b.Ma();this.oV(a,b.hc,b.gb);return a};d.prototype.KS=function(b,a){var c=null;this.ka&&(c=this.ka.Tf(b,a,!0));if(null==c){c=new h.W.ae;c.gb=b;c.hc=a;var e=this.getData(b,a,!0);c.value=e?e.value:NaN;isNaN(c.value)||(c.label=x.Vb.format(c.value))}-1==c.gb&&(c.gb=b);-1==c.hc&&(c.hc=a);return c};d.prototype.IG=function(){if(f.v(this.ka))return null;var b=this.ka.Nq.map(function(a){return a.Ma()});if(0==b.length)return null;if(1<b.length)return b;b=b[0];this.oV(b,b.columnIndex,b.rowIndex);return b};
|
|
2045
2045
|
d.prototype.rz=function(b,a){f.v(this.ka)||this.ka.select(b,a,b,a)};d.prototype.nD=function(){f.v(this.ka)||this.ka.Fr()};d.prototype.r3=function(b){this.O9(b.data.hc,b.data.width)};d.prototype.s3=function(b){this.P9(b.data.gb,b.data.height)};d.prototype.O9=function(b,a){if(b<this.fg)0<a?f.model.size.pd.columnHeaderSizes[b]=a:delete f.model.size.pd.columnHeaderSizes[b];else{var c=this.G.rj(b-this.fg,!0);null!=c&&(b=this.G.BS(b-this.fg),this.G.Tb.Sa&&c.push(b),0<a?f.model.size.pd.columnSizes[c.join(",")]=
|
|
@@ -2061,10 +2061,10 @@ this.clear())};k.YN=h})(f.K||(f.K={}))})(w||(w={}));
|
|
|
2061
2061
|
(function(f){(function(k){function h(){if(null!=h.ne)throw Error("Singleton");var d=B.Wb.ph.call(this,k.Hb.zb.F)||this;d.Y("fm-prompt-view");d.ue();return d}u(h,B.Wb.ph);h.P=function(){null==h.ne&&(h.ne=new h);return h.ne};h.dispose=function(){h.ne=null};h.prototype.ue=function(){var d=this;this.bD.Y("fm-overlay-alert");var b=new B.Ca("div","fm-content");this.V(b);this.ur=new B.Qc;this.ur.Y("fm-message-label");b.V(this.ur);this.YJ=new B.Vi;this.YJ.Y("fm-prompt-input");b.V(this.YJ);this.jt=new B.Ca("div",
|
|
2062
2062
|
"fm-ui-btns-row");b.V(this.jt);b=new B.Lf("fm-ui-btn-dark");b.bb(f.model.A.j.gW);b.N(B.ud.$e,function(){return d.YC()});this.jt.V(b);b=new B.Lf;b.bb(f.model.A.j.Ok);b.N(B.ud.$e,function(){return d.Zr()});this.jt.V(b,x.Ui.Tn||x.Ui.HC)};h.prototype.es=function(d,b){this.B=b=void 0===b?null:b;this.ur.bb(void 0===d?"":d);this.YJ.ij(b&&b.defaultValue?b.defaultValue:"");k.Hb.zb.V(this);this.open();this.Io();this.YJ.F.element.focus()};h.prototype.YC=function(){this.B&&this.B.Ifa&&this.B.Ifa(this.YJ.Bi());
|
|
2063
2063
|
this.close()};h.prototype.Zr=function(){this.B&&this.B.sU&&this.B.sU();this.close()};k.Ioa=h})(f.K||(f.K={}))})(w||(w={}));
|
|
2064
|
-
(function(f){(function(k){(function(h){(function(d){function b(){this.value=NaN;this.label="";this.level=NaN;this.bo=this.ao=this.Zm=this.og=this.Pg=this.draggable=this.collapsed=this.yf=this.$a=this.hT=this.gT=this.CJa=this.LBa=this.Mh=this.sT=this.GC=this.Qr=this.tw=this.ml=this.hM=this.wh=this.
|
|
2064
|
+
(function(f){(function(k){(function(h){(function(d){function b(){this.value=NaN;this.label="";this.level=NaN;this.bo=this.ao=this.Zm=this.og=this.Pg=this.draggable=this.collapsed=this.yf=this.$a=this.hT=this.gT=this.CJa=this.LBa=this.Mh=this.sT=this.GC=this.Qr=this.tw=this.ml=this.hM=this.wh=this.gi=this.isFrozen=this.Ck=this.gu=this.numeric=!1;this.hc=this.gb=this.L4=-1;this.yH=null;this.ll=this.yBa=this.nb=!1;this.conditions=[];this.IC=this.JC=!1;this.nB=d.Qp.C5}b.prototype.jza=function(){return this.og||
|
|
2065
2065
|
this.Pg?this.hierarchy.ta.ea(this.Yb.level.sb+1).caption:""};b.prototype.J=function(a){a=void 0===a?!1:a;if(null!=b.Wv){var c=new Ha;c.clear();c.tag="div";c.text+=this.cS;b.Wv(c.node,this.Ma());var e=c.text;e=f.model.Nb.valid(e)?e:f.model.Nb.validate(e);this.gu=e!=this.label?!0:this.gu;c.clear();c=document.createElement("div");c.innerHTML=e;e=c.textContent&&"number"!=typeof e?c.textContent.trim():e;a&&!this.hT&&(e=f.O.Ln(e,!0,!0));return e}return a?this.cS:this.label};b.prototype.iy=function(a){this.gu=
|
|
2066
|
-
!0;null==this.style&&(this.style=new d.e6);this.style.Hra(a)};b.prototype.Vaa=function(a){this.gu=!0;null==this.style&&(this.style=new d.e6);this.style.Bv(a);this.style.Mra(a)};b.prototype.Ma=function(){if(this.pfa)return this.pfa;var a=f.model.Ta.P().ha.qa,c=[];f.model.B.C.qc||f.v(a)||(c=a.c_(this.wh&&this.If?this.If:this.mg));var e=[];f.model.B.C.qc||f.v(a)||(e=a.d_(this.
|
|
2067
|
-
null,hierarchy:this.hierarchy?this.hierarchy.Ni():null,member:this.Yb?this.Yb.Ma():null,rowIndex:this.gb,rows:e,type:this.wh||this.
|
|
2066
|
+
!0;null==this.style&&(this.style=new d.e6);this.style.Hra(a)};b.prototype.Vaa=function(a){this.gu=!0;null==this.style&&(this.style=new d.e6);this.style.Bv(a);this.style.Mra(a)};b.prototype.Ma=function(){if(this.pfa)return this.pfa;var a=f.model.Ta.P().ha.qa,c=[];f.model.B.C.qc||f.v(a)||(c=a.c_(this.wh&&this.If?this.If:this.mg));var e=[];f.model.B.C.qc||f.v(a)||(e=a.d_(this.gi&&this.If?this.If:this.Vg));a={columnIndex:this.hc,columns:c,label:this.label,escapedLabel:this.cS,measure:this.measure?this.measure.Ni():
|
|
2067
|
+
null,hierarchy:this.hierarchy?this.hierarchy.Ni():null,member:this.Yb?this.Yb.Ma():null,rowIndex:this.gb,rows:e,type:this.wh||this.gi||this.Ck?"header":"value",value:this.value,expanded:this.yf,collapsed:this.collapsed,drilledUp:this.Pg,drilledDown:this.og,recordId:this.yH,isTotal:this.Wj,isTotalRow:this.ml,isTotalColumn:this.tw,isClassicTotalRow:this.sT,isGrandTotal:this.Ny,isGrandTotalRow:this.Qr,isGrandTotalColumn:this.GC,isDrillThrough:this.ll};isNaN(this.level)||(a.level=this.level);0<this.conditions.length&&
|
|
2068
2068
|
(a.conditions=this.conditions);return this.pfa=a};r.Object.defineProperties(b.prototype,{cS:{configurable:!0,enumerable:!0,get:function(){return this.hT?this.label:f.O.Ln(this.label,!0,!0)}},Wj:{configurable:!0,enumerable:!0,get:function(){return this.ml||this.tw}},Ny:{configurable:!0,enumerable:!0,get:function(){return this.Qr||this.GC}}});b.Wv=null;d.ae=b})(h.W||(h.W={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2069
2069
|
(function(f){(function(k){(function(h){(function(d){function b(){this.MV=[];this.NB=[];this.R={}}b.prototype.Bv=function(a){-1==this.MV.indexOf(a)&&this.MV.push(a)};b.prototype.Mra=function(a){-1==this.NB.indexOf(a)&&this.NB.push(a)};b.prototype.Hra=function(a){for(var c in a)this.R[c]=a[c]};b.prototype.FS=function(){return this.NB.join(" ")};b.prototype.XS=function(){var a="",c;for(c in this.R)a+=c+":"+this.R[c]+";";return a};d.e6=b})(h.W||(h.W={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2070
2070
|
(function(f){(function(k){(function(h){(function(d){function b(){}function a(){}a.rza=function(c){return 500<c?a.nja:a.coa};a.coa="";a.nja="Bold";d.ima=a;b.prototype.merge=function(c){this.color=this.color||c.color;this.backgroundColor=this.backgroundColor||c.backgroundColor;this.backgroundImage=this.backgroundImage||c.backgroundImage;this.borderColor=this.borderColor||c.borderColor;this.fontSize=this.fontSize||c.fontSize;this.fontWeight=this.fontWeight||c.fontWeight;this.textAlign=this.textAlign||
|
|
@@ -2084,11 +2084,11 @@ b.wma="fm-kpi-status-good-icon";b.Ama="fm-kpi-trend-bad-icon";b.Ema="fm-kpi-tren
|
|
|
2084
2084
|
return null};d.prototype.show=function(b,a,c){var e=this;if(!f.model.B.C.readOnly){var g=[];this.cd.Uda(c.target)&&g.push({id:"drillthrough",label:f.model.A.j.X5,handler:function(){e.cd.drillThrough(c.target)}});this.cd.ABa(c.target)&&g.push({id:"open_filter",label:f.model.A.j.Z5,handler:function(){e.cd.rH(c.target)}});var l=this.Eza(b);l&&!l.Ja&&!l.Dg&&f.model.B.C.yl&&(l=this.Cy(l),0<l.length&&g.push({id:"aggregation",label:f.model.A.j.V5,submenu:l}));g=this.PR(g,this.cd.GS(b,!0),"charts");0<g.length&&
|
|
2085
2085
|
c.preventDefault();this.XR(g,a)}};d.prototype.rfa=function(b,a){var c=this.Cb.ha.qa.clone();b=c.bd()[b.index];b.$=a;f.model.B.C.Jo.$=b.$;this.Cb.ce(c)};h.pka=d})(k.wd||(k.wd={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2086
2086
|
(function(f){(function(k){(function(h){(function(d){function b(){this.rows=[];this.columns=[]}function a(){this.mv=this.nv=-1;this.IF=this.$_=this.PV=this.rN=this.scrollLeft=this.scrollTop=this.Sf=this.Sg=this.Wd=this.Jd=this.Ro=this.$k=this.LY=this.LQ=0;this.hB=15E5;this.jB=this.iB=1;this.Xi=[];this.Ts=[];this.dt=[];this.lr=[];this.et=[];this.NE=[];this.kF=[];this.hB=this.jAa();this.LQ=a.u8;this.LY=a.t8;this.vD();this.tha()}a.prototype.tha=function(){if(void 0===this.JY||void 0===this.IY){var c=
|
|
2087
|
-
this.kAa();c&&(this.JY=c.width,this.IY=c.height)}};a.prototype.kAa=function(){return x.
|
|
2088
|
-
"0px";e.style.visibility="hidden";e.style.width="50px";e.style.height="50px";e.style.overflow="hidden";e.appendChild(c);k.Hb.zb.F.element.appendChild(e);var g=c.offsetWidth;e.style.overflow="scroll";var l=c.offsetWidth;g==l&&(l=e.clientWidth);c.style.width="100px";c.style.height="100%";e.style.overflow="hidden";var m=c.offsetHeight;e.style.overflow="scroll";c=c.offsetHeight;m==c&&(c=e.clientHeight);k.Hb.zb.F.element.removeChild(e);e=g-l;m-=c;x.
|
|
2087
|
+
this.kAa();c&&(this.JY=c.width,this.IY=c.height)}};a.prototype.kAa=function(){return x.Cd().Zl?this.caa():x.Cd().A1?{width:15,height:15}:x.Ui.Tn||x.Cd().rT||x.Cd().nea||x.Cd().XG?this.caa():{width:17,height:17}};a.prototype.caa=function(){if(null==k.Hb.zb.F.element.offsetParent)return null;var c=document.createElement("div");c.style.width="100%";c.style.height="100px";var e=document.createElement("div");x.Ui.Tn&&e.classList.add("fm-scrollbars");e.style.position="absolute";e.style.top="0px";e.style.left=
|
|
2088
|
+
"0px";e.style.visibility="hidden";e.style.width="50px";e.style.height="50px";e.style.overflow="hidden";e.appendChild(c);k.Hb.zb.F.element.appendChild(e);var g=c.offsetWidth;e.style.overflow="scroll";var l=c.offsetWidth;g==l&&(l=e.clientWidth);c.style.width="100px";c.style.height="100%";e.style.overflow="hidden";var m=c.offsetHeight;e.style.overflow="scroll";c=c.offsetHeight;m==c&&(c=e.clientHeight);k.Hb.zb.F.element.removeChild(e);e=g-l;m-=c;x.Cd().XG&&(m=e);return{width:e,height:m}};a.prototype.jAa=
|
|
2089
2089
|
function(){return x.UR().rT||x.UR().XG?1E7:15E5};a.prototype.HF=function(c){this.Ts.length-1>=c&&(this.Ts.length=c);this.lr.length-1>=c&&(this.lr.length=c);this.NE.length-1>=c&&(this.NE.length=c);for(var e in this.Xi)this.Xi.hasOwnProperty(e)&&!f.v(this.Xi[e])&&this.Xi[e].length-1>=c&&(this.Xi[e].length=c);this.nv=-1};a.prototype.CB=function(c){this.dt.length-1>=c&&(this.dt.length=c);this.et.length-1>=c&&(this.et.length=c);this.kF.length-1>=c&&(this.kF.length=c);this.Xi.length-1>=c&&(this.Xi.length=
|
|
2090
|
-
c);this.mv=-1};a.prototype.reset=function(){this.Ts.length=0;this.dt.length=0;this.lr.length=0;this.et.length=0;this.NE.length=0;this.kF.length=0;this.mv=this.nv=-1;this.$_=this.PV=this.scrollLeft=this.scrollTop=this.Sf=this.Sg=this.Wd=this.Jd=this.Ro=this.$k=0;this.LQ=a.u8;this.LY=a.t8;this.jB=this.iB=1;this.rN=this.Xi.length=0;this.vD()};a.prototype.vD=function(){var c=k.X.W.Zc.hl(x.
|
|
2091
|
-
c.width));isNaN(c.maxWidth)||(a.Op=0>=c.maxWidth?0:Math.max(a.cE,c.maxWidth));var e=k.X.W.Zc.hl(x.
|
|
2090
|
+
c);this.mv=-1};a.prototype.reset=function(){this.Ts.length=0;this.dt.length=0;this.lr.length=0;this.et.length=0;this.NE.length=0;this.kF.length=0;this.mv=this.nv=-1;this.$_=this.PV=this.scrollLeft=this.scrollTop=this.Sf=this.Sg=this.Wd=this.Jd=this.Ro=this.$k=0;this.LQ=a.u8;this.LY=a.t8;this.jB=this.iB=1;this.rN=this.Xi.length=0;this.vD()};a.prototype.vD=function(){var c=k.X.W.Zc.hl(x.Cd().Zl?"fm-grid-column-mobile":"fm-grid-column");isNaN(c.minWidth)||(a.cE=c.minWidth);isNaN(c.width)||(a.Ds=Math.max(a.cE,
|
|
2091
|
+
c.width));isNaN(c.maxWidth)||(a.Op=0>=c.maxWidth?0:Math.max(a.cE,c.maxWidth));var e=k.X.W.Zc.hl(x.Cd().Zl?"fm-grid-row-mobile":"fm-grid-row");isNaN(e.minHeight)||(a.bE=e.minHeight);isNaN(e.height)||(a.Mu=Math.max(a.bE,e.height));isNaN(e.maxHeight)||(a.Yq=0>=c.maxHeight?0:Math.max(a.bE,e.maxHeight))};a.prototype.setScale=function(){var c=this.ut(this.Wd,this.Wd+this.Ro);this.jB=c>this.hB?this.hB/c:1;c=this.vt(this.Jd,this.Jd+this.$k);this.iB=c>this.hB?this.hB/c:1};a.prototype.resize=function(c,e){this.$A=
|
|
2092
2092
|
c;this.ZA=e};a.prototype.Md=function(c){var e=isNaN(this.dt[c])?a.Mu:this.dt[c];return 0<a.Yq&&!this.MC(c)?Math.min(a.Yq,e):e};a.prototype.Pw=function(c,e,g,l){0!=e&&(e=Math.max(e,a.bE));if(void 0===g?0:g){if(isNaN(this.et[c])||e>this.et[c])this.et[c]=e}else this.dt[c]=e,this.mv=-1;(void 0===l?0:l)&&(this.kF[c]=!0)};a.prototype.cIa=function(c){if(this.MC(c)){delete this.dt[c];delete this.et[c];delete this.kF[c];this.mv=-1;for(var e in this.Xi)this.Xi.hasOwnProperty(e)&&delete this.Xi[e]}};a.prototype.ah=
|
|
2093
2093
|
function(c){if(-1==c)return this.Or();if(c>=this.Hi)return Math.max(100,a.Ds);var e=isNaN(this.Ts[c])?a.Ds:this.Ts[c];return 0<a.Op&&!this.EC(c)?Math.min(a.Op,e):e};a.prototype.mL=function(c,e,g){return 0>=g?Math.max(e,c):Math.min(g,Math.max(e,c))};a.prototype.gN=function(c,e,g,l){0!=e&&(e=this.mL(e,a.cE,a.Op));if(void 0===g?0:g){if(isNaN(this.lr[c])||e>this.lr[c])this.lr[c]=e}else-1==c?this.LQ=e:this.Ts[c]=e,this.nv=-1;(void 0===l?0:l)&&(this.NE[c]=!0)};a.prototype.aIa=function(c){if(this.EC(c)){delete this.Ts[c];
|
|
2094
2094
|
delete this.lr[c];delete this.NE[c];this.nv=-1;for(var e in this.Xi)this.Xi.hasOwnProperty(e)&&(f.v(this.Xi[e])||delete this.Xi[e][c])}};a.prototype.EC=function(c){return!0===this.NE[c]};a.prototype.MC=function(c){return!0===this.kF[c]};a.prototype.$Q=function(){var c=new b;for(m in this.et){var e=parseInt(m);if(!isNaN(e)&&!this.MC(e)){var g=this.et[e];!isNaN(g)&&g>this.Md(e)&&(this.Pw(e,g),c.rows.push(e))}}this.et.length=0;for(var l in this.lr){var m=parseInt(l);isNaN(m)||this.EC(m)||(e=this.lr[m],
|
|
@@ -2104,15 +2104,15 @@ g?!0:g;var l=0,m=(g?this.le:0)+this.$t();c>this.Wd&&(l=this.Sg,m=(g?this.le:0)+t
|
|
|
2104
2104
|
{le:{configurable:!0,enumerable:!0,get:function(){return this.PV+this.$_}},qD:{configurable:!0,enumerable:!0,get:function(){return this.yC?this.JY:0}},pD:{configurable:!0,enumerable:!0,get:function(){return this.xC?this.IY:0}},fp:{configurable:!0,enumerable:!0,get:function(){return this.$A}},Tr:{configurable:!0,enumerable:!0,get:function(){return this.ZA}},Ox:{configurable:!0,enumerable:!0,get:function(){return this.ZA-this.pD-this.le}},qt:{configurable:!0,enumerable:!0,get:function(){return this.$A-
|
|
2105
2105
|
this.qD}},Hd:{configurable:!0,enumerable:!0,get:function(){return this.$A-this.wp}},Gd:{configurable:!0,enumerable:!0,get:function(){return this.ZA-this.pq-this.le}},Hi:{configurable:!0,enumerable:!0,get:function(){return this.Jd+this.$k}},Yj:{configurable:!0,enumerable:!0,get:function(){return this.Wd+this.Ro}},Ht:{configurable:!0,enumerable:!0,get:function(){return 0<=this.nv?this.nv:this.nv=1>this.iB?this.hB:this.vt(this.Jd,this.Jd+this.$k)}},Gt:{configurable:!0,enumerable:!0,get:function(){return 0<=
|
|
2106
2106
|
this.mv?this.mv:this.mv=1>this.jB?this.hB:this.ut(this.Wd,this.Wd+this.Ro)}},mDa:{configurable:!0,enumerable:!0,get:function(){for(var c=0,e=this.Jd+this.$k,g=this.Jd;g<e;g++)if(c+=this.ah(g),c>a.V7)return a.V7;return c}},wp:{configurable:!0,enumerable:!0,get:function(){for(var c=this.Or(),e=0;e<this.Jd;e++)c+=this.ah(e);return c}},pq:{configurable:!0,enumerable:!0,get:function(){for(var c=this.$t(),e=0;e<this.Wd;e++)c+=this.Md(e);return c}},xC:{configurable:!0,enumerable:!0,get:function(){return this.Ht+
|
|
2107
|
-
(this.Gt>this.Gd?this.JY:0)>this.Hd}},yC:{configurable:!0,enumerable:!0,get:function(){return this.Gt+(this.Ht>this.Hd?this.IY:0)>this.Gd}},Jv:{configurable:!0,enumerable:!0,get:function(){return x.
|
|
2107
|
+
(this.Gt>this.Gd?this.JY:0)>this.Hd}},yC:{configurable:!0,enumerable:!0,get:function(){return this.Gt+(this.Ht>this.Hd?this.IY:0)>this.Gd}},Jv:{configurable:!0,enumerable:!0,get:function(){return x.Cd().Gi?!1:500>Math.max(this.Hi,this.qt/a.Ds)*Math.max(this.Yj,this.Ox/a.Mu)}},vta:{configurable:!0,enumerable:!0,get:function(){return x.Cd().Gi?!1:(this.yC||this.xC)&&1E5>this.Hi*this.Yj}},Qxa:{configurable:!0,enumerable:!0,get:function(){return this.scrollLeft+this.Hd-this.Ht-this.qD}},Pxa:{configurable:!0,
|
|
2108
2108
|
enumerable:!0,get:function(){return this.scrollTop+this.Gd-this.Gt-this.pD}}});a.p8=5;a.T5=5;a.Ds=100;a.cE=50;a.Op=480;a.Mu=30;a.bE=30;a.Yq=100;a.t8=25;a.u8=25;a.V7=200;d.mh=a;d.PNa=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2109
2109
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){var e=B.Aa.call(this,"div")||this;e.lY=!1;e.cell=new Ha;e.ba=a;e.wm=c;e.element.addEventListener("click",function(g){return e.IU(g)});return e}u(b,B.Aa);b.prototype.Rx=function(a){a=void 0===a?!1:a;for(var c=!1,e=this.element.children,g=0;g<e.length;g++){var l=e.item(g);c=this.Aia(l,!0)||c;l=l.children;for(var m=0;m<l.length;m++){var n=l.item(m);c=this.HN(n,a)||c}}this.lY=c};b.prototype.Aia=function(a,c){c=void 0===c?!1:c;if(null!=
|
|
2110
2110
|
this.ba){var e=!1,g=parseInt(a.getAttribute("data-r"));if(isNaN(g)||this.ba.MC(g))return!1;var l=a.clientHeight;a=a.offsetHeight;var m=a-l;a-this.ba.Md(g)>m?(this.ba.Pw(g,Math.ceil(a),c),e=!0):l<=d.mh.Mu&&this.ba.Pw(g,d.mh.Mu,c);return e}};b.prototype.HN=function(a,c,e){c=void 0===c?!1:c;e=void 0===e?!1:e;if(null!=this.ba){var g=!1,l=parseInt(a.getAttribute("data-c")),m=parseInt(a.getAttribute("data-r"));if(isNaN(l)||a.classList.contains(h.W.wa.pP)&&0<=l||this.ba.EC(l)||this.ba.Nda(m,l)&&!e)return!1;
|
|
2111
2111
|
a=a.offsetWidth;if(a>this.ba.ah(l)){if(1<a-this.ba.ah(l)||1==window.devicePixelRatio||1!=window.devicePixelRatio&&this.ba.ah(l)==d.mh.Ds)this.ba.gN(l,Math.ceil(a+3),c),g=!0}else-1!=l&&a<=d.mh.Ds&&!this.ba.Oda(l,!0)&&this.ba.gN(l,d.mh.Ds,c);this.ba.RIa(m,l);return g}};b.prototype.ay=function(a,c){var e=this.wm?this.wm(a,c):null;this.cell.clear();this.cell.tag="div";if(this.ba.Rn(a,c))return this.cell.style.display="none",this.cell;this.cell.Y(h.W.wa.xe);var g=a>=this.ba.Yj||c>=this.ba.Hi;!e&&g?this.cell.Y(h.W.wa.lW):
|
|
2112
|
-
(this.cell.attr.role="gridcell",this.cell.attr["aria-rowindex"]=a+1,this.cell.attr["aria-colindex"]=c+1);e&&!isNaN(e.level)&&this.cell.Y(h.W.wa.sf+e.level);e&&e.
|
|
2112
|
+
(this.cell.attr.role="gridcell",this.cell.attr["aria-rowindex"]=a+1,this.cell.attr["aria-colindex"]=c+1);e&&!isNaN(e.level)&&this.cell.Y(h.W.wa.sf+e.level);e&&e.gi&&(this.cell.Y(h.W.wa.Ej),this.cell.Y(h.W.wa.Uu),this.cell.Y(h.W.wa.sf+e.level),this.cell.attr.role="rowheader");e&&e.wh&&(this.cell.Y(h.W.wa.Ej),this.cell.Y(h.W.wa.gA),this.cell.attr.role="columnheader");e&&e.hM&&this.cell.Y(h.W.wa.mna);e&&e.Wj&&this.cell.Y(h.W.wa.ev);e&&e.tw&&this.cell.Y(h.W.wa.Kpa);e&&e.ml&&this.cell.Y(h.W.wa.Lpa);e&&
|
|
2113
2113
|
e.Ny&&this.cell.Y(h.W.wa.JI);e&&e.GC&&this.cell.Y(h.W.wa.jma);e&&e.Qr&&this.cell.Y(h.W.wa.kma);e&&e.yf&&(this.cell.Y(h.W.wa.DW),this.cell.text+=this.Hn(h.W.wa.B6,f.model.A.j.xP));e&&e.collapsed&&(this.cell.Y(h.W.wa.mW),this.cell.text+=this.Hn(h.W.wa.S5,f.model.A.j.yP));e&&e.JC&&(this.cell.Y(h.W.wa.p7),-.75>=e.value?this.cell.Y(h.W.wa.Ama):-.25>=e.value?this.cell.Y(h.W.wa.Ema):.25>e.value?this.cell.Y(h.W.wa.Cma):.75>e.value?this.cell.Y(h.W.wa.Dma):1>=e.value&&this.cell.Y(h.W.wa.Bma));e&&e.IC&&(this.cell.Y(h.W.wa.p7),
|
|
2114
2114
|
-.75>=e.value?this.cell.Y(h.W.wa.vma):-.25>=e.value?this.cell.Y(h.W.wa.zma):.25>e.value?this.cell.Y(h.W.wa.xma):.75>e.value?this.cell.Y(h.W.wa.yma):1>=e.value&&this.cell.Y(h.W.wa.wma));this.cell.text+=e?e.cS:"";e&&(e.Pg||e.og)&&(this.cell.text+='<span class="'+h.W.wa.TW+'" title="'+(e.Pg?f.model.A.j.Cpa:f.model.A.j.Dpa)+'">'+e.jza()+"</span>",e.Pg&&this.cell.Y(h.W.wa.Gka),e.og&&this.cell.Y(h.W.wa.Fka));if(e&&e.wh){if(e.Zm&&!e.nb){var l="";0<=e.L4&&(l="<span>"+(e.L4+1)+"</span>");var m=f.v(e.measure)||
|
|
2115
|
-
e.measure.type!=f.u.i.Ka.uc;this.cell.text=e.ao?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.Zpa,f.ia(l)?"":h.W.wa.w8],this.DG(f.u.i.ya.ec,m,f.model.B.C.qc),l):e.bo?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.$pa,f.ia(l)?"":h.W.wa.w8],this.DG(f.u.i.ya.Fc,m,f.model.B.C.qc),l):this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.aqa],this.DG(f.u.i.ya.$c,m,f.model.B.C.qc))}e.nb&&this.cell.Y(h.W.wa.lW);e.nb||this.cell.Y(h.W.wa.Ypa)}e&&e.
|
|
2115
|
+
e.measure.type!=f.u.i.Ka.uc;this.cell.text=e.ao?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.Zpa,f.ia(l)?"":h.W.wa.w8],this.DG(f.u.i.ya.ec,m,f.model.B.C.qc),l):e.bo?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.$pa,f.ia(l)?"":h.W.wa.w8],this.DG(f.u.i.ya.Fc,m,f.model.B.C.qc),l):this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.aqa],this.DG(f.u.i.ya.$c,m,f.model.B.C.qc))}e.nb&&this.cell.Y(h.W.wa.lW);e.nb||this.cell.Y(h.W.wa.Ypa)}e&&e.gi&&(e.Zm&&!e.nb&&(this.cell.text=e.ao?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.oma],
|
|
2116
2116
|
this.DG(f.u.i.ya.ec)):e.bo?this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.pma],this.DG(f.u.i.ya.Fc)):this.cell.text+this.Hn([h.W.wa.wA,h.W.wa.qma],this.DG(f.u.i.ya.$c))),this.cell.Y(h.W.wa.nma));this.cell.attr["data-c"]=c;this.cell.attr["data-r"]=a;this.cell.attr["data-n"]=0==a%2?"even":"odd";0!=c||f.model.B.C.zl||(this.cell.style.height=this.ba.Md(a)+"px");if(e&&e.style){for(l=0;l<e.style.MV.length;l++)this.cell.Y(e.style.MV[l]);l=e.style.R;for(var n in l)this.cell.style[n]=l[n]}this.eha(this.cell,a,c,
|
|
2117
2117
|
e&&e.Mh);null==h.W.ae.Wv||g||(null==e&&(e=new h.W.ae,e.gb=a,e.hc=c),h.W.ae.Wv(this.cell.node,e.Ma()));return this.cell};b.prototype.DG=function(a,c,e){a=f.u.i.ya.PS(a,void 0===c?!0:c,void 0===e?!1:e);return a==f.u.i.ya.ec?f.model.A.j.Gpa:a==f.u.i.ya.Fc?f.model.A.j.Hpa:a==f.u.i.ya.$c?f.model.A.j.Jpa:f.model.A.j.Ipa};b.prototype.s1=function(a,c){return this.wm?(a=this.wm(a,c),f.v(a)||f.ia(a.label)):!0};b.prototype.eha=function(a,c,e,g){g=void 0===g?!1:g;this.ba.EC(e)||this.ba.MC(c)?(a.style.width=this.ba.ah(e)+
|
|
2118
2118
|
"px",a.style.height=this.ba.Md(c)+"px"):(a.style["min-width"]=this.ba.ah(e)+"px",a.style[g?"height":"min-height"]=this.ba.Md(c)+"px");!this.ba.EC(e)&&0<d.mh.Op&&(a.style["max-width"]=d.mh.Op+"px");!this.ba.MC(c)&&0<d.mh.Yq&&(a.style["max-height"]=d.mh.Yq+"px")};b.prototype.Hn=function(a,c,e){c=void 0===c?null:c;e=void 0===e?"":e;Array.isArray(a)&&(a=a.join(" "));a='<i aria-hidden="true" class="'+h.W.wa.UW+" "+a+'"';c&&(a+='title="'+c+'"');return a+(">"+e+"</i>")};b.prototype.Nva=function(){this.cell.clear();
|
|
@@ -2120,11 +2120,11 @@ this.cell.tag="div";this.cell.Y(h.W.wa.xe);this.cell.Y(h.W.wa.pP);this.cell.styl
|
|
|
2120
2120
|
"px");this.cell.style.height=this.ba.$t()+"px";this.cell.attr["data-r"]=-1;this.cell.attr["data-c"]=a;this.cell.attr["aria-hidden"]="true";return this.cell};b.prototype.MR=function(a){this.cell.clear();this.cell.tag="div";if(this.ba.Rn(a,-1))return this.cell.style.display="none",this.cell;this.cell.Y(h.W.wa.xe);this.cell.Y(h.W.wa.pP);this.cell.text+=a+1;this.cell.style["min-width"]=this.ba.Or()+"px";this.cell.style.height=this.ba.Md(a)+"px";this.cell.style["line-height"]=this.ba.Md(a)-2+"px";0<d.mh.Yq&&
|
|
2121
2121
|
!this.ba.MC(a)&&(this.cell.style["max-height"]=d.mh.Yq+"px");this.cell.attr["data-r"]=a;this.cell.attr["data-c"]=-1;this.cell.attr["aria-hidden"]="true";return this.cell};b.prototype.o0=function(a,c){a=this.ba.tL(a)-1;c=this.ba.ML(c)-1;var e=null;null!=this.wm&&(e=this.wm(c,a));null==e&&(e=new h.W.ae,e.gb=c,e.hc=a);return e};b.prototype.Xt=function(a){for(;!a.Nc(h.W.wa.xe);)if(a=a.parent,null==a)return null;var c=parseInt(a.attr("data-c"));a=parseInt(a.attr("data-r"));var e=null!=this.wm?this.wm(a,
|
|
2122
2122
|
c):k.Hb.zb.KS(a,c);null==e&&(e=new h.W.ae,e.gb=a,e.hc=c);return e};b.prototype.IU=function(a){var c=B.Aa.Qb(a.target),e=this.Xt(c)||this.o0(a.offsetX,a.offsetY);switch(a.type){case "click":var g=new h.k7(e,c,a)}g&&this.Da(g)};b.prototype.dispose=function(){B.Aa.prototype.dispose.call(this);this.ba=this.wm=null};r.Object.defineProperties(b.prototype,{FC:{configurable:!0,enumerable:!0,get:function(){return this.lY}}});d.Ku=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2123
|
-
(function(f){(function(k){(function(h){(function(d){function b(a,c){a=d.Ku.call(this,a,c)||this;a.ONa=1E3;a.xQ=!1;a.Y("fm-sheet-canvas");a.Vk=new Ia;a.V(a.Vk);a.Gl=new d.aE;a.
|
|
2123
|
+
(function(f){(function(k){(function(h){(function(d){function b(a,c){a=d.Ku.call(this,a,c)||this;a.ONa=1E3;a.xQ=!1;a.Y("fm-sheet-canvas");a.Vk=new Ia;a.V(a.Vk);a.Gl=new d.aE;a.Wh=new d.aE;return a}u(b,d.Ku);b.prototype.hb=function(){};b.prototype.py=function(){};b.prototype.aia=function(){0!=this.bc&&(this.Gl.reset(),this.Wh.reset(),this.hb())};b.prototype.GF=function(){this.Gl.reset()};b.prototype.Sta=function(){this.Wh.reset()};b.prototype.Ov=function(){this.GF();this.Sta()};b.prototype.Rx=function(a){a=
|
|
2124
2124
|
void 0===a?!1:a;for(var c=!1,e=this.Vk.content.element.children,g=0;g<e.length;g++){var l=e.item(g);c=this.Aia(l,a)||c;l=l.children;for(var m=0;m<l.length;m++){var n=l.item(m);c=this.HN(n,a)||c}}this.lY=c};b.prototype.mz=function(){this.Vk.content.width=this.zv-this.ba.qD;this.Vk.content.height=this.$s-this.ba.pD};b.prototype.Jya=function(a,c){a=this.ba.zS(a,this.bc);c=this.ba.TS(c,this.bc);var e=null;null!=this.wm&&(e=this.wm(c,a));null==e&&(e=new h.W.ae,e.gb=c,e.hc=a);return e};b.prototype.IU=function(a){var c=
|
|
2125
2125
|
this.parent.Uf();var e=a.clientX-c.left;var g=a.clientY-c.top;c=a.target;c==this.jb.placeholder.element&&(this.jb.placeholder.R("pointer-events","none"),c=document.elementFromPoint(a.clientX,a.clientY),this.jb.placeholder.R("pointer-events",""));c=B.Aa.Qb(c);e=this.Xt(c)||this.Jya(e,g);null!=e&&null!=c&&(g=h.W.Qp.C5,c.Nc(h.W.wa.TW)?g=h.W.Qp.q6:c.Nc(h.W.wa.B6)||c.Nc(h.W.wa.S5)?g=h.W.Qp.Gma:c.Nc(h.W.wa.wA)?g=h.W.Qp.jJ:c.Nc(h.W.wa.NO)&&(g=h.W.Qp.NO),e.nB=g);switch(a.type){case "click":var l=new h.k7(e,
|
|
2126
2126
|
c,a)}l&&this.Da(l)};b.prototype.QF=function(a,c,e){c=void 0===c?!1:c;e=void 0===e?!1:e;var g=[],l=new Ha;e&&g.push(this.uva(a));for(e=a.top;e<a.bottom;e++){l.tag="div";l.Y("fm-row");l.attr["data-r"]=e;e<this.ba.Yj&&this instanceof d.u6&&(l.attr.role="row");c&&(l.text+=Ja(this.MR(e)));for(var m=a.left;m<a.right;++m)l.text+=Ja(this.ay(e,m));g.push(Ja(l))}return g.join("")};b.prototype.uva=function(a){for(var c="",e=a.left;e<a.right;++e)c+=Ja(this.Iaa(e));a=new Ha;a.tag="div";a.Y("fm-row");a.text=c;
|
|
2127
|
-
return c=Ja(a)};b.prototype.hda=function(){var a=this.ba.rG();return this.bc?this.ba.ut(this.
|
|
2127
|
+
return c=Ja(a)};b.prototype.hda=function(){var a=this.ba.rG();return this.bc?this.ba.ut(this.Wh.top,a)-this.jb.NF:this.ba.LL(a)};b.prototype.gda=function(){var a=this.ba.qG();return this.bc?this.ba.vt(this.Wh.left,a)-this.jb.Dt:this.ba.sL(a)};b.prototype.dispose=function(){this.jb.dispose();d.Ku.prototype.dispose.call(this)};r.Object.defineProperties(b.prototype,{bc:{configurable:!0,enumerable:!0,get:function(){return this.xQ},set:function(a){this.xQ!=a&&(this.xQ=a,this.Xa(this.bc?b.A6:b.BW))}},jb:{configurable:!0,
|
|
2128
2128
|
enumerable:!0,get:function(){return this.Vk}},width:{configurable:!0,enumerable:!0,get:function(){return this.zv},set:function(a){this.zv!=a&&(this.element.style.minWidth=a+"px",this.zv=a,this.Vk.width=a)}},height:{configurable:!0,enumerable:!0,get:function(){return this.$s},set:function(a){this.$s!=a&&(this.element.style.height=a+"px",this.$s=a,this.Vk.height=a)}}});b.A6="switched_to_smooth";b.BW="switched_to_simple";d.Np=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2129
2129
|
(function(f){(function(k){(function(h){(function(d){function b(a,c,e,g){this.left=void 0===a?0:a;this.top=void 0===c?0:c;this.right=void 0===e?0:e;this.bottom=void 0===g?0:g}b.prototype.set=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};b.prototype.reset=function(){this.bottom=this.right=this.top=this.left=0};b.prototype.contains=function(a){return this.left<=a.left&&this.top<=a.top&&this.right>=a.right&&this.bottom>=a.bottom};b.prototype.clone=function(){return new b(this.left,
|
|
2130
2130
|
this.top,this.right,this.bottom)};d.aE=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
@@ -2143,25 +2143,25 @@ l=g.from,m=g.Hp;g=e?m.y:l.y;var n=e?m.y:l.y;g=this.Dxa(g+c,e?m.x:l.x);g<this.coo
|
|
|
2143
2143
|
this.fj.ea(g),null!=e.Pj&&(e=this.UF(e.Xx),c+=this.iva(e.from,e.Hp),g<this.fj.length-1&&(c+="\n"));0<c.length&&this.ou.PF(c)};a.prototype.iva=function(c,e){var g="";if(null==c||null==e)return g;var l=Math.min(c.x,e.x),m=Math.max(c.x,e.x),n=Math.max(c.y,e.y);for(e=Math.min(c.y,e.y);e<=n;e++){for(var p=l;p<=m;p++){p>l&&(g+="\t");c=this.ka.Tf(e,p,!0);if(null==c&&(c=e<this.coords.Sg&&p>=this.coords.Sf?this.ka.Tf(e,p-this.coords.Sf+this.coords.Jd,!0):null,null==c))continue;g+=null==c?"":c.J()}e<n&&(g+=
|
|
2144
2144
|
"\n")}return g};r.Object.defineProperties(a.prototype,{Nq:{configurable:!0,enumerable:!0,get:function(){return this.fj}},Hp:{configurable:!0,enumerable:!0,get:function(){return this.oF},set:function(c){this.oF=c}},from:{configurable:!0,enumerable:!0,get:function(){return this.oF},set:function(c){this.Ex=c}},Kga:{configurable:!0,enumerable:!0,get:function(){return this.SJ}},paa:{configurable:!0,enumerable:!0,get:function(){return this.EJ}},hta:{configurable:!0,enumerable:!0,get:function(){return this.LIa}}});
|
|
2145
2145
|
d.opa=a;b.prototype.fG=function(c){return c.x==this.x&&c.y==this.y};d.Yp=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2146
|
-
(function(f){(function(k){(function(h){(function(d){function b(e){this.ka=this.RJ=this.DJ=this.iF=this.ME=this.NP=null;this.ka=e;this.NP=this.RK()}function a(){}function c(e,g){var l=this;this.mF=this.uT=!1;this.cq=this.f$=null;this.V$=5;this.EIa=17;this.PT=!1;this.kH=function(m){return l.IU(m)};this.ifa=function(m){return l.h3(m)};this.
|
|
2146
|
+
(function(f){(function(k){(function(h){(function(d){function b(e){this.ka=this.RJ=this.DJ=this.iF=this.ME=this.NP=null;this.ka=e;this.NP=this.RK()}function a(){}function c(e,g){var l=this;this.mF=this.uT=!1;this.cq=this.f$=null;this.V$=5;this.EIa=17;this.PT=!1;this.kH=function(m){return l.IU(m)};this.ifa=function(m){return l.h3(m)};this.hi=e;this.ka=g;this.coords=this.ka.coords;this.cq=new d.kja;this.cq.Va();this.ka.V(this.cq);this.ka.element.addEventListener("mousedown",this.kH);this.ka.element.addEventListener("mouseup",
|
|
2147
2147
|
this.kH)}c.prototype.IU=function(e){if(1==e.which||3==e.which){var g=B.Aa.Qb(e.target);if("mousedown"!=e.type||!(g.Nc(h.W.wa.Pp)||g.Nc(h.W.wa.FI)||g.Nc(h.W.wa.zI)||null!=g.closest(".fm-filters")||null!=g.closest("."+h.W.wa.OI))){var l=this.ka.Uf();g=e.clientX-l.left;l=e.clientY-l.top;if(!(g>this.coords.qt||l>this.coords.le+this.coords.Ox||(l=this.coords.TS(l,this.ka.bc),g=this.coords.zS(g,this.ka.bc),isNaN(l)||isNaN(g))))switch(this.uT=!x.Ui.Tn&&e.ctrlKey||x.Ui.Tn&&e.metaKey,this.PT=3==e.which,e.type){case "mousedown":this.Ew(l,
|
|
2148
|
-
g);break;case "mousemove":this.Fw(l,g);break;case "mouseup":this.Hq(l,g)}}}};c.prototype.h3=function(e){var g=B.Aa.Qb(this.ka.element),l=e.clientX;e=e.clientY;(l<g.left||e<g.top||l>g.left+this.ka.width||e>g.top+this.ka.height)&&this.VJa()};c.prototype.select=function(e,g,l,m){this.HD=!1;this.
|
|
2149
|
-
this.kH);f.Uj.addEventListener("mousemove",this.ifa)};c.prototype.Hq=function(e,g){this.HD&&(this.HD=!1,this.PT||(-1==e?this.
|
|
2150
|
-
this.kH);this.cq.dispose();this.coords=this.ka=this.
|
|
2151
|
-
null!=f.u.La.P().I){var g=this.ka.Nq;if(this.
|
|
2152
|
-
1,l=0>l?0:l);this.coords.le+this.coords.Ox<=e.Yk.bottom+e.height&&(e.top=e.Yk.bottom-this.EIa);e.left=e.Yk.right-l;e.vga.width=l;e.width=l}}};c.prototype.xKa=function(e,g){this.
|
|
2148
|
+
g);break;case "mousemove":this.Fw(l,g);break;case "mouseup":this.Hq(l,g)}}}};c.prototype.h3=function(e){var g=B.Aa.Qb(this.ka.element),l=e.clientX;e=e.clientY;(l<g.left||e<g.top||l>g.left+this.ka.width||e>g.top+this.ka.height)&&this.VJa()};c.prototype.select=function(e,g,l,m){this.HD=!1;this.hi.select(new d.Yp(g,e),new d.Yp(m,l))};c.prototype.VJa=function(){this.HD=!1};c.prototype.Ew=function(e,g){this.HD=!0;this.hi.select(new d.Yp(g,e),new d.Yp(g,e));this.ka.element.addEventListener("mousemove",
|
|
2149
|
+
this.kH);f.Uj.addEventListener("mousemove",this.ifa)};c.prototype.Hq=function(e,g){this.HD&&(this.HD=!1,this.PT||(-1==e?this.hi.HIa(g):-1==g?this.hi.KIa(e):this.hi.from&&!this.hi.from.fG(new d.Yp(g,e))&&this.hi.aha(new d.Yp(g,e))))};c.prototype.Fw=function(e,g){this.HD&&(!this.hi.Hp||this.hi.Hp.x==g&&this.hi.Hp.y==e||this.hi.aha(new d.Yp(g,e)))};c.prototype.dispose=function(){this.ka.element&&this.ka.element.removeEventListener("mousedown",this.kH);this.ka.element&&this.ka.element.removeEventListener("mouseup",
|
|
2150
|
+
this.kH);this.cq.dispose();this.coords=this.ka=this.hi=null;null!=this.zp&&(this.zp.remove(),this.zp=null)};c.prototype.M3=function(){this.cq.bIa();for(var e=0;e<this.hi.Nq.length;e++){var g=this.hi.Nq.ea(e);var l=this.hi.UF(this.hi.Nq.th(e));this.vra(g,l.from,l.Hp)}this.wra(this.cq);this.Bwa(this.zp)};c.prototype.Bwa=function(e){if(null!=e){e.Va();var g=this.hi.UF(e.Xx);-1!=g.js&&this.Mwa(g.js,e);-1!=g.Ct&&this.Lwa(g.Ct,e)}};c.prototype.wra=function(e){e.Va();if(f.model.B.C.rJa&&e.lBa()&&null!=f.u.La.P()&&
|
|
2151
|
+
null!=f.u.La.P().I){var g=this.ka.Nq;if(this.hi.ata(g)&&(e.RCa(),this.xKa(e,g),!e.dBa())){e.show();e.Av.yj("auto");e.top=e.Yk.bottom;g=this.coords.jl(this.coords.Jd,this.ka.bc);for(var l=0,m=0;m<e.Eo.length;m++)l+=e.Eo.ea(m).width;l=l+2*this.V$+2*(e.Eo.length-1)*this.V$;e.Av.width=l;g-e.Yk.right+l>this.coords.scrollLeft?e.Yk.right=e.Yk.left+l:g>e.Yk.right-l?(e.Av.R("left","auto"),e.Av.right=0,l=e.Yk.right-g):e.Yk.Hga>=this.coords.qt&&(e.Av.R("left","right"),e.Av.left=0,l=l-(e.Yk.Hga-this.coords.qt)-
|
|
2152
|
+
1,l=0>l?0:l);this.coords.le+this.coords.Ox<=e.Yk.bottom+e.height&&(e.top=e.Yk.bottom-this.EIa);e.left=e.Yk.right-l;e.vga.width=l;e.width=l}}};c.prototype.xKa=function(e,g){this.hi.hta.IHa(e,g)};c.prototype.vra=function(e,g,l){e.Va();var m=Math.min(g.x,l.x),n=Math.min(g.y,l.y),p=Math.max(g.x,l.x);g=Math.max(g.y,l.y);this.xHa(m,p,n,g,e);f.model.B.C.zl&&this.Ewa(m,p,n,g,e);l=this.coords.qt;var t=this.coords.le+this.coords.Ox,q=Math.max(this.coords.le,this.coords.Qn(n,this.ka.bc)-1),v=this.coords.Qn(g+
|
|
2153
2153
|
1,this.ka.bc),y=Math.min(t,v),A=Math.max(0,this.coords.jl(m,this.ka.bc)-1),C=this.coords.jl(p+1,this.ka.bc),E=Math.min(l,C),K=y-q,J=E-A;2>=J||2>=K?null!=e.Pj&&e.Pj.Va():A<l&&q<t?(null!=e.Pj&&(e.Pj.show(),e.Pj.top=q,e.Pj.left=A,e.Pj.width=J,e.Pj.height=K,this.cq.Yk.bottom*this.cq.Yk.right<=E*y&&(this.cq.Yk.left=A,this.cq.Yk.right=E,this.cq.Yk.bottom=y,this.cq.Yk.Hga=C)),n<this.coords.Wd&&C>E&&(e.Faa(),e.wk.top=q,e.wk.left=E,e.wk.width=Math.min(C,this.coords.fp)-E,e.wk.height=Math.min(y,this.coords.le+
|
|
2154
|
-
this.coords.pq)-q,e.wk.Wa("fm-clear-border-bottom",g>this.coords.Wd),e.wk.Wa("fm-clear-border-right",C>this.coords.fp),e.wk.
|
|
2154
|
+
this.coords.pq)-q,e.wk.Wa("fm-clear-border-bottom",g>this.coords.Wd),e.wk.Wa("fm-clear-border-right",C>this.coords.fp),e.wk.zd("fm-clear-border"),e.wk.show()),m<this.coords.Jd&&v>y&&(e.Maa(),e.Ik.top=y,e.Ik.left=A,e.Ik.width=Math.min(E,this.coords.wp)-A,e.Ik.height=Math.min(v,this.coords.Tr)-y,e.Ik.Wa("fm-clear-border-bottom",v>this.coords.Tr),e.Ik.Wa("fm-clear-border-right",p>this.coords.Jd),e.Ik.zd("fm-clear-border"),e.Ik.show()),null!=e.Pj&&(e.Pj.Wa("fm-clear-border-right",C>E),e.Pj.Wa("fm-clear-border-bottom",
|
|
2155
2155
|
v>y))):null!=e.Pj&&e.Pj.Va()};c.prototype.Mwa=function(e,g){if(!isNaN(e)){null==g.xp&&g.Naa();var l=this.coords.Qn(e,this.ka.bc);e=this.coords.Qn(e+1,this.ka.bc);var m=Math.min(this.coords.le+this.coords.Ox,e);l<this.coords.le+this.coords.Ox?(g.xp.left=0,g.xp.top=l,g.xp.width=this.coords.qt,g.xp.height=m-l,g.xp.show(),e>m&&(g.Maa(),g.Ik.top=m,g.Ik.left=0,g.Ik.width=this.coords.wp,g.Ik.height=Math.min(e,this.coords.Tr)-m,g.Ik.Y("fm-clear-border"),g.Ik.show())):g.xp.Va()}};c.prototype.Lwa=function(e,
|
|
2156
2156
|
g){if(!isNaN(e)){null==g.Lo&&g.Gaa();var l=this.coords.jl(e,this.ka.bc);e=this.coords.jl(e+1,this.ka.bc);var m=Math.min(this.coords.qt,e);l<this.coords.qt?(g.Lo.left=l,g.Lo.top=this.coords.le,g.Lo.width=m-l,g.Lo.height=this.coords.Ox,g.Lo.show(),e>m&&(g.Faa(),g.wk.top=this.coords.le,g.wk.left=m,g.wk.width=Math.min(e,this.coords.fp)-m,g.wk.height=this.coords.pq,g.wk.Y("fm-clear-border"),g.wk.show())):g.Lo.Va()}};c.prototype.Ewa=function(e,g,l,m,n){this.Cwa(n.Lo,e,g);this.Dwa(n.xp,l,m)};c.prototype.xHa=
|
|
2157
|
-
function(e,g,l,m,n){if(!this.
|
|
2157
|
+
function(e,g,l,m,n){if(!this.hi.Kga.hasOwnProperty(l.toString())){n.Naa();for(var p=l;p<=m;p++)this.hi.Kga[p.toString()]=l==m&&e==g?a.e8:a.WN}if(!this.hi.paa.hasOwnProperty(e.toString()))for(n.Gaa(),p=e;p<=g;p++)this.hi.paa[p.toString()]=l==m&&e==g?a.e8:a.WN};c.prototype.Cwa=function(e,g,l){null!=e&&(g=this.coords.jl(g,this.ka.bc),l=Math.min(this.coords.fp,this.coords.jl(l+1,this.ka.bc)),g<this.coords.fp?(e.left=g,e.top=this.coords.le,e.width=l-g,e.height=this.coords.$t(),e.show()):e.Va())};c.prototype.Dwa=
|
|
2158
2158
|
function(e,g,l){null!=e&&(g=this.coords.Qn(g,this.ka.bc),l=Math.min(this.coords.Tr,this.coords.Qn(l+1,this.ka.bc)),e.left=0,e.top=g,e.width=this.coords.Or(),e.height=l-g,e.show())};r.Object.defineProperties(c.prototype,{HD:{configurable:!0,enumerable:!0,get:function(){return this.mF},set:function(e){this.mF=e;this.HD||(this.ka.element.removeEventListener("mousemove",this.kH),document.removeEventListener("mousemove",this.ifa))}},zp:{configurable:!0,enumerable:!0,get:function(){return this.f$},set:function(e){this.f$=
|
|
2159
2159
|
e}}});d.npa=c;a.e8=1;a.WN=2;d.f6=a;b.prototype.RK=function(){var e=new B.Aa("div","fm-sheet-selection-canvas");e.Va();this.ka.V(e);return e};b.prototype.Gaa=function(){null==this.ME&&(this.ME=this.RK(),this.ME.Y("fm-sheet-selection-header"))};b.prototype.Naa=function(){null==this.iF&&(this.iF=this.RK(),this.iF.Y("fm-sheet-selection-header"))};b.prototype.Maa=function(){null==this.RJ&&(this.RJ=this.RK(),this.RJ.Y("fm-clear-border-top"))};b.prototype.Faa=function(){null==this.DJ&&(this.DJ=this.RK(),
|
|
2160
2160
|
this.DJ.Y("fm-clear-border-left"))};b.prototype.Va=function(){this.Lo&&this.Lo.Va();this.xp&&this.xp.Va();this.wk&&this.wk.Va();this.Ik&&this.Ik.Va();this.Pj&&this.Pj.Va()};b.prototype.remove=function(){null!=this.Pj&&(this.Pj.remove(),this.NP=null);null!=this.Lo&&(this.Lo.remove(),this.ME=null);null!=this.xp&&(this.xp.remove(),this.iF=null);null!=this.wk&&(this.wk.remove(),this.DJ=null);null!=this.Ik&&(this.Ik.remove(),this.RJ=null);this.ka=null};r.Object.defineProperties(b.prototype,{Xx:{configurable:!0,
|
|
2161
2161
|
enumerable:!0,get:function(){return this.xqa},set:function(e){this.xqa=e}},Ik:{configurable:!0,enumerable:!0,get:function(){return this.RJ}},wk:{configurable:!0,enumerable:!0,get:function(){return this.DJ}},xp:{configurable:!0,enumerable:!0,get:function(){return this.iF},set:function(e){this.iF=e}},Lo:{configurable:!0,enumerable:!0,get:function(){return this.ME},set:function(e){this.ME=e}},Pj:{configurable:!0,enumerable:!0,get:function(){return this.NP},set:function(e){this.NP=e}}});d.z8=b})(h.sheet||
|
|
2162
2162
|
(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2163
2163
|
(function(f){(function(k){(function(h){(function(d){function b(){this.t9=null}b.prototype.IHa=function(a,c){this.Nm=this.zxa(c);var e=null==this.Nm?f.model.$b.Ti.HS().clone():this.Nm.Hh(this.Nm.uniqueName,this.Nm.$).clone();e.Jm=e.Jm==f.model.$b.Ti.wca().Jm?2:e.Jm;for(var g=0;g<a.Sy.length;g++){var l=this.qta(a.Sy[g],c);0!=l?a.Qh(a.Sy[g],this.tza(l,a.Sy[g],e.clone())):a.MAa(a.Sy[g])}this.Nm=null};b.prototype.tza=function(a,c,e){var g="count"==c||null!=this.Nm&&f.u.i.ca.Vf(this.Nm.$),l="count"!=c&&
|
|
2164
|
-
null!=this.Nm&&f.u.i.ca.Zd(this.Nm.$),m=null!=this.Nm&&this.Nm.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(this.Nm.$);e.Zd="count"==c?!1:e.Zd;e.xd=null!=this.Nm&&this.Nm.$==f.u.i.ca.
|
|
2164
|
+
null!=this.Nm&&f.u.i.ca.Zd(this.Nm.$),m=null!=this.Nm&&this.Nm.type==f.u.i.Ka.Zb&&f.u.i.ca.jo(this.Nm.$);e.Zd="count"==c?!1:e.Zd;e.xd=null!=this.Nm&&this.Nm.$==f.u.i.ca.pi?"":e.xd;return m&&!isNaN(a)&&"count"!=c?f.O.Uw(a,f.model.B.C.Fp):x.Vb.format(a,e,g,l)};b.prototype.qta=function(a,c){switch(a){case "sum":return this.tta(c);case "average":return this.rta(c);case "count":return this.sta(c)}return 0};b.prototype.tta=function(a){for(var c=0,e=0;e<a.length;e++)c+=a[e].Mh&&!isNaN(a[e].value)&&this.JT(a[e])?
|
|
2165
2165
|
a[e].value:0;return c};b.prototype.rta=function(a){for(var c=0,e=0,g=0;g<a.length;g++)a[g].Mh&&!isNaN(a[g].value)&&this.JT(a[g])&&(c+=a[g].value,e++);return 0==e?0:c/e};b.prototype.sta=function(a){for(var c=0,e=0;e<a.length;e++)(a[e].Mh&&!isNaN(a[e].value)||a[e].ll&&a[e].Mh&&""!=a[e].label)&&c++;return c};b.prototype.zxa=function(a){for(var c=null,e=0;e<a.length;e++)if(this.JT(a[e])&&null==c&&!f.v(a[e].measure))c=a[e].measure;else if(this.JT(a[e])&&null!=c&&c.uniqueName!=a[e].measure.uniqueName){c=
|
|
2166
2166
|
null;break}return c};b.prototype.JT=function(a){return a.ll&&a.Mh&&!isNaN(a.value)||a.Mh&&null!=a.measure&&!isNaN(a.value)&&f.u.i.Ka.uc!=a.measure.type&&f.u.i.Ka.Pa!=a.measure.type&&f.u.i.Ka.Ec!=a.measure.type};r.Object.defineProperties(b.prototype,{Nm:{configurable:!0,enumerable:!0,get:function(){return this.t9},set:function(a){this.t9=a}}});d.lja=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2167
2167
|
(function(f){(function(k){(function(h){(function(d){function b(){var c=B.Aa.call(this,"div","fm-auto-calculation-bar-content")||this;c.display="inline-block";c.ue();return c}function a(c){c=void 0===c?null:c;var e=B.Aa.call(this,"div","fm-auto-calculation-bar")||this;e.vY=["average","count","sum"];e.WQ={};e.UP={right:-1E3,bottom:1E3};e.uqa=new f.ob;e.vY=null==c?e.vY:c;e.UAa();e.ue();return e}u(a,B.Aa);a.prototype.UAa=function(){this.WQ.average=f.model.A.j.z5;this.WQ.sum=f.model.A.j.x8;this.WQ.count=
|
|
@@ -2179,33 +2179,33 @@ function La(){this.text=this.tag="";this.style={};this.attr={};this.classes=[];t
|
|
|
2179
2179
|
function Ha(f){f=void 0===f?"div":f;this.lra=new La;this.clear();this.tag=f}Ha.prototype.Y=function(f){this.node.addClass(f)};Ha.prototype.clear=function(){this.tag="div";this.text="";this.style={};this.attr={};this.node.classes=[]};function Ja(f,k){k=void 0===k?!0:k;var h=f.node.toHtml();k&&f.clear();null!=w.K.X.W.ae.Wv&&(h=w.model.Nb.valid(h)?h:w.model.Nb.validate(h));return h}
|
|
2180
2180
|
r.Object.defineProperties(Ha.prototype,{node:{configurable:!0,enumerable:!0,get:function(){return this.lra}},tag:{configurable:!0,enumerable:!0,get:function(){return this.node.tag},set:function(f){this.node.tag=f}},text:{configurable:!0,enumerable:!0,get:function(){return this.node.text},set:function(f){this.node.text=f}},style:{configurable:!0,enumerable:!0,get:function(){return this.node.style},set:function(f){this.node.style=f}},attr:{configurable:!0,enumerable:!0,get:function(){return this.node.attr},
|
|
2181
2181
|
set:function(f){this.node.attr=f}}});
|
|
2182
|
-
(function(f){(function(k){(function(h){(function(d){function b(){return d.Np.apply(this,arguments)||this}u(b,d.Np);b.prototype.hb=function(){this.mz();var a=this.On();if(this.bc||this.ba.LC(a.bottom)||this.ba.KC(a.right)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Hi&&(c.right=Math.min(c.right,this.ba.Hi));0!=this.ba.Yj&&(c.bottom=Math.min(c.bottom,this.ba.Yj));if(!this.bc||!this.
|
|
2183
|
-
(a.left=Math.max(a.left-1,this.ba.Jd)),this.ba.LC(a.bottom)&&(a.top=Math.max(a.top-1,this.ba.Wd)),this.jb.content.html(this.QF(a)),this.bc=!1,this.Gl.set(a)}};b.prototype.lK=function(){this.bc?(this.jb.NF=this.ba.scrollTop-this.ba.ut(this.ba.Wd,this.
|
|
2184
|
-
this.ba.Jv&&this.
|
|
2182
|
+
(function(f){(function(k){(function(h){(function(d){function b(){return d.Np.apply(this,arguments)||this}u(b,d.Np);b.prototype.hb=function(){this.mz();var a=this.On();if(this.bc||this.ba.LC(a.bottom)||this.ba.KC(a.right)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Hi&&(c.right=Math.min(c.right,this.ba.Hi));0!=this.ba.Yj&&(c.bottom=Math.min(c.bottom,this.ba.Yj));if(!this.bc||!this.Wh.contains(c)||!this.ba.Jv&&(a.left>this.ba.Jd&&a.left<=this.Wh.left||a.top>this.ba.Wd&&a.top<=this.Wh.top))this.ba.KC(a.right)&&
|
|
2183
|
+
(a.left=Math.max(a.left-1,this.ba.Jd)),this.ba.LC(a.bottom)&&(a.top=Math.max(a.top-1,this.ba.Wd)),this.jb.content.html(this.QF(a)),this.bc=!1,this.Gl.set(a)}};b.prototype.lK=function(){this.bc?(this.jb.NF=this.ba.scrollTop-this.ba.ut(this.ba.Wd,this.Wh.top),this.jb.Dt=this.ba.scrollLeft-this.ba.vt(this.ba.Jd,this.Wh.left)):(this.jb.NF=-this.ba.LL(this.Gl.top),this.jb.Dt=-this.ba.sL(this.Gl.left))};b.prototype.py=function(){var a=this.jb.OF;this.mz();a=this.jb.OF-a;var c=this.On(!0);if(!(this.bc&&
|
|
2184
|
+
this.ba.Jv&&this.Wh.contains(c))){var e=this.hda(),g=this.gda(),l=this.On();this.Wh=c;this.jb.content.html(this.QF(c));this.jb.NF=this.ba.ut(this.Wh.top,l.top)-e;this.jb.Dt=this.ba.vt(this.Wh.left,l.left)-g;this.bc||this.ba.LC(this.Gl.bottom)||(this.jb.eN=this.ba.rC(this.ba.Sg,!1));this.bc||(this.ba.KC(this.Gl.right)?(this.ba.rN=a,this.jb.Dt+=a):this.jb.cN=this.ba.eC(this.ba.Sf,!1));this.bc=!0}};b.prototype.On=function(a){a=void 0===a?!1:a;var c=new d.aE;c.top=this.ba.rG(a);c.left=this.ba.qG(a);c.bottom=
|
|
2185
2185
|
this.ba.Dy(a);c.right=this.ba.dC(a);return c};b.prototype.mz=function(){this.jb.OF=Math.max(this.ba.Ht,this.ba.Hd-this.ba.qD);this.jb.xaa=Math.max(this.ba.Gt,this.ba.Gd-this.ba.pD);this.jb.content.right=this.ba.qD;this.jb.content.bottom=this.ba.pD;this.jb.PAa=this.ba.xC;this.jb.LKa=this.ba.yC};b.prototype.TM=function(a,c){for(var e=this,g=[],l=this.On(!0),m=l.top;m<l.bottom;m++)for(var n=0;n<a.length;n++){var p=a[n];this.s1(m,p)||(p=this.ay(m,p),delete p.attr.tabindex,g.push(Ja(p)))}var t=this.Vk.content.element.querySelector(".fm-row-hidden");
|
|
2186
2186
|
null==t&&(t=document.createElement("div"),t.classList.add("fm-row"),t.classList.add("fm-row-hidden"),this.Vk.content.element.appendChild(t),this.Vk.content.element.insertBefore(t,this.Vk.content.element.childNodes[0]));t.innerHTML=g.join("");this.requestAnimationFrame(function(){for(var q=0;q<t.children.length;q++)e.HN(t.children.item(q),!1,!0);c()})};b.prototype.dispose=function(){d.Np.prototype.dispose.call(this);this.jb.dispose()};d.u6=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||
|
|
2187
2187
|
(w={}));
|
|
2188
|
-
(function(f){(function(k){(function(h){(function(d){function b(){return d.Np.apply(this,arguments)||this}u(b,d.Np);b.prototype.hb=function(){this.mz();var a=this.On();if(this.bc||this.ba.LC(a.bottom)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Yj&&(c.bottom=Math.min(c.bottom,this.ba.Yj));this.bc&&this.
|
|
2189
|
-
a);this.cell.style["min-height"]=this.cell.style.height;delete this.cell.style.height;delete this.cell.style["line-height"];return this.cell};b.prototype.lK=function(){this.jb.NF=this.bc?this.ba.scrollTop-this.ba.ut(this.ba.Wd,this.
|
|
2190
|
-
this.ba.Jv&&this.
|
|
2188
|
+
(function(f){(function(k){(function(h){(function(d){function b(){return d.Np.apply(this,arguments)||this}u(b,d.Np);b.prototype.hb=function(){this.mz();var a=this.On();if(this.bc||this.ba.LC(a.bottom)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Yj&&(c.bottom=Math.min(c.bottom,this.ba.Yj));this.bc&&this.Wh.contains(c)||(this.ba.LC(a.bottom)&&(a.top=Math.max(a.top-1,this.ba.Wd)),this.jb.content.html(this.QF(a,f.model.B.C.zl)),this.xQ=!1,this.Gl.set(a))}};b.prototype.MR=function(a){this.cell=d.Np.prototype.MR.call(this,
|
|
2189
|
+
a);this.cell.style["min-height"]=this.cell.style.height;delete this.cell.style.height;delete this.cell.style["line-height"];return this.cell};b.prototype.lK=function(){this.jb.NF=this.bc?this.ba.scrollTop-this.ba.ut(this.ba.Wd,this.Wh.top):-this.ba.LL(this.Gl.top)};b.prototype.On=function(a){a=void 0===a?!1:a;var c=new d.aE;c.top=this.ba.rG(a);c.left=0;c.bottom=this.ba.Dy(a);c.right=this.ba.Jd;a&&c.bottom==this.ba.Yj&&c.bottom++;return c};b.prototype.py=function(){var a=this.On(!0);if(!(this.bc&&
|
|
2190
|
+
this.ba.Jv&&this.Wh.contains(a))){var c=this.hda(),e=this.On();this.Wh=a;this.jb.content.html(this.QF(a,f.model.B.C.zl));this.jb.NF=this.ba.ut(this.Wh.top,e.top)-c;this.bc||this.ba.LC(this.Gl.bottom)||(this.ba.scrollTop=this.jb.eN=this.ba.rC(this.ba.Sg,!1));this.bc=!0}};b.prototype.EKa=function(a){for(var c=0;c<a.columns.length;c++)for(var e=this.jb.content.element.querySelectorAll('[data-c="'+c+'"]'),g=0;g<e.length;g++)e.item(g).style.minWidth=this.ba.ah(c)+"px"};b.prototype.mz=function(){this.jb.xaa=
|
|
2191
2191
|
this.ba.Gt+this.ba.pD;this.jb.content.bottom=0;this.jb.scrollTop=this.ba.scrollTop};b.prototype.o0=function(a,c){a=this.ba.tL(a,!0)-1;c=this.ba.ML(c)-1;var e=this.wm(c,a);null==e&&(e=new h.W.ae,e.gb=c,e.hc=a);return e};d.Xoa=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2192
|
-
(function(f){(function(k){(function(h){(function(d){function b(a,c){a=d.Np.call(this,a,c)||this;a.zm=new d.YW(a);a.hQ=new d.hma(a);return a}u(b,d.Np);b.prototype.hb=function(){x.cancelIdleCallback(this.yJ);this.mz();var a=this.On();if(this.bc||this.ba.KC(a.right)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Hi&&(c.right=Math.min(c.right,this.ba.Hi));this.bc&&this.
|
|
2193
|
-
!1,f.model.B.C.zl)),this.zm.kz(),this.hQ.kz(),this.bc=!1,this.Gl.set(a))}};b.prototype.lK=function(){this.jb.Dt=this.bc?this.ba.scrollLeft-this.ba.vt(this.ba.Jd,this.
|
|
2194
|
-
var e=this.gda(),g=this.On();this.
|
|
2192
|
+
(function(f){(function(k){(function(h){(function(d){function b(a,c){a=d.Np.call(this,a,c)||this;a.zm=new d.YW(a);a.hQ=new d.hma(a);return a}u(b,d.Np);b.prototype.hb=function(){x.cancelIdleCallback(this.yJ);this.mz();var a=this.On();if(this.bc||this.ba.KC(a.right)||!this.Gl.contains(a)){var c=a.clone();0!=this.ba.Hi&&(c.right=Math.min(c.right,this.ba.Hi));this.bc&&this.Wh.contains(c)||(this.ba.KC(a.right)&&(a.left=Math.max(a.left-1,this.ba.Jd)),this.zm.Lw(),this.hQ.Lw(),this.jb.content.html(this.QF(a,
|
|
2193
|
+
!1,f.model.B.C.zl)),this.zm.kz(),this.hQ.kz(),this.bc=!1,this.Gl.set(a))}};b.prototype.lK=function(){this.jb.Dt=this.bc?this.ba.scrollLeft-this.ba.vt(this.ba.Jd,this.Wh.left):-this.ba.sL(this.Gl.left)};b.prototype.On=function(a){a=void 0===a?!1:a;var c=new d.aE;c.top=0;c.left=this.ba.qG(a);c.bottom=this.ba.Wd;c.right=this.ba.dC(a);a&&c.right==this.ba.Hi&&c.right++;return c};b.prototype.py=function(){var a=this.jb.OF;this.mz();a=this.jb.OF-a;var c=this.On(!0);if(!(this.bc&&this.ba.Jv&&this.Wh.contains(c))){x.cancelIdleCallback(this.yJ);
|
|
2194
|
+
var e=this.gda(),g=this.On();this.Wh=c;this.zm.Lw();this.hQ.Lw();this.jb.content.html(this.QF(c,!1,f.model.B.C.zl));this.zm.kz();this.hQ.kz();this.jb.Dt=this.ba.vt(this.Wh.left,g.left)-e;this.bc||(this.ba.KC(this.Gl.right)?this.jb.Dt+=a:this.jb.cN=this.ba.eC(this.ba.Sf,!1));this.bc=!0}};b.prototype.mz=function(){this.jb.OF=this.ba.Ht+this.ba.qD;this.jb.content.right=0};b.prototype.ita=function(){var a=this;x.cancelIdleCallback(this.yJ);this.yJ=x.requestIdleCallback(function(){return a.X8()})};b.prototype.X8=
|
|
2195
2195
|
function(){var a=this,c=this.ba.Oya();if(0!=c.length){for(var e=[],g=0;g<this.ba.Wd;g++)for(var l=0;l<c.length;l++){var m=c[l];this.s1(g,m)||(m=this.ay(g,m),delete m.attr.tabindex,e.push(Ja(m)))}var n=this.Vk.content.element.querySelector(".fm-row-hidden");null==n&&(n=document.createElement("div"),n.classList.add("fm-row"),n.classList.add("fm-row-hidden"),this.Vk.content.element.insertBefore(n,this.Vk.content.element.childNodes[0]));n.innerHTML=e.join("");this.requestAnimationFrame(function(){for(var p=
|
|
2196
2196
|
0;p<n.children.length;p++)a.HN(n.children.item(p),!1,!0);a.yJ=x.requestIdleCallback(function(){return a.X8()})})}};b.prototype.TM=function(a,c){for(var e=this,g=[],l=0;l<this.ba.Wd;l++)for(var m=0;m<a.length;m++){var n=a[m];this.s1(l,n)||(n=this.ay(l,n),delete n.attr.tabindex,g.push(Ja(n)))}var p=this.Vk.content.element.querySelector(".fm-row-hidden");null==p&&(p=document.createElement("div"),p.classList.add("fm-row"),p.classList.add("fm-row-hidden"),this.Vk.content.element.insertBefore(p,this.Vk.content.element.childNodes[0]));
|
|
2197
2197
|
p.innerHTML=g.join("");this.requestAnimationFrame(function(){for(var t=0;t<p.children.length;t++)e.HN(p.children.item(t),!1,!0);c()})};b.prototype.o0=function(a,c){a=this.ba.tL(a)-1;c=this.ba.ML(c,!0)-1;var e=this.wm(c,a);null==e&&(e=new h.W.ae,e.gb=c,e.hc=a);return e};b.prototype.BK=function(){x.cancelIdleCallback(this.yJ)};b.prototype.dispose=function(){this.BK();d.Np.prototype.dispose.call(this)};d.gO=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2198
2198
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Aa.call(this,"div","fm-grid-layout")||this;a.Lha=1E3;a.Nx=[];a.KJ=!1;a.PZ=function(c){return a.YDa(c)};a.Lga=function(c){return a.UFa(c)};a.yha=function(c){return a.dGa(c)};a.CK=0;a.dl();a.ba=new d.mh;a.vm=new d.ppa(a.ba);a.Cm=new d.opa(a);a.ue();a.ve(-1);a.preventScroll();return a}u(b,B.Aa);b.prototype.ue=function(){this.o_();this.Ova();this.Haa();this.Mva();this.xva();this.Lva()};b.prototype.o_=function(){this.tr=new B.Qc;
|
|
2199
|
-
this.tr.F.display="block";this.tr.Y("fm-grid-title");this.tr.Y("fm-pivot-title");this.tr.zV(!0);this.tr.F.R("position","relative");this.tr.Va();this.oB(this.tr)};b.prototype.Ova=function(){this.sr=new d.qpa(this.ba);this.sr.Y("fm-sheet-headers");this.V(this.sr)};b.prototype.Haa=function(){var a=this;this.hd=new d.gO(this.ba,function(c,e){return a.Tf(c,e)});this.hd.Y("fm-cols-sheet");this.hd.jb.element.addEventListener("wheel",this.PZ);this.hd.N(h.pc.ln,function(c){return a.$j(c)});x.
|
|
2200
|
-
"scroll"),this.hd.jb.placeholder.R("z-index","1"),this.hd.jb.N(Ka,function(){return a.WDa()},!0));this.V(this.hd)};b.prototype.Mva=function(){var a=this;this.oe=new d.Xoa(this.ba,function(c,e){return a.Tf(c,e)});this.oe.Y("fm-rows-sheet");this.oe.jb.element.addEventListener("wheel",this.Lga);this.oe.N(h.pc.ln,function(c){return a.$j(c)});x.
|
|
2199
|
+
this.tr.F.display="block";this.tr.Y("fm-grid-title");this.tr.Y("fm-pivot-title");this.tr.zV(!0);this.tr.F.R("position","relative");this.tr.Va();this.oB(this.tr)};b.prototype.Ova=function(){this.sr=new d.qpa(this.ba);this.sr.Y("fm-sheet-headers");this.V(this.sr)};b.prototype.Haa=function(){var a=this;this.hd=new d.gO(this.ba,function(c,e){return a.Tf(c,e)});this.hd.Y("fm-cols-sheet");this.hd.jb.element.addEventListener("wheel",this.PZ);this.hd.N(h.pc.ln,function(c){return a.$j(c)});x.Cd().Zl&&(this.hd.jb.R("overflow",
|
|
2200
|
+
"scroll"),this.hd.jb.placeholder.R("z-index","1"),this.hd.jb.N(Ka,function(){return a.WDa()},!0));this.V(this.hd)};b.prototype.Mva=function(){var a=this;this.oe=new d.Xoa(this.ba,function(c,e){return a.Tf(c,e)});this.oe.Y("fm-rows-sheet");this.oe.jb.element.addEventListener("wheel",this.Lga);this.oe.N(h.pc.ln,function(c){return a.$j(c)});x.Cd().Zl&&(this.oe.jb.R("overflow","scroll"),this.oe.jb.placeholder.R("z-index","1"),this.oe.jb.N(Ka,function(){return a.TFa()},!0));this.V(this.oe)};b.prototype.xva=
|
|
2201
2201
|
function(){var a=this;this.Oc=new d.u6(this.ba,function(c,e){return a.Tf(c,e)});this.Oc.Y("fm-data-sheet");this.Oc.jb.N(Ka,function(){return a.jEa()},!0);this.Oc.N(d.Np.BW,function(c){return a.Cfa(c)});this.Oc.N(d.Np.A6,function(c){return a.Cfa(c)});this.Oc.N(h.pc.ln,function(c){return a.$j(c)});this.V(this.Oc)};b.prototype.Lva=function(){var a=this;this.kr=new d.tka(this);this.kr.Y("fm-cols-resize");this.kr.N(h.pc.CE,function(c){return a.TDa(c)});this.V(this.kr);this.rr=new d.Yoa(this);this.rr.Y("fm-rows-resize");
|
|
2202
2202
|
this.rr.N(h.pc.DE,function(c){return a.SFa(c)});this.V(this.rr);this.element.addEventListener("dblclick",this.yha)};b.prototype.hb=function(a){var c=this;a=void 0===a?!1:a;this.ba.tha();this.ba.lR();this.Oc.width&&this.Oc.height||this.bG();this.ba.setScale();this.ba.rN=0;this.H$();f.yq(this.ZX);this.y_();this.Nx.push(this.requestAnimationFrame(function(){return c.YX(a)}))};b.prototype.y_=function(){for(;0<this.Nx.length;)this.cancelAnimationFrame(this.Nx.pop())};b.prototype.YX=function(a){var c=this;
|
|
2203
2203
|
a=void 0===a?!1:a;this.Xa(k.ti.$w,this,{smooth:!1});k.Hb.zb.Xa(k.ti.$w,this,{smooth:!1});var e=this.ba.$Q();this.bc&&this.oe.EKa(e);this.aG();this.KJ&&(this.BZ()&&(this.ba.$Q(),this.hd.GF(),this.oe.GF(),this.aG()),this.KJ=!1);this.$K();f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.ko,{smooth:!1}));this.Nx.push(this.requestAnimationFrame(function(){c.bG();c.Cm.hb()}));this.Nx.push(this.requestAnimationFrame(function(){var g=!a&&c.AZ();g?(c.hd.GF(),c.oe.GF(),c.Oc.GF(),c.hb(!0)):c.ba.vta&&(f.yq(c.ZX),
|
|
2204
2204
|
c.ZX=f.re(function(){return c.py()},c.Lha));!g&&f.model.B.C.TB&&c.hH()}));this.Nx.push(this.requestAnimationFrame(function(){c.Xa(k.ti.ko,c,{smooth:!1});k.Hb.zb.Xa(k.ti.ko,c,{smooth:!1})}))};b.prototype.aG=function(){this.D_();this.ba.PV=this.vda()?this.tr.rd(!0):0;this.hd.hb();this.hd.lK();this.oe.hb();this.oe.lK()};b.prototype.$K=function(){this.sr.hb();this.Cm.hb();this.kr.hb();this.rr.hb();this.Oc.hb();this.Oc.lK()};b.prototype.D_=function(){this.vda()?(this.tr.bb(f.model.B.C.Cq),this.tr.show()):
|
|
2205
2205
|
this.tr.Va()};b.prototype.vda=function(){return!(f.ia(f.model.B.C.Cq)||this instanceof d.flat.II&&this.ll)};b.prototype.BZ=function(){this.hd.Rx(!0);this.oe.Rx(!0);return this.hd.FC||this.oe.FC};b.prototype.AZ=function(){this.Oc.Rx(!0);this.hd.Rx(!0);this.oe.Rx(!0);return this.Oc.FC||this.hd.FC||this.oe.FC};b.prototype.py=function(){var a=this;this.y_();this.Nx.push(this.requestAnimationFrame(function(){return a.Lqa()}))};b.prototype.Lqa=function(){var a=this;this.TM(function(){k.Hb.zb.Xa(k.ti.$w,
|
|
2206
2206
|
a,{smooth:!0});a.hd.py();a.oe.py();a.Oc.py();a.ba.scrollLeft=a.Oc.jb.scrollLeft;a.ba.scrollTop=a.Oc.jb.scrollTop;f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.ko,{smooth:!0}));a.type==d.flat.II.TYPE&&f.model.B.C.TB&&a.hH();a.ba.Jv||0!=a.ba.scrollLeft||a.hd.ita();a.Nx.push(a.requestAnimationFrame(function(){k.Hb.zb.Xa(k.ti.ko,a,{smooth:!0})}))})};b.prototype.TM=function(a){var c=this,e=this.ba.Pya(this.ba.On(!0));0==e.length?a():this.hd.TM(e,function(){c.Oc.TM(e,a)})};b.prototype.Cfa=function(a){var c=
|
|
2207
|
-
this;a.type==d.Np.BW&&this.requestAnimationFrame(function(){c.hd.aia();c.oe.aia()})};b.prototype.jEa=function(){this.u4(this.Oc.jb.scrollTop,this.Oc.jb.scrollLeft)};b.prototype.TFa=function(){this.u4(this.oe.jb.scrollTop)};b.prototype.WDa=function(){this.u4(NaN,this.hd.jb.scrollLeft)};b.prototype.UFa=function(a){if(this.coords.yC){var c=a.wheelDeltaY||a.deltaY||a.wheelDelta||0;x.
|
|
2208
|
-
function(a){if(this.coords.xC){var c=a.wheelDeltaX||a.deltaX||0;x.
|
|
2207
|
+
this;a.type==d.Np.BW&&this.requestAnimationFrame(function(){c.hd.aia();c.oe.aia()})};b.prototype.jEa=function(){this.u4(this.Oc.jb.scrollTop,this.Oc.jb.scrollLeft)};b.prototype.TFa=function(){this.u4(this.oe.jb.scrollTop)};b.prototype.WDa=function(){this.u4(NaN,this.hd.jb.scrollLeft)};b.prototype.UFa=function(a){if(this.coords.yC){var c=a.wheelDeltaY||a.deltaY||a.wheelDelta||0;x.Cd().XG&&(c*=-40);x.Cd().Gi&&(c*=-1);isNaN(c)||0==c||(this.Oc.jb.scrollTop=this.ba.scrollTop-c);a.preventDefault()}};b.prototype.YDa=
|
|
2208
|
+
function(a){if(this.coords.xC){var c=a.wheelDeltaX||a.deltaX||0;x.Cd().XG&&(c*=-40);x.Cd().Gi&&(c*=-1);0!=c&&(this.Oc.jb.scrollLeft=this.ba.scrollLeft-c);a.preventDefault()}};b.prototype.preventScroll=function(){this.element.addEventListener("scroll",function(a){a.target.scrollTo(0,0)})};b.prototype.bG=function(){this.width=this.coords.fp;this.height=this.coords.Tr;this.kr.left=0;this.kr.top=this.coords.le;this.kr.right=0;this.kr.height=this.coords.$t();this.rr.left=0;this.rr.top=this.coords.le;this.rr.bottom=
|
|
2209
2209
|
0;this.rr.width=this.coords.Or()};b.prototype.lAa=function(a,c,e){if(c&&e)for(var g=this.Cm.aya(c,e);g<=this.Cm.mKa(c,e);g++)for(var l=this.Cm.Txa(c,e);l<=this.Cm.bKa(c,e);l++){var m=this.Tf(g,l,!0);null==m&&(m=new h.W.ae,m.gb=g,m.hc=l);a.push(m)}};b.prototype.Tf=function(a,c,e){e=void 0===e?!1:e;var g=this.vm.getData(a,c,!e);return e&&null==g?this.vm.gza(a,c):g};b.prototype.insertCell=function(a,c,e,g){this.vm.setData(a,c,e,void 0===g?!1:g)};b.prototype.resize=function(a,c){this.ba.resize(a,c,!0)};
|
|
2210
2210
|
b.prototype.jha=function(a,c){this.ba.Ro=a;this.ba.$k=c};b.prototype.oca=function(a){a!=this.ba.Wd&&(this.ba.Sg=a+(this.ba.Sg-this.ba.Wd));this.ba.Wd=a};b.prototype.Rxa=function(a){a!=this.ba.Jd&&(this.ba.Sf=a+(this.ba.Sf-this.ba.Jd));this.ba.Sf<a&&(this.ba.Sf=a);this.ba.Jd=a};b.prototype.yt=function(){this.KJ=!0;this.vm.reset();this.ba.reset();this.hd.Ov();this.oe.Ov();this.Oc.Ov();this.Cm.clear();this.Oc.jb.scrollTop=0;this.Oc.jb.scrollLeft=0;this.BK()};b.prototype.clearData=function(){this.vm.reset();
|
|
2211
2211
|
this.hd.Ov();this.oe.Ov();this.Oc.Ov();this.ba.lR();this.ba.Uta()};b.prototype.HF=function(a){this.KJ=!0;this.ba.HF(a)};b.prototype.CB=function(a){this.KJ=!0;this.ba.CB(a)};b.prototype.select=function(a,c,e,g){this.Cm.select(new d.Yp(c,a),new d.Yp(g,e));this.element.focus({preventScroll:!0})};b.prototype.Fr=function(){this.Cm.clear();this.element.blur()};b.prototype.BK=function(){this.y_();f.yq(this.ZX);f.yq(this.jaa);this.hd.BK()};b.prototype.dispose=function(){this.vm.dispose();this.Cm.dispose();
|
|
@@ -2229,7 +2229,7 @@ function(a){if(!f.model.B.C.Tm){var c=a.element;c.Nc(h.W.wa.Pp)&&(c=parseInt(c.a
|
|
|
2229
2229
|
this.html(Ja(a));this.zm.kz();0==this.rb.length?this.Va():this.show()}else this.Va()};b.prototype.JR=function(a,c,e){this.cell.clear();this.cell.tag="div";this.cell.Y(h.W.wa.xe);this.cell.Y(h.W.wa.Ej);e&&(this.cell.text=f.O.Ln(e.caption,!0,!0).replace(/\n/g,"<br>"),e.lM&&(f.model.B.C.Tm?(this.Ky(this.cell,e),this.cell.Y(h.W.wa.OI),this.cell.attr["data-h-name"]=e.uniqueName,this.cell.text+=this.zm.l_(e)):f.model.B.C.vz&&(this.cell.attr.title=f.model.A.j.zA,this.Ky(this.cell,e))));this.cell.style["min-height"]=
|
|
2230
2230
|
this.ba.Md(a)+"px";this.cell.style["max-height"]=this.ba.Md(a)+"px";this.cell.attr["data-r"]=a;this.cell.attr["data-c"]=this.ba.Sf+c;this.cell.attr["data-h"]=c;this.cell.attr.tabindex="0";return this.cell};b.prototype.Ky=function(a,c){a.Y(h.W.wa.Pp);c.filter.bh&&(a.Y(h.W.wa.IW),a.text+=this.Hn(h.W.wa.zI,f.model.A.j.FX));a.text+=this.Hn(h.W.wa.FI)};b.prototype.oz=function(a){for(var c=this.rb.length=0;c<a.length;c++){var e=a.ea(c);0==e.Ue&&this.rb.push(e)}0==this.rb.length?this.Va():this.show()};b.prototype.$j=
|
|
2231
2231
|
function(a){if(!f.model.B.C.Tm&&(a=a.element,a.Nc(h.W.wa.Pp))){var c=parseInt(a.attr("data-h"));isNaN(c)||this.Da(new h.AO(this.rb[c],null,a))}};b.prototype.XC=function(a){if(!f.model.B.C.Tm&&(32==a.keyCode||13==a.keyCode)){var c=a.target;a=parseInt(c.getAttribute("data-r"));c=parseInt(c.getAttribute("data-c"));isNaN(a)||isNaN(c)||this.Da(new h.BO(a,c))}};b.prototype.clear=function(){this.rb.length=0;this.hb()};d.uka=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2232
|
-
(function(f){(function(k){(function(h){(function(d){function b(c,e){e=void 0===e?!1:e;var g=B.ud.call(this)||this;g.E9=!1;g.F.Od();g.vc=c;g.E9=e;g.bb(g.vc.caption);g.
|
|
2232
|
+
(function(f){(function(k){(function(h){(function(d){function b(c,e){e=void 0===e?!1:e;var g=B.ud.call(this)||this;g.E9=!1;g.F.Od();g.vc=c;g.E9=e;g.bb(g.vc.caption);g.zd("fm-ui-btn");g.Y(h.W.wa.Pp);g.Y(h.W.wa.Ej);g.F.attr("title",f.model.A.j.zA);g.r9=new B.Aa("i",h.W.wa.UW);g.r9.Y(h.W.wa.FI);g.F.append(g.r9);g.s9=new B.Aa("i",h.W.wa.UW);g.s9.Y(h.W.wa.zI);g.F.append(g.s9);g.F1=g.vc.filter.bh;g.E9&&(g.nj=new B.Qc,g.nj.bb(g.oza()),g.nj.Y("fm-filter-desc"),g.V(g.nj));return g}function a(){var c=B.Aa.call(this)||
|
|
2233
2233
|
this;c.rb=[];c.Y("fm-ui-hgroup");c.Y("fm-filters");c.Va();return c}u(a,B.Aa);a.prototype.hb=function(){var c=this;this.Jw();if(f.model.B.C.vz&&f.model.B.C.pN){for(var e=[],g={},l=0;l<this.rb.length;g={Zw:g.Zw},l++){var m=this.rb[l];m.lM?(g.Zw=new b(m,!0),g.Zw.F.attr("data-h",l),g.Zw.N("click",function(n){return function(){return c.$j(n.Zw)}}(g)),g.Zw.N("keydown",function(n){return function(p){return c.XC(p,n.Zw)}}(g)),this.V(g.Zw.F)):e.push(l)}0==this.rb.length||e.length==this.rb.length?this.Va():
|
|
2234
2234
|
this.show()}else this.Va()};a.prototype.oz=function(c){for(var e=this.rb.length=0;e<c.length;e++){var g=c.ea(e);0==g.Ue&&this.rb.push(g)}this.hb()};a.prototype.$j=function(c){this.Da(new h.AO(c.hierarchy,null,c.F))};a.prototype.XC=function(c,e){f.model.B.C.Tm||32!=c.keyCode&&13!=c.keyCode||this.Da(new h.BO(0,0,e))};a.prototype.clear=function(){this.rb.length=0;this.hb()};r.Object.defineProperties(a.prototype,{nb:{configurable:!0,enumerable:!0,get:function(){return 0==this.rb.length}}});d.Doa=a;u(b,
|
|
2235
2235
|
B.ud);b.prototype.oza=function(){var c=f.model.A.j.AI;this.hierarchy.filter.bh&&(c=1==this.hierarchy.$a.length?this.hierarchy.ua(this.hierarchy.$a[0]).caption:f.model.A.j.GI);return c};r.Object.defineProperties(b.prototype,{hierarchy:{configurable:!0,enumerable:!0,get:function(){return this.vc}},F1:{configurable:!0,enumerable:!0,get:function(){return this.F.Nc("fm-filtered")},set:function(c){this.F.Wa("fm-filtered",c)}}});d.nMa=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w=
|
|
@@ -2248,7 +2248,7 @@ null!=e?(e.attr("data-r"),a=parseInt(e.attr("data-c")),this.SBa(a)?c=this.Ng:thi
|
|
|
2248
2248
|
a==this.wi?e.before(this.qd):c.before(this.qd)):(this.qd=this.Vv(),a==this.Ng?this.Ng.find(".fm-row").append(this.qd):a==this.be?null!=c.closest(".fm-filters")?this.be.find(".fm-header").before(this.qd):this.jg==d.AB.fO.TYPE?this.be.find(".fm-header").parent.append(this.qd):this.be.append(this.qd):a==this.wi&&this.wi.append(this.qd))}};b.prototype.yt=function(){d.Cj.prototype.yt.call(this);this.Ng.clear();this.wi.clear();this.be.clear()};b.prototype.dispose=function(){this.Ng.Od();this.Ng.dispose();
|
|
2249
2249
|
this.be.Od();this.be.dispose();this.wi.Od();d.Cj.prototype.dispose.call(this)};r.Object.defineProperties(b.prototype,{uR:{configurable:!0,enumerable:!0,get:function(){return this.Ng}},Jga:{configurable:!0,enumerable:!0,get:function(){return this.be}},Mfa:{configurable:!0,enumerable:!0,get:function(){return this.wi}}});b.TYPE="compact";d.fE=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2250
2250
|
(function(f){(function(k){(function(h){(function(d){function b(a){var c=B.Aa.call(this,"div","fm-resize-handles")||this;c.OJ=function(e){return c.Ew(e)};c.at=function(e){return c.Hq(e)};c.cB=function(e){return c.Fw(e)};c.TY=function(e){return c.y3(e)};c.qv=new Ha;c.Qe=a;c.ba=a.coords;c.element.addEventListener("mousedown",c.OJ);c.element.addEventListener("touchstart",c.OJ);f.Lm.addEventListener("mouseup",c.at);f.Lm.addEventListener("touchend",c.at);f.Lm.addEventListener("touchcancel",c.at);c.sv=new B.Aa("div",
|
|
2251
|
-
"fm-indicator");c.sv.Va();c.V(c.sv);c.mB=new B.Aa("div","fm-wrapper");c.mB.attr("title",f.model.A.j.D8);c.V(c.mB);x.
|
|
2251
|
+
"fm-indicator");c.sv.Va();c.V(c.sv);c.mB=new B.Aa("div","fm-wrapper");c.mB.attr("title",f.model.A.j.D8);c.V(c.mB);x.Cd().Zl&&c.Y("fm-pointer-events-none");c.kg("hidden","true");return c}u(b,B.Aa);b.prototype.hb=function(){this.mB.attr("title",f.model.A.j.D8)};b.prototype.Et=function(a){this.qv.tag="div";this.qv.Y("fm-handle");this.qv.attr["data-idx"]=a;this.qv.attr.title=f.model.A.j.Epa;return this.qv};b.prototype.Ew=function(a){if(a.target.classList.contains("fm-handle")){this.kv=a.target;this.kv.classList.add("fm-active");
|
|
2252
2252
|
this.HA=this.Uf();f.Lm.addEventListener("mousemove",this.cB);f.Lm.addEventListener("touchmove",this.TY);a.stopImmediatePropagation();var c=parseInt(this.kv.getAttribute("data-idx"));this.vN(c);a.preventDefault();a.stopImmediatePropagation()}};b.prototype.vN=function(){};b.prototype.Hq=function(){f.Lm.removeEventListener("mousemove",this.cB);f.Lm.removeEventListener("touchmove",this.TY);if(this.kv){this.kv.classList.remove("fm-active");var a=parseInt(this.kv.getAttribute("data-idx"));this.wN(this.kv,
|
|
2253
2253
|
a);this.kv=null;this.sv.Va()}};b.prototype.wN=function(){};b.prototype.y3=function(a){a=a.touches[0];this.SU(this.kv,a.clientX-this.HA.left,a.clientY-this.HA.top);this.sv.show()};b.prototype.Fw=function(a){var c=a.clientX-this.HA.left,e=a.clientY-this.HA.top;0>c||0>e||c>this.ba.fp||e>this.ba.Tr?this.Hq(a):(this.SU(this.kv,c,e),this.sv.show())};b.prototype.SU=function(){};b.prototype.dispose=function(){this.element&&this.element.removeEventListener("mousedown",this.OJ);f.Lm.removeEventListener("mousemove",
|
|
2254
2254
|
this.cB);f.Lm.removeEventListener("mouseup",this.at);f.Lm.removeEventListener("touchmove",this.TY);f.Lm.removeEventListener("touchend",this.at);f.Lm.removeEventListener("touchcancel",this.at);B.Aa.prototype.dispose.call(this)};d.tx=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
@@ -2268,7 +2268,7 @@ null!=this.ld&&(this.Qe.clearData(),this.Qe.hb())};b.prototype.wga=function(){th
|
|
|
2268
2268
|
a.selectionEnd=this.focused.selectionEnd)}this.NC=!1}};b.prototype.N2=function(){this.NC||(this.focused=null)};b.prototype.wfa=function(a){a=a.target;var c=a.parentElement.parentElement.getAttribute("data-h-name");this.target.Da(new h.Oma(c,a.value))};d.YW=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2269
2269
|
(function(f){(function(k){(function(h){(function(d){function b(a){var c=this;this.focused=null;this.NC=!1;this.target=a;this.target.N("focusin",function(){return c.Lw()});this.target.N("focusout",function(){return c.N2()})}b.prototype.Lw=function(){if(!f.model.B.C.Tm&&(this.NC=!0,document.activeElement&&"columnheader"==document.activeElement.getAttribute("role"))){var a=document.activeElement,c=a.getAttribute("data-c");this.focused=(a=a.getAttribute("data-r"))||c?{dOa:c,js:a}:null}};b.prototype.kz=
|
|
2270
2270
|
function(){if(!f.model.B.C.Tm){if(null!=this.focused){var a=document.querySelector("."+h.W.wa.Pp+('[data-c="'+this.focused.col+'"][data-r="'+this.focused.row+'"]'));a&&a.focus()}this.NC=!1}};b.prototype.N2=function(){this.NC||(this.focused=null)};d.hma=b})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2271
|
-
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){var c=d.fE.call(this)||this;c.jg=a.TYPE;c.
|
|
2271
|
+
(function(f){(function(k){(function(h){(function(d){(function(b){function a(){var c=d.fE.call(this)||this;c.jg=a.TYPE;c.zd("fm-compact-view");c.Y("fm-classic-view");return c}u(a,d.fE);a.prototype.Oaa=function(){var c=this;this.be=new b.rka(this.ba);this.be.Y("fm-rows-filter");this.be.N(h.pc.Su,function(e){return c.mp(e)});this.be.N(h.pc.ln,function(e){return c.$j(e)});this.be.N(h.pc.QI,function(e){return c.GU(e)});this.be.N(h.pc.Fs,function(e){return c.Da(e)});this.V(this.be)};a.prototype.aG=function(){this.jBa?
|
|
2272
2272
|
d.fE.prototype.aG.call(this):(f.Ua(f.model.A.j.Mna,f.model.A.j.im,f.qb.im),f.model.Ta.P().Cp({gridType:h.je.Sz}),f.model.Ta.P().refresh())};a.prototype.dda=function(c){var e=this.slice;if(null!=c){c=c.index();if(c>e.rows.length)return e.rows.length;e=e.rows.indexOf("[Measures]");0<=e&&e<=c&&0!=c&&c++;return c}return NaN};r.Object.defineProperties(a.prototype,{jBa:{configurable:!0,enumerable:!0,get:function(){return this.ba.Hd>this.ba.mDa}}});a.TYPE="classic";b.fO=a})(d.AB||(d.AB={}))})(h.sheet||(h.sheet=
|
|
2273
2273
|
{}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2274
2274
|
(function(f){(function(k){(function(h){(function(d){(function(b){function a(c){return d.uX.call(this,c)||this}u(a,d.uX);a.prototype.hb=function(){for(var c=[],e=new Ha,g=0;g<this.ba.Wd;g++){e.tag="div";e.Y("fm-row");for(var l=0;l<this.ba.Jd;l++)e.text=f.model.B.C.Du?e.text+Ja(this.JR(g,l,g==this.ba.Wd-1?this.rb[l]:null)):e.text+Ja(this.ay(g,l));c.push(Ja(e))}this.zm.Lw();this.html(c.join(""));this.zm.kz()};b.rka=a})(d.AB||(d.AB={}))})(h.sheet||(h.sheet={}))})(k.X||(k.X={}))})(f.K||(f.K={}))})(w||
|
|
@@ -2316,8 +2316,8 @@ this.rb}},Xc:{configurable:!0,enumerable:!0,get:function(){return this.Vd}}});b.
|
|
|
2316
2316
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){var e=z.Gc.call(this)||this;e.type="pivot";e.LJ=!1;e.Tx=function(g){return e.su(g)};e.Ux=function(g){return e.tu(g)};e.Vx=function(){return e.DM()};e.model=new d.i8;e.LJ=c;e.view=e.Ie?new d.Goa:new d.Foa(e,a);e.view.N(z.da.CLOSED,function(g){return e.Da(g)});e.kd=[e.view.Xf,e.view.gf,e.view.Cf,e.view.Ob];e.view.Eh&&e.view.Eh.N(B.ud.$e,function(){return e.YC()});e.view.Ae&&e.view.Ae.N(B.ud.$e,function(){return e.Zr()});null!=e.view.Pf&&
|
|
2317
2317
|
e.view.Pf.N(z.da.Qd,function(g){return e.z2(g)});e.view.ab&&(e.view.ab.F.N("click",function(g){return e.S2(g)}),e.view.ab.F.N("keydown",function(g){return e.T2(g)}),e.view.ab.Hr({am:function(g){return e.QEa(g)},G2:function(g,l){return e.zfa(g,l)},$l:function(g,l){return e.zfa(g,l)},pl:function(g,l,m,n){return e.pl(g,l,m,n)},Qy:"li"}),e.view.ab.F.dl());a={am:function(g,l,m,n){return e.am(g,l,m,n)},$l:function(g,l,m,n){return e.$l(g,l,m,n)},pl:function(g,l,m,n){return e.pl(g,l,m,n)},Qy:"li",scroll:!0};
|
|
2318
2318
|
e.view.Xf&&(e.view.Xf.Hr(a),e.view.Xf.F.N("dblclick",function(g){return e.xU(g)}),e.view.Xf.F.N("keydown",function(g){return e.yU(g,e.view.Xf)}),e.view.Xf.F.dl());e.view.gf&&(e.view.gf.Hr(a),e.view.gf.F.N("dblclick",function(g){return e.xU(g)}),e.view.gf.F.N("keydown",function(g){return e.yU(g,e.view.gf)}),e.view.gf.F.dl());e.view.Cf&&(e.view.Cf.Hr(a),e.view.Cf.F.N("dblclick",function(g){return e.xU(g)}),e.view.Cf.F.N("keydown",function(g){return e.yU(g,e.view.Cf)}),e.view.Cf.F.dl());e.view.Ob&&(e.view.Ob.F.N("click",
|
|
2319
|
-
function(g){return e.nFa(g)}),e.view.Ob.F.N("dblclick",function(g){return e.xU(g)}),e.view.Ob.F.N("keydown",function(g){return e.yU(g,e.view.Ob)}),e.view.Ob.Hr(a),e.view.Ob.F.dl());e.view
|
|
2320
|
-
function(g){return e.bz(g,!1)}));e.view.Ki&&(e.view.Ki.N("click",function(){return e.bs()}),e.view.Ki.N("keydown",function(g){return e.bz(g,!0)}));return e}u(b,z.Gc);b.prototype.Zr=function(){this.Ie?f.Mg.instance.DK():this.view.close()};b.prototype.YC=function(){this.ce();this.view.close()};b.prototype.bz=function(a,c){if(32===a.keyCode||13===a.keyCode)c?this.bs():this.$r()};b.prototype.$r=function(){this.view.Me.Y("fm-search-opened");this.view.Xd.F.focus()};b.prototype.bs=function(){this.view.Me.
|
|
2319
|
+
function(g){return e.nFa(g)}),e.view.Ob.F.N("dblclick",function(g){return e.xU(g)}),e.view.Ob.F.N("keydown",function(g){return e.yU(g,e.view.Ob)}),e.view.Ob.Hr(a),e.view.Ob.F.dl());e.view.$h&&e.view.$h.N(B.ud.$e,function(){return e.qU()});e.view.tB&&e.view.tB.N(B.ud.$e,function(){return e.qU()});e.view.st&&e.view.st.N(B.ud.$e,function(){return e.VDa()});e.view.Xd&&(e.view.Xd.nV(500),e.view.Xd.N(B.Vi.gx,function(){return e.JM()}));e.view.fe&&(e.view.fe.N("click",function(){return e.$r()}),e.view.fe.N("keydown",
|
|
2320
|
+
function(g){return e.bz(g,!1)}));e.view.Ki&&(e.view.Ki.N("click",function(){return e.bs()}),e.view.Ki.N("keydown",function(g){return e.bz(g,!0)}));return e}u(b,z.Gc);b.prototype.Zr=function(){this.Ie?f.Mg.instance.DK():this.view.close()};b.prototype.YC=function(){this.ce();this.view.close()};b.prototype.bz=function(a,c){if(32===a.keyCode||13===a.keyCode)c?this.bs():this.$r()};b.prototype.$r=function(){this.view.Me.Y("fm-search-opened");this.view.Xd.F.focus()};b.prototype.bs=function(){this.view.Me.zd("fm-search-opened");
|
|
2321
2321
|
this.view.Xd.clear();this.view.fe.F.focus()};b.prototype.JM=function(){this.model.search(this.view.Xd.Bi());this.view.ab.F.Wa("fm-searched",this.model.Un);this.view.ab.Ef(this.model.Na);this.bn(this.view.ab);this.view.st&&this.view.st.isVisible(this.model.sda&&!this.model.Un)};b.prototype.ce=function(){var a=this.model.OL();this.model.RT(a)&&(a=f.u.I.fr.tb(f.model.cb.SliceValueObject.tb(a.Ma()),this.model.Xc),this.Ie&&(a.l2=!1,f.Mg.instance.nD(),this.model.zD(a)),f.model.Ta.P().ce(a))};b.prototype.su=
|
|
2322
2322
|
function(a){f.model.Ta.P().mb(k.Ja.Dj.Oz,this.Tx);this.model.su(a.Ur);this.fm();this.Ie&&this.ce()};b.prototype.tu=function(a){f.model.Ta.P().mb(k.Ja.Dj.Pz,this.Ux);this.model.tu(a.Ur);this.fm();this.Ie&&this.ce()};b.prototype.DM=function(){this.view.DN=!1;f.model.Ta.P().mb(k.Ja.Dj.Qz,this.Vx);this.view.ab.focus({preventScroll:!0})};b.prototype.qU=function(){this.qH()};b.prototype.VDa=function(){this.model.BT?this.model.expandAll():this.model.laa();this.bn(this.view.ab);this.view.Ff()};b.prototype.xU=
|
|
2323
2323
|
function(a){var c=B.Aa.Qb(a.target).closest("ul");null!=c&&(c=this.dw(c),a=B.Aa.Qb(a.target).closest("li"),null!=a&&(a=parseInt(a.attr("data-index")),this.dV(c,a)))};b.prototype.nFa=function(a){a=B.Aa.Qb(a.target);var c=a.closest("li");if(null!=c){c=parseInt(c.attr("data-index"));var e=this.model.measures[c];a.Nc("fm-aggr-display")?this.view.Pf.$n(e,a,c):a.Nc("fm-calc-display")&&this.qH(e.uniqueName)}};b.prototype.z2=function(a){this.pz(a.data.hL,a.data.mZ)};b.prototype.pz=function(a,c){a.$=c.$;a.caption=
|
|
@@ -2327,52 +2327,52 @@ g.data,g.index,c)}});0<g.index&&l.push({label:f.model.A.j.O6,handler:function(){
|
|
|
2327
2327
|
handler:function(){return e.vh(7,g.data,g.index,c)}});c!=this.view.Xf&&this.hu(g.data,c,this.view.Xf)&&l.push({label:f.model.A.j.L6,handler:function(){return e.vh(8,g.data,g.index,c)}});c!=this.view.Ob&&this.hu(g.data,c,this.view.Ob)&&l.push({label:f.model.A.j.N6,handler:function(){return e.vh(9,g.data.Fg,g.index,c)}});g.data.Ja&&l.push({label:f.model.A.j.HW,handler:function(){return e.vh(10,g.data,g.index)},preventFocusRestore:!0});this.view.Ai.$n(this.view.F,l,g.element.Uf(),{top:10,left:10})}a.preventDefault()}};
|
|
2328
2328
|
b.prototype.T2=function(a){var c=this;if(32===a.keyCode||13===a.keyCode){if(this.view.Ai){var e=this.view.ab.Wt();if(f.v(e))return;if(e.data.ff){this.vh(2,e.data,e.index);return}var g=[];e.data.Fi&&g.push({label:e.data.Bf?f.model.A.j.gla:f.model.A.j.hla,handler:function(){return c.vh(2,e.data,e.index)}});this.E1(e.data)&&g.push({label:f.model.A.j.GW,handler:function(){return c.vh(1,e.data,e.index)}});this.hu(e.data,this.view.ab,this.view.gf)&&g.push({label:f.model.A.j.M6,handler:function(){return c.vh(6,
|
|
2329
2329
|
e.data,e.index,c.view.ab)}});this.hu(e.data,this.view.ab,this.view.Cf)&&g.push({label:f.model.A.j.K6,handler:function(){return c.vh(7,e.data,e.index,c.view.ab)}});this.hu(e.data,this.view.ab,this.view.Xf)&&g.push({label:f.model.A.j.L6,handler:function(){return c.vh(8,e.data,e.index,c.view.ab)}});if(this.hu(e.data,this.view.ab,this.view.Ob)){var l={label:f.model.A.j.N6,handler:function(){return c.vh(9,e.data.Fg,e.index,c.view.ab)}};e.data.mea?g.splice(this.E1(e.data)?1:0,0,l):g.push(l)}e.data.Ja&&
|
|
2330
|
-
g.push({label:f.model.A.j.HW,handler:function(){return c.vh(10,e.data,e.index)},preventFocusRestore:!0});this.view.Ai.$n(this.view.F,g,e.element.Uf(),{top:10,left:10})}a.preventDefault()}};b.prototype.vh=function(a,c,e,g){g=void 0===g?null:g;var l=void 0===l?null:l;1==a?(1==c.sd&&(this.model.Li(c,!1),this.Qt(c)),null!=c.Fg&&1==c.Fg.sd&&(this.model.Li(c.Fg,!1),this.Qt(c.Fg)),this.m5(this.view.ab,e),this.vs(),this.Ie&&this.ce()):0==a?(this.dV(g,e),g.
|
|
2331
|
-
this.Jx(g,this.view.gf,e,this.model.rows.length):this.Xr(g,this.view.gf,e,this.model.rows.length),g.
|
|
2332
|
-
this.Xr(g,this.view.Ob,e,this.model.measures.length),g.
|
|
2330
|
+
g.push({label:f.model.A.j.HW,handler:function(){return c.vh(10,e.data,e.index)},preventFocusRestore:!0});this.view.Ai.$n(this.view.F,g,e.element.Uf(),{top:10,left:10})}a.preventDefault()}};b.prototype.vh=function(a,c,e,g){g=void 0===g?null:g;var l=void 0===l?null:l;1==a?(1==c.sd&&(this.model.Li(c,!1),this.Qt(c)),null!=c.Fg&&1==c.Fg.sd&&(this.model.Li(c.Fg,!1),this.Qt(c.Fg)),this.m5(this.view.ab,e),this.vs(),this.Ie&&this.ce()):0==a?(this.dV(g,e),g.ki(Math.min(e,g.wc().length-1))):6==a?(g==this.view.ab?
|
|
2331
|
+
this.Jx(g,this.view.gf,e,this.model.rows.length):this.Xr(g,this.view.gf,e,this.model.rows.length),g.ki(Math.min(e,g.wc().length-1))):7==a?(g==this.view.ab?this.Jx(g,this.view.Cf,e,this.model.columns.length):this.Xr(g,this.view.Cf,e,this.model.columns.length),g.ki(Math.min(e,g.wc().length-1))):8==a?(g==this.view.ab?this.Jx(g,this.view.Xf,e,this.model.pages.length):this.Xr(g,this.view.Xf,e,this.model.pages.length),g.ki(Math.min(e,g.wc().length-1))):9==a?(g==this.view.ab?this.Jx(g,this.view.Ob,e,this.model.measures.length):
|
|
2332
|
+
this.Xr(g,this.view.Ob,e,this.model.measures.length),g.ki(Math.min(e,g.wc().length-1))):4==a?(this.Xr(g,g,e,e-1),g.ki(e-1)):5==a?(this.Xr(g,g,e,e+2),g.ki(e+1)):2==a?(c.Bf?this.model.maa(c):this.model.Jba(c),this.bn(this.view.ab),this.view.Ff()):10==a?this.qH(c.uniqueName):11==a&&this.view.Pf.$n(c,l.find(".fm-aggr-display"))};b.prototype.S2=function(a){var c=this.view.ab.ZB(a.target);if(!f.v(c))if(a=B.Aa.Qb(a.target),a.Nc("fm-aggr-display"))this.view.Pf.$n(c.data,a);else if(a.Nc("fm-calc-display"))this.vh(10,
|
|
2333
2333
|
c.data,c.index);else if(c.data.ff||c.data.Fi&&!a.Nc("fm-moreicon-display"))this.vh(2,c.data,c.index);else{if(this.E1(c.data))1==c.data.sd&&(this.model.Li(c.data,!1),this.Qt(c.data)),null!=c.data.Fg&&1==c.data.Fg.sd&&(this.model.Li(c.data.Fg,!1),this.Qt(c.data.Fg));else if(c.data.rg&&c.data.qw){this.model.Li(c.data,!0);a=[];for(var e in c.data)c.data[e]instanceof h.W.Si&&a.push(e);e=x.Ic.aj(c.data,a);this.model.measures.push(e);this.bn(this.view.Ob)}else if(c.data.Fg&&c.data.qw&&c.data.Fg.type!=f.u.i.Ka.uc&&
|
|
2334
2334
|
c.data.Fg.type!=f.u.i.Ka.Pa){this.model.Li(c.data.Fg,!0);a=[];for(e in c.data.Fg)c.data.Fg[e]instanceof h.W.Si&&a.push(e);e=x.Ic.aj(c.data.Fg,a);this.model.measures.push(e);this.bn(this.view.Ob)}else{if(c.data.vj)for(c.data.parent.sd&&this.Qt(c.data.parent),e=0;e<c.data.parent.children.length;e++)a=c.data.parent.children[e],a.uniqueName!=c.data.uniqueName&&(a.sd&&this.Qt(a),a.sd=!1);this.model.Li(c.data,!0);this.model.rows.push(c.data);this.bn(this.view.gf)}this.m5(this.view.ab,c.index);this.vs();
|
|
2335
2335
|
this.Ie&&this.ce()}};b.prototype.m5=function(a,c){a.us(c);c=a.wc()[c];null!=c.parent&&this.LN(a,c.parent);if(c.Fi)for(var e=0;e<c.children.length;e++)a.Rq(c.children[e]);if(c.vj)for(e=0;e<c.parent.children.length;e++)a.Rq(c.parent.children[e])};b.prototype.LN=function(a,c,e){a.Rq((void 0===e?null:e)||c);c.parent&&this.LN(a,c.parent);if(c.Fi)for(e=0;e<c.children.length;e++)a.Rq(c.children[e]);if(c.vj)for(e=0;e<c.parent.children.length;e++)a.Rq(c.parent.children[e])};b.prototype.Dw=function(){return!0};
|
|
2336
2336
|
b.prototype.QEa=function(a){if(a&&a.closest("ul")){var c=parseInt(a.attr("data-index"));a=this.dw(a.closest("ul"));a!=this.view.ab&&this.dV(a,c)}};b.prototype.zfa=function(a,c){a&&a.closest("ul")&&(a=this.dw(a.closest("ul")),a!=this.view.ab&&(c&&c.Y("fm-drag-remove"),a.F.Nc("fm-droppable")?c&&c.Y("fm-droppable-valid"):c&&c.Y("fm-droppable-invalid")))};b.prototype.$l=function(a,c,e,g){if(g instanceof MouseEvent){var l=B.Aa.Qb(g.target);g=g.clientY}else g=g.changedTouches[0],l=B.Aa.Qb(document.elementFromPoint(g.clientX,
|
|
2337
|
-
g.clientY)),g=g.clientY;if(!l.Nc("fm-drop-indicator")&&(this.ul(),c&&(c.
|
|
2338
|
-
this.view.Ob&&!a.rg&&!a.Dg)||a.Ja&&e!=this.view.Ob||a.children&&0<a.children.length&&e==this.view.Ob?!1:a.Ja&&e==this.view.Ob&&c==this.view.Ob?!0:a.Ja&&e==this.view.Ob?f.v(this.view.Ob.wc().find(function(g){return g.uniqueName===a.uniqueName})):c==this.view.ab&&null!=e.wc().find(function(g){return g.uniqueName===a.uniqueName})&&e!=this.view.Ob?!1:!0};b.prototype.Cca=function(a,c){a=parseInt(a.attr("data-index"));return c.wc()[a]};b.prototype.pl=function(a,c){this.ul();c&&(c.
|
|
2339
|
-
if(a&&a.closest("ul")&&c){c.
|
|
2337
|
+
g.clientY)),g=g.clientY;if(!l.Nc("fm-drop-indicator")&&(this.ul(),c&&(c.zd("fm-no-drop"),c.zd("fm-drag-remove")),a&&a.closest("ul"))){e instanceof B.kd.Dh||(e=this.dw(e));var m=this.dw(a.closest("ul"));m.F.Nc("fm-droppable")&&(this.hu(this.Cca(a,m),m,e)?this.CD(l,g):c.Y("fm-no-drop"))}};b.prototype.E1=function(a){return a.sd||a.Fg&&a.Fg.sd};b.prototype.hu=function(a,c,e){return a.UT&&e!=this.view.Cf&&e!=this.view.gf||!1===a.qw&&e==this.view.Ob||0==this.model.Oy&&(e!=this.view.Ob&&(a.rg||a.Dg)||e==
|
|
2338
|
+
this.view.Ob&&!a.rg&&!a.Dg)||a.Ja&&e!=this.view.Ob||a.children&&0<a.children.length&&e==this.view.Ob?!1:a.Ja&&e==this.view.Ob&&c==this.view.Ob?!0:a.Ja&&e==this.view.Ob?f.v(this.view.Ob.wc().find(function(g){return g.uniqueName===a.uniqueName})):c==this.view.ab&&null!=e.wc().find(function(g){return g.uniqueName===a.uniqueName})&&e!=this.view.Ob?!1:!0};b.prototype.Cca=function(a,c){a=parseInt(a.attr("data-index"));return c.wc()[a]};b.prototype.pl=function(a,c){this.ul();c&&(c.zd("fm-no-drop"),c.zd("fm-drag-remove"));
|
|
2339
|
+
if(a&&a.closest("ul")&&c){c.zd("fm-droppable-valid");c.zd("fm-droppable-invalid");var e=this.dw(a.closest("ul"));a.Nc("fm-values")||e==this.view.ab||c.Y("fm-drag-remove")}};b.prototype.am=function(a,c){if(null!=this.qd)if(a&&a.closest("ul")){c=c instanceof B.kd.Dh?c:this.dw(c);var e=this.dw(a.closest("ul"));if(0==this.hu(this.Cca(a,e),e,c))this.ul();else{var g=c.wc().length;this.qd.element.previousElementSibling?g=parseInt(this.qd.element.previousElementSibling.getAttribute("data-index"))+1:this.qd.element.nextElementSibling&&
|
|
2340
2340
|
(g=parseInt(this.qd.element.nextElementSibling.getAttribute("data-index")));this.ul();a=parseInt(a.attr("data-index"));e==this.view.ab&&c!=this.view.ab?this.Jx(e,c,a,g):this.Xr(e,c,a,g);a=c.F.element.scrollTop;this.Jia();c.F.Qw(a);c.dN(g)}}else this.ul()};b.prototype.uu=function(a){if(a&&a.closest("ul")){var c=parseInt(a.attr("data-index"));a=this.dw(a.closest("ul"));a!=this.view.ab&&this.dV(a,c)}};b.prototype.CD=function(a,c){var e=a.closest("li");null!=e?(this.qd=this.Vv(),a=e.getBoundingClientRect(),
|
|
2341
2341
|
c>a.top+.75*a.height?e.after(this.qd):e.before(this.qd)):(c=a.closest("ul"),null!=c&&(this.qd=this.Vv(),c.append(this.qd)))};b.prototype.Vv=function(){return new B.Aa("div","fm-drop-indicator")};b.prototype.ul=function(){this.qd&&(this.qd.sg(!0),this.qd=null)};b.prototype.Xr=function(a,c,e,g){var l=a.wc()[e];a==c?(a=c.wc(),e<g&&--g,a.splice(g,0,a.splice(e,1)[0])):(l=a.wc()[e],a.wc().splice(e,1),a.Sq(),c==this.view.Ob&&(this.model.Li(l,!1),l=this.model.ad(this.model.jKa(l.vj?l.Bg:l.uniqueName)),null!=
|
|
2342
2342
|
l.nT&&this.model.Li(l.nT,!1)),a==this.view.Ob&&(-1==a.wc().findIndex(function(m){return m.uniqueName===l.uniqueName})&&this.model.Li(l,!1),l=this.model.Rg(this.model.hia(l.uniqueName)),null!=l.Fg&&this.model.Li(l.Fg,!1)),null!=l&&(this.model.Li(l,!0),this.Qt(l,null,!0),c.wc().splice(g,0,l)));this.bn(c);this.vs();this.Ie&&this.ce()};b.prototype.Jx=function(a,c,e,g){var l=a.wc()[e];if(l.vj){l.parent.sd&&this.Qt(l.parent);for(e=0;e<l.parent.children.length;e++){var m=l.parent.children[e];m.uniqueName!=
|
|
2343
2343
|
l.uniqueName&&(m.sd&&this.Qt(m),m.sd=!1)}this.LN(this.view.ab,l)}this.model.Oy&&c==this.view.Ob&&null!=l.Fg&&(l=l.Fg);l.sd&&!l.rg?(this.model.Li(l,!1),this.Qt(l,a,!0),this.model.Li(l,!0)):(this.model.Li(l,!0),a=this.view.ab.wc().findIndex(function(p){return p.uniqueName===l.uniqueName}),this.m5(this.view.ab,a));if(this.model.Oy&&c==this.view.Ob&&l.rg){a=[];for(var n in l)l[n]instanceof h.W.Si&&a.push(n);l=x.Ic.aj(l,a)}c.wc().splice(g,0,l);this.bn(c);this.vs();this.Ie&&this.ce()};b.prototype.dV=function(a,
|
|
2344
2344
|
c){if(!(a.wc().length<=c)){var e=a.wc()[c];if(!e.UT){a.wc().splice(c,1);this.bn(a);if(!(e.rg&&-1<this.view.Ob.wc().findIndex(function(l){return l.uniqueName===e.uniqueName}))){a=this.model.bca(e.uniqueName,e.rg);if(null!=a){this.model.Li(a,!1);var g=null!=a.nT?a.nT:a;this.LN(this.view.ab,g,function(l){return l.uniqueName===g.uniqueName});a.vj&&(this.model.Li(a.parent,!1),this.LN(this.view.ab,a.parent))}this.vs()}this.Ie&&this.ce()}}};b.prototype.Qt=function(a,c,e){c=void 0===c?null:c;e=void 0===e?
|
|
2345
2345
|
!1:e;for(var g=-1,l=0;l<this.kd.length;l++)if(this.kd[l]!=c&&(this.kd[l]!=this.view.Ob||!e))for(var m=!0;m||-1<g;)m=!1,g=this.kd[l].wc().findIndex(function(n){return n.uniqueName===a.uniqueName||n.Bg===a.uniqueName}),-1==g&&(g=this.kd[l].wc().findIndex(function(n){return n.uniqueName===a.uniqueName||n.Bg===a.uniqueName})),-1<g&&(this.kd[l].wc().splice(g,1),this.bn(this.kd[l]))};b.prototype.dw=function(a){return a.element==this.view.ab.F.element?this.view.ab:a.element==this.view.Xf.F.element?this.view.Xf:
|
|
2346
|
-
a.element==this.view.gf.F.element?this.view.gf:a.element==this.view.Cf.F.element?this.view.Cf:a.element==this.view.Ob.F.element?this.view.Ob:null};b.prototype.update=function(a,c,e,g){(void 0===g||g)&&this.model.update(a,c,void 0===e?"":e,h.qo.hS);this.fm(!0)};b.prototype.vs=function(){this.view.Eh&&this.view.Eh.Ap(this.model.P1())};b.prototype.fm=function(a){var c=this;a=void 0===a?!1:a;this.view.reset&&this.view.reset();this.view
|
|
2346
|
+
a.element==this.view.gf.F.element?this.view.gf:a.element==this.view.Cf.F.element?this.view.Cf:a.element==this.view.Ob.F.element?this.view.Ob:null};b.prototype.update=function(a,c,e,g){(void 0===g||g)&&this.model.update(a,c,void 0===e?"":e,h.qo.hS);this.fm(!0)};b.prototype.vs=function(){this.view.Eh&&this.view.Eh.Ap(this.model.P1())};b.prototype.fm=function(a){var c=this;a=void 0===a?!1:a;this.view.reset&&this.view.reset();this.view.$h&&(this.view.$h.isVisible(this.model.DC),this.view.$h.Ap(this.model.qT));
|
|
2347
2347
|
this.view.tB&&(this.view.tB.isVisible(this.model.DC),this.view.tB.Ap(this.model.qT));this.view.ab&&this.view.ab.Ef(this.model.Na,!1);this.view.Xf&&this.view.Xf.Ef(this.model.pages,!1);this.view.gf&&this.view.gf.Ef(this.model.rows,!1);this.view.Cf&&this.view.Cf.Ef(this.model.columns,!1);this.view.Ob&&this.view.Ob.Ef(this.model.measures,!1);this.view.st&&this.view.st.isVisible(this.model.sda);this.view.Me&&this.view.Me.isVisible(this.model.QT);this.view.Xd&&(this.view.Xd.clear(!1),this.model.Yx());
|
|
2348
|
-
this.view.Ff();this.view.F.requestAnimationFrame(function(){c.Jia();a&&f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.kE))})};b.prototype.bn=function(a){var c=this;a.Sq();var e={Dw:function(l){return c.Dw(l)},Gn:function(l){return c.view.Gn(l)}};x.
|
|
2348
|
+
this.view.Ff();this.view.F.requestAnimationFrame(function(){c.Jia();a&&f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.kE))})};b.prototype.bn=function(a){var c=this;a.Sq();var e={Dw:function(l){return c.Dw(l)},Gn:function(l){return c.view.Gn(l)}};x.Cd().Zl&&(e.aT=".fm-drag-handle");var g=a.F.find("li",!0);if(a==this.view.ab)for(a=0;a<g.length;a++)g[a].Nc("fm-folder")&&!g[a].Nc("fm-level-folder")||g[a].draggable(e);else for(a.Hr({am:function(l,m,n,p){return c.am(l,m,n,p)},$l:function(l,m,n,p){return c.$l(l,
|
|
2349
2349
|
m,n,p)},pl:function(l,m,n,p){return c.pl(l,m,n,p)},Qy:"li",scroll:!0}),e.uu=function(l){return c.uu(l)},a=0;a<g.length;a++)g[a].draggable(e)};b.prototype.Jia=function(){try{this.vs(),this.bn(this.view.ab),this.bn(this.view.Xf),this.bn(this.view.gf),this.bn(this.view.Cf),this.bn(this.view.Ob)}catch(a){}};r.Object.defineProperties(b.prototype,{Ie:{configurable:!0,enumerable:!0,get:function(){return this.LJ}},BT:{configurable:!0,enumerable:!0,get:function(){return this.model.BT}}});d.h8=b})(h.bt||(h.bt=
|
|
2350
2350
|
{}))})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2351
|
-
(function(f){(function(k){(function(h){(function(d){function b(a,c){var e=B.Wb.ph.call(this,c)||this;e.JD=0;e.controller=a;e.Y("fm-pivot-fields");e.ue();e.F.dl();e.F.Ji({EV:[B.Ji.
|
|
2352
|
-
function(){var a=this,c=new B.Ca("div","fm-popup-header fm-ui-row");this.V(c);var e=new B.Ca("div","fm-ui-col fm-vam");c.V(e);this.ww=new B.Qc(f.model.A.j.ix);this.ww.Y("fm-popup-title");e.V(this.ww);this.vw=new B.Qc(f.model.A.j.T6);this.vw.Y("fm-popup-subtitle");e.V(this.vw);e=new B.Ca("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");c.V(e);this
|
|
2351
|
+
(function(f){(function(k){(function(h){(function(d){function b(a,c){var e=B.Wb.ph.call(this,c)||this;e.JD=0;e.controller=a;e.Y("fm-pivot-fields");e.ue();e.F.dl();e.F.Ji({EV:[B.Ji.Uh.Rh,B.Ji.Uh.nE,B.Ji.Uh.FE],CR:k.Hb.zb.F,pZ:!0,resize:function(g){return e.LM(g)},complete:function(){return e.Io()}});return e}u(b,B.Wb.ph);b.prototype.LM=function(a){a.ED==B.Ji.Uh.nE||a.ED==B.Ji.Uh.FE?(this.yj(a.size.width+(a.size.width-a.B3.width)),this.Io()):a.ED==B.Ji.Uh.Rh&&this.Bp(a.size.height);this.qB()};b.prototype.ue=
|
|
2352
|
+
function(){var a=this,c=new B.Ca("div","fm-popup-header fm-ui-row");this.V(c);var e=new B.Ca("div","fm-ui-col fm-vam");c.V(e);this.ww=new B.Qc(f.model.A.j.ix);this.ww.Y("fm-popup-title");e.V(this.ww);this.vw=new B.Qc(f.model.A.j.T6);this.vw.Y("fm-popup-subtitle");e.V(this.vw);e=new B.Ca("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");c.V(e);this.$h=new B.Lf("fm-btn-add-measure fm-ui-btn-light fm-icon-act_calc");this.$h.bb(f.model.A.j.cA);e.V(this.$h);this.Ae=new B.Lf;this.Ae.bb(f.model.A.j.Ok);this.Eh=
|
|
2353
2353
|
new B.Lf("fm-ui-btn-dark");this.Eh.bb(f.model.A.j.ax);x.Ui.HC||x.Ui.Tn?(e.V(this.Ae),e.V(this.Eh)):(e.V(this.Eh),e.V(this.Ae));c=new B.Ca("div","fm-popup-content");this.V(c);var g=new B.Ca("div","fm-ui-row");c.V(g);e=new B.Ca("div","fm-ui-col-3");g.V(e);var l=new B.Ca("div","fm-list-wrap fm-list-wrap-all");e.V(l);var m=new B.Ca("div","fm-list-header fm-list-header-wide");l.V(m);e=new B.Ca("div","fm-list-header-label-wrap");m.V(e);this.pM=new B.Qc(f.model.A.j.Ru);e.V(this.pM);this.st=new B.ud("fm-ui-link-btn fm-btn-collapse-expand-all");
|
|
2354
|
-
this.st.
|
|
2354
|
+
this.st.zd("fm-ui-btn");this.st.bb(f.model.A.j.P6);e.V(this.st);this.Me=new B.Ca("div","fm-search-wrap");m.V(this.Me);this.fe=new B.Ca("a","fm-search-btn");this.fe.ve(0);this.fe.dk("button");this.Me.V(this.fe);e=new B.Ca("span","fm-ui-icon fm-icon-act_search");this.fe.V(e);this.Xd=new B.Vi;this.Xd.Y("fm-search-inp");this.Me.V(this.Xd);this.Ki=new B.Ca("span","fm-close-search fm-ui-icon fm-icon-act_close");this.Ki.ve(0);this.Ki.dk("button");this.Me.V(this.Ki);m=new B.Ca("div","fm-list-content");l.V(m);
|
|
2355
2355
|
this.ab=new B.kd.Dh;this.ab.ve();this.ab.Y("fm-lst-hierarchies");this.ab.Oh(function(n,p){return a.sD(n,p)});this.ab.wV(function(n){return n.caption});m.V(this.ab);e=new B.Ca("div","fm-ui-col-3");g.V(e);l=new B.Ca("div","fm-list-wrap fm-list-wrap-pages");e.V(l);m=new B.Ca("div","fm-list-header");l.V(m);this.rM=new B.Qc(f.model.A.j.br);m.V(this.rM);m=new B.Ca("div","fm-list-content");l.V(m);this.Xf=new B.kd.Dh;this.Xf.ve();this.Xf.Y("fm-lst-pages");this.Xf.Oh(function(n,p){return a.Jr(n,p)});this.Xf.Zf("caption");
|
|
2356
2356
|
m.V(this.Xf);this.bU=new B.Qc(f.model.A.j.hx);this.bU.Y("fm-prompt");this.bU.xn();l.V(this.bU);l=new B.Ca("div","fm-list-wrap fm-list-wrap-rows");e.V(l);m=new B.Ca("div","fm-list-header");l.V(m);this.sM=new B.Qc(f.model.A.j.lE);m.V(this.sM);m=new B.Ca("div","fm-list-content");l.V(m);this.gf=new B.kd.Dh;this.gf.ve();this.gf.Y("fm-lst-rows");this.gf.Oh(function(n,p){return a.Jr(n,p)});this.gf.Zf("caption");m.V(this.gf);this.cU=new B.Qc(f.model.A.j.hx);this.cU.Y("fm-prompt");this.cU.xn();l.V(this.cU);
|
|
2357
2357
|
e=new B.Ca("div","fm-ui-col-3");g.V(e);l=new B.Ca("div","fm-list-wrap fm-list-wrap-columns");e.V(l);m=new B.Ca("div","fm-list-header");l.V(m);this.oM=new B.Qc(f.model.A.j.jE);m.V(this.oM);m=new B.Ca("div","fm-list-content");l.V(m);this.Cf=new B.kd.Dh;this.Cf.ve();this.Cf.Y("fm-lst-columns");this.Cf.Oh(function(n,p){return a.Jr(n,p)});this.Cf.Zf("caption");m.V(this.Cf);this.ZT=new B.Qc(f.model.A.j.hx);this.ZT.Y("fm-prompt");this.ZT.xn();l.V(this.ZT);l=new B.Ca("div","fm-list-wrap fm-list-wrap-measures");
|
|
2358
2358
|
e.V(l);m=new B.Ca("div","fm-list-header");l.V(m);this.qM=new B.Qc(f.model.A.j.dA);m.V(this.qM);this.tB=new B.Lf("fm-btn-add-measure-2 fm-icon-act_calc");m.V(this.tB);m=new B.Ca("div","fm-list-content");l.V(m);this.Ob=new B.kd.Dh;this.Ob.ve();this.Ob.Y("fm-lst-measures");this.Ob.Oh(function(n,p){return a.Jr(n,p)});this.Ob.Zf("caption");m.V(this.Ob);this.aU=new B.Qc(f.model.A.j.hx);this.aU.Y("fm-prompt");this.aU.xn();l.V(this.aU);this.Pf=new h.eI;this.Pf.Y("fm-aggregations-view");this.Pf.Va();c.V(this.Pf);
|
|
2359
|
-
this.Ai=new B.Po.IE(c.F);this.Ai.Va();c.V(this.Ai)};b.prototype.Ff=function(){this.ww.bb(f.model.A.j.ix);this.vw.bb(f.model.A.j.T6);this.Ae.bb(f.model.A.j.Ok);this.Eh.bb(f.model.A.j.ax);this.pM.bb(f.model.A.j.Ru);this.rM.bb(f.model.A.j.br);this.sM.bb(f.model.A.j.lE);this.oM.bb(f.model.A.j.jE);this.qM.bb(f.model.A.j.dA);this.
|
|
2360
|
-
this.st.bb(this.controller.BT?f.model.A.j.jla:f.model.A.j.P6);this.lc(f.model.A.j.ix);this.ww.xn();this.vw.xn();this.ab.lc(f.model.A.j.Ru);this.Xf.lc(f.model.A.j.br);this.gf.lc(f.model.A.j.lE);this.Cf.lc(f.model.A.j.jE);this.Ob.lc(f.model.A.j.dA);this.fe.lc(f.model.A.j.rO);this.Xd.lc(f.model.A.j.rO);this.Ki.lc(f.model.A.j.S6)};b.prototype.Jr=function(a,c){var e=new h.Yf.LW;e.setData(a);e.dm(c);return e};b.prototype.sD=function(a,c){a=new h.Yf.tP(a,c);a.dm(c);return a};b.prototype.reset=function(){this.Me.
|
|
2359
|
+
this.Ai=new B.Po.IE(c.F);this.Ai.Va();c.V(this.Ai)};b.prototype.Ff=function(){this.ww.bb(f.model.A.j.ix);this.vw.bb(f.model.A.j.T6);this.Ae.bb(f.model.A.j.Ok);this.Eh.bb(f.model.A.j.ax);this.pM.bb(f.model.A.j.Ru);this.rM.bb(f.model.A.j.br);this.sM.bb(f.model.A.j.lE);this.oM.bb(f.model.A.j.jE);this.qM.bb(f.model.A.j.dA);this.$h.bb(f.model.A.j.cA);this.$h.Ph(f.model.A.j.cA);this.tB.Ph(f.model.A.j.cA);this.bU.bb(f.model.A.j.hx);this.cU.bb(f.model.A.j.hx);this.ZT.bb(f.model.A.j.hx);this.aU.bb(f.model.A.j.hx);
|
|
2360
|
+
this.st.bb(this.controller.BT?f.model.A.j.jla:f.model.A.j.P6);this.lc(f.model.A.j.ix);this.ww.xn();this.vw.xn();this.ab.lc(f.model.A.j.Ru);this.Xf.lc(f.model.A.j.br);this.gf.lc(f.model.A.j.lE);this.Cf.lc(f.model.A.j.jE);this.Ob.lc(f.model.A.j.dA);this.fe.lc(f.model.A.j.rO);this.Xd.lc(f.model.A.j.rO);this.Ki.lc(f.model.A.j.S6)};b.prototype.Jr=function(a,c){var e=new h.Yf.LW;e.setData(a);e.dm(c);return e};b.prototype.sD=function(a,c){a=new h.Yf.tP(a,c);a.dm(c);return a};b.prototype.reset=function(){this.Me.zd("fm-search-opened");
|
|
2361
2361
|
this.Xd.clear(!1)};b.prototype.Gn=function(a){var c=new B.Aa("span");c.Y("fm-drag-handle");c.Y("fm-helper");c.Y("fm-draggable");c.Wa("fm-values",a.Nc("fm-values"));c.R("width",a.R("width"));c.R("position","absolute");c.R("z-index",100);c.attr("data-index",a.attr("data-index"));var e=new B.Aa("span","fm-label");e.text(a.text());c.V(e);c.V(new B.Aa("i","fm-drag-icon"));return c};b.prototype.qB=function(){B.Wb.ph.prototype.qB.call(this,!0)};d.Foa=b})(h.bt||(h.bt={}))})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||
|
|
2362
2362
|
(w={}));
|
|
2363
|
-
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Wb.ze.call(this)||this;a.JD=0;a.Y("fm-pivot-fields");a.Y("fm-instant-view");a.ue();a.F.dl();return a}u(b,B.Wb.ze);b.prototype.ue=function(){var a=this,c=new B.Ca("div","fm-popup-content");this.V(c);var e=new B.Ca("div","fm-list-wrap fm-list-wrap-all");c.V(e);var g=new B.Ca("div","fm-list-header fm-list-header-wide");e.V(g);var l=new B.Ca("div","fm-list-header-label-wrap");g.V(l);this.pM=new B.Qc(f.model.A.j.Ru);l.V(this.pM);this
|
|
2364
|
-
new B.Lf("fm-btn-add-measure");g.V(this
|
|
2363
|
+
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Wb.ze.call(this)||this;a.JD=0;a.Y("fm-pivot-fields");a.Y("fm-instant-view");a.ue();a.F.dl();return a}u(b,B.Wb.ze);b.prototype.ue=function(){var a=this,c=new B.Ca("div","fm-popup-content");this.V(c);var e=new B.Ca("div","fm-list-wrap fm-list-wrap-all");c.V(e);var g=new B.Ca("div","fm-list-header fm-list-header-wide");e.V(g);var l=new B.Ca("div","fm-list-header-label-wrap");g.V(l);this.pM=new B.Qc(f.model.A.j.Ru);l.V(this.pM);this.$h=
|
|
2364
|
+
new B.Lf("fm-btn-add-measure");g.V(this.$h);this.Ae=new B.Lf("fm-btn-close-fields");g.V(this.Ae);g=new B.Ca("div","fm-list-content");e.V(g);this.ab=new B.kd.Dh;this.ab.Y("fm-lst-hierarchies");this.ab.ve();this.ab.Oh(function(m,n){return a.sD(m,n)});this.ab.Zf("caption");g.V(this.ab);l=new B.Ca("div","fm-ui-row");c.V(l);g=new B.Ca("div","fm-ui-col-2");l.V(g);e=new B.Ca("div","fm-list-wrap fm-list-wrap-pages");g.V(e);g=new B.Ca("div","fm-list-header");e.V(g);this.rM=new B.Qc(f.model.A.j.br);g.V(this.rM);
|
|
2365
2365
|
g=new B.Ca("div","fm-list-content");e.V(g);this.Xf=new B.kd.Dh;this.Xf.Y("fm-lst-pages");this.Xf.ve();this.Xf.Oh(function(m,n){return a.Jr(m,n)});this.Xf.Zf("caption");g.V(this.Xf);g=new B.Ca("div","fm-ui-col-2");l.V(g);e=new B.Ca("div","fm-list-wrap fm-list-wrap-columns");g.V(e);g=new B.Ca("div","fm-list-header");e.V(g);this.oM=new B.Qc(f.model.A.j.jE);g.V(this.oM);g=new B.Ca("div","fm-list-content");e.V(g);this.Cf=new B.kd.Dh;this.Cf.Y("fm-lst-columns");this.Cf.ve();this.Cf.Oh(function(m,n){return a.Jr(m,
|
|
2366
2366
|
n)});this.Cf.Zf("caption");g.V(this.Cf);l=new B.Ca("div","fm-ui-row");c.V(l);e=new B.Ca("div","fm-list-wrap fm-list-wrap-rows");l.V(e);g=new B.Ca("div","fm-list-header");e.V(g);this.sM=new B.Qc(f.model.A.j.lE);g.V(this.sM);g=new B.Ca("div","fm-list-content");e.V(g);this.gf=new B.kd.Dh;this.gf.Y("fm-lst-rows");this.gf.ve();this.gf.Oh(function(m,n){return a.Jr(m,n)});this.gf.Zf("caption");g.V(this.gf);l=new B.Ca("div","fm-ui-row");c.V(l);e=new B.Ca("div","fm-list-wrap fm-list-wrap-measures");l.V(e);
|
|
2367
2367
|
g=new B.Ca("div","fm-list-header");e.V(g);this.qM=new B.Qc(f.model.A.j.dA);g.V(this.qM);g=new B.Ca("div","fm-list-content");e.V(g);this.Ob=new B.kd.Dh;this.Ob.Y("fm-lst-measures");this.Ob.ve();this.Ob.Oh(function(m,n){return a.Jr(m,n)});this.Ob.Zf("caption");g.V(this.Ob);this.Pf=new h.eI;this.Pf.Y("fm-aggregations-view");this.Pf.Va();c.V(this.Pf);this.Ai=new B.Po.IE(c.F);this.Ai.Va();c.V(this.Ai)};b.prototype.Ff=function(){this.pM.bb(f.model.A.j.Ru);this.rM.bb(f.model.A.j.br);this.sM.bb(f.model.A.j.lE);
|
|
2368
|
-
this.oM.bb(f.model.A.j.jE);this.qM.bb(f.model.A.j.dA);this.
|
|
2368
|
+
this.oM.bb(f.model.A.j.jE);this.qM.bb(f.model.A.j.dA);this.$h.Ph(f.model.A.j.cA);this.lc(f.model.A.j.ix);this.ab.lc(f.model.A.j.Ru);this.Xf.lc(f.model.A.j.br);this.gf.lc(f.model.A.j.lE);this.Cf.lc(f.model.A.j.jE);this.Ob.lc(f.model.A.j.dA);this.Ae.lc(f.model.A.j.xI)};b.prototype.Jr=function(a,c){var e=new h.Yf.LW;e.setData(a);e.dm(c);return e};b.prototype.sD=function(a,c){a=new h.Yf.tP(a,c);a.dm(c);return a};b.prototype.Gn=function(a){var c=new B.Aa("span");c.Y("fm-drag-handle");c.Y("fm-helper");
|
|
2369
2369
|
c.Y("fm-draggable");c.Wa("fm-values",a.Nc("fm-values"));c.R("width",a.R("width"));c.R("position","absolute");c.R("z-index",100);c.attr("data-index",a.attr("data-index"));var e=new B.Aa("span","fm-label");e.text(a.text());c.V(e);c.V(new B.Aa("i","fm-drag-icon"));return c};b.prototype.open=function(){this.show();this.Xa(z.da.OPENED)};b.prototype.close=function(){this.Va();this.Xa(z.da.CLOSED)};b.prototype.reset=function(){};d.Goa=b})(h.bt||(h.bt={}))})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2370
2370
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this)||this;b.qR=function(){return b.KM()};b.Y("fm-fields-view-wrap");b.ue();return b}u(d,B.Ca);d.prototype.ue=function(){var b=this;this.ds=new B.Lf("fm-btn-open-fields");this.ds.Ph(f.model.A.j.zP);this.ds.lc(f.model.A.j.kE);this.ds.N(B.ud.$e,function(){return b.i3()});this.V(this.ds)};d.prototype.updateLabels=function(){this.ds.Ph(f.model.A.j.zP);this.ds.lc(f.model.A.j.kE)};d.prototype.open=function(b,a,c){c=void 0===c?"":c;!this.Ie||
|
|
2371
2371
|
this.Kda||this.aea||this.Sda||f.v(this.PJ)?(this.controller&&this.controller.mb(z.da.CLOSED,this.qR),this.close(),this.controller&&this.controller.N(z.da.CLOSED,this.qR),this.F.Wa("fm-fields-opened",!0),this.F.Wa("fm-fields-instant",this.Ie),this.Ie&&this.F.Bp(k.Hb.zb.rp()),f.model.B.C.Fn=!0,this.controller=this.Wya(),this.controller.update(b,a,c,this.FAa),this.controller.view.Y("fm-fields-view"),this.V(this.controller.view),this.isVisible()||this.show(),this.controller.view.open(),!this.controller.view.DN&&
|
|
2372
|
-
this.controller.view.ab&&this.controller.view.ab.focus({preventScroll:!0}),k.Hb.zb.lG=this.Ie?this.controller.view.ef():0,this.tv=!0,this.PJ=f.u.La.P().qa?f.u.La.P().qa.clone():null,this.ub=f.u.La.P().ga,this.bra=f.u.La.P().I&&f.u.La.P().I.Yd,this.$E=f.model.B.C.qc,this.Zqa=f.model.B.C.ie==k.
|
|
2372
|
+
this.controller.view.ab&&this.controller.view.ab.focus({preventScroll:!0}),k.Hb.zb.lG=this.Ie?this.controller.view.ef():0,this.tv=!0,this.PJ=f.u.La.P().qa?f.u.La.P().qa.clone():null,this.ub=f.u.La.P().ga,this.bra=f.u.La.P().I&&f.u.La.P().I.Yd,this.$E=f.model.B.C.qc,this.Zqa=f.model.B.C.ie==k.Bd.Oi,this.$E&&f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.kE))):this.F.Bp(k.Hb.zb.rp())};d.prototype.Wya=function(){var b=this,a=null,c=f.model.B.C.qc&&f.model.B.C.ie!=k.Bd.Oi,e=k.Hb.zb.F;null==this.controller?
|
|
2373
2373
|
a=c?new h.flat.DO(e,this.Ie):new h.bt.h8(e,this.Ie):!c||"flat"==this.controller.type&&this.controller.Ie==this.Ie?c||"pivot"==this.controller.type&&this.controller.Ie==this.Ie||(a=new h.bt.h8(e,this.Ie)):a=new h.flat.DO(e,this.Ie);if(null==a)return this.controller;this.controller&&this.controller.Od();a.N(z.da.CLOSED,this.qR);a.N(d.vI,function(g){return b.A2(g)});return a};d.prototype.A2=function(b){this.Da(b)};d.prototype.KM=function(){this.tv=void 0;this.ub=null;this.$E=void 0;this.controller.mb(z.da.CLOSED,
|
|
2374
2374
|
this.qR);f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.xI));f.model.B.C.P();f.model.B.C.a_?this.show():this.Va();f.model.B.C.Fn=!1;this.Xa(z.da.CLOSED);this.F.Wa("fm-fields-opened",!1);this.F.Bp("")};d.prototype.close=function(){this.controller&&this.controller.view.close()};d.prototype.i3=function(){this.Xa(d.qO)};r.Object.defineProperties(d.prototype,{Ie:{configurable:!0,enumerable:!0,get:function(){return"right"==f.model.B.C.kG}},aea:{configurable:!0,enumerable:!0,get:function(){return this.$E!=
|
|
2375
|
-
f.model.B.C.qc||f.model.B.C.qc&&this.Zqa!=(f.model.B.C.ie==k.
|
|
2375
|
+
f.model.B.C.qc||f.model.B.C.qc&&this.Zqa!=(f.model.B.C.ie==k.Bd.Oi)}},Kda:{configurable:!0,enumerable:!0,get:function(){return this.tv!=f.model.B.C.Fn}},Sda:{configurable:!0,enumerable:!0,get:function(){return null==this.ub||null==f.u.La.P().I||this.bra!=f.u.La.P().I.Yd||!this.ub.isEqual(f.u.La.P().ga)}},dCa:{configurable:!0,enumerable:!0,get:function(){return null==f.u.La.P().qa&&null!=this.PJ||null!=f.u.La.P().qa&&null==this.PJ||f.u.La.P().qa&&this.PJ&&!f.u.La.P().qa.isEqual(this.PJ)}},FAa:{configurable:!0,
|
|
2376
2376
|
enumerable:!0,get:function(){return this.Kda||this.Sda||this.dCa||this.aea}},ku:{configurable:!0,enumerable:!0,get:function(){return this.tv}}});d.vI="EVENT_APPLY_SLICE";d.qO="EVENT_OPEN";h.qo=d})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2377
2377
|
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Yf.yo.call(this)||this;a.QK();return a}u(b,B.Yf.yo);b.prototype.QK=function(){null==this.fo&&(this.fo=new B.Aa("span","fm-text-display"))};b.prototype.h_=function(){null==this.Cv&&(this.Cv=new B.Aa("span","fm-aggr-display"),this.Cv.attr("title",f.model.A.j.E8),this.Cv.kg("hidden","true"))};b.prototype.i_=function(){null==this.Fv&&(this.Fv=new B.Aa("span","fm-calc-display"),this.Fv.attr("title",f.model.A.j.C8),this.Fv.kg("hidden",
|
|
2378
2378
|
"true"))};b.prototype.j_=function(){null==this.Yv&&(this.Yv=new B.Aa("span","fm-drag-handle"),this.Yv.kg("hidden","true"))};b.prototype.T4=function(a,c){return null==a?a:a.replace(new RegExp("("+c.nd+")","i"),'<b class="fm-search-highlight">$&</b>')};b.prototype.hb=function(){var a=this.getData();this.F.empty();var c=null!=this.uw?(0,this.uw)(a):a.vj?a.j1+" / "+a[this.Aq()]:a[this.Aq()];this.fo.html(void 0!==a.nd?this.T4(c,a):c);this.fo.attr("title",c+(f.ia(a.description)?"":"\n"+a.description));
|
|
@@ -2400,28 +2400,28 @@ c.rows.Qa(p,m):a.push(t)}for(n=0;n<e.length;n++)if(l=e[n],l.$)for(p=0;p<a.length
|
|
|
2400
2400
|
e+1)),[c],ka(this.Na.slice(e+1)))}}};b.prototype.tu=function(a){if(null!=this.Lb&&null!=this.Vd){var c=this.Na.findIndex(function(e){return e.uniqueName===a});this.Na.splice(c,1);this.P4()}};b.prototype.MZ=function(){this.Dm=null};b.prototype.P4=function(){this.Dm={hierarchies:this.Na}};b.prototype.RT=function(a){var c=this.Lb.flatten(!0,!0).Kc();if(a.length!=c.length)return!0;for(var e=0;e<a.length;e++){var g=a[e],l=c[e];if(g.uniqueName!=l.uniqueName||void 0!=g.$&&void 0!=l.$&&g.$!=l.$)return!0}return!1};
|
|
2401
2401
|
b.prototype.zD=function(a){this.Lb=a};d.f7=b})(h.flat||(h.flat={}))})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2402
2402
|
(function(f){(function(k){(function(h){(function(d){function b(a,c){var e=z.Gc.call(this)||this;e.type="flat";e.LJ=!1;e.Tx=function(g){return e.su(g)};e.Ux=function(g){return e.tu(g)};e.Vx=function(){return e.DM()};e.Cb=e.LR(f.u.La.P().ga.Ba);e.LJ=c;e.view=e.Paa(a);e.view.N(z.da.CLOSED,function(g){return e.Da(g)});e.view.Eh&&e.view.Eh.N(B.ud.$e,function(){return e.YC()});e.view.Ae&&e.view.Ae.N(B.ud.$e,function(){return e.Zr()});null!=e.view.Pf&&e.view.Pf.N(z.da.Qd,function(g){return e.z2(g)});e.view.ab&&
|
|
2403
|
-
(e.view.ab.F.N("click",function(g){return e.S2(g)}),e.view.ab.F.N("keydown",function(g){return e.T2(g)}),e.view.ab.F.Hr({am:function(g,l,m,n){return e.am(g,l,m,n)},$l:function(g,l,m,n){return e.$l(g,l,m,n)},pl:function(g,l,m,n){return e.pl(g,l,m,n)},Qy:"li",scroll:!0}));e.view.Pd&&e.view.Pd.N(z.da.Qd,function(){return e.w3()});e.view
|
|
2404
|
-
e.view.fe.N("keydown",function(g){return e.bz(g,!1)}));e.view.Ki&&(e.view.Ki.N("click",function(){return e.bs()}),e.view.Ki.N("keydown",function(g){return e.bz(g,!0)}));return e}u(b,z.Gc);b.prototype.Paa=function(a){return this.Ie?new d.gma:new d.MW(a)};b.prototype.LR=function(a){return new d.f7(a)};b.prototype.bz=function(a,c){if(32===a.keyCode||13===a.keyCode)c?this.bs():this.$r()};b.prototype.$r=function(){this.view.Me.Y("fm-search-opened-flat");this.view.Xd.F.focus()};b.prototype.bs=function(){this.view.Me.
|
|
2405
|
-
this.view.Xd.clear();this.view.fe.F.focus()};b.prototype.$l=function(a,c,e,g){g instanceof MouseEvent?(e=B.Aa.Qb(g.target),g=g.clientY):(g=g.changedTouches[0],e=B.Aa.Qb(document.elementFromPoint(g.clientX,g.clientY)),g=g.clientY);e.Nc("fm-drop-indicator")||(this.ul(),a&&a.closest("ul")&&(c&&c.Y("fm-droppable-valid"),a.Y("fm-drag-over"),this.CD(e,g)))};b.prototype.pl=function(a,c){this.ul();a&&a.closest("ul")&&(c&&c.
|
|
2403
|
+
(e.view.ab.F.N("click",function(g){return e.S2(g)}),e.view.ab.F.N("keydown",function(g){return e.T2(g)}),e.view.ab.F.Hr({am:function(g,l,m,n){return e.am(g,l,m,n)},$l:function(g,l,m,n){return e.$l(g,l,m,n)},pl:function(g,l,m,n){return e.pl(g,l,m,n)},Qy:"li",scroll:!0}));e.view.Pd&&e.view.Pd.N(z.da.Qd,function(){return e.w3()});e.view.$h&&e.view.$h.N(B.ud.$e,function(){return e.qU()});e.view.Xd&&(e.view.Xd.nV(500),e.view.Xd.N(B.Vi.gx,function(){return e.JM()}));e.view.fe&&(e.view.fe.N("click",function(){return e.$r()}),
|
|
2404
|
+
e.view.fe.N("keydown",function(g){return e.bz(g,!1)}));e.view.Ki&&(e.view.Ki.N("click",function(){return e.bs()}),e.view.Ki.N("keydown",function(g){return e.bz(g,!0)}));return e}u(b,z.Gc);b.prototype.Paa=function(a){return this.Ie?new d.gma:new d.MW(a)};b.prototype.LR=function(a){return new d.f7(a)};b.prototype.bz=function(a,c){if(32===a.keyCode||13===a.keyCode)c?this.bs():this.$r()};b.prototype.$r=function(){this.view.Me.Y("fm-search-opened-flat");this.view.Xd.F.focus()};b.prototype.bs=function(){this.view.Me.zd("fm-search-opened-flat");
|
|
2405
|
+
this.view.Xd.clear();this.view.fe.F.focus()};b.prototype.$l=function(a,c,e,g){g instanceof MouseEvent?(e=B.Aa.Qb(g.target),g=g.clientY):(g=g.changedTouches[0],e=B.Aa.Qb(document.elementFromPoint(g.clientX,g.clientY)),g=g.clientY);e.Nc("fm-drop-indicator")||(this.ul(),a&&a.closest("ul")&&(c&&c.Y("fm-droppable-valid"),a.Y("fm-drag-over"),this.CD(e,g)))};b.prototype.pl=function(a,c){this.ul();a&&a.closest("ul")&&(c&&c.zd("fm-droppable-valid"),c&&c.zd("fm-droppable-invalid"),a.zd("fm-drag-over"))};b.prototype.JM=
|
|
2406
2406
|
function(){this.Cb.search(this.view.Xd.Bi());this.view.ab.F.Wa("fm-searched",this.Cb.Un);this.view.ab.Ef(this.Cb.Na);this.fL()};b.prototype.z2=function(a){this.pz(a.data.hL,a.data.mZ)};b.prototype.pz=function(a,c){a.$=c.$;a.caption=a.name;this.view.ab.Rq(a);c=this.Cb.Na.find(function(e){return e.uniqueName===a.uniqueName});null!=c&&(c.$=a.$,c.caption=a.caption);this.Ie&&this.ce()};b.prototype.am=function(a){if(null!=this.qd)if(a&&a.closest("ul")){a=parseInt(a.attr("data-index"));var c=this.view.ab.wc()[a],
|
|
2407
|
-
e=this.view.ab.wc().length;this.qd.element.previousElementSibling?e=parseInt(this.qd.element.previousElementSibling.getAttribute("data-index"))+1:this.qd.element.nextElementSibling&&(e=parseInt(this.qd.element.nextElementSibling.getAttribute("data-index")));this.ul();this.Xr(a,e);this.view.ab.
|
|
2407
|
+
e=this.view.ab.wc().length;this.qd.element.previousElementSibling?e=parseInt(this.qd.element.previousElementSibling.getAttribute("data-index"))+1:this.qd.element.nextElementSibling&&(e=parseInt(this.qd.element.nextElementSibling.getAttribute("data-index")));this.ul();this.Xr(a,e);this.view.ab.ki(this.view.ab.wc().indexOf(c));this.view.ab.F.Qw(this.view.ab.F.element.scrollTop);this.view.ab.dN(e)}else this.ul()};b.prototype.Xr=function(a,c){if(a!=c){var e=this.view.ab.wc();a<c&&--c;e.splice(c,0,e.splice(a,
|
|
2408
2408
|
1)[0]);this.view.ab.Sq();this.vs();this.fL();this.Ie&&this.ce()}};b.prototype.Zr=function(){this.Ie?f.Mg.instance.DK():this.view.close()};b.prototype.YC=function(){this.view.Xd&&this.Cb.Un&&(this.view.Xd.clear(!1),this.Cb.Yx(),this.view.ab.Ef(this.Cb.Na),this.fL());this.ce();this.view.close()};b.prototype.w3=function(){for(var a=this.view.Pd.checked,c=this.Cb.Na,e=0;e<c.length;e++)c[e].sd=a;this.view.ab.Sq();this.vs();this.fL();this.Ie&&this.ce()};b.prototype.T2=function(a){var c=this;if(32===a.keyCode||
|
|
2409
2409
|
13===a.keyCode){if(this.view.Ai){var e=this.view.ab.Wt();if(f.v(e))return;var g=[];g.push({label:e.data.sd?f.model.A.j.GW:f.model.A.j.ila,handler:function(){return c.vh(3,e.data,e.index)}});0<e.index&&g.push({label:f.model.A.j.O6,handler:function(){return c.vh(4,e.data,e.index)}});e.index<this.view.ab.wc().length-1&&g.push({label:f.model.A.j.J6,handler:function(){return c.vh(5,e.data,e.index)}});e.data.rg&&g.push({label:f.model.A.j.FW,submenu:this.Cy(e.data)});e.data.Ja&&g.push({label:f.model.A.j.HW,
|
|
2410
2410
|
handler:function(){return c.vh(10,e.data,e.index)}});this.view.Ai.$n(this.view.F,g,e.element.Uf(),{top:10,left:10})}a.preventDefault()}};b.prototype.Cy=function(a){for(var c=this,e=[],g={},l=0;l<a.Tc.length;g={QN:g.QN},l++)g.QN={caption:a.uK[l],$:a.Tc[l]},void 0!=a.Dv&&(g.QN.RV=a.Dv[l]),e.push({label:f.u.i.ca.wF(a.Tc[l]),isSelected:a.Tc[l]==a.$,handler:function(m){return function(){return c.pz(a,m.QN)}}(g)});return e};b.prototype.vh=function(a,c,e){3==a?(c.sd=!c.sd,this.view.ab&&this.view.ab.us(e),
|
|
2411
|
-
this.view.Pd&&this.view.Pd.lf(this.Cb.M0()),this.vs(),this.Ie&&this.ce()):4==a?(this.Xr(e,e-1),this.view.ab.
|
|
2411
|
+
this.view.Pd&&this.view.Pd.lf(this.Cb.M0()),this.vs(),this.Ie&&this.ce()):4==a?(this.Xr(e,e-1),this.view.ab.ki(e-1)):5==a?(this.Xr(e,e+2),this.view.ab.ki(e+1)):10==a&&this.qH(c.uniqueName)};b.prototype.S2=function(a){var c=this.view.ab.ZB(a.target);f.v(c)||(a=B.Aa.Qb(a.target),a.Nc("fm-aggr-display")?this.view.Pf.$n(c.data,a):a.Nc("fm-calc-display")?this.vh(10,c.data,c.index):this.vh(3,c.data,c.index))};b.prototype.qH=function(a){a=void 0===a?null:a;this.view.DN=!0;f.model.Ta.P().Da(new k.Ja.pW(a));
|
|
2412
2412
|
f.model.Ta.P().N(k.Ja.Dj.Qz,this.Vx);f.model.Ta.P().N(k.Ja.Dj.Oz,this.Tx);f.model.Ta.P().N(k.Ja.Dj.Pz,this.Ux)};b.prototype.qU=function(){this.qH()};b.prototype.su=function(a){f.model.Ta.P().mb(k.Ja.Dj.Oz,this.Tx);this.Cb.su(a.Ur);this.fm();this.Ie&&this.ce()};b.prototype.tu=function(a){f.model.Ta.P().mb(k.Ja.Dj.Pz,this.Ux);this.Cb.tu(a.Ur);this.fm();this.Ie&&this.ce()};b.prototype.DM=function(){this.view.DN=!1;f.model.Ta.P().mb(k.Ja.Dj.Qz,this.Vx);this.view.ab.focus({preventScroll:!0})};b.prototype.fm=
|
|
2413
|
-
function(){this.view.reset&&this.view.reset();this.view.Me&&this.view.Me.isVisible(this.Cb.QT);this.view.Xd&&(this.view.Xd.clear(!1),this.Cb.Yx());this.view.ab&&(this.view.ab.Ef(this.Cb.Na),this.vs(),this.fL());this.view
|
|
2413
|
+
function(){this.view.reset&&this.view.reset();this.view.Me&&this.view.Me.isVisible(this.Cb.QT);this.view.Xd&&(this.view.Xd.clear(!1),this.Cb.Yx());this.view.ab&&(this.view.ab.Ef(this.Cb.Na),this.vs(),this.fL());this.view.$h&&(this.view.$h.isVisible(this.Cb.DC),this.view.$h.Ap(this.Cb.qT))};b.prototype.fL=function(){var a=this,c={Gn:function(l){return a.view.Gn(l)}};x.Cd().Zl&&(c.aT=".fm-drag-handle");for(var e=this.view.ab.F.find("li",!0),g=0;g<e.length;g++)e[g].draggable(c)};b.prototype.update=function(a,
|
|
2414
2414
|
c){f.v(a)||f.v(c)||(this.Cb.update(a,c,h.qo.hS),this.fm(),this.view.Pd&&this.view.Pd.lf(this.Cb.M0()),this.view.Ff())};b.prototype.vs=function(){this.view.Eh&&this.view.Eh.Ap(this.Cb.P1())};b.prototype.ce=function(){for(var a=[],c=this.view.ab.F.find("li",!0),e=0;e<c.length;e++){var g=parseInt(c[e].attr("data-index"));a.push(g)}c=this.Cb.qza(a);this.Cb.RT(c)&&(a=this.Cb.OL(a),this.Ie&&a instanceof f.u.I.fr&&(a.l2=!1,f.Mg.instance.nD(),this.Cb.zD(a)),f.model.Ta.P().ce(a))};b.prototype.CD=function(a,
|
|
2415
2415
|
c){var e=a.closest("li");null!=e?(this.qd=this.Vv(),a=e.getBoundingClientRect(),c>a.top+a.height/2?e.after(this.qd):e.before(this.qd)):(c=a.closest("ul"),null!=c&&(this.qd=this.Vv(),c.append(this.qd)))};b.prototype.Vv=function(){return new B.Aa("div","fm-drop-indicator")};b.prototype.ul=function(){this.qd&&(this.qd.sg(!0),this.qd=null)};r.Object.defineProperties(b.prototype,{Ie:{configurable:!0,enumerable:!0,get:function(){return this.LJ}}});d.DO=b})(h.flat||(h.flat={}))})(k.Vc||(k.Vc={}))})(f.K||
|
|
2416
2416
|
(f.K={}))})(w||(w={}));
|
|
2417
|
-
(function(f){(function(k){(function(h){(function(d){function b(a){var c=B.Wb.ph.call(this,a)||this;c.Y("fm-flat-fields");c.ue();c.F.dl();c.F.Ji({EV:[B.Ji.
|
|
2418
|
-
this.ww.Y("fm-popup-title");c.V(this.ww);this.vw=new B.Qc(f.model.A.j.Q6);this.vw.Y("fm-popup-subtitle");c.V(this.vw);c=new B.Ca("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");a.V(c);this
|
|
2417
|
+
(function(f){(function(k){(function(h){(function(d){function b(a){var c=B.Wb.ph.call(this,a)||this;c.Y("fm-flat-fields");c.ue();c.F.dl();c.F.Ji({EV:[B.Ji.Uh.Rh],CR:k.Hb.zb.F,pZ:!0,resize:function(e){return c.LM(e)},complete:function(){return c.Io()}});return c}u(b,B.Wb.ph);b.prototype.LM=function(a){a.ED==B.Ji.Uh.Rh&&this.Bp(a.size.height)};b.prototype.ue=function(){var a=new B.Ca("div","fm-popup-header fm-ui-row");this.V(a);var c=new B.Ca("div","fm-ui-col fm-vam");a.V(c);this.ww=new B.Qc(f.model.A.j.ix);
|
|
2418
|
+
this.ww.Y("fm-popup-title");c.V(this.ww);this.vw=new B.Qc(f.model.A.j.Q6);this.vw.Y("fm-popup-subtitle");c.V(this.vw);c=new B.Ca("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");a.V(c);this.$h=new B.Lf("fm-btn-add-measure fm-ui-btn-light fm-icon-act_calc");c.V(this.$h);this.Ae=new B.Lf;this.Ae.bb(f.model.A.j.Ok);this.Eh=new B.Lf("fm-ui-btn-dark");this.Eh.bb(f.model.A.j.ax);x.Ui.HC||x.Ui.Tn?(c.V(this.Ae),c.V(this.Eh)):(c.V(this.Eh),c.V(this.Ae));a=new B.Ca("div","fm-popup-content");this.V(a);c=new B.Ca("div",
|
|
2419
2419
|
"fm-list-wrap");a.V(c);var e=new B.Ca("div","fm-list-header");c.V(e);this.Pd=new B.oJ;this.Pd.Y("fm-select-all-cbx");this.Pd.bb(f.model.A.j.Tu);e.V(this.Pd);this.Me=new B.Ca("div","fm-search-wrap");e.V(this.Me);this.fe=new B.Ca("a","fm-search-btn");this.fe.ve(0);this.fe.dk("button");this.Me.V(this.fe);e=new B.Ca("span","fm-ui-icon fm-icon-act_search");this.fe.V(e);this.Xd=new B.Vi;this.Xd.Y("fm-search-inp-flat");this.Me.V(this.Xd);this.Ki=new B.Ca("span","fm-close-search fm-ui-icon fm-icon-act_close");
|
|
2420
2420
|
this.Ki.ve(0);this.Ki.dk("button");this.Me.V(this.Ki);e=new B.Ca("div","fm-list-content");c.V(e);this.ab=new B.kd.Dh;this.ab.Y("fm-lst-hierarchies");this.ab.ve();this.ab.Oh(this.sD);this.ab.Zf("caption");e.V(this.ab);this.Pf=new h.eI;this.Pf.Y("fm-aggregations-view");this.Pf.Va();a.V(this.Pf);this.Ai=new B.Po.IE(a.F);this.Ai.Va();a.V(this.Ai)};b.prototype.sD=function(a,c){var e=new h.Yf.tP(a,c);e.setData(a);e.dm(c);return e};b.prototype.Ff=function(){this.ww.bb(f.model.A.j.ix);this.vw.bb(f.model.A.j.Q6);
|
|
2421
|
-
this.Ae.bb(f.model.A.j.Ok);this.Eh.bb(f.model.A.j.ax);this.Pd.bb(f.model.A.j.Tu);this.
|
|
2421
|
+
this.Ae.bb(f.model.A.j.Ok);this.Eh.bb(f.model.A.j.ax);this.Pd.bb(f.model.A.j.Tu);this.$h.Ph(f.model.A.j.cA);this.lc(f.model.A.j.ix);this.ww.xn();this.vw.xn();this.ab.lc(f.model.A.j.Ru);this.fe.lc(f.model.A.j.rO);this.Xd.lc(f.model.A.j.rO);this.Ki.lc(f.model.A.j.S6)};b.prototype.reset=function(){this.Me.zd("fm-search-opened-flat");this.Xd.clear(!1)};b.prototype.Gn=function(a){var c=new B.Aa("span");c.Y("fm-drag-handle");c.Y("fm-helper");c.Y("fm-draggable");c.Wa("fm-values",a.Nc("fm-values"));c.R("width",
|
|
2422
2422
|
a.R("width"));c.R("position","absolute");c.R("z-index",100);c.attr("data-index",a.attr("data-index"));c.text(a.text());return c};d.MW=b})(h.flat||(h.flat={}))})(k.Vc||(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2423
|
-
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Wb.ze.call(this)||this;a.Y("fm-flat-fields");a.Y("fm-instant-view");a.ue();return a}u(b,B.Wb.ze);b.prototype.ue=function(){var a=new B.Ca("div","fm-popup-content");this.V(a);var c=new B.Ca("div","fm-list-wrap fm-list-wrap-all");a.V(c);var e=new B.Ca("div","fm-list-header");c.V(e);this.Pd=new B.oJ;this.Pd.Y("fm-select-all-cbx");this.Pd.bb(f.model.A.j.Tu);e.V(this.Pd);this
|
|
2424
|
-
new B.Lf("fm-btn-close-fields");e.V(this.Ae);e=new B.Ca("div","fm-list-content");c.V(e);this.ab=new B.kd.Dh;this.ab.Y("fm-lst-hierarchies");this.ab.ve();this.ab.Oh(this.sD);this.ab.Zf("caption");e.V(this.ab);this.Pf=new h.eI;this.Pf.Y("fm-aggregations-view");this.Pf.Va();a.V(this.Pf);this.Ai=new B.Po.IE(a.F);this.Ai.Va();a.V(this.Ai)};b.prototype.sD=function(a,c){var e=new h.Yf.tP(a,c);e.setData(a);e.dm(c);return e};b.prototype.Ff=function(){this.Pd.bb(f.model.A.j.Tu);this.
|
|
2423
|
+
(function(f){(function(k){(function(h){(function(d){function b(){var a=B.Wb.ze.call(this)||this;a.Y("fm-flat-fields");a.Y("fm-instant-view");a.ue();return a}u(b,B.Wb.ze);b.prototype.ue=function(){var a=new B.Ca("div","fm-popup-content");this.V(a);var c=new B.Ca("div","fm-list-wrap fm-list-wrap-all");a.V(c);var e=new B.Ca("div","fm-list-header");c.V(e);this.Pd=new B.oJ;this.Pd.Y("fm-select-all-cbx");this.Pd.bb(f.model.A.j.Tu);e.V(this.Pd);this.$h=new B.Lf("fm-btn-add-measure");e.V(this.$h);this.Ae=
|
|
2424
|
+
new B.Lf("fm-btn-close-fields");e.V(this.Ae);e=new B.Ca("div","fm-list-content");c.V(e);this.ab=new B.kd.Dh;this.ab.Y("fm-lst-hierarchies");this.ab.ve();this.ab.Oh(this.sD);this.ab.Zf("caption");e.V(this.ab);this.Pf=new h.eI;this.Pf.Y("fm-aggregations-view");this.Pf.Va();a.V(this.Pf);this.Ai=new B.Po.IE(a.F);this.Ai.Va();a.V(this.Ai)};b.prototype.sD=function(a,c){var e=new h.Yf.tP(a,c);e.setData(a);e.dm(c);return e};b.prototype.Ff=function(){this.Pd.bb(f.model.A.j.Tu);this.$h.Ph(f.model.A.j.cA);this.lc(f.model.A.j.ix);
|
|
2425
2425
|
this.ab.lc(f.model.A.j.Ru);this.Ae.lc(f.model.A.j.xI)};b.prototype.Gn=function(a){var c=new B.Aa("span");c.Y("fm-drag-handle");c.Y("fm-helper");c.Y("fm-draggable");c.Wa("fm-values",a.Nc("fm-values"));c.R("width",a.R("width"));c.R("position","absolute");c.R("z-index",100);c.attr("data-index",a.attr("data-index"));c.text(a.text());return c};b.prototype.open=function(){this.show();this.Xa(z.da.OPENED)};b.prototype.close=function(){this.Va();this.Xa(z.da.CLOSED)};d.gma=b})(h.flat||(h.flat={}))})(k.Vc||
|
|
2426
2426
|
(k.Vc={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2427
2427
|
(function(f){(function(k){(function(h){function d(){var b=B.Wb.ph.call(this,k.Hb.zb.F)||this;b.MKa=function(){return b.KM()};b.Y("fm-calculated-view");b.F.dl();b.bD.Y("fm-calculated-view-overlay");b.De=new h.gka;b.De.N(z.da.Q5,function(){return b.close()});b.V(b.De.view);b.N(z.da.CLOSED,b.MKa);return b}u(d,B.Wb.ph);d.prototype.KM=function(){f.model.Ta.P().Da(new k.Ja.kka)};d.prototype.es=function(b){this.De.update(b);this.open();this.De.view.Fq.focus({preventScroll:!0});this.Ff()};d.prototype.Ff=
|
|
@@ -2438,18 +2438,18 @@ get:function(){return!f.ia(this.nd)}},yl:{configurable:!0,enumerable:!0,get:func
|
|
|
2438
2438
|
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.W9=new RegExp(/(["])(?:(?=(\\?))\2.)*?\1/g);b.ja=new h.hka;b.view=new h.lka(b);b.view.Kw&&b.view.Kw.N(B.ud.$e,function(){return b.PFa()});b.view.Xd&&(b.view.Xd.nV(500),b.view.Xd.N(B.Vi.gx,function(){return b.JM()}));b.view.fe&&(b.view.fe.N("click",function(){return b.$r()}),b.view.fe.N("keydown",function(g){return b.bz(g,!1)}));b.view.Ki&&(b.view.Ki.N("click",function(){return b.bs()}),b.view.Ki.N("keydown",function(g){return b.bz(g,
|
|
2439
2439
|
!0)}));b.view.Ob&&(b.view.Ob.F.N("click",function(g){return b.kFa(g)}),b.view.Ob.F.N("dblclick",function(g){return b.lFa(g)}),b.view.Ob.F.N("keydown",function(g){return b.rFa(g)}),b.view.Ob.Oh(function(g,l){return b.Jr(g,l)}));b.view.Gh&&b.view.Gh.F.Hr({am:function(g){return b.mFa(g)},G2:function(){return b.xfa()},$l:function(){return b.xfa()},pl:function(){return b.JEa()},Qy:"li"});b.view.Eh&&b.view.Eh.N(B.ud.$e,function(){return b.YC()});b.view.Ae&&b.view.Ae.N(B.ud.$e,function(){return b.Zr()});
|
|
2440
2440
|
b.view.Pf&&b.view.Pf.N(z.da.Qd,function(g){return b.CDa(g)});if(b.view.uS)for(var a={},c=ja(b.view.uS),e=c.next();!e.done;a={ON:a.ON},e=c.next())a.ON=e.value,a.ON.N(B.ud.$e,function(g){return function(){return b.KEa(g.ON)}}(a));return b}u(d,z.Gc);d.prototype.JM=function(){this.ja.search(this.view.Xd.Bi());this.view.Ob.F.Wa("fm-searched",this.ja.Un);this.zia()};d.prototype.$r=function(){this.view.Me.Y("fm-search-opened");this.view.Xd.F.focus()};d.prototype.bz=function(b,a){if(32===b.keyCode||13===
|
|
2441
|
-
b.keyCode)a?this.bs():this.$r()};d.prototype.bs=function(){this.view.Me.
|
|
2441
|
+
b.keyCode)a?this.bs():this.$r()};d.prototype.bs=function(){this.view.Me.zd("fm-search-opened");this.view.Xd.clear();this.view.fe.F.focus()};d.prototype.kFa=function(b){var a=B.Aa.Qb(b.target);a.Nc("fm-aggr-display")&&(b=this.view.Ob.ZB(b.target),f.v(b)||this.view.Pf.$n(b.data,a))};d.prototype.lFa=function(b){b=this.view.Ob.ZB(b.target);f.v(b)||this.hZ(b.data)};d.prototype.rFa=function(b){var a=this;if(32===b.keyCode||13===b.keyCode){if(this.view.Ai){var c=this.view.Ob.Wt();if(f.v(c))return;var e=
|
|
2442
2442
|
[];e.push({label:f.model.A.j.sja,handler:function(){a.hZ(c.data)}});e.push({label:f.model.A.j.FW,submenu:this.Cy(c.data)});this.view.Ai.$n(this.view.content.F,e,c.element.Uf(),{top:10,left:10})}b.preventDefault()}};d.prototype.Cy=function(b){for(var a=this,c=[],e={},g=0;g<b.Tc.length;e={RN:e.RN},g++)e.RN={caption:b.uK[g],$:b.Tc[g]},void 0!=b.Dv&&(e.RN.RV=b.Dv[g]),c.push({label:f.u.i.ca.wF(b.Tc[g]),isSelected:b.Tc[g]==b.$,handler:function(l){return function(){return a.pz(b,l.RN)}}(e)});return c};d.prototype.xfa=
|
|
2443
|
-
function(){this.view.Gh.Y("fm-droppable-over")};d.prototype.JEa=function(){this.view.Gh.
|
|
2444
|
-
!0),this.view.Fq&&this.view.Fq.ij(this.ja.$i.caption),this.view.Gh&&(b=f.model.B.C.k5?this.ZHa(this.ja.$i.Ge):this.ja.$i.Ge,this.view.Gh.ij(b)),this.view.Kw&&this.view.Kw.isVisible(!0)):(this.view.F.Wa("fm-with-delete-btn",!1),this.view.Kw&&this.view.Kw.isVisible(!1));this.view.xB&&this.ja.z4&&(this.view.xB.checked=this.ja.$i?this.ja.$i.Bk:!1);this.view.Xd&&(this.view.Me.
|
|
2445
|
-
a=this.ja.Kr(),c=[],e=0;e<a.length;e++)null!=this.ja.$i&&this.ja.$i.uniqueName==a[e].uniqueName||a[e].Dg||(a[e].rg=!0,a[e].yl=this.ja.yl&&!a[e].Ja,c.push(a[e]));c.sort(this.RZ);if(this.view.Ob)for(this.view.Ob.Ef(c),a={Gn:function(g){return b.view.Gn(g)}},x.
|
|
2446
|
-
a){return b.name>a.name?1:-1};d.prototype.PFa=function(){x.
|
|
2443
|
+
function(){this.view.Gh.Y("fm-droppable-over")};d.prototype.JEa=function(){this.view.Gh.zd("fm-droppable-over")};d.prototype.mFa=function(b){this.view.Gh.zd("fm-droppable-over");b=parseInt(b.attr("data-index"));b=this.view.Ob.wc()[b];this.hZ(b)};d.prototype.Jr=function(b,a){var c=new k.Vc.Yf.LW;c.setData(b);c.dm(a);c.wV(function(e){return e.name+" ("+f.u.i.ca.wF(e.$)+")"});return c};d.prototype.update=function(b){this.ja.update(b);this.view.xB.isVisible(this.ja.z4);null!=this.ja.$i?(this.view.F.Wa("fm-with-delete-btn",
|
|
2444
|
+
!0),this.view.Fq&&this.view.Fq.ij(this.ja.$i.caption),this.view.Gh&&(b=f.model.B.C.k5?this.ZHa(this.ja.$i.Ge):this.ja.$i.Ge,this.view.Gh.ij(b)),this.view.Kw&&this.view.Kw.isVisible(!0)):(this.view.F.Wa("fm-with-delete-btn",!1),this.view.Kw&&this.view.Kw.isVisible(!1));this.view.xB&&this.ja.z4&&(this.view.xB.checked=this.ja.$i?this.ja.$i.Bk:!1);this.view.Xd&&(this.view.Me.zd("fm-search-opened"),this.view.Xd.clear(!1),this.ja.Yx());this.view.Ff();this.zia()};d.prototype.zia=function(){for(var b=this,
|
|
2445
|
+
a=this.ja.Kr(),c=[],e=0;e<a.length;e++)null!=this.ja.$i&&this.ja.$i.uniqueName==a[e].uniqueName||a[e].Dg||(a[e].rg=!0,a[e].yl=this.ja.yl&&!a[e].Ja,c.push(a[e]));c.sort(this.RZ);if(this.view.Ob)for(this.view.Ob.Ef(c),a={Gn:function(g){return b.view.Gn(g)}},x.Cd().Zl&&(a.aT=".fm-drag-handle"),c=this.view.Ob.F.find("li",!0),e=0;e<c.length;e++)c[e].draggable(a)};d.prototype.clear=function(){this.view.Fq&&this.view.Fq.ij("");this.view.Gh&&this.view.Gh.ij("");this.ja.$i=null};d.prototype.RZ=function(b,
|
|
2446
|
+
a){return b.name>a.name?1:-1};d.prototype.PFa=function(){x.Cd().Zl?this.m3():this.AJa()};d.prototype.AJa=function(){var b=this;if(x.Ui.HC||x.Ui.Tn){var a=[f.model.A.j.G5,f.model.A.j.XD];var c=[null,function(){return b.m3()}]}else a=[f.model.A.j.XD,f.model.A.j.G5],c=[function(){return b.m3()},null];var e=f.model.Nb.valid(this.ja.$i.caption)?this.ja.$i.caption:f.model.Nb.validate(this.ja.$i.caption);f.Ua(f.model.A.j.uja,f.O.bind(f.model.A.j.vja,e),f.qb.Nk,a,c)};d.prototype.m3=function(){this.ja.mD(this.ja.$i);
|
|
2447
2447
|
this.close()};d.prototype.hZ=function(b){if(void 0!==b){var a=f.model.B.C.k5?b.name:b.uniqueName;b.$===f.u.i.ca.NONE||void 0===b.$?this.Ly(f.O.bind('"{0}"',a)):this.Ly(f.O.bind('{0}("{1}")',b.$,a))}};d.prototype.CDa=function(b){this.pz(b.data.hL,b.data.mZ)};d.prototype.pz=function(b,a){b.$=a.$;b.caption=a.caption+" of "+b.name;this.view.Ob.Rq(b)};d.prototype.KEa=function(b){b=b.data.func;b==f.u.i.nc.GO||b==f.u.i.nc.cW||b==f.u.i.nc.MIN||b==f.u.i.nc.MAX||b==f.u.i.nc.rn||b==f.u.i.nc.sX?this.qsa(b):this.nsa(b)};
|
|
2448
2448
|
d.prototype.Zr=function(){this.close()};d.prototype.YC=function(){var b=f.model.B.C.k5?this.YHa(this.view.Gh.Bi()):this.view.Gh.Bi();if(f.model.B.C.ZV){var a=x.EO.gR(b,this.ja.$i?this.ja.$i.uniqueName:this.view.Fq.Bi());if(0==a.nw){f.Ua(a.errorMessage);return}}a=this.ja.z4?this.view.xB.checked:!1;this.ja.Lj(b,this.view.Fq.Bi(),a);this.close()};d.prototype.YHa=function(b){b=b.slice(0);for(var a=b.match(this.W9),c=f.u.La.P().I.measures,e,g,l=0;l<a.length;l++){e=a[l].substring(1,a[l].length-1);for(g=
|
|
2449
2449
|
0;g<c.length&&e!==c.ea(g).bm;g++);g<c.length&&(b=b.replace('"'+e+'"','"'+c.ea(g).uniqueName+'"'))}return b};d.prototype.ZHa=function(b){b=b.slice(0);for(var a=b.match(this.W9),c=f.u.La.P().I.measures,e,g=0;g<a.length;g++)e=a[g].substring(1,a[g].length-1),b=b.replace('"'+e+'"','"'+c.getItem(e).bm+'"');return b};d.prototype.close=function(){this.Xa(z.da.Q5)};d.prototype.Ly=function(b,a){a=void 0===a?0:a;var c=this.view.Gh.F.element.selectionStart,e=this.view.Gh.Bi();-1==c&&(c=this.Nh);0==c||" "==e.charAt(c-
|
|
2450
2450
|
1)?(this.view.Gh.Ly(b+" "),this.Nh=c+b.length+1):(this.view.Gh.Ly(" "+b+" "),this.Nh=c+b.length+2);this.Nh-=a;this.view.Gh.lf(this.Nh)};d.prototype.nsa=function(b){this.Ly(b)};d.prototype.qsa=function(b){var a=this.view.Gh.F.element.selectionStart,c=this.view.Gh.F.element.selectionEnd,e=this.view.Gh.Bi();if(f.u.i.nc.GO==b)this.Ly(b+"("+e.slice(a,c)+", , )",6);else{var g=f.u.i.nc.MIN==b||f.u.i.nc.MAX==b?",":"";this.Ly(b+"("+e.slice(a,c)+g+")",2+g.length)}};r.Object.defineProperties(d.prototype,{h0:{configurable:!0,
|
|
2451
2451
|
enumerable:!0,get:function(){return this.ja.h0}}});h.gka=d})(k.Ja||(k.Ja={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2452
|
-
(function(f){(function(k){(function(h){function d(){var a=B.Lf.call(this,"fm-ui-col-9 fm-calc-action")||this;a.
|
|
2452
|
+
(function(f){(function(k){(function(h){function d(){var a=B.Lf.call(this,"fm-ui-col-9 fm-calc-action")||this;a.zd("fm-ui-btn");return a}function b(a){var c=B.Ca.call(this)||this;c.controller=a;c.ue();return c}u(b,B.Ca);b.prototype.ue=function(){var a=this,c=new B.Ca("div","fm-popup-header fm-ui-row");this.V(c);var e=new B.Ca("div","fm-ui-col fm-vam");c.V(e);this.Gp=new B.Qc(f.model.A.j.jW);this.Gp.Y("fm-popup-title");e.V(this.Gp);e=new B.Ca("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");c.V(e);this.Kw=
|
|
2453
2453
|
new B.Lf("fm-ui-btn-light fm-icon-act_trash fm-remove-btn");this.Kw.F.attr("title",f.model.A.j.M5);e.V(this.Kw);this.Ae=new B.Lf("fm-ui-btn");this.Ae.bb(f.model.A.j.Ok);this.Eh=new B.Lf("fm-ui-btn-dark");this.Eh.bb(f.model.A.j.ax);x.Ui.HC||x.Ui.Tn?(e.V(this.Ae),e.V(this.Eh)):(e.V(this.Eh),e.V(this.Ae));this.content=c=new B.Ca("div","fm-popup-content");this.V(c);this.Fq=new B.Vi;this.Fq.Y("fm-name-input");this.Fq.xD(f.model.A.j.iW);c.V(this.Fq);e=new B.Ca("div","fm-list-header fm-list-header-wide");
|
|
2454
2454
|
c.V(e);var g=new B.Ca("div","fm-list-header-label-wrap");e.V(g);var l=new B.Qc(f.model.A.j.Ru);g.V(l);this.Me=new B.Ca("div","fm-search-wrap");e.V(this.Me);this.fe=new B.Ca("a","fm-search-btn");this.fe.ve(0);this.fe.dk("button");this.Me.V(this.fe);e=new B.Ca("span","fm-ui-icon fm-icon-act_search");this.fe.V(e);this.Xd=new B.Vi;this.Xd.Y("fm-search-inp");this.Me.V(this.Xd);this.Ki=new B.Ca("span","fm-close-search fm-ui-icon fm-icon-act_close");this.Ki.ve(0);this.Ki.dk("button");this.Me.V(this.Ki);
|
|
2455
2455
|
e=new B.Ca("div","fm-list-content");c.V(e);this.Ob=new B.kd.Dh;this.Ob.Y("fm-lst-measures");this.Ob.ve();this.Ob.useCache=!1;this.Ob.Zf("caption");e.V(this.Ob);this.xB=new B.oJ;this.xB.bb(f.model.A.j.J5);c.V(this.xB);this.qca=new B.Ca("div","fm-ui-row fm-func-btn-group");c.V(this.qca);this.uS=[];e=this.controller.h0;for(g=0;g<e.length;g++)l=new d,l.data=e[g],l.F.attr("data-index",g),l.bb(e[g].label),l.Ph(f.model.A.j[l.data.Ve]),l.lc(f.model.A.j[l.data.Ve]),this.qca.V(l),this.uS.push(l);e=new B.Ca("div",
|
|
@@ -2475,7 +2475,7 @@ e={};for(c=0;c<b.Qf.length;c++)g=b.Qf[c],g.Ja&&0<g.Nd.length&&this.xca(g.Nd,e);f
|
|
|
2475
2475
|
var a=this.vm.Mr(this.Vg,this.mg);this.jDa(a);this.KZ();b&&this.Xa(d.pO)};d.prototype.jDa=function(b){this.zH=NaN;if(!f.v(b))if(Array.isArray(b)){this.zH=this.data[0].length;for(var a=0;a<b.length;a++)this.data[a].push(b[a])}else f.v(this.data[0])||(this.zH=this.data[0].length,this.data[0].push(b))};d.prototype.sN=function(b){var a=b.measure&&b.measure.type==f.u.i.Ka.uc?f.u.i.ya.ec:f.u.i.ya.Fc,c=!0;this.wR==b.hierarchy?(this.xi=this.xi==f.u.i.ya.ec?f.u.i.ya.Fc:this.xi==f.u.i.ya.Fc?f.u.i.ya.ec:a,c=
|
|
2476
2476
|
!0):(this.xi=a,c=!1);this.wR=b.hierarchy;var e=this.Wca(b.hierarchy),g=b.hierarchy.zj(b.hierarchy.vd,!0,this.xi);c?this.data.reverse():this.data.sort(function(l,m){return g.indexOf(l[e])-g.indexOf(m[e])})};d.prototype.cAa=function(b){if(f.v(this.data)||f.v(this.data[b-1]))return null;for(var a=[],c=0;c<this.Zv.Te.length;c++){var e=this.dAa(b,this.hg.Te.th(c));a.push(null==e?e:e.Ma())}return a};d.prototype.dAa=function(b,a){a=this.Lb.Xc.Rg(a);if(null==a)return null;var c=this.Lb.He(a.uniqueName);return null==
|
|
2477
2477
|
c?null:this.Mca(b,-1,a,c)};d.prototype.KZ=function(){this.xi=this.wR=null};d.prototype.eAa=function(){for(var b,a=[],c=0;c<this.Vg.length;c++){b=this.Lb.vb.ea(c);if(null==b)return null;b=b.ua(this.Vg[c]);a.push(f.O.Ln(b.caption,!0,!0))}a=0<a.length?f.O.bind(f.model.A.j.Ika,a.join(" - ")):"";return a=a.replace(/<br\s*[\/]?>/gi," ")};d.prototype.Nya=function(){for(var b,a=[],c=0;c<this.mg.length;c++){b=this.Lb.Bb.ea(c);if(null==b)return null;b=b.ua(this.mg[c]);a.push(f.O.Ln(b.caption,!0,!0))}a=0<a.length?
|
|
2478
|
-
f.O.bind(f.model.A.j.Hka,a.join(" - ")):"";return a=a.replace(/<br\s*[\/]?>/gi," ")};d.prototype.Fza=function(){var b=this.measure.Hh(this.measure.uniqueName,this.measure.$).clone(),a=this.vm.Ia(this.Vg,this.mg,this.measure);this.measure.$==f.u.i.ca.
|
|
2478
|
+
f.O.bind(f.model.A.j.Hka,a.join(" - ")):"";return a=a.replace(/<br\s*[\/]?>/gi," ")};d.prototype.Fza=function(){var b=this.measure.Hh(this.measure.uniqueName,this.measure.$).clone(),a=this.vm.Ia(this.Vg,this.mg,this.measure);this.measure.$==f.u.i.ca.pi?b.xd="":f.u.i.ca.Vf(this.measure.$)?b.Vf=!0:f.u.i.ca.Zd(this.measure.$)&&(b.Zd=!0,b.xd="%");var c=f.u.i.Ka.Zb==this.measure.type&&f.u.i.ca.jo(this.measure.$),e=f.u.i.Ka.Pa==this.measure.type||f.u.i.Ka.Ec==this.measure.type;b=c?f.O.Uw(a,f.model.B.C.Fp):
|
|
2479
2479
|
e?this.cell.label:x.Vb.format(a,b);b=f.O.bind(f.model.A.j.Kka,f.O.Ln(this.measure.label,!0,!0),b);return b=b.replace(/<br\s*[\/]?>/gi," ")};d.prototype.getData=function(b,a){return f.v(this.hg)?null:0==b?this.lC(a):0>a||a>=this.hg.Zn.length?null:this.wG(b,a)};d.prototype.lC=function(b){var a=new k.X.W.ae;a.ll=!0;a.wh=!0;if(0>b||b>=this.hg.Zn.length)return null;var c=this.hg.Zn[b].level;b=this.Lb.Xc.Rg(this.hg.Zn[b].hierarchy);if(null==b)return null;void 0!==c&&(c=b.Rt(c),null!=c&&(a.label=b.caption+
|
|
2480
2480
|
" / "+c.caption));f.ia(a.label)&&(a.label=b.caption);a.hierarchy=b;a.measure=this.Lb.Xc.He(b.uniqueName);this.eCa&&(a.Zm=!0,a.hierarchy==this.wR&&(a.ao=this.xi==f.u.i.ya.ec,a.bo=this.xi==f.u.i.ya.Fc));return a};d.prototype.wG=function(b,a){if(f.v(this.data)||f.v(this.data[b-1]))return null;var c=this.Lb.Xc.Rg(this.hg.Zn[a].hierarchy);if(null==c)return null;var e=this.Lb.He(c.uniqueName);return null==e?null:this.Mca(b,a,c,e)};d.prototype.Mca=function(b,a,c,e){var g=new k.X.W.ae;g.gb=b;g.hc=a;g.ll=
|
|
2481
2481
|
!0;g.Mh=!0;var l=c.ua(this.Oza(b,this.Wca(c)));g.label=this.Iza(l,-1!=a?this.hg.Zn[a].level:void 0);g.hierarchy=c;a=this.OS(e);e.type!=f.u.i.Ka.fb&&e.type!=f.u.i.Ka.Zb&&e.type!=f.u.i.Ka.Pa&&e.type!=f.u.i.Ka.Ec||f.v(l)||(g.value=l.cc,g.label=e.type==f.u.i.Ka.fb?x.Vb.format(g.value,a):l.caption,g.numeric=g.numeric||e.type!=f.u.i.Ka.fb?g.numeric:!0);f.ia(a.textAlign)||g.iy({"text-align":a.textAlign});g.yH=this.Mr(b);g.measure=e;return g};d.prototype.Mr=function(b){return isNaN(this.zH)?void 0:this.data[b-
|
|
@@ -2507,21 +2507,21 @@ c.label=this.hg.Te.getItem(a).caption;return c};b.prototype.wG=function(a,c){if(
|
|
|
2507
2507
|
e,n.value=e):g.type===f.u.i.Hc.Pa||l&&f.u.i.eb.oBa(l.type)?"number"==typeof e?(l&&l.type===f.u.i.eb.Ec?(a=this.df.ga.mapping.Ia(g.uniqueName,"format",f.model.B.C.bl),n.label=f.O.BN(e,a,f.model.B.C.Rj)):(a=this.df.ga.mapping.Ia(g.uniqueName,"format",f.model.B.C.uq),n.label=f.O.Tw(e,a,f.model.B.C.Rj)),n.value=e):"string"!==typeof e||f.ia(e)||"null"===e?n.label=!f.model.B.C.Gr||null!==e&&"null"!==e?f.model.A.j.fn:f.model.A.j.qW:n.label=e:n.label=e;f.ia(m.textAlign)||n.iy({"text-align":m.textAlign});
|
|
2508
2508
|
return n};d.Yia=b})(h.Wr||(h.Wr={}))})(k.xf||(k.xf={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2509
2509
|
(function(f){(function(k){function h(a,c,e,g){var l=z.da.call(this,b.tW)||this;l.measure=a;l.mg=c;l.Vg=e;l.cell=g;return l}function d(a){var c=z.da.call(this,b.kx)||this;c.hierarchy=a;return c}function b(){}b.kx="FILTER_OPEN";b.JW="FILTER_CLOSE";b.tW="DRILL_THROUGH_OPEN";b.Y5="CONTEXT_MENU_OPEN";b.qX="RENDER_COMPLETE";b.$w="beforegriddraw";b.ko="aftergriddraw";k.ti=b;u(d,z.da);k.CO=d;u(h,z.da);k.v6=h})(f.K||(f.K={}))})(w||(w={}));
|
|
2510
|
-
(function(f){(function(k){(function(h){function d(){this.xr=[];this.
|
|
2511
|
-
this.Je||this.selectAll(!this.se)};d.prototype.search=function(b,a){b=b.toLowerCase();this.nd===b?a(this.ge):(this.nd=b,0==this.nd.length?a():f.u.La.P().yp(this.$g,b,a))};d.prototype.uha=function(b){null!=b?this.ge=b:this.ge.length=0};d.prototype.selectAll=function(b){if(this.Je())for(var a=this.ge.length,c=0;c<a;c++)f.O.contains(this.$g.ua(this.ge[c]).caption,this.nd)&&this.select(this.ge[c],b);else this.se=b,this.
|
|
2512
|
-
this.Je()?this.se&&this.Je()?this.ge.length+this.qva()-this.
|
|
2513
|
-
var a=b.length;this.se=0==a;if(!this.se)for(var c=0;c<a;c++)this.
|
|
2514
|
-
"\\$&"),!0,!0);g=new RegExp("("+g+")","ig");for(var l=this.Je()?this.ge:this.xr,m;e<a&&!(e>l.length-1);e++){var n=this.$g.ua(l[e]);m=f.O.Ln(n.caption,!0,!0);n={Yb:n,label:this.Je()?m.replace(g,'<b class="fm-search-highlight">$&</b>'):m,sd:(this.
|
|
2510
|
+
(function(f){(function(k){(function(h){function d(){this.xr=[];this.Ad=new f.mE;this.ge=[];this.nd="";this.se=!0}d.prototype.uV=function(b){this.$g=b};d.prototype.vha=function(b){this.bg=b;this.xr=this.$g.zj(this.$g.vd,!1,this.bg)};d.prototype.$ga=function(b,a){var c=this.Je()?this.ge:this.xr;b=c.indexOf(b.ordinal);a=c.indexOf(a.ordinal);for(a<b&&(b=a+(a=b,0));b<=a;b++)this.select(c[b],!0)};d.prototype.select=function(b,a){this.se!=a?this.Ad.add(b):this.Ad.delete(b);this.Ad.size!=this.xr.length||
|
|
2511
|
+
this.Je||this.selectAll(!this.se)};d.prototype.search=function(b,a){b=b.toLowerCase();this.nd===b?a(this.ge):(this.nd=b,0==this.nd.length?a():f.u.La.P().yp(this.$g,b,a))};d.prototype.uha=function(b){null!=b?this.ge=b:this.ge.length=0};d.prototype.selectAll=function(b){if(this.Je())for(var a=this.ge.length,c=0;c<a;c++)f.O.contains(this.$g.ua(this.ge[c]).caption,this.nd)&&this.select(this.ge[c],b);else this.se=b,this.Ad.clear()};d.prototype.Yga=function(){};d.prototype.iw=function(){var b=this.se||
|
|
2512
|
+
this.Je()?this.se&&this.Je()?this.ge.length+this.qva()-this.Ad.size:this.se||0!=this.Ad.size?this.xr.length==this.Ad.size?this.ge.length:this.xr.length-this.Ad.size:this.Ad.size:this.Ad.size;return 0<b?b:0};d.prototype.qva=function(){for(var b=0,a=0;a<this.ge.length;a++)this.Ad.has(this.ge[a])&&b++;return this.Ad.size-b};d.prototype.Gy=function(){if(this.Je()){for(var b=0,a=0;a<this.ge.length;a++)!this.Ad.has(this.ge[a])==this.se&&b++;return b}return this.iw()};d.prototype.rV=function(b){this.Ad.clear();
|
|
2513
|
+
var a=b.length;this.se=0==a;if(!this.se)for(var c=0;c<a;c++)this.Ad.add(b[c])};d.prototype.IS=function(){var b=[];var a=this.Je()&&this.se?this.ge:this.Ad.Kc();var c=a.length;if(this.Je()&&this.se)for(a=0;a<this.ge.length;a++)this.Ad.has(this.ge[a])||b.push(this.ge[a]);else for(var e=0;e<c;e++)b[e]=a[e];a=this.Je()&&this.se?!1:0==b.length?!1:this.se;return{items:b,qu:a}};d.prototype.vV=function(b){this.xr=b;this.nd="";this.ge.length=0};d.prototype.F0=function(b,a){var c=[],e=b,g=f.O.Ln(this.nd.replace(/[-\/\\^$*+?.()|[\]{}]/g,
|
|
2514
|
+
"\\$&"),!0,!0);g=new RegExp("("+g+")","ig");for(var l=this.Je()?this.ge:this.xr,m;e<a&&!(e>l.length-1);e++){var n=this.$g.ua(l[e]);m=f.O.Ln(n.caption,!0,!0);n={Yb:n,label:this.Je()?m.replace(g,'<b class="fm-search-highlight">$&</b>'):m,sd:(this.Ad.has(n.ordinal)?!this.se:this.se)?1:0,Iea:0,oIa:a-b<l.length-1?15:0,dh:n.dh&&"Others"!==m};c.push(n)}return c};d.prototype.getItem=function(b){return(this.Je()?this.ge:this.xr)[b]};d.prototype.CG=function(){return this.Je()?this.ge.length:this.xr.length};
|
|
2515
2515
|
d.prototype.getTotalLength=function(){return this.CG()};d.prototype.Je=function(){return 0<this.nd.length};d.prototype.expand=function(){};d.prototype.collapse=function(){};h.iX=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2516
|
-
(function(f){(function(k){(function(h){function d(){this.fd=[];this.
|
|
2516
|
+
(function(f){(function(k){(function(h){function d(){this.fd=[];this.Ad=[];this.ge=[];this.ck=[];this.wy=[];this.nd="";this.se=!0;this.bg=f.u.i.ya.$c}d.prototype.uV=function(b){this.$g=b;this.fd.length=0};d.prototype.vha=function(b){this.bg=b;this.fd.length=0;this.o1(this.$g.vd,-1)};d.prototype.vV=function(b){for(var a=0,c=b.length,e;a<c;a++)e=this.$g.ua(b[a]),e.Xb||(this.fd.push(b[a]),e.Ug&&e.children&&0<e.children.length&&(this.wy.push(b[a]),this.vV(this.bg===f.u.i.ya.$c?e.children.slice():this.$g.zj(e,
|
|
2517
2517
|
!1,this.bg))))};d.prototype.F0=function(b,a){for(var c=b,e=[],g,l=new RegExp("("+this.nd+")","i"),m=this.Je()?this.ge:this.fd,n;c<a&&!(c>m.length-1);c++)g=this.$g.ua(m[c]),n=f.O.Ln(g.caption,!0,!0),g={Yb:g,Iea:g.level.sb,label:this.Je()?n.replace(l,'<b class="fm-search-highlight">$&</b>'):n,sd:this.sd(g),Je:this.Je(),Bf:this.Bf(g),oIa:a-b<m.length-1?17:0,dh:g.dh&&"Others"!=g.caption,cT:this.cT(g)},e.push(g);return e};d.prototype.getItem=function(b){return(this.Je()?this.ge:this.fd)[b]};d.prototype.sd=
|
|
2518
|
-
function(b){var a=(-1==this.
|
|
2519
|
-
this.nd)||b++;return this.ge.length-b}return this.$g?this.$g.yi-1:0};d.prototype.$ga=function(b,a){var c=this.Je()?this.ge:this.fd;b=c.indexOf(b.ordinal);a=c.indexOf(a.ordinal);for(a<b&&(b=a+(a=b,0));b<=a;b++)this.select(this.$g.ua(c[b]),!0)};d.prototype.select=function(b,a){var c=this.
|
|
2520
|
-
this.Zga(b);this.
|
|
2521
|
-
!this.se&&e&&this.
|
|
2522
|
-
1);e=this.$g.ua(b[a]);0<e.children.length&&this.YU(e)}};d.prototype.T3=function(b){for(var a=0,c,e,g=b.children,l=g.length;a<l;a++)e=this.$g.ua(g[a]),b=this.
|
|
2523
|
-
function(){if(this.Je()){for(var b=0,a=this.ge.length,c,e=0;e<a;e++)c=this.$g.ua(this.ge[e]),f.O.contains(c.caption,this.nd)&&0>this.
|
|
2524
|
-
this.YU(c);c.parent&&!c.parent.Xb;)c=c.parent,-1==this.ck.indexOf(c.ordinal)&&this.ck.push(c.ordinal)}};d.prototype.IS=function(){var b=[];var a=this.Je()&&this.se?this.ge:this.
|
|
2518
|
+
function(b){var a=(-1==this.Ad.indexOf(b.ordinal)?this.se:!this.se)?1:0;0<this.Ad.length&&-1!=this.ck.indexOf(b.ordinal)&&(a=-1);return a};d.prototype.cT=function(b){return this.Je()?!1:!b.Ei};d.prototype.Bf=function(b){return this.Je()||b.Ei?void 0:-1!=this.wy.indexOf(b.ordinal)?!0:!1};d.prototype.CG=function(){return this.Je()?this.ge.length:this.fd.length};d.prototype.getTotalLength=function(){if(this.Je()){var b=0;if(f.u.La.P().ga.Bc)for(var a=this.ge.length,c=0;c<a;c++)f.O.contains(this.$g.ua(this.ge[c]).caption,
|
|
2519
|
+
this.nd)||b++;return this.ge.length-b}return this.$g?this.$g.yi-1:0};d.prototype.$ga=function(b,a){var c=this.Je()?this.ge:this.fd;b=c.indexOf(b.ordinal);a=c.indexOf(a.ordinal);for(a<b&&(b=a+(a=b,0));b<=a;b++)this.select(this.$g.ua(c[b]),!0)};d.prototype.select=function(b,a){var c=this.Ad.indexOf(b.ordinal);this.se!==a?(-1==c&&this.Ad.push(b.ordinal),0<b.children.length&&this.YU(b)):(-1!=c&&this.Ad.splice(c,1),0<b.children.length&&this.T3(b));a=this.ck.indexOf(b.ordinal);-1!=a&&this.ck.splice(a,1);
|
|
2520
|
+
this.Zga(b);this.Ad.length===this.$g.yi-1&&(this.Ad.length=0,this.ck.length=0,this.se=!this.se)};d.prototype.Yga=function(b){-1==this.ck.indexOf(b.ordinal)&&(-1==this.Ad.indexOf(b.ordinal)?this.T3(b):this.YU(b))};d.prototype.Zga=function(b){var a=b.parent;if(a&&!a.Xb){b=this.Ad.indexOf(a.ordinal);var c=this.ck.indexOf(a.ordinal);var e=-1!=b;this.tda(a,!1)?(this.tda(a)?(-1==c&&this.ck.push(a.ordinal),this.se&&e&&this.Ad.splice(b,1)):(-1!=c&&this.ck.splice(c,1),this.se&&!e&&this.Ad.push(a.ordinal)),
|
|
2521
|
+
!this.se&&e&&this.Ad.splice(b,1)):(-1!=c&&this.ck.splice(c,1),this.se&&e?this.Ad.splice(b,1):this.se||e||this.Ad.push(a.ordinal));this.Zga(a)}};d.prototype.tda=function(b,a){a=void 0===a?!0:a;var c=0;b=b.children;for(var e=b.length;c<e;c++)if(-1==this.Ad.indexOf(b[c])==this.se==a||-1!=this.ck.indexOf(b[c]))return!0;return!1};d.prototype.YU=function(b){var a=0;b=b.children;for(var c=b.length;a<c;a++){var e=this.Ad.indexOf(b[a]);var g=this.ck.indexOf(b[a]);-1==e&&this.Ad.push(b[a]);-1!=g&&this.ck.splice(g,
|
|
2522
|
+
1);e=this.$g.ua(b[a]);0<e.children.length&&this.YU(e)}};d.prototype.T3=function(b){for(var a=0,c,e,g=b.children,l=g.length;a<l;a++)e=this.$g.ua(g[a]),b=this.Ad.indexOf(g[a]),c=this.ck.indexOf(g[a]),-1!=b&&this.Ad.splice(b,1),-1!=c&&this.ck.splice(c,1),0<e.children.length&&this.T3(e)};d.prototype.selectAll=function(b){if(this.Je())for(var a=this.ge.length,c,e=0;e<a;e++)c=this.$g.ua(this.ge[e]),f.O.contains(c.caption,this.nd)&&this.select(c,b);else this.se=b,this.Ad.length=0,this.ck.length=0};d.prototype.Gy=
|
|
2523
|
+
function(){if(this.Je()){for(var b=0,a=this.ge.length,c,e=0;e<a;e++)c=this.$g.ua(this.ge[e]),f.O.contains(c.caption,this.nd)&&0>this.Ad.indexOf(this.ge[e])==this.se&&b++;return b}return this.iw()};d.prototype.iw=function(){var b=this.se?this.$g.yi-this.Ad.length-this.ck.length-1:this.Ad.length;return 0>b?0:b};d.prototype.rV=function(b){var a=b.length;this.Ad.length=0;this.ck.length=0;if(0==a)this.se=!0;else{this.se=!1;for(var c,e=0;e<a;e++)for(c=this.$g.ua(b[e]),this.Ad.push(c.ordinal),0<c.children.length&&
|
|
2524
|
+
this.YU(c);c.parent&&!c.parent.Xb;)c=c.parent,-1==this.ck.indexOf(c.ordinal)&&this.ck.push(c.ordinal)}};d.prototype.IS=function(){var b=[];var a=this.Je()&&this.se?this.ge:this.Ad;for(var c=0,e=a.length;c<e;c++){var g=this.$g.ua(a[c]);var l=g.parent;var m=-1;f.v(l)||(m=a.indexOf(l.ordinal));-1===m&&b.push(g.ordinal)}g=this.Je()&&this.se?!1:0==b.length?!1:this.se;return{items:b,qu:g}};d.prototype.search=function(b,a){b=b.toLowerCase();this.nd===b?a():(this.nd=b,0==this.nd.length?a():f.u.La.P().yp(this.$g,
|
|
2525
2525
|
b,a))};d.prototype.uha=function(b){null!=b?this.ge=b:this.ge.length=0};d.prototype.Je=function(){return 0<this.nd.length};d.prototype.expand=function(b){-1==this.wy.indexOf(b.ordinal)&&this.wy.push(b.ordinal);this.Eha(b,!0)};d.prototype.collapse=function(b){var a=this.wy.indexOf(b.ordinal);-1!=a&&this.wy.splice(a,1);this.Eha(b,!1)};d.prototype.Eha=function(b,a){var c=this.fd.indexOf(b.ordinal);a?this.o1(b,c):this.fd.splice(c+1,this.$ca(b))};d.prototype.o1=function(b,a){b=this.bg===f.u.i.ya.$c?b.children:
|
|
2526
2526
|
this.$g.zj(b,!1,this.bg);for(var c=b.length-1,e=a+1;-1<c;c--)a=this.$g.ua(b[c]),this.fd.splice(e,0,b[c]),-1<this.wy.indexOf(b[c])&&this.o1(a,e)};d.prototype.$ca=function(b){b=b.children;for(var a=b.length,c=a,e,g=0;g<a;g++)e=this.$g.ua(b[g]),-1<this.wy.indexOf(b[g])&&(c+=this.$ca(e));return c};h.Xna=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2527
2527
|
(function(f){(function(k){(function(h){function d(){var b=B.Wb.ze.call(this)||this;b.Y("fm-filter-view-content");b.ue();return b}u(d,B.Wb.ze);d.prototype.ue=function(){var b=new B.Ca("div","fm-popup-header fm-ui-row");this.V(b);var a=new B.Ca("div","fm-ui-col-2 fm-vam");b.V(a);this.Gp=new B.Qc;this.Gp.Y("fm-popup-title");a.V(this.Gp);a=new B.Ca("div","fm-ui-col fm-vam fm-ui-btns-row");b.V(a);this.CF=new B.Lf("fm-ui-btn");this.CF.bb(f.model.A.j.Ok);this.Fo=new B.Lf("fm-ui-btn-dark");this.Fo.bb(f.model.A.j.ax);
|
|
@@ -2530,7 +2530,7 @@ this.nf.Y("fm-filter-btn");this.Kia=new B.Qc;this.nf.V(this.Kia);this.nf.F.V(new
|
|
|
2530
2530
|
this.Ep.Va();this.V(this.Ep);this.tN=new B.Ca("div","fm-ui-col fm-sort-col");b.V(this.tN);this.IV=new B.Qc;this.IV.Y("fm-sort-label");this.IV.Y("fm-ui-label-light");this.IV.bb(f.model.A.j.Pla);this.tN.V(this.IV);b=new B.Ca("div","fm-sort-btns");this.tN.V(b);this.fk=new B.BP;this.fk.Y("fm-sort-btn");this.fk.bb(f.model.A.j.U6);b.V(this.fk);this.gk=new B.BP;this.gk.Y("fm-sort-btn");this.gk.bb(f.model.A.j.X6);b.V(this.gk);this.Sb=new h.Wna;this.V(this.Sb)};d.prototype.Ff=function(){this.Fo.bb(f.model.A.j.ax);
|
|
2531
2531
|
this.CF.bb(f.model.A.j.Ok);this.fk.bb(f.model.A.j.U6);this.fk.Ph(f.model.A.j.V6);this.fk.lc(f.model.A.j.V6);this.gk.bb(f.model.A.j.X6);this.gk.Ph(f.model.A.j.Y6);this.gk.lc(f.model.A.j.Y6);this.lS.bb(f.model.A.j.eA);this.bH.bb(f.model.A.j.zO);this.We.lc(f.model.A.j.eA+" "+f.model.A.j.zO);this.Kia.bb(f.model.A.j.b7);this.nf.lc(f.model.A.j.eA+" "+f.model.A.j.b7);this.In.Ff();this.ep.Ff();this.kp.Ff();this.Ep.Ff();this.gm.Ff();this.Sb.Ff()};r.Object.defineProperties(d.prototype,{Pd:{configurable:!0,
|
|
2532
2532
|
enumerable:!0,get:function(){return this.Sb.Pd}},Mw:{configurable:!0,enumerable:!0,get:function(){return this.Sb.Mw}},Xm:{configurable:!0,enumerable:!0,get:function(){return this.Sb.Xm}}});h.ema=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2533
|
-
(function(f){(function(k){(function(h){function d(){var b=B.Yf.yo.call(this)||this;b.sCa=20;b.Mt=new B.BA;b.Mt.
|
|
2533
|
+
(function(f){(function(k){(function(h){function d(){var b=B.Yf.yo.call(this)||this;b.sCa=20;b.Mt=new B.BA;b.Mt.zd("fm-ui-toggle-btn");b.Mt.Y("fm-expand-toggle-btn");b.Mt.N(z.da.Qd,function(){return b.UDa()});b.Mt.ve(-1);b.F.append(b.Mt.F);b.tD=new B.oJ;b.tD.F.R3("tabindex");b.tD.N(z.da.Qd,function(a){return b.v3(a.data)});b.F.append(b.tD.F);b.de("all");return b}u(d,B.Yf.yo);d.prototype.UDa=function(){var b=this.getData();b.Bf=1==this.Mt.getSelection();this.F.Xa(h.HI.wI,this,b)};d.prototype.v3=function(b){var a=
|
|
2534
2534
|
this.getData();a.sd=this.tD.getSelection();this.F.Xa(h.HI.oP,this,{Yb:a,shiftKey:b.shiftKey})};d.prototype.hb=function(){if(this.Rr("data")){var b=this.getData();if(this.Mt&&this.tD&&b){this.F.R("padding-left","");var a=this.sCa*(b.Iea-1);b.Je||void 0!==b.Bf||(a+=30);0<a&&this.F.R("padding-left",a+"px");b.cT?(this.Mt.show(),this.Mt.lf(b.Bf)):this.Mt.Va();this.tD.bb(b[this.Aq()],!0);this.tD.lf(b.sd)}}};h.cma=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2535
2535
|
(function(f){(function(k){(function(h){function d(){var b=B.kd.GX.call(this)||this;b.YT=null;b.ve();b.Oh(function(a,c){return b.zza(a,c)});return b}u(d,B.kd.GX);d.prototype.zza=function(b,a){var c=this,e=new h.cma;e.setData(b);e.dm(a);e.N(d.oP,function(g){return c.v3(g)});e.N(d.wI,function(g){return c.wEa(g)});return e};d.prototype.vu=function(b){B.kd.GX.prototype.vu.call(this,b);b=b.data.Kk;b.sd=1==b.sd?0:1;this.c5(b)};d.prototype.v3=function(b){this.c5(b.data.Yb,b.data.shiftKey)};d.prototype.c5=
|
|
2536
2536
|
function(b,a){1==b.sd&&(void 0===a?0:a)&&this.YT&&this.Tg().$ga(this.YT.Yb,b.Yb);this.kJa(b,1==b.sd);this.Da(new z.da(d.oP,this))};d.prototype.wEa=function(b){this.pia(b.data)};d.prototype.pia=function(b){var a=this;b.Bf?0===b.Yb.children.length||b.Yb.Af?f.model.Ta.P().ha.Xj(b.Yb.hierarchy,b.Yb,function(){return a.wj(b)}):this.wj(b):(this.Tg().collapse(b.Yb),this.de("data"),this.Da(new z.da(d.wI,this)))};d.prototype.wj=function(b){f.za(!1);this.Tg().Yga(b.Yb);this.Tg().expand(b.Yb);this.de("data");
|
|
@@ -2541,77 +2541,77 @@ a):this.Tg().select(b.Yb,a);this.YT=a?b:null;this.de("data")};d.prototype.select
|
|
|
2541
2541
|
b.filter.measure.$&&g.$!=b.filter.measure.$||(b.filter.measure.index=g.index);this.measures.push(g)}this.zk={};this.iha(b)};d.prototype.iha=function(b){(this.hierarchy=b)?(this.hierarchy.filter.bh&&(this.zk.type=this.hierarchy.filter.type,this.hierarchy.filter.measure&&(this.zk.measure=this.hierarchy.filter.measure.Ma()),this.hierarchy.filter.query&&(this.zk.query=this.hierarchy.filter.query.clone())),this.fd=this.hierarchy.ag!==f.u.i.ya.$c?this.hierarchy.zj(this.hierarchy.vd,!1,this.hierarchy.ag):
|
|
2542
2542
|
this.hierarchy.vd.children.slice(),this.J9=f.model.cb.fA.LS(this.hierarchy)):this.J9=f.u.i.kb.NONE;this.h$=this.ip.ha.I.nG.ida(this.hierarchy,this.Sm)};d.prototype.bd=function(){var b=this;if(this.Di){var a=this.ip.ha.I.He(this.hierarchy.uniqueName),c=new f.model.cb.Lg(a.uniqueName,a.$,a.index);c.label=a.caption;return[c]}return this.ip.ha.ga.Bc?this.measures.filter(function(e){var g=b.ip.ha.I.ad(e.uniqueName);e=-1<f.u.i.ca.Mz.indexOf(e.$);return g&&!g.Ja&&!e}):this.measures};d.prototype.Dsa=function(b){var a=
|
|
2543
2543
|
!1,c=!1;!f.v(this.hierarchy.filter.query)&&f.v(b.query)?(a=!0,this.hierarchy.BB(),this.ip.Za()):f.v(b.query)||(c=this.XBa(b));var e=this.hea(b);if(c||e)return a={},c&&!f.v(b.measure)&&(a.measure=b.measure),c&&!f.v(b.query)&&(a.query=b.query.Ma()),e&&!f.v(b.fd)&&(a.members=b.fd),e&&!f.v(b.vy)&&(a.exclude=b.vy),this.ip.xl(this.hierarchy.uniqueName,a),!0;a&&this.ip.refresh();return!1};d.prototype.zt=function(){this.ip.zt(this.hierarchy.uniqueName)};d.prototype.XBa=function(b){if(b.type==f.u.i.kb.Pa)return this.nBa(b);
|
|
2544
|
-
if(b.type==f.u.i.kb.mk)return this.KBa(b);if(b.type==f.u.i.kb.fb||b.type==f.u.i.kb.Zb)return this.QBa(b);if(b.type==f.u.i.kb.rn)return this.gCa(b)};d.prototype.nBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.Ub.
|
|
2545
|
-
!f.Jg.N_(this.hierarchy.filter.query.value[1],b.query.value[1]):!0:0<=f.u.i.Ub.qx.indexOf(b.query.ra)?this.hierarchy.filter.query.value!==b.query.value:!1};d.prototype.KBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.wb.
|
|
2546
|
-
this.hierarchy.filter.query.value[1]!==b.query.value[1]:!1};d.prototype.QBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!==b.query.ra?!0:0<=f.u.i.wg.
|
|
2547
|
-
b.type||this.hierarchy.filter.measure.uniqueName!==b.measure.uniqueName||this.hierarchy.filter.measure.$!==b.measure.aggregation||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.Pb.
|
|
2548
|
-
b)return this.hierarchy.filter.
|
|
2549
|
-
enumerable:!0,get:function(){return!this.Di&&this.ip.ha.qa.pages.Db(this.hierarchy.uniqueName)}},Bc:{configurable:!0,enumerable:!0,get:function(){return this.ip.Ga.ga.Bc}},Di:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.qc&&f.model.B.C.ie!=k.
|
|
2544
|
+
if(b.type==f.u.i.kb.mk)return this.KBa(b);if(b.type==f.u.i.kb.fb||b.type==f.u.i.kb.Zb)return this.QBa(b);if(b.type==f.u.i.kb.rn)return this.gCa(b)};d.prototype.nBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.Ub.Vh.indexOf(b.query.ra)?!f.Jg.N_(this.hierarchy.filter.query.value,b.query.value):0<=f.u.i.Ub.uf.indexOf(b.query.ra)?this.hierarchy.filter.query.value&&b.query.value?!f.Jg.N_(this.hierarchy.filter.query.value[0],b.query.value[0])||
|
|
2545
|
+
!f.Jg.N_(this.hierarchy.filter.query.value[1],b.query.value[1]):!0:0<=f.u.i.Ub.qx.indexOf(b.query.ra)?this.hierarchy.filter.query.value!==b.query.value:!1};d.prototype.KBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.wb.Vh.indexOf(b.query.ra)?this.hierarchy.filter.query.value!==b.query.value:0<=f.u.i.wb.uf.indexOf(b.query.ra)?f.v(this.hierarchy.filter.query.value)||f.v(b.query.value)?!0:this.hierarchy.filter.query.value[0]!==b.query.value[0]||
|
|
2546
|
+
this.hierarchy.filter.query.value[1]!==b.query.value[1]:!1};d.prototype.QBa=function(b){return this.hierarchy.filter.type!==b.type||this.hierarchy.filter.query.ra!==b.query.ra?!0:0<=f.u.i.wg.Vh.indexOf(b.query.ra)?this.hierarchy.filter.query.value!==b.query.value:0<=f.u.i.wg.uf.indexOf(b.query.ra)?f.v(this.hierarchy.filter.query.value)||f.v(b.query.value)?!0:this.hierarchy.filter.query.value[0]!==b.query.value[0]||this.hierarchy.filter.query.value[1]!==b.query.value[1]:!1};d.prototype.gCa=function(b){return this.hierarchy.filter.type!==
|
|
2547
|
+
b.type||this.hierarchy.filter.measure.uniqueName!==b.measure.uniqueName||this.hierarchy.filter.measure.$!==b.measure.aggregation||this.hierarchy.filter.query.ra!=b.query.ra?!0:0<=f.u.i.Pb.Vh.indexOf(b.query.ra)?this.hierarchy.filter.query.value!==b.query.value:0<=f.u.i.Pb.uf.indexOf(b.query.ra)?f.v(this.hierarchy.filter.query.value)||f.v(b.query.value)?!0:this.hierarchy.filter.query.value[0]!==b.query.value[0]||this.hierarchy.filter.query.value[1]!==b.query.value[1]:!1};d.prototype.hea=function(b){if(null==
|
|
2548
|
+
b)return this.hierarchy.filter.ei;if(null==b.fd&&null==b.vy)return!1;var a=this.hierarchy.filter.tj();if(b.fd){var c=b.fd;if(c.length!=a.length)return!0;for(var e=0,g=c.length;e<g;e++)if(-1==a.indexOf(c[e]))return!0}if(b.vy){b=b.vy;if(a.length+b.length!==this.hierarchy.yi-1)return!0;e=0;for(g=b.length;e<g;e++)if(-1==a.indexOf(b[e]))return!0}return!1};d.prototype.Ysa=function(b){b!=this.hierarchy.ag&&this.ip.AD(this.hierarchy.uniqueName,b)};r.Object.defineProperties(d.prototype,{K1:{configurable:!0,
|
|
2549
|
+
enumerable:!0,get:function(){return!this.Di&&this.ip.ha.qa.pages.Db(this.hierarchy.uniqueName)}},Bc:{configurable:!0,enumerable:!0,get:function(){return this.ip.Ga.ga.Bc}},Di:{configurable:!0,enumerable:!0,get:function(){return f.model.B.C.qc&&f.model.B.C.ie!=k.Bd.Oi}},Sm:{configurable:!0,enumerable:!0,get:function(){return this.J9}},co:{configurable:!0,enumerable:!0,get:function(){return this.h$?this.h$:new f.u.I.wpa}},kw:{configurable:!0,enumerable:!0,get:function(){return this.zk.type==f.u.i.kb.Pa||
|
|
2550
2550
|
this.zk.type==f.u.i.kb.mk||this.zk.type==f.u.i.kb.fb||this.zk.type==f.u.i.kb.Zb}},Kh:{configurable:!0,enumerable:!0,get:function(){return this.zk.type==f.u.i.kb.rn}}});h.e7=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2551
|
-
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.model=h.e7.P();b.view=new h.ema;null!=b.view.NAa&&b.view.NAa.N(z.da.Qd,function(a){return b.REa(a)});null!=b.view.Xm&&(b.view.Xm.N(B.Vi.gx,function(a){return b.YFa(a.data)}),b.view.Xm.N(B.Vi.aA,function(){return b.$Fa()}),b.view.Xm.N(B.Vi.z6,function(){return b.ZFa()}));b.view.Sb&&b.view.Sb.
|
|
2551
|
+
(function(f){(function(k){(function(h){function d(){var b=z.Gc.call(this)||this;b.model=h.e7.P();b.view=new h.ema;null!=b.view.NAa&&b.view.NAa.N(z.da.Qd,function(a){return b.REa(a)});null!=b.view.Xm&&(b.view.Xm.N(B.Vi.gx,function(a){return b.YFa(a.data)}),b.view.Xm.N(B.Vi.aA,function(){return b.$Fa()}),b.view.Xm.N(B.Vi.z6,function(){return b.ZFa()}));b.view.Sb&&b.view.Sb.Dd&&(b.view.Sb.Dd.N(h.HI.oP,function(){return b.vFa()}),b.view.Sb.Dd.N(h.HI.wI,function(){return b.tFa()}),b.view.Sb.Dd.N("keydown",
|
|
2552
2552
|
function(a){return b.uFa(a)}));null!=b.view.Pd&&b.view.Pd.N(z.da.Qd,function(){return b.w3()});null!=b.view.fk&&b.view.fk.N(z.da.Qd,function(){return b.fGa()});null!=b.view.gk&&b.view.gk.N(z.da.Qd,function(){return b.gGa()});null!=b.view.We&&b.view.We.N(z.da.Qd,function(){return b.ZEa()});null!=b.view.In&&b.view.In.N(z.da.mo,function(){return b.FU()});null!=b.view.ep&&b.view.ep.N(z.da.mo,function(){return b.FU()});null!=b.view.kp&&b.view.kp.N(z.da.mo,function(){return b.FU()});null!=b.view.Ep&&b.view.Ep.N(z.da.mo,
|
|
2553
|
-
function(){return b.FU()});null!=b.view.nf&&b.view.nf.N(z.da.Qd,function(){return b.sGa()});null!=b.view.gm&&b.view.gm.N(z.da.mo,function(){return b.rGa()});null!=b.view.Fo&&b.view.Fo.N(B.ud.$e,function(){return b.DDa()});null!=b.view.CF&&b.view.CF.N(B.ud.$e,function(){return b.Zr()});return b}u(d,z.Gc);d.prototype.rGa=function(){this.view.nf&&(this.view.nf.
|
|
2553
|
+
function(){return b.FU()});null!=b.view.nf&&b.view.nf.N(z.da.Qd,function(){return b.sGa()});null!=b.view.gm&&b.view.gm.N(z.da.mo,function(){return b.rGa()});null!=b.view.Fo&&b.view.Fo.N(B.ud.$e,function(){return b.DDa()});null!=b.view.CF&&b.view.CF.N(B.ud.$e,function(){return b.Zr()});return b}u(d,z.Gc);d.prototype.rGa=function(){this.view.nf&&(this.view.nf.zd("fm-has-filter"),this.view.nf.lf(0),this.hN(),this.RH())};d.prototype.FU=function(){this.view.We&&(this.view.We.zd("fm-has-filter"),this.view.We.lf(0),
|
|
2554
2554
|
this.hN(),this.RH())};d.prototype.ZEa=function(){this.view.nf&&this.view.nf.lf(0);this.hN();this.RH()};d.prototype.sGa=function(){this.view.We&&this.view.We.lf(0);this.hN();this.RH()};d.prototype.DDa=function(){var b=this.model.Dsa(this.aza());this.model.Ysa(this.cza());b||this.Xa("close")};d.prototype.hN=function(){this.view.In&&this.view.In.isVisible(this.mw&&1===this.view.We.getSelection()&&this.model.Sm==f.u.i.kb.Pa);this.view.ep&&this.view.ep.isVisible(this.mw&&1===this.view.We.getSelection()&&
|
|
2555
|
-
this.model.Sm==f.u.i.kb.mk);this.view.kp&&this.view.kp.isVisible(this.mw&&1===this.view.We.getSelection()&&this.model.Sm==f.u.i.kb.fb);this.view.Ep&&this.view.Ep.isVisible(this.mw&&1===this.view.We.getSelection()&&this.model.Sm==f.u.i.kb.Zb);this.view.gm&&this.view.gm.isVisible(this.My&&1===this.view.nf.getSelection());this.view.Sb&&(this.view.Sb.isVisible(this.model.co.iea&&0==this.view.nf.getSelection()&&0==this.view.We.getSelection()),this.view.Sb.isVisible()&&this.view.Sb.
|
|
2556
|
-
!1);this.view.We&&1===this.view.We.getSelection()&&this.view.Wa("fm-query-filter-opened",!0);this.view.nf&&1===this.view.nf.getSelection()&&this.view.Wa("fm-query-filter-opened",!0);this.view.Wa("fm-no-query-filters",!this.mw&&!this.My);this.view.Wa("fm-no-member-filters",!this.model.co.iea);this.Xa("center")};d.prototype.RH=function(){this.view.Fo&&(this.view.Sb&&this.view.Sb.isVisible()?this.view.Fo.Ap(0<this.view.Sb.
|
|
2555
|
+
this.model.Sm==f.u.i.kb.mk);this.view.kp&&this.view.kp.isVisible(this.mw&&1===this.view.We.getSelection()&&this.model.Sm==f.u.i.kb.fb);this.view.Ep&&this.view.Ep.isVisible(this.mw&&1===this.view.We.getSelection()&&this.model.Sm==f.u.i.kb.Zb);this.view.gm&&this.view.gm.isVisible(this.My&&1===this.view.nf.getSelection());this.view.Sb&&(this.view.Sb.isVisible(this.model.co.iea&&0==this.view.nf.getSelection()&&0==this.view.We.getSelection()),this.view.Sb.isVisible()&&this.view.Sb.Dd.Sq());this.view.Wa("fm-query-filter-opened",
|
|
2556
|
+
!1);this.view.We&&1===this.view.We.getSelection()&&this.view.Wa("fm-query-filter-opened",!0);this.view.nf&&1===this.view.nf.getSelection()&&this.view.Wa("fm-query-filter-opened",!0);this.view.Wa("fm-no-query-filters",!this.mw&&!this.My);this.view.Wa("fm-no-member-filters",!this.model.co.iea);this.Xa("center")};d.prototype.RH=function(){this.view.Fo&&(this.view.Sb&&this.view.Sb.isVisible()?this.view.Fo.Ap(0<this.view.Sb.Dd.iw()):this.view.Fo.Ap(!0))};d.prototype.cza=function(){return this.view.fk&&
|
|
2557
2557
|
1==this.view.fk.getSelection()?f.u.i.ya.ec:this.view.gk&&1==this.view.gk.getSelection()?f.u.i.ya.Fc:this.view.fk&&this.view.gk?f.u.i.ya.$c:this.model.hierarchy.ag};d.prototype.Xca=function(){return this.model.Sm==f.u.i.kb.Pa?this.view.In.Wl():this.model.Sm==f.u.i.kb.mk?this.view.ep.Wl():this.model.Sm==f.u.i.kb.fb?this.view.kp.Wl():this.model.Sm==f.u.i.kb.Zb?this.view.Ep.Wl():null};d.prototype.aza=function(){var b=null,a=null;1==this.view.We.getSelection()?b=this.Xca():1==this.view.nf.getSelection()?
|
|
2558
|
-
b=this.view.gm.Wl():(a=this.view.Sb.Wl(),this.model.hea(a)||(a=null));null==a&&null==b&&(this.view.We.Nc("fm-has-filter")?b=this.Xca():this.view.nf.Nc("fm-has-filter")&&(b=this.view.gm.Wl()));var c={};b&&(c.type=b.type,c.query=b.query,c.measure=b.measure);a&&(f.v(a.fd)||(c.fd=a.fd),f.v(a.vy)||(c.vy=a.vy));return c};d.prototype.Zr=function(){this.Xa("close")};d.prototype.fGa=function(){1===this.view.fk.getSelection()&&(this.view.gk.lf(0),this.view.Sb&&this.view.Sb.
|
|
2559
|
-
0===this.view.gk.getSelection()&&this.view.Sb&&this.view.Sb.
|
|
2560
|
-
b.keyCode||13===b.keyCode){var a=this.view.Sb.
|
|
2561
|
-
d.prototype.update=function(b){var a=this;0!=this.view.isVisible()&&(1E4<b.yi?(f.za(!0,f.model.A.j.wE,f.model.A.j.Lna,!0,!0),setTimeout(function(){a.model.update(b);a.fm();f.za(!1)},50)):(this.model.update(b),this.fm()))};d.prototype.YFa=function(b){var a=this;f.model.B.C.Z_&&b.trim()==b&&this.view.Sb&&this.view.Sb.
|
|
2562
|
-
d.prototype.ZFa=function(){var b=this;!f.model.B.C.Z_&&this.view.Sb&&this.view.Sb.
|
|
2563
|
-
f.u.i.Ka.Wxa(this.model.hierarchy.zi.type+"")&&f.model.B.C.qc?this.view.nf.Va():this.view.nf.show());this.GKa();this.CKa();this.DKa();this.BKa();this.i5();this.IN();this.FKa();this.RH();this.Gxa()};d.prototype.Gxa=function(){this.view.Sb&&this.view.Sb.isVisible()?this.view.Sb.
|
|
2564
|
-
d.prototype.FKa=function(){var b=!this.model.K1&&!f.model.B.C.qc;this.view.fk&&this.view.fk.isVisible(b);this.view.gk&&this.view.gk.isVisible(b);this.view.tN&&this.view.tN.isVisible(b);this.view.Wa("fm-sort-only",!this.mw&&!this.My)};d.prototype.PBa=function(){return 0<this.model.bd().length};d.prototype.DKa=function(){var b=this.model.hierarchy;this.view.Pd&&this.view.Pd.lf(0<b.filter.tj().length?-1:1);if(this.view.Sb){var a=2<b.ta.length;this.view.Sb.
|
|
2565
|
-
new h.Xna:new h.iX);this.view.Sb.
|
|
2558
|
+
b=this.view.gm.Wl():(a=this.view.Sb.Wl(),this.model.hea(a)||(a=null));null==a&&null==b&&(this.view.We.Nc("fm-has-filter")?b=this.Xca():this.view.nf.Nc("fm-has-filter")&&(b=this.view.gm.Wl()));var c={};b&&(c.type=b.type,c.query=b.query,c.measure=b.measure);a&&(f.v(a.fd)||(c.fd=a.fd),f.v(a.vy)||(c.vy=a.vy));return c};d.prototype.Zr=function(){this.Xa("close")};d.prototype.fGa=function(){1===this.view.fk.getSelection()&&(this.view.gk.lf(0),this.view.Sb&&this.view.Sb.Dd.sort(f.u.i.ya.ec));0===this.view.fk.getSelection()&&
|
|
2559
|
+
0===this.view.gk.getSelection()&&this.view.Sb&&this.view.Sb.Dd.sort(f.u.i.ya.$c)};d.prototype.gGa=function(){1===this.view.gk.getSelection()&&(this.view.fk.lf(0),this.view.Sb&&this.view.Sb.Dd.sort(f.u.i.ya.Fc));0===this.view.fk.getSelection()&&0===this.view.gk.getSelection()&&this.view.Sb&&this.view.Sb.Dd.sort(f.u.i.ya.$c)};d.prototype.w3=function(){this.view.Sb&&(this.view.Sb.Dd.selectAll(1==this.view.Pd.getSelection()),this.view.Fo.Ap(0<this.view.Sb.Dd.iw()));this.IN()};d.prototype.uFa=function(b){if(32===
|
|
2560
|
+
b.keyCode||13===b.keyCode){var a=this.view.Sb.Dd.Wt();f.v(a)||(a=a.data,!a.cT||b.ctrlKey||b.metaKey?(a.sd=1==a.sd?0:1,this.view.Sb.Dd.c5(a)):(a.Bf=!a.Bf,this.view.Sb.Dd.pia(a)))}};d.prototype.vFa=function(){this.view.Fo.Ap(0<this.view.Sb.Dd.iw());this.via();this.IN()};d.prototype.tFa=function(){this.i5();this.IN()};d.prototype.via=function(){0==this.view.Sb.Dd.Gy()?this.view.Pd.lf(0):this.view.Sb.Dd.YS()>this.view.Sb.Dd.Gy()?this.view.Pd.lf(-1):this.view.Sb.Dd.YS()==this.view.Sb.Dd.Gy()&&this.view.Pd.lf(1)};
|
|
2561
|
+
d.prototype.update=function(b){var a=this;0!=this.view.isVisible()&&(1E4<b.yi?(f.za(!0,f.model.A.j.wE,f.model.A.j.Lna,!0,!0),setTimeout(function(){a.model.update(b);a.fm();f.za(!1)},50)):(this.model.update(b),this.fm()))};d.prototype.YFa=function(b){var a=this;f.model.B.C.Z_&&b.trim()==b&&this.view.Sb&&this.view.Sb.Dd.search(b,function(){return a.aD()})};d.prototype.$Fa=function(){var b=this,a=this.view.Xm.Bi();!f.model.B.C.Z_&&a.trim()==a&&this.view.Sb&&this.view.Sb.Dd.search(a,function(){return b.aD()})};
|
|
2562
|
+
d.prototype.ZFa=function(){var b=this;!f.model.B.C.Z_&&this.view.Sb&&this.view.Sb.Dd.search("",function(){return b.aD()})};d.prototype.aD=function(){this.i5();this.IN();this.via();this.view.Fo.Ap(0<this.view.Sb.Dd.iw())};d.prototype.fm=function(){this.view.Ff();this.view.Wa("fm-filter-pages-layout",this.model.K1);this.view.Wa("fm-filter-flat-layout",this.model.Di);this.view.Sb&&this.view.Sb.reset();this.view.Xm&&(this.view.Xm.clear(),this.view.Xm.nV(f.model.Ta.P().Ga.ga.Bc?1E3:0));this.view.nf&&(f.u.i.Ka.Sc==
|
|
2563
|
+
f.u.i.Ka.Wxa(this.model.hierarchy.zi.type+"")&&f.model.B.C.qc?this.view.nf.Va():this.view.nf.show());this.GKa();this.CKa();this.DKa();this.BKa();this.i5();this.IN();this.FKa();this.RH();this.Gxa()};d.prototype.Gxa=function(){this.view.Sb&&this.view.Sb.isVisible()?this.view.Sb.Dd.focus({preventScroll:!0}):this.view.We&&1==this.view.We.getSelection()?this.view.We.focus({preventScroll:!0}):this.view.nf&&1==this.view.nf.getSelection()?this.view.nf.focus({preventScroll:!0}):this.view.Fo.focus({preventScroll:!0})};
|
|
2564
|
+
d.prototype.FKa=function(){var b=!this.model.K1&&!f.model.B.C.qc;this.view.fk&&this.view.fk.isVisible(b);this.view.gk&&this.view.gk.isVisible(b);this.view.tN&&this.view.tN.isVisible(b);this.view.Wa("fm-sort-only",!this.mw&&!this.My)};d.prototype.PBa=function(){return 0<this.model.bd().length};d.prototype.DKa=function(){var b=this.model.hierarchy;this.view.Pd&&this.view.Pd.lf(0<b.filter.tj().length?-1:1);if(this.view.Sb){var a=2<b.ta.length;this.view.Sb.Dd.Wa("fm-tree-list",a);this.view.Sb.Dd.v4(a?
|
|
2565
|
+
new h.Xna:new h.iX);this.view.Sb.Dd.uV(b);this.view.Sb.Dd.Ef(this.model.fd);this.view.Sb.Dd.rV(b.filter.tj());this.view.Sb.Dd.sort(b.ag)}};d.prototype.CKa=function(){this.view.Gp&&(this.view.Gp.bb(this.model.hierarchy.caption),this.view.Gp.Ph(this.model.hierarchy.caption));this.view.toolbar&&this.view.toolbar.aJa(this.model.hierarchy.caption)};d.prototype.i5=function(){this.view.Sb&&0<this.view.Sb.Dd.getTotalLength()?this.view.Pd&&this.view.Pd.show():this.view.Pd&&this.view.Pd.Va()};d.prototype.GKa=
|
|
2566
2566
|
function(){this.view.fk&&this.view.fk.lf(this.model.hierarchy.ag==f.u.i.ya.ec?1:0);this.view.gk&&this.view.gk.lf(this.model.hierarchy.ag==f.u.i.ya.Fc?1:0)};d.prototype.BKa=function(){this.view.mG&&this.view.mG.isVisible(this.mw||this.My);this.view.We&&(this.model.Sm==f.u.i.kb.Pa?(this.view.bH.bb(f.model.A.j.W6),this.view.We.lc(f.model.A.j.eA+" "+f.model.A.j.W6)):this.model.Sm==f.u.i.kb.mk?(this.view.bH.bb(f.model.A.j.zO),this.view.We.lc(f.model.A.j.eA+" "+f.model.A.j.zO)):this.model.Sm==f.u.i.kb.fb?
|
|
2567
2567
|
(this.view.bH.bb(f.model.A.j.Z6),this.view.We.lc(f.model.A.j.eA+" "+f.model.A.j.Z6)):this.model.Sm==f.u.i.kb.Zb&&(this.view.bH.bb(f.model.A.j.a7),this.view.We.lc(f.model.A.j.eA+" "+f.model.A.j.a7)),this.view.We.isVisible(this.mw&&this.model.Sm!=f.u.i.kb.NONE),this.view.We.Wa("fm-has-filter",this.model.kw),this.view.We.lf(this.model.kw));this.view.nf&&(this.model.Di&&!this.My&&this.model.hierarchy.filter.Kh?(this.view.nf.isVisible(!0),this.view.nf.Ap(!1)):(this.view.nf.isVisible(this.My),this.view.nf.Ap(this.My)),
|
|
2568
2568
|
this.view.nf.Wa("fm-has-filter",this.model.Kh),this.view.nf.lf(this.My&&this.model.Kh));this.view.In&&(this.view.In.Nw(this.model.co.iM?this.model.co.query:[]),this.view.In.reset(),this.model.zk.type==f.u.i.kb.Pa&&(this.view.In.xl(this.model.zk),this.view.In.Wg(this.model.hierarchy.getTimezoneOffset())));this.view.ep&&(this.view.ep.Nw(this.model.co.iM?this.model.co.query:[]),this.view.ep.reset(),this.model.zk.type==f.u.i.kb.mk&&this.view.ep.xl(this.model.zk));this.view.kp&&(this.view.kp.Nw(this.model.co.iM?
|
|
2569
2569
|
this.model.co.query:[]),this.view.kp.reset(),this.model.zk.type==f.u.i.kb.fb&&this.view.kp.xl(this.model.zk));this.view.Ep&&(this.view.Ep.Nw(this.model.co.iM?this.model.co.query:[]),this.view.Ep.reset(),this.model.zk.type==f.u.i.kb.Zb&&this.view.Ep.xl(this.model.zk));this.view.gm&&(this.view.gm.Nw(this.model.co.Aea?this.model.co.Bl:[]),this.view.gm.reset(),this.view.gm.qz(this.model.bd()),this.model.zk.type==f.u.i.kb.rn&&this.view.gm.xl(this.model.zk),this.view.gm.Wa("fm-arrow-first",!this.mw));this.hN();
|
|
2570
|
-
this.RH()};d.prototype.IN=function(){var b="";this.view.Sb&&(b=this.view.Sb.
|
|
2570
|
+
this.RH()};d.prototype.IN=function(){var b="";this.view.Sb&&(b=this.view.Sb.Dd.Je()?f.O.bind(f.model.A.j.kla,this.view.Sb.Dd.Gy(),this.view.Sb.Dd.YS()):f.O.bind(f.model.A.j.lla,this.view.Sb.Dd.Gy(),this.view.Sb.Dd.YS()));this.view.Mw&&(this.view.Mw.bb(b),this.view.Mw.Ph(b));this.view.Pd&&this.view.Pd.bb(this.view.Sb&&this.view.Sb.Dd.Je()?f.model.A.j.Ola:f.model.A.j.Tu)};d.prototype.REa=function(b){var a=b.data.Kk;-1<b.data.selectedIndex&&(this.model.iha(a),this.fm())};r.Object.defineProperties(d.prototype,
|
|
2571
2571
|
{My:{configurable:!0,enumerable:!0,get:function(){if(f.u.La.P().ga.Ba==f.u.i.oa.API&&!this.model.co.Aea)return!1;if(this.model.Di){var b=this.model.ip.ha.I.He(this.model.hierarchy.uniqueName);return!f.v(b)&&b.type==f.u.i.Ka.fb}return this.model.K1||f.u.La.P().ga.Ba==f.u.i.oa.Rd||f.u.La.P().ga.Ba==f.u.i.oa.Jf||!this.PBa()?!1:!0}},mw:{configurable:!0,enumerable:!0,get:function(){return this.model.co.iM&&f.u.La.P().ga.Ba!=f.u.i.oa.Rd&&!(this.model.Di&&this.model.Sm==f.u.i.kb.fb)}}});h.bma=d})(k.filter||
|
|
2572
2572
|
(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2573
|
-
(function(f){(function(k){(function(h){function d(){var b=B.Wb.ph.call(this,k.Hb.zb.F)||this;b.Y("fm-filter-view");b.Y("fm-noselect");b.De=new h.bma;b.De.N("close",function(){return b.close()});b.De.N("center",function(){return b.Io()});b.V(b.De.view);b.De.view.show();b.F.Ji({EV:[B.Ji.
|
|
2574
|
-
(b.size.width-b.B3.width)),this.Io()):b.ED==B.Ji.
|
|
2573
|
+
(function(f){(function(k){(function(h){function d(){var b=B.Wb.ph.call(this,k.Hb.zb.F)||this;b.Y("fm-filter-view");b.Y("fm-noselect");b.De=new h.bma;b.De.N("close",function(){return b.close()});b.De.N("center",function(){return b.Io()});b.V(b.De.view);b.De.view.show();b.F.Ji({EV:[B.Ji.Uh.Rh,B.Ji.Uh.nE,B.Ji.Uh.FE],CR:k.Hb.zb.F,pZ:!0,resize:function(a){return b.LM(a)},complete:function(){return b.Io()}});return b}u(d,B.Wb.ph);d.prototype.LM=function(b){b.ED==B.Ji.Uh.nE||b.ED==B.Ji.Uh.FE?(this.De.view.yj(b.size.width+
|
|
2574
|
+
(b.size.width-b.B3.width)),this.Io()):b.ED==B.Ji.Uh.Rh&&(this.De.view.Bp(b.size.height),b.size.height>b.B3.height&&this.Hwa());this.qB()};d.prototype.Hwa=function(){var b=this;this.De.view.Sb&&this.De.view.Sb.isVisible()&&this.De.view.F.requestAnimationFrame(function(){b.De.view.Sb.Dd.Sq()})};d.prototype.es=function(b){this.open();this.De.update(b);this.Io();this.Xa(z.da.OPENED)};d.prototype.close=function(){this.ku&&(B.Wb.ph.prototype.close.call(this),this.Xa(z.da.CLOSED),f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.JW)))};
|
|
2575
2575
|
d.prototype.qB=function(){this.F.Wa("fm-layout-mobile-small",460>this.F.ef(!0))};h.dma=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2576
2576
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-table")||this;var a=new B.Ca("div","fm-filters-table-header fm-fth-withsearch");b.V(a);var c=new B.Ca("div","fm-select-all-wrapper");c.Y("fm-ui-col");b.Pd=new B.oJ;b.Pd.Y("fm-select-all-label");b.Pd.bb(f.model.A.j.Tu);b.Pd.Ph(f.model.A.j.Tu);c.V(b.Pd);var e=new B.Ca("div","fm-select-counter-wrap");e.Y("fm-ui-col");b.Mw=new B.Qc;b.Mw.Y("fm-select-counter");e.V(b.Mw);a.V(c);a.V(e);b.Me=new B.Ca("div","fm-search-wrap");
|
|
2577
|
-
a.V(b.Me);b.fe=new B.Ca("a","fm-search-btn");b.fe.F.text(f.model.A.j.KW);b.fe.ve();b.fe.N("click",function(){return b.$r()});b.fe.N("focus",function(){return b.$r()});b.Me.V(b.fe);b.Xm=new B.Vi;b.Xm.Y("fm-search-inp");b.Me.V(b.Xm);a=new B.ud("fm-close-search");a.N(B.ud.$e,function(){return b.bs()});b.Me.V(a);a=new B.Ca("div","fm-filters-table-content");b.V(a);b.
|
|
2578
|
-
this.Pd.bb(f.model.A.j.Tu);this.Pd.Ph(f.model.A.j.Tu);this.fe.F.text(f.model.A.j.KW)};d.prototype.$r=function(){this.fe.ve(-1);this.Me.Y("fm-search-opened");this.Xm.F.focus();this.Mw.Va()};d.prototype.bs=function(){this.fe.ve(0);this.Me.
|
|
2577
|
+
a.V(b.Me);b.fe=new B.Ca("a","fm-search-btn");b.fe.F.text(f.model.A.j.KW);b.fe.ve();b.fe.N("click",function(){return b.$r()});b.fe.N("focus",function(){return b.$r()});b.Me.V(b.fe);b.Xm=new B.Vi;b.Xm.Y("fm-search-inp");b.Me.V(b.Xm);a=new B.ud("fm-close-search");a.N(B.ud.$e,function(){return b.bs()});b.Me.V(a);a=new B.Ca("div","fm-filters-table-content");b.V(a);b.Dd=new h.HI;b.Dd.Y("fm-members-filter-list");b.Dd.v4(new h.iX);a.V(b.Dd);return b}u(d,B.Ca);d.prototype.Ff=function(){this.Xm.xD(f.model.A.j.KW);
|
|
2578
|
+
this.Pd.bb(f.model.A.j.Tu);this.Pd.Ph(f.model.A.j.Tu);this.fe.F.text(f.model.A.j.KW)};d.prototype.$r=function(){this.fe.ve(-1);this.Me.Y("fm-search-opened");this.Xm.F.focus();this.Mw.Va()};d.prototype.bs=function(){this.fe.ve(0);this.Me.zd("fm-search-opened");this.Xm.clear();this.Mw.show()};d.prototype.Wl=function(){var b=this.Dd.IS();return b.items?b.qu?{vy:b.items}:{fd:b.items}:null};d.prototype.reset=function(){this.bs()};h.Wna=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2579
2579
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Eq=new B.kd.gr;b.Eq.Y("fm-measures-dropdown");b.Eq.Zf("label");b.Eq.xD(f.model.A.j.Ila);a.V(b.Eq);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Gg=new B.$p;b.Gg.Y("fm-num-input-1");b.Gg.yD(B.$p.EE);a.V(b.Gg);b.Ii=new B.$p;b.Ii.Y("fm-num-input-2");
|
|
2580
|
-
b.Ii.yD(B.$p.EE);a.V(b.Ii);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.
|
|
2581
|
-
this.Mc.ek(0);this.ak();this.Gg.Qh(10);this.Ii.Qh(0)};d.prototype.Wl=function(){if(f.v(this.Eq.uh()))return null;var b={type:f.u.i.kb.rn};b.measure=this.Eq.uh().Ma();var a=this.Mc.uh().value;if(0<=f.u.i.Pb.
|
|
2582
|
-
for(var a=this.Eq.wc(),c=0;c<a.length;c++)if(a[c].uniqueName==b.measure.uniqueName&&a[c].$==b.measure.aggregation){this.Eq.ek(c);break}0<=f.u.i.Pb.
|
|
2580
|
+
b.Ii.yD(B.$p.EE);a.V(b.Ii);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.zd("fm-ui-btn");b.lg.N(B.ud.$e,function(){return b.Cw()});c.V(b.lg.F);return b}u(d,B.Ca);d.prototype.Cw=function(){this.Va();this.Xa(z.da.mo)};d.prototype.ak=function(){var b=this.Mc.uh();f.v(b)||this.F.Wa("fm-range",0<=f.u.i.Pb.uf.indexOf(b.value))};d.prototype.qz=function(b){this.Eq.Ef(b);this.Eq.ek(0);this.Ap(0<b.length)};d.prototype.reset=function(){this.Eq.ek(0);
|
|
2581
|
+
this.Mc.ek(0);this.ak();this.Gg.Qh(10);this.Ii.Qh(0)};d.prototype.Wl=function(){if(f.v(this.Eq.uh()))return null;var b={type:f.u.i.kb.rn};b.measure=this.Eq.uh().Ma();var a=this.Mc.uh().value;if(0<=f.u.i.Pb.Vh.indexOf(a)){var c=this.Gg.Ia();!isNaN(c)||a!=f.u.i.Pb.mj&&a!=f.u.i.Pb.Rh||(c=0);b.query=new f.model.cb.Dl(a,c)}0<=f.u.i.Pb.uf.indexOf(a)&&(b.query=new f.model.cb.Dl(a,[this.Gg.Ia(),this.Ii.Ia()]));return b};d.prototype.xl=function(b){this.Mc.ps(function(e){return e.value===b.query.ra});this.ak();
|
|
2582
|
+
for(var a=this.Eq.wc(),c=0;c<a.length;c++)if(a[c].uniqueName==b.measure.uniqueName&&a[c].$==b.measure.aggregation){this.Eq.ek(c);break}0<=f.u.i.Pb.Vh.indexOf(b.query.ra)&&this.Gg.Qh(b.query.value);0<=f.u.i.Pb.uf.indexOf(b.query.ra)&&(this.Gg.Qh(b.query.value[0]),this.Ii.Qh(b.query.value[1]))};d.prototype.Nw=function(b){this.conditions=b;this.Ff()};d.prototype.J=function(b){switch(b){case f.u.i.Pb.mj:return f.model.A.j.Hla;case f.u.i.Pb.Rh:return f.model.A.j.yla;case f.u.i.Pb.EQUAL:return f.model.A.j.CI;
|
|
2583
2583
|
case f.u.i.Pb.tf:return f.model.A.j.EI;case f.u.i.Pb.GREATER:return f.model.A.j.vO;case f.u.i.Pb.jk:return f.model.A.j.wO;case f.u.i.Pb.LESS:return f.model.A.j.xO;case f.u.i.Pb.nk:return f.model.A.j.yO;case f.u.i.Pb.Ig:return f.model.A.j.BI;case f.u.i.Pb.vg:return f.model.A.j.DI}};d.prototype.Ff=function(){var b=this;this.Eq.lc(f.model.A.j.rla);this.Mc.lc(f.model.A.j.uO);this.Gg.lc(f.model.A.j.jx);this.Ii.lc(f.model.A.j.jx);this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));
|
|
2584
2584
|
this.lg.bb(f.model.A.j.qla)};h.bqa=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2585
2585
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Qj=new B.UK.H8;b.Qj.Y("fm-datepicker-1");b.Qj.N(z.da.Qd,function(){return b.nEa()});a.V(b.Qj);b.al=new B.UK.H8;b.al.Y("fm-datepicker-2");b.al.N(z.da.Qd,function(){return b.oEa()});a.V(b.al);b.gD=new B.kd.gr;
|
|
2586
|
-
b.gD.Y("fm-periods-dropdown");b.gD.Zf("label");a.V(b.gD);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.
|
|
2586
|
+
b.gD.Y("fm-periods-dropdown");b.gD.Zf("label");a.V(b.gD);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.zd("fm-ui-btn");b.lg.N(B.ud.$e,function(){return b.Cw()});c.V(b.lg.F);return b}u(d,B.Ca);d.prototype.Nw=function(b){this.conditions=b;this.Ff()};d.prototype.J=function(b){switch(b){case f.u.i.Ub.EQUAL:return f.model.A.j.CI;case f.u.i.Ub.tf:return f.model.A.j.EI;case f.u.i.Ub.UD:return f.model.A.j.vla;case f.u.i.Ub.VD:return f.model.A.j.wla;
|
|
2587
2587
|
case f.u.i.Ub.QD:return f.model.A.j.tla;case f.u.i.Ub.RD:return f.model.A.j.ula;case f.u.i.Ub.Ig:return f.model.A.j.BI;case f.u.i.Ub.vg:return f.model.A.j.DI;case f.u.i.Ub.LO:return f.model.A.j.Cla;case f.u.i.Ub.dO:return f.model.A.j.Ala;case f.u.i.Ub.bP:return f.model.A.j.Dla}};d.prototype.Ff=function(){var b=this;this.Mc.lc(f.model.A.j.uO);this.Qj.lc(f.model.A.j.jx);this.al.lc(f.model.A.j.jx);this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.gD.Ef([{value:f.u.i.Yz.km,
|
|
2588
|
-
label:f.model.A.j.Jla},{value:f.u.i.Yz.tJ,label:f.model.A.j.Mla},{value:f.u.i.Yz.Kg,label:f.model.A.j.Kla},{value:f.u.i.Yz.Ns,label:f.model.A.j.Lla},{value:f.u.i.Yz.Tk,label:f.model.A.j.Nla}]);this.lg.bb(f.model.A.j.mla);this.Qj.OD=f.model.B.C.xy;this.al.OD=f.model.B.C.xy;this.Qj.Zaa=f.model.B.C.Zba;this.al.Zaa=f.model.B.C.Zba;this.Qj.bR=f.model.A.j.Ok;this.al.bR=f.model.A.j.Ok};d.prototype.Wl=function(){var b={type:f.u.i.kb.Pa},a=this.Mc.uh().value;0<=f.u.i.Ub.
|
|
2589
|
-
this.Qj.oc));if(0<=f.u.i.Ub.uf.indexOf(a)){var c=this.Qj.oc,e=this.al.oc;b.query=new f.model.cb.Dl(a,c.getTime()<e.getTime()?[c,e]:[e,c])}0<=f.u.i.Ub.qx.indexOf(a)&&(b.query=new f.model.cb.Dl(a,this.gD.uh().value));return b};d.prototype.xl=function(b){this.Mc.ps(function(a){return a.value===b.query.ra});this.ak();0<=f.u.i.Ub.
|
|
2588
|
+
label:f.model.A.j.Jla},{value:f.u.i.Yz.tJ,label:f.model.A.j.Mla},{value:f.u.i.Yz.Kg,label:f.model.A.j.Kla},{value:f.u.i.Yz.Ns,label:f.model.A.j.Lla},{value:f.u.i.Yz.Tk,label:f.model.A.j.Nla}]);this.lg.bb(f.model.A.j.mla);this.Qj.OD=f.model.B.C.xy;this.al.OD=f.model.B.C.xy;this.Qj.Zaa=f.model.B.C.Zba;this.al.Zaa=f.model.B.C.Zba;this.Qj.bR=f.model.A.j.Ok;this.al.bR=f.model.A.j.Ok};d.prototype.Wl=function(){var b={type:f.u.i.kb.Pa},a=this.Mc.uh().value;0<=f.u.i.Ub.Vh.indexOf(a)&&(b.query=new f.model.cb.Dl(a,
|
|
2589
|
+
this.Qj.oc));if(0<=f.u.i.Ub.uf.indexOf(a)){var c=this.Qj.oc,e=this.al.oc;b.query=new f.model.cb.Dl(a,c.getTime()<e.getTime()?[c,e]:[e,c])}0<=f.u.i.Ub.qx.indexOf(a)&&(b.query=new f.model.cb.Dl(a,this.gD.uh().value));return b};d.prototype.xl=function(b){this.Mc.ps(function(a){return a.value===b.query.ra});this.ak();0<=f.u.i.Ub.Vh.indexOf(b.query.ra)&&(this.Qj.oc=b.query.value);0<=f.u.i.Ub.uf.indexOf(b.query.ra)&&(this.Qj.oc=b.query.value[0],this.al.oc=b.query.value[1]);0<=f.u.i.Ub.qx.indexOf(b.query.ra)&&
|
|
2590
2590
|
this.gD.ps(function(a){return a.value===b.query.value})};d.prototype.Wg=function(b){this.Qj.Mi=b;this.al.Mi=b};d.prototype.reset=function(){this.Mc.ek(0);this.gD.ek(0);this.ak();this.Qj.lJa();this.al.oc=null;this.Qj.Mi=null;this.al.Mi=null};d.prototype.ak=function(){var b=this.Mc.uh();f.v(b)||(b=b.value,this.F.Wa("fm-date-range",0<=f.u.i.Ub.uf.indexOf(b)),this.F.Wa("fm-date-period",0<=f.u.i.Ub.qx.indexOf(b)),0<=f.u.i.Ub.uf.indexOf(b)&&null==this.al.oc&&null!=this.Qj.oc&&(this.al.oc=this.Qj.oc.clone()))};
|
|
2591
2591
|
d.prototype.nEa=function(){null==this.al.oc&&0<=f.u.i.Ub.uf.indexOf(this.Mc.uh().value)&&(this.al.oc=this.Qj.oc.clone())};d.prototype.oEa=function(){null==this.Qj.oc&&0<=f.u.i.Ub.uf.indexOf(this.Mc.uh().value)&&(this.Qj.oc=this.al.oc.clone())};d.prototype.Cw=function(){this.reset();this.Va();this.Xa(z.da.mo)};h.Mka=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2592
|
-
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Cz=new B.Vi;b.Cz.Y("fm-txt-input-1");a.V(b.Cz);b.PH=new B.Vi;b.PH.Y("fm-txt-input-2");a.V(b.PH);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.
|
|
2592
|
+
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Cz=new B.Vi;b.Cz.Y("fm-txt-input-1");a.V(b.Cz);b.PH=new B.Vi;b.PH.Y("fm-txt-input-2");a.V(b.PH);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.zd("fm-ui-btn");
|
|
2593
2593
|
b.lg.N(B.ud.$e,function(){return b.Cw()});c.V(b.lg.F);return b}u(d,B.Ca);d.prototype.Nw=function(b){this.conditions=b;this.Ff()};d.prototype.J=function(b){switch(b){case f.u.i.wb.EQUAL:return f.model.A.j.CI;case f.u.i.wb.tf:return f.model.A.j.EI;case f.u.i.wb.WD:return f.model.A.j.xla;case f.u.i.wb.mA:return f.model.A.j.Ela;case f.u.i.wb.$z:return f.model.A.j.Bla;case f.u.i.wb.oA:return f.model.A.j.Gla;case f.u.i.wb.dn:return f.model.A.j.zla;case f.u.i.wb.nA:return f.model.A.j.Fla;case f.u.i.wb.GREATER:return f.model.A.j.vO;
|
|
2594
|
-
case f.u.i.wb.jk:return f.model.A.j.wO;case f.u.i.wb.LESS:return f.model.A.j.xO;case f.u.i.wb.nk:return f.model.A.j.yO;case f.u.i.wb.Ig:return f.model.A.j.BI;case f.u.i.wb.vg:return f.model.A.j.DI}};d.prototype.Ff=function(){var b=this;this.Mc.lc(f.model.A.j.uO);this.Cz.lc(f.model.A.j.jx);this.PH.lc(f.model.A.j.jx);this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.lg.bb(f.model.A.j.nla)};d.prototype.Wl=function(){var b={type:f.u.i.kb.mk},a=this.Mc.uh().value;0<=f.u.i.wb.
|
|
2595
|
-
(b.query=new f.model.cb.Dl(a,this.Cz.Bi()));0<=f.u.i.wb.uf.indexOf(a)&&(b.query=new f.model.cb.Dl(a,[this.Cz.Bi(),this.PH.Bi()]));return b};d.prototype.xl=function(b){this.Mc.ps(function(a){return a.value===b.query.ra});this.ak();0<=f.u.i.wb.
|
|
2594
|
+
case f.u.i.wb.jk:return f.model.A.j.wO;case f.u.i.wb.LESS:return f.model.A.j.xO;case f.u.i.wb.nk:return f.model.A.j.yO;case f.u.i.wb.Ig:return f.model.A.j.BI;case f.u.i.wb.vg:return f.model.A.j.DI}};d.prototype.Ff=function(){var b=this;this.Mc.lc(f.model.A.j.uO);this.Cz.lc(f.model.A.j.jx);this.PH.lc(f.model.A.j.jx);this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.lg.bb(f.model.A.j.nla)};d.prototype.Wl=function(){var b={type:f.u.i.kb.mk},a=this.Mc.uh().value;0<=f.u.i.wb.Vh.indexOf(a)&&
|
|
2595
|
+
(b.query=new f.model.cb.Dl(a,this.Cz.Bi()));0<=f.u.i.wb.uf.indexOf(a)&&(b.query=new f.model.cb.Dl(a,[this.Cz.Bi(),this.PH.Bi()]));return b};d.prototype.xl=function(b){this.Mc.ps(function(a){return a.value===b.query.ra});this.ak();0<=f.u.i.wb.Vh.indexOf(b.query.ra)&&this.Cz.ij(b.query.value);0<=f.u.i.wb.uf.indexOf(b.query.ra)&&(this.Cz.ij(b.query.value[0]),this.PH.ij(b.query.value[1]))};d.prototype.reset=function(){this.Mc.ek(0);this.ak();this.Cz.ij("");this.PH.ij("")};d.prototype.ak=function(){var b=
|
|
2596
2596
|
this.Mc.uh();f.v(b)||this.F.Wa("fm-range",0<=f.u.i.wb.uf.indexOf(b.value))};d.prototype.Cw=function(){this.reset();this.Va();this.Xa(z.da.mo)};h.Kma=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2597
2597
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Gg=new B.$p;b.Gg.Y("fm-num-input-1");b.Gg.yD(B.$p.EE);a.V(b.Gg);b.Ii=new B.$p;b.Ii.Y("fm-num-input-2");b.Ii.yD(B.$p.EE);a.V(b.Ii);var c=new B.Aa("div","fm-buttons-bar");a.F.V(c);b.lg=new B.ud("fm-ui-link-btn");
|
|
2598
|
-
b.lg.Y("fm-muted");b.lg.
|
|
2599
|
-
d.prototype.Ff=function(){var b=this;this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.lg.bb(f.model.A.j.ola)};d.prototype.Wl=function(){var b={type:f.u.i.kb.fb},a=this.Mc.uh().value;0<=f.u.i.wg.
|
|
2598
|
+
b.lg.Y("fm-muted");b.lg.zd("fm-ui-btn");b.lg.N(B.ud.$e,function(){return b.Cw()});c.V(b.lg.F);return b}u(d,B.Ca);d.prototype.Nw=function(b){this.conditions=b;this.Ff()};d.prototype.J=function(b){switch(b){case f.u.i.wg.EQUAL:return f.model.A.j.CI;case f.u.i.wg.tf:return f.model.A.j.EI;case f.u.i.wg.GREATER:return f.model.A.j.vO;case f.u.i.wg.jk:return f.model.A.j.wO;case f.u.i.wg.LESS:return f.model.A.j.xO;case f.u.i.wg.nk:return f.model.A.j.yO;case f.u.i.wg.Ig:return f.model.A.j.BI;case f.u.i.wg.vg:return f.model.A.j.DI}};
|
|
2599
|
+
d.prototype.Ff=function(){var b=this;this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.lg.bb(f.model.A.j.ola)};d.prototype.Wl=function(){var b={type:f.u.i.kb.fb},a=this.Mc.uh().value;0<=f.u.i.wg.Vh.indexOf(a)&&(b.query=new f.model.cb.Dl(a,this.Gg.Ia()));0<=f.u.i.wg.uf.indexOf(a)&&(b.query=new f.model.cb.Dl(a,[this.Gg.Ia(),this.Ii.Ia()]));return b};d.prototype.xl=function(b){this.Mc.ps(function(a){return a.value===b.query.ra});this.ak();0<=f.u.i.wg.Vh.indexOf(b.query.ra)&&
|
|
2600
2600
|
this.Gg.Qh(b.query.value);0<=f.u.i.wg.uf.indexOf(b.query.ra)&&(this.Gg.Qh(b.query.value[0]),this.Ii.Qh(b.query.value[1]))};d.prototype.reset=function(){this.Mc.ek(0);this.ak();this.Gg.Qh(0);this.Ii.Qh(0)};d.prototype.ak=function(){var b=this.Mc.uh();f.v(b)||this.F.Wa("fm-range",0<=f.u.i.wg.uf.indexOf(b.value))};d.prototype.Cw=function(){this.reset();this.Va();this.Xa(z.da.mo)};h.goa=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));
|
|
2601
2601
|
(function(f){(function(k){(function(h){function d(){var b=B.Ca.call(this,"div","fm-filters-subview-wrap")||this;b.conditions=[];var a=new B.Ca("div","fm-filters-subview");b.V(a);b.Mc=new B.kd.gr;b.Mc.Y("fm-conditions-dropdown");b.Mc.Zf("label");b.Mc.N(z.da.Qd,function(){return b.ak()});a.V(b.Mc);b.Gg=new B.$p;b.Gg.Y("fm-num-input-1");b.Gg.yD(B.$p.EE);a.V(b.Gg);b.Ii=new B.$p;b.Ii.Y("fm-num-input-2");b.Ii.yD(B.$p.EE);a.V(b.Ii);b.fu=new B.kd.gr;b.fu.Y("fm-interval-dropdown");b.fu.Zf("label");b.fu.fN("ariaLabel");
|
|
2602
|
-
a.V(b.fu);a=new B.Aa("div","fm-buttons-bar");b.F.V(a);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.
|
|
2602
|
+
a.V(b.fu);a=new B.Aa("div","fm-buttons-bar");b.F.V(a);b.lg=new B.ud("fm-ui-link-btn");b.lg.Y("fm-muted");b.lg.zd("fm-ui-btn");b.lg.N(B.ud.$e,function(){return b.Cw()});a.V(b.lg.F);return b}u(d,B.Ca);d.prototype.Nw=function(b){this.conditions=b;this.Ff()};d.prototype.J=function(b){switch(b){case f.u.i.qk.EQUAL:return f.model.A.j.CI;case f.u.i.qk.tf:return f.model.A.j.EI;case f.u.i.qk.GREATER:return f.model.A.j.vO;case f.u.i.qk.jk:return f.model.A.j.wO;case f.u.i.qk.LESS:return f.model.A.j.xO;case f.u.i.qk.nk:return f.model.A.j.yO;
|
|
2603
2603
|
case f.u.i.qk.Ig:return f.model.A.j.BI;case f.u.i.qk.vg:return f.model.A.j.DI}};d.prototype.Ff=function(){var b=this;this.Mc.lc(f.model.A.j.uO);this.Gg.lc(f.model.A.j.jx);this.Ii.lc(f.model.A.j.jx);this.Mc.Ef(this.conditions.map(function(a){return{value:a,label:b.J(a)}}));this.fu.lc(f.model.A.j.sla);this.fu.Ef([{value:"s",label:f.model.A.j.Wla,ariaLabel:f.model.A.j.Xla},{value:"m",label:f.model.A.j.Ula,ariaLabel:f.model.A.j.Vla},{value:"h",label:f.model.A.j.Sla,ariaLabel:f.model.A.j.Tla},{value:"d",
|
|
2604
|
-
label:f.model.A.j.Qla,ariaLabel:f.model.A.j.Rla}]);this.lg.bb(f.model.A.j.pla)};d.prototype.Wl=function(){var b={type:f.u.i.kb.Zb},a=this.Mc.uh().value,c=this.fu.uh().value;0<=f.u.i.qk.
|
|
2605
|
-
b.query.value.indexOf(e)){this.fu.ek(c);break}}0<=f.u.i.qk.
|
|
2604
|
+
label:f.model.A.j.Qla,ariaLabel:f.model.A.j.Rla}]);this.lg.bb(f.model.A.j.pla)};d.prototype.Wl=function(){var b={type:f.u.i.kb.Zb},a=this.Mc.uh().value,c=this.fu.uh().value;0<=f.u.i.qk.Vh.indexOf(a)&&(b.query=new f.model.cb.Dl(a,this.Gg.Ia()+c));0<=f.u.i.qk.uf.indexOf(a)&&(b.query=new f.model.cb.Dl(a,[this.Gg.Ia()+c,this.Ii.Ia()+c]));return b};d.prototype.xl=function(b){this.Mc.ps(function(g){return g.value===b.query.ra});this.ak();for(var a=this.fu.wc(),c=0;c<a.length;c++){var e=a[c].value;if(0<=
|
|
2605
|
+
b.query.value.indexOf(e)){this.fu.ek(c);break}}0<=f.u.i.qk.Vh.indexOf(b.query.ra)&&(a=parseFloat(b.query.value.replace(e,"")),this.Gg.Qh(a));0<=f.u.i.qk.uf.indexOf(b.query.ra)&&(a=parseFloat(b.query.value[0].replace(e,"")),e=parseFloat(b.query.value[1].replace(e,"")),this.Gg.Qh(a),this.Ii.Qh(e))};d.prototype.reset=function(){this.Mc.ek(0);this.ak();this.Gg.Qh(0);this.Ii.Qh(0);this.fu.ek(0)};d.prototype.ak=function(){var b=this.Mc.uh();f.v(b)||this.F.Wa("fm-range",0<=f.u.i.qk.uf.indexOf(b.value))};
|
|
2606
2606
|
d.prototype.Cw=function(){this.reset();this.Va();this.Xa(z.da.mo)};h.Mpa=d})(k.filter||(k.filter={}))})(f.K||(f.K={}))})(w||(w={}));var U;
|
|
2607
2607
|
(function(f){function k(){this.styleSheet=new f.od.lqa;this.Hg=[];f.od.format.Rs.Gea=f.od.format.Rs.fba;f.JE.LH=[]}k.prototype.oKa=function(){var h=[];h["[Content_Types].xml"]=f.ui.Ss+this.rua();h["_rels/.rels"]=f.ui.Ss+f.ui.oqa;h["xl/_rels/workbook.xml.rels"]=f.ui.Ss+this.Tua();h["xl/workbook.xml"]=f.ui.Ss+this.Uua();h["xl/theme/theme1.xml"]=f.ui.Ss+f.ui.zpa;for(var d=0;d<this.Hg.length;d++){var b=this.Hg[d].Dc();h["xl/worksheets/sheet"+(d+1)+".xml"]=f.ui.Ss+b}d=this.Qua();h["xl/sharedStrings.xml"]=
|
|
2608
2608
|
f.ui.Ss+d;h["xl/styles.xml"]=f.ui.Ss+this.styleSheet.Dc();h["docProps/app.xml"]=f.ui.Ss+f.ui.dja;h["docProps/core.xml"]=f.ui.Ss+f.ui.dka;return(new D.ama).Vua(h)};k.prototype.Qua=function(){var h="";D.aa.create("<axis/>").attr("name","rows");for(var d=0;d<f.JE.LH.length;d++){var b=w.O.cxa(f.JE.LH[d]);h+="<si><t>"+b+"</t></si>"}return f.ui.bpa.replace("{0}",h)};k.prototype.Uua=function(){for(var h="",d=0;d<this.Hg.length;d++)h+=w.O.bind('<sheet name="{0}" sheetId="{1}" r:id="{2}"/>',this.Hg[d].name,
|
|
2609
2609
|
d+1,"rId"+(d+4));return w.O.bind(f.ui.cqa,h)};k.prototype.Tua=function(){for(var h="",d=0;d<this.Hg.length;d++)h+=w.O.bind(f.ui.eqa,"rId"+(d+4),"worksheets/sheet"+(d+1)+".xml");return w.O.bind(f.ui.dqa,h)};k.prototype.rua=function(){for(var h="",d=0;d<this.Hg.length;d++)h+=w.O.bind(f.ui.Gja,"/xl/worksheets/sheet"+(d+1)+".xml");return w.O.bind(f.ui.Fja,h)};f.gqa=k})(U||(U={}));
|
|
2610
2610
|
(function(f){function k(h,d,b,a){this.js=void 0===h?0:h;this.Ct=void 0===d?0:d;this.value=void 0===b?"":b;this.S4=void 0===a?0:a}k.prototype.toString=function(){return"XLSCell {row: "+this.js+", column: "+this.Ct+", type: "+this.type+", id: "+this.id+", value: "+this.value+"}"};r.Object.defineProperties(k.prototype,{type:{configurable:!0,enumerable:!0,get:function(){return this.jg}},value:{configurable:!0,enumerable:!0,set:function(h){"number"===typeof h&&isNaN(h)&&(h="");if("string"===typeof h){h=
|
|
2611
|
-
h.replace(RegExp("<br/?>","gmi"),"\n");h=h.replace("/&/gmi","");h=h.replace(RegExp("<[^<]+?>","gmi"),"");var d=f.JE.LH.indexOf(h);-1==d?(this.aK=f.JE.LH.length,f.JE.LH.push(h)):this.aK=d;this.jg=f.xx.Sc}else this.aK=h,this.jg="number"===typeof h?f.xx.fb:null===h?f.xx.X7:!1===h?f.xx.D7:f.xx.Tpa},get:function(){return this.aK}},id:{configurable:!0,enumerable:!0,set:function(){},get:function(){for(var h="",d=this.Ct
|
|
2612
|
-
|
|
2611
|
+
h.replace(RegExp("<br/?>","gmi"),"\n");h=h.replace("/&/gmi","");h=h.replace(RegExp("<[^<]+?>","gmi"),"");var d=f.JE.LH.indexOf(h);-1==d?(this.aK=f.JE.LH.length,f.JE.LH.push(h)):this.aK=d;this.jg=f.xx.Sc}else this.aK=h,this.jg="number"===typeof h?f.xx.fb:null===h?f.xx.X7:!1===h?f.xx.D7:f.xx.Tpa},get:function(){return this.aK}},id:{configurable:!0,enumerable:!0,set:function(){},get:function(){for(var h="",d=this.Ct;0<=d;)h=String.fromCharCode(d%26+65)+h,d=Math.floor(d/26)-1;return h+(this.js+1)}}});
|
|
2612
|
+
f.FP=k})(U||(U={}));(function(f){function k(){}k.LH=[];f.JE=k})(U||(U={}));
|
|
2613
2613
|
(function(f){function k(h){this.cells=[];this.kU=this.lU=0;this.columns=[];this.rows=[];this.oU=[];this.name=this.axa(h)}k.prototype.axa=function(h){h=h.replace(/[\\/*[\]:?]/g,"");"'"==h.charAt(0)&&(h=h.substr(1));h=h.replace(/&/g,"&");h=h.replace(/'/g,"'");h=h.replace(/"/g,""");h=h.replace(/</g,"<");h=h.replace(/>/g,">");30<h.length&&(h=h.substr(0,27)+"...");return h};k.prototype.gha=function(h,d){this.columns[h]=d};k.prototype.uG=function(h){return this.columns[h]?this.columns[h]:
|
|
2614
|
-
0};k.prototype.Pw=function(h,d){this.rows[h]=d};k.prototype.Md=function(h){return this.rows[h]?this.rows[h]:0};k.prototype.
|
|
2614
|
+
0};k.prototype.Pw=function(h,d){this.rows[h]=d};k.prototype.Md=function(h){return this.rows[h]?this.rows[h]:0};k.prototype.li=function(h,d,b,a){a=void 0===a?null:a;null==this.cells[h]&&(this.cells[h]=[]);this.cells[h][d]=b instanceof f.FP?b:new f.FP(h,d,b,null==a?0:a.index);this.lU<h&&(this.lU=h);this.kU<d&&(this.kU=d)};k.prototype.Tf=function(h,d){var b;null!=this.cells[h]&&(b=this.cells[h][d]);null==b&&(b=new f.FP(h,d,null));return b};k.prototype.dfa=function(h,d,b){var a=this.Tf(h,d);if(null!=
|
|
2615
2615
|
a){for(var c=a.id,e,g=d+1;g<d+b;g++)e=new f.FP(h,g,!1,a.S4),this.cells[h][g]=e;c+=":"+(e?e.id:a.id);this.oU.push(c)}};k.prototype.Dc=function(){for(var h="",d=0;d<this.cells.length;d++){var b=this.cells[d];if(null!=b&&0!=b.length){for(var a="",c=0;c<b.length;c++){var e=b[c];null!=e&&e.type!=f.xx.X7&&(a=e.type==f.xx.D7?a+('<c r="'+e.id+'" s="'+e.S4.toString()+'" />'):a+('<c r="'+e.id+'" s="'+e.S4.toString()+'"'+(e.type==f.xx.Sc?' t="s"':"")+"><v>"+e.value+"</v></c>"))}h=isNaN(this.rows[d])?h+w.O.bind('<row spans="1:3" r="{0}" >{1}</row>',
|
|
2616
2616
|
d+1,a):h+w.O.bind('<row spans="1:3" r="{0}" x14ac:dyDescent="0.25" ht="{1}" customHeight="1">{2}</row>',d+1,this.rows[d],a)}}d="";for(b=0;b<this.columns.length;b++)isNaN(this.columns[b])||(d+=w.O.bind('<col min="{0}" max="{1}" width="{2}" customWidth="1" />',b+1,b+1,this.columns[b]));a="";for(b=0;b<this.oU.length;b++)a+=w.O.bind('<mergeCell ref="{0}"/>',this.oU[b]);b=0<this.oU.length?w.O.bind('<mergeCells count="{0}">{1}</mergeCells>',this.dfa.length,a):"";return w.O.bind(f.ui.cpa,this.Tf(0,0).id+
|
|
2617
2617
|
":"+this.$Ca.id,d,h,b)};r.Object.defineProperties(k.prototype,{$Ca:{configurable:!0,enumerable:!0,get:function(){return this.Tf(this.lU,this.kU)},set:function(){}},kua:{configurable:!0,enumerable:!0,get:function(){return this.kU+1}},XM:{configurable:!0,enumerable:!0,get:function(){return this.lU+1}}});f.hqa=k})(U||(U={}));(function(f){function k(){}k.X7=0;k.fb=1;k.Sc=2;k.D7=98;k.Tpa=99;f.xx=k})(U||(U={}));
|
|
@@ -2677,27 +2677,27 @@ var e=this.Px.indexOf(h.charAt(b++));var g=this.Px.indexOf(h.charAt(b++));a=a<<2
|
|
|
2677
2677
|
k.CY=function(h,d,b){if(!0===h[2])for(var a in h[1])this.CY(h[1][a],d,b);else if(!1===h[2]){a=h[1][0];h=h[0];var c=d.getItem(a);c&&c.Ja?this.CY(c.Nd,d,b):b.push(new w.model.cb.Lg(a,h))}};f.Gs=k})(x||(x={}));
|
|
2678
2678
|
(function(f){(function(k){(function(h){function d(){var c=z.Gc.call(this)||this;c.ha=f.u.La.P();c.hY=null;c.kf=b.HX;c.oD=a.HX;c.aF=!1;c.wQ=!1;c.qY=!1;c.j$=!1;c.QH=!1;c.vaa=function(){return c.bEa()};c.xN=function(){return c.Iq()};c.Waa=function(){return c.D2()};c.Yha=function(e){return c.jGa(e)};c.wK=function(){return c.C2()};c.gz=function(e){return c.ZC(e)};c.sga=function(e){return c.l3(e)};c.Cga=function(){return c.Za()};c.vp=new k.cb.Uoa;k.B.C.P();return c}function b(){}function a(){}a.HX="UNDEFINED";
|
|
2679
2679
|
a.HE="START_REPORT";a.xE="OPENING_REPORT_FILE";a.nx="LOADING_REPORT_FILE";a.nn="REPORT_FILE_LOADED";a.hJ="REPORT_FILE_ERROR";a.er="REPORT_FILE_CANCELLED";a.pm="REPORT_CHANGED";a.BE="REPORT_DEFINED";a.oE="LOADING_DATA";a.pI="DATA_LOADED";a.nI="DATA_ERROR";a.oI="DATA_FILE_CANCELLED";a.dv="STRUCTURE_LOADED";a.XW="LOADING_OLAP_STRUCTURE";a.b8="OLAPstructure__LOADED";a.a8="OLAPstructure__ERROR";a.Eja="CONNECTED_TO_DATA_SOURCE";a.xW="EMPTY_SLICE";a.uA="RUNNING_QUERY";a.pk="QUERY_COMPLETE";a.Os="QUERY_ERROR";
|
|
2680
|
-
a.pE="LOADING_LOCALIZATION";a.qE="LOCALIZATION_LOADED";a.RI="LOCALIZATION_ERROR";a.
|
|
2681
|
-
{}),k.B.C.P().N(a.pm,function(){return e.Za()}),k.size.pd.P().N(a.pm,function(){return e.Za()}),k.ra.jm.P().N(a.pm,function(){return e.Za()}),e.PJa(e.TL),e.ZQ(),"string"===typeof c.report)e.MJ(c.report);else{var l=c.report||{};e.sha(l);k.B.C.Cp(l.options||l,!0,!1);f.re(function(){e.kf===b.INIT&&e.UJ(l)},1)}})};d.prototype.Ud=function(c,e,g){this.oD=c;if(c==a.HE||c==a.xE||c==a.nx)this.qY=this.wQ=this.aF=!1;c==a.uA&&(this.j$=this.aF,this.aF=!1);c!=a.pk&&c!=a.Os||!0!==this.j$||(this.aF=!0);c==a.
|
|
2680
|
+
a.pE="LOADING_LOCALIZATION";a.qE="LOCALIZATION_LOADED";a.RI="LOCALIZATION_ERROR";a.Th="REPORT_COMPLETE";a.c6="CREATION_COMPLETE";h.gd=a;b.HX="UNDEFINED";b.INIT="INIT";b.mo="CLEAR";b.$oa="SET_REPORT";b.Soa="RUN_QUERY";b.qJ="UPDATE_DATA";b.Upa="UPDATE_DATA_PARTIAL";b.Uz="CONNECT_TO";b.w7="LOAD";b.OPEN="OPEN";b.Lc="COMPLETE";h.vo=b;u(d,z.Gc);d.prototype.BC=function(c){var e=this;f.v(c)&&(c={});this.kf=b.INIT;k.Fa.rc.P().Ita(c,function(g){if(g)if(e.Ud(a.HE),e.TL=k.cb.ReportValueObject.tb(c.global?c.global:
|
|
2681
|
+
{}),k.B.C.P().N(a.pm,function(){return e.Za()}),k.size.pd.P().N(a.pm,function(){return e.Za()}),k.ra.jm.P().N(a.pm,function(){return e.Za()}),e.PJa(e.TL),e.ZQ(),"string"===typeof c.report)e.MJ(c.report);else{var l=c.report||{};e.sha(l);k.B.C.Cp(l.options||l,!0,!1);f.re(function(){e.kf===b.INIT&&e.UJ(l)},1)}})};d.prototype.Ud=function(c,e,g){this.oD=c;if(c==a.HE||c==a.xE||c==a.nx)this.qY=this.wQ=this.aF=!1;c==a.uA&&(this.j$=this.aF,this.aF=!1);c!=a.pk&&c!=a.Os||!0!==this.j$||(this.aF=!0);c==a.Th&&
|
|
2682
2682
|
(this.wQ=this.aF=!0);c==a.BE&&(this.wQ=!0);c==a.dv&&(this.qY=!0);(void 0===g||g)&&this.Xa(c,null,void 0===e?null:e)};d.prototype.Ow=function(c){f.v(c)&&(c={});this.kf=b.$oa;this.cancel();this.Ud(a.HE);this.UJ(c.report||{})};d.prototype.ce=function(c){this.kf=b.Soa;c=c instanceof f.u.I.fr?c:f.u.I.fr.tb(k.cb.SliceValueObject.tb(c),this.ha.I);var e=f.u.I.fr.S$(c,this.ha.qa),g=f.u.I.fr.R$(c,this.ha.qa);if(f.u.I.fr.wZ(c,this.ha.qa)&&!e&&!g){var l=new k.cb.fv;l.rowSizes=k.size.pd.Iga;l.columnSizes=k.size.pd.oaa;
|
|
2683
|
-
l.rowSizesByIdx=k.size.pd.rowSizesByIdx;l.rowHeaderSizes=k.size.pd.rowHeaderSizes;l.columnHeaderSizes=k.size.pd.columnHeaderSizes;l.rowFilterSizes=k.size.pd.rowFilterSizes;k.size.pd.vZ(l)}e&&(k.size.pd.rowSizes={});g&&(k.size.pd.columnSizes={});c.iDa(this.ha.qa);c.o5();c.Iia();k.Ta.P().Xa("reset_grid");f.u.Ee.
|
|
2683
|
+
l.rowSizesByIdx=k.size.pd.rowSizesByIdx;l.rowHeaderSizes=k.size.pd.rowHeaderSizes;l.columnHeaderSizes=k.size.pd.columnHeaderSizes;l.rowFilterSizes=k.size.pd.rowFilterSizes;k.size.pd.vZ(l)}e&&(k.size.pd.rowSizes={});g&&(k.size.pd.columnSizes={});c.iDa(this.ha.qa);c.o5();c.Iia();k.Ta.P().Xa("reset_grid");f.u.Ee.ni.wc().te=!1;this.ha.zD(c);this.ha.filter();k.Ra.P().Da(new k.Yc(k.Ra.gJ))};d.prototype.Kd=function(c,e){this.kf=b.qJ;this.cancel();this.Ud(a.HE);var g=this.Nr();e.ignoreSorting&&(g.slice.columnSorting=
|
|
2684
2684
|
{},g.slice.rowSorting={});e.ignoreScroll&&k.Ta.P().Xa("reset_grid");f.ia(g.localization)||delete g.localization;var l=g.connectionInfo.mapping;g.connectionInfo=f.u.I.ConnectionInfo.tb(c);g.connectionInfo.mapping=g.connectionInfo.nb||g.connectionInfo.mapping.nb&&!g.connectionInfo.mapping.Vn&&void 0!==l?l:g.connectionInfo.mapping;c=g.Ma();null==g.connectionInfo.requestHeaders||f.v(c.dataSource)||(c.dataSource.requestHeaders=g.connectionInfo.requestHeaders);this.UJ(c,!0,e)};d.prototype.zKa=function(c,
|
|
2685
|
-
e){var g=this;this.kf=b.Upa;var l=this.ha.qa.clone();this.cancel();this.hha();this.Ud(a.HE);e.ignoreSorting&&(l.Tb.DB(),l.mc.DB());e.ignoreScroll&&k.Ta.P().Xa("reset_grid");this.
|
|
2685
|
+
e){var g=this;this.kf=b.Upa;var l=this.ha.qa.clone();this.cancel();this.hha();this.Ud(a.HE);e.ignoreSorting&&(l.Tb.DB(),l.mc.DB());e.ignoreScroll&&k.Ta.P().Xa("reset_grid");this.Ed.connectionInfo.data&&(e=this.Ed.connectionInfo.data,e=e.concat(c),this.Ed.connectionInfo.data=e);this.ha.Kd(c);this.ZY();f.u.Ee.ni.wc().reset(!1);this.QH=!0;f.re(function(){g.QH=!1},500);this.ha.qa=l;this.ha.filter()};d.prototype.MF=function(c){this.kf=b.Uz;this.cancel();this.Ud(a.HE);this.UJ(c)};d.prototype.load=function(c,
|
|
2686
2686
|
e){this.kf=b.w7;this.cancel();this.MJ(c,e)};d.prototype.MJ=function(c,e){var g=this;this.Ud(a.nx);this.vp.N(k.cb.oh.nn,function(l){return g.$C(l)});this.vp.N(k.cb.oh.$u,function(){return g.IM()});this.vp.load(c,e)};d.prototype.open=function(){var c=this;this.kf=b.OPEN;this.Ud(a.xE);this.vp.cancel();this.vp.N(k.cb.oh.iJ,function(){return c.p3()});this.vp.N(k.cb.oh.nn,function(e){return c.$C(e)});this.vp.N(k.cb.oh.$u,function(){return c.IM()});this.vp.N(k.cb.oh.er,function(){return c.HM()});this.vp.open()};
|
|
2687
|
-
d.prototype.sha=function(c){null!=c&&c.hasOwnProperty("dataSource")&&c.dataSource.hasOwnProperty("browseForFile")&&c.dataSource.browseForFile&&(c.dataSource.requestPermission=!0)};d.prototype.$C=function(c){this.sha(c.cb);f.za(!1);this.Ud(a.nn);this.UJ(c.cb)};d.prototype.IM=function(){f.za(!1);this.Ud(a.hJ);this.Ud(a.BE);this.Ud(a.
|
|
2688
|
-
a.pk||k.Ra.P().Da(new k.Yc(k.Ra.gJ))};d.prototype.UJ=function(c,e,g){var l=this;e=void 0===e?!1:e;g=void 0===g?null:g;1>k.Fa.rc.sj()||(this.
|
|
2689
|
-
this.tn&&!this.tn.nb&&(f.u.me.KD=!this.tn.Bc||this.tn.Ba==f.u.i.oa.Jf||this.tn.Ba==f.u.i.oa.API,f.u.me.SH=!this.tn.Bc||this.tn.Ba==f.u.i.oa.Jf||this.tn.Ba==f.u.i.oa.API):(f.u.me.KD=!this.
|
|
2690
|
-
c.connectionInfo.nb||c.connectionInfo.Ba!=f.u.i.oa.API||(c.options.la("viewType",f.K.
|
|
2691
|
-
this.yfa(null):(this.Ud(a.pE),k.A.jA.P().load(this.TL.localization,function(e){return c.yfa(e)},!0),this.TL.localization=null)};d.prototype.yfa=function(c){var e=this;f.ia(this.
|
|
2692
|
-
this.kf!=b.OPEN&&(k.B.C.Fn=k.B.C.LF));var c=this.kf;this.Ud(a.BE);c==this.kf&&((c=this.
|
|
2693
|
-
(c=this.tn),c.nb)?(this.ga=c,this.ha.cancel(),this.Ud(a.
|
|
2694
|
-
(k.B.C.qc=!1)};d.prototype.bEa=function(){this.kf===b.Uz?(this.ZQ(),this.ha.qa&&this.ha.qa.clear(),this.ha.I&&this.ha.I.clear()):this.P$(!1);this.Ud(a.Eja);this.ga=this.
|
|
2695
|
-
function(){this.Ud(a.oI);this.Ud(a.
|
|
2687
|
+
d.prototype.sha=function(c){null!=c&&c.hasOwnProperty("dataSource")&&c.dataSource.hasOwnProperty("browseForFile")&&c.dataSource.browseForFile&&(c.dataSource.requestPermission=!0)};d.prototype.$C=function(c){this.sha(c.cb);f.za(!1);this.Ud(a.nn);this.UJ(c.cb)};d.prototype.IM=function(){f.za(!1);this.Ud(a.hJ);this.Ud(a.BE);this.Ud(a.Th)};d.prototype.p3=function(){this.Xa(a.nx,null,"")};d.prototype.HM=function(){this.Ud(a.er);this.Ud(a.BE);this.Ud(a.Th)};d.prototype.Za=function(){this.oD!=a.Th&&this.oD!=
|
|
2688
|
+
a.pk||k.Ra.P().Da(new k.Yc(k.Ra.gJ))};d.prototype.UJ=function(c,e,g){var l=this;e=void 0===e?!1:e;g=void 0===g?null:g;1>k.Fa.rc.sj()||(this.Ed=c instanceof k.cb.ReportValueObject?c:k.cb.ReportValueObject.tb(c),this.Ed.connectionInfo.fCa=e,this.Ed.connectionInfo.xia=g,e||k.Ta.P().Xa("reset_grid"),this.Gta(this.Ed),this.hha(),this.Ed.connectionInfo.nb?this.Sea():this.Ed.connectionInfo.mapping.HCa(this.Ed.connectionInfo.requestHeaders,function(){return l.Sea()}))};d.prototype.hha=function(){this.Ed.connectionInfo.nb?
|
|
2689
|
+
this.tn&&!this.tn.nb&&(f.u.me.KD=!this.tn.Bc||this.tn.Ba==f.u.i.oa.Jf||this.tn.Ba==f.u.i.oa.API,f.u.me.SH=!this.tn.Bc||this.tn.Ba==f.u.i.oa.Jf||this.tn.Ba==f.u.i.oa.API):(f.u.me.KD=!this.Ed.connectionInfo.Bc||this.Ed.connectionInfo.Ba==f.u.i.oa.Jf||this.Ed.connectionInfo.Ba==f.u.i.oa.API,f.u.me.SH=!this.Ed.connectionInfo.Bc||this.Ed.connectionInfo.Ba==f.u.i.oa.Jf||this.Ed.connectionInfo.Ba==f.u.i.oa.API)};d.prototype.Gta=function(c){"flat"!=c.options.U("gridType")||c.options.U("viewType")!=f.K.Bd.jn||
|
|
2690
|
+
c.connectionInfo.nb||c.connectionInfo.Ba!=f.u.i.oa.API||(c.options.la("viewType",f.K.Bd.Hs),f.Ua(f.O.bind(k.A.j.aX),k.A.j.MO,f.qb.Nk))};d.prototype.Nr=function(c){c=void 0===c?{}:c;return h.W.A8.lKa(this.dza(c))};d.prototype.clear=function(c){c=void 0===c?!1:c;this.cancel();this.kf=b.mo;this.ZQ();c?this.ha.clearData():this.ha.cancel();this.Ud(a.Th)};d.prototype.cancel=function(){this.vp.cancel();this.OHa();this.QH=!1;f.u.me.KD=!1;f.u.me.SH=!1;f.za(!1)};d.prototype.Sea=function(){var c=this;f.ia(this.TL.localization)?
|
|
2691
|
+
this.yfa(null):(this.Ud(a.pE),k.A.jA.P().load(this.TL.localization,function(e){return c.yfa(e)},!0),this.TL.localization=null)};d.prototype.yfa=function(c){var e=this;f.ia(this.Ed.localization)?(k.A.jA.P().reset(),this.oH(c)):(this.Ud(a.pE),k.A.jA.P().load(this.Ed.localization,function(g){return e.oH(g)}))};d.prototype.oH=function(c){c?this.Ud(a.qE):!1===c&&this.Ud(a.RI);this.NCa()};d.prototype.NCa=function(){this.kf!=b.Uz&&this.kf!=b.qJ&&(this.kf!=b.OPEN&&this.ZQ(),k.B.C.Cp(this.Ed.options,!0,!1),
|
|
2692
|
+
this.kf!=b.OPEN&&(k.B.C.Fn=k.B.C.LF));var c=this.kf;this.Ud(a.BE);c==this.kf&&((c=this.Ed.connectionInfo,!f.v(this.ga)&&!this.ga.nb&&this.ga.isEqual(c)&&!k.B.C.oN&&this.ha.ga&&this.ha.I&&this.ha.I.Yd)?(this.ga.Ba===f.u.i.oa.API&&this.Ed.connectionInfo.Ba===f.u.i.oa.API&&f.u.Ee.ni.Xaa!==f.u.Ee.ni.fia(this.Ed.options)&&this.ha.sa.clearData(),c=f.u.Ee.ni.wc(),this.Ed.connectionInfo.xia&&this.Ed.connectionInfo.xia.keepMembersOrder?c.te=!0:c.reset(),this.ZY(),this.ha.HHa()):(c.nb&&this.tn&&!this.tn.nb&&
|
|
2693
|
+
(c=this.tn),c.nb)?(this.ga=c,this.ha.cancel(),this.Ud(a.Th),f.za(!1)):(c.Bc?this.Ud(a.XW):this.Ud(a.oE),null!==this.ha.sa&&(this.kf==b.Uz||this.kf==b.OPEN||f.v(this.ga)||this.ga.nb||c.Ba===this.ga.Ba?this.ga.Ba===f.u.i.oa.API&&this.Ed.connectionInfo.Ba===f.u.i.oa.API&&f.u.Ee.ni.Xaa!==f.u.Ee.ni.fia(this.Ed.options)&&(this.ha.sa.yt(),this.ha.sa=null):(this.ha.sa.yt(),this.ha.sa=null)),this.Dta(c),f.u.Ee.ni.wc(),this.ZY(),this.ha.connect(c)))};d.prototype.Dta=function(c){!k.B.C.qc||f.v(c)||c.nb||c.ZG||
|
|
2694
|
+
(k.B.C.qc=!1)};d.prototype.bEa=function(){this.kf===b.Uz?(this.ZQ(),this.ha.qa&&this.ha.qa.clear(),this.ha.I&&this.ha.I.clear()):this.P$(!1);this.Ud(a.Eja);this.ga=this.Ed.connectionInfo};d.prototype.Iq=function(){this.Ud(a.dv);var c=f.u.I.fr.tb(this.Ed.slice,this.ha.I,!1,f.u.i.oa.API!==this.Ed.connectionInfo.Ba);this.P$(!0);this.ha.zD(c);this.ga.Bc?(this.Ud(a.b8),c.nb?(this.Ud(a.xW),this.Ud(a.Th)):(k.B.C.Fn=k.B.C.LF,this.ha.filter())):(this.Ud(a.pI),k.B.C.Fn=k.B.C.LF,this.ha.filter())};d.prototype.D2=
|
|
2695
|
+
function(){this.Ud(a.oI);this.Ud(a.Th)};d.prototype.jGa=function(c){var e=this.Ed.connectionInfo;k.B.C.Cp(this.Ed.options);this.ha.cancel();f.za(!1);e.Bc?this.Ud(a.a8,c.data):this.Ud(a.nI,c.data);this.Ud(a.Th)};d.prototype.C2=function(){this.Ud(a.uA)};d.prototype.ZC=function(c){this.Ud(a.pk,c.up);this.oD!=a.Th&&this.Ud(a.Th,null,c.up!=f.u.i.Td.uI)};d.prototype.l3=function(c){this.Ud(a.Os,c.data);this.oD!=a.Th&&this.Ud(a.Th)};d.prototype.ZY=function(){this.ha.N(f.u.eg.BX,this.vaa);this.ha.N(f.u.eg.dv,
|
|
2696
2696
|
this.xN);this.ha.N(f.u.eg.AX,this.Waa);this.ha.N(f.u.eg.CX,this.Yha);this.ha.N(f.u.eg.fI,this.wK);this.ha.N(f.u.eg.pk,this.gz);this.ha.N(f.u.eg.Os,this.sga);this.ha.N(a.pm,this.Cga)};d.prototype.OHa=function(){this.ha.mb(f.u.eg.BX,this.vaa);this.ha.mb(f.u.eg.dv,this.xN);this.ha.mb(f.u.eg.AX,this.Waa);this.ha.mb(f.u.eg.CX,this.Yha);this.ha.mb(f.u.eg.fI,this.wK);this.ha.mb(f.u.eg.pk,this.gz);this.ha.mb(f.u.eg.Os,this.sga);this.ha.mb(a.pm,this.Cga)};d.prototype.save=function(c,e,g,l,m){return this.vp.save(c,
|
|
2697
2697
|
e,g,l,void 0===m?!1:m,this.Nr(c instanceof Object?c:{}))};d.prototype.dza=function(c){if(void 0===this.ub&&void 0===this.ha.I&&void 0===this.ha.qa)return null;var e=c.hasOwnProperty("withDefaults")?1==c.withDefaults:!1;c=c.hasOwnProperty("withGlobals")?1==c.withGlobals:!1;var g=new h.W.A8;g.withDefaults=e;g.QKa=c;g.ub=c&&this.ub.nb&&!this.tn.nb?this.tn:this.ub;g.I=this.ha.I;g.Lb=this.ha.qa;g.B=k.B.C.fw(e,c);g.formats=k.$b.Ti.Eya();g.conditions=k.ra.jm.conditions;g.customFields=k.cb.mI.customFields;
|
|
2698
|
-
g.Sw=k.size.pd.KG();this.
|
|
2699
|
-
k.ra.jm.Q3();for(c=0;c<this.
|
|
2700
|
-
k.B.C.dispose();k.hs.zE.dispose();k.CC.IO.dispose();k.A.jA.dispose();k.Fa.rc.dispose();k.size.pd.dispose();k.$b.Ti.dispose();this.vp.dispose();k.cb.mI.customFields=[];this.ha=this.
|
|
2698
|
+
g.Sw=k.size.pd.KG();this.Ed&&(g.localization=c&&null==this.Ed.localization&&null!=this.hY?this.hY:this.Ed.localization);return g};d.prototype.PJa=function(c){this.tn=c.connectionInfo;this.ZS=c.slice.drillThrough;k.B.C.YIa(c.options);this.hY=c.localization};d.prototype.ZQ=function(){f.u.Ee.ni.dispose();k.size.pd.clear();k.ra.jm.Q3();k.$b.Ti.clear();k.cb.mI.customFields=[];k.B.C.clear()};d.prototype.P$=function(c){c=void 0===c?!1:c;k.B.C.Cp(this.Ed.options,!1);c&&(k.size.pd.clear(),k.size.pd.vZ(this.Ed.Sw));
|
|
2699
|
+
k.ra.jm.Q3();for(c=0;c<this.Ed.conditions.length;c++){var e=k.ra.W.i6.tb(this.Ed.conditions[c]);k.ra.jm.add(e)}k.$b.Ti.clear();for(c=0;c<this.Ed.formats.length;c++)k.$b.Ti.wD(this.Ed.formats[c]);for(c=0;c<this.Ed.slice.measures.length;c++)if(e=this.Ed.slice.measures[c],void 0!==e.format){var g=void 0===e.aggregation?"":e.aggregation;g=f.u.i.ca.ly(g)?f.u.i.ca.Ay(g):g;k.$b.Ti.BH(e.format,e.uniqueName,g)}k.cb.mI.customFields=this.Ed.customFields};d.prototype.dispose=function(){this.cancel();k.ra.jm.dispose();
|
|
2700
|
+
k.B.C.dispose();k.hs.zE.dispose();k.CC.IO.dispose();k.A.jA.dispose();k.Fa.rc.dispose();k.size.pd.dispose();k.$b.Ti.dispose();this.vp.dispose();k.cb.mI.customFields=[];this.ha=this.Ed=this.w9=this.TL=this.ub=this.vp=null};r.Object.defineProperties(d.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return f.v(this.ub)||this.ub.nb?this.tn:this.ub},set:function(c){this.ub=c}},ic:{configurable:!0,enumerable:!0,get:function(){return this.aF}},OT:{configurable:!0,enumerable:!0,get:function(){return this.wQ}},
|
|
2701
2701
|
ST:{configurable:!0,enumerable:!0,get:function(){return this.qY}},ZS:{configurable:!0,enumerable:!0,get:function(){return this.w9},set:function(c){this.w9=c}}});h.tpa=d})(k.fc||(k.fc={}))})(f.model||(f.model={}))})(w||(w={}));
|
|
2702
2702
|
(function(f){(function(k){(function(h){function d(){d.Bu=[123,11,92,19,144,53,22,7,190,81,45,201,45,88,130,173,165,9,34,54,31,233,245,40,65,55,23,183,102,109,34,45,177,103,51,20,119,17,3,49,90,92,90,134,182,199,92,230,241,2,117,108,124,54,32,190,251,16,4,5,231,253,201,2,39,96,91,55,82,160,32,84,193,149,189,152,29,102,119,234]}function b(){}b.oC=function(a){return a==b.Jf?h.na.J(h.na.Xwa):h.na.J(a+28)};b.Fl=0;b.fka=2;b.Rd=3;b.Wia=4;b.nO=5;b.Jf=6;h.so=b;d.P=function(){null==d.instance&&(d.instance=
|
|
2703
2703
|
new d);return d.instance};d.dispose=function(){d.NV=null;d.hG=null;d.Lea=null;d.Y1=null;d.hy=null;d.Bu=null;d.instance=null};d.prototype.Ita=function(a,c){this.Eb=c;a[h.na.J(h.na.Mea)]?this.iN(a[h.na.J(h.na.Mea)]):a[h.na.J(h.na.mga)]?this.iN(a[h.na.J(h.na.mga)]):a[h.na.J(h.na.sca)]?this.iN(a[h.na.J(h.na.sca)]):a[h.na.J(h.na.X1)]?this.Rea(a[h.na.J(h.na.X1)]):window[h.na.J(h.na.Nea)]?this.iN(window[h.na.J(h.na.Nea)]):this.Rea(a[h.na.J(h.na.X1)])};d.prototype.iN=function(a){a=k.Nb.validate(a);d.hy=d[h.na.J(h.na.gca)+
|
|
@@ -2759,12 +2759,12 @@ k.fqa=h})(f.K||(f.K={}))})(w||(w={}));
|
|
|
2759
2759
|
d.container.substr(0,1)?d.container.substring(1):d.container));null==e?(d=0==f.ia(d.container)?"Flexmonster:\nUnable to create the component. DOM element with id '"+d.container+"' is not found.":"Flexmonster:\nUnable to create the component. DOM element is null.",console.error(d),alert(d)):(c=this.jda(e),f.v(c)||void 0===c.flexmonster||(c.flexmonster.dispose(),c.flexmonster=void 0),this.ja=f.model.Ta.P(),this.ja.Ga.N(f.model.fc.gd.xE,function(){return a.DFa()}),this.ja.Ga.N(f.model.fc.gd.nx,function(){return a.e3()}),
|
|
2760
2760
|
this.ja.Ga.N(f.model.fc.gd.nn,function(){return a.$C()}),this.ja.Ga.N(f.model.fc.gd.hJ,function(){return a.RFa()}),this.ja.Ga.N(f.model.fc.gd.er,function(){return a.HM()}),this.ja.Ga.N(f.model.fc.gd.BE,function(){return a.o3()}),this.ja.Ga.N(f.model.fc.gd.oE,function(){return a.c3()}),this.ja.Ga.N(f.model.fc.gd.pI,function(){return a.lp()}),this.ja.Ga.N(f.model.fc.gd.nI,function(g){return a.sfa(g)}),this.ja.Ga.N(f.model.fc.gd.oI,function(){return a.D2()}),this.ja.Ga.N(f.model.fc.gd.dv,function(){return a.Iq()}),
|
|
2761
2761
|
this.ja.Ga.N(f.model.fc.gd.XW,function(){return a.fFa()}),this.ja.Ga.N(f.model.fc.gd.b8,function(){return a.Efa()}),this.ja.Ga.N(f.model.fc.gd.a8,function(g){return a.Dfa(g)}),this.ja.Ga.N(f.model.fc.gd.pE,function(){return a.eFa()}),this.ja.Ga.N(f.model.fc.gd.qE,function(){return a.oH()}),this.ja.Ga.N(f.model.fc.gd.RI,function(){return a.hFa()}),this.ja.Ga.N(f.model.fc.gd.xW,function(){return a.H2()}),this.ja.Ga.N(f.model.fc.gd.uA,function(){return a.VFa()}),this.ja.Ga.N(f.model.fc.gd.pk,function(){return a.ZC()}),
|
|
2762
|
-
this.ja.Ga.N(f.model.fc.gd.Os,function(g){return a.l3(g)}),this.ja.Ga.N(f.model.fc.gd.
|
|
2762
|
+
this.ja.Ga.N(f.model.fc.gd.Os,function(g){return a.l3(g)}),this.ja.Ga.N(f.model.fc.gd.Th,function(){return a.n3()}),this.ja.N(k.EW,function(){return a.AEa()}),this.ja.N(k.Yg,function(){return a.yEa()}),this.ja.N(k.mX,function(){return a.JFa()}),this.ja.N(k.sA,function(){return a.IFa()}),this.ug=new f.K.Hb(B.Aa.Qb(e),d),this.ug.N(f.K.ti.$w,function(g){return a.EDa(g)}),this.ug.N(f.K.ti.qX,function(){return a.QFa()}),this.ja.BC(d),this.zsa(d.accessibility),this.tT=!0,this.jda(this.ug.Ye.element).flexmonster=
|
|
2763
2763
|
b,this.ja.Ga.Xa(f.model.fc.gd.c6))}}h.prototype.zsa=function(d){f.v(d)||"object"!==typeof d||(f.v(d.keyboardMode)||this.ug.qha(!0===d.keyboardMode),f.v(d.highContrastTheme)||this.ug.cJa(d.highContrastTheme))};h.prototype.jda=function(d){return void 0===d.uielement?d:d.uielement};h.prototype.Mga=function(){var d=this;f.re(function(){for(;0<d.u_.length;)d.u_.shift().call(d)},1)};h.prototype.md=function(d,b){var a=this;b=void 0===b?10:b;f.re(function(){0==b?a.t_.push(d):1==b?a.v_.push(d):a.u_.push(d)},
|
|
2764
2764
|
1)};h.prototype.DFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.xE))};h.prototype.e3=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.nx))};h.prototype.$C=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.nn))};h.prototype.RFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.hJ))};h.prototype.HM=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.er))};h.prototype.o3=function(){for(this.ja&&this.ja.Ga&&this.ja.Ga.kf==f.model.fc.vo.INIT&&f.re(function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.m8))},
|
|
2765
2765
|
1);0<this.t_.length;)this.t_.shift().call(this)};h.prototype.eFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.pE))};h.prototype.oH=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.qE))};h.prototype.hFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.RI))};h.prototype.c3=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.oE))};h.prototype.lp=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.pI))};h.prototype.D2=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.oI))};
|
|
2766
2766
|
h.prototype.sfa=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.nI,d.data))};h.prototype.Iq=function(){for(;0<this.v_.length;)this.v_.shift().call(this)};h.prototype.fFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.x7))};h.prototype.Efa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.d8))};h.prototype.Dfa=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.c8,d.data))};h.prototype.H2=function(){};h.prototype.VFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.uA))};
|
|
2767
|
-
h.prototype.ZC=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.pk));f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.I8))};h.prototype.l3=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.Os,d.data))};h.prototype.n3=function(){};h.prototype.EDa=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.$w,d.data))};h.prototype.QFa=function(){var d=this;this.ic&&(this.ja.Ga.kf!==f.model.fc.vo.Lc?(this.ja.Ga.kf=f.model.fc.vo.Lc,f.re(function(){d.Mga();f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.
|
|
2767
|
+
h.prototype.ZC=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.pk));f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.I8))};h.prototype.l3=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.Os,d.data))};h.prototype.n3=function(){};h.prototype.EDa=function(d){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.$w,d.data))};h.prototype.QFa=function(){var d=this;this.ic&&(this.ja.Ga.kf!==f.model.fc.vo.Lc?(this.ja.Ga.kf=f.model.fc.vo.Lc,f.re(function(){d.Mga();f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.Th))},
|
|
2768
2768
|
1)):f.re(function(){d.Mga()},1))};h.prototype.AEa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.C6))};h.prototype.yEa=function(){f.re(function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.Yg))},1)};h.prototype.JFa=function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.g8))};h.prototype.IFa=function(){f.re(function(){f.model.Ra.P().Da(new f.model.Yc(f.model.Ra.sA))},1)};h.prototype.n0=function(){return this.ic?this.ja.n0():null};h.prototype.r0=function(d){return this.ic?this.ja.r0(d):null};
|
|
2769
2769
|
h.prototype.RQ=function(d){var b=this;this.ic?null!=d&&this.ja.RQ(d):this.md(function(){return b.RQ(d)})};h.prototype.cV=function(d){var b=this;this.ic?this.ja.cV(d):this.md(function(){return b.cV(d)})};h.prototype.bV=function(){var d=this;this.ic?this.ja.bV():this.md(function(){return d.bV()})};h.prototype.open=function(){this.ja.open()};h.prototype.load=function(d,b){this.ja.load(d,b)};h.prototype.Nr=function(d){d=void 0===d?"object":d;var b="object";d instanceof Object?d.hasOwnProperty("type")&&
|
|
2770
2770
|
(b=d.type,b=b.toLowerCase()):d&&(b=d.toLowerCase());d=this.ja.Nr(d instanceof Object?d:{});return f.v(d)||d.nb?null:"xmlstring"==b?D.aa.Dc(d.ho(),!0):d.Ma()};h.prototype.Ow=function(d){var b=this;if(this.ic){if("string"==typeof d)try{if(-1<d.indexOf("<config>")){var a=D.aa.create(d);d=f.model.cb.ReportValueObject.Vj(a)}else d=JSON.parse(d)}catch(c){f.Ua(f.model.A.j.M7,f.model.A.j.xa,f.qb.xa);return}this.ja.Ow({report:d})}else this.md(function(){return b.Ow(d)})};h.prototype.getData=function(d,b,a){var c=
|
|
@@ -2774,7 +2774,7 @@ function(){var d=this;this.ic?this.ja.lD():this.md(function(){return d.lD()})};h
|
|
|
2774
2774
|
this.md(function(){return d.CV()})};h.prototype.mN=function(d,b){var a=this;d=void 0===d?"column":d;b=void 0===b?!1:b;this.ic?this.ug.mN(d,b):this.md(function(){return a.mN(d,b)})};h.prototype.DV=function(d,b,a){var c=this;d=void 0===d?"column":d;b=void 0===b?"bottom":b;a=void 0===a?!1:a;this.ic?this.ug.DV(d,b,a):this.md(function(){return c.DV(d,b,a)})};h.prototype.dS=function(d){var b=this;d=void 0===d?!0:d;this.ic?this.ja.dS(d):this.md(function(){return b.dS(d)})};h.prototype.$v=function(d){var b=
|
|
2775
2775
|
this;this.ic?this.ug.$v(d):this.md(function(){return b.$v(d)})};h.prototype.sR=function(){var d=this;this.ic?this.ja.sR():this.md(function(){return d.sR()})};h.prototype.Pv=function(d){var b=this;this.ic?this.ug.Pv(d):this.md(function(){return b.Pv(d)})};h.prototype.print=function(d){var b=this;d=void 0===d?null:d;this.ic?this.ja.print(f.model.hs.k8.tb(d)):this.md(function(){return b.print(d)})};h.prototype.Sj=function(d,b,a){var c=this;b=void 0===b?null:b;a=void 0===a?null:a;if(this.ic){if(null!=
|
|
2776
2776
|
d){var e=null!=a?function(g){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return a.apply(null,l)}:null;this.ja.Sj(d,f.model.xc.H6.tb(b),e)}}else this.md(function(){return c.Sj(d,b,a)})};h.prototype.Wl=function(d){return this.ic?this.ja.Wl(d):null};h.prototype.rH=function(d){this.ic&&this.ug.zGa(d)};h.prototype.xl=function(d,b){var a=this;this.ic?this.ja.xl(d,b):this.md(function(){return a.xl(d,b)})};h.prototype.zt=function(d){var b=this;this.ic?this.ja.zt(d):this.md(function(){return b.zt(d)})};
|
|
2777
|
-
h.prototype.on=function(d,b){f.model.Ra.P().N(d,b)};h.prototype.ADa=function(d,b){null==b?f.model.Ra.P().Od(d):f.model.Ra.P().mb(d,b)};h.prototype.GG=function(){return this.ic?this.ja.GG():null};h.prototype.ZZ=function(d){var b=this;new Promise(function(a){b.tT?a(d()):b.ja.Ga.N(f.model.fc.gd.c6,function(){a(d())})})};h.prototype.KF=function(d){var b=this;return new Promise(function(a){b.ic?a(d()):b.ja.Ga.N(f.model.fc.gd.
|
|
2777
|
+
h.prototype.on=function(d,b){f.model.Ra.P().N(d,b)};h.prototype.ADa=function(d,b){null==b?f.model.Ra.P().Od(d):f.model.Ra.P().mb(d,b)};h.prototype.GG=function(){return this.ic?this.ja.GG():null};h.prototype.ZZ=function(d){var b=this;new Promise(function(a){b.tT?a(d()):b.ja.Ga.N(f.model.fc.gd.c6,function(){a(d())})})};h.prototype.KF=function(d){var b=this;return new Promise(function(a){b.ic?a(d()):b.ja.Ga.N(f.model.fc.gd.Th,function(){a(d())})})};h.prototype.gAa=function(){var d=this;return this.KF(function(){return d.ja.GG()})};
|
|
2778
2778
|
h.prototype.vG=function(){return this.ic?this.ja.vG():null};h.prototype.Uya=function(){var d=this;return this.KF(function(){return d.ja.vG()})};h.prototype.pC=function(){return this.ic?this.ja.pC():null};h.prototype.Tza=function(){var d=this;return this.KF(function(){return d.ja.pC()})};h.prototype.bd=function(){return this.ic?this.ja.bd():null};h.prototype.Gza=function(){var d=this;return this.KF(function(){return d.ja.bd()})};h.prototype.Kr=function(){return this.ic?this.ja.Kr():null};h.prototype.Gya=
|
|
2779
2779
|
function(){var d=this;return this.KF(function(){return d.ja.Kr()})};h.prototype.WL=function(){return this.ug.WL};h.prototype.VL=function(){return this.ug.VL};h.prototype.HV=function(d){var b=this;this.ST?this.ja.HV(d):this.md(function(){return b.HV(d)},1)};h.prototype.JV=function(d,b,a,c){var e=this;this.ic?this.ja.JV(d,b,a,c):this.md(function(){return e.JV(d,b,a,c)})};h.prototype.KV=function(d,b){var a=this;this.ST?this.ja.KV(d,b):this.md(function(){return a.KV(d,b)},1)};h.prototype.AD=function(d,
|
|
2780
2780
|
b,a){var c=this;a=void 0===a?null:a;this.ic?this.ja.AD(d,b):this.md(function(){return c.AD(d,b,a)})};h.prototype.sV=function(d){var b=this;this.ic?this.ja.sV(d):this.md(function(){return b.sV(d)})};h.prototype.NM=function(d,b){var a=this;this.ic?this.ug.NM(d,b):this.md(function(){return a.NM(d,b)})};h.prototype.N0=function(d){return this.ic?this.ja.N0(d):null};h.prototype.A0=function(){return this.ic?this.ja.A0():null};h.prototype.fw=function(){return this.ic?this.ja.fw():null};h.prototype.Cp=function(d){var b=
|
|
@@ -2785,7 +2785,7 @@ this.ja.oG():null};h.prototype.Fya=function(){var d=this;return this.KF(function
|
|
|
2785
2785
|
null};h.prototype.rz=function(d,b){var a=this;this.ic?this.ug.rz(d,b):this.md(function(){return a.rz(d,b)})};h.prototype.KG=function(){return this.ic?this.ja.KG():null};h.prototype.AV=function(d){var b=this;this.ic?this.ja.AV(d):this.md(function(){return b.AV(d)})};h.prototype.nD=function(){var d=this;this.ZZ(function(){return d.ug.nD()})};h.prototype.KU=function(){var d=this;this.ZZ(function(){return d.ug.KU()})};h.prototype.DK=function(){var d=this;this.ZZ(function(){return d.ug.DK()})};h.prototype.Vva=
|
|
2786
2786
|
function(d){f.K.X.W.ae.Wv=d;this.tT&&this.refresh()};h.prototype.Zk=function(d){f.K.wd.Ou.OB=d;this.tT&&this.refresh()};h.prototype.Wva=function(d){f.K.X.lI.TK=d};h.prototype.Uva=function(d){f.u.external.kc.Nz.SK=d};h.prototype.x0=function(d,b){this.ja.x0(d,b)};h.prototype.Mq=function(d){var b=this;this.ic?this.ug.Mq(d):this.md(function(){return b.Mq(d)})};h.prototype.ms=function(d){var b=this;this.ic?this.ug.ms(d):this.md(function(){return b.ms(d)})};h.prototype.eS=function(d,b,a){var c=this;this.ic?
|
|
2787
2787
|
this.ug.eS(d,b,a):this.md(function(){return c.eS(d,b,a)})};h.prototype.tR=function(d,b,a){var c=this;this.ic?this.ug.tR(d,b,a):this.md(function(){return c.tR(d,b,a)})};h.prototype.aS=function(d,b,a,c){var e=this;this.ic?this.ug.aS(d,b,a,c):this.md(function(){return e.aS(d,b,a,c)})};h.prototype.$R=function(d,b,a,c){var e=this;this.ic?this.ug.$R(d,b,a,c):this.md(function(){return e.$R(d,b,a,c)})};r.Object.defineProperties(h.prototype,{ic:{configurable:!0,enumerable:!0,get:function(){return this.ja&&
|
|
2788
|
-
this.ja.Ga&&this.ja.Ga.ic}},OT:{configurable:!0,enumerable:!0,get:function(){return this.ja&&this.ja.Ga&&this.ja.Ga.OT}},ST:{configurable:!0,enumerable:!0,get:function(){return this.ja&&this.ja.Ga&&this.ja.Ga.ST}}});h.Vq="2.9.
|
|
2788
|
+
this.ja.Ga&&this.ja.Ga.ic}},OT:{configurable:!0,enumerable:!0,get:function(){return this.ja&&this.ja.Ga&&this.ja.Ga.OT}},ST:{configurable:!0,enumerable:!0,get:function(){return this.ja&&this.ja.Ga&&this.ja.Ga.ST}}});h.Vq="2.9.37";h.fW="101699677545881";f.Mg=h;k.mX="print";k.sA="printcomplete";k.EW="export";k.Yg="exportcomplete";f.gg=k})(w||(w={}));
|
|
2789
2789
|
function PivotApi(f){w.v(window.flexmonster)||(window.flexmonster=null);var k={version:w.Mg.Vq},h=new w.Mg(f,k);k.alert=function(b){if(void 0!=b.message&&""!=b.message||void 0!=b.title&&""!=b.title){var a=void 0!=b.message?w.model.Nb.valid(b.message)?b.message:w.model.Nb.validate(b.message):"",c=void 0!=b.title?w.model.Nb.valid(b.title)?b.title:w.model.Nb.validate(b.title):"",e=b.type==w.qb.Nk||b.type==w.qb.im||b.type==w.qb.xa||b.type==w.qb.HO?b.type:w.qb.Nk,g=null,l=null;if(void 0!=b.buttons)for(var m=
|
|
2790
2790
|
0;m<b.buttons.length;m++){var n=b.buttons[m],p=n.label;p=w.model.Nb.valid(p)?p:w.model.Nb.validate(p);null==g&&(g=[]);g.push(p);n="function"==typeof n.handler?n.handler:null;null==l&&(l=[]);l.push(n)}w.Ua(a,c,e,g,l,void 0==b.blocking||1!=b.blocking&&0!=b.blocking?!1:b.blocking)}};k.openCalculatedValueEditor=function(b,a){return h.NM(b,a)};k.getAllConditions=function(){return h.n0()};k.getCondition=function(b){return h.r0(b)};k.addCondition=function(b){return h.RQ(b)};k.removeCondition=function(b){return h.cV(b)};
|
|
2791
2791
|
k.removeAllConditions=function(){return h.bV()};k.open=function(){return h.open()};k.load=function(b,a){return h.load(b,a)};k.getReport=function(b){return h.Nr(void 0===b?"object":b)};k.setReport=function(b){return h.Ow(b)};k.getData=function(b,a,c){return h.getData(b,a,c)};k.save=function(b,a,c,e,g){b=void 0===b?{filename:"report.json"}:b;return h.save(b,void 0===a?null:a,void 0===c?null:c,void 0===e?null:e,void 0===g?!1:g)};k.updateData=function(b,a){return h.Kd(b,a)};k.connectTo=function(b){return h.MF(b)};
|
|
@@ -3434,13 +3434,13 @@ FlexmonsterToolbar.ColorPicker.prototype.getWhere=function(a,b){var c=0,d=0;if(a
|
|
|
3434
3434
|
|
|
3435
3435
|
if("object"===typeof module&&module.exports){module.exports=Flexmonster;}
|
|
3436
3436
|
|
|
3437
|
-
window["flexmonsterpivottablekey"]="
|
|
3437
|
+
window["flexmonsterpivottablekey"]="Z75K-XA676S-4O2X2A-1B0J0Z";
|
|
3438
3438
|
// SIG // Begin signature block
|
|
3439
3439
|
// SIG // MIIhaAYJKoZIhvcNAQcCoIIhWTCCIVUCAQExDzANBglg
|
|
3440
3440
|
// SIG // hkgBZQMEAgEFADB3BgorBgEEAYI3AgEEoGkwZzAyBgor
|
|
3441
3441
|
// SIG // BgEEAYI3AgEeMCQCAQEEEBDgyQbOONQRoqMAEEvTUJAC
|
|
3442
3442
|
// SIG // AQACAQACAQACAQACAQAwMTANBglghkgBZQMEAgEFAAQg
|
|
3443
|
-
// SIG //
|
|
3443
|
+
// SIG // /bGFG4UZ7PyMC2skGe+xoCh5oGB+mD5/Av2Cf1To5Tyg
|
|
3444
3444
|
// SIG // ggetMIIDgjCCAwmgAwIBAgIQbt1PJecxfTmBVzE0z8Hc
|
|
3445
3445
|
// SIG // oDAKBggqhkjOPQQDAzB/MQswCQYDVQQGEwJVUzEOMAwG
|
|
3446
3446
|
// SIG // A1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0b24xGDAW
|
|
@@ -3508,16 +3508,16 @@ window["flexmonsterpivottablekey"]="Z7CR-XA882S-270D08-5N0P1I";
|
|
|
3508
3508
|
// SIG // a3Kg1pVTo5cnhxh3PjANBglghkgBZQMEAgEFAKB8MBAG
|
|
3509
3509
|
// SIG // CisGAQQBgjcCAQwxAjAAMBkGCSqGSIb3DQEJAzEMBgor
|
|
3510
3510
|
// SIG // BgEEAYI3AgEEMBwGCisGAQQBgjcCAQsxDjAMBgorBgEE
|
|
3511
|
-
// SIG //
|
|
3512
|
-
// SIG //
|
|
3513
|
-
// SIG //
|
|
3514
|
-
// SIG //
|
|
3515
|
-
// SIG //
|
|
3511
|
+
// SIG // AYI3AgEVMC8GCSqGSIb3DQEJBDEiBCD11nuJwy4ly6Xa
|
|
3512
|
+
// SIG // 9mICGnmVwe3F8RuSL6ZSNGRNffL7dTALBgcqhkjOPQIB
|
|
3513
|
+
// SIG // BQAERzBFAiEA+pSxh5MT7oH68Dep2ynn9o9acNaYt10k
|
|
3514
|
+
// SIG // O8zP2UcthgwCIDNdwwkW9c+inqQ3FzLybt1KLG8sRWxj
|
|
3515
|
+
// SIG // dvR1Mzqwua/9oYIXkzCCF48GCisGAQQBgjcDAwExghd/
|
|
3516
3516
|
// SIG // MIIXewYJKoZIhvcNAQcCoIIXbDCCF2gCAQMxDTALBglg
|
|
3517
3517
|
// SIG // hkgBZQMEAgEwdwYLKoZIhvcNAQkQAQSgaARmMGQCAQEG
|
|
3518
|
-
// SIG //
|
|
3519
|
-
// SIG //
|
|
3520
|
-
// SIG //
|
|
3518
|
+
// SIG // DCsGAQQBgqkwAQMGATAxMA0GCWCGSAFlAwQCAQUABCD4
|
|
3519
|
+
// SIG // VzE2hjDWNF1u3ELy5z9/pLIxAGlEua9sD2t15e6IZgII
|
|
3520
|
+
// SIG // cSDhmbA/5eoYDzIwMjIxMDMxMTAwNDE1WjADAgEBoIIT
|
|
3521
3521
|
// SIG // PDCCBdgwggTAoAMCAQICEQDkJwSV9oyR1tDse0lOpN8c
|
|
3522
3522
|
// SIG // MA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlBMMSIw
|
|
3523
3523
|
// SIG // IAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEu
|
|
@@ -3673,27 +3673,27 @@ window["flexmonsterpivottablekey"]="Z7CR-XA882S-270D08-5N0P1I";
|
|
|
3673
3673
|
// SIG // DCZTU0wuY29tIFRpbWVzdGFtcGluZyBJc3N1aW5nIFJT
|
|
3674
3674
|
// SIG // QSBDQSBSMQIQXxy8jFw+X28k/TpP5IjWKDALBglghkgB
|
|
3675
3675
|
// SIG // ZQMEAgGgggFkMBoGCSqGSIb3DQEJAzENBgsqhkiG9w0B
|
|
3676
|
-
// SIG //
|
|
3676
|
+
// SIG // CRABBDAcBgkqhkiG9w0BCQUxDxcNMjIxMDMxMTAwNDE1
|
|
3677
3677
|
// SIG // WjArBgkqhkiG9w0BCTQxHjAcMAsGCWCGSAFlAwQCAaEN
|
|
3678
|
-
// SIG //
|
|
3679
|
-
// SIG //
|
|
3678
|
+
// SIG // BgkqhkiG9w0BAQsFADAvBgkqhkiG9w0BCQQxIgQgr8MI
|
|
3679
|
+
// SIG // ceVgAK1/NSHIjEJGa5+9Q6vqZc3xBglIfoof37cwgckG
|
|
3680
3680
|
// SIG // CyqGSIb3DQEJEAIvMYG5MIG2MIGzMIGwBCChzTkcEQ86
|
|
3681
3681
|
// SIG // 6hiVLWyQQdvmboGlq1yRcW21jitn6eV/mDCBizB3pHUw
|
|
3682
3682
|
// SIG // czELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVRleGFzMRAw
|
|
3683
3683
|
// SIG // DgYDVQQHDAdIb3VzdG9uMREwDwYDVQQKDAhTU0wgQ29y
|
|
3684
3684
|
// SIG // cDEvMC0GA1UEAwwmU1NMLmNvbSBUaW1lc3RhbXBpbmcg
|
|
3685
3685
|
// SIG // SXNzdWluZyBSU0EgQ0EgUjECEF8cvIxcPl9vJP06T+SI
|
|
3686
|
-
// SIG //
|
|
3687
|
-
// SIG //
|
|
3688
|
-
// SIG //
|
|
3689
|
-
// SIG //
|
|
3690
|
-
// SIG //
|
|
3691
|
-
// SIG //
|
|
3692
|
-
// SIG //
|
|
3693
|
-
// SIG //
|
|
3694
|
-
// SIG //
|
|
3695
|
-
// SIG //
|
|
3696
|
-
// SIG //
|
|
3697
|
-
// SIG //
|
|
3698
|
-
// SIG //
|
|
3686
|
+
// SIG // 1igwDQYJKoZIhvcNAQELBQAEggGAAJEmMqK+gAtbXiB0
|
|
3687
|
+
// SIG // Bfuz4sLBrDVFBd6vW53dAUQCUSpYEAQXmSa/LZ+bAvRW
|
|
3688
|
+
// SIG // geJKlq2d33R5RNuZ1h9vCNfN5TvTDFFgSWM+TLwirIiu
|
|
3689
|
+
// SIG // ih0xdftUz5kcmqMLndcS0tDe05nLjHhPV/ierzY0HzT/
|
|
3690
|
+
// SIG // QEQDZHj9zKQPr6Ht2cRqN3OWwYFgU1z8Ld78MLaQCl1q
|
|
3691
|
+
// SIG // nMwH8luFanSWV750MTvIvMDjztBIt+KFniVgE+NrLuyG
|
|
3692
|
+
// SIG // BkGch4oD6NhUozVTiCAgITfwyp9k9avB3VwSVwz48BvJ
|
|
3693
|
+
// SIG // nr5QpF8y17zB2NvTJOkNymGWDrM6gieOncvqic/cI0w4
|
|
3694
|
+
// SIG // 560cn6jQ/S13uTglyEwlwsbyIK5niFw67WSy4pNkxmOj
|
|
3695
|
+
// SIG // giCwATysdlGxd0/bG7E1d39hwTJQig50xcZewjq1P43r
|
|
3696
|
+
// SIG // iBqoqchljLQDlk/clcpNzkwrfSUsMlR4S3Yf111240r0
|
|
3697
|
+
// SIG // MAV+H43vSWFaNosOaKgKTQ0KJmJ4WNfShB0AUTNYVDiA
|
|
3698
|
+
// SIG // IWt4hPSF49G4
|
|
3699
3699
|
// SIG // End signature block
|