@wcardinal/wcardinal-ui 0.460.0-beta.0 → 0.461.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 (95) hide show
  1. package/dist/types/wcardinal/ui/d-application-layer.d.ts +5 -4
  2. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-base.d.ts +1 -1
  3. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-primary.d.ts +1 -1
  4. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub-secondary.d.ts +1 -1
  5. package/dist/types/wcardinal/ui/d-chart-plot-area-twofold-sub.d.ts +2 -1
  6. package/dist/types/wcardinal/ui/d-diagram-canvas-editor.d.ts +2 -1
  7. package/dist/types/wcardinal/ui/d-diagram-canvas.d.ts +3 -1
  8. package/dist/types/wcardinal/ui/d-diagram.d.ts +1 -0
  9. package/dist/types/wcardinal/ui/d-view-to-target.d.ts +1 -1
  10. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-base.d.ts +5 -3
  11. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.d.ts +19 -0
  12. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open.d.ts +4 -0
  13. package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime.d.ts +22 -3
  14. package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open.d.ts +7 -0
  15. package/dist/types/wcardinal/ui/shape/action/index.d.ts +1 -0
  16. package/dist/types/wcardinal/ui/shape/e-shape-runtime-impl.d.ts +3 -1
  17. package/dist/types/wcardinal/ui/shape/e-shape-runtime.d.ts +3 -1
  18. package/dist/types/wcardinal/ui/shape/e-shape-state-set-impl-observable.d.ts +5 -0
  19. package/dist/types/wcardinal/ui/shape/e-shape-state-set.d.ts +4 -0
  20. package/dist/types/wcardinal/ui/shape/e-shape-state.d.ts +1 -0
  21. package/dist/types/wcardinal/ui/theme/common/new-shape-drag-image.d.ts +1 -0
  22. package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.d.ts +9 -0
  23. package/dist/types/wcardinal/ui/theme/dark/index-zz-zz.d.ts +1 -0
  24. package/dist/types/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.d.ts +9 -0
  25. package/dist/types/wcardinal/ui/theme/white/index-zz-zz.d.ts +1 -0
  26. package/dist/types/wcardinal/ui/util/util-file-opener.d.ts +3 -1
  27. package/dist/wcardinal/ui/d-application-layer.js +30 -8
  28. package/dist/wcardinal/ui/d-application-layer.js.map +1 -1
  29. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-base.js.map +1 -1
  30. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-primary.js.map +1 -1
  31. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub-secondary.js.map +1 -1
  32. package/dist/wcardinal/ui/d-chart-plot-area-twofold-sub.js.map +1 -1
  33. package/dist/wcardinal/ui/d-diagram-canvas-editor.js.map +1 -1
  34. package/dist/wcardinal/ui/d-diagram-canvas.js +66 -14
  35. package/dist/wcardinal/ui/d-diagram-canvas.js.map +1 -1
  36. package/dist/wcardinal/ui/d-diagram.js +7 -0
  37. package/dist/wcardinal/ui/d-diagram.js.map +1 -1
  38. package/dist/wcardinal/ui/d-view-to-target.js.map +1 -1
  39. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-base.js +6 -0
  40. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-base.js.map +1 -1
  41. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.js +17 -0
  42. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dropped.js.map +1 -0
  43. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open.js +39 -0
  44. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open.js.map +1 -1
  45. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime.js.map +1 -1
  46. package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js.map +1 -1
  47. package/dist/wcardinal/ui/shape/action/index.js +1 -0
  48. package/dist/wcardinal/ui/shape/action/index.js.map +1 -1
  49. package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js +32 -0
  50. package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js.map +1 -1
  51. package/dist/wcardinal/ui/shape/e-shape-runtime.js.map +1 -1
  52. package/dist/wcardinal/ui/shape/e-shape-state-set-impl-observable.js +31 -0
  53. package/dist/wcardinal/ui/shape/e-shape-state-set-impl-observable.js.map +1 -1
  54. package/dist/wcardinal/ui/shape/e-shape-state-set.js.map +1 -1
  55. package/dist/wcardinal/ui/shape/e-shape-state.js +1 -0
  56. package/dist/wcardinal/ui/shape/e-shape-state.js.map +1 -1
  57. package/dist/wcardinal/ui/theme/common/new-shape-drag-image.js +26 -0
  58. package/dist/wcardinal/ui/theme/common/new-shape-drag-image.js.map +1 -0
  59. package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.js +32 -0
  60. package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value-open.js.map +1 -0
  61. package/dist/wcardinal/ui/theme/dark/index-zz-zz.js +1 -0
  62. package/dist/wcardinal/ui/theme/dark/index-zz-zz.js.map +1 -1
  63. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-shape-action-value.js +2 -0
  64. package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-shape-action-value.js.map +1 -1
  65. package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.js +32 -0
  66. package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value-open.js.map +1 -0
  67. package/dist/wcardinal/ui/theme/white/index-zz-zz.js +1 -0
  68. package/dist/wcardinal/ui/theme/white/index-zz-zz.js.map +1 -1
  69. package/dist/wcardinal/ui/theme/white/load/load-theme-white-shape-action-value.js +2 -0
  70. package/dist/wcardinal/ui/theme/white/load/load-theme-white-shape-action-value.js.map +1 -1
  71. package/dist/wcardinal/ui/util/util-file-downloader.js +21 -1
  72. package/dist/wcardinal/ui/util/util-file-downloader.js.map +1 -1
  73. package/dist/wcardinal/ui/util/util-file-opener.js +5 -3
  74. package/dist/wcardinal/ui/util/util-file-opener.js.map +1 -1
  75. package/dist/wcardinal-ui-theme-dark-en-us.js +57 -1
  76. package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
  77. package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
  78. package/dist/wcardinal-ui-theme-dark-ja-jp.js +57 -1
  79. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
  80. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
  81. package/dist/wcardinal-ui-theme-dark.js +57 -1
  82. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  83. package/dist/wcardinal-ui-theme-white-en-us.js +57 -1
  84. package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
  85. package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
  86. package/dist/wcardinal-ui-theme-white-ja-jp.js +57 -1
  87. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
  88. package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
  89. package/dist/wcardinal-ui-theme-white.js +57 -1
  90. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  91. package/dist/wcardinal-ui.cjs.js +38861 -38548
  92. package/dist/wcardinal-ui.js +254 -27
  93. package/dist/wcardinal-ui.min.js +2 -2
  94. package/dist/wcardinal-ui.min.js.map +1 -1
  95. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.460.0-beta.0
2
+ Winter Cardinal UI v0.461.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(t){"use strict";var e=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:t.SCALE_MODES.LINEAR,mipmap:t.MIPMAP_MODES.OFF}),n=function(){function t(){this._instances={}}return t.prototype.get=function(e){var n=this._instances[e];if(null!=n)return n;var o=t._classes[e];if(null!=o)return this._instances[e]=new o;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.set=function(t,e){return this._instances[t]=e,this},t.prototype.getClass=function(e){var n=t._classes[e];if(null!=n)return n;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.setClass=function(e,n){return t._classes[e]=n,this},t.prototype.getAtlas=function(){return e},t.set=function(t,e){this._classes[t]=e},t._classes={},t}(),o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,u=wcardinal.ui.DBorderMask,p=wcardinal.ui.DCornerMask,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,c=wcardinal.ui.UtilRgb;var g=function(){function t(){}return t.COLOR=4473924,t.ACTIVE_COLOR=16777215,t.BORDER_COLOR=15066597,t.BACKGROUND_COLOR=15921906,t.BACKGROUND_COLOR_ON_BOARD=16777215,t.HIGHLIGHT_COLOR=3381759,t.HIGHLIGHT_ALPHA=.2,t.HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_COLOR=13421772,t.WEAK_HIGHLIGHT_ALPHA=.2,t.WEAK_HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.INVALID_COLOR=16755370,t.INVALID_ALPHA=.2,t.INVALID_BLENDED=c.blend(t.BACKGROUND_COLOR,t.INVALID_COLOR,t.INVALID_ALPHA),t.INVALID_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.INVALID_COLOR,t.INVALID_ALPHA),t}(),f=function(){function t(){}return t.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},t.prototype.getFontSize=function(){return 14},t.prototype.getColor=function(t){return g.COLOR},t.prototype.getFontWeight=function(){return"normal"},t.prototype.getFontStyle=function(){return"normal"},t.prototype.getFontVariant=function(){return"normal"},t.prototype.getAlpha=function(t){return t.inDisabled?.5:1},t.prototype.getLineHeight=function(){return 30},t}(),s=function(t,n,o){var r=2*n;e.add(t,r,r,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*o,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*o,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*o,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*o,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*o,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*o,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*o,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(r,'" height="').concat(r,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};s("shadow_weak",24,.3),s("shadow",48,.3),e.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><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(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return 0},n.prototype.getY=function(){return 0},n.prototype.getHeight=function(){return 100},n.prototype.getWidth=function(){return 100},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBackgroundTexture=function(){return e.mappings.background},n.prototype.getBorderColor=function(t){return null},n.prototype.getBorderAlpha=function(t){return 1},n.prototype.getBorderWidth=function(t){return 1},n.prototype.getBorderAlign=function(t){return 0},n.prototype.getBorderMask=function(t){return u.NONE},n.prototype.getBorderTexture=function(){return e.mappings.background},n.prototype.getPaddingLeft=function(){return 0},n.prototype.getPaddingRight=function(){return 0},n.prototype.getPaddingTop=function(){return 0},n.prototype.getPaddingBottom=function(){return 0},n.prototype.getCornerRadius=function(){return 3},n.prototype.getCornerMask=function(){return p.NONE},n.prototype.getOutlineColor=function(t){return g.HIGHLIGHT_COLOR},n.prototype.getOutlineAlpha=function(t){return t.isFocused?1:0},n.prototype.getOutlineWidth=function(t){return 1},n.prototype.getOutlineOffset=function(t){return 0},n.prototype.getOutlineAlign=function(t){return 0},n.prototype.getOutlineMask=function(t){return u.NONE},n.prototype.getClearType=function(){return a.NONE},n.prototype.getShadow=function(){return null},n.prototype.getInteractive=function(){return i.SELF},n.prototype.newState=function(t){},n.prototype.getTitle=function(){return""},n.prototype.getWeight=function(){return-1},n.prototype.newShadow=function(){return new l(e.mappings.shadow,48,48,0,4.8)},n.prototype.newShadowWeak=function(){return new l(e.mappings.shadow_weak,24,24,0,2.4)},n.prototype.getCursor=function(t){return""},n}(f),y=function(){n.set("DBase",h)},d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getInteractive=function(){return i.BOTH},e}(h),T=function(){n.set("DBoard",d)};const C=wcardinal.ui.DAlignHorizontal,D=wcardinal.ui.DButtonBaseWhen,m=wcardinal.ui.DAlignVertical,O=wcardinal.ui.DAlignWith,A=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var _=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getTextStyleClipping=function(){return!0},e.prototype.getTextStyleFitting=function(){return!1},e.prototype.getTextStyleWordWrap=function(){return A.NONE},e.prototype.getTextFormatter=function(){return I},e.prototype.getTextValue=function(t){},e.prototype.newTextValue=function(){},e}(h),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignHorizontal=function(){return C.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.getImageAlignWith=function(){return O.TEXT},e.prototype.getImageMarginHorizontal=function(){return 5},e.prototype.getImageMarginVertial=function(){return 5},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return this.getAlpha(t)},e.prototype.getImageRotation=function(t){return 0},e.prototype.getImageSource=function(t){return null},e.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getSecondaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getSecondaryImageRotation=function(t){return this.getImageRotation(t)},e.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getTertiaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getTertiaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getTertiaryImageRotation=function(t){return this.getImageRotation(t)},e}(_),E=function(t){function e(e,n,o){void 0===e&&(e=16777215),void 0===n&&(n=.017),void 0===o&&(o=.034);var r=t.call(this)||this;return r.BACKGROUND_COLOR=e,r.BACKGROUND_COLOR_HOVERED=c.darken(e,n),r.BACKGROUND_COLOR_PRESSED=c.darken(e,o),r.OUTLINE_COLOR=c.brighten(e,.75),r}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getColor=function(e){return e.inDisabled||!e.isActive?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled||!t.isActive?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return t.isActive?this.getOutlineColorActive(t):this.getOutlineColorNonActive(t)},e.prototype.getOutlineColorActive=function(t){return this.OUTLINE_COLOR},e.prototype.getOutlineColorNonActive=function(e){return t.prototype.getOutlineColor.call(this,e)},e.prototype.getOutlineOffset=function(t){return t.isActive?this.getOutlineOffsetActive(t):this.getOutlineOffsetNonActive(t)},e.prototype.getOutlineOffsetActive=function(t){return-1},e.prototype.getOutlineOffsetNonActive=function(e){return t.prototype.getOutlineOffset.call(this,e)},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return 100},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.isToggle=function(){return!1},e.prototype.getWhen=function(){return D.CLICKED},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(B),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?g.HIGHLIGHT_COLOR:g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){if(t.inEnabled){if(t.isActive)return 1;if(t.isPressed)return 2*g.WEAK_HIGHLIGHT_ALPHA;if(t.isHovered)return g.WEAK_HIGHLIGHT_ALPHA}return 0},e.prototype.getBorderColor=function(t){return null},e}(E),L=function(){n.set("DButtonAmbient",k)};e.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>'),e.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 S=function(){function t(){}return t.getImageTintColor=function(t){return t.inDisabled||t.inReadOnly||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?e.mappings.button_check_mark_on:e.mappings.button_check_mark_off},t}();e.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>'),e.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 R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},e.prototype.getImageTintColor=function(t){return S.getImageTintColor(t)},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return S.getImageSource(t)},e}(k),H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e}(R),W=function(){n.set("DButtonCheckRight",H)},b=function(){n.set("DButtonCheck",R)},M=function(t){function e(){return t.call(this,16733542,.1,.2)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(E),N=function(){n.set("DButtonDanger",M)},w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(E),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(w),v=function(){n.set("DButtonFile",G)},x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(k),P=function(){n.set("DButtonLink",x)},F=function(t){function e(){return t.call(this,g.HIGHLIGHT_COLOR,.1,.2)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(E),V=function(){n.set("DButtonPrimary",F)};e.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>'),e.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 U=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},n.prototype.getColor=function(t){return g.COLOR},n.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},n.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},n.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},n.prototype.getImageTintColor=function(t){return t.inDisabled||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.isToggle=function(){return!0},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.button_radio_mark_on:e.mappings.button_radio_mark_off},n}(k),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e}(U),z=function(){n.set("DButtonRadioRight",K)},J=function(){n.set("DButtonRadio",U)},j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(E),X=function(){n.set("DButtonSecondary",j)},Z=function(){n.set("DButton",w)},Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return 16777215},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getInteractive=function(){return i.BOTH},e}(h),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 32},e.prototype.getPaddingTop=function(){return 32},e.prototype.getPaddingRight=function(){return 32},e.prototype.getPaddingBottom=function(){return 32},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getCornerMask=function(){return p.ALL},e}(h),Q=function(){n.set("DCanvasContainer",q),n.set("DCanvas",Y)},$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return 80},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingBottom=function(){return 70},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.isOverflowMaskEnabled=function(){return!0},e}(h);const tt=wcardinal.ui.DChartAxisPosition,et=wcardinal.ui.DChartAxisTickPosition,nt=wcardinal.ui.EShapeTextAlignHorizontal,ot=wcardinal.ui.EShapeTextAlignVertical,rt=wcardinal.ui.EShapeTextDirection;var it=function(){function t(){}return t.prototype.getPosition=function(){return tt.BOTTOM},t.prototype.getPadding=function(){return 90},t.prototype.getLabelAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getLabelAlignVertical=function(t){switch(t){case tt.TOP:return ot.OUTSIDE_TOP;case tt.BOTTOM:return ot.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return ot.MIDDLE}},t.prototype.getLabelPaddingHorizontal=function(){return 60},t.prototype.getLabelPaddingVertical=function(){return 50},t.prototype.getLabelDirection=function(){return rt.LEFT_TO_RIGHT},t.prototype.getLabelColor=function(){return this.getStrokeColor()},t.prototype.getStyle=function(){},t.prototype.getStrokeEnable=function(){return!0},t.prototype.getStrokeColor=function(){},t.prototype.getStrokeAlpha=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getStrokeAlign=function(){},t.prototype.getStrokeSide=function(){},t.prototype.getStrokeStyle=function(){},t.prototype.getTickEnable=function(){return!0},t.prototype.getMajorTickCount=function(){return 3},t.prototype.getMajorTickCapacity=function(t){return 2*t},t.prototype.getMajorTickStep=function(){},t.prototype.getMajorTickSize=function(){return 10},t.prototype.getMajorTickPosition=function(){return et.OUTSIDE},t.prototype.getMajorTickStyle=function(){},t.prototype.getMajorTickTextAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getMajorTickTextAlignVertical=function(t){switch(t){case tt.TOP:return ot.OUTSIDE_TOP;case tt.BOTTOM:return ot.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return ot.MIDDLE}},t.prototype.getMajorTickTextDirection=function(){return rt.LEFT_TO_RIGHT},t.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickTextFormat=function(){return"%.2f"},t.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},t.prototype.getMajorTickTextPaddingVertical=function(){return 15},t.prototype.getMajorTickStrokeEnable=function(){return!0},t.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMajorTickGridlineEnable=function(){return!0},t.prototype.getMajorTickGridlineStyle=function(){},t.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},t.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},t.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMinorTickCount=function(){return 3},t.prototype.getMinorTickStep=function(){},t.prototype.getMinorTickSize=function(){return 5},t.prototype.getMinorTickPosition=function(){return et.OUTSIDE},t.prototype.getMinorTickStyle=function(){},t.prototype.getMinorTickTextAlignHorizontal=function(t){return this.getMajorTickTextAlignHorizontal(t)},t.prototype.getMinorTickTextAlignVertical=function(t){return this.getMajorTickTextAlignVertical(t)},t.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},t.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickTextFormat=function(){},t.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},t.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},t.prototype.getMinorTickStrokeEnable=function(){return!0},t.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},t}(),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(it),pt=function(t,e,n){var o=Math.abs(e-t)/n;if(o<=10)return o<=1.33?1:o<=2.86?2:o<=6.67?5:10;if(o<=100)return o<=13.33?10:o<=28.57?20:o<=66.67?50:100;if(o<=1e3)return o<=133.33?100:o<=285.71?200:o<=666.67?500:1e3;if(o<=1e4)return o<=1333.33?1e3:o<=2857.14?2e3:o<=6666.66?5e3:1e4;if(o<=12e4)return o<=13333.33?1e4:o<=24e3?2e4:o<=4e4?3e4:o<=72e3?6e4:o<=102857.14?9e4:12e4;if(o<=108e5)return o<=171428.57?12e4:o<=4e5?3e5:o<=8e5?6e5:o<=144e4?12e5:o<=24e5?18e5:o<=432e4?36e5:o<=6171428.57?54e5:o<=8e6?72e5:o<=9818181.82?9e6:108e5;var r=36e5,i=o/r;if(i<=24)return i<=1.33?r: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 u=i/24,p=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),a=u/p;return a<=1.33?864e5*p:a<=2.86?1728e5*p:a<=6.67?432e6*p:864e6*p},at=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},e.prototype.getMajorTickStep=function(){return pt},e}(ut),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPosition=function(){return tt.LEFT},e.prototype.getLabelDirection=function(){return rt.BOTTOM_TO_TOP},e}(it),ct=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),gt=function(){function t(){}return t.prototype.toStep=function(t,e,n){var o=Math.abs(e-t)/n,r=Math.floor(Math.log(o)/Math.LN10),i=Math.pow(10,r),u=o/i;return u<=1.33?i:u<=2.86?2*i:u<=6.67?5*i:10*i},t}(),ft=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingBottom=function(){return 10},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getMargin=function(){return 20},e}(h);const Tt=wcardinal.ui.EShapeStrokeStyle,Ct=wcardinal.ui.EShapeBar,Dt=wcardinal.ui.EShapeBarPosition;var mt=function(){},Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Ct;return e.points.position=Dt.TOP,e.stroke.style=Tt.DASHED,e.stroke.alpha=.75,e},e}(mt),At=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Ct;return e.points.position=Dt.LEFT,e.stroke.style=Tt.DASHED,e.stroke.alpha=.75,e},e}(mt);const It=wcardinal.ui.EShapeCircle;var _t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isActive},e.prototype.newShape=function(t){var e=new It;return e.size.set(14,14),e.fill.enable=!1,e.stroke.alpha=.75,e},e}(mt),Bt=function(){n.set("DChart",$),n.set("DChartAxisX",ut),n.set("DChartAxisXDatetime",at),n.set("DChartAxisY",lt),n.set("DChartCoordinate",ct),n.set("DChartCoordinateTick",gt),n.set("DChartCoordinateTransform",ft),n.set("DChartLegend",st),n.set("DChartLegendItem",ht),n.set("DChartOverview",yt),n.set("DChartPlotArea",dt),n.set("DChartSelectionGridlineX",Ot),n.set("DChartSelectionGridlineY",At),n.set("DChartSelectionMarker",_t)},Et=function(){function t(){}return t.prototype.getCapacity=function(){return 10},t.prototype.newColors=function(){return[]},t}(),kt=function(){function t(){}return t.prototype.newColors=function(){for(var t=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],e=10;e<20;++e)t.push(c.brighten(t[e],.75));for(e=10;e<20;++e)t.push(c.brighten(t[e],.45));for(e=10;e<20;++e)t.push(c.brighten(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.45));for(e=10;e<20;++e)t.push(c.darken(t[e],.75));return t},t}(),Lt=function(){n.set("DColorRecent",Et),n.set("DColorStandard",kt)};const St=wcardinal.ui.DAnimationFadeIn,Rt=wcardinal.ui.DDialogAlign,Ht=wcardinal.ui.DDialogCloseOn,Wt=wcardinal.ui.DDialogGestureMode,bt=wcardinal.ui.DDialogMode,Mt=wcardinal.ui.DDialogState;var Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMode=function(){return bt.MODAL},e.prototype.closeOn=function(t){switch(t){case bt.MODAL:case bt.MENU:return Ht.ESC|Ht.CLICK_OUTSIDE;case bt.MODELESS:return Ht.NONE}},e.prototype.isSticky=function(t){return!1},e.prototype.isAlwaysOnTop=function(){return!1},e.prototype.isGestureEnabled=function(t){switch(t){case bt.MODAL:case bt.MODELESS:return!0;case bt.MENU:return!1}},e.prototype.getGestureMode=function(t){return Wt.DIRTY},e.prototype.getOffsetX=function(t){return 5},e.prototype.getOffsetY=function(t){return 5},e.prototype.getAlign=function(t){return Rt.BOTTOM},e.prototype.newAnimation=function(t){switch(t){case bt.MODAL:return new St;case bt.MODELESS:case bt.MENU:return null}},e.prototype.getBackgroundColor=function(t){return t.is(Mt.MENU)?g.BACKGROUND_COLOR_ON_BOARD:g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.is(Mt.MENU)?null:16448250},e.prototype.getOutlineColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getX=function(){return 0},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 400},e.prototype.getHeight=function(){return"auto"},e.prototype.getShadow=function(){return this.newShadow()},e.prototype.getInteractive=function(){return i.BOTH},e}(h),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLayout=function(){},e.prototype.getHeader=function(){return null},e.prototype.getContent=function(){},e.prototype.getFooter=function(){},e}(Nt),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e}(wt);const vt=wcardinal.ui.DLayoutDirection;var xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 5},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getDirection=function(){return vt.VERTICAL},e.prototype.getCornerAdjust=function(){return!1},e.prototype.getMultiplicity=function(){return 1},e.prototype.getReverse=function(){return!1},e}(h),Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDirection=function(){return vt.VERTICAL},e.prototype.getWidth=function(){return"auto"},e}(xt),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(Pt),Vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e}(Ft),Ut=function(){n.set("DDialogFittedContent",Vt),n.set("DDialogFitted",Gt)},Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return""},e.prototype.getInputMargin=function(){return 32},e}(wt),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Jt=function(){n.set("DDialogInputBoolean",zt)},jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Xt=function(){n.set("DDialogInputInteger",jt)},Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Yt=function(){n.set("DDialogInputReal",Zt)},qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Qt=function(){n.set("DDialogInputText",qt)},$t=function(){n.set("DDialog",Nt)};e.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var te=function(t){function n(){return t.call(this,g.BACKGROUND_COLOR_ON_BOARD)||this}return r(n,t),n.prototype.getSecondaryImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},n.prototype.getSecondaryImageMarginHorizontal=function(){return-20},n.prototype.getPaddingLeft=function(){return 25},n.prototype.getPaddingRight=function(){return 25},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dropdown_mark},n}(E),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return""},e}(te),ne=function(){n.set("DDropdown",ee)},oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?15792383:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(B);e.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>'),e.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 ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isHovered||t.inActive?16316664:null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getCornerMask=function(){return p.ALL},e}(re),ue=function(){n.set("DExpandableHeader",ie),n.set("DExpandable",oe)};const pe=wcardinal.ui.DHtmlElementState,ae=wcardinal.ui.UtilHtmlElementWhen;var le=function(){return null},ce=function(t){var e=document.createElement("div");return t.appendChild(e),e},ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getElementCreator=function(){return le},e.prototype.setElementStyle=function(t,e,n,o,r,i,u){var p=this.getElementStylePointerEvent(e)+this.getElementStylePosition(e,o,r,i)+this.getElementStyleMargin(e)+this.getElementStyleText(e)+this.getElementStyleBackground(e)+this.getElementStyleBorder(e)+this.getElementStylePadding(e,n)+this.getElementStyleOutline(e)+this.getElementStyleClipPath(e,u);t.setAttribute("style",p),e.inReadOnly?t.setAttribute("readonly","readonly"):t.removeAttribute("readonly"),e.inDisabled?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")},e.prototype.getElementStylePointerEvent=function(t){return t.is(pe.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},e.prototype.getElementStyleBackground=function(t){return"background-color: transparent;"},e.prototype.getElementStyleBorder=function(t){return"border: none; box-sizing: border-box;"},e.prototype.getElementStylePadding=function(t,e){return e?"getLeft"in e?"padding: ".concat(e.getTop(),"px ").concat(e.getRight(),"px ")+"".concat(e.getBottom(),"px ").concat(e.getLeft(),"px;"):"padding: ".concat(e.vertical,"px ").concat(e.horizontal,"px;"):"padding: 0px;"},e.prototype.getElementStyleOutline=function(t){return"outline: none;"},e.prototype.getElementStylePositionPosition=function(t,e){if(t){if(e){var n=t.x-e.x,o=t.y-e.y;return"left:".concat(n,"px; top:").concat(o,"px;")}return"left:".concat(t.x,"px; top: ").concat(t.y,"px;")}return"left: 0px; top: 0px;"},e.prototype.getElementStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getElementStylePositionTransform=function(t){return t?"transform: matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.tx,",").concat(t.ty,");"):""},e.prototype.getElementStylePosition=function(t,e,n,o){return"position: absolute;"+this.getElementStylePositionPosition(e,o)+this.getElementStylePositionSize(e)+this.getElementStylePositionTransform(n)},e.prototype.getElementStyleText=function(t){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(t).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},e.prototype.getElementStyleMargin=function(t){return"margin: 0;"},e.prototype.getElementStyleClipPath=function(t,e){if(null!=e){var n=e.id;return"-webkit-clip-path: url(#".concat(n,"); clip-path: url(#").concat(n,");")}return""},e.prototype.getClipperCreator=function(){return ce},e.prototype.setClipperStyle=function(t,e,n,o,r,i,u){var p="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);t.setAttribute("style",p)},e.prototype.getClipperStyleOverflow=function(t){return t?"overflow: hidden;":"overflow: visible;"},e.prototype.getClipperStylePositionPosition=function(t){return t?"left: ".concat(t.x,"px; top: ").concat(t.y,"px;"):"left: 0px; top: 0px;"},e.prototype.getClipperStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;")+"line-height: ".concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getClipperStylePosition=function(t){return"position: absolute;"+this.getClipperStylePositionPosition(t)+this.getClipperStylePositionSize(t)},e.prototype.isClipperExEnabled=function(){return!1},e.prototype.getBeforeCreator=function(){return ce},e.prototype.setBeforeStyle=function(t){t.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;"),t.setAttribute("tabindex","0")},e.prototype.getAfterCreator=function(){return ce},e.prototype.setAfterStyle=function(t){this.setBeforeStyle(t)},e.prototype.getWhen=function(){return ae.FOCUSED},e.prototype.getSelect=function(){return!1},e}(B),fe=function(){n.set("DHtmlElement",ge)},se=function(){n.set("DImage",re)},he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDirection=function(){return vt.HORIZONTAL},e.prototype.getHeight=function(){return"auto"},e}(xt),ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e}(he),de=function(){n.set("DInputAndLabel",ye)},Te=function(){return null},Ce=function(t){return t},De=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_HOVERED=c.darken(e.BACKGROUND_COLOR,.017),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled||t.inReadOnly?null:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.isInvalid?g.INVALID_COLOR:g.BORDER_COLOR},e.prototype.getOutlineColor=function(e){return e.isInvalid?g.INVALID_COLOR:t.prototype.getOutlineColor.call(this,e)},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getWidth=function(){return 100},e.prototype.getPlaceholder=function(){return""},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCursor=function(t){return t.isActionable?"text":""},e.prototype.getEditingFormatter=function(){return this.getTextFormatter()},e.prototype.getEditingUnformatter=function(){return Ce},e.prototype.getEditingValidator=function(){return Te},e.prototype.getSelect=function(){return!0},e.prototype.getElementStyleBorder=function(t){return"border: 1.5px solid transparent; box-sizing: border-box;"},e}(ge),me="d-theme-white-input-input",Oe="".concat(me,"-element"),Ae=function(t){var e=t.getElementsByClassName(Oe);if(0<e.length)return e[0];var n=document.createElement("input");return n.setAttribute("spellcheck","false"),n.setAttribute("class",Oe),t.appendChild(n),n},Ie=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var o=document.createElement("div");return o.setAttribute("class",e),t.appendChild(o),o},_e="".concat(me,"-clipper"),Be=function(t){return Ie(t,_e)},Ee="".concat(me,"-before"),ke=function(t){return Ie(t,Ee)},Le="".concat(me,"-after"),Se=function(t){return Ie(t,Le)},Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getElementCreator=function(){return Ae},e.prototype.getClipperCreator=function(){return Be},e.prototype.getBeforeCreator=function(){return ke},e.prototype.getAfterCreator=function(){return Se},e}(De),He=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getStep=function(){return null},e.prototype.getMin=function(){return null},e.prototype.getMax=function(){return null},e.prototype.newTextValue=function(){return 0},e}(Re),We=function(t){var e=parseInt(t,10);return e==e?e:0},be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getEditingUnformatter=function(){return We},e}(He),Me=function(){n.set("DInputInteger",be)},Ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),we=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getWidth=function(){return 60},e.prototype.getHeight=function(){return this.getLineHeight()},e}(Ne),Ge=function(){n.set("DInputLabel",we)},ve=function(t){var e=parseFloat(t);return e==e?e:0},xe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getEditingUnformatter=function(){return ve},e}(He),Pe=function(){n.set("DInputReal",xe)},Fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return""},e}(Re);e.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 Ve=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getPaddingRight=function(){return 31},n.prototype.getImageSource=function(t){return e.mappings.input_search},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 6},n}(Fe),Ue=function(){n.set("DInputSearch",Ve)},Ke="d-theme-white-input-text-area",ze="".concat(Ke,"-element"),Je=function(t){var e=t.getElementsByClassName(ze);if(0<e.length)return e[0];var n=document.createElement("textarea");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ze),t.appendChild(n),n},je=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var o=document.createElement("div");return o.setAttribute("class",e),t.appendChild(o),o},Xe="".concat(Ke,"-clipper"),Ze=function(t){return je(t,Xe)},Ye="".concat(Ke,"-before"),qe=function(t){return je(t,Ye)},Qe="".concat(Ke,"-after"),$e=function(t){return je(t,Qe)},tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getTextStyleWordWrap=function(){return A.NORMAL},e.prototype.getElementCreator=function(){return Je},e.prototype.getClipperCreator=function(){return Ze},e.prototype.getBeforeCreator=function(){return qe},e.prototype.getAfterCreator=function(){return $e},e.prototype.newTextValue=function(){return""},e.prototype.getElementStyleText=function(e){return t.prototype.getElementStyleText.call(this,e)+this.getElementStyleTextResize(e)+this.getElementStyleTextWordWrap(e)},e.prototype.getElementStyleTextResize=function(t){return"resize: none;"},e.prototype.getElementStyleTextWordWrap=function(t){var e="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case A.NORMAL:e+="word-break: normal;";break;default:e+="word-break: break-all;"}return e},e}(De),en=function(){n.set("DInputTextArea",tn)},nn=function(){n.set("DInputText",Fe)},on=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),rn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 0},e.prototype.getHeight=function(){return 0},e.prototype.getClearType=function(){return a.BOTH},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),un=function(){n.set("DLayout",xt),n.set("DLayoutHorizontal",he),n.set("DLayoutSpace",rn),n.set("DLayoutVertical",Pt),n.set("DLayoutBoard",on)};const pn=wcardinal.ui.UtilGestureMode;var an=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getOutlineAlign=function(t){return 1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getWheelSpeed=function(){return 2.24},e.prototype.getGestureMode=function(){return pn.TOUCH},e}(h),ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(an),cn=function(){function t(t,e,n){this._isStripeEnabled=e,null!=t?(this._backgroundColorEven=t,this._backgroundAlphaEven=1,this._backgroundColorOdd=c.darken(t,.0175),this._backgroundAlphaOdd=1,this._invalidColor=c.blend(t,g.INVALID_COLOR,g.INVALID_ALPHA),this._invalidAlpha=1,this._highlightColor=n?g.HIGHLIGHT_COLOR:c.blend(t,g.HIGHLIGHT_COLOR,g.HIGHLIGHT_ALPHA),this._highlightAlpha=1,this._weakHighlightColor=c.blend(t,g.WEAK_HIGHLIGHT_COLOR,g.WEAK_HIGHLIGHT_ALPHA),this._weakHighlightAlpha=1):(this._backgroundColorEven=0,this._backgroundAlphaEven=0,this._backgroundColorOdd=0,this._backgroundAlphaOdd=.0175,this._invalidColor=g.INVALID_COLOR,this._invalidAlpha=g.INVALID_ALPHA,this._highlightColor=g.HIGHLIGHT_COLOR,this._highlightAlpha=n?1:g.HIGHLIGHT_ALPHA,this._weakHighlightColor=g.WEAK_HIGHLIGHT_COLOR,this._weakHighlightAlpha=g.WEAK_HIGHLIGHT_ALPHA),this._imageTintColorWeak=g.COLOR,this._imageTintColorHighlight=n?g.ACTIVE_COLOR:g.COLOR,n?(this._color=g.COLOR,this._colorActive=g.ACTIVE_COLOR):(this._color=g.COLOR,this._colorActive=g.COLOR)}return t.prototype.getBackgroundColor=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null:t.isInvalid?this._invalidColor:t.isActive?this._highlightColor:t.isHovered?this._weakHighlightColor:this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null},t.prototype.getBackgroundAlpha=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0:t.isInvalid?this._invalidAlpha:t.isActive?this._highlightAlpha:t.isHovered?this._weakHighlightAlpha:this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0},t.prototype.getBorderColor=function(t){return null},t.prototype.getBorderMask=function(t){return u.NONE},t.prototype.getColor=function(t){return t.isActive?this._colorActive:this._color},t.prototype.getAlpha=function(t){return t.inEnabled?1:0},t.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?this._imageTintColorWeak:this._imageTintColorHighlight},t.prototype.getHeight=function(){return 30},t.prototype.getCornerMask=function(){return p.ALL},t.prototype.getCursor=function(t){return t.isActionable?"pointer":""},t}(),gn=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(B),fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e}(gn),sn=function(){n.set("DListItemAmbient",fn),n.set("DListItem",gn),n.set("DList",ln)},hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return 16645629},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getMargin=function(){return 0},e.prototype.getPaddingLeft=function(){return 5},e.prototype.getPaddingRight=function(){return 5},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(he),yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBorderColor=function(){return null},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.getTextStyleClipping=function(){return!1},e}(w),dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getOffsetX=function(){return 5},e.prototype.getOffsetY=function(){return 5},e.prototype.getPaddingTop=function(){return 5},e.prototype.getPaddingBottom=function(){return 5},e.prototype.getWidth=function(){return 200},e.prototype.getHeight=function(){return"auto"},e.prototype.getMargin=function(){return 0},e.prototype.getShadow=function(){return this.newShadowWeak()},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(Pt),Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?this.getBackgroundColorActive(t):t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inDisabled?g.WEAK_HIGHLIGHT_ALPHA:t.isActive?this.getBackgroundAlphaActive(t):g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBackgroundAlphaActive=function(t){return g.HIGHLIGHT_ALPHA},e.prototype.getColor=function(t){return t.inDisabled?g.COLOR:t.isActive?this.getColorActive(t):g.COLOR},e.prototype.getColorActive=function(t){return g.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(re),Cn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlphaActive=function(t){return 1},e.prototype.getColorActive=function(t){return g.ACTIVE_COLOR},e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e}(Tn),Dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},e.prototype.getShortcutColor=function(t){return this.getColor(t)},e.prototype.getShortcutAlpha=function(t){return.5*this.getAlpha(t)},e}(Cn);e.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>'),e.add("menu_item_mark_check_inactive",14,14,"<g></g>");var mn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getBackgroundColorActive=function(t){return t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},n.prototype.getBackgroundAlphaActive=function(t){return g.WEAK_HIGHLIGHT_ALPHA},n.prototype.getColorActive=function(t){return g.COLOR},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.menu_item_mark_check_active:e.mappings.menu_item_mark_check_inactive},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageMarginHorizontal=function(){return 7},n}(Dn),On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?15792383:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),An=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),In=function(){function t(){}return t.init=function(){e.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>'),e.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>')},t.getImageOpened=function(){return e.mappings.expandable_opened},t.getImageClosed=function(){return e.mappings.expandable_closed},t}();In.init();var _n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e.prototype.getImageSource=function(t){return t.inActive?In.getImageOpened():In.getImageClosed()},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(Tn),Bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e.prototype.getImageMarginHorizontal=function(){return t.prototype.getImageMarginHorizontal.call(this)+16},e}(mn);const En=wcardinal.ui.DBaseState,kn=wcardinal.ui.DThemes;var Ln=function(t){function e(){var e=t.call(this)||this;return e._link=kn.getInstance().get("DLink"),e}return r(e,t),e.prototype.getImageSource=function(t){return t.is(En.NEW_WINDOW)?this._link.getImageSource(t):null},e.prototype.getImageTintAlpha=function(e){return e.isHovered?t.prototype.getImageTintAlpha.call(this,e):0},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e}(Dn),Sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Ln);e.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 Rn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getImageSource=function(t){return e.mappings.menu_item_mark_next},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 12},n}(Cn),Hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Rn),Wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBorderColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBorderAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Tn),bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Wn),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(rn),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Mn),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Dn),Gn=function(){n.set("DMenu",dn),n.set("DMenuItem",Cn),n.set("DMenuItemCheck",mn),n.set("DMenuItemLink",Ln),n.set("DMenuItemMenu",Rn),n.set("DMenuItemSeparator",Wn),n.set("DMenuItemSpace",Mn),n.set("DMenuItemText",Dn),n.set("DMenuItemExpandableBody",An),n.set("DMenuItemExpandableHeader",_n),n.set("DMenuItemExpandableItemCheck",Bn),n.set("DMenuItemExpandableItemLink",Sn),n.set("DMenuItemExpandableItemMenu",Hn),n.set("DMenuItemExpandableItemSeparator",bn),n.set("DMenuItemExpandableItemSpace",Nn),n.set("DMenuItemExpandableItemText",wn),n.set("DMenuItemExpandable",On)},vn=function(){n.set("DMenuBarItem",yn),n.set("DMenuBar",hn),Gn()},xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e}(an),Pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getMargin=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Pt),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(mn),Vn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(On),Un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Bn),Kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Sn),zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Hn),Jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(bn),jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Nn),Xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(wn),Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ln),Yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Rn),qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Wn),Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Mn),$n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Dn),to=function(){n.set("DMenuSided",xn),n.set("DMenuSidedContent",Pn),n.set("DMenuSidedItemCheck",Fn),n.set("DMenuSidedItemLink",Zn),n.set("DMenuSidedItemMenu",Yn),n.set("DMenuSidedItemSeparator",qn),n.set("DMenuSidedItemSpace",Qn),n.set("DMenuSidedItemText",$n),n.set("DMenuSidedItemExpandable",Vn),n.set("DMenuSidedItemExpandableItemCheck",Un),n.set("DMenuSidedItemExpandableItemLink",Kn),n.set("DMenuSidedItemExpandableItemMenu",zn),n.set("DMenuSidedItemExpandableItemSeparator",Jn),n.set("DMenuSidedItemExpandableItemSpace",jn),n.set("DMenuSidedItemExpandableItemText",Xn)},eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getMargin=function(){return 10},e.prototype.getButtonSpace=function(){return 10},e}(he);e.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 no=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getInteractive=function(){return i.NONE},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n.prototype.getImageSource=function(t){return e.mappings.pagination_dots},n.prototype.getImageAlignHorizontal=function(){return C.CENTER},n.prototype.getImageAlignWith=function(){return O.BORDER},n}(B);e.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 oo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_last},n}(k);e.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 ro=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_next},n}(k),io=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.newTextValue=function(){return 0},e.prototype.getTextStyleClipping=function(){return!1},e}(k);e.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 uo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_previous},n}(k);e.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 po=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_top},n}(k),ao=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e}(B),lo=function(){n.set("DPagination",eo),n.set("DPaginationPage",ao),n.set("DPaginationDots",no),n.set("DPaginationButtonLast",oo),n.set("DPaginationButtonNext",ro),n.set("DPaginationButtonPage",io),n.set("DPaginationButtonPrevious",uo),n.set("DPaginationButtonTop",po)},co=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),go=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return 16777215},e.prototype.getBackgroundAlpha=function(t){return 0},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getFadeOutDelay=function(){return 1500},e}(h),fo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BORDER_COLOR=c.darken(g.WEAK_HIGHLIGHT_COLOR,.25),e.BORDER_COLOR_DISABLED=c.brighten(e.BORDER_COLOR,.75),e.BORDER_COLOR_HOVERED=c.brighten(e.BORDER_COLOR,.25),e.BORDER_COLOR_OTHER=c.brighten(e.BORDER_COLOR,.5),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return t.inDisabled?this.BORDER_COLOR_DISABLED:t.isHovered||t.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},e.prototype.getBorderAlpha=function(t){return 1},e.prototype.getBorderWidth=function(t){return 3},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getThumbMinimumLength=function(){return 16},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),so=function(){n.set("DScrollBar",go),n.set("DScrollBarThumb",fo)},ho=function(){n.set("DPane",an),n.set("DContent",co),so()};const yo=wcardinal.ui.isString;var To=function(t){if(t){var e=t.text.value;if(yo(e))return e;if(null!=e){var n=e(t.state);if(null!=n)return n}}return""},Co=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return To},e.prototype.newTextValue=function(){return null},e}(te),Do=function(t){if(t){for(var e="",n="",o=0,r=t.length;o<r;++o){var i=t[o],u=i.text.value;if(yo(u))e+=n+u,n=", ";else if(null!=u){var p=u(i.state);null!=p&&(e+=n+p,n=", ")}}return e}return""},mo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return Do},e.prototype.newTextValue=function(){return[]},e}(te),Oo=function(){n.set("DSelectMultiple",mo),n.set("DSelect",Co),ne()};const Ao=wcardinal.ui.EShapeActionMiscExtensions,Io=wcardinal.ui.EShapeActionOpenDialogExtensions,_o=wcardinal.ui.EShapeActionOpenExtensions,Bo=wcardinal.ui.EShapeActionValueBlinkType,Eo=wcardinal.ui.EShapeActionValueChangeColorTarget,ko=wcardinal.ui.EShapeActionValueChangeColorType,Lo=wcardinal.ui.EShapeActionValueChangeTextType,So=wcardinal.ui.EShapeActionValueGestureOperationType,Ro=wcardinal.ui.EShapeActionValueGestureType,Ho=wcardinal.ui.EShapeActionValueMiscType,Wo=wcardinal.ui.EShapeActionValueOnInputAction,bo=wcardinal.ui.EShapeActionValueOpenDialogType,Mo=wcardinal.ui.EShapeActionValueOpenType,No=wcardinal.ui.EShapeActionValueOpetyped,wo=wcardinal.ui.EShapeActionValueShowHideType,Go=wcardinal.ui.EShapeActionValueSubtyped,vo=wcardinal.ui.EShapeActionValueTransformMoveType,xo=wcardinal.ui.EShapeActionValueTransformResizeType,Po=wcardinal.ui.EShapeActionValueTransformRotateType,Fo=wcardinal.ui.EShapeActionValueTransformType,Vo=wcardinal.ui.EShapeActionValueType;var Uo=function(){function t(){}return t.prototype.toLabel=function(t){var e=t.type;if(t instanceof Go){var n,o=t.subtype;if(t instanceof No){if(null!=(n=this.toOpetypedLabel(e,o,t.opetype,t)))return n}else if(null!=(n=this.toSubtypedLabel(e,o,t)))return n}return this.toTypedLabel(e,t)},t.prototype.toTypedLabel=function(t,e){return"".concat(this.toTypeLabel(t),": ").concat(this.toConditionLabel(e.condition))},t.prototype.toSubtypedLabel=function(t,e,n){var o=this.toTypeLabel(t);switch(t){case Vo.SHOW_HIDE:return"".concat(o,": ").concat(this.toShowHideTypeLabel(e));case Vo.BLINK:return"".concat(o,": ").concat(this.toBlinkTypeLabel(e));case Vo.CHANGE_COLOR:case Vo.CHANGE_COLOR_LEGACY:return"".concat(o,": ").concat(this.toChangeColorTypeLabel(e));case Vo.CHANGE_TEXT:return"".concat(o,": ").concat(this.toChangeTextTypeLabel(e));case Vo.OPEN:return"".concat(o,": ").concat(this.toOpenTypeLabel(e));case Vo.GESTURE:return"".concat(o,": ").concat(this.toGestureTypeLabel(e));case Vo.MISC:return"".concat(o,": ").concat(this.toMiscTypeLabel(e))}return null},t.prototype.toOpetypedLabel=function(t,e,n,o){switch(t){case Vo.TRANSFORM:var r=this.toTransformTypeLabel(e);switch(e){case Fo.ROTATE:return"".concat(r,": ").concat(this.toTransformRotateTypeLabel(n));case Fo.MOVE:return"".concat(r,": ").concat(this.toTransformMoveTypeLabel(n));case Fo.RESIZE:return"".concat(r,": ").concat(this.toTransformResizeTypeLabel(n))}}return null},t.prototype.toTypeLabel=function(t){switch(t){case Vo.SHOW_HIDE:return"Show / hide";case Vo.BLINK:return"Blink";case Vo.TRANSFORM:return"Transform";case Vo.OPEN:return"Open";case Vo.CHANGE_COLOR:case Vo.CHANGE_COLOR_LEGACY:return"Change color";case Vo.CHANGE_FILL_PERCENT:return"Change fill percent";case Vo.CHANGE_TEXT:return"Change text";case Vo.CHANGE_CURSOR:return"Change cursor";case Vo.EMIT_EVENT:return"Emit an event";case Vo.GESTURE:return"Gesture";case Vo.MISC:return"Misc.";default:return Vo.EXTENSION<=t?"Extension":"Unknown"}},t.prototype.toConditionLabel=function(t){return 20<t.length?t.substring(0,20)+"...":t},t.prototype.toBlinkTypeLabel=function(t){switch(t){case Bo.VISIBILITY:return"Visibility";case Bo.BRIGHTEN:return"Brighten";case Bo.DARKEN:return"Darken";case Bo.OPACITY:return"Opacity";case Bo.COLOR_FILL:return"Fill";case Bo.COLOR_STROKE:return"Stroke"}},t.prototype.toShowHideTypeLabel=function(t){switch(t){case wo.SHAPE_SHOW:return"Show";case wo.SHAPE_HIDE:return"Hide";case wo.SHAPE:return"Shape";case wo.LAYER:return"Layer"}},t.prototype.toTransformTypeLabel=function(t){switch(t){case Fo.RESIZE:return"Resize";case Fo.MOVE:return"Move";case Fo.ROTATE:return"Rotate"}},t.prototype.toTransformRotateTypeLabel=function(t){switch(t){case Po.RELATIVE:return"Relative";case Po.ABSOLUTE:return"Absolute"}},t.prototype.toTransformMoveTypeLabel=function(t){switch(t){case vo.RELATIVE_X:return"Relative X";case vo.RELATIVE_Y:return"Relative Y";case vo.ABSOLUTE_X:return"Absolute X";case vo.ABSOLUTE_Y:return"Absolute Y";case vo.FORWARD_OR_BACKWARD:return"Forward / backward";case vo.LEFT_OR_RIGHT:return"Left / right"}},t.prototype.toTransformResizeTypeLabel=function(t){switch(t){case xo.ABSOLUTE_SIZE:return"Height & width";case xo.RELATIVE_SIZE:return"Height & width (%)";case xo.ABSOLUTE_HEIGHT:return"Height";case xo.RELATIVE_HEIGHT:return"Height (%)";case xo.ABSOLUTE_WIDTH:return"Width";case xo.RELATIVE_WIDTH:return"Width (%)"}},t.prototype.toChangeColorTypeLabel=function(t){if(t===ko.NONE)return"None";var e="",n="";return t&ko.FILL&&(e+=n+"Fill",n=", "),t&ko.STROKE&&(e+=n+"Stroke",n=", "),t&ko.TEXT&&(e+=n+"Text",n=", "),t&ko.TEXT_OUTLINE&&(e+=n+"Text outline"),e},t.prototype.toChangeColorTargetLabel=function(t){switch(t){case Eo.COLOR_AND_ALPHA:return"Color";case Eo.COLOR:return"RGB";case Eo.ALPHA:return"Alpha";case Eo.CODE:return"Dynamic color";case Eo.BRIGHTNESS:return"Brightness"}},t.prototype.toChangeTextTypeLabel=function(t){switch(t){case Lo.TEXT:return"Text";case Lo.NUMBER:return"Number"}},t.prototype.toOpenTypeLabel=function(t){switch(t){case Mo.DIAGRAM_LEGACY:return"Diagram";case Mo.PAGE_LEGACY:return"Page (New window)";case Mo.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mo.DIALOG_TEXT:return"Dialog (Text)";case Mo.DIALOG_INTEGER:return"Dialog (Integer)";case Mo.DIALOG_REAL:return"Dialog (Real)";case Mo.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mo.DIALOG_DATE:return"Dialog (Date)";case Mo.DIALOG_TIME:return"Dialog (Time)";case Mo.DIALOG_DATETIME:return"Dialog (Datetime)";case Mo.DIAGRAM:return"Diagram";case Mo.PAGE:return"Page";case Mo.DIALOG:return"Dialog";default:if(Mo.EXTENSION<=t){var e=_o.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toOpenDialogTypeLabel=function(t){switch(t){case bo.TEXT:return"Text";case bo.INTEGER:return"Integer";case bo.REAL:return"Real";case bo.BOOLEAN:return"Boolean";case bo.DATE:return"Date";case bo.TIME:return"Time";case bo.DATETIME:return"Datetime";default:if(bo.EXTENSION<=t){var e=Io.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toGestureTypeLabel=function(t){switch(t){case Ro.SHAPE:return"Shape";case Ro.LAYER:return"Layer"}},t.prototype.toGestureOperationTypeLabel=function(t){switch(t){case So.DRAG:return"Drag";case So.PINCH:return"Pinch"}return"Unknown"},t.prototype.toMiscTypeLabel=function(t){switch(t){case Ho.INPUT_TEXT:return"Input (Text)";case Ho.INPUT_INTEGER:return"Input (Integer)";case Ho.INPUT_REAL:return"Input (Real)";case Ho.EMIT_EVENT:return this.toOnInputActionLabel(Wo.EMIT_EVENT);case Ho.WRITE_BOTH:return this.toOnInputActionLabel(Wo.WRITE_BOTH);case Ho.WRITE_LOCAL:return this.toOnInputActionLabel(Wo.WRITE_LOCAL);case Ho.WRITE_REMOTE:return this.toOnInputActionLabel(Wo.WRITE_REMOTE);case Ho.HTML_ELEMENT:return"HTML element";case Ho.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Ho.SHOW_HIDE_LAYER:return"Show / hide layers";case Ho.GESTURE_LAYER:return"Layer gesture";case Ho.GESTURE:return"Gesture";case Ho.EXECUTE:return"Execute";default:if(Ho.EXTENSION<=t){var e=Ao.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toHtmlElementWhenLabel=function(t){switch(t){case ae.CLICKED:return"Clicked";case ae.DOUBLE_CLICKED:return"Double clicked";case ae.FOCUSED:return"Focused";case ae.ALWAYS:return"Always"}},t.prototype.toOnInputActionLabel=function(t){switch(t){case Wo.EMIT_EVENT:return"Emit event";case Wo.WRITE_BOTH:return"Write (Both)";case Wo.WRITE_LOCAL:return"Write (Local)";case Wo.WRITE_REMOTE:return"Write (Remote)"}},t}(),Ko=function(){n.set("EShapeActionValue",Uo)};const zo=wcardinal.ui.EShapeFillDirection,Jo=wcardinal.ui.EShapeStrokeSide;var jo=function(){function t(){}return t.prototype.getFillColor=function(){return 16777215},t.prototype.getFillAlpha=function(){return.5},t.prototype.getFillDirection=function(){return zo.BOTTOM},t.prototype.getFillPercent=function(){return 1},t.prototype.getStrokeColor=function(){return 5197647},t.prototype.getStrokeAlpha=function(){return 1},t.prototype.getStrokeWidth=function(){return 2},t.prototype.getStrokeAlign=function(){return 0},t.prototype.getStrokeSide=function(){return Jo.ALL},t.prototype.getStrokeStyle=function(){return Tt.NONE},t.prototype.getTextValue=function(){return""},t.prototype.getTextColor=function(){return this.getStrokeColor()},t.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},t.prototype.getTextFamily=function(){return"auto"},t.prototype.getTextSize=function(){return 14},t.prototype.getRadius=function(){return.25},t.prototype.getSizeX=function(){return 100},t.prototype.getSizeY=function(){return 100},t.prototype.getHighlightColor=function(){return 2000880},t.prototype.getCurveSegmentCount=function(){return 24},t}(),Xo=function(){n.set("EShape",jo)},Zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.getOutlineColor=function(t){return null},e}(h),Yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 33},e.prototype.getWidth=function(){return 300},e.prototype.getX=function(){return"CENTER"},e}(Zo),qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return 30},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),Qo=function(){function t(){}return t.getBackgroundColor=function(t,e){return t.isActive||e?t.inDisabled?this.BACKGROUND_COLOR:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:t.inDisabled?this.BACKGROUND_COLOR_DISABLED:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.BACKGROUND_COLOR_ACTIVE=g.HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_ACTIVE_HOVERED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.1),t.BACKGROUND_COLOR_ACTIVE_PRESSED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.2),t.BACKGROUND_COLOR=g.WEAK_HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_HOVERED=c.darken(t.BACKGROUND_COLOR,.1),t.BACKGROUND_COLOR_PRESSED=c.darken(t.BACKGROUND_COLOR,.2),t.BACKGROUND_COLOR_DISABLED=c.blend(t.BACKGROUND_COLOR,g.BACKGROUND_COLOR_ON_BOARD,.5),t}();e.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var $o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return"CENTER"},n.prototype.getY=function(){return"CENTER"},n.prototype.getWidth=function(){return 16},n.prototype.getHeight=function(){return 16},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getImageSource=function(t){return e.mappings.slider_thumb},n.prototype.getImageTintColor=function(t){return Qo.getBackgroundColor(t,!0)},n.prototype.getImageTintAlpha=function(t){return 1},n.prototype.getImageAlignHorizontal=function(){return C.CENTER},n.prototype.getOutlineColor=function(t){return null},n}(w),tr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Qo.getBackgroundColor(t)},e.prototype.getBorderColor=function(t){return null},e.prototype.getOutlineColor=function(e){return t.prototype.getOutlineColorNonActive.call(this,e)},e.prototype.getOutlineOffset=function(e){return t.prototype.getOutlineOffsetNonActive.call(this,e)},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(w),er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return 0},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 5},e}(tr),nr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 5},e.prototype.getHeight=function(){return"100%"},e}(tr),or=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return 2*this.getLineHeight()},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getBackgroundColor=function(t){return t.inDisabled?11184810:g.HIGHLIGHT_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getPrecision=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 322},e.prototype.getWidth=function(){return 35},e}(Zo),ir=function(){n.set("DSlider",Zo),n.set("DSliderValue",or),n.set("DSliderLabel",qo),n.set("DSliderThumb",$o),n.set("DSliderVertical",rr),n.set("DSliderHorizontal",Yo),n.set("DSliderTrack",tr),n.set("DSliderTrackVertical",nr),n.set("DSliderTrackHorizontal",er)},ur=function(){n.set("DText",Ne)};const pr=wcardinal.ui.DTableState;var ar=function(){function t(){}return t.init=function(){In.init()},t.getImageSource=function(t){return t.is(pr.HAS_CHILDREN)?t.is(pr.OPENED)?In.getImageOpened():In.getImageClosed():null},t}();ar.init();var lr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getSecondaryImageSource=function(t){return ar.getImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this.getColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return.5*this.getAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-19},e}(cn),cr=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new lr(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(an),gr=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new lr(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(B),fr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(gr);ar.init();var sr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getSecondaryImageSource=function(t){return this._style.getSecondaryImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this._style.getSecondaryImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this._style.getSecondaryImageTintAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return this._style.getSecondaryImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this._style.getSecondaryImageMarginHorizontal()},e}(fr),hr=function(){n.set("DTree",cr),n.set("DTreeItemText",gr),n.set("DTreeItemButton",fr),n.set("DTreeItemNonEditable",sr)};const yr=wcardinal.ui.UtilGestureModifier;var dr=function(){function t(){}return t.prototype.isWheelZoomEnabled=function(){return!0},t.prototype.getWheelZoomSpeed=function(){return.004},t.prototype.getWheelZoomModifier=function(){return yr.NOT_NONE},t.prototype.isWheelTranslationEnabled=function(){return!0},t.prototype.getWheelTranslationSpeed=function(){return 2.24},t.prototype.getWheelTranslationModifier=function(){return yr.NONE},t.prototype.isDblClickZoomEnabled=function(){return!0},t.prototype.getDblClickZoomSpeed=function(){return 2},t.prototype.getDblClickZoomModifier=function(){return yr.NONE},t.prototype.getDblClickZoomDuration=function(){return 333},t.prototype.getZoomMin=function(){return.01},t.prototype.getZoomMax=function(){return 100},t.prototype.getZoomKeepRatio=function(){return!0},t.prototype.getGestureMode=function(){return pn.ON},t.prototype.getGestureModifier=function(){return yr.NONE},t.prototype.getGestureDuration=function(){return 1},t}(),Tr=function(){n.set("DView",dr)},Cr=function(){kn.setDefaultThemeClass(n)},Dr=function(t,e,n,o,r,i,u,p){var a=null!=u?u:0,l=.5*a,c=Math.max(0,3-l),g=n-a-c-c,f=o-a-c-c;return e+=l,'<path d="M'.concat(t+=l+c,",").concat(e," h").concat(g," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",").concat(c," v").concat(f," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",").concat(c," h-").concat(g," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",-").concat(c," v-").concat(f," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",-").concat(c,'z" fill="').concat(r,'"')+(i?' stroke="'.concat(i,'"'):"")+(null!=u?' stroke-width="'.concat(u,'"'):"")+(null!=p?' stroke-opacity="'.concat(p,'"'):"")+" />"};e.add("button_color_sample",21,21,Dr(3,3,15,15,"#fff","#eee",1));var mr=function(t){return"#".concat(c.toCode(t.color)," A").concat(t.alpha.toFixed(2))},Or=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getImageTintColor=function(t){return 16777215},n.prototype.getImageSource=function(t){return e.mappings.button_color_sample},n.prototype.getTextFormatter=function(){return mr},n.prototype.newTextValue=function(){return{color:16777215,alpha:1}},n}(w),Ar=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt);const Ir=wcardinal.ui.DColorType;var _r=!1,Br=function(t,e,n,o,r){return function(t,e,n,o,r,i,u){var p="";return _r||(_r=!0,p='<defs><pattern id="rounded-checkerboard-pattern" patternUnits="userSpaceOnUse" width="18" height="18">'+'<rect x="0" y="0" width="9" height="9" fill="'.concat(n,'" />')+'<rect x="9" y="0" width="9" height="9" fill="'.concat(o,'" />')+'<rect x="0" y="9" width="9" height="9" fill="'.concat(o,'" />')+'<rect x="9" y="9" width="9" height="9" fill="'.concat(n,'" />')+"</pattern></defs>"),p+Dr(0,0,t,e,"url(#rounded-checkerboard-pattern)",r,i,u)}(t,e,"#bfbfbf","#a5a5a5",n,o,r)};e.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>'+Dr(0,0,234,162,"url(#fs7w3iusfdnb)")+Dr(0,0,234,162,"url(#2rfcfe9874bw)")+"</g>"),e.add("picker_color_main_base",234,162,'<rect x="0" y="0" width="236" height="164" fill="#fff" />'),e.add("picker_color_alpha_checkerboard",234,18,Br(234,18)),e.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>'),e.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>'+Dr(0,0,234,18,"url(#ni2rbisdf3)")+"</g>"),e.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),e.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" />'),e.add("picker_color_recent_checkerboard",18,18,Br(18,18)),e.add("picker_color_recent",18,18,Dr(0,0,18,18,"#fff","#eee",1)),e.add("picker_color_sample_checkerboard",42,66,Br(42,66,"#fff",1,0)),e.add("picker_color_sample",42,66,Dr(0,0,42,66,"#fff","#eee",1)),e.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" />'),e.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" />'),e.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" />'),e.add("picker_color_standard",18,18,Dr(0,0,18,18,"#fff","#eee",1));var Er=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getMainWidth=function(){return 234},n.prototype.getMainHeight=function(){return 162},n.prototype.getMainTexture=function(){return e.mappings.picker_color_main},n.prototype.getMainBaseTexture=function(){return e.mappings.picker_color_main_base},n.prototype.getMainPointerTexture=function(){return e.mappings.picker_color_pointer},n.prototype.getMainPointerColor=function(){return 16777215},n.prototype.getMainPointerAlpha=function(){return 1},n.prototype.getBaseHeight=function(){return 18},n.prototype.getBaseMargin=function(){return 6},n.prototype.getBaseTexture=function(){return e.mappings.picker_color_base},n.prototype.getBasePointerTexture=function(){return e.mappings.picker_color_base_pointer},n.prototype.getBasePointerColor=function(){return 16777215},n.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getAlphaHeight=function(){return this.getBaseHeight()},n.prototype.getAlphaMargin=function(){return this.getBaseMargin()},n.prototype.getAlphaTexture=function(){return e.mappings.picker_color_alpha},n.prototype.getAlphaCheckerboardTexture=function(){return e.mappings.picker_color_alpha_checkerboard},n.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},n.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},n.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getRecentMargin=function(){return this.getBaseMargin()},n.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},n.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},n.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},n.prototype.getRecentColorCount=function(){return 10},n.prototype.getRecentCheckerboardTexture=function(){return e.mappings.picker_color_recent_checkerboard},n.prototype.getRecentTexture=function(){return e.mappings.picker_color_recent},n.prototype.getInputMargin=function(){return this.getBaseMargin()},n.prototype.getInputLabelWidth=function(){return 18},n.prototype.getSampleWidth=function(){return 42},n.prototype.getSampleHeight=function(){return 66},n.prototype.getSampleMargin=function(){return this.getBaseMargin()},n.prototype.getSampleCheckerboardOldTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleCheckerboardNewTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleOldTexture=function(){return e.mappings.picker_color_sample},n.prototype.getSampleNewTexture=function(){return e.mappings.picker_color_sample},n.prototype.getStandardColorCount=function(){return 80},n.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},n.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},n.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},n.prototype.getStandardTexture=function(){return e.mappings.picker_color_standard},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),kr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.toColorTypeLabel=function(t){switch(t){case Ir.STANDARD:return"標準";case Ir.CUSTOM:return"カスタム"}},e}(Er),Lr=function(){n.set("DPickerColor",kr)},Sr=function(){n.set("DDialogColor",Ar),Lr()},Rr=function(){n.set("DButtonColor",Or),Sr()};const Hr=wcardinal.ui.DColorGradientObservable;e.add("button_color_gradient_sample",21,21,Dr(3,3,15,15,"#fff","#eee",1));var Wr=function(){return""},br=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getViewBaseTexture=function(){return e.mappings.button_color_gradient_sample},n.prototype.getTextFormatter=function(){return Wr},n.prototype.newTextValue=function(){return new Hr},n.prototype.getCheckerColors=function(){return[.75,.65]},n}(w),Mr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),Nr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getGradientPointsWidth=function(){return 30},n.prototype.getGradientPointsMargin=function(){return 24},n.prototype.getGradientAnchorTexture=function(){return e.mappings.picker_color_anchor},n.prototype.getGradientAnchorOutlinedTexture=function(){return e.mappings.picker_color_anchor_outlined},n.prototype.getGradientAnchorOutlineTexture=function(){return e.mappings.picker_color_anchor_outline},n.prototype.getGradientDirectionMargin=function(){return 5},n.prototype.getGradientDirectionTexture=function(){return e.mappings.picker_color_direction},n.prototype.getGradientRecentColumn=function(){return 4},n.prototype.getGradientRecentWidth=function(){return 30},n.prototype.getGradientRecentMargin=function(){return 5},n.prototype.getGradientRecentCount=function(){return 16},n.prototype.getGradientRecents=function(){return[]},n.prototype.getGradientCheckerColors=function(){return[.75,.65]},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),wr=function(){n.set("DPickerColorGradient",Nr),Lr()},Gr=function(){n.set("DDialogColorGradient",Mr),wr()},vr=function(){n.set("DButtonColorGradient",br),Gr()};const xr=wcardinal.ui.DPickerDates;var Pr=function(t){return xr.format(t)},Fr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return Pr},e.prototype.newTextValue=function(){return new Date},e}(w),Vr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt);const Ur=wcardinal.ui.DPickerDatetimeMask;var Kr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getMargin=function(){return 8},e.prototype.getMask=function(){return Ur.HOURS|Ur.MINUTES},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"auto"},e.prototype.getLowerBound=function(){return null},e.prototype.isLowerBoundInclusive=function(){return!1},e.prototype.getUpperBound=function(){return null},e.prototype.isUpperBoundInclusive=function(){return!1},e}(h),zr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHoursOptions=function(){return{width:100,title:"時"}},e.prototype.getMinutesOptions=function(){return{width:100,title:"分"}},e.prototype.getSecondsOptions=function(){return{width:100,title:"秒"}},e}(Kr),Jr=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],jr=["日","月","火","水","木","金","土"],Xr=function(t){return"".concat(t.getFullYear(),"年").concat(Jr[t.getMonth()])},Zr=function(){},Yr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDayLabels=function(){return jr},e.prototype.getLabelFormatter=function(){return Xr},e.prototype.getDateDecorator=function(){return Zr},e.prototype.getBackButtonOptions=function(){return{title:"前月"}},e.prototype.getNextButtonOptions=function(){return{title:"翌月"}},e.prototype.getDayStart=function(){return 0},e.prototype.getMask=function(){return Ur.DATE|t.prototype.getMask.call(this)},e}(zr),qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMask=function(){return Ur.DATE},e}(Yr);e.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 Qr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return O.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return C.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_back},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(k),$r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.isToggle=function(){return!0},e}(k);e.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 ti=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return O.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return C.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_next},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(k),ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getFontSize=function(){return Math.round(1.25*t.prototype.getFontSize.call(this))},e.prototype.newTextValue=function(){return new Date},e.prototype.getInteractive=function(){return i.NONE},e}(Ne),ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e}(Ne),oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getInteractive=function(){return i.NONE},e}(h),ri=function(){n.set("DPickerTime",zr)},ii=function(){n.set("DPickerDatetimeButtonBack",Qr),n.set("DPickerDatetimeButtonDate",$r),n.set("DPickerDatetimeButtonNext",ti),n.set("DPickerDatetimeLabelDate",ni),n.set("DPickerDatetimeLabel",ei),n.set("DPickerDatetimeSpace",oi),n.set("DPickerDatetime",Yr),ri()},ui=function(){n.set("DPickerDate",qr),ii()},pi=function(){n.set("DDialogDate",Vr),ui()},ai=function(){n.set("DButtonDate",Fr),pi()};const li=wcardinal.ui.DPickerDatetimes;var ci=function(t,e){return li.format(t,e.getDatetimeMask())},gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return ci},e.prototype.newTextValue=function(){return new Date},e}(w),fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),si=function(){n.set("DDialogDatetime",fi),ii()},hi=function(){n.set("DButtonDatetime",gi),si()};const yi=wcardinal.ui.toLabel;var di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return yi},e.prototype.newTextValue=function(){return null},e}(w),Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 250},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(ln),Ci=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e.prototype.getCornerMask=function(){return p.NONE},e}(gn),Di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 480},e.prototype.getFooter=function(){return null},e.prototype.getInputMargin=function(){return 19},e.prototype.isDismissable=function(){return!1},e.prototype.isCategoryDismissable=function(){return!0},e}(wt),mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDismissLabel=function(){return"なし"},e.prototype.getCategoryDismissLabel=function(){return"全て"},e}(Di),Oi=function(){n.set("DDialogSelect",mi),n.set("DDialogSelectList",Ti),n.set("DDialogSelectListItem",Ci)},Ai=function(){n.set("DButtonSelect",di),Oi()};const Ii=wcardinal.ui.DPickerTimes;var _i=function(t,e){return Ii.format(t,e.getDatetimeMask())},Bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return _i},e.prototype.newTextValue=function(){return new Date},e}(w),Ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),ki=function(){n.set("DDialogTime",Ei),ri()},Li=function(){n.set("DButtonTime",Bi),ki()},Si=function(){L(),W(),b(),vr(),Rr(),Ai(),N(),ai(),hi(),v(),P(),V(),z(),J(),X(),Li(),Z()},Ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCanvasBackgroundColor=function(){return 16777215},e.prototype.getCanvasBackgroundAlpha=function(){return 1},e.prototype.isAmbient=function(){return!0},e.prototype.getCanvasShadow=function(){return"WEAK"},e}(q),Hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ri),Wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!0},e.prototype.getBackgroundBase=function(){return 15658734},e.prototype.getLocalBoundsLimit=function(){return 0},e}(Y),bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Wi),Mi=function(){},Ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCurveSplineLabel=function(){return"スプライン曲線"},e.prototype.getCurveBezierQuadraticLabel=function(){return"2次ベジェ曲線"},e}(Mi),wi=function(){n.set("EShapePointsFormatter",Ni)},Gi=function(){n.set("DDiagram",Hi),n.set("DDiagramCanvas",bi),wi(),Xo()},vi=function(t,e,n,o){var r=Math.max(e,n);if(0<t){t*=function(t){if(t<=0||1<=t)return 1;var e=1/t;return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,(e|=e>>32)-(e>>1)}(o);for(var i=r/1e3,u=0;u<10&&t<i;++u)t*=10;if(i<=t)return t}return r},xi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.getLocalBoundsLimit=function(){return 1e3},e.prototype.getOutlineColor=function(t){return null},e.prototype.getSnapGridMajorInterval=function(){return 10},e.prototype.getSnapGridMajorColor=function(){return 10066329},e.prototype.getSnapGridMajorAlpha=function(){return.5},e.prototype.getSnapGridMajorWidth=function(){var t;return Math.max(1,2/(null!==(t=window.devicePixelRatio)&&void 0!==t?t:1))},e.prototype.getSnapGridMajorStyle=function(){return Tt.DASHED|Tt.NON_SCALING},e.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},e.prototype.getSnapGridMinorAlpha=function(){return.125},e.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},e.prototype.getSnapGridSize=function(){return vi},e.prototype.getSnapTargetColor=function(){return g.HIGHLIGHT_COLOR},e.prototype.getSnapTargetAlpha=function(){return 1},e.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},e}(Wi),Pi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.isThumbnailEnabled=function(){return!1},e.prototype.getThumbnailSize=function(){return null},e.prototype.isSnapEnabled=function(){return!0},e.prototype.isSnapGridVisible=function(){return!0},e.prototype.isSnapGridEnabled=function(){return!0},e.prototype.getSnapGridSize=function(){return 10},e.prototype.isSnapTargetVisible=function(){return!0},e.prototype.isSnapTargetEnabled=function(){return!0},e}(Ri),Fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBaseLayerLabel=function(){return"ベースレイヤー"},e}(Pi),Vi=function(){n.set("DDiagramEditor",Fi),n.set("DDiagramCanvasEditor",xi),Ko(),wi(),Xo()},Ui=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return 38},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getCornerMask=function(){return p.BOTTOM},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(t){t.isFocusable=!1},e}(B);e.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 Ki=function(t,e){return t-34},zi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return Ki},n.prototype.getY=function(){return"center"},n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getSecondaryImageAlignHorizontal=function(){return C.CENTER},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dialog_layered_header_button_close},n}(k),Ji=function(t){return t-1},ji=function(t){return t-16},Xi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return 8},e.prototype.getY=function(){return Ji},e.prototype.getWidth=function(){return ji},e.prototype.getHeight=function(){return 1},e.prototype.getBackgroundColor=function(t){return g.BORDER_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(t){t.isFocusable=!1},e}(B),Zi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isButtonSpaceLeftEnabled=function(){return!0},e.prototype.isButtonSpaceRightEnabled=function(){return!0},e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(he),Yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getButtonOk=function(){return"OK"},e.prototype.getButtonCancel=function(){return"キャンセル"},e}(Zi),qi=function(){n.set("DDialogLayeredContent",Ft),n.set("DDialogLayeredFooter",Yi),n.set("DDialogLayeredHeaderButtonClose",zi),n.set("DDialogLayeredHeaderSeparator",Xi),n.set("DDialogLayeredHeader",Ui),n.set("DDialogLayered",wt)},Qi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(re),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return""},e}(wt),tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"はい",cancel:"いいえ"}}},e}($i),eu=function(){n.set("DDialogConfirm",tu),n.set("DDialogConfirmMessage",Qi)},nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return"このデータを削除しますか?"},e}(tu),ou=function(){n.set("DDialogConfirmDelete",nu)},ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return"保存されていない変更があります。\nこれらの変更を破棄し続行しますか?"},e}(tu),iu=function(){n.set("DDialogConfirmDiscard",ru)},uu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}($i),pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e}(uu),au=function(){n.set("DDialogMessage",pu)};e.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 lu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getHeight=function(){return 90},n.prototype.getImageSource=function(t){return t.isSucceeded?e.mappings.success_mark:null},n.prototype.getImageTintAlpha=function(t){return.75},n}(Qi),cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDoneDelay=function(){return 400},e.prototype.getCloseDelay=function(){return 600},e}($i),gu=function(t){return t.isSucceeded?"正常に処理されました":t.isFailed?"処理中に問題が発生しました":"処理中です..."},fu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e.prototype.getMessage=function(){return gu},e}(cu),su=function(){n.set("DDialogProcessing",fu),n.set("DDialogProcessingMessage",lu)},hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(qt),yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"保存",cancel:null}}},e}(hu),du=function(){n.set("DDialogSaveAs",yu)},Tu=function(){Gr(),Sr(),ou(),iu(),eu(),pi(),si(),Ut(),Jt(),Xt(),Yt(),Qt(),qi(),au(),su(),du(),Oi(),ki(),$t()},Cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCornerAdjust=function(){return!0},e.prototype.getMargin=function(){return 0},e}(he),Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isToggle=function(){return!0},e}(w),mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"OFF"},e}(Du),Ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isToggle=function(){return!0},e}(w),Au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"ON"},e}(Ou),Iu=function(){n.set("DInputBoolean",Cu),n.set("DInputBooleanButtonOn",Au),n.set("DInputBooleanButtonOff",mu)},_u=function(){de(),Iu(),Me(),Ge(),Pe(),Ue(),en(),nn()};const Bu=wcardinal.ui.DLinkMenuItemId;e.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 Eu=function(){function t(){}return t.prototype.getImageSource=function(t){return e.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Bu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Bu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Bu.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),ku=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabelOpenLink=function(){return"開く"},e.prototype.getLabelOpenLinkInNewWindow=function(){return"新しいウィンドウで開く"},e.prototype.getLabelCopyLinkAddress=function(){return"アドレスをコピーする"},e}(Eu),Lu=function(){n.set("DLink",ku)},Su=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"100%"},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getInteractive=function(){return i.NONE},e.prototype.getAlpha=function(){return.2},e.prototype.getFontSize=function(){return 26},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getImageTintAlpha=function(t){return.2},e.prototype.getImageAlignWith=function(){return O.TEXT},e.prototype.getImageAlignHorizontal=function(){return C.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(B),Ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Su),Hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"異常が発生しました"},e}(Ru),Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Su),bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"アイテムはありません"},e}(Wu),Mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Su),Nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"検索中です"},e}(Mu),wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFontSize=function(){return 18},e}(Su),Gu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteError"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(wu),vu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteNoItemsFound"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(wu),xu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteSearching"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(wu),Pu=function(){n.set("DNote",Su),n.set("DNoteError",Hu),n.set("DNoteNoItemsFound",bu),n.set("DNoteSearching",Nu),n.set("DNoteSmallError",Gu),n.set("DNoteSmallNoItemsFound",vu),n.set("DNoteSmallSearching",xu)},Fu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e}(an),Vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getCornerMask=function(){return p.TOP},e.prototype.getBorderColor=function(t){return null},e.prototype.getRowHeight=function(){return 30},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),Uu=function(){function t(){}var e;return t.getBackgroundColor=function(t){return t.inDisabled?t.is(pr.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:t.isInvalid?g.INVALID_BLENDED_ON_BOARD:t.underActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.onHovered||t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.is(pr.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},t.getBackgroundAlpha=function(t){return 1},t.getBorderColor=function(t){return t.is(pr.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},t.getBorderMask=function(t){return t.is(pr.END)?u.ALL:u.NOT_RIGHT},t.getColor=function(t){return g.COLOR},t.getAlpha=function(t){return t.in(pr.HAS_DATA)?t.inEnabled?1:.5:0},t.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getHeight=function(){return"padding"},t.getCornerMask=function(){return p.ALL},e=t,t.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_FROZEN_EVEN=c.darken(e.BACKGROUND_COLOR,.015),t.BACKGROUND_COLOR_FROZEN_ODD=c.darken(e.BACKGROUND_COLOR_FROZEN_EVEN,.015),t.BORDER_COLOR=c.darken(e.BACKGROUND_COLOR,.035),t.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.035),t}(),Ku=function(){function t(){}return t.init=function(){e.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>')},t.getImageSource=function(t){return e.mappings.action_mark},t.getImageTintColor=function(t){return Uu.getImageTintColor(t,!0)},t}(),zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(w);Ku.init();var Ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(zu);Ku.init();var ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e}(ee),Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(w);Ku.init();var Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getImageSource=function(t){return Ku.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(Xu),Yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getImageTintColor=function(t){return Uu.getImageTintColor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e}(B),qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(Yu),Qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getImageTintColor=function(t){return Uu.getImageTintColor(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(R),$u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(Or),tp=function(t){return xr.format(t)},ep=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getTextFormatter=function(){return tp},e.prototype.newTextValue=function(){return new Date},e}(w),np=function(t,e){return li.format(t,e.getDatetimeMask())},op=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getTextFormatter=function(){return np},e.prototype.newTextValue=function(){return new Date},e}(w),rp=function(t){return String(Number(t)+1)},ip=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getTextFormatter=function(){return rp},e.prototype.newTextValue=function(){return 0},e}(B),up=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(be),pp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(xe),ap=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(Fe),lp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e}(tn);ar.init();var cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getLevelPadding=function(t){return 24+20*t},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1,e.isFocusReverse=!0},e}(h),gp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getPaddingLeft=function(){return 0},e}(Fe),fp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return null},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageSource=function(t){return ar.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(E),sp=function(t){function e(){var e=t.call(this)||this;return e._link=kn.getInstance().get("DLink"),e}return r(e,t),e.prototype.getImageTintColor=function(t){return Uu.getImageTintColor(t,!0)},e.prototype.getImageSource=function(t){return this._link.getImageSource(t)},e}(qu),hp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Co),yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(mo),dp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e}(Yu),Tp=function(t,e){return Ii.format(t,e.getDatetimeMask())},Cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Uu.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Uu.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Uu.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Uu.getBorderMask(t)},e.prototype.getColor=function(t){return Uu.getColor(t)},e.prototype.getAlpha=function(t){return Uu.getAlpha(t)},e.prototype.getHeight=function(){return Uu.getHeight()},e.prototype.getCornerMask=function(){return Uu.getCornerMask()},e.prototype.getTextFormatter=function(){return Tp},e.prototype.newTextValue=function(){return new Date},e}(w);ar.init();var Dp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageMarginHorizontal=function(){return-19},e.prototype.getImageSource=function(t){return ar.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(qu),mp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusReverse=!0},e}(he),Op=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR_EVEN=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_ODD=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.0125),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:t.isActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},e.prototype.getWidth=function(){return"100%"},e}(mp),Ap=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.055),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return this.BORDER_COLOR},e.prototype.getBorderMask=function(t){return u.NOT_BOTTOM},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 30},e.prototype.getCursor=function(e){return e.is(pr.RESIZING)?"col-resize":t.prototype.getCursor.call(this,e)},e}(mp),Ip=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ap);e.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),e.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var _p=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BACKGROUND_COLOR_HOVERED=c.darken(e.BACKGROUND_COLOR,.017),e.BACKGROUND_COLOR_PRESSED=c.darken(e.BACKGROUND_COLOR,.034),e.BACKGROUND_COLOR_FROZEN=c.darken(e.BACKGROUND_COLOR,.02),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.055),e.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.055),e}return r(n,t),n.prototype.getBackgroundColor=function(t){return t.inDisabled||t.on(pr.RESIZING)?t.is(pr.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:t.is(pr.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBorderColor=function(t){return t.is(pr.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.prototype.getBorderMask=function(t){return t.is(pr.END)?u.ALL:u.NOT_RIGHT},n.prototype.getTextAlignHorizontal=function(){return C.CENTER},n.prototype.getCornerMask=function(){return p.ALL},n.prototype.getHeight=function(){return"padding"},n.prototype.getPaddingLeft=function(){return 10},n.prototype.getPaddingRight=function(){return 10},n.prototype.newTextValue=function(){return null},n.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.getSecondaryImageTintColor=function(e){return e.is(pr.CHECKABLE)?S.getImageTintColor(e):t.prototype.getSecondaryImageTintColor.call(this,e)},n.prototype.getSecondaryImageSource=function(t){return t.is(pr.CHECKABLE)?S.getImageSource(t):null},n.prototype.getSecondaryImageAlignHorizontal=function(){return C.LEFT},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return O.TEXT},n.prototype.getTertiaryImageSource=function(t){return t.is(pr.SORTED_ASCENDING)?e.mappings.sorted_ascending:t.is(pr.SORTED_DESCENDING)?e.mappings.sorted_descending:null},n.prototype.getTertiaryImageTintColor=function(e){return t.prototype.getImageTintColor.call(this,e)},n.prototype.getTertiaryImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getTertiaryImageAlignWith=function(){return O.BORDER},n.prototype.getCursor=function(t){return t.isActionable?t.is(pr.HOVERED_ON_EDGE)||t.on(pr.RESIZING)?"col-resize":t.is(pr.CHECKABLE)||t.is(pr.SORTABLE)?"pointer":"":""},n.prototype.getEdgeWidth=function(){return 10},n}(re),Bp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(_p),Ep=function(){n.set("DTableBodyCellActionDialog",Ju),n.set("DTableBodyCellActionMenu",ju),n.set("DTableBodyCellActionPromise",Zu),n.set("DTableBodyCellButton",qu),n.set("DTableBodyCellCheck",Qu),n.set("DTableBodyCellColor",$u),n.set("DTableBodyCellDate",ep),n.set("DTableBodyCellDatetime",op),n.set("DTableBodyCellIndex",ip),n.set("DTableBodyCellInputInteger",up),n.set("DTableBodyCellInputReal",pp),n.set("DTableBodyCellInputTextArea",lp),n.set("DTableBodyCellInputText",ap),n.set("DTableBodyCellInputTreeMarker",fp),n.set("DTableBodyCellInputTreeInput",gp),n.set("DTableBodyCellInputTree",cp),n.set("DTableBodyCellLink",sp),n.set("DTableBodyCellSelectDialog",zu),n.set("DTableBodyCellSelectMenu",hp),n.set("DTableBodyCellSelectMultiple",yp),n.set("DTableBodyCellSelectPromise",Xu),n.set("DTableBodyCellTextArea",dp),n.set("DTableBodyCellText",Yu),n.set("DTableBodyCellTree",Dp),n.set("DTableBodyCellTime",Cp),n.set("DTableBodyRow",Op),n.set("DTableBody",Vu),n.set("DTableCategoryCell",Bp),n.set("DTableCategory",Ip),n.set("DTableHeaderCell",_p),n.set("DTableHeader",Ap),n.set("DTableRow",mp),n.set("DTable",Fu),b(),Rr(),ai(),hi(),Me(),Pe(),en(),nn(),Oi(),Gn()};e.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>'),e.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>'),e.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 kp=function(t){return t.isProcessing?e.mappings.button_process_processing:t.isSucceeded?e.mappings.button_process_success:e.mappings.button_process_fail},Lp=function(t){var e=t.valueOf(En.PROCESSING);return null!=e?e*Math.PI*.02:0},Sp=function(){function t(){}return t.prototype.getProcessDoneDelay=function(){return 400},t.prototype.getProcessCloseDelay=function(){return 3e3},t.prototype.isProcessTextEnabled=function(){return!1},t.prototype.isProcessImageEnabled=function(){return!0},t.prototype.getProcessImageIndex=function(){return 0},t.prototype.newProcessImageSource=function(){return kp},t.prototype.newProcessImageRotation=function(){return Lp},t}(),Rp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newProcessTextValue=function(){return gu},e}(Sp),Hp=function(){n.set("DIndicatorProcessing",Rp)},Wp=function(){Cr(),y(),T(),Si(),Tr(),Q(),Bt(),Lt(),Vi(),Gi(),Tu(),ue(),fe(),se(),Hp(),_u(),un(),Lu(),sn(),hr(),vn(),to(),Gn(),Pu(),ho(),lo(),wr(),Lr(),ui(),ii(),ri(),Oo(),Ep(),ur(),ir()},bp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}($i),Mp={__proto__:null,loadThemeWhiteBase:y,loadThemeWhiteBoard:T,loadThemeWhiteButtonAmbient:L,loadThemeWhiteButtonCheckRight:W,loadThemeWhiteButtonCheck:b,loadThemeWhiteButtonDanger:N,loadThemeWhiteButtonFile:v,loadThemeWhiteButtonLink:P,loadThemeWhiteButtonPrimary:V,loadThemeWhiteButtonRadioRight:z,loadThemeWhiteButtonRadio:J,loadThemeWhiteButtonSecondary:X,loadThemeWhiteButton:Z,loadThemeWhiteCanvasContainer:Q,loadThemeWhiteChart:Bt,loadThemeWhiteColor:Lt,loadThemeWhiteDialogFitted:Ut,loadThemeWhiteDialogInputBoolean:Jt,loadThemeWhiteDialogInputInteger:Xt,loadThemeWhiteDialogInputReal:Yt,loadThemeWhiteDialogInputText:Qt,loadThemeWhiteDialog:$t,loadThemeWhiteDropdown:ne,loadThemeWhiteExpandable:ue,loadThemeWhiteHtmlElement:fe,loadThemeWhiteImage:se,loadThemeWhiteInputAndLabel:de,loadThemeWhiteInputInteger:Me,loadThemeWhiteInputLabel:Ge,loadThemeWhiteInputReal:Pe,loadThemeWhiteInputSearch:Ue,loadThemeWhiteInputTextArea:en,loadThemeWhiteInputText:nn,loadThemeWhiteLayout:un,loadThemeWhiteList:sn,loadThemeWhiteMenuBar:vn,loadThemeWhiteMenuSided:to,loadThemeWhiteMenu:Gn,loadThemeWhitePagination:lo,loadThemeWhitePane:ho,loadThemeWhiteScrollBar:so,loadThemeWhiteSelect:Oo,loadThemeWhiteShapeActionValue:Ko,loadThemeWhiteShape:Xo,loadThemeWhiteSlider:ir,loadThemeWhiteText:ur,loadThemeWhiteTree:hr,loadThemeWhiteView:Tr,loadThemeWhite:Cr,loadThemeWhiteJaJpAll:Wp,loadThemeWhiteJaJpButtonAll:Si,loadThemeWhiteJaJpButtonColorGradient:vr,loadThemeWhiteJaJpButtonColor:Rr,loadThemeWhiteJaJpButtonDate:ai,loadThemeWhiteJaJpButtonDatetime:hi,loadThemeWhiteJaJpButtonSelect:Ai,loadThemeWhiteJaJpButtonTime:Li,loadThemeWhiteJaJpDiagramEditor:Vi,loadThemeWhiteJaJpDiagram:Gi,loadThemeWhiteJaJpDialogAll:Tu,loadThemeWhiteJaJpDialogColorGradient:Gr,loadThemeWhiteJaJpDialogColor:Sr,loadThemeWhiteJaJpDialogConfirmDelete:ou,loadThemeWhiteJaJpDialogConfirmDiscard:iu,loadThemeWhiteJaJpDialogConfirm:eu,loadThemeWhiteJaJpDialogDate:pi,loadThemeWhiteJaJpDialogDatetime:si,loadThemeWhiteJaJpDialogLayered:qi,loadThemeWhiteJaJpDialogMessage:au,loadThemeWhiteJaJpDialogProcessing:su,loadThemeWhiteJaJpDialogSaveAs:du,loadThemeWhiteJaJpDialogSelect:Oi,loadThemeWhiteJaJpDialogTime:ki,loadThemeWhiteJaJpIndicatorProcessing:Hp,loadThemeWhiteJaJpInputAll:_u,loadThemeWhiteJaJpInputBoolean:Iu,loadThemeWhiteJaJpLink:Lu,loadThemeWhiteJaJpNote:Pu,loadThemeWhiteJaJpPickerColorGradient:wr,loadThemeWhiteJaJpPickerColor:Lr,loadThemeWhiteJaJpPickerDate:ui,loadThemeWhiteJaJpPickerDatetime:ii,loadThemeWhiteJaJpPickerTime:ri,loadThemeWhiteJaJpShapePointsFormatter:wi,loadThemeWhiteJaJpTable:Ep,DThemeWhiteAtlas:e,DThemeWhiteBase:h,DThemeWhiteBoard:d,DThemeWhiteButtonAmbient:k,DThemeWhiteButtonBase:E,DThemeWhiteButtonCheckRight:H,DThemeWhiteButtonCheck:R,DThemeWhiteButtonChecks:S,DThemeWhiteButtonColorGradient:br,DThemeWhiteButtonColor:Or,DThemeWhiteButtonDanger:M,DThemeWhiteButtonDate:Fr,DThemeWhiteButtonDatetime:gi,DThemeWhiteButtonFile:G,DThemeWhiteButtonLink:x,DThemeWhiteButtonPrimary:F,DThemeWhiteButtonRadioRight:K,DThemeWhiteButtonRadio:U,DThemeWhiteButtonSecondary:j,DThemeWhiteButtonSelect:di,DThemeWhiteButtonTime:Bi,DThemeWhiteButton:w,DThemeWhiteCanvasContainer:q,DThemeWhiteCanvas:Y,DThemeWhiteChartAxisBase:it,DThemeWhiteChartAxisXDatetime:at,DThemeWhiteChartAxisX:ut,DThemeWhiteChartAxisY:lt,DThemeWhiteChartCoordinateTick:gt,DThemeWhiteChartCoordinateTransform:ft,DThemeWhiteChartCoordinate:ct,DThemeWhiteChartLegendItem:ht,DThemeWhiteChartLegend:st,DThemeWhiteChartOverview:yt,DThemeWhiteChartPlotArea:dt,DThemeWhiteChartSelectionGridlineX:Ot,DThemeWhiteChartSelectionGridlineY:At,DThemeWhiteChartSelectionMarker:_t,DThemeWhiteChartSelectionShape:mt,DThemeWhiteChart:$,DThemeWhiteColorRecent:Et,DThemeWhiteColorStandard:kt,DThemeWhiteConstants:g,DThemeWhiteContent:co,DThemeWhiteDiagramBase:Ri,DThemeWhiteDiagramCanvasBase:Wi,DThemeWhiteDiagramCanvasEditor:xi,DThemeWhiteDiagramCanvas:bi,DThemeWhiteDiagramEditor:Pi,DThemeWhiteDiagram:Hi,DThemeWhiteDialogColorGradient:Mr,DThemeWhiteDialogColor:Ar,DThemeWhiteDialogConfirmDelete:bp,DThemeWhiteDialogConfirmMessage:Qi,DThemeWhiteDialogConfirm:$i,DThemeWhiteDialogDate:Vr,DThemeWhiteDialogDatetime:fi,DThemeWhiteDialogFittedContent:Vt,DThemeWhiteDialogFitted:Gt,DThemeWhiteDialogInputBoolean:zt,DThemeWhiteDialogInputInteger:jt,DThemeWhiteDialogInputReal:Zt,DThemeWhiteDialogInputText:qt,DThemeWhiteDialogInput:Kt,DThemeWhiteDialogLayeredContent:Ft,DThemeWhiteDialogLayeredFooter:Zi,DThemeWhiteDialogLayeredHeaderButtonClose:zi,DThemeWhiteDialogLayeredHeaderSeparator:Xi,DThemeWhiteDialogLayeredHeader:Ui,DThemeWhiteDialogLayered:wt,DThemeWhiteDialogMessage:uu,DThemeWhiteDialogProcessingMessage:lu,DThemeWhiteDialogProcessing:cu,DThemeWhiteDialogSaveAs:hu,DThemeWhiteDialogSelectListItem:Ci,DThemeWhiteDialogSelectList:Ti,DThemeWhiteDialogSelect:Di,DThemeWhiteDialogTime:Ei,DThemeWhiteDialog:Nt,DThemeWhiteDropdownBase:te,DThemeWhiteDropdown:ee,DThemeWhiteExpandableHeader:ie,DThemeWhiteExpandable:oe,DThemeWhiteExpandables:In,DThemeWhiteFont:f,DThemeWhiteHtmlElement:ge,DThemeWhiteImageBase:B,DThemeWhiteImage:re,DThemeWhiteIndicatorProcess:Sp,DThemeWhiteInputAndLabel:ye,DThemeWhiteInputBooleanButtonOff:Du,DThemeWhiteInputBooleanButtonOn:Ou,DThemeWhiteInputBoolean:Cu,DThemeWhiteInputInput:Re,DThemeWhiteInputInteger:be,DThemeWhiteInputLabel:we,DThemeWhiteInputNumber:He,DThemeWhiteInputReal:xe,DThemeWhiteInputSearch:Ve,DThemeWhiteInputTextArea:tn,DThemeWhiteInputText:Fe,DThemeWhiteInput:De,DThemeWhiteLayoutBoard:on,DThemeWhiteLayoutHorizontal:he,DThemeWhiteLayoutSpace:rn,DThemeWhiteLayoutVertical:Pt,DThemeWhiteLayout:xt,DThemeWhiteLink:Eu,DThemeWhiteListItemAmbient:fn,DThemeWhiteListItem:gn,DThemeWhiteListItems:cn,DThemeWhiteList:ln,DThemeWhiteMenuBarItem:yn,DThemeWhiteMenuBar:hn,DThemeWhiteMenuItemBase:Tn,DThemeWhiteMenuItemCheck:mn,DThemeWhiteMenuItemExpandableBody:An,DThemeWhiteMenuItemExpandableHeader:_n,DThemeWhiteMenuItemExpandableItemCheck:Bn,DThemeWhiteMenuItemExpandableItemLink:Sn,DThemeWhiteMenuItemExpandableItemMenu:Hn,DThemeWhiteMenuItemExpandableItemSeparator:bn,DThemeWhiteMenuItemExpandableItemSpace:Nn,DThemeWhiteMenuItemExpandableItemText:wn,DThemeWhiteMenuItemExpandable:On,DThemeWhiteMenuItemLink:Ln,DThemeWhiteMenuItemMenu:Rn,DThemeWhiteMenuItemSeparator:Wn,DThemeWhiteMenuItemSpace:Mn,DThemeWhiteMenuItemText:Dn,DThemeWhiteMenuItem:Cn,DThemeWhiteMenuSidedContent:Pn,DThemeWhiteMenuSidedItemCheck:Fn,DThemeWhiteMenuSidedItemExpandableItemCheck:Un,DThemeWhiteMenuSidedItemExpandableItemLink:Kn,DThemeWhiteMenuSidedItemExpandableItemMenu:zn,DThemeWhiteMenuSidedItemExpandableItemSeparator:Jn,DThemeWhiteMenuSidedItemExpandableItemSpace:jn,DThemeWhiteMenuSidedItemExpandableItemText:Xn,DThemeWhiteMenuSidedItemExpandable:Vn,DThemeWhiteMenuSidedItemLink:Zn,DThemeWhiteMenuSidedItemMenu:Yn,DThemeWhiteMenuSidedItemSeparator:qn,DThemeWhiteMenuSidedItemSpace:Qn,DThemeWhiteMenuSidedItemText:$n,DThemeWhiteMenuSided:xn,DThemeWhiteMenu:dn,DThemeWhiteNoteError:Ru,DThemeWhiteNoteNoItemsFound:Wu,DThemeWhiteNoteSearching:Mu,DThemeWhiteNoteSmallError:Gu,DThemeWhiteNoteSmallNoItemsFound:vu,DThemeWhiteNoteSmallSearching:xu,DThemeWhiteNoteSmall:wu,DThemeWhiteNote:Su,DThemeWhitePaginationButtonLast:oo,DThemeWhitePaginationButtonNext:ro,DThemeWhitePaginationButtonPage:io,DThemeWhitePaginationButtonPrevious:uo,DThemeWhitePaginationButtonTop:po,DThemeWhitePaginationDots:no,DThemeWhitePaginationPage:ao,DThemeWhitePagination:eo,DThemeWhitePane:an,DThemeWhitePickerColorGradient:Nr,DThemeWhitePickerColor:Er,DThemeWhitePickerDatetimeButtonBack:Qr,DThemeWhitePickerDatetimeButtonDate:$r,DThemeWhitePickerDatetimeButtonNext:ti,DThemeWhitePickerDatetimeLabelDate:ni,DThemeWhitePickerDatetimeLabel:ei,DThemeWhitePickerDatetimeSpace:oi,DThemeWhitePickerTime:Kr,DThemeWhiteScrollBarThumb:fo,DThemeWhiteScrollBar:go,DThemeWhiteSelectMultiple:mo,DThemeWhiteSelect:Co,DThemeWhiteSliderHorizontal:Yo,DThemeWhiteSliderLabel:qo,DThemeWhiteSliderThumb:$o,DThemeWhiteSliderTrackHorizontal:er,DThemeWhiteSliderTrackVertical:nr,DThemeWhiteSliderTrack:tr,DThemeWhiteSliderValue:or,DThemeWhiteSliderVertical:rr,DThemeWhiteSlider:Zo,DThemeWhiteSliders:Qo,DThemeWhiteTableBodyCellActionDialog:Ju,DThemeWhiteTableBodyCellActionMenu:ju,DThemeWhiteTableBodyCellActionPromise:Zu,DThemeWhiteTableBodyCellActions:Ku,DThemeWhiteTableBodyCellButton:qu,DThemeWhiteTableBodyCellCheck:Qu,DThemeWhiteTableBodyCellColor:$u,DThemeWhiteTableBodyCellDate:ep,DThemeWhiteTableBodyCellDatetime:op,DThemeWhiteTableBodyCellIndex:ip,DThemeWhiteTableBodyCellInputInteger:up,DThemeWhiteTableBodyCellInputReal:pp,DThemeWhiteTableBodyCellInputTextArea:lp,DThemeWhiteTableBodyCellInputText:ap,DThemeWhiteTableBodyCellInputTreeInput:gp,DThemeWhiteTableBodyCellInputTreeMarker:fp,DThemeWhiteTableBodyCellInputTree:cp,DThemeWhiteTableBodyCellLink:sp,DThemeWhiteTableBodyCellSelectDialog:zu,DThemeWhiteTableBodyCellSelectMenu:hp,DThemeWhiteTableBodyCellSelectMultiple:yp,DThemeWhiteTableBodyCellSelectPromise:Xu,DThemeWhiteTableBodyCellTextArea:dp,DThemeWhiteTableBodyCellText:Yu,DThemeWhiteTableBodyCellTime:Cp,DThemeWhiteTableBodyCellTree:Dp,DThemeWhiteTableBodyCellTrees:ar,DThemeWhiteTableBodyCells:Uu,DThemeWhiteTableBodyRow:Op,DThemeWhiteTableBody:Vu,DThemeWhiteTableCategoryCell:Bp,DThemeWhiteTableCategory:Ip,DThemeWhiteTableHeaderCell:_p,DThemeWhiteTableHeader:Ap,DThemeWhiteTableRow:mp,DThemeWhiteTable:Fu,DThemeWhiteTextBase:_,DThemeWhiteText:Ne,DThemeWhiteTreeItemButton:fr,DThemeWhiteTreeItemNonEditable:sr,DThemeWhiteTreeItemText:gr,DThemeWhiteTreeItems:lr,DThemeWhiteTree:cr,DThemeWhiteView:dr,DThemeWhite:n,EThemeWhiteShapeActionValue:Uo,EThemeWhiteShapePointsFormatter:Mi,EThemeWhiteShape:jo,DThemeWhiteJaJpDiagramEditor:Fi,DThemeWhiteJaJpDialogConfirmDelete:nu,DThemeWhiteJaJpDialogConfirmDiscard:ru,DThemeWhiteJaJpDialogConfirm:tu,DThemeWhiteJaJpDialogLayeredFooter:Yi,DThemeWhiteJaJpDialogMessage:pu,dThemeWhiteJaJpDialogProcessingMessage:gu,DThemeWhiteJaJpDialogProcessing:fu,DThemeWhiteJaJpDialogSaveAs:yu,DThemeWhiteJaJpDialogSelect:mi,DThemeWhiteJaJpIndicatorProcessing:Rp,DThemeWhiteJaJpInputBooleanButtonOff:mu,DThemeWhiteJaJpInputBooleanButtonOn:Au,DThemeWhiteJaJpLink:ku,DThemeWhiteJaJpNoteError:Hu,DThemeWhiteJaJpNoteNoItemsFound:bu,DThemeWhiteJaJpNoteSearching:Nu,DThemeWhiteJaJpPickerColor:kr,DThemeWhiteJaJpPickerDate:qr,DThemeWhiteJaJpPickerDatetime:Yr,DThemeWhiteJaJpPickerTime:zr,EThemeWhiteJaJpShapePointsFormatter:Ni};Wp();var Np=window;Np.wcardinal=Np.wcardinal||{};var wp=Np.wcardinal.ui=Np.wcardinal.ui||{},Gp=Mp;for(var vp in Gp)wp[vp]=Gp[vp]}(PIXI);
9
+ !function(t){"use strict";var e=new(0,wcardinal.ui.UtilSvgAtlasBuilder)({width:1024,scaling:t.SCALE_MODES.LINEAR,mipmap:t.MIPMAP_MODES.OFF}),n=function(){function t(){this._instances={}}return t.prototype.get=function(e){var n=this._instances[e];if(null!=n)return n;var o=t._classes[e];if(null!=o)return this._instances[e]=new o;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.set=function(t,e){return this._instances[t]=e,this},t.prototype.getClass=function(e){var n=t._classes[e];if(null!=n)return n;throw new Error("No theme for the type '".concat(e,"'"))},t.prototype.setClass=function(e,n){return t._classes[e]=n,this},t.prototype.getAtlas=function(){return e},t.set=function(t,e){this._classes[t]=e},t._classes={},t}(),o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;const i=wcardinal.ui.DBaseInteractive,u=wcardinal.ui.DBorderMask,p=wcardinal.ui.DCornerMask,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,c=wcardinal.ui.UtilRgb;var g=function(){function t(){}return t.COLOR=4473924,t.ACTIVE_COLOR=16777215,t.BORDER_COLOR=15066597,t.BACKGROUND_COLOR=15921906,t.BACKGROUND_COLOR_ON_BOARD=16777215,t.HIGHLIGHT_COLOR=3381759,t.HIGHLIGHT_ALPHA=.2,t.HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.HIGHLIGHT_COLOR,t.HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_COLOR=13421772,t.WEAK_HIGHLIGHT_ALPHA=.2,t.WEAK_HIGHLIGHT_BLENDED=c.blend(t.BACKGROUND_COLOR,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.WEAK_HIGHLIGHT_COLOR,t.WEAK_HIGHLIGHT_ALPHA),t.INVALID_COLOR=16755370,t.INVALID_ALPHA=.2,t.INVALID_BLENDED=c.blend(t.BACKGROUND_COLOR,t.INVALID_COLOR,t.INVALID_ALPHA),t.INVALID_BLENDED_ON_BOARD=c.blend(t.BACKGROUND_COLOR_ON_BOARD,t.INVALID_COLOR,t.INVALID_ALPHA),t}(),f=function(){function t(){}return t.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic UI","Meiryo UI",sans-serif'},t.prototype.getFontSize=function(){return 14},t.prototype.getColor=function(t){return g.COLOR},t.prototype.getFontWeight=function(){return"normal"},t.prototype.getFontStyle=function(){return"normal"},t.prototype.getFontVariant=function(){return"normal"},t.prototype.getAlpha=function(t){return t.inDisabled?.5:1},t.prototype.getLineHeight=function(){return 30},t}(),s=function(t,n,o){var r=2*n;e.add(t,r,r,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*o,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*o,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*o,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*o,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*o,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*o,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*o,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*o,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(r,'" height="').concat(r,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};s("shadow_weak",24,.3),s("shadow",48,.3),e.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><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(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return 0},n.prototype.getY=function(){return 0},n.prototype.getHeight=function(){return 100},n.prototype.getWidth=function(){return 100},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBackgroundTexture=function(){return e.mappings.background},n.prototype.getBorderColor=function(t){return null},n.prototype.getBorderAlpha=function(t){return 1},n.prototype.getBorderWidth=function(t){return 1},n.prototype.getBorderAlign=function(t){return 0},n.prototype.getBorderMask=function(t){return u.NONE},n.prototype.getBorderTexture=function(){return e.mappings.background},n.prototype.getPaddingLeft=function(){return 0},n.prototype.getPaddingRight=function(){return 0},n.prototype.getPaddingTop=function(){return 0},n.prototype.getPaddingBottom=function(){return 0},n.prototype.getCornerRadius=function(){return 3},n.prototype.getCornerMask=function(){return p.NONE},n.prototype.getOutlineColor=function(t){return g.HIGHLIGHT_COLOR},n.prototype.getOutlineAlpha=function(t){return t.isFocused?1:0},n.prototype.getOutlineWidth=function(t){return 1},n.prototype.getOutlineOffset=function(t){return 0},n.prototype.getOutlineAlign=function(t){return 0},n.prototype.getOutlineMask=function(t){return u.NONE},n.prototype.getClearType=function(){return a.NONE},n.prototype.getShadow=function(){return null},n.prototype.getInteractive=function(){return i.SELF},n.prototype.newState=function(t){},n.prototype.getTitle=function(){return""},n.prototype.getWeight=function(){return-1},n.prototype.newShadow=function(){return new l(e.mappings.shadow,48,48,0,4.8)},n.prototype.newShadowWeak=function(){return new l(e.mappings.shadow_weak,24,24,0,2.4)},n.prototype.getCursor=function(t){return""},n}(f),y=function(){n.set("DBase",h)},d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getInteractive=function(){return i.BOTH},e}(h),T=function(){n.set("DBoard",d)};const C=wcardinal.ui.DAlignHorizontal,D=wcardinal.ui.DButtonBaseWhen,m=wcardinal.ui.DAlignVertical,O=wcardinal.ui.DAlignWith,A=wcardinal.ui.DDynamicTextStyleWordWrap,I=wcardinal.ui.toString;var _=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getTextStyleClipping=function(){return!0},e.prototype.getTextStyleFitting=function(){return!1},e.prototype.getTextStyleWordWrap=function(){return A.NONE},e.prototype.getTextFormatter=function(){return I},e.prototype.getTextValue=function(t){},e.prototype.newTextValue=function(){},e}(h),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignHorizontal=function(){return C.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.getImageAlignWith=function(){return O.TEXT},e.prototype.getImageMarginHorizontal=function(){return 5},e.prototype.getImageMarginVertial=function(){return 5},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return this.getAlpha(t)},e.prototype.getImageRotation=function(t){return 0},e.prototype.getImageSource=function(t){return null},e.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getSecondaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getSecondaryImageRotation=function(t){return this.getImageRotation(t)},e.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},e.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},e.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},e.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},e.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},e.prototype.getTertiaryImageTintColor=function(t){return this.getImageTintColor(t)},e.prototype.getTertiaryImageTintAlpha=function(t){return this.getImageTintAlpha(t)},e.prototype.getTertiaryImageRotation=function(t){return this.getImageRotation(t)},e}(_),E=function(t){function e(e,n,o){void 0===e&&(e=16777215),void 0===n&&(n=.017),void 0===o&&(o=.034);var r=t.call(this)||this;return r.BACKGROUND_COLOR=e,r.BACKGROUND_COLOR_HOVERED=c.darken(e,n),r.BACKGROUND_COLOR_PRESSED=c.darken(e,o),r.OUTLINE_COLOR=c.brighten(e,.75),r}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getColor=function(e){return e.inDisabled||!e.isActive?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled||!t.isActive?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return t.isActive?this.getOutlineColorActive(t):this.getOutlineColorNonActive(t)},e.prototype.getOutlineColorActive=function(t){return this.OUTLINE_COLOR},e.prototype.getOutlineColorNonActive=function(e){return t.prototype.getOutlineColor.call(this,e)},e.prototype.getOutlineOffset=function(t){return t.isActive?this.getOutlineOffsetActive(t):this.getOutlineOffsetNonActive(t)},e.prototype.getOutlineOffsetActive=function(t){return-1},e.prototype.getOutlineOffsetNonActive=function(e){return t.prototype.getOutlineOffset.call(this,e)},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return 100},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.isToggle=function(){return!1},e.prototype.getWhen=function(){return D.CLICKED},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(B),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?g.HIGHLIGHT_COLOR:g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){if(t.inEnabled){if(t.isActive)return 1;if(t.isPressed)return 2*g.WEAK_HIGHLIGHT_ALPHA;if(t.isHovered)return g.WEAK_HIGHLIGHT_ALPHA}return 0},e.prototype.getBorderColor=function(t){return null},e}(E),L=function(){n.set("DButtonAmbient",k)};e.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>'),e.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 S=function(){function t(){}return t.getImageTintColor=function(t){return t.inDisabled||t.inReadOnly||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?e.mappings.button_check_mark_on:e.mappings.button_check_mark_off},t}();e.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>'),e.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 R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},e.prototype.getImageTintColor=function(t){return S.getImageTintColor(t)},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return S.getImageSource(t)},e}(k),H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e}(R),W=function(){n.set("DButtonCheckRight",H)},b=function(){n.set("DButtonCheck",R)},M=function(t){function e(){return t.call(this,16733542,.1,.2)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(E),N=function(){n.set("DButtonDanger",M)},w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(E),G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(w),v=function(){n.set("DButtonFile",G)},x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(k),P=function(){n.set("DButtonLink",x)},F=function(t){function e(){return t.call(this,g.HIGHLIGHT_COLOR,.1,.2)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isPressed||t.isActive?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.inDisabled?g.BORDER_COLOR:null},e.prototype.getOutlineColor=function(t){return this.getOutlineColorActive(t)},e.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetActive(t)},e.prototype.getColor=function(e){return e.inDisabled?t.prototype.getColor.call(this,e):g.ACTIVE_COLOR},e}(E),V=function(){n.set("DButtonPrimary",F)};e.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>'),e.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 U=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getBackgroundColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},n.prototype.getColor=function(t){return g.COLOR},n.prototype.getBackgroundAlpha=function(t){return t.inEnabled&&t.isHovered?g.WEAK_HIGHLIGHT_ALPHA:0},n.prototype.getOutlineColor=function(t){return this.getOutlineColorNonActive(t)},n.prototype.getOutlineOffset=function(t){return this.getOutlineOffsetNonActive(t)},n.prototype.getImageTintColor=function(t){return t.inDisabled||!t.isActive?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.isToggle=function(){return!0},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.button_radio_mark_on:e.mappings.button_radio_mark_off},n}(k),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e}(U),z=function(){n.set("DButtonRadioRight",K)},J=function(){n.set("DButtonRadio",U)},j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(E),Z=function(){n.set("DButtonSecondary",j)},X=function(){n.set("DButton",w)},Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return 16777215},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getInteractive=function(){return i.BOTH},e}(h),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 32},e.prototype.getPaddingTop=function(){return 32},e.prototype.getPaddingRight=function(){return 32},e.prototype.getPaddingBottom=function(){return 32},e.prototype.isOverflowMaskEnabled=function(){return!1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getCornerMask=function(){return p.ALL},e}(h),Q=function(){n.set("DCanvasContainer",q),n.set("DCanvas",Y)},$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return 80},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingBottom=function(){return 70},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.isOverflowMaskEnabled=function(){return!0},e}(h);const tt=wcardinal.ui.DChartAxisPosition,et=wcardinal.ui.DChartAxisTickPosition,nt=wcardinal.ui.EShapeTextAlignHorizontal,ot=wcardinal.ui.EShapeTextAlignVertical,rt=wcardinal.ui.EShapeTextDirection;var it=function(){function t(){}return t.prototype.getPosition=function(){return tt.BOTTOM},t.prototype.getPadding=function(){return 90},t.prototype.getLabelAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getLabelAlignVertical=function(t){switch(t){case tt.TOP:return ot.OUTSIDE_TOP;case tt.BOTTOM:return ot.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return ot.MIDDLE}},t.prototype.getLabelPaddingHorizontal=function(){return 60},t.prototype.getLabelPaddingVertical=function(){return 50},t.prototype.getLabelDirection=function(){return rt.LEFT_TO_RIGHT},t.prototype.getLabelColor=function(){return this.getStrokeColor()},t.prototype.getStyle=function(){},t.prototype.getStrokeEnable=function(){return!0},t.prototype.getStrokeColor=function(){},t.prototype.getStrokeAlpha=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getStrokeAlign=function(){},t.prototype.getStrokeSide=function(){},t.prototype.getStrokeStyle=function(){},t.prototype.getTickEnable=function(){return!0},t.prototype.getMajorTickCount=function(){return 3},t.prototype.getMajorTickCapacity=function(t){return 2*t},t.prototype.getMajorTickStep=function(){},t.prototype.getMajorTickSize=function(){return 10},t.prototype.getMajorTickPosition=function(){return et.OUTSIDE},t.prototype.getMajorTickStyle=function(){},t.prototype.getMajorTickTextAlignHorizontal=function(t){switch(t){case tt.TOP:case tt.BOTTOM:return nt.CENTER;case tt.LEFT:return nt.OUTSIDE_LEFT;case tt.RIGHT:return nt.OUTSIDE_RIGHT}},t.prototype.getMajorTickTextAlignVertical=function(t){switch(t){case tt.TOP:return ot.OUTSIDE_TOP;case tt.BOTTOM:return ot.OUTSIDE_BOTTOM;case tt.LEFT:case tt.RIGHT:return ot.MIDDLE}},t.prototype.getMajorTickTextDirection=function(){return rt.LEFT_TO_RIGHT},t.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickTextFormat=function(){return"%.2f"},t.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},t.prototype.getMajorTickTextPaddingVertical=function(){return 15},t.prototype.getMajorTickStrokeEnable=function(){return!0},t.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMajorTickGridlineEnable=function(){return!0},t.prototype.getMajorTickGridlineStyle=function(){},t.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},t.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},t.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},t.prototype.getMinorTickCount=function(){return 3},t.prototype.getMinorTickStep=function(){},t.prototype.getMinorTickSize=function(){return 5},t.prototype.getMinorTickPosition=function(){return et.OUTSIDE},t.prototype.getMinorTickStyle=function(){},t.prototype.getMinorTickTextAlignHorizontal=function(t){return this.getMajorTickTextAlignHorizontal(t)},t.prototype.getMinorTickTextAlignVertical=function(t){return this.getMajorTickTextAlignVertical(t)},t.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},t.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickTextFormat=function(){},t.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},t.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},t.prototype.getMinorTickStrokeEnable=function(){return!0},t.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},t.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},t.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},t.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},t.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},t.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},t}(),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(it),pt=function(t,e,n){var o=Math.abs(e-t)/n;if(o<=10)return o<=1.33?1:o<=2.86?2:o<=6.67?5:10;if(o<=100)return o<=13.33?10:o<=28.57?20:o<=66.67?50:100;if(o<=1e3)return o<=133.33?100:o<=285.71?200:o<=666.67?500:1e3;if(o<=1e4)return o<=1333.33?1e3:o<=2857.14?2e3:o<=6666.66?5e3:1e4;if(o<=12e4)return o<=13333.33?1e4:o<=24e3?2e4:o<=4e4?3e4:o<=72e3?6e4:o<=102857.14?9e4:12e4;if(o<=108e5)return o<=171428.57?12e4:o<=4e5?3e5:o<=8e5?6e5:o<=144e4?12e5:o<=24e5?18e5:o<=432e4?36e5:o<=6171428.57?54e5:o<=8e6?72e5:o<=9818181.82?9e6:108e5;var r=36e5,i=o/r;if(i<=24)return i<=1.33?r: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 u=i/24,p=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),a=u/p;return a<=1.33?864e5*p:a<=2.86?1728e5*p:a<=6.67?432e6*p:864e6*p},at=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},e.prototype.getMajorTickStep=function(){return pt},e}(ut),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPosition=function(){return tt.LEFT},e.prototype.getLabelDirection=function(){return rt.BOTTOM_TO_TOP},e}(it),ct=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),gt=function(){function t(){}return t.prototype.toStep=function(t,e,n){var o=Math.abs(e-t)/n,r=Math.floor(Math.log(o)/Math.LN10),i=Math.pow(10,r),u=o/i;return u<=1.33?i:u<=2.86?2*i:u<=6.67?5*i:10*i},t}(),ft=function(){function t(){}return t.prototype.isZero=function(t){return Math.abs(t)<Number.EPSILON},t}(),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(h),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingTop=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getPaddingBottom=function(){return 10},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getMargin=function(){return 20},e}(h);const Tt=wcardinal.ui.EShapeStrokeStyle,Ct=wcardinal.ui.EShapeBar,Dt=wcardinal.ui.EShapeBarPosition;var mt=function(){},Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Ct;return e.points.position=Dt.TOP,e.stroke.style=Tt.DASHED,e.stroke.alpha=.75,e},e}(mt),At=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isHovered},e.prototype.newShape=function(t){var e=new Ct;return e.points.position=Dt.LEFT,e.stroke.style=Tt.DASHED,e.stroke.alpha=.75,e},e}(mt);const It=wcardinal.ui.EShapeCircle;var _t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isEnabled=function(t){return t.isActive},e.prototype.newShape=function(t){var e=new It;return e.size.set(14,14),e.fill.enable=!1,e.stroke.alpha=.75,e},e}(mt),Bt=function(){n.set("DChart",$),n.set("DChartAxisX",ut),n.set("DChartAxisXDatetime",at),n.set("DChartAxisY",lt),n.set("DChartCoordinate",ct),n.set("DChartCoordinateTick",gt),n.set("DChartCoordinateTransform",ft),n.set("DChartLegend",st),n.set("DChartLegendItem",ht),n.set("DChartOverview",yt),n.set("DChartPlotArea",dt),n.set("DChartSelectionGridlineX",Ot),n.set("DChartSelectionGridlineY",At),n.set("DChartSelectionMarker",_t)},Et=function(){function t(){}return t.prototype.getCapacity=function(){return 10},t.prototype.newColors=function(){return[]},t}(),kt=function(){function t(){}return t.prototype.newColors=function(){for(var t=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],e=10;e<20;++e)t.push(c.brighten(t[e],.75));for(e=10;e<20;++e)t.push(c.brighten(t[e],.45));for(e=10;e<20;++e)t.push(c.brighten(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.15));for(e=10;e<20;++e)t.push(c.darken(t[e],.45));for(e=10;e<20;++e)t.push(c.darken(t[e],.75));return t},t}(),Lt=function(){n.set("DColorRecent",Et),n.set("DColorStandard",kt)};const St=wcardinal.ui.DAnimationFadeIn,Rt=wcardinal.ui.DDialogAlign,Ht=wcardinal.ui.DDialogCloseOn,Wt=wcardinal.ui.DDialogGestureMode,bt=wcardinal.ui.DDialogMode,Mt=wcardinal.ui.DDialogState;var Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMode=function(){return bt.MODAL},e.prototype.closeOn=function(t){switch(t){case bt.MODAL:case bt.MENU:return Ht.ESC|Ht.CLICK_OUTSIDE;case bt.MODELESS:return Ht.NONE}},e.prototype.isSticky=function(t){return!1},e.prototype.isAlwaysOnTop=function(){return!1},e.prototype.isGestureEnabled=function(t){switch(t){case bt.MODAL:case bt.MODELESS:return!0;case bt.MENU:return!1}},e.prototype.getGestureMode=function(t){return Wt.DIRTY},e.prototype.getOffsetX=function(t){return 5},e.prototype.getOffsetY=function(t){return 5},e.prototype.getAlign=function(t){return Rt.BOTTOM},e.prototype.newAnimation=function(t){switch(t){case bt.MODAL:return new St;case bt.MODELESS:case bt.MENU:return null}},e.prototype.getBackgroundColor=function(t){return t.is(Mt.MENU)?g.BACKGROUND_COLOR_ON_BOARD:g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.is(Mt.MENU)?null:16448250},e.prototype.getOutlineColor=function(t){return null},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getX=function(){return 0},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 400},e.prototype.getHeight=function(){return"auto"},e.prototype.getShadow=function(){return this.newShadow()},e.prototype.getInteractive=function(){return i.BOTH},e}(h),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLayout=function(){},e.prototype.getHeader=function(){return null},e.prototype.getContent=function(){},e.prototype.getFooter=function(){},e}(Nt),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e}(wt);const vt=wcardinal.ui.DLayoutDirection;var xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 5},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getDirection=function(){return vt.VERTICAL},e.prototype.getCornerAdjust=function(){return!1},e.prototype.getMultiplicity=function(){return 1},e.prototype.getReverse=function(){return!1},e}(h),Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDirection=function(){return vt.VERTICAL},e.prototype.getWidth=function(){return"auto"},e}(xt),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(Pt),Vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e}(Ft),Ut=function(){n.set("DDialogFittedContent",Vt),n.set("DDialogFitted",Gt)},Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabel=function(){return""},e.prototype.getInputMargin=function(){return 32},e}(wt),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Jt=function(){n.set("DDialogInputBoolean",zt)},jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Zt=function(){n.set("DDialogInputInteger",jt)},Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Yt=function(){n.set("DDialogInputReal",Xt)},qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Kt),Qt=function(){n.set("DDialogInputText",qt)},$t=function(){n.set("DDialog",Nt)};e.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var te=function(t){function n(){return t.call(this,g.BACKGROUND_COLOR_ON_BOARD)||this}return r(n,t),n.prototype.getSecondaryImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},n.prototype.getSecondaryImageMarginHorizontal=function(){return-20},n.prototype.getPaddingLeft=function(){return 25},n.prototype.getPaddingRight=function(){return 25},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dropdown_mark},n}(E),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return""},e}(te),ne=function(){n.set("DDropdown",ee)},oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?15792383:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(B);e.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>'),e.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 ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isHovered||t.inActive?16316664:null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getCornerMask=function(){return p.ALL},e}(re),ue=function(){n.set("DExpandableHeader",ie),n.set("DExpandable",oe)};const pe=wcardinal.ui.DHtmlElementState,ae=wcardinal.ui.UtilHtmlElementWhen;var le=function(){return null},ce=function(t){var e=document.createElement("div");return t.appendChild(e),e},ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getElementCreator=function(){return le},e.prototype.setElementStyle=function(t,e,n,o,r,i,u){var p=this.getElementStylePointerEvent(e)+this.getElementStylePosition(e,o,r,i)+this.getElementStyleMargin(e)+this.getElementStyleText(e)+this.getElementStyleBackground(e)+this.getElementStyleBorder(e)+this.getElementStylePadding(e,n)+this.getElementStyleOutline(e)+this.getElementStyleClipPath(e,u);t.setAttribute("style",p),e.inReadOnly?t.setAttribute("readonly","readonly"):t.removeAttribute("readonly"),e.inDisabled?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")},e.prototype.getElementStylePointerEvent=function(t){return t.is(pe.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},e.prototype.getElementStyleBackground=function(t){return"background-color: transparent;"},e.prototype.getElementStyleBorder=function(t){return"border: none; box-sizing: border-box;"},e.prototype.getElementStylePadding=function(t,e){return e?"getLeft"in e?"padding: ".concat(e.getTop(),"px ").concat(e.getRight(),"px ")+"".concat(e.getBottom(),"px ").concat(e.getLeft(),"px;"):"padding: ".concat(e.vertical,"px ").concat(e.horizontal,"px;"):"padding: 0px;"},e.prototype.getElementStyleOutline=function(t){return"outline: none;"},e.prototype.getElementStylePositionPosition=function(t,e){if(t){if(e){var n=t.x-e.x,o=t.y-e.y;return"left:".concat(n,"px; top:").concat(o,"px;")}return"left:".concat(t.x,"px; top: ").concat(t.y,"px;")}return"left: 0px; top: 0px;"},e.prototype.getElementStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getElementStylePositionTransform=function(t){return t?"transform: matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.tx,",").concat(t.ty,");"):""},e.prototype.getElementStylePosition=function(t,e,n,o){return"position: absolute;"+this.getElementStylePositionPosition(e,o)+this.getElementStylePositionSize(e)+this.getElementStylePositionTransform(n)},e.prototype.getElementStyleText=function(t){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(t).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},e.prototype.getElementStyleMargin=function(t){return"margin: 0;"},e.prototype.getElementStyleClipPath=function(t,e){if(null!=e){var n=e.id;return"-webkit-clip-path: url(#".concat(n,"); clip-path: url(#").concat(n,");")}return""},e.prototype.getClipperCreator=function(){return ce},e.prototype.setClipperStyle=function(t,e,n,o,r,i,u){var p="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);t.setAttribute("style",p)},e.prototype.getClipperStyleOverflow=function(t){return t?"overflow: hidden;":"overflow: visible;"},e.prototype.getClipperStylePositionPosition=function(t){return t?"left: ".concat(t.x,"px; top: ").concat(t.y,"px;"):"left: 0px; top: 0px;"},e.prototype.getClipperStylePositionSize=function(t){return t?"width: ".concat(t.width,"px; height: ").concat(t.height,"px;")+"line-height: ".concat(t.height,"px;"):"width: 0px; height: 0px;"},e.prototype.getClipperStylePosition=function(t){return"position: absolute;"+this.getClipperStylePositionPosition(t)+this.getClipperStylePositionSize(t)},e.prototype.isClipperExEnabled=function(){return!1},e.prototype.getBeforeCreator=function(){return ce},e.prototype.setBeforeStyle=function(t){t.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;"),t.setAttribute("tabindex","0")},e.prototype.getAfterCreator=function(){return ce},e.prototype.setAfterStyle=function(t){this.setBeforeStyle(t)},e.prototype.getWhen=function(){return ae.FOCUSED},e.prototype.getSelect=function(){return!1},e}(B),fe=function(){n.set("DHtmlElement",ge)},se=function(){n.set("DImage",re)},he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDirection=function(){return vt.HORIZONTAL},e.prototype.getHeight=function(){return"auto"},e}(xt),ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e}(he),de=function(){n.set("DInputAndLabel",ye)},Te=function(){return null},Ce=function(t){return t},De=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_HOVERED=c.darken(e.BACKGROUND_COLOR,.017),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled||t.inReadOnly?null:t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return t.isInvalid?g.INVALID_COLOR:g.BORDER_COLOR},e.prototype.getOutlineColor=function(e){return e.isInvalid?g.INVALID_COLOR:t.prototype.getOutlineColor.call(this,e)},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getWidth=function(){return 100},e.prototype.getPlaceholder=function(){return""},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCursor=function(t){return t.isActionable?"text":""},e.prototype.getEditingFormatter=function(){return this.getTextFormatter()},e.prototype.getEditingUnformatter=function(){return Ce},e.prototype.getEditingValidator=function(){return Te},e.prototype.getSelect=function(){return!0},e.prototype.getElementStyleBorder=function(t){return"border: 1.5px solid transparent; box-sizing: border-box;"},e}(ge),me="d-theme-white-input-input",Oe="".concat(me,"-element"),Ae=function(t){var e=t.getElementsByClassName(Oe);if(0<e.length)return e[0];var n=document.createElement("input");return n.setAttribute("spellcheck","false"),n.setAttribute("class",Oe),t.appendChild(n),n},Ie=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var o=document.createElement("div");return o.setAttribute("class",e),t.appendChild(o),o},_e="".concat(me,"-clipper"),Be=function(t){return Ie(t,_e)},Ee="".concat(me,"-before"),ke=function(t){return Ie(t,Ee)},Le="".concat(me,"-after"),Se=function(t){return Ie(t,Le)},Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getElementCreator=function(){return Ae},e.prototype.getClipperCreator=function(){return Be},e.prototype.getBeforeCreator=function(){return ke},e.prototype.getAfterCreator=function(){return Se},e}(De),He=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getStep=function(){return null},e.prototype.getMin=function(){return null},e.prototype.getMax=function(){return null},e.prototype.newTextValue=function(){return 0},e}(Re),We=function(t){var e=parseInt(t,10);return e==e?e:0},be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getEditingUnformatter=function(){return We},e}(He),Me=function(){n.set("DInputInteger",be)},Ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),we=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getWidth=function(){return 60},e.prototype.getHeight=function(){return this.getLineHeight()},e}(Ne),Ge=function(){n.set("DInputLabel",we)},ve=function(t){var e=parseFloat(t);return e==e?e:0},xe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getEditingUnformatter=function(){return ve},e}(He),Pe=function(){n.set("DInputReal",xe)},Fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return""},e}(Re);e.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 Ve=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getPaddingRight=function(){return 31},n.prototype.getImageSource=function(t){return e.mappings.input_search},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 6},n}(Fe),Ue=function(){n.set("DInputSearch",Ve)},Ke="d-theme-white-input-text-area",ze="".concat(Ke,"-element"),Je=function(t){var e=t.getElementsByClassName(ze);if(0<e.length)return e[0];var n=document.createElement("textarea");return n.setAttribute("spellcheck","false"),n.setAttribute("class",ze),t.appendChild(n),n},je=function(t,e){var n=t.getElementsByClassName(e);if(0<n.length)return n[0];var o=document.createElement("div");return o.setAttribute("class",e),t.appendChild(o),o},Ze="".concat(Ke,"-clipper"),Xe=function(t){return je(t,Ze)},Ye="".concat(Ke,"-before"),qe=function(t){return je(t,Ye)},Qe="".concat(Ke,"-after"),$e=function(t){return je(t,Qe)},tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getTextStyleWordWrap=function(){return A.NORMAL},e.prototype.getElementCreator=function(){return Je},e.prototype.getClipperCreator=function(){return Xe},e.prototype.getBeforeCreator=function(){return qe},e.prototype.getAfterCreator=function(){return $e},e.prototype.newTextValue=function(){return""},e.prototype.getElementStyleText=function(e){return t.prototype.getElementStyleText.call(this,e)+this.getElementStyleTextResize(e)+this.getElementStyleTextWordWrap(e)},e.prototype.getElementStyleTextResize=function(t){return"resize: none;"},e.prototype.getElementStyleTextWordWrap=function(t){var e="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case A.NORMAL:e+="word-break: normal;";break;default:e+="word-break: break-all;"}return e},e}(De),en=function(){n.set("DInputTextArea",tn)},nn=function(){n.set("DInputText",Fe)},on=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),rn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 0},e.prototype.getHeight=function(){return 0},e.prototype.getClearType=function(){return a.BOTH},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),un=function(){n.set("DLayout",xt),n.set("DLayoutHorizontal",he),n.set("DLayoutSpace",rn),n.set("DLayoutVertical",Pt),n.set("DLayoutBoard",on)};const pn=wcardinal.ui.UtilGestureMode;var an=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isOverflowMaskEnabled=function(){return!0},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getOutlineAlign=function(t){return 1},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.getWheelSpeed=function(){return 2.24},e.prototype.getGestureMode=function(){return pn.TOUCH},e}(h),ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(an),cn=function(){function t(t,e,n){this._isStripeEnabled=e,null!=t?(this._backgroundColorEven=t,this._backgroundAlphaEven=1,this._backgroundColorOdd=c.darken(t,.0175),this._backgroundAlphaOdd=1,this._invalidColor=c.blend(t,g.INVALID_COLOR,g.INVALID_ALPHA),this._invalidAlpha=1,this._highlightColor=n?g.HIGHLIGHT_COLOR:c.blend(t,g.HIGHLIGHT_COLOR,g.HIGHLIGHT_ALPHA),this._highlightAlpha=1,this._weakHighlightColor=c.blend(t,g.WEAK_HIGHLIGHT_COLOR,g.WEAK_HIGHLIGHT_ALPHA),this._weakHighlightAlpha=1):(this._backgroundColorEven=0,this._backgroundAlphaEven=0,this._backgroundColorOdd=0,this._backgroundAlphaOdd=.0175,this._invalidColor=g.INVALID_COLOR,this._invalidAlpha=g.INVALID_ALPHA,this._highlightColor=g.HIGHLIGHT_COLOR,this._highlightAlpha=n?1:g.HIGHLIGHT_ALPHA,this._weakHighlightColor=g.WEAK_HIGHLIGHT_COLOR,this._weakHighlightAlpha=g.WEAK_HIGHLIGHT_ALPHA),this._imageTintColorWeak=g.COLOR,this._imageTintColorHighlight=n?g.ACTIVE_COLOR:g.COLOR,n?(this._color=g.COLOR,this._colorActive=g.ACTIVE_COLOR):(this._color=g.COLOR,this._colorActive=g.COLOR)}return t.prototype.getBackgroundColor=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null:t.isInvalid?this._invalidColor:t.isActive?this._highlightColor:t.isHovered?this._weakHighlightColor:this._isStripeEnabled?t.isAlternated?this._backgroundColorOdd:this._backgroundColorEven:null},t.prototype.getBackgroundAlpha=function(t){return t.inDisabled?this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0:t.isInvalid?this._invalidAlpha:t.isActive?this._highlightAlpha:t.isHovered?this._weakHighlightAlpha:this._isStripeEnabled?t.isAlternated?this._backgroundAlphaOdd:this._backgroundAlphaEven:0},t.prototype.getBorderColor=function(t){return null},t.prototype.getBorderMask=function(t){return u.NONE},t.prototype.getColor=function(t){return t.isActive?this._colorActive:this._color},t.prototype.getAlpha=function(t){return t.inEnabled?1:0},t.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?this._imageTintColorWeak:this._imageTintColorHighlight},t.prototype.getHeight=function(){return 30},t.prototype.getCornerMask=function(){return p.ALL},t.prototype.getCursor=function(t){return t.isActionable?"pointer":""},t}(),gn=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(B),fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e}(gn),sn=function(){n.set("DListItemAmbient",fn),n.set("DListItem",gn),n.set("DList",ln)},hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return 16645629},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getMargin=function(){return 0},e.prototype.getPaddingLeft=function(){return 5},e.prototype.getPaddingRight=function(){return 5},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(he),yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?g.HIGHLIGHT_COLOR:t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBorderColor=function(){return null},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"100%"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.getTextStyleClipping=function(){return!1},e}(w),dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getOffsetX=function(){return 5},e.prototype.getOffsetY=function(){return 5},e.prototype.getPaddingTop=function(){return 5},e.prototype.getPaddingBottom=function(){return 5},e.prototype.getWidth=function(){return 200},e.prototype.getHeight=function(){return"auto"},e.prototype.getMargin=function(){return 0},e.prototype.getShadow=function(){return this.newShadowWeak()},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusRoot=!0},e}(Pt),Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:t.isActive?this.getBackgroundColorActive(t):t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlpha=function(t){return t.inDisabled?g.WEAK_HIGHLIGHT_ALPHA:t.isActive?this.getBackgroundAlphaActive(t):g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getBackgroundAlphaActive=function(t){return g.HIGHLIGHT_ALPHA},e.prototype.getColor=function(t){return t.inDisabled?g.COLOR:t.isActive?this.getColorActive(t):g.COLOR},e.prototype.getColorActive=function(t){return g.COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 30},e.prototype.getWidth=function(){return"padding"},e.prototype.getTextAlignHorizontal=function(){return C.LEFT},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(re),Cn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColorActive=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getBackgroundAlphaActive=function(t){return 1},e.prototype.getColorActive=function(t){return g.ACTIVE_COLOR},e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e}(Tn),Dn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},e.prototype.getShortcutColor=function(t){return this.getColor(t)},e.prototype.getShortcutAlpha=function(t){return.5*this.getAlpha(t)},e}(Cn);e.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>'),e.add("menu_item_mark_check_inactive",14,14,"<g></g>");var mn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getBackgroundColorActive=function(t){return t.isHovered?g.WEAK_HIGHLIGHT_COLOR:null},n.prototype.getBackgroundAlphaActive=function(t){return g.WEAK_HIGHLIGHT_ALPHA},n.prototype.getColorActive=function(t){return g.COLOR},n.prototype.getImageSource=function(t){return t.isActive?e.mappings.menu_item_mark_check_active:e.mappings.menu_item_mark_check_inactive},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageMarginHorizontal=function(){return 7},n}(Dn),On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.isActive?15792383:null},e.prototype.getBackgroundAlpha=function(t){return t.isActive?.1:0},e.prototype.getMargin=function(){return 0},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),An=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getCornerMask=function(){return p.ALL},e}(Pt),In=function(){function t(){}return t.init=function(){e.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>'),e.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>')},t.getImageOpened=function(){return e.mappings.expandable_opened},t.getImageClosed=function(){return e.mappings.expandable_closed},t}();In.init();var _n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return this.getPaddingRight()},e.prototype.getPaddingRight=function(){return 26},e.prototype.getImageSource=function(t){return t.inActive?In.getImageOpened():In.getImageClosed()},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(Tn),Bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e.prototype.getImageMarginHorizontal=function(){return t.prototype.getImageMarginHorizontal.call(this)+16},e}(mn);const En=wcardinal.ui.DBaseState,kn=wcardinal.ui.DThemes;var Ln=function(t){function e(){var e=t.call(this)||this;return e._link=kn.getInstance().get("DLink"),e}return r(e,t),e.prototype.getImageSource=function(t){return t.is(En.NEW_WINDOW)?this._link.getImageSource(t):null},e.prototype.getImageTintAlpha=function(e){return e.isHovered?t.prototype.getImageTintAlpha.call(this,e):0},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e}(Dn),Sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Ln);e.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 Rn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getImageSource=function(t){return e.mappings.menu_item_mark_next},n.prototype.getImageAlignWith=function(){return O.BORDER},n.prototype.getImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getImageMarginHorizontal=function(){return 12},n}(Cn),Hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Rn),Wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBorderColor=function(t){return g.WEAK_HIGHLIGHT_COLOR},e.prototype.getBorderAlpha=function(t){return g.WEAK_HIGHLIGHT_ALPHA},e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Tn),bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Wn),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(rn),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Mn),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingLeft=function(){return t.prototype.getPaddingLeft.call(this)+16},e}(Dn),Gn=function(){n.set("DMenu",dn),n.set("DMenuItem",Cn),n.set("DMenuItemCheck",mn),n.set("DMenuItemLink",Ln),n.set("DMenuItemMenu",Rn),n.set("DMenuItemSeparator",Wn),n.set("DMenuItemSpace",Mn),n.set("DMenuItemText",Dn),n.set("DMenuItemExpandableBody",An),n.set("DMenuItemExpandableHeader",_n),n.set("DMenuItemExpandableItemCheck",Bn),n.set("DMenuItemExpandableItemLink",Sn),n.set("DMenuItemExpandableItemMenu",Hn),n.set("DMenuItemExpandableItemSeparator",bn),n.set("DMenuItemExpandableItemSpace",Nn),n.set("DMenuItemExpandableItemText",wn),n.set("DMenuItemExpandable",On)},vn=function(){n.set("DMenuBarItem",yn),n.set("DMenuBar",hn),Gn()},xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e}(an),Pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getMargin=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(Pt),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(mn),Vn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(On),Un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Bn),Kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Sn),zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Hn),Jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(bn),jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Nn),Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(wn),Xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ln),Yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Rn),qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Wn),Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Mn),$n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Dn),to=function(){n.set("DMenuSided",xn),n.set("DMenuSidedContent",Pn),n.set("DMenuSidedItemCheck",Fn),n.set("DMenuSidedItemLink",Xn),n.set("DMenuSidedItemMenu",Yn),n.set("DMenuSidedItemSeparator",qn),n.set("DMenuSidedItemSpace",Qn),n.set("DMenuSidedItemText",$n),n.set("DMenuSidedItemExpandable",Vn),n.set("DMenuSidedItemExpandableItemCheck",Un),n.set("DMenuSidedItemExpandableItemLink",Kn),n.set("DMenuSidedItemExpandableItemMenu",zn),n.set("DMenuSidedItemExpandableItemSeparator",Jn),n.set("DMenuSidedItemExpandableItemSpace",jn),n.set("DMenuSidedItemExpandableItemText",Zn)},eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getMargin=function(){return 10},e.prototype.getButtonSpace=function(){return 10},e}(he);e.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 no=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getInteractive=function(){return i.NONE},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n.prototype.getImageSource=function(t){return e.mappings.pagination_dots},n.prototype.getImageAlignHorizontal=function(){return C.CENTER},n.prototype.getImageAlignWith=function(){return O.BORDER},n}(B);e.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 oo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_last},n}(k);e.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 ro=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_next},n}(k),io=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.newTextValue=function(){return 0},e.prototype.getTextStyleClipping=function(){return!1},e}(k);e.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 uo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_previous},n}(k);e.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 po=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return 30},n.prototype.getImageSource=function(t){return e.mappings.pagination_button_top},n}(k),ao=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return g.HIGHLIGHT_COLOR},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e}(B),lo=function(){n.set("DPagination",eo),n.set("DPaginationPage",ao),n.set("DPaginationDots",no),n.set("DPaginationButtonLast",oo),n.set("DPaginationButtonNext",ro),n.set("DPaginationButtonPage",io),n.set("DPaginationButtonPrevious",uo),n.set("DPaginationButtonTop",po)},co=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),go=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return 16777215},e.prototype.getBackgroundAlpha=function(t){return 0},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getFadeOutDelay=function(){return 1500},e}(h),fo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BORDER_COLOR=c.darken(g.WEAK_HIGHLIGHT_COLOR,.25),e.BORDER_COLOR_DISABLED=c.brighten(e.BORDER_COLOR,.75),e.BORDER_COLOR_HOVERED=c.brighten(e.BORDER_COLOR,.25),e.BORDER_COLOR_OTHER=c.brighten(e.BORDER_COLOR,.5),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return t.inDisabled?this.BORDER_COLOR_DISABLED:t.isHovered||t.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},e.prototype.getBorderAlpha=function(t){return 1},e.prototype.getBorderWidth=function(t){return 3},e.prototype.getBorderAlign=function(t){return 1},e.prototype.getWidth=function(){return 13},e.prototype.getHeight=function(){return 13},e.prototype.getThumbMinimumLength=function(){return 16},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),so=function(){n.set("DScrollBar",go),n.set("DScrollBarThumb",fo)},ho=function(){n.set("DPane",an),n.set("DContent",co),so()};const yo=wcardinal.ui.isString;var To=function(t){if(t){var e=t.text.value;if(yo(e))return e;if(null!=e){var n=e(t.state);if(null!=n)return n}}return""},Co=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return To},e.prototype.newTextValue=function(){return null},e}(te),Do=function(t){if(t){for(var e="",n="",o=0,r=t.length;o<r;++o){var i=t[o],u=i.text.value;if(yo(u))e+=n+u,n=", ";else if(null!=u){var p=u(i.state);null!=p&&(e+=n+p,n=", ")}}return e}return""},mo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return Do},e.prototype.newTextValue=function(){return[]},e}(te),Oo=function(){n.set("DSelectMultiple",mo),n.set("DSelect",Co),ne()};const Ao=wcardinal.ui.EShapeActionMiscExtensions,Io=wcardinal.ui.EShapeActionOpenDialogExtensions,_o=wcardinal.ui.EShapeActionOpenExtensions,Bo=wcardinal.ui.EShapeActionValueBlinkType,Eo=wcardinal.ui.EShapeActionValueChangeColorTarget,ko=wcardinal.ui.EShapeActionValueChangeColorType,Lo=wcardinal.ui.EShapeActionValueChangeTextType,So=wcardinal.ui.EShapeActionValueGestureOperationType,Ro=wcardinal.ui.EShapeActionValueGestureType,Ho=wcardinal.ui.EShapeActionValueMiscType,Wo=wcardinal.ui.EShapeActionValueOnInputAction,bo=wcardinal.ui.EShapeActionValueOpenDialogType,Mo=wcardinal.ui.EShapeActionValueOpenType,No=wcardinal.ui.EShapeActionValueOpetyped,wo=wcardinal.ui.EShapeActionValueShowHideType,Go=wcardinal.ui.EShapeActionValueSubtyped,vo=wcardinal.ui.EShapeActionValueTransformMoveType,xo=wcardinal.ui.EShapeActionValueTransformResizeType,Po=wcardinal.ui.EShapeActionValueTransformRotateType,Fo=wcardinal.ui.EShapeActionValueTransformType,Vo=wcardinal.ui.EShapeActionValueType;var Uo=function(){function t(){}return t.prototype.toLabel=function(t){var e=t.type;if(t instanceof Go){var n,o=t.subtype;if(t instanceof No){if(null!=(n=this.toOpetypedLabel(e,o,t.opetype,t)))return n}else if(null!=(n=this.toSubtypedLabel(e,o,t)))return n}return this.toTypedLabel(e,t)},t.prototype.toTypedLabel=function(t,e){return"".concat(this.toTypeLabel(t),": ").concat(this.toConditionLabel(e.condition))},t.prototype.toSubtypedLabel=function(t,e,n){var o=this.toTypeLabel(t);switch(t){case Vo.SHOW_HIDE:return"".concat(o,": ").concat(this.toShowHideTypeLabel(e));case Vo.BLINK:return"".concat(o,": ").concat(this.toBlinkTypeLabel(e));case Vo.CHANGE_COLOR:case Vo.CHANGE_COLOR_LEGACY:return"".concat(o,": ").concat(this.toChangeColorTypeLabel(e));case Vo.CHANGE_TEXT:return"".concat(o,": ").concat(this.toChangeTextTypeLabel(e));case Vo.OPEN:return"".concat(o,": ").concat(this.toOpenTypeLabel(e));case Vo.GESTURE:return"".concat(o,": ").concat(this.toGestureTypeLabel(e));case Vo.MISC:return"".concat(o,": ").concat(this.toMiscTypeLabel(e))}return null},t.prototype.toOpetypedLabel=function(t,e,n,o){switch(t){case Vo.TRANSFORM:var r=this.toTransformTypeLabel(e);switch(e){case Fo.ROTATE:return"".concat(r,": ").concat(this.toTransformRotateTypeLabel(n));case Fo.MOVE:return"".concat(r,": ").concat(this.toTransformMoveTypeLabel(n));case Fo.RESIZE:return"".concat(r,": ").concat(this.toTransformResizeTypeLabel(n))}}return null},t.prototype.toTypeLabel=function(t){switch(t){case Vo.SHOW_HIDE:return"Show / hide";case Vo.BLINK:return"Blink";case Vo.TRANSFORM:return"Transform";case Vo.OPEN:return"Open";case Vo.CHANGE_COLOR:case Vo.CHANGE_COLOR_LEGACY:return"Change color";case Vo.CHANGE_FILL_PERCENT:return"Change fill percent";case Vo.CHANGE_TEXT:return"Change text";case Vo.CHANGE_CURSOR:return"Change cursor";case Vo.EMIT_EVENT:return"Emit an event";case Vo.GESTURE:return"Gesture";case Vo.MISC:return"Misc.";default:return Vo.EXTENSION<=t?"Extension":"Unknown"}},t.prototype.toConditionLabel=function(t){return 20<t.length?t.substring(0,20)+"...":t},t.prototype.toBlinkTypeLabel=function(t){switch(t){case Bo.VISIBILITY:return"Visibility";case Bo.BRIGHTEN:return"Brighten";case Bo.DARKEN:return"Darken";case Bo.OPACITY:return"Opacity";case Bo.COLOR_FILL:return"Fill";case Bo.COLOR_STROKE:return"Stroke"}},t.prototype.toShowHideTypeLabel=function(t){switch(t){case wo.SHAPE_SHOW:return"Show";case wo.SHAPE_HIDE:return"Hide";case wo.SHAPE:return"Shape";case wo.LAYER:return"Layer"}},t.prototype.toTransformTypeLabel=function(t){switch(t){case Fo.RESIZE:return"Resize";case Fo.MOVE:return"Move";case Fo.ROTATE:return"Rotate"}},t.prototype.toTransformRotateTypeLabel=function(t){switch(t){case Po.RELATIVE:return"Relative";case Po.ABSOLUTE:return"Absolute"}},t.prototype.toTransformMoveTypeLabel=function(t){switch(t){case vo.RELATIVE_X:return"Relative X";case vo.RELATIVE_Y:return"Relative Y";case vo.ABSOLUTE_X:return"Absolute X";case vo.ABSOLUTE_Y:return"Absolute Y";case vo.FORWARD_OR_BACKWARD:return"Forward / backward";case vo.LEFT_OR_RIGHT:return"Left / right"}},t.prototype.toTransformResizeTypeLabel=function(t){switch(t){case xo.ABSOLUTE_SIZE:return"Height & width";case xo.RELATIVE_SIZE:return"Height & width (%)";case xo.ABSOLUTE_HEIGHT:return"Height";case xo.RELATIVE_HEIGHT:return"Height (%)";case xo.ABSOLUTE_WIDTH:return"Width";case xo.RELATIVE_WIDTH:return"Width (%)"}},t.prototype.toChangeColorTypeLabel=function(t){if(t===ko.NONE)return"None";var e="",n="";return t&ko.FILL&&(e+=n+"Fill",n=", "),t&ko.STROKE&&(e+=n+"Stroke",n=", "),t&ko.TEXT&&(e+=n+"Text",n=", "),t&ko.TEXT_OUTLINE&&(e+=n+"Text outline"),e},t.prototype.toChangeColorTargetLabel=function(t){switch(t){case Eo.COLOR_AND_ALPHA:return"Color";case Eo.COLOR:return"RGB";case Eo.ALPHA:return"Alpha";case Eo.CODE:return"Dynamic color";case Eo.BRIGHTNESS:return"Brightness"}},t.prototype.toChangeTextTypeLabel=function(t){switch(t){case Lo.TEXT:return"Text";case Lo.NUMBER:return"Number"}},t.prototype.toOpenTypeLabel=function(t){switch(t){case Mo.DIAGRAM_LEGACY:return"Diagram";case Mo.PAGE_LEGACY:return"Page (New window)";case Mo.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mo.DIALOG_TEXT:return"Dialog (Text)";case Mo.DIALOG_INTEGER:return"Dialog (Integer)";case Mo.DIALOG_REAL:return"Dialog (Real)";case Mo.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mo.DIALOG_DATE:return"Dialog (Date)";case Mo.DIALOG_TIME:return"Dialog (Time)";case Mo.DIALOG_DATETIME:return"Dialog (Datetime)";case Mo.DIAGRAM:return"Diagram";case Mo.PAGE:return"Page";case Mo.DIALOG:return"Dialog";default:if(Mo.EXTENSION<=t){var e=_o.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toOpenDialogTypeLabel=function(t){switch(t){case bo.TEXT:return"Text";case bo.INTEGER:return"Integer";case bo.REAL:return"Real";case bo.BOOLEAN:return"Boolean";case bo.DATE:return"Date";case bo.TIME:return"Time";case bo.DATETIME:return"Datetime";default:if(bo.EXTENSION<=t){var e=Io.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toGestureTypeLabel=function(t){switch(t){case Ro.SHAPE:return"Shape";case Ro.LAYER:return"Layer"}},t.prototype.toGestureOperationTypeLabel=function(t){switch(t){case So.DRAG:return"Drag";case So.PINCH:return"Pinch"}return"Unknown"},t.prototype.toMiscTypeLabel=function(t){switch(t){case Ho.INPUT_TEXT:return"Input (Text)";case Ho.INPUT_INTEGER:return"Input (Integer)";case Ho.INPUT_REAL:return"Input (Real)";case Ho.EMIT_EVENT:return this.toOnInputActionLabel(Wo.EMIT_EVENT);case Ho.WRITE_BOTH:return this.toOnInputActionLabel(Wo.WRITE_BOTH);case Ho.WRITE_LOCAL:return this.toOnInputActionLabel(Wo.WRITE_LOCAL);case Ho.WRITE_REMOTE:return this.toOnInputActionLabel(Wo.WRITE_REMOTE);case Ho.HTML_ELEMENT:return"HTML element";case Ho.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Ho.SHOW_HIDE_LAYER:return"Show / hide layers";case Ho.GESTURE_LAYER:return"Layer gesture";case Ho.GESTURE:return"Gesture";case Ho.EXECUTE:return"Execute";default:if(Ho.EXTENSION<=t){var e=Ao.get(t);return e?e.label:"Extension"}return"Unknown"}},t.prototype.toHtmlElementWhenLabel=function(t){switch(t){case ae.CLICKED:return"Clicked";case ae.DOUBLE_CLICKED:return"Double clicked";case ae.FOCUSED:return"Focused";case ae.ALWAYS:return"Always"}},t.prototype.toOnInputActionLabel=function(t){switch(t){case Wo.EMIT_EVENT:return"Emit event";case Wo.WRITE_BOTH:return"Write (Both)";case Wo.WRITE_LOCAL:return"Write (Local)";case Wo.WRITE_REMOTE:return"Write (Remote)"}},t}(),Ko=function(){function t(){}return t.prototype.getDragDataFormat=function(){return"application/x-shape-action-open"},t.prototype.getDragEffectAllowed=function(){return"link"},t.prototype.getDragImage=function(){return void 0===this._dragImage&&(this._dragImage=function(t){var e=document.createElement("canvas");e.width=24,e.height=24;var n=e.getContext("2d");return null!=n&&(n.fillStyle=t,n.save(),n.scale(.025,.025),n.translate(0,960),n.fill(new Path2D("M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z")),n.restore()),e.style.position="absolute",e.style.top="-24px",e.style.left="-24px",e.style.zIndex="-1",e.style.pointerEvents="none",e.style.userSelect="none",e}("#"+c.toCode(g.COLOR))),this._dragImage},t.prototype.getDragImageOffsetX=function(){return 12},t.prototype.getDragImageOffsetY=function(){return 12},t}(),zo=function(){n.set("EShapeActionValue",Uo),n.set("EShapeActionValueOpen",Ko)};const Jo=wcardinal.ui.EShapeFillDirection,jo=wcardinal.ui.EShapeStrokeSide;var Zo=function(){function t(){}return t.prototype.getFillColor=function(){return 16777215},t.prototype.getFillAlpha=function(){return.5},t.prototype.getFillDirection=function(){return Jo.BOTTOM},t.prototype.getFillPercent=function(){return 1},t.prototype.getStrokeColor=function(){return 5197647},t.prototype.getStrokeAlpha=function(){return 1},t.prototype.getStrokeWidth=function(){return 2},t.prototype.getStrokeAlign=function(){return 0},t.prototype.getStrokeSide=function(){return jo.ALL},t.prototype.getStrokeStyle=function(){return Tt.NONE},t.prototype.getTextValue=function(){return""},t.prototype.getTextColor=function(){return this.getStrokeColor()},t.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},t.prototype.getTextFamily=function(){return"auto"},t.prototype.getTextSize=function(){return 14},t.prototype.getRadius=function(){return.25},t.prototype.getSizeX=function(){return 100},t.prototype.getSizeY=function(){return 100},t.prototype.getHighlightColor=function(){return 2000880},t.prototype.getCurveSegmentCount=function(){return 24},t}(),Xo=function(){n.set("EShape",Zo)},Yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.getOutlineColor=function(t){return null},e}(h),qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 33},e.prototype.getWidth=function(){return 300},e.prototype.getX=function(){return"CENTER"},e}(Yo),Qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 15},e.prototype.getWidth=function(){return 30},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),$o=function(){function t(){}return t.getBackgroundColor=function(t,e){return t.isActive||e?t.inDisabled?this.BACKGROUND_COLOR:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:t.inDisabled?this.BACKGROUND_COLOR_DISABLED:t.isPressed&&t.isHovered?this.BACKGROUND_COLOR_PRESSED:t.isPressed||t.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.BACKGROUND_COLOR_ACTIVE=g.HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_ACTIVE_HOVERED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.1),t.BACKGROUND_COLOR_ACTIVE_PRESSED=c.darken(t.BACKGROUND_COLOR_ACTIVE,.2),t.BACKGROUND_COLOR=g.WEAK_HIGHLIGHT_COLOR,t.BACKGROUND_COLOR_HOVERED=c.darken(t.BACKGROUND_COLOR,.1),t.BACKGROUND_COLOR_PRESSED=c.darken(t.BACKGROUND_COLOR,.2),t.BACKGROUND_COLOR_DISABLED=c.blend(t.BACKGROUND_COLOR,g.BACKGROUND_COLOR_ON_BOARD,.5),t}();e.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var tr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return"CENTER"},n.prototype.getY=function(){return"CENTER"},n.prototype.getWidth=function(){return 16},n.prototype.getHeight=function(){return 16},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getImageSource=function(t){return e.mappings.slider_thumb},n.prototype.getImageTintColor=function(t){return $o.getBackgroundColor(t,!0)},n.prototype.getImageTintAlpha=function(t){return 1},n.prototype.getImageAlignHorizontal=function(){return C.CENTER},n.prototype.getOutlineColor=function(t){return null},n}(w),er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return $o.getBackgroundColor(t)},e.prototype.getBorderColor=function(t){return null},e.prototype.getOutlineColor=function(e){return t.prototype.getOutlineColorNonActive.call(this,e)},e.prototype.getOutlineOffset=function(e){return t.prototype.getOutlineOffsetNonActive.call(this,e)},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(w),nr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return 0},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 5},e}(er),or=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return 0},e.prototype.getWidth=function(){return 5},e.prototype.getHeight=function(){return"100%"},e}(er),rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"CENTER"},e.prototype.getY=function(){return"CENTER"},e.prototype.getWidth=function(){return 2*this.getLineHeight()},e.prototype.getHeight=function(){return this.getLineHeight()},e.prototype.getBackgroundColor=function(t){return t.inDisabled?11184810:g.HIGHLIGHT_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getColor=function(t){return g.ACTIVE_COLOR},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextAlignVertical=function(){return m.TOP},e.prototype.getPrecision=function(){return 0},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(_),ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 322},e.prototype.getWidth=function(){return 35},e}(Yo),ur=function(){n.set("DSlider",Yo),n.set("DSliderValue",rr),n.set("DSliderLabel",Qo),n.set("DSliderThumb",tr),n.set("DSliderVertical",ir),n.set("DSliderHorizontal",qo),n.set("DSliderTrack",er),n.set("DSliderTrackVertical",or),n.set("DSliderTrackHorizontal",nr)},pr=function(){n.set("DText",Ne)};const ar=wcardinal.ui.DTableState;var lr=function(){function t(){}return t.init=function(){In.init()},t.getImageSource=function(t){return t.is(ar.HAS_CHILDREN)?t.is(ar.OPENED)?In.getImageOpened():In.getImageClosed():null},t}();lr.init();var cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getSecondaryImageSource=function(t){return lr.getImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this.getColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return.5*this.getAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-19},e}(cn),gr=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new cr(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return g.BACKGROUND_COLOR_ON_BOARD},e}(an),fr=function(t){function e(){var e=t.call(this)||this;return e._style=e.newStyle(),e}return r(e,t),e.prototype.newStyle=function(){return new cr(null,!0,!1)},e.prototype.getBackgroundColor=function(t){return this._style.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return this._style.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return this._style.getBorderColor(t)},e.prototype.getBorderMask=function(t){return this._style.getBorderMask(t)},e.prototype.getColor=function(t){return this._style.getColor(t)},e.prototype.getAlpha=function(t){return this._style.getAlpha(t)},e.prototype.getHeight=function(){return this._style.getHeight()},e.prototype.getCornerMask=function(){return this._style.getCornerMask()},e.prototype.getImageTintColor=function(t){return this._style.getImageTintColor(t)},e.prototype.getCursor=function(t){return this._style.getCursor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e.prototype.getWidth=function(){return"padding"},e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isDisabled=!0},e}(B),sr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(fr);lr.init();var hr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getSecondaryImageSource=function(t){return this._style.getSecondaryImageSource(t)},e.prototype.getSecondaryImageTintColor=function(t){return this._style.getSecondaryImageTintColor(t)},e.prototype.getSecondaryImageTintAlpha=function(t){return this._style.getSecondaryImageTintAlpha(t)},e.prototype.getSecondaryImageAlignWith=function(){return this._style.getSecondaryImageAlignWith()},e.prototype.getSecondaryImageMarginHorizontal=function(){return this._style.getSecondaryImageMarginHorizontal()},e}(sr),yr=function(){n.set("DTree",gr),n.set("DTreeItemText",fr),n.set("DTreeItemButton",sr),n.set("DTreeItemNonEditable",hr)};const dr=wcardinal.ui.UtilGestureModifier;var Tr=function(){function t(){}return t.prototype.isWheelZoomEnabled=function(){return!0},t.prototype.getWheelZoomSpeed=function(){return.004},t.prototype.getWheelZoomModifier=function(){return dr.NOT_NONE},t.prototype.isWheelTranslationEnabled=function(){return!0},t.prototype.getWheelTranslationSpeed=function(){return 2.24},t.prototype.getWheelTranslationModifier=function(){return dr.NONE},t.prototype.isDblClickZoomEnabled=function(){return!0},t.prototype.getDblClickZoomSpeed=function(){return 2},t.prototype.getDblClickZoomModifier=function(){return dr.NONE},t.prototype.getDblClickZoomDuration=function(){return 333},t.prototype.getZoomMin=function(){return.01},t.prototype.getZoomMax=function(){return 100},t.prototype.getZoomKeepRatio=function(){return!0},t.prototype.getGestureMode=function(){return pn.ON},t.prototype.getGestureModifier=function(){return dr.NONE},t.prototype.getGestureDuration=function(){return 1},t}(),Cr=function(){n.set("DView",Tr)},Dr=function(){kn.setDefaultThemeClass(n)},mr=function(t,e,n,o,r,i,u,p){var a=null!=u?u:0,l=.5*a,c=Math.max(0,3-l),g=n-a-c-c,f=o-a-c-c;return e+=l,'<path d="M'.concat(t+=l+c,",").concat(e," h").concat(g," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",").concat(c," v").concat(f," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",").concat(c," h-").concat(g," a").concat(c,",").concat(c," 0 0 1 -").concat(c,",-").concat(c," v-").concat(f," a").concat(c,",").concat(c," 0 0 1 ").concat(c,",-").concat(c,'z" fill="').concat(r,'"')+(i?' stroke="'.concat(i,'"'):"")+(null!=u?' stroke-width="'.concat(u,'"'):"")+(null!=p?' stroke-opacity="'.concat(p,'"'):"")+" />"};e.add("button_color_sample",21,21,mr(3,3,15,15,"#fff","#eee",1));var Or=function(t){return"#".concat(c.toCode(t.color)," A").concat(t.alpha.toFixed(2))},Ar=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getImageTintColor=function(t){return 16777215},n.prototype.getImageSource=function(t){return e.mappings.button_color_sample},n.prototype.getTextFormatter=function(){return Or},n.prototype.newTextValue=function(){return{color:16777215,alpha:1}},n}(w),Ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt);const _r=wcardinal.ui.DColorType;var Br=!1,Er=function(t,e,n,o,r){return function(t,e,n,o,r,i,u){var p="";return Br||(Br=!0,p='<defs><pattern id="rounded-checkerboard-pattern" patternUnits="userSpaceOnUse" width="18" height="18">'+'<rect x="0" y="0" width="9" height="9" fill="'.concat(n,'" />')+'<rect x="9" y="0" width="9" height="9" fill="'.concat(o,'" />')+'<rect x="0" y="9" width="9" height="9" fill="'.concat(o,'" />')+'<rect x="9" y="9" width="9" height="9" fill="'.concat(n,'" />')+"</pattern></defs>"),p+mr(0,0,t,e,"url(#rounded-checkerboard-pattern)",r,i,u)}(t,e,"#bfbfbf","#a5a5a5",n,o,r)};e.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>'+mr(0,0,234,162,"url(#fs7w3iusfdnb)")+mr(0,0,234,162,"url(#2rfcfe9874bw)")+"</g>"),e.add("picker_color_main_base",234,162,'<rect x="0" y="0" width="236" height="164" fill="#fff" />'),e.add("picker_color_alpha_checkerboard",234,18,Er(234,18)),e.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>'),e.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>'+mr(0,0,234,18,"url(#ni2rbisdf3)")+"</g>"),e.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),e.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" />'),e.add("picker_color_recent_checkerboard",18,18,Er(18,18)),e.add("picker_color_recent",18,18,mr(0,0,18,18,"#fff","#eee",1)),e.add("picker_color_sample_checkerboard",42,66,Er(42,66,"#fff",1,0)),e.add("picker_color_sample",42,66,mr(0,0,42,66,"#fff","#eee",1)),e.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" />'),e.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" />'),e.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" />'),e.add("picker_color_standard",18,18,mr(0,0,18,18,"#fff","#eee",1));var kr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getMainWidth=function(){return 234},n.prototype.getMainHeight=function(){return 162},n.prototype.getMainTexture=function(){return e.mappings.picker_color_main},n.prototype.getMainBaseTexture=function(){return e.mappings.picker_color_main_base},n.prototype.getMainPointerTexture=function(){return e.mappings.picker_color_pointer},n.prototype.getMainPointerColor=function(){return 16777215},n.prototype.getMainPointerAlpha=function(){return 1},n.prototype.getBaseHeight=function(){return 18},n.prototype.getBaseMargin=function(){return 6},n.prototype.getBaseTexture=function(){return e.mappings.picker_color_base},n.prototype.getBasePointerTexture=function(){return e.mappings.picker_color_base_pointer},n.prototype.getBasePointerColor=function(){return 16777215},n.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getAlphaHeight=function(){return this.getBaseHeight()},n.prototype.getAlphaMargin=function(){return this.getBaseMargin()},n.prototype.getAlphaTexture=function(){return e.mappings.picker_color_alpha},n.prototype.getAlphaCheckerboardTexture=function(){return e.mappings.picker_color_alpha_checkerboard},n.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},n.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},n.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},n.prototype.getRecentMargin=function(){return this.getBaseMargin()},n.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},n.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},n.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},n.prototype.getRecentColorCount=function(){return 10},n.prototype.getRecentCheckerboardTexture=function(){return e.mappings.picker_color_recent_checkerboard},n.prototype.getRecentTexture=function(){return e.mappings.picker_color_recent},n.prototype.getInputMargin=function(){return this.getBaseMargin()},n.prototype.getInputLabelWidth=function(){return 18},n.prototype.getSampleWidth=function(){return 42},n.prototype.getSampleHeight=function(){return 66},n.prototype.getSampleMargin=function(){return this.getBaseMargin()},n.prototype.getSampleCheckerboardOldTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleCheckerboardNewTexture=function(){return e.mappings.picker_color_sample_checkerboard},n.prototype.getSampleOldTexture=function(){return e.mappings.picker_color_sample},n.prototype.getSampleNewTexture=function(){return e.mappings.picker_color_sample},n.prototype.getStandardColorCount=function(){return 80},n.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},n.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},n.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},n.prototype.getStandardTexture=function(){return e.mappings.picker_color_standard},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),Lr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.toColorTypeLabel=function(t){switch(t){case _r.STANDARD:return"標準";case _r.CUSTOM:return"カスタム"}},e}(kr),Sr=function(){n.set("DPickerColor",Lr)},Rr=function(){n.set("DDialogColor",Ir),Sr()},Hr=function(){n.set("DButtonColor",Ar),Rr()};const Wr=wcardinal.ui.DColorGradientObservable;e.add("button_color_gradient_sample",21,21,mr(3,3,15,15,"#fff","#eee",1));var br=function(){return""},Mr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getViewBaseTexture=function(){return e.mappings.button_color_gradient_sample},n.prototype.getTextFormatter=function(){return br},n.prototype.newTextValue=function(){return new Wr},n.prototype.getCheckerColors=function(){return[.75,.65]},n}(w),Nr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),wr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getGradientPointsWidth=function(){return 30},n.prototype.getGradientPointsMargin=function(){return 24},n.prototype.getGradientAnchorTexture=function(){return e.mappings.picker_color_anchor},n.prototype.getGradientAnchorOutlinedTexture=function(){return e.mappings.picker_color_anchor_outlined},n.prototype.getGradientAnchorOutlineTexture=function(){return e.mappings.picker_color_anchor_outline},n.prototype.getGradientDirectionMargin=function(){return 5},n.prototype.getGradientDirectionTexture=function(){return e.mappings.picker_color_direction},n.prototype.getGradientRecentColumn=function(){return 4},n.prototype.getGradientRecentWidth=function(){return 30},n.prototype.getGradientRecentMargin=function(){return 5},n.prototype.getGradientRecentCount=function(){return 16},n.prototype.getGradientRecents=function(){return[]},n.prototype.getGradientCheckerColors=function(){return[.75,.65]},n.prototype.getBackgroundColor=function(t){return null},n.prototype.getBorderColor=function(t){return null},n.prototype.getInteractive=function(){return i.CHILDREN},n.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},n}(h),Gr=function(){n.set("DPickerColorGradient",wr),Sr()},vr=function(){n.set("DDialogColorGradient",Nr),Gr()},xr=function(){n.set("DButtonColorGradient",Mr),vr()};const Pr=wcardinal.ui.DPickerDates;var Fr=function(t){return Pr.format(t)},Vr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return Fr},e.prototype.newTextValue=function(){return new Date},e}(w),Ur=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt);const Kr=wcardinal.ui.DPickerDatetimeMask;var zr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getMargin=function(){return 8},e.prototype.getMask=function(){return Kr.HOURS|Kr.MINUTES},e.prototype.getWidth=function(){return"auto"},e.prototype.getHeight=function(){return"auto"},e.prototype.getLowerBound=function(){return null},e.prototype.isLowerBoundInclusive=function(){return!1},e.prototype.getUpperBound=function(){return null},e.prototype.isUpperBoundInclusive=function(){return!1},e}(h),Jr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHoursOptions=function(){return{width:100,title:"時"}},e.prototype.getMinutesOptions=function(){return{width:100,title:"分"}},e.prototype.getSecondsOptions=function(){return{width:100,title:"秒"}},e}(zr),jr=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],Zr=["日","月","火","水","木","金","土"],Xr=function(t){return"".concat(t.getFullYear(),"年").concat(jr[t.getMonth()])},Yr=function(){},qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDayLabels=function(){return Zr},e.prototype.getLabelFormatter=function(){return Xr},e.prototype.getDateDecorator=function(){return Yr},e.prototype.getBackButtonOptions=function(){return{title:"前月"}},e.prototype.getNextButtonOptions=function(){return{title:"翌月"}},e.prototype.getDayStart=function(){return 0},e.prototype.getMask=function(){return Kr.DATE|t.prototype.getMask.call(this)},e}(Jr),Qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMask=function(){return Kr.DATE},e}(qr);e.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 $r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return O.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return C.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_back},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(k),ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.isToggle=function(){return!0},e}(k);e.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 ei=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getWidth=function(){return"auto"},n.prototype.getImageAlignWith=function(){return O.PADDING},n.prototype.getImageMarginHorizontal=function(){return 0},n.prototype.getImageAlignHorizontal=function(){return C.LEFT},n.prototype.getImageSource=function(t){return e.mappings.picker_date_next},n.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},n}(k),ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getFontSize=function(){return Math.round(1.25*t.prototype.getFontSize.call(this))},e.prototype.newTextValue=function(){return new Date},e.prototype.getInteractive=function(){return i.NONE},e}(Ne),oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getTextStyleClipping=function(){return!1},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getAlpha=function(e){return.9*t.prototype.getAlpha.call(this,e)},e.prototype.getFontWeight=function(){return"bold"},e}(Ne),ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e.prototype.getInteractive=function(){return i.NONE},e}(h),ii=function(){n.set("DPickerTime",Jr)},ui=function(){n.set("DPickerDatetimeButtonBack",$r),n.set("DPickerDatetimeButtonDate",ti),n.set("DPickerDatetimeButtonNext",ei),n.set("DPickerDatetimeLabelDate",oi),n.set("DPickerDatetimeLabel",ni),n.set("DPickerDatetimeSpace",ri),n.set("DPickerDatetime",qr),ii()},pi=function(){n.set("DPickerDate",Qr),ui()},ai=function(){n.set("DDialogDate",Ur),pi()},li=function(){n.set("DButtonDate",Vr),ai()};const ci=wcardinal.ui.DPickerDatetimes;var gi=function(t,e){return ci.format(t,e.getDatetimeMask())},fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return gi},e.prototype.newTextValue=function(){return new Date},e}(w),si=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),hi=function(){n.set("DDialogDatetime",si),ui()},yi=function(){n.set("DButtonDatetime",fi),hi()};const di=wcardinal.ui.toLabel;var Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return di},e.prototype.newTextValue=function(){return null},e}(w),Ci=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getHeight=function(){return 250},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(ln),Di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newStyle=function(){return new cn(null,!1,!0)},e.prototype.getCornerMask=function(){return p.NONE},e}(gn),mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 480},e.prototype.getFooter=function(){return null},e.prototype.getInputMargin=function(){return 19},e.prototype.isDismissable=function(){return!1},e.prototype.isCategoryDismissable=function(){return!0},e}(wt),Oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDismissLabel=function(){return"なし"},e.prototype.getCategoryDismissLabel=function(){return"全て"},e}(mi),Ai=function(){n.set("DDialogSelect",Oi),n.set("DDialogSelectList",Ci),n.set("DDialogSelectListItem",Di)},Ii=function(){n.set("DButtonSelect",Ti),Ai()};const _i=wcardinal.ui.DPickerTimes;var Bi=function(t,e){return _i.format(t,e.getDatetimeMask())},Ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextFormatter=function(){return Bi},e.prototype.newTextValue=function(){return new Date},e}(w),ki=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Gt),Li=function(){n.set("DDialogTime",ki),ii()},Si=function(){n.set("DButtonTime",Ei),Li()},Ri=function(){L(),W(),b(),xr(),Hr(),Ii(),N(),li(),yi(),v(),P(),V(),z(),J(),Z(),Si(),X()},Hi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCanvasBackgroundColor=function(){return 16777215},e.prototype.getCanvasBackgroundAlpha=function(){return 1},e.prototype.isAmbient=function(){return!0},e.prototype.getCanvasShadow=function(){return"WEAK"},e}(q),Wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Hi),bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!0},e.prototype.getBackgroundBase=function(){return 15658734},e.prototype.getLocalBoundsLimit=function(){return 0},e}(Y),Mi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(bi),Ni=function(){},wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCurveSplineLabel=function(){return"スプライン曲線"},e.prototype.getCurveBezierQuadraticLabel=function(){return"2次ベジェ曲線"},e}(Ni),Gi=function(){n.set("EShapePointsFormatter",wi)},vi=function(){n.set("DDiagram",Wi),n.set("DDiagramCanvas",Mi),Gi(),Xo()},xi=function(t,e,n,o){var r=Math.max(e,n);if(0<t){t*=function(t){if(t<=0||1<=t)return 1;var e=1/t;return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,(e|=e>>32)-(e>>1)}(o);for(var i=r/1e3,u=0;u<10&&t<i;++u)t*=10;if(i<=t)return t}return r},Pi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.getLocalBoundsLimit=function(){return 1e3},e.prototype.getOutlineColor=function(t){return null},e.prototype.getSnapGridMajorInterval=function(){return 10},e.prototype.getSnapGridMajorColor=function(){return 10066329},e.prototype.getSnapGridMajorAlpha=function(){return.5},e.prototype.getSnapGridMajorWidth=function(){var t;return Math.max(1,2/(null!==(t=window.devicePixelRatio)&&void 0!==t?t:1))},e.prototype.getSnapGridMajorStyle=function(){return Tt.DASHED|Tt.NON_SCALING},e.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},e.prototype.getSnapGridMinorAlpha=function(){return.125},e.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},e.prototype.getSnapGridSize=function(){return xi},e.prototype.getSnapTargetColor=function(){return g.HIGHLIGHT_COLOR},e.prototype.getSnapTargetAlpha=function(){return 1},e.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},e.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},e}(bi),Fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isAmbient=function(){return!1},e.prototype.isThumbnailEnabled=function(){return!1},e.prototype.getThumbnailSize=function(){return null},e.prototype.isSnapEnabled=function(){return!0},e.prototype.isSnapGridVisible=function(){return!0},e.prototype.isSnapGridEnabled=function(){return!0},e.prototype.getSnapGridSize=function(){return 10},e.prototype.isSnapTargetVisible=function(){return!0},e.prototype.isSnapTargetEnabled=function(){return!0},e}(Hi),Vi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBaseLayerLabel=function(){return"ベースレイヤー"},e}(Fi),Ui=function(){n.set("DDiagramEditor",Vi),n.set("DDiagramCanvasEditor",Pi),zo(),Gi(),Xo()},Ki=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return 38},e.prototype.getPaddingLeft=function(){return 16},e.prototype.getPaddingRight=function(){return 16},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getCornerMask=function(){return p.BOTTOM},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(t){t.isFocusable=!1},e}(B);e.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(t,e){return t-34},Ji=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getX=function(){return zi},n.prototype.getY=function(){return"center"},n.prototype.getWidth=function(){return 30},n.prototype.getHeight=function(){return 30},n.prototype.getSecondaryImageAlignHorizontal=function(){return C.CENTER},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return O.PADDING},n.prototype.getSecondaryImageSource=function(t){return e.mappings.dialog_layered_header_button_close},n}(k),ji=function(t){return t-1},Zi=function(t){return t-16},Xi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return 8},e.prototype.getY=function(){return ji},e.prototype.getWidth=function(){return Zi},e.prototype.getHeight=function(){return 1},e.prototype.getBackgroundColor=function(t){return g.BORDER_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getInteractive=function(){return i.NONE},e.prototype.newState=function(t){t.isFocusable=!1},e}(B),Yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isButtonSpaceLeftEnabled=function(){return!0},e.prototype.isButtonSpaceRightEnabled=function(){return!0},e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingRight=function(){return 16},e.prototype.getPaddingBottom=function(){return 16},e.prototype.getPaddingLeft=function(){return 16},e}(he),qi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getButtonOk=function(){return"OK"},e.prototype.getButtonCancel=function(){return"キャンセル"},e}(Yi),Qi=function(){n.set("DDialogLayeredContent",Ft),n.set("DDialogLayeredFooter",qi),n.set("DDialogLayeredHeaderButtonClose",Ji),n.set("DDialogLayeredHeaderSeparator",Xi),n.set("DDialogLayeredHeader",Ki),n.set("DDialogLayered",wt)},$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return"auto"},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(re),tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return""},e}(wt),eu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"はい",cancel:"いいえ"}}},e}(tu),nu=function(){n.set("DDialogConfirm",eu),n.set("DDialogConfirmMessage",$i)},ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return"このデータを削除しますか?"},e}(eu),ru=function(){n.set("DDialogConfirmDelete",ou)},iu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMessage=function(){return"保存されていない変更があります。\nこれらの変更を破棄し続行しますか?"},e}(eu),uu=function(){n.set("DDialogConfirmDiscard",iu)},pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(tu),au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e}(pu),lu=function(){n.set("DDialogMessage",au)};e.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 cu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getHeight=function(){return 90},n.prototype.getImageSource=function(t){return t.isSucceeded?e.mappings.success_mark:null},n.prototype.getImageTintAlpha=function(t){return.75},n}($i),gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getDoneDelay=function(){return 400},e.prototype.getCloseDelay=function(){return 600},e}(tu),fu=function(t){return t.isSucceeded?"正常に処理されました":t.isFailed?"処理中に問題が発生しました":"処理中です..."},su=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},e.prototype.getMessage=function(){return fu},e}(gu),hu=function(){n.set("DDialogProcessing",su),n.set("DDialogProcessingMessage",cu)},yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(qt),du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFooter=function(){return{button:{ok:"保存",cancel:null}}},e}(yu),Tu=function(){n.set("DDialogSaveAs",du)},Cu=function(){vr(),Rr(),ru(),uu(),nu(),ai(),hi(),Ut(),Jt(),Zt(),Yt(),Qt(),Qi(),lu(),hu(),Tu(),Ai(),Li(),$t()},Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCornerAdjust=function(){return!0},e.prototype.getMargin=function(){return 0},e}(he),mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isToggle=function(){return!0},e}(w),Ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"OFF"},e}(mu),Au=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isToggle=function(){return!0},e}(w),Iu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"ON"},e}(Au),_u=function(){n.set("DInputBoolean",Du),n.set("DInputBooleanButtonOn",Iu),n.set("DInputBooleanButtonOff",Ou)},Bu=function(){de(),_u(),Me(),Ge(),Pe(),Ue(),en(),nn()};const Eu=wcardinal.ui.DLinkMenuItemId;e.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 ku=function(){function t(){}return t.prototype.getImageSource=function(t){return e.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Eu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Eu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Eu.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),Lu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLabelOpenLink=function(){return"開く"},e.prototype.getLabelOpenLinkInNewWindow=function(){return"新しいウィンドウで開く"},e.prototype.getLabelCopyLinkAddress=function(){return"アドレスをコピーする"},e}(ku),Su=function(){n.set("DLink",Lu)},Ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return"100%"},e.prototype.getTextAlignHorizontal=function(){return C.CENTER},e.prototype.getInteractive=function(){return i.NONE},e.prototype.getAlpha=function(){return.2},e.prototype.getFontSize=function(){return 26},e.prototype.getFontWeight=function(){return"bold"},e.prototype.getImageTintAlpha=function(t){return.2},e.prototype.getImageAlignWith=function(){return O.TEXT},e.prototype.getImageAlignHorizontal=function(){return C.LEFT},e.prototype.getImageAlignVertical=function(){return m.MIDDLE},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(B),Hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ru),Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"異常が発生しました"},e}(Hu),bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ru),Mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"アイテムはありません"},e}(bu),Nu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ru),wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newTextValue=function(){return"検索中です"},e}(Nu),Gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getFontSize=function(){return 18},e}(Ru),vu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteError"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),xu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteNoItemsFound"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),Pu=function(t){function e(){var e=t.call(this)||this;return e._note=kn.get("DNoteSearching"),e}return r(e,t),e.prototype.newTextValue=function(){return this._note.newTextValue()},e}(Gu),Fu=function(){n.set("DNote",Ru),n.set("DNoteError",Wu),n.set("DNoteNoItemsFound",Mu),n.set("DNoteSearching",wu),n.set("DNoteSmallError",vu),n.set("DNoteSmallNoItemsFound",xu),n.set("DNoteSmallSearching",Pu)},Vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(){return g.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return null},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e}(an),Uu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"100%"},e.prototype.getCornerMask=function(){return p.TOP},e.prototype.getBorderColor=function(t){return null},e.prototype.getRowHeight=function(){return 30},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1},e}(h),Ku=function(){function t(){}var e;return t.getBackgroundColor=function(t){return t.inDisabled?t.is(ar.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:t.isInvalid?g.INVALID_BLENDED_ON_BOARD:t.underActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.onHovered||t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.is(ar.FROZEN)?t.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},t.getBackgroundAlpha=function(t){return 1},t.getBorderColor=function(t){return t.is(ar.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},t.getBorderMask=function(t){return t.is(ar.END)?u.ALL:u.NOT_RIGHT},t.getColor=function(t){return g.COLOR},t.getAlpha=function(t){return t.in(ar.HAS_DATA)?t.inEnabled?1:.5:0},t.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},t.getHeight=function(){return"padding"},t.getCornerMask=function(){return p.ALL},e=t,t.BACKGROUND_COLOR=g.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_FROZEN_EVEN=c.darken(e.BACKGROUND_COLOR,.015),t.BACKGROUND_COLOR_FROZEN_ODD=c.darken(e.BACKGROUND_COLOR_FROZEN_EVEN,.015),t.BORDER_COLOR=c.darken(e.BACKGROUND_COLOR,.035),t.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.035),t}(),zu=function(){function t(){}return t.init=function(){e.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>')},t.getImageSource=function(t){return e.mappings.action_mark},t.getImageTintColor=function(t){return Ku.getImageTintColor(t,!0)},t}(),Ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(w);zu.init();var ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(Ju);zu.init();var Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e}(ee),Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.isSyncEnabled=function(){return!0},e.prototype.newTextValue=function(){return null},e}(w);zu.init();var Yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(t){return zu.getImageTintColor(t)},e.prototype.getImageSource=function(t){return zu.getImageSource(t)},e.prototype.isSyncEnabled=function(){return!1},e}(Xu),qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){},e}(B),Qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getCursor=function(t){return t.isActionable?"pointer":""},e}(qu),$u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(R),tp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Ar),ep=function(t){return Pr.format(t)},np=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return ep},e.prototype.newTextValue=function(){return new Date},e}(w),op=function(t,e){return ci.format(t,e.getDatetimeMask())},rp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return op},e.prototype.newTextValue=function(){return new Date},e}(w),ip=function(t){return String(Number(t)+1)},up=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.getTextFormatter=function(){return ip},e.prototype.newTextValue=function(){return 0},e}(B),pp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(be),ap=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignHorizontal=function(){return C.RIGHT},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(xe),lp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(Fe),cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e}(tn);lr.init();var gp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBorderColor=function(t){return null},e.prototype.getLevelPadding=function(t){return 24+20*t},e.prototype.getInteractive=function(){return i.CHILDREN},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusable=!1,e.isFocusReverse=!0},e}(h),fp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getWidth=function(){return"padding"},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getPaddingLeft=function(){return 0},e}(Fe),sp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return"padding"},e.prototype.getY=function(){return"padding"},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getBackgroundColor=function(t){return null},e.prototype.getBackgroundAlpha=function(t){return 1},e.prototype.getBorderColor=function(t){return null},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getImageAlignWith=function(){return O.BORDER},e.prototype.getImageAlignHorizontal=function(){return C.RIGHT},e.prototype.getImageSource=function(t){return lr.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(E),hp=function(t){function e(){var e=t.call(this)||this;return e._link=kn.getInstance().get("DLink"),e}return r(e,t),e.prototype.getImageTintColor=function(t){return Ku.getImageTintColor(t,!0)},e.prototype.getImageSource=function(t){return this._link.getImageSource(t)},e}(Qu),yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(Co),dp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getSecondaryImageSource=function(t){return null},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e}(mo),Tp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTextAlignVertical=function(){return m.TOP},e}(qu),Cp=function(t,e){return _i.format(t,e.getDatetimeMask())},Dp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(t){return Ku.getBackgroundColor(t)},e.prototype.getBackgroundAlpha=function(t){return Ku.getBackgroundAlpha(t)},e.prototype.getBorderColor=function(t){return Ku.getBorderColor(t)},e.prototype.getBorderMask=function(t){return Ku.getBorderMask(t)},e.prototype.getColor=function(t){return Ku.getColor(t)},e.prototype.getAlpha=function(t){return Ku.getAlpha(t)},e.prototype.getHeight=function(){return Ku.getHeight()},e.prototype.getCornerMask=function(){return Ku.getCornerMask()},e.prototype.getTextFormatter=function(){return Cp},e.prototype.newTextValue=function(){return new Date},e}(w);lr.init();var mp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getLevelPadding=function(t){return 24+20*t-this.getPaddingLeft()},e.prototype.getImageAlignWith=function(){return O.PADDING},e.prototype.getImageMarginHorizontal=function(){return-19},e.prototype.getImageSource=function(t){return lr.getImageSource(t)},e.prototype.getImageTintColor=function(t){return this.getColor(t)},e.prototype.getImageTintAlpha=function(t){return.5*this.getAlpha(t)},e}(Qu),Op=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBorderColor=function(t){return null},e.prototype.getCornerMask=function(){return p.ALL},e.prototype.getMargin=function(){return 0},e.prototype.getInteractive=function(){return i.BOTH},e.prototype.newState=function(e){t.prototype.newState.call(this,e),e.isFocusReverse=!0},e}(he),Ap=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR_EVEN=g.BACKGROUND_COLOR_ON_BOARD,e.BACKGROUND_COLOR_ODD=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.0125),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:t.isActive?g.HIGHLIGHT_BLENDED_ON_BOARD:t.isHovered?g.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:t.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},e.prototype.getWidth=function(){return"100%"},e}(Op),Ip=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.055),e}return r(e,t),e.prototype.getBackgroundColor=function(t){return t.inDisabled?null:this.BACKGROUND_COLOR},e.prototype.getBorderColor=function(t){return this.BORDER_COLOR},e.prototype.getBorderMask=function(t){return u.NOT_BOTTOM},e.prototype.getWidth=function(){return"100%"},e.prototype.getHeight=function(){return 30},e.prototype.getCursor=function(e){return e.is(ar.RESIZING)?"col-resize":t.prototype.getCursor.call(this,e)},e}(Op),_p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Ip);e.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),e.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var Bp=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.BACKGROUND_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.03),e.BACKGROUND_COLOR_HOVERED=c.darken(e.BACKGROUND_COLOR,.017),e.BACKGROUND_COLOR_PRESSED=c.darken(e.BACKGROUND_COLOR,.034),e.BACKGROUND_COLOR_FROZEN=c.darken(e.BACKGROUND_COLOR,.02),e.BORDER_COLOR=c.darken(g.BACKGROUND_COLOR_ON_BOARD,.055),e.BORDER_COLOR_FROZEN=c.darken(e.BORDER_COLOR,.055),e}return r(n,t),n.prototype.getBackgroundColor=function(t){return t.inDisabled||t.on(ar.RESIZING)?t.is(ar.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:t.isPressed?this.BACKGROUND_COLOR_PRESSED:t.isHovered?this.BACKGROUND_COLOR_HOVERED:t.is(ar.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},n.prototype.getBackgroundAlpha=function(t){return 1},n.prototype.getBorderColor=function(t){return t.is(ar.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.prototype.getBorderMask=function(t){return t.is(ar.END)?u.ALL:u.NOT_RIGHT},n.prototype.getTextAlignHorizontal=function(){return C.CENTER},n.prototype.getCornerMask=function(){return p.ALL},n.prototype.getHeight=function(){return"padding"},n.prototype.getPaddingLeft=function(){return 10},n.prototype.getPaddingRight=function(){return 10},n.prototype.newTextValue=function(){return null},n.prototype.getImageTintColor=function(t,e){return t.inDisabled||t.inReadOnly||!t.isActive&&!e?g.WEAK_HIGHLIGHT_COLOR:g.HIGHLIGHT_COLOR},n.prototype.getSecondaryImageTintColor=function(e){return e.is(ar.CHECKABLE)?S.getImageTintColor(e):t.prototype.getSecondaryImageTintColor.call(this,e)},n.prototype.getSecondaryImageSource=function(t){return t.is(ar.CHECKABLE)?S.getImageSource(t):null},n.prototype.getSecondaryImageAlignHorizontal=function(){return C.LEFT},n.prototype.getSecondaryImageAlignVertical=function(){return m.MIDDLE},n.prototype.getSecondaryImageAlignWith=function(){return O.TEXT},n.prototype.getTertiaryImageSource=function(t){return t.is(ar.SORTED_ASCENDING)?e.mappings.sorted_ascending:t.is(ar.SORTED_DESCENDING)?e.mappings.sorted_descending:null},n.prototype.getTertiaryImageTintColor=function(e){return t.prototype.getImageTintColor.call(this,e)},n.prototype.getTertiaryImageAlignHorizontal=function(){return C.RIGHT},n.prototype.getTertiaryImageAlignWith=function(){return O.BORDER},n.prototype.getCursor=function(t){return t.isActionable?t.is(ar.HOVERED_ON_EDGE)||t.on(ar.RESIZING)?"col-resize":t.is(ar.CHECKABLE)||t.is(ar.SORTABLE)?"pointer":"":""},n.prototype.getEdgeWidth=function(){return 10},n}(re),Ep=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(Bp),kp=function(){n.set("DTableBodyCellActionDialog",ju),n.set("DTableBodyCellActionMenu",Zu),n.set("DTableBodyCellActionPromise",Yu),n.set("DTableBodyCellButton",Qu),n.set("DTableBodyCellCheck",$u),n.set("DTableBodyCellColor",tp),n.set("DTableBodyCellDate",np),n.set("DTableBodyCellDatetime",rp),n.set("DTableBodyCellIndex",up),n.set("DTableBodyCellInputInteger",pp),n.set("DTableBodyCellInputReal",ap),n.set("DTableBodyCellInputTextArea",cp),n.set("DTableBodyCellInputText",lp),n.set("DTableBodyCellInputTreeMarker",sp),n.set("DTableBodyCellInputTreeInput",fp),n.set("DTableBodyCellInputTree",gp),n.set("DTableBodyCellLink",hp),n.set("DTableBodyCellSelectDialog",Ju),n.set("DTableBodyCellSelectMenu",yp),n.set("DTableBodyCellSelectMultiple",dp),n.set("DTableBodyCellSelectPromise",Xu),n.set("DTableBodyCellTextArea",Tp),n.set("DTableBodyCellText",qu),n.set("DTableBodyCellTree",mp),n.set("DTableBodyCellTime",Dp),n.set("DTableBodyRow",Ap),n.set("DTableBody",Uu),n.set("DTableCategoryCell",Ep),n.set("DTableCategory",_p),n.set("DTableHeaderCell",Bp),n.set("DTableHeader",Ip),n.set("DTableRow",Op),n.set("DTable",Vu),b(),Hr(),li(),yi(),Me(),Pe(),en(),nn(),Ai(),Gn()};e.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>'),e.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>'),e.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 Lp=function(t){return t.isProcessing?e.mappings.button_process_processing:t.isSucceeded?e.mappings.button_process_success:e.mappings.button_process_fail},Sp=function(t){var e=t.valueOf(En.PROCESSING);return null!=e?e*Math.PI*.02:0},Rp=function(){function t(){}return t.prototype.getProcessDoneDelay=function(){return 400},t.prototype.getProcessCloseDelay=function(){return 3e3},t.prototype.isProcessTextEnabled=function(){return!1},t.prototype.isProcessImageEnabled=function(){return!0},t.prototype.getProcessImageIndex=function(){return 0},t.prototype.newProcessImageSource=function(){return Lp},t.prototype.newProcessImageRotation=function(){return Sp},t}(),Hp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.newProcessTextValue=function(){return fu},e}(Rp),Wp=function(){n.set("DIndicatorProcessing",Hp)},bp=function(){Dr(),y(),T(),Ri(),Cr(),Q(),Bt(),Lt(),Ui(),vi(),Cu(),ue(),fe(),se(),Wp(),Bu(),un(),Su(),sn(),yr(),vn(),to(),Gn(),Fu(),ho(),lo(),Gr(),Sr(),pi(),ui(),ii(),Oo(),kp(),pr(),ur()},Mp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(tu),Np={__proto__:null,loadThemeWhiteBase:y,loadThemeWhiteBoard:T,loadThemeWhiteButtonAmbient:L,loadThemeWhiteButtonCheckRight:W,loadThemeWhiteButtonCheck:b,loadThemeWhiteButtonDanger:N,loadThemeWhiteButtonFile:v,loadThemeWhiteButtonLink:P,loadThemeWhiteButtonPrimary:V,loadThemeWhiteButtonRadioRight:z,loadThemeWhiteButtonRadio:J,loadThemeWhiteButtonSecondary:Z,loadThemeWhiteButton:X,loadThemeWhiteCanvasContainer:Q,loadThemeWhiteChart:Bt,loadThemeWhiteColor:Lt,loadThemeWhiteDialogFitted:Ut,loadThemeWhiteDialogInputBoolean:Jt,loadThemeWhiteDialogInputInteger:Zt,loadThemeWhiteDialogInputReal:Yt,loadThemeWhiteDialogInputText:Qt,loadThemeWhiteDialog:$t,loadThemeWhiteDropdown:ne,loadThemeWhiteExpandable:ue,loadThemeWhiteHtmlElement:fe,loadThemeWhiteImage:se,loadThemeWhiteInputAndLabel:de,loadThemeWhiteInputInteger:Me,loadThemeWhiteInputLabel:Ge,loadThemeWhiteInputReal:Pe,loadThemeWhiteInputSearch:Ue,loadThemeWhiteInputTextArea:en,loadThemeWhiteInputText:nn,loadThemeWhiteLayout:un,loadThemeWhiteList:sn,loadThemeWhiteMenuBar:vn,loadThemeWhiteMenuSided:to,loadThemeWhiteMenu:Gn,loadThemeWhitePagination:lo,loadThemeWhitePane:ho,loadThemeWhiteScrollBar:so,loadThemeWhiteSelect:Oo,loadThemeWhiteShapeActionValue:zo,loadThemeWhiteShape:Xo,loadThemeWhiteSlider:ur,loadThemeWhiteText:pr,loadThemeWhiteTree:yr,loadThemeWhiteView:Cr,loadThemeWhite:Dr,loadThemeWhiteJaJpAll:bp,loadThemeWhiteJaJpButtonAll:Ri,loadThemeWhiteJaJpButtonColorGradient:xr,loadThemeWhiteJaJpButtonColor:Hr,loadThemeWhiteJaJpButtonDate:li,loadThemeWhiteJaJpButtonDatetime:yi,loadThemeWhiteJaJpButtonSelect:Ii,loadThemeWhiteJaJpButtonTime:Si,loadThemeWhiteJaJpDiagramEditor:Ui,loadThemeWhiteJaJpDiagram:vi,loadThemeWhiteJaJpDialogAll:Cu,loadThemeWhiteJaJpDialogColorGradient:vr,loadThemeWhiteJaJpDialogColor:Rr,loadThemeWhiteJaJpDialogConfirmDelete:ru,loadThemeWhiteJaJpDialogConfirmDiscard:uu,loadThemeWhiteJaJpDialogConfirm:nu,loadThemeWhiteJaJpDialogDate:ai,loadThemeWhiteJaJpDialogDatetime:hi,loadThemeWhiteJaJpDialogLayered:Qi,loadThemeWhiteJaJpDialogMessage:lu,loadThemeWhiteJaJpDialogProcessing:hu,loadThemeWhiteJaJpDialogSaveAs:Tu,loadThemeWhiteJaJpDialogSelect:Ai,loadThemeWhiteJaJpDialogTime:Li,loadThemeWhiteJaJpIndicatorProcessing:Wp,loadThemeWhiteJaJpInputAll:Bu,loadThemeWhiteJaJpInputBoolean:_u,loadThemeWhiteJaJpLink:Su,loadThemeWhiteJaJpNote:Fu,loadThemeWhiteJaJpPickerColorGradient:Gr,loadThemeWhiteJaJpPickerColor:Sr,loadThemeWhiteJaJpPickerDate:pi,loadThemeWhiteJaJpPickerDatetime:ui,loadThemeWhiteJaJpPickerTime:ii,loadThemeWhiteJaJpShapePointsFormatter:Gi,loadThemeWhiteJaJpTable:kp,DThemeWhiteAtlas:e,DThemeWhiteBase:h,DThemeWhiteBoard:d,DThemeWhiteButtonAmbient:k,DThemeWhiteButtonBase:E,DThemeWhiteButtonCheckRight:H,DThemeWhiteButtonCheck:R,DThemeWhiteButtonChecks:S,DThemeWhiteButtonColorGradient:Mr,DThemeWhiteButtonColor:Ar,DThemeWhiteButtonDanger:M,DThemeWhiteButtonDate:Vr,DThemeWhiteButtonDatetime:fi,DThemeWhiteButtonFile:G,DThemeWhiteButtonLink:x,DThemeWhiteButtonPrimary:F,DThemeWhiteButtonRadioRight:K,DThemeWhiteButtonRadio:U,DThemeWhiteButtonSecondary:j,DThemeWhiteButtonSelect:Ti,DThemeWhiteButtonTime:Ei,DThemeWhiteButton:w,DThemeWhiteCanvasContainer:q,DThemeWhiteCanvas:Y,DThemeWhiteChartAxisBase:it,DThemeWhiteChartAxisXDatetime:at,DThemeWhiteChartAxisX:ut,DThemeWhiteChartAxisY:lt,DThemeWhiteChartCoordinateTick:gt,DThemeWhiteChartCoordinateTransform:ft,DThemeWhiteChartCoordinate:ct,DThemeWhiteChartLegendItem:ht,DThemeWhiteChartLegend:st,DThemeWhiteChartOverview:yt,DThemeWhiteChartPlotArea:dt,DThemeWhiteChartSelectionGridlineX:Ot,DThemeWhiteChartSelectionGridlineY:At,DThemeWhiteChartSelectionMarker:_t,DThemeWhiteChartSelectionShape:mt,DThemeWhiteChart:$,DThemeWhiteColorRecent:Et,DThemeWhiteColorStandard:kt,DThemeWhiteConstants:g,DThemeWhiteContent:co,DThemeWhiteDiagramBase:Hi,DThemeWhiteDiagramCanvasBase:bi,DThemeWhiteDiagramCanvasEditor:Pi,DThemeWhiteDiagramCanvas:Mi,DThemeWhiteDiagramEditor:Fi,DThemeWhiteDiagram:Wi,DThemeWhiteDialogColorGradient:Nr,DThemeWhiteDialogColor:Ir,DThemeWhiteDialogConfirmDelete:Mp,DThemeWhiteDialogConfirmMessage:$i,DThemeWhiteDialogConfirm:tu,DThemeWhiteDialogDate:Ur,DThemeWhiteDialogDatetime:si,DThemeWhiteDialogFittedContent:Vt,DThemeWhiteDialogFitted:Gt,DThemeWhiteDialogInputBoolean:zt,DThemeWhiteDialogInputInteger:jt,DThemeWhiteDialogInputReal:Xt,DThemeWhiteDialogInputText:qt,DThemeWhiteDialogInput:Kt,DThemeWhiteDialogLayeredContent:Ft,DThemeWhiteDialogLayeredFooter:Yi,DThemeWhiteDialogLayeredHeaderButtonClose:Ji,DThemeWhiteDialogLayeredHeaderSeparator:Xi,DThemeWhiteDialogLayeredHeader:Ki,DThemeWhiteDialogLayered:wt,DThemeWhiteDialogMessage:pu,DThemeWhiteDialogProcessingMessage:cu,DThemeWhiteDialogProcessing:gu,DThemeWhiteDialogSaveAs:yu,DThemeWhiteDialogSelectListItem:Di,DThemeWhiteDialogSelectList:Ci,DThemeWhiteDialogSelect:mi,DThemeWhiteDialogTime:ki,DThemeWhiteDialog:Nt,DThemeWhiteDropdownBase:te,DThemeWhiteDropdown:ee,DThemeWhiteExpandableHeader:ie,DThemeWhiteExpandable:oe,DThemeWhiteExpandables:In,DThemeWhiteFont:f,DThemeWhiteHtmlElement:ge,DThemeWhiteImageBase:B,DThemeWhiteImage:re,DThemeWhiteIndicatorProcess:Rp,DThemeWhiteInputAndLabel:ye,DThemeWhiteInputBooleanButtonOff:mu,DThemeWhiteInputBooleanButtonOn:Au,DThemeWhiteInputBoolean:Du,DThemeWhiteInputInput:Re,DThemeWhiteInputInteger:be,DThemeWhiteInputLabel:we,DThemeWhiteInputNumber:He,DThemeWhiteInputReal:xe,DThemeWhiteInputSearch:Ve,DThemeWhiteInputTextArea:tn,DThemeWhiteInputText:Fe,DThemeWhiteInput:De,DThemeWhiteLayoutBoard:on,DThemeWhiteLayoutHorizontal:he,DThemeWhiteLayoutSpace:rn,DThemeWhiteLayoutVertical:Pt,DThemeWhiteLayout:xt,DThemeWhiteLink:ku,DThemeWhiteListItemAmbient:fn,DThemeWhiteListItem:gn,DThemeWhiteListItems:cn,DThemeWhiteList:ln,DThemeWhiteMenuBarItem:yn,DThemeWhiteMenuBar:hn,DThemeWhiteMenuItemBase:Tn,DThemeWhiteMenuItemCheck:mn,DThemeWhiteMenuItemExpandableBody:An,DThemeWhiteMenuItemExpandableHeader:_n,DThemeWhiteMenuItemExpandableItemCheck:Bn,DThemeWhiteMenuItemExpandableItemLink:Sn,DThemeWhiteMenuItemExpandableItemMenu:Hn,DThemeWhiteMenuItemExpandableItemSeparator:bn,DThemeWhiteMenuItemExpandableItemSpace:Nn,DThemeWhiteMenuItemExpandableItemText:wn,DThemeWhiteMenuItemExpandable:On,DThemeWhiteMenuItemLink:Ln,DThemeWhiteMenuItemMenu:Rn,DThemeWhiteMenuItemSeparator:Wn,DThemeWhiteMenuItemSpace:Mn,DThemeWhiteMenuItemText:Dn,DThemeWhiteMenuItem:Cn,DThemeWhiteMenuSidedContent:Pn,DThemeWhiteMenuSidedItemCheck:Fn,DThemeWhiteMenuSidedItemExpandableItemCheck:Un,DThemeWhiteMenuSidedItemExpandableItemLink:Kn,DThemeWhiteMenuSidedItemExpandableItemMenu:zn,DThemeWhiteMenuSidedItemExpandableItemSeparator:Jn,DThemeWhiteMenuSidedItemExpandableItemSpace:jn,DThemeWhiteMenuSidedItemExpandableItemText:Zn,DThemeWhiteMenuSidedItemExpandable:Vn,DThemeWhiteMenuSidedItemLink:Xn,DThemeWhiteMenuSidedItemMenu:Yn,DThemeWhiteMenuSidedItemSeparator:qn,DThemeWhiteMenuSidedItemSpace:Qn,DThemeWhiteMenuSidedItemText:$n,DThemeWhiteMenuSided:xn,DThemeWhiteMenu:dn,DThemeWhiteNoteError:Hu,DThemeWhiteNoteNoItemsFound:bu,DThemeWhiteNoteSearching:Nu,DThemeWhiteNoteSmallError:vu,DThemeWhiteNoteSmallNoItemsFound:xu,DThemeWhiteNoteSmallSearching:Pu,DThemeWhiteNoteSmall:Gu,DThemeWhiteNote:Ru,DThemeWhitePaginationButtonLast:oo,DThemeWhitePaginationButtonNext:ro,DThemeWhitePaginationButtonPage:io,DThemeWhitePaginationButtonPrevious:uo,DThemeWhitePaginationButtonTop:po,DThemeWhitePaginationDots:no,DThemeWhitePaginationPage:ao,DThemeWhitePagination:eo,DThemeWhitePane:an,DThemeWhitePickerColorGradient:wr,DThemeWhitePickerColor:kr,DThemeWhitePickerDatetimeButtonBack:$r,DThemeWhitePickerDatetimeButtonDate:ti,DThemeWhitePickerDatetimeButtonNext:ei,DThemeWhitePickerDatetimeLabelDate:oi,DThemeWhitePickerDatetimeLabel:ni,DThemeWhitePickerDatetimeSpace:ri,DThemeWhitePickerTime:zr,DThemeWhiteScrollBarThumb:fo,DThemeWhiteScrollBar:go,DThemeWhiteSelectMultiple:mo,DThemeWhiteSelect:Co,DThemeWhiteSliderHorizontal:qo,DThemeWhiteSliderLabel:Qo,DThemeWhiteSliderThumb:tr,DThemeWhiteSliderTrackHorizontal:nr,DThemeWhiteSliderTrackVertical:or,DThemeWhiteSliderTrack:er,DThemeWhiteSliderValue:rr,DThemeWhiteSliderVertical:ir,DThemeWhiteSlider:Yo,DThemeWhiteSliders:$o,DThemeWhiteTableBodyCellActionDialog:ju,DThemeWhiteTableBodyCellActionMenu:Zu,DThemeWhiteTableBodyCellActionPromise:Yu,DThemeWhiteTableBodyCellActions:zu,DThemeWhiteTableBodyCellButton:Qu,DThemeWhiteTableBodyCellCheck:$u,DThemeWhiteTableBodyCellColor:tp,DThemeWhiteTableBodyCellDate:np,DThemeWhiteTableBodyCellDatetime:rp,DThemeWhiteTableBodyCellIndex:up,DThemeWhiteTableBodyCellInputInteger:pp,DThemeWhiteTableBodyCellInputReal:ap,DThemeWhiteTableBodyCellInputTextArea:cp,DThemeWhiteTableBodyCellInputText:lp,DThemeWhiteTableBodyCellInputTreeInput:fp,DThemeWhiteTableBodyCellInputTreeMarker:sp,DThemeWhiteTableBodyCellInputTree:gp,DThemeWhiteTableBodyCellLink:hp,DThemeWhiteTableBodyCellSelectDialog:Ju,DThemeWhiteTableBodyCellSelectMenu:yp,DThemeWhiteTableBodyCellSelectMultiple:dp,DThemeWhiteTableBodyCellSelectPromise:Xu,DThemeWhiteTableBodyCellTextArea:Tp,DThemeWhiteTableBodyCellText:qu,DThemeWhiteTableBodyCellTime:Dp,DThemeWhiteTableBodyCellTree:mp,DThemeWhiteTableBodyCellTrees:lr,DThemeWhiteTableBodyCells:Ku,DThemeWhiteTableBodyRow:Ap,DThemeWhiteTableBody:Uu,DThemeWhiteTableCategoryCell:Ep,DThemeWhiteTableCategory:_p,DThemeWhiteTableHeaderCell:Bp,DThemeWhiteTableHeader:Ip,DThemeWhiteTableRow:Op,DThemeWhiteTable:Vu,DThemeWhiteTextBase:_,DThemeWhiteText:Ne,DThemeWhiteTreeItemButton:sr,DThemeWhiteTreeItemNonEditable:hr,DThemeWhiteTreeItemText:fr,DThemeWhiteTreeItems:cr,DThemeWhiteTree:gr,DThemeWhiteView:Tr,DThemeWhite:n,EThemeWhiteShapeActionValueOpen:Ko,EThemeWhiteShapeActionValue:Uo,EThemeWhiteShapePointsFormatter:Ni,EThemeWhiteShape:Zo,DThemeWhiteJaJpDiagramEditor:Vi,DThemeWhiteJaJpDialogConfirmDelete:ou,DThemeWhiteJaJpDialogConfirmDiscard:iu,DThemeWhiteJaJpDialogConfirm:eu,DThemeWhiteJaJpDialogLayeredFooter:qi,DThemeWhiteJaJpDialogMessage:au,dThemeWhiteJaJpDialogProcessingMessage:fu,DThemeWhiteJaJpDialogProcessing:su,DThemeWhiteJaJpDialogSaveAs:du,DThemeWhiteJaJpDialogSelect:Oi,DThemeWhiteJaJpIndicatorProcessing:Hp,DThemeWhiteJaJpInputBooleanButtonOff:Ou,DThemeWhiteJaJpInputBooleanButtonOn:Iu,DThemeWhiteJaJpLink:Lu,DThemeWhiteJaJpNoteError:Wu,DThemeWhiteJaJpNoteNoItemsFound:Mu,DThemeWhiteJaJpNoteSearching:wu,DThemeWhiteJaJpPickerColor:Lr,DThemeWhiteJaJpPickerDate:Qr,DThemeWhiteJaJpPickerDatetime:qr,DThemeWhiteJaJpPickerTime:Jr,EThemeWhiteJaJpShapePointsFormatter:wi};bp();var wp=window;wp.wcardinal=wp.wcardinal||{};var Gp=wp.wcardinal.ui=wp.wcardinal.ui||{},vp=Np;for(var xp in vp)Gp[xp]=vp[xp]}(PIXI);
10
10
  //# sourceMappingURL=wcardinal-ui-theme-white-ja-jp.min.js.map