@wcardinal/wcardinal-ui 0.398.0 → 0.400.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.
- package/dist/types/wcardinal/ui/d-base-state-set-impl.d.ts +5 -0
- package/dist/types/wcardinal/ui/d-base-state-set.d.ts +4 -0
- package/dist/types/wcardinal/ui/d-base-state.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-base.d.ts +13 -1
- package/dist/types/wcardinal/ui/d-button-color.d.ts +0 -3
- package/dist/types/wcardinal/ui/d-image-base-theme-wrapper-other.d.ts +19 -0
- package/dist/types/wcardinal/ui/d-image-base-theme-wrapper-secondary.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-image-base-theme-wrapper-tertiary.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-image-base.d.ts +11 -26
- package/dist/types/wcardinal/ui/d-image-piece-align-impl.d.ts +23 -0
- package/dist/types/wcardinal/ui/d-image-piece-align.d.ts +14 -0
- package/dist/types/wcardinal/ui/d-image-piece-container-impl.d.ts +24 -0
- package/dist/types/wcardinal/ui/d-image-piece-container.d.ts +12 -0
- package/dist/types/wcardinal/ui/d-image-piece-impl.d.ts +60 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-bottom.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-center.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-left.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-middle.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-right.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-top.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part.d.ts +4 -2
- package/dist/types/wcardinal/ui/d-image-piece-margin-impl.d.ts +17 -0
- package/dist/types/wcardinal/ui/d-image-piece-margin.d.ts +9 -0
- package/dist/types/wcardinal/ui/d-image-piece-tint-impl.d.ts +23 -0
- package/dist/types/wcardinal/ui/d-image-piece-tint.d.ts +13 -0
- package/dist/types/wcardinal/ui/d-image-piece.d.ts +14 -77
- package/dist/types/wcardinal/ui/d-indicator-processing.d.ts +69 -0
- package/dist/types/wcardinal/ui/index.d.ts +11 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-processing.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-en-us-indicator-processing.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-image-base.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-indicator-processing.d.ts +13 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-processing.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-indicator-processing.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index-zz-zz.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-indicator-processing.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-indicator-processing.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-processing.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-en-us-indicator-processing.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-image-base.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-indicator-processing.d.ts +13 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-processing.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-ja-jp-indicator-processing.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index-zz-zz.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-indicator-processing.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-indicator-processing.d.ts +1 -0
- package/dist/wcardinal/ui/d-base-state-set-impl.js +31 -0
- package/dist/wcardinal/ui/d-base-state-set-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-base-state-set.js.map +1 -1
- package/dist/wcardinal/ui/d-base-state.js +1 -0
- package/dist/wcardinal/ui/d-base-state.js.map +1 -1
- package/dist/wcardinal/ui/d-base.js +63 -7
- package/dist/wcardinal/ui/d-base.js.map +1 -1
- package/dist/wcardinal/ui/d-button-color.js +6 -29
- package/dist/wcardinal/ui/d-button-color.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-processing.js +3 -2
- package/dist/wcardinal/ui/d-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-other.js +35 -0
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-other.js.map +1 -0
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-secondary.js +5 -1
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-secondary.js.map +1 -1
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-tertiary.js +5 -1
- package/dist/wcardinal/ui/d-image-base-theme-wrapper-tertiary.js.map +1 -1
- package/dist/wcardinal/ui/d-image-base.js +22 -51
- package/dist/wcardinal/ui/d-image-base.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-align-impl.js +89 -0
- package/dist/wcardinal/ui/d-image-piece-align-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-align.js +2 -0
- package/dist/wcardinal/ui/d-image-piece-align.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-container-impl.js +108 -0
- package/dist/wcardinal/ui/d-image-piece-container-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-container.js +2 -0
- package/dist/wcardinal/ui/d-image-piece-container.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-impl.js +235 -0
- package/dist/wcardinal/ui/d-image-piece-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-layouter-part-bottom.js +15 -4
- package/dist/wcardinal/ui/d-image-piece-layouter-part-bottom.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-center.js +8 -5
- package/dist/wcardinal/ui/d-image-piece-layouter-part-center.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js +13 -17
- package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-left.js +15 -4
- package/dist/wcardinal/ui/d-image-piece-layouter-part-left.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-middle.js +8 -5
- package/dist/wcardinal/ui/d-image-piece-layouter-part-middle.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-right.js +15 -4
- package/dist/wcardinal/ui/d-image-piece-layouter-part-right.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-top.js +15 -4
- package/dist/wcardinal/ui/d-image-piece-layouter-part-top.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part.js +2 -6
- package/dist/wcardinal/ui/d-image-piece-layouter-part.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter.js +2 -2
- package/dist/wcardinal/ui/d-image-piece-layouter.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-margin-impl.js +55 -0
- package/dist/wcardinal/ui/d-image-piece-margin-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-margin.js +2 -0
- package/dist/wcardinal/ui/d-image-piece-margin.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-tint-impl.js +90 -0
- package/dist/wcardinal/ui/d-image-piece-tint-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece-tint.js +2 -0
- package/dist/wcardinal/ui/d-image-piece-tint.js.map +1 -0
- package/dist/wcardinal/ui/d-image-piece.js +1 -287
- package/dist/wcardinal/ui/d-image-piece.js.map +1 -1
- package/dist/wcardinal/ui/d-indicator-processing.js +216 -0
- package/dist/wcardinal/ui/d-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/d-table-header-cell.js +10 -5
- package/dist/wcardinal/ui/d-table-header-cell.js.map +1 -1
- package/dist/wcardinal/ui/d-text-base.js +9 -1
- package/dist/wcardinal/ui/d-text-base.js.map +1 -1
- package/dist/wcardinal/ui/index.js +11 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-processing.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-indicator-processing.js +19 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-image-base.js +9 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-image-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-indicator-processing.js +74 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-processing.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-indicator-processing.js +19 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-indicator-processing.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-indicator-processing.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-processing.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-indicator-processing.js +19 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-image-base.js +9 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-image-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-indicator-processing.js +74 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-processing.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-indicator-processing.js +19 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-indicator-processing.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-indicator-processing.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-indicator-processing.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-indicator-processing.js.map +1 -0
- package/dist/wcardinal-ui-theme-dark-en-us.js +112 -3
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +112 -3
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +112 -3
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +112 -3
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +112 -3
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +112 -3
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +1413 -513
- package/dist/wcardinal-ui.js +1127 -495
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.400.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(){"use strict";var n=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(1024,1,3),t=function(){function t(){this.t={}}return t.prototype.get=function(n){var e=this.t[n];if(null!=e)return e;var r=t.u[n];if(null!=r)return this.t[n]=new r;throw new Error("No theme for the type '".concat(n,"'"))},t.prototype.set=function(n,t){return this.t[n]=t,this},t.prototype.getClass=function(n){var e=t.u[n];if(null!=e)return e;throw new Error("No theme for the type '".concat(n,"'"))},t.prototype.setClass=function(n,e){return t.u[n]=e,this},t.prototype.getAtlas=function(){return n},t.set=function(n,t){this.u[n]=t},t.u={},t}(),e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(n,t)};function r(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const u=wcardinal.ui.DBaseInteractive,i=wcardinal.ui.DBorderMask,o=wcardinal.ui.DCornerMask,c=wcardinal.ui.DLayoutClearType,f=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var h=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),a=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic","Meiryo",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return h.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),s=function(t,e,r){var u=2*e;n.add(t,u,u,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*r,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*r,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*r,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*r,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*r,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*r,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*r,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};s("shadow_weak",24,.3),s("shadow",48,.3),n.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 d=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 0},e.prototype.getHeight=function(){return 100},e.prototype.getWidth=function(){return 100},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBackgroundAlpha=function(n){return 1},e.prototype.getBackgroundTexture=function(){return n.mappings.background},e.prototype.getBorderColor=function(n){return null},e.prototype.getBorderAlpha=function(n){return 1},e.prototype.getBorderWidth=function(n){return 1},e.prototype.getBorderAlign=function(n){return 0},e.prototype.getBorderMask=function(n){return i.NONE},e.prototype.getBorderTexture=function(){return n.mappings.background},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getCornerRadius=function(){return 3},e.prototype.getCornerMask=function(){return o.NONE},e.prototype.getOutlineColor=function(n){return h.HIGHLIGHT_COLOR},e.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},e.prototype.getOutlineWidth=function(n){return 1},e.prototype.getOutlineOffset=function(n){return 0},e.prototype.getOutlineAlign=function(n){return 0},e.prototype.getOutlineMask=function(n){return i.NONE},e.prototype.getClearType=function(){return c.NONE},e.prototype.getShadow=function(){return null},e.prototype.getInteractive=function(){return u.SELF},e.prototype.newState=function(n){},e.prototype.getTitle=function(){return""},e.prototype.getWeight=function(){return-1},e.prototype.newShadow=function(){return new f(n.mappings.shadow,48,48,0,4.8)},e.prototype.newShadowWeak=function(){return new f(n.mappings.shadow_weak,24,24,0,2.4)},e.prototype.getCursor=function(n){return""},e}(a),m=function(){t.set("DBase",d)},D=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return u.BOTH},t}(d),T=function(){t.set("DBoard",D)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,W=wcardinal.ui.DAlignVertical,b=wcardinal.ui.DAlignWith,w=wcardinal.ui.DDynamicTextStyleWordWrap,k=wcardinal.ui.toString;var y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return w.NONE},t.prototype.getTextFormatter=function(){return k},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return W.MIDDLE},t.prototype.getImageAlignWith=function(){return b.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(y),I=function(n){function t(t,e,r){void 0===t&&(t=16777215),void 0===e&&(e=.017),void 0===r&&(r=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=l.darken(t,e),u.BACKGROUND_COLOR_PRESSED=l.darken(t,r),u.OUTLINE_COLOR=l.brighten(t,.75),u}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(C),v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?h.HIGHLIGHT_COLOR:h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*h.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return h.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(I),B=function(){t.set("DButtonAmbient",v)};n.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>'),n.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 x=function(){function t(){}return t.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?n.mappings.button_check_mark_on:n.mappings.button_check_mark_off},t}();n.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>'),n.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(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return x.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return x.getImageSource(n)},t}(v),M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(S),E=function(){t.set("DButtonCheckRight",M)},_=function(){t.set("DButtonCheck",S)},L=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t}(I),P=function(){t.set("DButtonDanger",L)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(I),N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(F),U=function(){t.set("DButtonFile",N)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(v),H=function(){t.set("DButtonLink",A)},R=function(n){function t(){return n.call(this,h.HIGHLIGHT_COLOR,.1,.2)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t}(I),z=function(){t.set("DButtonPrimary",R)};n.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>'),n.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 G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(n){return h.COLOR},e.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},e.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},e.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return t.isActive?n.mappings.button_radio_mark_on:n.mappings.button_radio_mark_off},e}(v),V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(G),O=function(){t.set("DButtonRadioRight",V)},Y=function(){t.set("DButtonRadio",G)},j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(I),X=function(){t.set("DButtonSecondary",j)},K=function(){t.set("DButton",F)},J=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getInteractive=function(){return u.BOTH},t}(d),q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.getCornerMask=function(){return o.ALL},t}(d),Z=function(){t.set("DCanvasContainer",q),t.set("DCanvas",J)},Q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const $=wcardinal.ui.DChartAxisPosition,nn=wcardinal.ui.DChartAxisTickPosition,tn=wcardinal.ui.EShapeTextAlignHorizontal,en=wcardinal.ui.EShapeTextAlignVertical,rn=wcardinal.ui.EShapeTextDirection;var un=function(){function n(){}return n.prototype.getPosition=function(){return $.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case $.TOP:case $.BOTTOM:return tn.CENTER;case $.LEFT:return tn.OUTSIDE_LEFT;case $.RIGHT:return tn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case $.TOP:return en.OUTSIDE_TOP;case $.BOTTOM:return en.OUTSIDE_BOTTOM;case $.LEFT:case $.RIGHT:return en.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return rn.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return nn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case $.TOP:case $.BOTTOM:return tn.CENTER;case $.LEFT:return tn.OUTSIDE_LEFT;case $.RIGHT:return tn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case $.TOP:return en.OUTSIDE_TOP;case $.BOTTOM:return en.OUTSIDE_BOTTOM;case $.LEFT:case $.RIGHT:return en.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return rn.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return nn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),on=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(un),cn=function(n,t,e){var r=Math.abs(t-n)/e;if(r<=10)return r<=1.33?1:r<=2.86?2:r<=6.67?5:10;if(r<=100)return r<=13.33?10:r<=28.57?20:r<=66.67?50:100;if(r<=1e3)return r<=133.33?100:r<=285.71?200:r<=666.67?500:1e3;if(r<=1e4)return r<=1333.33?1e3:r<=2857.14?2e3:r<=6666.66?5e3:1e4;if(r<=12e4)return r<=13333.33?1e4:r<=24e3?2e4:r<=4e4?3e4:r<=72e3?6e4:r<=102857.14?9e4:12e4;if(r<=108e5)return r<=171428.57?12e4:r<=4e5?3e5:r<=8e5?6e5:r<=144e4?12e5:r<=24e5?18e5:r<=432e4?36e5:r<=6171428.57?54e5:r<=8e6?72e5:r<=9818181.82?9e6:108e5;var u=36e5,i=r/u;if(i<=24)return i<=1.33?u:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return cn},t}(on),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPosition=function(){return $.LEFT},t.prototype.getLabelDirection=function(){return rn.BOTTOM_TO_TOP},t}(un),hn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),an=function(){function n(){}return n.prototype.toStep=function(n,t,e){var r=Math.abs(t-n)/e,u=Math.floor(Math.log(r)/Math.LN10),i=Math.pow(10,u),o=r/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),Dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,Wn=wcardinal.ui.EShapeBarPosition;var bn=function(){},wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=Wn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(bn),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=Wn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(bn);const yn=wcardinal.ui.EShapeCircle;var Cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new yn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(bn),In=function(){t.set("DChart",Q),t.set("DChartAxisX",on),t.set("DChartAxisXDatetime",fn),t.set("DChartAxisY",ln),t.set("DChartCoordinate",hn),t.set("DChartCoordinateTick",an),t.set("DChartCoordinateTransform",sn),t.set("DChartLegend",dn),t.set("DChartLegendItem",mn),t.set("DChartOverview",Dn),t.set("DChartPlotArea",Tn),t.set("DChartSelectionGridlineX",wn),t.set("DChartSelectionGridlineY",kn),t.set("DChartSelectionMarker",Cn)},vn=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Bn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),xn=function(){t.set("DColorRecent",vn),t.set("DColorStandard",Bn)};const Sn=wcardinal.ui.DAnimationFadeIn,Mn=wcardinal.ui.DDialogAlign,En=wcardinal.ui.DDialogCloseOn,_n=wcardinal.ui.DDialogGestureMode,Ln=wcardinal.ui.DDialogMode,Pn=wcardinal.ui.DDialogState;var Fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMode=function(){return Ln.MODAL},t.prototype.closeOn=function(n){switch(n){case Ln.MODAL:case Ln.MENU:return En.ESC|En.CLICK_OUTSIDE;case Ln.MODELESS:return En.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Ln.MODAL:case Ln.MODELESS:return!0;case Ln.MENU:return!1}},t.prototype.getGestureMode=function(n){return _n.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return Mn.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Ln.MODAL:return new Sn;case Ln.MODELESS:case Ln.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Pn.MENU)?h.BACKGROUND_COLOR_ON_BOARD:h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Pn.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return u.BOTH},t}(d),Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Fn),Un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t}(Nn);const An=wcardinal.ui.DLayoutDirection;var Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return An.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDirection=function(){return An.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Hn),zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Rn),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t}(zn),Vn=function(){t.set("DDialogFittedContent",Gn),t.set("DDialogFitted",Un)},On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(Nn),Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),jn=function(){t.set("DDialogInputBoolean",Yn)},Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Kn=function(){t.set("DDialogInputInteger",Xn)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),qn=function(){t.set("DDialogInputReal",Jn)},Zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Qn=function(){t.set("DDialogInputText",Zn)},$n=function(){t.set("DDialog",Fn)};n.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var nt=function(t){function e(){return t.call(this,h.BACKGROUND_COLOR_ON_BOARD)||this}return r(e,t),e.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-20},e.prototype.getPaddingLeft=function(){return 25},e.prototype.getPaddingRight=function(){return 25},e.prototype.getSecondaryImageSource=function(t){return n.mappings.dropdown_mark},e}(I),tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return""},t}(nt),et=function(){t.set("DDropdown",tt)},rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(C);n.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>'),n.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 it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return o.ALL},t}(ut),ot=function(){t.set("DExpandableHeader",it),t.set("DExpandable",rt)};const ct=wcardinal.ui.DHtmlElementState,ft=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},ht=function(n){var t=document.createElement("div");return n.appendChild(t),t},at=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,e,r,u,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,r,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,e)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ct.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var e=n.x-t.x,r=n.y-t.y;return"left:".concat(e,"px; top:").concat(r,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,e,r){return"position: absolute;"+this.getElementStylePositionPosition(t,r)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(e)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var e=t.id;return"-webkit-clip-path: url(#".concat(e,"); clip-path: url(#").concat(e,");")}return""},t.prototype.getClipperCreator=function(){return ht},t.prototype.setClipperStyle=function(n,t,e,r,u,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return ht},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return ht},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return ft.FOCUSED},t.prototype.getSelect=function(){return!1},t}(C),st=function(){t.set("DHtmlElement",at)},dt=function(){t.set("DImage",ut)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDirection=function(){return An.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Hn),Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){t.set("DInputAndLabel",Dt)},pt=function(){return null},gt=function(n){return n},Wt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.darken(t.BACKGROUND_COLOR,.017),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?h.INVALID_COLOR:h.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(at),bt="d-theme-white-input-input",wt="".concat(bt,"-element"),kt=function(n){var t=n.getElementsByClassName(wt);if(0<t.length)return t[0];var e=document.createElement("input");return e.setAttribute("spellcheck","false"),e.setAttribute("class",wt),n.appendChild(e),e},yt=function(n,t){var e=n.getElementsByClassName(t);if(0<e.length)return e[0];var r=document.createElement("div");return r.setAttribute("class",t),n.appendChild(r),r},Ct="".concat(bt,"-clipper"),It=function(n){return yt(n,Ct)},vt="".concat(bt,"-before"),Bt=function(n){return yt(n,vt)},xt="".concat(bt,"-after"),St=function(n){return yt(n,xt)},Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getElementCreator=function(){return kt},t.prototype.getClipperCreator=function(){return It},t.prototype.getBeforeCreator=function(){return Bt},t.prototype.getAfterCreator=function(){return St},t}(Wt),Et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(Mt),_t=function(n){var t=parseInt(n,10);return t==t?t:0},Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getEditingUnformatter=function(){return _t},t}(Et),Pt=function(){t.set("DInputInteger",Lt)},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Ft),Ut=function(){t.set("DInputLabel",Nt)},At=function(n){var t=parseFloat(n);return t==t?t:0},Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getEditingUnformatter=function(){return At},t}(Et),Rt=function(){t.set("DInputReal",Ht)},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return""},t}(Mt);n.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 Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingRight=function(){return 31},e.prototype.getImageSource=function(t){return n.mappings.input_search},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 6},e}(zt),Vt=function(){t.set("DInputSearch",Gt)},Ot="d-theme-white-input-text-area",Yt="".concat(Ot,"-element"),jt=function(n){var t=n.getElementsByClassName(Yt);if(0<t.length)return t[0];var e=document.createElement("textarea");return e.setAttribute("spellcheck","false"),e.setAttribute("class",Yt),n.appendChild(e),e},Xt=function(n,t){var e=n.getElementsByClassName(t);if(0<e.length)return e[0];var r=document.createElement("div");return r.setAttribute("class",t),n.appendChild(r),r},Kt="".concat(Ot,"-clipper"),Jt=function(n){return Xt(n,Kt)},qt="".concat(Ot,"-before"),Zt=function(n){return Xt(n,qt)},Qt="".concat(Ot,"-after"),$t=function(n){return Xt(n,Qt)},ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.TOP},t.prototype.getTextStyleWordWrap=function(){return w.NORMAL},t.prototype.getElementCreator=function(){return jt},t.prototype.getClipperCreator=function(){return Jt},t.prototype.getBeforeCreator=function(){return Zt},t.prototype.getAfterCreator=function(){return $t},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case w.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Wt),te=function(){t.set("DInputTextArea",ne)},ee=function(){t.set("DInputText",zt)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return c.BOTH},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ue=function(){t.set("DLayout",Hn),t.set("DLayoutHorizontal",mt),t.set("DLayoutSpace",re),t.set("DLayoutVertical",Rn)};const ie=wcardinal.ui.UtilGestureMode;var oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return ie.TOUCH},t}(d),ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(oe),fe=function(){function n(n,t,e){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.darken(n,.0175),this.m=1,this.D=l.blend(n,h.INVALID_COLOR,h.INVALID_ALPHA),this.T=1,this.p=e?h.HIGHLIGHT_COLOR:l.blend(n,h.HIGHLIGHT_COLOR,h.HIGHLIGHT_ALPHA),this.g=1,this.W=l.blend(n,h.WEAK_HIGHLIGHT_COLOR,h.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=h.INVALID_COLOR,this.T=h.INVALID_ALPHA,this.p=h.HIGHLIGHT_COLOR,this.g=e?1:h.HIGHLIGHT_ALPHA,this.W=h.WEAK_HIGHLIGHT_COLOR,this.k=h.WEAK_HIGHLIGHT_ALPHA),this.C=h.COLOR,this.I=e?h.ACTIVE_COLOR:h.COLOR,e?(this.v=h.COLOR,this.B=h.ACTIVE_COLOR):(this.v=h.COLOR,this.B=h.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.p:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.T:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return i.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.v},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.C:this.I},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return o.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),le=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),he=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!1,!0)},t}(le),ae=function(){t.set("DListItemAmbient",he),t.set("DListItem",le),t.set("DList",ce)},se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),de=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.HIGHLIGHT_COLOR:n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(F),me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Rn),De=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?h.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return h.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?h.COLOR:n.isActive?this.getColorActive(n):h.COLOR},t.prototype.getColorActive=function(n){return h.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ut),Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return h.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(De),pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(Te);n.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>'),n.add("menu_item_mark_check_inactive",14,14,"<g></g>");var ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColorActive=function(n){return n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlphaActive=function(n){return h.WEAK_HIGHLIGHT_ALPHA},e.prototype.getColorActive=function(n){return h.COLOR},e.prototype.getImageSource=function(t){return t.isActive?n.mappings.menu_item_mark_check_active:n.mappings.menu_item_mark_check_inactive},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(pe),We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),we=function(){function t(){}return t.init=function(){n.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>'),n.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 n.mappings.expandable_opened},t.getImageClosed=function(){return n.mappings.expandable_closed},t}();we.init();var ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?we.getImageOpened():we.getImageClosed()},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(De),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(ge);const Ce=wcardinal.ui.DBaseState,Ie=wcardinal.ui.DThemes;var ve=function(n){function t(){var t=n.call(this)||this;return t.M=Ie.getInstance().get("DLink"),t}return r(t,n),t.prototype.getImageSource=function(n){return n.is(Ce.NEW_WINDOW)?this.M.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(pe),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ve);n.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 xe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageSource=function(t){return n.mappings.menu_item_mark_next},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 12},e}(Te),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(xe),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBorderColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return u.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(De),Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Me),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(re),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(_e),Pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(pe),Fe=function(){t.set("DMenu",me),t.set("DMenuItem",Te),t.set("DMenuItemCheck",ge),t.set("DMenuItemLink",ve),t.set("DMenuItemMenu",xe),t.set("DMenuItemSeparator",Me),t.set("DMenuItemSpace",_e),t.set("DMenuItemText",pe),t.set("DMenuItemExpandableBody",be),t.set("DMenuItemExpandableHeader",ke),t.set("DMenuItemExpandableItemCheck",ye),t.set("DMenuItemExpandableItemLink",Be),t.set("DMenuItemExpandableItemMenu",Se),t.set("DMenuItemExpandableItemSeparator",Ee),t.set("DMenuItemExpandableItemSpace",Le),t.set("DMenuItemExpandableItemText",Pe),t.set("DMenuItemExpandable",We)},Ne=function(){t.set("DMenuBarItem",de),t.set("DMenuBar",se),Fe()},Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t}(oe),Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Rn),He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ge),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(We),ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ye),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Be),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Se),Oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Ee),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Le),je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Pe),Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ve),Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(xe),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Me),qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(_e),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(pe),Qe=function(){t.set("DMenuSided",Ue),t.set("DMenuSidedContent",Ae),t.set("DMenuSidedItemCheck",He),t.set("DMenuSidedItemLink",Xe),t.set("DMenuSidedItemMenu",Ke),t.set("DMenuSidedItemSeparator",Je),t.set("DMenuSidedItemSpace",qe),t.set("DMenuSidedItemText",Ze),t.set("DMenuSidedItemExpandable",Re),t.set("DMenuSidedItemExpandableItemCheck",ze),t.set("DMenuSidedItemExpandableItemLink",Ge),t.set("DMenuSidedItemExpandableItemMenu",Ve),t.set("DMenuSidedItemExpandableItemSeparator",Oe),t.set("DMenuSidedItemExpandableItemSpace",Ye),t.set("DMenuSidedItemExpandableItemText",je)},$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);n.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 nr=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.getInteractive=function(){return u.NONE},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e.prototype.getImageSource=function(t){return n.mappings.pagination_dots},e.prototype.getImageAlignHorizontal=function(){return p.CENTER},e.prototype.getImageAlignWith=function(){return b.BORDER},e}(C);n.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 tr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_last},e}(v);n.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 er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_next},e}(v),rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(v);n.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 ur=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_previous},e}(v);n.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 ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_top},e}(v),or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(C),cr=function(){t.set("DPagination",$e),t.set("DPaginationPage",or),t.set("DPaginationDots",nr),t.set("DPaginationButtonLast",tr),t.set("DPaginationButtonNext",er),t.set("DPaginationButtonPage",rr),t.set("DPaginationButtonPrevious",ur),t.set("DPaginationButtonTop",ir)},fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),hr=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.darken(h.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.brighten(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.brighten(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.brighten(t.BORDER_COLOR,.5),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ar=function(){t.set("DScrollBar",lr),t.set("DScrollBarThumb",hr)},sr=function(){t.set("DPane",oe),t.set("DContent",fr),ar()};const dr=wcardinal.ui.isString;var mr=function(n){if(n){var t=n.text;if(dr(t))return t;if(null!=t){var e=t(n.state);if(null!=e)return e}}return""},Dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return mr},t.prototype.newTextValue=function(){return null},t}(nt),Tr=function(n){if(n){for(var t="",e="",r=0,u=n.length;r<u;++r){var i=n[r],o=i.text;if(dr(o))t+=e+o,e=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=e+c,e=", ")}}return t}return""},pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return Tr},t.prototype.newTextValue=function(){return[]},t}(nt),gr=function(){t.set("DSelectMultiple",pr),t.set("DSelect",Dr),et()};const Wr=wcardinal.ui.EShapeActionOpenDialogExtensions,br=wcardinal.ui.EShapeActionOpenExtensions,wr=wcardinal.ui.EShapeActionValueBlinkType,kr=wcardinal.ui.EShapeActionValueChangeColorTarget,yr=wcardinal.ui.EShapeActionValueChangeColorType,Cr=wcardinal.ui.EShapeActionValueChangeTextType,Ir=wcardinal.ui.EShapeActionValueGestureOperationType,vr=wcardinal.ui.EShapeActionValueGestureType,Br=wcardinal.ui.EShapeActionValueMiscType,xr=wcardinal.ui.EShapeActionValueOnInputAction,Sr=wcardinal.ui.EShapeActionValueOpenDialogType,Mr=wcardinal.ui.EShapeActionValueOpenType,Er=wcardinal.ui.EShapeActionValueOpetyped,_r=wcardinal.ui.EShapeActionValueShowHideType,Lr=wcardinal.ui.EShapeActionValueSubtyped,Pr=wcardinal.ui.EShapeActionValueTransformMoveType,Fr=wcardinal.ui.EShapeActionValueTransformResizeType,Nr=wcardinal.ui.EShapeActionValueTransformRotateType,Ur=wcardinal.ui.EShapeActionValueTransformType,Ar=wcardinal.ui.EShapeActionValueType;var Hr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Lr){var e,r=n.subtype;if(n instanceof Er){if(null!=(e=this.toOpetypedLabel(t,r,n.opetype,n)))return e}else if(null!=(e=this.toSubtypedLabel(t,r,n)))return e}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,e){var r=this.toTypeLabel(n);switch(n){case Ar.SHOW_HIDE:return"".concat(r,": ").concat(this.toShowHideTypeLabel(t));case Ar.BLINK:return"".concat(r,": ").concat(this.toBlinkTypeLabel(t));case Ar.CHANGE_COLOR:case Ar.CHANGE_COLOR_LEGACY:return"".concat(r,": ").concat(this.toChangeColorTypeLabel(t));case Ar.CHANGE_TEXT:return"".concat(r,": ").concat(this.toChangeTextTypeLabel(t));case Ar.OPEN:return"".concat(r,": ").concat(this.toOpenTypeLabel(t));case Ar.GESTURE:return"".concat(r,": ").concat(this.toGestureTypeLabel(t));case Ar.MISC:return"".concat(r,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,e,r){switch(n){case Ar.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case Ur.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(e));case Ur.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(e));case Ur.RESIZE:return"".concat(u,": ").concat(this.toTransformResizeTypeLabel(e))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Ar.SHOW_HIDE:return"Show / hide";case Ar.BLINK:return"Blink";case Ar.TRANSFORM:return"Transform";case Ar.OPEN:return"Open";case Ar.CHANGE_COLOR:case Ar.CHANGE_COLOR_LEGACY:return"Change color";case Ar.CHANGE_TEXT:return"Change text";case Ar.CHANGE_CURSOR:return"Change cursor";case Ar.EMIT_EVENT:return"Emit an event";case Ar.GESTURE:return"Gesture";case Ar.MISC:return"Misc.";default:return Ar.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case wr.VISIBILITY:return"Visibility";case wr.BRIGHTEN:return"Brighten";case wr.DARKEN:return"Darken";case wr.OPACITY:return"Opacity";case wr.COLOR_FILL:return"Fill";case wr.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case _r.SHAPE_SHOW:return"Show";case _r.SHAPE_HIDE:return"Hide";case _r.SHAPE:return"Shape";case _r.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case Ur.RESIZE:return"Resize";case Ur.MOVE:return"Move";case Ur.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Nr.RELATIVE:return"Relative";case Nr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Pr.RELATIVE_X:return"Relative X";case Pr.RELATIVE_Y:return"Relative Y";case Pr.ABSOLUTE_X:return"Absolute X";case Pr.ABSOLUTE_Y:return"Absolute Y";case Pr.FORWARD_OR_BACKWARD:return"Forward / backward";case Pr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Fr.ABSOLUTE_SIZE:return"Height & width";case Fr.RELATIVE_SIZE:return"Height & width (%)";case Fr.ABSOLUTE_HEIGHT:return"Height";case Fr.RELATIVE_HEIGHT:return"Height (%)";case Fr.ABSOLUTE_WIDTH:return"Width";case Fr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===yr.NONE)return"None";var t="",e="";return n&yr.FILL&&(t+=e+"Fill",e=", "),n&yr.STROKE&&(t+=e+"Stroke",e=", "),n&yr.TEXT&&(t+=e+"Text",e=", "),n&yr.TEXT_OUTLINE&&(t+=e+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case kr.COLOR_AND_ALPHA:return"Color";case kr.COLOR:return"RGB";case kr.ALPHA:return"Alpha";case kr.CODE:return"Dynamic color";case kr.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case Cr.TEXT:return"Text";case Cr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case Mr.DIAGRAM_LEGACY:return"Diagram";case Mr.PAGE_LEGACY:return"Page (New window)";case Mr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mr.DIALOG_TEXT:return"Dialog (Text)";case Mr.DIALOG_INTEGER:return"Dialog (Integer)";case Mr.DIALOG_REAL:return"Dialog (Real)";case Mr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mr.DIALOG_DATE:return"Dialog (Date)";case Mr.DIALOG_TIME:return"Dialog (Time)";case Mr.DIALOG_DATETIME:return"Dialog (Datetime)";case Mr.DIAGRAM:return"Diagram";case Mr.PAGE:return"Page";case Mr.DIALOG:return"Dialog";default:if(Mr.EXTENSION<=n){var t=br.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Sr.TEXT:return"Text";case Sr.INTEGER:return"Integer";case Sr.REAL:return"Real";case Sr.BOOLEAN:return"Boolean";case Sr.DATE:return"Date";case Sr.TIME:return"Time";case Sr.DATETIME:return"Datetime";default:if(Sr.EXTENSION<=n){var t=Wr.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case vr.SHAPE:return"Shape";case vr.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Ir.DRAG:return"Drag";case Ir.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Br.INPUT_TEXT:return"Input (Text)";case Br.INPUT_INTEGER:return"Input (Integer)";case Br.INPUT_REAL:return"Input (Real)";case Br.EMIT_EVENT:return this.toOnInputActionLabel(xr.EMIT_EVENT);case Br.WRITE_BOTH:return this.toOnInputActionLabel(xr.WRITE_BOTH);case Br.WRITE_LOCAL:return this.toOnInputActionLabel(xr.WRITE_LOCAL);case Br.WRITE_REMOTE:return this.toOnInputActionLabel(xr.WRITE_REMOTE);case Br.HTML_ELEMENT:return"HTML element";case Br.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Br.SHOW_HIDE_LAYER:return"Show / hide layers";case Br.GESTURE_LAYER:return"Layer gesture";case Br.GESTURE:return"Gesture";case Br.EXECUTE:return"Execute"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case ft.CLICKED:return"Clicked";case ft.DOUBLE_CLICKED:return"Double clicked";case ft.FOCUSED:return"Focused";case ft.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case xr.EMIT_EVENT:return"Emit event";case xr.WRITE_BOTH:return"Write (Both)";case xr.WRITE_LOCAL:return"Write (Local)";case xr.WRITE_REMOTE:return"Write (Remote)"}},n}(),Rr=function(){t.set("EShapeActionValue",Hr)};const zr=wcardinal.ui.EShapeStrokeSide;var Gr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return zr.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Vr=function(){t.set("EShape",Gr)},Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Or),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return W.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Xr=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=h.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=h.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,h.BACKGROUND_COLOR_ON_BOARD,.5),n}();n.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Kr=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 16},e.prototype.getHeight=function(){return 16},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getImageSource=function(t){return n.mappings.slider_thumb},e.prototype.getImageTintColor=function(n){return Xr.getBackgroundColor(n,!0)},e.prototype.getImageTintAlpha=function(n){return 1},e.prototype.getImageAlignHorizontal=function(){return p.CENTER},e.prototype.getOutlineColor=function(n){return null},e}(F),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Xr.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(F),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Jr),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Jr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:h.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return W.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Or),nu=function(){t.set("DSlider",Or),t.set("DSliderValue",Qr),t.set("DSliderLabel",jr),t.set("DSliderThumb",Kr),t.set("DSliderVertical",$r),t.set("DSliderHorizontal",Yr),t.set("DSliderTrack",Jr),t.set("DSliderTrackVertical",Zr),t.set("DSliderTrackHorizontal",qr)},tu=function(){t.set("DText",Ft)};const eu=wcardinal.ui.DTableState;var ru=function(){function n(){}return n.init=function(){we.init()},n.getImageSource=function(n){return n.is(eu.HAS_CHILDREN)?n.is(eu.OPENED)?we.getImageOpened():we.getImageClosed():null},n}();ru.init();var uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getSecondaryImageSource=function(n){return ru.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(fe),iu=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new uu(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(oe),ou=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new uu(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ou);ru.init();var fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(cu),lu=function(){t.set("DTree",iu),t.set("DTreeItemText",ou),t.set("DTreeItemButton",cu),t.set("DTreeItemNonEditable",fu)};const hu=wcardinal.ui.UtilGestureModifier;var au=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return hu.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return hu.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return hu.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return ie.ON},n.prototype.getGestureModifier=function(){return hu.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),su=function(){t.set("DView",au)},du=function(){Ie.setDefaultThemeClass(t)};n.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var mu=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(n){return null},e.prototype.getImageSource=function(t){return n.mappings.button_color_sample},e.prototype.getTextFormatter=function(){return mu},e.prototype.newTextValue=function(){return{color:16777215,alpha:1}},e}(F),Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Un);const pu=wcardinal.ui.DColorType;var gu=function(n,t){for(var e="<g>",r=0;r<t;++r)for(var u=0;u<n;++u){var i=(u+r)%2==0?"#bfbfbf":"#a5a5a5";e+='<rect x="'.concat(9*u,'" y="').concat(9*r,'" width="9" height="9" fill="').concat(i,'" />')}return e+"</g>"};n.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),n.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),n.add("picker_color_alpha_checkerboard",234,18,gu(26,2)),n.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>'),n.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),n.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" />'),n.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" />'),n.add("picker_color_recent_checkerboard",36,36,gu(4,4),9,9,18,18),n.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),n.add("picker_color_sample_checkerboard",45,63,gu(5,7)),n.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),n.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" />'),n.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" />'),n.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" />'),n.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMainWidth=function(){return 234},e.prototype.getMainHeight=function(){return 162},e.prototype.getMainTexture=function(){return n.mappings.picker_color_main},e.prototype.getMainBaseTexture=function(){return n.mappings.picker_color_main_base},e.prototype.getMainPointerTexture=function(){return n.mappings.picker_color_pointer},e.prototype.getMainPointerColor=function(){return 16777215},e.prototype.getMainPointerAlpha=function(){return 1},e.prototype.getBaseHeight=function(){return 18},e.prototype.getBaseMargin=function(){return 6},e.prototype.getBaseTexture=function(){return n.mappings.picker_color_base},e.prototype.getBasePointerTexture=function(){return n.mappings.picker_color_base_pointer},e.prototype.getBasePointerColor=function(){return 16777215},e.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},e.prototype.getAlphaHeight=function(){return this.getBaseHeight()},e.prototype.getAlphaMargin=function(){return this.getBaseMargin()},e.prototype.getAlphaTexture=function(){return n.mappings.picker_color_alpha},e.prototype.getAlphaCheckerboardTexture=function(){return n.mappings.picker_color_alpha_checkerboard},e.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},e.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},e.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},e.prototype.getRecentMargin=function(){return this.getBaseMargin()},e.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},e.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},e.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},e.prototype.getRecentColorCount=function(){return 10},e.prototype.getRecentCheckerboardTexture=function(){return n.mappings.picker_color_recent_checkerboard},e.prototype.getRecentTexture=function(){return n.mappings.picker_color_recent},e.prototype.getInputMargin=function(){return this.getBaseMargin()},e.prototype.getInputLabelWidth=function(){return 15},e.prototype.getSampleCheckerboardOldTexture=function(){return n.mappings.picker_color_sample_checkerboard},e.prototype.getSampleCheckerboardNewTexture=function(){return n.mappings.picker_color_sample_checkerboard},e.prototype.getSampleOldTexture=function(){return n.mappings.picker_color_sample},e.prototype.getSampleNewTexture=function(){return n.mappings.picker_color_sample},e.prototype.getStandardColorCount=function(){return 80},e.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},e.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},e.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},e.prototype.getStandardTexture=function(){return n.mappings.picker_color_standard},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getInteractive=function(){return u.CHILDREN},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e}(d),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case pu.STANDARD:return"Standard";case pu.CUSTOM:return"Custom"}},t}(Wu),wu=function(){t.set("DPickerColor",bu)},ku=function(){t.set("DDialogColor",Tu),wu()},yu=function(){t.set("DButtonColor",Du),ku()};const Cu=wcardinal.ui.DColorGradientObservable;n.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Iu=function(){return""},vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getViewBaseTexture=function(){return n.mappings.button_color_gradient_sample},e.prototype.getTextFormatter=function(){return Iu},e.prototype.newTextValue=function(){return new Cu},e.prototype.getCheckerColors=function(){return[.75,.65]},e}(F),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Un),xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getGradientPointsWidth=function(){return 30},e.prototype.getGradientPointsMargin=function(){return 24},e.prototype.getGradientAnchorTexture=function(){return n.mappings.picker_color_anchor},e.prototype.getGradientAnchorOutlinedTexture=function(){return n.mappings.picker_color_anchor_outlined},e.prototype.getGradientAnchorOutlineTexture=function(){return n.mappings.picker_color_anchor_outline},e.prototype.getGradientDirectionMargin=function(){return 5},e.prototype.getGradientDirectionTexture=function(){return n.mappings.picker_color_direction},e.prototype.getGradientRecentColumn=function(){return 4},e.prototype.getGradientRecentWidth=function(){return 30},e.prototype.getGradientRecentMargin=function(){return 5},e.prototype.getGradientRecentCount=function(){return 16},e.prototype.getGradientRecents=function(){return[]},e.prototype.getGradientCheckerColors=function(){return[.75,.65]},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getInteractive=function(){return u.CHILDREN},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e}(d),Su=function(){t.set("DPickerColorGradient",xu),wu()},Mu=function(){t.set("DDialogColorGradient",Bu),Su()},Eu=function(){t.set("DButtonColorGradient",vu),Mu()};const _u=wcardinal.ui.DPickerDates;var Lu=function(n){return _u.format(n)},Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return Lu},t.prototype.newTextValue=function(){return new Date},t}(F),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Un);const Nu=wcardinal.ui.DPickerDatetimeMask;var Uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Nu.HOURS|Nu.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(Uu),Hu=["January","February","March","April","May","June","July","August","September","October","November","December"],Ru=["Su","Mo","Tu","We","Th","Fr","Sa"],zu=function(n){return"".concat(Hu[n.getMonth()]," ").concat(n.getFullYear())},Gu=function(){},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDayLabels=function(){return Ru},t.prototype.getLabelFormatter=function(){return zu},t.prototype.getDateDecorator=function(){return Gu},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Nu.DATE|n.prototype.getMask.call(this)},t}(Au),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMask=function(){return Nu.DATE},t}(Vu);n.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 Yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getImageAlignWith=function(){return b.PADDING},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getImageAlignHorizontal=function(){return p.LEFT},e.prototype.getImageSource=function(t){return n.mappings.picker_date_back},e.prototype.getAlpha=function(n){return.9*t.prototype.getAlpha.call(this,n)},e}(v),ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(v);n.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 Xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getImageAlignWith=function(){return b.PADDING},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getImageAlignHorizontal=function(){return p.LEFT},e.prototype.getImageSource=function(t){return n.mappings.picker_date_next},e.prototype.getAlpha=function(n){return.9*t.prototype.getAlpha.call(this,n)},e}(v),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return u.NONE},t}(Ft),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Ft),qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return u.NONE},t}(d),Zu=function(){t.set("DPickerTime",Au)},Qu=function(){t.set("DPickerDatetimeButtonBack",Yu),t.set("DPickerDatetimeButtonDate",ju),t.set("DPickerDatetimeButtonNext",Xu),t.set("DPickerDatetimeLabelDate",Ju),t.set("DPickerDatetimeLabel",Ku),t.set("DPickerDatetimeSpace",qu),t.set("DPickerDatetime",Vu),Zu()},$u=function(){t.set("DPickerDate",Ou),Qu()},ni=function(){t.set("DDialogDate",Fu),$u()},ti=function(){t.set("DButtonDate",Pu),ni()};const ei=wcardinal.ui.DPickerDatetimes;var ri=function(n,t){return ei.format(n,t.getDatetimeMask())},ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return ri},t.prototype.newTextValue=function(){return new Date},t}(F),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Un),oi=function(){t.set("DDialogDatetime",ii),Qu()},ci=function(){t.set("DButtonDatetime",ui),oi()};const fi=wcardinal.ui.toLabel;var li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return fi},t.prototype.newTextValue=function(){return null},t}(F),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ce),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!1,!0)},t.prototype.getCornerMask=function(){return o.NONE},t}(le),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(Nn),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(si),mi=function(){t.set("DDialogSelect",di),t.set("DDialogSelectList",hi),t.set("DDialogSelectListItem",ai)},Di=function(){t.set("DButtonSelect",li),mi()};const Ti=wcardinal.ui.DPickerTimes;var pi=function(n,t){return Ti.format(n,t.getDatetimeMask())},gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return pi},t.prototype.newTextValue=function(){return new Date},t}(F),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Un),bi=function(){t.set("DDialogTime",Wi),Zu()},wi=function(){t.set("DButtonTime",gi),bi()},ki=function(){B(),E(),_(),Eu(),yu(),Di(),P(),ti(),ci(),U(),H(),z(),O(),Y(),X(),wi(),K()},yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(q),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yi),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t.prototype.getLocalBoundsLimit=function(){return 0},t}(J),vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ii),Bi=function(){},xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCurveLabel=function(){return"Curve"},t}(Bi),Si=function(){t.set("EShapePointsFormatter",xi)},Mi=function(){t.set("DDiagram",Ci),t.set("DDiagramCanvas",vi),Si(),Vr()},Ei=function(n,t,e){var r=Math.max(t,e);if(0<n){for(var u=r/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return r},_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Ei},t.prototype.getSnapTargetColor=function(){return h.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Ii),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(yi),Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Li),Fi=function(){t.set("DDiagramEditor",Pi),t.set("DDiagramCanvasEditor",_i),Rr(),Si(),Vr()},Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getCornerMask=function(){return o.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(C);n.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 Ui=function(n,t){return n-34},Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return Ui},e.prototype.getY=function(){return"center"},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},e.prototype.getSecondaryImageAlignVertical=function(){return W.MIDDLE},e.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},e.prototype.getSecondaryImageSource=function(t){return n.mappings.dialog_layered_header_button_close},e}(v),Hi=function(n){return n-1},Ri=function(n){return n-16},zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return Hi},t.prototype.getWidth=function(){return Ri},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return h.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(C),Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Gi),Oi=function(){t.set("DDialogLayeredContent",zn),t.set("DDialogLayeredFooter",Vi),t.set("DDialogLayeredHeaderButtonClose",Ai),t.set("DDialogLayeredHeaderSeparator",zi),t.set("DDialogLayeredHeader",Ni),t.set("DDialogLayered",Nn)},Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ut),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return""},t}(Nn),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(ji),Ki=function(){t.set("DDialogConfirm",Xi),t.set("DDialogConfirmMessage",Yi)},Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Xi),qi=function(){t.set("DDialogConfirmDelete",Ji)},Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Xi),Qi=function(){t.set("DDialogConfirmDiscard",Zi)},$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ji),no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}($i),to=function(){t.set("DDialogMessage",no)};n.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 eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 90},e.prototype.getImageSource=function(t){return t.isSucceeded?n.mappings.success_mark:null},e.prototype.getImageTintAlpha=function(n){return.75},e}(Yi),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(ji),uo=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return uo},t}(ro),oo=function(){t.set("DDialogProcessing",io),t.set("DDialogProcessingMessage",eo)},co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Zn),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(co),lo=function(){t.set("DDialogSaveAs",fo)},ho=function(){Mu(),ku(),qi(),Qi(),Ki(),ni(),oi(),Vn(),jn(),Kn(),qn(),Qn(),Oi(),to(),oo(),lo(),mi(),bi(),$n()},ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isToggle=function(){return!0},t}(F),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(so),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isToggle=function(){return!0},t}(F),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"ON"},t}(Do),po=function(){t.set("DInputBoolean",ao),t.set("DInputBooleanButtonOn",To),t.set("DInputBooleanButtonOff",mo)},go=function(){Tt(),po(),Pt(),Ut(),Rt(),Vt(),te(),ee()};const Wo=wcardinal.ui.DLinkMenuItemId;n.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var bo=function(){function t(){}return t.prototype.getImageSource=function(t){return n.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Wo.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Wo.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Wo.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(bo),ko=function(){t.set("DLink",wo)},yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return u.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return b.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return W.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Co),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),Bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(vo),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(xo),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFontSize=function(){return 18},t}(yo),Eo=function(n){function t(){var t=n.call(this)||this;return t._=Ie.get("DNoteError"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),_o=function(n){function t(){var t=n.call(this)||this;return t._=Ie.get("DNoteNoItemsFound"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),Lo=function(n){function t(){var t=n.call(this)||this;return t._=Ie.get("DNoteSearching"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),Po=function(){t.set("DNote",yo),t.set("DNoteError",Io),t.set("DNoteNoItemsFound",Bo),t.set("DNoteSearching",So),t.set("DNoteSmallError",Eo),t.set("DNoteSmallNoItemsFound",_o),t.set("DNoteSmallSearching",Lo)},Fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return u.BOTH},t}(oe),No=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return o.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),Uo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(eu.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?h.INVALID_BLENDED_ON_BOARD:n.underActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(eu.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(eu.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(eu.END)?i.ALL:i.NOT_RIGHT},n.getColor=function(n){return h.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return o.ALL},t=n,n.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.darken(t.BACKGROUND_COLOR,.015),n.BACKGROUND_COLOR_FROZEN_ODD=l.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.015),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Ao=function(){function t(){}return t.init=function(){n.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 n.mappings.action_mark},t.getImageTintColor=function(n){return Uo.getImageTintColor(n,!0)},t}(),Ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(F);Ao.init();var Ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ho);Ao.init();var zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t}(tt),Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(F);Ao.init();var Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Go),Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getImageTintColor=function(n){return Uo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(C),Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Oo),jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Uo.getImageTintColor(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(S),Xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(Du),Ko=function(n){return _u.format(n)},Jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getTextFormatter=function(){return Ko},t.prototype.newTextValue=function(){return new Date},t}(F),qo=function(n,t){return ei.format(n,t.getDatetimeMask())},Zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getTextFormatter=function(){return qo},t.prototype.newTextValue=function(){return new Date},t}(F),Qo=function(n){return String(Number(n)+1)},$o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Qo},t.prototype.newTextValue=function(){return 0},t}(C),nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(Lt),tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(Ht),ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(zt),rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t}(ne);ru.init();var uc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(zt),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return ru.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(I),cc=function(n){function t(){var t=n.call(this)||this;return t.M=Ie.getInstance().get("DLink"),t}return r(t,n),t.prototype.getImageTintColor=function(n){return Uo.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this.M.getImageSource(n)},t}(Yo),fc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Dr),lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(pr),hc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.TOP},t}(Oo),ac=function(n,t){return Ti.format(n,t.getDatetimeMask())},sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return Uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Uo.getBorderMask(n)},t.prototype.getColor=function(n){return Uo.getColor(n)},t.prototype.getAlpha=function(n){return Uo.getAlpha(n)},t.prototype.getHeight=function(){return Uo.getHeight()},t.prototype.getCornerMask=function(){return Uo.getCornerMask()},t.prototype.getTextFormatter=function(){return ac},t.prototype.newTextValue=function(){return new Date},t}(F);ru.init();var dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return ru.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Yo),mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),Dc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.0125),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(mc),Tc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.055),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return i.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(mc),pc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Tc);n.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),n.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var gc=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.BACKGROUND_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.03),n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.017),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.034),n.BACKGROUND_COLOR_FROZEN=l.darken(n.BACKGROUND_COLOR,.02),n.BORDER_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.055),n.BORDER_COLOR_FROZEN=l.darken(n.BORDER_COLOR,.055),n}return r(e,t),e.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(eu.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(eu.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},e.prototype.getBackgroundAlpha=function(n){return 1},e.prototype.getBorderColor=function(n){return n.is(eu.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},e.prototype.getBorderMask=function(n){return n.is(eu.END)?i.ALL:i.NOT_RIGHT},e.prototype.getTextAlignHorizontal=function(){return p.CENTER},e.prototype.getCornerMask=function(){return o.ALL},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){return null},e.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},e.prototype.getSecondaryImageTintColor=function(n){return n.is(eu.CHECKABLE)?x.getImageTintColor(n):t.prototype.getSecondaryImageTintColor.call(this,n)},e.prototype.getSecondaryImageSource=function(n){return n.is(eu.CHECKABLE)?x.getImageSource(n):null},e.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},e.prototype.getSecondaryImageAlignVertical=function(){return W.MIDDLE},e.prototype.getSecondaryImageAlignWith=function(){return b.TEXT},e.prototype.getTertiaryImageSource=function(t){return t.is(eu.SORTED_ASCENDING)?n.mappings.sorted_ascending:t.is(eu.SORTED_DESCENDING)?n.mappings.sorted_descending:null},e.prototype.getTertiaryImageTintColor=function(n){return t.prototype.getImageTintColor.call(this,n)},e.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getTertiaryImageAlignWith=function(){return b.BORDER},e.prototype.getCursor=function(n){return n.isActionable&&(n.is(eu.CHECKABLE)||n.is(eu.SORTABLE))?"pointer":""},e}(ut),Wc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(gc),bc=function(){t.set("DTableBodyCellActionDialog",Ro),t.set("DTableBodyCellActionMenu",zo),t.set("DTableBodyCellActionPromise",Vo),t.set("DTableBodyCellButton",Yo),t.set("DTableBodyCellCheck",jo),t.set("DTableBodyCellColor",Xo),t.set("DTableBodyCellDate",Jo),t.set("DTableBodyCellDatetime",Zo),t.set("DTableBodyCellIndex",$o),t.set("DTableBodyCellInputInteger",nc),t.set("DTableBodyCellInputReal",tc),t.set("DTableBodyCellInputTextArea",rc),t.set("DTableBodyCellInputText",ec),t.set("DTableBodyCellInputTreeMarker",oc),t.set("DTableBodyCellInputTreeInput",ic),t.set("DTableBodyCellInputTree",uc),t.set("DTableBodyCellLink",cc),t.set("DTableBodyCellSelectDialog",Ho),t.set("DTableBodyCellSelectMenu",fc),t.set("DTableBodyCellSelectMultiple",lc),t.set("DTableBodyCellSelectPromise",Go),t.set("DTableBodyCellTextArea",hc),t.set("DTableBodyCellText",Oo),t.set("DTableBodyCellTree",dc),t.set("DTableBodyCellTime",sc),t.set("DTableBodyRow",Dc),t.set("DTableBody",No),t.set("DTableCategoryCell",Wc),t.set("DTableCategory",pc),t.set("DTableHeaderCell",gc),t.set("DTableHeader",Tc),t.set("DTableRow",mc),t.set("DTable",Fo),_(),yu(),ti(),ci(),Pt(),Rt(),te(),ee(),mi(),Fe()},wc=function(){du(),m(),T(),ki(),su(),Z(),In(),xn(),Fi(),Mi(),ho(),ot(),st(),dt(),go(),ue(),ko(),ae(),lu(),Ne(),Qe(),Fe(),Po(),sr(),cr(),Su(),wu(),$u(),Qu(),Zu(),gr(),bc(),tu(),nu()},kc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ji),yc={__proto__:null,loadThemeWhiteBase:m,loadThemeWhiteBoard:T,loadThemeWhiteButtonAmbient:B,loadThemeWhiteButtonCheckRight:E,loadThemeWhiteButtonCheck:_,loadThemeWhiteButtonDanger:P,loadThemeWhiteButtonFile:U,loadThemeWhiteButtonLink:H,loadThemeWhiteButtonPrimary:z,loadThemeWhiteButtonRadioRight:O,loadThemeWhiteButtonRadio:Y,loadThemeWhiteButtonSecondary:X,loadThemeWhiteButton:K,loadThemeWhiteCanvasContainer:Z,loadThemeWhiteChart:In,loadThemeWhiteColor:xn,loadThemeWhiteDialogFitted:Vn,loadThemeWhiteDialogInputBoolean:jn,loadThemeWhiteDialogInputInteger:Kn,loadThemeWhiteDialogInputReal:qn,loadThemeWhiteDialogInputText:Qn,loadThemeWhiteDialog:$n,loadThemeWhiteDropdown:et,loadThemeWhiteExpandable:ot,loadThemeWhiteHtmlElement:st,loadThemeWhiteImage:dt,loadThemeWhiteInputAndLabel:Tt,loadThemeWhiteInputInteger:Pt,loadThemeWhiteInputLabel:Ut,loadThemeWhiteInputReal:Rt,loadThemeWhiteInputSearch:Vt,loadThemeWhiteInputTextArea:te,loadThemeWhiteInputText:ee,loadThemeWhiteLayout:ue,loadThemeWhiteList:ae,loadThemeWhiteMenuBar:Ne,loadThemeWhiteMenuSided:Qe,loadThemeWhiteMenu:Fe,loadThemeWhitePagination:cr,loadThemeWhitePane:sr,loadThemeWhiteScrollBar:ar,loadThemeWhiteSelect:gr,loadThemeWhiteShapeActionValue:Rr,loadThemeWhiteShape:Vr,loadThemeWhiteSlider:nu,loadThemeWhiteText:tu,loadThemeWhiteTree:lu,loadThemeWhiteView:su,loadThemeWhite:du,loadThemeWhiteEnUsAll:wc,loadThemeWhiteEnUsButtonAll:ki,loadThemeWhiteEnUsButtonColorGradient:Eu,loadThemeWhiteEnUsButtonColor:yu,loadThemeWhiteEnUsButtonDate:ti,loadThemeWhiteEnUsButtonDatetime:ci,loadThemeWhiteEnUsButtonSelect:Di,loadThemeWhiteEnUsButtonTime:wi,loadThemeWhiteEnUsDiagramEditor:Fi,loadThemeWhiteEnUsDiagram:Mi,loadThemeWhiteEnUsDialogAll:ho,loadThemeWhiteEnUsDialogColorGradient:Mu,loadThemeWhiteEnUsDialogColor:ku,loadThemeWhiteEnUsDialogConfirmDelete:qi,loadThemeWhiteEnUsDialogConfirmDiscard:Qi,loadThemeWhiteEnUsDialogConfirm:Ki,loadThemeWhiteEnUsDialogDate:ni,loadThemeWhiteEnUsDialogDatetime:oi,loadThemeWhiteEnUsDialogLayered:Oi,loadThemeWhiteEnUsDialogMessage:to,loadThemeWhiteEnUsDialogProcessing:oo,loadThemeWhiteEnUsDialogSaveAs:lo,loadThemeWhiteEnUsDialogSelect:mi,loadThemeWhiteEnUsDialogTime:bi,loadThemeWhiteEnUsInputAll:go,loadThemeWhiteEnUsInputBoolean:po,loadThemeWhiteEnUsLink:ko,loadThemeWhiteEnUsNote:Po,loadThemeWhiteEnUsPickerColorGradient:Su,loadThemeWhiteEnUsPickerColor:wu,loadThemeWhiteEnUsPickerDate:$u,loadThemeWhiteEnUsPickerDatetime:Qu,loadThemeWhiteEnUsPickerTime:Zu,loadThemeWhiteEnUsShapePointsFormatter:Si,loadThemeWhiteEnUsTable:bc,DThemeWhiteAtlas:n,DThemeWhiteBase:d,DThemeWhiteBoard:D,DThemeWhiteButtonAmbient:v,DThemeWhiteButtonBase:I,DThemeWhiteButtonCheckRight:M,DThemeWhiteButtonCheck:S,DThemeWhiteButtonChecks:x,DThemeWhiteButtonColorGradient:vu,DThemeWhiteButtonColor:Du,DThemeWhiteButtonDanger:L,DThemeWhiteButtonDate:Pu,DThemeWhiteButtonDatetime:ui,DThemeWhiteButtonFile:N,DThemeWhiteButtonLink:A,DThemeWhiteButtonPrimary:R,DThemeWhiteButtonRadioRight:V,DThemeWhiteButtonRadio:G,DThemeWhiteButtonSecondary:j,DThemeWhiteButtonSelect:li,DThemeWhiteButtonTime:gi,DThemeWhiteButton:F,DThemeWhiteCanvasContainer:q,DThemeWhiteCanvas:J,DThemeWhiteChartAxisBase:un,DThemeWhiteChartAxisXDatetime:fn,DThemeWhiteChartAxisX:on,DThemeWhiteChartAxisY:ln,DThemeWhiteChartCoordinateTick:an,DThemeWhiteChartCoordinateTransform:sn,DThemeWhiteChartCoordinate:hn,DThemeWhiteChartLegendItem:mn,DThemeWhiteChartLegend:dn,DThemeWhiteChartOverview:Dn,DThemeWhiteChartPlotArea:Tn,DThemeWhiteChartSelectionGridlineX:wn,DThemeWhiteChartSelectionGridlineY:kn,DThemeWhiteChartSelectionMarker:Cn,DThemeWhiteChartSelectionShape:bn,DThemeWhiteChart:Q,DThemeWhiteColorRecent:vn,DThemeWhiteColorStandard:Bn,DThemeWhiteConstants:h,DThemeWhiteContent:fr,DThemeWhiteDiagramBase:yi,DThemeWhiteDiagramCanvasBase:Ii,DThemeWhiteDiagramCanvasEditor:_i,DThemeWhiteDiagramCanvas:vi,DThemeWhiteDiagramEditor:Li,DThemeWhiteDiagram:Ci,DThemeWhiteDialogColorGradient:Bu,DThemeWhiteDialogColor:Tu,DThemeWhiteDialogConfirmDelete:kc,DThemeWhiteDialogConfirmMessage:Yi,DThemeWhiteDialogConfirm:ji,DThemeWhiteDialogDate:Fu,DThemeWhiteDialogDatetime:ii,DThemeWhiteDialogFittedContent:Gn,DThemeWhiteDialogFitted:Un,DThemeWhiteDialogInputBoolean:Yn,DThemeWhiteDialogInputInteger:Xn,DThemeWhiteDialogInputReal:Jn,DThemeWhiteDialogInputText:Zn,DThemeWhiteDialogInput:On,DThemeWhiteDialogLayeredContent:zn,DThemeWhiteDialogLayeredFooter:Gi,DThemeWhiteDialogLayeredHeaderButtonClose:Ai,DThemeWhiteDialogLayeredHeaderSeparator:zi,DThemeWhiteDialogLayeredHeader:Ni,DThemeWhiteDialogLayered:Nn,DThemeWhiteDialogMessage:$i,DThemeWhiteDialogProcessingMessage:eo,DThemeWhiteDialogProcessing:ro,DThemeWhiteDialogSaveAs:co,DThemeWhiteDialogSelectListItem:ai,DThemeWhiteDialogSelectList:hi,DThemeWhiteDialogSelect:si,DThemeWhiteDialogTime:Wi,DThemeWhiteDialog:Fn,DThemeWhiteDropdownBase:nt,DThemeWhiteDropdown:tt,DThemeWhiteExpandableHeader:it,DThemeWhiteExpandable:rt,DThemeWhiteExpandables:we,DThemeWhiteFont:a,DThemeWhiteHtmlElement:at,DThemeWhiteImageBase:C,DThemeWhiteImage:ut,DThemeWhiteInputAndLabel:Dt,DThemeWhiteInputBooleanButtonOff:so,DThemeWhiteInputBooleanButtonOn:Do,DThemeWhiteInputBoolean:ao,DThemeWhiteInputInput:Mt,DThemeWhiteInputInteger:Lt,DThemeWhiteInputLabel:Nt,DThemeWhiteInputNumber:Et,DThemeWhiteInputReal:Ht,DThemeWhiteInputSearch:Gt,DThemeWhiteInputTextArea:ne,DThemeWhiteInputText:zt,DThemeWhiteInput:Wt,DThemeWhiteLayoutHorizontal:mt,DThemeWhiteLayoutSpace:re,DThemeWhiteLayoutVertical:Rn,DThemeWhiteLayout:Hn,DThemeWhiteLink:bo,DThemeWhiteListItemAmbient:he,DThemeWhiteListItem:le,DThemeWhiteListItems:fe,DThemeWhiteList:ce,DThemeWhiteMenuBarItem:de,DThemeWhiteMenuBar:se,DThemeWhiteMenuItemBase:De,DThemeWhiteMenuItemCheck:ge,DThemeWhiteMenuItemExpandableBody:be,DThemeWhiteMenuItemExpandableHeader:ke,DThemeWhiteMenuItemExpandableItemCheck:ye,DThemeWhiteMenuItemExpandableItemLink:Be,DThemeWhiteMenuItemExpandableItemMenu:Se,DThemeWhiteMenuItemExpandableItemSeparator:Ee,DThemeWhiteMenuItemExpandableItemSpace:Le,DThemeWhiteMenuItemExpandableItemText:Pe,DThemeWhiteMenuItemExpandable:We,DThemeWhiteMenuItemLink:ve,DThemeWhiteMenuItemMenu:xe,DThemeWhiteMenuItemSeparator:Me,DThemeWhiteMenuItemSpace:_e,DThemeWhiteMenuItemText:pe,DThemeWhiteMenuItem:Te,DThemeWhiteMenuSidedContent:Ae,DThemeWhiteMenuSidedItemCheck:He,DThemeWhiteMenuSidedItemExpandableItemCheck:ze,DThemeWhiteMenuSidedItemExpandableItemLink:Ge,DThemeWhiteMenuSidedItemExpandableItemMenu:Ve,DThemeWhiteMenuSidedItemExpandableItemSeparator:Oe,DThemeWhiteMenuSidedItemExpandableItemSpace:Ye,DThemeWhiteMenuSidedItemExpandableItemText:je,DThemeWhiteMenuSidedItemExpandable:Re,DThemeWhiteMenuSidedItemLink:Xe,DThemeWhiteMenuSidedItemMenu:Ke,DThemeWhiteMenuSidedItemSeparator:Je,DThemeWhiteMenuSidedItemSpace:qe,DThemeWhiteMenuSidedItemText:Ze,DThemeWhiteMenuSided:Ue,DThemeWhiteMenu:me,DThemeWhiteNoteError:Co,DThemeWhiteNoteNoItemsFound:vo,DThemeWhiteNoteSearching:xo,DThemeWhiteNoteSmallError:Eo,DThemeWhiteNoteSmallNoItemsFound:_o,DThemeWhiteNoteSmallSearching:Lo,DThemeWhiteNoteSmall:Mo,DThemeWhiteNote:yo,DThemeWhitePaginationButtonLast:tr,DThemeWhitePaginationButtonNext:er,DThemeWhitePaginationButtonPage:rr,DThemeWhitePaginationButtonPrevious:ur,DThemeWhitePaginationButtonTop:ir,DThemeWhitePaginationDots:nr,DThemeWhitePaginationPage:or,DThemeWhitePagination:$e,DThemeWhitePane:oe,DThemeWhitePickerColorGradient:xu,DThemeWhitePickerColor:Wu,DThemeWhitePickerDatetimeButtonBack:Yu,DThemeWhitePickerDatetimeButtonDate:ju,DThemeWhitePickerDatetimeButtonNext:Xu,DThemeWhitePickerDatetimeLabelDate:Ju,DThemeWhitePickerDatetimeLabel:Ku,DThemeWhitePickerDatetimeSpace:qu,DThemeWhitePickerTime:Uu,DThemeWhiteScrollBarThumb:hr,DThemeWhiteScrollBar:lr,DThemeWhiteSelectMultiple:pr,DThemeWhiteSelect:Dr,DThemeWhiteSliderHorizontal:Yr,DThemeWhiteSliderLabel:jr,DThemeWhiteSliderThumb:Kr,DThemeWhiteSliderTrackHorizontal:qr,DThemeWhiteSliderTrackVertical:Zr,DThemeWhiteSliderTrack:Jr,DThemeWhiteSliderValue:Qr,DThemeWhiteSliderVertical:$r,DThemeWhiteSlider:Or,DThemeWhiteSliders:Xr,DThemeWhiteTableBodyCellActionDialog:Ro,DThemeWhiteTableBodyCellActionMenu:zo,DThemeWhiteTableBodyCellActionPromise:Vo,DThemeWhiteTableBodyCellActions:Ao,DThemeWhiteTableBodyCellButton:Yo,DThemeWhiteTableBodyCellCheck:jo,DThemeWhiteTableBodyCellColor:Xo,DThemeWhiteTableBodyCellDate:Jo,DThemeWhiteTableBodyCellDatetime:Zo,DThemeWhiteTableBodyCellIndex:$o,DThemeWhiteTableBodyCellInputInteger:nc,DThemeWhiteTableBodyCellInputReal:tc,DThemeWhiteTableBodyCellInputTextArea:rc,DThemeWhiteTableBodyCellInputText:ec,DThemeWhiteTableBodyCellInputTreeInput:ic,DThemeWhiteTableBodyCellInputTreeMarker:oc,DThemeWhiteTableBodyCellInputTree:uc,DThemeWhiteTableBodyCellLink:cc,DThemeWhiteTableBodyCellSelectDialog:Ho,DThemeWhiteTableBodyCellSelectMenu:fc,DThemeWhiteTableBodyCellSelectMultiple:lc,DThemeWhiteTableBodyCellSelectPromise:Go,DThemeWhiteTableBodyCellTextArea:hc,DThemeWhiteTableBodyCellText:Oo,DThemeWhiteTableBodyCellTime:sc,DThemeWhiteTableBodyCellTree:dc,DThemeWhiteTableBodyCellTrees:ru,DThemeWhiteTableBodyCells:Uo,DThemeWhiteTableBodyRow:Dc,DThemeWhiteTableBody:No,DThemeWhiteTableCategoryCell:Wc,DThemeWhiteTableCategory:pc,DThemeWhiteTableHeaderCell:gc,DThemeWhiteTableHeader:Tc,DThemeWhiteTableRow:mc,DThemeWhiteTable:Fo,DThemeWhiteTextBase:y,DThemeWhiteText:Ft,DThemeWhiteTreeItemButton:cu,DThemeWhiteTreeItemNonEditable:fu,DThemeWhiteTreeItemText:ou,DThemeWhiteTreeItems:uu,DThemeWhiteTree:iu,DThemeWhiteView:au,DThemeWhite:t,EThemeWhiteShapeActionValue:Hr,EThemeWhiteShapePointsFormatter:Bi,EThemeWhiteShape:Gr,DThemeWhiteEnUsDiagramEditor:Pi,DThemeWhiteEnUsDialogConfirmDelete:Ji,DThemeWhiteEnUsDialogConfirmDiscard:Zi,DThemeWhiteEnUsDialogConfirm:Xi,DThemeWhiteEnUsDialogLayeredFooter:Vi,DThemeWhiteEnUsDialogMessage:no,DThemeWhiteEnUsDialogProcessing:io,DThemeWhiteEnUsDialogSaveAs:fo,DThemeWhiteEnUsDialogSelect:di,DThemeWhiteEnUsInputBooleanButtonOff:mo,DThemeWhiteEnUsInputBooleanButtonOn:To,DThemeWhiteEnUsLink:wo,DThemeWhiteEnUsNoteError:Io,DThemeWhiteEnUsNoteNoItemsFound:Bo,DThemeWhiteEnUsNoteSearching:So,DThemeWhiteEnUsPickerColor:bu,DThemeWhiteEnUsPickerDate:Ou,DThemeWhiteEnUsPickerDatetime:Vu,DThemeWhiteEnUsPickerTime:Au,EThemeWhiteEnUsShapePointsFormatter:xi};wc();var Cc=window;Cc.wcardinal=Cc.wcardinal||{};var Ic=Cc.wcardinal.ui=Cc.wcardinal.ui||{},vc=yc;for(var Bc in vc)Ic[Bc]=vc[Bc]}();
|
|
9
|
+
!function(){"use strict";var n=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(1024,1,3),t=function(){function t(){this.t={}}return t.prototype.get=function(n){var e=this.t[n];if(null!=e)return e;var r=t.u[n];if(null!=r)return this.t[n]=new r;throw new Error("No theme for the type '".concat(n,"'"))},t.prototype.set=function(n,t){return this.t[n]=t,this},t.prototype.getClass=function(n){var e=t.u[n];if(null!=e)return e;throw new Error("No theme for the type '".concat(n,"'"))},t.prototype.setClass=function(n,e){return t.u[n]=e,this},t.prototype.getAtlas=function(){return n},t.set=function(n,t){this.u[n]=t},t.u={},t}(),e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(n,t)};function r(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const u=wcardinal.ui.DBaseInteractive,i=wcardinal.ui.DBorderMask,o=wcardinal.ui.DCornerMask,c=wcardinal.ui.DLayoutClearType,f=wcardinal.ui.DShadowImpl,l=wcardinal.ui.UtilRgb;var h=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=l.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=l.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=l.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),a=function(){function n(){}return n.prototype.getFontFamilly=function(){return'"Helvetica Neue","Helvetica","Hiragino Sans","Hiragino Kaku Gothic ProN","BIZ UDPGothic","Arial","Yu Gothic","Meiryo",sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return h.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),s=function(t,e,r){var u=2*e;n.add(t,u,u,"<g><defs>"+'<radialGradient id="'.concat(t,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*r,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*r,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*r,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*r,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*r,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*r,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*r,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*r,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(t,'_filter)"/>')+"</g>")};s("shadow_weak",24,.3),s("shadow",48,.3),n.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 d=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 0},e.prototype.getHeight=function(){return 100},e.prototype.getWidth=function(){return 100},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBackgroundAlpha=function(n){return 1},e.prototype.getBackgroundTexture=function(){return n.mappings.background},e.prototype.getBorderColor=function(n){return null},e.prototype.getBorderAlpha=function(n){return 1},e.prototype.getBorderWidth=function(n){return 1},e.prototype.getBorderAlign=function(n){return 0},e.prototype.getBorderMask=function(n){return i.NONE},e.prototype.getBorderTexture=function(){return n.mappings.background},e.prototype.getPaddingLeft=function(){return 0},e.prototype.getPaddingRight=function(){return 0},e.prototype.getPaddingTop=function(){return 0},e.prototype.getPaddingBottom=function(){return 0},e.prototype.getCornerRadius=function(){return 3},e.prototype.getCornerMask=function(){return o.NONE},e.prototype.getOutlineColor=function(n){return h.HIGHLIGHT_COLOR},e.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},e.prototype.getOutlineWidth=function(n){return 1},e.prototype.getOutlineOffset=function(n){return 0},e.prototype.getOutlineAlign=function(n){return 0},e.prototype.getOutlineMask=function(n){return i.NONE},e.prototype.getClearType=function(){return c.NONE},e.prototype.getShadow=function(){return null},e.prototype.getInteractive=function(){return u.SELF},e.prototype.newState=function(n){},e.prototype.getTitle=function(){return""},e.prototype.getWeight=function(){return-1},e.prototype.newShadow=function(){return new f(n.mappings.shadow,48,48,0,4.8)},e.prototype.newShadowWeak=function(){return new f(n.mappings.shadow_weak,24,24,0,2.4)},e.prototype.getCursor=function(n){return""},e}(a),m=function(){t.set("DBase",d)},D=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return u.BOTH},t}(d),T=function(){t.set("DBoard",D)};const p=wcardinal.ui.DAlignHorizontal,g=wcardinal.ui.DButtonBaseWhen,W=wcardinal.ui.DAlignVertical,b=wcardinal.ui.DAlignWith,w=wcardinal.ui.DDynamicTextStyleWordWrap,k=wcardinal.ui.toString;var y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return w.NONE},t.prototype.getTextFormatter=function(){return k},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(d),v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return W.MIDDLE},t.prototype.getImageAlignWith=function(){return b.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageRotation=function(n){return 0},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getSecondaryImageRotation=function(n){return this.getImageRotation(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageRotation=function(n){return this.getImageRotation(n)},t}(y),C=function(n){function t(t,e,r){void 0===t&&(t=16777215),void 0===e&&(e=.017),void 0===r&&(r=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=l.darken(t,e),u.BACKGROUND_COLOR_PRESSED=l.darken(t,r),u.OUTLINE_COLOR=l.brighten(t,.75),u}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return g.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(v),I=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?h.HIGHLIGHT_COLOR:h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*h.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return h.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(C),B=function(){t.set("DButtonAmbient",I)};n.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>'),n.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 x=function(){function t(){}return t.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},t.getImageSource=function(t){return t.isActive?n.mappings.button_check_mark_on:n.mappings.button_check_mark_off},t}();n.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>'),n.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(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return x.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return x.getImageSource(n)},t}(I),M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(S),E=function(){t.set("DButtonCheckRight",M)},_=function(){t.set("DButtonCheck",S)},L=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t}(C),P=function(){t.set("DButtonDanger",L)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(C),U=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(F),N=function(){t.set("DButtonFile",U)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(I),H=function(){t.set("DButtonLink",A)},R=function(n){function t(){return n.call(this,h.HIGHLIGHT_COLOR,.1,.2)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):h.ACTIVE_COLOR},t}(C),z=function(){t.set("DButtonPrimary",R)};n.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>'),n.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 G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},e.prototype.getColor=function(n){return h.COLOR},e.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.WEAK_HIGHLIGHT_ALPHA:0},e.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},e.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},e.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},e.prototype.isToggle=function(){return!0},e.prototype.getImageSource=function(t){return t.isActive?n.mappings.button_radio_mark_on:n.mappings.button_radio_mark_off},e}(I),V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t}(G),O=function(){t.set("DButtonRadioRight",V)},q=function(){t.set("DButtonRadio",G)},Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(C),j=function(){t.set("DButtonSecondary",Y)},X=function(){t.set("DButton",F)},K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getInteractive=function(){return u.BOTH},t}(d),Z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.getCornerMask=function(){return o.ALL},t}(d),J=function(){t.set("DCanvasContainer",Z),t.set("DCanvas",K)},Q=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const $=wcardinal.ui.DChartAxisPosition,nn=wcardinal.ui.DChartAxisTickPosition,tn=wcardinal.ui.EShapeTextAlignHorizontal,en=wcardinal.ui.EShapeTextAlignVertical,rn=wcardinal.ui.EShapeTextDirection;var un=function(){function n(){}return n.prototype.getPosition=function(){return $.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case $.TOP:case $.BOTTOM:return tn.CENTER;case $.LEFT:return tn.OUTSIDE_LEFT;case $.RIGHT:return tn.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case $.TOP:return en.OUTSIDE_TOP;case $.BOTTOM:return en.OUTSIDE_BOTTOM;case $.LEFT:case $.RIGHT:return en.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return rn.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return nn.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case $.TOP:case $.BOTTOM:return tn.CENTER;case $.LEFT:return tn.OUTSIDE_LEFT;case $.RIGHT:return tn.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case $.TOP:return en.OUTSIDE_TOP;case $.BOTTOM:return en.OUTSIDE_BOTTOM;case $.LEFT:case $.RIGHT:return en.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return rn.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return nn.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),on=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(un),cn=function(n,t,e){var r=Math.abs(t-n)/e;if(r<=10)return r<=1.33?1:r<=2.86?2:r<=6.67?5:10;if(r<=100)return r<=13.33?10:r<=28.57?20:r<=66.67?50:100;if(r<=1e3)return r<=133.33?100:r<=285.71?200:r<=666.67?500:1e3;if(r<=1e4)return r<=1333.33?1e3:r<=2857.14?2e3:r<=6666.66?5e3:1e4;if(r<=12e4)return r<=13333.33?1e4:r<=24e3?2e4:r<=4e4?3e4:r<=72e3?6e4:r<=102857.14?9e4:12e4;if(r<=108e5)return r<=171428.57?12e4:r<=4e5?3e5:r<=8e5?6e5:r<=144e4?12e5:r<=24e5?18e5:r<=432e4?36e5:r<=6171428.57?54e5:r<=8e6?72e5:r<=9818181.82?9e6:108e5;var u=36e5,i=r/u;if(i<=24)return i<=1.33?u:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return cn},t}(on),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPosition=function(){return $.LEFT},t.prototype.getLabelDirection=function(){return rn.BOTTOM_TO_TOP},t}(un),hn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),an=function(){function n(){}return n.prototype.toStep=function(n,t,e){var r=Math.abs(t-n)/e,u=Math.floor(Math.log(r)/Math.LN10),i=Math.pow(10,u),o=r/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),sn=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),Dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(d),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(d);const pn=wcardinal.ui.EShapeStrokeStyle,gn=wcardinal.ui.EShapeBar,Wn=wcardinal.ui.EShapeBarPosition;var bn=function(){},wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=Wn.TOP,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(bn),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new gn;return t.points.position=Wn.LEFT,t.stroke.style=pn.DASHED,t.stroke.alpha=.75,t},t}(bn);const yn=wcardinal.ui.EShapeCircle;var vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new yn;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(bn),Cn=function(){t.set("DChart",Q),t.set("DChartAxisX",on),t.set("DChartAxisXDatetime",fn),t.set("DChartAxisY",ln),t.set("DChartCoordinate",hn),t.set("DChartCoordinateTick",an),t.set("DChartCoordinateTransform",sn),t.set("DChartLegend",dn),t.set("DChartLegendItem",mn),t.set("DChartOverview",Dn),t.set("DChartPlotArea",Tn),t.set("DChartSelectionGridlineX",wn),t.set("DChartSelectionGridlineY",kn),t.set("DChartSelectionMarker",vn)},In=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Bn=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(l.brighten(n[t],.75));for(t=10;t<20;++t)n.push(l.brighten(n[t],.45));for(t=10;t<20;++t)n.push(l.brighten(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.15));for(t=10;t<20;++t)n.push(l.darken(n[t],.45));for(t=10;t<20;++t)n.push(l.darken(n[t],.75));return n},n}(),xn=function(){t.set("DColorRecent",In),t.set("DColorStandard",Bn)};const Sn=wcardinal.ui.DAnimationFadeIn,Mn=wcardinal.ui.DDialogAlign,En=wcardinal.ui.DDialogCloseOn,_n=wcardinal.ui.DDialogGestureMode,Ln=wcardinal.ui.DDialogMode,Pn=wcardinal.ui.DDialogState;var Fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMode=function(){return Ln.MODAL},t.prototype.closeOn=function(n){switch(n){case Ln.MODAL:case Ln.MENU:return En.ESC|En.CLICK_OUTSIDE;case Ln.MODELESS:return En.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Ln.MODAL:case Ln.MODELESS:return!0;case Ln.MENU:return!1}},t.prototype.getGestureMode=function(n){return _n.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return Mn.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Ln.MODAL:return new Sn;case Ln.MODELESS:case Ln.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(Pn.MENU)?h.BACKGROUND_COLOR_ON_BOARD:h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(Pn.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return u.BOTH},t}(d),Un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(Fn),Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t}(Un);const An=wcardinal.ui.DLayoutDirection;var Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return An.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(d),Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDirection=function(){return An.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Hn),zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Rn),Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t}(zn),Vn=function(){t.set("DDialogFittedContent",Gn),t.set("DDialogFitted",Nn)},On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(Un),qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Yn=function(){t.set("DDialogInputBoolean",qn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Xn=function(){t.set("DDialogInputInteger",jn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Zn=function(){t.set("DDialogInputReal",Kn)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(On),Qn=function(){t.set("DDialogInputText",Jn)},$n=function(){t.set("DDialog",Fn)};n.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var nt=function(t){function e(){return t.call(this,h.BACKGROUND_COLOR_ON_BOARD)||this}return r(e,t),e.prototype.getSecondaryImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},e.prototype.getSecondaryImageMarginHorizontal=function(){return-20},e.prototype.getPaddingLeft=function(){return 25},e.prototype.getPaddingRight=function(){return 25},e.prototype.getSecondaryImageSource=function(t){return n.mappings.dropdown_mark},e}(C),tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return""},t}(nt),et=function(){t.set("DDropdown",tt)},rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(v);n.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>'),n.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 it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return o.ALL},t}(ut),ot=function(){t.set("DExpandableHeader",it),t.set("DExpandable",rt)};const ct=wcardinal.ui.DHtmlElementState,ft=wcardinal.ui.UtilHtmlElementWhen;var lt=function(){return null},ht=function(n){var t=document.createElement("div");return n.appendChild(t),t},at=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getElementCreator=function(){return lt},t.prototype.setElementStyle=function(n,t,e,r,u,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,r,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,e)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(ct.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var e=n.x-t.x,r=n.y-t.y;return"left:".concat(e,"px; top:").concat(r,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,e,r){return"position: absolute;"+this.getElementStylePositionPosition(t,r)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(e)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var e=t.id;return"-webkit-clip-path: url(#".concat(e,"); clip-path: url(#").concat(e,");")}return""},t.prototype.getClipperCreator=function(){return ht},t.prototype.setClipperStyle=function(n,t,e,r,u,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return ht},t.prototype.setBeforeStyle=function(n){n.setAttribute("style","overflow: hidden; outline: none;padding: 0; margin: 0; border: none; background-color: transparent;position: absolute; left: 0; top: 0; width: 0; height: 0; line-height: 0;"),n.setAttribute("tabindex","0")},t.prototype.getAfterCreator=function(){return ht},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return ft.FOCUSED},t.prototype.getSelect=function(){return!1},t}(v),st=function(){t.set("DHtmlElement",at)},dt=function(){t.set("DImage",ut)},mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDirection=function(){return An.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Hn),Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(mt),Tt=function(){t.set("DInputAndLabel",Dt)},pt=function(){return null},gt=function(n){return n},Wt=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=l.darken(t.BACKGROUND_COLOR,.017),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?h.INVALID_COLOR:h.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return gt},t.prototype.getEditingValidator=function(){return pt},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1.5px solid transparent; box-sizing: border-box;"},t}(at),bt="d-theme-white-input-input",wt="".concat(bt,"-element"),kt=function(n){var t=n.getElementsByClassName(wt);if(0<t.length)return t[0];var e=document.createElement("input");return e.setAttribute("spellcheck","false"),e.setAttribute("class",wt),n.appendChild(e),e},yt=function(n,t){var e=n.getElementsByClassName(t);if(0<e.length)return e[0];var r=document.createElement("div");return r.setAttribute("class",t),n.appendChild(r),r},vt="".concat(bt,"-clipper"),Ct=function(n){return yt(n,vt)},It="".concat(bt,"-before"),Bt=function(n){return yt(n,It)},xt="".concat(bt,"-after"),St=function(n){return yt(n,xt)},Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getElementCreator=function(){return kt},t.prototype.getClipperCreator=function(){return Ct},t.prototype.getBeforeCreator=function(){return Bt},t.prototype.getAfterCreator=function(){return St},t}(Wt),Et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(Mt),_t=function(n){var t=parseInt(n,10);return t==t?t:0},Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getEditingUnformatter=function(){return _t},t}(Et),Pt=function(){t.set("DInputInteger",Lt)},Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Ft),Nt=function(){t.set("DInputLabel",Ut)},At=function(n){var t=parseFloat(n);return t==t?t:0},Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getEditingUnformatter=function(){return At},t}(Et),Rt=function(){t.set("DInputReal",Ht)},zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return""},t}(Mt);n.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 Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getPaddingRight=function(){return 31},e.prototype.getImageSource=function(t){return n.mappings.input_search},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 6},e}(zt),Vt=function(){t.set("DInputSearch",Gt)},Ot="d-theme-white-input-text-area",qt="".concat(Ot,"-element"),Yt=function(n){var t=n.getElementsByClassName(qt);if(0<t.length)return t[0];var e=document.createElement("textarea");return e.setAttribute("spellcheck","false"),e.setAttribute("class",qt),n.appendChild(e),e},jt=function(n,t){var e=n.getElementsByClassName(t);if(0<e.length)return e[0];var r=document.createElement("div");return r.setAttribute("class",t),n.appendChild(r),r},Xt="".concat(Ot,"-clipper"),Kt=function(n){return jt(n,Xt)},Zt="".concat(Ot,"-before"),Jt=function(n){return jt(n,Zt)},Qt="".concat(Ot,"-after"),$t=function(n){return jt(n,Qt)},ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.TOP},t.prototype.getTextStyleWordWrap=function(){return w.NORMAL},t.prototype.getElementCreator=function(){return Yt},t.prototype.getClipperCreator=function(){return Kt},t.prototype.getBeforeCreator=function(){return Jt},t.prototype.getAfterCreator=function(){return $t},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case w.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Wt),te=function(){t.set("DInputTextArea",ne)},ee=function(){t.set("DInputText",zt)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return c.BOTH},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ue=function(){t.set("DLayout",Hn),t.set("DLayoutHorizontal",mt),t.set("DLayoutSpace",re),t.set("DLayoutVertical",Rn)};const ie=wcardinal.ui.UtilGestureMode;var oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return ie.TOUCH},t}(d),ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(oe),fe=function(){function n(n,t,e){this.i=t,null!=n?(this.o=n,this.l=1,this.h=l.darken(n,.0175),this.m=1,this.D=l.blend(n,h.INVALID_COLOR,h.INVALID_ALPHA),this.T=1,this.p=e?h.HIGHLIGHT_COLOR:l.blend(n,h.HIGHLIGHT_COLOR,h.HIGHLIGHT_ALPHA),this.g=1,this.W=l.blend(n,h.WEAK_HIGHLIGHT_COLOR,h.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=h.INVALID_COLOR,this.T=h.INVALID_ALPHA,this.p=h.HIGHLIGHT_COLOR,this.g=e?1:h.HIGHLIGHT_ALPHA,this.W=h.WEAK_HIGHLIGHT_COLOR,this.k=h.WEAK_HIGHLIGHT_ALPHA),this.v=h.COLOR,this.C=e?h.ACTIVE_COLOR:h.COLOR,e?(this.I=h.COLOR,this.B=h.ACTIVE_COLOR):(this.I=h.COLOR,this.B=h.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.p:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.T:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return i.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.I},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.v:this.C},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return o.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),le=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),he=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!1,!0)},t}(le),ae=function(){t.set("DListItemAmbient",he),t.set("DListItem",le),t.set("DList",ce)},se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(mt),de=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.HIGHLIGHT_COLOR:n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(F),me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Rn),De=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?h.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return h.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?h.COLOR:n.isActive?this.getColorActive(n):h.COLOR},t.prototype.getColorActive=function(n){return h.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return p.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ut),Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return h.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(De),pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(Te);n.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>'),n.add("menu_item_mark_check_inactive",14,14,"<g></g>");var ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getBackgroundColorActive=function(n){return n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},e.prototype.getBackgroundAlphaActive=function(n){return h.WEAK_HIGHLIGHT_ALPHA},e.prototype.getColorActive=function(n){return h.COLOR},e.prototype.getImageSource=function(t){return t.isActive?n.mappings.menu_item_mark_check_active:n.mappings.menu_item_mark_check_inactive},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageMarginHorizontal=function(){return 7},e}(pe),We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return o.ALL},t}(Rn),we=function(){function t(){}return t.init=function(){n.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>'),n.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 n.mappings.expandable_opened},t.getImageClosed=function(){return n.mappings.expandable_closed},t}();we.init();var ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?we.getImageOpened():we.getImageClosed()},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(De),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(ge);const ve=wcardinal.ui.DBaseState,Ce=wcardinal.ui.DThemes;var Ie=function(n){function t(){var t=n.call(this)||this;return t.M=Ce.getInstance().get("DLink"),t}return r(t,n),t.prototype.getImageSource=function(n){return n.is(ve.NEW_WINDOW)?this.M.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t}(pe),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Ie);n.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 xe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageSource=function(t){return n.mappings.menu_item_mark_next},e.prototype.getImageAlignWith=function(){return b.BORDER},e.prototype.getImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getImageMarginHorizontal=function(){return 12},e}(Te),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(xe),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBorderColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return u.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(De),Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Me),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(re),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(_e),Pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(pe),Fe=function(){t.set("DMenu",me),t.set("DMenuItem",Te),t.set("DMenuItemCheck",ge),t.set("DMenuItemLink",Ie),t.set("DMenuItemMenu",xe),t.set("DMenuItemSeparator",Me),t.set("DMenuItemSpace",_e),t.set("DMenuItemText",pe),t.set("DMenuItemExpandableBody",be),t.set("DMenuItemExpandableHeader",ke),t.set("DMenuItemExpandableItemCheck",ye),t.set("DMenuItemExpandableItemLink",Be),t.set("DMenuItemExpandableItemMenu",Se),t.set("DMenuItemExpandableItemSeparator",Ee),t.set("DMenuItemExpandableItemSpace",Le),t.set("DMenuItemExpandableItemText",Pe),t.set("DMenuItemExpandable",We)},Ue=function(){t.set("DMenuBarItem",de),t.set("DMenuBar",se),Fe()},Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t}(oe),Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Rn),He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ge),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(We),ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(ye),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Be),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Se),Oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Ee),qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Le),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Pe),je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Ie),Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(xe),Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Me),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(_e),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(pe),Qe=function(){t.set("DMenuSided",Ne),t.set("DMenuSidedContent",Ae),t.set("DMenuSidedItemCheck",He),t.set("DMenuSidedItemLink",je),t.set("DMenuSidedItemMenu",Xe),t.set("DMenuSidedItemSeparator",Ke),t.set("DMenuSidedItemSpace",Ze),t.set("DMenuSidedItemText",Je),t.set("DMenuSidedItemExpandable",Re),t.set("DMenuSidedItemExpandableItemCheck",ze),t.set("DMenuSidedItemExpandableItemLink",Ge),t.set("DMenuSidedItemExpandableItemMenu",Ve),t.set("DMenuSidedItemExpandableItemSeparator",Oe),t.set("DMenuSidedItemExpandableItemSpace",qe),t.set("DMenuSidedItemExpandableItemText",Ye)},$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(mt);n.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 nr=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.getInteractive=function(){return u.NONE},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e.prototype.getImageSource=function(t){return n.mappings.pagination_dots},e.prototype.getImageAlignHorizontal=function(){return p.CENTER},e.prototype.getImageAlignWith=function(){return b.BORDER},e}(v);n.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 tr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_last},e}(I);n.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 er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_next},e}(I),rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(I);n.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 ur=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_previous},e}(I);n.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 ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return 30},e.prototype.getImageSource=function(t){return n.mappings.pagination_button_top},e}(I),or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t}(v),cr=function(){t.set("DPagination",$e),t.set("DPaginationPage",or),t.set("DPaginationDots",nr),t.set("DPaginationButtonLast",tr),t.set("DPaginationButtonNext",er),t.set("DPaginationButtonPage",rr),t.set("DPaginationButtonPrevious",ur),t.set("DPaginationButtonTop",ir)},fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(d),hr=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=l.darken(h.WEAK_HIGHLIGHT_COLOR,.25),t.BORDER_COLOR_DISABLED=l.brighten(t.BORDER_COLOR,.75),t.BORDER_COLOR_HOVERED=l.brighten(t.BORDER_COLOR,.25),t.BORDER_COLOR_OTHER=l.brighten(t.BORDER_COLOR,.5),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return n.inDisabled?this.BORDER_COLOR_DISABLED:n.isHovered||n.isGesturing?this.BORDER_COLOR_HOVERED:this.BORDER_COLOR_OTHER},t.prototype.getBorderAlpha=function(n){return 1},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),ar=function(){t.set("DScrollBar",lr),t.set("DScrollBarThumb",hr)},sr=function(){t.set("DPane",oe),t.set("DContent",fr),ar()};const dr=wcardinal.ui.isString;var mr=function(n){if(n){var t=n.text;if(dr(t))return t;if(null!=t){var e=t(n.state);if(null!=e)return e}}return""},Dr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return mr},t.prototype.newTextValue=function(){return null},t}(nt),Tr=function(n){if(n){for(var t="",e="",r=0,u=n.length;r<u;++r){var i=n[r],o=i.text;if(dr(o))t+=e+o,e=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=e+c,e=", ")}}return t}return""},pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return Tr},t.prototype.newTextValue=function(){return[]},t}(nt),gr=function(){t.set("DSelectMultiple",pr),t.set("DSelect",Dr),et()};const Wr=wcardinal.ui.EShapeActionOpenDialogExtensions,br=wcardinal.ui.EShapeActionOpenExtensions,wr=wcardinal.ui.EShapeActionValueBlinkType,kr=wcardinal.ui.EShapeActionValueChangeColorTarget,yr=wcardinal.ui.EShapeActionValueChangeColorType,vr=wcardinal.ui.EShapeActionValueChangeTextType,Cr=wcardinal.ui.EShapeActionValueGestureOperationType,Ir=wcardinal.ui.EShapeActionValueGestureType,Br=wcardinal.ui.EShapeActionValueMiscType,xr=wcardinal.ui.EShapeActionValueOnInputAction,Sr=wcardinal.ui.EShapeActionValueOpenDialogType,Mr=wcardinal.ui.EShapeActionValueOpenType,Er=wcardinal.ui.EShapeActionValueOpetyped,_r=wcardinal.ui.EShapeActionValueShowHideType,Lr=wcardinal.ui.EShapeActionValueSubtyped,Pr=wcardinal.ui.EShapeActionValueTransformMoveType,Fr=wcardinal.ui.EShapeActionValueTransformResizeType,Ur=wcardinal.ui.EShapeActionValueTransformRotateType,Nr=wcardinal.ui.EShapeActionValueTransformType,Ar=wcardinal.ui.EShapeActionValueType;var Hr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof Lr){var e,r=n.subtype;if(n instanceof Er){if(null!=(e=this.toOpetypedLabel(t,r,n.opetype,n)))return e}else if(null!=(e=this.toSubtypedLabel(t,r,n)))return e}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,e){var r=this.toTypeLabel(n);switch(n){case Ar.SHOW_HIDE:return"".concat(r,": ").concat(this.toShowHideTypeLabel(t));case Ar.BLINK:return"".concat(r,": ").concat(this.toBlinkTypeLabel(t));case Ar.CHANGE_COLOR:case Ar.CHANGE_COLOR_LEGACY:return"".concat(r,": ").concat(this.toChangeColorTypeLabel(t));case Ar.CHANGE_TEXT:return"".concat(r,": ").concat(this.toChangeTextTypeLabel(t));case Ar.OPEN:return"".concat(r,": ").concat(this.toOpenTypeLabel(t));case Ar.GESTURE:return"".concat(r,": ").concat(this.toGestureTypeLabel(t));case Ar.MISC:return"".concat(r,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,e,r){switch(n){case Ar.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case Nr.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(e));case Nr.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(e));case Nr.RESIZE:return"".concat(u,": ").concat(this.toTransformResizeTypeLabel(e))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Ar.SHOW_HIDE:return"Show / hide";case Ar.BLINK:return"Blink";case Ar.TRANSFORM:return"Transform";case Ar.OPEN:return"Open";case Ar.CHANGE_COLOR:case Ar.CHANGE_COLOR_LEGACY:return"Change color";case Ar.CHANGE_TEXT:return"Change text";case Ar.CHANGE_CURSOR:return"Change cursor";case Ar.EMIT_EVENT:return"Emit an event";case Ar.GESTURE:return"Gesture";case Ar.MISC:return"Misc.";default:return Ar.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case wr.VISIBILITY:return"Visibility";case wr.BRIGHTEN:return"Brighten";case wr.DARKEN:return"Darken";case wr.OPACITY:return"Opacity";case wr.COLOR_FILL:return"Fill";case wr.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case _r.SHAPE_SHOW:return"Show";case _r.SHAPE_HIDE:return"Hide";case _r.SHAPE:return"Shape";case _r.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case Nr.RESIZE:return"Resize";case Nr.MOVE:return"Move";case Nr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Ur.RELATIVE:return"Relative";case Ur.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Pr.RELATIVE_X:return"Relative X";case Pr.RELATIVE_Y:return"Relative Y";case Pr.ABSOLUTE_X:return"Absolute X";case Pr.ABSOLUTE_Y:return"Absolute Y";case Pr.FORWARD_OR_BACKWARD:return"Forward / backward";case Pr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case Fr.ABSOLUTE_SIZE:return"Height & width";case Fr.RELATIVE_SIZE:return"Height & width (%)";case Fr.ABSOLUTE_HEIGHT:return"Height";case Fr.RELATIVE_HEIGHT:return"Height (%)";case Fr.ABSOLUTE_WIDTH:return"Width";case Fr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===yr.NONE)return"None";var t="",e="";return n&yr.FILL&&(t+=e+"Fill",e=", "),n&yr.STROKE&&(t+=e+"Stroke",e=", "),n&yr.TEXT&&(t+=e+"Text",e=", "),n&yr.TEXT_OUTLINE&&(t+=e+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case kr.COLOR_AND_ALPHA:return"Color";case kr.COLOR:return"RGB";case kr.ALPHA:return"Alpha";case kr.CODE:return"Dynamic color";case kr.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case vr.TEXT:return"Text";case vr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case Mr.DIAGRAM_LEGACY:return"Diagram";case Mr.PAGE_LEGACY:return"Page (New window)";case Mr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case Mr.DIALOG_TEXT:return"Dialog (Text)";case Mr.DIALOG_INTEGER:return"Dialog (Integer)";case Mr.DIALOG_REAL:return"Dialog (Real)";case Mr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case Mr.DIALOG_DATE:return"Dialog (Date)";case Mr.DIALOG_TIME:return"Dialog (Time)";case Mr.DIALOG_DATETIME:return"Dialog (Datetime)";case Mr.DIAGRAM:return"Diagram";case Mr.PAGE:return"Page";case Mr.DIALOG:return"Dialog";default:if(Mr.EXTENSION<=n){var t=br.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Sr.TEXT:return"Text";case Sr.INTEGER:return"Integer";case Sr.REAL:return"Real";case Sr.BOOLEAN:return"Boolean";case Sr.DATE:return"Date";case Sr.TIME:return"Time";case Sr.DATETIME:return"Datetime";default:if(Sr.EXTENSION<=n){var t=Wr.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case Ir.SHAPE:return"Shape";case Ir.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case Cr.DRAG:return"Drag";case Cr.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case Br.INPUT_TEXT:return"Input (Text)";case Br.INPUT_INTEGER:return"Input (Integer)";case Br.INPUT_REAL:return"Input (Real)";case Br.EMIT_EVENT:return this.toOnInputActionLabel(xr.EMIT_EVENT);case Br.WRITE_BOTH:return this.toOnInputActionLabel(xr.WRITE_BOTH);case Br.WRITE_LOCAL:return this.toOnInputActionLabel(xr.WRITE_LOCAL);case Br.WRITE_REMOTE:return this.toOnInputActionLabel(xr.WRITE_REMOTE);case Br.HTML_ELEMENT:return"HTML element";case Br.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case Br.SHOW_HIDE_LAYER:return"Show / hide layers";case Br.GESTURE_LAYER:return"Layer gesture";case Br.GESTURE:return"Gesture";case Br.EXECUTE:return"Execute"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case ft.CLICKED:return"Clicked";case ft.DOUBLE_CLICKED:return"Double clicked";case ft.FOCUSED:return"Focused";case ft.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case xr.EMIT_EVENT:return"Emit event";case xr.WRITE_BOTH:return"Write (Both)";case xr.WRITE_LOCAL:return"Write (Local)";case xr.WRITE_REMOTE:return"Write (Remote)"}},n}(),Rr=function(){t.set("EShapeActionValue",Hr)};const zr=wcardinal.ui.EShapeStrokeSide;var Gr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return zr.ALL},n.prototype.getStrokeStyle=function(){return pn.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Vr=function(){t.set("EShape",Gr)},Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(d),qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Or),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return W.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),jr=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=h.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=l.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=h.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=l.blend(n.BACKGROUND_COLOR,h.BACKGROUND_COLOR_ON_BOARD,.5),n}();n.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Xr=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 16},e.prototype.getHeight=function(){return 16},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getImageSource=function(t){return n.mappings.slider_thumb},e.prototype.getImageTintColor=function(n){return jr.getBackgroundColor(n,!0)},e.prototype.getImageTintAlpha=function(n){return 1},e.prototype.getImageAlignHorizontal=function(){return p.CENTER},e.prototype.getOutlineColor=function(n){return null},e}(F),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return jr.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(F),Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Kr),Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Kr),Qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:h.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextAlignVertical=function(){return W.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(Or),nu=function(){t.set("DSlider",Or),t.set("DSliderValue",Qr),t.set("DSliderLabel",Yr),t.set("DSliderThumb",Xr),t.set("DSliderVertical",$r),t.set("DSliderHorizontal",qr),t.set("DSliderTrack",Kr),t.set("DSliderTrackVertical",Jr),t.set("DSliderTrackHorizontal",Zr)},tu=function(){t.set("DText",Ft)};const eu=wcardinal.ui.DTableState;var ru=function(){function n(){}return n.init=function(){we.init()},n.getImageSource=function(n){return n.is(eu.HAS_CHILDREN)?n.is(eu.OPENED)?we.getImageOpened():we.getImageClosed():null},n}();ru.init();var uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getSecondaryImageSource=function(n){return ru.getImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.getColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(fe),iu=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new uu(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(oe),ou=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return r(t,n),t.prototype.newStyle=function(){return new uu(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(v),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(ou);ru.init();var fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(cu),lu=function(){t.set("DTree",iu),t.set("DTreeItemText",ou),t.set("DTreeItemButton",cu),t.set("DTreeItemNonEditable",fu)};const hu=wcardinal.ui.UtilGestureModifier;var au=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return hu.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return hu.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return hu.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return ie.ON},n.prototype.getGestureModifier=function(){return hu.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),su=function(){t.set("DView",au)},du=function(){Ce.setDefaultThemeClass(t)};n.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var mu=function(n){return"#".concat(l.toCode(n.color)," A").concat(n.alpha.toFixed(2))},Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getImageTintColor=function(n){return null},e.prototype.getImageSource=function(t){return n.mappings.button_color_sample},e.prototype.getTextFormatter=function(){return mu},e.prototype.newTextValue=function(){return{color:16777215,alpha:1}},e}(F),Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Nn);const pu=wcardinal.ui.DColorType;var gu=function(n,t){for(var e="<g>",r=0;r<t;++r)for(var u=0;u<n;++u){var i=(u+r)%2==0?"#bfbfbf":"#a5a5a5";e+='<rect x="'.concat(9*u,'" y="').concat(9*r,'" width="9" height="9" fill="').concat(i,'" />')}return e+"</g>"};n.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),n.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),n.add("picker_color_alpha_checkerboard",234,18,gu(26,2)),n.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>'),n.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),n.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" />'),n.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" />'),n.add("picker_color_recent_checkerboard",36,36,gu(4,4),9,9,18,18),n.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),n.add("picker_color_sample_checkerboard",45,63,gu(5,7)),n.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),n.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" />'),n.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" />'),n.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" />'),n.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var Wu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getMainWidth=function(){return 234},e.prototype.getMainHeight=function(){return 162},e.prototype.getMainTexture=function(){return n.mappings.picker_color_main},e.prototype.getMainBaseTexture=function(){return n.mappings.picker_color_main_base},e.prototype.getMainPointerTexture=function(){return n.mappings.picker_color_pointer},e.prototype.getMainPointerColor=function(){return 16777215},e.prototype.getMainPointerAlpha=function(){return 1},e.prototype.getBaseHeight=function(){return 18},e.prototype.getBaseMargin=function(){return 6},e.prototype.getBaseTexture=function(){return n.mappings.picker_color_base},e.prototype.getBasePointerTexture=function(){return n.mappings.picker_color_base_pointer},e.prototype.getBasePointerColor=function(){return 16777215},e.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},e.prototype.getAlphaHeight=function(){return this.getBaseHeight()},e.prototype.getAlphaMargin=function(){return this.getBaseMargin()},e.prototype.getAlphaTexture=function(){return n.mappings.picker_color_alpha},e.prototype.getAlphaCheckerboardTexture=function(){return n.mappings.picker_color_alpha_checkerboard},e.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},e.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},e.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},e.prototype.getRecentMargin=function(){return this.getBaseMargin()},e.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},e.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},e.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},e.prototype.getRecentColorCount=function(){return 10},e.prototype.getRecentCheckerboardTexture=function(){return n.mappings.picker_color_recent_checkerboard},e.prototype.getRecentTexture=function(){return n.mappings.picker_color_recent},e.prototype.getInputMargin=function(){return this.getBaseMargin()},e.prototype.getInputLabelWidth=function(){return 15},e.prototype.getSampleCheckerboardOldTexture=function(){return n.mappings.picker_color_sample_checkerboard},e.prototype.getSampleCheckerboardNewTexture=function(){return n.mappings.picker_color_sample_checkerboard},e.prototype.getSampleOldTexture=function(){return n.mappings.picker_color_sample},e.prototype.getSampleNewTexture=function(){return n.mappings.picker_color_sample},e.prototype.getStandardColorCount=function(){return 80},e.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},e.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},e.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},e.prototype.getStandardTexture=function(){return n.mappings.picker_color_standard},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getInteractive=function(){return u.CHILDREN},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e}(d),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.toColorTypeLabel=function(n){switch(n){case pu.STANDARD:return"Standard";case pu.CUSTOM:return"Custom"}},t}(Wu),wu=function(){t.set("DPickerColor",bu)},ku=function(){t.set("DDialogColor",Tu),wu()},yu=function(){t.set("DButtonColor",Du),ku()};const vu=wcardinal.ui.DColorGradientObservable;n.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var Cu=function(){return""},Iu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getViewBaseTexture=function(){return n.mappings.button_color_gradient_sample},e.prototype.getTextFormatter=function(){return Cu},e.prototype.newTextValue=function(){return new vu},e.prototype.getCheckerColors=function(){return[.75,.65]},e}(F),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Nn),xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getGradientPointsWidth=function(){return 30},e.prototype.getGradientPointsMargin=function(){return 24},e.prototype.getGradientAnchorTexture=function(){return n.mappings.picker_color_anchor},e.prototype.getGradientAnchorOutlinedTexture=function(){return n.mappings.picker_color_anchor_outlined},e.prototype.getGradientAnchorOutlineTexture=function(){return n.mappings.picker_color_anchor_outline},e.prototype.getGradientDirectionMargin=function(){return 5},e.prototype.getGradientDirectionTexture=function(){return n.mappings.picker_color_direction},e.prototype.getGradientRecentColumn=function(){return 4},e.prototype.getGradientRecentWidth=function(){return 30},e.prototype.getGradientRecentMargin=function(){return 5},e.prototype.getGradientRecentCount=function(){return 16},e.prototype.getGradientRecents=function(){return[]},e.prototype.getGradientCheckerColors=function(){return[.75,.65]},e.prototype.getBackgroundColor=function(n){return null},e.prototype.getBorderColor=function(n){return null},e.prototype.getInteractive=function(){return u.CHILDREN},e.prototype.newState=function(n){t.prototype.newState.call(this,n),n.isFocusable=!1},e}(d),Su=function(){t.set("DPickerColorGradient",xu),wu()},Mu=function(){t.set("DDialogColorGradient",Bu),Su()},Eu=function(){t.set("DButtonColorGradient",Iu),Mu()};const _u=wcardinal.ui.DPickerDates;var Lu=function(n){return _u.format(n)},Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return Lu},t.prototype.newTextValue=function(){return new Date},t}(F),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Nn);const Uu=wcardinal.ui.DPickerDatetimeMask;var Nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getMask=function(){return Uu.HOURS|Uu.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(d),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t}(Nu),Hu=["January","February","March","April","May","June","July","August","September","October","November","December"],Ru=["Su","Mo","Tu","We","Th","Fr","Sa"],zu=function(n){return"".concat(Hu[n.getMonth()]," ").concat(n.getFullYear())},Gu=function(){},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDayLabels=function(){return Ru},t.prototype.getLabelFormatter=function(){return zu},t.prototype.getDateDecorator=function(){return Gu},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getDayStart=function(){return 0},t.prototype.getMask=function(){return Uu.DATE|n.prototype.getMask.call(this)},t}(Au),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMask=function(){return Uu.DATE},t}(Vu);n.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 qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getImageAlignWith=function(){return b.PADDING},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getImageAlignHorizontal=function(){return p.LEFT},e.prototype.getImageSource=function(t){return n.mappings.picker_date_back},e.prototype.getAlpha=function(n){return.9*t.prototype.getAlpha.call(this,n)},e}(I),Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(I);n.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 ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getWidth=function(){return"auto"},e.prototype.getImageAlignWith=function(){return b.PADDING},e.prototype.getImageMarginHorizontal=function(){return 0},e.prototype.getImageAlignHorizontal=function(){return p.LEFT},e.prototype.getImageSource=function(t){return n.mappings.picker_date_next},e.prototype.getAlpha=function(n){return.9*t.prototype.getAlpha.call(this,n)},e}(I),Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return u.NONE},t}(Ft),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Ft),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return u.NONE},t}(d),Ju=function(){t.set("DPickerTime",Au)},Qu=function(){t.set("DPickerDatetimeButtonBack",qu),t.set("DPickerDatetimeButtonDate",Yu),t.set("DPickerDatetimeButtonNext",ju),t.set("DPickerDatetimeLabelDate",Ku),t.set("DPickerDatetimeLabel",Xu),t.set("DPickerDatetimeSpace",Zu),t.set("DPickerDatetime",Vu),Ju()},$u=function(){t.set("DPickerDate",Ou),Qu()},ni=function(){t.set("DDialogDate",Fu),$u()},ti=function(){t.set("DButtonDate",Pu),ni()};const ei=wcardinal.ui.DPickerDatetimes;var ri=function(n,t){return ei.format(n,t.getDatetimeMask())},ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return ri},t.prototype.newTextValue=function(){return new Date},t}(F),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Nn),oi=function(){t.set("DDialogDatetime",ii),Qu()},ci=function(){t.set("DButtonDatetime",ui),oi()};const fi=wcardinal.ui.toLabel;var li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return fi},t.prototype.newTextValue=function(){return null},t}(F),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ce),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newStyle=function(){return new fe(null,!1,!0)},t.prototype.getCornerMask=function(){return o.NONE},t}(le),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isDismissable=function(){return!1},t.prototype.isCategoryDismissable=function(){return!0},t}(Un),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDismissLabel=function(){return"None"},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(si),mi=function(){t.set("DDialogSelect",di),t.set("DDialogSelectList",hi),t.set("DDialogSelectListItem",ai)},Di=function(){t.set("DButtonSelect",li),mi()};const Ti=wcardinal.ui.DPickerTimes;var pi=function(n,t){return Ti.format(n,t.getDatetimeMask())},gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextFormatter=function(){return pi},t.prototype.newTextValue=function(){return new Date},t}(F),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Nn),bi=function(){t.set("DDialogTime",Wi),Ju()},wi=function(){t.set("DButtonTime",gi),bi()},ki=function(){B(),E(),_(),Eu(),yu(),Di(),P(),ti(),ci(),N(),H(),z(),O(),q(),j(),wi(),X()},yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(Z),vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yi),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t.prototype.getLocalBoundsLimit=function(){return 0},t}(K),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ci),Bi=function(){},xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCurveLabel=function(){return"Curve"},t}(Bi),Si=function(){t.set("EShapePointsFormatter",xi)},Mi=function(){t.set("DDiagram",vi),t.set("DDiagramCanvas",Ii),Si(),Vr()},Ei=function(n,t,e){var r=Math.max(t,e);if(0<n){for(var u=r/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return r},_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return pn.DASHED|pn.NON_SCALING},t.prototype.getSnapGridMinorColor=function(){return this.getSnapGridMajorColor()},t.prototype.getSnapGridMinorAlpha=function(){return.125},t.prototype.getSnapGridMinorWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapGridMinorStyle=function(){return this.getSnapGridMajorStyle()},t.prototype.getSnapGridSize=function(){return Ei},t.prototype.getSnapTargetColor=function(){return h.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Ci),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t}(yi),Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Li),Fi=function(){t.set("DDiagramEditor",Pi),t.set("DDiagramCanvasEditor",_i),Rr(),Si(),Vr()},Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getCornerMask=function(){return o.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(v);n.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 Ni=function(n,t){return n-34},Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getX=function(){return Ni},e.prototype.getY=function(){return"center"},e.prototype.getWidth=function(){return 30},e.prototype.getHeight=function(){return 30},e.prototype.getSecondaryImageAlignHorizontal=function(){return p.CENTER},e.prototype.getSecondaryImageAlignVertical=function(){return W.MIDDLE},e.prototype.getSecondaryImageAlignWith=function(){return b.PADDING},e.prototype.getSecondaryImageSource=function(t){return n.mappings.dialog_layered_header_button_close},e}(I),Hi=function(n){return n-1},Ri=function(n){return n-16},zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return Hi},t.prototype.getWidth=function(){return Ri},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return h.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return u.NONE},t.prototype.newState=function(n){n.isFocusable=!1},t}(v),Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isButtonSpaceLeftEnabled=function(){return!0},t.prototype.isButtonSpaceRightEnabled=function(){return!0},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(mt),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t}(Gi),Oi=function(){t.set("DDialogLayeredContent",zn),t.set("DDialogLayeredFooter",Vi),t.set("DDialogLayeredHeaderButtonClose",Ai),t.set("DDialogLayeredHeaderSeparator",zi),t.set("DDialogLayeredHeader",Ui),t.set("DDialogLayered",Un)},qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(ut),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return""},t}(Un),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t}(Yi),Xi=function(){t.set("DDialogConfirm",ji),t.set("DDialogConfirmMessage",qi)},Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(ji),Zi=function(){t.set("DDialogConfirmDelete",Ki)},Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(ji),Qi=function(){t.set("DDialogConfirmDiscard",Ji)},$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Yi),no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}($i),to=function(){t.set("DDialogMessage",no)};n.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 eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getHeight=function(){return 90},e.prototype.getImageSource=function(t){return t.isSucceeded?n.mappings.success_mark:null},e.prototype.getImageTintAlpha=function(n){return.75},e}(qi),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Yi),uo=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return uo},t}(ro),oo=function(){t.set("DDialogProcessing",io),t.set("DDialogProcessingMessage",eo)},co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Jn),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(co),lo=function(){t.set("DDialogSaveAs",fo)},ho=function(){Mu(),ku(),Zi(),Qi(),Xi(),ni(),oi(),Vn(),Yn(),Xn(),Zn(),Qn(),Oi(),to(),oo(),lo(),mi(),bi(),$n()},ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(mt),so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isToggle=function(){return!0},t}(F),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"OFF"},t}(so),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.isToggle=function(){return!0},t}(F),To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"ON"},t}(Do),po=function(){t.set("DInputBoolean",ao),t.set("DInputBooleanButtonOn",To),t.set("DInputBooleanButtonOff",mo)},go=function(){Tt(),po(),Pt(),Nt(),Rt(),Vt(),te(),ee()};const Wo=wcardinal.ui.DLinkMenuItemId;n.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var bo=function(){function t(){}return t.prototype.getImageSource=function(t){return n.mappings.link_mark},t.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Wo.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Wo.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Wo.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},t}(),wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLabelOpenLink=function(){return"Open"},t.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in New Window"},t.prototype.getLabelCopyLinkAddress=function(){return"Copy Link Address"},t}(bo),ko=function(){t.set("DLink",wo)},yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return p.CENTER},t.prototype.getInteractive=function(){return u.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return b.TEXT},t.prototype.getImageAlignHorizontal=function(){return p.LEFT},t.prototype.getImageAlignVertical=function(){return W.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),Co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(vo),Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),Bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Io),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(yo),So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(xo),Mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getFontSize=function(){return 18},t}(yo),Eo=function(n){function t(){var t=n.call(this)||this;return t._=Ce.get("DNoteError"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),_o=function(n){function t(){var t=n.call(this)||this;return t._=Ce.get("DNoteNoItemsFound"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),Lo=function(n){function t(){var t=n.call(this)||this;return t._=Ce.get("DNoteSearching"),t}return r(t,n),t.prototype.newTextValue=function(){return this._.newTextValue()},t}(Mo),Po=function(){t.set("DNote",yo),t.set("DNoteError",Co),t.set("DNoteNoItemsFound",Bo),t.set("DNoteSearching",So),t.set("DNoteSmallError",Eo),t.set("DNoteSmallNoItemsFound",_o),t.set("DNoteSmallSearching",Lo)},Fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return u.BOTH},t}(oe),Uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return o.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(d),No=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(eu.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?h.INVALID_BLENDED_ON_BOARD:n.underActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(eu.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(eu.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(eu.END)?i.ALL:i.NOT_RIGHT},n.getColor=function(n){return h.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return o.ALL},t=n,n.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=l.darken(t.BACKGROUND_COLOR,.015),n.BACKGROUND_COLOR_FROZEN_ODD=l.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.015),n.BORDER_COLOR=l.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=l.darken(t.BORDER_COLOR,.035),n}(),Ao=function(){function t(){}return t.init=function(){n.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 n.mappings.action_mark},t.getImageTintColor=function(n){return No.getImageTintColor(n,!0)},t}(),Ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(F);Ao.init();var Ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ho);Ao.init();var zo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t}(tt),Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(F);Ao.init();var Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getImageTintColor=function(n){return Ao.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Ao.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Go),Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getImageTintColor=function(n){return No.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(v),qo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Oo),Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getImageTintColor=function(n){return No.getImageTintColor(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(S),jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(Du),Xo=function(n){return _u.format(n)},Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getTextFormatter=function(){return Xo},t.prototype.newTextValue=function(){return new Date},t}(F),Zo=function(n,t){return ei.format(n,t.getDatetimeMask())},Jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getTextFormatter=function(){return Zo},t.prototype.newTextValue=function(){return new Date},t}(F),Qo=function(n){return String(Number(n)+1)},$o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Qo},t.prototype.newTextValue=function(){return 0},t}(v),nc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(Lt),tc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignHorizontal=function(){return p.RIGHT},t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(Ht),ec=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(zt),rc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t}(ne);ru.init();var uc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return u.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(d),ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(zt),oc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getImageAlignWith=function(){return b.BORDER},t.prototype.getImageAlignHorizontal=function(){return p.RIGHT},t.prototype.getImageSource=function(n){return ru.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(C),cc=function(n){function t(){var t=n.call(this)||this;return t.M=Ce.getInstance().get("DLink"),t}return r(t,n),t.prototype.getImageTintColor=function(n){return No.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return this.M.getImageSource(n)},t}(qo),fc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Dr),lc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(pr),hc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getTextAlignVertical=function(){return W.TOP},t}(Oo),ac=function(n,t){return Ti.format(n,t.getDatetimeMask())},sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBackgroundColor=function(n){return No.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return No.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return No.getBorderColor(n)},t.prototype.getBorderMask=function(n){return No.getBorderMask(n)},t.prototype.getColor=function(n){return No.getColor(n)},t.prototype.getAlpha=function(n){return No.getAlpha(n)},t.prototype.getHeight=function(){return No.getHeight()},t.prototype.getCornerMask=function(){return No.getCornerMask()},t.prototype.getTextFormatter=function(){return ac},t.prototype.newTextValue=function(){return new Date},t}(F);ru.init();var dc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return b.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return ru.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(qo),mc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return o.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return u.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(mt),Dc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.0125),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(mc),Tc=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.055),t}return r(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return i.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(mc),pc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Tc);n.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),n.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var gc=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.BACKGROUND_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.03),n.BACKGROUND_COLOR_HOVERED=l.darken(n.BACKGROUND_COLOR,.017),n.BACKGROUND_COLOR_PRESSED=l.darken(n.BACKGROUND_COLOR,.034),n.BACKGROUND_COLOR_FROZEN=l.darken(n.BACKGROUND_COLOR,.02),n.BORDER_COLOR=l.darken(h.BACKGROUND_COLOR_ON_BOARD,.055),n.BORDER_COLOR_FROZEN=l.darken(n.BORDER_COLOR,.055),n}return r(e,t),e.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(eu.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(eu.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},e.prototype.getBackgroundAlpha=function(n){return 1},e.prototype.getBorderColor=function(n){return n.is(eu.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},e.prototype.getBorderMask=function(n){return n.is(eu.END)?i.ALL:i.NOT_RIGHT},e.prototype.getTextAlignHorizontal=function(){return p.CENTER},e.prototype.getCornerMask=function(){return o.ALL},e.prototype.getHeight=function(){return"padding"},e.prototype.getPaddingLeft=function(){return 10},e.prototype.getPaddingRight=function(){return 10},e.prototype.newTextValue=function(){return null},e.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},e.prototype.getSecondaryImageTintColor=function(n){return n.is(eu.CHECKABLE)?x.getImageTintColor(n):t.prototype.getSecondaryImageTintColor.call(this,n)},e.prototype.getSecondaryImageSource=function(n){return n.is(eu.CHECKABLE)?x.getImageSource(n):null},e.prototype.getSecondaryImageAlignHorizontal=function(){return p.LEFT},e.prototype.getSecondaryImageAlignVertical=function(){return W.MIDDLE},e.prototype.getSecondaryImageAlignWith=function(){return b.TEXT},e.prototype.getTertiaryImageSource=function(t){return t.is(eu.SORTED_ASCENDING)?n.mappings.sorted_ascending:t.is(eu.SORTED_DESCENDING)?n.mappings.sorted_descending:null},e.prototype.getTertiaryImageTintColor=function(n){return t.prototype.getImageTintColor.call(this,n)},e.prototype.getTertiaryImageAlignHorizontal=function(){return p.RIGHT},e.prototype.getTertiaryImageAlignWith=function(){return b.BORDER},e.prototype.getCursor=function(n){return n.isActionable&&(n.is(eu.CHECKABLE)||n.is(eu.SORTABLE))?"pointer":""},e}(ut),Wc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(gc),bc=function(){t.set("DTableBodyCellActionDialog",Ro),t.set("DTableBodyCellActionMenu",zo),t.set("DTableBodyCellActionPromise",Vo),t.set("DTableBodyCellButton",qo),t.set("DTableBodyCellCheck",Yo),t.set("DTableBodyCellColor",jo),t.set("DTableBodyCellDate",Ko),t.set("DTableBodyCellDatetime",Jo),t.set("DTableBodyCellIndex",$o),t.set("DTableBodyCellInputInteger",nc),t.set("DTableBodyCellInputReal",tc),t.set("DTableBodyCellInputTextArea",rc),t.set("DTableBodyCellInputText",ec),t.set("DTableBodyCellInputTreeMarker",oc),t.set("DTableBodyCellInputTreeInput",ic),t.set("DTableBodyCellInputTree",uc),t.set("DTableBodyCellLink",cc),t.set("DTableBodyCellSelectDialog",Ho),t.set("DTableBodyCellSelectMenu",fc),t.set("DTableBodyCellSelectMultiple",lc),t.set("DTableBodyCellSelectPromise",Go),t.set("DTableBodyCellTextArea",hc),t.set("DTableBodyCellText",Oo),t.set("DTableBodyCellTree",dc),t.set("DTableBodyCellTime",sc),t.set("DTableBodyRow",Dc),t.set("DTableBody",Uo),t.set("DTableCategoryCell",Wc),t.set("DTableCategory",pc),t.set("DTableHeaderCell",gc),t.set("DTableHeader",Tc),t.set("DTableRow",mc),t.set("DTable",Fo),_(),yu(),ti(),ci(),Pt(),Rt(),te(),ee(),mi(),Fe()};const wc=wcardinal.ui.toSvgTexture;n.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>'),n.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 kc,yc=function(t){return t.isProcessing?null!=kc?kc:(e=2*(window.devicePixelRatio||1),kc=wc('<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(r=24*e,'px" height="').concat(r,'px" viewBox="0 -960 960 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"/></svg>',e)):t.isSucceeded?n.mappings.button_process_success:n.mappings.button_process_fail;var e,r},vc=function(n){var t=n.valueOf(ve.PROCESSING);return null!=t?t*Math.PI*.02:0},Cc=function(){function n(){}return n.prototype.getProcessDoneDelay=function(){return 400},n.prototype.getProcessCloseDelay=function(){return 3e3},n.prototype.isProcessTextEnabled=function(){return!1},n.prototype.isProcessImageEnabled=function(){return!0},n.prototype.getProcessImageIndex=function(){return 0},n.prototype.newProcessImageSource=function(){return yc},n.prototype.newProcessImageRotation=function(){return vc},n}(),Ic=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.newProcessTextValue=function(){return uo},t}(Cc),Bc=function(){t.set("DIndicatorProcessing",Ic)},xc=function(){du(),m(),T(),ki(),su(),J(),Cn(),xn(),Fi(),Mi(),ho(),ot(),st(),dt(),Bc(),go(),ue(),ko(),ae(),lu(),Ue(),Qe(),Fe(),Po(),sr(),cr(),Su(),wu(),$u(),Qu(),Ju(),gr(),bc(),tu(),nu()},Sc=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t}(Yi),Mc={__proto__:null,loadThemeWhiteBase:m,loadThemeWhiteBoard:T,loadThemeWhiteButtonAmbient:B,loadThemeWhiteButtonCheckRight:E,loadThemeWhiteButtonCheck:_,loadThemeWhiteButtonDanger:P,loadThemeWhiteButtonFile:N,loadThemeWhiteButtonLink:H,loadThemeWhiteButtonPrimary:z,loadThemeWhiteButtonRadioRight:O,loadThemeWhiteButtonRadio:q,loadThemeWhiteButtonSecondary:j,loadThemeWhiteButton:X,loadThemeWhiteCanvasContainer:J,loadThemeWhiteChart:Cn,loadThemeWhiteColor:xn,loadThemeWhiteDialogFitted:Vn,loadThemeWhiteDialogInputBoolean:Yn,loadThemeWhiteDialogInputInteger:Xn,loadThemeWhiteDialogInputReal:Zn,loadThemeWhiteDialogInputText:Qn,loadThemeWhiteDialog:$n,loadThemeWhiteDropdown:et,loadThemeWhiteExpandable:ot,loadThemeWhiteHtmlElement:st,loadThemeWhiteImage:dt,loadThemeWhiteInputAndLabel:Tt,loadThemeWhiteInputInteger:Pt,loadThemeWhiteInputLabel:Nt,loadThemeWhiteInputReal:Rt,loadThemeWhiteInputSearch:Vt,loadThemeWhiteInputTextArea:te,loadThemeWhiteInputText:ee,loadThemeWhiteLayout:ue,loadThemeWhiteList:ae,loadThemeWhiteMenuBar:Ue,loadThemeWhiteMenuSided:Qe,loadThemeWhiteMenu:Fe,loadThemeWhitePagination:cr,loadThemeWhitePane:sr,loadThemeWhiteScrollBar:ar,loadThemeWhiteSelect:gr,loadThemeWhiteShapeActionValue:Rr,loadThemeWhiteShape:Vr,loadThemeWhiteSlider:nu,loadThemeWhiteText:tu,loadThemeWhiteTree:lu,loadThemeWhiteView:su,loadThemeWhite:du,loadThemeWhiteEnUsAll:xc,loadThemeWhiteEnUsButtonAll:ki,loadThemeWhiteEnUsButtonColorGradient:Eu,loadThemeWhiteEnUsButtonColor:yu,loadThemeWhiteEnUsButtonDate:ti,loadThemeWhiteEnUsButtonDatetime:ci,loadThemeWhiteEnUsButtonSelect:Di,loadThemeWhiteEnUsButtonTime:wi,loadThemeWhiteEnUsDiagramEditor:Fi,loadThemeWhiteEnUsDiagram:Mi,loadThemeWhiteEnUsDialogAll:ho,loadThemeWhiteEnUsDialogColorGradient:Mu,loadThemeWhiteEnUsDialogColor:ku,loadThemeWhiteEnUsDialogConfirmDelete:Zi,loadThemeWhiteEnUsDialogConfirmDiscard:Qi,loadThemeWhiteEnUsDialogConfirm:Xi,loadThemeWhiteEnUsDialogDate:ni,loadThemeWhiteEnUsDialogDatetime:oi,loadThemeWhiteEnUsDialogLayered:Oi,loadThemeWhiteEnUsDialogMessage:to,loadThemeWhiteEnUsDialogProcessing:oo,loadThemeWhiteEnUsDialogSaveAs:lo,loadThemeWhiteEnUsDialogSelect:mi,loadThemeWhiteEnUsDialogTime:bi,loadThemeWhiteEnUsIndicatorProcessing:Bc,loadThemeWhiteEnUsInputAll:go,loadThemeWhiteEnUsInputBoolean:po,loadThemeWhiteEnUsLink:ko,loadThemeWhiteEnUsNote:Po,loadThemeWhiteEnUsPickerColorGradient:Su,loadThemeWhiteEnUsPickerColor:wu,loadThemeWhiteEnUsPickerDate:$u,loadThemeWhiteEnUsPickerDatetime:Qu,loadThemeWhiteEnUsPickerTime:Ju,loadThemeWhiteEnUsShapePointsFormatter:Si,loadThemeWhiteEnUsTable:bc,DThemeWhiteAtlas:n,DThemeWhiteBase:d,DThemeWhiteBoard:D,DThemeWhiteButtonAmbient:I,DThemeWhiteButtonBase:C,DThemeWhiteButtonCheckRight:M,DThemeWhiteButtonCheck:S,DThemeWhiteButtonChecks:x,DThemeWhiteButtonColorGradient:Iu,DThemeWhiteButtonColor:Du,DThemeWhiteButtonDanger:L,DThemeWhiteButtonDate:Pu,DThemeWhiteButtonDatetime:ui,DThemeWhiteButtonFile:U,DThemeWhiteButtonLink:A,DThemeWhiteButtonPrimary:R,DThemeWhiteButtonRadioRight:V,DThemeWhiteButtonRadio:G,DThemeWhiteButtonSecondary:Y,DThemeWhiteButtonSelect:li,DThemeWhiteButtonTime:gi,DThemeWhiteButton:F,DThemeWhiteCanvasContainer:Z,DThemeWhiteCanvas:K,DThemeWhiteChartAxisBase:un,DThemeWhiteChartAxisXDatetime:fn,DThemeWhiteChartAxisX:on,DThemeWhiteChartAxisY:ln,DThemeWhiteChartCoordinateTick:an,DThemeWhiteChartCoordinateTransform:sn,DThemeWhiteChartCoordinate:hn,DThemeWhiteChartLegendItem:mn,DThemeWhiteChartLegend:dn,DThemeWhiteChartOverview:Dn,DThemeWhiteChartPlotArea:Tn,DThemeWhiteChartSelectionGridlineX:wn,DThemeWhiteChartSelectionGridlineY:kn,DThemeWhiteChartSelectionMarker:vn,DThemeWhiteChartSelectionShape:bn,DThemeWhiteChart:Q,DThemeWhiteColorRecent:In,DThemeWhiteColorStandard:Bn,DThemeWhiteConstants:h,DThemeWhiteContent:fr,DThemeWhiteDiagramBase:yi,DThemeWhiteDiagramCanvasBase:Ci,DThemeWhiteDiagramCanvasEditor:_i,DThemeWhiteDiagramCanvas:Ii,DThemeWhiteDiagramEditor:Li,DThemeWhiteDiagram:vi,DThemeWhiteDialogColorGradient:Bu,DThemeWhiteDialogColor:Tu,DThemeWhiteDialogConfirmDelete:Sc,DThemeWhiteDialogConfirmMessage:qi,DThemeWhiteDialogConfirm:Yi,DThemeWhiteDialogDate:Fu,DThemeWhiteDialogDatetime:ii,DThemeWhiteDialogFittedContent:Gn,DThemeWhiteDialogFitted:Nn,DThemeWhiteDialogInputBoolean:qn,DThemeWhiteDialogInputInteger:jn,DThemeWhiteDialogInputReal:Kn,DThemeWhiteDialogInputText:Jn,DThemeWhiteDialogInput:On,DThemeWhiteDialogLayeredContent:zn,DThemeWhiteDialogLayeredFooter:Gi,DThemeWhiteDialogLayeredHeaderButtonClose:Ai,DThemeWhiteDialogLayeredHeaderSeparator:zi,DThemeWhiteDialogLayeredHeader:Ui,DThemeWhiteDialogLayered:Un,DThemeWhiteDialogMessage:$i,DThemeWhiteDialogProcessingMessage:eo,DThemeWhiteDialogProcessing:ro,DThemeWhiteDialogSaveAs:co,DThemeWhiteDialogSelectListItem:ai,DThemeWhiteDialogSelectList:hi,DThemeWhiteDialogSelect:si,DThemeWhiteDialogTime:Wi,DThemeWhiteDialog:Fn,DThemeWhiteDropdownBase:nt,DThemeWhiteDropdown:tt,DThemeWhiteExpandableHeader:it,DThemeWhiteExpandable:rt,DThemeWhiteExpandables:we,DThemeWhiteFont:a,DThemeWhiteHtmlElement:at,DThemeWhiteImageBase:v,DThemeWhiteImage:ut,DThemeWhiteIndicatorProcess:Cc,DThemeWhiteInputAndLabel:Dt,DThemeWhiteInputBooleanButtonOff:so,DThemeWhiteInputBooleanButtonOn:Do,DThemeWhiteInputBoolean:ao,DThemeWhiteInputInput:Mt,DThemeWhiteInputInteger:Lt,DThemeWhiteInputLabel:Ut,DThemeWhiteInputNumber:Et,DThemeWhiteInputReal:Ht,DThemeWhiteInputSearch:Gt,DThemeWhiteInputTextArea:ne,DThemeWhiteInputText:zt,DThemeWhiteInput:Wt,DThemeWhiteLayoutHorizontal:mt,DThemeWhiteLayoutSpace:re,DThemeWhiteLayoutVertical:Rn,DThemeWhiteLayout:Hn,DThemeWhiteLink:bo,DThemeWhiteListItemAmbient:he,DThemeWhiteListItem:le,DThemeWhiteListItems:fe,DThemeWhiteList:ce,DThemeWhiteMenuBarItem:de,DThemeWhiteMenuBar:se,DThemeWhiteMenuItemBase:De,DThemeWhiteMenuItemCheck:ge,DThemeWhiteMenuItemExpandableBody:be,DThemeWhiteMenuItemExpandableHeader:ke,DThemeWhiteMenuItemExpandableItemCheck:ye,DThemeWhiteMenuItemExpandableItemLink:Be,DThemeWhiteMenuItemExpandableItemMenu:Se,DThemeWhiteMenuItemExpandableItemSeparator:Ee,DThemeWhiteMenuItemExpandableItemSpace:Le,DThemeWhiteMenuItemExpandableItemText:Pe,DThemeWhiteMenuItemExpandable:We,DThemeWhiteMenuItemLink:Ie,DThemeWhiteMenuItemMenu:xe,DThemeWhiteMenuItemSeparator:Me,DThemeWhiteMenuItemSpace:_e,DThemeWhiteMenuItemText:pe,DThemeWhiteMenuItem:Te,DThemeWhiteMenuSidedContent:Ae,DThemeWhiteMenuSidedItemCheck:He,DThemeWhiteMenuSidedItemExpandableItemCheck:ze,DThemeWhiteMenuSidedItemExpandableItemLink:Ge,DThemeWhiteMenuSidedItemExpandableItemMenu:Ve,DThemeWhiteMenuSidedItemExpandableItemSeparator:Oe,DThemeWhiteMenuSidedItemExpandableItemSpace:qe,DThemeWhiteMenuSidedItemExpandableItemText:Ye,DThemeWhiteMenuSidedItemExpandable:Re,DThemeWhiteMenuSidedItemLink:je,DThemeWhiteMenuSidedItemMenu:Xe,DThemeWhiteMenuSidedItemSeparator:Ke,DThemeWhiteMenuSidedItemSpace:Ze,DThemeWhiteMenuSidedItemText:Je,DThemeWhiteMenuSided:Ne,DThemeWhiteMenu:me,DThemeWhiteNoteError:vo,DThemeWhiteNoteNoItemsFound:Io,DThemeWhiteNoteSearching:xo,DThemeWhiteNoteSmallError:Eo,DThemeWhiteNoteSmallNoItemsFound:_o,DThemeWhiteNoteSmallSearching:Lo,DThemeWhiteNoteSmall:Mo,DThemeWhiteNote:yo,DThemeWhitePaginationButtonLast:tr,DThemeWhitePaginationButtonNext:er,DThemeWhitePaginationButtonPage:rr,DThemeWhitePaginationButtonPrevious:ur,DThemeWhitePaginationButtonTop:ir,DThemeWhitePaginationDots:nr,DThemeWhitePaginationPage:or,DThemeWhitePagination:$e,DThemeWhitePane:oe,DThemeWhitePickerColorGradient:xu,DThemeWhitePickerColor:Wu,DThemeWhitePickerDatetimeButtonBack:qu,DThemeWhitePickerDatetimeButtonDate:Yu,DThemeWhitePickerDatetimeButtonNext:ju,DThemeWhitePickerDatetimeLabelDate:Ku,DThemeWhitePickerDatetimeLabel:Xu,DThemeWhitePickerDatetimeSpace:Zu,DThemeWhitePickerTime:Nu,DThemeWhiteScrollBarThumb:hr,DThemeWhiteScrollBar:lr,DThemeWhiteSelectMultiple:pr,DThemeWhiteSelect:Dr,DThemeWhiteSliderHorizontal:qr,DThemeWhiteSliderLabel:Yr,DThemeWhiteSliderThumb:Xr,DThemeWhiteSliderTrackHorizontal:Zr,DThemeWhiteSliderTrackVertical:Jr,DThemeWhiteSliderTrack:Kr,DThemeWhiteSliderValue:Qr,DThemeWhiteSliderVertical:$r,DThemeWhiteSlider:Or,DThemeWhiteSliders:jr,DThemeWhiteTableBodyCellActionDialog:Ro,DThemeWhiteTableBodyCellActionMenu:zo,DThemeWhiteTableBodyCellActionPromise:Vo,DThemeWhiteTableBodyCellActions:Ao,DThemeWhiteTableBodyCellButton:qo,DThemeWhiteTableBodyCellCheck:Yo,DThemeWhiteTableBodyCellColor:jo,DThemeWhiteTableBodyCellDate:Ko,DThemeWhiteTableBodyCellDatetime:Jo,DThemeWhiteTableBodyCellIndex:$o,DThemeWhiteTableBodyCellInputInteger:nc,DThemeWhiteTableBodyCellInputReal:tc,DThemeWhiteTableBodyCellInputTextArea:rc,DThemeWhiteTableBodyCellInputText:ec,DThemeWhiteTableBodyCellInputTreeInput:ic,DThemeWhiteTableBodyCellInputTreeMarker:oc,DThemeWhiteTableBodyCellInputTree:uc,DThemeWhiteTableBodyCellLink:cc,DThemeWhiteTableBodyCellSelectDialog:Ho,DThemeWhiteTableBodyCellSelectMenu:fc,DThemeWhiteTableBodyCellSelectMultiple:lc,DThemeWhiteTableBodyCellSelectPromise:Go,DThemeWhiteTableBodyCellTextArea:hc,DThemeWhiteTableBodyCellText:Oo,DThemeWhiteTableBodyCellTime:sc,DThemeWhiteTableBodyCellTree:dc,DThemeWhiteTableBodyCellTrees:ru,DThemeWhiteTableBodyCells:No,DThemeWhiteTableBodyRow:Dc,DThemeWhiteTableBody:Uo,DThemeWhiteTableCategoryCell:Wc,DThemeWhiteTableCategory:pc,DThemeWhiteTableHeaderCell:gc,DThemeWhiteTableHeader:Tc,DThemeWhiteTableRow:mc,DThemeWhiteTable:Fo,DThemeWhiteTextBase:y,DThemeWhiteText:Ft,DThemeWhiteTreeItemButton:cu,DThemeWhiteTreeItemNonEditable:fu,DThemeWhiteTreeItemText:ou,DThemeWhiteTreeItems:uu,DThemeWhiteTree:iu,DThemeWhiteView:au,DThemeWhite:t,EThemeWhiteShapeActionValue:Hr,EThemeWhiteShapePointsFormatter:Bi,EThemeWhiteShape:Gr,DThemeWhiteEnUsDiagramEditor:Pi,DThemeWhiteEnUsDialogConfirmDelete:Ki,DThemeWhiteEnUsDialogConfirmDiscard:Ji,DThemeWhiteEnUsDialogConfirm:ji,DThemeWhiteEnUsDialogLayeredFooter:Vi,DThemeWhiteEnUsDialogMessage:no,dThemeWhiteEnUsDialogProcessingMessage:uo,DThemeWhiteEnUsDialogProcessing:io,DThemeWhiteEnUsDialogSaveAs:fo,DThemeWhiteEnUsDialogSelect:di,DThemeWhiteEnUsIndicatorProcessing:Ic,DThemeWhiteEnUsInputBooleanButtonOff:mo,DThemeWhiteEnUsInputBooleanButtonOn:To,DThemeWhiteEnUsLink:wo,DThemeWhiteEnUsNoteError:Co,DThemeWhiteEnUsNoteNoItemsFound:Bo,DThemeWhiteEnUsNoteSearching:So,DThemeWhiteEnUsPickerColor:bu,DThemeWhiteEnUsPickerDate:Ou,DThemeWhiteEnUsPickerDatetime:Vu,DThemeWhiteEnUsPickerTime:Au,EThemeWhiteEnUsShapePointsFormatter:xi};xc();var Ec=window;Ec.wcardinal=Ec.wcardinal||{};var _c=Ec.wcardinal.ui=Ec.wcardinal.ui||{},Lc=Mc;for(var Pc in Lc)_c[Pc]=Lc[Pc]}();
|
|
10
10
|
//# sourceMappingURL=wcardinal-ui-theme-white-en-us.min.js.map
|