devexpress-aspnetcore-spreadsheet 24.1.13 → 24.1.14

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress AspNetCore Spreadsheet (dx-localization-builder.js)
3
- * Version: 24.1.13
3
+ * Version: 24.1.14
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress AspNetCore Spreadsheet (dx-aspnetcore-spreadsheet.js)
3
- * Version: 24.1.13
3
+ * Version: 24.1.14
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -7429,7 +7429,7 @@ function _aspxRunStartupScriptsCore(container) {
7429
7429
  if(!isScriptExecuted(script)) {
7430
7430
  _aspxEnsureStartupScriptIsUnique(script.id); //T454370
7431
7431
  code = ASPx.GetScriptCode(script);
7432
- eval(code);
7432
+ window.eval(code); //T1304947
7433
7433
  markScriptAsExecuted(script);
7434
7434
  }
7435
7435
  }
@@ -23623,16 +23623,16 @@ var ASPxClientSpreadsheet = ASPx.CreateClass(ASPxClientControl, {
23623
23623
  printFrameElement.document.location = documentUrl;
23624
23624
  else {
23625
23625
  var documentWindow = window.open("", target);
23626
- if(documentWindow.document) {
23627
- var documentHtml = "<html><head>";
23628
- documentHtml += "<title>Document print preview</title>";
23629
- documentHtml += "</head ><body height='100%' width='100%'>";
23630
- documentHtml += "<iframe src='" + documentUrl + "' height='100%' width='100%'></iframe>";
23631
- documentHtml += "</body ></html >";
23632
-
23626
+ if(documentWindow.document) {
23633
23627
  documentWindow.document.open();
23634
- documentWindow.document.write(documentHtml);
23628
+ documentWindow.document.write("<html><head><title>Document print preview</title></head><body></body></html>");
23635
23629
  documentWindow.document.close();
23630
+
23631
+ var iframe = documentWindow.document.createElement("iframe");
23632
+ iframe.setAttribute("height", "100%");
23633
+ iframe.setAttribute("width", "100%");
23634
+ iframe.src = documentUrl;
23635
+ documentWindow.document.body.appendChild(iframe);
23636
23636
  }
23637
23637
  }
23638
23638
  },
@@ -43895,7 +43895,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
43895
43895
  this.selectEditableDocumentContent();
43896
43896
  }.aspxBind(this));
43897
43897
 
43898
- ASPx.Evt.AttachEventToElement(this.getEditableDocument(), "paste", function(evt) {
43898
+ ASPx.Evt.AttachEventToElement(this.getEditableDocument(), "paste", function(evt) {
43899
43899
  if(!this.spreadsheetControl.getDocumentSettings().isCommandEnabled(ASPxClientSpreadsheet.ServerCommands.internalCommands.Paste.id) || this.isEditingInProgress()) {
43900
43900
  ASPx.Evt.PreventEvent(evt);
43901
43901
  if(this.isEditingInProgress())
@@ -44515,7 +44515,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
44515
44515
  hideTouchEditingFloatingActionPanel: function() {
44516
44516
  this.getTouchEditingHelper().removeFloatingActionPanel();
44517
44517
  },
44518
-
44518
+
44519
44519
  showTargetInput: function() {
44520
44520
  },
44521
44521
  hideTargetInput: function() {
@@ -44702,7 +44702,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
44702
44702
  this.renderCopiedRangeArea(commandId);
44703
44703
 
44704
44704
  var args = this.spreadsheetControl.getClipboardHelper().CreateCopyCutServerCommandArgs();
44705
-
44705
+
44706
44706
  if(commandId)
44707
44707
  ASPxClientSpreadsheet.ServerCommands.CopySelection(this.spreadsheetControl, args);
44708
44708
  else
@@ -44888,13 +44888,13 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
44888
44888
  html = html.replace(/<BR><BR>$/i, "<BR>");
44889
44889
  }
44890
44890
  else if(/<BR>$/i.test(html)) {
44891
- // Chrome optimization - remove textNode or BR at end of string
44891
+ // Chrome optimization - remove textNode or BR at end of string
44892
44892
  // if it's empty or before BR none empty textNode
44893
44893
  html = html.replace(/<BR>$/i, "");
44894
44894
  }
44895
44895
 
44896
44896
  html = html.replace(/<BR\/?>/ig, '\n');
44897
- html = html.replace(/&nbsp;/g, " ").replace(/&amp;/g, "&").replace(/&gt;/g, ">").replace(/&lt;/g, "<");
44897
+ html = html.replace(/&nbsp;/g, " ").replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&");
44898
44898
 
44899
44899
  return html;
44900
44900
  };
@@ -44915,8 +44915,8 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
44915
44915
  }
44916
44916
 
44917
44917
  var EditorTextParser = {
44918
- lettersDigitsDotsPattern: "[^~!@#\$%\^&\*\(\)\\-\+=\{\[\\]\}\|:;\"',/\?<>\\\\ \r\n]+",
44919
- digitsDotsAtTheBeginningPattern: "^[0-9\.]+",
44918
+ lettersDigitsDotsPattern: "[^~!@#$%^&*()\\-+={[\\]}|:;\"',/?<>\\\\ \r\n]+",
44919
+ digitsDotsAtTheBeginningPattern: "^[0-9\\.]+",
44920
44920
  functionNamePattern: "[a-z0-9\\.]+\\((?:[a-z]+\\d+(?:\\:[a-z]+\\d+)?)?$",
44921
44921
  rangePattern: "(?:[a-z]+\\d+(?:\\:[a-z]+\\d+)?)?",
44922
44922
  expressionPattern: "[\\+\\-\\*\\/\\^]+(?:[a-z]+\\d+(?:\\:[a-z]+\\d+)?)?$",
@@ -44966,7 +44966,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
44966
44966
  var rangeMatch = new RegExp(EditorTextParser.getRangePattern(), "gi").exec(textBeforeCaret);
44967
44967
  if(ASPx.IsExists(rangeMatch))
44968
44968
  return textBeforeCaret === rangeMatch[0] && textAfterCaret === "";
44969
-
44969
+
44970
44970
  return false;
44971
44971
  },
44972
44972
  getCharByIndex: function(string, index) {
@@ -47257,7 +47257,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
47257
47257
  textPosition: undefined
47258
47258
  },
47259
47259
  termPositions = {},
47260
- re = /(('[^']+'|(?:[^\u0000-\u007F]|\w)*)[\!|\$|A-Z|\d|\:|\\|\_]+)/gi,
47260
+ re = /(('[^']+?'!|[\w\u0080-\uFFFF]+?!)?[$\w:\\]+)/gi,
47261
47261
  term;
47262
47262
 
47263
47263
  while(term = re.exec(formula)) {
@@ -47910,7 +47910,7 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
47910
47910
  onBeforePasteEvent: function() {
47911
47911
  this.clipboardBuffer = [];
47912
47912
 
47913
- //Simplify format
47913
+ //Simplify format
47914
47914
  var innerText = this.simplifyInnerHTML(this.getInputController().getEditableDocumentContent());
47915
47915
  this.getInputController().replaceEditableDocumentContent(innerText);
47916
47916
  // Save current position of selection
@@ -47936,14 +47936,14 @@ ASPx.SpreadsheetKeyboardManager = SpreadsheetKeyboardManager;
47936
47936
 
47937
47937
  // remove special Word tags
47938
47938
  html = html.replace(/<\w+:imagedata/gi, '<img');
47939
- html = html.replace(/<\/?\w+:[^>]*>/gi, '');
47939
+ html = html.replace(/<\/?\w+:([^>]*>|$)/gi, '');
47940
47940
  html = html.replace(/<STYLE[^>]*>[\s\S]*?<\/STYLE[^>]*>/gi, '');
47941
47941
  html = html.replace(/<(?:META|LINK)[^>]*>\s*/gi, '');
47942
47942
  html = html.replace(/<\\?\?xml[^>]*>/gi, '');
47943
47943
  html = html.replace(/<o:[pP][^>]*>\s*<\/o:[pP]>/gi, '');
47944
47944
  html = html.replace(/<o:[pP][^>]*>.*?<\/o:[pP]>/gi, '&nbsp;');
47945
47945
  html = html.replace(/<st1:.*?>/gi, '');
47946
- html = html.replace(/<\!--[\s\S]*?-->/g, '');
47946
+ html = html.replace(/<!--[\s\S]*?(-->|$)/g, '');
47947
47947
 
47948
47948
  // remove empty attributes
47949
47949
  html = html.replace(/\s*style="\s*"/gi, '');
@@ -60637,8 +60637,9 @@ Object.defineProperty(ASPxClientSpreadsheet, 'Functions', {
60637
60637
  this.form.getEditor('filterValues').option('dataSource', dataSource);
60638
60638
  },
60639
60639
  decodeProperties: function(items) {
60640
+ var copiedItems = Array.from(items);
60640
60641
  for(var i = 0; i < items.length; i++) {
60641
- items[i].Text = ASPx.Str.DecodeHtmlViaTextArea(items[i].Text);
60642
+ items[i].Text = ASPx.Str.DecodeHtmlViaTextArea(copiedItems[i].Text);
60642
60643
  if(items[i].Children)
60643
60644
  this.decodeProperties(items[i].Children);
60644
60645
  }
@@ -62075,7 +62076,7 @@ Object.defineProperty(ASPxClientSpreadsheet, 'Functions', {
62075
62076
  }
62076
62077
 
62077
62078
  function parseSvgSymbolsSet(svgSpriteContent) {
62078
- var regex = /<symbol[\w\s]+id="(\w+)"[^>]*>(.|\s)+?<\/symbol>/gi;
62079
+ var regex = /<symbol\b[^>]*\bid="(\w+)"[^>]*>[\s\S]*?<\/symbol>/gi;
62079
62080
  var match = regex.exec(svgSpriteContent);
62080
62081
  var svgElements = [];
62081
62082
  while(match !== null) {
@@ -62336,12 +62337,12 @@ Object.defineProperty(ASPxClientSpreadsheet, 'Functions', {
62336
62337
  })();
62337
62338
 
62338
62339
  /*! For license information please see dx.ribbon.min.js.LICENSE.txt */
62339
- var DevExpress;!function(){"use strict";var t={279:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Browser=void 0;var n=function(){function t(){}return t.IdentUserAgent=function(e,n){void 0===n&&(n=!1);var r=["Mozilla","IE","Firefox","Netscape","Safari","Chrome","Opera","Opera10","Edge"],o="IE",i="Win",s={Safari:2,Chrome:.1,Mozilla:1.9,Netscape:8,Firefox:2,Opera:9,IE:6,Edge:12};if(e&&0!==e.length){e=e.toLowerCase(),t.indentPlatformMajorVersion(e);try{for(var a={Windows:"Win",Macintosh:"Mac","Mac OS":"Mac",Mac_PowerPC:"Mac","cpu os":"MacMobile","cpu iphone os":"MacMobile",Android:"Android","!Windows Phone":"WinPhone","!WPDesktop":"WinPhone","!ZuneWP":"WinPhone"},l="(?:/|\\s*)?",u="(\\d+)(?:\\.((?:\\d+?[1-9])|\\d)0*?)?",c="(?:"+u+")?",h={Safari:"applewebkit(?:.*?(?:version/"+u+"[\\.\\w\\d]*?(?:\\s+mobile/\\S*)?\\s+safari))?",Chrome:"(?:chrome|crios)(?!frame)"+l+c,Mozilla:"mozilla(?:.*rv:"+c+".*Gecko)?",Netscape:"(?:netscape|navigator)\\d*/?\\s*"+c,Firefox:"firefox"+l+c,Opera:"(?:opera|\\sopr)"+l+c,Opera10:"opera.*\\s*version"+l+c,IE:"msie\\s*"+c,Edge:"edge"+l+c},d=null,f=-1,p=0;p<r.length;p++){var m=r[p],g=new RegExp(h[m],"i").exec(e);if(g&&g.index>=0){if("IE"===d&&f>=11&&"Safari"===m)continue;"Opera10"===(d=m)&&(d="Opera");var v="trident"+l+c;f=t.GetBrowserVersion(e,g,v,t.getIECompatibleVersionString()),"Mozilla"===d&&f>=11&&(d="IE")}}d||(d=o);var y=-1!==f;y||(f=s[d]);var x=null,b=Number.MAX_VALUE;for(var I in a)if(Object.prototype.hasOwnProperty.call(a,I)){var w="!"===I.substr(0,1),C=e.indexOf((w?I.substr(1):I).toLowerCase());C>=0&&(C<b||w)&&(b=w?0:C,x=a[I])}var O=e.toUpperCase().match("SM-[A-Z]"),T=O&&O.length>0;"WinPhone"===x&&f<9&&(f=Math.floor(t.getVersionFromTrident(e,"trident"+l+c))),!n&&"IE"===d&&f>7&&document.documentMode<f&&(f=document.documentMode),"WinPhone"===x&&(f=Math.max(9,f)),x||(x=i),x!==a["cpu os"]||y||(f=4),t.fillUserAgentInfo(r,d,f,x,T)}catch(e){t.fillUserAgentInfo(r,o,s[o],i)}}else t.fillUserAgentInfo(r,o,s[o],i)},t.GetBrowserVersion=function(e,n,r,o){var i=t.getVersionFromMatches(n);if(o){var s=t.getVersionFromTrident(e,r);if("edge"===o||parseInt(o)===s)return s}return i},t.getIECompatibleVersionString=function(){if(document.compatible)for(var t=0;t<document.compatible.length;t++)if("IE"===document.compatible[t].userAgent&&document.compatible[t].version)return document.compatible[t].version.toLowerCase();return""},t.isTouchEnabled=function(){return t.hasTouchStart()||t.hasMaxTouchPoints()||t.hasMsMaxTouchPoints()},t.hasTouchStart=function(){return"ontouchstart"in window},t.hasMaxTouchPoints=function(){return navigator.maxTouchPoints>0},t.hasMsMaxTouchPoints=function(){return navigator.msMaxTouchPoints>0},t.hasNavigator=function(){return"undefined"!=typeof navigator},t.fillUserAgentInfo=function(e,n,r,o,i){void 0===i&&(i=!1);for(var s=0;s<e.length;s++){var a=e[s];t[a]=a===n}t.Version=Math.floor(10*r)/10,t.MajorVersion=Math.floor(t.Version),t.WindowsPlatform="Win"===o||"WinPhone"===o,t.MacOSMobilePlatform="MacMobile"===o||"Mac"===o&&t.isTouchEnabled(),t.MacOSPlatform="Mac"===o&&!t.MacOSMobilePlatform,t.AndroidMobilePlatform="Android"===o,t.WindowsPhonePlatform="WinPhone"===o,t.WebKitFamily=t.Safari||t.Chrome||t.Opera&&t.MajorVersion>=15,t.NetscapeFamily=t.Netscape||t.Mozilla||t.Firefox,t.WebKitTouchUI=t.MacOSMobilePlatform||t.AndroidMobilePlatform;var l=t.IE&&t.MajorVersion>9&&t.WindowsPlatform&&t.UserAgent.toLowerCase().indexOf("touch")>=0;if(t.MSTouchUI=l||t.Edge&&!!window.navigator.maxTouchPoints,t.TouchUI=t.WebKitTouchUI||t.MSTouchUI,t.MobileUI=t.WebKitTouchUI||t.WindowsPhonePlatform,t.AndroidDefaultBrowser=t.AndroidMobilePlatform&&!t.Chrome,t.AndroidChromeBrowser=t.AndroidMobilePlatform&&t.Chrome,i&&(t.SamsungAndroidDevice=i),t.MSTouchUI){var u=t.UserAgent.toLowerCase().indexOf("arm;")>-1;t.VirtualKeyboardSupported=u||t.WindowsPhonePlatform}else t.VirtualKeyboardSupported=t.WebKitTouchUI;t.fillDocumentElementBrowserTypeClassNames(e)},t.indentPlatformMajorVersion=function(e){var n=/(?:(?:windows nt|macintosh|mac os|cpu os|cpu iphone os|android|windows phone|linux) )(\d+)(?:[-0-9_.])*/.exec(e);n&&(t.PlaformMajorVersion=n[1])},t.getVersionFromMatches=function(t){var e=-1,n="";return t&&(t[1]&&(n+=t[1],t[2]&&(n+="."+t[2])),""!==n&&(e=parseFloat(n),isNaN(e)&&(e=-1))),e},t.getVersionFromTrident=function(e,n){var r=new RegExp(n,"i").exec(e);return t.getVersionFromMatches(r)+4},t.fillDocumentElementBrowserTypeClassNames=function(e){for(var n="",r=e.concat(["WindowsPlatform","MacOSPlatform","MacOSMobilePlatform","AndroidMobilePlatform","WindowsPhonePlatform","WebKitFamily","WebKitTouchUI","MSTouchUI","TouchUI","AndroidDefaultBrowser"]),o=0;o<r.length;o++){var i=r[o];t[i]&&(n+="dx"+i+" ")}n+="dxBrowserVersion-"+t.MajorVersion,"undefined"!=typeof document&&document&&document.documentElement&&(""!==document.documentElement.className&&(n=" "+n),document.documentElement.className+=n,t.Info=n)},t.getUserAgent=function(){return t.hasNavigator()&&navigator.userAgent?navigator.userAgent.toLowerCase():""},t.UserAgent=t.getUserAgent(),t._foo=t.IdentUserAgent(t.UserAgent),t}();e.Browser=n},820:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Flag=void 0;var n=function(){function t(t){void 0===t&&(t=0),this.value=t}return t.prototype.get=function(t){return(this.value&t)===t},t.prototype.set=function(t,e){return(this.value&t)===t!==e&&(e?this.value|=t:this.value^=t),this},t.prototype.add=function(t){this.value|=t},t.prototype.anyOf=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t;n<r.length;n++){var o=r[n];if((this.value&o)===o)return!0}return!1},t.prototype.getValue=function(){return this.value},t.prototype.clone=function(){return new t(this.value)},t}();e.Flag=n},799:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtendedMinMax=e.ExtendedMax=e.ExtendedMin=e.MinMaxNumber=e.MinMax=void 0;var r=n(20),o=function(t,e){this.minElement=t,this.maxElement=e};e.MinMax=o;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.maxElement-this.minElement},enumerable:!1,configurable:!0}),e}(o);e.MinMaxNumber=i;var s=function(t,e){this.minElement=t,this.minValue=e};e.ExtendedMin=s;var a=function(t,e){this.maxElement=t,this.maxValue=e};e.ExtendedMax=a;var l=function(t){function e(e,n,r,o){var i=t.call(this,e,r)||this;return i.minValue=n,i.maxValue=o,i}return r.__extends(e,t),e}(o);e.ExtendedMinMax=l},900:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Point=void 0;var n=function(){function t(t,e){this.x=t,this.y=e}return t.zero=function(){return new t(0,0)},t.fromNumber=function(e){return new t(e,e)},t.prototype.isZero=function(){return 0===this.x&&0===this.y},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y},t.prototype.offset=function(t,e){return this.x+=t,this.y+=e,this},t.prototype.offsetByPoint=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.multiply=function(t,e){return this.x*=t,this.y*=e,this},t.prototype.negative=function(){return this.x*=-1,this.y*=-1,this},t.prototype.applyConverter=function(t){return this.x=t(this.x),this.y=t(this.y),this},t.plus=function(e,n){return new t(e.x+n.x,e.y+n.y)},t.minus=function(e,n){return new t(e.x-n.x,e.y-n.y)},t.xComparer=function(t,e){return t.x-e.x},t.yComparer=function(t,e){return t.y-e.y},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}();e.Point=n},11:function(t,e,n){e.Pu=e.Ae=void 0;var r,o=n(820),i=n(104),s=n(860),a=n(900),l=n(353),u=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"center",{get:function(){return t.center(this)},enumerable:!1,configurable:!0}),t.prototype.createRectangle=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.createSize=function(){return new l.Size(this.width,this.height)},t.prototype.createPosition=function(){return new a.Point(this.x,this.y)},t.prototype.createVerticalInterval=function(){return new s.FixedInterval(this.y,this.height)},t.prototype.createHorizontalInterval=function(){return new s.FixedInterval(this.x,this.width)},t.fromGeometry=function(e,n){return new t(e.x,e.y,n.width,n.height)},t.fromPoints=function(e,n){return new t(Math.min(e.x,n.x),Math.min(e.y,n.y),Math.abs(e.x-n.x),Math.abs(e.y-n.y))},t.fromPositions=function(e,n,r,o){return new t(Math.min(e,r),Math.min(n,o),Math.abs(r-e),Math.abs(o-n))},t.fromCenter=function(e,n){return new t(e.x-n,e.y-n,2*n,2*n)},t.prototype.isCollapsed=function(){return 0===this.width||0===this.height},t.prototype.isEmpty=function(){return 0===this.x&&0===this.y&&0===this.width&&0===this.height},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.setPosition=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.setSize=function(t){return this.width=t.width,this.height=t.height,this},t.prototype.setGeomerty=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.prototype.moveRectangle=function(t,e){return this.x+=t,this.y+=e,this},t.prototype.moveRectangleByPoint=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.resize=function(t,e){return this.width+=t,this.height+=e,this},t.prototype.nonNegativeSize=function(){return this.width<0&&(this.width=0),this.height<0&&(this.height=0),this},t.prototype.multiply=function(t,e){return this.x*=t,this.y*=e,this.width*=t,this.height*=e,this},t.prototype.equals=function(e){return t.equals(this,e)},t.prototype.clone=function(){var e=new t(0,0,0,0);return e.copyFrom(this),e},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},t.prototype.containsPoint=function(e){return t.containsPoint(this,e)},t.prototype.containsRectangle=function(t){return this.x<=t.x&&this.right>=t.right&&this.y<=t.y&&this.bottom>=t.bottom},t.prototype.inflate=function(t,e){return void 0===e&&(e=t),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this},t.prototype.applyOffsetsInside=function(t){return this.x+=t.left,this.y+=t.top,this.width-=t.left+t.right,this.height-=t.top+t.bottom,this},t.prototype.applyNormalizedOffsetsInside=function(t){var e=Math.max(0,t.left),n=e+Math.max(0,t.right);0!==n&&(n<=this.width?(this.x+=e,this.width-=n):(this.x+=this.width*(e/n),this.width=0));var r=Math.max(0,t.top),o=r+Math.max(0,t.bottom);return 0!==o&&(o<=this.height?(this.y+=r,this.height-=o):(this.y+=this.height*(r/o),this.height=0)),this},t.prototype.applyOffsetsOutside=function(t){return this.x-=t.left,this.y-=t.top,this.width+=t.left+t.right,this.height+=t.top+t.bottom,this},t.prototype.applyConverter=function(t){return this.x=t(this.x),this.y=t(this.y),this.width=t(this.width),this.height=t(this.height),this},t.getHorizIntersection=function(t,e){return i.IntervalAlgorithms.getIntersection(new s.FixedInterval(t.x,t.width),new s.FixedInterval(e.x,e.width))},t.getVertIntersection=function(t,e){return i.IntervalAlgorithms.getIntersection(new s.FixedInterval(t.y,t.height),new s.FixedInterval(e.y,e.height))},t.getIntersection=function(e,n){var r=i.IntervalAlgorithms.getIntersection(new s.FixedInterval(e.x,e.width),new s.FixedInterval(n.x,n.width));if(!r)return null;var o=i.IntervalAlgorithms.getIntersection(new s.FixedInterval(e.y,e.height),new s.FixedInterval(n.y,n.height));return o?new t(r.start,o.start,r.length,o.length):null},t.getHorNonCollapsedIntersection=function(e,n){var r=t.getHorizIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.getVertNonCollapsedIntersection=function(e,n){var r=t.getVertIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.getNonCollapsedIntersection=function(e,n){var r=t.getIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.areIntersected=function(t,e){return!(t.x>e.x+e.width||e.x>t.x+t.width||t.y>e.y+e.height||e.y>t.y+t.height)},t.union=function(e,n){var r=Math.max(e.x+e.width,n.x+n.width),o=Math.max(e.y+e.height,n.y+n.height),i=Math.min(e.x,n.x),s=Math.min(e.y,n.y);return new t(i,s,r-i,o-s)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},t.center=function(t){return new a.Point(t.x+t.width/2,t.y+t.height/2)},t.containsPoint=function(t,e){var n=t.x+t.width,r=t.y+t.height;return e.y>=t.y&&r>=e.y&&e.x>=t.x&&n>=e.x},t}();e.Ae=u,function(t){t[t.None=0]="None",t[t.Top=1]="Top",t[t.Bottom=2]="Bottom",t[t.Left=4]="Left",t[t.Right=8]="Right"}(r=e.Pu||(e.Pu={})),function(){function t(t,e){this.initRectangle=t,this.initPoint=e,this.deviation=new o.Flag(r.None)}t.prototype.calcDeviation=function(){return this.initPoint.x<this.initRectangle.x?this.deviation.set(r.Left,!0):this.initPoint.x>this.initRectangle.right&&this.deviation.set(r.Right,!0),this.initPoint.y<this.initRectangle.y?this.deviation.set(r.Top,!0):this.initPoint.y>this.initRectangle.bottom&&this.deviation.set(r.Bottom,!0),this},t.prototype.calcAdditionalParams=function(){return this.insidePoint=this.initPoint.clone(),this.offsetToInside=new a.Point(0,0),this.deviation.get(r.Left)?(this.insidePoint.x=this.initRectangle.x,this.offsetToInside.x=this.insidePoint.x-this.initPoint.x):this.deviation.get(r.Right)&&(this.insidePoint.x=this.initRectangle.right,this.offsetToInside.x=this.initPoint.x-this.insidePoint.x),this.deviation.get(r.Top)?(this.insidePoint.y=this.initRectangle.y,this.offsetToInside.y=this.insidePoint.y-this.initPoint.y):this.deviation.get(r.Bottom)&&(this.insidePoint.y=this.initRectangle.bottom,this.offsetToInside.y=this.initPoint.y-this.insidePoint.y),this}}()},353:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Size=void 0;var n=function(){function t(t,e){this.width=t,this.height=e}return t.empty=function(){return new t(0,0)},t.fromNumber=function(e){return new t(e,e)},t.initByCommonAction=function(e){var n=function(t){return t.width},r=function(t){return t.height};return new t(e(n,r),e(r,n))},t.prototype.isEmpty=function(){return 0===this.width&&0===this.height},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.nonNegativeSize=function(){return this.width<0&&(this.width=0),this.height<0&&(this.height=0),this},t.prototype.offset=function(t,e){return this.width=this.width+t,this.height=this.height+e,this},t.prototype.multiply=function(t,e){return this.width*=t,this.height*=e,this},t.prototype.equals=function(t){return this.width===t.width&&this.height===t.height},t.prototype.clone=function(){return new t(this.width,this.height)},t.prototype.copyFrom=function(t){this.width=t.width,this.height=t.height},t.prototype.applyConverter=function(t){return this.width=t(this.width),this.height=t(this.height),this},t.equals=function(t,e){return t.width===e.width&&t.height===e.height},t}();e.Size=n},104:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IntervalAlgorithms=void 0;var r=n(940),o=n(400),i=n(860),s=n(102),a=function(){function t(){}return t.oneConstainsOtherArraysOfInterval=function(t,e){for(var n=r.ListUtils.deepCopy(e),o=n.pop();o;){if(!r.ListUtils.unsafeAnyOf(t,(function(t){return t.containsInterval(o)})))return!1;o=n.pop()}return!0},t.getIntersection=function(e,n){return t.getIntersectionTemplate(e,n,e)},t.getIntersectionTemplate=function(t,e,n){var r=Math.max(t.start,e.start),o=Math.min(t.end,e.end);return r>o?null:n.makeByStartEnd(r,o)},t.getIntersectionNonNullLength=function(e,n){return t.getIntersectionNonNullLengthTemplate(e,n,e)},t.getIntersectionNonNullLengthTemplate=function(e,n,r){var o=t.getIntersectionTemplate(e,n,r);return o&&o.length?o:null},t.getIntersectionsTwoArraysOfInterval=function(e,n){return t.getIntersectionsTwoArraysOfIntervalTemplate(e,n,e[0])},t.getIntersectionsTwoArraysOfIntervalTemplate=function(e,n,r){for(var o=[],i=e.length,s=n.length,a=0,l=0,u=e[a],c=n[l],h=null;a<i&&l<s;){var d=t.getIntersectionTemplate(u,c,r);d&&(h&&h.end===d.start?h.length+=d.length:(h=d,o.push(h))),u.end<c.end?u=e[++a]:c=n[++l]}return o},t.getAffectedObjects=function(e,n,r,i){return void 0===r&&(r=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,(function(t){return t.interval.start}),t)}),void 0===i&&(i=function(t,e,n){return t.start===n&&0===e}),t.getAffectedObjectsTemplate(e,n,n[0],r,i)},t.getAffectedObjectsTemplate=function(e,n,r,i,a){void 0===i&&(i=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,(function(t){return t.interval.start}),t)}),void 0===a&&(a=function(t,e,n){return t.start===n&&0===e});for(var l=new s.SparseIntervalsCollector(r),u=0,c=n;u<c.length;u++)for(var h=c[u],d=Math.max(0,i(h.start,e)),f=void 0;f=e[d];d++){var p=f.interval;if(p.start>h.end)break;var m=t.getIntersectionTemplate(p,h,r);m&&(m.length||a(p,h.length,m.start))&&l.add(d)}return l.getIntervals()},t.handleAffectedObjects=function(e,n,r,s){void 0===s&&(s=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,(function(t){return t.interval.start}),t)});for(var a=new i.FixedInterval(0,0),l=0,u=n;l<u.length;l++)for(var c=u[l],h=Math.max(0,s(c.start,e)),d=void 0;d=e[h];h++){var f=d.interval;if(f.start>c.end)break;var p=t.getIntersectionTemplate(f,c,a);p&&r(d,h,c,p)}},t.getMergedIntervals=function(e,n){return t.getMergedIntervalsTemplate(e,n,e[0])},t.getMergedIntervalsTemplate=function(t,e,n){if(t.length<2)return t.length>0?[n.makeByStartLength(t[0].start,t[0].length)]:[];for(var r=e?[].concat(t).sort((function(t,e){return t.start-e.start})):t,o=[],i=0,s=void 0;s=r[i];){var a=s.start,l=s.end;for(++i;void 0!==(s=r[i])&&s.start<=l;i++)s.end>l&&(l=s.end);o.push(n.makeByStartEnd(a,l))}return o},t.reflectIntervals=function(e,n){return t.reflectIntervalsTemplate(e,n,n)},t.reflectIntervalsTemplate=function(e,n,o){if(!e.length)return[o.makeByStartLength(n.start,n.length)];var i=r.ListUtils.last(e).end,s=r.ListUtils.reducedMap(e,(function(r,i){return t.getIntersectionNonNullLengthTemplate(o.makeByStartEnd(e[i-1].end,r.start),n,o)}),1);return n.start<e[0].start&&s.unshift(o.makeByStartEnd(n.start,e[0].start)),n.end>i&&s.push(o.makeByStartEnd(i,n.end)),s},t.reflectionOfPointOnInterval=function(t,e,n){return(t-e.start)/e.length*n.length+n.start},t}();e.IntervalAlgorithms=a},814:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConstInterval=void 0;var n=function(){function t(){}return Object.defineProperty(t.prototype,"center",{get:function(){return this.start+this.length/2},enumerable:!1,configurable:!0}),t.prototype.isNormalized=function(){return this.end>=this.start},t.prototype.isCollapsed=function(){return 0===this.length},t.prototype.equals=function(t){return this.start===t.start&&this.end===t.end},t.isCollapsed=function(t){return!t[1]&&t[0].isCollapsed()},t.prototype.containsInterval=function(t){return this.start<=t.start&&this.end>=t.end},t.prototype.containsIntervalWithoutEnd=function(t){return this.start<=t.start&&this.end>t.end},t.prototype.contains=function(t){return this.start<=t&&t<this.end},t.prototype.containsWithIntervalEnd=function(t){return this.start<=t&&t<=this.end},t.prototype.containsWithoutIntervalEndAndStart=function(t){return this.start<t&&t<this.end},t}();e.ConstInterval=n},860:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FixedInterval=void 0;var r=n(20),o=function(t){function e(e,n){var r=t.call(this)||this;return r.start=e,r.length=n,r}return r.__extends(e,t),Object.defineProperty(e.prototype,"end",{get:function(){return this.start+this.length},set:function(t){this.length=t-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"center",{get:function(){return this.start+this.length/2},enumerable:!1,configurable:!0}),e.prototype.copyFrom=function(t){this.start=t.start,this.length=t.length},e.prototype.equals=function(t){return t&&this.start===t.start&&this.length===t.length},e.prototype.clone=function(){return new e(this.start,this.length)},e.prototype.makeByStartEnd=function(t,n){return new e(t,n-t)},e.prototype.makeByStartLength=function(t,n){return new e(t,n)},e.prototype.makeByLengthEnd=function(t,n){return new e(n-t,t)},e.fromPositions=function(t,n){return new e(t,n-t)},e.makeByConstInterval=function(t){return new e(t.start,t.length)},e.prototype.expand=function(t){var e=Math.max(t.end,this.end);return this.start=Math.min(t.start,this.start),this.end=e,this},e}(n(678).MutableInterval);e.FixedInterval=o},678:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MutableInterval=void 0;var r=n(20),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.normalizeLength=function(){return this.length<0&&(this.length=0),this},e}(n(814).ConstInterval);e.MutableInterval=o},102:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervalsCollector=void 0;var r=n(448),o=function(){function t(t){this.intervals=[],this.template=t}return t.prototype.add=function(t){this.curr&&this.curr.end===t?this.curr.length++:(this.curr=this.template.makeByStartLength(t,1),this.intervals.push(this.curr))},t.prototype.getIntervals=function(){return new r.SparseIntervals(this.intervals)},t}();e.SparseIntervalsCollector=o},448:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervals=void 0;var r=n(94),o=n(510),i=function(){function t(t){void 0===t&&(t=[]),this.list=t,this._count=0,this._numIntervals=0;for(var e=0,n=t;e<n.length;e++){var r=n[e];this._count+=r.length,this._numIntervals++}}return Object.defineProperty(t.prototype,"count",{get:function(){return this._count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numIntervals",{get:function(){return this._numIntervals},enumerable:!1,configurable:!0}),t.prototype.getInterval=function(t){return this.list[t]},t.prototype.getNativeIterator=function(){return new r.SparseIntervalsIterator(this)},t.prototype.getObjectsIterator=function(t){return new o.SparseObjectsIterator(this,t)},t}();e.SparseIntervals=i},94:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervalsIterator=void 0;var n=function(){function t(t){this.sparseIntervals=t,this.intervalIndex=-1}return Object.defineProperty(t.prototype,"isStarted",{get:function(){return!!this.curr},enumerable:!1,configurable:!0}),t.prototype.moveNext=function(){return this.curr&&this.posInInterval+1<this.curr.length?(this.posInInterval++,this.index++,this.initObject(),!0):this.intervalIndex+1<this.sparseIntervals.numIntervals&&(this.intervalIndex++,this.curr=this.sparseIntervals.getInterval(this.intervalIndex),this.curr.length?(this.posInInterval=0,this.index=this.curr.start,this.initObject(),!0):this.moveNext())},t.prototype.movePrev=function(){return this.curr&&this.posInInterval-1>=this.curr.start?(this.posInInterval--,this.index--,this.initObject(),!0):(this.isStarted||(this.intervalIndex=this.sparseIntervals.numIntervals),this.intervalIndex-1>=0&&(this.intervalIndex--,this.curr=this.sparseIntervals.getInterval(this.intervalIndex),this.posInInterval=Math.max(this.curr.length-1,this.curr.start),this.index=this.curr.start,this.initObject(),!0))},t.prototype.initObject=function(){},t}();e.SparseIntervalsIterator=n},510:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseObjectsIterator=void 0;var r=n(20),o=function(t){function e(e,n){var r=t.call(this,e)||this;return r.objects=n,r}return r.__extends(e,t),e.prototype.initObject=function(){this.obj=this.objects[this.index]},e}(n(94).SparseIntervalsIterator);e.SparseObjectsIterator=o},491:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.numberToStringHex=e.numberToStringBin=e.isOdd=e.isEven=e.isNonNullString=e.isString=e.isNumber=e.boolToString=e.boolToInt=e.isDefined=void 0;var r=n(49);e.isDefined=function(t){return null!=t},e.boolToInt=function(t){return t?1:0},e.boolToString=function(t){return t?"1":"0"},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isNonNullString=function(t){return!!t},e.isEven=function(t){return t%2!=0},e.isOdd=function(t){return t%2==0},e.numberToStringBin=function(t,e){return void 0===e&&(e=0),r.StringUtils.padLeft(t.toString(2),e,"0")},e.numberToStringHex=function(t,e){return void 0===e&&(e=0),r.StringUtils.padLeft(t.toString(16),e,"0")}},170:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Equals=e.Comparers=void 0;var n=function(){function t(){}return t.number=function(t,e){return t-e},t.string=function(t,e){return t===e?0:t>e?1:-1},t.stringIgnoreCase=function(t,e){return(t=t.toLowerCase())===(e=e.toLowerCase())?0:t>e?1:-1},t}();e.Comparers=n;var r=function(){function t(){}return t.simpleType=function(t,e){return t===e},t.object=function(t,e){return t&&e&&(t===e||t.equals(e))},t}();e.Equals=r},907:function(t,e,n){e.K=void 0;var r=n(279),o=n(491),i=n(679),s=n(49),a=function(){function t(){}return t.clearInnerHtml=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},t.setStylePosition=function(t,e){t.left=i.MathUtils.round(e.x,3)+"px",t.top=i.MathUtils.round(e.y,3)+"px"},t.setStyleSize=function(t,e){t.width=i.MathUtils.round(e.width,3)+"px",t.height=i.MathUtils.round(e.height,3)+"px"},t.setStyleSizeAndPosition=function(e,n){t.setStylePosition(e,n),t.setStyleSize(e,n)},t.hideNode=function(t){if(t){var e=t.parentNode;e&&e.removeChild(t)}},t.isHTMLElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},t.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},t.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},t.isHTMLTableRowElement=function(t){return"TR"===t.tagName},t.isItParent=function(t,e){if(!t||!e)return!1;for(;e;){if(e===t)return!0;if("BODY"===e.tagName)return!1;e=e.parentNode}return!1},t.getParentByTagName=function(t,e){for(e=e.toUpperCase();t;){if("BODY"===t.tagName)return null;if(t.tagName===e)return t;t=t.parentNode}return null},t.getDocumentScrollTop=function(){var e=r.Browser.IE&&"hidden"===t.getCurrentStyle(document.body).overflow&&document.body.scrollTop>0;return r.Browser.WebKitFamily||r.Browser.Edge||e?r.Browser.MacOSMobilePlatform?window.pageYOffset:r.Browser.WebKitFamily&&document.documentElement.scrollTop||document.body.scrollTop:document.documentElement.scrollTop},t.getDocumentScrollLeft=function(){var e=r.Browser.IE&&"hidden"===t.getCurrentStyle(document.body).overflow&&document.body.scrollLeft>0;return r.Browser.Edge||e?document.body?document.body.scrollLeft:document.documentElement.scrollLeft:r.Browser.WebKitFamily?document.documentElement.scrollLeft||document.body.scrollLeft:document.documentElement.scrollLeft},t.getCurrentStyle=function(t){if(t.currentStyle)return t.currentStyle;if(document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(t,null);if(!e&&r.Browser.Firefox&&window.frameElement){for(var n=[],i=window.frameElement;!(e=document.defaultView.getComputedStyle(t,null));)n.push([i,i.style.display]),i.style.setProperty("display","block","important"),i="BODY"===i.tagName?i.ownerDocument.defaultView.frameElement:i.parentNode;e=function(t){if("object"!=typeof t||!o.isDefined(t))return t;var e={};for(var n in t)e[n]=t[n];return e}(e);for(var s=void 0,a=0;s=n[a];a++)s[0].style.display=s[1];document.body.offsetWidth}return e}return window.getComputedStyle(t,null)},t.setFocus=function(t){function e(){try{t.focus(),r.Browser.IE&&document.activeElement!==t&&t.focus()}catch(t){}}r.Browser.MacOSMobilePlatform?e():setTimeout((function(){e()}),100)},t.hasClassName=function(t,e){try{var n=e.split(" "),r=t.classList;if(r){for(var o=n.length-1;o>=0;o--)if(!r.contains(n[o]))return!1}else{var i=t.getAttribute&&t.getAttribute("class");if(!i)return!1;var s=i.split(" ");for(o=n.length-1;o>=0;o--)if(s.indexOf(n[o])<0)return!1}return!0}catch(t){return!1}},t.addClassName=function(e,n){if(!t.hasClassName(e,n)){var r=e.getAttribute&&e.getAttribute("class");e.setAttribute("class",""===r?n:r+" "+n)}},t.removeClassName=function(t,e){var n=" "+(t.getAttribute&&t.getAttribute("class"))+" ",r=n.replace(" "+e+" "," ");n.length!==r.length&&t.setAttribute("class",s.StringUtils.trim(r))},t.toggleClassName=function(e,n,r){void 0===r?t.hasClassName(e,n)?t.removeClassName(e,n):t.addClassName(e,n):r?t.addClassName(e,n):t.removeClassName(e,n)},t.pxToInt=function(t){return l(t,parseInt)},t.pxToFloat=function(t){return l(t,parseFloat)},t.getAbsolutePositionY=function(e){function n(e){return Math.round(e.getBoundingClientRect().top+t.getDocumentScrollTop())}return e?r.Browser.IE?function(e){return r.Browser.IE&&null===e.parentNode?0:e.getBoundingClientRect().top+t.getDocumentScrollTop()}(e):r.Browser.Firefox&&r.Browser.Version>=3?n(e):r.Browser.NetscapeFamily&&(!r.Browser.Firefox||r.Browser.Version<3)?function(e){for(var n=u(e,!1),o=!0;null!=e;){if(n+=e.offsetTop,o||null==e.offsetParent||(n-=e.scrollTop),!o&&r.Browser.Firefox){var i=t.getCurrentStyle(e);"DIV"===e.tagName&&"visible"!==i.overflow&&(n+=t.pxToInt(i.borderTopWidth))}o=!1,e=e.offsetParent}return n}(e):r.Browser.WebKitFamily||r.Browser.Edge?n(e):function(t){for(var e=0,n=!0;null!=t;)e+=t.offsetTop,n||null==t.offsetParent||(e-=t.scrollTop),n=!1,t=t.offsetParent;return e}(e):0},t.getAbsolutePositionX=function(e){function n(e){return Math.round(e.getBoundingClientRect().left+t.getDocumentScrollLeft())}return e?r.Browser.IE?function(e){return r.Browser.IE&&null===e.parentNode?0:e.getBoundingClientRect().left+t.getDocumentScrollLeft()}(e):r.Browser.Firefox&&r.Browser.Version>=3?n(e):r.Browser.Opera&&r.Browser.Version<=12?function(t){for(var e=!0,n=u(t,!0);null!=t;)n+=t.offsetLeft,e||(n-=t.scrollLeft),t=t.offsetParent,e=!1;return n+=document.body.scrollLeft}(e):r.Browser.NetscapeFamily&&(!r.Browser.Firefox||r.Browser.Version<3)?function(e){for(var n=u(e,!0),o=!0;null!=e;){if(n+=e.offsetLeft,o||null==e.offsetParent||(n-=e.scrollLeft),!o&&r.Browser.Firefox){var i=t.getCurrentStyle(e);"DIV"===e.tagName&&"visible"!==i.overflow&&(n+=t.pxToInt(i.borderLeftWidth))}o=!1,e=e.offsetParent}return n}(e):r.Browser.WebKitFamily||r.Browser.Edge?n(e):function(t){for(var e=0,n=!0;null!=t;)e+=t.offsetLeft,n||null==t.offsetParent||(e-=t.scrollLeft),n=!1,t=t.offsetParent;return e}(e):0},t.isInteractiveControl=function(t){return["A","INPUT","SELECT","OPTION","TEXTAREA","BUTTON","IFRAME"].indexOf(t.tagName)>-1},t.getClearClientHeight=function(e){return e.offsetHeight-(t.getTopBottomPaddings(e)+t.getVerticalBordersWidth(e))},t.getTopBottomPaddings=function(e,n){var r=n||t.getCurrentStyle(e);return t.pxToInt(r.paddingTop)+t.pxToInt(r.paddingBottom)},t.getVerticalBordersWidth=function(e,n){o.isDefined(n)||(n=r.Browser.IE&&9!==r.Browser.MajorVersion&&window.getComputedStyle?window.getComputedStyle(e):t.getCurrentStyle(e));var i=0;return"none"!==n.borderTopStyle&&(i+=t.pxToFloat(n.borderTopWidth)),"none"!==n.borderBottomStyle&&(i+=t.pxToFloat(n.borderBottomWidth)),i},t.getNodes=function(t,e){for(var n=t.all||t.getElementsByTagName("*"),r=[],o=0;o<n.length;o++){var i=n[o];e(i)&&r.push(i)}return r},t.getChildNodes=function(t,e){for(var n=t.childNodes,r=[],o=0;o<n.length;o++){var i=n[o];e(i)&&r.push(i)}return r},t.getNodesByClassName=function(e,n){if(e.querySelectorAll){var r=e.querySelectorAll("."+n),o=[];return r.forEach((function(t){return o.push(t)})),o}return t.getNodes(e,(function(e){return t.hasClassName(e,n)}))},t.getChildNodesByClassName=function(e,n){return e.querySelectorAll?function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r];e(o)&&n.push(o)}return n}(e.querySelectorAll("."+n),(function(t){return t.parentNode===e})):t.getChildNodes(e,(function(e){return!!t.isElementNode(e)&&(o.isNonNullString(e.className)&&t.hasClassName(e,e.className))}))},t.getVerticalScrollBarWidth=function(){if(void 0===t.verticalScrollBarWidth){var e=document.createElement("DIV");e.style.cssText="position: absolute; top: 0px; left: 0px; visibility: hidden; width: 200px; height: 150px; overflow: hidden; box-sizing: content-box",document.body.appendChild(e);var n=document.createElement("P");e.appendChild(n),n.style.cssText="width: 100%; height: 200px;";var r=n.offsetWidth;e.style.overflow="scroll";var o=n.offsetWidth;r===o&&(o=e.clientWidth),t.verticalScrollBarWidth=r-o,document.body.removeChild(e)}return t.verticalScrollBarWidth},t.getHorizontalBordersWidth=function(e,n){o.isDefined(n)||(n=r.Browser.IE&&window.getComputedStyle?window.getComputedStyle(e):t.getCurrentStyle(e));var i=0;return"none"!==n.borderLeftStyle&&(i+=t.pxToFloat(n.borderLeftWidth)),"none"!==n.borderRightStyle&&(i+=t.pxToFloat(n.borderRightWidth)),i},t.getFontFamiliesFromCssString=function(t){return t.split(",").map((function(t){return s.StringUtils.trim(t.replace(/'|"/gi,""))}))},t.getInnerText=function(e){if(r.Browser.Safari&&r.Browser.MajorVersion<=5){null===t.html2PlainTextFilter&&(t.html2PlainTextFilter=document.createElement("DIV"),t.html2PlainTextFilter.style.width="0",t.html2PlainTextFilter.style.height="0",t.html2PlainTextFilter.style.overflow="visible",t.html2PlainTextFilter.style.display="none",document.body.appendChild(t.html2PlainTextFilter));var n=t.html2PlainTextFilter;n.innerHTML=e.innerHTML,n.style.display="";var o=n.innerText;return n.style.display="none",o}return r.Browser.NetscapeFamily||r.Browser.WebKitFamily||r.Browser.IE&&r.Browser.Version>=9||r.Browser.Edge?e.textContent:e.innerText},t.html2PlainTextFilter=null,t.verticalScrollBarWidth=void 0,t}();function l(t,e){var n=0;if(o.isDefined(t)&&""!==t)try{var r=t.indexOf("px");r>-1&&(n=e(t.substr(0,r)))}catch(t){}return n}function u(t,e){for(var n=0,r=!0;null!=t&&"BODY"!==t.tagName;){var o=a.getCurrentStyle(t);if("absolute"===o.position)break;r||"DIV"!==t.tagName||""!==o.position&&"static"!==o.position||(n-=e?t.scrollLeft:t.scrollTop),t=t.parentNode,r=!1}return n}e.K=a},940:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ListUtils=void 0;var r=n(799),o=n(170),i=function(){function t(){}return t.remove=function(t,e){var n=t.indexOf(e,0);n>=0&&t.splice(n,1)},t.removeBy=function(t,e){for(var n=t.length,r=0;r<n;r++)if(e(t[r],r))return t.splice(r,1)[0];return null},t.shallowCopy=function(t){return t.slice()},t.deepCopy=function(e){return t.map(e,(function(t){return t.clone()}))},t.initByValue=function(t,e){for(var n=[];t>0;t--)n.push(e);return n},t.initByCallback=function(t,e){for(var n=[],r=0;r<t;r++)n.push(e(r));return n},t.forEachOnInterval=function(t,e){for(var n=t.end,r=t.start;r<n;r++)e(r)},t.reverseForEachOnInterval=function(t,e){for(var n=t.start,r=t.end-1;r>=n;r--)e(r)},t.reducedMap=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++){var s=e(t[i],i);null!==s&&o.push(s)}return o},t.filter=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++){var s=t[i];e(s,i)&&o.push(s)}return o},t.map=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++)o.push(e(t[i],i));return o},t.indexBy=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(e(t[o],o))return o;return-1},t.reverseIndexBy=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(e(t[o],o))return o;return-1},t.elementBy=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.indexBy(e,n,r,o);return i<0?null:e[i]},t.reverseElementBy=function(e,n,r,o){void 0===r&&(r=e.length-1),void 0===o&&(o=0);var i=t.reverseIndexBy(e,n,r,o);return i<0?null:e[i]},t.last=function(t){return t[t.length-1]},t.setLast=function(t,e){return t[t.length-1]=e},t.incLast=function(t){return++t[t.length-1]},t.decLast=function(t){return--t[t.length-1]},t.equals=function(e,n){return e.length===n.length&&t.allOf2(e,n,(function(t,e){return t.equals(e)}))},t.equalsByReference=function(t,e){var n=t.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0},t.unique=function(e,n,r,o){void 0===r&&(r=n),void 0===o&&(o=function(){});var i=e.length;if(0===i)return[];var s=(e=e.sort(n))[0],a=t.reducedMap(e,(function(t){return 0!==r(s,t)?(s=t,t):(o(t),null)}),1,i);return a.unshift(e[0]),a},t.uniqueNumber=function(t){t=t.sort(o.Comparers.number);for(var e=Number.NaN,n=t.length-1;n>=0;n--)e===t[n]?t.splice(n,1):e=t[n];return t},t.forEach=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)e(t[o],o)},t.forEach2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)n(t[i],e[i],i)},t.reverseForEach=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)e(t[o],o)},t.reverseIndexOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(t[o]===e)return o;return-1},t.accumulate=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=e,s=r;s<o;s++)i=n(i,t[s],s);return i},t.accumulateNumber=function(t,e,n,r,o){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=n,s=r;s<o;s++)i+=e(t[s],s,i);return i},t.anyOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(e(t[o],o))return!0;return!1},t.unsafeAnyOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++){var i=e(t[o],o);if(i)return i}return null},t.reverseAnyOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(e(t[o],o))return!0;return!1},t.unsafeReverseAnyOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--){var i=e(t[o],o);if(i)return i}return null},t.anyOf2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)if(n(t[i],e[i],i))return!0;return!1},t.allOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(!e(t[o],o))return!1;return!0},t.allOf2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)if(!n(t[i],e[i],i))return!1;return!0},t.allOfOnInterval=function(t,e){for(var n=t.end,r=t.start;r<n;r++)if(!e(r))return!1;return!0},t.addListOnTail=function(t,e){for(var n=0,r=void 0;r=e[n];n++)t.push(r);return t},t.joinLists=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return t.accumulate(n,[],(function(n,r){return t.addListOnTail(n,e(r)),n}))},t.push=function(t,e){return t.push(e),t},t.countIf=function(e,n){return t.accumulateNumber(e,(function(t,e){return n(t,e)?1:0}))},t.clear=function(t){t.splice(0)},t.merge=function(t,e,n,r,o,i){if(void 0===o&&(o=0),void 0===i&&(i=t.length),t=t.slice(o,i),i-o<2)return t;for(var s=(t=t.sort(e))[o],a=[s],l=o+1;l<i;l++){var u=t[l];n(s,u)?r(s,u):(s=u,a.push(s))}return a},t.min=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.minExtended(e,n,r,o);return i?i.minElement:null},t.max=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.maxExtended(e,n,r,o);return i?i.maxElement:null},t.minMax=function(e,n,o,i){void 0===o&&(o=0),void 0===i&&(i=e.length);var s=t.minMaxExtended(e,n,o,i);return s?new r.MinMax(s.minElement,s.maxElement):null},t.minExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=e(i),a=n+1;a<o;a++){var l=t[a],u=e(l);u<s&&(s=u,i=l)}return new r.ExtendedMin(i,s)},t.maxExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=e(i),a=n+1;a<o;a++){var l=t[a],u=e(l);u>s&&(s=u,i=l)}return new r.ExtendedMax(i,s)},t.minMaxExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=i,a=e(i),l=a,u=n+1;u<o;u++){var c=t[u],h=e(c);h<a?(a=h,i=c):h>l&&(l=h,s=c)}return new r.ExtendedMinMax(i,a,s,l)},t.minByCmp=function(t,e,n,r){if(void 0===n&&(n=0),void 0===r&&(r=t.length),0===t.length)return null;for(var o=t[n],i=n+1;i<r;i++){var s=t[i];e(s,o)<0&&(o=s)}return o},t.maxByCmp=function(t,e,n,r){if(void 0===n&&(n=0),void 0===r&&(r=t.length),0===t.length)return null;for(var o=t[n],i=n+1;i<r;i++){var s=t[i];e(s,o)>0&&(o=s)}return o},t.minMaxByCmp=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=i,a=n+1;a<o;a++){var l=t[a],u=e(l,i);u>0?s=l:u<0&&(i=l)}return new r.MinMax(i,s)},t}();e.ListUtils=i},679:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MathUtils=void 0;var r=n(940),o=function(){function t(){}return t.round=function(e,n){void 0===n&&(n=0);var r=t.powFactor[n];return Math.round(e*r)/r},t.numberCloseTo=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n},t.restrictValue=function(t,e,n){return n<e&&(n=e),t>n?n:t<e?e:t},t.getRandomInt=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},t.generateGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))},t.powFactor=r.ListUtils.initByCallback(20,(function(t){return Math.pow(10,t)})),t.somePrimes=[1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003],t}();e.MathUtils=o},400:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SearchUtils=void 0;var n=function(){function t(){}return t.binaryIndexOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-2);var o=0===n;for(-2===r&&(r=t.length-1);n<=r;){var i=n+(r-n>>1),s=e(t[i]);if(s<0)n=i+1;else{if(!(s>0))return i;r=i-1}}return o?~n:-1},t.normedBinaryIndexOf=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-2);var i=t.binaryIndexOf(e,n,r,o);return t.binaryIndexNormalizator(i)},t.binaryIndexNormalizator=function(t){return t<0?~t-1:t},t.normedInterpolationIndexOf=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-2),-2===o&&(o=t.length-1);var i=t[Math.min(r,o)];if(void 0===i||n<e(i))return-1;for(var s=e(t[r]),a=e(t[o]);;){if(!(n>s&&n<a))return n===s?r:o;var l=r+Math.floor((n-s)*(o-r)/(a-s)),u=e(t[l]);if(n>u){if(n<(s=e(t[r=l+1])))return l}else{if(!(n<u))return l;a=e(t[o=l-1])}}},t}();e.SearchUtils=n},49:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtils=void 0;var n=function(){function t(){}return t.isAlpha=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"},t.isDigit=function(t){return t>="0"&&t<="9"},t.stringHashCode=function(t){var e=0;if(0===t.length)return e;for(var n=t.length,r=0;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e},t.endsAt=function(t,e){var n=t.length-1,r=e.length-1,o=n-r;if(o<0)return!1;for(;n>=o;n--,r--)if(t[n]!==e[r])return!1;return!0},t.startsAt=function(t,e){return t.substr(0,e.length)===e},t.stringInLowerCase=function(t){return t.toLowerCase()===t},t.stringInUpperCase=function(t){return t.toUpperCase()===t},t.atLeastOneSymbolInUpperCase=function(e){for(var n=0,r=void 0;r=e[n];n++)if(t.stringInUpperCase(r)&&!t.stringInLowerCase(r))return!0;return!1},t.getSymbolFromEnd=function(t,e){return t[t.length-e]},t.trim=function(e,n){if(void 0===n)return t.trimInternal(e,!0,!0);var r=n.join("");return e.replace(new RegExp("(^["+r+"]*)|(["+r+"]*$)","g"),"")},t.trimStart=function(e,n){if(void 0===n)return t.trimInternal(e,!0,!1);var r=n.join("");return e.replace(new RegExp("^["+r+"]*","g"),"")},t.trimEnd=function(e,n){if(void 0===n)return t.trimInternal(e,!1,!0);var r=n.join("");return e.replace(new RegExp("["+r+"]*$","g"),"")},t.getDecimalSeparator=function(){return 1.1.toLocaleString().substr(1,1)},t.repeat=function(t,e){return new Array(e<=0?0:e+1).join(t)},t.isNullOrEmpty=function(t){return!t||!t.length},t.padLeft=function(e,n,r){return t.repeat(r,Math.max(0,n-e.length))+e},t.trimInternal=function(t,e,n){var r=t.length;if(!r)return t;if(r<764833){var o=t;return e&&(o=o.replace(/^\s+/,"")),n&&(o=o.replace(/\s+$/,"")),o}var i=0;if(n)for(;r>0&&/\s/.test(t[r-1]);)r--;if(e&&r>0)for(;i<r&&/\s/.test(t[i]);)i++;return t.substring(i,r)},t}();e.StringUtils=n},20:function(t,e,n){n.r(e),n.d(e,{__assign:function(){return i},__asyncDelegator:function(){return I},__asyncGenerator:function(){return b},__asyncValues:function(){return w},__await:function(){return x},__awaiter:function(){return c},__classPrivateFieldGet:function(){return E},__classPrivateFieldSet:function(){return M},__createBinding:function(){return d},__decorate:function(){return a},__exportStar:function(){return f},__extends:function(){return o},__generator:function(){return h},__importDefault:function(){return S},__importStar:function(){return T},__makeTemplateObject:function(){return C},__metadata:function(){return u},__param:function(){return l},__read:function(){return m},__rest:function(){return s},__spread:function(){return g},__spreadArray:function(){return y},__spreadArrays:function(){return v},__values:function(){return p}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((r=r.apply(t,e||[])).next())}))}function h(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var d=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function f(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||d(e,t,n)}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function y(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}function x(t){return this instanceof x?(this.v=t,this):new x(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){o[t]&&(r[t]=function(e){return new Promise((function(n,r){i.push([t,e,n,r])>1||a(t,e)}))})}function a(t,e){try{(n=o[t](e)).value instanceof x?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(t){c(i[0][3],t)}var n}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),i.shift(),i.length&&a(i[0][0],i[0][1])}}function I(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:x(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function w(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(e=t[n](e)).done,e.value)}))}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var O=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&d(e,t,n);return O(e,t),e}function S(t){return t&&t.__esModule?t:{default:t}}function E(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function M(t,e,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(t,n):o?o.value=n:e.set(t,n),n}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){n.r(r),n.d(r,{DxtThemeCssClasses:function(){return B},Ribbon:function(){return z}});var t=DevExpress.localization,e=DevExpress.ui.dxTabPanel,o=n.n(e),i=DevExpress.ui.dxToolbar,s=n.n(i),a=DevExpress.viz;class l{get toolbarItemTemplateCreator(){return this._toolbarItemTemplateCreator||(this._toolbarItemTemplateCreator=this.getBuildTemplateStrategy()),this._toolbarItemTemplateCreator}createToolbarItemTemplate(){return this.toolbarItemTemplateCreator.createTemplate()}}class u extends l{constructor(t,e){super(),this.options=t,this.onCommandExecuted=e,this.name=t.name}setEnabled(t){this.widget.option("disabled",!t)}setVisible(t){this.widget.option("visible",t)}getOnInitializedHandler(){return t=>this.applyWidget(t)}applyWidget(t){this.widget=t.component}}class c{static correctIconName(t){return 0==t.indexOf("dx")?` ${t}`:t}static correctItemsIcons(t){t&&t.forEach((t=>{t.icon=t.icon?c.correctIconName(t.icon):void 0,c.correctItemsIcons(t.items)}))}}class h{createTemplate(){return{location:"before",locateInMenu:"auto"}}getCssClass(){return"dx-ribbon-item"}shouldCreateTextContentTemplate(t){return t&&t.text&&""!=t.text}createTextContentTemplate(t,e,n){return(r,o,i)=>{const s=document.createElement("div"),a=document.createElement("div");a.style.display="inline-block";const l=document.createElement("div");return l.style.display="inline-block",l.textContent=t.text,t.displayAfterEditor||s.appendChild(l),s.appendChild(a),t.displayAfterEditor&&s.appendChild(l),new n(a,e),s}}}class d extends h{getOnFocusOut(){return t=>t.component.close()}getOnKeyDown(){return t=>{9===t.event.keyCode&&t.event.preventDefault()}}}class f extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxButtonGroup",t.showText=this.options.itemOptions.items[0]&&this.options.itemOptions.items[0].icon&&!this.options.itemOptions.alwaysShowText?"inMenu":"always",t.options=this.getButtonGroupOptions(),t}getButtonGroupOptions(){return{focusStateEnabled:!1,onInitialized:this.options.onInitialized,items:this.options.itemOptions.items.map((t=>{const e=t;return e.icon=e.icon?c.correctIconName(e.icon):e.icon,e}))}}}class p extends u{getBuildTemplateStrategy(){return new f({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onClick:this.getOnClickHandler()})}setValue(t){}getOnClickHandler(){return this.onCommandExecuted?()=>{this.onCommandExecuted({item:this,parameter:null})}:void 0}}p.ToggleStateClassName="dx-r-toggle",p.ToggleButtonDataProperty="dx-ri-value";class m extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxButton",t.showText=!this.options.itemOptions.icon||this.options.itemOptions.alwaysShowText?"always":"inMenu",t.options=this.getButtonOptions(),t}getButtonOptions(){return{text:this.options.itemOptions.text,icon:this.options.itemOptions.icon?c.correctIconName(this.options.itemOptions.icon):void 0,hint:this.options.itemOptions.text,stylingMode:"text",focusStateEnabled:!1,onInitialized:this.options.onInitialized,onClick:this.options.onClick}}}class g extends u{getBuildTemplateStrategy(){return new m({itemOptions:this.options,onInitialized:t=>{this.applyWidget(t),this.setValue(this.options.isToggleMode&&this.options.selected)},onClick:this.getOnClickHandler()})}setValue(t){if(!this.options.isToggleMode)return;const e=this.getElement();e[g.ToggleButtonDataProperty]=t,t?(e.classList.add(g.ToggleStateClassName),e.classList.add(g.ButtonGroupItemClassName),e.classList.add(g.ItemSelectedClassName)):(e.classList.remove(g.ToggleStateClassName),e.classList.remove(g.ButtonGroupItemClassName),e.classList.remove(g.ItemSelectedClassName))}getValue(){return this.options.isToggleMode?this.getElement()[g.ToggleButtonDataProperty]:null}getElement(){return this.widget.element().classList?this.widget.element():this.widget.element()[0]}getOnClickHandler(){return this.onCommandExecuted?()=>{this.setValue(!this.getValue()),this.onCommandExecuted({item:this,parameter:this.getValue()})}:void 0}}g.ToggleStateClassName="dx-r-toggle",g.ButtonGroupItemClassName="dx-buttongroup-item",g.ItemSelectedClassName="dx-state-selected",g.ToggleButtonDataProperty="dx-ri-value";var v=DevExpress.ui.dxColorBox,y=n.n(v);class x extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();t.widget="dxColorBox";const e=this.getWidgetOptions();return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,y()):t.options=e,t}getWidgetOptions(){return{placeholder:"",focusStateEnabled:!1,acceptCustomValue:!1,stylingMode:"filled",hint:this.options.itemOptions.text,value:this.options.itemOptions.value,width:75,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onContentReady:t=>{const e=t.element.querySelector?t.element:t.element[0];e.querySelector(".dx-colorbox-color-result-preview").addEventListener("click",(()=>{this.options.onValueChanged({component:t.component,element:e,model:t.model,value:t.component.option("value")})}))},onOpened:this.options.onOpened,onClosed:this.options.onClosed,elementAttr:{class:this.getCssClass()}}}}class b extends u{constructor(t,e,n,r){super(t,e),this.onOpened=n,this.onClosed=r}getBuildTemplateStrategy(){return new x({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler(),onOpened:this.getOnOpenedHandler(),onClosed:this.getOnClosedHandler()})}setValue(t){this.widget.option("value",t)}getOnOpenedHandler(){return this.onOpened?()=>{this.onOpened({item:this})}:void 0}getOnClosedHandler(){return this.onClosed?()=>{this.onClosed({item:this})}:void 0}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}var I=n(11),w=n(491);class C extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxMenu",t.options=this.getMenuOptions(),t}getMenuOptions(){return c.correctItemsIcons(this.options.itemOptions.items),{hideSubmenuOnMouseLeave:!0,focusStateEnabled:!1,selectByClick:!1,hint:this.options.itemOptions.text,dataSource:[{icon:this.options.itemOptions.icon?c.correctIconName(this.options.itemOptions.icon):void 0,text:this.options.itemOptions.text,items:this.options.itemOptions.items.map((t=>({beginGroup:t.beginGroup,name:t.name,text:t.text,icon:t.icon,items:t.items})))}],onSubmenuShowing:t=>{setTimeout((()=>{var e,n;const r=t.component;if(r._visibleSubmenu){const o=null!==(n=null===(e=t.submenu._shownSubmenus)||void 0===e?void 0:e.length)&&void 0!==n?n:0,i=r._visibleSubmenu._overlay.$content(o),s=i.find(".dx-submenu").eq(o);s.css("position",""),O(s,null);const a=this.getContentBounds(s),l=Math.max(0,document.documentElement.clientHeight-a.y),u=Math.min(600,l);if(o>0&&i.find(".dx-submenu")[o-1].style.height&&s.css("position","fixed"),a.height>=u){const t=Math.min(a.height,u);O(s,t),s.dxScrollView({})}}}))},onInitialized:this.options.onInitialized,onItemRendered:this.options.onItemRendered,onItemClick:this.options.onItemClick,elementAttr:{class:this.getCssClass()},onContentReady:t=>{if(this.options.itemOptions.icon&&!this.options.itemOptions.alwaysShowText){(t.element.classList?t.element:t.element[0]).classList.add(C.ShowTextInMenuClassName)}}}}getContentBounds(t){if(!t)return null;const e=Array.from(t);if(!e.length)return null;let n=this.toRectangle(e[0].getBoundingClientRect());if(1===e.length)return n;for(let t=1;t<e.length;t++){const r=e[t].getBoundingClientRect();n=I.Ae.union(n,this.toRectangle(r))}return n}toRectangle(t){return new I.Ae(t.x,t.y,t.width,t.height)}}C.ShowTextInMenuClassName="dx-showTextInMenu";const O=function(t,e){var n;const r=t[0];if(!r)return;const o=(null===(n=r.ownerDocument)||void 0===n?void 0:n.defaultView)||window,i=o.getComputedStyle&&o.getComputedStyle(r);if(i)if((0,w.isDefined)(e)){if("content-box"===i.boxSizing){e-=(parseFloat(i.borderTopWidth)||0)+(parseFloat(i.borderBottomWidth)||0)+((parseFloat(i.paddingTop)||0)+(parseFloat(i.paddingBottom)||0))}r.style.height=e.toString()+"px"}else r.style.height=""};class T{constructor(t,e){this.name=t,this.menuItem=e}setValue(t){"boolean"==typeof t&&(this.element?this.setValueCore(this.element,t):this.selected=t)}setElement(t){this.element=t,void 0!==this.selected&&(this.setValue(this.selected),this.selected=void 0)}setEnabled(t){this.setDataOption("disabled",!t)}setVisible(t){this.setDataOption("visible",t)}setValueCore(t,e){e?t.classList.add(T.SelectedItemClassName):t.classList.remove(T.SelectedItemClassName)}setDataOption(t,e){const n=this.getDataOptionName();n&&setTimeout((()=>this.menuItem.getWidget().option(`${n}.${t}`,e)),0)}getDataOptionName(){return void 0===this.dataOptionName&&(this.dataOptionName=this.getDataOptionNameCore(this.menuItem.getOptions().items,"items[0]")),this.dataOptionName}getDataOptionNameCore(t,e){if(!t)return null;const n=t.filter((t=>t.name==this.name))[0];if(n)return`${e}.items[${t.indexOf(n)}]`;for(let n=0;n<t.length;n++){const r=this.getDataOptionNameCore(t[n].items,`${e}.items[${n}]`);if(r)return r}return null}}T.SelectedItemClassName="dx-menu-item-selected";class S extends u{constructor(t,e,n){super(t,e),this.onSubMenuItemCreated=n,this.items={},this.createSubMenuItems(t.items)}getWidget(){return this.widget}getOptions(){return this.options}createSubMenuItems(t){t&&t.forEach((t=>{const e=new T(t.name,this);this.onSubMenuItemCreated(e),t.name&&(this.items[t.name]=e),this.createSubMenuItems(t.items)}))}getBuildTemplateStrategy(){return new C({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onItemRendered:this.getOnItemRenderedHandler(),onItemClick:this.getOnItemClickHandler()})}setValue(t){}getOnItemClickHandler(){return this.onCommandExecuted?t=>{this.closeSubMenuIfRequired(t.component,t.itemData,t.itemElement);const e=t.itemData.name?this.items[t.itemData.name]:void 0;e&&this.onCommandExecuted({item:e,parameter:null})}:void 0}closeSubMenuIfRequired(t,e,n){e.isRootElement&&t._visibleSubmenu&&window.setTimeout((()=>t.unselectItem(n[0]||n)),0)}getOnItemRenderedHandler(){return t=>{const e=t.itemData.name;if(!e)return;const n=this.items[e],r=t.itemElement[0]?t.itemElement[0]:t.itemElement;n.setElement(r)}}}class E extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxNumberBox",t.options=this.getWidgetOptions(),t}getWidgetOptions(){const t=this.options.itemOptions.format,e=null==t||null==t?`${this.options.itemOptions.text} #0.#`:t;return{placeholder:"",focusStateEnabled:!1,hint:this.options.itemOptions.text,stylingMode:"filled",format:e,value:this.options.itemOptions.value,width:this.options.itemOptions.width,showSpinButtons:!0,min:this.options.itemOptions.min,max:this.options.itemOptions.max,step:this.options.itemOptions.step,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,elementAttr:{class:this.getCssClass()}}}}class M extends u{getBuildTemplateStrategy(){return new E({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})}setValue(t){this.widget.option("value",t)}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{t.event&&this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}var B,P=DevExpress.ui.dxSelectBox,N=n.n(P);class _ extends d{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();t.widget="dxSelectBox";const e=this.getWidgetOptions();return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,N()):t.options=e,t}getOnCustomItemCreating(t){return t.acceptCustomValue&&t.onCustomItemCreating?t.onCustomItemCreating:function(t){t.customItem||(t.customItem=t.text)}}getWidgetOptions(){const t=this.options.itemOptions;return{placeholder:t.placeholder,stylingMode:"filled",searchEnabled:!0,acceptCustomValue:t.acceptCustomValue,dataSource:t.dataSource,width:t.width,displayExpr:t.displayExpr,valueExpr:t.valueExpr,value:t.value,showClearButton:t.showClearButton,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onFocusOut:super.getOnFocusOut(),onKeyDown:super.getOnKeyDown(),onCustomItemCreating:this.getOnCustomItemCreating(t),elementAttr:{class:this.getCssClass()}}}}class A extends u{getBuildTemplateStrategy(){return new _({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})}setValue(t){this.widget.option("value",t)}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{t.event&&this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}!function(t){t.AccentAsBackgroundColor="dx-theme-accent-as-background-color",t.AccentAsBorderColor="dx-theme-accent-as-border-color",t.AccentAsTextColor="dx-theme-accent-as-text-color",t.BackgroundColor="dx-theme-background-color",t.BackgroundColorAsBorderColor="dx-theme-background-color-as-border-color",t.BackgroundColorAsTextColor="dx-theme-background-color-as-text-color",t.BorderColor="dx-theme-border-color",t.BorderColorAsBackgroundColor="dx-theme-border-color-as-background-color",t.BorderColorAsTextColor="dx-theme-border-color-as-text-color ",t.TextColor="dx-theme-text-color",t.TextColorAsBackgroundColor="dx-theme-text-color-as-background-color",t.TextColorAsBorderColor="dx-theme-text-color-as-border-color"}(B||(B={}));class L extends h{createTemplate(){const t=super.createTemplate();return t.disabled=!0,t.dxIsSeparator=!0,t.template=()=>{const t=document.createElement("div");return t.classList.add(L.SeparatorClassName),t.classList.add(B.BorderColor),t},t}}L.SeparatorClassName="dx-r-separator";class V extends l{static prepareElement(t){const e=t.classList?t:t[0];if(!e)return;const n=e.querySelector(".dx-toolbar-item-content");n&&n.classList.add(V.SeparatorContainerClassName)}getBuildTemplateStrategy(){return new L}}V.SeparatorContainerClassName="dx-r-separator-container";var j=n(907);class z{constructor(t){this.options=t,this.toolbars=[],this.toolBarItemsByName={},this.contextItemIndexesByCategoryName={}}get element(){return this.options.element}dispose(){this.tabPanel.dispose(),this.toolbars.forEach((t=>t.dispose())),z.hideNode(this.options.element)}static hideNode(t){if(t){const e=t.parentNode;e&&e.removeChild(t)}}shouldApplyLocalization(t,e){return!t&&!!e}applyLocalizationId(){this.options.items.forEach((t=>{this.applyLocalizationIdToRibbonItem(t)})),this.options.contextItemsCategories.forEach((t=>{t.items.forEach((t=>{this.applyLocalizationIdToRibbonItem(t)}))}))}applyLocalizationIdToRibbonItem(e){this.shouldApplyLocalization(e.title,e.localizationId)&&(e.title=(0,t.formatMessage)(e.localizationId)),this.applyLocalizationIdToRibbonItems(e.items)}applyLocalizationIdToRibbonItems(e){e.forEach((e=>{switch(e.type){case"Button":const n=e;this.shouldApplyLocalization(n.text,n.localizationId)&&(n.text=(0,t.formatMessage)(n.localizationId));break;case"Menu":const r=e;this.shouldApplyLocalization(r.text,r.localizationId)&&(r.text=(0,t.formatMessage)(r.localizationId)),this.applyLocalizationIdToSubMenuItemOptions(r.items);break;case"ButtonGroup":default:break;case"NumberBox":const o=e;this.shouldApplyLocalization(o.text,o.localizationId)&&(o.text=(0,t.formatMessage)(o.localizationId));break;case"ColorBox":const i=e;this.shouldApplyLocalization(i.text,i.localizationId)&&(i.text=(0,t.formatMessage)(i.localizationId));break;case"SelectBox":const s=e;s._localizeDataSourceItems&&s.dataSource.forEach((e=>{if(e.localizationId){const n=(0,t.formatMessage)(e.localizationId);e.text=e.text?e.text+n:n}}))}}))}applyLocalizationIdToSubMenuItemOptions(e){e.forEach((e=>{this.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=(0,t.formatMessage)(e.localizationId)),e.items&&this.applyLocalizationIdToSubMenuItemOptions(e.items)}))}render(){this.applyLocalizationId(),this.tabPanel=new(o())(this.options.element,{dataSource:this.getRibbonItems().map(((t,e)=>({title:t.title,visible:t.visible,template:()=>this.createToolbar(t.items,e)}))),deferRendering:!1,elementAttr:{class:`dx-ribbon ${(0,a.currentTheme)()}`},focusStateEnabled:!1,selectedIndex:this.options.activeTabIndex,loop:!1,animationEnabled:!1,swipeEnabled:!1,showNavButtons:!0,onTitleClick:this.options.onTitleClickHandler,onSelectionChanged:this.options.onSelectionChangedHandler})}getActiveTabIndex(){return this.tabPanel.option("selectedIndex")}setActiveTabIndex(t){this.tabPanel.option("selectedIndex",t)}setItemVisible(t,e){return this.tabPanel.option(`items[${t}].visible`,e)}getItemVisible(t){return this.tabPanel.option(`items[${t}].visible`)}setContextItemsCategoryVisible(t,e){var n=this.getContextItemsIndexes(t);if(!n)return;let r=!1;const o=this.getActiveTabIndex();n.forEach((t=>{this.getItemVisible(t)!==e&&(o!=t||e||(r=!0),this.setItemVisible(t,e))})),r&&this.setActiveTabIndex(this.options.activeTabIndex)}getContextItemsCategoryVisible(t){var e=this.getContextItemsIndexes(t);return!(!e||!e.length)&&this.getItemVisible(e[0])}getContextItemsIndexes(t){return this.contextItemIndexesByCategoryName[t]}getTabPanel(){return this.tabPanel}getItems(t){return t&&this.toolBarItemsByName[t]?this.toolBarItemsByName[t]:null}adjustControl(){this.tabPanel._dimensionChanged(),this.toolbars.forEach((t=>t._dimensionChanged()))}getRibbonItems(){let t=[].concat(this.options.items);return this.options.contextItemsCategories&&this.options.contextItemsCategories.forEach((e=>{this.contextItemIndexesByCategoryName[e.name]||(this.contextItemIndexesByCategoryName[e.name]=[]),e.items.forEach(((n,r)=>{this.contextItemIndexesByCategoryName[e.name].push(r+t.length)})),t=t.concat(e.items.map((t=>({items:t.items,title:t.title,visible:!1}))))})),t}createToolbar(t,e){const n=document.createElement("div"),r={dataSource:this.getToolbarItemTemplates(t,e),onInitialized:t=>this.toolbars.push(t.component),onItemRendered:t=>{t.itemData.dxIsSeparator&&V.prepareElement(t.itemElement)}};return new(s())(n,r),n}getToolbarItemTemplates(t,e){let n=[];t.forEach((t=>{n=n.concat(this.getToolbarItems(t,e))}));const r=[];let o;return n.forEach((t=>{t instanceof V&&(!o||o instanceof V)||(r.push(t.createToolbarItemTemplate()),o=t)})),r}getToolbarItems(t,e){const n=[];return t.beginGroup&&n.push(new V),n.push(this.interactiveToolbarItemFactory(t,e)),n}interactiveToolbarItemFactory(t,e){let n;switch(t.type){case"Button":n=new g(t,this.options.onCommandExecuted);break;case"ButtonGroup":n=new p(t,this.options.onCommandExecuted);break;case"Menu":n=new S(t,this.options.onCommandExecuted,(n=>{this.addItemToCache(n.name,n),this.raiseOnOnToolbarItemCreated(t,n,e)}));break;case"NumberBox":n=new M(t,this.options.onCommandExecuted);break;case"ColorBox":n=new b(t,this.options.onCommandExecuted,this.options.onOpened,this.options.onClosed);break;default:n=new A(t,this.options.onCommandExecuted)}return this.addItemToCache(t.name,n),this.raiseOnOnToolbarItemCreated(t,n,e),n}addItemToCache(t,e){t&&(this.toolBarItemsByName[t]||(this.toolBarItemsByName[t]=[]),this.toolBarItemsByName[t].push(e))}raiseOnOnToolbarItemCreated(t,e,n){this.options.onOnToolbarItemCreated&&this.options.onOnToolbarItemCreated({options:t,item:e,tabIndex:n})}containsChild(t){return j.K.isItParent(this.element,t)}}}(),(((DevExpress=void 0===DevExpress?{}:DevExpress).AspNetCore=DevExpress.AspNetCore||{}).Spreadsheet=DevExpress.AspNetCore.Spreadsheet||{}).dxribbon=r}();
62340
+ var DevExpress;!function(){"use strict";var t={279:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Browser=void 0;var n=function(){function t(){}return t.IdentUserAgent=function(e,n){void 0===n&&(n=!1);var r=["Mozilla","IE","Firefox","Netscape","Safari","Chrome","Opera","Opera10","Edge"],o="IE",i="Win",s={Safari:2,Chrome:.1,Mozilla:1.9,Netscape:8,Firefox:2,Opera:9,IE:6,Edge:12};if(e&&0!==e.length){e=e.toLowerCase(),t.indentPlatformMajorVersion(e);try{for(var a={Windows:"Win",Macintosh:"Mac","Mac OS":"Mac",Mac_PowerPC:"Mac","cpu os":"MacMobile","cpu iphone os":"MacMobile",Android:"Android","!Windows Phone":"WinPhone","!WPDesktop":"WinPhone","!ZuneWP":"WinPhone"},l="(?:/|\\s*)?",u="(\\d+)(?:\\.((?:\\d+?[1-9])|\\d)0*?)?",c="(?:"+u+")?",h={Safari:"applewebkit(?:.*?(?:version/"+u+"[\\.\\w\\d]*?(?:\\s+mobile/\\S*)?\\s+safari))?",Chrome:"(?:chrome|crios)(?!frame)"+l+c,Mozilla:"mozilla(?:.*rv:"+c+".*Gecko)?",Netscape:"(?:netscape|navigator)\\d*/?\\s*"+c,Firefox:"firefox"+l+c,Opera:"(?:opera|\\sopr)"+l+c,Opera10:"opera.*\\s*version"+l+c,IE:"msie\\s*"+c,Edge:"edge"+l+c},d=null,f=-1,p=0;p<r.length;p++){var m=r[p],g=new RegExp(h[m],"i").exec(e);if(g&&g.index>=0){if("IE"===d&&f>=11&&"Safari"===m)continue;"Opera10"===(d=m)&&(d="Opera");var v="trident"+l+c;f=t.GetBrowserVersion(e,g,v,t.getIECompatibleVersionString()),"Mozilla"===d&&f>=11&&(d="IE")}}d||(d=o);var y=-1!==f;y||(f=s[d]);var x=null,b=Number.MAX_VALUE;for(var I in a)if(Object.prototype.hasOwnProperty.call(a,I)){var w="!"===I.substr(0,1),C=e.indexOf((w?I.substr(1):I).toLowerCase());C>=0&&(C<b||w)&&(b=w?0:C,x=a[I])}var O=e.toUpperCase().match("SM-[A-Z]"),T=O&&O.length>0;"WinPhone"===x&&f<9&&(f=Math.floor(t.getVersionFromTrident(e,"trident"+l+c))),!n&&"IE"===d&&f>7&&document.documentMode<f&&(f=document.documentMode),"WinPhone"===x&&(f=Math.max(9,f)),x||(x=i),x!==a["cpu os"]||y||(f=4),t.fillUserAgentInfo(r,d,f,x,T)}catch(e){t.fillUserAgentInfo(r,o,s[o],i)}}else t.fillUserAgentInfo(r,o,s[o],i)},t.GetBrowserVersion=function(e,n,r,o){var i=t.getVersionFromMatches(n);if(o){var s=t.getVersionFromTrident(e,r);if("edge"===o||parseInt(o)===s)return s}return i},t.getIECompatibleVersionString=function(){if(document.compatible)for(var t=0;t<document.compatible.length;t++)if("IE"===document.compatible[t].userAgent&&document.compatible[t].version)return document.compatible[t].version.toLowerCase();return""},t.isTouchEnabled=function(){return t.hasTouchStart()||t.hasMaxTouchPoints()||t.hasMsMaxTouchPoints()},t.hasTouchStart=function(){return"ontouchstart"in window},t.hasMaxTouchPoints=function(){return navigator.maxTouchPoints>0},t.hasMsMaxTouchPoints=function(){return navigator.msMaxTouchPoints>0},t.hasNavigator=function(){return"undefined"!=typeof navigator},t.fillUserAgentInfo=function(e,n,r,o,i){void 0===i&&(i=!1);for(var s=0;s<e.length;s++){var a=e[s];t[a]=a===n}t.Version=Math.floor(10*r)/10,t.MajorVersion=Math.floor(t.Version),t.WindowsPlatform="Win"===o||"WinPhone"===o,t.MacOSMobilePlatform="MacMobile"===o||"Mac"===o&&t.isTouchEnabled(),t.MacOSPlatform="Mac"===o&&!t.MacOSMobilePlatform,t.AndroidMobilePlatform="Android"===o,t.WindowsPhonePlatform="WinPhone"===o,t.WebKitFamily=t.Safari||t.Chrome||t.Opera&&t.MajorVersion>=15,t.NetscapeFamily=t.Netscape||t.Mozilla||t.Firefox,t.WebKitTouchUI=t.MacOSMobilePlatform||t.AndroidMobilePlatform;var l=t.IE&&t.MajorVersion>9&&t.WindowsPlatform&&t.UserAgent.toLowerCase().indexOf("touch")>=0;if(t.MSTouchUI=l||t.Edge&&!!window.navigator.maxTouchPoints,t.TouchUI=t.WebKitTouchUI||t.MSTouchUI,t.MobileUI=t.WebKitTouchUI||t.WindowsPhonePlatform,t.AndroidDefaultBrowser=t.AndroidMobilePlatform&&!t.Chrome,t.AndroidChromeBrowser=t.AndroidMobilePlatform&&t.Chrome,i&&(t.SamsungAndroidDevice=i),t.MSTouchUI){var u=t.UserAgent.toLowerCase().indexOf("arm;")>-1;t.VirtualKeyboardSupported=u||t.WindowsPhonePlatform}else t.VirtualKeyboardSupported=t.WebKitTouchUI;t.fillDocumentElementBrowserTypeClassNames(e)},t.indentPlatformMajorVersion=function(e){var n=/(?:(?:windows nt|macintosh|mac os|cpu os|cpu iphone os|android|windows phone|linux) )(\d+)(?:[-0-9_.])*/.exec(e);n&&(t.PlaformMajorVersion=n[1])},t.getVersionFromMatches=function(t){var e=-1,n="";return t&&(t[1]&&(n+=t[1],t[2]&&(n+="."+t[2])),""!==n&&(e=parseFloat(n),isNaN(e)&&(e=-1))),e},t.getVersionFromTrident=function(e,n){var r=new RegExp(n,"i").exec(e);return t.getVersionFromMatches(r)+4},t.fillDocumentElementBrowserTypeClassNames=function(e){for(var n="",r=e.concat(["WindowsPlatform","MacOSPlatform","MacOSMobilePlatform","AndroidMobilePlatform","WindowsPhonePlatform","WebKitFamily","WebKitTouchUI","MSTouchUI","TouchUI","AndroidDefaultBrowser"]),o=0;o<r.length;o++){var i=r[o];t[i]&&(n+="dx"+i+" ")}n+="dxBrowserVersion-"+t.MajorVersion,"undefined"!=typeof document&&document&&document.documentElement&&(""!==document.documentElement.className&&(n=" "+n),document.documentElement.className+=n,t.Info=n)},t.getUserAgent=function(){return t.hasNavigator()&&navigator.userAgent?navigator.userAgent.toLowerCase():""},t.UserAgent=t.getUserAgent(),t._foo=t.IdentUserAgent(t.UserAgent),t}();e.Browser=n},820:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Flag=void 0;var n=function(){function t(t){void 0===t&&(t=0),this.value=t}return t.prototype.get=function(t){return(this.value&t)===t},t.prototype.set=function(t,e){return(this.value&t)===t!==e&&(e?this.value|=t:this.value^=t),this},t.prototype.add=function(t){this.value|=t},t.prototype.anyOf=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t;n<r.length;n++){var o=r[n];if((this.value&o)===o)return!0}return!1},t.prototype.getValue=function(){return this.value},t.prototype.clone=function(){return new t(this.value)},t}();e.Flag=n},799:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtendedMinMax=e.ExtendedMax=e.ExtendedMin=e.MinMaxNumber=e.MinMax=void 0;var r=n(20),o=function(t,e){this.minElement=t,this.maxElement=e};e.MinMax=o;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.maxElement-this.minElement},enumerable:!1,configurable:!0}),e}(o);e.MinMaxNumber=i;var s=function(t,e){this.minElement=t,this.minValue=e};e.ExtendedMin=s;var a=function(t,e){this.maxElement=t,this.maxValue=e};e.ExtendedMax=a;var l=function(t){function e(e,n,r,o){var i=t.call(this,e,r)||this;return i.minValue=n,i.maxValue=o,i}return r.__extends(e,t),e}(o);e.ExtendedMinMax=l},900:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Point=void 0;var n=function(){function t(t,e){this.x=t,this.y=e}return t.zero=function(){return new t(0,0)},t.fromNumber=function(e){return new t(e,e)},t.prototype.isZero=function(){return 0===this.x&&0===this.y},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y},t.prototype.offset=function(t,e){return this.x+=t,this.y+=e,this},t.prototype.offsetByPoint=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.multiply=function(t,e){return this.x*=t,this.y*=e,this},t.prototype.negative=function(){return this.x*=-1,this.y*=-1,this},t.prototype.applyConverter=function(t){return this.x=t(this.x),this.y=t(this.y),this},t.plus=function(e,n){return new t(e.x+n.x,e.y+n.y)},t.minus=function(e,n){return new t(e.x-n.x,e.y-n.y)},t.xComparer=function(t,e){return t.x-e.x},t.yComparer=function(t,e){return t.y-e.y},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}();e.Point=n},11:function(t,e,n){e.Pu=e.Ae=void 0;var r,o=n(820),i=n(104),s=n(860),a=n(900),l=n(353),u=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"center",{get:function(){return t.center(this)},enumerable:!1,configurable:!0}),t.prototype.createRectangle=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.createSize=function(){return new l.Size(this.width,this.height)},t.prototype.createPosition=function(){return new a.Point(this.x,this.y)},t.prototype.createVerticalInterval=function(){return new s.FixedInterval(this.y,this.height)},t.prototype.createHorizontalInterval=function(){return new s.FixedInterval(this.x,this.width)},t.fromGeometry=function(e,n){return new t(e.x,e.y,n.width,n.height)},t.fromPoints=function(e,n){return new t(Math.min(e.x,n.x),Math.min(e.y,n.y),Math.abs(e.x-n.x),Math.abs(e.y-n.y))},t.fromPositions=function(e,n,r,o){return new t(Math.min(e,r),Math.min(n,o),Math.abs(r-e),Math.abs(o-n))},t.fromCenter=function(e,n){return new t(e.x-n,e.y-n,2*n,2*n)},t.prototype.isCollapsed=function(){return 0===this.width||0===this.height},t.prototype.isEmpty=function(){return 0===this.x&&0===this.y&&0===this.width&&0===this.height},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.setPosition=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.setSize=function(t){return this.width=t.width,this.height=t.height,this},t.prototype.setGeomerty=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.prototype.moveRectangle=function(t,e){return this.x+=t,this.y+=e,this},t.prototype.moveRectangleByPoint=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.resize=function(t,e){return this.width+=t,this.height+=e,this},t.prototype.nonNegativeSize=function(){return this.width<0&&(this.width=0),this.height<0&&(this.height=0),this},t.prototype.multiply=function(t,e){return this.x*=t,this.y*=e,this.width*=t,this.height*=e,this},t.prototype.equals=function(e){return t.equals(this,e)},t.prototype.clone=function(){var e=new t(0,0,0,0);return e.copyFrom(this),e},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},t.prototype.containsPoint=function(e){return t.containsPoint(this,e)},t.prototype.containsRectangle=function(t){return this.x<=t.x&&this.right>=t.right&&this.y<=t.y&&this.bottom>=t.bottom},t.prototype.inflate=function(t,e){return void 0===e&&(e=t),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this},t.prototype.applyOffsetsInside=function(t){return this.x+=t.left,this.y+=t.top,this.width-=t.left+t.right,this.height-=t.top+t.bottom,this},t.prototype.applyNormalizedOffsetsInside=function(t){var e=Math.max(0,t.left),n=e+Math.max(0,t.right);0!==n&&(n<=this.width?(this.x+=e,this.width-=n):(this.x+=this.width*(e/n),this.width=0));var r=Math.max(0,t.top),o=r+Math.max(0,t.bottom);return 0!==o&&(o<=this.height?(this.y+=r,this.height-=o):(this.y+=this.height*(r/o),this.height=0)),this},t.prototype.applyOffsetsOutside=function(t){return this.x-=t.left,this.y-=t.top,this.width+=t.left+t.right,this.height+=t.top+t.bottom,this},t.prototype.applyConverter=function(t){return this.x=t(this.x),this.y=t(this.y),this.width=t(this.width),this.height=t(this.height),this},t.getHorizIntersection=function(t,e){return i.IntervalAlgorithms.getIntersection(new s.FixedInterval(t.x,t.width),new s.FixedInterval(e.x,e.width))},t.getVertIntersection=function(t,e){return i.IntervalAlgorithms.getIntersection(new s.FixedInterval(t.y,t.height),new s.FixedInterval(e.y,e.height))},t.getIntersection=function(e,n){var r=i.IntervalAlgorithms.getIntersection(new s.FixedInterval(e.x,e.width),new s.FixedInterval(n.x,n.width));if(!r)return null;var o=i.IntervalAlgorithms.getIntersection(new s.FixedInterval(e.y,e.height),new s.FixedInterval(n.y,n.height));return o?new t(r.start,o.start,r.length,o.length):null},t.getHorNonCollapsedIntersection=function(e,n){var r=t.getHorizIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.getVertNonCollapsedIntersection=function(e,n){var r=t.getVertIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.getNonCollapsedIntersection=function(e,n){var r=t.getIntersection(e,n);return r&&!r.isCollapsed()?r:null},t.areIntersected=function(t,e){return!(t.x>e.x+e.width||e.x>t.x+t.width||t.y>e.y+e.height||e.y>t.y+t.height)},t.union=function(e,n){var r=Math.max(e.x+e.width,n.x+n.width),o=Math.max(e.y+e.height,n.y+n.height),i=Math.min(e.x,n.x),s=Math.min(e.y,n.y);return new t(i,s,r-i,o-s)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},t.center=function(t){return new a.Point(t.x+t.width/2,t.y+t.height/2)},t.containsPoint=function(t,e){var n=t.x+t.width,r=t.y+t.height;return e.y>=t.y&&r>=e.y&&e.x>=t.x&&n>=e.x},t}();e.Ae=u,function(t){t[t.None=0]="None",t[t.Top=1]="Top",t[t.Bottom=2]="Bottom",t[t.Left=4]="Left",t[t.Right=8]="Right"}(r=e.Pu||(e.Pu={})),function(){function t(t,e){this.initRectangle=t,this.initPoint=e,this.deviation=new o.Flag(r.None)}t.prototype.calcDeviation=function(){return this.initPoint.x<this.initRectangle.x?this.deviation.set(r.Left,!0):this.initPoint.x>this.initRectangle.right&&this.deviation.set(r.Right,!0),this.initPoint.y<this.initRectangle.y?this.deviation.set(r.Top,!0):this.initPoint.y>this.initRectangle.bottom&&this.deviation.set(r.Bottom,!0),this},t.prototype.calcAdditionalParams=function(){return this.insidePoint=this.initPoint.clone(),this.offsetToInside=new a.Point(0,0),this.deviation.get(r.Left)?(this.insidePoint.x=this.initRectangle.x,this.offsetToInside.x=this.insidePoint.x-this.initPoint.x):this.deviation.get(r.Right)&&(this.insidePoint.x=this.initRectangle.right,this.offsetToInside.x=this.initPoint.x-this.insidePoint.x),this.deviation.get(r.Top)?(this.insidePoint.y=this.initRectangle.y,this.offsetToInside.y=this.insidePoint.y-this.initPoint.y):this.deviation.get(r.Bottom)&&(this.insidePoint.y=this.initRectangle.bottom,this.offsetToInside.y=this.initPoint.y-this.insidePoint.y),this}}()},353:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Size=void 0;var n=function(){function t(t,e){this.width=t,this.height=e}return t.empty=function(){return new t(0,0)},t.fromNumber=function(e){return new t(e,e)},t.initByCommonAction=function(e){var n=function(t){return t.width},r=function(t){return t.height};return new t(e(n,r),e(r,n))},t.prototype.isEmpty=function(){return 0===this.width&&0===this.height},t.prototype.toString=function(){return JSON.stringify(this)},t.prototype.nonNegativeSize=function(){return this.width<0&&(this.width=0),this.height<0&&(this.height=0),this},t.prototype.offset=function(t,e){return this.width=this.width+t,this.height=this.height+e,this},t.prototype.multiply=function(t,e){return this.width*=t,this.height*=e,this},t.prototype.equals=function(t){return this.width===t.width&&this.height===t.height},t.prototype.clone=function(){return new t(this.width,this.height)},t.prototype.copyFrom=function(t){this.width=t.width,this.height=t.height},t.prototype.applyConverter=function(t){return this.width=t(this.width),this.height=t(this.height),this},t.equals=function(t,e){return t.width===e.width&&t.height===e.height},t}();e.Size=n},104:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IntervalAlgorithms=void 0;var r=n(940),o=n(400),i=n(860),s=n(102),a=function(){function t(){}return t.oneConstainsOtherArraysOfInterval=function(t,e){for(var n=r.ListUtils.deepCopy(e),o=n.pop();o;){if(!r.ListUtils.unsafeAnyOf(t,function(t){return t.containsInterval(o)}))return!1;o=n.pop()}return!0},t.getIntersection=function(e,n){return t.getIntersectionTemplate(e,n,e)},t.getIntersectionTemplate=function(t,e,n){var r=Math.max(t.start,e.start),o=Math.min(t.end,e.end);return r>o?null:n.makeByStartEnd(r,o)},t.getIntersectionNonNullLength=function(e,n){return t.getIntersectionNonNullLengthTemplate(e,n,e)},t.getIntersectionNonNullLengthTemplate=function(e,n,r){var o=t.getIntersectionTemplate(e,n,r);return o&&o.length?o:null},t.getIntersectionsTwoArraysOfInterval=function(e,n){return t.getIntersectionsTwoArraysOfIntervalTemplate(e,n,e[0])},t.getIntersectionsTwoArraysOfIntervalTemplate=function(e,n,r){for(var o=[],i=e.length,s=n.length,a=0,l=0,u=e[a],c=n[l],h=null;a<i&&l<s;){var d=t.getIntersectionTemplate(u,c,r);d&&(h&&h.end===d.start?h.length+=d.length:(h=d,o.push(h))),u.end<c.end?u=e[++a]:c=n[++l]}return o},t.getAffectedObjects=function(e,n,r,i){return void 0===r&&(r=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,function(t){return t.interval.start},t)}),void 0===i&&(i=function(t,e,n){return t.start===n&&0===e}),t.getAffectedObjectsTemplate(e,n,n[0],r,i)},t.getAffectedObjectsTemplate=function(e,n,r,i,a){void 0===i&&(i=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,function(t){return t.interval.start},t)}),void 0===a&&(a=function(t,e,n){return t.start===n&&0===e});for(var l=new s.SparseIntervalsCollector(r),u=0,c=n;u<c.length;u++)for(var h=c[u],d=Math.max(0,i(h.start,e)),f=void 0;f=e[d];d++){var p=f.interval;if(p.start>h.end)break;var m=t.getIntersectionTemplate(p,h,r);m&&(m.length||a(p,h.length,m.start))&&l.add(d)}return l.getIntervals()},t.handleAffectedObjects=function(e,n,r,s){void 0===s&&(s=function(t){return o.SearchUtils.normedInterpolationIndexOf(e,function(t){return t.interval.start},t)});for(var a=new i.FixedInterval(0,0),l=0,u=n;l<u.length;l++)for(var c=u[l],h=Math.max(0,s(c.start,e)),d=void 0;d=e[h];h++){var f=d.interval;if(f.start>c.end)break;var p=t.getIntersectionTemplate(f,c,a);p&&r(d,h,c,p)}},t.getMergedIntervals=function(e,n){return t.getMergedIntervalsTemplate(e,n,e[0])},t.getMergedIntervalsTemplate=function(t,e,n){if(t.length<2)return t.length>0?[n.makeByStartLength(t[0].start,t[0].length)]:[];for(var r=e?[].concat(t).sort(function(t,e){return t.start-e.start}):t,o=[],i=0,s=void 0;s=r[i];){var a=s.start,l=s.end;for(++i;void 0!==(s=r[i])&&s.start<=l;i++)s.end>l&&(l=s.end);o.push(n.makeByStartEnd(a,l))}return o},t.reflectIntervals=function(e,n){return t.reflectIntervalsTemplate(e,n,n)},t.reflectIntervalsTemplate=function(e,n,o){if(!e.length)return[o.makeByStartLength(n.start,n.length)];var i=r.ListUtils.last(e).end,s=r.ListUtils.reducedMap(e,function(r,i){return t.getIntersectionNonNullLengthTemplate(o.makeByStartEnd(e[i-1].end,r.start),n,o)},1);return n.start<e[0].start&&s.unshift(o.makeByStartEnd(n.start,e[0].start)),n.end>i&&s.push(o.makeByStartEnd(i,n.end)),s},t.reflectionOfPointOnInterval=function(t,e,n){return(t-e.start)/e.length*n.length+n.start},t}();e.IntervalAlgorithms=a},814:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConstInterval=void 0;var n=function(){function t(){}return Object.defineProperty(t.prototype,"center",{get:function(){return this.start+this.length/2},enumerable:!1,configurable:!0}),t.prototype.isNormalized=function(){return this.end>=this.start},t.prototype.isCollapsed=function(){return 0===this.length},t.prototype.equals=function(t){return this.start===t.start&&this.end===t.end},t.isCollapsed=function(t){return!t[1]&&t[0].isCollapsed()},t.prototype.containsInterval=function(t){return this.start<=t.start&&this.end>=t.end},t.prototype.containsIntervalWithoutEnd=function(t){return this.start<=t.start&&this.end>t.end},t.prototype.contains=function(t){return this.start<=t&&t<this.end},t.prototype.containsWithIntervalEnd=function(t){return this.start<=t&&t<=this.end},t.prototype.containsWithoutIntervalEndAndStart=function(t){return this.start<t&&t<this.end},t}();e.ConstInterval=n},860:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FixedInterval=void 0;var r=n(20),o=function(t){function e(e,n){var r=t.call(this)||this;return r.start=e,r.length=n,r}return r.__extends(e,t),Object.defineProperty(e.prototype,"end",{get:function(){return this.start+this.length},set:function(t){this.length=t-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"center",{get:function(){return this.start+this.length/2},enumerable:!1,configurable:!0}),e.prototype.copyFrom=function(t){this.start=t.start,this.length=t.length},e.prototype.equals=function(t){return t&&this.start===t.start&&this.length===t.length},e.prototype.clone=function(){return new e(this.start,this.length)},e.prototype.makeByStartEnd=function(t,n){return new e(t,n-t)},e.prototype.makeByStartLength=function(t,n){return new e(t,n)},e.prototype.makeByLengthEnd=function(t,n){return new e(n-t,t)},e.fromPositions=function(t,n){return new e(t,n-t)},e.makeByConstInterval=function(t){return new e(t.start,t.length)},e.prototype.expand=function(t){var e=Math.max(t.end,this.end);return this.start=Math.min(t.start,this.start),this.end=e,this},e}(n(678).MutableInterval);e.FixedInterval=o},678:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MutableInterval=void 0;var r=n(20),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.normalizeLength=function(){return this.length<0&&(this.length=0),this},e}(n(814).ConstInterval);e.MutableInterval=o},102:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervalsCollector=void 0;var r=n(448),o=function(){function t(t){this.intervals=[],this.template=t}return t.prototype.add=function(t){this.curr&&this.curr.end===t?this.curr.length++:(this.curr=this.template.makeByStartLength(t,1),this.intervals.push(this.curr))},t.prototype.getIntervals=function(){return new r.SparseIntervals(this.intervals)},t}();e.SparseIntervalsCollector=o},448:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervals=void 0;var r=n(94),o=n(510),i=function(){function t(t){void 0===t&&(t=[]),this.list=t,this._count=0,this._numIntervals=0;for(var e=0,n=t;e<n.length;e++){var r=n[e];this._count+=r.length,this._numIntervals++}}return Object.defineProperty(t.prototype,"count",{get:function(){return this._count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numIntervals",{get:function(){return this._numIntervals},enumerable:!1,configurable:!0}),t.prototype.getInterval=function(t){return this.list[t]},t.prototype.getNativeIterator=function(){return new r.SparseIntervalsIterator(this)},t.prototype.getObjectsIterator=function(t){return new o.SparseObjectsIterator(this,t)},t}();e.SparseIntervals=i},94:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseIntervalsIterator=void 0;var n=function(){function t(t){this.sparseIntervals=t,this.intervalIndex=-1}return Object.defineProperty(t.prototype,"isStarted",{get:function(){return!!this.curr},enumerable:!1,configurable:!0}),t.prototype.moveNext=function(){return this.curr&&this.posInInterval+1<this.curr.length?(this.posInInterval++,this.index++,this.initObject(),!0):this.intervalIndex+1<this.sparseIntervals.numIntervals&&(this.intervalIndex++,this.curr=this.sparseIntervals.getInterval(this.intervalIndex),this.curr.length?(this.posInInterval=0,this.index=this.curr.start,this.initObject(),!0):this.moveNext())},t.prototype.movePrev=function(){return this.curr&&this.posInInterval-1>=this.curr.start?(this.posInInterval--,this.index--,this.initObject(),!0):(this.isStarted||(this.intervalIndex=this.sparseIntervals.numIntervals),this.intervalIndex-1>=0&&(this.intervalIndex--,this.curr=this.sparseIntervals.getInterval(this.intervalIndex),this.posInInterval=Math.max(this.curr.length-1,this.curr.start),this.index=this.curr.start,this.initObject(),!0))},t.prototype.initObject=function(){},t}();e.SparseIntervalsIterator=n},510:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SparseObjectsIterator=void 0;var r=n(20),o=function(t){function e(e,n){var r=t.call(this,e)||this;return r.objects=n,r}return r.__extends(e,t),e.prototype.initObject=function(){this.obj=this.objects[this.index]},e}(n(94).SparseIntervalsIterator);e.SparseObjectsIterator=o},491:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.numberToStringHex=e.numberToStringBin=e.isOdd=e.isEven=e.isNonNullString=e.isString=e.isNumber=e.boolToString=e.boolToInt=e.isDefined=void 0;var r=n(49);e.isDefined=function(t){return null!=t},e.boolToInt=function(t){return t?1:0},e.boolToString=function(t){return t?"1":"0"},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isNonNullString=function(t){return!!t},e.isEven=function(t){return t%2!=0},e.isOdd=function(t){return t%2==0},e.numberToStringBin=function(t,e){return void 0===e&&(e=0),r.StringUtils.padLeft(t.toString(2),e,"0")},e.numberToStringHex=function(t,e){return void 0===e&&(e=0),r.StringUtils.padLeft(t.toString(16),e,"0")}},170:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Equals=e.Comparers=void 0;var n=function(){function t(){}return t.number=function(t,e){return t-e},t.string=function(t,e){return t===e?0:t>e?1:-1},t.stringIgnoreCase=function(t,e){return(t=t.toLowerCase())===(e=e.toLowerCase())?0:t>e?1:-1},t}();e.Comparers=n;var r=function(){function t(){}return t.simpleType=function(t,e){return t===e},t.object=function(t,e){return t&&e&&(t===e||t.equals(e))},t}();e.Equals=r},907:function(t,e,n){e.K=void 0;var r=n(279),o=n(491),i=n(679),s=n(49),a=function(){function t(){}return t.clearInnerHtml=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},t.setStylePosition=function(t,e){t.left=i.MathUtils.round(e.x,3)+"px",t.top=i.MathUtils.round(e.y,3)+"px"},t.setStyleSize=function(t,e){t.width=i.MathUtils.round(e.width,3)+"px",t.height=i.MathUtils.round(e.height,3)+"px"},t.setStyleSizeAndPosition=function(e,n){t.setStylePosition(e,n),t.setStyleSize(e,n)},t.hideNode=function(t){if(t){var e=t.parentNode;e&&e.removeChild(t)}},t.isHTMLElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},t.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},t.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},t.isHTMLTableRowElement=function(t){return"TR"===t.tagName},t.isItParent=function(t,e){if(!t||!e)return!1;for(;e;){if(e===t)return!0;if("BODY"===e.tagName)return!1;e=e.parentNode}return!1},t.getParentByTagName=function(t,e){for(e=e.toUpperCase();t;){if("BODY"===t.tagName)return null;if(t.tagName===e)return t;t=t.parentNode}return null},t.getDocumentScrollTop=function(){var e=r.Browser.IE&&"hidden"===t.getCurrentStyle(document.body).overflow&&document.body.scrollTop>0;return r.Browser.WebKitFamily||r.Browser.Edge||e?r.Browser.MacOSMobilePlatform?window.pageYOffset:r.Browser.WebKitFamily&&document.documentElement.scrollTop||document.body.scrollTop:document.documentElement.scrollTop},t.getDocumentScrollLeft=function(){var e=r.Browser.IE&&"hidden"===t.getCurrentStyle(document.body).overflow&&document.body.scrollLeft>0;return r.Browser.Edge||e?document.body?document.body.scrollLeft:document.documentElement.scrollLeft:r.Browser.WebKitFamily?document.documentElement.scrollLeft||document.body.scrollLeft:document.documentElement.scrollLeft},t.getCurrentStyle=function(t){if(t.currentStyle)return t.currentStyle;if(document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(t,null);if(!e&&r.Browser.Firefox&&window.frameElement){for(var n=[],i=window.frameElement;!(e=document.defaultView.getComputedStyle(t,null));)n.push([i,i.style.display]),i.style.setProperty("display","block","important"),i="BODY"===i.tagName?i.ownerDocument.defaultView.frameElement:i.parentNode;e=function(t){if("object"!=typeof t||!o.isDefined(t))return t;var e={};for(var n in t)e[n]=t[n];return e}(e);for(var s=void 0,a=0;s=n[a];a++)s[0].style.display=s[1];document.body.offsetWidth}return e}return window.getComputedStyle(t,null)},t.setFocus=function(t){function e(){try{t.focus(),r.Browser.IE&&document.activeElement!==t&&t.focus()}catch(t){}}r.Browser.MacOSMobilePlatform?e():setTimeout(function(){e()},100)},t.hasClassName=function(t,e){try{var n=e.split(" "),r=t.classList;if(r){for(var o=n.length-1;o>=0;o--)if(!r.contains(n[o]))return!1}else{var i=t.getAttribute&&t.getAttribute("class");if(!i)return!1;var s=i.split(" ");for(o=n.length-1;o>=0;o--)if(s.indexOf(n[o])<0)return!1}return!0}catch(t){return!1}},t.addClassName=function(e,n){if(!t.hasClassName(e,n)){var r=e.getAttribute&&e.getAttribute("class");e.setAttribute("class",""===r?n:r+" "+n)}},t.removeClassName=function(t,e){var n=" "+(t.getAttribute&&t.getAttribute("class"))+" ",r=n.replace(" "+e+" "," ");n.length!==r.length&&t.setAttribute("class",s.StringUtils.trim(r))},t.toggleClassName=function(e,n,r){void 0===r?t.hasClassName(e,n)?t.removeClassName(e,n):t.addClassName(e,n):r?t.addClassName(e,n):t.removeClassName(e,n)},t.pxToInt=function(t){return l(t,parseInt)},t.pxToFloat=function(t){return l(t,parseFloat)},t.getAbsolutePositionY=function(e){function n(e){return Math.round(e.getBoundingClientRect().top+t.getDocumentScrollTop())}return e?r.Browser.IE?function(e){return r.Browser.IE&&null===e.parentNode?0:e.getBoundingClientRect().top+t.getDocumentScrollTop()}(e):r.Browser.Firefox&&r.Browser.Version>=3?n(e):r.Browser.NetscapeFamily&&(!r.Browser.Firefox||r.Browser.Version<3)?function(e){for(var n=u(e,!1),o=!0;null!=e;){if(n+=e.offsetTop,o||null==e.offsetParent||(n-=e.scrollTop),!o&&r.Browser.Firefox){var i=t.getCurrentStyle(e);"DIV"===e.tagName&&"visible"!==i.overflow&&(n+=t.pxToInt(i.borderTopWidth))}o=!1,e=e.offsetParent}return n}(e):r.Browser.WebKitFamily||r.Browser.Edge?n(e):function(t){for(var e=0,n=!0;null!=t;)e+=t.offsetTop,n||null==t.offsetParent||(e-=t.scrollTop),n=!1,t=t.offsetParent;return e}(e):0},t.getAbsolutePositionX=function(e){function n(e){return Math.round(e.getBoundingClientRect().left+t.getDocumentScrollLeft())}return e?r.Browser.IE?function(e){return r.Browser.IE&&null===e.parentNode?0:e.getBoundingClientRect().left+t.getDocumentScrollLeft()}(e):r.Browser.Firefox&&r.Browser.Version>=3?n(e):r.Browser.Opera&&r.Browser.Version<=12?function(t){for(var e=!0,n=u(t,!0);null!=t;)n+=t.offsetLeft,e||(n-=t.scrollLeft),t=t.offsetParent,e=!1;return n+=document.body.scrollLeft}(e):r.Browser.NetscapeFamily&&(!r.Browser.Firefox||r.Browser.Version<3)?function(e){for(var n=u(e,!0),o=!0;null!=e;){if(n+=e.offsetLeft,o||null==e.offsetParent||(n-=e.scrollLeft),!o&&r.Browser.Firefox){var i=t.getCurrentStyle(e);"DIV"===e.tagName&&"visible"!==i.overflow&&(n+=t.pxToInt(i.borderLeftWidth))}o=!1,e=e.offsetParent}return n}(e):r.Browser.WebKitFamily||r.Browser.Edge?n(e):function(t){for(var e=0,n=!0;null!=t;)e+=t.offsetLeft,n||null==t.offsetParent||(e-=t.scrollLeft),n=!1,t=t.offsetParent;return e}(e):0},t.isInteractiveControl=function(t){return["A","INPUT","SELECT","OPTION","TEXTAREA","BUTTON","IFRAME"].indexOf(t.tagName)>-1},t.getClearClientHeight=function(e){return e.offsetHeight-(t.getTopBottomPaddings(e)+t.getVerticalBordersWidth(e))},t.getTopBottomPaddings=function(e,n){var r=n||t.getCurrentStyle(e);return t.pxToInt(r.paddingTop)+t.pxToInt(r.paddingBottom)},t.getVerticalBordersWidth=function(e,n){o.isDefined(n)||(n=r.Browser.IE&&9!==r.Browser.MajorVersion&&window.getComputedStyle?window.getComputedStyle(e):t.getCurrentStyle(e));var i=0;return"none"!==n.borderTopStyle&&(i+=t.pxToFloat(n.borderTopWidth)),"none"!==n.borderBottomStyle&&(i+=t.pxToFloat(n.borderBottomWidth)),i},t.getNodes=function(t,e){for(var n=t.all||t.getElementsByTagName("*"),r=[],o=0;o<n.length;o++){var i=n[o];e(i)&&r.push(i)}return r},t.getChildNodes=function(t,e){for(var n=t.childNodes,r=[],o=0;o<n.length;o++){var i=n[o];e(i)&&r.push(i)}return r},t.getNodesByClassName=function(e,n){if(e.querySelectorAll){var r=e.querySelectorAll("."+n),o=[];return r.forEach(function(t){return o.push(t)}),o}return t.getNodes(e,function(e){return t.hasClassName(e,n)})},t.getChildNodesByClassName=function(e,n){return e.querySelectorAll?function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r];e(o)&&n.push(o)}return n}(e.querySelectorAll("."+n),function(t){return t.parentNode===e}):t.getChildNodes(e,function(e){return!!t.isElementNode(e)&&(o.isNonNullString(e.className)&&t.hasClassName(e,e.className))})},t.getVerticalScrollBarWidth=function(){if(void 0===t.verticalScrollBarWidth){var e=document.createElement("DIV");e.style.cssText="position: absolute; top: 0px; left: 0px; visibility: hidden; width: 200px; height: 150px; overflow: hidden; box-sizing: content-box",document.body.appendChild(e);var n=document.createElement("P");e.appendChild(n),n.style.cssText="width: 100%; height: 200px;";var r=n.offsetWidth;e.style.overflow="scroll";var o=n.offsetWidth;r===o&&(o=e.clientWidth),t.verticalScrollBarWidth=r-o,document.body.removeChild(e)}return t.verticalScrollBarWidth},t.getHorizontalBordersWidth=function(e,n){o.isDefined(n)||(n=r.Browser.IE&&window.getComputedStyle?window.getComputedStyle(e):t.getCurrentStyle(e));var i=0;return"none"!==n.borderLeftStyle&&(i+=t.pxToFloat(n.borderLeftWidth)),"none"!==n.borderRightStyle&&(i+=t.pxToFloat(n.borderRightWidth)),i},t.getFontFamiliesFromCssString=function(t){return t.split(",").map(function(t){return s.StringUtils.trim(t.replace(/'|"/gi,""))})},t.getInnerText=function(e){if(r.Browser.Safari&&r.Browser.MajorVersion<=5){null===t.html2PlainTextFilter&&(t.html2PlainTextFilter=document.createElement("DIV"),t.html2PlainTextFilter.style.width="0",t.html2PlainTextFilter.style.height="0",t.html2PlainTextFilter.style.overflow="visible",t.html2PlainTextFilter.style.display="none",document.body.appendChild(t.html2PlainTextFilter));var n=t.html2PlainTextFilter;n.innerHTML=e.innerHTML,n.style.display="";var o=n.innerText;return n.style.display="none",o}return r.Browser.NetscapeFamily||r.Browser.WebKitFamily||r.Browser.IE&&r.Browser.Version>=9||r.Browser.Edge?e.textContent:e.innerText},t.html2PlainTextFilter=null,t.verticalScrollBarWidth=void 0,t}();function l(t,e){var n=0;if(o.isDefined(t)&&""!==t)try{var r=t.indexOf("px");r>-1&&(n=e(t.substr(0,r)))}catch(t){}return n}function u(t,e){for(var n=0,r=!0;null!=t&&"BODY"!==t.tagName;){var o=a.getCurrentStyle(t);if("absolute"===o.position)break;r||"DIV"!==t.tagName||""!==o.position&&"static"!==o.position||(n-=e?t.scrollLeft:t.scrollTop),t=t.parentNode,r=!1}return n}e.K=a},940:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ListUtils=void 0;var r=n(799),o=n(170),i=function(){function t(){}return t.remove=function(t,e){var n=t.indexOf(e,0);n>=0&&t.splice(n,1)},t.removeBy=function(t,e){for(var n=t.length,r=0;r<n;r++)if(e(t[r],r))return t.splice(r,1)[0];return null},t.shallowCopy=function(t){return t.slice()},t.deepCopy=function(e){return t.map(e,function(t){return t.clone()})},t.initByValue=function(t,e){for(var n=[];t>0;t--)n.push(e);return n},t.initByCallback=function(t,e){for(var n=[],r=0;r<t;r++)n.push(e(r));return n},t.forEachOnInterval=function(t,e){for(var n=t.end,r=t.start;r<n;r++)e(r)},t.reverseForEachOnInterval=function(t,e){for(var n=t.start,r=t.end-1;r>=n;r--)e(r)},t.reducedMap=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++){var s=e(t[i],i);null!==s&&o.push(s)}return o},t.filter=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++){var s=t[i];e(s,i)&&o.push(s)}return o},t.map=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=[],i=n;i<r;i++)o.push(e(t[i],i));return o},t.indexBy=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(e(t[o],o))return o;return-1},t.reverseIndexBy=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(e(t[o],o))return o;return-1},t.elementBy=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.indexBy(e,n,r,o);return i<0?null:e[i]},t.reverseElementBy=function(e,n,r,o){void 0===r&&(r=e.length-1),void 0===o&&(o=0);var i=t.reverseIndexBy(e,n,r,o);return i<0?null:e[i]},t.last=function(t){return t[t.length-1]},t.setLast=function(t,e){return t[t.length-1]=e},t.incLast=function(t){return++t[t.length-1]},t.decLast=function(t){return--t[t.length-1]},t.equals=function(e,n){return e.length===n.length&&t.allOf2(e,n,function(t,e){return t.equals(e)})},t.equalsByReference=function(t,e){var n=t.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0},t.unique=function(e,n,r,o){void 0===r&&(r=n),void 0===o&&(o=function(){});var i=e.length;if(0===i)return[];var s=(e=e.sort(n))[0],a=t.reducedMap(e,function(t){return 0!==r(s,t)?(s=t,t):(o(t),null)},1,i);return a.unshift(e[0]),a},t.uniqueNumber=function(t){t=t.sort(o.Comparers.number);for(var e=Number.NaN,n=t.length-1;n>=0;n--)e===t[n]?t.splice(n,1):e=t[n];return t},t.forEach=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)e(t[o],o)},t.forEach2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)n(t[i],e[i],i)},t.reverseForEach=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)e(t[o],o)},t.reverseIndexOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(t[o]===e)return o;return-1},t.accumulate=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=e,s=r;s<o;s++)i=n(i,t[s],s);return i},t.accumulateNumber=function(t,e,n,r,o){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=n,s=r;s<o;s++)i+=e(t[s],s,i);return i},t.anyOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(e(t[o],o))return!0;return!1},t.unsafeAnyOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++){var i=e(t[o],o);if(i)return i}return null},t.reverseAnyOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--)if(e(t[o],o))return!0;return!1},t.unsafeReverseAnyOf=function(t,e,n,r){void 0===n&&(n=t.length-1),void 0===r&&(r=0);for(var o=n;o>=r;o--){var i=e(t[o],o);if(i)return i}return null},t.anyOf2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)if(n(t[i],e[i],i))return!0;return!1},t.allOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=n;o<r;o++)if(!e(t[o],o))return!1;return!0},t.allOf2=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=t.length);for(var i=r;i<o;i++)if(!n(t[i],e[i],i))return!1;return!0},t.allOfOnInterval=function(t,e){for(var n=t.end,r=t.start;r<n;r++)if(!e(r))return!1;return!0},t.addListOnTail=function(t,e){for(var n=0,r=void 0;r=e[n];n++)t.push(r);return t},t.joinLists=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return t.accumulate(n,[],function(n,r){return t.addListOnTail(n,e(r)),n})},t.push=function(t,e){return t.push(e),t},t.countIf=function(e,n){return t.accumulateNumber(e,function(t,e){return n(t,e)?1:0})},t.clear=function(t){t.splice(0)},t.merge=function(t,e,n,r,o,i){if(void 0===o&&(o=0),void 0===i&&(i=t.length),t=t.slice(o,i),i-o<2)return t;for(var s=(t=t.sort(e))[o],a=[s],l=o+1;l<i;l++){var u=t[l];n(s,u)?r(s,u):(s=u,a.push(s))}return a},t.min=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.minExtended(e,n,r,o);return i?i.minElement:null},t.max=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=e.length);var i=t.maxExtended(e,n,r,o);return i?i.maxElement:null},t.minMax=function(e,n,o,i){void 0===o&&(o=0),void 0===i&&(i=e.length);var s=t.minMaxExtended(e,n,o,i);return s?new r.MinMax(s.minElement,s.maxElement):null},t.minExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=e(i),a=n+1;a<o;a++){var l=t[a],u=e(l);u<s&&(s=u,i=l)}return new r.ExtendedMin(i,s)},t.maxExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=e(i),a=n+1;a<o;a++){var l=t[a],u=e(l);u>s&&(s=u,i=l)}return new r.ExtendedMax(i,s)},t.minMaxExtended=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=i,a=e(i),l=a,u=n+1;u<o;u++){var c=t[u],h=e(c);h<a?(a=h,i=c):h>l&&(l=h,s=c)}return new r.ExtendedMinMax(i,a,s,l)},t.minByCmp=function(t,e,n,r){if(void 0===n&&(n=0),void 0===r&&(r=t.length),0===t.length)return null;for(var o=t[n],i=n+1;i<r;i++){var s=t[i];e(s,o)<0&&(o=s)}return o},t.maxByCmp=function(t,e,n,r){if(void 0===n&&(n=0),void 0===r&&(r=t.length),0===t.length)return null;for(var o=t[n],i=n+1;i<r;i++){var s=t[i];e(s,o)>0&&(o=s)}return o},t.minMaxByCmp=function(t,e,n,o){if(void 0===n&&(n=0),void 0===o&&(o=t.length),0===t.length)return null;for(var i=t[n],s=i,a=n+1;a<o;a++){var l=t[a],u=e(l,i);u>0?s=l:u<0&&(i=l)}return new r.MinMax(i,s)},t}();e.ListUtils=i},679:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MathUtils=void 0;var r=n(940),o=function(){function t(){}return t.round=function(e,n){void 0===n&&(n=0);var r=t.powFactor[n];return Math.round(e*r)/r},t.numberCloseTo=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n},t.restrictValue=function(t,e,n){return n<e&&(n=e),t>n?n:t<e?e:t},t.getRandomInt=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},t.generateGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})},t.powFactor=r.ListUtils.initByCallback(20,function(t){return Math.pow(10,t)}),t.somePrimes=[1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003],t}();e.MathUtils=o},400:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SearchUtils=void 0;var n=function(){function t(){}return t.binaryIndexOf=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-2);var o=0===n;for(-2===r&&(r=t.length-1);n<=r;){var i=n+(r-n>>1),s=e(t[i]);if(s<0)n=i+1;else{if(!(s>0))return i;r=i-1}}return o?~n:-1},t.normedBinaryIndexOf=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-2);var i=t.binaryIndexOf(e,n,r,o);return t.binaryIndexNormalizator(i)},t.binaryIndexNormalizator=function(t){return t<0?~t-1:t},t.normedInterpolationIndexOf=function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-2),-2===o&&(o=t.length-1);var i=t[Math.min(r,o)];if(void 0===i||n<e(i))return-1;for(var s=e(t[r]),a=e(t[o]);;){if(!(n>s&&n<a))return n===s?r:o;var l=r+Math.floor((n-s)*(o-r)/(a-s)),u=e(t[l]);if(n>u){if(n<(s=e(t[r=l+1])))return l}else{if(!(n<u))return l;a=e(t[o=l-1])}}},t}();e.SearchUtils=n},49:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtils=void 0;var n=function(){function t(){}return t.isAlpha=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"},t.isDigit=function(t){return t>="0"&&t<="9"},t.stringHashCode=function(t){var e=0;if(0===t.length)return e;for(var n=t.length,r=0;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e},t.endsAt=function(t,e){var n=t.length-1,r=e.length-1,o=n-r;if(o<0)return!1;for(;n>=o;n--,r--)if(t[n]!==e[r])return!1;return!0},t.startsAt=function(t,e){return t.substr(0,e.length)===e},t.stringInLowerCase=function(t){return t.toLowerCase()===t},t.stringInUpperCase=function(t){return t.toUpperCase()===t},t.atLeastOneSymbolInUpperCase=function(e){for(var n=0,r=void 0;r=e[n];n++)if(t.stringInUpperCase(r)&&!t.stringInLowerCase(r))return!0;return!1},t.getSymbolFromEnd=function(t,e){return t[t.length-e]},t.trim=function(e,n){if(void 0===n)return t.trimInternal(e,!0,!0);var r=n.join("");return e.replace(new RegExp("(^["+r+"]*)|(["+r+"]*$)","g"),"")},t.trimStart=function(e,n){if(void 0===n)return t.trimInternal(e,!0,!1);var r=n.join("");return e.replace(new RegExp("^["+r+"]*","g"),"")},t.trimEnd=function(e,n){if(void 0===n)return t.trimInternal(e,!1,!0);var r=n.join("");return e.replace(new RegExp("["+r+"]*$","g"),"")},t.getDecimalSeparator=function(){return 1.1.toLocaleString().substr(1,1)},t.repeat=function(t,e){return new Array(e<=0?0:e+1).join(t)},t.isNullOrEmpty=function(t){return!t||!t.length},t.padLeft=function(e,n,r){return t.repeat(r,Math.max(0,n-e.length))+e},t.trimInternal=function(t,e,n){var r=t.length;if(!r)return t;if(r<764833){var o=t;return e&&(o=o.replace(/^\s+/,"")),n&&(o=o.replace(/\s+$/,"")),o}var i=0;if(n)for(;r>0&&/\s/.test(t[r-1]);)r--;if(e&&r>0)for(;i<r&&/\s/.test(t[i]);)i++;return t.substring(i,r)},t}();e.StringUtils=n},20:function(t,e,n){n.r(e),n.d(e,{__assign:function(){return i},__asyncDelegator:function(){return I},__asyncGenerator:function(){return b},__asyncValues:function(){return w},__await:function(){return x},__awaiter:function(){return c},__classPrivateFieldGet:function(){return E},__classPrivateFieldSet:function(){return M},__createBinding:function(){return d},__decorate:function(){return a},__exportStar:function(){return f},__extends:function(){return o},__generator:function(){return h},__importDefault:function(){return S},__importStar:function(){return T},__makeTemplateObject:function(){return C},__metadata:function(){return u},__param:function(){return l},__read:function(){return m},__rest:function(){return s},__spread:function(){return g},__spreadArray:function(){return y},__spreadArrays:function(){return v},__values:function(){return p}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(s,a)}l((r=r.apply(t,e||[])).next())})}function h(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var d=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function f(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||d(e,t,n)}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function y(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}function x(t){return this instanceof x?(this.v=t,this):new x(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){o[t]&&(r[t]=function(e){return new Promise(function(n,r){i.push([t,e,n,r])>1||a(t,e)})})}function a(t,e){try{(n=o[t](e)).value instanceof x?Promise.resolve(n.value.v).then(l,u):c(i[0][2],n)}catch(t){c(i[0][3],t)}var n}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),i.shift(),i.length&&a(i[0][0],i[0][1])}}function I(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:x(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function w(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,o,(e=t[n](e)).done,e.value)})}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var O=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&d(e,t,n);return O(e,t),e}function S(t){return t&&t.__esModule?t:{default:t}}function E(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function M(t,e,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(t,n):o?o.value=n:e.set(t,n),n}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){n.r(r),n.d(r,{DxtThemeCssClasses:function(){return B},Ribbon:function(){return z}});var t=DevExpress.localization,e=DevExpress.ui.dxTabPanel,o=n.n(e),i=DevExpress.ui.dxToolbar,s=n.n(i),a=DevExpress.viz;class l{get toolbarItemTemplateCreator(){return this._toolbarItemTemplateCreator||(this._toolbarItemTemplateCreator=this.getBuildTemplateStrategy()),this._toolbarItemTemplateCreator}createToolbarItemTemplate(){return this.toolbarItemTemplateCreator.createTemplate()}}class u extends l{constructor(t,e){super(),this.options=t,this.onCommandExecuted=e,this.name=t.name}setEnabled(t){this.widget.option("disabled",!t)}setVisible(t){this.widget.option("visible",t)}getOnInitializedHandler(){return t=>this.applyWidget(t)}applyWidget(t){this.widget=t.component}}class c{static correctIconName(t){return 0==t.indexOf("dx")?` ${t}`:t}static correctItemsIcons(t){t&&t.forEach(t=>{t.icon=t.icon?c.correctIconName(t.icon):void 0,c.correctItemsIcons(t.items)})}}class h{createTemplate(){return{location:"before",locateInMenu:"auto"}}getCssClass(){return"dx-ribbon-item"}shouldCreateTextContentTemplate(t){return t&&t.text&&""!=t.text}createTextContentTemplate(t,e,n){return(r,o,i)=>{const s=document.createElement("div"),a=document.createElement("div");a.style.display="inline-block";const l=document.createElement("div");return l.style.display="inline-block",l.textContent=t.text,t.displayAfterEditor||s.appendChild(l),s.appendChild(a),t.displayAfterEditor&&s.appendChild(l),new n(a,e),s}}}class d extends h{getOnFocusOut(){return t=>t.component.close()}getOnKeyDown(){return t=>{9===t.event.keyCode&&t.event.preventDefault()}}}class f extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxButtonGroup",t.showText=this.options.itemOptions.items[0]&&this.options.itemOptions.items[0].icon&&!this.options.itemOptions.alwaysShowText?"inMenu":"always",t.options=this.getButtonGroupOptions(),t}getButtonGroupOptions(){return{focusStateEnabled:!1,onInitialized:this.options.onInitialized,items:this.options.itemOptions.items.map(t=>{const e=t;return e.icon=e.icon?c.correctIconName(e.icon):e.icon,e})}}}class p extends u{getBuildTemplateStrategy(){return new f({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onClick:this.getOnClickHandler()})}setValue(t){}getOnClickHandler(){return this.onCommandExecuted?()=>{this.onCommandExecuted({item:this,parameter:null})}:void 0}}p.ToggleStateClassName="dx-r-toggle",p.ToggleButtonDataProperty="dx-ri-value";class m extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxButton",t.showText=!this.options.itemOptions.icon||this.options.itemOptions.alwaysShowText?"always":"inMenu",t.options=this.getButtonOptions(),t}getButtonOptions(){return{text:this.options.itemOptions.text,icon:this.options.itemOptions.icon?c.correctIconName(this.options.itemOptions.icon):void 0,hint:this.options.itemOptions.text,stylingMode:"text",focusStateEnabled:!1,onInitialized:this.options.onInitialized,onClick:this.options.onClick}}}class g extends u{getBuildTemplateStrategy(){return new m({itemOptions:this.options,onInitialized:t=>{this.applyWidget(t),this.setValue(this.options.isToggleMode&&this.options.selected)},onClick:this.getOnClickHandler()})}setValue(t){if(!this.options.isToggleMode)return;const e=this.getElement();e[g.ToggleButtonDataProperty]=t,t?(e.classList.add(g.ToggleStateClassName),e.classList.add(g.ButtonGroupItemClassName),e.classList.add(g.ItemSelectedClassName)):(e.classList.remove(g.ToggleStateClassName),e.classList.remove(g.ButtonGroupItemClassName),e.classList.remove(g.ItemSelectedClassName))}getValue(){return this.options.isToggleMode?this.getElement()[g.ToggleButtonDataProperty]:null}getElement(){return this.widget.element().classList?this.widget.element():this.widget.element()[0]}getOnClickHandler(){return this.onCommandExecuted?()=>{this.setValue(!this.getValue()),this.onCommandExecuted({item:this,parameter:this.getValue()})}:void 0}}g.ToggleStateClassName="dx-r-toggle",g.ButtonGroupItemClassName="dx-buttongroup-item",g.ItemSelectedClassName="dx-state-selected",g.ToggleButtonDataProperty="dx-ri-value";var v=DevExpress.ui.dxColorBox,y=n.n(v);class x extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();t.widget="dxColorBox";const e=this.getWidgetOptions();return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,y()):t.options=e,t}getWidgetOptions(){return{placeholder:"",focusStateEnabled:!1,acceptCustomValue:!1,stylingMode:"filled",hint:this.options.itemOptions.text,value:this.options.itemOptions.value,width:75,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onContentReady:t=>{const e=t.element.querySelector?t.element:t.element[0];e.querySelector(".dx-colorbox-color-result-preview").addEventListener("click",()=>{this.options.onValueChanged({component:t.component,element:e,model:t.model,value:t.component.option("value")})})},onOpened:this.options.onOpened,onClosed:this.options.onClosed,elementAttr:{class:this.getCssClass()}}}}class b extends u{constructor(t,e,n,r){super(t,e),this.onOpened=n,this.onClosed=r}getBuildTemplateStrategy(){return new x({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler(),onOpened:this.getOnOpenedHandler(),onClosed:this.getOnClosedHandler()})}setValue(t){this.widget.option("value",t)}getOnOpenedHandler(){return this.onOpened?()=>{this.onOpened({item:this})}:void 0}getOnClosedHandler(){return this.onClosed?()=>{this.onClosed({item:this})}:void 0}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}var I=n(11),w=n(491);class C extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxMenu",t.options=this.getMenuOptions(),t}getMenuOptions(){return c.correctItemsIcons(this.options.itemOptions.items),{hideSubmenuOnMouseLeave:!0,focusStateEnabled:!1,selectByClick:!1,hint:this.options.itemOptions.text,dataSource:[{icon:this.options.itemOptions.icon?c.correctIconName(this.options.itemOptions.icon):void 0,text:this.options.itemOptions.text,items:this.options.itemOptions.items.map(t=>({beginGroup:t.beginGroup,name:t.name,text:t.text,icon:t.icon,items:t.items}))}],onSubmenuShowing:t=>{setTimeout(()=>{var e,n;const r=t.component;if(r._visibleSubmenu){const o=null!==(n=null===(e=t.submenu._shownSubmenus)||void 0===e?void 0:e.length)&&void 0!==n?n:0,i=r._visibleSubmenu._overlay.$content(o),s=i.find(".dx-submenu").eq(o);s.css("position",""),O(s,null);const a=this.getContentBounds(s),l=Math.max(0,document.documentElement.clientHeight-a.y),u=Math.min(600,l);if(o>0&&i.find(".dx-submenu")[o-1].style.height&&s.css("position","fixed"),a.height>=u){const t=Math.min(a.height,u);O(s,t),s.dxScrollView({})}}})},onInitialized:this.options.onInitialized,onItemRendered:this.options.onItemRendered,onItemClick:this.options.onItemClick,elementAttr:{class:this.getCssClass()},onContentReady:t=>{if(this.options.itemOptions.icon&&!this.options.itemOptions.alwaysShowText){(t.element.classList?t.element:t.element[0]).classList.add(C.ShowTextInMenuClassName)}}}}getContentBounds(t){if(!t)return null;const e=Array.from(t);if(!e.length)return null;let n=this.toRectangle(e[0].getBoundingClientRect());if(1===e.length)return n;for(let t=1;t<e.length;t++){const r=e[t].getBoundingClientRect();n=I.Ae.union(n,this.toRectangle(r))}return n}toRectangle(t){return new I.Ae(t.x,t.y,t.width,t.height)}}C.ShowTextInMenuClassName="dx-showTextInMenu";const O=function(t,e){var n;const r=t[0];if(!r)return;const o=(null===(n=r.ownerDocument)||void 0===n?void 0:n.defaultView)||window,i=o.getComputedStyle&&o.getComputedStyle(r);if(i)if((0,w.isDefined)(e)){if("content-box"===i.boxSizing){e-=(parseFloat(i.borderTopWidth)||0)+(parseFloat(i.borderBottomWidth)||0)+((parseFloat(i.paddingTop)||0)+(parseFloat(i.paddingBottom)||0))}r.style.height=e.toString()+"px"}else r.style.height=""};class T{constructor(t,e){this.name=t,this.menuItem=e}setValue(t){"boolean"==typeof t&&(this.element?this.setValueCore(this.element,t):this.selected=t)}setElement(t){this.element=t,void 0!==this.selected&&(this.setValue(this.selected),this.selected=void 0)}setEnabled(t){this.setDataOption("disabled",!t)}setVisible(t){this.setDataOption("visible",t)}setValueCore(t,e){e?t.classList.add(T.SelectedItemClassName):t.classList.remove(T.SelectedItemClassName)}setDataOption(t,e){const n=this.getDataOptionName();n&&setTimeout(()=>this.menuItem.getWidget().option(`${n}.${t}`,e),0)}getDataOptionName(){return void 0===this.dataOptionName&&(this.dataOptionName=this.getDataOptionNameCore(this.menuItem.getOptions().items,"items[0]")),this.dataOptionName}getDataOptionNameCore(t,e){if(!t)return null;const n=t.filter(t=>t.name==this.name)[0];if(n)return`${e}.items[${t.indexOf(n)}]`;for(let n=0;n<t.length;n++){const r=this.getDataOptionNameCore(t[n].items,`${e}.items[${n}]`);if(r)return r}return null}}T.SelectedItemClassName="dx-menu-item-selected";class S extends u{constructor(t,e,n){super(t,e),this.onSubMenuItemCreated=n,this.items={},this.createSubMenuItems(t.items)}getWidget(){return this.widget}getOptions(){return this.options}createSubMenuItems(t){t&&t.forEach(t=>{const e=new T(t.name,this);this.onSubMenuItemCreated(e),t.name&&(this.items[t.name]=e),this.createSubMenuItems(t.items)})}getBuildTemplateStrategy(){return new C({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onItemRendered:this.getOnItemRenderedHandler(),onItemClick:this.getOnItemClickHandler()})}setValue(t){}getOnItemClickHandler(){return this.onCommandExecuted?t=>{this.closeSubMenuIfRequired(t.component,t.itemData,t.itemElement);const e=t.itemData.name?this.items[t.itemData.name]:void 0;e&&this.onCommandExecuted({item:e,parameter:null})}:void 0}closeSubMenuIfRequired(t,e,n){e.isRootElement&&t._visibleSubmenu&&window.setTimeout(()=>t.unselectItem(n[0]||n),0)}getOnItemRenderedHandler(){return t=>{const e=t.itemData.name;if(!e)return;const n=this.items[e],r=t.itemElement[0]?t.itemElement[0]:t.itemElement;n.setElement(r)}}}class E extends h{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();return t.widget="dxNumberBox",t.options=this.getWidgetOptions(),t}getWidgetOptions(){const t=this.options.itemOptions.format,e=null==t||null==t?`${this.options.itemOptions.text} #0.#`:t;return{placeholder:"",focusStateEnabled:!1,hint:this.options.itemOptions.text,stylingMode:"filled",format:e,value:this.options.itemOptions.value,width:this.options.itemOptions.width,showSpinButtons:!0,min:this.options.itemOptions.min,max:this.options.itemOptions.max,step:this.options.itemOptions.step,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,elementAttr:{class:this.getCssClass()}}}}class M extends u{getBuildTemplateStrategy(){return new E({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})}setValue(t){this.widget.option("value",t)}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{t.event&&this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}var B,P=DevExpress.ui.dxSelectBox,N=n.n(P);class _ extends d{constructor(t){super(),this.options=t}createTemplate(){const t=super.createTemplate();t.widget="dxSelectBox";const e=this.getWidgetOptions();return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,N()):t.options=e,t}getOnCustomItemCreating(t){return t.acceptCustomValue&&t.onCustomItemCreating?t.onCustomItemCreating:function(t){t.customItem||(t.customItem=t.text)}}getWidgetOptions(){const t=this.options.itemOptions;return{placeholder:t.placeholder,stylingMode:"filled",searchEnabled:!0,acceptCustomValue:t.acceptCustomValue,dataSource:t.dataSource,width:t.width,displayExpr:t.displayExpr,valueExpr:t.valueExpr,value:t.value,showClearButton:t.showClearButton,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onFocusOut:super.getOnFocusOut(),onKeyDown:super.getOnKeyDown(),onCustomItemCreating:this.getOnCustomItemCreating(t),elementAttr:{class:this.getCssClass()}}}}class A extends u{getBuildTemplateStrategy(){return new _({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})}setValue(t){this.widget.option("value",t)}getOnValueChangedHandler(){return this.onCommandExecuted?t=>{t.event&&this.onCommandExecuted({item:this,parameter:t.value})}:void 0}}!function(t){t.AccentAsBackgroundColor="dx-theme-accent-as-background-color",t.AccentAsBorderColor="dx-theme-accent-as-border-color",t.AccentAsTextColor="dx-theme-accent-as-text-color",t.BackgroundColor="dx-theme-background-color",t.BackgroundColorAsBorderColor="dx-theme-background-color-as-border-color",t.BackgroundColorAsTextColor="dx-theme-background-color-as-text-color",t.BorderColor="dx-theme-border-color",t.BorderColorAsBackgroundColor="dx-theme-border-color-as-background-color",t.BorderColorAsTextColor="dx-theme-border-color-as-text-color ",t.TextColor="dx-theme-text-color",t.TextColorAsBackgroundColor="dx-theme-text-color-as-background-color",t.TextColorAsBorderColor="dx-theme-text-color-as-border-color"}(B||(B={}));class L extends h{createTemplate(){const t=super.createTemplate();return t.disabled=!0,t.dxIsSeparator=!0,t.template=()=>{const t=document.createElement("div");return t.classList.add(L.SeparatorClassName),t.classList.add(B.BorderColor),t},t}}L.SeparatorClassName="dx-r-separator";class V extends l{static prepareElement(t){const e=t.classList?t:t[0];if(!e)return;const n=e.querySelector(".dx-toolbar-item-content");n&&n.classList.add(V.SeparatorContainerClassName)}getBuildTemplateStrategy(){return new L}}V.SeparatorContainerClassName="dx-r-separator-container";var j=n(907);class z{constructor(t){this.options=t,this.toolbars=[],this.toolBarItemsByName={},this.contextItemIndexesByCategoryName={}}get element(){return this.options.element}dispose(){this.tabPanel.dispose(),this.toolbars.forEach(t=>t.dispose()),z.hideNode(this.options.element)}static hideNode(t){if(t){const e=t.parentNode;e&&e.removeChild(t)}}shouldApplyLocalization(t,e){return!t&&!!e}applyLocalizationId(){this.options.items.forEach(t=>{this.applyLocalizationIdToRibbonItem(t)}),this.options.contextItemsCategories.forEach(t=>{t.items.forEach(t=>{this.applyLocalizationIdToRibbonItem(t)})})}applyLocalizationIdToRibbonItem(e){this.shouldApplyLocalization(e.title,e.localizationId)&&(e.title=(0,t.formatMessage)(e.localizationId)),this.applyLocalizationIdToRibbonItems(e.items)}applyLocalizationIdToRibbonItems(e){e.forEach(e=>{switch(e.type){case"Button":const n=e;this.shouldApplyLocalization(n.text,n.localizationId)&&(n.text=(0,t.formatMessage)(n.localizationId));break;case"Menu":const r=e;this.shouldApplyLocalization(r.text,r.localizationId)&&(r.text=(0,t.formatMessage)(r.localizationId)),this.applyLocalizationIdToSubMenuItemOptions(r.items);break;case"ButtonGroup":default:break;case"NumberBox":const o=e;this.shouldApplyLocalization(o.text,o.localizationId)&&(o.text=(0,t.formatMessage)(o.localizationId));break;case"ColorBox":const i=e;this.shouldApplyLocalization(i.text,i.localizationId)&&(i.text=(0,t.formatMessage)(i.localizationId));break;case"SelectBox":const s=e;s._localizeDataSourceItems&&s.dataSource.forEach(e=>{if(e.localizationId){const n=(0,t.formatMessage)(e.localizationId);e.text=e.text?e.text+n:n}})}})}applyLocalizationIdToSubMenuItemOptions(e){e.forEach(e=>{this.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=(0,t.formatMessage)(e.localizationId)),e.items&&this.applyLocalizationIdToSubMenuItemOptions(e.items)})}render(){this.applyLocalizationId(),this.tabPanel=new(o())(this.options.element,{dataSource:this.getRibbonItems().map((t,e)=>({title:t.title,visible:t.visible,template:()=>this.createToolbar(t.items,e)})),deferRendering:!1,elementAttr:{class:`dx-ribbon ${(0,a.currentTheme)()}`},focusStateEnabled:!1,selectedIndex:this.options.activeTabIndex,loop:!1,animationEnabled:!1,swipeEnabled:!1,showNavButtons:!0,onTitleClick:this.options.onTitleClickHandler,onSelectionChanged:this.options.onSelectionChangedHandler})}getActiveTabIndex(){return this.tabPanel.option("selectedIndex")}setActiveTabIndex(t){this.tabPanel.option("selectedIndex",t)}setItemVisible(t,e){return this.tabPanel.option(`items[${t}].visible`,e)}getItemVisible(t){return this.tabPanel.option(`items[${t}].visible`)}setContextItemsCategoryVisible(t,e){var n=this.getContextItemsIndexes(t);if(!n)return;let r=!1;const o=this.getActiveTabIndex();n.forEach(t=>{this.getItemVisible(t)!==e&&(o!=t||e||(r=!0),this.setItemVisible(t,e))}),r&&this.setActiveTabIndex(this.options.activeTabIndex)}getContextItemsCategoryVisible(t){var e=this.getContextItemsIndexes(t);return!(!e||!e.length)&&this.getItemVisible(e[0])}getContextItemsIndexes(t){return this.contextItemIndexesByCategoryName[t]}getTabPanel(){return this.tabPanel}getItems(t){return t&&this.toolBarItemsByName[t]?this.toolBarItemsByName[t]:null}adjustControl(){this.tabPanel._dimensionChanged(),this.toolbars.forEach(t=>t._dimensionChanged())}getRibbonItems(){let t=[].concat(this.options.items);return this.options.contextItemsCategories&&this.options.contextItemsCategories.forEach(e=>{this.contextItemIndexesByCategoryName[e.name]||(this.contextItemIndexesByCategoryName[e.name]=[]),e.items.forEach((n,r)=>{this.contextItemIndexesByCategoryName[e.name].push(r+t.length)}),t=t.concat(e.items.map(t=>({items:t.items,title:t.title,visible:!1})))}),t}createToolbar(t,e){const n=document.createElement("div"),r={dataSource:this.getToolbarItemTemplates(t,e),onInitialized:t=>this.toolbars.push(t.component),onItemRendered:t=>{t.itemData.dxIsSeparator&&V.prepareElement(t.itemElement)}};return new(s())(n,r),n}getToolbarItemTemplates(t,e){let n=[];t.forEach(t=>{n=n.concat(this.getToolbarItems(t,e))});const r=[];let o;return n.forEach(t=>{t instanceof V&&(!o||o instanceof V)||(r.push(t.createToolbarItemTemplate()),o=t)}),r}getToolbarItems(t,e){const n=[];return t.beginGroup&&n.push(new V),n.push(this.interactiveToolbarItemFactory(t,e)),n}interactiveToolbarItemFactory(t,e){let n;switch(t.type){case"Button":n=new g(t,this.options.onCommandExecuted);break;case"ButtonGroup":n=new p(t,this.options.onCommandExecuted);break;case"Menu":n=new S(t,this.options.onCommandExecuted,n=>{this.addItemToCache(n.name,n),this.raiseOnOnToolbarItemCreated(t,n,e)});break;case"NumberBox":n=new M(t,this.options.onCommandExecuted);break;case"ColorBox":n=new b(t,this.options.onCommandExecuted,this.options.onOpened,this.options.onClosed);break;default:n=new A(t,this.options.onCommandExecuted)}return this.addItemToCache(t.name,n),this.raiseOnOnToolbarItemCreated(t,n,e),n}addItemToCache(t,e){t&&(this.toolBarItemsByName[t]||(this.toolBarItemsByName[t]=[]),this.toolBarItemsByName[t].push(e))}raiseOnOnToolbarItemCreated(t,e,n){this.options.onOnToolbarItemCreated&&this.options.onOnToolbarItemCreated({options:t,item:e,tabIndex:n})}containsChild(t){return j.K.isItParent(this.element,t)}}}(),(((DevExpress=void 0===DevExpress?{}:DevExpress).AspNetCore=DevExpress.AspNetCore||{}).Spreadsheet=DevExpress.AspNetCore.Spreadsheet||{}).dxribbon=r}();
62340
62341
  (function() {
62341
62342
  window.DevExpress = window.DevExpress || {};
62342
62343
  if(!!window.DevExpress.config) {
62343
- window.DevExpress.config(JSON.parse(atob("eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVUyTnFlV05wY0hrM1ptcHpZMm8wV2xwdWVFUTVUaUlLZlE9PS5NQTY1NWlJNi9wMlJTZ2NnamlnVXFOTDVNUU15YjAzRGh3ZjdUeWlvcURSajIwL3Izbnl3S3dJOHdUVlM4aUR3eG1ZeWN4UmlIYWtiTTN3dS8ydUs2UTY2V3VXalFEeFlJbXhhajVBVFUrZDQzN2gwTGQvYXlqTHRiZWlhbFJBRkxWVWh6Zz09In0=")));
62344
+ window.DevExpress.config(JSON.parse(atob("eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVpHOUxOWFZRVkZJek1saGhZbGxuTkhZMmNVUkJOaUlLZlE9PS5VVTNNOUJURklzdkZhSGZ6WEczbmxOVy9LTnpEQi9QeC9uVGs4aktESGRMZEpKSzZjT3BTOGRnWEI5MG56SlkxM0p4TS8xVUVUem0xNzliclY3Yno3SU1SUXB2VEVjNEVRNmRJaHNOWlBpQlY0cE5Dem55TjNoWEEwRlNYSythVmUzZlRSdz09In0=")));
62344
62345
  } else {
62345
- window.DevExpress.config = JSON.parse(atob("eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVUyTnFlV05wY0hrM1ptcHpZMm8wV2xwdWVFUTVUaUlLZlE9PS5NQTY1NWlJNi9wMlJTZ2NnamlnVXFOTDVNUU15YjAzRGh3ZjdUeWlvcURSajIwL3Izbnl3S3dJOHdUVlM4aUR3eG1ZeWN4UmlIYWtiTTN3dS8ydUs2UTY2V3VXalFEeFlJbXhhajVBVFUrZDQzN2gwTGQvYXlqTHRiZWlhbFJBRkxWVWh6Zz09In0="));
62346
+ window.DevExpress.config = JSON.parse(atob("eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVpHOUxOWFZRVkZJek1saGhZbGxuTkhZMmNVUkJOaUlLZlE9PS5VVTNNOUJURklzdkZhSGZ6WEczbmxOVy9LTnpEQi9QeC9uVGs4aktESGRMZEpKSzZjT3BTOGRnWEI5MG56SlkxM0p4TS8xVUVUem0xNzliclY3Yno3SU1SUXB2VEVjNEVRNmRJaHNOWlBpQlY0cE5Dem55TjNoWEEwRlNYSythVmUzZlRSdz09In0="));
62346
62347
  }
62347
62348
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devexpress-aspnetcore-spreadsheet",
3
- "version": "24.1.13",
3
+ "version": "24.1.14",
4
4
  "homepage": "https://www.devexpress.com/",
5
5
  "bugs": "https://www.devexpress.com/support/",
6
6
  "author": "Developer Express Inc.",
@@ -11,7 +11,7 @@
11
11
  "localization": "node bin/localization-builder.js localization-source localization"
12
12
  },
13
13
  "peerDependencies": {
14
- "devextreme": "24.1.13"
14
+ "devextreme": "24.1.14"
15
15
  },
16
16
  "keywords": [
17
17
  "spreadsheet",