@wcardinal/wcardinal-ui 0.442.0 → 0.444.0

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.
Files changed (75) hide show
  1. package/dist/types/wcardinal/ui/d-picker-color.d.ts +3 -0
  2. package/dist/types/wcardinal/ui/d-table-column-state.d.ts +4 -1
  3. package/dist/types/wcardinal/ui/d-table-state.d.ts +4 -0
  4. package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.d.ts +1 -0
  5. package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-rect.d.ts +1 -0
  6. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-color.d.ts +3 -0
  7. package/dist/types/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.d.ts +1 -0
  8. package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-color.d.ts +3 -0
  9. package/dist/types/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.d.ts +1 -0
  10. package/dist/types/wcardinal/ui/util/index.d.ts +1 -0
  11. package/dist/types/wcardinal/ui/util/util-extract.d.ts +13 -2
  12. package/dist/types/wcardinal/ui/util/util-extractor-canvas.d.ts +18 -0
  13. package/dist/types/wcardinal/ui/util/util-extractor.d.ts +3 -2
  14. package/dist/wcardinal/ui/d-image-piece-impl.js +8 -0
  15. package/dist/wcardinal/ui/d-image-piece-impl.js.map +1 -1
  16. package/dist/wcardinal/ui/d-picker-color.js +5 -4
  17. package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
  18. package/dist/wcardinal/ui/d-table-body.js +3 -2
  19. package/dist/wcardinal/ui/d-table-body.js.map +1 -1
  20. package/dist/wcardinal/ui/d-table-column-state.js.map +1 -1
  21. package/dist/wcardinal/ui/d-table-state.js +4 -0
  22. package/dist/wcardinal/ui/d-table-state.js.map +1 -1
  23. package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js +20 -0
  24. package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js.map +1 -0
  25. package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js +15 -0
  26. package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js.map +1 -0
  27. package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js +2 -5
  28. package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js.map +1 -1
  29. package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js +3 -6
  30. package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js.map +1 -1
  31. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +24 -35
  32. package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
  33. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +7 -2
  34. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
  35. package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js +5 -0
  36. package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js.map +1 -0
  37. package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js +2 -5
  38. package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js.map +1 -1
  39. package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js +3 -6
  40. package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js.map +1 -1
  41. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +24 -35
  42. package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
  43. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +7 -2
  44. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
  45. package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js +5 -0
  46. package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js.map +1 -0
  47. package/dist/wcardinal/ui/util/index.js +1 -0
  48. package/dist/wcardinal/ui/util/index.js.map +1 -1
  49. package/dist/wcardinal/ui/util/util-extract.js +34 -10
  50. package/dist/wcardinal/ui/util/util-extract.js.map +1 -1
  51. package/dist/wcardinal/ui/util/util-extractor-canvas.js +110 -0
  52. package/dist/wcardinal/ui/util/util-extractor-canvas.js.map +1 -0
  53. package/dist/wcardinal/ui/util/util-extractor.js +45 -20
  54. package/dist/wcardinal/ui/util/util-extractor.js.map +1 -1
  55. package/dist/wcardinal-ui-theme-dark-en-us.js +71 -49
  56. package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
  57. package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
  58. package/dist/wcardinal-ui-theme-dark-ja-jp.js +71 -49
  59. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
  60. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
  61. package/dist/wcardinal-ui-theme-dark.js +71 -49
  62. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  63. package/dist/wcardinal-ui-theme-white-en-us.js +71 -49
  64. package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
  65. package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
  66. package/dist/wcardinal-ui-theme-white-ja-jp.js +71 -49
  67. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
  68. package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
  69. package/dist/wcardinal-ui-theme-white.js +71 -49
  70. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  71. package/dist/wcardinal-ui.cjs.js +313 -132
  72. package/dist/wcardinal-ui.js +207 -36
  73. package/dist/wcardinal-ui.min.js +2 -2
  74. package/dist/wcardinal-ui.min.js.map +1 -1
  75. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.442.0
2
+ Winter Cardinal UI v0.444.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
6
6
  Material Design icons by Google
7
7
  Apache license version 2.0.
8
8
  */
9
- !function(n){"use strict";var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:n.SCALE_MODES.LINEAR,mipmap:n.MIPMAP_MODES.OFF}),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,o=wcardinal.ui.DBorderMask,c=wcardinal.ui.DCornerMask,f=wcardinal.ui.DLayoutClearType,a=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),h=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),D=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};D("shadow_weak",24,.72),D("shadow",48,.72),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var d=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return o.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return c.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return o.NONE},r.prototype.getClearType=function(){return f.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return i.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new a(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new a(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(h),m=function(){r.set("DBase",d)},k=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return e(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return i.BOTH},t}(d),T=function(){r.set("DBoard",k)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,w=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return I},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageRotation=function(n){return 0},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getSecondaryImageRotation=function(n){return this.getImageRotation(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageRotation=function(n){return this.getImageRotation(n)},t}(C),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=l.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=l.brighten(t,u),e.OUTLINE_COLOR=l.darken(t,.75),e}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(v),x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(B),S=function(){r.set("DButtonAmbient",x)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var M=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}(),E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return M.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return M.getImageSource(n)},t}(x),_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(E),L=function(){r.set("DButtonCheckRight",_)},P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),U=function(){r.set("DButtonDanger",F)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(B),A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(N),H=function(){r.set("DButtonFile",A)},R=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(x),z=function(){r.set("DButtonLink",R)},G=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),V=function(){r.set("DButtonPrimary",G)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var O=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(x),q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(O),Y=function(){r.set("DButtonRadioRight",q)},X=function(){r.set("DButtonRadio",O)},W=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(B),K=function(){r.set("DButtonSecondary",W)},Z=function(){r.set("DButton",N)},j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getInteractive=function(){return i.BOTH},t}(d),J=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return i.BOTH},t}(d),Q=function(){r.set("DCanvasContainer",J),r.set("DCanvas",j)},$=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d);const nn=wcardinal.ui.DChartAxisPosition,tn=wcardinal.ui.DChartAxisTickPosition,rn=wcardinal.ui.EShapeTextAlignHorizontal,un=wcardinal.ui.EShapeTextAlignVertical,en=wcardinal.ui.EShapeTextDirection;var on=function(){function n(){}return n.prototype.getPosition=function(){return nn.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(on),fn=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return fn},t}(cn),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPosition=function(){return nn.LEFT},t.prototype.getLabelDirection=function(){return en.BOTTOM_TO_TOP},t}(on),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),hn=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Dn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getMargin=function(){return 20},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,bn=wcardinal.ui.EShapeBarPosition;var wn=function(){},yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn);const Cn=wcardinal.ui.EShapeCircle;var vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Cn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(wn),Bn=function(){r.set("DChart",$),r.set("DChartAxisX",cn),r.set("DChartAxisXDatetime",an),r.set("DChartAxisY",ln),r.set("DChartCoordinate",sn),r.set("DChartCoordinateTick",hn),r.set("DChartCoordinateTransform",Dn),r.set("DChartLegend",dn),r.set("DChartLegendItem",mn),r.set("DChartOverview",kn),r.set("DChartPlotArea",Tn),r.set("DChartSelectionGridlineX",yn),r.set("DChartSelectionGridlineY",In),r.set("DChartSelectionMarker",vn)},xn=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Sn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),Mn=function(){r.set("DColorRecent",xn),r.set("DColorStandard",Sn)};const En=wcardinal.ui.DAnimationFadeIn,_n=wcardinal.ui.DDialogAlign,Ln=wcardinal.ui.DDialogCloseOn,Pn=wcardinal.ui.DDialogGestureMode,Fn=wcardinal.ui.DDialogMode,Un=wcardinal.ui.DDialogState;var Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMode=function(){return Fn.MODAL},t.prototype.closeOn=function(n){switch(n){case Fn.MODAL:case Fn.MENU:return Ln.ESC|Ln.CLICK_OUTSIDE;case Fn.MODELESS:return Ln.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Fn.MODAL:case Fn.MODELESS:return!0;case Fn.MENU:return!1}},t.prototype.getGestureMode=function(n){return Pn.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return _n.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Fn.MODAL:return new En;case Fn.MODELESS:case Fn.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Un.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Un.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return i.BOTH},t}(d),An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Nn),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(An);const Rn=wcardinal.ui.DLayoutDirection;var zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(zn),Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Gn),On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(Vn),qn=function(){r.set("DDialogFittedContent",On),r.set("DDialogFitted",Hn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(An),Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Wn=function(){r.set("DDialogInputBoolean",Xn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Zn=function(){r.set("DDialogInputInteger",Kn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Jn=function(){r.set("DDialogInputReal",jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),$n=function(){r.set("DDialogInputText",Qn)},nt=function(){r.set("DDialog",Nn)};t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var tt=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return e(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(B),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(tt),ut=function(){r.set("DDropdown",rt)},et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(v);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return c.ALL},t}(it),ct=function(){r.set("DExpandableHeader",ot),r.set("DExpandable",et)};const ft=wcardinal.ui.DHtmlElementState,at=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},st=function(n){var t=document.createElement("div");return n.appendChild(t),t},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ft.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return st},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return st},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return st},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return at.FOCUSED},t.prototype.getSelect=function(){return!1},t}(v),Dt=function(){r.set("DHtmlElement",ht)},dt=function(){r.set("DImage",it)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(zn),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){r.set("DInputAndLabel",kt)},pt=function(){return null},gt=function(n){return n},bt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.017),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},t.prototype.getOutlineColor=function(t){return t.isInvalid?s.INVALID_COLOR:n.prototype.getOutlineColor.call(this,t)},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(ht),wt="d-theme-dark-input",yt="".concat(wt,"-element"),It=function(n){var t=n.getElementsByClassName(yt);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",yt),n.appendChild(r),r},Ct=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},vt="".concat(wt,"-clipper"),Bt=function(n){return Ct(n,vt)},xt="".concat(wt,"-before"),St=function(n){return Ct(n,xt)},Mt="".concat(wt,"-after"),Et=function(n){return Ct(n,Mt)},_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return It},t.prototype.getClipperCreator=function(){return Bt},t.prototype.getBeforeCreator=function(){return St},t.prototype.getAfterCreator=function(){return Et},t}(bt),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(_t),Pt=function(n){var t=parseInt(n,10);return t==t?t:0},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Pt},t}(Lt),Ut=function(){r.set("DInputInteger",Ft)},Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Nt),Ht=function(){r.set("DInputLabel",At)},Rt=function(n){var t=parseFloat(n);return t==t?t:0},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Rt},t}(Lt),Gt=function(){r.set("DInputReal",zt)},Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(_t);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ot=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Vt),qt=function(){r.set("DInputSearch",Ot)},Yt="d-theme-dark-input-text-area",Xt="".concat(Yt,"-element"),Wt=function(n){var t=n.getElementsByClassName(Xt);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Xt),n.appendChild(r),r},Kt=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Zt="".concat(Yt,"-clipper"),jt=function(n){return Kt(n,Zt)},Jt="".concat(Yt,"-before"),Qt=function(n){return Kt(n,Jt)},$t="".concat(Yt,"-after"),nr=function(n){return Kt(n,$t)},tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return Wt},t.prototype.getClipperCreator=function(){return jt},t.prototype.getBeforeCreator=function(){return Qt},t.prototype.getAfterCreator=function(){return nr},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(bt),rr=function(){r.set("DInputTextArea",tr)},ur=function(){r.set("DInputText",Vt)},er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return f.BOTH},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),or=function(){r.set("DLayout",zn),r.set("DLayoutHorizontal",mt),r.set("DLayoutSpace",ir),r.set("DLayoutVertical",Gn),r.set("DLayoutBoard",er)};const cr=wcardinal.ui.UtilGestureMode;var fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return cr.TOUCH},t}(d),ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(fr),lr=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.brighten(n,.0075),this.D=1,this.m=l.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:l.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=l.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.0075,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.C=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.B=s.COLOR,this.S=s.ACTIVE_COLOR):(this.B=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.D:this.l:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.D:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return o.NONE},n.prototype.getColor=function(n){return n.isActive?this.S:this.B},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.C:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return c.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),sr=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!1,!0)},t}(sr),Dr=function(){r.set("DListItemAmbient",hr),r.set("DListItem",sr),r.set("DList",ar)},dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(N),kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Gn),Tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(it),pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Tr),gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(pr);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var br=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(gr),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),Ir=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();Ir.init();var Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?Ir.getImageOpened():Ir.getImageClosed()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Tr),vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(br);const Br=wcardinal.ui.DBaseState,xr=wcardinal.ui.DThemes;var Sr=function(n){function t(){var t=n.call(this)||this;return t._=xr.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageSource=function(n){return n.is(Br.NEW_WINDOW)?this._.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(gr),Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Sr);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var Er=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(pr),_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Er),Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Tr),Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Lr),Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(ir),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Fr),Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(gr),Ar=function(){r.set("DMenu",kr),r.set("DMenuItem",pr),r.set("DMenuItemCheck",br),r.set("DMenuItemLink",Sr),r.set("DMenuItemMenu",Er),r.set("DMenuItemSeparator",Lr),r.set("DMenuItemSpace",Fr),r.set("DMenuItemText",gr),r.set("DMenuItemExpandableBody",yr),r.set("DMenuItemExpandableHeader",Cr),r.set("DMenuItemExpandableItemCheck",vr),r.set("DMenuItemExpandableItemLink",Mr),r.set("DMenuItemExpandableItemMenu",_r),r.set("DMenuItemExpandableItemSeparator",Pr),r.set("DMenuItemExpandableItemSpace",Ur),r.set("DMenuItemExpandableItemText",Nr),r.set("DMenuItemExpandable",wr)},Hr=function(){r.set("DMenuBarItem",mr),r.set("DMenuBar",dr),Ar()},Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t}(fr),zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Gn),Gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(br),Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(wr),Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(vr),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Mr),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(_r),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Pr),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ur),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Nr),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Sr),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Er),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Lr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Fr),$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gr),nu=function(){r.set("DMenuSided",Rr),r.set("DMenuSidedContent",zr),r.set("DMenuSidedItemCheck",Gr),r.set("DMenuSidedItemLink",Zr),r.set("DMenuSidedItemMenu",jr),r.set("DMenuSidedItemSeparator",Jr),r.set("DMenuSidedItemSpace",Qr),r.set("DMenuSidedItemText",$r),r.set("DMenuSidedItemExpandable",Vr),r.set("DMenuSidedItemExpandableItemCheck",Or),r.set("DMenuSidedItemExpandableItemLink",qr),r.set("DMenuSidedItemExpandableItemMenu",Yr),r.set("DMenuSidedItemExpandableItemSeparator",Xr),r.set("DMenuSidedItemExpandableItemSpace",Wr),r.set("DMenuSidedItemExpandableItemText",Kr)},tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getInteractive=function(){return i.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getImageAlignWith=function(){return w.BORDER},r}(v);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var uu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(x);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var eu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(x),iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(x);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(x);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var cu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(x),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(v),au=function(){r.set("DPagination",tu),r.set("DPaginationPage",fu),r.set("DPaginationDots",ru),r.set("DPaginationButtonLast",uu),r.set("DPaginationButtonNext",eu),r.set("DPaginationButtonPage",iu),r.set("DPaginationButtonPrevious",ou),r.set("DPaginationButtonTop",cu)},lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),hu=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.darken(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.darken(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.darken(t.BORDER_COLOR,.5),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Du=function(){r.set("DScrollBar",su),r.set("DScrollBarThumb",hu)},du=function(){r.set("DPane",fr),r.set("DContent",lu),Du()};const mu=wcardinal.ui.isString;var ku=function(n){if(n){var t=n.text.value;if(mu(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ku},t.prototype.newTextValue=function(){return null},t}(tt),pu=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text.value;if(mu(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return pu},t.prototype.newTextValue=function(){return[]},t}(tt),bu=function(){r.set("DSelectMultiple",gu),r.set("DSelect",Tu),ut()};const wu=wcardinal.ui.EShapeActionMiscExtensions,yu=wcardinal.ui.EShapeActionOpenDialogExtensions,Iu=wcardinal.ui.EShapeActionOpenExtensions,Cu=wcardinal.ui.EShapeActionValueBlinkType,vu=wcardinal.ui.EShapeActionValueChangeColorTarget,Bu=wcardinal.ui.EShapeActionValueChangeColorType,xu=wcardinal.ui.EShapeActionValueChangeTextType,Su=wcardinal.ui.EShapeActionValueGestureOperationType,Mu=wcardinal.ui.EShapeActionValueGestureType,Eu=wcardinal.ui.EShapeActionValueMiscType,_u=wcardinal.ui.EShapeActionValueOnInputAction,Lu=wcardinal.ui.EShapeActionValueOpenDialogType,Pu=wcardinal.ui.EShapeActionValueOpenType,Fu=wcardinal.ui.EShapeActionValueOpetyped,Uu=wcardinal.ui.EShapeActionValueShowHideType,Nu=wcardinal.ui.EShapeActionValueSubtyped,Au=wcardinal.ui.EShapeActionValueTransformMoveType,Hu=wcardinal.ui.EShapeActionValueTransformResizeType,Ru=wcardinal.ui.EShapeActionValueTransformRotateType,zu=wcardinal.ui.EShapeActionValueTransformType,Gu=wcardinal.ui.EShapeActionValueType;var Vu=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Nu){var r,u=n.subtype;if(n instanceof Fu){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Gu.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Gu.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Gu.CHANGE_COLOR:case Gu.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Gu.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Gu.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Gu.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Gu.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Gu.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case zu.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case zu.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case zu.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Gu.SHOW_HIDE:return"Show / hide";case Gu.BLINK:return"Blink";case Gu.TRANSFORM:return"Transform";case Gu.OPEN:return"Open";case Gu.CHANGE_COLOR:case Gu.CHANGE_COLOR_LEGACY:return"Change color";case Gu.CHANGE_TEXT:return"Change text";case Gu.CHANGE_CURSOR:return"Change cursor";case Gu.EMIT_EVENT:return"Emit an event";case Gu.GESTURE:return"Gesture";case Gu.MISC:return"Misc.";default:return Gu.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Cu.VISIBILITY:return"Visibility";case Cu.BRIGHTEN:return"Brighten";case Cu.DARKEN:return"Darken";case Cu.OPACITY:return"Opacity";case Cu.COLOR_FILL:return"Fill";case Cu.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case Uu.SHAPE_SHOW:return"Show";case Uu.SHAPE_HIDE:return"Hide";case Uu.SHAPE:return"Shape";case Uu.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case zu.RESIZE:return"Resize";case zu.MOVE:return"Move";case zu.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Ru.RELATIVE:return"Relative";case Ru.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Au.RELATIVE_X:return"Relative X";case Au.RELATIVE_Y:return"Relative Y";case Au.ABSOLUTE_X:return"Absolute X";case Au.ABSOLUTE_Y:return"Absolute Y";case Au.FORWARD_OR_BACKWARD:return"Forward / backward";case Au.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Hu.ABSOLUTE_SIZE:return"Height & width";case Hu.RELATIVE_SIZE:return"Height & width (%)";case Hu.ABSOLUTE_HEIGHT:return"Height";case Hu.RELATIVE_HEIGHT:return"Height (%)";case Hu.ABSOLUTE_WIDTH:return"Width";case Hu.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===Bu.NONE)return"None";var t="",r="";return n&Bu.FILL&&(t+=r+"Fill",r=", "),n&Bu.STROKE&&(t+=r+"Stroke",r=", "),n&Bu.TEXT&&(t+=r+"Text",r=", "),n&Bu.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case vu.COLOR_AND_ALPHA:return"Color";case vu.COLOR:return"RGB";case vu.ALPHA:return"Alpha";case vu.CODE:return"Dynamic color";case vu.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case xu.TEXT:return"Text";case xu.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case Pu.DIAGRAM_LEGACY:return"Diagram";case Pu.PAGE_LEGACY:return"Page (New window)";case Pu.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Pu.DIALOG_TEXT:return"Dialog (Text)";case Pu.DIALOG_INTEGER:return"Dialog (Integer)";case Pu.DIALOG_REAL:return"Dialog (Real)";case Pu.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Pu.DIALOG_DATE:return"Dialog (Date)";case Pu.DIALOG_TIME:return"Dialog (Time)";case Pu.DIALOG_DATETIME:return"Dialog (Datetime)";case Pu.DIAGRAM:return"Diagram";case Pu.PAGE:return"Page";case Pu.DIALOG:return"Dialog";default:if(Pu.EXTENSION<=n){var t=Iu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Lu.TEXT:return"Text";case Lu.INTEGER:return"Integer";case Lu.REAL:return"Real";case Lu.BOOLEAN:return"Boolean";case Lu.DATE:return"Date";case Lu.TIME:return"Time";case Lu.DATETIME:return"Datetime";default:if(Lu.EXTENSION<=n){var t=yu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case Mu.SHAPE:return"Shape";case Mu.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Su.DRAG:return"Drag";case Su.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Eu.INPUT_TEXT:return"Input (Text)";case Eu.INPUT_INTEGER:return"Input (Integer)";case Eu.INPUT_REAL:return"Input (Real)";case Eu.EMIT_EVENT:return this.toOnInputActionLabel(_u.EMIT_EVENT);case Eu.WRITE_BOTH:return this.toOnInputActionLabel(_u.WRITE_BOTH);case Eu.WRITE_LOCAL:return this.toOnInputActionLabel(_u.WRITE_LOCAL);case Eu.WRITE_REMOTE:return this.toOnInputActionLabel(_u.WRITE_REMOTE);case Eu.HTML_ELEMENT:return"HTML element";case Eu.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Eu.SHOW_HIDE_LAYER:return"Show / hide layers";case Eu.GESTURE_LAYER:return"Layer gesture";case Eu.GESTURE:return"Gesture";case Eu.EXECUTE:return"Execute";default:if(Eu.EXTENSION<=n){var t=wu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case at.CLICKED:return"Clicked";case at.DOUBLE_CLICKED:return"Double clicked";case at.FOCUSED:return"Focused";case at.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case _u.EMIT_EVENT:return"Emit event";case _u.WRITE_BOTH:return"Write (Both)";case _u.WRITE_LOCAL:return"Write (Local)";case _u.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),Ou=function(){r.set("EShapeActionValue",Vu)};const qu=wcardinal.ui.EShapeStrokeSide;var Yu=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return qu.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Xu=function(){r.set("EShape",Yu)},Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Wu),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),ju=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Ju=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return ju.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(N),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return ju.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(N),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Qu),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Qu),te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Wu),ue=function(){r.set("DSlider",Wu),r.set("DSliderValue",te),r.set("DSliderLabel",Zu),r.set("DSliderThumb",Ju),r.set("DSliderVertical",re),r.set("DSliderHorizontal",Ku),r.set("DSliderTrack",Qu),r.set("DSliderTrackVertical",ne),r.set("DSliderTrackHorizontal",$u)},ee=function(){r.set("DText",Nt)};const ie=wcardinal.ui.DTableState;var oe=function(){function n(){}return n.init=function(){Ir.init()},n.getImageSource=function(n){return n.is(ie.HAS_CHILDREN)?n.is(ie.OPENED)?Ir.getImageOpened():Ir.getImageClosed():null},n}(),ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return oe.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(lr),fe=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ce(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(fr),ae=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ce(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ae);oe.init();var se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}(le),he=function(){r.set("DTree",fe),r.set("DTreeItemText",ae),r.set("DTreeItemButton",le),r.set("DTreeItemNonEditable",se)};const De=wcardinal.ui.UtilGestureModifier;var de=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return De.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return De.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return De.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return cr.ON},n.prototype.getGestureModifier=function(){return De.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),me=function(){r.set("DView",de)},ke=function(){xr.setDefaultThemeClass(r)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Te=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},pe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return Te},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(N),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const be=wcardinal.ui.DColorType;var we=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e){var i=(e+u)%2==0?"#5f5f5f":"#454545";r+='<rect x="'.concat(9*e,'" y="').concat(9*u,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),t.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),t.add("picker_color_alpha_checkerboard",234,18,we(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",36,36,we(4,4),9,9,18,18),t.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),t.add("picker_color_sample_checkerboard",45,63,we(5,7)),t.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var ye=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case be.STANDARD:return"Standard";case be.CUSTOM:return"Custom"}},t}(ye),Ce=function(){r.set("DPickerColor",Ie)},ve=function(){r.set("DDialogColor",ge),Ce()},Be=function(){r.set("DButtonColor",pe),ve()};const xe=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Se=function(){return""},Me=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return Se},r.prototype.newTextValue=function(){return new xe},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(N),Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),_e=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Le=function(){r.set("DPickerColorGradient",_e),Ce()},Pe=function(){r.set("DDialogColorGradient",Ee),Le()},Fe=function(){r.set("DButtonColorGradient",Me),Pe()};const Ue=wcardinal.ui.DPickerDates;var Ne=function(n){return Ue.format(n)},Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Ne},t.prototype.newTextValue=function(){return new Date},t}(N),He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const Re=wcardinal.ui.DPickerDatetimeMask;var ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Re.HOURS|Re.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(ze),Ve=["January","February","March","April","May","June","July","August","September","October","November","December"],Oe=["Su","Mo","Tu","We","Th","Fr","Sa"],qe=function(n){return"".concat(Ve[n.getMonth()]," ").concat(n.getFullYear())},Ye=function(){},Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDayLabels=function(){return Oe},t.prototype.getLabelFormatter=function(){return qe},t.prototype.getDateDecorator=function(){return Ye},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Re.DATE|n.prototype.getMask.call(this)},t}(Ge),We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMask=function(){return Re.DATE},t}(Xe);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var Ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(x);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return i.NONE},t}(Nt),Qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Nt),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return i.NONE},t}(d),ni=function(){r.set("DPickerTime",Ge)},ti=function(){r.set("DPickerDatetimeButtonBack",Ke),r.set("DPickerDatetimeButtonDate",Ze),r.set("DPickerDatetimeButtonNext",je),r.set("DPickerDatetimeLabelDate",Qe),r.set("DPickerDatetimeLabel",Je),r.set("DPickerDatetimeSpace",$e),r.set("DPickerDatetime",Xe),ni()},ri=function(){r.set("DPickerDate",We),ti()},ui=function(){r.set("DDialogDate",He),ri()},ei=function(){r.set("DButtonDate",Ae),ui()};const ii=wcardinal.ui.DPickerDatetimes;var oi=function(n,t){return ii.format(n,t.getDatetimeMask())},ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return oi},t.prototype.newTextValue=function(){return new Date},t}(N),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),ai=function(){r.set("DDialogDatetime",fi),ti()},li=function(){r.set("DButtonDatetime",ci),ai()};const si=wcardinal.ui.toLabel;var hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return si},t.prototype.newTextValue=function(){return null},t}(N),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ar),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!1,!0)},t.prototype.getCornerMask=function(){return c.NONE},t}(sr),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(An),ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(mi),Ti=function(){r.set("DDialogSelect",ki),r.set("DDialogSelectList",Di),r.set("DDialogSelectListItem",di)},pi=function(){r.set("DButtonSelect",hi),Ti()};const gi=wcardinal.ui.DPickerTimes;var bi=function(n,t){return gi.format(n,t.getDatetimeMask())},wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return bi},t.prototype.newTextValue=function(){return new Date},t}(N),yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),Ii=function(){r.set("DDialogTime",yi),ni()},Ci=function(){r.set("DButtonTime",wi),Ii()},vi=function(){S(),L(),P(),Fe(),Be(),pi(),U(),ei(),li(),H(),z(),V(),Y(),X(),K(),Ci(),Z()},Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(J),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Bi),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t.prototype.getLocalBoundsLimit=function(){return 0},t}(j),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Si),Ei=function(){},_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCurveSplineLabel=function(){return"Spline Curve"},t.prototype.getCurveBezierQuadraticLabel=function(){return"Quadratic Bezier Curve"},t}(Ei),Li=function(){r.set("EShapePointsFormatter",_i)},Pi=function(){r.set("DDiagram",xi),r.set("DDiagramCanvas",Mi),Li(),Xu()},Fi=function(n,t,r,u){var e=Math.max(t,r);if(0<n){n*=function(n){if(n<=0||1<=n)return 1;var t=1/n;return t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,(t|=t>>32)-(t>>1)}(u);for(var i=e/1e3,o=0;o<10&&n<i;++o)n*=10;if(i<=n)return n}return e},Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Fi},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Si),Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(Bi),Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Ni),Hi=function(){r.set("DDiagramEditor",Ai),r.set("DDiagramCanvasEditor",Ui),Ou(),Li(),Xu()},Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return c.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(v);t.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var zi=function(n,t){return n-34},Gi=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return zi},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(x),Vi=function(n){return n-1},Oi=function(n){return n-16},qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return Vi},t.prototype.getWidth=function(){return Oi},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(v),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Yi),Wi=function(){r.set("DDialogLayeredContent",Vn),r.set("DDialogLayeredFooter",Xi),r.set("DDialogLayeredHeaderButtonClose",Gi),r.set("DDialogLayeredHeaderSeparator",qi),r.set("DDialogLayeredHeader",Ri),r.set("DDialogLayered",An)},Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(it),Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return""},t}(An),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(Zi),Ji=function(){r.set("DDialogConfirm",ji),r.set("DDialogConfirmMessage",Ki)},Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(ji),$i=function(){r.set("DDialogConfirmDelete",Qi)},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(ji),to=function(){r.set("DDialogConfirmDiscard",no)},ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Zi),uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(ro),eo=function(){r.set("DDialogMessage",uo)};t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var io=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(Ki),oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Zi),co=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return co},t}(oo),ao=function(){r.set("DDialogProcessing",fo),r.set("DDialogProcessingMessage",io)},lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Qn),so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(lo),ho=function(){r.set("DDialogSaveAs",so)},Do=function(){Pe(),ve(),$i(),to(),Ji(),ui(),ai(),qn(),Wn(),Zn(),Jn(),$n(),Wi(),eo(),ao(),ho(),Ti(),Ii(),nt()},mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(ko),po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"ON"},t}(po),bo=function(){r.set("DInputBoolean",mo),r.set("DInputBooleanButtonOn",go),r.set("DInputBooleanButtonOff",To)},wo=function(){Tt(),bo(),Ut(),Ht(),Gt(),qt(),rr(),ur()};const yo=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var Io=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:yo.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:yo.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:yo.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n}(),Co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(Io),vo=function(){r.set("DLink",Co)},Bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return i.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Bo),So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(xo),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Bo),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Mo),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Bo),Lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(_o),Po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFontSize=function(){return 18},t}(Bo),Fo=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteError"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Po),Uo=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteNoItemsFound"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Po),No=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteSearching"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Po),Ao=function(){r.set("DNote",Bo),r.set("DNoteError",So),r.set("DNoteNoItemsFound",Eo),r.set("DNoteSearching",Lo),r.set("DNoteSmallError",Fo),r.set("DNoteSmallNoItemsFound",Uo),r.set("DNoteSmallSearching",No)},Ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t}(fr),Ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return c.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),zo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(ie.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(ie.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(ie.END)?o.ALL:o.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return c.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=l.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Go=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return zo.getImageTintColor(n,!0)},n}(),Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Go.init();var Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Go.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Go.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Vo);Go.init();var qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Go.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Go.getImageSource(n)},t}(rt),Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Go.init();var Xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Go.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Go.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Yo),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getImageTintColor=function(n){return zo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(v),Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Wo),Zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return zo.getImageTintColor(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(E),jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(pe),Jo=function(n){return Ue.format(n)},Qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getTextFormatter=function(){return Jo},t.prototype.newTextValue=function(){return new Date},t}(N),$o=function(n,t){return ii.format(n,t.getDatetimeMask())},nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getTextFormatter=function(){return $o},t.prototype.newTextValue=function(){return new Date},t}(N),tc=function(n){return String(Number(n)+1)},rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return tc},t.prototype.newTextValue=function(){return 0},t}(v),uc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(Ft),ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(zt),ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(Vt),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t}(tr);oe.init();var cc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),fc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Vt),ac=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return oe.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),lc=function(n){function t(){var t=n.call(this)||this;return t._=xr.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageTintColor=function(n){return zo.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this._.getImageSource(n)},t}(Ko),sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Tu),hc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(gu),Dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t}(Wo),dc=function(n,t){return gi.format(n,t.getDatetimeMask())},mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return zo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return zo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return zo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return zo.getBorderMask(n)},t.prototype.getColor=function(n){return zo.getColor(n)},t.prototype.getAlpha=function(n){return zo.getAlpha(n)},t.prototype.getHeight=function(){return zo.getHeight()},t.prototype.getCornerMask=function(){return zo.getCornerMask()},t.prototype.getTextFormatter=function(){return dc},t.prototype.newTextValue=function(){return new Date},t}(N);oe.init();var kc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return oe.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Ko),Tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),pc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(Tc),gc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return o.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t.prototype.getCursor=function(t){return t.is(ie.RESIZING)?"col-resize":n.prototype.getCursor.call(this,t)},t}(Tc),bc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gc);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var wc=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=l.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=l.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.05),t}return e(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled||n.on(ie.RESIZING)?n.is(ie.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(ie.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(ie.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(ie.END)?o.ALL:o.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return p.CENTER},r.prototype.getCornerMask=function(){return c.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(ie.CHECKABLE)?M.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(ie.CHECKABLE)?M.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(ie.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(ie.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return w.BORDER},r.prototype.getCursor=function(n){return n.isActionable?n.is(ie.HOVERED_ON_EDGE)||n.on(ie.RESIZING)?"col-resize":n.is(ie.CHECKABLE)||n.is(ie.SORTABLE)?"pointer":"":""},r.prototype.getEdgeWidth=function(){return 10},r}(it),yc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(wc),Ic=function(){r.set("DTableBodyCellActionDialog",Oo),r.set("DTableBodyCellActionMenu",qo),r.set("DTableBodyCellActionPromise",Xo),r.set("DTableBodyCellButton",Ko),r.set("DTableBodyCellCheck",Zo),r.set("DTableBodyCellColor",jo),r.set("DTableBodyCellDate",Qo),r.set("DTableBodyCellDatetime",nc),r.set("DTableBodyCellIndex",rc),r.set("DTableBodyCellInputInteger",uc),r.set("DTableBodyCellInputReal",ec),r.set("DTableBodyCellInputTextArea",oc),r.set("DTableBodyCellInputText",ic),r.set("DTableBodyCellInputTreeMarker",ac),r.set("DTableBodyCellInputTreeInput",fc),r.set("DTableBodyCellInputTree",cc),r.set("DTableBodyCellLink",lc),r.set("DTableBodyCellSelectDialog",Vo),r.set("DTableBodyCellSelectMenu",sc),r.set("DTableBodyCellSelectMultiple",hc),r.set("DTableBodyCellSelectPromise",Yo),r.set("DTableBodyCellTextArea",Dc),r.set("DTableBodyCellText",Wo),r.set("DTableBodyCellTree",kc),r.set("DTableBodyCellTime",mc),r.set("DTableBodyRow",pc),r.set("DTableBody",Ro),r.set("DTableCategoryCell",yc),r.set("DTableCategory",bc),r.set("DTableHeaderCell",wc),r.set("DTableHeader",gc),r.set("DTableRow",Tc),r.set("DTable",Ho),P(),Be(),ei(),li(),Ut(),Gt(),rr(),ur(),Ti(),Ar()};t.add("button_process_processing",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" fill="#fff"/></g>'),t.add("button_process_success",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" fill="#fff" /></g>'),t.add("button_process_fail",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" fill="#fff" /></g>');var Cc=function(n){return n.isProcessing?t.mappings.button_process_processing:n.isSucceeded?t.mappings.button_process_success:t.mappings.button_process_fail},vc=function(n){var t=n.valueOf(Br.PROCESSING);return null!=t?t*Math.PI*.02:0},Bc=function(){function n(){}return n.prototype.getProcessDoneDelay=function(){return 400},n.prototype.getProcessCloseDelay=function(){return 3e3},n.prototype.isProcessTextEnabled=function(){return!1},n.prototype.isProcessImageEnabled=function(){return!0},n.prototype.getProcessImageIndex=function(){return 0},n.prototype.newProcessImageSource=function(){return Cc},n.prototype.newProcessImageRotation=function(){return vc},n}(),xc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newProcessTextValue=function(){return co},t}(Bc),Sc=function(){r.set("DIndicatorProcessing",xc)},Mc=function(){ke(),m(),T(),vi(),me(),Q(),Bn(),Mn(),Hi(),Pi(),Do(),ct(),Dt(),dt(),Sc(),wo(),or(),vo(),Dr(),he(),Hr(),nu(),Ar(),Ao(),du(),au(),Le(),Ce(),ri(),ti(),ni(),bu(),Ic(),ee(),ue()},Ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Zi),_c={__proto__:null,loadThemeDarkBase:m,loadThemeDarkBoard:T,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonDanger:U,loadThemeDarkButtonFile:H,loadThemeDarkButtonLink:z,loadThemeDarkButtonPrimary:V,loadThemeDarkButtonRadioRight:Y,loadThemeDarkButtonRadio:X,loadThemeDarkButtonSecondary:K,loadThemeDarkButton:Z,loadThemeDarkCanvasContainer:Q,loadThemeDarkChart:Bn,loadThemeDarkColor:Mn,loadThemeDarkDialogFitted:qn,loadThemeDarkDialogInputBoolean:Wn,loadThemeDarkDialogInputInteger:Zn,loadThemeDarkDialogInputReal:Jn,loadThemeDarkDialogInputText:$n,loadThemeDarkDialog:nt,loadThemeDarkDropdown:ut,loadThemeDarkExpandable:ct,loadThemeDarkHtmlElement:Dt,loadThemeDarkImage:dt,loadThemeDarkInputAndLabel:Tt,loadThemeDarkInputInteger:Ut,loadThemeDarkInputLabel:Ht,loadThemeDarkInputReal:Gt,loadThemeDarkInputSearch:qt,loadThemeDarkInputTextArea:rr,loadThemeDarkInputText:ur,loadThemeDarkLayout:or,loadThemeDarkList:Dr,loadThemeDarkMenuBar:Hr,loadThemeDarkMenuSided:nu,loadThemeDarkMenu:Ar,loadThemeDarkPagination:au,loadThemeDarkPane:du,loadThemeDarkScrollBar:Du,loadThemeDarkSelect:bu,loadThemeDarkShapeActionValue:Ou,loadThemeDarkShape:Xu,loadThemeDarkSlider:ue,loadThemeDarkText:ee,loadThemeDarkTree:he,loadThemeDarkView:me,loadThemeDark:ke,loadThemeDarkEnUsAll:Mc,loadThemeDarkEnUsButtonAll:vi,loadThemeDarkEnUsButtonColorGradient:Fe,loadThemeDarkEnUsButtonColor:Be,loadThemeDarkEnUsButtonDate:ei,loadThemeDarkEnUsButtonDatetime:li,loadThemeDarkEnUsButtonSelect:pi,loadThemeDarkEnUsButtonTime:Ci,loadThemeDarkEnUsDiagramEditor:Hi,loadThemeDarkEnUsDiagram:Pi,loadThemeDarkEnUsDialogAll:Do,loadThemeDarkEnUsDialogColorGradient:Pe,loadThemeDarkEnUsDialogColor:ve,loadThemeDarkEnUsDialogConfirmDelete:$i,loadThemeDarkEnUsDialogConfirmDiscard:to,loadThemeDarkEnUsDialogConfirm:Ji,loadThemeDarkEnUsDialogDate:ui,loadThemeDarkEnUsDialogDatetime:ai,loadThemeDarkEnUsDialogLayered:Wi,loadThemeDarkEnUsDialogMessage:eo,loadThemeDarkEnUsDialogProcessing:ao,loadThemeDarkEnUsDialogSaveAs:ho,loadThemeDarkEnUsDialogSelect:Ti,loadThemeDarkEnUsDialogTime:Ii,loadThemeDarkEnUsIndicatorProcessing:Sc,loadThemeDarkEnUsInputAll:wo,loadThemeDarkEnUsInputBoolean:bo,loadThemeDarkEnUsLink:vo,loadThemeDarkEnUsNote:Ao,loadThemeDarkEnUsPickerColorGradient:Le,loadThemeDarkEnUsPickerColor:Ce,loadThemeDarkEnUsPickerDate:ri,loadThemeDarkEnUsPickerDatetime:ti,loadThemeDarkEnUsPickerTime:ni,loadThemeDarkEnUsShapePointsFormatter:Li,loadThemeDarkEnUsTable:Ic,DThemeDarkAtlas:t,DThemeDarkBase:d,DThemeDarkBoard:k,DThemeDarkButtonAmbient:x,DThemeDarkButtonBase:B,DThemeDarkButtonCheckRight:_,DThemeDarkButtonCheck:E,DThemeDarkButtonChecks:M,DThemeDarkButtonColorGradient:Me,DThemeDarkButtonColor:pe,DThemeDarkButtonDanger:F,DThemeDarkButtonDate:Ae,DThemeDarkButtonDatetime:ci,DThemeDarkButtonFile:A,DThemeDarkButtonLink:R,DThemeDarkButtonPrimary:G,DThemeDarkButtonRadioRight:q,DThemeDarkButtonRadio:O,DThemeDarkButtonSecondary:W,DThemeDarkButtonSelect:hi,DThemeDarkButtonTime:wi,DThemeDarkButton:N,DThemeDarkCanvasContainer:J,DThemeDarkCanvas:j,DThemeDarkChartAxisBase:on,DThemeDarkChartAxisXDatetime:an,DThemeDarkChartAxisX:cn,DThemeDarkChartAxisY:ln,DThemeDarkChartCoordinateTick:hn,DThemeDarkChartCoordinateTransform:Dn,DThemeDarkChartCoordinate:sn,DThemeDarkChartLegendItem:mn,DThemeDarkChartLegend:dn,DThemeDarkChartOverview:kn,DThemeDarkChartPlotArea:Tn,DThemeDarkChartSelectionGridlineX:yn,DThemeDarkChartSelectionGridlineY:In,DThemeDarkChartSelectionMarker:vn,DThemeDarkChartSelectionShape:wn,DThemeDarkChart:$,DThemeDarkColorRecent:xn,DThemeDarkColorStandard:Sn,DThemeDarkConstants:s,DThemeDarkContent:lu,DThemeDarkDiagramBase:Bi,DThemeDarkDiagramCanvasBase:Si,DThemeDarkDiagramCanvasEditor:Ui,DThemeDarkDiagramCanvas:Mi,DThemeDarkDiagramEditor:Ni,DThemeDarkDiagram:xi,DThemeDarkDialogColorGradient:Ee,DThemeDarkDialogColor:ge,DThemeDarkDialogConfirmDelete:Ec,DThemeDarkDialogConfirmMessage:Ki,DThemeDarkDialogConfirm:Zi,DThemeDarkDialogDate:He,DThemeDarkDialogDatetime:fi,DThemeDarkDialogFittedContent:On,DThemeDarkDialogFitted:Hn,DThemeDarkDialogInputBoolean:Xn,DThemeDarkDialogInputInteger:Kn,DThemeDarkDialogInputReal:jn,DThemeDarkDialogInputText:Qn,DThemeDarkDialogInput:Yn,DThemeDarkDialogLayeredContent:Vn,DThemeDarkDialogLayeredFooter:Yi,DThemeDarkDialogLayeredHeaderButtonClose:Gi,DThemeDarkDialogLayeredHeaderSeparator:qi,DThemeDarkDialogLayeredHeader:Ri,DThemeDarkDialogLayered:An,DThemeDarkDialogMessage:ro,DThemeDarkDialogProcessingMessage:io,DThemeDarkDialogProcessing:oo,DThemeDarkDialogSaveAs:lo,DThemeDarkDialogSelectListItem:di,DThemeDarkDialogSelectList:Di,DThemeDarkDialogSelect:mi,DThemeDarkDialogTime:yi,DThemeDarkDialog:Nn,DThemeDarkDropdownBase:tt,DThemeDarkDropdown:rt,DThemeDarkExpandableHeader:ot,DThemeDarkExpandable:et,DThemeDarkExpandables:Ir,DThemeDarkFont:h,DThemeDarkHtmlElement:ht,DThemeDarkImageBase:v,DThemeDarkImage:it,DThemeDarkIndicatorProcess:Bc,DThemeDarkInputAndLabel:kt,DThemeDarkInputBooleanButtonOff:ko,DThemeDarkInputBooleanButtonOn:po,DThemeDarkInputBoolean:mo,DThemeDarkInputInput:_t,DThemeDarkInputInteger:Ft,DThemeDarkInputLabel:At,DThemeDarkInputNumber:Lt,DThemeDarkInputReal:zt,DThemeDarkInputSearch:Ot,DThemeDarkInputTextArea:tr,DThemeDarkInputText:Vt,DThemeDarkInput:bt,DThemeDarkLayoutBoard:er,DThemeDarkLayoutHorizontal:mt,DThemeDarkLayoutSpace:ir,DThemeDarkLayoutVertical:Gn,DThemeDarkLayout:zn,DThemeDarkLink:Io,DThemeDarkListItemAmbient:hr,DThemeDarkListItem:sr,DThemeDarkListItems:lr,DThemeDarkList:ar,DThemeDarkMenuBarItem:mr,DThemeDarkMenuBar:dr,DThemeDarkMenuItemBase:Tr,DThemeDarkMenuItemCheck:br,DThemeDarkMenuItemExpandableBody:yr,DThemeDarkMenuItemExpandableHeader:Cr,DThemeDarkMenuItemExpandableItemCheck:vr,DThemeDarkMenuItemExpandableItemLink:Mr,DThemeDarkMenuItemExpandableItemMenu:_r,DThemeDarkMenuItemExpandableItemSeparator:Pr,DThemeDarkMenuItemExpandableItemSpace:Ur,DThemeDarkMenuItemExpandableItemText:Nr,DThemeDarkMenuItemExpandable:wr,DThemeDarkMenuItemLink:Sr,DThemeDarkMenuItemMenu:Er,DThemeDarkMenuItemSeparator:Lr,DThemeDarkMenuItemSpace:Fr,DThemeDarkMenuItemText:gr,DThemeDarkMenuItem:pr,DThemeDarkMenuSidedContent:zr,DThemeDarkMenuSidedItemCheck:Gr,DThemeDarkMenuSidedItemExpandableItemCheck:Or,DThemeDarkMenuSidedItemExpandableItemLink:qr,DThemeDarkMenuSidedItemExpandableItemMenu:Yr,DThemeDarkMenuSidedItemExpandableItemSeparator:Xr,DThemeDarkMenuSidedItemExpandableItemSpace:Wr,DThemeDarkMenuSidedItemExpandableItemText:Kr,DThemeDarkMenuSidedItemExpandable:Vr,DThemeDarkMenuSidedItemLink:Zr,DThemeDarkMenuSidedItemMenu:jr,DThemeDarkMenuSidedItemSeparator:Jr,DThemeDarkMenuSidedItemSpace:Qr,DThemeDarkMenuSidedItemText:$r,DThemeDarkMenuSided:Rr,DThemeDarkMenu:kr,DThemeDarkNoteError:xo,DThemeDarkNoteNoItemsFound:Mo,DThemeDarkNoteSearching:_o,DThemeDarkNoteSmallError:Fo,DThemeDarkNoteSmallNoItemsFound:Uo,DThemeDarkNoteSmallSearching:No,DThemeDarkNoteSmall:Po,DThemeDarkNote:Bo,DThemeDarkPaginationButtonLast:uu,DThemeDarkPaginationButtonNext:eu,DThemeDarkPaginationButtonPage:iu,DThemeDarkPaginationButtonPrevious:ou,DThemeDarkPaginationButtonTop:cu,DThemeDarkPaginationDots:ru,DThemeDarkPaginationPage:fu,DThemeDarkPagination:tu,DThemeDarkPane:fr,DThemeDarkPickerColorGradient:_e,DThemeDarkPickerColor:ye,DThemeDarkPickerDatetimeButtonBack:Ke,DThemeDarkPickerDatetimeButtonDate:Ze,DThemeDarkPickerDatetimeButtonNext:je,DThemeDarkPickerDatetimeLabelDate:Qe,DThemeDarkPickerDatetimeLabel:Je,DThemeDarkPickerDatetimeSpace:$e,DThemeDarkPickerTime:ze,DThemeDarkScrollBarThumb:hu,DThemeDarkScrollBar:su,DThemeDarkSelectMultiple:gu,DThemeDarkSelect:Tu,DThemeDarkSliderHorizontal:Ku,DThemeDarkSliderLabel:Zu,DThemeDarkSliderThumb:Ju,DThemeDarkSliderTrackHorizontal:$u,DThemeDarkSliderTrackVertical:ne,DThemeDarkSliderTrack:Qu,DThemeDarkSliderValue:te,DThemeDarkSliderVertical:re,DThemeDarkSlider:Wu,DThemeDarkSliders:ju,DThemeDarkTableBodyCellActionDialog:Oo,DThemeDarkTableBodyCellActionMenu:qo,DThemeDarkTableBodyCellActionPromise:Xo,DThemeDarkTableBodyCellActions:Go,DThemeDarkTableBodyCellButton:Ko,DThemeDarkTableBodyCellCheck:Zo,DThemeDarkTableBodyCellColor:jo,DThemeDarkTableBodyCellDate:Qo,DThemeDarkTableBodyCellDatetime:nc,DThemeDarkTableBodyCellIndex:rc,DThemeDarkTableBodyCellInputInteger:uc,DThemeDarkTableBodyCellInputReal:ec,DThemeDarkTableBodyCellInputTextArea:oc,DThemeDarkTableBodyCellInputText:ic,DThemeDarkTableBodyCellInputTreeInput:fc,DThemeDarkTableBodyCellInputTreeMarker:ac,DThemeDarkTableBodyCellInputTree:cc,DThemeDarkTableBodyCellLink:lc,DThemeDarkTableBodyCellSelectDialog:Vo,DThemeDarkTableBodyCellSelectMenu:sc,DThemeDarkTableBodyCellSelectMultiple:hc,DThemeDarkTableBodyCellSelectPromise:Yo,DThemeDarkTableBodyCellTextArea:Dc,DThemeDarkTableBodyCellText:Wo,DThemeDarkTableBodyCellTime:mc,DThemeDarkTableBodyCellTree:kc,DThemeDarkTableBodyCellTrees:oe,DThemeDarkTableBodyCells:zo,DThemeDarkTableBodyRow:pc,DThemeDarkTableBody:Ro,DThemeDarkTableCategoryCell:yc,DThemeDarkTableCategory:bc,DThemeDarkTableHeaderCell:wc,DThemeDarkTableHeader:gc,DThemeDarkTableRow:Tc,DThemeDarkTable:Ho,DThemeDarkTextBase:C,DThemeDarkText:Nt,DThemeDarkTreeItemButton:le,DThemeDarkTreeItemNonEditable:se,DThemeDarkTreeItemText:ae,DThemeDarkTreeItems:ce,DThemeDarkTree:fe,DThemeDarkView:de,DThemeDark:r,EThemeDarkShapeActionValue:Vu,EThemeDarkShapePointsFormatter:Ei,EThemeDarkShape:Yu,DThemeDarkEnUsDiagramEditor:Ai,DThemeDarkEnUsDialogConfirmDelete:Qi,DThemeDarkEnUsDialogConfirmDiscard:no,DThemeDarkEnUsDialogConfirm:ji,DThemeDarkEnUsDialogLayeredFooter:Xi,DThemeDarkEnUsDialogMessage:uo,dThemeDarkEnUsDialogProcessingMessage:co,DThemeDarkEnUsDialogProcessing:fo,DThemeDarkEnUsDialogSaveAs:so,DThemeDarkEnUsDialogSelect:ki,DThemeDarkEnUsIndicatorProcessing:xc,DThemeDarkEnUsInputBooleanButtonOff:To,DThemeDarkEnUsInputBooleanButtonOn:go,DThemeDarkEnUsLink:Co,DThemeDarkEnUsNoteError:So,DThemeDarkEnUsNoteNoItemsFound:Eo,DThemeDarkEnUsNoteSearching:Lo,DThemeDarkEnUsPickerColor:Ie,DThemeDarkEnUsPickerDate:We,DThemeDarkEnUsPickerDatetime:Xe,DThemeDarkEnUsPickerTime:Ge,EThemeDarkEnUsShapePointsFormatter:_i};Mc();var Lc=window;Lc.wcardinal=Lc.wcardinal||{};var Pc=Lc.wcardinal.ui=Lc.wcardinal.ui||{},Fc=_c;for(var Uc in Fc)Pc[Uc]=Fc[Uc]}(PIXI);
9
+ !function(n){"use strict";var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:n.SCALE_MODES.LINEAR,mipmap:n.MIPMAP_MODES.OFF}),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,o=wcardinal.ui.DBorderMask,c=wcardinal.ui.DCornerMask,f=wcardinal.ui.DLayoutClearType,a=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),h=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),D=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};D("shadow_weak",24,.72),D("shadow",48,.72),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var d=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return o.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return c.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return o.NONE},r.prototype.getClearType=function(){return f.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return i.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new a(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new a(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(h),m=function(){r.set("DBase",d)},k=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return e(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return i.BOTH},t}(d),T=function(){r.set("DBoard",k)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,w=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return I},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageRotation=function(n){return 0},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getSecondaryImageRotation=function(n){return this.getImageRotation(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageRotation=function(n){return this.getImageRotation(n)},t}(C),v=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=l.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=l.brighten(t,u),e.OUTLINE_COLOR=l.darken(t,.75),e}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(B),x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(v),S=function(){r.set("DButtonAmbient",x)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var M=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}(),E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return M.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return M.getImageSource(n)},t}(x),_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(E),L=function(){r.set("DButtonCheckRight",_)},P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(v),U=function(){r.set("DButtonDanger",F)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(v),A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(N),H=function(){r.set("DButtonFile",A)},R=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(x),z=function(){r.set("DButtonLink",R)},G=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(v),O=function(){r.set("DButtonPrimary",G)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var V=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(x),q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(V),Y=function(){r.set("DButtonRadioRight",q)},X=function(){r.set("DButtonRadio",V)},W=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(v),K=function(){r.set("DButtonSecondary",W)},Z=function(){r.set("DButton",N)},j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getInteractive=function(){return i.BOTH},t}(d),J=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return i.BOTH},t}(d),Q=function(){r.set("DCanvasContainer",J),r.set("DCanvas",j)},$=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d);const nn=wcardinal.ui.DChartAxisPosition,tn=wcardinal.ui.DChartAxisTickPosition,rn=wcardinal.ui.EShapeTextAlignHorizontal,un=wcardinal.ui.EShapeTextAlignVertical,en=wcardinal.ui.EShapeTextDirection;var on=function(){function n(){}return n.prototype.getPosition=function(){return nn.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case nn.TOP:case nn.BOTTOM:return rn.CENTER;case nn.LEFT:return rn.OUTSIDE_LEFT;case nn.RIGHT:return rn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case nn.TOP:return un.OUTSIDE_TOP;case nn.BOTTOM:return un.OUTSIDE_BOTTOM;case nn.LEFT:case nn.RIGHT:return un.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return en.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return tn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(on),fn=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return fn},t}(cn),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPosition=function(){return nn.LEFT},t.prototype.getLabelDirection=function(){return en.BOTTOM_TO_TOP},t}(on),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),hn=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Dn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getMargin=function(){return 20},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,bn=wcardinal.ui.EShapeBarPosition;var wn=function(){},yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=bn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(wn);const Cn=wcardinal.ui.EShapeCircle;var Bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Cn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(wn),vn=function(){r.set("DChart",$),r.set("DChartAxisX",cn),r.set("DChartAxisXDatetime",an),r.set("DChartAxisY",ln),r.set("DChartCoordinate",sn),r.set("DChartCoordinateTick",hn),r.set("DChartCoordinateTransform",Dn),r.set("DChartLegend",dn),r.set("DChartLegendItem",mn),r.set("DChartOverview",kn),r.set("DChartPlotArea",Tn),r.set("DChartSelectionGridlineX",yn),r.set("DChartSelectionGridlineY",In),r.set("DChartSelectionMarker",Bn)},xn=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Sn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),Mn=function(){r.set("DColorRecent",xn),r.set("DColorStandard",Sn)};const En=wcardinal.ui.DAnimationFadeIn,_n=wcardinal.ui.DDialogAlign,Ln=wcardinal.ui.DDialogCloseOn,Pn=wcardinal.ui.DDialogGestureMode,Fn=wcardinal.ui.DDialogMode,Un=wcardinal.ui.DDialogState;var Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMode=function(){return Fn.MODAL},t.prototype.closeOn=function(n){switch(n){case Fn.MODAL:case Fn.MENU:return Ln.ESC|Ln.CLICK_OUTSIDE;case Fn.MODELESS:return Ln.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Fn.MODAL:case Fn.MODELESS:return!0;case Fn.MENU:return!1}},t.prototype.getGestureMode=function(n){return Pn.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return _n.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Fn.MODAL:return new En;case Fn.MODELESS:case Fn.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Un.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Un.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return i.BOTH},t}(d),An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Nn),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(An);const Rn=wcardinal.ui.DLayoutDirection;var zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(zn),On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Gn),Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t}(On),qn=function(){r.set("DDialogFittedContent",Vn),r.set("DDialogFitted",Hn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(An),Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Wn=function(){r.set("DDialogInputBoolean",Xn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Zn=function(){r.set("DDialogInputInteger",Kn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),Jn=function(){r.set("DDialogInputReal",jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Yn),$n=function(){r.set("DDialogInputText",Qn)},nt=function(){r.set("DDialog",Nn)};t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var tt=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return e(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(v),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(tt),ut=function(){r.set("DDropdown",rt)},et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(B);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return c.ALL},t}(it),ct=function(){r.set("DExpandableHeader",ot),r.set("DExpandable",et)};const ft=wcardinal.ui.DHtmlElementState,at=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},st=function(n){var t=document.createElement("div");return n.appendChild(t),t},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ft.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return st},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return st},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return st},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return at.FOCUSED},t.prototype.getSelect=function(){return!1},t}(B),Dt=function(){r.set("DHtmlElement",ht)},dt=function(){r.set("DImage",it)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDirection=function(){return Rn.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(zn),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){r.set("DInputAndLabel",kt)},pt=function(){return null},gt=function(n){return n},bt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.017),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},t.prototype.getOutlineColor=function(t){return t.isInvalid?s.INVALID_COLOR:n.prototype.getOutlineColor.call(this,t)},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(ht),wt="d-theme-dark-input",yt="".concat(wt,"-element"),It=function(n){var t=n.getElementsByClassName(yt);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",yt),n.appendChild(r),r},Ct=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Bt="".concat(wt,"-clipper"),vt=function(n){return Ct(n,Bt)},xt="".concat(wt,"-before"),St=function(n){return Ct(n,xt)},Mt="".concat(wt,"-after"),Et=function(n){return Ct(n,Mt)},_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getElementCreator=function(){return It},t.prototype.getClipperCreator=function(){return vt},t.prototype.getBeforeCreator=function(){return St},t.prototype.getAfterCreator=function(){return Et},t}(bt),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(_t),Pt=function(n){var t=parseInt(n,10);return t==t?t:0},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Pt},t}(Lt),Ut=function(){r.set("DInputInteger",Ft)},Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Nt),Ht=function(){r.set("DInputLabel",At)},Rt=function(n){var t=parseFloat(n);return t==t?t:0},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getEditingUnformatter=function(){return Rt},t}(Lt),Gt=function(){r.set("DInputReal",zt)},Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return""},t}(_t);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Vt=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Ot),qt=function(){r.set("DInputSearch",Vt)},Yt="d-theme-dark-input-text-area",Xt="".concat(Yt,"-element"),Wt=function(n){var t=n.getElementsByClassName(Xt);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Xt),n.appendChild(r),r},Kt=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Zt="".concat(Yt,"-clipper"),jt=function(n){return Kt(n,Zt)},Jt="".concat(Yt,"-before"),Qt=function(n){return Kt(n,Jt)},$t="".concat(Yt,"-after"),nr=function(n){return Kt(n,$t)},tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return Wt},t.prototype.getClipperCreator=function(){return jt},t.prototype.getBeforeCreator=function(){return Qt},t.prototype.getAfterCreator=function(){return nr},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(bt),rr=function(){r.set("DInputTextArea",tr)},ur=function(){r.set("DInputText",Ot)},er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return f.BOTH},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),or=function(){r.set("DLayout",zn),r.set("DLayoutHorizontal",mt),r.set("DLayoutSpace",ir),r.set("DLayoutVertical",Gn),r.set("DLayoutBoard",er)};const cr=wcardinal.ui.UtilGestureMode;var fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return cr.TOUCH},t}(d),ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(fr),lr=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.brighten(n,.0075),this.D=1,this.m=l.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:l.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=l.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.0075,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.C=s.COLOR,this.B=r?s.ACTIVE_COLOR:s.COLOR,r?(this.v=s.COLOR,this.S=s.ACTIVE_COLOR):(this.v=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.D:this.l:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.D:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return o.NONE},n.prototype.getColor=function(n){return n.isActive?this.S:this.v},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.C:this.B},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return c.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),sr=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(B),hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!1,!0)},t}(sr),Dr=function(){r.set("DListItemAmbient",hr),r.set("DListItem",sr),r.set("DList",ar)},dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(N),kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Gn),Tr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(it),pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Tr),gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(pr);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var br=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(gr),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return c.ALL},t}(Gn),Ir=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();Ir.init();var Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?Ir.getImageOpened():Ir.getImageClosed()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Tr),Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(br);const vr=wcardinal.ui.DBaseState,xr=wcardinal.ui.DThemes;var Sr=function(n){function t(){var t=n.call(this)||this;return t._=xr.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageSource=function(n){return n.is(vr.NEW_WINDOW)?this._.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(gr),Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Sr);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var Er=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return w.BORDER},r.prototype.getImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(pr),_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Er),Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Tr),Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Lr),Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(ir),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Fr),Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(gr),Ar=function(){r.set("DMenu",kr),r.set("DMenuItem",pr),r.set("DMenuItemCheck",br),r.set("DMenuItemLink",Sr),r.set("DMenuItemMenu",Er),r.set("DMenuItemSeparator",Lr),r.set("DMenuItemSpace",Fr),r.set("DMenuItemText",gr),r.set("DMenuItemExpandableBody",yr),r.set("DMenuItemExpandableHeader",Cr),r.set("DMenuItemExpandableItemCheck",Br),r.set("DMenuItemExpandableItemLink",Mr),r.set("DMenuItemExpandableItemMenu",_r),r.set("DMenuItemExpandableItemSeparator",Pr),r.set("DMenuItemExpandableItemSpace",Ur),r.set("DMenuItemExpandableItemText",Nr),r.set("DMenuItemExpandable",wr)},Hr=function(){r.set("DMenuBarItem",mr),r.set("DMenuBar",dr),Ar()},Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t}(fr),zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Gn),Gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(br),Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(wr),Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Br),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Mr),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(_r),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Pr),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ur),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Nr),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Sr),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Er),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Lr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Fr),$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(gr),nu=function(){r.set("DMenuSided",Rr),r.set("DMenuSidedContent",zr),r.set("DMenuSidedItemCheck",Gr),r.set("DMenuSidedItemLink",Zr),r.set("DMenuSidedItemMenu",jr),r.set("DMenuSidedItemSeparator",Jr),r.set("DMenuSidedItemSpace",Qr),r.set("DMenuSidedItemText",$r),r.set("DMenuSidedItemExpandable",Or),r.set("DMenuSidedItemExpandableItemCheck",Vr),r.set("DMenuSidedItemExpandableItemLink",qr),r.set("DMenuSidedItemExpandableItemMenu",Yr),r.set("DMenuSidedItemExpandableItemSeparator",Xr),r.set("DMenuSidedItemExpandableItemSpace",Wr),r.set("DMenuSidedItemExpandableItemText",Kr)},tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getInteractive=function(){return i.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getImageAlignWith=function(){return w.BORDER},r}(B);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var uu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(x);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var eu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(x),iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(x);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(x);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var cu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(x),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(B),au=function(){r.set("DPagination",tu),r.set("DPaginationPage",fu),r.set("DPaginationDots",ru),r.set("DPaginationButtonLast",uu),r.set("DPaginationButtonNext",eu),r.set("DPaginationButtonPage",iu),r.set("DPaginationButtonPrevious",ou),r.set("DPaginationButtonTop",cu)},lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),hu=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.darken(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.darken(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.darken(t.BORDER_COLOR,.5),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Du=function(){r.set("DScrollBar",su),r.set("DScrollBarThumb",hu)},du=function(){r.set("DPane",fr),r.set("DContent",lu),Du()};const mu=wcardinal.ui.isString;var ku=function(n){if(n){var t=n.text.value;if(mu(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return ku},t.prototype.newTextValue=function(){return null},t}(tt),pu=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text.value;if(mu(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return pu},t.prototype.newTextValue=function(){return[]},t}(tt),bu=function(){r.set("DSelectMultiple",gu),r.set("DSelect",Tu),ut()};const wu=wcardinal.ui.EShapeActionMiscExtensions,yu=wcardinal.ui.EShapeActionOpenDialogExtensions,Iu=wcardinal.ui.EShapeActionOpenExtensions,Cu=wcardinal.ui.EShapeActionValueBlinkType,Bu=wcardinal.ui.EShapeActionValueChangeColorTarget,vu=wcardinal.ui.EShapeActionValueChangeColorType,xu=wcardinal.ui.EShapeActionValueChangeTextType,Su=wcardinal.ui.EShapeActionValueGestureOperationType,Mu=wcardinal.ui.EShapeActionValueGestureType,Eu=wcardinal.ui.EShapeActionValueMiscType,_u=wcardinal.ui.EShapeActionValueOnInputAction,Lu=wcardinal.ui.EShapeActionValueOpenDialogType,Pu=wcardinal.ui.EShapeActionValueOpenType,Fu=wcardinal.ui.EShapeActionValueOpetyped,Uu=wcardinal.ui.EShapeActionValueShowHideType,Nu=wcardinal.ui.EShapeActionValueSubtyped,Au=wcardinal.ui.EShapeActionValueTransformMoveType,Hu=wcardinal.ui.EShapeActionValueTransformResizeType,Ru=wcardinal.ui.EShapeActionValueTransformRotateType,zu=wcardinal.ui.EShapeActionValueTransformType,Gu=wcardinal.ui.EShapeActionValueType;var Ou=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Nu){var r,u=n.subtype;if(n instanceof Fu){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Gu.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Gu.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Gu.CHANGE_COLOR:case Gu.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Gu.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Gu.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Gu.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Gu.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Gu.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case zu.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case zu.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case zu.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Gu.SHOW_HIDE:return"Show / hide";case Gu.BLINK:return"Blink";case Gu.TRANSFORM:return"Transform";case Gu.OPEN:return"Open";case Gu.CHANGE_COLOR:case Gu.CHANGE_COLOR_LEGACY:return"Change color";case Gu.CHANGE_TEXT:return"Change text";case Gu.CHANGE_CURSOR:return"Change cursor";case Gu.EMIT_EVENT:return"Emit an event";case Gu.GESTURE:return"Gesture";case Gu.MISC:return"Misc.";default:return Gu.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Cu.VISIBILITY:return"Visibility";case Cu.BRIGHTEN:return"Brighten";case Cu.DARKEN:return"Darken";case Cu.OPACITY:return"Opacity";case Cu.COLOR_FILL:return"Fill";case Cu.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case Uu.SHAPE_SHOW:return"Show";case Uu.SHAPE_HIDE:return"Hide";case Uu.SHAPE:return"Shape";case Uu.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case zu.RESIZE:return"Resize";case zu.MOVE:return"Move";case zu.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Ru.RELATIVE:return"Relative";case Ru.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Au.RELATIVE_X:return"Relative X";case Au.RELATIVE_Y:return"Relative Y";case Au.ABSOLUTE_X:return"Absolute X";case Au.ABSOLUTE_Y:return"Absolute Y";case Au.FORWARD_OR_BACKWARD:return"Forward / backward";case Au.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Hu.ABSOLUTE_SIZE:return"Height & width";case Hu.RELATIVE_SIZE:return"Height & width (%)";case Hu.ABSOLUTE_HEIGHT:return"Height";case Hu.RELATIVE_HEIGHT:return"Height (%)";case Hu.ABSOLUTE_WIDTH:return"Width";case Hu.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===vu.NONE)return"None";var t="",r="";return n&vu.FILL&&(t+=r+"Fill",r=", "),n&vu.STROKE&&(t+=r+"Stroke",r=", "),n&vu.TEXT&&(t+=r+"Text",r=", "),n&vu.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Bu.COLOR_AND_ALPHA:return"Color";case Bu.COLOR:return"RGB";case Bu.ALPHA:return"Alpha";case Bu.CODE:return"Dynamic color";case Bu.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case xu.TEXT:return"Text";case xu.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case Pu.DIAGRAM_LEGACY:return"Diagram";case Pu.PAGE_LEGACY:return"Page (New window)";case Pu.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Pu.DIALOG_TEXT:return"Dialog (Text)";case Pu.DIALOG_INTEGER:return"Dialog (Integer)";case Pu.DIALOG_REAL:return"Dialog (Real)";case Pu.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Pu.DIALOG_DATE:return"Dialog (Date)";case Pu.DIALOG_TIME:return"Dialog (Time)";case Pu.DIALOG_DATETIME:return"Dialog (Datetime)";case Pu.DIAGRAM:return"Diagram";case Pu.PAGE:return"Page";case Pu.DIALOG:return"Dialog";default:if(Pu.EXTENSION<=n){var t=Iu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Lu.TEXT:return"Text";case Lu.INTEGER:return"Integer";case Lu.REAL:return"Real";case Lu.BOOLEAN:return"Boolean";case Lu.DATE:return"Date";case Lu.TIME:return"Time";case Lu.DATETIME:return"Datetime";default:if(Lu.EXTENSION<=n){var t=yu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case Mu.SHAPE:return"Shape";case Mu.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Su.DRAG:return"Drag";case Su.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Eu.INPUT_TEXT:return"Input (Text)";case Eu.INPUT_INTEGER:return"Input (Integer)";case Eu.INPUT_REAL:return"Input (Real)";case Eu.EMIT_EVENT:return this.toOnInputActionLabel(_u.EMIT_EVENT);case Eu.WRITE_BOTH:return this.toOnInputActionLabel(_u.WRITE_BOTH);case Eu.WRITE_LOCAL:return this.toOnInputActionLabel(_u.WRITE_LOCAL);case Eu.WRITE_REMOTE:return this.toOnInputActionLabel(_u.WRITE_REMOTE);case Eu.HTML_ELEMENT:return"HTML element";case Eu.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Eu.SHOW_HIDE_LAYER:return"Show / hide layers";case Eu.GESTURE_LAYER:return"Layer gesture";case Eu.GESTURE:return"Gesture";case Eu.EXECUTE:return"Execute";default:if(Eu.EXTENSION<=n){var t=wu.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case at.CLICKED:return"Clicked";case at.DOUBLE_CLICKED:return"Double clicked";case at.FOCUSED:return"Focused";case at.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case _u.EMIT_EVENT:return"Emit event";case _u.WRITE_BOTH:return"Write (Both)";case _u.WRITE_LOCAL:return"Write (Local)";case _u.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),Vu=function(){r.set("EShapeActionValue",Ou)};const qu=wcardinal.ui.EShapeStrokeSide;var Yu=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return qu.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Xu=function(){r.set("EShape",Yu)},Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Wu),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),ju=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Ju=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return ju.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return p.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(N),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return ju.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(N),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Qu),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Qu),te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Wu),ue=function(){r.set("DSlider",Wu),r.set("DSliderValue",te),r.set("DSliderLabel",Zu),r.set("DSliderThumb",Ju),r.set("DSliderVertical",re),r.set("DSliderHorizontal",Ku),r.set("DSliderTrack",Qu),r.set("DSliderTrackVertical",ne),r.set("DSliderTrackHorizontal",$u)},ee=function(){r.set("DText",Nt)};const ie=wcardinal.ui.DTableState;var oe=function(){function n(){}return n.init=function(){Ir.init()},n.getImageSource=function(n){return n.is(ie.HAS_CHILDREN)?n.is(ie.OPENED)?Ir.getImageOpened():Ir.getImageClosed():null},n}(),ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return oe.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(lr),fe=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ce(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(fr),ae=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return e(t,n),t.prototype.newStyle=function(){return new ce(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(B),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ae);oe.init();var se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getSecondaryImageSource=function(n){return this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}(le),he=function(){r.set("DTree",fe),r.set("DTreeItemText",ae),r.set("DTreeItemButton",le),r.set("DTreeItemNonEditable",se)};const De=wcardinal.ui.UtilGestureModifier;var de=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return De.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return De.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return De.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return cr.ON},n.prototype.getGestureModifier=function(){return De.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),me=function(){r.set("DView",de)},ke=function(){xr.setDefaultThemeClass(r)},Te=function(n,t,r,u,e,i,o,c){var f=null!=o?o:0,a=.5*f,l=Math.max(0,3-a),s=r-f-l-l,h=u-f-l-l;return t+=a,'<path d="M'.concat(n+=a+l,",").concat(t," h").concat(s," a").concat(l,",").concat(l," 0 0 1 ").concat(l,",").concat(l," v").concat(h," a").concat(l,",").concat(l," 0 0 1 -").concat(l,",").concat(l," h-").concat(s," a").concat(l,",").concat(l," 0 0 1 -").concat(l,",-").concat(l," v-").concat(h," a").concat(l,",").concat(l," 0 0 1 ").concat(l,",-").concat(l,'z" fill="').concat(e,'"')+(i?' stroke="'.concat(i,'"'):"")+(null!=o?' stroke-width="'.concat(o,'"'):"")+(null!=c?' stroke-opacity="'.concat(c,'"'):"")+" />"};t.add("button_color_sample",21,21,Te(3,3,15,15,"#fff","#eee",1));var pe=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},ge=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getImageTintColor=function(n){return 16777215},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return pe},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(N),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const we=wcardinal.ui.DColorType;var ye=!1,Ie=function(n,t,r,u,e){return function(n,t,r,u,e,i,o){var c="";return ye||(ye=!0,c='<defs><pattern id="rounded-checkerboard-pattern" patternUnits="userSpaceOnUse" width="18" height="18">'+'<rect x="0" y="0" width="9" height="9" fill="'.concat(r,'" />')+'<rect x="9" y="0" width="9" height="9" fill="'.concat(u,'" />')+'<rect x="0" y="9" width="9" height="9" fill="'.concat(u,'" />')+'<rect x="9" y="9" width="9" height="9" fill="'.concat(r,'" />')+"</pattern></defs>"),c+Te(0,0,n,t,"url(#rounded-checkerboard-pattern)",e,i,o)}(n,t,"#5f5f5f","#454545",r,u,e)};t.add("picker_color_main",234,162,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient>'+Te(0,0,234,162,"url(#fs7w3iusfdnb)")+Te(0,0,234,162,"url(#2rfcfe9874bw)")+"</g>"),t.add("picker_color_main_base",234,162,'<rect x="0" y="0" width="236" height="164" fill="#fff" />'),t.add("picker_color_alpha_checkerboard",234,18,Ie(234,18)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient>'+Te(0,0,234,18,"url(#ni2rbisdf3)")+"</g>"),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,Ie(18,18)),t.add("picker_color_recent",18,18,Te(0,0,18,18,"#fff","#eee",1)),t.add("picker_color_sample_checkerboard",42,66,Ie(42,66,"#fff",1,0)),t.add("picker_color_sample",42,66,Te(0,0,42,66,"#fff","#eee",1)),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,Te(0,0,18,18,"#fff","#eee",1));var Ce=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 18},r.prototype.getSampleWidth=function(){return 42},r.prototype.getSampleHeight=function(){return 66},r.prototype.getSampleMargin=function(){return this.getBaseMargin()},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case we.STANDARD:return"Standard";case we.CUSTOM:return"Custom"}},t}(Ce),ve=function(){r.set("DPickerColor",Be)},xe=function(){r.set("DDialogColor",be),ve()},Se=function(){r.set("DButtonColor",ge),xe()};const Me=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,Te(3,3,15,15,"#fff","#eee",1));var Ee=function(){return""},_e=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return Ee},r.prototype.newTextValue=function(){return new Me},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(N),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),Pe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return i.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(d),Fe=function(){r.set("DPickerColorGradient",Pe),ve()},Ue=function(){r.set("DDialogColorGradient",Le),Fe()},Ne=function(){r.set("DButtonColorGradient",_e),Ue()};const Ae=wcardinal.ui.DPickerDates;var He=function(n){return Ae.format(n)},Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return He},t.prototype.newTextValue=function(){return new Date},t}(N),ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn);const Ge=wcardinal.ui.DPickerDatetimeMask;var Oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Ge.HOURS|Ge.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(Oe),qe=["January","February","March","April","May","June","July","August","September","October","November","December"],Ye=["Su","Mo","Tu","We","Th","Fr","Sa"],Xe=function(n){return"".concat(qe[n.getMonth()]," ").concat(n.getFullYear())},We=function(){},Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDayLabels=function(){return Ye},t.prototype.getLabelFormatter=function(){return Xe},t.prototype.getDateDecorator=function(){return We},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Ge.DATE|n.prototype.getMask.call(this)},t}(Ve),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMask=function(){return Ge.DATE},t}(Ke);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(x);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var Qe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return w.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return p.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(x),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return i.NONE},t}(Nt),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Nt),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return i.NONE},t}(d),ri=function(){r.set("DPickerTime",Ve)},ui=function(){r.set("DPickerDatetimeButtonBack",je),r.set("DPickerDatetimeButtonDate",Je),r.set("DPickerDatetimeButtonNext",Qe),r.set("DPickerDatetimeLabelDate",ni),r.set("DPickerDatetimeLabel",$e),r.set("DPickerDatetimeSpace",ti),r.set("DPickerDatetime",Ke),ri()},ei=function(){r.set("DPickerDate",Ze),ui()},ii=function(){r.set("DDialogDate",ze),ei()},oi=function(){r.set("DButtonDate",Re),ii()};const ci=wcardinal.ui.DPickerDatetimes;var fi=function(n,t){return ci.format(n,t.getDatetimeMask())},ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return fi},t.prototype.newTextValue=function(){return new Date},t}(N),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),si=function(){r.set("DDialogDatetime",li),ui()},hi=function(){r.set("DButtonDatetime",ai),si()};const Di=wcardinal.ui.toLabel;var di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return Di},t.prototype.newTextValue=function(){return null},t}(N),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ar),ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newStyle=function(){return new lr(null,!1,!0)},t.prototype.getCornerMask=function(){return c.NONE},t}(sr),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(An),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(Ti),gi=function(){r.set("DDialogSelect",pi),r.set("DDialogSelectList",mi),r.set("DDialogSelectListItem",ki)},bi=function(){r.set("DButtonSelect",di),gi()};const wi=wcardinal.ui.DPickerTimes;var yi=function(n,t){return wi.format(n,t.getDatetimeMask())},Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextFormatter=function(){return yi},t.prototype.newTextValue=function(){return new Date},t}(N),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Hn),Bi=function(){r.set("DDialogTime",Ci),ri()},vi=function(){r.set("DButtonTime",Ii),Bi()},xi=function(){S(),L(),P(),Ne(),Se(),bi(),U(),oi(),hi(),H(),z(),O(),Y(),X(),K(),vi(),Z()},Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(J),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Si),Ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t.prototype.getLocalBoundsLimit=function(){return 0},t}(j),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ei),Li=function(){},Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCurveSplineLabel=function(){return"Spline Curve"},t.prototype.getCurveBezierQuadraticLabel=function(){return"Quadratic Bezier Curve"},t}(Li),Fi=function(){r.set("EShapePointsFormatter",Pi)},Ui=function(){r.set("DDiagram",Mi),r.set("DDiagramCanvas",_i),Fi(),Xu()},Ni=function(n,t,r,u){var e=Math.max(t,r);if(0<n){n*=function(n){if(n<=0||1<=n)return 1;var t=1/n;return t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,(t|=t>>32)-(t>>1)}(u);for(var i=e/1e3,o=0;o<10&&n<i;++o)n*=10;if(i<=n)return n}return e},Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Ni},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Ei),Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(Si),Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Hi),zi=function(){r.set("DDiagramEditor",Ri),r.set("DDiagramCanvasEditor",Ai),Vu(),Fi(),Xu()},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return c.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(B);t.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var Oi=function(n,t){return n-34},Vi=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getX=function(){return Oi},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(x),qi=function(n){return n-1},Yi=function(n){return n-16},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return qi},t.prototype.getWidth=function(){return Yi},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return i.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(B),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Wi),Zi=function(){r.set("DDialogLayeredContent",On),r.set("DDialogLayeredFooter",Ki),r.set("DDialogLayeredHeaderButtonClose",Vi),r.set("DDialogLayeredHeaderSeparator",Xi),r.set("DDialogLayeredHeader",Gi),r.set("DDialogLayered",An)},ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(it),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return""},t}(An),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(Ji),$i=function(){r.set("DDialogConfirm",Qi),r.set("DDialogConfirmMessage",ji)},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Qi),to=function(){r.set("DDialogConfirmDelete",no)},ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Qi),uo=function(){r.set("DDialogConfirmDiscard",ro)},eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ji),io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(eo),oo=function(){r.set("DDialogMessage",io)};t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var co=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return e(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(ji),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Ji),ao=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return ao},t}(fo),so=function(){r.set("DDialogProcessing",lo),r.set("DDialogProcessingMessage",co)},ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Qn),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(ho),mo=function(){r.set("DDialogSaveAs",Do)},ko=function(){Ue(),xe(),to(),uo(),$i(),ii(),si(),qn(),Wn(),Zn(),Jn(),$n(),Zi(),oo(),so(),mo(),gi(),Bi(),nt()},To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(po),bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.isToggle=function(){return!0},t}(N),wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"ON"},t}(bo),yo=function(){r.set("DInputBoolean",To),r.set("DInputBooleanButtonOn",wo),r.set("DInputBooleanButtonOff",go)},Io=function(){Tt(),yo(),Ut(),Ht(),Gt(),qt(),rr(),ur()};const Co=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var Bo=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Co.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Co.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Co.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n}(),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(Bo),xo=function(){r.set("DLink",vo)},So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return i.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return w.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(B),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(So),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Mo),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(So),Lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(_o),Po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(So),Fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Po),Uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getFontSize=function(){return 18},t}(So),No=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteError"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Uo),Ao=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteNoItemsFound"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Uo),Ho=function(n){function t(){var t=n.call(this)||this;return t.L=xr.get("DNoteSearching"),t}return e(t,n),t.prototype.newTextValue=function(){return this.L.newTextValue()},t}(Uo),Ro=function(){r.set("DNote",So),r.set("DNoteError",Eo),r.set("DNoteNoItemsFound",Lo),r.set("DNoteSearching",Fo),r.set("DNoteSmallError",No),r.set("DNoteSmallNoItemsFound",Ao),r.set("DNoteSmallSearching",Ho)},zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t}(fr),Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return c.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Oo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(ie.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(ie.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(ie.END)?o.ALL:o.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.in(ie.HAS_DATA)?n.inEnabled?1:.5:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return c.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=l.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Vo=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return Oo.getImageTintColor(n,!0)},n}(),qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Vo.init();var Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Vo.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Vo.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(qo);Vo.init();var Xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Vo.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Vo.getImageSource(n)},t}(rt),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(N);Vo.init();var Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getImageTintColor=function(n){return Vo.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Vo.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Wo),Zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getImageTintColor=function(n){return Oo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(B),jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Zo),Jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Oo.getImageTintColor(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(E),Qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(ge),$o=function(n){return Ae.format(n)},nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getTextFormatter=function(){return $o},t.prototype.newTextValue=function(){return new Date},t}(N),tc=function(n,t){return ci.format(n,t.getDatetimeMask())},rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getTextFormatter=function(){return tc},t.prototype.newTextValue=function(){return new Date},t}(N),uc=function(n){return String(Number(n)+1)},ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return uc},t.prototype.newTextValue=function(){return 0},t}(B),ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(Ft),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(zt),cc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(Ot),fc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t}(tr);oe.init();var ac=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return i.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Ot),sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getImageAlignWith=function(){return w.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return oe.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(v),hc=function(n){function t(){var t=n.call(this)||this;return t._=xr.getInstance().get("DLink"),t}return e(t,n),t.prototype.getImageTintColor=function(n){return Oo.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this._.getImageSource(n)},t}(jo),Dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Tu),dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(gu),mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t}(Zo),kc=function(n,t){return wi.format(n,t.getDatetimeMask())},Tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBackgroundColor=function(n){return Oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Oo.getBorderMask(n)},t.prototype.getColor=function(n){return Oo.getColor(n)},t.prototype.getAlpha=function(n){return Oo.getAlpha(n)},t.prototype.getHeight=function(){return Oo.getHeight()},t.prototype.getCornerMask=function(){return Oo.getCornerMask()},t.prototype.getTextFormatter=function(){return kc},t.prototype.newTextValue=function(){return new Date},t}(N);oe.init();var pc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return w.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return oe.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(jo),gc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return c.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return i.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),bc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(gc),wc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return e(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return o.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t.prototype.getCursor=function(t){return t.is(ie.RESIZING)?"col-resize":n.prototype.getCursor.call(this,t)},t}(gc),yc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(wc);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var Ic=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.brighten(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=l.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=l.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=l.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=l.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.05),t}return e(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled||n.on(ie.RESIZING)?n.is(ie.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(ie.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(ie.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(ie.END)?o.ALL:o.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return p.CENTER},r.prototype.getCornerMask=function(){return c.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(ie.CHECKABLE)?M.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(ie.CHECKABLE)?M.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return w.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(ie.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(ie.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return w.BORDER},r.prototype.getCursor=function(n){return n.isActionable?n.is(ie.HOVERED_ON_EDGE)||n.on(ie.RESIZING)?"col-resize":n.is(ie.CHECKABLE)||n.is(ie.SORTABLE)?"pointer":"":""},r.prototype.getEdgeWidth=function(){return 10},r}(it),Cc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ic),Bc=function(){r.set("DTableBodyCellActionDialog",Yo),r.set("DTableBodyCellActionMenu",Xo),r.set("DTableBodyCellActionPromise",Ko),r.set("DTableBodyCellButton",jo),r.set("DTableBodyCellCheck",Jo),r.set("DTableBodyCellColor",Qo),r.set("DTableBodyCellDate",nc),r.set("DTableBodyCellDatetime",rc),r.set("DTableBodyCellIndex",ec),r.set("DTableBodyCellInputInteger",ic),r.set("DTableBodyCellInputReal",oc),r.set("DTableBodyCellInputTextArea",fc),r.set("DTableBodyCellInputText",cc),r.set("DTableBodyCellInputTreeMarker",sc),r.set("DTableBodyCellInputTreeInput",lc),r.set("DTableBodyCellInputTree",ac),r.set("DTableBodyCellLink",hc),r.set("DTableBodyCellSelectDialog",qo),r.set("DTableBodyCellSelectMenu",Dc),r.set("DTableBodyCellSelectMultiple",dc),r.set("DTableBodyCellSelectPromise",Wo),r.set("DTableBodyCellTextArea",mc),r.set("DTableBodyCellText",Zo),r.set("DTableBodyCellTree",pc),r.set("DTableBodyCellTime",Tc),r.set("DTableBodyRow",bc),r.set("DTableBody",Go),r.set("DTableCategoryCell",Cc),r.set("DTableCategory",yc),r.set("DTableHeaderCell",Ic),r.set("DTableHeader",wc),r.set("DTableRow",gc),r.set("DTable",zo),P(),Se(),oi(),hi(),Ut(),Gt(),rr(),ur(),gi(),Ar()};t.add("button_process_processing",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" fill="#fff"/></g>'),t.add("button_process_success",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" fill="#fff" /></g>'),t.add("button_process_fail",24,24,'<g transform="scale(0.025,0.025) translate(0,960)"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" fill="#fff" /></g>');var vc=function(n){return n.isProcessing?t.mappings.button_process_processing:n.isSucceeded?t.mappings.button_process_success:t.mappings.button_process_fail},xc=function(n){var t=n.valueOf(vr.PROCESSING);return null!=t?t*Math.PI*.02:0},Sc=function(){function n(){}return n.prototype.getProcessDoneDelay=function(){return 400},n.prototype.getProcessCloseDelay=function(){return 3e3},n.prototype.isProcessTextEnabled=function(){return!1},n.prototype.isProcessImageEnabled=function(){return!0},n.prototype.getProcessImageIndex=function(){return 0},n.prototype.newProcessImageSource=function(){return vc},n.prototype.newProcessImageRotation=function(){return xc},n}(),Mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.newProcessTextValue=function(){return ao},t}(Sc),Ec=function(){r.set("DIndicatorProcessing",Mc)},_c=function(){ke(),m(),T(),xi(),me(),Q(),vn(),Mn(),zi(),Ui(),ko(),ct(),Dt(),dt(),Ec(),Io(),or(),xo(),Dr(),he(),Hr(),nu(),Ar(),Ro(),du(),au(),Fe(),ve(),ei(),ui(),ri(),bu(),Bc(),ee(),ue()},Lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t}(Ji),Pc={__proto__:null,loadThemeDarkBase:m,loadThemeDarkBoard:T,loadThemeDarkButtonAmbient:S,loadThemeDarkButtonCheckRight:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonDanger:U,loadThemeDarkButtonFile:H,loadThemeDarkButtonLink:z,loadThemeDarkButtonPrimary:O,loadThemeDarkButtonRadioRight:Y,loadThemeDarkButtonRadio:X,loadThemeDarkButtonSecondary:K,loadThemeDarkButton:Z,loadThemeDarkCanvasContainer:Q,loadThemeDarkChart:vn,loadThemeDarkColor:Mn,loadThemeDarkDialogFitted:qn,loadThemeDarkDialogInputBoolean:Wn,loadThemeDarkDialogInputInteger:Zn,loadThemeDarkDialogInputReal:Jn,loadThemeDarkDialogInputText:$n,loadThemeDarkDialog:nt,loadThemeDarkDropdown:ut,loadThemeDarkExpandable:ct,loadThemeDarkHtmlElement:Dt,loadThemeDarkImage:dt,loadThemeDarkInputAndLabel:Tt,loadThemeDarkInputInteger:Ut,loadThemeDarkInputLabel:Ht,loadThemeDarkInputReal:Gt,loadThemeDarkInputSearch:qt,loadThemeDarkInputTextArea:rr,loadThemeDarkInputText:ur,loadThemeDarkLayout:or,loadThemeDarkList:Dr,loadThemeDarkMenuBar:Hr,loadThemeDarkMenuSided:nu,loadThemeDarkMenu:Ar,loadThemeDarkPagination:au,loadThemeDarkPane:du,loadThemeDarkScrollBar:Du,loadThemeDarkSelect:bu,loadThemeDarkShapeActionValue:Vu,loadThemeDarkShape:Xu,loadThemeDarkSlider:ue,loadThemeDarkText:ee,loadThemeDarkTree:he,loadThemeDarkView:me,loadThemeDark:ke,loadThemeDarkEnUsAll:_c,loadThemeDarkEnUsButtonAll:xi,loadThemeDarkEnUsButtonColorGradient:Ne,loadThemeDarkEnUsButtonColor:Se,loadThemeDarkEnUsButtonDate:oi,loadThemeDarkEnUsButtonDatetime:hi,loadThemeDarkEnUsButtonSelect:bi,loadThemeDarkEnUsButtonTime:vi,loadThemeDarkEnUsDiagramEditor:zi,loadThemeDarkEnUsDiagram:Ui,loadThemeDarkEnUsDialogAll:ko,loadThemeDarkEnUsDialogColorGradient:Ue,loadThemeDarkEnUsDialogColor:xe,loadThemeDarkEnUsDialogConfirmDelete:to,loadThemeDarkEnUsDialogConfirmDiscard:uo,loadThemeDarkEnUsDialogConfirm:$i,loadThemeDarkEnUsDialogDate:ii,loadThemeDarkEnUsDialogDatetime:si,loadThemeDarkEnUsDialogLayered:Zi,loadThemeDarkEnUsDialogMessage:oo,loadThemeDarkEnUsDialogProcessing:so,loadThemeDarkEnUsDialogSaveAs:mo,loadThemeDarkEnUsDialogSelect:gi,loadThemeDarkEnUsDialogTime:Bi,loadThemeDarkEnUsIndicatorProcessing:Ec,loadThemeDarkEnUsInputAll:Io,loadThemeDarkEnUsInputBoolean:yo,loadThemeDarkEnUsLink:xo,loadThemeDarkEnUsNote:Ro,loadThemeDarkEnUsPickerColorGradient:Fe,loadThemeDarkEnUsPickerColor:ve,loadThemeDarkEnUsPickerDate:ei,loadThemeDarkEnUsPickerDatetime:ui,loadThemeDarkEnUsPickerTime:ri,loadThemeDarkEnUsShapePointsFormatter:Fi,loadThemeDarkEnUsTable:Bc,DThemeDarkAtlas:t,DThemeDarkBase:d,DThemeDarkBoard:k,DThemeDarkButtonAmbient:x,DThemeDarkButtonBase:v,DThemeDarkButtonCheckRight:_,DThemeDarkButtonCheck:E,DThemeDarkButtonChecks:M,DThemeDarkButtonColorGradient:_e,DThemeDarkButtonColor:ge,DThemeDarkButtonDanger:F,DThemeDarkButtonDate:Re,DThemeDarkButtonDatetime:ai,DThemeDarkButtonFile:A,DThemeDarkButtonLink:R,DThemeDarkButtonPrimary:G,DThemeDarkButtonRadioRight:q,DThemeDarkButtonRadio:V,DThemeDarkButtonSecondary:W,DThemeDarkButtonSelect:di,DThemeDarkButtonTime:Ii,DThemeDarkButton:N,DThemeDarkCanvasContainer:J,DThemeDarkCanvas:j,DThemeDarkChartAxisBase:on,DThemeDarkChartAxisXDatetime:an,DThemeDarkChartAxisX:cn,DThemeDarkChartAxisY:ln,DThemeDarkChartCoordinateTick:hn,DThemeDarkChartCoordinateTransform:Dn,DThemeDarkChartCoordinate:sn,DThemeDarkChartLegendItem:mn,DThemeDarkChartLegend:dn,DThemeDarkChartOverview:kn,DThemeDarkChartPlotArea:Tn,DThemeDarkChartSelectionGridlineX:yn,DThemeDarkChartSelectionGridlineY:In,DThemeDarkChartSelectionMarker:Bn,DThemeDarkChartSelectionShape:wn,DThemeDarkChart:$,DThemeDarkColorRecent:xn,DThemeDarkColorStandard:Sn,DThemeDarkConstants:s,DThemeDarkContent:lu,DThemeDarkDiagramBase:Si,DThemeDarkDiagramCanvasBase:Ei,DThemeDarkDiagramCanvasEditor:Ai,DThemeDarkDiagramCanvas:_i,DThemeDarkDiagramEditor:Hi,DThemeDarkDiagram:Mi,DThemeDarkDialogColorGradient:Le,DThemeDarkDialogColor:be,DThemeDarkDialogConfirmDelete:Lc,DThemeDarkDialogConfirmMessage:ji,DThemeDarkDialogConfirm:Ji,DThemeDarkDialogDate:ze,DThemeDarkDialogDatetime:li,DThemeDarkDialogFittedContent:Vn,DThemeDarkDialogFitted:Hn,DThemeDarkDialogInputBoolean:Xn,DThemeDarkDialogInputInteger:Kn,DThemeDarkDialogInputReal:jn,DThemeDarkDialogInputText:Qn,DThemeDarkDialogInput:Yn,DThemeDarkDialogLayeredContent:On,DThemeDarkDialogLayeredFooter:Wi,DThemeDarkDialogLayeredHeaderButtonClose:Vi,DThemeDarkDialogLayeredHeaderSeparator:Xi,DThemeDarkDialogLayeredHeader:Gi,DThemeDarkDialogLayered:An,DThemeDarkDialogMessage:eo,DThemeDarkDialogProcessingMessage:co,DThemeDarkDialogProcessing:fo,DThemeDarkDialogSaveAs:ho,DThemeDarkDialogSelectListItem:ki,DThemeDarkDialogSelectList:mi,DThemeDarkDialogSelect:Ti,DThemeDarkDialogTime:Ci,DThemeDarkDialog:Nn,DThemeDarkDropdownBase:tt,DThemeDarkDropdown:rt,DThemeDarkExpandableHeader:ot,DThemeDarkExpandable:et,DThemeDarkExpandables:Ir,DThemeDarkFont:h,DThemeDarkHtmlElement:ht,DThemeDarkImageBase:B,DThemeDarkImage:it,DThemeDarkIndicatorProcess:Sc,DThemeDarkInputAndLabel:kt,DThemeDarkInputBooleanButtonOff:po,DThemeDarkInputBooleanButtonOn:bo,DThemeDarkInputBoolean:To,DThemeDarkInputInput:_t,DThemeDarkInputInteger:Ft,DThemeDarkInputLabel:At,DThemeDarkInputNumber:Lt,DThemeDarkInputReal:zt,DThemeDarkInputSearch:Vt,DThemeDarkInputTextArea:tr,DThemeDarkInputText:Ot,DThemeDarkInput:bt,DThemeDarkLayoutBoard:er,DThemeDarkLayoutHorizontal:mt,DThemeDarkLayoutSpace:ir,DThemeDarkLayoutVertical:Gn,DThemeDarkLayout:zn,DThemeDarkLink:Bo,DThemeDarkListItemAmbient:hr,DThemeDarkListItem:sr,DThemeDarkListItems:lr,DThemeDarkList:ar,DThemeDarkMenuBarItem:mr,DThemeDarkMenuBar:dr,DThemeDarkMenuItemBase:Tr,DThemeDarkMenuItemCheck:br,DThemeDarkMenuItemExpandableBody:yr,DThemeDarkMenuItemExpandableHeader:Cr,DThemeDarkMenuItemExpandableItemCheck:Br,DThemeDarkMenuItemExpandableItemLink:Mr,DThemeDarkMenuItemExpandableItemMenu:_r,DThemeDarkMenuItemExpandableItemSeparator:Pr,DThemeDarkMenuItemExpandableItemSpace:Ur,DThemeDarkMenuItemExpandableItemText:Nr,DThemeDarkMenuItemExpandable:wr,DThemeDarkMenuItemLink:Sr,DThemeDarkMenuItemMenu:Er,DThemeDarkMenuItemSeparator:Lr,DThemeDarkMenuItemSpace:Fr,DThemeDarkMenuItemText:gr,DThemeDarkMenuItem:pr,DThemeDarkMenuSidedContent:zr,DThemeDarkMenuSidedItemCheck:Gr,DThemeDarkMenuSidedItemExpandableItemCheck:Vr,DThemeDarkMenuSidedItemExpandableItemLink:qr,DThemeDarkMenuSidedItemExpandableItemMenu:Yr,DThemeDarkMenuSidedItemExpandableItemSeparator:Xr,DThemeDarkMenuSidedItemExpandableItemSpace:Wr,DThemeDarkMenuSidedItemExpandableItemText:Kr,DThemeDarkMenuSidedItemExpandable:Or,DThemeDarkMenuSidedItemLink:Zr,DThemeDarkMenuSidedItemMenu:jr,DThemeDarkMenuSidedItemSeparator:Jr,DThemeDarkMenuSidedItemSpace:Qr,DThemeDarkMenuSidedItemText:$r,DThemeDarkMenuSided:Rr,DThemeDarkMenu:kr,DThemeDarkNoteError:Mo,DThemeDarkNoteNoItemsFound:_o,DThemeDarkNoteSearching:Po,DThemeDarkNoteSmallError:No,DThemeDarkNoteSmallNoItemsFound:Ao,DThemeDarkNoteSmallSearching:Ho,DThemeDarkNoteSmall:Uo,DThemeDarkNote:So,DThemeDarkPaginationButtonLast:uu,DThemeDarkPaginationButtonNext:eu,DThemeDarkPaginationButtonPage:iu,DThemeDarkPaginationButtonPrevious:ou,DThemeDarkPaginationButtonTop:cu,DThemeDarkPaginationDots:ru,DThemeDarkPaginationPage:fu,DThemeDarkPagination:tu,DThemeDarkPane:fr,DThemeDarkPickerColorGradient:Pe,DThemeDarkPickerColor:Ce,DThemeDarkPickerDatetimeButtonBack:je,DThemeDarkPickerDatetimeButtonDate:Je,DThemeDarkPickerDatetimeButtonNext:Qe,DThemeDarkPickerDatetimeLabelDate:ni,DThemeDarkPickerDatetimeLabel:$e,DThemeDarkPickerDatetimeSpace:ti,DThemeDarkPickerTime:Oe,DThemeDarkScrollBarThumb:hu,DThemeDarkScrollBar:su,DThemeDarkSelectMultiple:gu,DThemeDarkSelect:Tu,DThemeDarkSliderHorizontal:Ku,DThemeDarkSliderLabel:Zu,DThemeDarkSliderThumb:Ju,DThemeDarkSliderTrackHorizontal:$u,DThemeDarkSliderTrackVertical:ne,DThemeDarkSliderTrack:Qu,DThemeDarkSliderValue:te,DThemeDarkSliderVertical:re,DThemeDarkSlider:Wu,DThemeDarkSliders:ju,DThemeDarkTableBodyCellActionDialog:Yo,DThemeDarkTableBodyCellActionMenu:Xo,DThemeDarkTableBodyCellActionPromise:Ko,DThemeDarkTableBodyCellActions:Vo,DThemeDarkTableBodyCellButton:jo,DThemeDarkTableBodyCellCheck:Jo,DThemeDarkTableBodyCellColor:Qo,DThemeDarkTableBodyCellDate:nc,DThemeDarkTableBodyCellDatetime:rc,DThemeDarkTableBodyCellIndex:ec,DThemeDarkTableBodyCellInputInteger:ic,DThemeDarkTableBodyCellInputReal:oc,DThemeDarkTableBodyCellInputTextArea:fc,DThemeDarkTableBodyCellInputText:cc,DThemeDarkTableBodyCellInputTreeInput:lc,DThemeDarkTableBodyCellInputTreeMarker:sc,DThemeDarkTableBodyCellInputTree:ac,DThemeDarkTableBodyCellLink:hc,DThemeDarkTableBodyCellSelectDialog:qo,DThemeDarkTableBodyCellSelectMenu:Dc,DThemeDarkTableBodyCellSelectMultiple:dc,DThemeDarkTableBodyCellSelectPromise:Wo,DThemeDarkTableBodyCellTextArea:mc,DThemeDarkTableBodyCellText:Zo,DThemeDarkTableBodyCellTime:Tc,DThemeDarkTableBodyCellTree:pc,DThemeDarkTableBodyCellTrees:oe,DThemeDarkTableBodyCells:Oo,DThemeDarkTableBodyRow:bc,DThemeDarkTableBody:Go,DThemeDarkTableCategoryCell:Cc,DThemeDarkTableCategory:yc,DThemeDarkTableHeaderCell:Ic,DThemeDarkTableHeader:wc,DThemeDarkTableRow:gc,DThemeDarkTable:zo,DThemeDarkTextBase:C,DThemeDarkText:Nt,DThemeDarkTreeItemButton:le,DThemeDarkTreeItemNonEditable:se,DThemeDarkTreeItemText:ae,DThemeDarkTreeItems:ce,DThemeDarkTree:fe,DThemeDarkView:de,DThemeDark:r,EThemeDarkShapeActionValue:Ou,EThemeDarkShapePointsFormatter:Li,EThemeDarkShape:Yu,DThemeDarkEnUsDiagramEditor:Ri,DThemeDarkEnUsDialogConfirmDelete:no,DThemeDarkEnUsDialogConfirmDiscard:ro,DThemeDarkEnUsDialogConfirm:Qi,DThemeDarkEnUsDialogLayeredFooter:Ki,DThemeDarkEnUsDialogMessage:io,dThemeDarkEnUsDialogProcessingMessage:ao,DThemeDarkEnUsDialogProcessing:lo,DThemeDarkEnUsDialogSaveAs:Do,DThemeDarkEnUsDialogSelect:pi,DThemeDarkEnUsIndicatorProcessing:Mc,DThemeDarkEnUsInputBooleanButtonOff:go,DThemeDarkEnUsInputBooleanButtonOn:wo,DThemeDarkEnUsLink:vo,DThemeDarkEnUsNoteError:Eo,DThemeDarkEnUsNoteNoItemsFound:Lo,DThemeDarkEnUsNoteSearching:Fo,DThemeDarkEnUsPickerColor:Be,DThemeDarkEnUsPickerDate:Ze,DThemeDarkEnUsPickerDatetime:Ke,DThemeDarkEnUsPickerTime:Ve,EThemeDarkEnUsShapePointsFormatter:Pi};_c();var Fc=window;Fc.wcardinal=Fc.wcardinal||{};var Uc=Fc.wcardinal.ui=Fc.wcardinal.ui||{},Nc=Pc;for(var Ac in Nc)Uc[Ac]=Nc[Ac]}(PIXI);
10
10
  //# sourceMappingURL=wcardinal-ui-theme-dark-en-us.min.js.map