@wcardinal/wcardinal-ui 0.153.0 → 0.154.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-chart-axis-base-options-parser.d.ts +4 -0
- package/dist/types/wcardinal/ui/d-chart-axis-base-options.d.ts +7 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate-container-sub-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate-direction.d.ts +5 -0
- package/dist/types/wcardinal/ui/d-chart-coordinate-linear-tick.d.ts +13 -8
- package/dist/types/wcardinal/ui/d-chart-coordinate-linear.d.ts +18 -14
- package/dist/types/wcardinal/ui/d-chart-coordinate-log-tick.d.ts +14 -7
- package/dist/types/wcardinal/ui/d-chart-coordinate-log.d.ts +18 -14
- package/dist/types/wcardinal/ui/d-chart-coordinate-tick-major-step-function.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-chart-coordinate-tick-minor-step-function.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-chart-coordinate-tick.d.ts +13 -0
- package/dist/types/wcardinal/ui/d-chart-coordinate-transform-impl.d.ts +8 -3
- package/dist/types/wcardinal/ui/d-chart-coordinate-transform.d.ts +6 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate.d.ts +18 -7
- package/dist/types/wcardinal/ui/d-view-constraint.d.ts +5 -0
- package/dist/types/wcardinal/ui/d-view-gesture-impl.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-view-impl.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-view-transform-impl.d.ts +4 -2
- package/dist/types/wcardinal/ui/d-view.d.ts +3 -0
- package/dist/types/wcardinal/ui/index.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-base.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-tick.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-plot-area.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +3 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-axis-base.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-tick.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-plot-area.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +3 -2
- package/dist/wcardinal/ui/d-chart-axis-base-options-parser.js +7 -5
- package/dist/wcardinal/ui/d-chart-axis-base-options-parser.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-base-options.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-base.js +16 -8
- package/dist/wcardinal/ui/d-chart-axis-base.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-container-impl.js +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-container-sub-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-direction.js +9 -0
- package/dist/wcardinal/ui/d-chart-coordinate-direction.js.map +1 -0
- package/dist/wcardinal/ui/d-chart-coordinate-linear-tick.js +64 -29
- package/dist/wcardinal/ui/d-chart-coordinate-linear-tick.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-linear.js +41 -8
- package/dist/wcardinal/ui/d-chart-coordinate-linear.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-log-tick.js +53 -28
- package/dist/wcardinal/ui/d-chart-coordinate-log-tick.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-log.js +41 -8
- package/dist/wcardinal/ui/d-chart-coordinate-log.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-tick-major-step-function.js +6 -0
- package/dist/wcardinal/ui/d-chart-coordinate-tick-major-step-function.js.map +1 -0
- package/dist/wcardinal/ui/d-chart-coordinate-tick-minor-step-function.js +6 -0
- package/dist/wcardinal/ui/d-chart-coordinate-tick-minor-step-function.js.map +1 -0
- package/dist/wcardinal/ui/d-chart-coordinate-tick.js +6 -0
- package/dist/wcardinal/ui/d-chart-coordinate-tick.js.map +1 -0
- package/dist/wcardinal/ui/d-chart-coordinate-transform-impl.js +23 -5
- package/dist/wcardinal/ui/d-chart-coordinate-transform-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-transform.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate.js +1 -4
- package/dist/wcardinal/ui/d-chart-coordinate.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-linear.js +43 -34
- package/dist/wcardinal/ui/d-chart-series-linear.js.map +1 -1
- package/dist/wcardinal/ui/d-view-constraint.js +6 -0
- package/dist/wcardinal/ui/d-view-constraint.js.map +1 -0
- package/dist/wcardinal/ui/d-view-gesture-impl.js +3 -3
- package/dist/wcardinal/ui/d-view-gesture-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-view-impl.js +16 -5
- package/dist/wcardinal/ui/d-view-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-view-transform-impl.js +6 -7
- package/dist/wcardinal/ui/d-view-transform-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-view.js.map +1 -1
- package/dist/wcardinal/ui/index.js +5 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-base.js +7 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-tick.js +23 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-tick.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js +14 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js +14 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-plot-area.js +4 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-plot-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index.js +3 -2
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-chart.js +6 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-chart.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-base.js +8 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-tick.js +23 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-tick.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js +14 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js +14 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-plot-area.js +4 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-plot-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index.js +3 -2
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-chart.js +6 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-chart.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +37 -28
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +38 -29
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +379 -193
- package/dist/wcardinal-ui.js +307 -139
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-linear.d.ts +0 -5
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-log.d.ts +0 -5
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-linear.d.ts +0 -5
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-log.d.ts +0 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-linear.js +0 -26
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-linear.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-log.js +0 -26
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-log.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-linear.js +0 -26
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-linear.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-log.js +0 -26
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-log.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.154.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";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '"+t+"'")},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=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=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.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=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.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=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+e+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+u+'" height="'+u+'" fill="url(#'+n+'_filter)"/></g>')};m("shadow_weak",8,.15),m("shadow",12,.15),t.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(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(d),T=function(){r.set("DBase",D)},p=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.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 o.BOTH},t}(D),g=function(){r.set("DBoard",p)};const W=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return k.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}(x),C=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},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 W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return w.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(y),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(C),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),F=function(){r.set("DButtonCheck",E)},P=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",P)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#"+a.toCode(n.color)+" A"+n.alpha.toFixed(2)},R=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const z=wcardinal.ui.DDialogCloseOn,H=wcardinal.ui.DDialogMode;var G=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return H.MODAL},t.prototype.closeOn=function(){return z.ESC|z.CLICK_OUTSIDE},t.prototype.isSticky=function(){return!1},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return 16448250},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.getX=function(){return"center"},t.prototype.getY=function(){return"center"},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(D),V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cacnel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(G),O=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),j=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u)r+='<rect x="'+9*u+'" y="'+9*e+'" width="9" height="9" fill="'+((u+e)%2==0?"#bfbfbf":"#a5a5a5")+'" />';return r+"</g>"};t.add("picker_color_main",234,156,'<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="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,j(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,j(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,j(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var Y=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),X=function(){r.set("DPickerColor",Y)},K=function(){r.set("DDialogColor",O),X()},J=function(){r.set("DButtonColor",R),K()};const U=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var q=function(){return""},Q=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return q},r.prototype.newTextValue=function(){return new U},r.prototype.getCheckerColors=function(){return[.75,.65]},r}(B),Z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),$=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),nn=function(){r.set("DPickerColorGradient",$),X()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},en=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(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?s.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):s.ACTIVE_COLOR},t}(C),un=function(){r.set("DButtonDanger",en)};const on=wcardinal.ui.DPickerDates;var cn=function(n){return on.format(n)},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return cn},t.prototype.newTextValue=function(){return new Date},t}(B),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V);const hn=wcardinal.ui.DPickerDatetimeMask;var an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},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.prototype.getMask=function(){return hn.HOURS|hn.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),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Su","Mo","Tu","We","Th","Fr","Sa"],mn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},Dn=function(){},Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return dn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return mn},t.prototype.getDateDecorator=function(){return Dn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return hn.DATE|n.prototype.getMask.call(this)},t}(an),pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return hn.DATE},t}(Tn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var gn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.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}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var wn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 W.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}(bn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(bn),vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(D),xn=function(){r.set("DPickerTime",an)},yn=function(){r.set("DPickerDatetimeButtonBack",gn),r.set("DPickerDatetimeButtonDate",Wn),r.set("DPickerDatetimeButtonNext",wn),r.set("DPickerDatetimeLabelDate",In),r.set("DPickerDatetimeLabel",kn),r.set("DPickerDatetimeSpace",vn),r.set("DPickerDatetime",Tn),xn()},Cn=function(){r.set("DPickerDate",pn),yn()},Bn=function(){r.set("DDialogDate",ln),Cn()},Sn=function(){r.set("DButtonDate",fn),Bn()};const Mn=wcardinal.ui.DPickerDatetimes;var _n=function(n,t){return Mn.format(n,t.getDatetimeMask())},Ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return _n},t.prototype.newTextValue=function(){return new Date},t}(B),En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),Fn=function(){r.set("DDialogDatetime",En),yn()},Pn=function(){r.set("DButtonDatetime",Ln),Fn()},An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Nn=function(){r.set("DButtonFile",An)},Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),zn=function(){r.set("DButtonLink",Rn)},Hn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(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?s.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):s.ACTIVE_COLOR},t}(C),Gn=function(){r.set("DButtonPrimary",Hn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Vn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),On=function(){r.set("DButtonRadio",Vn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(Vn),Yn=function(){r.set("DButtonRadioRight",jn)},Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),Kn=function(){r.set("DButtonSecondary",Xn)};const Jn=wcardinal.ui.toLabel;var Un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Jn},t.prototype.newTextValue=function(){return null},t}(B),qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(V);const Qn=wcardinal.ui.UtilGestureMode;var Zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return Qn.TOUCH},t}(D),$n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Zn),nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}($n),tt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.T=1,this.p=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.T=s.INVALID_ALPHA,this.p=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.I=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.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 c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},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.I:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),rt=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new tt(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}(y),et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new tt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(rt),ut=function(){r.set("DDialogSelect",qn),r.set("DDialogSelectList",nt),r.set("DDialogSelectListItem",et)};const it=wcardinal.ui.DPickerTimes;var ot=function(n,t){return it.format(n,t.getDatetimeMask())},ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ot},t.prototype.newTextValue=function(){return new Date},t}(B),ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),lt=function(){r.set("DDialogTime",ft),xn()},ht=function(){r.set("DButtonTime",ct),lt()},at=function(){_(),A(),F(),rn(),J(),r.set("DButtonSelect",Un),ut(),un(),Sn(),Pn(),Nn(),zn(),Gn(),Yn(),On(),Kn(),ht(),S()},st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),mt=function(){r.set("DCanvasContainer",dt),r.set("DCanvas",st)},Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return 70},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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Tt=wcardinal.ui.DChartAxisPosition,pt=wcardinal.ui.DChartAxisTickPosition,gt=wcardinal.ui.EShapeTextAlignHorizontal,Wt=wcardinal.ui.EShapeTextAlignVertical,wt=wcardinal.ui.EShapeTextDirection;var bt=function(){function n(){}return n.prototype.getPosition=function(){return Tt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case Tt.TOP:case Tt.BOTTOM:return gt.CENTER;case Tt.LEFT:return gt.OUTSIDE_LEFT;case Tt.RIGHT:return gt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case Tt.TOP:return Wt.OUTSIDE_TOP;case Tt.BOTTOM:return Wt.OUTSIDE_BOTTOM;case Tt.LEFT:case Tt.RIGHT:return Wt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 50},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return wt.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.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return pt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case Tt.TOP:case Tt.BOTTOM:return gt.CENTER;case Tt.LEFT:return gt.OUTSIDE_LEFT;case Tt.RIGHT:return gt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case Tt.TOP:return Wt.OUTSIDE_TOP;case Tt.BOTTOM:return Wt.OUTSIDE_BOTTOM;case Tt.LEFT:case Tt.RIGHT:return Wt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return wt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},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.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return pt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},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}(),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(bt),It=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(kt),vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return Tt.LEFT},t.prototype.getLabelDirection=function(){return wt.BOTTOM_TO_TOP},t}(bt),xt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),yt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),Ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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.isOverflowMaskEnabled=function(){return!0},t}(D);const _t=wcardinal.ui.EShapeBar,Lt=wcardinal.ui.EShapeBarPosition;var Et=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new _t;return t.points.position=Lt.TOP,t.stroke.alpha=.5,t},n}(),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Et),Pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new _t;return t.points.position=Lt.LEFT,t.stroke.alpha=.5,t},t}(Et);const At=wcardinal.ui.EShapeCircle;var Nt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new At;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),Rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(dt),zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Rt),Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t}(st),Gt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ht);const Vt=wcardinal.ui.EShapeStrokeSide,Ot=wcardinal.ui.EShapeStrokeStyle;var jt=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 Vt.ALL},n.prototype.getStrokeStyle=function(){return Ot.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.getCursor=function(){return""},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}(),Yt=function(){r.set("EShape",jt)},Xt=function(){r.set("DDiagram",zt),r.set("DDiagramCanvas",Gt),Yt()},Kt=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},Jt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},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(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return Ot.DASHED|Ot.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 Kt},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Ht),Ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Rt);const qt=wcardinal.ui.EShapeActionValueBlinkType,Qt=wcardinal.ui.EShapeActionValueChangeColorTarget,Zt=wcardinal.ui.EShapeActionValueChangeColorType,$t=wcardinal.ui.EShapeActionValueChangeTextType,nr=wcardinal.ui.EShapeActionValueMiscType,tr=wcardinal.ui.EShapeActionValueOnInputAction,rr=wcardinal.ui.EShapeActionValueOpenType,er=wcardinal.ui.EShapeActionValueOpetyped,ur=wcardinal.ui.EShapeActionValueShowHideType,ir=wcardinal.ui.EShapeActionValueSubtyped,or=wcardinal.ui.EShapeActionValueTransformMoveType,cr=wcardinal.ui.EShapeActionValueTransformResizeType,fr=wcardinal.ui.EShapeActionValueTransformRotateType,lr=wcardinal.ui.EShapeActionValueTransformType,hr=wcardinal.ui.EShapeActionValueType,ar=wcardinal.ui.UtilHtmlElementWhen;var sr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof ir){var r,e=n.subtype;if(n instanceof er){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case hr.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case hr.BLINK:return e+": "+this.toBlinkTypeLabel(t);case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return e+": "+this.toChangeColorTypeLabel(t);case hr.MISC:return e+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case hr.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case lr.ROTATE:return u+": "+this.toTransformRotateTypeLabel(r);case lr.MOVE:return u+": "+this.toTransformMoveTypeLabel(r);case lr.RESIZE:return u+": "+this.toTransformResizeTypeLabel(r)}}return null},n.prototype.toTypeLabel=function(n){switch(n){case hr.SHOW_HIDE:return"Show / hide";case hr.BLINK:return"Blink";case hr.TRANSFORM:return"Transform";case hr.OPEN:return"Open";case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return"Change color";case hr.CHANGE_TEXT:return"Change text";case hr.CHANGE_CURSOR:return"Change cursor";case hr.EMIT_EVENT:return"Emit an event";case hr.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case qt.VISIBILITY:return"Visibility";case qt.BRIGHTEN:return"Brighten";case qt.DARKEN:return"Darken";case qt.OPACITY:return"Opacity";case qt.COLOR_FILL:return"Fill";case qt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case ur.SHOW:return"Show";case ur.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case lr.RESIZE:return"Resize";case lr.MOVE:return"Move";case lr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case fr.RELATIVE:return"Relative";case fr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case or.RELATIVE_X:return"Relative X";case or.RELATIVE_Y:return"Relative Y";case or.ABSOLUTE_X:return"Absolute X";case or.ABSOLUTE_Y:return"Absolute Y";case or.FORWARD_OR_BACKWARD:return"Forward / backward";case or.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case cr.ABSOLUTE_SIZE:return"Height & width";case cr.RELATIVE_SIZE:return"Height & width (%)";case cr.ABSOLUTE_HEIGHT:return"Height";case cr.RELATIVE_HEIGHT:return"Height (%)";case cr.ABSOLUTE_WIDTH:return"Width";case cr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===Zt.NONE)return"None";var t="",r="";return n&Zt.FILL&&(t+=r+"Fill",r=", "),n&Zt.STROKE&&(t+=r+"Stroke",r=", "),n&Zt.TEXT&&(t+=r+"Text",r=", "),n&Zt.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Qt.COLOR_AND_ALPHA:return"Color";case Qt.COLOR:return"RGB";case Qt.ALPHA:return"Alpha";case Qt.CODE:return"Dynamic color";case Qt.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case $t.TEXT:return"Text";case $t.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case rr.DIAGRAM:return"Diagram";case rr.PAGE:return"Page (New window)";case rr.PAGE_INPLACE:return"Page (In-place)";case rr.DIALOG_TEXT:return"Dialog (Text)";case rr.DIALOG_INTEGER:return"Dialog (Integer)";case rr.DIALOG_REAL:return"Dialog (Real)";case rr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case rr.DIALOG_DATE:return"Dialog (Date)";case rr.DIALOG_TIME:return"Dialog (Time)";case rr.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case nr.INPUT_TEXT:return"Input (Text)";case nr.INPUT_INTEGER:return"Input (Integer)";case nr.INPUT_REAL:return"Input (Real)";case nr.EMIT_EVENT:return this.toOnInputActionLabel(tr.EMIT_EVENT);case nr.WRITE_BOTH:return this.toOnInputActionLabel(tr.WRITE_BOTH);case nr.WRITE_LOCAL:return this.toOnInputActionLabel(tr.WRITE_LOCAL);case nr.WRITE_REMOTE:return this.toOnInputActionLabel(tr.WRITE_REMOTE);case nr.HTML_ELEMENT:return"HTML element";case nr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case nr.LAYER_SHOW_HIDE:return"Show / hide layers";case nr.LAYER_GESTURE:return"Layer gesture";case nr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case ar.CLICKED:return"Clicked";case ar.DOUBLE_CLICKED:return"Double clicked";case ar.FOCUSED:return"Focused";case ar.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case tr.EMIT_EVENT:return"Emit event";case tr.WRITE_BOTH:return"Write (Both)";case tr.WRITE_LOCAL:return"Write (Local)";case tr.WRITE_REMOTE:return"Write (Remote)"}},n}(),dr=function(){r.set("EShapeActionValue",sr)},mr=function(){r.set("DDiagramEditor",Ut),r.set("DDiagramCanvasEditor",Jt),dr(),Yt()},Dr=function(){r.set("DDialog",G)},Tr=function(){r.set("DDialogCommand",V)},pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(V),gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(gr),wr=function(){r.set("DDialogConfirm",pr),r.set("DDialogConfirmMessage",Wr)},br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(pr),kr=function(){r.set("DDialogConfirmDelete",br)},Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(pr),vr=function(){r.set("DDialogConfirmDiscard",Ir)},xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(V),yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Cr=function(){r.set("DDialogInputBoolean",yr)},Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Sr=function(){r.set("DDialogInputInteger",Br)},Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),_r=function(){r.set("DDialogInputReal",Mr)},Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Er=function(){r.set("DDialogInputText",Lr)},Fr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(pr),Pr=function(){r.set("DDialogMessage",Fr)},Ar=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Ar},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(pr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-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 Rr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(Wr),zr=function(){r.set("DDialogProcessing",Nr),r.set("DDialogProcessingMessage",Rr)},Hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Lr),Gr=function(){r.set("DDialogSaveAs",Hr)},Vr=function(){tn(),K(),Tr(),kr(),vr(),wr(),Bn(),Fn(),Cr(),Sr(),_r(),Er(),Pr(),zr(),Gr(),ut(),lt(),Dr()};const Or=wcardinal.ui.DLayoutDirection;var jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Or.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(D),Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Or.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(jr),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Yr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(gr),Jr=function(){r.set("DExpandableHeader",Kr),r.set("DExpandable",Xr)};const Ur=wcardinal.ui.DHtmlElementState;var qr=function(){return null},Qr=function(n){var t=document.createElement("div");return n.appendChild(t),t},Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return qr},t.prototype.setElementStyle=function(n,t,r,e,u,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);n.setAttribute("style",o),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(Ur.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: "+t.getTop()+"px "+t.getRight()+"px "+t.getBottom()+"px "+t.getLeft()+"px;":"padding: "+t.vertical+"px "+t.horizontal+"px;":"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){return n?t?"left:"+(n.x-t.x)+"px; top:"+(n.y-t.y)+"px;":"left:"+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.tx+","+n.ty+");":""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: "+this.getFontFamilly()+";font-size: "+this.getFontSize()+"px;color: #"+this.getColor(n).toString(16)+";line-height: "+this.getLineHeight()+"px;-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return Qr},t.prototype.setClipperStyle=function(n,t,r,e,u,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: "+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;line-height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return Qr},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 Qr},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return ar.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),$r=function(){r.set("DImage",gr)},ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Or.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(jr),te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(ne),re=function(){r.set("DInputAndLabel",te)},ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(ne),ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),oe=function(){r.set("DInputBoolean",ee),r.set("DInputBooleanButtonOn",ie),r.set("DInputBooleanButtonOff",ue)},ce=function(){return null},fe=function(n){return n},le=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.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 fe},t.prototype.getEditingValidator=function(){return ce},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleMargin=function(n){return"margin: 0.1em 0 0 0;"},t}(Zr),he="d-theme-white-input-input-element",ae=function(n){var t=n.getElementsByClassName(he);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",he),n.appendChild(r),r},se=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},de=function(n){return se(n,"d-theme-white-input-input-clipper")},me=function(n){return se(n,"d-theme-white-input-input-before")},De=function(n){return se(n,"d-theme-white-input-input-after")},Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return ae},t.prototype.getClipperCreator=function(){return de},t.prototype.getBeforeCreator=function(){return me},t.prototype.getAfterCreator=function(){return De},t}(le),pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.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}(Te),ge=function(n){var t=parseInt(n,10);return t==t?t:0},We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return ge},t}(pe),we=function(){r.set("DInputInteger",We)},be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(bn),ke=function(){r.set("DInputLabel",be)},Ie=function(n){var t=parseFloat(n);return t==t?t:0},ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Ie},t}(pe),xe=function(){r.set("DInputReal",ve)},ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Te);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Ce=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(ye),Be=function(){r.set("DInputSearch",Ce)},Se=function(){r.set("DInputText",ye)},Me="d-theme-white-input-text-area-element",_e=function(n){var t=n.getElementsByClassName(Me);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Me),n.appendChild(r),r},Le=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},Ee=function(n){return Le(n,"d-theme-white-input-text-area-clipper")},Fe=function(n){return Le(n,"d-theme-white-input-text-area-before")},Pe=function(n){return Le(n,"d-theme-white-input-text-area-after")},Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return _e},t.prototype.getClipperCreator=function(){return Ee},t.prototype.getBeforeCreator=function(){return Fe},t.prototype.getAfterCreator=function(){return Pe},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 I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(le),Ne=function(){r.set("DInputTextArea",Ae)},Re=function(){re(),oe(),we(),ke(),xe(),Be(),Ne(),Se()},ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),He=function(){r.set("DLayout",jr),r.set("DLayoutHorizontal",ne),r.set("DLayoutSpace",ze),r.set("DLayoutVertical",Yr)};const Ge=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var Ve=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Ge.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Ge.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:Ge.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),Oe=function(){r.set("DLink",Ve)},je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new tt(null,!1,!0)},t}(rt),Ye=function(){r.set("DListItemAmbient",je),r.set("DListItem",rt),r.set("DList",$n)},Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Yr),Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(gr),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Ke),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Je);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var qe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Ue),Qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Yr),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Yr),$e=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();$e.init();var nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?$e.getImageOpened():$e.getImageClosed()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Ke),tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(qe);const ru=wcardinal.ui.DBaseState;var eu=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(ru.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(Ue),uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(eu);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var iu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Je),ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(iu),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ke),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(cu),lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ze),hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(lu),au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Ue),su=function(){r.set("DMenu",Xe),r.set("DMenuItem",Je),r.set("DMenuItemCheck",qe),r.set("DMenuItemLink",eu),r.set("DMenuItemMenu",iu),r.set("DMenuItemSeparator",cu),r.set("DMenuItemSpace",lu),r.set("DMenuItemText",Ue),r.set("DMenuItemExpandableBody",Ze),r.set("DMenuItemExpandableHeader",nu),r.set("DMenuItemExpandableItemCheck",tu),r.set("DMenuItemExpandableItemLink",uu),r.set("DMenuItemExpandableItemMenu",ou),r.set("DMenuItemExpandableItemSeparator",fu),r.set("DMenuItemExpandableItemSpace",hu),r.set("DMenuItemExpandableItemText",au),r.set("DMenuItemExpandable",Qe)},du=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(ne),mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),Du=function(){r.set("DMenuBarItem",mu),r.set("DMenuBar",du),su()},Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(Zn),pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Yr),gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qe),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qe),wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(tu),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(uu),ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ou),Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fu),vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(hu),xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(au),yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(eu),Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(iu),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(cu),Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(lu),Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ue),_u=function(){r.set("DMenuSided",Tu),r.set("DMenuSidedContent",pu),r.set("DMenuSidedItemCheck",gu),r.set("DMenuSidedItemLink",yu),r.set("DMenuSidedItemMenu",Cu),r.set("DMenuSidedItemSeparator",Bu),r.set("DMenuSidedItemSpace",Su),r.set("DMenuSidedItemText",Mu),r.set("DMenuSidedItemExpandable",Wu),r.set("DMenuSidedItemExpandableItemCheck",wu),r.set("DMenuSidedItemExpandableItemLink",bu),r.set("DMenuSidedItemExpandableItemMenu",ku),r.set("DMenuSidedItemExpandableItemSeparator",Iu),r.set("DMenuSidedItemExpandableItemSpace",vu),r.set("DMenuSidedItemExpandableItemText",xu)},Lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.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 k.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Lu),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Lu),Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Lu),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Lu),Nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Au),Ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Au),zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Au),Hu=function(){r.set("DNote",Lu),r.set("DNoteError",Eu),r.set("DNoteNoItemsFound",Fu),r.set("DNoteSearching",Pu),r.set("DNoteSmallError",Nu),r.set("DNoteSmallNoItemsFound",Ru),r.set("DNoteSmallSearching",zu)},Gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getButtonWidth=function(){return 30},t}(ne),Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.newTextValue=function(){return"..."},t}(M),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(ne);t.add("pagination_navigation_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>'),t.add("pagination_navigation_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>'),t.add("pagination_navigation_button_go_first",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>'),t.add("pagination_navigation_button_go_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 ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),Yu=function(){r.set("DPagination",Gu),r.set("DPaginationNavigationButton",ju),r.set("DPaginationDynamicButtons",Ou),r.set("DPaginationDotsButton",Vu)},Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),Ju=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},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),Uu=function(){r.set("DScrollBar",Ku),r.set("DScrollBarThumb",Ju)},qu=function(){r.set("DPane",Zn),r.set("DContent",Xu),Uu()};const Qu=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var Zu=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(C),$u=function(n){if(n){var t=n.text;if(Qu(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return $u},t.prototype.newTextValue=function(){return null},t}(Zu),ti=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(Qu(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ti},t.prototype.newTextValue=function(){return[]},t}(Zu),ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Zu),ui=function(){r.set("DDropdown",ei)},ii=function(){r.set("DSelectMultiple",ri),r.set("DSelect",ni),ui()},oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(D),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(oi),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),li=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var hi=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return li.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(B),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return li.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}(B),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(ai),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(ai),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(oi),Ti=function(){r.set("DSlider",oi),r.set("DSliderValue",mi),r.set("DSliderLabel",fi),r.set("DSliderThumb",hi),r.set("DSliderVertical",Di),r.set("DSliderHorizontal",ci),r.set("DSliderTrack",ai),r.set("DSliderTrackVertical",di),r.set("DSliderTrackHorizontal",si)},pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(Zn),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D);const Wi=wcardinal.ui.DTableState;var wi=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(Wi.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(Wi.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(Wi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(Wi.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.01),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.01),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.035),n}(),bi=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return wi.getImageTintColor(n,!0)},n}(),ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);bi.init();var Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(ki);bi.init();var vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.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 bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return bi.getImageSource(n)},t}(ei),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);bi.init();var yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(xi),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getImageTintColor=function(n){return wi.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Ci),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getImageTintColor=function(n){return wi.getImageTintColor(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t}(E),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t}(R),_i=function(n){return on.format(n)},Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getTextFormatter=function(){return _i},t.prototype.newTextValue=function(){return new Date},t}(B),Ei=function(n,t){return Mn.format(n,t.getDatetimeMask())},Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ei},t.prototype.newTextValue=function(){return new Date},t}(B),Pi=function(n){return String(Number(n)+1)},Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Pi},t.prototype.newTextValue=function(){return 0},t}(y),Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t}(We),Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t}(ve),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t}(ye),Hi=function(){function n(){}return n.init=function(){$e.init()},n.getImageSource=function(n){return n.is(Wi.HAS_CHILDREN)?n.is(Wi.OPENED)?$e.getImageOpened():$e.getImageClosed():null},n}();Hi.init();var Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return wi.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 o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 wi.getHeight()},t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(ye),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageSource=function(n){return Hi.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(C),ji=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return wi.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(Bi),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ni),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ri),Ki=function(n,t){return it.format(n,t.getDatetimeMask())},Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return wi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return wi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return wi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return wi.getBorderMask(n)},t.prototype.getColor=function(n){return wi.getColor(n)},t.prototype.getAlpha=function(n){return wi.getAlpha(n)},t.prototype.getHeight=function(){return wi.getHeight()},t.prototype.getCornerMask=function(){return wi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ki},t.prototype.newTextValue=function(){return new Date},t}(B);Hi.init();var Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Hi.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Bi),qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(ne),Qi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(qi),Zi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(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 c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(qi),$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zi);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var no=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(Wi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(Wi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(Wi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(Wi.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(Wi.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(Wi.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(Wi.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(Wi.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(Wi.CHECKABLE)||n.is(Wi.SORTABLE))?"pointer":""},r}(gr),to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(no),ro=function(){r.set("DTableBodyCellActionDialog",Ii),r.set("DTableBodyCellActionMenu",vi),r.set("DTableBodyCellActionPromise",yi),r.set("DTableBodyCellButton",Bi),r.set("DTableBodyCellCheck",Si),r.set("DTableBodyCellColor",Mi),r.set("DTableBodyCellDate",Li),r.set("DTableBodyCellDatetime",Fi),r.set("DTableBodyCellIndex",Ai),r.set("DTableBodyCellInputInteger",Ni),r.set("DTableBodyCellInputReal",Ri),r.set("DTableBodyCellInputText",zi),r.set("DTableBodyCellInputTreeMarker",Oi),r.set("DTableBodyCellInputTreeInput",Vi),r.set("DTableBodyCellInputTree",Gi),r.set("DTableBodyCellLink",ji),r.set("DTableBodyCellSelectDialog",ki),r.set("DTableBodyCellSelectMenu",Yi),r.set("DTableBodyCellSelectMultiple",Xi),r.set("DTableBodyCellSelectPromise",xi),r.set("DTableBodyCellText",Ci),r.set("DTableBodyCellTree",Ui),r.set("DTableBodyCellTime",Ji),r.set("DTableBodyRow",Qi),r.set("DTableBody",gi),r.set("DTableCategoryCell",to),r.set("DTableCategory",$i),r.set("DTableHeaderCell",no),r.set("DTableHeader",Zi),r.set("DTableRow",qi),r.set("DTable",pi),F(),J(),Sn(),Pn(),we(),xe(),Se(),ut(),su()},eo=function(){r.set("DText",bn)};Hi.init();var uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Hi.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 k.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(tt),io=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new uo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Zn),oo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new uo(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}(y),co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(oo);Hi.init();var fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(co),lo=function(){r.set("DTree",io),r.set("DTreeItemText",oo),r.set("DTreeItemButton",co),r.set("DTreeItemNonEditable",fo)};const ho=wcardinal.ui.UtilGestureModifier;var ao=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return ho.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return ho.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return ho.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return Qn.ON},n.prototype.getGestureModifier=function(){return ho.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),so=function(){e(),T(),g(),at(),r.set("DView",ao),mt(),r.set("DChart",Dt),r.set("DChartAxisX",kt),r.set("DChartAxisXDatetime",It),r.set("DChartAxisY",vt),r.set("DChartCoordinateLinear",xt),r.set("DChartCoordinateLog",yt),r.set("DChartLegend",Ct),r.set("DChartLegendItem",Bt),r.set("DChartOverview",St),r.set("DChartPlotArea",Mt),r.set("DChartSelectionGridlineX",Ft),r.set("DChartSelectionGridlineY",Pt),r.set("DChartSelectionMarker",Nt),mr(),Xt(),Vr(),Jr(),r.set("DHtmlElement",Zr),$r(),Re(),He(),Oe(),Ye(),lo(),Du(),_u(),su(),Hu(),qu(),Yu(),nn(),X(),Cn(),yn(),xn(),ii(),ro(),eo(),Ti()},mo={__proto__:null,loadThemeWhiteAll:so,loadThemeWhiteBase:T,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:at,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:F,loadThemeWhiteButtonColorGradient:rn,loadThemeWhiteButtonColor:J,loadThemeWhiteButtonDanger:un,loadThemeWhiteButtonDate:Sn,loadThemeWhiteButtonDatetime:Pn,loadThemeWhiteButtonFile:Nn,loadThemeWhiteButtonLink:zn,loadThemeWhiteButtonPrimary:Gn,loadThemeWhiteButtonRadioRight:Yn,loadThemeWhiteButtonRadio:On,loadThemeWhiteButtonSecondary:Kn,loadThemeWhiteButtonTime:ht,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:mt,loadThemeWhiteDiagramEditor:mr,loadThemeWhiteDiagram:Xt,loadThemeWhiteDialogAll:Vr,loadThemeWhiteDialogColorGradient:tn,loadThemeWhiteDialogColor:K,loadThemeWhiteDialogCommand:Tr,loadThemeWhiteDialogConfirmDelete:kr,loadThemeWhiteDialogConfirmDiscard:vr,loadThemeWhiteDialogConfirm:wr,loadThemeWhiteDialogDate:Bn,loadThemeWhiteDialogDatetime:Fn,loadThemeWhiteDialogInputBoolean:Cr,loadThemeWhiteDialogInputInteger:Sr,loadThemeWhiteDialogInputReal:_r,loadThemeWhiteDialogInputText:Er,loadThemeWhiteDialogMessage:Pr,loadThemeWhiteDialogProcessing:zr,loadThemeWhiteDialogSaveAs:Gr,loadThemeWhiteDialogSelect:ut,loadThemeWhiteDialogTime:lt,loadThemeWhiteDialog:Dr,loadThemeWhiteDropdown:ui,loadThemeWhiteExpandable:Jr,loadThemeWhiteImage:$r,loadThemeWhiteInputAll:Re,loadThemeWhiteInputAndLabel:re,loadThemeWhiteInputBoolean:oe,loadThemeWhiteInputInteger:we,loadThemeWhiteInputLabel:ke,loadThemeWhiteInputReal:xe,loadThemeWhiteInputSearch:Be,loadThemeWhiteInputTextArea:Ne,loadThemeWhiteInputText:Se,loadThemeWhiteLayout:He,loadThemeWhiteLink:Oe,loadThemeWhiteList:Ye,loadThemeWhiteTree:lo,loadThemeWhiteMenuBar:Du,loadThemeWhiteMenuSided:_u,loadThemeWhiteMenu:su,loadThemeWhiteNote:Hu,loadThemeWhitePane:qu,loadThemeWhitePagination:Yu,loadThemeWhitePickerColorGradient:nn,loadThemeWhitePickerColor:X,loadThemeWhitePickerDate:Cn,loadThemeWhitePickerDatetime:yn,loadThemeWhitePickerTime:xn,loadThemeWhiteScrollBar:Uu,loadThemeWhiteSelect:ii,loadThemeWhiteShapeActionValue:dr,loadThemeWhiteShape:Yt,loadThemeWhiteSlider:Ti,loadThemeWhiteTable:ro,loadThemeWhiteText:eo,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:p,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:C,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:P,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:Q,DThemeWhiteButtonColor:R,DThemeWhiteButtonDanger:en,DThemeWhiteButtonDate:fn,DThemeWhiteButtonDatetime:Ln,DThemeWhiteButtonFile:An,DThemeWhiteButtonLink:Rn,DThemeWhiteButtonPrimary:Hn,DThemeWhiteButtonRadioRight:jn,DThemeWhiteButtonRadio:Vn,DThemeWhiteButtonSecondary:Xn,DThemeWhiteButtonTime:ct,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:dt,DThemeWhiteCanvas:st,DThemeWhiteChartAxisBase:bt,DThemeWhiteChartAxisXDatetime:It,DThemeWhiteChartAxisX:kt,DThemeWhiteChartAxisY:vt,DThemeWhiteChartCoordinateLinear:xt,DThemeWhiteChartCoordinateLog:yt,DThemeWhiteChartLegendItem:Bt,DThemeWhiteChartLegend:Ct,DThemeWhiteChartOverview:St,DThemeWhiteChartPlotArea:Mt,DThemeWhiteChart:Dt,DThemeWhiteContent:Xu,DThemeWhiteDiagramBase:Rt,DThemeWhiteDiagramCanvasBase:Ht,DThemeWhiteDiagramCanvasEditor:Jt,DThemeWhiteDiagramCanvas:Gt,DThemeWhiteDiagramEditor:Ut,DThemeWhiteDiagram:zt,DThemeWhiteDialogColorGradient:Z,DThemeWhiteDialogColor:O,DThemeWhiteDialogCommand:V,DThemeWhiteDialogConfirmDelete:br,DThemeWhiteDialogConfirmDiscard:Ir,DThemeWhiteDialogConfirmMessage:Wr,DThemeWhiteDialogConfirm:pr,DThemeWhiteDialogDate:ln,DThemeWhiteDialogDatetime:En,DThemeWhiteDialogInputBoolean:yr,DThemeWhiteDialogInputInteger:Br,DThemeWhiteDialogInputReal:Mr,DThemeWhiteDialogInputText:Lr,DThemeWhiteDialogInput:xr,DThemeWhiteDialogMessage:Fr,DThemeWhiteDialogProcessingMessage:Rr,DThemeWhiteDialogProcessing:Nr,DThemeWhiteDialogSaveAs:Hr,DThemeWhiteDialogSelectListItem:et,DThemeWhiteDialogSelectList:nt,DThemeWhiteDialogSelect:qn,DThemeWhiteDialogTime:ft,DThemeWhiteDialog:G,DThemeWhiteDropdown:ei,DThemeWhiteExpandableHeader:Kr,DThemeWhiteExpandable:Xr,DThemeWhiteFont:d,DThemeWhiteHtmlElement:Zr,DThemeWhiteImageBase:y,DThemeWhiteImage:gr,DThemeWhiteInputAndLabel:te,DThemeWhiteInputBooleanButtonOff:ue,DThemeWhiteInputBooleanButtonOn:ie,DThemeWhiteInputBoolean:ee,DThemeWhiteInputInput:Te,DThemeWhiteInputInteger:We,DThemeWhiteInputLabel:be,DThemeWhiteInputNumber:pe,DThemeWhiteInputReal:ve,DThemeWhiteInputSearch:Ce,DThemeWhiteInputTextArea:Ae,DThemeWhiteInputText:ye,DThemeWhiteInput:le,DThemeWhiteLayoutHorizontal:ne,DThemeWhiteLayoutSpace:ze,DThemeWhiteLayoutVertical:Yr,DThemeWhiteLayout:jr,DThemeWhiteLink:Ve,DThemeWhiteListItemAmbient:je,DThemeWhiteListItem:rt,DThemeWhiteListItems:tt,DThemeWhiteList:$n,DThemeWhiteMenuBarItem:mu,DThemeWhiteMenuBar:du,DThemeWhiteMenuItemBase:Ke,DThemeWhiteMenuItemCheck:qe,DThemeWhiteMenuItemExpandableBody:Ze,DThemeWhiteMenuItemExpandableHeader:nu,DThemeWhiteMenuItemExpandableItemCheck:tu,DThemeWhiteMenuItemExpandableItemLink:uu,DThemeWhiteMenuItemExpandableItemMenu:ou,DThemeWhiteMenuItemExpandableItemSeparator:fu,DThemeWhiteMenuItemExpandableItemSpace:hu,DThemeWhiteMenuItemExpandableItemText:au,DThemeWhiteMenuItemExpandable:Qe,DThemeWhiteMenuItemLink:eu,DThemeWhiteMenuItemMenu:iu,DThemeWhiteMenuItemSeparator:cu,DThemeWhiteMenuItemSpace:lu,DThemeWhiteMenuItemText:Ue,DThemeWhiteMenuItem:Je,DThemeWhiteMenuSidedContent:pu,DThemeWhiteMenuSidedItemCheck:gu,DThemeWhiteMenuSidedItemExpandableItemCheck:wu,DThemeWhiteMenuSidedItemExpandableItemLink:bu,DThemeWhiteMenuSidedItemExpandableItemMenu:ku,DThemeWhiteMenuSidedItemExpandableItemSeparator:Iu,DThemeWhiteMenuSidedItemExpandableItemSpace:vu,DThemeWhiteMenuSidedItemExpandableItemText:xu,DThemeWhiteMenuSidedItemExpandable:Wu,DThemeWhiteMenuSidedItemLink:yu,DThemeWhiteMenuSidedItemMenu:Cu,DThemeWhiteMenuSidedItemSeparator:Bu,DThemeWhiteMenuSidedItemSpace:Su,DThemeWhiteMenuSidedItemText:Mu,DThemeWhiteMenuSided:Tu,DThemeWhiteMenu:Xe,DThemeWhiteNoteError:Eu,DThemeWhiteNoteNoItemsFound:Fu,DThemeWhiteNoteSearching:Pu,DThemeWhiteNoteSmallError:Nu,DThemeWhiteNoteSmallNoItemsFound:Ru,DThemeWhiteNoteSmallSearching:zu,DThemeWhiteNoteSmall:Au,DThemeWhiteNote:Lu,DThemeWhitePagination:Gu,DThemeWhitePaginationNavigationButton:ju,DThemeWhitePaginationDynamicButtons:Ou,DThemeWhitePaginationDotsButton:Vu,DThemeWhitePane:Zn,DThemeWhitePickerColorGradient:$,DThemeWhitePickerColor:Y,DThemeWhitePickerDate:pn,DThemeWhitePickerDatetimeButtonBack:gn,DThemeWhitePickerDatetimeButtonDate:Wn,DThemeWhitePickerDatetimeButtonNext:wn,DThemeWhitePickerDatetimeLabelDate:In,DThemeWhitePickerDatetimeLabel:kn,DThemeWhitePickerDatetimeSpace:vn,DThemeWhitePickerDatetime:Tn,DThemeWhitePickerTime:an,DThemeWhiteScrollBarThumb:Ju,DThemeWhiteScrollBar:Ku,DThemeWhiteSelectMultiple:ri,DThemeWhiteSelect:ni,DThemeWhiteSlider:oi,DThemeWhiteSliderHorizontal:ci,DThemeWhiteSliderLabel:fi,DThemeWhiteSliderThumb:hi,DThemeWhiteSliderTrack:ai,DThemeWhiteSliderTrackHorizontal:si,DThemeWhiteSliderTrackVertical:di,DThemeWhiteSliderValue:mi,DThemeWhiteSliderVertical:Di,DThemeWhiteTableBodyCellButton:Bi,DThemeWhiteTableBodyCellCheck:Si,DThemeWhiteTableBodyCellColor:Mi,DThemeWhiteTableBodyCellDate:Li,DThemeWhiteTableBodyCellDatetime:Fi,DThemeWhiteTableBodyCellIndex:Ai,DThemeWhiteTableBodyCellInputInteger:Ni,DThemeWhiteTableBodyCellInputReal:Ri,DThemeWhiteTableBodyCellInputText:zi,DThemeWhiteTableBodyCellLink:ji,DThemeWhiteTableBodyCellSelectDialog:ki,DThemeWhiteTableBodyCellSelectMenu:Yi,DThemeWhiteTableBodyCellSelectPromise:xi,DThemeWhiteTableBodyCellText:Ci,DThemeWhiteTableBodyCellTime:Ji,DThemeWhiteTableBodyCells:wi,DThemeWhiteTableBodyRow:Qi,DThemeWhiteTableBody:gi,DThemeWhiteTableCategoryCell:to,DThemeWhiteTableCategory:$i,DThemeWhiteTableHeaderCell:no,DThemeWhiteTableHeader:Zi,DThemeWhiteTableRow:qi,DThemeWhiteTable:pi,DThemeWhiteTextBase:x,DThemeWhiteText:bn,DThemeWhiteTreeItemButton:co,DThemeWhiteTreeItemNonEditable:fo,DThemeWhiteTreeItemText:oo,DThemeWhiteTreeItems:uo,DThemeWhiteTree:io,DThemeWhiteView:ao,DThemeWhite:r,EThemeWhiteShapeActionValue:sr,EThemeWhiteShape:jt};so();var Do=window;Do.wcardinal=Do.wcardinal||{};var To=Do.wcardinal.ui=Do.wcardinal.ui||{},po=mo;for(var go in po)To[go]=po[go]}();
|
|
9
|
+
!function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '"+t+"'")},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=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=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.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=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.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=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+e+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+u+'" height="'+u+'" fill="url(#'+n+'_filter)"/></g>')};m("shadow_weak",8,.15),m("shadow",12,.15),t.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(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(d),T=function(){r.set("DBase",D)},p=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.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 o.BOTH},t}(D),g=function(){r.set("DBoard",p)};const W=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return k.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}(C),y=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},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 W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return w.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(x),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(y),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),F=function(){r.set("DButtonCheck",E)},P=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",P)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#"+a.toCode(n.color)+" A"+n.alpha.toFixed(2)},R=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const z=wcardinal.ui.DDialogCloseOn,H=wcardinal.ui.DDialogMode;var G=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return H.MODAL},t.prototype.closeOn=function(){return z.ESC|z.CLICK_OUTSIDE},t.prototype.isSticky=function(){return!1},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return 16448250},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.getX=function(){return"center"},t.prototype.getY=function(){return"center"},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(D),V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cacnel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(G),O=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),j=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u)r+='<rect x="'+9*u+'" y="'+9*e+'" width="9" height="9" fill="'+((u+e)%2==0?"#bfbfbf":"#a5a5a5")+'" />';return r+"</g>"};t.add("picker_color_main",234,156,'<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="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,j(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,j(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,j(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var Y=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),X=function(){r.set("DPickerColor",Y)},K=function(){r.set("DDialogColor",O),X()},J=function(){r.set("DButtonColor",R),K()};const U=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var q=function(){return""},Q=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return q},r.prototype.newTextValue=function(){return new U},r.prototype.getCheckerColors=function(){return[.75,.65]},r}(B),Z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),$=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),nn=function(){r.set("DPickerColorGradient",$),X()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},en=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(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?s.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):s.ACTIVE_COLOR},t}(y),un=function(){r.set("DButtonDanger",en)};const on=wcardinal.ui.DPickerDates;var cn=function(n){return on.format(n)},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return cn},t.prototype.newTextValue=function(){return new Date},t}(B),ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V);const hn=wcardinal.ui.DPickerDatetimeMask;var an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},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.prototype.getMask=function(){return hn.HOURS|hn.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),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Su","Mo","Tu","We","Th","Fr","Sa"],mn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},Dn=function(){},Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return dn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return mn},t.prototype.getDateDecorator=function(){return Dn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return hn.DATE|n.prototype.getMask.call(this)},t}(an),pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return hn.DATE},t}(Tn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var gn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.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}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var wn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 W.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}(bn),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(bn),vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(D),Cn=function(){r.set("DPickerTime",an)},xn=function(){r.set("DPickerDatetimeButtonBack",gn),r.set("DPickerDatetimeButtonDate",Wn),r.set("DPickerDatetimeButtonNext",wn),r.set("DPickerDatetimeLabelDate",In),r.set("DPickerDatetimeLabel",kn),r.set("DPickerDatetimeSpace",vn),r.set("DPickerDatetime",Tn),Cn()},yn=function(){r.set("DPickerDate",pn),xn()},Bn=function(){r.set("DDialogDate",ln),yn()},Sn=function(){r.set("DButtonDate",fn),Bn()};const Mn=wcardinal.ui.DPickerDatetimes;var _n=function(n,t){return Mn.format(n,t.getDatetimeMask())},Ln=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return _n},t.prototype.newTextValue=function(){return new Date},t}(B),En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),Fn=function(){r.set("DDialogDatetime",En),xn()},Pn=function(){r.set("DButtonDatetime",Ln),Fn()},An=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Nn=function(){r.set("DButtonFile",An)},Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),zn=function(){r.set("DButtonLink",Rn)},Hn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(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?s.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):s.ACTIVE_COLOR},t}(y),Gn=function(){r.set("DButtonPrimary",Hn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Vn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),On=function(){r.set("DButtonRadio",Vn)},jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(Vn),Yn=function(){r.set("DButtonRadioRight",jn)},Xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),Kn=function(){r.set("DButtonSecondary",Xn)};const Jn=wcardinal.ui.toLabel;var Un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Jn},t.prototype.newTextValue=function(){return null},t}(B),qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(V);const Qn=wcardinal.ui.UtilGestureMode;var Zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return Qn.TOUCH},t}(D),$n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Zn),nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}($n),tt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.T=1,this.p=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.T=s.INVALID_ALPHA,this.p=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.I=s.COLOR,this.v=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.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 c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},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.I:this.v},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),rt=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new tt(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}(x),et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new tt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(rt),ut=function(){r.set("DDialogSelect",qn),r.set("DDialogSelectList",nt),r.set("DDialogSelectListItem",et)};const it=wcardinal.ui.DPickerTimes;var ot=function(n,t){return it.format(n,t.getDatetimeMask())},ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ot},t.prototype.newTextValue=function(){return new Date},t}(B),ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(V),lt=function(){r.set("DDialogTime",ft),Cn()},ht=function(){r.set("DButtonTime",ct),lt()},at=function(){_(),A(),F(),rn(),J(),r.set("DButtonSelect",Un),ut(),un(),Sn(),Pn(),Nn(),zn(),Gn(),Yn(),On(),Kn(),ht(),S()},st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),mt=function(){r.set("DCanvasContainer",dt),r.set("DCanvas",st)},Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Tt=wcardinal.ui.DChartAxisPosition,pt=wcardinal.ui.DChartAxisTickPosition,gt=wcardinal.ui.EShapeTextAlignHorizontal,Wt=wcardinal.ui.EShapeTextAlignVertical,wt=wcardinal.ui.EShapeTextDirection;var bt=function(){function n(){}return n.prototype.getPosition=function(){return Tt.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case Tt.TOP:case Tt.BOTTOM:return gt.CENTER;case Tt.LEFT:return gt.OUTSIDE_LEFT;case Tt.RIGHT:return gt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case Tt.TOP:return Wt.OUTSIDE_TOP;case Tt.BOTTOM:return Wt.OUTSIDE_BOTTOM;case Tt.LEFT:case Tt.RIGHT:return Wt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return wt.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.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return pt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case Tt.TOP:case Tt.BOTTOM:return gt.CENTER;case Tt.LEFT:return gt.OUTSIDE_LEFT;case Tt.RIGHT:return gt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case Tt.TOP:return Wt.OUTSIDE_TOP;case Tt.BOTTOM:return Wt.OUTSIDE_BOTTOM;case Tt.LEFT:case Tt.RIGHT:return Wt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return wt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},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 pt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},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}(),kt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(bt),It=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(kt),vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return Tt.LEFT},t.prototype.getLabelDirection=function(){return wt.BOTTOM_TO_TOP},t}(bt),Ct=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),xt=function(){function n(){}return n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),yt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Lt=wcardinal.ui.EShapeBar,Et=wcardinal.ui.EShapeBarPosition;var Ft=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.TOP,t.stroke.alpha=.5,t},n}(),Pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ft),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.LEFT,t.stroke.alpha=.5,t},t}(Ft);const Nt=wcardinal.ui.EShapeCircle;var Rt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new Nt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(dt),Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(zt),Gt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t}(st),Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Gt);const Ot=wcardinal.ui.EShapeStrokeSide,jt=wcardinal.ui.EShapeStrokeStyle;var Yt=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 Ot.ALL},n.prototype.getStrokeStyle=function(){return jt.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.getCursor=function(){return""},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}(),Xt=function(){r.set("EShape",Yt)},Kt=function(){r.set("DDiagram",Ht),r.set("DDiagramCanvas",Vt),Xt()},Jt=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},Ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},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(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return jt.DASHED|jt.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 Jt},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Gt),qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(zt);const Qt=wcardinal.ui.EShapeActionValueBlinkType,Zt=wcardinal.ui.EShapeActionValueChangeColorTarget,$t=wcardinal.ui.EShapeActionValueChangeColorType,nr=wcardinal.ui.EShapeActionValueChangeTextType,tr=wcardinal.ui.EShapeActionValueMiscType,rr=wcardinal.ui.EShapeActionValueOnInputAction,er=wcardinal.ui.EShapeActionValueOpenType,ur=wcardinal.ui.EShapeActionValueOpetyped,ir=wcardinal.ui.EShapeActionValueShowHideType,or=wcardinal.ui.EShapeActionValueSubtyped,cr=wcardinal.ui.EShapeActionValueTransformMoveType,fr=wcardinal.ui.EShapeActionValueTransformResizeType,lr=wcardinal.ui.EShapeActionValueTransformRotateType,hr=wcardinal.ui.EShapeActionValueTransformType,ar=wcardinal.ui.EShapeActionValueType,sr=wcardinal.ui.UtilHtmlElementWhen;var dr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof or){var r,e=n.subtype;if(n instanceof ur){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case ar.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case ar.BLINK:return e+": "+this.toBlinkTypeLabel(t);case ar.CHANGE_COLOR:case ar.CHANGE_COLOR_LEGACY:return e+": "+this.toChangeColorTypeLabel(t);case ar.MISC:return e+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case ar.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case hr.ROTATE:return u+": "+this.toTransformRotateTypeLabel(r);case hr.MOVE:return u+": "+this.toTransformMoveTypeLabel(r);case hr.RESIZE:return u+": "+this.toTransformResizeTypeLabel(r)}}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.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Qt.VISIBILITY:return"Visibility";case Qt.BRIGHTEN:return"Brighten";case Qt.DARKEN:return"Darken";case Qt.OPACITY:return"Opacity";case Qt.COLOR_FILL:return"Fill";case Qt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case ir.SHOW:return"Show";case ir.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case hr.RESIZE:return"Resize";case hr.MOVE:return"Move";case hr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case lr.RELATIVE:return"Relative";case lr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case cr.RELATIVE_X:return"Relative X";case cr.RELATIVE_Y:return"Relative Y";case cr.ABSOLUTE_X:return"Absolute X";case cr.ABSOLUTE_Y:return"Absolute Y";case cr.FORWARD_OR_BACKWARD:return"Forward / backward";case cr.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===$t.NONE)return"None";var t="",r="";return n&$t.FILL&&(t+=r+"Fill",r=", "),n&$t.STROKE&&(t+=r+"Stroke",r=", "),n&$t.TEXT&&(t+=r+"Text",r=", "),n&$t.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Zt.COLOR_AND_ALPHA:return"Color";case Zt.COLOR:return"RGB";case Zt.ALPHA:return"Alpha";case Zt.CODE:return"Dynamic color";case Zt.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case nr.TEXT:return"Text";case nr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case er.DIAGRAM:return"Diagram";case er.PAGE:return"Page (New window)";case er.PAGE_INPLACE:return"Page (In-place)";case er.DIALOG_TEXT:return"Dialog (Text)";case er.DIALOG_INTEGER:return"Dialog (Integer)";case er.DIALOG_REAL:return"Dialog (Real)";case er.DIALOG_BOOLEAN:return"Dialog (Boolean)";case er.DIALOG_DATE:return"Dialog (Date)";case er.DIALOG_TIME:return"Dialog (Time)";case er.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case tr.INPUT_TEXT:return"Input (Text)";case tr.INPUT_INTEGER:return"Input (Integer)";case tr.INPUT_REAL:return"Input (Real)";case tr.EMIT_EVENT:return this.toOnInputActionLabel(rr.EMIT_EVENT);case tr.WRITE_BOTH:return this.toOnInputActionLabel(rr.WRITE_BOTH);case tr.WRITE_LOCAL:return this.toOnInputActionLabel(rr.WRITE_LOCAL);case tr.WRITE_REMOTE:return this.toOnInputActionLabel(rr.WRITE_REMOTE);case tr.HTML_ELEMENT:return"HTML element";case tr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case tr.LAYER_SHOW_HIDE:return"Show / hide layers";case tr.LAYER_GESTURE:return"Layer gesture";case tr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case sr.CLICKED:return"Clicked";case sr.DOUBLE_CLICKED:return"Double clicked";case sr.FOCUSED:return"Focused";case sr.ALWAYS:return"Always"}},n.prototype.toOnInputActionLabel=function(n){switch(n){case rr.EMIT_EVENT:return"Emit event";case rr.WRITE_BOTH:return"Write (Both)";case rr.WRITE_LOCAL:return"Write (Local)";case rr.WRITE_REMOTE:return"Write (Remote)"}},n}(),mr=function(){r.set("EShapeActionValue",dr)},Dr=function(){r.set("DDiagramEditor",qt),r.set("DDiagramCanvasEditor",Ut),mr(),Xt()},Tr=function(){r.set("DDialog",G)},pr=function(){r.set("DDialogCommand",V)},gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(V),Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Wr),br=function(){r.set("DDialogConfirm",gr),r.set("DDialogConfirmMessage",wr)},kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(gr),Ir=function(){r.set("DDialogConfirmDelete",kr)},vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(gr),Cr=function(){r.set("DDialogConfirmDiscard",vr)},xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(V),yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Br=function(){r.set("DDialogInputBoolean",yr)},Sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Mr=function(){r.set("DDialogInputInteger",Sr)},_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Lr=function(){r.set("DDialogInputReal",_r)},Er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(xr),Fr=function(){r.set("DDialogInputText",Er)},Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(gr),Ar=function(){r.set("DDialogMessage",Pr)},Nr=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Nr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(gr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-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 zr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(wr),Hr=function(){r.set("DDialogProcessing",Rr),r.set("DDialogProcessingMessage",zr)},Gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Er),Vr=function(){r.set("DDialogSaveAs",Gr)},Or=function(){tn(),K(),pr(),Ir(),Cr(),br(),Bn(),Fn(),Br(),Mr(),Lr(),Fr(),Ar(),Hr(),Vr(),ut(),lt(),Tr()};const jr=wcardinal.ui.DLayoutDirection;var Yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return jr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(D),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return jr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Yr),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Xr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var Jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Wr),Ur=function(){r.set("DExpandableHeader",Jr),r.set("DExpandable",Kr)};const qr=wcardinal.ui.DHtmlElementState;var Qr=function(){return null},Zr=function(n){var t=document.createElement("div");return n.appendChild(t),t},$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Qr},t.prototype.setElementStyle=function(n,t,r,e,u,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);n.setAttribute("style",o),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(qr.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: "+t.getTop()+"px "+t.getRight()+"px "+t.getBottom()+"px "+t.getLeft()+"px;":"padding: "+t.vertical+"px "+t.horizontal+"px;":"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){return n?t?"left:"+(n.x-t.x)+"px; top:"+(n.y-t.y)+"px;":"left:"+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.tx+","+n.ty+");":""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: "+this.getFontFamilly()+";font-size: "+this.getFontSize()+"px;color: #"+this.getColor(n).toString(16)+";line-height: "+this.getLineHeight()+"px;-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return Zr},t.prototype.setClipperStyle=function(n,t,r,e,u,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: "+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;line-height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return Zr},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 Zr},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return sr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(x),ne=function(){r.set("DImage",Wr)},te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return jr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Yr),re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(te),ee=function(){r.set("DInputAndLabel",re)},ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(te),ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),ce=function(){r.set("DInputBoolean",ue),r.set("DInputBooleanButtonOn",oe),r.set("DInputBooleanButtonOff",ie)},fe=function(){return null},le=function(n){return n},he=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.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 le},t.prototype.getEditingValidator=function(){return fe},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleMargin=function(n){return"margin: 0.1em 0 0 0;"},t}($r),ae="d-theme-white-input-input-element",se=function(n){var t=n.getElementsByClassName(ae);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",ae),n.appendChild(r),r},de=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},me=function(n){return de(n,"d-theme-white-input-input-clipper")},De=function(n){return de(n,"d-theme-white-input-input-before")},Te=function(n){return de(n,"d-theme-white-input-input-after")},pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return se},t.prototype.getClipperCreator=function(){return me},t.prototype.getBeforeCreator=function(){return De},t.prototype.getAfterCreator=function(){return Te},t}(he),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.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}(pe),We=function(n){var t=parseInt(n,10);return t==t?t:0},we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return We},t}(ge),be=function(){r.set("DInputInteger",we)},ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(bn),Ie=function(){r.set("DInputLabel",ke)},ve=function(n){var t=parseFloat(n);return t==t?t:0},Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return ve},t}(ge),xe=function(){r.set("DInputReal",Ce)},ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(pe);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var Be=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(ye),Se=function(){r.set("DInputSearch",Be)},Me=function(){r.set("DInputText",ye)},_e="d-theme-white-input-text-area-element",Le=function(n){var t=n.getElementsByClassName(_e);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",_e),n.appendChild(r),r},Ee=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},Fe=function(n){return Ee(n,"d-theme-white-input-text-area-clipper")},Pe=function(n){return Ee(n,"d-theme-white-input-text-area-before")},Ae=function(n){return Ee(n,"d-theme-white-input-text-area-after")},Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return Le},t.prototype.getClipperCreator=function(){return Fe},t.prototype.getBeforeCreator=function(){return Pe},t.prototype.getAfterCreator=function(){return Ae},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 I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(he),Re=function(){r.set("DInputTextArea",Ne)},ze=function(){ee(),ce(),be(),Ie(),xe(),Se(),Re(),Me()},He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),Ge=function(){r.set("DLayout",Yr),r.set("DLayoutHorizontal",te),r.set("DLayoutSpace",He),r.set("DLayoutVertical",Xr)};const Ve=wcardinal.ui.DLinkMenuItemId;t.add("link_mark",24,24,'<g><path fill="none" stroke="#fff" stroke-width="1" d="M10 6H7c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-3 M19 11V4h-7 M18.75 4.5l-8 8" /></g>');var Oe=function(){function n(){}return n.prototype.getImageSource=function(n){return t.mappings.link_mark},n.prototype.getMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Ve.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Ve.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:Ve.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),je=function(){r.set("DLink",Oe)},Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new tt(null,!1,!0)},t}(rt),Xe=function(){r.set("DListItemAmbient",Ye),r.set("DListItem",rt),r.set("DList",$n)},Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Xr),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Wr),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Je),qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Ue);t.add("menu_item_mark_check_active",14,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="1 6.5 5 11 13 2.5"></polyline></g>'),t.add("menu_item_mark_check_inactive",14,14,"<g></g>");var Qe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(qe),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Xr),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Xr),nu=function(){function n(){}return n.init=function(){t.add("expandable_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("expandable_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>')},n.getImageOpened=function(){return t.mappings.expandable_opened},n.getImageClosed=function(){return t.mappings.expandable_closed},n}();nu.init();var tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?nu.getImageOpened():nu.getImageClosed()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Je),ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Qe);const eu=wcardinal.ui.DBaseState;var uu=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(eu.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(qe),iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(uu);t.add("menu_item_mark_next",14,20,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="5 16 11 10 5 4"></polyline></g>');var ou=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Ue),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ou),fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Je),lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(fu),hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(He),au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(hu),su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(qe),du=function(){r.set("DMenu",Ke),r.set("DMenuItem",Ue),r.set("DMenuItemCheck",Qe),r.set("DMenuItemLink",uu),r.set("DMenuItemMenu",ou),r.set("DMenuItemSeparator",fu),r.set("DMenuItemSpace",hu),r.set("DMenuItemText",qe),r.set("DMenuItemExpandableBody",$e),r.set("DMenuItemExpandableHeader",tu),r.set("DMenuItemExpandableItemCheck",ru),r.set("DMenuItemExpandableItemLink",iu),r.set("DMenuItemExpandableItemMenu",cu),r.set("DMenuItemExpandableItemSeparator",lu),r.set("DMenuItemExpandableItemSpace",au),r.set("DMenuItemExpandableItemText",su),r.set("DMenuItemExpandable",Ze)},mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(te),Du=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),Tu=function(){r.set("DMenuBarItem",Du),r.set("DMenuBar",mu),du()},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(Zn),gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Xr),Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qe),wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ze),bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ru),ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(iu),Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(cu),vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(lu),Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(au),xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(su),yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(uu),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ou),Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fu),Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(hu),_u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qe),Lu=function(){r.set("DMenuSided",pu),r.set("DMenuSidedContent",gu),r.set("DMenuSidedItemCheck",Wu),r.set("DMenuSidedItemLink",yu),r.set("DMenuSidedItemMenu",Bu),r.set("DMenuSidedItemSeparator",Su),r.set("DMenuSidedItemSpace",Mu),r.set("DMenuSidedItemText",_u),r.set("DMenuSidedItemExpandable",wu),r.set("DMenuSidedItemExpandableItemCheck",bu),r.set("DMenuSidedItemExpandableItemLink",ku),r.set("DMenuSidedItemExpandableItemMenu",Iu),r.set("DMenuSidedItemExpandableItemSeparator",vu),r.set("DMenuSidedItemExpandableItemSpace",Cu),r.set("DMenuSidedItemExpandableItemText",xu)},Eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.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 k.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),Fu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Eu),Pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Eu),Au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Eu),Nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Eu),Ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(Nu),zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Nu),Hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Nu),Gu=function(){r.set("DNote",Eu),r.set("DNoteError",Fu),r.set("DNoteNoItemsFound",Pu),r.set("DNoteSearching",Au),r.set("DNoteSmallError",Ru),r.set("DNoteSmallNoItemsFound",zu),r.set("DNoteSmallSearching",Hu)},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getButtonWidth=function(){return 30},t}(te),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.newTextValue=function(){return"..."},t}(M),ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(te);t.add("pagination_navigation_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>'),t.add("pagination_navigation_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>'),t.add("pagination_navigation_button_go_first",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>'),t.add("pagination_navigation_button_go_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 Yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),Xu=function(){r.set("DPagination",Vu),r.set("DPaginationNavigationButton",Yu),r.set("DPaginationDynamicButtons",ju),r.set("DPaginationDotsButton",Ou)},Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),Uu=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},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),qu=function(){r.set("DScrollBar",Ju),r.set("DScrollBarThumb",Uu)},Qu=function(){r.set("DPane",Zn),r.set("DContent",Ku),qu()};const Zu=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var $u=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(y),ni=function(n){if(n){var t=n.text;if(Zu(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ni},t.prototype.newTextValue=function(){return null},t}($u),ri=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(Zu(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ri},t.prototype.newTextValue=function(){return[]},t}($u),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}($u),ii=function(){r.set("DDropdown",ui)},oi=function(){r.set("DSelectMultiple",ei),r.set("DSelect",ti),ii()},ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(D),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(ci),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),hi=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var ai=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return hi.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(B),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return hi.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}(B),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(si),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(si),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(ci),pi=function(){r.set("DSlider",ci),r.set("DSliderValue",Di),r.set("DSliderLabel",li),r.set("DSliderThumb",ai),r.set("DSliderVertical",Ti),r.set("DSliderHorizontal",fi),r.set("DSliderTrack",si),r.set("DSliderTrackVertical",mi),r.set("DSliderTrackHorizontal",di)},gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(Zn),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D);const wi=wcardinal.ui.DTableState;var bi=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(wi.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(wi.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(wi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(wi.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.01),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.01),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.035),n}(),ki=function(){function n(){}return n.init=function(){t.add("action_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" fill="#fff"/></g>')},n.getImageSource=function(n){return t.mappings.action_mark},n.getImageTintColor=function(n){return bi.getImageTintColor(n,!0)},n}(),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);ki.init();var vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return ki.getImageTintColor(n)},t.prototype.getImageSource=function(n){return ki.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ii);ki.init();var Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.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 ki.getImageTintColor(n)},t.prototype.getImageSource=function(n){return ki.getImageSource(n)},t}(ui),xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);ki.init();var yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return ki.getImageTintColor(n)},t.prototype.getImageSource=function(n){return ki.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(xi),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getImageTintColor=function(n){return bi.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(x),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Bi),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getImageTintColor=function(n){return bi.getImageTintColor(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t}(E),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t}(R),Li=function(n){return on.format(n)},Ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getTextFormatter=function(){return Li},t.prototype.newTextValue=function(){return new Date},t}(B),Fi=function(n,t){return Mn.format(n,t.getDatetimeMask())},Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getTextFormatter=function(){return Fi},t.prototype.newTextValue=function(){return new Date},t}(B),Ai=function(n){return String(Number(n)+1)},Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Ai},t.prototype.newTextValue=function(){return 0},t}(x),Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t}(we),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t}(Ce),Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t}(ye),Gi=function(){function n(){}return n.init=function(){nu.init()},n.getImageSource=function(n){return n.is(wi.HAS_CHILDREN)?n.is(wi.OPENED)?nu.getImageOpened():nu.getImageClosed():null},n}();Gi.init();var Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return bi.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 o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 bi.getHeight()},t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(ye),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageSource=function(n){return Gi.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(y),Yi=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return bi.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(Si),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ti),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(ei),Ji=function(n,t){return it.format(n,t.getDatetimeMask())},Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return bi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return bi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return bi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return bi.getBorderMask(n)},t.prototype.getColor=function(n){return bi.getColor(n)},t.prototype.getAlpha=function(n){return bi.getAlpha(n)},t.prototype.getHeight=function(){return bi.getHeight()},t.prototype.getCornerMask=function(){return bi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ji},t.prototype.newTextValue=function(){return new Date},t}(B);Gi.init();var qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Gi.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Si),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(te),Zi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.01),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(Qi),$i=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(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 c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(Qi),no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($i);t.add("sorted_descending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 12l5-5 5 5H3z" fill="#fff"/></g>'),t.add("sorted_ascending",16,16,'<g transform="scale(0.875,0.875)"><path d="M3 8l5 5 5-5H3z" fill="#fff"/></g>');var to=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(wi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(wi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(wi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(wi.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(wi.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(wi.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(wi.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(wi.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(wi.CHECKABLE)||n.is(wi.SORTABLE))?"pointer":""},r}(Wr),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(to),eo=function(){r.set("DTableBodyCellActionDialog",vi),r.set("DTableBodyCellActionMenu",Ci),r.set("DTableBodyCellActionPromise",yi),r.set("DTableBodyCellButton",Si),r.set("DTableBodyCellCheck",Mi),r.set("DTableBodyCellColor",_i),r.set("DTableBodyCellDate",Ei),r.set("DTableBodyCellDatetime",Pi),r.set("DTableBodyCellIndex",Ni),r.set("DTableBodyCellInputInteger",Ri),r.set("DTableBodyCellInputReal",zi),r.set("DTableBodyCellInputText",Hi),r.set("DTableBodyCellInputTreeMarker",ji),r.set("DTableBodyCellInputTreeInput",Oi),r.set("DTableBodyCellInputTree",Vi),r.set("DTableBodyCellLink",Yi),r.set("DTableBodyCellSelectDialog",Ii),r.set("DTableBodyCellSelectMenu",Xi),r.set("DTableBodyCellSelectMultiple",Ki),r.set("DTableBodyCellSelectPromise",xi),r.set("DTableBodyCellText",Bi),r.set("DTableBodyCellTree",qi),r.set("DTableBodyCellTime",Ui),r.set("DTableBodyRow",Zi),r.set("DTableBody",Wi),r.set("DTableCategoryCell",ro),r.set("DTableCategory",no),r.set("DTableHeaderCell",to),r.set("DTableHeader",$i),r.set("DTableRow",Qi),r.set("DTable",gi),F(),J(),Sn(),Pn(),be(),xe(),Me(),ut(),du()},uo=function(){r.set("DText",bn)};Gi.init();var io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Gi.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 k.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(tt),oo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new io(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Zn),co=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new io(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}(x),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(co);Gi.init();var lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(fo),ho=function(){r.set("DTree",oo),r.set("DTreeItemText",co),r.set("DTreeItemButton",fo),r.set("DTreeItemNonEditable",lo)};const ao=wcardinal.ui.UtilGestureModifier;var so=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return ao.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return ao.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return ao.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return Qn.ON},n.prototype.getGestureModifier=function(){return ao.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),mo=function(){e(),T(),g(),at(),r.set("DView",so),mt(),r.set("DChart",Dt),r.set("DChartAxisX",kt),r.set("DChartAxisXDatetime",It),r.set("DChartAxisY",vt),r.set("DChartCoordinate",Ct),r.set("DChartCoordinateTick",xt),r.set("DChartCoordinateTransform",yt),r.set("DChartLegend",Bt),r.set("DChartLegendItem",St),r.set("DChartOverview",Mt),r.set("DChartPlotArea",_t),r.set("DChartSelectionGridlineX",Pt),r.set("DChartSelectionGridlineY",At),r.set("DChartSelectionMarker",Rt),Dr(),Kt(),Or(),Ur(),r.set("DHtmlElement",$r),ne(),ze(),Ge(),je(),Xe(),ho(),Tu(),Lu(),du(),Gu(),Qu(),Xu(),nn(),X(),yn(),xn(),Cn(),oi(),eo(),uo(),pi()},Do={__proto__:null,loadThemeWhiteAll:mo,loadThemeWhiteBase:T,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:at,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:F,loadThemeWhiteButtonColorGradient:rn,loadThemeWhiteButtonColor:J,loadThemeWhiteButtonDanger:un,loadThemeWhiteButtonDate:Sn,loadThemeWhiteButtonDatetime:Pn,loadThemeWhiteButtonFile:Nn,loadThemeWhiteButtonLink:zn,loadThemeWhiteButtonPrimary:Gn,loadThemeWhiteButtonRadioRight:Yn,loadThemeWhiteButtonRadio:On,loadThemeWhiteButtonSecondary:Kn,loadThemeWhiteButtonTime:ht,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:mt,loadThemeWhiteDiagramEditor:Dr,loadThemeWhiteDiagram:Kt,loadThemeWhiteDialogAll:Or,loadThemeWhiteDialogColorGradient:tn,loadThemeWhiteDialogColor:K,loadThemeWhiteDialogCommand:pr,loadThemeWhiteDialogConfirmDelete:Ir,loadThemeWhiteDialogConfirmDiscard:Cr,loadThemeWhiteDialogConfirm:br,loadThemeWhiteDialogDate:Bn,loadThemeWhiteDialogDatetime:Fn,loadThemeWhiteDialogInputBoolean:Br,loadThemeWhiteDialogInputInteger:Mr,loadThemeWhiteDialogInputReal:Lr,loadThemeWhiteDialogInputText:Fr,loadThemeWhiteDialogMessage:Ar,loadThemeWhiteDialogProcessing:Hr,loadThemeWhiteDialogSaveAs:Vr,loadThemeWhiteDialogSelect:ut,loadThemeWhiteDialogTime:lt,loadThemeWhiteDialog:Tr,loadThemeWhiteDropdown:ii,loadThemeWhiteExpandable:Ur,loadThemeWhiteImage:ne,loadThemeWhiteInputAll:ze,loadThemeWhiteInputAndLabel:ee,loadThemeWhiteInputBoolean:ce,loadThemeWhiteInputInteger:be,loadThemeWhiteInputLabel:Ie,loadThemeWhiteInputReal:xe,loadThemeWhiteInputSearch:Se,loadThemeWhiteInputTextArea:Re,loadThemeWhiteInputText:Me,loadThemeWhiteLayout:Ge,loadThemeWhiteLink:je,loadThemeWhiteList:Xe,loadThemeWhiteTree:ho,loadThemeWhiteMenuBar:Tu,loadThemeWhiteMenuSided:Lu,loadThemeWhiteMenu:du,loadThemeWhiteNote:Gu,loadThemeWhitePane:Qu,loadThemeWhitePagination:Xu,loadThemeWhitePickerColorGradient:nn,loadThemeWhitePickerColor:X,loadThemeWhitePickerDate:yn,loadThemeWhitePickerDatetime:xn,loadThemeWhitePickerTime:Cn,loadThemeWhiteScrollBar:qu,loadThemeWhiteSelect:oi,loadThemeWhiteShapeActionValue:mr,loadThemeWhiteShape:Xt,loadThemeWhiteSlider:pi,loadThemeWhiteTable:eo,loadThemeWhiteText:uo,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:p,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:y,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:P,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:Q,DThemeWhiteButtonColor:R,DThemeWhiteButtonDanger:en,DThemeWhiteButtonDate:fn,DThemeWhiteButtonDatetime:Ln,DThemeWhiteButtonFile:An,DThemeWhiteButtonLink:Rn,DThemeWhiteButtonPrimary:Hn,DThemeWhiteButtonRadioRight:jn,DThemeWhiteButtonRadio:Vn,DThemeWhiteButtonSecondary:Xn,DThemeWhiteButtonTime:ct,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:dt,DThemeWhiteCanvas:st,DThemeWhiteChartAxisBase:bt,DThemeWhiteChartAxisXDatetime:It,DThemeWhiteChartAxisX:kt,DThemeWhiteChartAxisY:vt,DThemeWhiteChartCoordinateTick:xt,DThemeWhiteChartCoordinateTransform:yt,DThemeWhiteChartCoordinate:Ct,DThemeWhiteChartLegendItem:St,DThemeWhiteChartLegend:Bt,DThemeWhiteChartOverview:Mt,DThemeWhiteChartPlotArea:_t,DThemeWhiteChart:Dt,DThemeWhiteContent:Ku,DThemeWhiteDiagramBase:zt,DThemeWhiteDiagramCanvasBase:Gt,DThemeWhiteDiagramCanvasEditor:Ut,DThemeWhiteDiagramCanvas:Vt,DThemeWhiteDiagramEditor:qt,DThemeWhiteDiagram:Ht,DThemeWhiteDialogColorGradient:Z,DThemeWhiteDialogColor:O,DThemeWhiteDialogCommand:V,DThemeWhiteDialogConfirmDelete:kr,DThemeWhiteDialogConfirmDiscard:vr,DThemeWhiteDialogConfirmMessage:wr,DThemeWhiteDialogConfirm:gr,DThemeWhiteDialogDate:ln,DThemeWhiteDialogDatetime:En,DThemeWhiteDialogInputBoolean:yr,DThemeWhiteDialogInputInteger:Sr,DThemeWhiteDialogInputReal:_r,DThemeWhiteDialogInputText:Er,DThemeWhiteDialogInput:xr,DThemeWhiteDialogMessage:Pr,DThemeWhiteDialogProcessingMessage:zr,DThemeWhiteDialogProcessing:Rr,DThemeWhiteDialogSaveAs:Gr,DThemeWhiteDialogSelectListItem:et,DThemeWhiteDialogSelectList:nt,DThemeWhiteDialogSelect:qn,DThemeWhiteDialogTime:ft,DThemeWhiteDialog:G,DThemeWhiteDropdown:ui,DThemeWhiteExpandableHeader:Jr,DThemeWhiteExpandable:Kr,DThemeWhiteFont:d,DThemeWhiteHtmlElement:$r,DThemeWhiteImageBase:x,DThemeWhiteImage:Wr,DThemeWhiteInputAndLabel:re,DThemeWhiteInputBooleanButtonOff:ie,DThemeWhiteInputBooleanButtonOn:oe,DThemeWhiteInputBoolean:ue,DThemeWhiteInputInput:pe,DThemeWhiteInputInteger:we,DThemeWhiteInputLabel:ke,DThemeWhiteInputNumber:ge,DThemeWhiteInputReal:Ce,DThemeWhiteInputSearch:Be,DThemeWhiteInputTextArea:Ne,DThemeWhiteInputText:ye,DThemeWhiteInput:he,DThemeWhiteLayoutHorizontal:te,DThemeWhiteLayoutSpace:He,DThemeWhiteLayoutVertical:Xr,DThemeWhiteLayout:Yr,DThemeWhiteLink:Oe,DThemeWhiteListItemAmbient:Ye,DThemeWhiteListItem:rt,DThemeWhiteListItems:tt,DThemeWhiteList:$n,DThemeWhiteMenuBarItem:Du,DThemeWhiteMenuBar:mu,DThemeWhiteMenuItemBase:Je,DThemeWhiteMenuItemCheck:Qe,DThemeWhiteMenuItemExpandableBody:$e,DThemeWhiteMenuItemExpandableHeader:tu,DThemeWhiteMenuItemExpandableItemCheck:ru,DThemeWhiteMenuItemExpandableItemLink:iu,DThemeWhiteMenuItemExpandableItemMenu:cu,DThemeWhiteMenuItemExpandableItemSeparator:lu,DThemeWhiteMenuItemExpandableItemSpace:au,DThemeWhiteMenuItemExpandableItemText:su,DThemeWhiteMenuItemExpandable:Ze,DThemeWhiteMenuItemLink:uu,DThemeWhiteMenuItemMenu:ou,DThemeWhiteMenuItemSeparator:fu,DThemeWhiteMenuItemSpace:hu,DThemeWhiteMenuItemText:qe,DThemeWhiteMenuItem:Ue,DThemeWhiteMenuSidedContent:gu,DThemeWhiteMenuSidedItemCheck:Wu,DThemeWhiteMenuSidedItemExpandableItemCheck:bu,DThemeWhiteMenuSidedItemExpandableItemLink:ku,DThemeWhiteMenuSidedItemExpandableItemMenu:Iu,DThemeWhiteMenuSidedItemExpandableItemSeparator:vu,DThemeWhiteMenuSidedItemExpandableItemSpace:Cu,DThemeWhiteMenuSidedItemExpandableItemText:xu,DThemeWhiteMenuSidedItemExpandable:wu,DThemeWhiteMenuSidedItemLink:yu,DThemeWhiteMenuSidedItemMenu:Bu,DThemeWhiteMenuSidedItemSeparator:Su,DThemeWhiteMenuSidedItemSpace:Mu,DThemeWhiteMenuSidedItemText:_u,DThemeWhiteMenuSided:pu,DThemeWhiteMenu:Ke,DThemeWhiteNoteError:Fu,DThemeWhiteNoteNoItemsFound:Pu,DThemeWhiteNoteSearching:Au,DThemeWhiteNoteSmallError:Ru,DThemeWhiteNoteSmallNoItemsFound:zu,DThemeWhiteNoteSmallSearching:Hu,DThemeWhiteNoteSmall:Nu,DThemeWhiteNote:Eu,DThemeWhitePagination:Vu,DThemeWhitePaginationNavigationButton:Yu,DThemeWhitePaginationDynamicButtons:ju,DThemeWhitePaginationDotsButton:Ou,DThemeWhitePane:Zn,DThemeWhitePickerColorGradient:$,DThemeWhitePickerColor:Y,DThemeWhitePickerDate:pn,DThemeWhitePickerDatetimeButtonBack:gn,DThemeWhitePickerDatetimeButtonDate:Wn,DThemeWhitePickerDatetimeButtonNext:wn,DThemeWhitePickerDatetimeLabelDate:In,DThemeWhitePickerDatetimeLabel:kn,DThemeWhitePickerDatetimeSpace:vn,DThemeWhitePickerDatetime:Tn,DThemeWhitePickerTime:an,DThemeWhiteScrollBarThumb:Uu,DThemeWhiteScrollBar:Ju,DThemeWhiteSelectMultiple:ei,DThemeWhiteSelect:ti,DThemeWhiteSlider:ci,DThemeWhiteSliderHorizontal:fi,DThemeWhiteSliderLabel:li,DThemeWhiteSliderThumb:ai,DThemeWhiteSliderTrack:si,DThemeWhiteSliderTrackHorizontal:di,DThemeWhiteSliderTrackVertical:mi,DThemeWhiteSliderValue:Di,DThemeWhiteSliderVertical:Ti,DThemeWhiteTableBodyCellButton:Si,DThemeWhiteTableBodyCellCheck:Mi,DThemeWhiteTableBodyCellColor:_i,DThemeWhiteTableBodyCellDate:Ei,DThemeWhiteTableBodyCellDatetime:Pi,DThemeWhiteTableBodyCellIndex:Ni,DThemeWhiteTableBodyCellInputInteger:Ri,DThemeWhiteTableBodyCellInputReal:zi,DThemeWhiteTableBodyCellInputText:Hi,DThemeWhiteTableBodyCellLink:Yi,DThemeWhiteTableBodyCellSelectDialog:Ii,DThemeWhiteTableBodyCellSelectMenu:Xi,DThemeWhiteTableBodyCellSelectPromise:xi,DThemeWhiteTableBodyCellText:Bi,DThemeWhiteTableBodyCellTime:Ui,DThemeWhiteTableBodyCells:bi,DThemeWhiteTableBodyRow:Zi,DThemeWhiteTableBody:Wi,DThemeWhiteTableCategoryCell:ro,DThemeWhiteTableCategory:no,DThemeWhiteTableHeaderCell:to,DThemeWhiteTableHeader:$i,DThemeWhiteTableRow:Qi,DThemeWhiteTable:gi,DThemeWhiteTextBase:C,DThemeWhiteText:bn,DThemeWhiteTreeItemButton:fo,DThemeWhiteTreeItemNonEditable:lo,DThemeWhiteTreeItemText:co,DThemeWhiteTreeItems:io,DThemeWhiteTree:oo,DThemeWhiteView:so,DThemeWhite:r,EThemeWhiteShapeActionValue:dr,EThemeWhiteShape:Yt};mo();var To=window;To.wcardinal=To.wcardinal||{};var po=To.wcardinal.ui=To.wcardinal.ui||{},go=Do;for(var Wo in go)po[Wo]=go[Wo]}();
|
|
10
10
|
//# sourceMappingURL=wcardinal-ui-theme-white.min.js.map
|